UNPKG

card-management-sdk

Version:

The Shell Card Management API is REST-based and employs OAUTH 2.0,Basic and ApiKey authentication. The API endpoints accept JSON-encoded request bodies, return JSON-encoded responses and use standard HTTP response codes. All resources are located in the S

39 lines 1.64 kB
/** * Shell Card Management APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { HttpClientOptions } from './clientAdapter.js'; import { ClientCredentialsAuthManager } from './clientCredentialsAuthManager.js'; import { OAuthToken } from './models/oAuthToken.js'; /** An interface for all configuration parameters required by the SDK. */ export interface Configuration { timeout: number; environment: Environment; /** @deprecated use clientCredentialsAuthCredentials field instead */ oAuthClientId?: string; /** @deprecated use clientCredentialsAuthCredentials field instead */ oAuthClientSecret?: string; /** @deprecated use clientCredentialsAuthCredentials field instead */ oAuthToken?: OAuthToken; clientCredentialsAuthCredentials?: { oAuthClientId: string; oAuthClientSecret: string; oAuthToken?: OAuthToken; oAuthTokenProvider?: (lastOAuthToken: OAuthToken | undefined, authManager: ClientCredentialsAuthManager) => Promise<OAuthToken>; oAuthOnTokenUpdate?: (token: OAuthToken) => void; oAuthClockSkew?: number; }; httpClientOptions?: Partial<HttpClientOptions>; unstable_httpClientOptions?: any; } /** Environments available for API */ export declare enum Environment { SIT = "SIT", Production = "Production" } export declare namespace Configuration { function fromJsonConfig(jsonConfig: string): Partial<Configuration>; function fromEnvironment(envVariables: Record<string, string | undefined>): Partial<Configuration>; } //# sourceMappingURL=configuration.d.ts.map