Class SeamHttpActionAttempts
Constructors
constructor
- new SeamHttpActionAttempts(apiKeyOrOptions?): SeamHttpActionAttempts
Properties
client
client: AxiosInstance
Methods
get
- get(body?, __namedParameters?): 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_id: string;
}
action_attempt_id: string
__namedParameters: Partial<ResolveActionAttemptOptions> & {
waitForActionAttempt?: boolean;
} = {}
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
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";
})[]>
Static
fromApiKey
- fromApiKey(apiKey, options?): SeamHttpActionAttempts
Static
fromClient
- fromClient(client, options?): SeamHttpActionAttempts
Static
fromClientSessionToken
- fromClientSessionToken(clientSessionToken, options?): SeamHttpActionAttempts
Parameters
clientSessionToken: string
Static
fromConsoleSessionToken
- fromConsoleSessionToken(consoleSessionToken, workspaceId, options?): SeamHttpActionAttempts
Parameters
consoleSessionToken: string
workspaceId: string
Static
fromPersonalAccessToken
- fromPersonalAccessToken(personalAccessToken, workspaceId, options?): SeamHttpActionAttempts
Parameters
personalAccessToken: string
workspaceId: string
Static
fromPublishableKey
- fromPublishableKey(publishableKey, userIdentifierKey, options?): Promise<SeamHttpActionAttempts>
Parameters
publishableKey: string
userIdentifierKey: string