Skip to content

Reference

Bases: AsyncBaseClient

add_customer_to_customer_groups async

add_customer_to_tenants async

add_customer_to_tenants(
    input: AddCustomerToTenantsInput, **kwargs: Any
) -> AddCustomerToTenantsAddCustomerToTenants

add_labels async

add_labels(
    input: AddLabelsInput, **kwargs: Any
) -> AddLabelsAddLabels

add_members_to_tier async

add_members_to_tier(
    input: AddMembersToTierInput, **kwargs: Any
) -> AddMembersToTierAddMembersToTier

archive_label_type async

archive_label_type(
    input: ArchiveLabelTypeInput, **kwargs: Any
) -> ArchiveLabelTypeArchiveLabelType

assign_thread async

assign_thread(
    input: AssignThreadInput, **kwargs: Any
) -> AssignThreadAssignThread

change_thread_priority async

change_thread_priority(
    input: ChangeThreadPriorityInput, **kwargs: Any
) -> ChangeThreadPriorityChangeThreadPriority

companies async

companies(
    first: Union[Optional[int], UnsetType] = UNSET,
    after: Union[Optional[str], UnsetType] = UNSET,
    last: Union[Optional[int], UnsetType] = UNSET,
    before: Union[Optional[str], UnsetType] = UNSET,
    **kwargs: Any
) -> CompaniesCompanies

create_attachment_upload_url async

create_attachment_upload_url(
    input: CreateAttachmentUploadUrlInput, **kwargs: Any
) -> CreateAttachmentUploadUrlCreateAttachmentUploadUrl

create_customer_card_config async

create_customer_card_config(
    input: CreateCustomerCardConfigInput, **kwargs: Any
) -> CreateCustomerCardConfigCreateCustomerCardConfig

create_customer_event async

create_customer_event(
    input: CreateCustomerEventInput, **kwargs: Any
) -> CreateCustomerEventCreateCustomerEvent

create_label_type async

create_label_type(
    input: CreateLabelTypeInput, **kwargs: Any
) -> CreateLabelTypeCreateLabelType

create_note async

create_note(
    input: CreateNoteInput, **kwargs: Any
) -> CreateNoteCreateNote

create_thread async

create_thread(
    input: CreateThreadInput, **kwargs: Any
) -> CreateThreadCreateThread

create_thread_event async

create_thread_event(
    input: CreateThreadEventInput, **kwargs: Any
) -> CreateThreadEventCreateThreadEvent

create_webhook_target async

create_webhook_target(
    input: CreateWebhookTargetInput, **kwargs: Any
) -> CreateWebhookTargetCreateWebhookTarget

customer_by_email async

customer_by_email(
    email: str, **kwargs: Any
) -> Optional[CustomerByEmailCustomerByEmail]

customer_by_external_id async

customer_by_external_id(
    external_id: str, **kwargs: Any
) -> Optional[CustomerByExternalIdCustomerByExternalId]

customer_by_id async

customer_by_id(
    customer_id: str, **kwargs: Any
) -> Optional[CustomerByIdCustomer]

customer_customer_groups async

customer_customer_groups(
    customer_id: str,
    filters: Union[
        Optional[CustomerGroupMembershipsFilter], UnsetType
    ] = UNSET,
    first: Union[Optional[int], UnsetType] = UNSET,
    after: Union[Optional[str], UnsetType] = UNSET,
    last: Union[Optional[int], UnsetType] = UNSET,
    before: Union[Optional[str], UnsetType] = UNSET,
    **kwargs: Any
) -> Optional[CustomerCustomerGroupsCustomer]

customer_group_by_id async

customer_group_by_id(
    customer_group_id: str, **kwargs: Any
) -> Optional[CustomerGroupByIdCustomerGroup]

customer_groups async

customer_groups(
    first: Union[Optional[int], UnsetType] = UNSET,
    after: Union[Optional[str], UnsetType] = UNSET,
    before: Union[Optional[str], UnsetType] = UNSET,
    last: Union[Optional[int], UnsetType] = UNSET,
    **kwargs: Any
) -> CustomerGroupsCustomerGroups

customer_tenants async

customer_tenants(
    customer_id: str,
    first: Union[Optional[int], UnsetType] = UNSET,
    after: Union[Optional[str], UnsetType] = UNSET,
    last: Union[Optional[int], UnsetType] = UNSET,
    before: Union[Optional[str], UnsetType] = UNSET,
    **kwargs: Any
) -> Optional[CustomerTenantsCustomer]

customers async

customers(
    filters: Union[
        Optional[CustomersFilter], UnsetType
    ] = UNSET,
    sort_by: Union[
        Optional[CustomersSort], UnsetType
    ] = UNSET,
    first: Union[Optional[int], UnsetType] = UNSET,
    after: Union[Optional[str], UnsetType] = UNSET,
    last: Union[Optional[int], UnsetType] = UNSET,
    before: Union[Optional[str], UnsetType] = UNSET,
    **kwargs: Any
) -> CustomersCustomers

delete_customer async

delete_customer(
    input: DeleteCustomerInput, **kwargs: Any
) -> DeleteCustomerDeleteCustomer

delete_customer_card_config async

delete_customer_card_config(
    input: DeleteCustomerCardConfigInput, **kwargs: Any
) -> DeleteCustomerCardConfigDeleteCustomerCardConfig

delete_thread_field async

delete_thread_field(
    input: DeleteThreadFieldInput, **kwargs: Any
) -> DeleteThreadFieldDeleteThreadField

delete_webhook_target async

delete_webhook_target(
    input: DeleteWebhookTargetInput, **kwargs: Any
) -> DeleteWebhookTargetDeleteWebhookTarget

index_document async

index_document(
    input: CreateIndexedDocumentInput, **kwargs: Any
) -> IndexDocumentCreateIndexedDocument

label_type async

label_type(
    label_type_id: str, **kwargs: Any
) -> Optional[LabelTypeLabelType]

label_types async

label_types(
    filters: Union[
        Optional[LabelTypeFilter], UnsetType
    ] = UNSET,
    first: Union[Optional[int], UnsetType] = UNSET,
    after: Union[Optional[str], UnsetType] = UNSET,
    last: Union[Optional[int], UnsetType] = UNSET,
    before: Union[Optional[str], UnsetType] = UNSET,
    **kwargs: Any
) -> LabelTypesLabelTypes

mark_thread_as_done async

mark_thread_as_done(
    input: MarkThreadAsDoneInput, **kwargs: Any
) -> MarkThreadAsDoneMarkThreadAsDone

mark_thread_as_todo async

mark_thread_as_todo(
    input: MarkThreadAsTodoInput, **kwargs: Any
) -> MarkThreadAsTodoMarkThreadAsTodo

my_workspace async

my_workspace(
    **kwargs: Any,
) -> Optional[MyWorkspaceMyWorkspace]

remove_customer_from_customer_groups async

remove_customer_from_tenants async

remove_customer_from_tenants(
    input: RemoveCustomerFromTenantsInput, **kwargs: Any
) -> RemoveCustomerFromTenantsRemoveCustomerFromTenants

remove_labels async

remove_labels(
    input: RemoveLabelsInput, **kwargs: Any
) -> RemoveLabelsRemoveLabels

remove_members_from_tier async

remove_members_from_tier(
    input: RemoveMembersFromTierInput, **kwargs: Any
) -> RemoveMembersFromTierRemoveMembersFromTier

reply_to_email async

reply_to_email(
    input: ReplyToEmailInput, **kwargs: Any
) -> ReplyToEmailReplyToEmail

reply_to_thread async

reply_to_thread(
    input: ReplyToThreadInput, **kwargs: Any
) -> ReplyToThreadReplyToThread

search_companies async

search_companies(
    search_query: CompaniesSearchQuery,
    first: Union[Optional[int], UnsetType] = UNSET,
    after: Union[Optional[str], UnsetType] = UNSET,
    last: Union[Optional[int], UnsetType] = UNSET,
    before: Union[Optional[str], UnsetType] = UNSET,
    **kwargs: Any
) -> SearchCompaniesSearchCompanies

search_tenants async

search_tenants(
    search_query: TenantsSearchQuery,
    first: Union[Optional[int], UnsetType] = UNSET,
    after: Union[Optional[str], UnsetType] = UNSET,
    last: Union[Optional[int], UnsetType] = UNSET,
    before: Union[Optional[str], UnsetType] = UNSET,
    **kwargs: Any
) -> SearchTenantsSearchTenants

send_customer_chat async

send_customer_chat(
    input: SendCustomerChatInput, **kwargs: Any
) -> SendCustomerChatSendCustomerChat

send_new_email async

send_new_email(
    input: SendNewEmailInput, **kwargs: Any
) -> SendNewEmailSendNewEmail

set_customer_tenants async

set_customer_tenants(
    input: SetCustomerTenantsInput, **kwargs: Any
) -> SetCustomerTenantsSetCustomerTenants

snooze_thread async

snooze_thread(
    input: SnoozeThreadInput, **kwargs: Any
) -> SnoozeThreadSnoozeThread

tenant async

tenant(
    tenant_id: str, **kwargs: Any
) -> Optional[TenantTenant]

tenants async

tenants(
    first: Union[Optional[int], UnsetType] = UNSET,
    after: Union[Optional[str], UnsetType] = UNSET,
    last: Union[Optional[int], UnsetType] = UNSET,
    before: Union[Optional[str], UnsetType] = UNSET,
    **kwargs: Any
) -> TenantsTenants

thread async

thread(
    thread_id: str, **kwargs: Any
) -> Optional[ThreadThread]

thread_by_external_id async

thread_by_external_id(
    customer_id: str, external_id: str, **kwargs: Any
) -> Optional[ThreadByExternalIdThreadByExternalId]

threads async

threads(
    filters: Union[
        Optional[ThreadsFilter], UnsetType
    ] = UNSET,
    sort_by: Union[
        Optional[ThreadsSort], UnsetType
    ] = UNSET,
    first: Union[Optional[int], UnsetType] = UNSET,
    after: Union[Optional[str], UnsetType] = UNSET,
    last: Union[Optional[int], UnsetType] = UNSET,
    before: Union[Optional[str], UnsetType] = UNSET,
    **kwargs: Any
) -> ThreadsThreads

tier async

tier(tier_id: str, **kwargs: Any) -> Optional[TierTier]

tiers async

tiers(
    first: Union[Optional[int], UnsetType] = UNSET,
    after: Union[Optional[str], UnsetType] = UNSET,
    last: Union[Optional[int], UnsetType] = UNSET,
    before: Union[Optional[str], UnsetType] = UNSET,
    **kwargs: Any
) -> TiersTiers

unassign_thread async

unassign_thread(
    input: UnassignThreadInput, **kwargs: Any
) -> UnassignThreadUnassignThread

update_company_tier async

update_company_tier(
    input: UpdateCompanyTierInput, **kwargs: Any
) -> UpdateCompanyTierUpdateCompanyTier

update_customer_card_config async

update_customer_card_config(
    input: UpdateCustomerCardConfigInput, **kwargs: Any
) -> UpdateCustomerCardConfigUpdateCustomerCardConfig

update_customer_company async

update_customer_company(
    input: UpdateCustomerCompanyInput, **kwargs: Any
) -> UpdateCustomerCompanyUpdateCustomerCompany

update_tenant_tier async

update_tenant_tier(
    input: UpdateTenantTierInput, **kwargs: Any
) -> UpdateTenantTierUpdateTenantTier

update_thread_tenant async

update_thread_tenant(
    input: UpdateThreadTenantInput, **kwargs: Any
) -> UpdateThreadTenantUpdateThreadTenant

update_webhook_target async

update_webhook_target(
    input: UpdateWebhookTargetInput, **kwargs: Any
) -> UpdateWebhookTargetUpdateWebhookTarget

upsert_company async

upsert_company(
    input: UpsertCompanyInput, **kwargs: Any
) -> UpsertCompanyUpsertCompany

upsert_customer async

upsert_customer(
    input: UpsertCustomerInput, **kwargs: Any
) -> UpsertCustomerUpsertCustomer

upsert_tenant async

upsert_tenant(
    input: UpsertTenantInput, **kwargs: Any
) -> UpsertTenantUpsertTenant

upsert_thread_field async

upsert_thread_field(
    input: UpsertThreadFieldInput, **kwargs: Any
) -> UpsertThreadFieldUpsertThreadField

user_by_email async

user_by_email(
    email: str, **kwargs: Any
) -> Optional[UserByEmailUserByEmail]

user_by_id async

user_by_id(
    id: str, **kwargs: Any
) -> Optional[UserByIdUserById]

webhook_target async

webhook_target(
    id: str, **kwargs: Any
) -> Optional[WebhookTargetWebhookTarget]

webhook_targets async

webhook_targets(
    first: Union[Optional[int], UnsetType] = UNSET,
    after: Union[Optional[str], UnsetType] = UNSET,
    last: Union[Optional[int], UnsetType] = UNSET,
    before: Union[Optional[str], UnsetType] = UNSET,
    **kwargs: Any
) -> WebhookTargetsWebhookTargets

Models

AddCustomerToCustomerGroups

Bases: BaseModel

add_customer_to_customer_groups: AddCustomerToCustomerGroupsAddCustomerToCustomerGroups = Field(alias='addCustomerToCustomerGroups') class-attribute instance-attribute

AddCustomerToCustomerGroupsAddCustomerToCustomerGroups

Bases: BaseModel

customer_group_memberships: Optional[List[AddCustomerToCustomerGroupsAddCustomerToCustomerGroupsCustomerGroupMemberships]] = Field(alias='customerGroupMemberships') class-attribute instance-attribute

error: Optional[AddCustomerToCustomerGroupsAddCustomerToCustomerGroupsError] instance-attribute

AddCustomerToCustomerGroupsAddCustomerToCustomerGroupsCustomerGroupMemberships

AddCustomerToCustomerGroupsAddCustomerToCustomerGroupsError

AddCustomerToCustomerGroupsInput

Bases: BaseModel

customer_group_identifiers: List[CustomerGroupIdentifier] = Field(alias='customerGroupIdentifiers') class-attribute instance-attribute

customer_id: str = Field(alias='customerId') class-attribute instance-attribute

AddCustomerToTenants

Bases: BaseModel

add_customer_to_tenants: AddCustomerToTenantsAddCustomerToTenants = Field(alias='addCustomerToTenants') class-attribute instance-attribute

AddCustomerToTenantsAddCustomerToTenants

Bases: BaseModel

error: Optional[AddCustomerToTenantsAddCustomerToTenantsError] instance-attribute

AddCustomerToTenantsAddCustomerToTenantsError

AddCustomerToTenantsInput

Bases: BaseModel

customer_identifier: CustomerIdentifierInput = Field(alias='customerIdentifier') class-attribute instance-attribute

tenant_identifiers: List[TenantIdentifierInput] = Field(alias='tenantIdentifiers') class-attribute instance-attribute

AddLabels

Bases: BaseModel

add_labels: AddLabelsAddLabels = Field(alias='addLabels') class-attribute instance-attribute

AddLabelsAddLabels

Bases: BaseModel

error: Optional[AddLabelsAddLabelsError] instance-attribute

labels: List[AddLabelsAddLabelsLabels] instance-attribute

AddLabelsAddLabelsError

AddLabelsAddLabelsLabels

Bases: LabelParts

AddLabelsInput

Bases: BaseModel

label_type_ids: List[str] = Field(alias='labelTypeIds') class-attribute instance-attribute

thread_id: str = Field(alias='threadId') class-attribute instance-attribute

AddMembersToTier

Bases: BaseModel

add_members_to_tier: AddMembersToTierAddMembersToTier = Field(alias='addMembersToTier') class-attribute instance-attribute

AddMembersToTierAddMembersToTier

Bases: BaseModel

error: Optional[AddMembersToTierAddMembersToTierError] instance-attribute

memberships: List[Annotated[Union[AddMembersToTierAddMembersToTierMembershipsTenantTierMembership, AddMembersToTierAddMembersToTierMembershipsCompanyTierMembership], Field(discriminator=typename__)]] instance-attribute

AddMembersToTierAddMembersToTierError

AddMembersToTierAddMembersToTierMembershipsCompanyTierMembership

Bases: CompanyTierMembershipParts

typename__: Literal['CompanyTierMembership'] = Field(alias='__typename') class-attribute instance-attribute

AddMembersToTierAddMembersToTierMembershipsTenantTierMembership

Bases: TenantTierMembershipParts

typename__: Literal['TenantTierMembership'] = Field(alias='__typename') class-attribute instance-attribute

AddMembersToTierInput

Bases: BaseModel

member_identifiers: List[TierMemberIdentifierInput] = Field(alias='memberIdentifiers') class-attribute instance-attribute

tier_identifier: TierIdentifierInput = Field(alias='tierIdentifier') class-attribute instance-attribute

ArchiveLabelType

Bases: BaseModel

archive_label_type: ArchiveLabelTypeArchiveLabelType = Field(alias='archiveLabelType') class-attribute instance-attribute

ArchiveLabelTypeArchiveLabelType

Bases: BaseModel

error: Optional[ArchiveLabelTypeArchiveLabelTypeError] instance-attribute

label_type: Optional[ArchiveLabelTypeArchiveLabelTypeLabelType] = Field(alias='labelType') class-attribute instance-attribute

ArchiveLabelTypeArchiveLabelTypeError

Bases: BaseModel

message: str instance-attribute

ArchiveLabelTypeArchiveLabelTypeLabelType

ArchiveLabelTypeInput

Bases: BaseModel

label_type_id: str = Field(alias='labelTypeId') class-attribute instance-attribute

AssignThread

Bases: BaseModel

assign_thread: AssignThreadAssignThread = Field(alias='assignThread') class-attribute instance-attribute

AssignThreadAssignThread

Bases: BaseModel

error: Optional[AssignThreadAssignThreadError] instance-attribute

thread: Optional[AssignThreadAssignThreadThread] instance-attribute

AssignThreadAssignThreadError

AssignThreadAssignThreadThread

Bases: ThreadParts

AssignThreadInput

Bases: BaseModel

machine_user_id: Optional[str] = Field(alias='machineUserId', default=None) class-attribute instance-attribute

thread_id: str = Field(alias='threadId') class-attribute instance-attribute

user_id: Optional[str] = Field(alias='userId', default=None) class-attribute instance-attribute

AsyncBaseClient

headers = headers instance-attribute

http_client = http_client if http_client else httpx.AsyncClient(headers=headers) instance-attribute

url = url instance-attribute

ws_connection_init_payload = ws_connection_init_payload instance-attribute

ws_headers = ws_headers or {} instance-attribute

ws_origin = Origin(ws_origin) if ws_origin else None instance-attribute

ws_url = ws_url instance-attribute

execute(query: str, operation_name: Optional[str] = None, variables: Optional[Dict[str, Any]] = None, **kwargs: Any) -> httpx.Response async

execute_ws(query: str, operation_name: Optional[str] = None, variables: Optional[Dict[str, Any]] = None, **kwargs: Any) -> AsyncIterator[Dict[str, Any]] async

get_data(response: httpx.Response) -> Dict[str, Any]

AttachmentParts

Bases: BaseModel

file_extension: Optional[str] = Field(alias='fileExtension') class-attribute instance-attribute

file_name: str = Field(alias='fileName') class-attribute instance-attribute

file_size: AttachmentPartsFileSize = Field(alias='fileSize') class-attribute instance-attribute

id: str instance-attribute

typename__: str = Field(alias='__typename') class-attribute instance-attribute

updated_at: AttachmentPartsUpdatedAt = Field(alias='updatedAt') class-attribute instance-attribute

AttachmentPartsFileSize

Bases: FileSizeParts

AttachmentPartsUpdatedAt

Bases: DateTimeParts

AttachmentType

Bases: str, Enum

CHAT = 'CHAT' class-attribute instance-attribute

CUSTOM_TIMELINE_ENTRY = 'CUSTOM_TIMELINE_ENTRY' class-attribute instance-attribute

DISCORD = 'DISCORD' class-attribute instance-attribute

EMAIL = 'EMAIL' class-attribute instance-attribute

MS_TEAMS = 'MS_TEAMS' class-attribute instance-attribute

