@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/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
 
@@ -15158,50 +15268,6 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
15158
15268
  options: localVarRequestOptions,
15159
15269
  };
15160
15270
  },
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
15271
  /**
15206
15272
  * Enqueues a background job to resync the given account\'s data, requiring update permission on accounts.
15207
15273
  * @summary Sync a single account
@@ -15601,20 +15667,6 @@ export const AccountsApiFp = function(configuration?: Configuration) {
15601
15667
  const localVarOperationServerBasePath = operationServerMap['AccountsApi.getAccountsByInternalRefId']?.[localVarOperationServerIndex]?.url;
15602
15668
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15603
15669
  },
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
15670
  /**
15619
15671
  * Enqueues a background job to resync the given account\'s data, requiring update permission on accounts.
15620
15672
  * @summary Sync a single account
@@ -15833,16 +15885,6 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
15833
15885
  getAccountsByInternalRefId(requestParameters: AccountsApiGetAccountsByInternalRefIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountsByInternalRefId200Response> {
15834
15886
  return localVarFp.getAccountsByInternalRefId(requestParameters.internalRefId, options).then((request) => request(axios, basePath));
15835
15887
  },
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
15888
  /**
15847
15889
  * Enqueues a background job to resync the given account\'s data, requiring update permission on accounts.
15848
15890
  * @summary Sync a single account
@@ -16282,21 +16324,6 @@ export interface AccountsApiGetAccountsByInternalRefIdRequest {
16282
16324
  readonly internalRefId: string
16283
16325
  }
16284
16326
 
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
16327
  /**
16301
16328
  * Request parameters for syncAccount operation in AccountsApi.
16302
16329
  */
@@ -16510,17 +16537,6 @@ export class AccountsApi extends BaseAPI {
16510
16537
  return AccountsApiFp(this.configuration).getAccountsByInternalRefId(requestParameters.internalRefId, options).then((request) => request(this.axios, this.basePath));
16511
16538
  }
