@connectedxm/admin-sdk 7.8.0 → 7.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +12 -1
- package/AdminApi.ts +3 -0
- package/README.md +17 -2
- package/api.ts +915 -106
- package/dist/AdminApi.d.ts +2 -1
- package/dist/AdminApi.js +1 -0
- package/dist/api.d.ts +520 -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 +520 -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/BaseEventSessionLocation.md +2 -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/EventSessionLocation.md +2 -0
- package/docs/EventSessionLocationCreateInputs.md +6 -0
- package/docs/EventSessionLocationUpdateInputs.md +6 -0
- package/docs/EventUpdateInputs.md +2 -0
- package/docs/EventsPasstypesExchangetargetsApi.md +393 -0
- package/docs/ExchangeType.md +12 -0
- package/docs/GetEventPassTypeExchangeTargetExchanges200Response.md +26 -0
- package/docs/GetEventPassTypeExchangeTargets200Response.md +26 -0
- package/docs/{ImpersonateAccount200Response.md → JoinMeeting200Response.md} +3 -3
- package/docs/MeetingsApi.md +2 -2
- package/docs/PassExchange.md +38 -0
- package/docs/PassTypeExchangeTargetCreateInputs.md +30 -0
- package/docs/PassTypeExchangeTargetUpdateInputs.md +28 -0
- package/docs/Payment.md +2 -0
- package/package.json +1 -1
package/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;
|
|
@@ -1545,6 +1567,7 @@ export interface BaseEventSessionAccess {
|
|
|
1545
1567
|
export interface BaseEventSessionLocation {
|
|
1546
1568
|
'id': string;
|
|
1547
1569
|
'name': string;
|
|
1570
|
+
'room': string | null;
|
|
1548
1571
|
'address1': string | null;
|
|
1549
1572
|
'address2': string | null;
|
|
1550
1573
|
'zip': string | null;
|
|
@@ -1991,6 +2014,17 @@ export interface BasePassAttributeAttribute {
|
|
|
1991
2014
|
'id': string;
|
|
1992
2015
|
'name': string;
|
|
1993
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
|
+
|
|
1994
2028
|
export interface BasePayment {
|
|
1995
2029
|
'id': number;
|
|
1996
2030
|
'type': PaymentType;
|
|
@@ -4721,6 +4755,7 @@ export interface Event {
|
|
|
4721
4755
|
'groupId': string | null;
|
|
4722
4756
|
'group': BaseGroup | null;
|
|
4723
4757
|
'groupOnly': boolean;
|
|
4758
|
+
'guestRegistration': boolean;
|
|
4724
4759
|
'backgroundImageId': string | null;
|
|
4725
4760
|
'backgroundImage': BaseImage | null;
|
|
4726
4761
|
'registrationHeaderImageId': string | null;
|
|
@@ -5093,6 +5128,7 @@ export interface EventCreateInputs {
|
|
|
5093
5128
|
'streamReplayId'?: string | null;
|
|
5094
5129
|
'groupId'?: string | null;
|
|
5095
5130
|
'groupOnly'?: boolean;
|
|
5131
|
+
'guestRegistration'?: boolean;
|
|
5096
5132
|
'passSupply'?: AdvertisementCreateInputsWeight | null;
|
|
5097
5133
|
'passLimitPerAccount'?: EventCreateInputsPassLimitPerAccount | null;
|
|
5098
5134
|
'roundName'?: string | null;
|
|
@@ -5463,6 +5499,20 @@ export interface EventPassType {
|
|
|
5463
5499
|
export interface EventPassTypeAllOfCount {
|
|
5464
5500
|
'purchases': number;
|
|
5465
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
|
+
}
|
|
5466
5516
|
export interface EventPassTypePriceSchedule {
|
|
5467
5517
|
'id': string;
|
|
5468
5518
|
'ticketId': string;
|
|
@@ -5897,6 +5947,7 @@ export interface EventSessionCreateInputs {
|
|
|
5897
5947
|
export interface EventSessionLocation {
|
|
5898
5948
|
'id': string;
|
|
5899
5949
|
'name': string;
|
|
5950
|
+
'room': string | null;
|
|
5900
5951
|
'address1': string | null;
|
|
5901
5952
|
'address2': string | null;
|
|
5902
5953
|
'zip': string | null;
|
|
@@ -5914,6 +5965,7 @@ export interface EventSessionLocation {
|
|
|
5914
5965
|
export interface EventSessionLocationCreateInputs {
|
|
5915
5966
|
'location'?: string | null;
|
|
5916
5967
|
'name': string;
|
|
5968
|
+
'room'?: string | null;
|
|
5917
5969
|
'description'?: string | null;
|
|
5918
5970
|
'imageId'?: string | null;
|
|
5919
5971
|
'address1'?: string | null;
|
|
@@ -5922,6 +5974,8 @@ export interface EventSessionLocationCreateInputs {
|
|
|
5922
5974
|
'state'?: string | null;
|
|
5923
5975
|
'country'?: string | null;
|
|
5924
5976
|
'zip'?: string | null;
|
|
5977
|
+
'latitude'?: number | null;
|
|
5978
|
+
'longitude'?: number | null;
|
|
5925
5979
|
}
|
|
5926
5980
|
export interface EventSessionLocationTranslation {
|
|
5927
5981
|
'id': string;
|
|
@@ -5938,6 +5992,7 @@ export interface EventSessionLocationTranslationUpdateInputs {
|
|
|
5938
5992
|
export interface EventSessionLocationUpdateInputs {
|
|
5939
5993
|
'location'?: string | null;
|
|
5940
5994
|
'name'?: string;
|
|
5995
|
+
'room'?: string | null;
|
|
5941
5996
|
'description'?: string | null;
|
|
5942
5997
|
'imageId'?: string | null;
|
|
5943
5998
|
'address1'?: string | null;
|
|
@@ -5946,6 +6001,8 @@ export interface EventSessionLocationUpdateInputs {
|
|
|
5946
6001
|
'state'?: string | null;
|
|
5947
6002
|
'country'?: string | null;
|
|
5948
6003
|
'zip'?: string | null;
|
|
6004
|
+
'latitude'?: number | null;
|
|
6005
|
+
'longitude'?: number | null;
|
|
5949
6006
|
}
|
|
5950
6007
|
export interface EventSessionPrice {
|
|
5951
6008
|
'id': string;
|
|
@@ -6553,6 +6610,7 @@ export interface EventUpdateInputs {
|
|
|
6553
6610
|
'streamReplayId'?: string | null;
|
|
6554
6611
|
'groupId'?: string | null;
|
|
6555
6612
|
'groupOnly'?: boolean;
|
|
6613
|
+
'guestRegistration'?: boolean;
|
|
6556
6614
|
'passSupply'?: AdvertisementCreateInputsWeight | null;
|
|
6557
6615
|
'passLimitPerAccount'?: EventCreateInputsPassLimitPerAccount | null;
|
|
6558
6616
|
'roundName'?: string | null;
|
|
@@ -6575,6 +6633,14 @@ export interface EventVariantCouponSyncInputs {
|
|
|
6575
6633
|
'fields'?: Array<string>;
|
|
6576
6634
|
}
|
|
6577
6635
|
|
|
6636
|
+
export enum ExchangeType {
|
|
6637
|
+
Upgrade = 'upgrade',
|
|
6638
|
+
Downgrade = 'downgrade',
|
|
6639
|
+
Swap = 'swap'
|
|
6640
|
+
}
|
|
6641
|
+
|
|
6642
|
+
|
|
6643
|
+
|
|
6578
6644
|
export enum ExportStatus {
|
|
6579
6645
|
Pending = 'pending',
|
|
6580
6646
|
Resolved = 'resolved',
|
|
@@ -7972,6 +8038,28 @@ export enum GetEventPassTransfers200ResponseStatusEnum {
|
|
|
7972
8038
|
Ok = 'ok'
|
|
7973
8039
|
}
|
|
7974
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
|
+
|
|
7975
8063
|
export interface GetEventPassTypePriceSchedule200Response {
|
|
7976
8064
|
'status': GetEventPassTypePriceSchedule200ResponseStatusEnum;
|
|
7977
8065
|
'message': string;
|
|
@@ -10173,16 +10261,6 @@ export interface ImageWCopyUri {
|
|
|
10173
10261
|
}
|
|
10174
10262
|
|
|
10175
10263
|
|
|
10176
|
-
export interface ImpersonateAccount200Response {
|
|
10177
|
-
'status': ImpersonateAccount200ResponseStatusEnum;
|
|
10178
|
-
'message': string;
|
|
10179
|
-
'data': string;
|
|
10180
|
-
}
|
|
10181
|
-
|
|
10182
|
-
export enum ImpersonateAccount200ResponseStatusEnum {
|
|
10183
|
-
Ok = 'ok'
|
|
10184
|
-
}
|
|
10185
|
-
|
|
10186
10264
|
export interface Import {
|
|
10187
10265
|
'id': string;
|
|
10188
10266
|
'type': string;
|
|
@@ -10425,6 +10503,16 @@ export interface InvoiceUpdateInputs {
|
|
|
10425
10503
|
'eventId'?: string | null;
|
|
10426
10504
|
'paymentIntegrationId'?: string | null;
|
|
10427
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
|
+
|
|
10428
10516
|
export interface Lead {
|
|
10429
10517
|
'id': string;
|
|
10430
10518
|
'firstName': string | null;
|
|
@@ -11484,6 +11572,20 @@ export interface PassAttributesUpdateInputsValuesInner {
|
|
|
11484
11572
|
'attributeId': string;
|
|
11485
11573
|
'value': string;
|
|
11486
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
|
+
|
|
11487
11589
|
|
|
11488
11590
|
export enum PassTypeAccessLevel {
|
|
11489
11591
|
Regular = 'regular',
|
|
@@ -11525,6 +11627,21 @@ export interface PassTypeCreateInputs {
|
|
|
11525
11627
|
}
|
|
11526
11628
|
|
|
11527
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
|
+
}
|
|
11528
11645
|
export interface PassTypePriceScheduleCreateInputs {
|
|
11529
11646
|
'ticketId'?: string | null;
|
|
11530
11647
|
'price'?: string | null;
|
|
@@ -11651,6 +11768,7 @@ export interface Payment {
|
|
|
11651
11768
|
'coupon': BaseCoupon | null;
|
|
11652
11769
|
'invoice': BaseInvoice | null;
|
|
11653
11770
|
'series': BaseSeries | null;
|
|
11771
|
+
'exchangeTarget': BaseEventPassTypeExchangeTarget | null;
|
|
11654
11772
|
'metadata'?: object;
|
|
11655
11773
|
}
|
|
11656
11774
|
|
|
@@ -15150,50 +15268,6 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15150
15268
|
options: localVarRequestOptions,
|
|
15151
15269
|
};
|
|
15152
15270
|
},
|
|
15153
|
-
/**
|
|
15154
|
-
* 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.
|
|
15155
|
-
* @summary Impersonate account
|
|
15156
|
-
* @param {string} accountId The account identifier
|
|
15157
|
-
* @param {string} username The username identifier
|
|
15158
|
-
* @param {*} [options] Override http request option.
|
|
15159
|
-
* @throws {RequiredError}
|
|
15160
|
-
*/
|
|
15161
|
-
impersonateAccount: async (accountId: string, username: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15162
|
-
// verify required parameter 'accountId' is not null or undefined
|
|
15163
|
-
assertParamExists('impersonateAccount', 'accountId', accountId)
|
|
15164
|
-
// verify required parameter 'username' is not null or undefined
|
|
15165
|
-
assertParamExists('impersonateAccount', 'username', username)
|
|
15166
|
-
const localVarPath = `/accounts/{accountId}/impersonate/{username}`
|
|
15167
|
-
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)))
|
|
15168
|
-
.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
15169
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15170
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15171
|
-
let baseOptions;
|
|
15172
|
-
if (configuration) {
|
|
15173
|
-
baseOptions = configuration.baseOptions;
|
|
15174
|
-
}
|
|
15175
|
-
|
|
15176
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
15177
|
-
const localVarHeaderParameter = {} as any;
|
|
15178
|
-
const localVarQueryParameter = {} as any;
|
|
15179
|
-
|
|
15180
|
-
// authentication ApiKeyAuth required
|
|
15181
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
15182
|
-
|
|
15183
|
-
// authentication OrganizationId required
|
|
15184
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
15185
|
-
|
|
15186
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
15187
|
-
|
|
15188
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15189
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15190
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15191
|
-
|
|
15192
|
-
return {
|
|
15193
|
-
url: toPathString(localVarUrlObj),
|
|
15194
|
-
options: localVarRequestOptions,
|
|
15195
|
-
};
|
|
15196
|
-
},
|
|
15197
15271
|
/**
|
|
15198
15272
|
* Enqueues a background job to resync the given account\'s data, requiring update permission on accounts.
|
|
15199
15273
|
* @summary Sync a single account
|
|
@@ -15593,20 +15667,6 @@ export const AccountsApiFp = function(configuration?: Configuration) {
|
|
|
15593
15667
|
const localVarOperationServerBasePath = operationServerMap['AccountsApi.getAccountsByInternalRefId']?.[localVarOperationServerIndex]?.url;
|
|
15594
15668
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15595
15669
|
},
|
|
15596
|
-
/**
|
|
15597
|
-
* 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.
|
|
15598
|
-
* @summary Impersonate account
|
|
15599
|
-
* @param {string} accountId The account identifier
|
|
15600
|
-
* @param {string} username The username identifier
|
|
15601
|
-
* @param {*} [options] Override http request option.
|
|
15602
|
-
* @throws {RequiredError}
|
|
15603
|
-
*/
|
|
15604
|
-
async impersonateAccount(accountId: string, username: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ImpersonateAccount200Response>> {
|
|
15605
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.impersonateAccount(accountId, username, options);
|
|
15606
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15607
|
-
const localVarOperationServerBasePath = operationServerMap['AccountsApi.impersonateAccount']?.[localVarOperationServerIndex]?.url;
|
|
15608
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15609
|
-
},
|
|
15610
15670
|
/**
|
|
15611
15671
|
* Enqueues a background job to resync the given account\'s data, requiring update permission on accounts.
|
|
15612
15672
|
* @summary Sync a single account
|
|
@@ -15825,16 +15885,6 @@ export const AccountsApiFactory = function (configuration?: Configuration, baseP
|
|
|
15825
15885
|
getAccountsByInternalRefId(requestParameters: AccountsApiGetAccountsByInternalRefIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountsByInternalRefId200Response> {
|
|
15826
15886
|
return localVarFp.getAccountsByInternalRefId(requestParameters.internalRefId, options).then((request) => request(axios, basePath));
|
|
15827
15887
|
},
|
|
15828
|
-
/**
|
|
15829
|
-
* 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.
|
|
15830
|
-
* @summary Impersonate account
|
|
15831
|
-
* @param {AccountsApiImpersonateAccountRequest} requestParameters Request parameters.
|
|
15832
|
-
* @param {*} [options] Override http request option.
|
|
15833
|
-
* @throws {RequiredError}
|
|
15834
|
-
*/
|
|
15835
|
-
impersonateAccount(requestParameters: AccountsApiImpersonateAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<ImpersonateAccount200Response> {
|
|
15836
|
-
return localVarFp.impersonateAccount(requestParameters.accountId, requestParameters.username, options).then((request) => request(axios, basePath));
|
|
15837
|
-
},
|
|
15838
15888
|
/**
|
|
15839
15889
|
* Enqueues a background job to resync the given account\'s data, requiring update permission on accounts.
|
|
15840
15890
|
* @summary Sync a single account
|
|
@@ -16274,21 +16324,6 @@ export interface AccountsApiGetAccountsByInternalRefIdRequest {
|
|
|
16274
16324
|
readonly internalRefId: string
|
|
16275
16325
|
}
|
|
16276
16326
|
|
|
16277
|
-
/**
|
|
16278
|
-
* Request parameters for impersonateAccount operation in AccountsApi.
|
|
16279
|
-
*/
|
|
16280
|
-
export interface AccountsApiImpersonateAccountRequest {
|
|
16281
|
-
/**
|
|
16282
|
-
* The account identifier
|
|
16283
|
-
*/
|
|
16284
|
-
readonly accountId: string
|
|
16285
|
-
|
|
16286
|
-
/**
|
|
16287
|
-
* The username identifier
|
|
16288
|
-
*/
|
|
16289
|
-
readonly username: string
|
|
16290
|
-
}
|
|
16291
|
-
|
|
16292
16327
|
/**
|
|
16293
16328
|
* Request parameters for syncAccount operation in AccountsApi.
|
|
16294
16329
|
*/
|
|
@@ -16502,17 +16537,6 @@ export class AccountsApi extends BaseAPI {
|
|
|
16502
16537
|
return AccountsApiFp(this.configuration).getAccountsByInternalRefId(requestParameters.internalRefId, options).then((request) => request(this.axios, this.basePath));
|
|
16503
16538
|
}
|
|
16504
16539
|
|
|
16505
|
-
/**
|
|
16506
|
-
* 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.
|
|
16507
|
-
* @summary Impersonate account
|
|
16508
|
-
* @param {AccountsApiImpersonateAccountRequest} requestParameters Request parameters.
|
|
16509
|
-
* @param {*} [options] Override http request option.
|
|
16510
|
-
* @throws {RequiredError}
|
|
16511
|
-
*/
|
|
16512
|
-
public impersonateAccount(requestParameters: AccountsApiImpersonateAccountRequest, options?: RawAxiosRequestConfig) {
|
|
16513
|
-
return AccountsApiFp(this.configuration).impersonateAccount(requestParameters.accountId, requestParameters.username, options).then((request) => request(this.axios, this.basePath));
|
|
16514
|
-
}
|
|
16515
|
-
|
|
16516
16540
|
/**
|
|
16517
16541
|
* Enqueues a background job to resync the given account\'s data, requiring update permission on accounts.
|
|
16518
16542
|
* @summary Sync a single account
|
|
@@ -70198,6 +70222,791 @@ export class EventsPasstypesApi extends BaseAPI {
|
|
|
70198
70222
|
|
|
70199
70223
|
|
|
70200
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
|
+
|
|
70201
71010
|
/**
|
|
70202
71011
|
* EventsPasstypesPriceschedulesApi - axios parameter creator
|
|
70203
71012
|
*/
|
|
@@ -112391,7 +113200,7 @@ export const MeetingsApiFp = function(configuration?: Configuration) {
|
|
|
112391
113200
|
* @param {*} [options] Override http request option.
|
|
112392
113201
|
* @throws {RequiredError}
|
|
112393
113202
|
*/
|
|
112394
|
-
async joinMeeting(meetingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
113203
|
+
async joinMeeting(meetingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JoinMeeting200Response>> {
|
|
112395
113204
|
const localVarAxiosArgs = await localVarAxiosParamCreator.joinMeeting(meetingId, options);
|
|
112396
113205
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
112397
113206
|
const localVarOperationServerBasePath = operationServerMap['MeetingsApi.joinMeeting']?.[localVarOperationServerIndex]?.url;
|
|
@@ -112477,7 +113286,7 @@ export const MeetingsApiFactory = function (configuration?: Configuration, baseP
|
|
|
112477
113286
|
* @param {*} [options] Override http request option.
|
|
112478
113287
|
* @throws {RequiredError}
|
|
112479
113288
|
*/
|
|
112480
|
-
joinMeeting(requestParameters: MeetingsApiJoinMeetingRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
113289
|
+
joinMeeting(requestParameters: MeetingsApiJoinMeetingRequest, options?: RawAxiosRequestConfig): AxiosPromise<JoinMeeting200Response> {
|
|
112481
113290
|
return localVarFp.joinMeeting(requestParameters.meetingId, options).then((request) => request(axios, basePath));
|
|
112482
113291
|
},
|
|
112483
113292
|
/**
|