import { type Client } from '../../../../seam/connect/client.js'; import { type SeamHttpFromPublishableKeyOptions, type SeamHttpOptions, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, type SeamHttpRequestOptions } from '../../../../seam/connect/options.js'; import type { ActionAttempt } from '../../../../seam/connect/resources/action-attempt.js'; import { SeamHttpRequest } from '../../../../seam/connect/seam-http-request.js'; import { SeamPaginator } from '../../../../seam/connect/seam-paginator.js'; export declare class SeamHttpActionAttempts { client: Client; readonly defaults: Required; readonly ltsVersion = "1.0.0"; static ltsVersion: string; constructor(apiKeyOrOptions?: string | SeamHttpOptions); static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit): SeamHttpActionAttempts; static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit): SeamHttpActionAttempts; static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit): SeamHttpActionAttempts; static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise; static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit): SeamHttpActionAttempts; static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit): SeamHttpActionAttempts; createPaginator(request: SeamHttpRequest): SeamPaginator; updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise; /** * Returns a specified [action attempt](https://docs.seam.co/core-concepts/action-attempts). */ get(parameters: ActionAttemptsGetParameters, options?: ActionAttemptsGetOptions): ActionAttemptsGetRequest; /** * Returns a list of the [action attempts](https://docs.seam.co/core-concepts/action-attempts) that you specify as an array of `action_attempt_id`s. */ list(parameters?: ActionAttemptsListParameters, options?: ActionAttemptsListOptions): ActionAttemptsListRequest; } export type ActionAttemptsGetParameters = { /** * ID of the action attempt that you want to get. */ action_attempt_id: string; }; /** * @deprecated Use ActionAttemptsGetRequest instead. */ export type ActionAttemptsGetResponse = { action_attempt: ActionAttempt; }; export type ActionAttemptsGetRequest = SeamHttpRequest; export type ActionAttemptsGetOptions = Pick; export type ActionAttemptsListParameters = { /** * IDs of the action attempts that you want to retrieve. */ action_attempt_ids?: Array | undefined; /** * ID of the device to filter action attempts by. */ device_id?: string | undefined; /** * Maximum number of records to return per page. */ limit?: number | undefined; /** * Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */ page_cursor?: string | undefined; }; /** * @deprecated Use ActionAttemptsListRequest instead. */ export type ActionAttemptsListResponse = { action_attempts: Array; }; export type ActionAttemptsListRequest = SeamHttpRequest; export interface ActionAttemptsListOptions { }