SLACK = 'SLACK' class-attribute instance-attribute

THREAD_DISCUSSION = 'THREAD_DISCUSSION' class-attribute instance-attribute

AttachmentUploadUrlParts

Bases: BaseModel

attachment: AttachmentUploadUrlPartsAttachment instance-attribute

expires_at: AttachmentUploadUrlPartsExpiresAt = Field(alias='expiresAt') class-attribute instance-attribute

typename__: str = Field(alias='__typename') class-attribute instance-attribute

upload_form_data: List[AttachmentUploadUrlPartsUploadFormData] = Field(alias='uploadFormData') class-attribute instance-attribute

upload_form_url: str = Field(alias='uploadFormUrl') class-attribute instance-attribute

AttachmentUploadUrlPartsAttachment

AttachmentUploadUrlPartsExpiresAt

Bases: DateTimeParts

AttachmentUploadUrlPartsUploadFormData

Bases: BaseModel

key: str instance-attribute

value: str instance-attribute

BaseModel

Bases: BaseModel

model_config = ConfigDict(populate_by_name=True, validate_assignment=True, arbitrary_types_allowed=True, protected_namespaces=()) class-attribute instance-attribute

BooleanInput

Bases: BaseModel

value: bool instance-attribute

ChangeThreadPriority

Bases: BaseModel

change_thread_priority: ChangeThreadPriorityChangeThreadPriority = Field(alias='changeThreadPriority') class-attribute instance-attribute

ChangeThreadPriorityChangeThreadPriority

Bases: BaseModel

error: Optional[ChangeThreadPriorityChangeThreadPriorityError] instance-attribute

thread: Optional[ChangeThreadPriorityChangeThreadPriorityThread] instance-attribute

ChangeThreadPriorityChangeThreadPriorityError

ChangeThreadPriorityChangeThreadPriorityThread

Bases: ThreadParts

ChangeThreadPriorityInput

Bases: BaseModel

priority: int instance-attribute

thread_id: str = Field(alias='threadId') class-attribute instance-attribute

ChatParts

Bases: BaseModel

attachments: List[ChatPartsAttachments] instance-attribute

created_at: ChatPartsCreatedAt = Field(alias='createdAt') class-attribute instance-attribute

id: str instance-attribute

text: Optional[str] instance-attribute

updated_at: ChatPartsUpdatedAt = Field(alias='updatedAt') class-attribute instance-attribute

ChatPartsAttachments

Bases: BaseModel

id: str instance-attribute

ChatPartsCreatedAt

Bases: DateTimeParts

ChatPartsUpdatedAt

Bases: DateTimeParts

Companies

Bases: BaseModel

companies: CompaniesCompanies instance-attribute

CompaniesCompanies

Bases: BaseModel

edges: List[CompaniesCompaniesEdges] instance-attribute

page_info: CompaniesCompaniesPageInfo = Field(alias='pageInfo') class-attribute instance-attribute

CompaniesCompaniesEdges

Bases: BaseModel

cursor: str instance-attribute

node: CompaniesCompaniesEdgesNode instance-attribute

CompaniesCompaniesEdgesNode

Bases: CompanyParts

CompaniesCompaniesPageInfo

Bases: PageInfoParts

CompaniesSearchQuery

Bases: BaseModel

term: str instance-attribute

CompanyIdentifierInput

Bases: BaseModel

company_domain_name: Optional[str] = Field(alias='companyDomainName', default=None) class-attribute instance-attribute

company_id: Optional[str] = Field(alias='companyId', default=None) class-attribute instance-attribute

CompanyParts

Bases: BaseModel

created_at: CompanyPartsCreatedAt = Field(alias='createdAt') class-attribute instance-attribute

created_by: Union[CompanyPartsCreatedByUserActor, CompanyPartsCreatedBySystemActor, CompanyPartsCreatedByMachineUserActor] = Field(alias='createdBy', discriminator='typename__') class-attribute instance-attribute

domain_name: str = Field(alias='domainName') class-attribute instance-attribute

id: str instance-attribute

name: str instance-attribute

typename__: str = Field(alias='__typename') class-attribute instance-attribute

updated_at: CompanyPartsUpdatedAt = Field(alias='updatedAt') class-attribute instance-attribute

updated_by: Union[CompanyPartsUpdatedByUserActor, CompanyPartsUpdatedBySystemActor, CompanyPartsUpdatedByMachineUserActor] = Field(alias='updatedBy', discriminator='typename__') class-attribute instance-attribute

CompanyPartsCreatedAt

Bases: DateTimeParts

CompanyPartsCreatedByMachineUserActor

Bases: MachineUserActorParts

typename__: Literal['MachineUserActor'] = Field(alias='__typename') class-attribute instance-attribute

CompanyPartsCreatedBySystemActor

Bases: SystemActorParts

typename__: Literal['SystemActor'] = Field(alias='__typename') class-attribute instance-attribute

CompanyPartsCreatedByUserActor

Bases: UserActorParts

typename__: Literal['UserActor'] = Field(alias='__typename') class-attribute instance-attribute

CompanyPartsUpdatedAt

Bases: DateTimeParts

CompanyPartsUpdatedByMachineUserActor

Bases: MachineUserActorParts

typename__: Literal['MachineUserActor'] = Field(alias='__typename') class-attribute instance-attribute

CompanyPartsUpdatedBySystemActor

Bases: SystemActorParts

typename__: Literal['SystemActor'] = Field(alias='__typename') class-attribute instance-attribute

CompanyPartsUpdatedByUserActor

Bases: UserActorParts

typename__: Literal['UserActor'] = Field(alias='__typename') class-attribute instance-attribute

CompanyTierMembershipParts

Bases: BaseModel

created_at: CompanyTierMembershipPartsCreatedAt = Field(alias='createdAt') class-attribute instance-attribute

created_by: Union[CompanyTierMembershipPartsCreatedByUserActor, CompanyTierMembershipPartsCreatedBySystemActor, CompanyTierMembershipPartsCreatedByMachineUserActor] = Field(alias='createdBy', discriminator='typename__') class-attribute instance-attribute

id: str instance-attribute

typename__: str = Field(alias='__typename') class-attribute instance-attribute

updated_at: CompanyTierMembershipPartsUpdatedAt = Field(alias='updatedAt') class-attribute instance-attribute

updated_by: Union[CompanyTierMembershipPartsUpdatedByUserActor, CompanyTierMembershipPartsUpdatedBySystemActor, CompanyTierMembershipPartsUpdatedByMachineUserActor] = Field(alias='updatedBy', discriminator='typename__') class-attribute instance-attribute

CompanyTierMembershipPartsCreatedAt

Bases: DateTimeParts

CompanyTierMembershipPartsCreatedByMachineUserActor

Bases: MachineUserActorParts

typename__: Literal['MachineUserActor'] = Field(alias='__typename') class-attribute instance-attribute

CompanyTierMembershipPartsCreatedBySystemActor

Bases: SystemActorParts

typename__: Literal['SystemActor'] = Field(alias='__typename') class-attribute instance-attribute

CompanyTierMembershipPartsCreatedByUserActor

Bases: UserActorParts

typename__: Literal['UserActor'] = Field(alias='__typename') class-attribute instance-attribute

CompanyTierMembershipPartsUpdatedAt

Bases: DateTimeParts

CompanyTierMembershipPartsUpdatedByMachineUserActor

Bases: MachineUserActorParts

typename__: Literal['MachineUserActor'] = Field(alias='__typename') class-attribute instance-attribute

CompanyTierMembershipPartsUpdatedBySystemActor

Bases: SystemActorParts

typename__: Literal['SystemActor'] = Field(alias='__typename') class-attribute instance-attribute

CompanyTierMembershipPartsUpdatedByUserActor

Bases: UserActorParts

typename__: Literal['UserActor'] = Field(alias='__typename') class-attribute instance-attribute

ComponentBadgeColor

Bases: str, Enum

BLUE = 'BLUE' class-attribute instance-attribute

GREEN = 'GREEN' class-attribute instance-attribute

GREY = 'GREY' class-attribute instance-attribute

RED = 'RED' class-attribute instance-attribute

YELLOW = 'YELLOW' class-attribute instance-attribute

ComponentBadgeInput

Bases: BaseModel

badge_color: Optional[ComponentBadgeColor] = Field(alias='badgeColor', default=None) class-attribute instance-attribute

badge_label: str = Field(alias='badgeLabel') class-attribute instance-attribute

ComponentContainerContentInput

Bases: BaseModel

component_badge: Optional[ComponentBadgeInput] = Field(alias='componentBadge', default=None) class-attribute instance-attribute

component_copy_button: Optional[ComponentCopyButtonInput] = Field(alias='componentCopyButton', default=None) class-attribute instance-attribute

component_divider: Optional[ComponentDividerInput] = Field(alias='componentDivider', default=None) class-attribute instance-attribute

component_plain_text: Optional[ComponentPlainTextInput] = Field(alias='componentPlainText', default=None) class-attribute instance-attribute

component_row: Optional[ComponentRowInput] = Field(alias='componentRow', default=None) class-attribute instance-attribute

component_spacer: Optional[ComponentSpacerInput] = Field(alias='componentSpacer', default=None) class-attribute instance-attribute

component_text: Optional[ComponentTextInput] = Field(alias='componentText', default=None) class-attribute instance-attribute

ComponentContainerInput

Bases: BaseModel

container_content: List[ComponentContainerContentInput] = Field(alias='containerContent') class-attribute instance-attribute

ComponentCopyButtonInput

Bases: BaseModel

copy_button_tooltip_label: Optional[str] = Field(alias='copyButtonTooltipLabel', default=None) class-attribute instance-attribute

copy_button_value: str = Field(alias='copyButtonValue') class-attribute instance-attribute

ComponentDividerInput

Bases: BaseModel

divider_spacing_size: Optional[ComponentDividerSpacingSize] = Field(alias='dividerSpacingSize', default=None) class-attribute instance-attribute

spacing_size: Optional[ComponentDividerSpacingSize] = Field(alias='spacingSize', default=None) class-attribute instance-attribute

ComponentDividerSpacingSize

Bases: str, Enum

L = 'L' class-attribute instance-attribute

M = 'M' class-attribute instance-attribute

S = 'S' class-attribute instance-attribute

XL = 'XL' class-attribute instance-attribute

XS = 'XS' class-attribute instance-attribute

ComponentInput

Bases: BaseModel

component_badge: Optional[ComponentBadgeInput] = Field(alias='componentBadge', default=None) class-attribute instance-attribute

component_container: Optional[ComponentContainerInput] = Field(alias='componentContainer', default=None) class-attribute instance-attribute

component_copy_button: Optional[ComponentCopyButtonInput] = Field(alias='componentCopyButton', default=None) class-attribute instance-attribute

component_divider: Optional[ComponentDividerInput] = Field(alias='componentDivider', default=None) class-attribute instance-attribute

component_plain_text: Optional[ComponentPlainTextInput] = Field(alias='componentPlainText', default=None) class-attribute instance-attribute

component_row: Optional[ComponentRowInput] = Field(alias='componentRow', default=None) class-attribute instance-attribute

component_spacer: Optional[ComponentSpacerInput] = Field(alias='componentSpacer', default=None) class-attribute instance-attribute

component_text: Optional[ComponentTextInput] = Field(alias='componentText', default=None) class-attribute instance-attribute

ComponentLinkButtonInput

Bases: BaseModel

label: Optional[str] = None class-attribute instance-attribute

url: Optional[str] = None class-attribute instance-attribute

ComponentPlainTextColor

Bases: str, Enum

ERROR = 'ERROR' class-attribute instance-attribute

MUTED = 'MUTED' class-attribute instance-attribute

NORMAL = 'NORMAL' class-attribute instance-attribute

SUCCESS = 'SUCCESS' class-attribute instance-attribute

WARNING = 'WARNING' class-attribute instance-attribute

ComponentPlainTextInput

Bases: BaseModel

plain_text: str = Field(alias='plainText') class-attribute instance-attribute

plain_text_color: Optional[ComponentPlainTextColor] = Field(alias='plainTextColor', default=None) class-attribute instance-attribute

plain_text_size: Optional[ComponentPlainTextSize] = Field(alias='plainTextSize', default=None) class-attribute instance-attribute

ComponentPlainTextSize

Bases: str, Enum

L = 'L' class-attribute instance-attribute

M = 'M' class-attribute instance-attribute

S = 'S' class-attribute instance-attribute

ComponentRowContentInput

Bases: BaseModel

component_badge: Optional[ComponentBadgeInput] = Field(alias='componentBadge', default=None) class-attribute instance-attribute

component_copy_button: Optional[ComponentCopyButtonInput] = Field(alias='componentCopyButton', default=None) class-attribute instance-attribute

component_divider: Optional[ComponentDividerInput] = Field(alias='componentDivider', default=None) class-attribute instance-attribute

component_plain_text: Optional[ComponentPlainTextInput] = Field(alias='componentPlainText', default=None) class-attribute instance-attribute

component_spacer: Optional[ComponentSpacerInput] = Field(alias='componentSpacer', default=None) class-attribute instance-attribute

component_text: Optional[ComponentTextInput] = Field(alias='componentText', default=None) class-attribute instance-attribute

ComponentRowInput

Bases: BaseModel

row_aside_content: List[ComponentRowContentInput] = Field(alias='rowAsideContent') class-attribute instance-attribute

row_main_content: List[ComponentRowContentInput] = Field(alias='rowMainContent') class-attribute instance-attribute

ComponentSpacerInput

Bases: BaseModel

size: Optional[ComponentSpacerSize] = None class-attribute instance-attribute

spacer_size: Optional[ComponentSpacerSize] = Field(alias='spacerSize', default=None) class-attribute instance-attribute

ComponentSpacerSize

Bases: str, Enum

L = 'L' class-attribute instance-attribute

M = 'M' class-attribute instance-attribute

S = 'S' class-attribute instance-attribute

XL = 'XL' class-attribute instance-attribute

XS = 'XS' class-attribute instance-attribute

ComponentTextColor

Bases: str, Enum

ERROR = 'ERROR' class-attribute instance-attribute

MUTED = 'MUTED' class-attribute instance-attribute

NORMAL = 'NORMAL' class-attribute instance-attribute

SUCCESS = 'SUCCESS' class-attribute instance-attribute

WARNING = 'WARNING' class-attribute instance-attribute

ComponentTextInput

Bases: BaseModel

color: Optional[ComponentTextColor] = None class-attribute instance-attribute

size: Optional[ComponentTextSize] = None class-attribute instance-attribute

text: str instance-attribute

text_color: Optional[ComponentTextColor] = Field(alias='textColor', default=None) class-attribute instance-attribute

text_size: Optional[ComponentTextSize] = Field(alias='textSize', default=None) class-attribute instance-attribute

ComponentTextSize

Bases: str, Enum

L = 'L' class-attribute instance-attribute

M = 'M' class-attribute instance-attribute

S = 'S' class-attribute instance-attribute

CreateAttachmentUploadUrl

Bases: BaseModel

create_attachment_upload_url: CreateAttachmentUploadUrlCreateAttachmentUploadUrl = Field(alias='createAttachmentUploadUrl') class-attribute instance-attribute

CreateAttachmentUploadUrlCreateAttachmentUploadUrl

Bases: BaseModel

attachment_upload_url: Optional[CreateAttachmentUploadUrlCreateAttachmentUploadUrlAttachmentUploadUrl] = Field(alias='attachmentUploadUrl') class-attribute instance-attribute

error: Optional[CreateAttachmentUploadUrlCreateAttachmentUploadUrlError] instance-attribute

CreateAttachmentUploadUrlCreateAttachmentUploadUrlAttachmentUploadUrl

CreateAttachmentUploadUrlCreateAttachmentUploadUrlError

CreateAttachmentUploadUrlInput

Bases: BaseModel

attachment_type: AttachmentType = Field(alias='attachmentType') class-attribute instance-attribute

customer_id: str = Field(alias='customerId') class-attribute instance-attribute

file_name: str = Field(alias='fileName') class-attribute instance-attribute

file_size_bytes: int = Field(alias='fileSizeBytes') class-attribute instance-attribute

CreateCustomerCardConfig

Bases: BaseModel

create_customer_card_config: CreateCustomerCardConfigCreateCustomerCardConfig = Field(alias='createCustomerCardConfig') class-attribute instance-attribute

CreateCustomerCardConfigCreateCustomerCardConfig

Bases: BaseModel

customer_card_config: Optional[CreateCustomerCardConfigCreateCustomerCardConfigCustomerCardConfig] = Field(alias='customerCardConfig') class-attribute instance-attribute

error: Optional[CreateCustomerCardConfigCreateCustomerCardConfigError] instance-attribute

CreateCustomerCardConfigCreateCustomerCardConfigCustomerCardConfig

CreateCustomerCardConfigCreateCustomerCardConfigError

CreateCustomerCardConfigInput

Bases: BaseModel

api_headers: List[CustomerCardConfigApiHeaderInput] = Field(alias='apiHeaders') class-attribute instance-attribute

api_url: str = Field(alias='apiUrl') class-attribute instance-attribute

default_time_to_live_seconds: int = Field(alias='defaultTimeToLiveSeconds') class-attribute instance-attribute

key: str instance-attribute

title: str instance-attribute

CreateCustomerEvent

Bases: BaseModel

create_customer_event: CreateCustomerEventCreateCustomerEvent = Field(alias='createCustomerEvent') class-attribute instance-attribute

CreateCustomerEventCreateCustomerEvent

Bases: BaseModel

customer_event: Optional[CreateCustomerEventCreateCustomerEventCustomerEvent] = Field(alias='customerEvent') class-attribute instance-attribute

error: Optional[CreateCustomerEventCreateCustomerEventError] instance-attribute

CreateCustomerEventCreateCustomerEventCustomerEvent

CreateCustomerEventCreateCustomerEventError

CreateCustomerEventInput

Bases: BaseModel

components: List[EventComponentInput] instance-attribute

customer_identifier: CustomerIdentifierInput = Field(alias='customerIdentifier') class-attribute instance-attribute

external_id: Optional[str] = Field(alias='externalId', default=None) class-attribute instance-attribute

title: str instance-attribute

CreateIndexedDocumentInput

Bases: BaseModel

label_type_ids: Optional[List[str]] = Field(alias='labelTypeIds', default=None) class-attribute instance-attribute

url: str instance-attribute

CreateLabelType

Bases: BaseModel

create_label_type: CreateLabelTypeCreateLabelType = Field(alias='createLabelType') class-attribute instance-attribute

CreateLabelTypeCreateLabelType

Bases: BaseModel

error: Optional[CreateLabelTypeCreateLabelTypeError] instance-attribute

label_type: Optional[CreateLabelTypeCreateLabelTypeLabelType] = Field(alias='labelType') class-attribute instance-attribute

CreateLabelTypeCreateLabelTypeError

CreateLabelTypeCreateLabelTypeLabelType

CreateLabelTypeInput

Bases: BaseModel

icon: Optional[str] = None class-attribute instance-attribute

name: str instance-attribute

CreateNote

Bases: BaseModel

create_note: CreateNoteCreateNote = Field(alias='createNote') class-attribute instance-attribute

CreateNoteCreateNote

Bases: BaseModel

error: Optional[CreateNoteCreateNoteError] instance-attribute

note: Optional[CreateNoteCreateNoteNote] instance-attribute

CreateNoteCreateNoteError

CreateNoteCreateNoteNote

Bases: NoteParts

CreateNoteInput

Bases: BaseModel

customer_id: str = Field(alias='customerId') class-attribute instance-attribute

markdown: Optional[str] = None class-attribute instance-attribute

text: str instance-attribute

thread_id: Optional[str] = Field(alias='threadId', default=None) class-attribute instance-attribute

CreateThread

Bases: BaseModel

create_thread: CreateThreadCreateThread = Field(alias='createThread') class-attribute instance-attribute

CreateThreadAssignedToInput

Bases: BaseModel

machine_user_id: Optional[str] = Field(alias='machineUserId', default=None) class-attribute instance-attribute

user_id: Optional[str] = Field(alias='userId', default=None) class-attribute instance-attribute

