ActivityApi - object-oriented interface export ActivityApi

Hierarchy (view full)

Constructors

Properties

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

Methods

  • summary Retrieves the Activity with the specified key and activity type

    Parameters

    • Optionalkey: string

      The id of the object this activity is associated with

    • Optionaltype: ActivityType

      The type of activity being requested contactCreated invited onboarded readyForPayouts firstPayout firstPayment

    • 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<Activity, any>>

    memberof ActivityApi

  • summary Retrieves the Task Activity with the specified key and activity type

    Parameters

    • Optionaltype: ActivityType

      The type of activity being requested contactCreated invited onboarded readyForPayouts firstPayout firstPayment

    • 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<Activity, any>>

    memberof ActivityApi

  • summary Create or update an Activity

    Parameters

    • Optionalkey: string

      The id of the object this activity is associated with

    • Optionaltype: ActivityType

      Specifies the type of the activity contactCreated invited onboarded readyForPayouts firstPayout firstPayment

    • Optionalstatus: ActivityStatus

      Specifies the status of the activity unknown started pending completed needsAttention failed notStarted

    • OptionaluserId: string

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

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<Activity, any>>

    memberof ActivityApi

  • summary update activity task status

    Parameters

    • activityId: string
    • taskId: string
    • OptionalactivityTaskUpdateDeets: ActivityTaskUpdateDeets
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<Activity, any>>

    memberof ActivityApi