auditjs
Version:
Audit dependencies to identify known vulnerabilities and maintenance problems
20 lines (19 loc) • 755 B
TypeScript
export declare class IqRequestService {
readonly user: string;
readonly password: string;
readonly host: string;
readonly application: string;
readonly stage: string;
readonly timeout: number;
readonly insecure: boolean;
private internalId;
private isInitialized;
constructor(user: string, password: string, host: string, application: string, stage: string, timeout: number, insecure: boolean);
private init;
private timeoutAttempts;
private getApplicationInternalId;
submitToThirdPartyAPI(data: any): Promise<string>;
asyncPollForResults(url: string, errorHandler: (error: any) => any, pollingFinished: (body: any) => any): Promise<void>;
private getURLOrMerge;
private getBasicAuth;
}