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 { Phone } from '../../../../seam/connect/resources/phone.js'; import { SeamHttpRequest } from '../../../../seam/connect/seam-http-request.js'; import { SeamPaginator } from '../../../../seam/connect/seam-paginator.js'; import { SeamHttpPhonesSimulate } from './simulate/index.js'; export declare class SeamHttpPhones { client: Client; readonly defaults: Required; readonly ltsVersion = "1.0.0"; static ltsVersion: string; constructor(apiKeyOrOptions?: string | SeamHttpOptions); static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit): SeamHttpPhones; static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit): SeamHttpPhones; static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit): SeamHttpPhones; static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise; static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit): SeamHttpPhones; static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit): SeamHttpPhones; createPaginator(request: SeamHttpRequest): SeamPaginator; updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise; get simulate(): SeamHttpPhonesSimulate; /** * Deactivates a phone, which is useful, for example, if a user has lost their phone. For more information, see [App User Lost Phone Process](https://docs.seam.co/capability-guides/mobile-access/managing-phones-for-a-user-identity#app-user-lost-phone-process). */ deactivate(parameters: PhonesDeactivateParameters, options?: PhonesDeactivateOptions): PhonesDeactivateRequest; /** * Returns a specified [phone](https://docs.seam.co/capability-guides/mobile-access/managing-phones-for-a-user-identity). */ get(parameters: PhonesGetParameters, options?: PhonesGetOptions): PhonesGetRequest; /** * Returns a list of all [phones](https://docs.seam.co/capability-guides/mobile-access/managing-phones-for-a-user-identity). To filter the list of returned phones by a specific owner user identity or credential, include the `owner_user_identity_id` or `acs_credential_id`, respectively, in the request body. */ list(parameters?: PhonesListParameters, options?: PhonesListOptions): PhonesListRequest; } export type PhonesDeactivateParameters = { /** * Device ID of the phone that you want to deactivate. */ device_id: string; }; /** * @deprecated Use PhonesDeactivateRequest instead. */ export type PhonesDeactivateResponse = void; export type PhonesDeactivateRequest = SeamHttpRequest; export interface PhonesDeactivateOptions { } export type PhonesGetParameters = { /** * Device ID of the phone that you want to get. */ device_id: string; }; /** * @deprecated Use PhonesGetRequest instead. */ export type PhonesGetResponse = { phone: Phone; }; export type PhonesGetRequest = SeamHttpRequest; export interface PhonesGetOptions { } export type PhonesListParameters = { /** * ID of the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) by which you want to filter the list of returned phones. */ acs_credential_id?: string | undefined; /** * ID of the user identity that represents the owner by which you want to filter the list of returned phones. */ owner_user_identity_id?: string | undefined; }; /** * @deprecated Use PhonesListRequest instead. */ export type PhonesListResponse = { phones: Array; }; export type PhonesListRequest = SeamHttpRequest; export interface PhonesListOptions { }