Constructors

Properties

client: AxiosInstance
defaults: Required<SeamHttpRequestOptions>
ltsVersion: "1.0.0" = seamApiLtsVersion
ltsVersion: string = seamApiLtsVersion

Methods

  • Parameters

    • Optionalparameters: {
          event_types?: string[];
          url: string;
      }
      • Optionalevent_types?: string[]

        Types of events that you want the new webhook to receive.

      • url: string

        URL for the new webhook.

    • options: WebhooksCreateOptions = {}

    Returns WebhooksCreateRequest

  • Parameters

    • Optionalparameters: {
          webhook_id: string;
      }
      • webhook_id: string

        ID of the webhook that you want to get.

    • options: WebhooksGetOptions = {}

    Returns WebhooksGetRequest

  • Parameters

    • Optionalparameters: {
          event_types: string[];
          webhook_id: string;
      }
      • event_types: string[]

        Types of events that you want the webhook to receive.

      • webhook_id: string

        ID of the webhook that you want to update.

    • options: WebhooksUpdateOptions = {}

    Returns WebhooksUpdateRequest

  • Parameters

    • clientSessionToken: string

    Returns Promise<void>