/// import http from 'http'; import { GetScenarios200Response } from '../model/getScenarios200Response'; import { Scenario } from '../model/scenario'; import { Authentication, Interceptor } from '../model/models'; import { HttpBasicAuth, ApiKeyAuth } from '../model/models'; export declare enum ScenariosApiApiKeys { ApiKeyAuth = 0 } export declare class ScenariosApi { 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: ScenariosApiApiKeys, value: string): void; set username(username: string); set password(password: string); addInterceptor(interceptor: Interceptor): void; deleteScenariosById(workspaceId: string, xApiKey: string, scenarioId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body?: any; }>; getScenarios(workspaceId: string, xApiKey: string, accept: 'application/vnd.whispir.scenario-v1+json' | 'application/vnd.whispir.scenario-v1+xml', limit?: number, offset?: number, sortOrder?: 'asc' | 'desc', sortFields?: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: GetScenarios200Response; }>; getScenariosById(workspaceId: string, xApiKey: string, accept: 'application/vnd.whispir.scenario-v1+json' | 'application/vnd.whispir.scenario-v1+xml', scenarioId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: Scenario; }>; postScenarios(workspaceId: string, xApiKey: string, contentType: 'application/vnd.whispir.scenario-v1+json' | 'application/vnd.whispir.scenario-v1+xml', accept: 'application/vnd.whispir.scenario-v1+json' | 'application/vnd.whispir.scenario-v1+xml', scenario: Scenario, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body?: any; }>; postScenariosById(workspaceId: string, xApiKey: string, contentType: 'application/vnd.whispir.scenario-v1+json' | 'application/vnd.whispir.scenario-v1+xml', accept: 'application/vnd.whispir.scenario-v1+json' | 'application/vnd.whispir.scenario-v1+xml', scenarioId: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body?: any; }>; putScenariosById(workspaceId: string, xApiKey: string, contentType: 'application/vnd.whispir.scenario-v1+json' | 'application/vnd.whispir.scenario-v1+xml', accept: 'application/vnd.whispir.scenario-v1+json' | 'application/vnd.whispir.scenario-v1+xml', scenarioId: string, scenario: Scenario, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body?: any; }>; }