Constructors

Properties

client: AxiosInstance
defaults: Required<SeamHttpRequestOptions>

Methods

  • Parameters

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

    Returns SeamHttpRequest<SetNonNullable<Required<{
        webhook: {
            event_types?: string[];
            secret?: string;
            url: string;
            webhook_id: string;
        };
    }>, "webhook">, "webhook">

  • Parameters

    • Optionalbody: {
          webhook_id: string;
      }
      • webhook_id: string

    Returns SeamHttpRequest<void, undefined>

  • Parameters

    • Optionalbody: {
          webhook_id: string;
      }
      • webhook_id: string

    Returns SeamHttpRequest<SetNonNullable<Required<{
        webhook: {
            event_types?: string[];
            secret?: string;
            url: string;
            webhook_id: string;
        };
    }>, "webhook">, "webhook">

  • Parameters

    • Optionalbody: {}

      Returns SeamHttpRequest<SetNonNullable<Required<{
          webhooks: {
              event_types?: string[];
              secret?: string;
              url: string;
              webhook_id: string;
          }[];
      }>, "webhooks">, "webhooks">

    • Parameters

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

      Returns SeamHttpRequest<void, undefined>

    • Parameters

      • clientSessionToken: string

      Returns Promise<void>