CreateThreadCreateThread

Bases: BaseModel

error: Optional[CreateThreadCreateThreadError] instance-attribute

thread: Optional[CreateThreadCreateThreadThread] instance-attribute

CreateThreadCreateThreadError

CreateThreadCreateThreadThread

Bases: ThreadParts

CreateThreadEvent

Bases: BaseModel

create_thread_event: CreateThreadEventCreateThreadEvent = Field(alias='createThreadEvent') class-attribute instance-attribute

CreateThreadEventCreateThreadEvent

Bases: BaseModel

error: Optional[CreateThreadEventCreateThreadEventError] instance-attribute

thread_event: Optional[CreateThreadEventCreateThreadEventThreadEvent] = Field(alias='threadEvent') class-attribute instance-attribute

CreateThreadEventCreateThreadEventError

CreateThreadEventCreateThreadEventThreadEvent

CreateThreadEventInput

Bases: BaseModel

components: List[EventComponentInput] instance-attribute

external_id: Optional[str] = Field(alias='externalId', default=None) class-attribute instance-attribute

thread_id: str = Field(alias='threadId') class-attribute instance-attribute

title: str instance-attribute

CreateThreadFieldOnThreadInput

Bases: BaseModel

boolean_value: Optional[bool] = Field(alias='booleanValue', default=None) class-attribute instance-attribute

key: str instance-attribute

string_value: Optional[str] = Field(alias='stringValue', default=None) class-attribute instance-attribute

type: ThreadFieldSchemaType instance-attribute

CreateThreadInput

Bases: BaseModel

assigned_to: Optional[CreateThreadAssignedToInput] = Field(alias='assignedTo', default=None) class-attribute instance-attribute

attachment_ids: Optional[List[str]] = Field(alias='attachmentIds', default=None) class-attribute instance-attribute

channel: Optional[ThreadChannel] = None class-attribute instance-attribute

channel_details: Optional[ThreadChannelDetailsInput] = Field(alias='channelDetails', default=None) class-attribute instance-attribute

components: List[ComponentInput] instance-attribute

customer_identifier: CustomerIdentifierInput = Field(alias='customerIdentifier') class-attribute instance-attribute

description: Optional[str] = None class-attribute instance-attribute

external_id: Optional[str] = Field(alias='externalId', default=None) class-attribute instance-attribute

label_type_ids: Optional[List[str]] = Field(alias='labelTypeIds', default=None) class-attribute instance-attribute

priority: Optional[int] = None class-attribute instance-attribute

tenant_identifier: Optional[TenantIdentifierInput] = Field(alias='tenantIdentifier', default=None) class-attribute instance-attribute

thread_fields: Optional[List[CreateThreadFieldOnThreadInput]] = Field(alias='threadFields', default=None) class-attribute instance-attribute

title: Optional[str] = None class-attribute instance-attribute

CreateWebhookTarget

Bases: BaseModel

create_webhook_target: CreateWebhookTargetCreateWebhookTarget = Field(alias='createWebhookTarget') class-attribute instance-attribute

CreateWebhookTargetCreateWebhookTarget

Bases: BaseModel

error: Optional[CreateWebhookTargetCreateWebhookTargetError] instance-attribute

webhook_target: Optional[CreateWebhookTargetCreateWebhookTargetWebhookTarget] = Field(alias='webhookTarget') class-attribute instance-attribute

CreateWebhookTargetCreateWebhookTargetError

CreateWebhookTargetCreateWebhookTargetWebhookTarget

CreateWebhookTargetInput

Bases: BaseModel

description: str instance-attribute

event_subscriptions: List[WebhookTargetEventSubscriptionInput] = Field(alias='eventSubscriptions') class-attribute instance-attribute

is_enabled: bool = Field(alias='isEnabled') class-attribute instance-attribute

url: str instance-attribute

version: Optional[str] = None class-attribute instance-attribute

CustomerActorParts

Bases: BaseModel

customer_id: str = Field(alias='customerId') class-attribute instance-attribute

typename__: str = Field(alias='__typename') class-attribute instance-attribute

CustomerByEmail

Bases: BaseModel

customer_by_email: Optional[CustomerByEmailCustomerByEmail] = Field(alias='customerByEmail') class-attribute instance-attribute

CustomerByEmailCustomerByEmail

Bases: CustomerParts

CustomerByExternalId

Bases: BaseModel

customer_by_external_id: Optional[CustomerByExternalIdCustomerByExternalId] = Field(alias='customerByExternalId') class-attribute instance-attribute

CustomerByExternalIdCustomerByExternalId

Bases: CustomerParts

CustomerById

Bases: BaseModel

customer: Optional[CustomerByIdCustomer] instance-attribute

CustomerByIdCustomer

Bases: CustomerParts

CustomerCardConfigApiHeaderInput

Bases: BaseModel

name: str instance-attribute

value: str instance-attribute

CustomerCardConfigParts

Bases: BaseModel

api_headers: List[CustomerCardConfigPartsApiHeaders] = Field(alias='apiHeaders') class-attribute instance-attribute

api_url: str = Field(alias='apiUrl') class-attribute instance-attribute

created_at: CustomerCardConfigPartsCreatedAt = Field(alias='createdAt') class-attribute instance-attribute

default_time_to_live_seconds: int = Field(alias='defaultTimeToLiveSeconds') class-attribute instance-attribute

id: str instance-attribute

is_enabled: bool = Field(alias='isEnabled') class-attribute instance-attribute

key: str instance-attribute

order: int instance-attribute

title: str instance-attribute

typename__: str = Field(alias='__typename') class-attribute instance-attribute

updated_at: CustomerCardConfigPartsUpdatedAt = Field(alias='updatedAt') class-attribute instance-attribute

CustomerCardConfigPartsApiHeaders

Bases: BaseModel

name: str instance-attribute

value: str instance-attribute

CustomerCardConfigPartsCreatedAt

Bases: DateTimeParts

CustomerCardConfigPartsUpdatedAt

Bases: DateTimeParts

CustomerCustomerGroups

Bases: BaseModel

customer: Optional[CustomerCustomerGroupsCustomer] instance-attribute

CustomerCustomerGroupsCustomer

Bases: BaseModel

customer_group_memberships: CustomerCustomerGroupsCustomerCustomerGroupMemberships = Field(alias='customerGroupMemberships') class-attribute instance-attribute

CustomerCustomerGroupsCustomerCustomerGroupMemberships

Bases: BaseModel

edges: List[CustomerCustomerGroupsCustomerCustomerGroupMembershipsEdges] instance-attribute

page_info: CustomerCustomerGroupsCustomerCustomerGroupMembershipsPageInfo = Field(alias='pageInfo') class-attribute instance-attribute

CustomerCustomerGroupsCustomerCustomerGroupMembershipsEdges

Bases: BaseModel

node: CustomerCustomerGroupsCustomerCustomerGroupMembershipsEdgesNode instance-attribute

CustomerCustomerGroupsCustomerCustomerGroupMembershipsEdgesNode

CustomerCustomerGroupsCustomerCustomerGroupMembershipsPageInfo

Bases: PageInfoParts

CustomerEventParts

Bases: BaseModel

created_at: CustomerEventPartsCreatedAt = Field(alias='createdAt') class-attribute instance-attribute

created_by: Union[CustomerEventPartsCreatedByUserActor, CustomerEventPartsCreatedByCustomerActor, CustomerEventPartsCreatedByDeletedCustomerActor, CustomerEventPartsCreatedBySystemActor, CustomerEventPartsCreatedByMachineUserActor] = Field(alias='createdBy', discriminator='typename__') class-attribute instance-attribute

customer_id: str = Field(alias='customerId') class-attribute instance-attribute

id: str instance-attribute

title: str instance-attribute

typename__: str = Field(alias='__typename') class-attribute instance-attribute

updated_at: CustomerEventPartsUpdatedAt = Field(alias='updatedAt') class-attribute instance-attribute

updated_by: Union[CustomerEventPartsUpdatedByUserActor, CustomerEventPartsUpdatedByCustomerActor, CustomerEventPartsUpdatedByDeletedCustomerActor, CustomerEventPartsUpdatedBySystemActor, CustomerEventPartsUpdatedByMachineUserActor] = Field(alias='updatedBy', discriminator='typename__') class-attribute instance-attribute

CustomerEventPartsCreatedAt

Bases: DateTimeParts

CustomerEventPartsCreatedByCustomerActor

Bases: CustomerActorParts

typename__: Literal['CustomerActor'] = Field(alias='__typename') class-attribute instance-attribute

CustomerEventPartsCreatedByDeletedCustomerActor

Bases: DeletedCustomerActorParts

typename__: Literal['DeletedCustomerActor'] = Field(alias='__typename') class-attribute instance-attribute

CustomerEventPartsCreatedByMachineUserActor

Bases: MachineUserActorParts

typename__: Literal['MachineUserActor'] = Field(alias='__typename') class-attribute instance-attribute

CustomerEventPartsCreatedBySystemActor

Bases: SystemActorParts

typename__: Literal['SystemActor'] = Field(alias='__typename') class-attribute instance-attribute

CustomerEventPartsCreatedByUserActor

Bases: UserActorParts

typename__: Literal['UserActor'] = Field(alias='__typename') class-attribute instance-attribute

CustomerEventPartsUpdatedAt

Bases: DateTimeParts

CustomerEventPartsUpdatedByCustomerActor

Bases: CustomerActorParts

typename__: Literal['CustomerActor'] = Field(alias='__typename') class-attribute instance-attribute

CustomerEventPartsUpdatedByDeletedCustomerActor

Bases: DeletedCustomerActorParts

typename__: Literal['DeletedCustomerActor'] = Field(alias='__typename') class-attribute instance-attribute

CustomerEventPartsUpdatedByMachineUserActor

Bases: MachineUserActorParts

typename__: Literal['MachineUserActor'] = Field(alias='__typename') class-attribute instance-attribute

CustomerEventPartsUpdatedBySystemActor

Bases: SystemActorParts

typename__: Literal['SystemActor'] = Field(alias='__typename') class-attribute instance-attribute

CustomerEventPartsUpdatedByUserActor

Bases: UserActorParts

typename__: Literal['UserActor'] = Field(alias='__typename') class-attribute instance-attribute

CustomerGroupById

Bases: BaseModel

customer_group: Optional[CustomerGroupByIdCustomerGroup] = Field(alias='customerGroup') class-attribute instance-attribute

CustomerGroupByIdCustomerGroup

CustomerGroupIdentifier

Bases: BaseModel

customer_group_id: Optional[str] = Field(alias='customerGroupId', default=None) class-attribute instance-attribute

customer_group_key: Optional[str] = Field(alias='customerGroupKey', default=None) class-attribute instance-attribute

external_id: Optional[str] = Field(alias='externalId', default=None) class-attribute instance-attribute

CustomerGroupMembershipParts

Bases: BaseModel

created_at: CustomerGroupMembershipPartsCreatedAt = Field(alias='createdAt') class-attribute instance-attribute

created_by: Union[CustomerGroupMembershipPartsCreatedByUserActor, CustomerGroupMembershipPartsCreatedBySystemActor, CustomerGroupMembershipPartsCreatedByMachineUserActor] = Field(alias='createdBy', discriminator='typename__') class-attribute instance-attribute

customer_group: CustomerGroupMembershipPartsCustomerGroup = Field(alias='customerGroup') class-attribute instance-attribute

customer_id: str = Field(alias='customerId') class-attribute instance-attribute

typename__: str = Field(alias='__typename') class-attribute instance-attribute

updated_at: CustomerGroupMembershipPartsUpdatedAt = Field(alias='updatedAt') class-attribute instance-attribute

updated_by: Union[CustomerGroupMembershipPartsUpdatedByUserActor, CustomerGroupMembershipPartsUpdatedBySystemActor, CustomerGroupMembershipPartsUpdatedByMachineUserActor] = Field(alias='updatedBy', discriminator='typename__') class-attribute instance-attribute

CustomerGroupMembershipPartsCreatedAt

Bases: DateTimeParts

CustomerGroupMembershipPartsCreatedByMachineUserActor

Bases: MachineUserActorParts

typename__: Literal['MachineUserActor'] = Field(alias='__typename') class-attribute instance-attribute

CustomerGroupMembershipPartsCreatedBySystemActor

Bases: SystemActorParts

typename__: Literal['SystemActor'] = Field(alias='__typename') class-attribute instance-attribute

CustomerGroupMembershipPartsCreatedByUserActor

Bases: UserActorParts

typename__: Literal['UserActor'] = Field(alias='__typename') class-attribute instance-attribute

CustomerGroupMembershipPartsCustomerGroup

CustomerGroupMembershipPartsUpdatedAt

Bases: DateTimeParts

CustomerGroupMembershipPartsUpdatedByMachineUserActor

Bases: MachineUserActorParts

typename__: Literal['MachineUserActor'] = Field(alias='__typename') class-attribute instance-attribute

CustomerGroupMembershipPartsUpdatedBySystemActor

Bases: SystemActorParts

typename__: Literal['SystemActor'] = Field(alias='__typename') class-attribute instance-attribute

CustomerGroupMembershipPartsUpdatedByUserActor

Bases: UserActorParts

typename__: Literal['UserActor'] = Field(alias='__typename') class-attribute instance-attribute

CustomerGroupMembershipsFilter

Bases: BaseModel

customer_group_external_ids: Optional[List[str]] = Field(alias='customerGroupExternalIds', default=None) class-attribute instance-attribute

CustomerGroupParts

Bases: BaseModel

color: str instance-attribute

id: str instance-attribute

key: str instance-attribute

name: str instance-attribute

typename__: str = Field(alias='__typename') class-attribute instance-attribute

CustomerGroups

Bases: BaseModel

customer_groups: CustomerGroupsCustomerGroups = Field(alias='customerGroups') class-attribute instance-attribute

CustomerGroupsCustomerGroups

Bases: BaseModel

edges: List[CustomerGroupsCustomerGroupsEdges] instance-attribute

page_info: CustomerGroupsCustomerGroupsPageInfo = Field(alias='pageInfo') class-attribute instance-attribute

CustomerGroupsCustomerGroupsEdges

Bases: BaseModel

node: CustomerGroupsCustomerGroupsEdgesNode instance-attribute

CustomerGroupsCustomerGroupsEdgesNode

CustomerGroupsCustomerGroupsPageInfo

Bases: PageInfoParts

CustomerIdentifierInput

Bases: BaseModel

customer_id: Optional[str] = Field(alias='customerId', default=None) class-attribute instance-attribute

email_address: Optional[str] = Field(alias='emailAddress', default=None) class-attribute instance-attribute

external_id: Optional[str] = Field(alias='externalId', default=None) class-attribute instance-attribute

CustomerImpersonationInput

Bases: BaseModel

customer_identifier: CustomerIdentifierInput = Field(alias='customerIdentifier') class-attribute instance-attribute

CustomerParts

Bases: BaseModel

company: Optional[CustomerPartsCompany] instance-attribute

created_at: CustomerPartsCreatedAt = Field(alias='createdAt') class-attribute instance-attribute

created_by: Union[CustomerPartsCreatedByUserActor, CustomerPartsCreatedByCustomerActor, CustomerPartsCreatedByDeletedCustomerActor, CustomerPartsCreatedBySystemActor, CustomerPartsCreatedByMachineUserActor] = Field(alias='createdBy', discriminator='typename__') class-attribute instance-attribute

email: CustomerPartsEmail instance-attribute

external_id: Optional[str] = Field(alias='externalId') class-attribute instance-attribute

full_name: str = Field(alias='fullName') class-attribute instance-attribute

id: str instance-attribute

marked_as_spam_at: Optional[CustomerPartsMarkedAsSpamAt] = Field(alias='markedAsSpamAt') class-attribute instance-attribute

short_name: Optional[str] = Field(alias='shortName') class-attribute instance-attribute

typename__: str = Field(alias='__typename') class-attribute instance-attribute

updated_at: CustomerPartsUpdatedAt = Field(alias='updatedAt') class-attribute instance-attribute

CustomerPartsCompany

Bases: CompanyParts

CustomerPartsCreatedAt

Bases: DateTimeParts

CustomerPartsCreatedByCustomerActor

Bases: BaseModel

typename__: Literal['CustomerActor'] = Field(alias='__typename') class-attribute instance-attribute

CustomerPartsCreatedByDeletedCustomerActor

Bases: BaseModel

typename__: Literal['DeletedCustomerActor'] = Field(alias='__typename') class-attribute instance-attribute

CustomerPartsCreatedByMachineUserActor

Bases: MachineUserActorParts

typename__: Literal['MachineUserActor'] = Field(alias='__typename') class-attribute instance-attribute

CustomerPartsCreatedBySystemActor

Bases: SystemActorParts

typename__: Literal['SystemActor'] = Field(alias='__typename') class-attribute instance-attribute

CustomerPartsCreatedByUserActor

Bases: UserActorParts

typename__: Literal['UserActor'] = Field(alias='__typename') class-attribute instance-attribute

CustomerPartsEmail

Bases: BaseModel

email: str instance-attribute

is_verified: bool = Field(alias='isVerified') class-attribute instance-attribute

verified_at: Optional[CustomerPartsEmailVerifiedAt] = Field(alias='verifiedAt') class-attribute instance-attribute

CustomerPartsEmailVerifiedAt

Bases: DateTimeParts

CustomerPartsMarkedAsSpamAt

Bases: DateTimeParts

CustomerPartsUpdatedAt

Bases: DateTimeParts

CustomerTenantMembershipParts

Bases: BaseModel

created_at: CustomerTenantMembershipPartsCreatedAt = Field(alias='createdAt') class-attribute instance-attribute

created_by: Union[CustomerTenantMembershipPartsCreatedByUserActor, CustomerTenantMembershipPartsCreatedBySystemActor, CustomerTenantMembershipPartsCreatedByMachineUserActor] = Field(alias='createdBy', discriminator='typename__') class-attribute instance-attribute

tenant: CustomerTenantMembershipPartsTenant instance-attribute

typename__: str = Field(alias='__typename') class-attribute instance-attribute

updated_at: CustomerTenantMembershipPartsUpdatedAt = Field(alias='updatedAt') class-attribute instance-attribute

updated_by: Union[CustomerTenantMembershipPartsUpdatedByUserActor, CustomerTenantMembershipPartsUpdatedBySystemActor, CustomerTenantMembershipPartsUpdatedByMachineUserActor] = Field(alias='updatedBy', discriminator='typename__') class-attribute instance-attribute

CustomerTenantMembershipPartsCreatedAt

Bases: DateTimeParts

CustomerTenantMembershipPartsCreatedByMachineUserActor

Bases: MachineUserActorParts

typename__: Literal['MachineUserActor'] = Field(alias='__typename') class-attribute instance-attribute

CustomerTenantMembershipPartsCreatedBySystemActor

Bases: SystemActorParts

typename__: Literal['SystemActor'] = Field(alias='__typename') class-attribute instance-attribute

CustomerTenantMembershipPartsCreatedByUserActor

Bases: UserActorParts

typename__: Literal['UserActor'] = Field(alias='__typename') class-attribute instance-attribute

CustomerTenantMembershipPartsTenant

Bases: TenantParts

CustomerTenantMembershipPartsUpdatedAt

Bases: DateTimeParts

CustomerTenantMembershipPartsUpdatedByMachineUserActor

Bases: MachineUserActorParts

typename__: Literal['MachineUserActor'] = Field(alias='__typename') class-attribute instance-attribute

CustomerTenantMembershipPartsUpdatedBySystemActor

Bases: SystemActorParts

typename__: Literal['SystemActor'] = Field(alias='__typename') class-attribute instance-attribute

CustomerTenantMembershipPartsUpdatedByUserActor

Bases: UserActorParts

typename__: Literal['UserActor'] = Field(alias='__typename') class-attribute instance-attribute

CustomerTenants

Bases: BaseModel

customer: Optional[CustomerTenantsCustomer] instance-attribute

CustomerTenantsCustomer

Bases: BaseModel

tenant_memberships: CustomerTenantsCustomerTenantMemberships = Field(alias='tenantMemberships') class-attribute instance-attribute

CustomerTenantsCustomerTenantMemberships

