UNPKG

asposeslidescloud

Version:

Aspose.Slides Cloud SDK for Node.js

65 lines (64 loc) 1.89 kB
/** * Slides API configuration */ export declare class Configuration { /** * Client ID. */ appSid: string; /** * Client Secret. */ appKey: string; /** * access token. */ accessToken: string; /** * Base Url. */ baseUrl: string; private _asyncBaseUrl; private _authBaseUrl; /** * Async Base Url. Defaults to baseUrl if not explicitly set. */ get asyncBaseUrl(): string; set asyncBaseUrl(value: string); /** * Auth Base Url. Defaults to baseUrl if not explicitly set. */ get authBaseUrl(): string; set authBaseUrl(value: string); /** * Gets or sets slides operation timeout in seconds. 0 stands for no timeout. The timeout applies to the Slides operation, not to the HTTP request. */ timeout: number; /** * Gets or sets HTTP request timeout in seconds. 0 stands for no timeout. The timeout applies to the HTTP request, not to the Slides operation. */ httpRequestTimeout: number; /** * Gets or sets a value indicating whether debug mode is enabled. In debug mode all requests and responses are logged. */ debugMode: boolean; /** * Gets or sets a custom log function used when debugMode is true. When not set, output goes to console.log. */ logger: (message: string) => void; /** * Gets or sets collection of custom headers to be added to HTTP requests. */ customHeaders: { [key: string]: string; }; /** * Gets or sets a value indicating whether insecure requests are allowed. */ allowInsecureRequests: boolean; constructor(appSid: string, appKey: string, baseUrl?: string, authBaseUrl?: string, debugMode?: boolean, timeout?: number, httpRequestTimeout?: number); /** * Returns api base url */ getApiBaseUrl(): string; }