AvatarsApi - object-oriented interface export AvatarsApi

Hierarchy (view full)

Constructors

Properties

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

Methods

  • summary Retrieve a avatar by id and avatartype

    Parameters

    • id: string

      The id of the record you wish to retrieve

    • OptionalavatarType: AvatarTypeEnum

      avatar type contact simpleContarct paymentCycle profile

    • Optionalinitials: string
    • OptionaluserId: string

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

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<void, any>>

    memberof AvatarsApi

  • summary Upload avatar profile image via file

    Parameters

    • id: string

      The id of the record you wish to retrieve

    • OptionalavatarType: AvatarTypeEnum

      avatar type contact simpleContarct paymentCycle profile

    • OptionaluserId: string

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

    • Optionalfile: File

      avatar image

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<void, any>>

    memberof AvatarsApi