/// import http from 'http'; import { CountClaimedComps200Response } from '../model/countClaimedComps200Response'; import { FetchPerformanceTicketsPage200Response } from '../model/fetchPerformanceTicketsPage200Response'; import { ImportTicketsRequest } from '../model/importTicketsRequest'; import { Performance } from '../model/performance'; import { SaveTicketSettingsRequest } from '../model/saveTicketSettingsRequest'; import { Ticket } from '../model/ticket'; import { WTPerformanceCreateParams } from '../model/wTPerformanceCreateParams'; import { WTPerformanceUpdateParams } from '../model/wTPerformanceUpdateParams'; import { Authentication, Interceptor } from '../model/models'; import { ApiKeyAuth } from '../model/models'; export declare enum PerformancesApiApiKeys { api_key = 0 } export declare class PerformancesApi { protected _basePath: string; protected _defaultHeaders: any; protected _useQuerystring: boolean; protected authentications: { 'default': Authentication; 'api_key': ApiKeyAuth; }; protected interceptors: Interceptor[]; constructor(basePath?: string); useQuerystring: boolean; basePath: string; defaultHeaders: any; setDefaultAuthentication(auth: Authentication): void; setApiKey(key: PerformancesApiApiKeys, value: string): void; addInterceptor(interceptor: Interceptor): void; archivePerformance(id: any, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: Performance; }>; countClaimedComps(id: any, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: CountClaimedComps200Response; }>; countRedeemedComps(id: any, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: CountClaimedComps200Response; }>; createPerformance(wTPerformanceCreateParams: WTPerformanceCreateParams, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: Performance; }>; exportTickets(id: any, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: Array; }>; fetchAllPerformanceTickets(id: any, isArchiveIncluded?: boolean, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: Array; }>; fetchAllPerformances(isArchiveIncluded?: boolean, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: any; }>; fetchPerformance(id: any, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: Performance; }>; fetchPerformanceTicketsPage(performanceID: any, pageNum: number, pageSize: number, filterComps?: boolean, filterClaimed?: boolean, sortBy?: any, sortDirection?: any, isArchiveIncluded?: boolean, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: FetchPerformanceTicketsPage200Response; }>; importTickets(id: any, importTicketsRequest: ImportTicketsRequest, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: string; }>; restorePerformance(id: any, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: Performance; }>; saveTicketSettings(id: any, saveTicketSettingsRequest: SaveTicketSettingsRequest, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: Performance; }>; updatePerformance(id: any, wTPerformanceUpdateParams: WTPerformanceUpdateParams, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.IncomingMessage; body: Performance; }>; }