Bases: BaseModel

edges: List[CustomerTenantsCustomerTenantMembershipsEdges] instance-attribute

page_info: CustomerTenantsCustomerTenantMembershipsPageInfo = Field(alias='pageInfo') class-attribute instance-attribute

CustomerTenantsCustomerTenantMembershipsEdges

Bases: BaseModel

node: CustomerTenantsCustomerTenantMembershipsEdgesNode instance-attribute

CustomerTenantsCustomerTenantMembershipsEdgesNode

CustomerTenantsCustomerTenantMembershipsPageInfo

Bases: PageInfoParts

Customers

Bases: BaseModel

customers: CustomersCustomers instance-attribute

CustomersCustomers

Bases: BaseModel

edges: List[CustomersCustomersEdges] instance-attribute

page_info: CustomersCustomersPageInfo = Field(alias='pageInfo') class-attribute instance-attribute

total_count: int = Field(alias='totalCount') class-attribute instance-attribute

CustomersCustomersEdges

Bases: BaseModel

node: CustomersCustomersEdgesNode instance-attribute

CustomersCustomersEdgesNode

Bases: CustomerParts

CustomersCustomersPageInfo

Bases: PageInfoParts

CustomersFilter

Bases: BaseModel

company_identifiers: Optional[List[CompanyIdentifierInput]] = Field(alias='companyIdentifiers', default=None) class-attribute instance-attribute

customer_group_ids: Optional[List[str]] = Field(alias='customerGroupIds', default=None) class-attribute instance-attribute

customer_group_keys: Optional[List[str]] = Field(alias='customerGroupKeys', default=None) class-attribute instance-attribute

is_marked_as_spam: Optional[bool] = Field(alias='isMarkedAsSpam', default=None) class-attribute instance-attribute

tenant_identifiers: Optional[List[TenantIdentifierInput]] = Field(alias='tenantIdentifiers', default=None) class-attribute instance-attribute

CustomersSort

Bases: BaseModel

direction: SortDirection instance-attribute

field: CustomersSortField instance-attribute

CustomersSortField

Bases: str, Enum

FULL_NAME = 'FULL_NAME' class-attribute instance-attribute

DateTimeParts

Bases: BaseModel

iso_8601: str = Field(alias='iso8601') class-attribute instance-attribute

typename__: str = Field(alias='__typename') class-attribute instance-attribute

unix_timestamp: str = Field(alias='unixTimestamp') class-attribute instance-attribute

DatetimeFilter

Bases: BaseModel

after: Optional[str] = None class-attribute instance-attribute

before: Optional[str] = None class-attribute instance-attribute

DeleteCustomer

Bases: BaseModel

delete_customer: DeleteCustomerDeleteCustomer = Field(alias='deleteCustomer') class-attribute instance-attribute

DeleteCustomerCardConfig

Bases: BaseModel

delete_customer_card_config: DeleteCustomerCardConfigDeleteCustomerCardConfig = Field(alias='deleteCustomerCardConfig') class-attribute instance-attribute

DeleteCustomerCardConfigDeleteCustomerCardConfig

Bases: BaseModel

error: Optional[DeleteCustomerCardConfigDeleteCustomerCardConfigError] instance-attribute

DeleteCustomerCardConfigDeleteCustomerCardConfigError

DeleteCustomerCardConfigInput

Bases: BaseModel

customer_card_config_id: str = Field(alias='customerCardConfigId') class-attribute instance-attribute

DeleteCustomerDeleteCustomer

Bases: BaseModel

error: Optional[DeleteCustomerDeleteCustomerError] instance-attribute

DeleteCustomerDeleteCustomerError

DeleteCustomerInput

Bases: BaseModel

customer_id: str = Field(alias='customerId') class-attribute instance-attribute

DeleteThreadField

Bases: BaseModel

delete_thread_field: DeleteThreadFieldDeleteThreadField = Field(alias='deleteThreadField') class-attribute instance-attribute

DeleteThreadFieldDeleteThreadField

Bases: BaseModel

error: Optional[DeleteThreadFieldDeleteThreadFieldError] instance-attribute

DeleteThreadFieldDeleteThreadFieldError

DeleteThreadFieldIdentifier

Bases: BaseModel

key: str instance-attribute

thread_id: str = Field(alias='threadId') class-attribute instance-attribute

DeleteThreadFieldInput

Bases: BaseModel

identifier: DeleteThreadFieldIdentifier instance-attribute

DeleteWebhookTarget

Bases: BaseModel

delete_webhook_target: DeleteWebhookTargetDeleteWebhookTarget = Field(alias='deleteWebhookTarget') class-attribute instance-attribute

DeleteWebhookTargetDeleteWebhookTarget

Bases: BaseModel

error: Optional[DeleteWebhookTargetDeleteWebhookTargetError] instance-attribute

DeleteWebhookTargetDeleteWebhookTargetError

DeleteWebhookTargetInput

Bases: BaseModel

webhook_target_id: str = Field(alias='webhookTargetId') class-attribute instance-attribute

DeletedCustomerActorParts

Bases: BaseModel

customer_id: str = Field(alias='customerId') class-attribute instance-attribute

typename__: str = Field(alias='__typename') class-attribute instance-attribute

DoneStatusDetail

Bases: str, Enum

DONE_AUTOMATICALLY_SET = 'DONE_AUTOMATICALLY_SET' class-attribute instance-attribute

DONE_MANUALLY_SET = 'DONE_MANUALLY_SET' class-attribute instance-attribute

IGNORED = 'IGNORED' class-attribute instance-attribute

TIMER_EXPIRED = 'TIMER_EXPIRED' class-attribute instance-attribute

EmailAddressInput

Bases: BaseModel

email: str instance-attribute

is_verified: bool = Field(alias='isVerified') class-attribute instance-attribute

EmailParticipantInput

Bases: BaseModel

email: str instance-attribute

name: Optional[str] = None class-attribute instance-attribute

EmailParticipantParts

Bases: BaseModel

email: str instance-attribute

email_actor: Optional[Annotated[Union[EmailParticipantPartsEmailActorCustomerEmailActor, EmailParticipantPartsEmailActorDeletedCustomerEmailActor, EmailParticipantPartsEmailActorUserEmailActor, EmailParticipantPartsEmailActorSupportEmailAddressEmailActor], Field(discriminator=typename__)]] = Field(alias='emailActor') class-attribute instance-attribute

name: Optional[str] instance-attribute

typename__: str = Field(alias='__typename') class-attribute instance-attribute

EmailParticipantPartsEmailActorCustomerEmailActor

Bases: BaseModel

customer_id: str = Field(alias='customerId') class-attribute instance-attribute

typename__: Literal['CustomerEmailActor'] = Field(alias='__typename') class-attribute instance-attribute

EmailParticipantPartsEmailActorDeletedCustomerEmailActor

Bases: BaseModel

customer_id: str = Field(alias='customerId') class-attribute instance-attribute

typename__: Literal['DeletedCustomerEmailActor'] = Field(alias='__typename') class-attribute instance-attribute

EmailParticipantPartsEmailActorSupportEmailAddressEmailActor

Bases: BaseModel

support_email_address: str = Field(alias='supportEmailAddress') class-attribute instance-attribute

typename__: Literal['SupportEmailAddressEmailActor'] = Field(alias='__typename') class-attribute instance-attribute

EmailParticipantPartsEmailActorUserEmailActor

Bases: BaseModel

typename__: Literal['UserEmailActor'] = Field(alias='__typename') class-attribute instance-attribute

user_id: str = Field(alias='userId') class-attribute instance-attribute

EmailParts

Bases: BaseModel

additional_recipients: List[EmailPartsAdditionalRecipients] = Field(alias='additionalRecipients') class-attribute instance-attribute

attachments: List[EmailPartsAttachments] instance-attribute

created_at: EmailPartsCreatedAt = Field(alias='createdAt') class-attribute instance-attribute

from_: EmailPartsFrom = Field(alias='from') class-attribute instance-attribute

hidden_recipients: List[EmailPartsHiddenRecipients] = Field(alias='hiddenRecipients') class-attribute instance-attribute

id: str instance-attribute

in_reply_to_email_id: Optional[str] = Field(alias='inReplyToEmailId') class-attribute instance-attribute

markdown_content: Optional[str] = Field(alias='markdownContent') class-attribute instance-attribute

subject: Optional[str] instance-attribute

text_content: Optional[str] = Field(alias='textContent') class-attribute instance-attribute

to: EmailPartsTo instance-attribute

updated_at: EmailPartsUpdatedAt = Field(alias='updatedAt') class-attribute instance-attribute

EmailPartsAdditionalRecipients

EmailPartsAttachments

EmailPartsCreatedAt

Bases: DateTimeParts

EmailPartsFrom

EmailPartsHiddenRecipients

EmailPartsTo

EmailPartsUpdatedAt

Bases: DateTimeParts

EventComponentInput

Bases: BaseModel

component_badge: Optional[ComponentBadgeInput] = Field(alias='componentBadge', default=None) class-attribute instance-attribute

component_copy_button: Optional[ComponentCopyButtonInput] = Field(alias='componentCopyButton', default=None) class-attribute instance-attribute

component_divider: Optional[ComponentDividerInput] = Field(alias='componentDivider', default=None) class-attribute instance-attribute

component_plain_text: Optional[ComponentPlainTextInput] = Field(alias='componentPlainText', default=None) class-attribute instance-attribute

component_row: Optional[ComponentRowInput] = Field(alias='componentRow', default=None) class-attribute instance-attribute

component_spacer: Optional[ComponentSpacerInput] = Field(alias='componentSpacer', default=None) class-attribute instance-attribute

component_text: Optional[ComponentTextInput] = Field(alias='componentText', default=None) class-attribute instance-attribute

FileSizeParts

Bases: BaseModel

kilo_bytes: float = Field(alias='kiloBytes') class-attribute instance-attribute

mega_bytes: float = Field(alias='megaBytes') class-attribute instance-attribute

typename__: str = Field(alias='__typename') class-attribute instance-attribute

GraphQLClientError

Bases: Exception

Base exception.

GraphQLClientGraphQLError

Bases: GraphQLClientError

extensions = extensions instance-attribute

locations = locations instance-attribute

message = message instance-attribute

orginal = orginal instance-attribute

path = path instance-attribute

from_dict(error: Dict[str, Any]) -> GraphQLClientGraphQLError classmethod

GraphQLClientGraphQLMultiError

Bases: GraphQLClientError

data = data instance-attribute

errors = errors instance-attribute

from_errors_dicts(errors_dicts: List[Dict[str, Any]], data: Optional[Dict[str, Any]] = None) -> GraphQLClientGraphQLMultiError classmethod

GraphQLClientHttpError

Bases: GraphQLClientError

response = response instance-attribute

status_code = status_code instance-attribute

GraphQLClientInvalidResponseError

Bases: GraphQLClientError

response = response instance-attribute

ImpersonationInput

Bases: BaseModel

as_customer: CustomerImpersonationInput = Field(alias='asCustomer') class-attribute instance-attribute

IndexDocument

Bases: BaseModel

create_indexed_document: IndexDocumentCreateIndexedDocument = Field(alias='createIndexedDocument') class-attribute instance-attribute

IndexDocumentCreateIndexedDocument

Bases: BaseModel

error: Optional[IndexDocumentCreateIndexedDocumentError] instance-attribute

indexed_document: Optional[IndexDocumentCreateIndexedDocumentIndexedDocument] = Field(alias='indexedDocument') class-attribute instance-attribute

IndexDocumentCreateIndexedDocumentError

IndexDocumentCreateIndexedDocumentIndexedDocument

IndexedDocumentParts

Bases: BaseModel

created_at: IndexedDocumentPartsCreatedAt = Field(alias='createdAt') class-attribute instance-attribute

id: str instance-attribute

typename__: str = Field(alias='__typename') class-attribute instance-attribute

url: str instance-attribute

IndexedDocumentPartsCreatedAt

Bases: DateTimeParts

IntInput

Bases: BaseModel

value: int instance-attribute

LabelParts

Bases: BaseModel

created_at: LabelPartsCreatedAt = Field(alias='createdAt') class-attribute instance-attribute

created_by: Union[LabelPartsCreatedByUserActor, LabelPartsCreatedBySystemActor, LabelPartsCreatedByMachineUserActor] = Field(alias='createdBy', discriminator='typename__') class-attribute instance-attribute

id: str instance-attribute

label_type: LabelPartsLabelType = Field(alias='labelType') class-attribute instance-attribute

typename__: str = Field(alias='__typename') class-attribute instance-attribute

updated_at: LabelPartsUpdatedAt = Field(alias='updatedAt') class-attribute instance-attribute

updated_by: Union[LabelPartsUpdatedByUserActor, LabelPartsUpdatedBySystemActor, LabelPartsUpdatedByMachineUserActor] = Field(alias='updatedBy', discriminator='typename__') class-attribute instance-attribute

LabelPartsCreatedAt

Bases: DateTimeParts

LabelPartsCreatedByMachineUserActor

Bases: MachineUserActorParts

typename__: Literal['MachineUserActor'] = Field(alias='__typename') class-attribute instance-attribute

LabelPartsCreatedBySystemActor

Bases: SystemActorParts

typename__: Literal['SystemActor'] = Field(alias='__typename') class-attribute instance-attribute

LabelPartsCreatedByUserActor

Bases: UserActorParts

typename__: Literal['UserActor'] = Field(alias='__typename') class-attribute instance-attribute

LabelPartsLabelType

LabelPartsUpdatedAt

Bases: DateTimeParts

LabelPartsUpdatedByMachineUserActor

Bases: MachineUserActorParts

typename__: Literal['MachineUserActor'] = Field(alias='__typename') class-attribute instance-attribute

LabelPartsUpdatedBySystemActor

Bases: SystemActorParts

typename__: Literal['SystemActor'] = Field(alias='__typename') class-attribute instance-attribute

LabelPartsUpdatedByUserActor

Bases: UserActorParts

typename__: Literal['UserActor'] = Field(alias='__typename') class-attribute instance-attribute

LabelType

Bases: BaseModel

label_type: Optional[LabelTypeLabelType] = Field(alias='labelType') class-attribute instance-attribute

LabelTypeFilter

Bases: BaseModel

is_archived: Optional[bool] = Field(alias='isArchived', default=None) class-attribute instance-attribute

LabelTypeLabelType

LabelTypeParts

Bases: BaseModel

archived_at: Optional[LabelTypePartsArchivedAt] = Field(alias='archivedAt') class-attribute instance-attribute

archived_by: Optional[Annotated[Union[LabelTypePartsArchivedByUserActor, LabelTypePartsArchivedBySystemActor, LabelTypePartsArchivedByMachineUserActor], Field(discriminator=typename__)]] = Field(alias='archivedBy') class-attribute instance-attribute

created_at: LabelTypePartsCreatedAt = Field(alias='createdAt') class-attribute instance-attribute

created_by: Union[LabelTypePartsCreatedByUserActor, LabelTypePartsCreatedBySystemActor, LabelTypePartsCreatedByMachineUserActor] = Field(alias='createdBy', discriminator='typename__') class-attribute instance-attribute

icon: Optional[str] instance-attribute

id: str instance-attribute

is_archived: bool = Field(alias='isArchived') class-attribute instance-attribute

name: str instance-attribute

typename__: str = Field(alias='__typename') class-attribute instance-attribute

updated_at: LabelTypePartsUpdatedAt = Field(alias='updatedAt') class-attribute instance-attribute

updated_by: Union[LabelTypePartsUpdatedByUserActor, LabelTypePartsUpdatedBySystemActor, LabelTypePartsUpdatedByMachineUserActor] = Field(alias='updatedBy', discriminator='typename__') class-attribute instance-attribute

LabelTypePartsArchivedAt

Bases: DateTimeParts

LabelTypePartsArchivedByMachineUserActor

Bases: MachineUserActorParts

typename__: Literal['MachineUserActor'] = Field(alias='__typename') class-attribute instance-attribute

LabelTypePartsArchivedBySystemActor

Bases: SystemActorParts

typename__: Literal['SystemActor'] = Field(alias='__typename') class-attribute instance-attribute

LabelTypePartsArchivedByUserActor

Bases: UserActorParts

typename__: Literal['UserActor'] = Field(alias='__typename') class-attribute instance-attribute

LabelTypePartsCreatedAt

Bases: DateTimeParts

LabelTypePartsCreatedByMachineUserActor

Bases: MachineUserActorParts

typename__: Literal['MachineUserActor'] = Field(alias='__typename') class-attribute instance-attribute

LabelTypePartsCreatedBySystemActor

Bases: SystemActorParts

typename__: Literal['SystemActor'] = Field(alias='__typename') class-attribute instance-attribute

LabelTypePartsCreatedByUserActor

Bases: UserActorParts

typename__: Literal['UserActor'] = Field(alias='__typename') class-attribute instance-attribute

LabelTypePartsUpdatedAt

Bases: DateTimeParts

LabelTypePartsUpdatedByMachineUserActor

Bases: MachineUserActorParts

typename__: Literal['MachineUserActor'] = Field(alias='__typename') class-attribute instance-attribute

LabelTypePartsUpdatedBySystemActor

Bases: SystemActorParts

typename__: Literal['SystemActor'] = Field(alias='__typename') class-attribute instance-attribute

LabelTypePartsUpdatedByUserActor

Bases: UserActorParts

typename__: Literal['UserActor'] = Field(alias='__typename') class-attribute instance-attribute

LabelTypes

Bases: BaseModel

label_types: LabelTypesLabelTypes = Field(alias='labelTypes') class-attribute instance-attribute

LabelTypesLabelTypes

Bases: BaseModel

edges: List[LabelTypesLabelTypesEdges] instance-attribute

page_info: LabelTypesLabelTypesPageInfo = Field(alias='pageInfo') class-attribute instance-attribute

LabelTypesLabelTypesEdges

Bases: BaseModel

cursor: str instance-attribute

node: LabelTypesLabelTypesEdgesNode instance-attribute

LabelTypesLabelTypesEdgesNode

LabelTypesLabelTypesPageInfo

Bases: PageInfoParts

MachineUserActorParts

Bases: BaseModel

machine_user_id: str = Field(alias='machineUserId') class-attribute instance-attribute

typename__: str = Field(alias='__typename') class-attribute instance-attribute

MachineUserParts

Bases: BaseModel

description: Optional[str] instance-attribute

full_name: str = Field(alias='fullName') class-attribute instance-attribute

id: str instance-attribute

public_name: str = Field(alias='publicName') class-attribute instance-attribute

typename__: str = Field(alias='__typename') class-attribute instance-attribute

updated_at: MachineUserPartsUpdatedAt = Field(alias='updatedAt') class-attribute instance-attribute

MachineUserPartsUpdatedAt

Bases: DateTimeParts

MarkThreadAsDone

Bases: BaseModel

mark_thread_as_done: MarkThreadAsDoneMarkThreadAsDone = Field(alias='markThreadAsDone') class-attribute instance-attribute

MarkThreadAsDoneInput

Bases: BaseModel

status_detail: Optional[DoneStatusDetail] = Field(alias='statusDetail', default=None) class-attribute instance-attribute

thread_id: str = Field(alias='threadId') class-attribute instance-attribute

MarkThreadAsDoneMarkThreadAsDone

Bases: BaseModel

error: Optional[MarkThreadAsDoneMarkThreadAsDoneError] instance-attribute

thread: Optional[MarkThreadAsDoneMarkThreadAsDoneThread] instance-attribute

MarkThreadAsDoneMarkThreadAsDoneError

MarkThreadAsDoneMarkThreadAsDoneThread

Bases: ThreadParts

MarkThreadAsTodo

Bases: BaseModel

mark_thread_as_todo: MarkThreadAsTodoMarkThreadAsTodo = Field(alias='markThreadAsTodo') class-attribute instance-attribute

MarkThreadAsTodoInput

Bases: BaseModel

status_detail: Optional[TodoStatusDetail] = Field(alias='statusDetail', default=None) class-attribute instance-attribute

thread_id: str = Field(alias='threadId') class-attribute instance-attribute

MarkThreadAsTodoMarkThreadAsTodo

