WaitlistApi - object-oriented interface export WaitlistApi

Hierarchy (view full)

Constructors

Properties

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

Methods

  • summary Deletes the current user from the hubspot waitlist.

    Parameters

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<void, any>>

    memberof WaitlistApi

  • summary Gets the contact record of the current user if it exists. Can be used to check if a user is on a waitlist at application login. It cannot return which waitlist the user is currently on.

    Parameters

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<HubSpotContact, any>>

    memberof WaitlistApi

  • summary Add a contact to a waitlist.

    Parameters

    • OptionalwaitlistDeets: WaitlistDeets
    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<HubSpotContact, any>>

    memberof WaitlistApi