/** * Shell Data & Reporting 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; oAuthOnTokenUpdate?: (token: OAuthToken) => void; oAuthClockSkew?: number; }; httpClientOptions?: Partial; unstable_httpClientOptions?: any; } /** Environments available for API */ export declare enum Environment { SIT = "SIT", Production = "Production" } export declare namespace Configuration { function fromJsonConfig(jsonConfig: string): Partial; function fromEnvironment(envVariables: Record): Partial; } //# sourceMappingURL=configuration.d.ts.map