Bases: BaseModel

error: Optional[MarkThreadAsTodoMarkThreadAsTodoError] instance-attribute

thread: Optional[MarkThreadAsTodoMarkThreadAsTodoThread] instance-attribute

MarkThreadAsTodoMarkThreadAsTodoError

MarkThreadAsTodoMarkThreadAsTodoThread

Bases: ThreadParts

MessageSource

Bases: str, Enum

API = 'API' class-attribute instance-attribute

CHAT = 'CHAT' class-attribute instance-attribute

DISCORD = 'DISCORD' class-attribute instance-attribute

EMAIL = 'EMAIL' class-attribute instance-attribute

MS_TEAMS = 'MS_TEAMS' class-attribute instance-attribute

SLACK = 'SLACK' class-attribute instance-attribute

MutationErrorParts

Bases: BaseModel

code: str instance-attribute

fields: List[MutationErrorPartsFields] instance-attribute

message: str instance-attribute

type: MutationErrorType instance-attribute

typename__: str = Field(alias='__typename') class-attribute instance-attribute

MutationErrorPartsFields

Bases: BaseModel

field: str instance-attribute

message: str instance-attribute

type: MutationFieldErrorType instance-attribute

MutationErrorType

Bases: str, Enum

FORBIDDEN = 'FORBIDDEN' class-attribute instance-attribute

INTERNAL = 'INTERNAL' class-attribute instance-attribute

VALIDATION = 'VALIDATION' class-attribute instance-attribute

MutationFieldErrorType

Bases: str, Enum

NOT_FOUND = 'NOT_FOUND' class-attribute instance-attribute

REQUIRED = 'REQUIRED' class-attribute instance-attribute

VALIDATION = 'VALIDATION' class-attribute instance-attribute

MyWorkspace

Bases: BaseModel

my_workspace: Optional[MyWorkspaceMyWorkspace] = Field(alias='myWorkspace') class-attribute instance-attribute

MyWorkspaceMyWorkspace

NoteParts

Bases: BaseModel

id: str instance-attribute

markdown: Optional[str] instance-attribute

text: str instance-attribute

typename__: str = Field(alias='__typename') class-attribute instance-attribute

OptionalStringInput

Bases: BaseModel

value: Optional[str] = None class-attribute instance-attribute

PageInfoParts

Bases: BaseModel

end_cursor: Optional[str] = Field(alias='endCursor') class-attribute instance-attribute

has_next_page: bool = Field(alias='hasNextPage') class-attribute instance-attribute

has_previous_page: bool = Field(alias='hasPreviousPage') class-attribute instance-attribute

start_cursor: Optional[str] = Field(alias='startCursor') class-attribute instance-attribute

Plain

Bases: AsyncBaseClient

add_customer_to_customer_groups(input: AddCustomerToCustomerGroupsInput, **kwargs: Any) -> AddCustomerToCustomerGroupsAddCustomerToCustomerGroups async

add_customer_to_tenants(input: AddCustomerToTenantsInput, **kwargs: Any) -> AddCustomerToTenantsAddCustomerToTenants async

add_labels(input: AddLabelsInput, **kwargs: Any) -> AddLabelsAddLabels async

add_members_to_tier(input: AddMembersToTierInput, **kwargs: Any) -> AddMembersToTierAddMembersToTier async

archive_label_type(input: ArchiveLabelTypeInput, **kwargs: Any) -> ArchiveLabelTypeArchiveLabelType async

assign_thread(input: AssignThreadInput, **kwargs: Any) -> AssignThreadAssignThread async

change_thread_priority(input: ChangeThreadPriorityInput, **kwargs: Any) -> ChangeThreadPriorityChangeThreadPriority async

companies(first: Union[Optional[int], UnsetType] = UNSET, after: Union[Optional[str], UnsetType] = UNSET, last: Union[Optional[int], UnsetType] = UNSET, before: Union[Optional[str], UnsetType] = UNSET, **kwargs: Any) -> CompaniesCompanies async

create_attachment_upload_url(input: CreateAttachmentUploadUrlInput, **kwargs: Any) -> CreateAttachmentUploadUrlCreateAttachmentUploadUrl async

create_customer_card_config(input: CreateCustomerCardConfigInput, **kwargs: Any) -> CreateCustomerCardConfigCreateCustomerCardConfig async

create_customer_event(input: CreateCustomerEventInput, **kwargs: Any) -> CreateCustomerEventCreateCustomerEvent async

create_label_type(input: CreateLabelTypeInput, **kwargs: Any) -> CreateLabelTypeCreateLabelType async

create_note(input: CreateNoteInput, **kwargs: Any) -> CreateNoteCreateNote async

create_thread(input: CreateThreadInput, **kwargs: Any) -> CreateThreadCreateThread async

create_thread_event(input: CreateThreadEventInput, **kwargs: Any) -> CreateThreadEventCreateThreadEvent async

create_webhook_target(input: CreateWebhookTargetInput, **kwargs: Any) -> CreateWebhookTargetCreateWebhookTarget async

customer_by_email(email: str, **kwargs: Any) -> Optional[CustomerByEmailCustomerByEmail] async

customer_by_external_id(external_id: str, **kwargs: Any) -> Optional[CustomerByExternalIdCustomerByExternalId] async

customer_by_id(customer_id: str, **kwargs: Any) -> Optional[CustomerByIdCustomer] async

customer_customer_groups(customer_id: str, filters: Union[Optional[CustomerGroupMembershipsFilter], UnsetType] = UNSET, first: Union[Optional[int], UnsetType] = UNSET, after: Union[Optional[str], UnsetType] = UNSET, last: Union[Optional[int], UnsetType] = UNSET, before: Union[Optional[str], UnsetType] = UNSET, **kwargs: Any) -> Optional[CustomerCustomerGroupsCustomer] async

customer_group_by_id(customer_group_id: str, **kwargs: Any) -> Optional[CustomerGroupByIdCustomerGroup] async

customer_groups(first: Union[Optional[int], UnsetType] = UNSET, after: Union[Optional[str], UnsetType] = UNSET, before: Union[Optional[str], UnsetType] = UNSET, last: Union[Optional[int], UnsetType] = UNSET, **kwargs: Any) -> CustomerGroupsCustomerGroups async

customer_tenants(customer_id: str, first: Union[Optional[int], UnsetType] = UNSET, after: Union[Optional[str], UnsetType] = UNSET, last: Union[Optional[int], UnsetType] = UNSET, before: Union[Optional[str], UnsetType] = UNSET, **kwargs: Any) -> Optional[CustomerTenantsCustomer] async

customers(filters: Union[Optional[CustomersFilter], UnsetType] = UNSET, sort_by: Union[Optional[CustomersSort], UnsetType] = UNSET, first: Union[Optional[int], UnsetType] = UNSET, after: Union[Optional[str], UnsetType] = UNSET, last: Union[Optional[int], UnsetType] = UNSET, before: Union[Optional[str], UnsetType] = UNSET, **kwargs: Any) -> CustomersCustomers async

delete_customer(input: DeleteCustomerInput, **kwargs: Any) -> DeleteCustomerDeleteCustomer async

delete_customer_card_config(input: DeleteCustomerCardConfigInput, **kwargs: Any) -> DeleteCustomerCardConfigDeleteCustomerCardConfig async

delete_thread_field(input: DeleteThreadFieldInput, **kwargs: Any) -> DeleteThreadFieldDeleteThreadField async

delete_webhook_target(input: DeleteWebhookTargetInput, **kwargs: Any) -> DeleteWebhookTargetDeleteWebhookTarget async

index_document(input: CreateIndexedDocumentInput, **kwargs: Any) -> IndexDocumentCreateIndexedDocument async

label_type(label_type_id: str, **kwargs: Any) -> Optional[LabelTypeLabelType] async

label_types(filters: Union[Optional[LabelTypeFilter], UnsetType] = UNSET, first: Union[Optional[int], UnsetType] = UNSET, after: Union[Optional[str], UnsetType] = UNSET, last: Union[Optional[int], UnsetType] = UNSET, before: Union[Optional[str], UnsetType] = UNSET, **kwargs: Any) -> LabelTypesLabelTypes async

mark_thread_as_done(input: MarkThreadAsDoneInput, **kwargs: Any) -> MarkThreadAsDoneMarkThreadAsDone async

mark_thread_as_todo(input: MarkThreadAsTodoInput, **kwargs: Any) -> MarkThreadAsTodoMarkThreadAsTodo async

my_workspace(**kwargs: Any) -> Optional[MyWorkspaceMyWorkspace] async

remove_customer_from_customer_groups(input: RemoveCustomerFromCustomerGroupsInput, **kwargs: Any) -> RemoveCustomerFromCustomerGroupsRemoveCustomerFromCustomerGroups async

remove_customer_from_tenants(input: RemoveCustomerFromTenantsInput, **kwargs: Any) -> RemoveCustomerFromTenantsRemoveCustomerFromTenants async

remove_labels(input: RemoveLabelsInput, **kwargs: Any) -> RemoveLabelsRemoveLabels async

remove_members_from_tier(input: RemoveMembersFromTierInput, **kwargs: Any) -> RemoveMembersFromTierRemoveMembersFromTier async

reply_to_email(input: ReplyToEmailInput, **kwargs: Any) -> ReplyToEmailReplyToEmail async

reply_to_thread(input: ReplyToThreadInput, **kwargs: Any) -> ReplyToThreadReplyToThread async

search_companies(search_query: CompaniesSearchQuery, first: Union[Optional[int], UnsetType] = UNSET, after: Union[Optional[str], UnsetType] = UNSET, last: Union[Optional[int], UnsetType] = UNSET, before: Union[Optional[str], UnsetType] = UNSET, **kwargs: Any) -> SearchCompaniesSearchCompanies async

search_tenants(search_query: TenantsSearchQuery, first: Union[Optional[int], UnsetType] = UNSET, after: Union[Optional[str], UnsetType] = UNSET, last: Union[Optional[int], UnsetType] = UNSET, before: Union[Optional[str], UnsetType] = UNSET, **kwargs: Any) -> SearchTenantsSearchTenants async

send_customer_chat(input: SendCustomerChatInput, **kwargs: Any) -> SendCustomerChatSendCustomerChat async

send_new_email(input: SendNewEmailInput, **kwargs: Any) -> SendNewEmailSendNewEmail async

set_customer_tenants(input: SetCustomerTenantsInput, **kwargs: Any) -> SetCustomerTenantsSetCustomerTenants async

snooze_thread(input: SnoozeThreadInput, **kwargs: Any) -> SnoozeThreadSnoozeThread async

tenant(tenant_id: str, **kwargs: Any) -> Optional[TenantTenant] async

tenants(first: Union[Optional[int], UnsetType] = UNSET, after: Union[Optional[str], UnsetType] = UNSET, last: Union[Optional[int], UnsetType] = UNSET, before: Union[Optional[str], UnsetType] = UNSET, **kwargs: Any) -> TenantsTenants async

thread(thread_id: str, **kwargs: Any) -> Optional[ThreadThread] async

thread_by_external_id(customer_id: str, external_id: str, **kwargs: Any) -> Optional[ThreadByExternalIdThreadByExternalId] async

threads(filters: Union[Optional[ThreadsFilter], UnsetType] = UNSET, sort_by: Union[Optional[ThreadsSort], UnsetType] = UNSET, first: Union[Optional[int], UnsetType] = UNSET, after: Union[Optional[str], UnsetType] = UNSET, last: Union[Optional[int], UnsetType] = UNSET, before: Union[Optional[str], UnsetType] = UNSET, **kwargs: Any) -> ThreadsThreads async

tier(tier_id: str, **kwargs: Any) -> Optional[TierTier] async

tiers(first: Union[Optional[int], UnsetType] = UNSET, after: Union[Optional[str], UnsetType] = UNSET, last: Union[Optional[int], UnsetType] = UNSET, before: Union[Optional[str], UnsetType] = UNSET, **kwargs: Any) -> TiersTiers async

unassign_thread(input: UnassignThreadInput, **kwargs: Any) -> UnassignThreadUnassignThread async

update_company_tier(input: UpdateCompanyTierInput, **kwargs: Any) -> UpdateCompanyTierUpdateCompanyTier async

update_customer_card_config(input: UpdateCustomerCardConfigInput, **kwargs: Any) -> UpdateCustomerCardConfigUpdateCustomerCardConfig async

update_customer_company(input: UpdateCustomerCompanyInput, **kwargs: Any) -> UpdateCustomerCompanyUpdateCustomerCompany async

update_tenant_tier(input: UpdateTenantTierInput, **kwargs: Any) -> UpdateTenantTierUpdateTenantTier async

update_thread_tenant(input: UpdateThreadTenantInput, **kwargs: Any) -> UpdateThreadTenantUpdateThreadTenant async

update_webhook_target(input: UpdateWebhookTargetInput, **kwargs: Any) -> UpdateWebhookTargetUpdateWebhookTarget async

upsert_company(input: UpsertCompanyInput, **kwargs: Any) -> UpsertCompanyUpsertCompany async

upsert_customer(input: UpsertCustomerInput, **kwargs: Any) -> UpsertCustomerUpsertCustomer async

upsert_tenant(input: UpsertTenantInput, **kwargs: Any) -> UpsertTenantUpsertTenant async

upsert_thread_field(input: UpsertThreadFieldInput, **kwargs: Any) -> UpsertThreadFieldUpsertThreadField async

user_by_email(email: str, **kwargs: Any) -> Optional[UserByEmailUserByEmail] async

user_by_id(id: str, **kwargs: Any) -> Optional[UserByIdUserById] async

webhook_target(id: str, **kwargs: Any) -> Optional[WebhookTargetWebhookTarget] async

webhook_targets(first: Union[Optional[int], UnsetType] = UNSET, after: Union[Optional[str], UnsetType] = UNSET, last: Union[Optional[int], UnsetType] = UNSET, before: Union[Optional[str], UnsetType] = UNSET, **kwargs: Any) -> WebhookTargetsWebhookTargets async

RemoveCustomerFromCustomerGroups

Bases: BaseModel

remove_customer_from_customer_groups: RemoveCustomerFromCustomerGroupsRemoveCustomerFromCustomerGroups = Field(alias='removeCustomerFromCustomerGroups') class-attribute instance-attribute

RemoveCustomerFromCustomerGroupsInput

Bases: BaseModel

customer_group_identifiers: List[CustomerGroupIdentifier] = Field(alias='customerGroupIdentifiers') class-attribute instance-attribute

customer_id: str = Field(alias='customerId') class-attribute instance-attribute

RemoveCustomerFromCustomerGroupsRemoveCustomerFromCustomerGroups

Bases: BaseModel

error: Optional[RemoveCustomerFromCustomerGroupsRemoveCustomerFromCustomerGroupsError] instance-attribute

RemoveCustomerFromCustomerGroupsRemoveCustomerFromCustomerGroupsError

RemoveCustomerFromTenants

Bases: BaseModel

remove_customer_from_tenants: RemoveCustomerFromTenantsRemoveCustomerFromTenants = Field(alias='removeCustomerFromTenants') class-attribute instance-attribute

RemoveCustomerFromTenantsInput

Bases: BaseModel

customer_identifier: CustomerIdentifierInput = Field(alias='customerIdentifier') class-attribute instance-attribute

tenant_identifiers: List[TenantIdentifierInput] = Field(alias='tenantIdentifiers') class-attribute instance-attribute

RemoveCustomerFromTenantsRemoveCustomerFromTenants

Bases: BaseModel

error: Optional[RemoveCustomerFromTenantsRemoveCustomerFromTenantsError] instance-attribute

RemoveCustomerFromTenantsRemoveCustomerFromTenantsError

RemoveLabels

Bases: BaseModel

remove_labels: RemoveLabelsRemoveLabels = Field(alias='removeLabels') class-attribute instance-attribute

RemoveLabelsInput

Bases: BaseModel

label_ids: List[str] = Field(alias='labelIds') class-attribute instance-attribute

RemoveLabelsRemoveLabels

Bases: BaseModel

error: Optional[RemoveLabelsRemoveLabelsError] instance-attribute

RemoveLabelsRemoveLabelsError

RemoveMembersFromTier

Bases: BaseModel

remove_members_from_tier: RemoveMembersFromTierRemoveMembersFromTier = Field(alias='removeMembersFromTier') class-attribute instance-attribute

RemoveMembersFromTierInput

Bases: BaseModel

member_identifiers: List[TierMemberIdentifierInput] = Field(alias='memberIdentifiers') class-attribute instance-attribute

RemoveMembersFromTierRemoveMembersFromTier

Bases: BaseModel

error: Optional[RemoveMembersFromTierRemoveMembersFromTierError] instance-attribute

RemoveMembersFromTierRemoveMembersFromTierError

ReplyToEmail

Bases: BaseModel

reply_to_email: ReplyToEmailReplyToEmail = Field(alias='replyToEmail') class-attribute instance-attribute

ReplyToEmailInput

Bases: BaseModel

additional_recipients: Optional[List[EmailParticipantInput]] = Field(alias='additionalRecipients', default=None) class-attribute instance-attribute

attachment_ids: Optional[List[str]] = Field(alias='attachmentIds', default=None) class-attribute instance-attribute

customer_id: Optional[str] = Field(alias='customerId', default=None) class-attribute instance-attribute

from_alternate_support_email: Optional[EmailParticipantInput] = Field(alias='fromAlternateSupportEmail', default=None) class-attribute instance-attribute

hidden_recipients: Optional[List[EmailParticipantInput]] = Field(alias='hiddenRecipients', default=None) class-attribute instance-attribute

in_reply_to_email_id: str = Field(alias='inReplyToEmailId') class-attribute instance-attribute

markdown_content: Optional[str] = Field(alias='markdownContent', default=None) class-attribute instance-attribute

text_content: str = Field(alias='textContent') class-attribute instance-attribute

ReplyToEmailReplyToEmail

Bases: BaseModel

email: Optional[ReplyToEmailReplyToEmailEmail] instance-attribute

error: Optional[ReplyToEmailReplyToEmailError] instance-attribute

ReplyToEmailReplyToEmailEmail

Bases: EmailParts

ReplyToEmailReplyToEmailError

ReplyToThread

Bases: BaseModel

reply_to_thread: ReplyToThreadReplyToThread = Field(alias='replyToThread') class-attribute instance-attribute

ReplyToThreadChannelSpecificOptionsInput

Bases: BaseModel

email: ReplyToThreadEmailChannelSpecificOptionsInput instance-attribute

ReplyToThreadEmailChannelSpecificOptionsInput

Bases: BaseModel

additional_recipients: Optional[List[EmailParticipantInput]] = Field(alias='additionalRecipients', default=None) class-attribute instance-attribute

hidden_recipients: Optional[List[EmailParticipantInput]] = Field(alias='hiddenRecipients', default=None) class-attribute instance-attribute

ReplyToThreadInput

Bases: BaseModel

attachment_ids: Optional[List[str]] = Field(alias='attachmentIds', default=None) class-attribute instance-attribute

channel_specific_options: Optional[ReplyToThreadChannelSpecificOptionsInput] = Field(alias='channelSpecificOptions', default=None) class-attribute instance-attribute

impersonation: Optional[ImpersonationInput] = None class-attribute instance-attribute

markdown_content: Optional[str] = Field(alias='markdownContent', default=None) class-attribute instance-attribute

text_content: str = Field(alias='textContent') class-attribute instance-attribute

thread_id: str = Field(alias='threadId') class-attribute instance-attribute

ReplyToThreadReplyToThread

Bases: BaseModel

error: Optional[ReplyToThreadReplyToThreadError] instance-attribute

ReplyToThreadReplyToThreadError

SearchCompanies

Bases: BaseModel

search_companies: SearchCompaniesSearchCompanies = Field(alias='searchCompanies') class-attribute instance-attribute

SearchCompaniesSearchCompanies

Bases: BaseModel

edges: List[SearchCompaniesSearchCompaniesEdges] instance-attribute

page_info: SearchCompaniesSearchCompaniesPageInfo = Field(alias='pageInfo') class-attribute instance-attribute

SearchCompaniesSearchCompaniesEdges

Bases: BaseModel

