ContactsApi - axios parameter creator export

  • Parameters

    Returns {
        acceptContactRequest: ((id: string, contactStatusUpdateDeets?: ContactStatusUpdateDeets, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        contactsBulkPOST: ((contactBulkCreateDeets?: ContactBulkCreateDeets, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        contactsDELETE: ((id?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        contactsDeleteAvatar: ((id: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        contactsGetAvatarById: ((id: string, avatarType?: AvatarType, userId?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        contactsGETById: ((id: string, userId?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        contactsGETList: ((limit?: number, page?: number, userId?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        contactsGETRequests: ((contactStatus?: ContactStatusPersonaFilter, limit?: number, page?: number, userId?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        contactsInvitePOST: ((contactInviteCreateDeets?: ContactInviteCreateDeets, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        contactsInvitePut: ((personaId: string, contactInviteUpdateDeets?: ContactInviteUpdateDeets, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        contactsPOST: ((contactCreateDeets?: ContactCreateDeets, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        contactsSearch: ((term?: string, limit?: number, page?: number, userId?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        contactsUpdateAvatar: ((id: string, file?: File, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        contactsUpdateAvatarByDeets: ((id: string, userId?: string, avatarBytes?: AvatarBytes, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        contactsUpdateAvatarByPrompt: ((id: string, avatarPromptCreateDeets?: AvatarPromptCreateDeets, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        getAcceptPaymentStatusByAccountId: ((accountId?: string, status?: AcceptPaymentStatusEnum, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        rejectContactRequest: ((id: string, contactStatusUpdateDeets?: ContactStatusUpdateDeets, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        requestsGETList: ((limit?: number, page?: number, userId?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
    }

    • acceptContactRequest: ((id: string, contactStatusUpdateDeets?: ContactStatusUpdateDeets, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      summary Accept the contact invitation

        • (id, contactStatusUpdateDeets?, options?): Promise<RequestArgs>
        • Parameters

          • id: string
          • OptionalcontactStatusUpdateDeets: ContactStatusUpdateDeets
          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • contactsBulkPOST: ((contactBulkCreateDeets?: ContactBulkCreateDeets, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      summary Bulk add contacts

        • (contactBulkCreateDeets?, options?): Promise<RequestArgs>
        • Parameters

          • OptionalcontactBulkCreateDeets: ContactBulkCreateDeets

            All the contact details

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • contactsDELETE: ((id?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      summary Delete an contact

        • (id?, options?): Promise<RequestArgs>
        • Parameters

          • Optionalid: string

            The id for the contact to delete.

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • contactsDeleteAvatar: ((id: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      summary Reset avatar to the default

        • (id, options?): Promise<RequestArgs>
        • Parameters

          • id: string
          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • contactsGetAvatarById: ((id: string, avatarType?: AvatarType, userId?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      summary Retrieve an avatar by id

        • (id, avatarType?, userId?, options?): Promise<RequestArgs>
        • 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<RequestArgs>

    • contactsGETById: ((id: string, userId?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      summary Get a single contact

        • (id, userId?, options?): Promise<RequestArgs>
        • 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<RequestArgs>

    • contactsGETList: ((limit?: number, page?: number, userId?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      summary List contacts

        • (limit?, page?, userId?, options?): Promise<RequestArgs>
        • 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<RequestArgs>

    • contactsGETRequests: ((contactStatus?: ContactStatusPersonaFilter, limit?: number, page?: number, userId?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      summary List of invited contacts

        • (contactStatus?, limit?, page?, userId?, options?): Promise<RequestArgs>
        • 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<RequestArgs>

    • contactsInvitePOST: ((contactInviteCreateDeets?: ContactInviteCreateDeets, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      summary Create a contact record - contact invite.

        • (contactInviteCreateDeets?, options?): Promise<RequestArgs>
        • Parameters

          • OptionalcontactInviteCreateDeets: ContactInviteCreateDeets

            The contact details

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • contactsInvitePut: ((personaId: string, contactInviteUpdateDeets?: ContactInviteUpdateDeets, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      summary Update a contact record - contact invite.

        • (personaId, contactInviteUpdateDeets?, options?): Promise<RequestArgs>
        • Parameters

          • personaId: string
          • OptionalcontactInviteUpdateDeets: ContactInviteUpdateDeets

            The contact details

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • contactsPOST: ((contactCreateDeets?: ContactCreateDeets, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      summary Create a contact record

        • (contactCreateDeets?, options?): Promise<RequestArgs>
        • Parameters

          • OptionalcontactCreateDeets: ContactCreateDeets

            The contact details

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • contactsSearch: ((term?: string, limit?: number, page?: number, userId?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

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

      summary Search contacts
        • (term?, limit?, page?, userId?, options?): Promise<RequestArgs>
        • 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<RequestArgs>

    • contactsUpdateAvatar: ((id: string, file?: File, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

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

        • (id, file?, options?): Promise<RequestArgs>
        • Parameters

          • id: string

            contact id

          • Optionalfile: File
          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • contactsUpdateAvatarByDeets: ((id: string, userId?: string, avatarBytes?: AvatarBytes, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

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

        • (id, userId?, avatarBytes?, options?): Promise<RequestArgs>
        • 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<RequestArgs>

    • contactsUpdateAvatarByPrompt: ((id: string, avatarPromptCreateDeets?: AvatarPromptCreateDeets, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

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

        • (id, avatarPromptCreateDeets?, options?): Promise<RequestArgs>
        • Parameters

          • id: string
          • OptionalavatarPromptCreateDeets: AvatarPromptCreateDeets
          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • getAcceptPaymentStatusByAccountId: ((accountId?: string, status?: AcceptPaymentStatusEnum, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      summary Retrieve the payment acceptance status for an account

        • (accountId?, status?, options?): Promise<RequestArgs>
        • 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<RequestArgs>

    • rejectContactRequest: ((id: string, contactStatusUpdateDeets?: ContactStatusUpdateDeets, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      summary Reject the contact invitation

        • (id, contactStatusUpdateDeets?, options?): Promise<RequestArgs>
        • Parameters

          • id: string
          • OptionalcontactStatusUpdateDeets: ContactStatusUpdateDeets
          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • requestsGETList: ((limit?: number, page?: number, userId?: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      summary List requests

        • (limit?, page?, userId?, options?): Promise<RequestArgs>
        • 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<RequestArgs>