/// import http from 'http'; import { GetDistributionLists200Response } from '../model/getDistributionLists200Response'; import { GetDistributionLists200ResponseDistributionLists } from '../model/getDistributionLists200ResponseDistributionLists'; import { Authentication, Interceptor } from '../model/models'; import { HttpBasicAuth, ApiKeyAuth } from '../model/models'; export declare enum DistributionListsApiApiKeys { ApiKeyAuth = 0 } export declare class DistributionListsApi { 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: DistributionListsApiApiKeys, value: string): void; set username(username: string); set password(password: string); addInterceptor(interceptor: Interceptor): void; deleteDistributionListsById(workspaceId: string, xApiKey: string, distributionlistId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body?: any; }>; getDistributionLists(workspaceId: string, xApiKey: string, accept: 'application/vnd.whispir.distributionlist-v1+json' | 'application/vnd.whispir.distributionlist-v1+xml', limit?: number, offset?: number, sortOrder?: 'asc' | 'desc', sortFields?: string, name?: string, description?: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetDistributionLists200Response; }>; getDistributionListsById(workspaceId: string, xApiKey: string, accept: 'application/vnd.whispir.distributionlist-v1+json' | 'application/vnd.whispir.distributionlist-v1+xml', distributionlistId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetDistributionLists200ResponseDistributionLists; }>; postDistributionLists(workspaceId: string, xApiKey: string, contentType: 'application/vnd.whispir.distributionlist-v1+json' | 'application/vnd.whispir.distributionlist-v1+xml', accept: 'application/vnd.whispir.distributionlist-v1+json' | 'application/vnd.whispir.distributionlist-v1+xml', getDistributionLists200ResponseDistributionLists: GetDistributionLists200ResponseDistributionLists, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetDistributionLists200ResponseDistributionLists; }>; putDistributionListsById(workspaceId: string, xApiKey: string, contentType: 'application/vnd.whispir.distributionlist-v1+json' | 'application/vnd.whispir.distributionlist-v1+xml', accept: 'application/vnd.whispir.distributionlist-v1+json' | 'application/vnd.whispir.distributionlist-v1+xml', distributionlistId: string, getDistributionLists200ResponseDistributionLists: GetDistributionLists200ResponseDistributionLists, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body?: any; }>; }