cursor: str instance-attribute

node: SearchCompaniesSearchCompaniesEdgesNode instance-attribute

SearchCompaniesSearchCompaniesEdgesNode

Bases: BaseModel

company: SearchCompaniesSearchCompaniesEdgesNodeCompany instance-attribute

SearchCompaniesSearchCompaniesEdgesNodeCompany

Bases: CompanyParts

SearchCompaniesSearchCompaniesPageInfo

Bases: PageInfoParts

SearchTenants

Bases: BaseModel

search_tenants: SearchTenantsSearchTenants = Field(alias='searchTenants') class-attribute instance-attribute

SearchTenantsSearchTenants

Bases: BaseModel

edges: List[SearchTenantsSearchTenantsEdges] instance-attribute

page_info: SearchTenantsSearchTenantsPageInfo = Field(alias='pageInfo') class-attribute instance-attribute

SearchTenantsSearchTenantsEdges

Bases: BaseModel

cursor: str instance-attribute

node: SearchTenantsSearchTenantsEdgesNode instance-attribute

SearchTenantsSearchTenantsEdgesNode

Bases: BaseModel

tenant: SearchTenantsSearchTenantsEdgesNodeTenant instance-attribute

SearchTenantsSearchTenantsEdgesNodeTenant

Bases: TenantParts

SearchTenantsSearchTenantsPageInfo

Bases: PageInfoParts

SendCustomerChat

Bases: BaseModel

send_customer_chat: SendCustomerChatSendCustomerChat = Field(alias='sendCustomerChat') class-attribute instance-attribute

SendCustomerChatInput

Bases: BaseModel

attachment_ids: Optional[List[str]] = Field(alias='attachmentIds', default=None) class-attribute instance-attribute

customer_id: str = Field(alias='customerId') class-attribute instance-attribute

text: Optional[str] = None class-attribute instance-attribute

thread_id: str = Field(alias='threadId') class-attribute instance-attribute

SendCustomerChatSendCustomerChat

Bases: BaseModel

chat: Optional[SendCustomerChatSendCustomerChatChat] instance-attribute

error: Optional[SendCustomerChatSendCustomerChatError] instance-attribute

SendCustomerChatSendCustomerChatChat

Bases: ChatParts

SendCustomerChatSendCustomerChatError

SendNewEmail

Bases: BaseModel

send_new_email: SendNewEmailSendNewEmail = Field(alias='sendNewEmail') class-attribute instance-attribute

SendNewEmailInput

Bases: BaseModel

additional_recipients: Optional[List[EmailParticipantInput]] = Field(alias='additionalRecipients', default=None) class-attribute instance-attribute

attachment_ids: Optional[List[str]] = Field(alias='attachmentIds', default=None) class-attribute instance-attribute

customer_id: str = Field(alias='customerId') class-attribute instance-attribute

from_alternate_support_email: Optional[EmailParticipantInput] = Field(alias='fromAlternateSupportEmail', default=None) class-attribute instance-attribute

hidden_recipients: Optional[List[EmailParticipantInput]] = Field(alias='hiddenRecipients', default=None) class-attribute instance-attribute

markdown_content: Optional[str] = Field(alias='markdownContent', default=None) class-attribute instance-attribute

subject: str instance-attribute

text_content: str = Field(alias='textContent') class-attribute instance-attribute

thread_id: Optional[str] = Field(alias='threadId', default=None) class-attribute instance-attribute

SendNewEmailSendNewEmail

Bases: BaseModel

email: Optional[SendNewEmailSendNewEmailEmail] instance-attribute

error: Optional[SendNewEmailSendNewEmailError] instance-attribute

SendNewEmailSendNewEmailEmail

Bases: EmailParts

SendNewEmailSendNewEmailError

ServiceLevelAgreementFilter

Bases: BaseModel

statuses: Optional[List[ServiceLevelAgreementStatus]] = None class-attribute instance-attribute

types: Optional[List[ServiceLevelAgreementType]] = None class-attribute instance-attribute

ServiceLevelAgreementStatus

Bases: str, Enum

ACHIEVED = 'ACHIEVED' class-attribute instance-attribute

BREACHED = 'BREACHED' class-attribute instance-attribute

BREACHING = 'BREACHING' class-attribute instance-attribute

CANCELLED = 'CANCELLED' class-attribute instance-attribute

IMMINENT_BREACH = 'IMMINENT_BREACH' class-attribute instance-attribute

PENDING = 'PENDING' class-attribute instance-attribute

ServiceLevelAgreementType

Bases: str, Enum

FIRST_RESPONSE_TIME = 'FIRST_RESPONSE_TIME' class-attribute instance-attribute

NEXT_RESPONSE_TIME = 'NEXT_RESPONSE_TIME' class-attribute instance-attribute

SetCustomerTenants

Bases: BaseModel

set_customer_tenants: SetCustomerTenantsSetCustomerTenants = Field(alias='setCustomerTenants') class-attribute instance-attribute

SetCustomerTenantsInput

Bases: BaseModel

customer_identifier: CustomerIdentifierInput = Field(alias='customerIdentifier') class-attribute instance-attribute

tenant_identifiers: List[TenantIdentifierInput] = Field(alias='tenantIdentifiers') class-attribute instance-attribute

SetCustomerTenantsSetCustomerTenants

Bases: BaseModel

error: Optional[SetCustomerTenantsSetCustomerTenantsError] instance-attribute

SetCustomerTenantsSetCustomerTenantsError

SlackThreadChannelDetailsInput

Bases: BaseModel

slack_channel_id: str = Field(alias='slackChannelId') class-attribute instance-attribute

slack_team_id: str = Field(alias='slackTeamId') class-attribute instance-attribute

SnoozeStatusDetail

Bases: str, Enum

WAITING_FOR_CUSTOMER = 'WAITING_FOR_CUSTOMER' class-attribute instance-attribute

WAITING_FOR_DURATION = 'WAITING_FOR_DURATION' class-attribute instance-attribute

SnoozeThread

Bases: BaseModel

snooze_thread: SnoozeThreadSnoozeThread = Field(alias='snoozeThread') class-attribute instance-attribute

SnoozeThreadInput

Bases: BaseModel

duration_seconds: Optional[int] = Field(alias='durationSeconds', default=None) class-attribute instance-attribute

status_detail: Optional[SnoozeStatusDetail] = Field(alias='statusDetail', default=None) class-attribute instance-attribute

thread_id: str = Field(alias='threadId') class-attribute instance-attribute

SnoozeThreadSnoozeThread

Bases: BaseModel

error: Optional[SnoozeThreadSnoozeThreadError] instance-attribute

thread: Optional[SnoozeThreadSnoozeThreadThread] instance-attribute

SnoozeThreadSnoozeThreadError

SnoozeThreadSnoozeThreadThread

Bases: ThreadParts

SortDirection

Bases: str, Enum

ASC = 'ASC' class-attribute instance-attribute

DESC = 'DESC' class-attribute instance-attribute

StatusDetailType

Bases: str, Enum

CREATED = 'CREATED' class-attribute instance-attribute

DONE_AUTOMATICALLY_SET = 'DONE_AUTOMATICALLY_SET' class-attribute instance-attribute

DONE_MANUALLY_SET = 'DONE_MANUALLY_SET' class-attribute instance-attribute

IGNORED = 'IGNORED' class-attribute instance-attribute

IN_PROGRESS = 'IN_PROGRESS' class-attribute instance-attribute

NEW_REPLY = 'NEW_REPLY' class-attribute instance-attribute

THREAD_DISCUSSION_RESOLVED = 'THREAD_DISCUSSION_RESOLVED' class-attribute instance-attribute

TIMER_EXPIRED = 'TIMER_EXPIRED' class-attribute instance-attribute

WAITING_FOR_CUSTOMER = 'WAITING_FOR_CUSTOMER' class-attribute instance-attribute

WAITING_FOR_DURATION = 'WAITING_FOR_DURATION' class-attribute instance-attribute

StringInput

Bases: BaseModel

value: str instance-attribute

SystemActorParts

Bases: BaseModel

system_id: str = Field(alias='systemId') class-attribute instance-attribute

typename__: str = Field(alias='__typename') class-attribute instance-attribute

SystemParts

Bases: BaseModel

id: str instance-attribute

typename__: str = Field(alias='__typename') class-attribute instance-attribute

Tenant

Bases: BaseModel

tenant: Optional[TenantTenant] instance-attribute

TenantIdentifierInput

Bases: BaseModel

external_id: Optional[str] = Field(alias='externalId', default=None) class-attribute instance-attribute

tenant_id: Optional[str] = Field(alias='tenantId', default=None) class-attribute instance-attribute

TenantParts

Bases: BaseModel

created_at: TenantPartsCreatedAt = Field(alias='createdAt') class-attribute instance-attribute

created_by: Union[TenantPartsCreatedByUserActor, TenantPartsCreatedBySystemActor, TenantPartsCreatedByMachineUserActor] = Field(alias='createdBy', discriminator='typename__') class-attribute instance-attribute

external_id: str = Field(alias='externalId') class-attribute instance-attribute

id: str instance-attribute

name: str instance-attribute

tier: Optional[TenantPartsTier] instance-attribute

typename__: str = Field(alias='__typename') class-attribute instance-attribute

updated_at: TenantPartsUpdatedAt = Field(alias='updatedAt') class-attribute instance-attribute

updated_by: Union[TenantPartsUpdatedByUserActor, TenantPartsUpdatedBySystemActor, TenantPartsUpdatedByMachineUserActor] = Field(alias='updatedBy', discriminator='typename__') class-attribute instance-attribute

url: Optional[str] instance-attribute

TenantPartsCreatedAt

Bases: DateTimeParts

TenantPartsCreatedByMachineUserActor

Bases: MachineUserActorParts

typename__: Literal['MachineUserActor'] = Field(alias='__typename') class-attribute instance-attribute

TenantPartsCreatedBySystemActor

Bases: SystemActorParts

typename__: Literal['SystemActor'] = Field(alias='__typename') class-attribute instance-attribute

TenantPartsCreatedByUserActor

Bases: UserActorParts

typename__: Literal['UserActor'] = Field(alias='__typename') class-attribute instance-attribute

TenantPartsTier

Bases: TierParts

TenantPartsUpdatedAt

Bases: DateTimeParts

TenantPartsUpdatedByMachineUserActor

Bases: MachineUserActorParts

typename__: Literal['MachineUserActor'] = Field(alias='__typename') class-attribute instance-attribute

TenantPartsUpdatedBySystemActor

Bases: SystemActorParts

typename__: Literal['SystemActor'] = Field(alias='__typename') class-attribute instance-attribute

TenantPartsUpdatedByUserActor

Bases: UserActorParts

typename__: Literal['UserActor'] = Field(alias='__typename') class-attribute instance-attribute

TenantTenant

Bases: TenantParts

TenantTierMembershipParts

Bases: BaseModel

created_at: TenantTierMembershipPartsCreatedAt = Field(alias='createdAt') class-attribute instance-attribute

created_by: Union[TenantTierMembershipPartsCreatedByUserActor, TenantTierMembershipPartsCreatedBySystemActor, TenantTierMembershipPartsCreatedByMachineUserActor] = Field(alias='createdBy', discriminator='typename__') class-attribute instance-attribute

id: str instance-attribute

typename__: str = Field(alias='__typename') class-attribute instance-attribute

updated_at: TenantTierMembershipPartsUpdatedAt = Field(alias='updatedAt') class-attribute instance-attribute

updated_by: Union[TenantTierMembershipPartsUpdatedByUserActor, TenantTierMembershipPartsUpdatedBySystemActor, TenantTierMembershipPartsUpdatedByMachineUserActor] = Field(alias='updatedBy', discriminator='typename__') class-attribute instance-attribute

TenantTierMembershipPartsCreatedAt

Bases: DateTimeParts

TenantTierMembershipPartsCreatedByMachineUserActor

Bases: MachineUserActorParts

typename__: Literal['MachineUserActor'] = Field(alias='__typename') class-attribute instance-attribute

TenantTierMembershipPartsCreatedBySystemActor

Bases: SystemActorParts

typename__: Literal['SystemActor'] = Field(alias='__typename') class-attribute instance-attribute

TenantTierMembershipPartsCreatedByUserActor

Bases: UserActorParts

typename__: Literal['UserActor'] = Field(alias='__typename') class-attribute instance-attribute

TenantTierMembershipPartsUpdatedAt

Bases: DateTimeParts

TenantTierMembershipPartsUpdatedByMachineUserActor

Bases: MachineUserActorParts

typename__: Literal['MachineUserActor'] = Field(alias='__typename') class-attribute instance-attribute

TenantTierMembershipPartsUpdatedBySystemActor

Bases: SystemActorParts

typename__: Literal['SystemActor'] = Field(alias='__typename') class-attribute instance-attribute

TenantTierMembershipPartsUpdatedByUserActor

Bases: UserActorParts

typename__: Literal['UserActor'] = Field(alias='__typename') class-attribute instance-attribute

Tenants

Bases: BaseModel

tenants: TenantsTenants instance-attribute

TenantsSearchQuery

Bases: BaseModel

term: str instance-attribute

TenantsTenants

Bases: BaseModel

edges: List[TenantsTenantsEdges] instance-attribute

page_info: TenantsTenantsPageInfo = Field(alias='pageInfo') class-attribute instance-attribute

TenantsTenantsEdges

Bases: BaseModel

cursor: str instance-attribute

node: TenantsTenantsEdgesNode instance-attribute

TenantsTenantsEdgesNode

Bases: TenantParts

TenantsTenantsPageInfo

Bases: PageInfoParts

Thread

Bases: BaseModel

thread: Optional[ThreadThread] instance-attribute

ThreadByExternalId

Bases: BaseModel

thread_by_external_id: Optional[ThreadByExternalIdThreadByExternalId] = Field(alias='threadByExternalId') class-attribute instance-attribute

ThreadByExternalIdThreadByExternalId

Bases: ThreadParts

ThreadChannel

Bases: str, Enum

API = 'API' class-attribute instance-attribute

CHAT = 'CHAT' class-attribute instance-attribute

DISCORD = 'DISCORD' class-attribute instance-attribute

EMAIL = 'EMAIL' class-attribute instance-attribute

MS_TEAMS = 'MS_TEAMS' class-attribute instance-attribute

SLACK = 'SLACK' class-attribute instance-attribute

ThreadChannelDetailsInput

Bases: BaseModel

slack: Optional[SlackThreadChannelDetailsInput] = None class-attribute instance-attribute

ThreadEventParts

Bases: BaseModel

created_at: ThreadEventPartsCreatedAt = Field(alias='createdAt') class-attribute instance-attribute

created_by: Union[ThreadEventPartsCreatedByUserActor, ThreadEventPartsCreatedByCustomerActor, ThreadEventPartsCreatedByDeletedCustomerActor, ThreadEventPartsCreatedBySystemActor, ThreadEventPartsCreatedByMachineUserActor] = Field(alias='createdBy', discriminator='typename__') class-attribute instance-attribute

customer_id: str = Field(alias='customerId') class-attribute instance-attribute

id: str instance-attribute

thread_id: str = Field(alias='threadId') class-attribute instance-attribute

title: str instance-attribute

updated_at: ThreadEventPartsUpdatedAt = Field(alias='updatedAt') class-attribute instance-attribute

updated_by: Union[ThreadEventPartsUpdatedByUserActor, ThreadEventPartsUpdatedByCustomerActor, ThreadEventPartsUpdatedByDeletedCustomerActor, ThreadEventPartsUpdatedBySystemActor, ThreadEventPartsUpdatedByMachineUserActor] = Field(alias='updatedBy', discriminator='typename__') class-attribute instance-attribute

ThreadEventPartsCreatedAt

Bases: DateTimeParts

ThreadEventPartsCreatedByCustomerActor

Bases: CustomerActorParts

typename__: Literal['CustomerActor'] = Field(alias='__typename') class-attribute instance-attribute

ThreadEventPartsCreatedByDeletedCustomerActor

Bases: DeletedCustomerActorParts

typename__: Literal['DeletedCustomerActor'] = Field(alias='__typename') class-attribute instance-attribute

ThreadEventPartsCreatedByMachineUserActor

Bases: MachineUserActorParts

typename__: Literal['MachineUserActor'] = Field(alias='__typename') class-attribute instance-attribute

ThreadEventPartsCreatedBySystemActor

Bases: SystemActorParts

typename__: Literal['SystemActor'] = Field(alias='__typename') class-attribute instance-attribute

ThreadEventPartsCreatedByUserActor

Bases: UserActorParts

typename__: Literal['UserActor'] = Field(alias='__typename') class-attribute instance-attribute

ThreadEventPartsUpdatedAt

Bases: DateTimeParts

ThreadEventPartsUpdatedByCustomerActor

Bases: CustomerActorParts

typename__: Literal['CustomerActor'] = Field(alias='__typename') class-attribute instance-attribute

ThreadEventPartsUpdatedByDeletedCustomerActor

Bases: DeletedCustomerActorParts

typename__: Literal['DeletedCustomerActor'] = Field(alias='__typename') class-attribute instance-attribute

ThreadEventPartsUpdatedByMachineUserActor

Bases: MachineUserActorParts

typename__: Literal['MachineUserActor'] = Field(alias='__typename') class-attribute instance-attribute

ThreadEventPartsUpdatedBySystemActor

Bases: SystemActorParts

typename__: Literal['SystemActor'] = Field(alias='__typename') class-attribute instance-attribute

ThreadEventPartsUpdatedByUserActor

Bases: UserActorParts

typename__: Literal['UserActor'] = Field(alias='__typename') class-attribute instance-attribute

ThreadFieldFilter

Bases: BaseModel

boolean_value: Optional[bool] = Field(alias='booleanValue', default=None) class-attribute instance-attribute

key: str instance-attribute

string_value: Optional[str] = Field(alias='stringValue', default=None) class-attribute instance-attribute

ThreadFieldParts

Bases: BaseModel

boolean_value: Optional[bool] = Field(alias='booleanValue') class-attribute instance-attribute

created_at: ThreadFieldPartsCreatedAt = Field(alias='createdAt') class-attribute instance-attribute

created_by: Union[ThreadFieldPartsCreatedByUserActor, ThreadFieldPartsCreatedBySystemActor, ThreadFieldPartsCreatedByMachineUserActor] = Field(alias='createdBy', discriminator='typename__') class-attribute instance-attribute

id: str instance-attribute

is_ai_generated: bool = Field(alias='isAiGenerated') class-attribute instance-attribute

key: str instance-attribute

string_value: Optional[str] = Field(alias='stringValue') class-attribute instance-attribute

thread_id: str = Field(alias='threadId') class-attribute instance-attribute

type: ThreadFieldSchemaType instance-attribute

typename__: str = Field(alias='__typename') class-attribute instance-attribute

updated_at: ThreadFieldPartsUpdatedAt = Field(alias='updatedAt') class-attribute instance-attribute

updated_by: Union[ThreadFieldPartsUpdatedByUserActor, ThreadFieldPartsUpdatedBySystemActor, ThreadFieldPartsUpdatedByMachineUserActor] = Field(alias='updatedBy', discriminator='typename__') class-attribute instance-attribute

ThreadFieldPartsCreatedAt

Bases: DateTimeParts

ThreadFieldPartsCreatedByMachineUserActor

Bases: MachineUserActorParts

typename__: Literal['MachineUserActor'] = Field(alias='__typename') class-attribute instance-attribute

ThreadFieldPartsCreatedBySystemActor

Bases: SystemActorParts

typename__: Literal['SystemActor'] = Field(alias='__typename') class-attribute instance-attribute

ThreadFieldPartsCreatedByUserActor

Bases: UserActorParts

typename__: Literal['UserActor'] = Field(alias='__typename') class-attribute instance-attribute

ThreadFieldPartsUpdatedAt

Bases: DateTimeParts

ThreadFieldPartsUpdatedByMachineUserActor

Bases: MachineUserActorParts

typename__: Literal['MachineUserActor'] = Field(alias='__typename') class-attribute instance-attribute

ThreadFieldPartsUpdatedBySystemActor

Bases: SystemActorParts

