@integrahub/vergefy-client 0.29.0 → 0.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/apis/APIACICheckinApi.d.ts +2 -2
- package/dist/apis/APIACICheckinApi.js +2 -2
- package/dist/apis/APIAINIntegrationApi.d.ts +2 -0
- package/dist/apis/APIAINIntegrationApi.js +2 -0
- package/dist/apis/APIAPUSHNotificationPushApi.d.ts +43 -0
- package/dist/apis/APIAPUSHNotificationPushApi.js +125 -0
- package/dist/apis/APPPTKTicketingPerformancesApi.d.ts +277 -0
- package/dist/apis/APPPTKTicketingPerformancesApi.js +752 -0
- package/dist/apis/APPPTKTicketingPricingApi.d.ts +338 -0
- package/dist/apis/APPPTKTicketingPricingApi.js +940 -0
- package/dist/apis/APPPTKTicketingProductionsApi.d.ts +216 -0
- package/dist/apis/APPPTKTicketingProductionsApi.js +546 -0
- package/dist/apis/APPPTKTicketingVenuesApi.d.ts +256 -0
- package/dist/apis/APPPTKTicketingVenuesApi.js +683 -0
- package/dist/apis/index.d.ts +4 -0
- package/dist/apis/index.js +4 -0
- package/dist/esm/apis/APIACICheckinApi.js +2 -2
- package/dist/esm/apis/APIAINIntegrationApi.js +2 -0
- package/dist/esm/apis/APIAPUSHNotificationPushApi.js +125 -0
- package/dist/esm/apis/APPPTKTicketingPerformancesApi.js +748 -0
- package/dist/esm/apis/APPPTKTicketingPricingApi.js +936 -0
- package/dist/esm/apis/APPPTKTicketingProductionsApi.js +542 -0
- package/dist/esm/apis/APPPTKTicketingVenuesApi.js +679 -0
- package/dist/esm/apis/index.js +4 -0
- package/dist/esm/ext/telemetry.js +1 -1
- package/dist/esm/models/AvailableProviderDTO.js +1 -0
- package/dist/esm/models/ChannelResult.js +1 -0
- package/dist/esm/models/ConnectorListingDTO.js +1 -0
- package/dist/esm/models/DataResponseDTOListTicketingFeeRuleDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOListTicketingFormatDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOListTicketingIndustryProfileDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOListTicketingTicketCategoryDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOTicketingIndustryDefaultsDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOTicketingPerformanceDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOTicketingPerformanceZoneDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOTicketingProductionDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOTicketingSpaceDTO.js +42 -0
- package/dist/esm/models/DataResponseDTOTicketingVenueDTO.js +42 -0
- package/dist/esm/models/EdgeGatewayDTO.js +1 -0
- package/dist/esm/models/ImportJobDTO.js +1 -0
- package/dist/esm/models/IntegrationConfigurationCreateDTO.js +1 -0
- package/dist/esm/models/IntegrationConfigurationDTO.js +1 -0
- package/dist/esm/models/IntegrationHealthSummaryDTO.js +1 -0
- package/dist/esm/models/PageTicketingPerformanceDTO.js +64 -0
- package/dist/esm/models/PageTicketingProductionDTO.js +64 -0
- package/dist/esm/models/PageTicketingVenueDTO.js +64 -0
- package/dist/esm/models/PerformCheckinRequestDTO.js +2 -0
- package/dist/esm/models/PlatformCheckoutDTO.js +2 -0
- package/dist/esm/models/ProviderHealthStatusDTO.js +1 -0
- package/dist/esm/models/PushNotificationDTO.js +2 -0
- package/dist/esm/models/SocialConnectionRegisterDTO.js +1 -0
- package/dist/esm/models/SocialProviderCredentialReadinessDTO.js +1 -0
- package/dist/esm/models/TicketingFeeRuleCreateDTO.js +73 -0
- package/dist/esm/models/TicketingFeeRuleDTO.js +102 -0
- package/dist/esm/models/TicketingFeeRuleUpdateDTO.js +65 -0
- package/dist/esm/models/TicketingFormatCreateDTO.js +47 -0
- package/dist/esm/models/TicketingFormatDTO.js +80 -0
- package/dist/esm/models/TicketingFormatUpdateDTO.js +41 -0
- package/dist/esm/models/TicketingIndustryCategoryDTO.js +45 -0
- package/dist/esm/models/TicketingIndustryDefaultsDTO.js +48 -0
- package/dist/esm/models/TicketingIndustryFeeRuleDTO.js +61 -0
- package/dist/esm/models/TicketingIndustryFormatDTO.js +43 -0
- package/dist/esm/models/TicketingIndustryProfileDTO.js +67 -0
- package/dist/esm/models/TicketingPerformanceCreateDTO.js +65 -0
- package/dist/esm/models/TicketingPerformanceDTO.js +124 -0
- package/dist/esm/models/TicketingPerformancePriceDTO.js +53 -0
- package/dist/esm/models/TicketingPerformancePricesDTO.js +44 -0
- package/dist/esm/models/TicketingPerformanceUpdateDTO.js +55 -0
- package/dist/esm/models/TicketingPerformanceZoneDTO.js +53 -0
- package/dist/esm/models/TicketingPerformanceZoneUpdateDTO.js +43 -0
- package/dist/esm/models/TicketingPriceDefinitionDTO.js +55 -0
- package/dist/esm/models/TicketingProductionCreateDTO.js +76 -0
- package/dist/esm/models/TicketingProductionDTO.js +119 -0
- package/dist/esm/models/TicketingProductionUpdateDTO.js +72 -0
- package/dist/esm/models/TicketingSpaceCreateDTO.js +72 -0
- package/dist/esm/models/TicketingSpaceDTO.js +109 -0
- package/dist/esm/models/TicketingSpaceUpdateDTO.js +56 -0
- package/dist/esm/models/TicketingSpaceZoneDTO.js +47 -0
- package/dist/esm/models/TicketingSpaceZonesDTO.js +44 -0
- package/dist/esm/models/TicketingTicketCategoryCreateDTO.js +51 -0
- package/dist/esm/models/TicketingTicketCategoryDTO.js +84 -0
- package/dist/esm/models/TicketingTicketCategoryUpdateDTO.js +45 -0
- package/dist/esm/models/TicketingVenueCreateDTO.js +74 -0
- package/dist/esm/models/TicketingVenueDTO.js +108 -0
- package/dist/esm/models/TicketingVenueUpdateDTO.js +68 -0
- package/dist/esm/models/TicketingZoneDefinitionDTO.js +47 -0
- package/dist/esm/models/index.js +47 -0
- package/dist/ext/telemetry.d.ts +1 -1
- package/dist/ext/telemetry.js +1 -1
- package/dist/models/AvailableProviderDTO.d.ts +1 -0
- package/dist/models/AvailableProviderDTO.js +1 -0
- package/dist/models/ChannelResult.d.ts +1 -0
- package/dist/models/ChannelResult.js +1 -0
- package/dist/models/ConnectorListingDTO.d.ts +1 -0
- package/dist/models/ConnectorListingDTO.js +1 -0
- package/dist/models/DataResponseDTOListTicketingFeeRuleDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOListTicketingFeeRuleDTO.js +49 -0
- package/dist/models/DataResponseDTOListTicketingFormatDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOListTicketingFormatDTO.js +49 -0
- package/dist/models/DataResponseDTOListTicketingIndustryProfileDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOListTicketingIndustryProfileDTO.js +49 -0
- package/dist/models/DataResponseDTOListTicketingTicketCategoryDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOListTicketingTicketCategoryDTO.js +49 -0
- package/dist/models/DataResponseDTOTicketingIndustryDefaultsDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOTicketingIndustryDefaultsDTO.js +49 -0
- package/dist/models/DataResponseDTOTicketingPerformanceDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOTicketingPerformanceDTO.js +49 -0
- package/dist/models/DataResponseDTOTicketingPerformanceZoneDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOTicketingPerformanceZoneDTO.js +49 -0
- package/dist/models/DataResponseDTOTicketingProductionDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOTicketingProductionDTO.js +49 -0
- package/dist/models/DataResponseDTOTicketingSpaceDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOTicketingSpaceDTO.js +49 -0
- package/dist/models/DataResponseDTOTicketingVenueDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOTicketingVenueDTO.js +49 -0
- package/dist/models/EdgeGatewayDTO.d.ts +1 -0
- package/dist/models/EdgeGatewayDTO.js +1 -0
- package/dist/models/ImportJobDTO.d.ts +1 -0
- package/dist/models/ImportJobDTO.js +1 -0
- package/dist/models/IntegrationConfigurationCreateDTO.d.ts +1 -0
- package/dist/models/IntegrationConfigurationCreateDTO.js +1 -0
- package/dist/models/IntegrationConfigurationDTO.d.ts +1 -0
- package/dist/models/IntegrationConfigurationDTO.js +1 -0
- package/dist/models/IntegrationHealthSummaryDTO.d.ts +1 -0
- package/dist/models/IntegrationHealthSummaryDTO.js +1 -0
- package/dist/models/PageTicketingPerformanceDTO.d.ts +95 -0
- package/dist/models/PageTicketingPerformanceDTO.js +71 -0
- package/dist/models/PageTicketingProductionDTO.d.ts +95 -0
- package/dist/models/PageTicketingProductionDTO.js +71 -0
- package/dist/models/PageTicketingVenueDTO.d.ts +95 -0
- package/dist/models/PageTicketingVenueDTO.js +71 -0
- package/dist/models/PerformCheckinRequestDTO.d.ts +6 -0
- package/dist/models/PerformCheckinRequestDTO.js +2 -0
- package/dist/models/PlatformCheckoutDTO.d.ts +6 -0
- package/dist/models/PlatformCheckoutDTO.js +2 -0
- package/dist/models/ProviderHealthStatusDTO.d.ts +1 -0
- package/dist/models/ProviderHealthStatusDTO.js +1 -0
- package/dist/models/PushNotificationDTO.d.ts +6 -0
- package/dist/models/PushNotificationDTO.js +2 -0
- package/dist/models/SocialConnectionRegisterDTO.d.ts +1 -0
- package/dist/models/SocialConnectionRegisterDTO.js +1 -0
- package/dist/models/SocialProviderCredentialReadinessDTO.d.ts +1 -0
- package/dist/models/SocialProviderCredentialReadinessDTO.js +1 -0
- package/dist/models/TicketingFeeRuleCreateDTO.d.ts +78 -0
- package/dist/models/TicketingFeeRuleCreateDTO.js +81 -0
- package/dist/models/TicketingFeeRuleDTO.d.ts +168 -0
- package/dist/models/TicketingFeeRuleDTO.js +110 -0
- package/dist/models/TicketingFeeRuleUpdateDTO.d.ts +78 -0
- package/dist/models/TicketingFeeRuleUpdateDTO.js +73 -0
- package/dist/models/TicketingFormatCreateDTO.d.ts +38 -0
- package/dist/models/TicketingFormatCreateDTO.js +54 -0
- package/dist/models/TicketingFormatDTO.d.ts +128 -0
- package/dist/models/TicketingFormatDTO.js +88 -0
- package/dist/models/TicketingFormatUpdateDTO.d.ts +32 -0
- package/dist/models/TicketingFormatUpdateDTO.js +48 -0
- package/dist/models/TicketingIndustryCategoryDTO.d.ts +44 -0
- package/dist/models/TicketingIndustryCategoryDTO.js +52 -0
- package/dist/models/TicketingIndustryDefaultsDTO.d.ts +47 -0
- package/dist/models/TicketingIndustryDefaultsDTO.js +55 -0
- package/dist/models/TicketingIndustryFeeRuleDTO.d.ts +66 -0
- package/dist/models/TicketingIndustryFeeRuleDTO.js +69 -0
- package/dist/models/TicketingIndustryFormatDTO.d.ts +38 -0
- package/dist/models/TicketingIndustryFormatDTO.js +50 -0
- package/dist/models/TicketingIndustryProfileDTO.d.ts +79 -0
- package/dist/models/TicketingIndustryProfileDTO.js +75 -0
- package/dist/models/TicketingPerformanceCreateDTO.d.ts +86 -0
- package/dist/models/TicketingPerformanceCreateDTO.js +72 -0
- package/dist/models/TicketingPerformanceDTO.d.ts +237 -0
- package/dist/models/TicketingPerformanceDTO.js +132 -0
- package/dist/models/TicketingPerformancePriceDTO.d.ts +68 -0
- package/dist/models/TicketingPerformancePriceDTO.js +60 -0
- package/dist/models/TicketingPerformancePricesDTO.d.ts +33 -0
- package/dist/models/TicketingPerformancePricesDTO.js +51 -0
- package/dist/models/TicketingPerformanceUpdateDTO.d.ts +74 -0
- package/dist/models/TicketingPerformanceUpdateDTO.js +62 -0
- package/dist/models/TicketingPerformanceZoneDTO.d.ts +68 -0
- package/dist/models/TicketingPerformanceZoneDTO.js +60 -0
- package/dist/models/TicketingPerformanceZoneUpdateDTO.d.ts +32 -0
- package/dist/models/TicketingPerformanceZoneUpdateDTO.js +50 -0
- package/dist/models/TicketingPriceDefinitionDTO.d.ts +50 -0
- package/dist/models/TicketingPriceDefinitionDTO.js +62 -0
- package/dist/models/TicketingProductionCreateDTO.d.ts +100 -0
- package/dist/models/TicketingProductionCreateDTO.js +84 -0
- package/dist/models/TicketingProductionDTO.d.ts +205 -0
- package/dist/models/TicketingProductionDTO.js +127 -0
- package/dist/models/TicketingProductionUpdateDTO.d.ts +100 -0
- package/dist/models/TicketingProductionUpdateDTO.js +80 -0
- package/dist/models/TicketingSpaceCreateDTO.d.ts +73 -0
- package/dist/models/TicketingSpaceCreateDTO.js +80 -0
- package/dist/models/TicketingSpaceDTO.d.ts +175 -0
- package/dist/models/TicketingSpaceDTO.js +117 -0
- package/dist/models/TicketingSpaceUpdateDTO.d.ts +52 -0
- package/dist/models/TicketingSpaceUpdateDTO.js +64 -0
- package/dist/models/TicketingSpaceZoneDTO.d.ts +50 -0
- package/dist/models/TicketingSpaceZoneDTO.js +54 -0
- package/dist/models/TicketingSpaceZonesDTO.d.ts +33 -0
- package/dist/models/TicketingSpaceZonesDTO.js +51 -0
- package/dist/models/TicketingTicketCategoryCreateDTO.d.ts +50 -0
- package/dist/models/TicketingTicketCategoryCreateDTO.js +58 -0
- package/dist/models/TicketingTicketCategoryDTO.d.ts +140 -0
- package/dist/models/TicketingTicketCategoryDTO.js +92 -0
- package/dist/models/TicketingTicketCategoryUpdateDTO.d.ts +44 -0
- package/dist/models/TicketingTicketCategoryUpdateDTO.js +52 -0
- package/dist/models/TicketingVenueCreateDTO.d.ts +88 -0
- package/dist/models/TicketingVenueCreateDTO.js +82 -0
- package/dist/models/TicketingVenueDTO.d.ts +185 -0
- package/dist/models/TicketingVenueDTO.js +116 -0
- package/dist/models/TicketingVenueUpdateDTO.d.ts +88 -0
- package/dist/models/TicketingVenueUpdateDTO.js +76 -0
- package/dist/models/TicketingZoneDefinitionDTO.d.ts +38 -0
- package/dist/models/TicketingZoneDefinitionDTO.js +54 -0
- package/dist/models/index.d.ts +47 -0
- package/dist/models/index.js +47 -0
- package/package.json +1 -1
|
@@ -0,0 +1,752 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Vergefy API
|
|
6
|
+
* <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2026-05-30
|
|
9
|
+
* Contact: support@integrahub.co
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.PTKF002EntityStatusesEnum = exports.PTKF002StatusEnum = exports.APPPTKTicketingPerformancesApi = void 0;
|
|
26
|
+
const runtime = require("../runtime");
|
|
27
|
+
const DataResponseDTOCreatedResponseDTO_1 = require("../models/DataResponseDTOCreatedResponseDTO");
|
|
28
|
+
const DataResponseDTOTicketingPerformanceDTO_1 = require("../models/DataResponseDTOTicketingPerformanceDTO");
|
|
29
|
+
const DataResponseDTOTicketingPerformanceZoneDTO_1 = require("../models/DataResponseDTOTicketingPerformanceZoneDTO");
|
|
30
|
+
const PageTicketingPerformanceDTO_1 = require("../models/PageTicketingPerformanceDTO");
|
|
31
|
+
const TicketingPerformanceCreateDTO_1 = require("../models/TicketingPerformanceCreateDTO");
|
|
32
|
+
const TicketingPerformancePricesDTO_1 = require("../models/TicketingPerformancePricesDTO");
|
|
33
|
+
const TicketingPerformanceUpdateDTO_1 = require("../models/TicketingPerformanceUpdateDTO");
|
|
34
|
+
const TicketingPerformanceZoneUpdateDTO_1 = require("../models/TicketingPerformanceZoneUpdateDTO");
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
class APPPTKTicketingPerformancesApi extends runtime.BaseAPI {
|
|
39
|
+
/**
|
|
40
|
+
* Creates request options for pTKF001 without sending the request
|
|
41
|
+
*/
|
|
42
|
+
pTKF001RequestOpts(requestParameters) {
|
|
43
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
44
|
+
if (requestParameters['id'] == null) {
|
|
45
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling pTKF001().');
|
|
46
|
+
}
|
|
47
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
48
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pTKF001().');
|
|
49
|
+
}
|
|
50
|
+
const queryParameters = {};
|
|
51
|
+
const headerParameters = {};
|
|
52
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
53
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
54
|
+
}
|
|
55
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
56
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
57
|
+
}
|
|
58
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
59
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
60
|
+
}
|
|
61
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
62
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
63
|
+
}
|
|
64
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
65
|
+
const token = this.configuration.accessToken;
|
|
66
|
+
const tokenString = yield token("BearerAuth", []);
|
|
67
|
+
if (tokenString) {
|
|
68
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
let urlPath = `/app/ticketing/performances/{id}`;
|
|
72
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
73
|
+
return {
|
|
74
|
+
path: urlPath,
|
|
75
|
+
method: 'GET',
|
|
76
|
+
headers: headerParameters,
|
|
77
|
+
query: queryParameters,
|
|
78
|
+
};
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* A performance with its zones\' places and its prices
|
|
83
|
+
* PTKF001 - Get Ticketing Performance
|
|
84
|
+
*/
|
|
85
|
+
pTKF001Raw(requestParameters, initOverrides) {
|
|
86
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
87
|
+
const requestOptions = yield this.pTKF001RequestOpts(requestParameters);
|
|
88
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
89
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, DataResponseDTOTicketingPerformanceDTO_1.DataResponseDTOTicketingPerformanceDTOFromJSON)(jsonValue));
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* A performance with its zones\' places and its prices
|
|
94
|
+
* PTKF001 - Get Ticketing Performance
|
|
95
|
+
*/
|
|
96
|
+
pTKF001(requestParameters, initOverrides) {
|
|
97
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
98
|
+
const response = yield this.pTKF001Raw(requestParameters, initOverrides);
|
|
99
|
+
return yield response.value();
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Creates request options for pTKF002 without sending the request
|
|
104
|
+
*/
|
|
105
|
+
pTKF002RequestOpts(requestParameters) {
|
|
106
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
107
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
108
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pTKF002().');
|
|
109
|
+
}
|
|
110
|
+
const queryParameters = {};
|
|
111
|
+
if (requestParameters['productionId'] != null) {
|
|
112
|
+
queryParameters['productionId'] = requestParameters['productionId'];
|
|
113
|
+
}
|
|
114
|
+
if (requestParameters['venueId'] != null) {
|
|
115
|
+
queryParameters['venueId'] = requestParameters['venueId'];
|
|
116
|
+
}
|
|
117
|
+
if (requestParameters['spaceId'] != null) {
|
|
118
|
+
queryParameters['spaceId'] = requestParameters['spaceId'];
|
|
119
|
+
}
|
|
120
|
+
if (requestParameters['startsFrom'] != null) {
|
|
121
|
+
queryParameters['startsFrom'] = requestParameters['startsFrom'].toISOString();
|
|
122
|
+
}
|
|
123
|
+
if (requestParameters['startsTo'] != null) {
|
|
124
|
+
queryParameters['startsTo'] = requestParameters['startsTo'].toISOString();
|
|
125
|
+
}
|
|
126
|
+
if (requestParameters['status'] != null) {
|
|
127
|
+
queryParameters['status'] = requestParameters['status'];
|
|
128
|
+
}
|
|
129
|
+
if (requestParameters['search'] != null) {
|
|
130
|
+
queryParameters['search'] = requestParameters['search'];
|
|
131
|
+
}
|
|
132
|
+
if (requestParameters['entityStatuses'] != null) {
|
|
133
|
+
queryParameters['entityStatuses'] = requestParameters['entityStatuses'];
|
|
134
|
+
}
|
|
135
|
+
if (requestParameters['ids'] != null) {
|
|
136
|
+
queryParameters['ids'] = requestParameters['ids'];
|
|
137
|
+
}
|
|
138
|
+
if (requestParameters['uuids'] != null) {
|
|
139
|
+
queryParameters['uuids'] = requestParameters['uuids'];
|
|
140
|
+
}
|
|
141
|
+
if (requestParameters['externalIds'] != null) {
|
|
142
|
+
queryParameters['externalIds'] = requestParameters['externalIds'];
|
|
143
|
+
}
|
|
144
|
+
if (requestParameters['customIds'] != null) {
|
|
145
|
+
queryParameters['customIds'] = requestParameters['customIds'];
|
|
146
|
+
}
|
|
147
|
+
if (requestParameters['createdAtStart'] != null) {
|
|
148
|
+
queryParameters['createdAtStart'] = requestParameters['createdAtStart'].toISOString();
|
|
149
|
+
}
|
|
150
|
+
if (requestParameters['createdAtEnd'] != null) {
|
|
151
|
+
queryParameters['createdAtEnd'] = requestParameters['createdAtEnd'].toISOString();
|
|
152
|
+
}
|
|
153
|
+
if (requestParameters['page'] != null) {
|
|
154
|
+
queryParameters['page'] = requestParameters['page'];
|
|
155
|
+
}
|
|
156
|
+
if (requestParameters['size'] != null) {
|
|
157
|
+
queryParameters['size'] = requestParameters['size'];
|
|
158
|
+
}
|
|
159
|
+
if (requestParameters['sort'] != null) {
|
|
160
|
+
queryParameters['sort'] = requestParameters['sort'];
|
|
161
|
+
}
|
|
162
|
+
const headerParameters = {};
|
|
163
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
164
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
165
|
+
}
|
|
166
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
167
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
168
|
+
}
|
|
169
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
170
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
171
|
+
}
|
|
172
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
173
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
174
|
+
}
|
|
175
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
176
|
+
const token = this.configuration.accessToken;
|
|
177
|
+
const tokenString = yield token("BearerAuth", []);
|
|
178
|
+
if (tokenString) {
|
|
179
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
let urlPath = `/app/ticketing/performances`;
|
|
183
|
+
return {
|
|
184
|
+
path: urlPath,
|
|
185
|
+
method: 'GET',
|
|
186
|
+
headers: headerParameters,
|
|
187
|
+
query: queryParameters,
|
|
188
|
+
};
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* Performances by production, venue, space, start window and status, earliest first; without their zones and prices
|
|
193
|
+
* PTKF002 - Search Ticketing Performances
|
|
194
|
+
*/
|
|
195
|
+
pTKF002Raw(requestParameters, initOverrides) {
|
|
196
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
197
|
+
const requestOptions = yield this.pTKF002RequestOpts(requestParameters);
|
|
198
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
199
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, PageTicketingPerformanceDTO_1.PageTicketingPerformanceDTOFromJSON)(jsonValue));
|
|
200
|
+
});
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* Performances by production, venue, space, start window and status, earliest first; without their zones and prices
|
|
204
|
+
* PTKF002 - Search Ticketing Performances
|
|
205
|
+
*/
|
|
206
|
+
pTKF002(requestParameters, initOverrides) {
|
|
207
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
208
|
+
const response = yield this.pTKF002Raw(requestParameters, initOverrides);
|
|
209
|
+
return yield response.value();
|
|
210
|
+
});
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* Creates request options for pTKF100 without sending the request
|
|
214
|
+
*/
|
|
215
|
+
pTKF100RequestOpts(requestParameters) {
|
|
216
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
217
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
218
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pTKF100().');
|
|
219
|
+
}
|
|
220
|
+
if (requestParameters['ticketingPerformanceCreateDTO'] == null) {
|
|
221
|
+
throw new runtime.RequiredError('ticketingPerformanceCreateDTO', 'Required parameter "ticketingPerformanceCreateDTO" was null or undefined when calling pTKF100().');
|
|
222
|
+
}
|
|
223
|
+
const queryParameters = {};
|
|
224
|
+
const headerParameters = {};
|
|
225
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
226
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
227
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
228
|
+
}
|
|
229
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
230
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
231
|
+
}
|
|
232
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
233
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
234
|
+
}
|
|
235
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
236
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
237
|
+
}
|
|
238
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
239
|
+
const token = this.configuration.accessToken;
|
|
240
|
+
const tokenString = yield token("BearerAuth", []);
|
|
241
|
+
if (tokenString) {
|
|
242
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
let urlPath = `/app/ticketing/performances`;
|
|
246
|
+
return {
|
|
247
|
+
path: urlPath,
|
|
248
|
+
method: 'POST',
|
|
249
|
+
headers: headerParameters,
|
|
250
|
+
query: queryParameters,
|
|
251
|
+
body: (0, TicketingPerformanceCreateDTO_1.TicketingPerformanceCreateDTOToJSON)(requestParameters['ticketingPerformanceCreateDTO']),
|
|
252
|
+
};
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
/**
|
|
256
|
+
* Schedules a production in a space; the performance starts with the space\'s zones
|
|
257
|
+
* PTKF100 - Create Ticketing Performance
|
|
258
|
+
*/
|
|
259
|
+
pTKF100Raw(requestParameters, initOverrides) {
|
|
260
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
261
|
+
const requestOptions = yield this.pTKF100RequestOpts(requestParameters);
|
|
262
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
263
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, DataResponseDTOCreatedResponseDTO_1.DataResponseDTOCreatedResponseDTOFromJSON)(jsonValue));
|
|
264
|
+
});
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* Schedules a production in a space; the performance starts with the space\'s zones
|
|
268
|
+
* PTKF100 - Create Ticketing Performance
|
|
269
|
+
*/
|
|
270
|
+
pTKF100(requestParameters, initOverrides) {
|
|
271
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
272
|
+
const response = yield this.pTKF100Raw(requestParameters, initOverrides);
|
|
273
|
+
return yield response.value();
|
|
274
|
+
});
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* Creates request options for pTKF101 without sending the request
|
|
278
|
+
*/
|
|
279
|
+
pTKF101RequestOpts(requestParameters) {
|
|
280
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
281
|
+
if (requestParameters['id'] == null) {
|
|
282
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling pTKF101().');
|
|
283
|
+
}
|
|
284
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
285
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pTKF101().');
|
|
286
|
+
}
|
|
287
|
+
if (requestParameters['ticketingPerformanceUpdateDTO'] == null) {
|
|
288
|
+
throw new runtime.RequiredError('ticketingPerformanceUpdateDTO', 'Required parameter "ticketingPerformanceUpdateDTO" was null or undefined when calling pTKF101().');
|
|
289
|
+
}
|
|
290
|
+
const queryParameters = {};
|
|
291
|
+
const headerParameters = {};
|
|
292
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
293
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
294
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
295
|
+
}
|
|
296
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
297
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
298
|
+
}
|
|
299
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
300
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
301
|
+
}
|
|
302
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
303
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
304
|
+
}
|
|
305
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
306
|
+
const token = this.configuration.accessToken;
|
|
307
|
+
const tokenString = yield token("BearerAuth", []);
|
|
308
|
+
if (tokenString) {
|
|
309
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
let urlPath = `/app/ticketing/performances/{id}`;
|
|
313
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
314
|
+
return {
|
|
315
|
+
path: urlPath,
|
|
316
|
+
method: 'PUT',
|
|
317
|
+
headers: headerParameters,
|
|
318
|
+
query: queryParameters,
|
|
319
|
+
body: (0, TicketingPerformanceUpdateDTO_1.TicketingPerformanceUpdateDTOToJSON)(requestParameters['ticketingPerformanceUpdateDTO']),
|
|
320
|
+
};
|
|
321
|
+
});
|
|
322
|
+
}
|
|
323
|
+
/**
|
|
324
|
+
* Changes a performance\'s times, limits and formats; a new start moves its end and doors by as much unless they are given
|
|
325
|
+
* PTKF101 - Update Ticketing Performance
|
|
326
|
+
*/
|
|
327
|
+
pTKF101Raw(requestParameters, initOverrides) {
|
|
328
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
329
|
+
const requestOptions = yield this.pTKF101RequestOpts(requestParameters);
|
|
330
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
331
|
+
return new runtime.VoidApiResponse(response);
|
|
332
|
+
});
|
|
333
|
+
}
|
|
334
|
+
/**
|
|
335
|
+
* Changes a performance\'s times, limits and formats; a new start moves its end and doors by as much unless they are given
|
|
336
|
+
* PTKF101 - Update Ticketing Performance
|
|
337
|
+
*/
|
|
338
|
+
pTKF101(requestParameters, initOverrides) {
|
|
339
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
340
|
+
yield this.pTKF101Raw(requestParameters, initOverrides);
|
|
341
|
+
});
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
* Creates request options for pTKF102 without sending the request
|
|
345
|
+
*/
|
|
346
|
+
pTKF102RequestOpts(requestParameters) {
|
|
347
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
348
|
+
if (requestParameters['id'] == null) {
|
|
349
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling pTKF102().');
|
|
350
|
+
}
|
|
351
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
352
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pTKF102().');
|
|
353
|
+
}
|
|
354
|
+
const queryParameters = {};
|
|
355
|
+
const headerParameters = {};
|
|
356
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
357
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
358
|
+
}
|
|
359
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
360
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
361
|
+
}
|
|
362
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
363
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
364
|
+
}
|
|
365
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
366
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
367
|
+
}
|
|
368
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
369
|
+
const token = this.configuration.accessToken;
|
|
370
|
+
const tokenString = yield token("BearerAuth", []);
|
|
371
|
+
if (tokenString) {
|
|
372
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
let urlPath = `/app/ticketing/performances/{id}`;
|
|
376
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
377
|
+
return {
|
|
378
|
+
path: urlPath,
|
|
379
|
+
method: 'DELETE',
|
|
380
|
+
headers: headerParameters,
|
|
381
|
+
query: queryParameters,
|
|
382
|
+
};
|
|
383
|
+
});
|
|
384
|
+
}
|
|
385
|
+
/**
|
|
386
|
+
* Deletes a performance that is not on sale and has no place held or sold
|
|
387
|
+
* PTKF102 - Delete Ticketing Performance
|
|
388
|
+
*/
|
|
389
|
+
pTKF102Raw(requestParameters, initOverrides) {
|
|
390
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
391
|
+
const requestOptions = yield this.pTKF102RequestOpts(requestParameters);
|
|
392
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
393
|
+
return new runtime.VoidApiResponse(response);
|
|
394
|
+
});
|
|
395
|
+
}
|
|
396
|
+
/**
|
|
397
|
+
* Deletes a performance that is not on sale and has no place held or sold
|
|
398
|
+
* PTKF102 - Delete Ticketing Performance
|
|
399
|
+
*/
|
|
400
|
+
pTKF102(requestParameters, initOverrides) {
|
|
401
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
402
|
+
yield this.pTKF102Raw(requestParameters, initOverrides);
|
|
403
|
+
});
|
|
404
|
+
}
|
|
405
|
+
/**
|
|
406
|
+
* Creates request options for pTKF110 without sending the request
|
|
407
|
+
*/
|
|
408
|
+
pTKF110RequestOpts(requestParameters) {
|
|
409
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
410
|
+
if (requestParameters['id'] == null) {
|
|
411
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling pTKF110().');
|
|
412
|
+
}
|
|
413
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
414
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pTKF110().');
|
|
415
|
+
}
|
|
416
|
+
const queryParameters = {};
|
|
417
|
+
const headerParameters = {};
|
|
418
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
419
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
420
|
+
}
|
|
421
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
422
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
423
|
+
}
|
|
424
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
425
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
426
|
+
}
|
|
427
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
428
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
429
|
+
}
|
|
430
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
431
|
+
const token = this.configuration.accessToken;
|
|
432
|
+
const tokenString = yield token("BearerAuth", []);
|
|
433
|
+
if (tokenString) {
|
|
434
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
let urlPath = `/app/ticketing/performances/{id}/open-sales`;
|
|
438
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
439
|
+
return {
|
|
440
|
+
path: urlPath,
|
|
441
|
+
method: 'POST',
|
|
442
|
+
headers: headerParameters,
|
|
443
|
+
query: queryParameters,
|
|
444
|
+
};
|
|
445
|
+
});
|
|
446
|
+
}
|
|
447
|
+
/**
|
|
448
|
+
* Puts a scheduled or closed performance of a published production on sale before it starts; every zone needs a price
|
|
449
|
+
* PTKF110 - Open Ticketing Performance Sales
|
|
450
|
+
*/
|
|
451
|
+
pTKF110Raw(requestParameters, initOverrides) {
|
|
452
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
453
|
+
const requestOptions = yield this.pTKF110RequestOpts(requestParameters);
|
|
454
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
455
|
+
return new runtime.VoidApiResponse(response);
|
|
456
|
+
});
|
|
457
|
+
}
|
|
458
|
+
/**
|
|
459
|
+
* Puts a scheduled or closed performance of a published production on sale before it starts; every zone needs a price
|
|
460
|
+
* PTKF110 - Open Ticketing Performance Sales
|
|
461
|
+
*/
|
|
462
|
+
pTKF110(requestParameters, initOverrides) {
|
|
463
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
464
|
+
yield this.pTKF110Raw(requestParameters, initOverrides);
|
|
465
|
+
});
|
|
466
|
+
}
|
|
467
|
+
/**
|
|
468
|
+
* Creates request options for pTKF111 without sending the request
|
|
469
|
+
*/
|
|
470
|
+
pTKF111RequestOpts(requestParameters) {
|
|
471
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
472
|
+
if (requestParameters['id'] == null) {
|
|
473
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling pTKF111().');
|
|
474
|
+
}
|
|
475
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
476
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pTKF111().');
|
|
477
|
+
}
|
|
478
|
+
const queryParameters = {};
|
|
479
|
+
const headerParameters = {};
|
|
480
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
481
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
482
|
+
}
|
|
483
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
484
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
485
|
+
}
|
|
486
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
487
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
488
|
+
}
|
|
489
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
490
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
491
|
+
}
|
|
492
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
493
|
+
const token = this.configuration.accessToken;
|
|
494
|
+
const tokenString = yield token("BearerAuth", []);
|
|
495
|
+
if (tokenString) {
|
|
496
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
let urlPath = `/app/ticketing/performances/{id}/close-sales`;
|
|
500
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
501
|
+
return {
|
|
502
|
+
path: urlPath,
|
|
503
|
+
method: 'POST',
|
|
504
|
+
headers: headerParameters,
|
|
505
|
+
query: queryParameters,
|
|
506
|
+
};
|
|
507
|
+
});
|
|
508
|
+
}
|
|
509
|
+
/**
|
|
510
|
+
* Takes a performance off sale; it can be put back on sale
|
|
511
|
+
* PTKF111 - Close Ticketing Performance Sales
|
|
512
|
+
*/
|
|
513
|
+
pTKF111Raw(requestParameters, initOverrides) {
|
|
514
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
515
|
+
const requestOptions = yield this.pTKF111RequestOpts(requestParameters);
|
|
516
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
517
|
+
return new runtime.VoidApiResponse(response);
|
|
518
|
+
});
|
|
519
|
+
}
|
|
520
|
+
/**
|
|
521
|
+
* Takes a performance off sale; it can be put back on sale
|
|
522
|
+
* PTKF111 - Close Ticketing Performance Sales
|
|
523
|
+
*/
|
|
524
|
+
pTKF111(requestParameters, initOverrides) {
|
|
525
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
526
|
+
yield this.pTKF111Raw(requestParameters, initOverrides);
|
|
527
|
+
});
|
|
528
|
+
}
|
|
529
|
+
/**
|
|
530
|
+
* Creates request options for pTKF112 without sending the request
|
|
531
|
+
*/
|
|
532
|
+
pTKF112RequestOpts(requestParameters) {
|
|
533
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
534
|
+
if (requestParameters['id'] == null) {
|
|
535
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling pTKF112().');
|
|
536
|
+
}
|
|
537
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
538
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pTKF112().');
|
|
539
|
+
}
|
|
540
|
+
const queryParameters = {};
|
|
541
|
+
const headerParameters = {};
|
|
542
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
543
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
544
|
+
}
|
|
545
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
546
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
547
|
+
}
|
|
548
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
549
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
550
|
+
}
|
|
551
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
552
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
553
|
+
}
|
|
554
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
555
|
+
const token = this.configuration.accessToken;
|
|
556
|
+
const tokenString = yield token("BearerAuth", []);
|
|
557
|
+
if (tokenString) {
|
|
558
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
let urlPath = `/app/ticketing/performances/{id}/cancel`;
|
|
562
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
563
|
+
return {
|
|
564
|
+
path: urlPath,
|
|
565
|
+
method: 'POST',
|
|
566
|
+
headers: headerParameters,
|
|
567
|
+
query: queryParameters,
|
|
568
|
+
};
|
|
569
|
+
});
|
|
570
|
+
}
|
|
571
|
+
/**
|
|
572
|
+
* Cancels a performance; its start is free for another
|
|
573
|
+
* PTKF112 - Cancel Ticketing Performance
|
|
574
|
+
*/
|
|
575
|
+
pTKF112Raw(requestParameters, initOverrides) {
|
|
576
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
577
|
+
const requestOptions = yield this.pTKF112RequestOpts(requestParameters);
|
|
578
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
579
|
+
return new runtime.VoidApiResponse(response);
|
|
580
|
+
});
|
|
581
|
+
}
|
|
582
|
+
/**
|
|
583
|
+
* Cancels a performance; its start is free for another
|
|
584
|
+
* PTKF112 - Cancel Ticketing Performance
|
|
585
|
+
*/
|
|
586
|
+
pTKF112(requestParameters, initOverrides) {
|
|
587
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
588
|
+
yield this.pTKF112Raw(requestParameters, initOverrides);
|
|
589
|
+
});
|
|
590
|
+
}
|
|
591
|
+
/**
|
|
592
|
+
* Creates request options for pTKF120 without sending the request
|
|
593
|
+
*/
|
|
594
|
+
pTKF120RequestOpts(requestParameters) {
|
|
595
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
596
|
+
if (requestParameters['id'] == null) {
|
|
597
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling pTKF120().');
|
|
598
|
+
}
|
|
599
|
+
if (requestParameters['zoneId'] == null) {
|
|
600
|
+
throw new runtime.RequiredError('zoneId', 'Required parameter "zoneId" was null or undefined when calling pTKF120().');
|
|
601
|
+
}
|
|
602
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
603
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pTKF120().');
|
|
604
|
+
}
|
|
605
|
+
if (requestParameters['ticketingPerformanceZoneUpdateDTO'] == null) {
|
|
606
|
+
throw new runtime.RequiredError('ticketingPerformanceZoneUpdateDTO', 'Required parameter "ticketingPerformanceZoneUpdateDTO" was null or undefined when calling pTKF120().');
|
|
607
|
+
}
|
|
608
|
+
const queryParameters = {};
|
|
609
|
+
const headerParameters = {};
|
|
610
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
611
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
612
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
613
|
+
}
|
|
614
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
615
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
616
|
+
}
|
|
617
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
618
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
619
|
+
}
|
|
620
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
621
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
622
|
+
}
|
|
623
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
624
|
+
const token = this.configuration.accessToken;
|
|
625
|
+
const tokenString = yield token("BearerAuth", []);
|
|
626
|
+
if (tokenString) {
|
|
627
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
let urlPath = `/app/ticketing/performances/{id}/zones/{zoneId}`;
|
|
631
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
632
|
+
urlPath = urlPath.replace('{zoneId}', encodeURIComponent(String(requestParameters['zoneId'])));
|
|
633
|
+
return {
|
|
634
|
+
path: urlPath,
|
|
635
|
+
method: 'PUT',
|
|
636
|
+
headers: headerParameters,
|
|
637
|
+
query: queryParameters,
|
|
638
|
+
body: (0, TicketingPerformanceZoneUpdateDTO_1.TicketingPerformanceZoneUpdateDTOToJSON)(requestParameters['ticketingPerformanceZoneUpdateDTO']),
|
|
639
|
+
};
|
|
640
|
+
});
|
|
641
|
+
}
|
|
642
|
+
/**
|
|
643
|
+
* Changes how many places a zone of the performance holds
|
|
644
|
+
* PTKF120 - Change Ticketing Performance Zone Capacity
|
|
645
|
+
*/
|
|
646
|
+
pTKF120Raw(requestParameters, initOverrides) {
|
|
647
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
648
|
+
const requestOptions = yield this.pTKF120RequestOpts(requestParameters);
|
|
649
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
650
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, DataResponseDTOTicketingPerformanceZoneDTO_1.DataResponseDTOTicketingPerformanceZoneDTOFromJSON)(jsonValue));
|
|
651
|
+
});
|
|
652
|
+
}
|
|
653
|
+
/**
|
|
654
|
+
* Changes how many places a zone of the performance holds
|
|
655
|
+
* PTKF120 - Change Ticketing Performance Zone Capacity
|
|
656
|
+
*/
|
|
657
|
+
pTKF120(requestParameters, initOverrides) {
|
|
658
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
659
|
+
const response = yield this.pTKF120Raw(requestParameters, initOverrides);
|
|
660
|
+
return yield response.value();
|
|
661
|
+
});
|
|
662
|
+
}
|
|
663
|
+
/**
|
|
664
|
+
* Creates request options for pTKF130 without sending the request
|
|
665
|
+
*/
|
|
666
|
+
pTKF130RequestOpts(requestParameters) {
|
|
667
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
668
|
+
if (requestParameters['id'] == null) {
|
|
669
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling pTKF130().');
|
|
670
|
+
}
|
|
671
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
672
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pTKF130().');
|
|
673
|
+
}
|
|
674
|
+
if (requestParameters['ticketingPerformancePricesDTO'] == null) {
|
|
675
|
+
throw new runtime.RequiredError('ticketingPerformancePricesDTO', 'Required parameter "ticketingPerformancePricesDTO" was null or undefined when calling pTKF130().');
|
|
676
|
+
}
|
|
677
|
+
const queryParameters = {};
|
|
678
|
+
const headerParameters = {};
|
|
679
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
680
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
681
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
682
|
+
}
|
|
683
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
684
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
685
|
+
}
|
|
686
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
687
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
688
|
+
}
|
|
689
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
690
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
691
|
+
}
|
|
692
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
693
|
+
const token = this.configuration.accessToken;
|
|
694
|
+
const tokenString = yield token("BearerAuth", []);
|
|
695
|
+
if (tokenString) {
|
|
696
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
let urlPath = `/app/ticketing/performances/{id}/prices`;
|
|
700
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
701
|
+
return {
|
|
702
|
+
path: urlPath,
|
|
703
|
+
method: 'PUT',
|
|
704
|
+
headers: headerParameters,
|
|
705
|
+
query: queryParameters,
|
|
706
|
+
body: (0, TicketingPerformancePricesDTO_1.TicketingPerformancePricesDTOToJSON)(requestParameters['ticketingPerformancePricesDTO']),
|
|
707
|
+
};
|
|
708
|
+
});
|
|
709
|
+
}
|
|
710
|
+
/**
|
|
711
|
+
* Replaces the whole price list of a performance that has not started: one price per ticket category and zone, in one currency
|
|
712
|
+
* PTKF130 - Replace Ticketing Performance Prices
|
|
713
|
+
*/
|
|
714
|
+
pTKF130Raw(requestParameters, initOverrides) {
|
|
715
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
716
|
+
const requestOptions = yield this.pTKF130RequestOpts(requestParameters);
|
|
717
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
718
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, DataResponseDTOTicketingPerformanceDTO_1.DataResponseDTOTicketingPerformanceDTOFromJSON)(jsonValue));
|
|
719
|
+
});
|
|
720
|
+
}
|
|
721
|
+
/**
|
|
722
|
+
* Replaces the whole price list of a performance that has not started: one price per ticket category and zone, in one currency
|
|
723
|
+
* PTKF130 - Replace Ticketing Performance Prices
|
|
724
|
+
*/
|
|
725
|
+
pTKF130(requestParameters, initOverrides) {
|
|
726
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
727
|
+
const response = yield this.pTKF130Raw(requestParameters, initOverrides);
|
|
728
|
+
return yield response.value();
|
|
729
|
+
});
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
exports.APPPTKTicketingPerformancesApi = APPPTKTicketingPerformancesApi;
|
|
733
|
+
/**
|
|
734
|
+
* @export
|
|
735
|
+
*/
|
|
736
|
+
exports.PTKF002StatusEnum = {
|
|
737
|
+
Scheduled: 'SCHEDULED',
|
|
738
|
+
OnSale: 'ON_SALE',
|
|
739
|
+
SalesClosed: 'SALES_CLOSED',
|
|
740
|
+
Cancelled: 'CANCELLED',
|
|
741
|
+
Completed: 'COMPLETED'
|
|
742
|
+
};
|
|
743
|
+
/**
|
|
744
|
+
* @export
|
|
745
|
+
*/
|
|
746
|
+
exports.PTKF002EntityStatusesEnum = {
|
|
747
|
+
Active: 'ACTIVE',
|
|
748
|
+
Passive: 'PASSIVE',
|
|
749
|
+
Archived: 'ARCHIVED',
|
|
750
|
+
Deleted: 'DELETED',
|
|
751
|
+
Pending: 'PENDING'
|
|
752
|
+
};
|