/// import http from 'http'; import { Ticket } from '../model/ticket'; import { WTTicket } from '../model/wTTicket'; import { WTTicketCreateParams } from '../model/wTTicketCreateParams'; import { WTTicketUpdateParams } from '../model/wTTicketUpdateParams'; import { Authentication, Interceptor } from '../model/models'; import { ApiKeyAuth } from '../model/models'; export declare enum TicketsApiApiKeys { api_key = 0 } export declare class TicketsApi { 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: TicketsApiApiKeys, value: string): void; addInterceptor(interceptor: Interceptor): void; archiveTicket(id: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: Ticket; }>; createTicket(wTTicketCreateParams: WTTicketCreateParams, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: Ticket; }>; fetchTicket(id: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: WTTicket; }>; restoreTicket(id: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: Ticket; }>; updateTicket(id: string, wTTicketUpdateParams: WTTicketUpdateParams, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: Ticket; }>; }