///
import http from 'http';
import { EmployeeAPIKey } from '../model/employeeAPIKey';
import { WTEmployeeAPIKey } from '../model/wTEmployeeAPIKey';
import { WTEmployeeAPIKeyCreateParams } from '../model/wTEmployeeAPIKeyCreateParams';
import { WTEmployeeAPIKeyUpdateParams } from '../model/wTEmployeeAPIKeyUpdateParams';
import { Authentication, Interceptor } from '../model/models';
import { ApiKeyAuth } from '../model/models';
export declare enum APIKeysApiApiKeys {
api_key = 0
}
export declare class APIKeysApi {
protected _basePath: string;
protected _defaultHeaders: any;
protected _useQuerystring: boolean;
protected authentications: {
default: Authentication;
api_key: ApiKeyAuth;
};
protected interceptors: Interceptor[];
constructor(basePath?: string);
set useQuerystring(value: boolean);
set basePath(basePath: string);
set defaultHeaders(defaultHeaders: any);
get defaultHeaders(): any;
get basePath(): string;
setDefaultAuthentication(auth: Authentication): void;
setApiKey(key: APIKeysApiApiKeys, value: string): void;
addInterceptor(interceptor: Interceptor): void;
archiveEmployeeAPIKeys(id: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: EmployeeAPIKey;
}>;
createEmployeeAPIKeys(wTEmployeeAPIKeyCreateParams: WTEmployeeAPIKeyCreateParams, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: EmployeeAPIKey;
}>;
fetchAllEmployeeAPIKeys(isArchiveIncluded?: boolean, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: Array;
}>;
fetchEmployeeAPIKeyById(id: string, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: WTEmployeeAPIKey;
}>;
updateEmployeeAPIKeys(id: string, wTEmployeeAPIKeyUpdateParams: WTEmployeeAPIKeyUpdateParams, options?: {
headers: {
[name: string]: string;
};
}): Promise<{
response: http.IncomingMessage;
body: EmployeeAPIKey;
}>;
}