16512
16539
 
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
16540
  /**
16525
16541
  * Enqueues a background job to resync the given account\'s data, requiring update permission on accounts.
16526
16542
  * @summary Sync a single account
@@ -70206,6 +70222,791 @@ export class EventsPasstypesApi extends BaseAPI {
70206
70222
 
70207
70223
 
70208
70224
 
70225
+ /**
70226
+ * EventsPasstypesExchangetargetsApi - axios parameter creator
70227
+ */
70228
+ export const EventsPasstypesExchangetargetsApiAxiosParamCreator = function (configuration?: Configuration) {
70229
+ return {
70230
+ /**
70231
+ * Add Event Pass Type Exchange Target endpoint
70232
+ * @summary Add Event Pass Type Exchange Target
70233
+ * @param {string} eventId The event identifier
70234
+ * @param {string} passTypeId The passType identifier
70235
+ * @param {PassTypeExchangeTargetCreateInputs} passTypeExchangeTargetCreateInputs
70236
+ * @param {*} [options] Override http request option.
70237
+ * @throws {RequiredError}
70238
+ */
70239
+ addEventPassTypeExchangeTarget: async (eventId: string, passTypeId: string, passTypeExchangeTargetCreateInputs: PassTypeExchangeTargetCreateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
70240
+ // verify required parameter 'eventId' is not null or undefined
70241
+ assertParamExists('addEventPassTypeExchangeTarget', 'eventId', eventId)
70242
+ // verify required parameter 'passTypeId' is not null or undefined
70243
+ assertParamExists('addEventPassTypeExchangeTarget', 'passTypeId', passTypeId)
70244
+ // verify required parameter 'passTypeExchangeTargetCreateInputs' is not null or undefined
70245
+ assertParamExists('addEventPassTypeExchangeTarget', 'passTypeExchangeTargetCreateInputs', passTypeExchangeTargetCreateInputs)
70246
+ const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/exchangeTargets`
70247
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
70248
+ .replace(`{${"passTypeId"}}`, encodeURIComponent(String(passTypeId)));
70249
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
70250
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
70251
+ let baseOptions;
70252
+ if (configuration) {
70253
+ baseOptions = configuration.baseOptions;
70254
+ }
70255
+
70256
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
70257
+ const localVarHeaderParameter = {} as any;
70258
+ const localVarQueryParameter = {} as any;
70259
+
70260
+ // authentication ApiKeyAuth required
70261
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
70262
+
70263
+ // authentication OrganizationId required
70264
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
70265
+
70266
+ localVarHeaderParameter['Content-Type'] = 'application/json';
70267
+ localVarHeaderParameter['Accept'] = 'application/json';
70268
+
70269
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
70270
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
70271
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
70272
+ localVarRequestOptions.data = serializeDataIfNeeded(passTypeExchangeTargetCreateInputs, localVarRequestOptions, configuration)
70273
+
70274
+ return {
70275
+ url: toPathString(localVarUrlObj),
70276
+ options: localVarRequestOptions,
70277
+ };
70278
+ },
70279
+ /**
70280
+ * Get Event Pass Type Exchange Target Exchanges endpoint
70281
+ * @summary Get Event Pass Type Exchange Target Exchanges
70282
+ * @param {string} eventId The event identifier
70283
+ * @param {string} passTypeId The passType identifier
70284
+ * @param {string} exchangeTargetId The exchangeTarget identifier
70285
+ * @param {number} [page] Page number
70286
+ * @param {number} [pageSize] Number of items per page
70287
+ * @param {string} [orderBy] Field to order by
70288
+ * @param {string} [search] Search query
70289
+ * @param {*} [options] Override http request option.
70290
+ * @throws {RequiredError}
70291
+ */
70292
+ getEventPassTypeExchangeTargetExchanges: async (eventId: string, passTypeId: string, exchangeTargetId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
70293
+ // verify required parameter 'eventId' is not null or undefined
70294
+ assertParamExists('getEventPassTypeExchangeTargetExchanges', 'eventId', eventId)
70295
+ // verify required parameter 'passTypeId' is not null or undefined
70296
+ assertParamExists('getEventPassTypeExchangeTargetExchanges', 'passTypeId', passTypeId)
70297
+ // verify required parameter 'exchangeTargetId' is not null or undefined
70298
+ assertParamExists('getEventPassTypeExchangeTargetExchanges', 'exchangeTargetId', exchangeTargetId)
70299
+ const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/exchangeTargets/{exchangeTargetId}/exchanges`
70300
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
70301
+ .replace(`{${"passTypeId"}}`, encodeURIComponent(String(passTypeId)))
70302
+ .replace(`{${"exchangeTargetId"}}`, encodeURIComponent(String(exchangeTargetId)));
70303
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
70304
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
70305
+ let baseOptions;
70306
+ if (configuration) {
70307
+ baseOptions = configuration.baseOptions;
70308
+ }
70309
+
70310
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
70311
+ const localVarHeaderParameter = {} as any;
70312
+ const localVarQueryParameter = {} as any;
70313
+
70314
+ // authentication ApiKeyAuth required
70315
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
70316
+
70317
+ // authentication OrganizationId required
70318
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
70319
+
70320
+ if (page !== undefined) {
70321
+ localVarQueryParameter['page'] = page;
70322
+ }
70323
+
70324
+ if (pageSize !== undefined) {
70325
+ localVarQueryParameter['pageSize'] = pageSize;
70326
+ }
70327
+
70328
+ if (orderBy !== undefined) {
70329
+ localVarQueryParameter['orderBy'] = orderBy;
70330
+ }
70331
+
70332
+ if (search !== undefined) {
70333
+ localVarQueryParameter['search'] = search;
70334
+ }
70335
+
70336
+ localVarHeaderParameter['Accept'] = 'application/json';
70337
+
70338
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
70339
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
70340
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
70341
+
70342
+ return {
70343
+ url: toPathString(localVarUrlObj),
70344
+ options: localVarRequestOptions,
70345
+ };
70346
+ },
70347
+ /**
70348
+ * Get Event Pass Type Exchange Target Payments endpoint
70349
+ * @summary Get Event Pass Type Exchange Target Payments
70350
+ * @param {string} eventId The event identifier
70351
+ * @param {string} passTypeId The passType identifier
70352
+ * @param {string} exchangeTargetId The exchangeTarget identifier
70353
+ * @param {number} [page] Page number
70354
+ * @param {number} [pageSize] Number of items per page
70355
+ * @param {string} [orderBy] Field to order by
70356
+ * @param {string} [search] Search query
70357
+ * @param {*} [options] Override http request option.
70358
+ * @throws {RequiredError}
70359
+ */
70360
+ getEventPassTypeExchangeTargetPayments: async (eventId: string, passTypeId: string, exchangeTargetId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
70361
+ // verify required parameter 'eventId' is not null or undefined
70362
+ assertParamExists('getEventPassTypeExchangeTargetPayments', 'eventId', eventId)
70363
+ // verify required parameter 'passTypeId' is not null or undefined
70364
+ assertParamExists('getEventPassTypeExchangeTargetPayments', 'passTypeId', passTypeId)
70365
+ // verify required parameter 'exchangeTargetId' is not null or undefined
70366
+ assertParamExists('getEventPassTypeExchangeTargetPayments', 'exchangeTargetId', exchangeTargetId)
70367
+ const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/exchangeTargets/{exchangeTargetId}/payments`
70368
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
70369
+ .replace(`{${"passTypeId"}}`, encodeURIComponent(String(passTypeId)))
70370
+ .replace(`{${"exchangeTargetId"}}`, encodeURIComponent(String(exchangeTargetId)));
70371
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
70372
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
70373
+ let baseOptions;
70374
+ if (configuration) {
70375
+ baseOptions = configuration.baseOptions;
70376
+ }
70377
+
70378
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
70379
+ const localVarHeaderParameter = {} as any;
70380
+ const localVarQueryParameter = {} as any;
70381
+
70382
+ // authentication ApiKeyAuth required
70383
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
70384
+
70385
+ // authentication OrganizationId required
70386
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
70387
+
70388
+ if (page !== undefined) {
70389
+ localVarQueryParameter['page'] = page;
70390
+ }
70391
+
70392
+ if (pageSize !== undefined) {
70393
+ localVarQueryParameter['pageSize'] = pageSize;
70394
+ }
70395
+
70396
+ if (orderBy !== undefined) {
70397
+ localVarQueryParameter['orderBy'] = orderBy;
70398
+ }
70399
+
70400
+ if (search !== undefined) {
70401
+ localVarQueryParameter['search'] = search;
70402
+ }
70403
+
70404
+ localVarHeaderParameter['Accept'] = 'application/json';
70405
+
70406
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
70407
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
70408
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
70409
+
70410
+ return {
70411
+ url: toPathString(localVarUrlObj),
70412
+ options: localVarRequestOptions,
70413
+ };
70414
+ },
70415
+ /**
70416
+ * Get Event Pass Type Exchange Targets endpoint
70417
+ * @summary Get Event Pass Type Exchange Targets
70418
+ * @param {string} eventId The event identifier
70419
+ * @param {string} passTypeId The passType identifier
70420
+ * @param {number} [page] Page number
70421
+ * @param {number} [pageSize] Number of items per page
70422
+ * @param {string} [orderBy] Field to order by
70423
+ * @param {string} [search] Search query
70424
+ * @param {*} [options] Override http request option.
70425
+ * @throws {RequiredError}
70426
+ */
70427
+ getEventPassTypeExchangeTargets: async (eventId: string, passTypeId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
70428
+ // verify required parameter 'eventId' is not null or undefined
70429
+ assertParamExists('getEventPassTypeExchangeTargets', 'eventId', eventId)
70430
+ // verify required parameter 'passTypeId' is not null or undefined
70431
+ assertParamExists('getEventPassTypeExchangeTargets', 'passTypeId', passTypeId)
70432
+ const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/exchangeTargets`
70433
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
70434
+ .replace(`{${"passTypeId"}}`, encodeURIComponent(String(passTypeId)));
70435
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
70436
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
70437
+ let baseOptions;
70438
+ if (configuration) {
70439
+ baseOptions = configuration.baseOptions;
70440
+ }
70441
+
70442
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
70443
+ const localVarHeaderParameter = {} as any;
70444
+ const localVarQueryParameter = {} as any;
70445
+
70446
+ // authentication ApiKeyAuth required
70447
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
70448
+
70449
+ // authentication OrganizationId required
70450
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
70451
+
70452
+ if (page !== undefined) {
70453
+ localVarQueryParameter['page'] = page;
70454
+ }
70455
+
70456
+ if (pageSize !== undefined) {
70457
+ localVarQueryParameter['pageSize'] = pageSize;
70458
+ }
70459
+
70460
+ if (orderBy !== undefined) {
70461
+ localVarQueryParameter['orderBy'] = orderBy;
70462
+ }
70463
+
70464
+ if (search !== undefined) {
70465
+ localVarQueryParameter['search'] = search;
70466
+ }
70467
+
70468
+ localVarHeaderParameter['Accept'] = 'application/json';
70469
+
70470
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
70471
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
70472
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
70473
+
70474
+ return {
70475
+ url: toPathString(localVarUrlObj),
70476
+ options: localVarRequestOptions,
70477
+ };
70478
+ },
70479
+ /**
70480
+ * Remove Event Pass Type Exchange Target endpoint
70481
+ * @summary Remove Event Pass Type Exchange Target
70482
+ * @param {string} eventId The event identifier
70483
+ * @param {string} passTypeId The passType identifier
70484
+ * @param {string} exchangeTargetId The exchangeTarget identifier
70485
+ * @param {*} [options] Override http request option.
70486
+ * @throws {RequiredError}
70487
+ */
70488
+ removeEventPassTypeExchangeTarget: async (eventId: string, passTypeId: string, exchangeTargetId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
70489
+ // verify required parameter 'eventId' is not null or undefined
70490
+ assertParamExists('removeEventPassTypeExchangeTarget', 'eventId', eventId)
70491
+ // verify required parameter 'passTypeId' is not null or undefined
70492
+ assertParamExists('removeEventPassTypeExchangeTarget', 'passTypeId', passTypeId)
70493
+ // verify required parameter 'exchangeTargetId' is not null or undefined
70494
+ assertParamExists('removeEventPassTypeExchangeTarget', 'exchangeTargetId', exchangeTargetId)
70495
+ const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/exchangeTargets/{exchangeTargetId}`
70496
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
70497
+ .replace(`{${"passTypeId"}}`, encodeURIComponent(String(passTypeId)))
70498
+ .replace(`{${"exchangeTargetId"}}`, encodeURIComponent(String(exchangeTargetId)));
70499
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
70500
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
70501
+ let baseOptions;
70502
+ if (configuration) {
70503
+ baseOptions = configuration.baseOptions;
70504
+ }
70505
+
70506
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
70507
+ const localVarHeaderParameter = {} as any;
70508
+ const localVarQueryParameter = {} as any;
70509
+
70510
+ // authentication ApiKeyAuth required
70511
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
70512
+
70513
+ // authentication OrganizationId required
70514
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
70515
+
70516
+ localVarHeaderParameter['Accept'] = 'application/json';
70517
+
70518
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
70519
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
70520
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
70521
+
70522
+ return {
70523
+ url: toPathString(localVarUrlObj),
70524
+ options: localVarRequestOptions,
70525
+ };
70526
+ },
70527
+ /**
70528
+ * Update Event Pass Type Exchange Target endpoint
70529
+ * @summary Update Event Pass Type Exchange Target
70530
+ * @param {string} eventId The event identifier
70531
+ * @param {string} passTypeId The passType identifier
70532
+ * @param {string} exchangeTargetId The exchangeTarget identifier
70533
+ * @param {PassTypeExchangeTargetUpdateInputs} passTypeExchangeTargetUpdateInputs
70534
+ * @param {*} [options] Override http request option.
70535
+ * @throws {RequiredError}
70536
+ */
70537
+ updateEventPassTypeExchangeTarget: async (eventId: string, passTypeId: string, exchangeTargetId: string, passTypeExchangeTargetUpdateInputs: PassTypeExchangeTargetUpdateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
70538
+ // verify required parameter 'eventId' is not null or undefined
70539
+ assertParamExists('updateEventPassTypeExchangeTarget', 'eventId', eventId)
70540
+ // verify required parameter 'passTypeId' is not null or undefined
70541
+ assertParamExists('updateEventPassTypeExchangeTarget', 'passTypeId', passTypeId)
70542
+ // verify required parameter 'exchangeTargetId' is not null or undefined
70543
+ assertParamExists('updateEventPassTypeExchangeTarget', 'exchangeTargetId', exchangeTargetId)
70544
+ // verify required parameter 'passTypeExchangeTargetUpdateInputs' is not null or undefined
70545
+ assertParamExists('updateEventPassTypeExchangeTarget', 'passTypeExchangeTargetUpdateInputs', passTypeExchangeTargetUpdateInputs)
70546
+ const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/exchangeTargets/{exchangeTargetId}`
70547
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
70548
+ .replace(`{${"passTypeId"}}`, encodeURIComponent(String(passTypeId)))
70549
+ .replace(`{${"exchangeTargetId"}}`, encodeURIComponent(String(exchangeTargetId)));
70550
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
70551
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
70552
+ let baseOptions;
70553
+ if (configuration) {
70554
+ baseOptions = configuration.baseOptions;
70555
+ }
70556
+
70557
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
70558
+ const localVarHeaderParameter = {} as any;
70559
+ const localVarQueryParameter = {} as any;
70560
+
70561
+ // authentication ApiKeyAuth required
70562
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
70563
+
70564
+ // authentication OrganizationId required
70565
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
70566
+
70567
+ localVarHeaderParameter['Content-Type'] = 'application/json';
70568
+ localVarHeaderParameter['Accept'] = 'application/json';
70569
+
70570
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
70571
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
70572
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
70573
+ localVarRequestOptions.data = serializeDataIfNeeded(passTypeExchangeTargetUpdateInputs, localVarRequestOptions, configuration)
70574
+
70575
+ return {
70576
+ url: toPathString(localVarUrlObj),
70577
+ options: localVarRequestOptions,
70578
+ };
70579
+ },
70580
+ }
70581
+ };
70582
+
70583
+ /**
70584
+ * EventsPasstypesExchangetargetsApi - functional programming interface
70585
+ */
70586
+ export const EventsPasstypesExchangetargetsApiFp = function(configuration?: Configuration) {
70587
+ const localVarAxiosParamCreator = EventsPasstypesExchangetargetsApiAxiosParamCreator(configuration)
70588
+ return {
70589
+ /**
70590
+ * Add Event Pass Type Exchange Target endpoint
70591
+ * @summary Add Event Pass Type Exchange Target
70592
+ * @param {string} eventId The event identifier
70593
+ * @param {string} passTypeId The passType identifier
70594
+ * @param {PassTypeExchangeTargetCreateInputs} passTypeExchangeTargetCreateInputs
70595
+ * @param {*} [options] Override http request option.
70596
+ * @throws {RequiredError}
70597
+ */
70598
+ async addEventPassTypeExchangeTarget(eventId: string, passTypeId: string, passTypeExchangeTargetCreateInputs: PassTypeExchangeTargetCreateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddEventPassTypeExchangeTarget200Response>> {
70599
+ const localVarAxiosArgs = await localVarAxiosParamCreator.addEventPassTypeExchangeTarget(eventId, passTypeId, passTypeExchangeTargetCreateInputs, options);
70600
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
70601
+ const localVarOperationServerBasePath = operationServerMap['EventsPasstypesExchangetargetsApi.addEventPassTypeExchangeTarget']?.[localVarOperationServerIndex]?.url;
70602
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
70603
+ },
70604
+ /**
70605
+ * Get Event Pass Type Exchange Target Exchanges endpoint
70606
+ * @summary Get Event Pass Type Exchange Target Exchanges
70607
+ * @param {string} eventId The event identifier
70608
+ * @param {string} passTypeId The passType identifier
70609
+ * @param {string} exchangeTargetId The exchangeTarget identifier
70610
+ * @param {number} [page] Page number
70611
+ * @param {number} [pageSize] Number of items per page
70612
+ * @param {string} [orderBy] Field to order by
70613
+ * @param {string} [search] Search query
70614
+ * @param {*} [options] Override http request option.
70615
+ * @throws {RequiredError}
70616
+ */
70617
+ 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>> {
70618
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEventPassTypeExchangeTargetExchanges(eventId, passTypeId, exchangeTargetId, page, pageSize, orderBy, search, options);
70619
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
70620
+ const localVarOperationServerBasePath = operationServerMap['EventsPasstypesExchangetargetsApi.getEventPassTypeExchangeTargetExchanges']?.[localVarOperationServerIndex]?.url;
70621
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
70622
+ },
70623
+ /**
70624
+ * Get Event Pass Type Exchange Target Payments endpoint
70625
+ * @summary Get Event Pass Type Exchange Target Payments
70626
+ * @param {string} eventId The event identifier
70627
+ * @param {string} passTypeId The passType identifier
70628
+ * @param {string} exchangeTargetId The exchangeTarget identifier
70629
+ * @param {number} [page] Page number
70630
+ * @param {number} [pageSize] Number of items per page
70631
+ * @param {string} [orderBy] Field to order by
70632
+ * @param {string} [search] Search query
70633
+ * @param {*} [options] Override http request option.
70634
+ * @throws {RequiredError}
70635
+ */
70636
+ 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>> {
70637
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEventPassTypeExchangeTargetPayments(eventId, passTypeId, exchangeTargetId, page, pageSize, orderBy, search, options);
70638
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
70639
+ const localVarOperationServerBasePath = operationServerMap['EventsPasstypesExchangetargetsApi.getEventPassTypeExchangeTargetPayments']?.[localVarOperationServerIndex]?.url;
70640
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
70641
+ },
70642
+ /**
70643
+ * Get Event Pass Type Exchange Targets endpoint
70644
+ * @summary Get Event Pass Type Exchange Targets
70645
+ * @param {string} eventId The event identifier
70646
+ * @param {string} passTypeId The passType identifier
70647
+ * @param {number} [page] Page number
70648
+ * @param {number} [pageSize] Number of items per page
70649
+ * @param {string} [orderBy] Field to order by
70650
+ * @param {string} [search] Search query
70651
+ * @param {*} [options] Override http request option.
70652
+ * @throws {RequiredError}
70653
+ */
70654
+ async getEventPassTypeExchangeTargets(eventId: string, passTypeId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventPassTypeExchangeTargets200Response>> {
70655
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEventPassTypeExchangeTargets(eventId, passTypeId, page, pageSize, orderBy, search, options);
70656
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
70657
+ const localVarOperationServerBasePath = operationServerMap['EventsPasstypesExchangetargetsApi.getEventPassTypeExchangeTargets']?.[localVarOperationServerIndex]?.url;
70658
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
70659
+ },
70660
+ /**
70661
+ * Remove Event Pass Type Exchange Target endpoint
70662
+ * @summary Remove Event Pass Type Exchange Target
70663
+ * @param {string} eventId The event identifier
70664
+ * @param {string} passTypeId The passType identifier
70665
+ * @param {string} exchangeTargetId The exchangeTarget identifier
70666
+ * @param {*} [options] Override http request option.
70667
+ * @throws {RequiredError}
70668
+ */
70669
+ async removeEventPassTypeExchangeTarget(eventId: string, passTypeId: string, exchangeTargetId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddEventPassTypeExchangeTarget200Response>> {
70670
+ const localVarAxiosArgs = await localVarAxiosParamCreator.removeEventPassTypeExchangeTarget(eventId, passTypeId, exchangeTargetId, options);
70671
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
70672
+ const localVarOperationServerBasePath = operationServerMap['EventsPasstypesExchangetargetsApi.removeEventPassTypeExchangeTarget']?.[localVarOperationServerIndex]?.url;
70673
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
70674
+ },
70675
+ /**
70676
+ * Update Event Pass Type Exchange Target endpoint
70677
+ * @summary Update Event Pass Type Exchange Target
70678
+ * @param {string} eventId The event identifier
70679
+ * @param {string} passTypeId The passType identifier
70680
+ * @param {string} exchangeTargetId The exchangeTarget identifier
70681
+ * @param {PassTypeExchangeTargetUpdateInputs} passTypeExchangeTargetUpdateInputs
70682
+ * @param {*} [options] Override http request option.
70683
+ * @throws {RequiredError}
70684
+ */
70685
+ async updateEventPassTypeExchangeTarget(eventId: string, passTypeId: string, exchangeTargetId: string, passTypeExchangeTargetUpdateInputs: PassTypeExchangeTargetUpdateInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddEventPassTypeExchangeTarget200Response>> {
70686
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateEventPassTypeExchangeTarget(eventId, passTypeId, exchangeTargetId, passTypeExchangeTargetUpdateInputs, options);
70687
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
70688
+ const localVarOperationServerBasePath = operationServerMap['EventsPasstypesExchangetargetsApi.updateEventPassTypeExchangeTarget']?.[localVarOperationServerIndex]?.url;
70689
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
70690
+ },
70691
+ }
70692
+ };
70693
+
70694
+ /**
70695
+ * EventsPasstypesExchangetargetsApi - factory interface
70696
+ */
70697
+ export const EventsPasstypesExchangetargetsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
70698
+ const localVarFp = EventsPasstypesExchangetargetsApiFp(configuration)
70699
+ return {
70700
+ /**
70701
+ * Add Event Pass Type Exchange Target endpoint
70702
+ * @summary Add Event Pass Type Exchange Target
70703
+ * @param {EventsPasstypesExchangetargetsApiAddEventPassTypeExchangeTargetRequest} requestParameters Request parameters.
70704
+ * @param {*} [options] Override http request option.
70705
+ * @throws {RequiredError}
70706
+ */
70707
+ addEventPassTypeExchangeTarget(requestParameters: EventsPasstypesExchangetargetsApiAddEventPassTypeExchangeTargetRequest, options?: RawAxiosRequestConfig): AxiosPromise<AddEventPassTypeExchangeTarget200Response> {
70708
+ return localVarFp.addEventPassTypeExchangeTarget(requestParameters.eventId, requestParameters.passTypeId, requestParameters.passTypeExchangeTargetCreateInputs, options).then((request) => request(axios, basePath));
70709
+ },
70710
+ /**
70711
+ * Get Event Pass Type Exchange Target Exchanges endpoint
70712
+ * @summary Get Event Pass Type Exchange Target Exchanges
70713
+ * @param {EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetExchangesRequest} requestParameters Request parameters.
70714
+ * @param {*} [options] Override http request option.
70715
+ * @throws {RequiredError}
70716
+ */
70717
+ getEventPassTypeExchangeTargetExchanges(requestParameters: EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetExchangesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventPassTypeExchangeTargetExchanges200Response> {
70718
+ return localVarFp.getEventPassTypeExchangeTargetExchanges(requestParameters.eventId, requestParameters.passTypeId, requestParameters.exchangeTargetId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
70719
+ },
70720
+ /**
70721
+ * Get Event Pass Type Exchange Target Payments endpoint
70722
+ * @summary Get Event Pass Type Exchange Target Payments
70723
+ * @param {EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetPaymentsRequest} requestParameters Request parameters.
70724
+ * @param {*} [options] Override http request option.
70725
+ * @throws {RequiredError}
70726
+ */
70727
+ getEventPassTypeExchangeTargetPayments(requestParameters: EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetPaymentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountPayments200Response> {
70728
+ return localVarFp.getEventPassTypeExchangeTargetPayments(requestParameters.eventId, requestParameters.passTypeId, requestParameters.exchangeTargetId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
70729
+ },
70730
+ /**
70731
+ * Get Event Pass Type Exchange Targets endpoint
70732
+ * @summary Get Event Pass Type Exchange Targets
70733
+ * @param {EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetsRequest} requestParameters Request parameters.
70734
+ * @param {*} [options] Override http request option.
70735
+ * @throws {RequiredError}
70736
+ */
70737
+ getEventPassTypeExchangeTargets(requestParameters: EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventPassTypeExchangeTargets200Response> {
70738
+ return localVarFp.getEventPassTypeExchangeTargets(requestParameters.eventId, requestParameters.passTypeId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
70739
+ },
70740
+ /**
70741
+ * Remove Event Pass Type Exchange Target endpoint
70742
+ * @summary Remove Event Pass Type Exchange Target
70743
+ * @param {EventsPasstypesExchangetargetsApiRemoveEventPassTypeExchangeTargetRequest} requestParameters Request parameters.
70744
+ * @param {*} [options] Override http request option.
70745
+ * @throws {RequiredError}
70746
+ */
70747
+ removeEventPassTypeExchangeTarget(requestParameters: EventsPasstypesExchangetargetsApiRemoveEventPassTypeExchangeTargetRequest, options?: RawAxiosRequestConfig): AxiosPromise<AddEventPassTypeExchangeTarget200Response> {
70748
+ return localVarFp.removeEventPassTypeExchangeTarget(requestParameters.eventId, requestParameters.passTypeId, requestParameters.exchangeTargetId, options).then((request) => request(axios, basePath));
70749
+ },
70750
+ /**
70751
+ * Update Event Pass Type Exchange Target endpoint
70752
+ * @summary Update Event Pass Type Exchange Target
70753
+ * @param {EventsPasstypesExchangetargetsApiUpdateEventPassTypeExchangeTargetRequest} requestParameters Request parameters.
70754
+ * @param {*} [options] Override http request option.
70755
+ * @throws {RequiredError}
70756
+ */
70757
+ updateEventPassTypeExchangeTarget(requestParameters: EventsPasstypesExchangetargetsApiUpdateEventPassTypeExchangeTargetRequest, options?: RawAxiosRequestConfig): AxiosPromise<AddEventPassTypeExchangeTarget200Response> {
70758
+ return localVarFp.updateEventPassTypeExchangeTarget(requestParameters.eventId, requestParameters.passTypeId, requestParameters.exchangeTargetId, requestParameters.passTypeExchangeTargetUpdateInputs, options).then((request) => request(axios, basePath));
70759
+ },
70760
+ };
70761
+ };
70762
+
70763
+ /**
70764
+ * Request parameters for addEventPassTypeExchangeTarget operation in EventsPasstypesExchangetargetsApi.
70765
+ */
70766
+ export interface EventsPasstypesExchangetargetsApiAddEventPassTypeExchangeTargetRequest {
70767
+ /**
70768
+ * The event identifier
70769
+ */
70770
+ readonly eventId: string
70771
+
70772
+ /**
70773
+ * The passType identifier
70774
+ */
70775
+ readonly passTypeId: string
70776
+
70777
+ readonly passTypeExchangeTargetCreateInputs: PassTypeExchangeTargetCreateInputs
70778
+ }
70779
+
70780
+ /**
70781
+ * Request parameters for getEventPassTypeExchangeTargetExchanges operation in EventsPasstypesExchangetargetsApi.
70782
+ */
70783
+ export interface EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetExchangesRequest {
70784
+ /**
70785
+ * The event identifier
70786
+ */
70787
+ readonly eventId: string
70788
+
70789
+ /**
70790
+ * The passType identifier
70791
+ */
70792
+ readonly passTypeId: string
70793
+
70794
+ /**
70795
+ * The exchangeTarget identifier
70796
+ */
70797
+ readonly exchangeTargetId: string
70798
+
70799
+ /**
70800
+ * Page number
70801
+ */
70802
+ readonly page?: number
70803
+
70804
+ /**
70805
+ * Number of items per page
70806
+ */
70807
+ readonly pageSize?: number
70808
+
70809
+ /**
70810
+ * Field to order by
70811
+ */
70812
+ readonly orderBy?: string
70813
+
70814
+ /**
70815
+ * Search query
70816
+ */
70817
+ readonly search?: string
70818
+ }
70819
+
70820
+ /**
70821
+ * Request parameters for getEventPassTypeExchangeTargetPayments operation in EventsPasstypesExchangetargetsApi.
70822
+ */
70823
+ export interface EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetPaymentsRequest {
70824
+ /**
70825
+ * The event identifier
70826
+ */
70827
+ readonly eventId: string
70828
+
70829
+ /**
70830
+ * The passType identifier
70831
+ */
70832
+ readonly passTypeId: string
70833
+
70834
+ /**
70835
+ * The exchangeTarget identifier
70836
+ */
70837
+ readonly exchangeTargetId: string
70838
+
70839
+ /**
70840
+ * Page number
70841
+ */
70842
+ readonly page?: number
70843
+
70844
+ /**
70845
+ * Number of items per page
70846
+ */
70847
+ readonly pageSize?: number
70848
+
70849
+ /**
70850
+ * Field to order by
70851
+ */
70852
+ readonly orderBy?: string
70853
+
70854
+ /**
70855
+ * Search query
70856
+ */
70857
+ readonly search?: string
70858
+ }
70859
+
70860
+ /**
70861
+ * Request parameters for getEventPassTypeExchangeTargets operation in EventsPasstypesExchangetargetsApi.
70862
+ */
70863
+ export interface EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetsRequest {
70864
+ /**
70865
+ * The event identifier
70866
+ */
70867
+ readonly eventId: string
70868
+
70869
+ /**
70870
+ * The passType identifier
70871
+ */
70872
+ readonly passTypeId: string
70873
+
70874
+ /**
70875
+ * Page number
70876
+ */
70877
+ readonly page?: number
70878
+
70879
+ /**
70880
+ * Number of items per page
70881
+ */
70882
+ readonly pageSize?: number
70883
+
70884
+ /**
70885
+ * Field to order by
70886
+ */
70887
+ readonly orderBy?: string
70888
+
70889
+ /**
70890
+ * Search query
70891
+ */
70892
+ readonly search?: string
70893
+ }
70894
+
70895
+ /**
70896
+ * Request parameters for removeEventPassTypeExchangeTarget operation in EventsPasstypesExchangetargetsApi.
70897
+ */
70898
+ export interface EventsPasstypesExchangetargetsApiRemoveEventPassTypeExchangeTargetRequest {
70899
+ /**
70900
+ * The event identifier
70901
+ */
70902
+ readonly eventId: string
70903
+
70904
+ /**
70905
+ * The passType identifier
70906
+ */
70907
+ readonly passTypeId: string
70908
+
70909
+ /**
70910
+ * The exchangeTarget identifier
70911
+ */
70912
+ readonly exchangeTargetId: string
70913
+ }
70914
+
70915
+ /**
70916
+ * Request parameters for updateEventPassTypeExchangeTarget operation in EventsPasstypesExchangetargetsApi.
70917
+ */
70918
+ export interface EventsPasstypesExchangetargetsApiUpdateEventPassTypeExchangeTargetRequest {
70919
+ /**
70920
+ * The event identifier
70921
+ */
70922
+ readonly eventId: string
70923
+
70924
+ /**
70925
+ * The passType identifier
70926
+ */
70927
+ readonly passTypeId: string
70928
+
70929
+ /**
70930
+ * The exchangeTarget identifier
70931
+ */
70932
+ readonly exchangeTargetId: string
70933
+
70934
+ readonly passTypeExchangeTargetUpdateInputs: PassTypeExchangeTargetUpdateInputs
70935
+ }
70936
+
70937
+ /**
70938
+ * EventsPasstypesExchangetargetsApi - object-oriented interface
70939
+ */
70940
+ export class EventsPasstypesExchangetargetsApi extends BaseAPI {
70941
+ /**
70942
+ * Add Event Pass Type Exchange Target endpoint
70943
+ * @summary Add Event Pass Type Exchange Target
70944
+ * @param {EventsPasstypesExchangetargetsApiAddEventPassTypeExchangeTargetRequest} requestParameters Request parameters.
70945
+ * @param {*} [options] Override http request option.
70946
+ * @throws {RequiredError}
70947
+ */
70948
+ public addEventPassTypeExchangeTarget(requestParameters: EventsPasstypesExchangetargetsApiAddEventPassTypeExchangeTargetRequest, options?: RawAxiosRequestConfig) {
70949
+ return EventsPasstypesExchangetargetsApiFp(this.configuration).addEventPassTypeExchangeTarget(requestParameters.eventId, requestParameters.passTypeId, requestParameters.passTypeExchangeTargetCreateInputs, options).then((request) => request(this.axios, this.basePath));
70950
+ }
70951
+
70952
+ /**
70953
+ * Get Event Pass Type Exchange Target Exchanges endpoint
70954
+ * @summary Get Event Pass Type Exchange Target Exchanges
70955
+ * @param {EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetExchangesRequest} requestParameters Request parameters.
70956
+ * @param {*} [options] Override http request option.
70957
+ * @throws {RequiredError}
70958
+ */
70959
+ public getEventPassTypeExchangeTargetExchanges(requestParameters: EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetExchangesRequest, options?: RawAxiosRequestConfig) {
70960
+ 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));
70961
+ }
70962
+
70963
+ /**
70964
+ * Get Event Pass Type Exchange Target Payments endpoint
70965
+ * @summary Get Event Pass Type Exchange Target Payments
70966
+ * @param {EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetPaymentsRequest} requestParameters Request parameters.
70967
+ * @param {*} [options] Override http request option.
70968
+ * @throws {RequiredError}
70969
+ */
70970
+ public getEventPassTypeExchangeTargetPayments(requestParameters: EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetPaymentsRequest, options?: RawAxiosRequestConfig) {
70971
+ 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));
70972
+ }
70973
+
70974
+ /**
70975
+ * Get Event Pass Type Exchange Targets endpoint
70976
+ * @summary Get Event Pass Type Exchange Targets
70977
+ * @param {EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetsRequest} requestParameters Request parameters.
70978
+ * @param {*} [options] Override http request option.
70979
+ * @throws {RequiredError}
70980
+ */
70981
+ public getEventPassTypeExchangeTargets(requestParameters: EventsPasstypesExchangetargetsApiGetEventPassTypeExchangeTargetsRequest, options?: RawAxiosRequestConfig) {
70982
+ 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));
70983
+ }
70984
+
70985
+ /**
70986
+ * Remove Event Pass Type Exchange Target endpoint
70987
+ * @summary Remove Event Pass Type Exchange Target
70988
+ * @param {EventsPasstypesExchangetargetsApiRemoveEventPassTypeExchangeTargetRequest} requestParameters Request parameters.
70989
+ * @param {*} [options] Override http request option.
70990
+ * @throws {RequiredError}
70991
+ */
70992
+ public removeEventPassTypeExchangeTarget(requestParameters: EventsPasstypesExchangetargetsApiRemoveEventPassTypeExchangeTargetRequest, options?: RawAxiosRequestConfig) {
70993
+ return EventsPasstypesExchangetargetsApiFp(this.configuration).removeEventPassTypeExchangeTarget(requestParameters.eventId, requestParameters.passTypeId, requestParameters.exchangeTargetId, options).then((request) => request(this.axios, this.basePath));
70994
+ }
70995
+
70996
+ /**
70997
+ * Update Event Pass Type Exchange Target endpoint
70998
+ * @summary Update Event Pass Type Exchange Target
70999
+ * @param {EventsPasstypesExchangetargetsApiUpdateEventPassTypeExchangeTargetRequest} requestParameters Request parameters.
71000
+ * @param {*} [options] Override http request option.
71001
+ * @throws {RequiredError}
71002
+ */
71003
+ public updateEventPassTypeExchangeTarget(requestParameters: EventsPasstypesExchangetargetsApiUpdateEventPassTypeExchangeTargetRequest, options?: RawAxiosRequestConfig) {
71004
+ return EventsPasstypesExchangetargetsApiFp(this.configuration).updateEventPassTypeExchangeTarget(requestParameters.eventId, requestParameters.passTypeId, requestParameters.exchangeTargetId, requestParameters.passTypeExchangeTargetUpdateInputs, options).then((request) => request(this.axios, this.basePath));
71005
+ }
71006
+ }
71007
+
71008
+
71009
+
70209
71010
  /**
70210
71011
  * EventsPasstypesPriceschedulesApi - axios parameter creator
70211
71012
  */
@@ -112399,7 +113200,7 @@ export const MeetingsApiFp = function(configuration?: Configuration) {
112399
113200
  * @param {*} [options] Override http request option.
112400
113201
  * @throws {RequiredError}
112401
113202
  */
112402
- async joinMeeting(meetingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImpersonateAccount200Response>> {
113203
+ async joinMeeting(meetingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinMeeting200Response>> {
112403
113204
  const localVarAxiosArgs = await localVarAxiosParamCreator.joinMeeting(meetingId, options);
112404
113205
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
112405
113206
  const localVarOperationServerBasePath = operationServerMap['MeetingsApi.joinMeeting']?.[localVarOperationServerIndex]?.url;
@@ -112485,7 +113286,7 @@ export const MeetingsApiFactory = function (configuration?: Configuration, baseP
112485
113286
  * @param {*} [options] Override http request option.
112486
113287
  * @throws {RequiredError}
112487
113288
  */
112488
- joinMeeting(requestParameters: MeetingsApiJoinMeetingRequest, options?: RawAxiosRequestConfig): AxiosPromise<ImpersonateAccount200Response> {
113289
+ joinMeeting(requestParameters: MeetingsApiJoinMeetingRequest, options?: RawAxiosRequestConfig): AxiosPromise<JoinMeeting200Response> {
112489
113290
  return localVarFp.joinMeeting(requestParameters.meetingId, options).then((request) => request(axios, basePath));
112490
113291
  },
112491
113292
  /**