///
///
///
import localVarRequest from 'request';
export * from './aPIInfo';
export * from './account';
export * from './any';
export * from './authContext';
export * from './authErrorCode';
export * from './authenticationErrorMessageResponse';
export * from './availabilityInfo';
export * from './backgroundJobStatus';
export * from './badGatewayErrorMessageResponse';
export * from './conflictErrorMessageResponse';
export * from './conflictInfo';
export * from './createAccountRequest';
export * from './createAccountResponse';
export * from './createScrapingJobRequest';
export * from './createScrapingJobResponse';
export * from './deleteAccountResponse';
export * from './deleteScrapingJobResponse';
export * from './dependency';
export * from './downloadScrapingResultsResponse';
export * from './errorResponse';
export * from './fieldError';
export * from './fieldViolation';
export * from './forbiddenErrorMessageResponse';
export * from './gatewayTimeoutErrorMessageResponse';
export * from './getAccountResponse';
export * from './getScrapingJobResponse';
export * from './goneErrorMessageResponse';
export * from './internalErrorCode';
export * from './internalErrorMessageResponse';
export * from './limitInfo';
export * from './listAccountsResponse';
export * from './listScrapingJobsResponse';
export * from './mFAInfo';
export * from './methodNotAllowedErrorMessageResponse';
export * from './notFoundErrorCode';
export * from './notFoundErrorMessageResponse';
export * from './notImplementedErrorMessageResponse';
export * from './operationDetails';
export * from './paymentInfo';
export * from './paymentRequiredErrorMessageResponse';
export * from './preconditionFailedErrorMessageResponse';
export * from './quotaInfo';
export * from './rateLimitContext';
export * from './rateLimitErrorMessageResponse';
export * from './resourceInfo';
export * from './resourceUtilization';
export * from './resourceValidation';
export * from './schemaValidation';
export * from './scrapingJob';
export * from './serviceStatus';
export * from './serviceUnavailableErrorMessageResponse';
export * from './sessionInfo';
export * from './status';
export * from './suggestions';
export * from './tokenInfo';
export * from './tooEarlyErrorMessageResponse';
export * from './unprocessableEntityErrorMessageResponse';
export * from './updateAccountRequest';
export * from './updateAccountResponse';
export * from './validationErrorCode';
export * from './validationErrorMessageResponse';
import * as fs from 'fs';
export interface RequestDetailedFile {
value: Buffer;
options?: {
filename?: string;
contentType?: string;
};
}
export type RequestFile = string | Buffer | fs.ReadStream | RequestDetailedFile;
export declare class ObjectSerializer {
static findCorrectType(data: any, expectedType: string): any;
static serialize(data: any, type: string): any;
static deserialize(data: any, type: string): any;
}
export interface Authentication {
/**
* Apply authentication settings to header and query params.
*/
applyToRequest(requestOptions: localVarRequest.Options): Promise | void;
}
export declare class HttpBasicAuth implements Authentication {
username: string;
password: string;
applyToRequest(requestOptions: localVarRequest.Options): void;
}
export declare class HttpBearerAuth implements Authentication {
accessToken: string | (() => string);
applyToRequest(requestOptions: localVarRequest.Options): void;
}
export declare class ApiKeyAuth implements Authentication {
private location;
private paramName;
apiKey: string;
constructor(location: string, paramName: string);
applyToRequest(requestOptions: localVarRequest.Options): void;
}
export declare class OAuth implements Authentication {
accessToken: string;
applyToRequest(requestOptions: localVarRequest.Options): void;
}
export declare class VoidAuth implements Authentication {
username: string;
password: string;
applyToRequest(_: localVarRequest.Options): void;
}
export type Interceptor = (requestOptions: localVarRequest.Options) => Promise | void;