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 { SeamHttpRequest } from '../../../../../../seam/connect/seam-http-request.js'; import { SeamPaginator } from '../../../../../../seam/connect/seam-paginator.js'; export declare class SeamHttpAcsEncodersSimulate { client: Client; readonly defaults: Required; readonly ltsVersion = "1.0.0"; static ltsVersion: string; constructor(apiKeyOrOptions?: string | SeamHttpOptions); static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit): SeamHttpAcsEncodersSimulate; static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit): SeamHttpAcsEncodersSimulate; static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit): SeamHttpAcsEncodersSimulate; static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise; static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit): SeamHttpAcsEncodersSimulate; static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit): SeamHttpAcsEncodersSimulate; createPaginator(request: SeamHttpRequest): SeamPaginator; updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise; /** * Simulates that the next attempt to encode a [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) using the specified [encoder](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners) will fail. You can only perform this action within a [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces). */ nextCredentialEncodeWillFail(parameters: AcsEncodersSimulateNextCredentialEncodeWillFailParameters, options?: AcsEncodersSimulateNextCredentialEncodeWillFailOptions): AcsEncodersSimulateNextCredentialEncodeWillFailRequest; /** * Simulates that the next attempt to encode a [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) using the specified [encoder](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners) will succeed. You can only perform this action within a [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces). */ nextCredentialEncodeWillSucceed(parameters: AcsEncodersSimulateNextCredentialEncodeWillSucceedParameters, options?: AcsEncodersSimulateNextCredentialEncodeWillSucceedOptions): AcsEncodersSimulateNextCredentialEncodeWillSucceedRequest; /** * Simulates that the next attempt to scan a [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) using the specified [encoder](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners) will fail. You can only perform this action within a [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces). */ nextCredentialScanWillFail(parameters: AcsEncodersSimulateNextCredentialScanWillFailParameters, options?: AcsEncodersSimulateNextCredentialScanWillFailOptions): AcsEncodersSimulateNextCredentialScanWillFailRequest; /** * Simulates that the next attempt to scan a [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) using the specified [encoder](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners) will succeed. You can only perform this action within a [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces). */ nextCredentialScanWillSucceed(parameters: AcsEncodersSimulateNextCredentialScanWillSucceedParameters, options?: AcsEncodersSimulateNextCredentialScanWillSucceedOptions): AcsEncodersSimulateNextCredentialScanWillSucceedRequest; } export type AcsEncodersSimulateNextCredentialEncodeWillFailParameters = { /** * ID of the `acs_encoder` that will be used in the next request to encode the `acs_credential`. */ acs_encoder_id: string; /** * Code of the error to simulate. */ error_code?: 'no_credential_on_encoder' | 'encoding_interrupted' | 'uncategorized_error' | 'action_attempt_expired' | undefined; /** * ID of the `acs_credential` that will fail to be encoded onto a card in the next request. */ acs_credential_id?: string | undefined; }; /** * @deprecated Use AcsEncodersSimulateNextCredentialEncodeWillFailRequest instead. */ export type AcsEncodersSimulateNextCredentialEncodeWillFailResponse = void; export type AcsEncodersSimulateNextCredentialEncodeWillFailRequest = SeamHttpRequest; export interface AcsEncodersSimulateNextCredentialEncodeWillFailOptions { } export type AcsEncodersSimulateNextCredentialEncodeWillSucceedParameters = { /** * ID of the `acs_encoder` that will be used in the next request to encode the `acs_credential`. */ acs_encoder_id: string; /** * Scenario to simulate. */ scenario?: 'credential_is_issued' | undefined; }; /** * @deprecated Use AcsEncodersSimulateNextCredentialEncodeWillSucceedRequest instead. */ export type AcsEncodersSimulateNextCredentialEncodeWillSucceedResponse = void; export type AcsEncodersSimulateNextCredentialEncodeWillSucceedRequest = SeamHttpRequest; export interface AcsEncodersSimulateNextCredentialEncodeWillSucceedOptions { } export type AcsEncodersSimulateNextCredentialScanWillFailParameters = { /** * ID of the `acs_encoder` that will fail to scan the `acs_credential` in the next request. */ acs_encoder_id: string; error_code?: 'no_credential_on_encoder' | 'uncategorized_error' | 'action_attempt_expired' | undefined; acs_credential_id_on_seam?: string | undefined; }; /** * @deprecated Use AcsEncodersSimulateNextCredentialScanWillFailRequest instead. */ export type AcsEncodersSimulateNextCredentialScanWillFailResponse = void; export type AcsEncodersSimulateNextCredentialScanWillFailRequest = SeamHttpRequest; export interface AcsEncodersSimulateNextCredentialScanWillFailOptions { } export type AcsEncodersSimulateNextCredentialScanWillSucceedParameters = { /** * ID of the Seam `acs_credential` that matches the `acs_credential` on the encoder in this simulation. */ acs_credential_id_on_seam?: string | undefined; /** * ID of the `acs_encoder` that will be used in the next request to scan the `acs_credential`. */ acs_encoder_id: string; /** * Scenario to simulate. */ scenario?: 'credential_exists_on_seam' | 'credential_on_encoder_needs_update' | 'credential_does_not_exist_on_seam' | 'credential_on_encoder_is_empty' | undefined; }; /** * @deprecated Use AcsEncodersSimulateNextCredentialScanWillSucceedRequest instead. */ export type AcsEncodersSimulateNextCredentialScanWillSucceedResponse = void; export type AcsEncodersSimulateNextCredentialScanWillSucceedRequest = SeamHttpRequest; export interface AcsEncodersSimulateNextCredentialScanWillSucceedOptions { }