Class SeamHttpActionAttempts
Constructors
constructor
- new SeamHttpActionAttempts(apiKeyOrOptions?): SeamHttpActionAttempts
Properties
client
client: AxiosInstance
Readonly defaults
Methods
get
- get(body?, options?): 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- Optionalbody: {
 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";
 }>>
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- Optionalbody: {
 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";
 })[]>
updateClientSessionToken
- updateClientSessionToken(clientSessionToken): Promise<void>
- Parameters- clientSessionToken: string
 
- Returns Promise<void>
Static fromApiKey
- fromApiKey(apiKey, options?): SeamHttpActionAttempts
Static fromClient
- fromClient(client, options?): SeamHttpActionAttempts
Static fromClientSessionToken
- fromClientSessionToken(clientSessionToken, options?): SeamHttpActionAttempts
Static fromConsoleSessionToken
- fromConsoleSessionToken(consoleSessionToken, workspaceId, options?): SeamHttpActionAttempts
Static fromPersonalAccessToken
- fromPersonalAccessToken(personalAccessToken, workspaceId, options?): SeamHttpActionAttempts
Static fromPublishableKey
- fromPublishableKey(publishableKey, userIdentifierKey, options?): Promise<SeamHttpActionAttempts>