asposeslidescloud
Version:
Aspose.Slides Cloud SDK for Node.js
53 lines (52 loc) • 1.44 kB
TypeScript
/**
* Slides API configuration
*/
export declare class Configuration {
/**
* Client ID.
*/
appSid: string;
/**
* Client Secret.
*/
appKey: string;
/**
* access token.
*/
accessToken: string;
/**
* Base Url.
*/
baseUrl: string;
/**
* Base Url.
*/
authBaseUrl: 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 to console.
*/
debugMode: boolean;
/**
* 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;
}