ContactsApi - object-oriented interface export ContactsApi

Hierarchy (view full)

Constructors

Properties

axios: AxiosInstance = globalAxios
basePath: string = BASE_PATH
configuration: undefined | Configuration

Methods

  • summary Accept the contact invitation

    Parameters

    • id: string
    • OptionalcontactStatusUpdateDeets: ContactStatusUpdateDeets
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<ContactInfo, any>>

    memberof ContactsApi

  • summary Bulk add contacts

    Parameters

    • OptionalcontactBulkCreateDeets: ContactBulkCreateDeets

      All the contact details

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<ContactInfo, any>>

    memberof ContactsApi

  • summary Delete an contact

    Parameters

    • Optionalid: string

      The id for the contact to delete.

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<void, any>>

    memberof ContactsApi

  • summary Reset avatar to the default

    Parameters

    • id: string
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<void, any>>

    memberof ContactsApi

  • summary Retrieve an avatar by id

    Parameters

    • id: string

      The id of the record you wish to retrieve

    • OptionalavatarType: AvatarType

      default contact simpleContarct paymentCycle

    • OptionaluserId: string

      The user id to operate on their behalf (tenants only)

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<void, any>>

    memberof ContactsApi

  • summary Get a single contact

    Parameters

    • id: string

      The id of the record you wish to retrieve

    • OptionaluserId: string

      The user id to operate on their behalf (tenants only)

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<ContactInfo, any>>

    memberof ContactsApi

  • summary List contacts

    Parameters

    • Optionallimit: number

      A limit of the number of objects to be returned for the next page, between 1 and 100. The default is 25

    • Optionalpage: number

      1-based page index for paginated results

    • OptionaluserId: string

      The user id to operate on their behalf (tenants only)

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<ContactInfoListResponse, any>>

    memberof ContactsApi

  • summary List of invited contacts

    Parameters

    • OptionalcontactStatus: ContactStatusPersonaFilter

      all invited accepted rejected

    • Optionallimit: number

      A limit of the number of objects to be returned for the next page, between 1 and 100. The default is 25

    • Optionalpage: number

      1-based page index for paginated results

    • OptionaluserId: string

      The user id to operate on their behalf (tenants only)

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<ContactInfoListResponse, any>>

    memberof ContactsApi

  • summary Create a contact record - contact invite.

    Parameters

    • OptionalcontactInviteCreateDeets: ContactInviteCreateDeets

      The contact details

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<ContactInfo, any>>

    memberof ContactsApi

  • summary Update a contact record - contact invite.

    Parameters

    • personaId: string
    • OptionalcontactInviteUpdateDeets: ContactInviteUpdateDeets

      The contact details

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<ContactInfo, any>>

    memberof ContactsApi

  • summary Create a contact record

    Parameters

    • OptionalcontactCreateDeets: ContactCreateDeets

      The contact details

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<ContactInfo, any>>

    memberof ContactsApi

  • Search contacts in the network based on Name, KnownName, Business name or Handle Returns a list of EndUser_Deets.

    summary Search contacts

    Parameters

    • Optionalterm: string

      The search term or keyword

    • Optionallimit: number

      A limit of the number of objects to be returned for the next page, between 1 and 100. The default is 25

    • Optionalpage: number

      1-based page index for paginated results

    • OptionaluserId: string

      The user id to operate on their behalf (tenants only)

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<ContactInfoListResponse, any>>

    memberof ContactsApi

  • avatar_id could be tenant.id, contact.id, work.id, project.id, team.id, etc summary Upload avatar image via file

    Parameters

    • id: string

      contact id

    • Optionalfile: File
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<void, any>>

    memberof ContactsApi

  • avatar_id could be tenant.id, contact.id, work.id, project.id, team.id, etc summary Upload avatar via JSON body

    Parameters

    • id: string

      The id of the record you wish to retrieve

    • OptionaluserId: string

      The user id to operate on their behalf (tenants only)

    • OptionalavatarBytes: AvatarBytes
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<void, any>>

    memberof ContactsApi

  • avatar_id could be tenant.id, contact.id, work.id, project.id, team.id, etc summary Generate a new avatar image via AI prompt.

    Parameters

    • id: string
    • OptionalavatarPromptCreateDeets: AvatarPromptCreateDeets
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<void, any>>

    memberof ContactsApi

  • summary Retrieve the payment acceptance status for an account

    Parameters

    • OptionalaccountId: string

      Account Id to accept payments from

    • Optionalstatus: AcceptPaymentStatusEnum

      Accept payment status enum pending accepted suspended

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<PaymentAcceptResponse, any>>

    memberof ContactsApi

  • summary Reject the contact invitation

    Parameters

    • id: string
    • OptionalcontactStatusUpdateDeets: ContactStatusUpdateDeets
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<ContactInfo, any>>

    memberof ContactsApi

  • summary List requests

    Parameters

    • Optionallimit: number

      A limit of the number of objects to be returned for the next page, between 1 and 100. The default is 25

    • Optionalpage: number

      1-based page index for paginated results

    • OptionaluserId: string

      The user id to operate on their behalf (tenants only)

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<ContactInfoListResponse, any>>

    memberof ContactsApi