/// import http from 'http'; import { CustomList } from '../model/customList'; import { GetCustomLists200Response } from '../model/getCustomLists200Response'; import { Authentication, Interceptor } from '../model/models'; import { HttpBasicAuth, ApiKeyAuth } from '../model/models'; export declare enum CustomListsApiApiKeys { ApiKeyAuth = 0 } export declare class CustomListsApi { protected _basePath: string; protected _defaultHeaders: any; protected _useQuerystring: boolean; protected authentications: { default: Authentication; ApiKeyAuth: ApiKeyAuth; BasicAuth: HttpBasicAuth; }; protected interceptors: Interceptor[]; constructor(basePath?: string); constructor(username: string, password: string, 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: CustomListsApiApiKeys, value: string): void; set username(username: string); set password(password: string); addInterceptor(interceptor: Interceptor): void; getCustomLists(xApiKey: string, accept: 'application/vnd.whispir.customlist-v1+json' | 'application/vnd.whispir.customlist-v1+xml', limit?: number, offset?: number, sortOrder?: 'asc' | 'desc', sortFields?: string, name?: string, type?: 'INCIDENT' | 'MESSAGE' | 'CONTACT' | 'RSS', options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetCustomLists200Response; }>; getCustomListsById(xApiKey: string, accept: 'application/vnd.whispir.customlist-v1+json' | 'application/vnd.whispir.customlist-v1+xml', customlistId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: CustomList; }>; }