Class SeamHttpActionAttempts

Constructors

Properties

client: AxiosInstance
defaults: Required<SeamHttpRequestOptions>

Methods

  • Parameters

    • Optional body: {
          action_attempt_id: string;
      }
      • action_attempt_id: string
    • options: Pick<SeamHttpRequestOptions, "waitForActionAttempt"> = {}

    Returns Promise<NonNullable<{
        action_attempt_id: string;
        action_type: string;
        error: null;
        result?: any;
        status: "success";
    } | {
        action_attempt_id: string;
        action_type: string;
        error: null;
        result: null;
        status: "pending";
    } | {
        action_attempt_id: string;
        action_type: string;
        error: {
            message: string;
            type: string;
        };
        result: null;
        status: "error";
    }>>

  • Parameters

    • Optional body: {
          action_attempt_ids: string[];
      }
      • action_attempt_ids: string[]

    Returns Promise<({
        action_attempt_id: string;
        action_type: string;
        error: null;
        result?: any;
        status: "success";
    } | {
        action_attempt_id: string;
        action_type: string;
        error: null;
        result: null;
        status: "pending";
    } | {
        action_attempt_id: string;
        action_type: string;
        error: {
            message: string;
            type: string;
        };
        result: null;
        status: "error";
    })[]>

  • Parameters

    • clientSessionToken: string

    Returns Promise<void>

Generated using TypeDoc