UNPKG

digitalocean-openapi-js

Version:
23 lines (22 loc) 991 B
export interface ConfigurationParameters { apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>); username?: string; password?: string; accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>); basePath?: string; serverIndex?: number; baseOptions?: any; formDataCtor?: new () => any; } export declare class Configuration { apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>); username?: string; password?: string; accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>); basePath?: string; serverIndex?: number; baseOptions?: any; formDataCtor?: new () => any; constructor(param?: ConfigurationParameters); isJsonMime(mime: string): boolean; }