Class SeamHttpActionAttempts
 
Constructors
constructor
- new SeamHttpActionAttempts(apiKeyOrOptions?): SeamHttpActionAttempts
- 
Properties
client
client: AxiosInstance
Methods
get
- get(body): 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
- 
body: { 
 action_attempt_id: string;
 }
- 
action_attempt_id: string
 
 
 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";
 }>>
list
- list(body): 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
- 
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";
 })[]>
Static fromApiKey
- fromApiKey(apiKey, options?): SeamHttpActionAttempts
- 
Static fromClient
- fromClient(client, options?): SeamHttpActionAttempts
- 
Static fromClientSessionToken
- fromClientSessionToken(clientSessionToken, options?): SeamHttpActionAttempts
- 
Parameters
- 
clientSessionToken: string
- 
 
 
Static fromPublishableKey
- fromPublishableKey(publishableKey, userIdentifierKey, options?): Promise<SeamHttpActionAttempts>
- 
Parameters
- 
publishableKey: string
- 
userIdentifierKey: string
-