@connectedxm/admin-sdk 7.8.1 → 7.9.1
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/.openapi-generator/FILES +12 -1
- package/AdminApi.ts +3 -0
- package/README.md +17 -2
- package/api.ts +907 -106
- package/dist/AdminApi.d.ts +2 -1
- package/dist/AdminApi.js +1 -0
- package/dist/api.d.ts +512 -58
- package/dist/api.js +624 -107
- package/dist/esm/AdminApi.d.ts +2 -1
- package/dist/esm/AdminApi.js +2 -1
- package/dist/esm/api.d.ts +512 -58
- package/dist/esm/api.js +592 -79
- package/docs/AccountsApi.md +0 -55
- package/docs/AddEventPassTypeExchangeTarget200Response.md +24 -0
- package/docs/BaseEventPassTypeExchangeTarget.md +38 -0
- package/docs/BasePassExchange.md +32 -0
- package/docs/Event.md +2 -0
- package/docs/EventCreateInputs.md +2 -0
- package/docs/EventPassTypeExchangeTarget.md +42 -0
- package/docs/EventUpdateInputs.md +2 -0
- package/docs/EventsPasstypesExchangetargetsApi.md +393 -0
- package/docs/ExchangeType.md +12 -0
- package/docs/GetEventPassTypeExchangeTargetExchanges200Response.md +26 -0
- package/docs/GetEventPassTypeExchangeTargets200Response.md +26 -0
- package/docs/{ImpersonateAccount200Response.md → JoinMeeting200Response.md} +3 -3
- package/docs/MeetingsApi.md +2 -2
- package/docs/PassExchange.md +38 -0
- package/docs/PassTypeExchangeTargetCreateInputs.md +30 -0
- package/docs/PassTypeExchangeTargetUpdateInputs.md +28 -0
- package/docs/Payment.md +2 -0
- package/package.json +1 -1
package/dist/esm/api.js
CHANGED
|
@@ -81,6 +81,10 @@ export var AddChannelSubscriber200ResponseStatusEnum;
|
|
|
81
81
|
(function (AddChannelSubscriber200ResponseStatusEnum) {
|
|
82
82
|
AddChannelSubscriber200ResponseStatusEnum["Ok"] = "ok";
|
|
83
83
|
})(AddChannelSubscriber200ResponseStatusEnum || (AddChannelSubscriber200ResponseStatusEnum = {}));
|
|
84
|
+
export var AddEventPassTypeExchangeTarget200ResponseStatusEnum;
|
|
85
|
+
(function (AddEventPassTypeExchangeTarget200ResponseStatusEnum) {
|
|
86
|
+
AddEventPassTypeExchangeTarget200ResponseStatusEnum["Ok"] = "ok";
|
|
87
|
+
})(AddEventPassTypeExchangeTarget200ResponseStatusEnum || (AddEventPassTypeExchangeTarget200ResponseStatusEnum = {}));
|
|
84
88
|
export var AddOrganizationUser200ResponseStatusEnum;
|
|
85
89
|
(function (AddOrganizationUser200ResponseStatusEnum) {
|
|
86
90
|
AddOrganizationUser200ResponseStatusEnum["Ok"] = "ok";
|
|
@@ -651,6 +655,12 @@ export var EventType;
|
|
|
651
655
|
EventType["Virtual"] = "virtual";
|
|
652
656
|
EventType["Hybrid"] = "hybrid";
|
|
653
657
|
})(EventType || (EventType = {}));
|
|
658
|
+
export var ExchangeType;
|
|
659
|
+
(function (ExchangeType) {
|
|
660
|
+
ExchangeType["Upgrade"] = "upgrade";
|
|
661
|
+
ExchangeType["Downgrade"] = "downgrade";
|
|
662
|
+
ExchangeType["Swap"] = "swap";
|
|
663
|
+
})(ExchangeType || (ExchangeType = {}));
|
|
654
664
|
export var ExportStatus;
|
|
655
665
|
(function (ExportStatus) {
|
|
656
666
|
ExportStatus["Pending"] = "pending";
|
|
@@ -1164,6 +1174,14 @@ export var GetEventPassTransfers200ResponseStatusEnum;
|
|
|
1164
1174
|
(function (GetEventPassTransfers200ResponseStatusEnum) {
|
|
1165
1175
|
GetEventPassTransfers200ResponseStatusEnum["Ok"] = "ok";
|
|
1166
1176
|
})(GetEventPassTransfers200ResponseStatusEnum || (GetEventPassTransfers200ResponseStatusEnum = {}));
|
|
1177
|
+
export var GetEventPassTypeExchangeTargetExchanges200ResponseStatusEnum;
|
|
1178
|
+
(function (GetEventPassTypeExchangeTargetExchanges200ResponseStatusEnum) {
|
|
1179
|
+
GetEventPassTypeExchangeTargetExchanges200ResponseStatusEnum["Ok"] = "ok";
|
|
1180
|
+
})(GetEventPassTypeExchangeTargetExchanges200ResponseStatusEnum || (GetEventPassTypeExchangeTargetExchanges200ResponseStatusEnum = {}));
|
|
1181
|
+
export var GetEventPassTypeExchangeTargets200ResponseStatusEnum;
|
|
1182
|
+
(function (GetEventPassTypeExchangeTargets200ResponseStatusEnum) {
|
|
1183
|
+
GetEventPassTypeExchangeTargets200ResponseStatusEnum["Ok"] = "ok";
|
|
1184
|
+
})(GetEventPassTypeExchangeTargets200ResponseStatusEnum || (GetEventPassTypeExchangeTargets200ResponseStatusEnum = {}));
|
|
1167
1185
|
export var GetEventPassTypePriceSchedule200ResponseStatusEnum;
|
|
1168
1186
|
(function (GetEventPassTypePriceSchedule200ResponseStatusEnum) {
|
|
1169
1187
|
GetEventPassTypePriceSchedule200ResponseStatusEnum["Ok"] = "ok";
|
|
@@ -1940,10 +1958,6 @@ export var ImageType;
|
|
|
1940
1958
|
ImageType["Event"] = "event";
|
|
1941
1959
|
ImageType["Activation"] = "activation";
|
|
1942
1960
|
})(ImageType || (ImageType = {}));
|
|
1943
|
-
export var ImpersonateAccount200ResponseStatusEnum;
|
|
1944
|
-
(function (ImpersonateAccount200ResponseStatusEnum) {
|
|
1945
|
-
ImpersonateAccount200ResponseStatusEnum["Ok"] = "ok";
|
|
1946
|
-
})(ImpersonateAccount200ResponseStatusEnum || (ImpersonateAccount200ResponseStatusEnum = {}));
|
|
1947
1961
|
export var ImportItemStatus;
|
|
1948
1962
|
(function (ImportItemStatus) {
|
|
1949
1963
|
ImportItemStatus["Pending"] = "pending";
|
|
@@ -1984,6 +1998,10 @@ export var InvoiceStatus;
|
|
|
1984
1998
|
InvoiceStatus["Paid"] = "paid";
|
|
1985
1999
|
InvoiceStatus["Void"] = "void";
|
|
1986
2000
|
})(InvoiceStatus || (InvoiceStatus = {}));
|
|
2001
|
+
export var JoinMeeting200ResponseStatusEnum;
|
|
2002
|
+
(function (JoinMeeting200ResponseStatusEnum) {
|
|
2003
|
+
JoinMeeting200ResponseStatusEnum["Ok"] = "ok";
|
|
2004
|
+
})(JoinMeeting200ResponseStatusEnum || (JoinMeeting200ResponseStatusEnum = {}));
|
|
1987
2005
|
export var LeadStatus;
|
|
1988
2006
|
(function (LeadStatus) {
|
|
1989
2007
|
LeadStatus["New"] = "new";
|
|
@@ -3472,44 +3490,6 @@ export const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
3472
3490
|
options: localVarRequestOptions,
|
|
3473
3491
|
};
|
|
3474
3492
|
}),
|
|
3475
|
-
/**
|
|
3476
|
-
* Starts an admin impersonation session for the specified account, returning a token that lets an admin act as the given user identified by account ID and username.
|
|
3477
|
-
* @summary Impersonate account
|
|
3478
|
-
* @param {string} accountId The account identifier
|
|
3479
|
-
* @param {string} username The username identifier
|
|
3480
|
-
* @param {*} [options] Override http request option.
|
|
3481
|
-
* @throws {RequiredError}
|
|
3482
|
-
*/
|
|
3483
|
-
impersonateAccount: (accountId_1, username_1, ...args_1) => __awaiter(this, [accountId_1, username_1, ...args_1], void 0, function* (accountId, username, options = {}) {
|
|
3484
|
-
// verify required parameter 'accountId' is not null or undefined
|
|
3485
|
-
assertParamExists('impersonateAccount', 'accountId', accountId);
|
|
3486
|
-
// verify required parameter 'username' is not null or undefined
|
|
3487
|
-
assertParamExists('impersonateAccount', 'username', username);
|
|
3488
|
-
const localVarPath = `/accounts/{accountId}/impersonate/{username}`
|
|
3489
|
-
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)))
|
|
3490
|
-
.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
3491
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3492
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3493
|
-
let baseOptions;
|
|
3494
|
-
if (configuration) {
|
|
3495
|
-
baseOptions = configuration.baseOptions;
|
|
3496
|
-
}
|
|
3497
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
3498
|
-
const localVarHeaderParameter = {};
|
|
3499
|
-
const localVarQueryParameter = {};
|
|
3500
|
-
// authentication ApiKeyAuth required
|
|
3501
|
-
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
3502
|
-
// authentication OrganizationId required
|
|
3503
|
-
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
3504
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3505
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3506
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3507
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3508
|
-
return {
|
|
3509
|
-
url: toPathString(localVarUrlObj),
|
|
3510
|
-
options: localVarRequestOptions,
|
|
3511
|
-
};
|
|
3512
|
-
}),
|
|
3513
3493
|
/**
|
|
3514
3494
|
* Enqueues a background job to resync the given account\'s data, requiring update permission on accounts.
|
|
3515
3495
|
* @summary Sync a single account
|
|
@@ -3941,23 +3921,6 @@ export const AccountsApiFp = function (configuration) {
|
|
|
3941
3921
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3942
3922
|
});
|
|
3943
3923
|
},
|
|
3944
|
-
/**
|
|
3945
|
-
* Starts an admin impersonation session for the specified account, returning a token that lets an admin act as the given user identified by account ID and username.
|
|
3946
|
-
* @summary Impersonate account
|
|
3947
|
-
* @param {string} accountId The account identifier
|
|
3948
|
-
* @param {string} username The username identifier
|
|
3949
|
-
* @param {*} [options] Override http request option.
|
|
3950
|
-
* @throws {RequiredError}
|
|
3951
|
-
*/
|
|
3952
|
-
impersonateAccount(accountId, username, options) {
|
|
3953
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
3954
|
-
var _a, _b, _c;
|
|
3955
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.impersonateAccount(accountId, username, options);
|
|
3956
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3957
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AccountsApi.impersonateAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3958
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3959
|
-
});
|
|
3960
|
-
},
|
|
3961
3924
|
/**
|
|
3962
3925
|
* Enqueues a background job to resync the given account\'s data, requiring update permission on accounts.
|
|
3963
3926
|
* @summary Sync a single account
|
|
@@ -4184,16 +4147,6 @@ export const AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
4184
4147
|
getAccountsByInternalRefId(requestParameters, options) {
|
|
4185
4148
|
return localVarFp.getAccountsByInternalRefId(requestParameters.internalRefId, options).then((request) => request(axios, basePath));
|
|
4186
4149
|
},
|
|
4187
|
-
/**
|
|
4188
|
-
* Starts an admin impersonation session for the specified account, returning a token that lets an admin act as the given user identified by account ID and username.
|
|
4189
|
-
* @summary Impersonate account
|
|
4190
|
-
* @param {AccountsApiImpersonateAccountRequest} requestParameters Request parameters.
|
|
4191
|
-
* @param {*} [options] Override http request option.
|
|
4192
|
-
* @throws {RequiredError}
|
|
4193
|
-
*/
|
|
4194
|
-
impersonateAccount(requestParameters, options) {
|
|
4195
|
-
return localVarFp.impersonateAccount(requestParameters.accountId, requestParameters.username, options).then((request) => request(axios, basePath));
|
|
4196
|
-
},
|
|
4197
4150
|
/**
|
|
4198
4151
|
* Enqueues a background job to resync the given account\'s data, requiring update permission on accounts.
|
|
4199
4152
|
* @summary Sync a single account
|
|
@@ -4399,16 +4352,6 @@ export class AccountsApi extends BaseAPI {
|
|
|
4399
4352
|
getAccountsByInternalRefId(requestParameters, options) {
|
|
4400
4353
|
return AccountsApiFp(this.configuration).getAccountsByInternalRefId(requestParameters.internalRefId, options).then((request) => request(this.axios, this.basePath));
|
|
4401
4354
|
}
|
|
4402
|
-
/**
|
|
4403
|
-
* Starts an admin impersonation session for the specified account, returning a token that lets an admin act as the given user identified by account ID and username.
|
|
4404
|
-
* @summary Impersonate account
|
|
4405
|
-
* @param {AccountsApiImpersonateAccountRequest} requestParameters Request parameters.
|
|
4406
|
-
* @param {*} [options] Override http request option.
|
|
4407
|
-
* @throws {RequiredError}
|
|
4408
|
-
*/
|
|
4409
|
-
impersonateAccount(requestParameters, options) {
|
|
4410
|
-
return AccountsApiFp(this.configuration).impersonateAccount(requestParameters.accountId, requestParameters.username, options).then((request) => request(this.axios, this.basePath));
|
|
4411
|
-
}
|
|
4412
4355
|
/**
|
|
4413
4356
|
* Enqueues a background job to resync the given account\'s data, requiring update permission on accounts.
|
|
4414
4357
|
* @summary Sync a single account
|
|
@@ -45076,6 +45019,576 @@ export class EventsPasstypesApi extends BaseAPI {
|
|
|
45076
45019
|
return EventsPasstypesApiFp(this.configuration).updateEventPassType(requestParameters.eventId, requestParameters.passTypeId, requestParameters.passType, options).then((request) => request(this.axios, this.basePath));
|
|
45077
45020
|
}
|
|
45078
45021
|
}
|
|
45022
|
+
/**
|
|
45023
|
+
* EventsPasstypesExchangetargetsApi - axios parameter creator
|
|
45024
|
+
*/
|
|
45025
|
+
export const EventsPasstypesExchangetargetsApiAxiosParamCreator = function (configuration) {
|
|
45026
|
+
return {
|
|
45027
|
+
/**
|
|
45028
|
+
* Add Event Pass Type Exchange Target endpoint
|
|
45029
|
+
* @summary Add Event Pass Type Exchange Target
|
|
45030
|
+
* @param {string} eventId The event identifier
|
|
45031
|
+
* @param {string} passTypeId The passType identifier
|
|
45032
|
+
* @param {PassTypeExchangeTargetCreateInputs} passTypeExchangeTargetCreateInputs
|
|
45033
|
+
* @param {*} [options] Override http request option.
|
|
45034
|
+
* @throws {RequiredError}
|
|
45035
|
+
*/
|
|
45036
|
+
addEventPassTypeExchangeTarget: (eventId_1, passTypeId_1, passTypeExchangeTargetCreateInputs_1, ...args_1) => __awaiter(this, [eventId_1, passTypeId_1, passTypeExchangeTargetCreateInputs_1, ...args_1], void 0, function* (eventId, passTypeId, passTypeExchangeTargetCreateInputs, options = {}) {
|
|
45037
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
45038
|
+
assertParamExists('addEventPassTypeExchangeTarget', 'eventId', eventId);
|
|
45039
|
+
// verify required parameter 'passTypeId' is not null or undefined
|
|
45040
|
+
assertParamExists('addEventPassTypeExchangeTarget', 'passTypeId', passTypeId);
|
|
45041
|
+
// verify required parameter 'passTypeExchangeTargetCreateInputs' is not null or undefined
|
|
45042
|
+
assertParamExists('addEventPassTypeExchangeTarget', 'passTypeExchangeTargetCreateInputs', passTypeExchangeTargetCreateInputs);
|
|
45043
|
+
const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/exchangeTargets`
|
|
45044
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
45045
|
+
.replace(`{${"passTypeId"}}`, encodeURIComponent(String(passTypeId)));
|
|
45046
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
45047
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
45048
|
+
let baseOptions;
|
|
45049
|
+
if (configuration) {
|
|
45050
|
+
baseOptions = configuration.baseOptions;
|
|
45051
|
+
}
|
|
45052
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
45053
|
+
const localVarHeaderParameter = {};
|
|
45054
|
+
const localVarQueryParameter = {};
|
|
45055
|
+
// authentication ApiKeyAuth required
|
|
45056
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
45057
|
+
// authentication OrganizationId required
|
|
45058
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
45059
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
45060
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
45061
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
45062
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
45063
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
45064
|
+
localVarRequestOptions.data = serializeDataIfNeeded(passTypeExchangeTargetCreateInputs, localVarRequestOptions, configuration);
|
|
45065
|
+
return {
|
|
45066
|
+
url: toPathString(localVarUrlObj),
|
|
45067
|
+
options: localVarRequestOptions,
|
|
45068
|
+
};
|
|
45069
|
+
}),
|
|
45070
|
+
/**
|
|
45071
|
+
* Get Event Pass Type Exchange Target Exchanges endpoint
|
|
45072
|
+
* @summary Get Event Pass Type Exchange Target Exchanges
|
|
45073
|
+
* @param {string} eventId The event identifier
|
|
45074
|
+
* @param {string} passTypeId The passType identifier
|
|
45075
|
+
* @param {string} exchangeTargetId The exchangeTarget identifier
|
|
45076
|
+
* @param {number} [page] Page number
|
|
45077
|
+
* @param {number} [pageSize] Number of items per page
|
|
45078
|
+
* @param {string} [orderBy] Field to order by
|
|
45079
|
+
* @param {string} [search] Search query
|
|
45080
|
+
* @param {*} [options] Override http request option.
|
|
45081
|
+
* @throws {RequiredError}
|
|
45082
|
+
*/
|
|
45083
|
+
getEventPassTypeExchangeTargetExchanges: (eventId_1, passTypeId_1, exchangeTargetId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, passTypeId_1, exchangeTargetId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, passTypeId, exchangeTargetId, page, pageSize, orderBy, search, options = {}) {
|
|
45084
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
45085
|
+
assertParamExists('getEventPassTypeExchangeTargetExchanges', 'eventId', eventId);
|
|
45086
|
+
// verify required parameter 'passTypeId' is not null or undefined
|
|
45087
|
+
assertParamExists('getEventPassTypeExchangeTargetExchanges', 'passTypeId', passTypeId);
|
|
45088
|
+
// verify required parameter 'exchangeTargetId' is not null or undefined
|
|
45089
|
+
assertParamExists('getEventPassTypeExchangeTargetExchanges', 'exchangeTargetId', exchangeTargetId);
|
|
45090
|
+
const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/exchangeTargets/{exchangeTargetId}/exchanges`
|
|
45091
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
45092
|
+
.replace(`{${"passTypeId"}}`, encodeURIComponent(String(passTypeId)))
|
|
45093
|
+
.replace(`{${"exchangeTargetId"}}`, encodeURIComponent(String(exchangeTargetId)));
|
|
45094
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
45095
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
45096
|
+
let baseOptions;
|
|
45097
|
+
if (configuration) {
|
|
45098
|
+
baseOptions = configuration.baseOptions;
|
|
45099
|
+
}
|
|
45100
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
45101
|
+
const localVarHeaderParameter = {};
|
|
45102
|
+
const localVarQueryParameter = {};
|
|
45103
|
+
// authentication ApiKeyAuth required
|
|
45104
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
45105
|
+
// authentication OrganizationId required
|
|
45106
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
45107
|
+
if (page !== undefined) {
|
|
45108
|
+
localVarQueryParameter['page'] = page;
|
|
45109
|
+
}
|
|
45110
|
+
if (pageSize !== undefined) {
|
|
45111
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
45112
|
+
}
|
|
45113
|
+
if (orderBy !== undefined) {
|
|
45114
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
45115
|
+
}
|
|
45116
|
+
if (search !== undefined) {
|
|
45117
|
+
localVarQueryParameter['search'] = search;
|
|
45118
|
+
}
|
|
45119
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
45120
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
45121
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
45122
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
45123
|
+
return {
|
|
45124
|
+
url: toPathString(localVarUrlObj),
|
|
45125
|
+
options: localVarRequestOptions,
|
|
45126
|
+
};
|
|
45127
|
+
}),
|
|
45128
|
+
/**
|
|
45129
|
+
* Get Event Pass Type Exchange Target Payments endpoint
|
|
45130
|
+
* @summary Get Event Pass Type Exchange Target Payments
|
|
45131
|
+
* @param {string} eventId The event identifier
|
|
45132
|
+
* @param {string} passTypeId The passType identifier
|
|
45133
|
+
* @param {string} exchangeTargetId The exchangeTarget identifier
|
|
45134
|
+
* @param {number} [page] Page number
|
|
45135
|
+
* @param {number} [pageSize] Number of items per page
|
|
45136
|
+
* @param {string} [orderBy] Field to order by
|
|
45137
|
+
* @param {string} [search] Search query
|
|
45138
|
+
* @param {*} [options] Override http request option.
|
|
45139
|
+
* @throws {RequiredError}
|
|
45140
|
+
*/
|
|
45141
|
+
getEventPassTypeExchangeTargetPayments: (eventId_1, passTypeId_1, exchangeTargetId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, passTypeId_1, exchangeTargetId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, passTypeId, exchangeTargetId, page, pageSize, orderBy, search, options = {}) {
|
|
45142
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
45143
|
+
assertParamExists('getEventPassTypeExchangeTargetPayments', 'eventId', eventId);
|
|
45144
|
+
// verify required parameter 'passTypeId' is not null or undefined
|
|
45145
|
+
assertParamExists('getEventPassTypeExchangeTargetPayments', 'passTypeId', passTypeId);
|
|
45146
|
+
// verify required parameter 'exchangeTargetId' is not null or undefined
|
|
45147
|
+
assertParamExists('getEventPassTypeExchangeTargetPayments', 'exchangeTargetId', exchangeTargetId);
|
|
45148
|
+
const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/exchangeTargets/{exchangeTargetId}/payments`
|
|
45149
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
45150
|
+
.replace(`{${"passTypeId"}}`, encodeURIComponent(String(passTypeId)))
|
|
45151
|
+
.replace(`{${"exchangeTargetId"}}`, encodeURIComponent(String(exchangeTargetId)));
|
|
45152
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
45153
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
45154
|
+
let baseOptions;
|
|
45155
|
+
if (configuration) {
|
|
45156
|
+
baseOptions = configuration.baseOptions;
|
|
45157
|
+
}
|
|
45158
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
45159
|
+
const localVarHeaderParameter = {};
|
|
45160
|
+
const localVarQueryParameter = {};
|
|
45161
|
+
// authentication ApiKeyAuth required
|
|
45162
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
45163
|
+
// authentication OrganizationId required
|
|
45164
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
45165
|
+
if (page !== undefined) {
|
|
45166
|
+
localVarQueryParameter['page'] = page;
|
|
45167
|
+
}
|
|
45168
|
+
if (pageSize !== undefined) {
|
|
45169
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
45170
|
+
}
|
|
45171
|
+
if (orderBy !== undefined) {
|
|
45172
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
45173
|
+
}
|
|
45174
|
+
if (search !== undefined) {
|
|
45175
|
+
localVarQueryParameter['search'] = search;
|
|
45176
|
+
}
|
|
45177
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
45178
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
45179
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
45180
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
45181
|
+
return {
|
|
45182
|
+
url: toPathString(localVarUrlObj),
|
|
45183
|
+
options: localVarRequestOptions,
|
|
45184
|
+
};
|
|
45185
|
+
}),
|
|
45186
|
+
/**
|
|
45187
|
+
* Get Event Pass Type Exchange Targets endpoint
|
|
45188
|
+
* @summary Get Event Pass Type Exchange Targets
|
|
45189
|
+
* @param {string} eventId The event identifier
|
|
45190
|
+
* @param {string} passTypeId The passType identifier
|
|
45191
|
+
* @param {number} [page] Page number
|
|
45192
|
+
* @param {number} [pageSize] Number of items per page
|
|
45193
|
+
* @param {string} [orderBy] Field to order by
|
|
45194
|
+
* @param {string} [search] Search query
|
|
45195
|
+
* @param {*} [options] Override http request option.
|
|
45196
|
+
* @throws {RequiredError}
|
|
45197
|
+
*/
|
|
45198
|
+
getEventPassTypeExchangeTargets: (eventId_1, passTypeId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, passTypeId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, passTypeId, page, pageSize, orderBy, search, options = {}) {
|
|
45199
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
45200
|
+
assertParamExists('getEventPassTypeExchangeTargets', 'eventId', eventId);
|
|
45201
|
+
// verify required parameter 'passTypeId' is not null or undefined
|
|
45202
|
+
assertParamExists('getEventPassTypeExchangeTargets', 'passTypeId', passTypeId);
|
|
45203
|
+
const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/exchangeTargets`
|
|
45204
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
45205
|
+
.replace(`{${"passTypeId"}}`, encodeURIComponent(String(passTypeId)));
|
|
45206
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
45207
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
45208
|
+
let baseOptions;
|
|
45209
|
+
if (configuration) {
|
|
45210
|
+
baseOptions = configuration.baseOptions;
|
|
45211
|
+
}
|
|
45212
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
45213
|
+
const localVarHeaderParameter = {};
|
|
45214
|
+
const localVarQueryParameter = {};
|
|
45215
|
+
// authentication ApiKeyAuth required
|
|
45216
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
45217
|
+
// authentication OrganizationId required
|
|
45218
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
45219
|
+
if (page !== undefined) {
|
|
45220
|
+
localVarQueryParameter['page'] = page;
|
|
45221
|
+
}
|
|
45222
|
+
if (pageSize !== undefined) {
|
|
45223
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
45224
|
+
}
|
|
45225
|
+
if (orderBy !== undefined) {
|
|
45226
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
45227
|
+
}
|
|
45228
|
+
if (search !== undefined) {
|
|
45229
|
+
localVarQueryParameter['search'] = search;
|
|
45230
|
+
}
|
|
45231
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
45232
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
45233
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
45234
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
45235
|
+
return {
|
|
45236
|
+
url: toPathString(localVarUrlObj),
|
|
45237
|
+
options: localVarRequestOptions,
|
|
45238
|
+
};
|
|
45239
|
+
}),
|
|
45240
|
+
/**
|
|
45241
|
+
* Remove Event Pass Type Exchange Target endpoint
|
|
45242
|
+
* @summary Remove Event Pass Type Exchange Target
|
|
45243
|
+
* @param {string} eventId The event identifier
|
|
45244
|
+
* @param {string} passTypeId The passType identifier
|
|
45245
|
+
* @param {string} exchangeTargetId The exchangeTarget identifier
|
|
45246
|
+
* @param {*} [options] Override http request option.
|
|
45247
|
+
* @throws {RequiredError}
|
|
45248
|
+
*/
|
|
45249
|
+
removeEventPassTypeExchangeTarget: (eventId_1, passTypeId_1, exchangeTargetId_1, ...args_1) => __awaiter(this, [eventId_1, passTypeId_1, exchangeTargetId_1, ...args_1], void 0, function* (eventId, passTypeId, exchangeTargetId, options = {}) {
|
|
45250
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
45251
|
+
assertParamExists('removeEventPassTypeExchangeTarget', 'eventId', eventId);
|
|
45252
|
+
// verify required parameter 'passTypeId' is not null or undefined
|
|
45253
|
+
assertParamExists('removeEventPassTypeExchangeTarget', 'passTypeId', passTypeId);
|
|
45254
|
+
// verify required parameter 'exchangeTargetId' is not null or undefined
|
|
45255
|
+
assertParamExists('removeEventPassTypeExchangeTarget', 'exchangeTargetId', exchangeTargetId);
|
|
45256
|
+
const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/exchangeTargets/{exchangeTargetId}`
|
|
45257
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
45258
|
+
.replace(`{${"passTypeId"}}`, encodeURIComponent(String(passTypeId)))
|
|
45259
|
+
.replace(`{${"exchangeTargetId"}}`, encodeURIComponent(String(exchangeTargetId)));
|
|
45260
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
45261
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
45262
|
+
let baseOptions;
|
|
45263
|
+
if (configuration) {
|
|
45264
|
+
baseOptions = configuration.baseOptions;
|
|
45265
|
+
}
|
|
45266
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
45267
|
+
const localVarHeaderParameter = {};
|
|
45268
|
+
const localVarQueryParameter = {};
|
|
45269
|
+
// authentication ApiKeyAuth required
|
|
45270
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
45271
|
+
// authentication OrganizationId required
|
|
45272
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
45273
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
45274
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
45275
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
45276
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
45277
|
+
return {
|
|
45278
|
+
url: toPathString(localVarUrlObj),
|
|
45279
|
+
options: localVarRequestOptions,
|
|
45280
|
+
};
|
|
45281
|
+
}),
|
|
45282
|
+
/**
|
|
45283
|
+
* Update Event Pass Type Exchange Target endpoint
|
|
45284
|
+
* @summary Update Event Pass Type Exchange Target
|
|
45285
|
+
* @param {string} eventId The event identifier
|
|
45286
|
+
* @param {string} passTypeId The passType identifier
|
|
45287
|
+
* @param {string} exchangeTargetId The exchangeTarget identifier
|
|
45288
|
+
* @param {PassTypeExchangeTargetUpdateInputs} passTypeExchangeTargetUpdateInputs
|
|
45289
|
+
* @param {*} [options] Override http request option.
|
|
45290
|
+
* @throws {RequiredError}
|
|
45291
|
+
*/
|
|
45292
|
+
updateEventPassTypeExchangeTarget: (eventId_1, passTypeId_1, exchangeTargetId_1, passTypeExchangeTargetUpdateInputs_1, ...args_1) => __awaiter(this, [eventId_1, passTypeId_1, exchangeTargetId_1, passTypeExchangeTargetUpdateInputs_1, ...args_1], void 0, function* (eventId, passTypeId, exchangeTargetId, passTypeExchangeTargetUpdateInputs, options = {}) {
|
|
45293
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
45294
|
+
assertParamExists('updateEventPassTypeExchangeTarget', 'eventId', eventId);
|
|
45295
|
+
// verify required parameter 'passTypeId' is not null or undefined
|
|
45296
|
+
assertParamExists('updateEventPassTypeExchangeTarget', 'passTypeId', passTypeId);
|
|
45297
|
+
// verify required parameter 'exchangeTargetId' is not null or undefined
|
|
45298
|
+
assertParamExists('updateEventPassTypeExchangeTarget', 'exchangeTargetId', exchangeTargetId);
|
|
45299
|
+
// verify required parameter 'passTypeExchangeTargetUpdateInputs' is not null or undefined
|
|
45300
|
+
assertParamExists('updateEventPassTypeExchangeTarget', 'passTypeExchangeTargetUpdateInputs', passTypeExchangeTargetUpdateInputs);
|
|
45301
|
+
const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/exchangeTargets/{exchangeTargetId}`
|
|
45302
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
45303
|
+
.replace(`{${"passTypeId"}}`, encodeURIComponent(String(passTypeId)))
|
|
45304
|
+
.replace(`{${"exchangeTargetId"}}`, encodeURIComponent(String(exchangeTargetId)));
|
|
45305
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
45306
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
45307
|
+
let baseOptions;
|
|
45308
|
+
if (configuration) {
|
|
45309
|
+
baseOptions = configuration.baseOptions;
|
|
45310
|
+
}
|
|
45311
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
45312
|
+
const localVarHeaderParameter = {};
|
|
45313
|
+
const localVarQueryParameter = {};
|
|
45314
|
+
// authentication ApiKeyAuth required
|
|
45315
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
45316
|
+
// authentication OrganizationId required
|
|
45317
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
45318
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
45319
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
45320
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
45321
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
45322
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
45323
|
+
localVarRequestOptions.data = serializeDataIfNeeded(passTypeExchangeTargetUpdateInputs, localVarRequestOptions, configuration);
|
|
45324
|
+
return {
|
|
45325
|
+
url: toPathString(localVarUrlObj),
|
|
45326
|
+
options: localVarRequestOptions,
|
|
45327
|
+
};
|
|
45328
|
+
}),
|
|
45329
|
+
};
|
|
45330
|
+
};
|
|
45331
|
+
/**
|
|
45332
|
+
* EventsPasstypesExchangetargetsApi - functional programming interface
|
|
45333
|
+
*/
|
|
45334
|
+
export const EventsPasstypesExchangetargetsApiFp = function (configuration) {
|
|
45335
|
+
const localVarAxiosParamCreator = EventsPasstypesExchangetargetsApiAxiosParamCreator(configuration);
|
|
45336
|
+
return {
|
|
45337
|
+
/**
|
|
45338
|
+
* Add Event Pass Type Exchange Target endpoint
|
|
45339
|
+
* @summary Add Event Pass Type Exchange Target
|
|
45340
|
+
* @param {string} eventId The event identifier
|
|
45341
|
+
* @param {string} passTypeId The passType identifier
|
|
45342
|
+
* @param {PassTypeExchangeTargetCreateInputs} passTypeExchangeTargetCreateInputs
|
|
45343
|
+
* @param {*} [options] Override http request option.
|
|
45344
|
+
* @throws {RequiredError}
|
|
45345
|
+
*/
|
|
45346
|
+
addEventPassTypeExchangeTarget(eventId, passTypeId, passTypeExchangeTargetCreateInputs, options) {
|
|
45347
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
45348
|
+
var _a, _b, _c;
|
|
45349
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addEventPassTypeExchangeTarget(eventId, passTypeId, passTypeExchangeTargetCreateInputs, options);
|
|
45350
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
45351
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsPasstypesExchangetargetsApi.addEventPassTypeExchangeTarget']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
45352
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
45353
|
+
});
|
|
45354
|
+
},
|
|
45355
|
+
/**
|
|
45356
|
+
* Get Event Pass Type Exchange Target Exchanges endpoint
|
|
45357
|
+
* @summary Get Event Pass Type Exchange Target Exchanges
|
|
45358
|
+
* @param {string} eventId The event identifier
|
|
45359
|
+
* @param {string} passTypeId The passType identifier
|
|
45360
|
+
* @param {string} exchangeTargetId The exchangeTarget identifier
|
|
45361
|
+
* @param {number} [page] Page number
|
|
45362
|
+
* @param {number} [pageSize] Number of items per page
|
|
45363
|
+
* @param {string} [orderBy] Field to order by
|
|
45364
|
+
* @param {string} [search] Search query
|
|
45365
|
+
* @param {*} [options] Override http request option.
|
|
45366
|
+
* @throws {RequiredError}
|
|
45367
|
+
*/
|
|
45368
|
+
getEventPassTypeExchangeTargetExchanges(eventId, passTypeId, exchangeTargetId, page, pageSize, orderBy, search, options) {
|
|
45369
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
45370
|
+
var _a, _b, _c;
|
|
45371
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventPassTypeExchangeTargetExchanges(eventId, passTypeId, exchangeTargetId, page, pageSize, orderBy, search, options);
|
|
45372
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
45373
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsPasstypesExchangetargetsApi.getEventPassTypeExchangeTargetExchanges']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
45374
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
45375
|
+
});
|
|
45376
|
+
},
|
|
45377
|
+
/**
|
|
45378
|
+
* Get Event Pass Type Exchange Target Payments endpoint
|
|
45379
|
+
* @summary Get Event Pass Type Exchange Target Payments
|
|
45380
|
+
* @param {string} eventId The event identifier
|
|
45381
|
+
* @param {string} passTypeId The passType identifier
|
|
45382
|
+
* @param {string} exchangeTargetId The exchangeTarget identifier
|
|
45383
|
+
* @param {number} [page] Page number
|
|
45384
|
+
* @param {number} [pageSize] Number of items per page
|
|
45385
|
+
* @param {string} [orderBy] Field to order by
|
|
45386
|
+
* @param {string} [search] Search query
|
|
45387
|
+
* @param {*} [options] Override http request option.
|
|
45388
|
+
* @throws {RequiredError}
|
|
45389
|
+
*/
|
|
45390
|
+
getEventPassTypeExchangeTargetPayments(eventId, passTypeId, exchangeTargetId, page, pageSize, orderBy, search, options) {
|
|
45391
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
45392
|
+
var _a, _b, _c;
|
|
45393
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventPassTypeExchangeTargetPayments(eventId, passTypeId, exchangeTargetId, page, pageSize, orderBy, search, options);
|
|
45394
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
45395
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsPasstypesExchangetargetsApi.getEventPassTypeExchangeTargetPayments']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
45396
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
45397
|
+
});
|
|
45398
|
+
},
|
|
45399
|
+
/**
|
|
45400
|
+
* Get Event Pass Type Exchange Targets endpoint
|
|
45401
|
+
* @summary Get Event Pass Type Exchange Targets
|
|
45402
|
+
* @param {string} eventId The event identifier
|
|
45403
|
+
* @param {string} passTypeId The passType identifier
|
|
45404
|
+
* @param {number} [page] Page number
|
|
45405
|
+
* @param {number} [pageSize] Number of items per page
|
|
45406
|
+
* @param {string} [orderBy] Field to order by
|
|
45407
|
+
* @param {string} [search] Search query
|
|
45408
|
+
* @param {*} [options] Override http request option.
|
|
45409
|
+
* @throws {RequiredError}
|
|
45410
|
+
*/
|
|
45411
|
+
getEventPassTypeExchangeTargets(eventId, passTypeId, page, pageSize, orderBy, search, options) {
|
|
45412
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
45413
|
+
var _a, _b, _c;
|
|
45414
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventPassTypeExchangeTargets(eventId, passTypeId, page, pageSize, orderBy, search, options);
|
|
45415
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
45416
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsPasstypesExchangetargetsApi.getEventPassTypeExchangeTargets']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
45417
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
45418
|
+
});
|
|
45419
|
+
},
|
|
45420
|
+
/**
|
|
45421
|
+
* Remove Event Pass Type Exchange Target endpoint
|
|
45422
|
+
* @summary Remove Event Pass Type Exchange Target
|
|
45423
|
+
* @param {string} eventId The event identifier
|
|
45424
|
+
* @param {string} passTypeId The passType identifier
|
|
45425
|
+
* @param {string} exchangeTargetId The exchangeTarget identifier
|
|
45426
|
+
* @param {*} [options] Override http request option.
|
|
45427
|
+
* @throws {RequiredError}
|
|
45428
|
+
*/
|
|
45429
|
+
removeEventPassTypeExchangeTarget(eventId, passTypeId, exchangeTargetId, options) {
|
|
45430
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
45431
|
+
var _a, _b, _c;
|
|
45432
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.removeEventPassTypeExchangeTarget(eventId, passTypeId, exchangeTargetId, options);
|
|
45433
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
45434
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsPasstypesExchangetargetsApi.removeEventPassTypeExchangeTarget']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
45435
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
45436
|
+
});
|
|
45437
|
+
},
|
|
45438
|
+
/**
|
|
45439
|
+
* Update Event Pass Type Exchange Target endpoint
|
|
45440
|
+
* @summary Update Event Pass Type Exchange Target
|
|
45441
|
+
* @param {string} eventId The event identifier
|
|
45442
|
+
* @param {string} passTypeId The passType identifier
|
|
45443
|
+
* @param {string} exchangeTargetId The exchangeTarget identifier
|
|
45444
|
+
* @param {PassTypeExchangeTargetUpdateInputs} passTypeExchangeTargetUpdateInputs
|
|
45445
|
+
* @param {*} [options] Override http request option.
|
|
45446
|
+
* @throws {RequiredError}
|
|
45447
|
+
*/
|
|
45448
|
+
updateEventPassTypeExchangeTarget(eventId, passTypeId, exchangeTargetId, passTypeExchangeTargetUpdateInputs, options) {
|
|
45449
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
45450
|
+
var _a, _b, _c;
|
|
45451
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateEventPassTypeExchangeTarget(eventId, passTypeId, exchangeTargetId, passTypeExchangeTargetUpdateInputs, options);
|
|
45452
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
45453
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsPasstypesExchangetargetsApi.updateEventPassTypeExchangeTarget']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
45454
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
45455
|
+
});
|
|
45456
|
+
},
|
|
45457
|
+
};
|
|
45458
|
+
};
|
|
45459
|
+
/**
|
|
45460
|
+
* EventsPasstypesExchangetargetsApi - factory interface
|
|
45461
|
+
*/
|
|
45462
|
+
export const EventsPasstypesExchangetargetsApiFactory = function (configuration, basePath, axios) {
|
|
45463
|
+
const localVarFp = EventsPasstypesExchangetargetsApiFp(configuration);
|
|
45464
|
+
return {
|
|
45465
|
+
/**
|
|
45466
|
+
* Add Event Pass Type Exchange Target endpoint
|
|
45467
|
+
* @summary Add Event Pass Type Exchange Target
|
|
45468
|
+
* @param {EventsPasstypesExchangetargetsApiAddEventPassTypeExchangeTargetRequest} requestParameters Request parameters.
|
|
45469
|
+
* @param {*} [options] Override http request option.
|
|
45470
|
+
* @throws {RequiredError}
|
|
45471
|
+
*/
|
|
45472
|
+
addEventPassTypeExchangeTarget(requestParameters, options) {
|
|
45473
|
+
return localVarFp.addEventPassTypeExchangeTarget(requestParameters.eventId, requestParameters.passTypeId, requestParameters.passTypeExchangeTargetCreateInputs, options).then((request) => request(axios, basePath));
|
|
45474
|
+
},
|
|
45475
|
+
/**
|
|
45476
|
+
* Get Event Pass Type Exchange Target Exchanges endpoint
|
|
45477
|
+
* @summary Get Event Pass Type Exchange Target Exchanges
|
|
45478
|
+
* @param {EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetExchangesRequest} requestParameters Request parameters.
|
|
45479
|
+
* @param {*} [options] Override http request option.
|
|
45480
|
+
* @throws {RequiredError}
|
|
45481
|
+
*/
|
|
45482
|
+
getEventPassTypeExchangeTargetExchanges(requestParameters, options) {
|
|
45483
|
+
return localVarFp.getEventPassTypeExchangeTargetExchanges(requestParameters.eventId, requestParameters.passTypeId, requestParameters.exchangeTargetId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
45484
|
+
},
|
|
45485
|
+
/**
|
|
45486
|
+
* Get Event Pass Type Exchange Target Payments endpoint
|
|
45487
|
+
* @summary Get Event Pass Type Exchange Target Payments
|
|
45488
|
+
* @param {EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetPaymentsRequest} requestParameters Request parameters.
|
|
45489
|
+
* @param {*} [options] Override http request option.
|
|
45490
|
+
* @throws {RequiredError}
|
|
45491
|
+
*/
|
|
45492
|
+
getEventPassTypeExchangeTargetPayments(requestParameters, options) {
|
|
45493
|
+
return localVarFp.getEventPassTypeExchangeTargetPayments(requestParameters.eventId, requestParameters.passTypeId, requestParameters.exchangeTargetId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
45494
|
+
},
|
|
45495
|
+
/**
|
|
45496
|
+
* Get Event Pass Type Exchange Targets endpoint
|
|
45497
|
+
* @summary Get Event Pass Type Exchange Targets
|
|
45498
|
+
* @param {EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetsRequest} requestParameters Request parameters.
|
|
45499
|
+
* @param {*} [options] Override http request option.
|
|
45500
|
+
* @throws {RequiredError}
|
|
45501
|
+
*/
|
|
45502
|
+
getEventPassTypeExchangeTargets(requestParameters, options) {
|
|
45503
|
+
return localVarFp.getEventPassTypeExchangeTargets(requestParameters.eventId, requestParameters.passTypeId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
45504
|
+
},
|
|
45505
|
+
/**
|
|
45506
|
+
* Remove Event Pass Type Exchange Target endpoint
|
|
45507
|
+
* @summary Remove Event Pass Type Exchange Target
|
|
45508
|
+
* @param {EventsPasstypesExchangetargetsApiRemoveEventPassTypeExchangeTargetRequest} requestParameters Request parameters.
|
|
45509
|
+
* @param {*} [options] Override http request option.
|
|
45510
|
+
* @throws {RequiredError}
|
|
45511
|
+
*/
|
|
45512
|
+
removeEventPassTypeExchangeTarget(requestParameters, options) {
|
|
45513
|
+
return localVarFp.removeEventPassTypeExchangeTarget(requestParameters.eventId, requestParameters.passTypeId, requestParameters.exchangeTargetId, options).then((request) => request(axios, basePath));
|
|
45514
|
+
},
|
|
45515
|
+
/**
|
|
45516
|
+
* Update Event Pass Type Exchange Target endpoint
|
|
45517
|
+
* @summary Update Event Pass Type Exchange Target
|
|
45518
|
+
* @param {EventsPasstypesExchangetargetsApiUpdateEventPassTypeExchangeTargetRequest} requestParameters Request parameters.
|
|
45519
|
+
* @param {*} [options] Override http request option.
|
|
45520
|
+
* @throws {RequiredError}
|
|
45521
|
+
*/
|
|
45522
|
+
updateEventPassTypeExchangeTarget(requestParameters, options) {
|
|
45523
|
+
return localVarFp.updateEventPassTypeExchangeTarget(requestParameters.eventId, requestParameters.passTypeId, requestParameters.exchangeTargetId, requestParameters.passTypeExchangeTargetUpdateInputs, options).then((request) => request(axios, basePath));
|
|
45524
|
+
},
|
|
45525
|
+
};
|
|
45526
|
+
};
|
|
45527
|
+
/**
|
|
45528
|
+
* EventsPasstypesExchangetargetsApi - object-oriented interface
|
|
45529
|
+
*/
|
|
45530
|
+
export class EventsPasstypesExchangetargetsApi extends BaseAPI {
|
|
45531
|
+
/**
|
|
45532
|
+
* Add Event Pass Type Exchange Target endpoint
|
|
45533
|
+
* @summary Add Event Pass Type Exchange Target
|
|
45534
|
+
* @param {EventsPasstypesExchangetargetsApiAddEventPassTypeExchangeTargetRequest} requestParameters Request parameters.
|
|
45535
|
+
* @param {*} [options] Override http request option.
|
|
45536
|
+
* @throws {RequiredError}
|
|
45537
|
+
*/
|
|
45538
|
+
addEventPassTypeExchangeTarget(requestParameters, options) {
|
|
45539
|
+
return EventsPasstypesExchangetargetsApiFp(this.configuration).addEventPassTypeExchangeTarget(requestParameters.eventId, requestParameters.passTypeId, requestParameters.passTypeExchangeTargetCreateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
45540
|
+
}
|
|
45541
|
+
/**
|
|
45542
|
+
* Get Event Pass Type Exchange Target Exchanges endpoint
|
|
45543
|
+
* @summary Get Event Pass Type Exchange Target Exchanges
|
|
45544
|
+
* @param {EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetExchangesRequest} requestParameters Request parameters.
|
|
45545
|
+
* @param {*} [options] Override http request option.
|
|
45546
|
+
* @throws {RequiredError}
|
|
45547
|
+
*/
|
|
45548
|
+
getEventPassTypeExchangeTargetExchanges(requestParameters, options) {
|
|
45549
|
+
return EventsPasstypesExchangetargetsApiFp(this.configuration).getEventPassTypeExchangeTargetExchanges(requestParameters.eventId, requestParameters.passTypeId, requestParameters.exchangeTargetId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
45550
|
+
}
|
|
45551
|
+
/**
|
|
45552
|
+
* Get Event Pass Type Exchange Target Payments endpoint
|
|
45553
|
+
* @summary Get Event Pass Type Exchange Target Payments
|
|
45554
|
+
* @param {EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetPaymentsRequest} requestParameters Request parameters.
|
|
45555
|
+
* @param {*} [options] Override http request option.
|
|
45556
|
+
* @throws {RequiredError}
|
|
45557
|
+
*/
|
|
45558
|
+
getEventPassTypeExchangeTargetPayments(requestParameters, options) {
|
|
45559
|
+
return EventsPasstypesExchangetargetsApiFp(this.configuration).getEventPassTypeExchangeTargetPayments(requestParameters.eventId, requestParameters.passTypeId, requestParameters.exchangeTargetId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
45560
|
+
}
|
|
45561
|
+
/**
|
|
45562
|
+
* Get Event Pass Type Exchange Targets endpoint
|
|
45563
|
+
* @summary Get Event Pass Type Exchange Targets
|
|
45564
|
+
* @param {EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetsRequest} requestParameters Request parameters.
|
|
45565
|
+
* @param {*} [options] Override http request option.
|
|
45566
|
+
* @throws {RequiredError}
|
|
45567
|
+
*/
|
|
45568
|
+
getEventPassTypeExchangeTargets(requestParameters, options) {
|
|
45569
|
+
return EventsPasstypesExchangetargetsApiFp(this.configuration).getEventPassTypeExchangeTargets(requestParameters.eventId, requestParameters.passTypeId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
45570
|
+
}
|
|
45571
|
+
/**
|
|
45572
|
+
* Remove Event Pass Type Exchange Target endpoint
|
|
45573
|
+
* @summary Remove Event Pass Type Exchange Target
|
|
45574
|
+
* @param {EventsPasstypesExchangetargetsApiRemoveEventPassTypeExchangeTargetRequest} requestParameters Request parameters.
|
|
45575
|
+
* @param {*} [options] Override http request option.
|
|
45576
|
+
* @throws {RequiredError}
|
|
45577
|
+
*/
|
|
45578
|
+
removeEventPassTypeExchangeTarget(requestParameters, options) {
|
|
45579
|
+
return EventsPasstypesExchangetargetsApiFp(this.configuration).removeEventPassTypeExchangeTarget(requestParameters.eventId, requestParameters.passTypeId, requestParameters.exchangeTargetId, options).then((request) => request(this.axios, this.basePath));
|
|
45580
|
+
}
|
|
45581
|
+
/**
|
|
45582
|
+
* Update Event Pass Type Exchange Target endpoint
|
|
45583
|
+
* @summary Update Event Pass Type Exchange Target
|
|
45584
|
+
* @param {EventsPasstypesExchangetargetsApiUpdateEventPassTypeExchangeTargetRequest} requestParameters Request parameters.
|
|
45585
|
+
* @param {*} [options] Override http request option.
|
|
45586
|
+
* @throws {RequiredError}
|
|
45587
|
+
*/
|
|
45588
|
+
updateEventPassTypeExchangeTarget(requestParameters, options) {
|
|
45589
|
+
return EventsPasstypesExchangetargetsApiFp(this.configuration).updateEventPassTypeExchangeTarget(requestParameters.eventId, requestParameters.passTypeId, requestParameters.exchangeTargetId, requestParameters.passTypeExchangeTargetUpdateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
45590
|
+
}
|
|
45591
|
+
}
|
|
45079
45592
|
/**
|
|
45080
45593
|
* EventsPasstypesPriceschedulesApi - axios parameter creator
|
|
45081
45594
|
*/
|