@connectedxm/admin-sdk 7.8.1 → 7.9.2
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 +913 -106
- package/dist/AdminApi.d.ts +2 -1
- package/dist/AdminApi.js +1 -0
- package/dist/api.d.ts +518 -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 +518 -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/docs/TaxIntegration.md +2 -0
- package/docs/TaxIntegrationCreateInputs.md +8 -0
- package/docs/TaxIntegrationUpdateInputs.md +2 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -430,6 +430,16 @@ export enum AddChannelSubscriber200ResponseStatusEnum {
|
|
|
430
430
|
Ok = 'ok'
|
|
431
431
|
}
|
|
432
432
|
|
|
433
|
+
export interface AddEventPassTypeExchangeTarget200Response {
|
|
434
|
+
'status': AddEventPassTypeExchangeTarget200ResponseStatusEnum;
|
|
435
|
+
'message': string;
|
|
436
|
+
'data': EventPassTypeExchangeTarget;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
export enum AddEventPassTypeExchangeTarget200ResponseStatusEnum {
|
|
440
|
+
Ok = 'ok'
|
|
441
|
+
}
|
|
442
|
+
|
|
433
443
|
export interface AddOrganizationUser200Response {
|
|
434
444
|
'status': AddOrganizationUser200ResponseStatusEnum;
|
|
435
445
|
'message': string;
|
|
@@ -1434,6 +1444,18 @@ export interface BaseEventPassType {
|
|
|
1434
1444
|
}
|
|
1435
1445
|
|
|
1436
1446
|
|
|
1447
|
+
export interface BaseEventPassTypeExchangeTarget {
|
|
1448
|
+
'id': string;
|
|
1449
|
+
'enabled': boolean;
|
|
1450
|
+
'sourcePassTypeId': string;
|
|
1451
|
+
'sourcePassType': BaseEventPassType;
|
|
1452
|
+
'targetPassTypeId': string;
|
|
1453
|
+
'targetPassType': BaseEventPassType;
|
|
1454
|
+
'fixedPricing': boolean;
|
|
1455
|
+
'amount': number;
|
|
1456
|
+
'startDate': string | null;
|
|
1457
|
+
'endDate': string | null;
|
|
1458
|
+
}
|
|
1437
1459
|
export interface BaseEventPassTypePriceSchedule {
|
|
1438
1460
|
'id': string;
|
|
1439
1461
|
'ticketId': string;
|
|
@@ -1992,6 +2014,17 @@ export interface BasePassAttributeAttribute {
|
|
|
1992
2014
|
'id': string;
|
|
1993
2015
|
'name': string;
|
|
1994
2016
|
}
|
|
2017
|
+
export interface BasePassExchange {
|
|
2018
|
+
'id': string;
|
|
2019
|
+
'accountId': string;
|
|
2020
|
+
'passId': string;
|
|
2021
|
+
'exchangeType': ExchangeType;
|
|
2022
|
+
'exchangeTargetId': string;
|
|
2023
|
+
'exchangeTarget': EventPassTypeExchangeTarget;
|
|
2024
|
+
'lineItem': BasePaymentLineItem | null;
|
|
2025
|
+
}
|
|
2026
|
+
|
|
2027
|
+
|
|
1995
2028
|
export interface BasePayment {
|
|
1996
2029
|
'id': number;
|
|
1997
2030
|
'type': PaymentType;
|
|
@@ -4722,6 +4755,7 @@ export interface Event {
|
|
|
4722
4755
|
'groupId': string | null;
|
|
4723
4756
|
'group': BaseGroup | null;
|
|
4724
4757
|
'groupOnly': boolean;
|
|
4758
|
+
'guestRegistration': boolean;
|
|
4725
4759
|
'backgroundImageId': string | null;
|
|
4726
4760
|
'backgroundImage': BaseImage | null;
|
|
4727
4761
|
'registrationHeaderImageId': string | null;
|
|
@@ -5094,6 +5128,7 @@ export interface EventCreateInputs {
|
|
|
5094
5128
|
'streamReplayId'?: string | null;
|
|
5095
5129
|
'groupId'?: string | null;
|
|
5096
5130
|
'groupOnly'?: boolean;
|
|
5131
|
+
'guestRegistration'?: boolean;
|
|
5097
5132
|
'passSupply'?: AdvertisementCreateInputsWeight | null;
|
|
5098
5133
|
'passLimitPerAccount'?: EventCreateInputsPassLimitPerAccount | null;
|
|
5099
5134
|
'roundName'?: string | null;
|
|
@@ -5464,6 +5499,20 @@ export interface EventPassType {
|
|
|
5464
5499
|
export interface EventPassTypeAllOfCount {
|
|
5465
5500
|
'purchases': number;
|
|
5466
5501
|
}
|
|
5502
|
+
export interface EventPassTypeExchangeTarget {
|
|
5503
|
+
'id': string;
|
|
5504
|
+
'enabled': boolean;
|
|
5505
|
+
'sourcePassTypeId': string;
|
|
5506
|
+
'sourcePassType': BaseEventPassType;
|
|
5507
|
+
'targetPassTypeId': string;
|
|
5508
|
+
'targetPassType': BaseEventPassType;
|
|
5509
|
+
'fixedPricing': boolean;
|
|
5510
|
+
'amount': number;
|
|
5511
|
+
'startDate': string | null;
|
|
5512
|
+
'endDate': string | null;
|
|
5513
|
+
'createdAt': string;
|
|
5514
|
+
'updatedAt': string;
|
|
5515
|
+
}
|
|
5467
5516
|
export interface EventPassTypePriceSchedule {
|
|
5468
5517
|
'id': string;
|
|
5469
5518
|
'ticketId': string;
|
|
@@ -6561,6 +6610,7 @@ export interface EventUpdateInputs {
|
|
|
6561
6610
|
'streamReplayId'?: string | null;
|
|
6562
6611
|
'groupId'?: string | null;
|
|
6563
6612
|
'groupOnly'?: boolean;
|
|
6613
|
+
'guestRegistration'?: boolean;
|
|
6564
6614
|
'passSupply'?: AdvertisementCreateInputsWeight | null;
|
|
6565
6615
|
'passLimitPerAccount'?: EventCreateInputsPassLimitPerAccount | null;
|
|
6566
6616
|
'roundName'?: string | null;
|
|
@@ -6583,6 +6633,14 @@ export interface EventVariantCouponSyncInputs {
|
|
|
6583
6633
|
'fields'?: Array<string>;
|
|
6584
6634
|
}
|
|
6585
6635
|
|
|
6636
|
+
export enum ExchangeType {
|
|
6637
|
+
Upgrade = 'upgrade',
|
|
6638
|
+
Downgrade = 'downgrade',
|
|
6639
|
+
Swap = 'swap'
|
|
6640
|
+
}
|
|
6641
|
+
|
|
6642
|
+
|
|
6643
|
+
|
|
6586
6644
|
export enum ExportStatus {
|
|
6587
6645
|
Pending = 'pending',
|
|
6588
6646
|
Resolved = 'resolved',
|
|
@@ -7980,6 +8038,28 @@ export enum GetEventPassTransfers200ResponseStatusEnum {
|
|
|
7980
8038
|
Ok = 'ok'
|
|
7981
8039
|
}
|
|
7982
8040
|
|
|
8041
|
+
export interface GetEventPassTypeExchangeTargetExchanges200Response {
|
|
8042
|
+
'status': GetEventPassTypeExchangeTargetExchanges200ResponseStatusEnum;
|
|
8043
|
+
'message': string;
|
|
8044
|
+
'data': Array<PassExchange>;
|
|
8045
|
+
'count'?: number;
|
|
8046
|
+
}
|
|
8047
|
+
|
|
8048
|
+
export enum GetEventPassTypeExchangeTargetExchanges200ResponseStatusEnum {
|
|
8049
|
+
Ok = 'ok'
|
|
8050
|
+
}
|
|
8051
|
+
|
|
8052
|
+
export interface GetEventPassTypeExchangeTargets200Response {
|
|
8053
|
+
'status': GetEventPassTypeExchangeTargets200ResponseStatusEnum;
|
|
8054
|
+
'message': string;
|
|
8055
|
+
'data': Array<EventPassTypeExchangeTarget>;
|
|
8056
|
+
'count'?: number;
|
|
8057
|
+
}
|
|
8058
|
+
|
|
8059
|
+
export enum GetEventPassTypeExchangeTargets200ResponseStatusEnum {
|
|
8060
|
+
Ok = 'ok'
|
|
8061
|
+
}
|
|
8062
|
+
|
|
7983
8063
|
export interface GetEventPassTypePriceSchedule200Response {
|
|
7984
8064
|
'status': GetEventPassTypePriceSchedule200ResponseStatusEnum;
|
|
7985
8065
|
'message': string;
|
|
@@ -10181,16 +10261,6 @@ export interface ImageWCopyUri {
|
|
|
10181
10261
|
}
|
|
10182
10262
|
|
|
10183
10263
|
|
|
10184
|
-
export interface ImpersonateAccount200Response {
|
|
10185
|
-
'status': ImpersonateAccount200ResponseStatusEnum;
|
|
10186
|
-
'message': string;
|
|
10187
|
-
'data': string;
|
|
10188
|
-
}
|
|
10189
|
-
|
|
10190
|
-
export enum ImpersonateAccount200ResponseStatusEnum {
|
|
10191
|
-
Ok = 'ok'
|
|
10192
|
-
}
|
|
10193
|
-
|
|
10194
10264
|
export interface Import {
|
|
10195
10265
|
'id': string;
|
|
10196
10266
|
'type': string;
|
|
@@ -10433,6 +10503,16 @@ export interface InvoiceUpdateInputs {
|
|
|
10433
10503
|
'eventId'?: string | null;
|
|
10434
10504
|
'paymentIntegrationId'?: string | null;
|
|
10435
10505
|
}
|
|
10506
|
+
export interface JoinMeeting200Response {
|
|
10507
|
+
'status': JoinMeeting200ResponseStatusEnum;
|
|
10508
|
+
'message': string;
|
|
10509
|
+
'data': string;
|
|
10510
|
+
}
|
|
10511
|
+
|
|
10512
|
+
export enum JoinMeeting200ResponseStatusEnum {
|
|
10513
|
+
Ok = 'ok'
|
|
10514
|
+
}
|
|
10515
|
+
|
|
10436
10516
|
export interface Lead {
|
|
10437
10517
|
'id': string;
|
|
10438
10518
|
'firstName': string | null;
|
|
@@ -11492,6 +11572,20 @@ export interface PassAttributesUpdateInputsValuesInner {
|
|
|
11492
11572
|
'attributeId': string;
|
|
11493
11573
|
'value': string;
|
|
11494
11574
|
}
|
|
11575
|
+
export interface PassExchange {
|
|
11576
|
+
'id': string;
|
|
11577
|
+
'accountId': string;
|
|
11578
|
+
'passId': string;
|
|
11579
|
+
'exchangeType': ExchangeType;
|
|
11580
|
+
'exchangeTargetId': string;
|
|
11581
|
+
'exchangeTarget': EventPassTypeExchangeTarget;
|
|
11582
|
+
'lineItem': BasePaymentLineItem | null;
|
|
11583
|
+
'account': BaseAccount;
|
|
11584
|
+
'pass': BaseEventPass;
|
|
11585
|
+
'createdAt': string;
|
|
11586
|
+
}
|
|
11587
|
+
|
|
11588
|
+
|
|
11495
11589
|
|
|
11496
11590
|
export enum PassTypeAccessLevel {
|
|
11497
11591
|
Regular = 'regular',
|
|
@@ -11533,6 +11627,21 @@ export interface PassTypeCreateInputs {
|
|
|
11533
11627
|
}
|
|
11534
11628
|
|
|
11535
11629
|
|
|
11630
|
+
export interface PassTypeExchangeTargetCreateInputs {
|
|
11631
|
+
'enabled': boolean;
|
|
11632
|
+
'targetPassTypeId': string;
|
|
11633
|
+
'fixedPricing'?: boolean;
|
|
11634
|
+
'amount'?: number;
|
|
11635
|
+
'startDate'?: string | null;
|
|
11636
|
+
'endDate'?: string | null;
|
|
11637
|
+
}
|
|
11638
|
+
export interface PassTypeExchangeTargetUpdateInputs {
|
|
11639
|
+
'enabled'?: boolean;
|
|
11640
|
+
'fixedPricing'?: boolean;
|
|
11641
|
+
'amount'?: number;
|
|
11642
|
+
'startDate'?: string | null;
|
|
11643
|
+
'endDate'?: string | null;
|
|
11644
|
+
}
|
|
11536
11645
|
export interface PassTypePriceScheduleCreateInputs {
|
|
11537
11646
|
'ticketId'?: string | null;
|
|
11538
11647
|
'price'?: string | null;
|
|
@@ -11659,6 +11768,7 @@ export interface Payment {
|
|
|
11659
11768
|
'coupon': BaseCoupon | null;
|
|
11660
11769
|
'invoice': BaseInvoice | null;
|
|
11661
11770
|
'series': BaseSeries | null;
|
|
11771
|
+
'exchangeTarget': BaseEventPassTypeExchangeTarget | null;
|
|
11662
11772
|
'metadata'?: object;
|
|
11663
11773
|
}
|
|
11664
11774
|
|
|
@@ -13581,6 +13691,7 @@ export interface TaxIntegration {
|
|
|
13581
13691
|
'id': string;
|
|
13582
13692
|
'type': TaxIntegrationType;
|
|
13583
13693
|
'connectionId': string;
|
|
13694
|
+
'instanceUrl': string | null;
|
|
13584
13695
|
'sandbox': boolean;
|
|
13585
13696
|
'enabled': boolean;
|
|
13586
13697
|
'companyCode': string;
|
|
@@ -13604,6 +13715,10 @@ export interface TaxIntegrationCreateInputs {
|
|
|
13604
13715
|
'apiKey'?: string;
|
|
13605
13716
|
'accountId'?: string;
|
|
13606
13717
|
'licenseKey'?: string;
|
|
13718
|
+
'clientId'?: string;
|
|
13719
|
+
'clientSecret'?: string;
|
|
13720
|
+
'instanceUrl'?: string;
|
|
13721
|
+
'companyCode'?: string;
|
|
13607
13722
|
}
|
|
13608
13723
|
export interface TaxIntegrationLog {
|
|
13609
13724
|
'id': string;
|
|
@@ -13636,6 +13751,7 @@ export enum TaxIntegrationType {
|
|
|
13636
13751
|
|
|
13637
13752
|
export interface TaxIntegrationUpdateInputs {
|
|
13638
13753
|
'companyCode'?: string | null;
|
|
13754
|
+
'instanceUrl'?: string | null;
|
|
13639
13755
|
'commit'?: boolean;
|
|
13640
13756
|
'logging'?: boolean;
|
|
13641
13757
|
'passTaxCode'?: string | null;
|
|
@@ -15158,50 +15274,6 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15158
15274
|
options: localVarRequestOptions,
|
|
15159
15275
|
};
|
|
15160
15276
|
},
|
|
15161
|
-
/**
|
|
15162
|
-
* 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.
|
|
15163
|
-
* @summary Impersonate account
|
|
15164
|
-
* @param {string} accountId The account identifier
|
|
15165
|
-
* @param {string} username The username identifier
|
|
15166
|
-
* @param {*} [options] Override http request option.
|
|
15167
|
-
* @throws {RequiredError}
|
|
15168
|
-
*/
|
|
15169
|
-
impersonateAccount: async (accountId: string, username: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15170
|
-
// verify required parameter 'accountId' is not null or undefined
|
|
15171
|
-
assertParamExists('impersonateAccount', 'accountId', accountId)
|
|
15172
|
-
// verify required parameter 'username' is not null or undefined
|
|
15173
|
-
assertParamExists('impersonateAccount', 'username', username)
|
|
15174
|
-
const localVarPath = `/accounts/{accountId}/impersonate/{username}`
|
|
15175
|
-
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)))
|
|
15176
|
-
.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
15177
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15178
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15179
|
-
let baseOptions;
|
|
15180
|
-
if (configuration) {
|
|
15181
|
-
baseOptions = configuration.baseOptions;
|
|
15182
|
-
}
|
|
15183
|
-
|
|
15184
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
15185
|
-
const localVarHeaderParameter = {} as any;
|
|
15186
|
-
const localVarQueryParameter = {} as any;
|
|
15187
|
-
|
|
15188
|
-
// authentication ApiKeyAuth required
|
|
15189
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
15190
|
-
|
|
15191
|
-
// authentication OrganizationId required
|
|
15192
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
15193
|
-
|
|
15194
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
15195
|
-
|
|
15196
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15197
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15198
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15199
|
-
|
|
15200
|
-
return {
|
|
15201
|
-
url: toPathString(localVarUrlObj),
|
|
15202
|
-
options: localVarRequestOptions,
|
|
15203
|
-
};
|
|
15204
|
-
},
|
|
15205
15277
|
/**
|
|
15206
15278
|
* Enqueues a background job to resync the given account\'s data, requiring update permission on accounts.
|
|
15207
15279
|
* @summary Sync a single account
|
|
@@ -15601,20 +15673,6 @@ export const AccountsApiFp = function(configuration?: Configuration) {
|
|
|
15601
15673
|
const localVarOperationServerBasePath = operationServerMap['AccountsApi.getAccountsByInternalRefId']?.[localVarOperationServerIndex]?.url;
|
|
15602
15674
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15603
15675
|
},
|
|
15604
|
-
/**
|
|
15605
|
-
* 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.
|
|
15606
|
-
* @summary Impersonate account
|
|
15607
|
-
* @param {string} accountId The account identifier
|
|
15608
|
-
* @param {string} username The username identifier
|
|
15609
|
-
* @param {*} [options] Override http request option.
|
|
15610
|
-
* @throws {RequiredError}
|
|
15611
|
-
*/
|
|
15612
|
-
async impersonateAccount(accountId: string, username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImpersonateAccount200Response>> {
|
|
15613
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.impersonateAccount(accountId, username, options);
|
|
15614
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15615
|
-
const localVarOperationServerBasePath = operationServerMap['AccountsApi.impersonateAccount']?.[localVarOperationServerIndex]?.url;
|
|
15616
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15617
|
-
},
|
|
15618
15676
|
/**
|
|
15619
15677
|
* Enqueues a background job to resync the given account\'s data, requiring update permission on accounts.
|
|
15620
15678
|
* @summary Sync a single account
|
|
@@ -15833,16 +15891,6 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
|
|
|
15833
15891
|
getAccountsByInternalRefId(requestParameters: AccountsApiGetAccountsByInternalRefIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountsByInternalRefId200Response> {
|
|
15834
15892
|
return localVarFp.getAccountsByInternalRefId(requestParameters.internalRefId, options).then((request) => request(axios, basePath));
|
|
15835
15893
|
},
|
|
15836
|
-
/**
|
|
15837
|
-
* 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.
|
|
15838
|
-
* @summary Impersonate account
|
|
15839
|
-
* @param {AccountsApiImpersonateAccountRequest} requestParameters Request parameters.
|
|
15840
|
-
* @param {*} [options] Override http request option.
|
|
15841
|
-
* @throws {RequiredError}
|
|
15842
|
-
*/
|
|
15843
|
-
impersonateAccount(requestParameters: AccountsApiImpersonateAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<ImpersonateAccount200Response> {
|
|
15844
|
-
return localVarFp.impersonateAccount(requestParameters.accountId, requestParameters.username, options).then((request) => request(axios, basePath));
|
|
15845
|
-
},
|
|
15846
15894
|
/**
|
|
15847
15895
|
* Enqueues a background job to resync the given account\'s data, requiring update permission on accounts.
|
|
15848
15896
|
* @summary Sync a single account
|
|
@@ -16282,21 +16330,6 @@ export interface AccountsApiGetAccountsByInternalRefIdRequest {
|
|
|
16282
16330
|
readonly internalRefId: string
|
|
16283
16331
|
}
|
|
16284
16332
|
|
|
16285
|
-
/**
|
|
16286
|
-
* Request parameters for impersonateAccount operation in AccountsApi.
|
|
16287
|
-
*/
|
|
16288
|
-
export interface AccountsApiImpersonateAccountRequest {
|
|
16289
|
-
/**
|
|
16290
|
-
* The account identifier
|
|
16291
|
-
*/
|
|
16292
|
-
readonly accountId: string
|
|
16293
|
-
|
|
16294
|
-
/**
|
|
16295
|
-
* The username identifier
|
|
16296
|
-
*/
|
|
16297
|
-
readonly username: string
|
|
16298
|
-
}
|
|
16299
|
-
|
|
16300
16333
|
/**
|
|
16301
16334
|
* Request parameters for syncAccount operation in AccountsApi.
|
|
16302
16335
|
*/
|
|
@@ -16510,17 +16543,6 @@ export class AccountsApi extends BaseAPI {
|
|
|
16510
16543
|
return AccountsApiFp(this.configuration).getAccountsByInternalRefId(requestParameters.internalRefId, options).then((request) => request(this.axios, this.basePath));
|
|
16511
16544
|
}
|
|
16512
16545
|
|
|
16513
|
-
/**
|
|
16514
|
-
* 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.
|
|
16515
|
-
* @summary Impersonate account
|
|
16516
|
-
* @param {AccountsApiImpersonateAccountRequest} requestParameters Request parameters.
|
|
16517
|
-
* @param {*} [options] Override http request option.
|
|
16518
|
-
* @throws {RequiredError}
|
|
16519
|
-
*/
|
|
16520
|
-
public impersonateAccount(requestParameters: AccountsApiImpersonateAccountRequest, options?: RawAxiosRequestConfig) {
|
|
16521
|
-
return AccountsApiFp(this.configuration).impersonateAccount(requestParameters.accountId, requestParameters.username, options).then((request) => request(this.axios, this.basePath));
|
|
16522
|
-
}
|
|
16523
|
-
|
|
16524
16546
|
/**
|
|
16525
16547
|
* Enqueues a background job to resync the given account\'s data, requiring update permission on accounts.
|
|
16526
16548
|
* @summary Sync a single account
|
|
@@ -70206,6 +70228,791 @@ export class EventsPasstypesApi extends BaseAPI {
|
|
|
70206
70228
|
|
|
70207
70229
|
|
|
70208
70230
|
|
|
70231
|
+
/**
|
|
70232
|
+
* EventsPasstypesExchangetargetsApi - axios parameter creator
|
|
70233
|
+
*/
|
|
70234
|
+
export const EventsPasstypesExchangetargetsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
70235
|
+
return {
|
|
70236
|
+
/**
|
|
70237
|
+
* Add Event Pass Type Exchange Target endpoint
|
|
70238
|
+
* @summary Add Event Pass Type Exchange Target
|
|
70239
|
+
* @param {string} eventId The event identifier
|
|
70240
|
+
* @param {string} passTypeId The passType identifier
|
|
70241
|
+
* @param {PassTypeExchangeTargetCreateInputs} passTypeExchangeTargetCreateInputs
|
|
70242
|
+
* @param {*} [options] Override http request option.
|
|
70243
|
+
* @throws {RequiredError}
|
|
70244
|
+
*/
|
|
70245
|
+
addEventPassTypeExchangeTarget: async (eventId: string, passTypeId: string, passTypeExchangeTargetCreateInputs: PassTypeExchangeTargetCreateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
70246
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
70247
|
+
assertParamExists('addEventPassTypeExchangeTarget', 'eventId', eventId)
|
|
70248
|
+
// verify required parameter 'passTypeId' is not null or undefined
|
|
70249
|
+
assertParamExists('addEventPassTypeExchangeTarget', 'passTypeId', passTypeId)
|
|
70250
|
+
// verify required parameter 'passTypeExchangeTargetCreateInputs' is not null or undefined
|
|
70251
|
+
assertParamExists('addEventPassTypeExchangeTarget', 'passTypeExchangeTargetCreateInputs', passTypeExchangeTargetCreateInputs)
|
|
70252
|
+
const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/exchangeTargets`
|
|
70253
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
70254
|
+
.replace(`{${"passTypeId"}}`, encodeURIComponent(String(passTypeId)));
|
|
70255
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
70256
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
70257
|
+
let baseOptions;
|
|
70258
|
+
if (configuration) {
|
|
70259
|
+
baseOptions = configuration.baseOptions;
|
|
70260
|
+
}
|
|
70261
|
+
|
|
70262
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
70263
|
+
const localVarHeaderParameter = {} as any;
|
|
70264
|
+
const localVarQueryParameter = {} as any;
|
|
70265
|
+
|
|
70266
|
+
// authentication ApiKeyAuth required
|
|
70267
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
70268
|
+
|
|
70269
|
+
// authentication OrganizationId required
|
|
70270
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
70271
|
+
|
|
70272
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
70273
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
70274
|
+
|
|
70275
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
70276
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
70277
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
70278
|
+
localVarRequestOptions.data = serializeDataIfNeeded(passTypeExchangeTargetCreateInputs, localVarRequestOptions, configuration)
|
|
70279
|
+
|
|
70280
|
+
return {
|
|
70281
|
+
url: toPathString(localVarUrlObj),
|
|
70282
|
+
options: localVarRequestOptions,
|
|
70283
|
+
};
|
|
70284
|
+
},
|
|
70285
|
+
/**
|
|
70286
|
+
* Get Event Pass Type Exchange Target Exchanges endpoint
|
|
70287
|
+
* @summary Get Event Pass Type Exchange Target Exchanges
|
|
70288
|
+
* @param {string} eventId The event identifier
|
|
70289
|
+
* @param {string} passTypeId The passType identifier
|
|
70290
|
+
* @param {string} exchangeTargetId The exchangeTarget identifier
|
|
70291
|
+
* @param {number} [page] Page number
|
|
70292
|
+
* @param {number} [pageSize] Number of items per page
|
|
70293
|
+
* @param {string} [orderBy] Field to order by
|
|
70294
|
+
* @param {string} [search] Search query
|
|
70295
|
+
* @param {*} [options] Override http request option.
|
|
70296
|
+
* @throws {RequiredError}
|
|
70297
|
+
*/
|
|
70298
|
+
getEventPassTypeExchangeTargetExchanges: async (eventId: string, passTypeId: string, exchangeTargetId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
70299
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
70300
|
+
assertParamExists('getEventPassTypeExchangeTargetExchanges', 'eventId', eventId)
|
|
70301
|
+
// verify required parameter 'passTypeId' is not null or undefined
|
|
70302
|
+
assertParamExists('getEventPassTypeExchangeTargetExchanges', 'passTypeId', passTypeId)
|
|
70303
|
+
// verify required parameter 'exchangeTargetId' is not null or undefined
|
|
70304
|
+
assertParamExists('getEventPassTypeExchangeTargetExchanges', 'exchangeTargetId', exchangeTargetId)
|
|
70305
|
+
const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/exchangeTargets/{exchangeTargetId}/exchanges`
|
|
70306
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
70307
|
+
.replace(`{${"passTypeId"}}`, encodeURIComponent(String(passTypeId)))
|
|
70308
|
+
.replace(`{${"exchangeTargetId"}}`, encodeURIComponent(String(exchangeTargetId)));
|
|
70309
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
70310
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
70311
|
+
let baseOptions;
|
|
70312
|
+
if (configuration) {
|
|
70313
|
+
baseOptions = configuration.baseOptions;
|
|
70314
|
+
}
|
|
70315
|
+
|
|
70316
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
70317
|
+
const localVarHeaderParameter = {} as any;
|
|
70318
|
+
const localVarQueryParameter = {} as any;
|
|
70319
|
+
|
|
70320
|
+
// authentication ApiKeyAuth required
|
|
70321
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
70322
|
+
|
|
70323
|
+
// authentication OrganizationId required
|
|
70324
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
70325
|
+
|
|
70326
|
+
if (page !== undefined) {
|
|
70327
|
+
localVarQueryParameter['page'] = page;
|
|
70328
|
+
}
|
|
70329
|
+
|
|
70330
|
+
if (pageSize !== undefined) {
|
|
70331
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
70332
|
+
}
|
|
70333
|
+
|
|
70334
|
+
if (orderBy !== undefined) {
|
|
70335
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
70336
|
+
}
|
|
70337
|
+
|
|
70338
|
+
if (search !== undefined) {
|
|
70339
|
+
localVarQueryParameter['search'] = search;
|
|
70340
|
+
}
|
|
70341
|
+
|
|
70342
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
70343
|
+
|
|
70344
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
70345
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
70346
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
70347
|
+
|
|
70348
|
+
return {
|
|
70349
|
+
url: toPathString(localVarUrlObj),
|
|
70350
|
+
options: localVarRequestOptions,
|
|
70351
|
+
};
|
|
70352
|
+
},
|
|
70353
|
+
/**
|
|
70354
|
+
* Get Event Pass Type Exchange Target Payments endpoint
|
|
70355
|
+
* @summary Get Event Pass Type Exchange Target Payments
|
|
70356
|
+
* @param {string} eventId The event identifier
|
|
70357
|
+
* @param {string} passTypeId The passType identifier
|
|
70358
|
+
* @param {string} exchangeTargetId The exchangeTarget identifier
|
|
70359
|
+
* @param {number} [page] Page number
|
|
70360
|
+
* @param {number} [pageSize] Number of items per page
|
|
70361
|
+
* @param {string} [orderBy] Field to order by
|
|
70362
|
+
* @param {string} [search] Search query
|
|
70363
|
+
* @param {*} [options] Override http request option.
|
|
70364
|
+
* @throws {RequiredError}
|
|
70365
|
+
*/
|
|
70366
|
+
getEventPassTypeExchangeTargetPayments: async (eventId: string, passTypeId: string, exchangeTargetId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
70367
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
70368
|
+
assertParamExists('getEventPassTypeExchangeTargetPayments', 'eventId', eventId)
|
|
70369
|
+
// verify required parameter 'passTypeId' is not null or undefined
|
|
70370
|
+
assertParamExists('getEventPassTypeExchangeTargetPayments', 'passTypeId', passTypeId)
|
|
70371
|
+
// verify required parameter 'exchangeTargetId' is not null or undefined
|
|
70372
|
+
assertParamExists('getEventPassTypeExchangeTargetPayments', 'exchangeTargetId', exchangeTargetId)
|
|
70373
|
+
const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/exchangeTargets/{exchangeTargetId}/payments`
|
|
70374
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
70375
|
+
.replace(`{${"passTypeId"}}`, encodeURIComponent(String(passTypeId)))
|
|
70376
|
+
.replace(`{${"exchangeTargetId"}}`, encodeURIComponent(String(exchangeTargetId)));
|
|
70377
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
70378
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
70379
|
+
let baseOptions;
|
|
70380
|
+
if (configuration) {
|
|
70381
|
+
baseOptions = configuration.baseOptions;
|
|
70382
|
+
}
|
|
70383
|
+
|
|
70384
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
70385
|
+
const localVarHeaderParameter = {} as any;
|
|
70386
|
+
const localVarQueryParameter = {} as any;
|
|
70387
|
+
|
|
70388
|
+
// authentication ApiKeyAuth required
|
|
70389
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
70390
|
+
|
|
70391
|
+
// authentication OrganizationId required
|
|
70392
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
70393
|
+
|
|
70394
|
+
if (page !== undefined) {
|
|
70395
|
+
localVarQueryParameter['page'] = page;
|
|
70396
|
+
}
|
|
70397
|
+
|
|
70398
|
+
if (pageSize !== undefined) {
|
|
70399
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
70400
|
+
}
|
|
70401
|
+
|
|
70402
|
+
if (orderBy !== undefined) {
|
|
70403
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
70404
|
+
}
|
|
70405
|
+
|
|
70406
|
+
if (search !== undefined) {
|
|
70407
|
+
localVarQueryParameter['search'] = search;
|
|
70408
|
+
}
|
|
70409
|
+
|
|
70410
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
70411
|
+
|
|
70412
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
70413
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
70414
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
70415
|
+
|
|
70416
|
+
return {
|
|
70417
|
+
url: toPathString(localVarUrlObj),
|
|
70418
|
+
options: localVarRequestOptions,
|
|
70419
|
+
};
|
|
70420
|
+
},
|
|
70421
|
+
/**
|
|
70422
|
+
* Get Event Pass Type Exchange Targets endpoint
|
|
70423
|
+
* @summary Get Event Pass Type Exchange Targets
|
|
70424
|
+
* @param {string} eventId The event identifier
|
|
70425
|
+
* @param {string} passTypeId The passType identifier
|
|
70426
|
+
* @param {number} [page] Page number
|
|
70427
|
+
* @param {number} [pageSize] Number of items per page
|
|
70428
|
+
* @param {string} [orderBy] Field to order by
|
|
70429
|
+
* @param {string} [search] Search query
|
|
70430
|
+
* @param {*} [options] Override http request option.
|
|
70431
|
+
* @throws {RequiredError}
|
|
70432
|
+
*/
|
|
70433
|
+
getEventPassTypeExchangeTargets: async (eventId: string, passTypeId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
70434
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
70435
|
+
assertParamExists('getEventPassTypeExchangeTargets', 'eventId', eventId)
|
|
70436
|
+
// verify required parameter 'passTypeId' is not null or undefined
|
|
70437
|
+
assertParamExists('getEventPassTypeExchangeTargets', 'passTypeId', passTypeId)
|
|
70438
|
+
const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/exchangeTargets`
|
|
70439
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
70440
|
+
.replace(`{${"passTypeId"}}`, encodeURIComponent(String(passTypeId)));
|
|
70441
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
70442
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
70443
|
+
let baseOptions;
|
|
70444
|
+
if (configuration) {
|
|
70445
|
+
baseOptions = configuration.baseOptions;
|
|
70446
|
+
}
|
|
70447
|
+
|
|
70448
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
70449
|
+
const localVarHeaderParameter = {} as any;
|
|
70450
|
+
const localVarQueryParameter = {} as any;
|
|
70451
|
+
|
|
70452
|
+
// authentication ApiKeyAuth required
|
|
70453
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
70454
|
+
|
|
70455
|
+
// authentication OrganizationId required
|
|
70456
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
70457
|
+
|
|
70458
|
+
if (page !== undefined) {
|
|
70459
|
+
localVarQueryParameter['page'] = page;
|
|
70460
|
+
}
|
|
70461
|
+
|
|
70462
|
+
if (pageSize !== undefined) {
|
|
70463
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
70464
|
+
}
|
|
70465
|
+
|
|
70466
|
+
if (orderBy !== undefined) {
|
|
70467
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
70468
|
+
}
|
|
70469
|
+
|
|
70470
|
+
if (search !== undefined) {
|
|
70471
|
+
localVarQueryParameter['search'] = search;
|
|
70472
|
+
}
|
|
70473
|
+
|
|
70474
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
70475
|
+
|
|
70476
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
70477
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
70478
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
70479
|
+
|
|
70480
|
+
return {
|
|
70481
|
+
url: toPathString(localVarUrlObj),
|
|
70482
|
+
options: localVarRequestOptions,
|
|
70483
|
+
};
|
|
70484
|
+
},
|
|
70485
|
+
/**
|
|
70486
|
+
* Remove Event Pass Type Exchange Target endpoint
|
|
70487
|
+
* @summary Remove Event Pass Type Exchange Target
|
|
70488
|
+
* @param {string} eventId The event identifier
|
|
70489
|
+
* @param {string} passTypeId The passType identifier
|
|
70490
|
+
* @param {string} exchangeTargetId The exchangeTarget identifier
|
|
70491
|
+
* @param {*} [options] Override http request option.
|
|
70492
|
+
* @throws {RequiredError}
|
|
70493
|
+
*/
|
|
70494
|
+
removeEventPassTypeExchangeTarget: async (eventId: string, passTypeId: string, exchangeTargetId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
70495
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
70496
|
+
assertParamExists('removeEventPassTypeExchangeTarget', 'eventId', eventId)
|
|
70497
|
+
// verify required parameter 'passTypeId' is not null or undefined
|
|
70498
|
+
assertParamExists('removeEventPassTypeExchangeTarget', 'passTypeId', passTypeId)
|
|
70499
|
+
// verify required parameter 'exchangeTargetId' is not null or undefined
|
|
70500
|
+
assertParamExists('removeEventPassTypeExchangeTarget', 'exchangeTargetId', exchangeTargetId)
|
|
70501
|
+
const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/exchangeTargets/{exchangeTargetId}`
|
|
70502
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
70503
|
+
.replace(`{${"passTypeId"}}`, encodeURIComponent(String(passTypeId)))
|
|
70504
|
+
.replace(`{${"exchangeTargetId"}}`, encodeURIComponent(String(exchangeTargetId)));
|
|
70505
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
70506
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
70507
|
+
let baseOptions;
|
|
70508
|
+
if (configuration) {
|
|
70509
|
+
baseOptions = configuration.baseOptions;
|
|
70510
|
+
}
|
|
70511
|
+
|
|
70512
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
70513
|
+
const localVarHeaderParameter = {} as any;
|
|
70514
|
+
const localVarQueryParameter = {} as any;
|
|
70515
|
+
|
|
70516
|
+
// authentication ApiKeyAuth required
|
|
70517
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
70518
|
+
|
|
70519
|
+
// authentication OrganizationId required
|
|
70520
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
70521
|
+
|
|
70522
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
70523
|
+
|
|
70524
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
70525
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
70526
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
70527
|
+
|
|
70528
|
+
return {
|
|
70529
|
+
url: toPathString(localVarUrlObj),
|
|
70530
|
+
options: localVarRequestOptions,
|
|
70531
|
+
};
|
|
70532
|
+
},
|
|
70533
|
+
/**
|
|
70534
|
+
* Update Event Pass Type Exchange Target endpoint
|
|
70535
|
+
* @summary Update Event Pass Type Exchange Target
|
|
70536
|
+
* @param {string} eventId The event identifier
|
|
70537
|
+
* @param {string} passTypeId The passType identifier
|
|
70538
|
+
* @param {string} exchangeTargetId The exchangeTarget identifier
|
|
70539
|
+
* @param {PassTypeExchangeTargetUpdateInputs} passTypeExchangeTargetUpdateInputs
|
|
70540
|
+
* @param {*} [options] Override http request option.
|
|
70541
|
+
* @throws {RequiredError}
|
|
70542
|
+
*/
|
|
70543
|
+
updateEventPassTypeExchangeTarget: async (eventId: string, passTypeId: string, exchangeTargetId: string, passTypeExchangeTargetUpdateInputs: PassTypeExchangeTargetUpdateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
70544
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
70545
|
+
assertParamExists('updateEventPassTypeExchangeTarget', 'eventId', eventId)
|
|
70546
|
+
// verify required parameter 'passTypeId' is not null or undefined
|
|
70547
|
+
assertParamExists('updateEventPassTypeExchangeTarget', 'passTypeId', passTypeId)
|
|
70548
|
+
// verify required parameter 'exchangeTargetId' is not null or undefined
|
|
70549
|
+
assertParamExists('updateEventPassTypeExchangeTarget', 'exchangeTargetId', exchangeTargetId)
|
|
70550
|
+
// verify required parameter 'passTypeExchangeTargetUpdateInputs' is not null or undefined
|
|
70551
|
+
assertParamExists('updateEventPassTypeExchangeTarget', 'passTypeExchangeTargetUpdateInputs', passTypeExchangeTargetUpdateInputs)
|
|
70552
|
+
const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/exchangeTargets/{exchangeTargetId}`
|
|
70553
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
70554
|
+
.replace(`{${"passTypeId"}}`, encodeURIComponent(String(passTypeId)))
|
|
70555
|
+
.replace(`{${"exchangeTargetId"}}`, encodeURIComponent(String(exchangeTargetId)));
|
|
70556
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
70557
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
70558
|
+
let baseOptions;
|
|
70559
|
+
if (configuration) {
|
|
70560
|
+
baseOptions = configuration.baseOptions;
|
|
70561
|
+
}
|
|
70562
|
+
|
|
70563
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
70564
|
+
const localVarHeaderParameter = {} as any;
|
|
70565
|
+
const localVarQueryParameter = {} as any;
|
|
70566
|
+
|
|
70567
|
+
// authentication ApiKeyAuth required
|
|
70568
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
70569
|
+
|
|
70570
|
+
// authentication OrganizationId required
|
|
70571
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
70572
|
+
|
|
70573
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
70574
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
70575
|
+
|
|
70576
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
70577
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
70578
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
70579
|
+
localVarRequestOptions.data = serializeDataIfNeeded(passTypeExchangeTargetUpdateInputs, localVarRequestOptions, configuration)
|
|
70580
|
+
|
|
70581
|
+
return {
|
|
70582
|
+
url: toPathString(localVarUrlObj),
|
|
70583
|
+
options: localVarRequestOptions,
|
|
70584
|
+
};
|
|
70585
|
+
},
|
|
70586
|
+
}
|
|
70587
|
+
};
|
|
70588
|
+
|
|
70589
|
+
/**
|
|
70590
|
+
* EventsPasstypesExchangetargetsApi - functional programming interface
|
|
70591
|
+
*/
|
|
70592
|
+
export const EventsPasstypesExchangetargetsApiFp = function(configuration?: Configuration) {
|
|
70593
|
+
const localVarAxiosParamCreator = EventsPasstypesExchangetargetsApiAxiosParamCreator(configuration)
|
|
70594
|
+
return {
|
|
70595
|
+
/**
|
|
70596
|
+
* Add Event Pass Type Exchange Target endpoint
|
|
70597
|
+
* @summary Add Event Pass Type Exchange Target
|
|
70598
|
+
* @param {string} eventId The event identifier
|
|
70599
|
+
* @param {string} passTypeId The passType identifier
|
|
70600
|
+
* @param {PassTypeExchangeTargetCreateInputs} passTypeExchangeTargetCreateInputs
|
|
70601
|
+
* @param {*} [options] Override http request option.
|
|
70602
|
+
* @throws {RequiredError}
|
|
70603
|
+
*/
|
|
70604
|
+
async addEventPassTypeExchangeTarget(eventId: string, passTypeId: string, passTypeExchangeTargetCreateInputs: PassTypeExchangeTargetCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddEventPassTypeExchangeTarget200Response>> {
|
|
70605
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addEventPassTypeExchangeTarget(eventId, passTypeId, passTypeExchangeTargetCreateInputs, options);
|
|
70606
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
70607
|
+
const localVarOperationServerBasePath = operationServerMap['EventsPasstypesExchangetargetsApi.addEventPassTypeExchangeTarget']?.[localVarOperationServerIndex]?.url;
|
|
70608
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
70609
|
+
},
|
|
70610
|
+
/**
|
|
70611
|
+
* Get Event Pass Type Exchange Target Exchanges endpoint
|
|
70612
|
+
* @summary Get Event Pass Type Exchange Target Exchanges
|
|
70613
|
+
* @param {string} eventId The event identifier
|
|
70614
|
+
* @param {string} passTypeId The passType identifier
|
|
70615
|
+
* @param {string} exchangeTargetId The exchangeTarget identifier
|
|
70616
|
+
* @param {number} [page] Page number
|
|
70617
|
+
* @param {number} [pageSize] Number of items per page
|
|
70618
|
+
* @param {string} [orderBy] Field to order by
|
|
70619
|
+
* @param {string} [search] Search query
|
|
70620
|
+
* @param {*} [options] Override http request option.
|
|
70621
|
+
* @throws {RequiredError}
|
|
70622
|
+
*/
|
|
70623
|
+
async getEventPassTypeExchangeTargetExchanges(eventId: string, passTypeId: string, exchangeTargetId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventPassTypeExchangeTargetExchanges200Response>> {
|
|
70624
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEventPassTypeExchangeTargetExchanges(eventId, passTypeId, exchangeTargetId, page, pageSize, orderBy, search, options);
|
|
70625
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
70626
|
+
const localVarOperationServerBasePath = operationServerMap['EventsPasstypesExchangetargetsApi.getEventPassTypeExchangeTargetExchanges']?.[localVarOperationServerIndex]?.url;
|
|
70627
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
70628
|
+
},
|
|
70629
|
+
/**
|
|
70630
|
+
* Get Event Pass Type Exchange Target Payments endpoint
|
|
70631
|
+
* @summary Get Event Pass Type Exchange Target Payments
|
|
70632
|
+
* @param {string} eventId The event identifier
|
|
70633
|
+
* @param {string} passTypeId The passType identifier
|
|
70634
|
+
* @param {string} exchangeTargetId The exchangeTarget identifier
|
|
70635
|
+
* @param {number} [page] Page number
|
|
70636
|
+
* @param {number} [pageSize] Number of items per page
|
|
70637
|
+
* @param {string} [orderBy] Field to order by
|
|
70638
|
+
* @param {string} [search] Search query
|
|
70639
|
+
* @param {*} [options] Override http request option.
|
|
70640
|
+
* @throws {RequiredError}
|
|
70641
|
+
*/
|
|
70642
|
+
async getEventPassTypeExchangeTargetPayments(eventId: string, passTypeId: string, exchangeTargetId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountPayments200Response>> {
|
|
70643
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEventPassTypeExchangeTargetPayments(eventId, passTypeId, exchangeTargetId, page, pageSize, orderBy, search, options);
|
|
70644
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
70645
|
+
const localVarOperationServerBasePath = operationServerMap['EventsPasstypesExchangetargetsApi.getEventPassTypeExchangeTargetPayments']?.[localVarOperationServerIndex]?.url;
|
|
70646
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
70647
|
+
},
|
|
70648
|
+
/**
|
|
70649
|
+
* Get Event Pass Type Exchange Targets endpoint
|
|
70650
|
+
* @summary Get Event Pass Type Exchange Targets
|
|
70651
|
+
* @param {string} eventId The event identifier
|
|
70652
|
+
* @param {string} passTypeId The passType identifier
|
|
70653
|
+
* @param {number} [page] Page number
|
|
70654
|
+
* @param {number} [pageSize] Number of items per page
|
|
70655
|
+
* @param {string} [orderBy] Field to order by
|
|
70656
|
+
* @param {string} [search] Search query
|
|
70657
|
+
* @param {*} [options] Override http request option.
|
|
70658
|
+
* @throws {RequiredError}
|
|
70659
|
+
*/
|
|
70660
|
+
async getEventPassTypeExchangeTargets(eventId: string, passTypeId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventPassTypeExchangeTargets200Response>> {
|
|
70661
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEventPassTypeExchangeTargets(eventId, passTypeId, page, pageSize, orderBy, search, options);
|
|
70662
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
70663
|
+
const localVarOperationServerBasePath = operationServerMap['EventsPasstypesExchangetargetsApi.getEventPassTypeExchangeTargets']?.[localVarOperationServerIndex]?.url;
|
|
70664
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
70665
|
+
},
|
|
70666
|
+
/**
|
|
70667
|
+
* Remove Event Pass Type Exchange Target endpoint
|
|
70668
|
+
* @summary Remove Event Pass Type Exchange Target
|
|
70669
|
+
* @param {string} eventId The event identifier
|
|
70670
|
+
* @param {string} passTypeId The passType identifier
|
|
70671
|
+
* @param {string} exchangeTargetId The exchangeTarget identifier
|
|
70672
|
+
* @param {*} [options] Override http request option.
|
|
70673
|
+
* @throws {RequiredError}
|
|
70674
|
+
*/
|
|
70675
|
+
async removeEventPassTypeExchangeTarget(eventId: string, passTypeId: string, exchangeTargetId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddEventPassTypeExchangeTarget200Response>> {
|
|
70676
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.removeEventPassTypeExchangeTarget(eventId, passTypeId, exchangeTargetId, options);
|
|
70677
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
70678
|
+
const localVarOperationServerBasePath = operationServerMap['EventsPasstypesExchangetargetsApi.removeEventPassTypeExchangeTarget']?.[localVarOperationServerIndex]?.url;
|
|
70679
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
70680
|
+
},
|
|
70681
|
+
/**
|
|
70682
|
+
* Update Event Pass Type Exchange Target endpoint
|
|
70683
|
+
* @summary Update Event Pass Type Exchange Target
|
|
70684
|
+
* @param {string} eventId The event identifier
|
|
70685
|
+
* @param {string} passTypeId The passType identifier
|
|
70686
|
+
* @param {string} exchangeTargetId The exchangeTarget identifier
|
|
70687
|
+
* @param {PassTypeExchangeTargetUpdateInputs} passTypeExchangeTargetUpdateInputs
|
|
70688
|
+
* @param {*} [options] Override http request option.
|
|
70689
|
+
* @throws {RequiredError}
|
|
70690
|
+
*/
|
|
70691
|
+
async updateEventPassTypeExchangeTarget(eventId: string, passTypeId: string, exchangeTargetId: string, passTypeExchangeTargetUpdateInputs: PassTypeExchangeTargetUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddEventPassTypeExchangeTarget200Response>> {
|
|
70692
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateEventPassTypeExchangeTarget(eventId, passTypeId, exchangeTargetId, passTypeExchangeTargetUpdateInputs, options);
|
|
70693
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
70694
|
+
const localVarOperationServerBasePath = operationServerMap['EventsPasstypesExchangetargetsApi.updateEventPassTypeExchangeTarget']?.[localVarOperationServerIndex]?.url;
|
|
70695
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
70696
|
+
},
|
|
70697
|
+
}
|
|
70698
|
+
};
|
|
70699
|
+
|
|
70700
|
+
/**
|
|
70701
|
+
* EventsPasstypesExchangetargetsApi - factory interface
|
|
70702
|
+
*/
|
|
70703
|
+
export const EventsPasstypesExchangetargetsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
70704
|
+
const localVarFp = EventsPasstypesExchangetargetsApiFp(configuration)
|
|
70705
|
+
return {
|
|
70706
|
+
/**
|
|
70707
|
+
* Add Event Pass Type Exchange Target endpoint
|
|
70708
|
+
* @summary Add Event Pass Type Exchange Target
|
|
70709
|
+
* @param {EventsPasstypesExchangetargetsApiAddEventPassTypeExchangeTargetRequest} requestParameters Request parameters.
|
|
70710
|
+
* @param {*} [options] Override http request option.
|
|
70711
|
+
* @throws {RequiredError}
|
|
70712
|
+
*/
|
|
70713
|
+
addEventPassTypeExchangeTarget(requestParameters: EventsPasstypesExchangetargetsApiAddEventPassTypeExchangeTargetRequest, options?: RawAxiosRequestConfig): AxiosPromise<AddEventPassTypeExchangeTarget200Response> {
|
|
70714
|
+
return localVarFp.addEventPassTypeExchangeTarget(requestParameters.eventId, requestParameters.passTypeId, requestParameters.passTypeExchangeTargetCreateInputs, options).then((request) => request(axios, basePath));
|
|
70715
|
+
},
|
|
70716
|
+
/**
|
|
70717
|
+
* Get Event Pass Type Exchange Target Exchanges endpoint
|
|
70718
|
+
* @summary Get Event Pass Type Exchange Target Exchanges
|
|
70719
|
+
* @param {EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetExchangesRequest} requestParameters Request parameters.
|
|
70720
|
+
* @param {*} [options] Override http request option.
|
|
70721
|
+
* @throws {RequiredError}
|
|
70722
|
+
*/
|
|
70723
|
+
getEventPassTypeExchangeTargetExchanges(requestParameters: EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetExchangesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventPassTypeExchangeTargetExchanges200Response> {
|
|
70724
|
+
return localVarFp.getEventPassTypeExchangeTargetExchanges(requestParameters.eventId, requestParameters.passTypeId, requestParameters.exchangeTargetId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
70725
|
+
},
|
|
70726
|
+
/**
|
|
70727
|
+
* Get Event Pass Type Exchange Target Payments endpoint
|
|
70728
|
+
* @summary Get Event Pass Type Exchange Target Payments
|
|
70729
|
+
* @param {EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetPaymentsRequest} requestParameters Request parameters.
|
|
70730
|
+
* @param {*} [options] Override http request option.
|
|
70731
|
+
* @throws {RequiredError}
|
|
70732
|
+
*/
|
|
70733
|
+
getEventPassTypeExchangeTargetPayments(requestParameters: EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetPaymentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountPayments200Response> {
|
|
70734
|
+
return localVarFp.getEventPassTypeExchangeTargetPayments(requestParameters.eventId, requestParameters.passTypeId, requestParameters.exchangeTargetId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
70735
|
+
},
|
|
70736
|
+
/**
|
|
70737
|
+
* Get Event Pass Type Exchange Targets endpoint
|
|
70738
|
+
* @summary Get Event Pass Type Exchange Targets
|
|
70739
|
+
* @param {EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetsRequest} requestParameters Request parameters.
|
|
70740
|
+
* @param {*} [options] Override http request option.
|
|
70741
|
+
* @throws {RequiredError}
|
|
70742
|
+
*/
|
|
70743
|
+
getEventPassTypeExchangeTargets(requestParameters: EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventPassTypeExchangeTargets200Response> {
|
|
70744
|
+
return localVarFp.getEventPassTypeExchangeTargets(requestParameters.eventId, requestParameters.passTypeId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
70745
|
+
},
|
|
70746
|
+
/**
|
|
70747
|
+
* Remove Event Pass Type Exchange Target endpoint
|
|
70748
|
+
* @summary Remove Event Pass Type Exchange Target
|
|
70749
|
+
* @param {EventsPasstypesExchangetargetsApiRemoveEventPassTypeExchangeTargetRequest} requestParameters Request parameters.
|
|
70750
|
+
* @param {*} [options] Override http request option.
|
|
70751
|
+
* @throws {RequiredError}
|
|
70752
|
+
*/
|
|
70753
|
+
removeEventPassTypeExchangeTarget(requestParameters: EventsPasstypesExchangetargetsApiRemoveEventPassTypeExchangeTargetRequest, options?: RawAxiosRequestConfig): AxiosPromise<AddEventPassTypeExchangeTarget200Response> {
|
|
70754
|
+
return localVarFp.removeEventPassTypeExchangeTarget(requestParameters.eventId, requestParameters.passTypeId, requestParameters.exchangeTargetId, options).then((request) => request(axios, basePath));
|
|
70755
|
+
},
|
|
70756
|
+
/**
|
|
70757
|
+
* Update Event Pass Type Exchange Target endpoint
|
|
70758
|
+
* @summary Update Event Pass Type Exchange Target
|
|
70759
|
+
* @param {EventsPasstypesExchangetargetsApiUpdateEventPassTypeExchangeTargetRequest} requestParameters Request parameters.
|
|
70760
|
+
* @param {*} [options] Override http request option.
|
|
70761
|
+
* @throws {RequiredError}
|
|
70762
|
+
*/
|
|
70763
|
+
updateEventPassTypeExchangeTarget(requestParameters: EventsPasstypesExchangetargetsApiUpdateEventPassTypeExchangeTargetRequest, options?: RawAxiosRequestConfig): AxiosPromise<AddEventPassTypeExchangeTarget200Response> {
|
|
70764
|
+
return localVarFp.updateEventPassTypeExchangeTarget(requestParameters.eventId, requestParameters.passTypeId, requestParameters.exchangeTargetId, requestParameters.passTypeExchangeTargetUpdateInputs, options).then((request) => request(axios, basePath));
|
|
70765
|
+
},
|
|
70766
|
+
};
|
|
70767
|
+
};
|
|
70768
|
+
|
|
70769
|
+
/**
|
|
70770
|
+
* Request parameters for addEventPassTypeExchangeTarget operation in EventsPasstypesExchangetargetsApi.
|
|
70771
|
+
*/
|
|
70772
|
+
export interface EventsPasstypesExchangetargetsApiAddEventPassTypeExchangeTargetRequest {
|
|
70773
|
+
/**
|
|
70774
|
+
* The event identifier
|
|
70775
|
+
*/
|
|
70776
|
+
readonly eventId: string
|
|
70777
|
+
|
|
70778
|
+
/**
|
|
70779
|
+
* The passType identifier
|
|
70780
|
+
*/
|
|
70781
|
+
readonly passTypeId: string
|
|
70782
|
+
|
|
70783
|
+
readonly passTypeExchangeTargetCreateInputs: PassTypeExchangeTargetCreateInputs
|
|
70784
|
+
}
|
|
70785
|
+
|
|
70786
|
+
/**
|
|
70787
|
+
* Request parameters for getEventPassTypeExchangeTargetExchanges operation in EventsPasstypesExchangetargetsApi.
|
|
70788
|
+
*/
|
|
70789
|
+
export interface EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetExchangesRequest {
|
|
70790
|
+
/**
|
|
70791
|
+
* The event identifier
|
|
70792
|
+
*/
|
|
70793
|
+
readonly eventId: string
|
|
70794
|
+
|
|
70795
|
+
/**
|
|
70796
|
+
* The passType identifier
|
|
70797
|
+
*/
|
|
70798
|
+
readonly passTypeId: string
|
|
70799
|
+
|
|
70800
|
+
/**
|
|
70801
|
+
* The exchangeTarget identifier
|
|
70802
|
+
*/
|
|
70803
|
+
readonly exchangeTargetId: string
|
|
70804
|
+
|
|
70805
|
+
/**
|
|
70806
|
+
* Page number
|
|
70807
|
+
*/
|
|
70808
|
+
readonly page?: number
|
|
70809
|
+
|
|
70810
|
+
/**
|
|
70811
|
+
* Number of items per page
|
|
70812
|
+
*/
|
|
70813
|
+
readonly pageSize?: number
|
|
70814
|
+
|
|
70815
|
+
/**
|
|
70816
|
+
* Field to order by
|
|
70817
|
+
*/
|
|
70818
|
+
readonly orderBy?: string
|
|
70819
|
+
|
|
70820
|
+
/**
|
|
70821
|
+
* Search query
|
|
70822
|
+
*/
|
|
70823
|
+
readonly search?: string
|
|
70824
|
+
}
|
|
70825
|
+
|
|
70826
|
+
/**
|
|
70827
|
+
* Request parameters for getEventPassTypeExchangeTargetPayments operation in EventsPasstypesExchangetargetsApi.
|
|
70828
|
+
*/
|
|
70829
|
+
export interface EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetPaymentsRequest {
|
|
70830
|
+
/**
|
|
70831
|
+
* The event identifier
|
|
70832
|
+
*/
|
|
70833
|
+
readonly eventId: string
|
|
70834
|
+
|
|
70835
|
+
/**
|
|
70836
|
+
* The passType identifier
|
|
70837
|
+
*/
|
|
70838
|
+
readonly passTypeId: string
|
|
70839
|
+
|
|
70840
|
+
/**
|
|
70841
|
+
* The exchangeTarget identifier
|
|
70842
|
+
*/
|
|
70843
|
+
readonly exchangeTargetId: string
|
|
70844
|
+
|
|
70845
|
+
/**
|
|
70846
|
+
* Page number
|
|
70847
|
+
*/
|
|
70848
|
+
readonly page?: number
|
|
70849
|
+
|
|
70850
|
+
/**
|
|
70851
|
+
* Number of items per page
|
|
70852
|
+
*/
|
|
70853
|
+
readonly pageSize?: number
|
|
70854
|
+
|
|
70855
|
+
/**
|
|
70856
|
+
* Field to order by
|
|
70857
|
+
*/
|
|
70858
|
+
readonly orderBy?: string
|
|
70859
|
+
|
|
70860
|
+
/**
|
|
70861
|
+
* Search query
|
|
70862
|
+
*/
|
|
70863
|
+
readonly search?: string
|
|
70864
|
+
}
|
|
70865
|
+
|
|
70866
|
+
/**
|
|
70867
|
+
* Request parameters for getEventPassTypeExchangeTargets operation in EventsPasstypesExchangetargetsApi.
|
|
70868
|
+
*/
|
|
70869
|
+
export interface EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetsRequest {
|
|
70870
|
+
/**
|
|
70871
|
+
* The event identifier
|
|
70872
|
+
*/
|
|
70873
|
+
readonly eventId: string
|
|
70874
|
+
|
|
70875
|
+
/**
|
|
70876
|
+
* The passType identifier
|
|
70877
|
+
*/
|
|
70878
|
+
readonly passTypeId: string
|
|
70879
|
+
|
|
70880
|
+
/**
|
|
70881
|
+
* Page number
|
|
70882
|
+
*/
|
|
70883
|
+
readonly page?: number
|
|
70884
|
+
|
|
70885
|
+
/**
|
|
70886
|
+
* Number of items per page
|
|
70887
|
+
*/
|
|
70888
|
+
readonly pageSize?: number
|
|
70889
|
+
|
|
70890
|
+
/**
|
|
70891
|
+
* Field to order by
|
|
70892
|
+
*/
|
|
70893
|
+
readonly orderBy?: string
|
|
70894
|
+
|
|
70895
|
+
/**
|
|
70896
|
+
* Search query
|
|
70897
|
+
*/
|
|
70898
|
+
readonly search?: string
|
|
70899
|
+
}
|
|
70900
|
+
|
|
70901
|
+
/**
|
|
70902
|
+
* Request parameters for removeEventPassTypeExchangeTarget operation in EventsPasstypesExchangetargetsApi.
|
|
70903
|
+
*/
|
|
70904
|
+
export interface EventsPasstypesExchangetargetsApiRemoveEventPassTypeExchangeTargetRequest {
|
|
70905
|
+
/**
|
|
70906
|
+
* The event identifier
|
|
70907
|
+
*/
|
|
70908
|
+
readonly eventId: string
|
|
70909
|
+
|
|
70910
|
+
/**
|
|
70911
|
+
* The passType identifier
|
|
70912
|
+
*/
|
|
70913
|
+
readonly passTypeId: string
|
|
70914
|
+
|
|
70915
|
+
/**
|
|
70916
|
+
* The exchangeTarget identifier
|
|
70917
|
+
*/
|
|
70918
|
+
readonly exchangeTargetId: string
|
|
70919
|
+
}
|
|
70920
|
+
|
|
70921
|
+
/**
|
|
70922
|
+
* Request parameters for updateEventPassTypeExchangeTarget operation in EventsPasstypesExchangetargetsApi.
|
|
70923
|
+
*/
|
|
70924
|
+
export interface EventsPasstypesExchangetargetsApiUpdateEventPassTypeExchangeTargetRequest {
|
|
70925
|
+
/**
|
|
70926
|
+
* The event identifier
|
|
70927
|
+
*/
|
|
70928
|
+
readonly eventId: string
|
|
70929
|
+
|
|
70930
|
+
/**
|
|
70931
|
+
* The passType identifier
|
|
70932
|
+
*/
|
|
70933
|
+
readonly passTypeId: string
|
|
70934
|
+
|
|
70935
|
+
/**
|
|
70936
|
+
* The exchangeTarget identifier
|
|
70937
|
+
*/
|
|
70938
|
+
readonly exchangeTargetId: string
|
|
70939
|
+
|
|
70940
|
+
readonly passTypeExchangeTargetUpdateInputs: PassTypeExchangeTargetUpdateInputs
|
|
70941
|
+
}
|
|
70942
|
+
|
|
70943
|
+
/**
|
|
70944
|
+
* EventsPasstypesExchangetargetsApi - object-oriented interface
|
|
70945
|
+
*/
|
|
70946
|
+
export class EventsPasstypesExchangetargetsApi extends BaseAPI {
|
|
70947
|
+
/**
|
|
70948
|
+
* Add Event Pass Type Exchange Target endpoint
|
|
70949
|
+
* @summary Add Event Pass Type Exchange Target
|
|
70950
|
+
* @param {EventsPasstypesExchangetargetsApiAddEventPassTypeExchangeTargetRequest} requestParameters Request parameters.
|
|
70951
|
+
* @param {*} [options] Override http request option.
|
|
70952
|
+
* @throws {RequiredError}
|
|
70953
|
+
*/
|
|
70954
|
+
public addEventPassTypeExchangeTarget(requestParameters: EventsPasstypesExchangetargetsApiAddEventPassTypeExchangeTargetRequest, options?: RawAxiosRequestConfig) {
|
|
70955
|
+
return EventsPasstypesExchangetargetsApiFp(this.configuration).addEventPassTypeExchangeTarget(requestParameters.eventId, requestParameters.passTypeId, requestParameters.passTypeExchangeTargetCreateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
70956
|
+
}
|
|
70957
|
+
|
|
70958
|
+
/**
|
|
70959
|
+
* Get Event Pass Type Exchange Target Exchanges endpoint
|
|
70960
|
+
* @summary Get Event Pass Type Exchange Target Exchanges
|
|
70961
|
+
* @param {EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetExchangesRequest} requestParameters Request parameters.
|
|
70962
|
+
* @param {*} [options] Override http request option.
|
|
70963
|
+
* @throws {RequiredError}
|
|
70964
|
+
*/
|
|
70965
|
+
public getEventPassTypeExchangeTargetExchanges(requestParameters: EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetExchangesRequest, options?: RawAxiosRequestConfig) {
|
|
70966
|
+
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));
|
|
70967
|
+
}
|
|
70968
|
+
|
|
70969
|
+
/**
|
|
70970
|
+
* Get Event Pass Type Exchange Target Payments endpoint
|
|
70971
|
+
* @summary Get Event Pass Type Exchange Target Payments
|
|
70972
|
+
* @param {EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetPaymentsRequest} requestParameters Request parameters.
|
|
70973
|
+
* @param {*} [options] Override http request option.
|
|
70974
|
+
* @throws {RequiredError}
|
|
70975
|
+
*/
|
|
70976
|
+
public getEventPassTypeExchangeTargetPayments(requestParameters: EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetPaymentsRequest, options?: RawAxiosRequestConfig) {
|
|
70977
|
+
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));
|
|
70978
|
+
}
|
|
70979
|
+
|
|
70980
|
+
/**
|
|
70981
|
+
* Get Event Pass Type Exchange Targets endpoint
|
|
70982
|
+
* @summary Get Event Pass Type Exchange Targets
|
|
70983
|
+
* @param {EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetsRequest} requestParameters Request parameters.
|
|
70984
|
+
* @param {*} [options] Override http request option.
|
|
70985
|
+
* @throws {RequiredError}
|
|
70986
|
+
*/
|
|
70987
|
+
public getEventPassTypeExchangeTargets(requestParameters: EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetsRequest, options?: RawAxiosRequestConfig) {
|
|
70988
|
+
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));
|
|
70989
|
+
}
|
|
70990
|
+
|
|
70991
|
+
/**
|
|
70992
|
+
* Remove Event Pass Type Exchange Target endpoint
|
|
70993
|
+
* @summary Remove Event Pass Type Exchange Target
|
|
70994
|
+
* @param {EventsPasstypesExchangetargetsApiRemoveEventPassTypeExchangeTargetRequest} requestParameters Request parameters.
|
|
70995
|
+
* @param {*} [options] Override http request option.
|
|
70996
|
+
* @throws {RequiredError}
|
|
70997
|
+
*/
|
|
70998
|
+
public removeEventPassTypeExchangeTarget(requestParameters: EventsPasstypesExchangetargetsApiRemoveEventPassTypeExchangeTargetRequest, options?: RawAxiosRequestConfig) {
|
|
70999
|
+
return EventsPasstypesExchangetargetsApiFp(this.configuration).removeEventPassTypeExchangeTarget(requestParameters.eventId, requestParameters.passTypeId, requestParameters.exchangeTargetId, options).then((request) => request(this.axios, this.basePath));
|
|
71000
|
+
}
|
|
71001
|
+
|
|
71002
|
+
/**
|
|
71003
|
+
* Update Event Pass Type Exchange Target endpoint
|
|
71004
|
+
* @summary Update Event Pass Type Exchange Target
|
|
71005
|
+
* @param {EventsPasstypesExchangetargetsApiUpdateEventPassTypeExchangeTargetRequest} requestParameters Request parameters.
|
|
71006
|
+
* @param {*} [options] Override http request option.
|
|
71007
|
+
* @throws {RequiredError}
|
|
71008
|
+
*/
|
|
71009
|
+
public updateEventPassTypeExchangeTarget(requestParameters: EventsPasstypesExchangetargetsApiUpdateEventPassTypeExchangeTargetRequest, options?: RawAxiosRequestConfig) {
|
|
71010
|
+
return EventsPasstypesExchangetargetsApiFp(this.configuration).updateEventPassTypeExchangeTarget(requestParameters.eventId, requestParameters.passTypeId, requestParameters.exchangeTargetId, requestParameters.passTypeExchangeTargetUpdateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
71011
|
+
}
|
|
71012
|
+
}
|
|
71013
|
+
|
|
71014
|
+
|
|
71015
|
+
|
|
70209
71016
|
/**
|
|
70210
71017
|
* EventsPasstypesPriceschedulesApi - axios parameter creator
|
|
70211
71018
|
*/
|
|
@@ -112399,7 +113206,7 @@ export const MeetingsApiFp = function(configuration?: Configuration) {
|
|
|
112399
113206
|
* @param {*} [options] Override http request option.
|
|
112400
113207
|
* @throws {RequiredError}
|
|
112401
113208
|
*/
|
|
112402
|
-
async joinMeeting(meetingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
113209
|
+
async joinMeeting(meetingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinMeeting200Response>> {
|
|
112403
113210
|
const localVarAxiosArgs = await localVarAxiosParamCreator.joinMeeting(meetingId, options);
|
|
112404
113211
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
112405
113212
|
const localVarOperationServerBasePath = operationServerMap['MeetingsApi.joinMeeting']?.[localVarOperationServerIndex]?.url;
|
|
@@ -112485,7 +113292,7 @@ export const MeetingsApiFactory = function (configuration?: Configuration, baseP
|
|
|
112485
113292
|
* @param {*} [options] Override http request option.
|
|
112486
113293
|
* @throws {RequiredError}
|
|
112487
113294
|
*/
|
|
112488
|
-
joinMeeting(requestParameters: MeetingsApiJoinMeetingRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
113295
|
+
joinMeeting(requestParameters: MeetingsApiJoinMeetingRequest, options?: RawAxiosRequestConfig): AxiosPromise<JoinMeeting200Response> {
|
|
112489
113296
|
return localVarFp.joinMeeting(requestParameters.meetingId, options).then((request) => request(axios, basePath));
|
|
112490
113297
|
},
|
|
112491
113298
|
/**
|