typename__: Literal['SystemActor'] = Field(alias='__typename') class-attribute instance-attribute

ThreadFieldPartsUpdatedByUserActor

Bases: UserActorParts

typename__: Literal['UserActor'] = Field(alias='__typename') class-attribute instance-attribute

ThreadFieldSchemaType

Bases: str, Enum

BOOL = 'BOOL' class-attribute instance-attribute

ENUM = 'ENUM' class-attribute instance-attribute

STRING = 'STRING' class-attribute instance-attribute

ThreadParts

Bases: BaseModel

assigned_at: Optional[ThreadPartsAssignedAt] = Field(alias='assignedAt') class-attribute instance-attribute

assigned_to: Optional[Annotated[Union[ThreadPartsAssignedToUser, ThreadPartsAssignedToMachineUser, ThreadPartsAssignedToSystem], Field(discriminator=typename__)]] = Field(alias='assignedTo') class-attribute instance-attribute

created_at: ThreadPartsCreatedAt = Field(alias='createdAt') class-attribute instance-attribute

created_by: Union[ThreadPartsCreatedByUserActor, ThreadPartsCreatedByCustomerActor, ThreadPartsCreatedByDeletedCustomerActor, ThreadPartsCreatedBySystemActor, ThreadPartsCreatedByMachineUserActor] = Field(alias='createdBy', discriminator='typename__') class-attribute instance-attribute

customer: ThreadPartsCustomer instance-attribute

description: Optional[str] instance-attribute

external_id: Optional[str] = Field(alias='externalId') class-attribute instance-attribute

id: str instance-attribute

labels: List[ThreadPartsLabels] instance-attribute

preview_text: Optional[str] = Field(alias='previewText') class-attribute instance-attribute

priority: int instance-attribute

status: ThreadStatus instance-attribute

status_changed_at: ThreadPartsStatusChangedAt = Field(alias='statusChangedAt') class-attribute instance-attribute

status_detail: Optional[Annotated[Union[ThreadPartsStatusDetailThreadStatusDetailCreated, ThreadPartsStatusDetailThreadStatusDetailSnoozed, ThreadPartsStatusDetailThreadStatusDetailUnsnoozed, ThreadPartsStatusDetailThreadStatusDetailNewReply, ThreadPartsStatusDetailThreadStatusDetailReplied, ThreadPartsStatusDetailThreadStatusDetailLinearUpdated, ThreadPartsStatusDetailThreadStatusDetailInProgress, ThreadPartsStatusDetailThreadStatusDetailWaitingForCustomer, ThreadPartsStatusDetailThreadStatusDetailWaitingForDuration, ThreadPartsStatusDetailThreadStatusDetailThreadLinkUpdated, ThreadPartsStatusDetailThreadStatusDetailIgnored, ThreadPartsStatusDetailThreadStatusDetailDoneManuallySet, ThreadPartsStatusDetailThreadStatusDetailDoneAutomaticallySet, ThreadPartsStatusDetailThreadStatusDetailThreadDiscussionResolved], Field(discriminator=typename__)]] = Field(alias='statusDetail') class-attribute instance-attribute

tenant: Optional[ThreadPartsTenant] instance-attribute

thread_fields: List[ThreadPartsThreadFields] = Field(alias='threadFields') class-attribute instance-attribute

title: str instance-attribute

typename__: str = Field(alias='__typename') class-attribute instance-attribute

updated_at: ThreadPartsUpdatedAt = Field(alias='updatedAt') class-attribute instance-attribute

updated_by: Union[ThreadPartsUpdatedByUserActor, ThreadPartsUpdatedByCustomerActor, ThreadPartsUpdatedByDeletedCustomerActor, ThreadPartsUpdatedBySystemActor, ThreadPartsUpdatedByMachineUserActor] = Field(alias='updatedBy', discriminator='typename__') class-attribute instance-attribute

ThreadPartsAssignedAt

Bases: DateTimeParts

ThreadPartsAssignedToMachineUser

Bases: MachineUserParts

typename__: Literal['MachineUser'] = Field(alias='__typename') class-attribute instance-attribute

ThreadPartsAssignedToSystem

Bases: SystemParts

typename__: Literal['System'] = Field(alias='__typename') class-attribute instance-attribute

ThreadPartsAssignedToUser

Bases: UserParts

typename__: Literal['User'] = Field(alias='__typename') class-attribute instance-attribute

ThreadPartsCreatedAt

Bases: DateTimeParts

ThreadPartsCreatedByCustomerActor

Bases: CustomerActorParts

typename__: Literal['CustomerActor'] = Field(alias='__typename') class-attribute instance-attribute

ThreadPartsCreatedByDeletedCustomerActor

Bases: DeletedCustomerActorParts

typename__: Literal['DeletedCustomerActor'] = Field(alias='__typename') class-attribute instance-attribute

ThreadPartsCreatedByMachineUserActor

Bases: MachineUserActorParts

typename__: Literal['MachineUserActor'] = Field(alias='__typename') class-attribute instance-attribute

ThreadPartsCreatedBySystemActor

Bases: SystemActorParts

typename__: Literal['SystemActor'] = Field(alias='__typename') class-attribute instance-attribute

ThreadPartsCreatedByUserActor

Bases: UserActorParts

typename__: Literal['UserActor'] = Field(alias='__typename') class-attribute instance-attribute

ThreadPartsCustomer

Bases: BaseModel

id: str instance-attribute

ThreadPartsLabels

Bases: LabelParts

ThreadPartsStatusChangedAt

Bases: DateTimeParts

ThreadPartsStatusDetailThreadStatusDetailCreated

Bases: BaseModel

created_at: ThreadPartsStatusDetailThreadStatusDetailCreatedCreatedAt = Field(alias='createdAt') class-attribute instance-attribute

typename__: Literal['ThreadStatusDetailCreated'] = Field(alias='__typename') class-attribute instance-attribute

ThreadPartsStatusDetailThreadStatusDetailCreatedCreatedAt

Bases: DateTimeParts

ThreadPartsStatusDetailThreadStatusDetailDoneAutomaticallySet

Bases: BaseModel

after_seconds: Optional[int] = Field(alias='afterSeconds') class-attribute instance-attribute

status_changed_at: ThreadPartsStatusDetailThreadStatusDetailDoneAutomaticallySetStatusChangedAt = Field(alias='statusChangedAt') class-attribute instance-attribute

typename__: Literal['ThreadStatusDetailDoneAutomaticallySet'] = Field(alias='__typename') class-attribute instance-attribute

ThreadPartsStatusDetailThreadStatusDetailDoneAutomaticallySetStatusChangedAt

Bases: DateTimeParts

ThreadPartsStatusDetailThreadStatusDetailDoneManuallySet

Bases: BaseModel

status_changed_at: ThreadPartsStatusDetailThreadStatusDetailDoneManuallySetStatusChangedAt = Field(alias='statusChangedAt') class-attribute instance-attribute

typename__: Literal['ThreadStatusDetailDoneManuallySet'] = Field(alias='__typename') class-attribute instance-attribute

ThreadPartsStatusDetailThreadStatusDetailDoneManuallySetStatusChangedAt

Bases: DateTimeParts

ThreadPartsStatusDetailThreadStatusDetailIgnored

Bases: BaseModel

status_changed_at: ThreadPartsStatusDetailThreadStatusDetailIgnoredStatusChangedAt = Field(alias='statusChangedAt') class-attribute instance-attribute

typename__: Literal['ThreadStatusDetailIgnored'] = Field(alias='__typename') class-attribute instance-attribute

ThreadPartsStatusDetailThreadStatusDetailIgnoredStatusChangedAt

Bases: DateTimeParts

ThreadPartsStatusDetailThreadStatusDetailInProgress

Bases: BaseModel

status_changed_at: ThreadPartsStatusDetailThreadStatusDetailInProgressStatusChangedAt = Field(alias='statusChangedAt') class-attribute instance-attribute

typename__: Literal['ThreadStatusDetailInProgress'] = Field(alias='__typename') class-attribute instance-attribute

ThreadPartsStatusDetailThreadStatusDetailInProgressStatusChangedAt

Bases: DateTimeParts

ThreadPartsStatusDetailThreadStatusDetailLinearUpdated

Bases: BaseModel

typename__: Literal['ThreadStatusDetailLinearUpdated'] = Field(alias='__typename') class-attribute instance-attribute

ThreadPartsStatusDetailThreadStatusDetailNewReply

Bases: BaseModel

status_changed_at: ThreadPartsStatusDetailThreadStatusDetailNewReplyStatusChangedAt = Field(alias='statusChangedAt') class-attribute instance-attribute

typename__: Literal['ThreadStatusDetailNewReply'] = Field(alias='__typename') class-attribute instance-attribute

ThreadPartsStatusDetailThreadStatusDetailNewReplyStatusChangedAt

Bases: DateTimeParts

ThreadPartsStatusDetailThreadStatusDetailReplied

Bases: BaseModel

typename__: Literal['ThreadStatusDetailReplied'] = Field(alias='__typename') class-attribute instance-attribute

ThreadPartsStatusDetailThreadStatusDetailSnoozed

Bases: BaseModel

typename__: Literal['ThreadStatusDetailSnoozed'] = Field(alias='__typename') class-attribute instance-attribute

ThreadPartsStatusDetailThreadStatusDetailThreadDiscussionResolved

Bases: BaseModel

status_changed_at: ThreadPartsStatusDetailThreadStatusDetailThreadDiscussionResolvedStatusChangedAt = Field(alias='statusChangedAt') class-attribute instance-attribute

thread_discussion_id: Optional[str] = Field(alias='threadDiscussionId') class-attribute instance-attribute

typename__: Literal['ThreadStatusDetailThreadDiscussionResolved'] = Field(alias='__typename') class-attribute instance-attribute

ThreadPartsStatusDetailThreadStatusDetailThreadDiscussionResolvedStatusChangedAt

Bases: DateTimeParts

ThreadPartsStatusDetailThreadStatusDetailThreadLinkUpdated

Bases: BaseModel

linear_issue_id: Optional[str] = Field(alias='linearIssueId') class-attribute instance-attribute

status_changed_at: ThreadPartsStatusDetailThreadStatusDetailThreadLinkUpdatedStatusChangedAt = Field(alias='statusChangedAt') class-attribute instance-attribute

typename__: Literal['ThreadStatusDetailThreadLinkUpdated'] = Field(alias='__typename') class-attribute instance-attribute

ThreadPartsStatusDetailThreadStatusDetailThreadLinkUpdatedStatusChangedAt

Bases: DateTimeParts

ThreadPartsStatusDetailThreadStatusDetailUnsnoozed

Bases: BaseModel

typename__: Literal['ThreadStatusDetailUnsnoozed'] = Field(alias='__typename') class-attribute instance-attribute

ThreadPartsStatusDetailThreadStatusDetailWaitingForCustomer

Bases: BaseModel

status_changed_at: ThreadPartsStatusDetailThreadStatusDetailWaitingForCustomerStatusChangedAt = Field(alias='statusChangedAt') class-attribute instance-attribute

typename__: Literal['ThreadStatusDetailWaitingForCustomer'] = Field(alias='__typename') class-attribute instance-attribute

ThreadPartsStatusDetailThreadStatusDetailWaitingForCustomerStatusChangedAt

Bases: DateTimeParts

ThreadPartsStatusDetailThreadStatusDetailWaitingForDuration

Bases: BaseModel

status_changed_at: ThreadPartsStatusDetailThreadStatusDetailWaitingForDurationStatusChangedAt = Field(alias='statusChangedAt') class-attribute instance-attribute

typename__: Literal['ThreadStatusDetailWaitingForDuration'] = Field(alias='__typename') class-attribute instance-attribute

waiting_until: ThreadPartsStatusDetailThreadStatusDetailWaitingForDurationWaitingUntil = Field(alias='waitingUntil') class-attribute instance-attribute

ThreadPartsStatusDetailThreadStatusDetailWaitingForDurationStatusChangedAt

Bases: DateTimeParts

ThreadPartsStatusDetailThreadStatusDetailWaitingForDurationWaitingUntil

Bases: DateTimeParts

ThreadPartsTenant

Bases: TenantParts

ThreadPartsThreadFields

ThreadPartsUpdatedAt

Bases: DateTimeParts

ThreadPartsUpdatedByCustomerActor

Bases: CustomerActorParts

typename__: Literal['CustomerActor'] = Field(alias='__typename') class-attribute instance-attribute

ThreadPartsUpdatedByDeletedCustomerActor

Bases: DeletedCustomerActorParts

typename__: Literal['DeletedCustomerActor'] = Field(alias='__typename') class-attribute instance-attribute

ThreadPartsUpdatedByMachineUserActor

Bases: MachineUserActorParts

typename__: Literal['MachineUserActor'] = Field(alias='__typename') class-attribute instance-attribute

ThreadPartsUpdatedBySystemActor

Bases: SystemActorParts

typename__: Literal['SystemActor'] = Field(alias='__typename') class-attribute instance-attribute

ThreadPartsUpdatedByUserActor

Bases: UserActorParts

typename__: Literal['UserActor'] = Field(alias='__typename') class-attribute instance-attribute

ThreadStatus

Bases: str, Enum

DONE = 'DONE' class-attribute instance-attribute

SNOOZED = 'SNOOZED' class-attribute instance-attribute

TODO = 'TODO' class-attribute instance-attribute

ThreadThread

Bases: ThreadParts

Threads

Bases: BaseModel

threads: ThreadsThreads instance-attribute

ThreadsFilter

Bases: BaseModel

assigned_to_user: Optional[List[str]] = Field(alias='assignedToUser', default=None) class-attribute instance-attribute

company_identifiers: Optional[List[CompanyIdentifierInput]] = Field(alias='companyIdentifiers', default=None) class-attribute instance-attribute

created_at: Optional[DatetimeFilter] = Field(alias='createdAt', default=None) class-attribute instance-attribute

customer_group_identifiers: Optional[List[CustomerGroupIdentifier]] = Field(alias='customerGroupIdentifiers', default=None) class-attribute instance-attribute

customer_ids: Optional[List[str]] = Field(alias='customerIds', default=None) class-attribute instance-attribute

is_assigned: Optional[bool] = Field(alias='isAssigned', default=None) class-attribute instance-attribute

is_marked_as_spam: Optional[bool] = Field(alias='isMarkedAsSpam', default=None) class-attribute instance-attribute

label_type_ids: Optional[List[str]] = Field(alias='labelTypeIds', default=None) class-attribute instance-attribute

message_source: Optional[List[MessageSource]] = Field(alias='messageSource', default=None) class-attribute instance-attribute

participant_ids: Optional[List[str]] = Field(alias='participantIds', default=None) class-attribute instance-attribute

priorities: Optional[List[int]] = None class-attribute instance-attribute

service_level_agreements: Optional[ServiceLevelAgreementFilter] = Field(alias='serviceLevelAgreements', default=None) class-attribute instance-attribute

status_changed_at: Optional[DatetimeFilter] = Field(alias='statusChangedAt', default=None) class-attribute instance-attribute

status_details: Optional[List[StatusDetailType]] = Field(alias='statusDetails', default=None) class-attribute instance-attribute

statuses: Optional[List[ThreadStatus]] = None class-attribute instance-attribute

support_email_addresses: Optional[List[str]] = Field(alias='supportEmailAddresses', default=None) class-attribute instance-attribute

tenant_identifiers: Optional[List[TenantIdentifierInput]] = Field(alias='tenantIdentifiers', default=None) class-attribute instance-attribute

thread_fields: Optional[List[ThreadFieldFilter]] = Field(alias='threadFields', default=None) class-attribute instance-attribute

thread_ids: Optional[List[str]] = Field(alias='threadIds', default=None) class-attribute instance-attribute

tier_identifiers: Optional[List[TierIdentifierInput]] = Field(alias='tierIdentifiers', default=None) class-attribute instance-attribute

updated_at: Optional[DatetimeFilter] = Field(alias='updatedAt', default=None) class-attribute instance-attribute

ThreadsSort

Bases: BaseModel

direction: SortDirection instance-attribute

field: ThreadsSortField instance-attribute

ThreadsSortField

Bases: str, Enum

CLOSEST_TO_BREACH_SLA = 'CLOSEST_TO_BREACH_SLA' class-attribute instance-attribute

CREATED_AT = 'CREATED_AT' class-attribute instance-attribute

LAST_INBOUND_MESSAGE_AT = 'LAST_INBOUND_MESSAGE_AT' class-attribute instance-attribute

PRIORITY = 'PRIORITY' class-attribute instance-attribute

STATUS_CHANGED_AT = 'STATUS_CHANGED_AT' class-attribute instance-attribute

ThreadsThreads

Bases: BaseModel

edges: List[ThreadsThreadsEdges] instance-attribute

page_info: ThreadsThreadsPageInfo = Field(alias='pageInfo') class-attribute instance-attribute

ThreadsThreadsEdges

Bases: BaseModel

cursor: str instance-attribute

node: ThreadsThreadsEdgesNode instance-attribute

ThreadsThreadsEdgesNode

Bases: ThreadParts

ThreadsThreadsPageInfo

Bases: PageInfoParts

Tier

Bases: BaseModel

tier: Optional[TierTier] instance-attribute

TierIdentifierInput

Bases: BaseModel

external_id: Optional[str] = Field(alias='externalId', default=None) class-attribute instance-attribute

tier_id: Optional[str] = Field(alias='tierId', default=None) class-attribute instance-attribute

TierMemberIdentifierInput

Bases: BaseModel

company_id: Optional[str] = Field(alias='companyId', default=None) class-attribute instance-attribute

tenant_id: Optional[str] = Field(alias='tenantId', default=None) class-attribute instance-attribute

TierParts

Bases: BaseModel

created_at: TierPartsCreatedAt = Field(alias='createdAt') class-attribute instance-attribute

created_by: Union[TierPartsCreatedByUserActor, TierPartsCreatedBySystemActor, TierPartsCreatedByMachineUserActor] = Field(alias='createdBy', discriminator='typename__') class-attribute instance-attribute

default_thread_priority: int = Field(alias='defaultThreadPriority') class-attribute instance-attribute

external_id: Optional[str] = Field(alias='externalId') class-attribute instance-attribute

id: str instance-attribute

name: str instance-attribute

typename__: str = Field(alias='__typename') class-attribute instance-attribute

updated_at: TierPartsUpdatedAt = Field(alias='updatedAt') class-attribute instance-attribute

updated_by: Union[TierPartsUpdatedByUserActor, TierPartsUpdatedBySystemActor, TierPartsUpdatedByMachineUserActor] = Field(alias='updatedBy', discriminator='typename__') class-attribute instance-attribute

TierPartsCreatedAt

Bases: DateTimeParts

TierPartsCreatedByMachineUserActor

Bases: MachineUserActorParts

typename__: Literal['MachineUserActor'] = Field(alias='__typename') class-attribute instance-attribute

TierPartsCreatedBySystemActor

Bases: SystemActorParts

typename__: Literal['SystemActor'] = Field(alias='__typename') class-attribute instance-attribute

TierPartsCreatedByUserActor

Bases: UserActorParts

typename__: Literal['UserActor'] = Field(alias='__typename') class-attribute instance-attribute

TierPartsUpdatedAt

Bases: DateTimeParts

TierPartsUpdatedByMachineUserActor

Bases: MachineUserActorParts

typename__: Literal['MachineUserActor'] = Field(alias='__typename') class-attribute instance-attribute

TierPartsUpdatedBySystemActor

Bases: SystemActorParts

typename__: Literal['SystemActor'] = Field(alias='__typename') class-attribute instance-attribute

TierPartsUpdatedByUserActor

Bases: UserActorParts

typename__: Literal['UserActor'] = Field(alias='__typename') class-attribute instance-attribute

TierTier

Bases: TierParts

Tiers

Bases: BaseModel

tiers: TiersTiers instance-attribute

TiersTiers

Bases: BaseModel

edges: List[TiersTiersEdges] instance-attribute

page_info: TiersTiersPageInfo = Field(alias='pageInfo') class-attribute instance-attribute

TiersTiersEdges

Bases: BaseModel

cursor: str instance-attribute

node: TiersTiersEdgesNode instance-attribute

