/// import http from 'http'; import { GetUsers200Response } from '../model/getUsers200Response'; import { User } from '../model/user'; import { Authentication, Interceptor } from '../model/models'; import { HttpBasicAuth, ApiKeyAuth } from '../model/models'; export declare enum UsersApiApiKeys { ApiKeyAuth = 0 } export declare class UsersApi { 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: UsersApiApiKeys, value: string): void; set username(username: string); set password(password: string); addInterceptor(interceptor: Interceptor): void; deleteUsers(xApiKey: string, contentType: 'application/vnd.whispir.user-v1+json' | 'application/vnd.whispir.user-v1+xml', accept: 'application/vnd.whispir.user-v1+json' | 'application/vnd.whispir.user-v1+xml', options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body?: any; }>; deleteUsersById(xApiKey: string, userId: string, contentType: 'application/vnd.whispir.user-v1+json' | 'application/vnd.whispir.user-v1+xml', accept: 'application/vnd.whispir.user-v1+json' | 'application/vnd.whispir.user-v1+xml', options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body?: any; }>; getUsers(xApiKey: string, accept: 'application/vnd.whispir.user-v1+json' | 'application/vnd.whispir.user-v1+xml', fieldname?: string, sortOrder?: 'asc' | 'desc', sortFields?: string, limit?: number, offset?: number, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetUsers200Response; }>; getUsersById(xApiKey: string, userId: string, accept: 'application/vnd.whispir.user-v1+json' | 'application/vnd.whispir.user-v1+xml', options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: User; }>; getWorkspaceUsers(workspaceId: string, xApiKey: string, accept: 'application/vnd.whispir.user-v1+json' | 'application/vnd.whispir.user-v1+xml', sortOrder?: 'asc' | 'desc', sortFields?: string, limit?: number, offset?: number, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetUsers200Response; }>; postUsers(xApiKey: string, contentType: 'application/vnd.whispir.user-v1+json' | 'application/vnd.whispir.user-v1+xml', accept: 'application/vnd.whispir.user-v1+json' | 'application/vnd.whispir.user-v1+xml', user: User, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: User; }>; putUsersById(xApiKey: string, userId: string, contentType: 'application/vnd.whispir.user-v1+json' | 'application/vnd.whispir.user-v1+xml', accept: 'application/vnd.whispir.user-v1+json' | 'application/vnd.whispir.user-v1+xml', user: User, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body?: any; }>; }