@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,546 @@
|
|
|
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.PTKP002EntityStatusesEnum = exports.PTKP002StatusEnum = exports.PTKP002KindEnum = exports.APPPTKTicketingProductionsApi = void 0;
|
|
26
|
+
const runtime = require("../runtime");
|
|
27
|
+
const DataResponseDTOCreatedResponseDTO_1 = require("../models/DataResponseDTOCreatedResponseDTO");
|
|
28
|
+
const DataResponseDTOTicketingProductionDTO_1 = require("../models/DataResponseDTOTicketingProductionDTO");
|
|
29
|
+
const PageTicketingProductionDTO_1 = require("../models/PageTicketingProductionDTO");
|
|
30
|
+
const TicketingProductionCreateDTO_1 = require("../models/TicketingProductionCreateDTO");
|
|
31
|
+
const TicketingProductionUpdateDTO_1 = require("../models/TicketingProductionUpdateDTO");
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
class APPPTKTicketingProductionsApi extends runtime.BaseAPI {
|
|
36
|
+
/**
|
|
37
|
+
* Creates request options for pTKP001 without sending the request
|
|
38
|
+
*/
|
|
39
|
+
pTKP001RequestOpts(requestParameters) {
|
|
40
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
41
|
+
if (requestParameters['id'] == null) {
|
|
42
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling pTKP001().');
|
|
43
|
+
}
|
|
44
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
45
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pTKP001().');
|
|
46
|
+
}
|
|
47
|
+
const queryParameters = {};
|
|
48
|
+
const headerParameters = {};
|
|
49
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
50
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
51
|
+
}
|
|
52
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
53
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
54
|
+
}
|
|
55
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
56
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
57
|
+
}
|
|
58
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
59
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
60
|
+
}
|
|
61
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
62
|
+
const token = this.configuration.accessToken;
|
|
63
|
+
const tokenString = yield token("BearerAuth", []);
|
|
64
|
+
if (tokenString) {
|
|
65
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
let urlPath = `/app/ticketing/productions/{id}`;
|
|
69
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
70
|
+
return {
|
|
71
|
+
path: urlPath,
|
|
72
|
+
method: 'GET',
|
|
73
|
+
headers: headerParameters,
|
|
74
|
+
query: queryParameters,
|
|
75
|
+
};
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* A production
|
|
80
|
+
* PTKP001 - Get Ticketing Production
|
|
81
|
+
*/
|
|
82
|
+
pTKP001Raw(requestParameters, initOverrides) {
|
|
83
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
84
|
+
const requestOptions = yield this.pTKP001RequestOpts(requestParameters);
|
|
85
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
86
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, DataResponseDTOTicketingProductionDTO_1.DataResponseDTOTicketingProductionDTOFromJSON)(jsonValue));
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* A production
|
|
91
|
+
* PTKP001 - Get Ticketing Production
|
|
92
|
+
*/
|
|
93
|
+
pTKP001(requestParameters, initOverrides) {
|
|
94
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
95
|
+
const response = yield this.pTKP001Raw(requestParameters, initOverrides);
|
|
96
|
+
return yield response.value();
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Creates request options for pTKP002 without sending the request
|
|
101
|
+
*/
|
|
102
|
+
pTKP002RequestOpts(requestParameters) {
|
|
103
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
104
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
105
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pTKP002().');
|
|
106
|
+
}
|
|
107
|
+
const queryParameters = {};
|
|
108
|
+
if (requestParameters['kind'] != null) {
|
|
109
|
+
queryParameters['kind'] = requestParameters['kind'];
|
|
110
|
+
}
|
|
111
|
+
if (requestParameters['status'] != null) {
|
|
112
|
+
queryParameters['status'] = requestParameters['status'];
|
|
113
|
+
}
|
|
114
|
+
if (requestParameters['search'] != null) {
|
|
115
|
+
queryParameters['search'] = requestParameters['search'];
|
|
116
|
+
}
|
|
117
|
+
if (requestParameters['entityStatuses'] != null) {
|
|
118
|
+
queryParameters['entityStatuses'] = requestParameters['entityStatuses'];
|
|
119
|
+
}
|
|
120
|
+
if (requestParameters['ids'] != null) {
|
|
121
|
+
queryParameters['ids'] = requestParameters['ids'];
|
|
122
|
+
}
|
|
123
|
+
if (requestParameters['uuids'] != null) {
|
|
124
|
+
queryParameters['uuids'] = requestParameters['uuids'];
|
|
125
|
+
}
|
|
126
|
+
if (requestParameters['externalIds'] != null) {
|
|
127
|
+
queryParameters['externalIds'] = requestParameters['externalIds'];
|
|
128
|
+
}
|
|
129
|
+
if (requestParameters['customIds'] != null) {
|
|
130
|
+
queryParameters['customIds'] = requestParameters['customIds'];
|
|
131
|
+
}
|
|
132
|
+
if (requestParameters['createdAtStart'] != null) {
|
|
133
|
+
queryParameters['createdAtStart'] = requestParameters['createdAtStart'].toISOString();
|
|
134
|
+
}
|
|
135
|
+
if (requestParameters['createdAtEnd'] != null) {
|
|
136
|
+
queryParameters['createdAtEnd'] = requestParameters['createdAtEnd'].toISOString();
|
|
137
|
+
}
|
|
138
|
+
if (requestParameters['page'] != null) {
|
|
139
|
+
queryParameters['page'] = requestParameters['page'];
|
|
140
|
+
}
|
|
141
|
+
if (requestParameters['size'] != null) {
|
|
142
|
+
queryParameters['size'] = requestParameters['size'];
|
|
143
|
+
}
|
|
144
|
+
if (requestParameters['sort'] != null) {
|
|
145
|
+
queryParameters['sort'] = requestParameters['sort'];
|
|
146
|
+
}
|
|
147
|
+
const headerParameters = {};
|
|
148
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
149
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
150
|
+
}
|
|
151
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
152
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
153
|
+
}
|
|
154
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
155
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
156
|
+
}
|
|
157
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
158
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
159
|
+
}
|
|
160
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
161
|
+
const token = this.configuration.accessToken;
|
|
162
|
+
const tokenString = yield token("BearerAuth", []);
|
|
163
|
+
if (tokenString) {
|
|
164
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
let urlPath = `/app/ticketing/productions`;
|
|
168
|
+
return {
|
|
169
|
+
path: urlPath,
|
|
170
|
+
method: 'GET',
|
|
171
|
+
headers: headerParameters,
|
|
172
|
+
query: queryParameters,
|
|
173
|
+
};
|
|
174
|
+
});
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* Productions by name, kind and status
|
|
178
|
+
* PTKP002 - Search Ticketing Productions
|
|
179
|
+
*/
|
|
180
|
+
pTKP002Raw(requestParameters, initOverrides) {
|
|
181
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
182
|
+
const requestOptions = yield this.pTKP002RequestOpts(requestParameters);
|
|
183
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
184
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, PageTicketingProductionDTO_1.PageTicketingProductionDTOFromJSON)(jsonValue));
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* Productions by name, kind and status
|
|
189
|
+
* PTKP002 - Search Ticketing Productions
|
|
190
|
+
*/
|
|
191
|
+
pTKP002(requestParameters, initOverrides) {
|
|
192
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
193
|
+
const response = yield this.pTKP002Raw(requestParameters, initOverrides);
|
|
194
|
+
return yield response.value();
|
|
195
|
+
});
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* Creates request options for pTKP100 without sending the request
|
|
199
|
+
*/
|
|
200
|
+
pTKP100RequestOpts(requestParameters) {
|
|
201
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
202
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
203
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pTKP100().');
|
|
204
|
+
}
|
|
205
|
+
if (requestParameters['ticketingProductionCreateDTO'] == null) {
|
|
206
|
+
throw new runtime.RequiredError('ticketingProductionCreateDTO', 'Required parameter "ticketingProductionCreateDTO" was null or undefined when calling pTKP100().');
|
|
207
|
+
}
|
|
208
|
+
const queryParameters = {};
|
|
209
|
+
const headerParameters = {};
|
|
210
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
211
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
212
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
213
|
+
}
|
|
214
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
215
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
216
|
+
}
|
|
217
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
218
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
219
|
+
}
|
|
220
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
221
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
222
|
+
}
|
|
223
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
224
|
+
const token = this.configuration.accessToken;
|
|
225
|
+
const tokenString = yield token("BearerAuth", []);
|
|
226
|
+
if (tokenString) {
|
|
227
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
let urlPath = `/app/ticketing/productions`;
|
|
231
|
+
return {
|
|
232
|
+
path: urlPath,
|
|
233
|
+
method: 'POST',
|
|
234
|
+
headers: headerParameters,
|
|
235
|
+
query: queryParameters,
|
|
236
|
+
body: (0, TicketingProductionCreateDTO_1.TicketingProductionCreateDTOToJSON)(requestParameters['ticketingProductionCreateDTO']),
|
|
237
|
+
};
|
|
238
|
+
});
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* A draft production; its URL name is made from its name when none is given
|
|
242
|
+
* PTKP100 - Create Ticketing Production
|
|
243
|
+
*/
|
|
244
|
+
pTKP100Raw(requestParameters, initOverrides) {
|
|
245
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
246
|
+
const requestOptions = yield this.pTKP100RequestOpts(requestParameters);
|
|
247
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
248
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, DataResponseDTOCreatedResponseDTO_1.DataResponseDTOCreatedResponseDTOFromJSON)(jsonValue));
|
|
249
|
+
});
|
|
250
|
+
}
|
|
251
|
+
/**
|
|
252
|
+
* A draft production; its URL name is made from its name when none is given
|
|
253
|
+
* PTKP100 - Create Ticketing Production
|
|
254
|
+
*/
|
|
255
|
+
pTKP100(requestParameters, initOverrides) {
|
|
256
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
257
|
+
const response = yield this.pTKP100Raw(requestParameters, initOverrides);
|
|
258
|
+
return yield response.value();
|
|
259
|
+
});
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* Creates request options for pTKP101 without sending the request
|
|
263
|
+
*/
|
|
264
|
+
pTKP101RequestOpts(requestParameters) {
|
|
265
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
266
|
+
if (requestParameters['id'] == null) {
|
|
267
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling pTKP101().');
|
|
268
|
+
}
|
|
269
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
270
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pTKP101().');
|
|
271
|
+
}
|
|
272
|
+
if (requestParameters['ticketingProductionUpdateDTO'] == null) {
|
|
273
|
+
throw new runtime.RequiredError('ticketingProductionUpdateDTO', 'Required parameter "ticketingProductionUpdateDTO" was null or undefined when calling pTKP101().');
|
|
274
|
+
}
|
|
275
|
+
const queryParameters = {};
|
|
276
|
+
const headerParameters = {};
|
|
277
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
278
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
279
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
280
|
+
}
|
|
281
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
282
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
283
|
+
}
|
|
284
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
285
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
286
|
+
}
|
|
287
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
288
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
289
|
+
}
|
|
290
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
291
|
+
const token = this.configuration.accessToken;
|
|
292
|
+
const tokenString = yield token("BearerAuth", []);
|
|
293
|
+
if (tokenString) {
|
|
294
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
let urlPath = `/app/ticketing/productions/{id}`;
|
|
298
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
299
|
+
return {
|
|
300
|
+
path: urlPath,
|
|
301
|
+
method: 'PUT',
|
|
302
|
+
headers: headerParameters,
|
|
303
|
+
query: queryParameters,
|
|
304
|
+
body: (0, TicketingProductionUpdateDTO_1.TicketingProductionUpdateDTOToJSON)(requestParameters['ticketingProductionUpdateDTO']),
|
|
305
|
+
};
|
|
306
|
+
});
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* Changes a production; a field left out is kept
|
|
310
|
+
* PTKP101 - Update Ticketing Production
|
|
311
|
+
*/
|
|
312
|
+
pTKP101Raw(requestParameters, initOverrides) {
|
|
313
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
314
|
+
const requestOptions = yield this.pTKP101RequestOpts(requestParameters);
|
|
315
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
316
|
+
return new runtime.VoidApiResponse(response);
|
|
317
|
+
});
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* Changes a production; a field left out is kept
|
|
321
|
+
* PTKP101 - Update Ticketing Production
|
|
322
|
+
*/
|
|
323
|
+
pTKP101(requestParameters, initOverrides) {
|
|
324
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
325
|
+
yield this.pTKP101Raw(requestParameters, initOverrides);
|
|
326
|
+
});
|
|
327
|
+
}
|
|
328
|
+
/**
|
|
329
|
+
* Creates request options for pTKP102 without sending the request
|
|
330
|
+
*/
|
|
331
|
+
pTKP102RequestOpts(requestParameters) {
|
|
332
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
333
|
+
if (requestParameters['id'] == null) {
|
|
334
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling pTKP102().');
|
|
335
|
+
}
|
|
336
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
337
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pTKP102().');
|
|
338
|
+
}
|
|
339
|
+
const queryParameters = {};
|
|
340
|
+
const headerParameters = {};
|
|
341
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
342
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
343
|
+
}
|
|
344
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
345
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
346
|
+
}
|
|
347
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
348
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
349
|
+
}
|
|
350
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
351
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
352
|
+
}
|
|
353
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
354
|
+
const token = this.configuration.accessToken;
|
|
355
|
+
const tokenString = yield token("BearerAuth", []);
|
|
356
|
+
if (tokenString) {
|
|
357
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
let urlPath = `/app/ticketing/productions/{id}`;
|
|
361
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
362
|
+
return {
|
|
363
|
+
path: urlPath,
|
|
364
|
+
method: 'DELETE',
|
|
365
|
+
headers: headerParameters,
|
|
366
|
+
query: queryParameters,
|
|
367
|
+
};
|
|
368
|
+
});
|
|
369
|
+
}
|
|
370
|
+
/**
|
|
371
|
+
* Deletes a production; refused while one of its performances has not taken place
|
|
372
|
+
* PTKP102 - Delete Ticketing Production
|
|
373
|
+
*/
|
|
374
|
+
pTKP102Raw(requestParameters, initOverrides) {
|
|
375
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
376
|
+
const requestOptions = yield this.pTKP102RequestOpts(requestParameters);
|
|
377
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
378
|
+
return new runtime.VoidApiResponse(response);
|
|
379
|
+
});
|
|
380
|
+
}
|
|
381
|
+
/**
|
|
382
|
+
* Deletes a production; refused while one of its performances has not taken place
|
|
383
|
+
* PTKP102 - Delete Ticketing Production
|
|
384
|
+
*/
|
|
385
|
+
pTKP102(requestParameters, initOverrides) {
|
|
386
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
387
|
+
yield this.pTKP102Raw(requestParameters, initOverrides);
|
|
388
|
+
});
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
* Creates request options for pTKP110 without sending the request
|
|
392
|
+
*/
|
|
393
|
+
pTKP110RequestOpts(requestParameters) {
|
|
394
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
395
|
+
if (requestParameters['id'] == null) {
|
|
396
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling pTKP110().');
|
|
397
|
+
}
|
|
398
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
399
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pTKP110().');
|
|
400
|
+
}
|
|
401
|
+
const queryParameters = {};
|
|
402
|
+
const headerParameters = {};
|
|
403
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
404
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
405
|
+
}
|
|
406
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
407
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
408
|
+
}
|
|
409
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
410
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
411
|
+
}
|
|
412
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
413
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
414
|
+
}
|
|
415
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
416
|
+
const token = this.configuration.accessToken;
|
|
417
|
+
const tokenString = yield token("BearerAuth", []);
|
|
418
|
+
if (tokenString) {
|
|
419
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
let urlPath = `/app/ticketing/productions/{id}/publish`;
|
|
423
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
424
|
+
return {
|
|
425
|
+
path: urlPath,
|
|
426
|
+
method: 'POST',
|
|
427
|
+
headers: headerParameters,
|
|
428
|
+
query: queryParameters,
|
|
429
|
+
};
|
|
430
|
+
});
|
|
431
|
+
}
|
|
432
|
+
/**
|
|
433
|
+
* Publishes a production, so its performances can go on sale
|
|
434
|
+
* PTKP110 - Publish Ticketing Production
|
|
435
|
+
*/
|
|
436
|
+
pTKP110Raw(requestParameters, initOverrides) {
|
|
437
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
438
|
+
const requestOptions = yield this.pTKP110RequestOpts(requestParameters);
|
|
439
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
440
|
+
return new runtime.VoidApiResponse(response);
|
|
441
|
+
});
|
|
442
|
+
}
|
|
443
|
+
/**
|
|
444
|
+
* Publishes a production, so its performances can go on sale
|
|
445
|
+
* PTKP110 - Publish Ticketing Production
|
|
446
|
+
*/
|
|
447
|
+
pTKP110(requestParameters, initOverrides) {
|
|
448
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
449
|
+
yield this.pTKP110Raw(requestParameters, initOverrides);
|
|
450
|
+
});
|
|
451
|
+
}
|
|
452
|
+
/**
|
|
453
|
+
* Creates request options for pTKP111 without sending the request
|
|
454
|
+
*/
|
|
455
|
+
pTKP111RequestOpts(requestParameters) {
|
|
456
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
457
|
+
if (requestParameters['id'] == null) {
|
|
458
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling pTKP111().');
|
|
459
|
+
}
|
|
460
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
461
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pTKP111().');
|
|
462
|
+
}
|
|
463
|
+
const queryParameters = {};
|
|
464
|
+
const headerParameters = {};
|
|
465
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
466
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
467
|
+
}
|
|
468
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
469
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
470
|
+
}
|
|
471
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
472
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
473
|
+
}
|
|
474
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
475
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
476
|
+
}
|
|
477
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
478
|
+
const token = this.configuration.accessToken;
|
|
479
|
+
const tokenString = yield token("BearerAuth", []);
|
|
480
|
+
if (tokenString) {
|
|
481
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
let urlPath = `/app/ticketing/productions/{id}/archive`;
|
|
485
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
486
|
+
return {
|
|
487
|
+
path: urlPath,
|
|
488
|
+
method: 'POST',
|
|
489
|
+
headers: headerParameters,
|
|
490
|
+
query: queryParameters,
|
|
491
|
+
};
|
|
492
|
+
});
|
|
493
|
+
}
|
|
494
|
+
/**
|
|
495
|
+
* Archives a production; refused while one of its performances is on sale
|
|
496
|
+
* PTKP111 - Archive Ticketing Production
|
|
497
|
+
*/
|
|
498
|
+
pTKP111Raw(requestParameters, initOverrides) {
|
|
499
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
500
|
+
const requestOptions = yield this.pTKP111RequestOpts(requestParameters);
|
|
501
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
502
|
+
return new runtime.VoidApiResponse(response);
|
|
503
|
+
});
|
|
504
|
+
}
|
|
505
|
+
/**
|
|
506
|
+
* Archives a production; refused while one of its performances is on sale
|
|
507
|
+
* PTKP111 - Archive Ticketing Production
|
|
508
|
+
*/
|
|
509
|
+
pTKP111(requestParameters, initOverrides) {
|
|
510
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
511
|
+
yield this.pTKP111Raw(requestParameters, initOverrides);
|
|
512
|
+
});
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
exports.APPPTKTicketingProductionsApi = APPPTKTicketingProductionsApi;
|
|
516
|
+
/**
|
|
517
|
+
* @export
|
|
518
|
+
*/
|
|
519
|
+
exports.PTKP002KindEnum = {
|
|
520
|
+
Film: 'FILM',
|
|
521
|
+
Theatre: 'THEATRE',
|
|
522
|
+
Concert: 'CONCERT',
|
|
523
|
+
Conference: 'CONFERENCE',
|
|
524
|
+
Sports: 'SPORTS',
|
|
525
|
+
Attraction: 'ATTRACTION',
|
|
526
|
+
TransportRoute: 'TRANSPORT_ROUTE',
|
|
527
|
+
Other: 'OTHER'
|
|
528
|
+
};
|
|
529
|
+
/**
|
|
530
|
+
* @export
|
|
531
|
+
*/
|
|
532
|
+
exports.PTKP002StatusEnum = {
|
|
533
|
+
Draft: 'DRAFT',
|
|
534
|
+
Published: 'PUBLISHED',
|
|
535
|
+
Archived: 'ARCHIVED'
|
|
536
|
+
};
|
|
537
|
+
/**
|
|
538
|
+
* @export
|
|
539
|
+
*/
|
|
540
|
+
exports.PTKP002EntityStatusesEnum = {
|
|
541
|
+
Active: 'ACTIVE',
|
|
542
|
+
Passive: 'PASSIVE',
|
|
543
|
+
Archived: 'ARCHIVED',
|
|
544
|
+
Deleted: 'DELETED',
|
|
545
|
+
Pending: 'PENDING'
|
|
546
|
+
};
|