TiersTiersEdgesNode

Bases: TierParts

TiersTiersPageInfo

Bases: PageInfoParts

TodoStatusDetail

Bases: str, Enum

CREATED = 'CREATED' class-attribute instance-attribute

IN_PROGRESS = 'IN_PROGRESS' class-attribute instance-attribute

NEW_REPLY = 'NEW_REPLY' class-attribute instance-attribute

THREAD_DISCUSSION_RESOLVED = 'THREAD_DISCUSSION_RESOLVED' class-attribute instance-attribute

UnassignThread

Bases: BaseModel

unassign_thread: UnassignThreadUnassignThread = Field(alias='unassignThread') class-attribute instance-attribute

UnassignThreadInput

Bases: BaseModel

thread_id: str = Field(alias='threadId') class-attribute instance-attribute

UnassignThreadUnassignThread

Bases: BaseModel

error: Optional[UnassignThreadUnassignThreadError] instance-attribute

thread: Optional[UnassignThreadUnassignThreadThread] instance-attribute

UnassignThreadUnassignThreadError

UnassignThreadUnassignThreadThread

Bases: ThreadParts

UpdateCompanyTier

Bases: BaseModel

update_company_tier: UpdateCompanyTierUpdateCompanyTier = Field(alias='updateCompanyTier') class-attribute instance-attribute

UpdateCompanyTierInput

Bases: BaseModel

company_identifier: CompanyIdentifierInput = Field(alias='companyIdentifier') class-attribute instance-attribute

tier_identifier: Optional[TierIdentifierInput] = Field(alias='tierIdentifier', default=None) class-attribute instance-attribute

UpdateCompanyTierUpdateCompanyTier

Bases: BaseModel

company_tier_membership: Optional[UpdateCompanyTierUpdateCompanyTierCompanyTierMembership] = Field(alias='companyTierMembership') class-attribute instance-attribute

error: Optional[UpdateCompanyTierUpdateCompanyTierError] instance-attribute

UpdateCompanyTierUpdateCompanyTierCompanyTierMembership

UpdateCompanyTierUpdateCompanyTierError

UpdateCustomerCardConfig

Bases: BaseModel

update_customer_card_config: UpdateCustomerCardConfigUpdateCustomerCardConfig = Field(alias='updateCustomerCardConfig') class-attribute instance-attribute

UpdateCustomerCardConfigInput

Bases: BaseModel

api_headers: Optional[List[CustomerCardConfigApiHeaderInput]] = Field(alias='apiHeaders', default=None) class-attribute instance-attribute

api_url: Optional[StringInput] = Field(alias='apiUrl', default=None) class-attribute instance-attribute

customer_card_config_id: str = Field(alias='customerCardConfigId') class-attribute instance-attribute

default_time_to_live_seconds: Optional[IntInput] = Field(alias='defaultTimeToLiveSeconds', default=None) class-attribute instance-attribute

is_enabled: Optional[BooleanInput] = Field(alias='isEnabled', default=None) class-attribute instance-attribute

key: Optional[StringInput] = None class-attribute instance-attribute

order: Optional[IntInput] = None class-attribute instance-attribute

title: Optional[StringInput] = None class-attribute instance-attribute

UpdateCustomerCardConfigUpdateCustomerCardConfig

Bases: BaseModel

customer_card_config: Optional[UpdateCustomerCardConfigUpdateCustomerCardConfigCustomerCardConfig] = Field(alias='customerCardConfig') class-attribute instance-attribute

error: Optional[UpdateCustomerCardConfigUpdateCustomerCardConfigError] instance-attribute

UpdateCustomerCardConfigUpdateCustomerCardConfigCustomerCardConfig

UpdateCustomerCardConfigUpdateCustomerCardConfigError

UpdateCustomerCompany

Bases: BaseModel

update_customer_company: UpdateCustomerCompanyUpdateCustomerCompany = Field(alias='updateCustomerCompany') class-attribute instance-attribute

UpdateCustomerCompanyInput

Bases: BaseModel

company_identifier: Optional[CompanyIdentifierInput] = Field(alias='companyIdentifier', default=None) class-attribute instance-attribute

customer_id: str = Field(alias='customerId') class-attribute instance-attribute

UpdateCustomerCompanyUpdateCustomerCompany

Bases: BaseModel

customer: Optional[UpdateCustomerCompanyUpdateCustomerCompanyCustomer] instance-attribute

error: Optional[UpdateCustomerCompanyUpdateCustomerCompanyError] instance-attribute

UpdateCustomerCompanyUpdateCustomerCompanyCustomer

Bases: CustomerParts

UpdateCustomerCompanyUpdateCustomerCompanyError

UpdateTenantTier

Bases: BaseModel

update_tenant_tier: UpdateTenantTierUpdateTenantTier = Field(alias='updateTenantTier') class-attribute instance-attribute

UpdateTenantTierInput

Bases: BaseModel

tenant_identifier: TenantIdentifierInput = Field(alias='tenantIdentifier') class-attribute instance-attribute

tier_identifier: Optional[TierIdentifierInput] = Field(alias='tierIdentifier', default=None) class-attribute instance-attribute

UpdateTenantTierUpdateTenantTier

Bases: BaseModel

error: Optional[UpdateTenantTierUpdateTenantTierError] instance-attribute

tenant_tier_membership: Optional[UpdateTenantTierUpdateTenantTierTenantTierMembership] = Field(alias='tenantTierMembership') class-attribute instance-attribute

UpdateTenantTierUpdateTenantTierError

UpdateTenantTierUpdateTenantTierTenantTierMembership

UpdateThreadTenant

Bases: BaseModel

update_thread_tenant: UpdateThreadTenantUpdateThreadTenant = Field(alias='updateThreadTenant') class-attribute instance-attribute

UpdateThreadTenantInput

Bases: BaseModel

tenant_identifier: Optional[TenantIdentifierInput] = Field(alias='tenantIdentifier', default=None) class-attribute instance-attribute

thread_id: str = Field(alias='threadId') class-attribute instance-attribute

UpdateThreadTenantUpdateThreadTenant

Bases: BaseModel

error: Optional[UpdateThreadTenantUpdateThreadTenantError] instance-attribute

thread: Optional[UpdateThreadTenantUpdateThreadTenantThread] instance-attribute

UpdateThreadTenantUpdateThreadTenantError

UpdateThreadTenantUpdateThreadTenantThread

Bases: ThreadParts

UpdateWebhookTarget

Bases: BaseModel

update_webhook_target: UpdateWebhookTargetUpdateWebhookTarget = Field(alias='updateWebhookTarget') class-attribute instance-attribute

UpdateWebhookTargetInput

Bases: BaseModel

description: Optional[StringInput] = None class-attribute instance-attribute

event_subscriptions: Optional[List[WebhookTargetEventSubscriptionInput]] = Field(alias='eventSubscriptions', default=None) class-attribute instance-attribute

is_enabled: Optional[BooleanInput] = Field(alias='isEnabled', default=None) class-attribute instance-attribute

url: Optional[StringInput] = None class-attribute instance-attribute

version: Optional[StringInput] = None class-attribute instance-attribute

webhook_target_id: str = Field(alias='webhookTargetId') class-attribute instance-attribute

UpdateWebhookTargetUpdateWebhookTarget

Bases: BaseModel

error: Optional[UpdateWebhookTargetUpdateWebhookTargetError] instance-attribute

webhook_target: Optional[UpdateWebhookTargetUpdateWebhookTargetWebhookTarget] = Field(alias='webhookTarget') class-attribute instance-attribute

UpdateWebhookTargetUpdateWebhookTargetError

UpdateWebhookTargetUpdateWebhookTargetWebhookTarget

Upload

content = content instance-attribute

content_type = content_type instance-attribute

filename = filename instance-attribute

UpsertCompany

Bases: BaseModel

upsert_company: UpsertCompanyUpsertCompany = Field(alias='upsertCompany') class-attribute instance-attribute

UpsertCompanyInput

Bases: BaseModel

contract_value: Optional[int] = Field(alias='contractValue', default=None) class-attribute instance-attribute

domain_name: str = Field(alias='domainName') class-attribute instance-attribute

identifier: CompanyIdentifierInput instance-attribute

name: str instance-attribute

UpsertCompanyUpsertCompany

Bases: BaseModel

company: Optional[UpsertCompanyUpsertCompanyCompany] instance-attribute

error: Optional[UpsertCompanyUpsertCompanyError] instance-attribute

UpsertCompanyUpsertCompanyCompany

Bases: CompanyParts

UpsertCompanyUpsertCompanyError

UpsertCustomer

Bases: BaseModel

upsert_customer: UpsertCustomerUpsertCustomer = Field(alias='upsertCustomer') class-attribute instance-attribute

UpsertCustomerIdentifierInput

Bases: BaseModel

customer_id: Optional[str] = Field(alias='customerId', default=None) class-attribute instance-attribute

email_address: Optional[str] = Field(alias='emailAddress', default=None) class-attribute instance-attribute

external_id: Optional[str] = Field(alias='externalId', default=None) class-attribute instance-attribute

UpsertCustomerInput

Bases: BaseModel

identifier: UpsertCustomerIdentifierInput instance-attribute

on_create: UpsertCustomerOnCreateInput = Field(alias='onCreate') class-attribute instance-attribute

on_update: UpsertCustomerOnUpdateInput = Field(alias='onUpdate') class-attribute instance-attribute

UpsertCustomerOnCreateInput

Bases: BaseModel

customer_group_identifiers: Optional[List[CustomerGroupIdentifier]] = Field(alias='customerGroupIdentifiers', default=None) class-attribute instance-attribute

email: EmailAddressInput instance-attribute

external_id: Optional[str] = Field(alias='externalId', default=None) class-attribute instance-attribute

full_name: str = Field(alias='fullName') class-attribute instance-attribute

short_name: Optional[str] = Field(alias='shortName', default=None) class-attribute instance-attribute

tenant_identifiers: Optional[List[TenantIdentifierInput]] = Field(alias='tenantIdentifiers', default=None) class-attribute instance-attribute

UpsertCustomerOnUpdateInput

Bases: BaseModel

email: Optional[EmailAddressInput] = None class-attribute instance-attribute

external_id: Optional[OptionalStringInput] = Field(alias='externalId', default=None) class-attribute instance-attribute

full_name: Optional[StringInput] = Field(alias='fullName', default=None) class-attribute instance-attribute

short_name: Optional[OptionalStringInput] = Field(alias='shortName', default=None) class-attribute instance-attribute

UpsertCustomerUpsertCustomer

Bases: BaseModel

customer: Optional[UpsertCustomerUpsertCustomerCustomer] instance-attribute

error: Optional[UpsertCustomerUpsertCustomerError] instance-attribute

result: Optional[UpsertResult] instance-attribute

UpsertCustomerUpsertCustomerCustomer

Bases: CustomerParts

UpsertCustomerUpsertCustomerError

UpsertResult

Bases: str, Enum

CREATED = 'CREATED' class-attribute instance-attribute

NOOP = 'NOOP' class-attribute instance-attribute

UPDATED = 'UPDATED' class-attribute instance-attribute

UpsertTenant

Bases: BaseModel

upsert_tenant: UpsertTenantUpsertTenant = Field(alias='upsertTenant') class-attribute instance-attribute

UpsertTenantInput

Bases: BaseModel

external_id: str = Field(alias='externalId') class-attribute instance-attribute

identifier: TenantIdentifierInput instance-attribute

name: str instance-attribute

url: Optional[OptionalStringInput] = None class-attribute instance-attribute

UpsertTenantUpsertTenant

Bases: BaseModel

error: Optional[UpsertTenantUpsertTenantError] instance-attribute

tenant: Optional[UpsertTenantUpsertTenantTenant] instance-attribute

UpsertTenantUpsertTenantError

UpsertTenantUpsertTenantTenant

Bases: TenantParts

UpsertThreadField

Bases: BaseModel

upsert_thread_field: UpsertThreadFieldUpsertThreadField = Field(alias='upsertThreadField') class-attribute instance-attribute

UpsertThreadFieldIdentifier

Bases: BaseModel

key: str instance-attribute

thread_id: str = Field(alias='threadId') class-attribute instance-attribute

UpsertThreadFieldInput

Bases: BaseModel

boolean_value: Optional[bool] = Field(alias='booleanValue', default=None) class-attribute instance-attribute

identifier: UpsertThreadFieldIdentifier instance-attribute

string_value: Optional[str] = Field(alias='stringValue', default=None) class-attribute instance-attribute

type: ThreadFieldSchemaType instance-attribute

UpsertThreadFieldUpsertThreadField

Bases: BaseModel

error: Optional[UpsertThreadFieldUpsertThreadFieldError] instance-attribute

result: Optional[UpsertResult] instance-attribute

thread_field: Optional[UpsertThreadFieldUpsertThreadFieldThreadField] = Field(alias='threadField') class-attribute instance-attribute

UpsertThreadFieldUpsertThreadFieldError

UpsertThreadFieldUpsertThreadFieldThreadField

UserActorParts

Bases: BaseModel

typename__: str = Field(alias='__typename') class-attribute instance-attribute

user_id: str = Field(alias='userId') class-attribute instance-attribute

UserByEmail

Bases: BaseModel

user_by_email: Optional[UserByEmailUserByEmail] = Field(alias='userByEmail') class-attribute instance-attribute

UserByEmailUserByEmail

Bases: UserParts

UserById

Bases: BaseModel

user_by_id: Optional[UserByIdUserById] = Field(alias='userById') class-attribute instance-attribute

UserByIdUserById

Bases: UserParts

UserParts

Bases: BaseModel

email: str instance-attribute

full_name: str = Field(alias='fullName') class-attribute instance-attribute

id: str instance-attribute

public_name: str = Field(alias='publicName') class-attribute instance-attribute

slack_identities: List[UserPartsSlackIdentities] = Field(alias='slackIdentities') class-attribute instance-attribute

typename__: str = Field(alias='__typename') class-attribute instance-attribute

updated_at: UserPartsUpdatedAt = Field(alias='updatedAt') class-attribute instance-attribute

UserPartsSlackIdentities

Bases: BaseModel

slack_team_id: str = Field(alias='slackTeamId') class-attribute instance-attribute

slack_user_id: str = Field(alias='slackUserId') class-attribute instance-attribute

UserPartsUpdatedAt

Bases: DateTimeParts

WebhookTarget

Bases: BaseModel

webhook_target: Optional[WebhookTargetWebhookTarget] = Field(alias='webhookTarget') class-attribute instance-attribute

WebhookTargetEventSubscriptionInput

Bases: BaseModel

event_type: str = Field(alias='eventType') class-attribute instance-attribute

WebhookTargetEventSubscriptionParts

Bases: BaseModel

event_type: str = Field(alias='eventType') class-attribute instance-attribute

typename__: str = Field(alias='__typename') class-attribute instance-attribute

WebhookTargetParts

Bases: BaseModel

created_at: WebhookTargetPartsCreatedAt = Field(alias='createdAt') class-attribute instance-attribute

created_by: Union[WebhookTargetPartsCreatedByUserActor, WebhookTargetPartsCreatedBySystemActor, WebhookTargetPartsCreatedByMachineUserActor] = Field(alias='createdBy', discriminator='typename__') class-attribute instance-attribute

description: str instance-attribute

event_subscriptions: List[WebhookTargetPartsEventSubscriptions] = Field(alias='eventSubscriptions') class-attribute instance-attribute

id: str instance-attribute

is_enabled: bool = Field(alias='isEnabled') class-attribute instance-attribute

updated_at: WebhookTargetPartsUpdatedAt = Field(alias='updatedAt') class-attribute instance-attribute

updated_by: Union[WebhookTargetPartsUpdatedByUserActor, WebhookTargetPartsUpdatedBySystemActor, WebhookTargetPartsUpdatedByMachineUserActor] = Field(alias='updatedBy', discriminator='typename__') class-attribute instance-attribute

url: str instance-attribute

WebhookTargetPartsCreatedAt

Bases: DateTimeParts

WebhookTargetPartsCreatedByMachineUserActor

Bases: MachineUserActorParts

typename__: Literal['MachineUserActor'] = Field(alias='__typename') class-attribute instance-attribute

WebhookTargetPartsCreatedBySystemActor

Bases: SystemActorParts

typename__: Literal['SystemActor'] = Field(alias='__typename') class-attribute instance-attribute

WebhookTargetPartsCreatedByUserActor

Bases: UserActorParts

typename__: Literal['UserActor'] = Field(alias='__typename') class-attribute instance-attribute

WebhookTargetPartsEventSubscriptions

WebhookTargetPartsUpdatedAt

Bases: DateTimeParts

WebhookTargetPartsUpdatedByMachineUserActor

Bases: MachineUserActorParts

typename__: Literal['MachineUserActor'] = Field(alias='__typename') class-attribute instance-attribute

WebhookTargetPartsUpdatedBySystemActor

Bases: SystemActorParts

typename__: Literal['SystemActor'] = Field(alias='__typename') class-attribute instance-attribute

WebhookTargetPartsUpdatedByUserActor

Bases: UserActorParts

typename__: Literal['UserActor'] = Field(alias='__typename') class-attribute instance-attribute

WebhookTargetWebhookTarget

WebhookTargets

Bases: BaseModel

webhook_targets: WebhookTargetsWebhookTargets = Field(alias='webhookTargets') class-attribute instance-attribute

WebhookTargetsWebhookTargets

Bases: BaseModel

edges: List[WebhookTargetsWebhookTargetsEdges] instance-attribute

page_info: WebhookTargetsWebhookTargetsPageInfo = Field(alias='pageInfo') class-attribute instance-attribute

WebhookTargetsWebhookTargetsEdges

Bases: BaseModel

cursor: str instance-attribute

node: WebhookTargetsWebhookTargetsEdgesNode instance-attribute

WebhookTargetsWebhookTargetsEdgesNode

WebhookTargetsWebhookTargetsPageInfo

Bases: PageInfoParts

WorkspaceParts

Bases: BaseModel

created_at: WorkspacePartsCreatedAt = Field(alias='createdAt') class-attribute instance-attribute

created_by: Union[WorkspacePartsCreatedByUserActor, WorkspacePartsCreatedBySystemActor, WorkspacePartsCreatedByMachineUserActor] = Field(alias='createdBy', discriminator='typename__') class-attribute instance-attribute

id: str instance-attribute

is_demo_workspace: bool = Field(alias='isDemoWorkspace') class-attribute instance-attribute

name: str instance-attribute

public_name: str = Field(alias='publicName') class-attribute instance-attribute

typename__: str = Field(alias='__typename') class-attribute instance-attribute

updated_at: WorkspacePartsUpdatedAt = Field(alias='updatedAt') class-attribute instance-attribute

updated_by: Union[WorkspacePartsUpdatedByUserActor, WorkspacePartsUpdatedBySystemActor, WorkspacePartsUpdatedByMachineUserActor] = Field(alias='updatedBy', discriminator='typename__') class-attribute instance-attribute

WorkspacePartsCreatedAt

Bases: DateTimeParts

WorkspacePartsCreatedByMachineUserActor

Bases: MachineUserActorParts

typename__: Literal['MachineUserActor'] = Field(alias='__typename') class-attribute instance-attribute

WorkspacePartsCreatedBySystemActor

Bases: SystemActorParts

typename__: Literal['SystemActor'] = Field(alias='__typename') class-attribute instance-attribute

WorkspacePartsCreatedByUserActor

Bases: UserActorParts

typename__: Literal['UserActor'] = Field(alias='__typename') class-attribute instance-attribute

WorkspacePartsUpdatedAt

Bases: DateTimeParts

WorkspacePartsUpdatedByMachineUserActor

Bases: MachineUserActorParts

typename__: Literal['MachineUserActor'] = Field(alias='__typename') class-attribute instance-attribute

WorkspacePartsUpdatedBySystemActor

Bases: SystemActorParts

typename__: Literal['SystemActor'] = Field(alias='__typename') class-attribute instance-attribute

WorkspacePartsUpdatedByUserActor

Bases: UserActorParts

typename__: Literal['UserActor'] = Field(alias='__typename') class-attribute instance-attribute