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

    • OptionalincludeSelf: boolean
    • OptionalsortByFieldName: ListOfSortFieldsForContact

      The field to sort by knownName firstName lastName email status externalId

    • OptionalsortByAscending: boolean

      Whether the list will be sorted in ascending order. Default value is true

    • 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

    • OptionalexternalId: string
    • OptionalsinceUTC: string
    • OptionalaccessPerspective: AccessPerspective

      none self collaborators all invite admin webHook function

    • OptionalincludeAlias: boolean
    • OptionalincludeContacts: boolean
    • OptionalincludeRequest: boolean
    • OptionalcontactStatus: ContactStatusPersona[]
    • Optionalroles: string[]
    • OptionalincludeCounts: boolean
    • OptionalsortByFieldName: ListOfSortFieldsForContact

      The field to sort by knownName firstName lastName email status externalId

    • OptionalsortByAscending: boolean

      Whether the list will be sorted in ascending order. Default value is true

    • 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

      The avatar image for this contact

    • 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 Retrieve a list of payments for a contact. The payments can also be linked back to payment cycles (mass payments).

    Parameters

    • id: string

      The contact id (PersonaId) of the contact

    • OptionalminAmount: number

      The minimum amount for filtering

    • OptionalmaxAmount: number

      The maximum amount for filtering

    • OptionalfromDate: string

      The starting date for filtering

    • OptionaltoDate: string

      The end date for filtering

    • Optionalstatuses: string[]

      A list of statuses for filtering

    • OptionalpaymentTypes: string[]

      A list of payment types for filtering

    • Optionalid2: string
    • OptionalshortId: string
    • OptionaltoHandle: string

      The Mozaic handle for a contact

    • OptionaltoEmail: string

      The email address of the contact

    • OptionaltoPhone: string

      The fully qualified phone number of the contact

    • OptionaltoName: string

      Loosely, the name of the contact. May be changed during registration

    • OptionaltoPersonaId: string

      Specifies the persona associated with this contact record

    • OptionaltoUserId: string

      Specifies the user associated with this contact record

    • OptionaltoUserAccountId: string

      Specifies the user account id associated with this contact record

    • OptionaltoIsAcceptedContact: boolean

      Specifies whether this contact is in network or out of network

    • OptionaltoCountryCode: string
    • OptionaltoExternalId: string
    • OptionaltoAvatar: AvatarSize[]

      contact avatar

    • OptionaltoId: string
    • OptionaltoCreated: string
    • OptionaltoShortId: string
    • OptionaltoObjectName: string

      The name of this object

    • 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<PaymentListResponse, 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

    • OptionalincludeSelf: boolean
    • OptionalsortByFieldName: ListOfSortFieldsForContact

      The field to sort by knownName firstName lastName email status externalId

    • OptionalsortByAscending: boolean

      Whether the list will be sorted in ascending order. Default value is true

    • 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