@connectedxm/admin-sdk 16.14.0 → 16.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Connected Admin API
5
5
  * The Admin API allows you to manage your Connected community programmatically.
6
6
  *
7
- * The version of the OpenAPI document: 16.14.0
7
+ * The version of the OpenAPI document: 16.16.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1352,6 +1352,14 @@ export var GetEventPassTypePriceSchedule200ResponseStatusEnum;
1352
1352
  (function (GetEventPassTypePriceSchedule200ResponseStatusEnum) {
1353
1353
  GetEventPassTypePriceSchedule200ResponseStatusEnum["Ok"] = "ok";
1354
1354
  })(GetEventPassTypePriceSchedule200ResponseStatusEnum || (GetEventPassTypePriceSchedule200ResponseStatusEnum = {}));
1355
+ export var GetEventPassTypePriceScheduleTranslation200ResponseStatusEnum;
1356
+ (function (GetEventPassTypePriceScheduleTranslation200ResponseStatusEnum) {
1357
+ GetEventPassTypePriceScheduleTranslation200ResponseStatusEnum["Ok"] = "ok";
1358
+ })(GetEventPassTypePriceScheduleTranslation200ResponseStatusEnum || (GetEventPassTypePriceScheduleTranslation200ResponseStatusEnum = {}));
1359
+ export var GetEventPassTypePriceScheduleTranslations200ResponseStatusEnum;
1360
+ (function (GetEventPassTypePriceScheduleTranslations200ResponseStatusEnum) {
1361
+ GetEventPassTypePriceScheduleTranslations200ResponseStatusEnum["Ok"] = "ok";
1362
+ })(GetEventPassTypePriceScheduleTranslations200ResponseStatusEnum || (GetEventPassTypePriceScheduleTranslations200ResponseStatusEnum = {}));
1355
1363
  export var GetEventPassTypePriceSchedules200ResponseStatusEnum;
1356
1364
  (function (GetEventPassTypePriceSchedules200ResponseStatusEnum) {
1357
1365
  GetEventPassTypePriceSchedules200ResponseStatusEnum["Ok"] = "ok";
@@ -3104,6 +3112,10 @@ export var UpdateEventPassAttributes200ResponseStatusEnum;
3104
3112
  (function (UpdateEventPassAttributes200ResponseStatusEnum) {
3105
3113
  UpdateEventPassAttributes200ResponseStatusEnum["Ok"] = "ok";
3106
3114
  })(UpdateEventPassAttributes200ResponseStatusEnum || (UpdateEventPassAttributes200ResponseStatusEnum = {}));
3115
+ export var UpdateEventPassTypePriceScheduleTranslation200ResponseStatusEnum;
3116
+ (function (UpdateEventPassTypePriceScheduleTranslation200ResponseStatusEnum) {
3117
+ UpdateEventPassTypePriceScheduleTranslation200ResponseStatusEnum["Ok"] = "ok";
3118
+ })(UpdateEventPassTypePriceScheduleTranslation200ResponseStatusEnum || (UpdateEventPassTypePriceScheduleTranslation200ResponseStatusEnum = {}));
3107
3119
  export var UpdateEventRoundQuestion200ResponseStatusEnum;
3108
3120
  (function (UpdateEventRoundQuestion200ResponseStatusEnum) {
3109
3121
  UpdateEventRoundQuestion200ResponseStatusEnum["Ok"] = "ok";
@@ -23448,6 +23460,529 @@ export var GetContentsTypeEnum;
23448
23460
  GetContentsTypeEnum["Audio"] = "audio";
23449
23461
  GetContentsTypeEnum["Article"] = "article";
23450
23462
  })(GetContentsTypeEnum || (GetContentsTypeEnum = {}));
23463
+ /**
23464
+ * ChannelsInterestsApi - axios parameter creator
23465
+ */
23466
+ export const ChannelsInterestsApiAxiosParamCreator = function (configuration) {
23467
+ return {
23468
+ /**
23469
+ * Associates an existing interest with a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
23470
+ * @summary Add an interest to a content item
23471
+ * @param {string} channelId The channel identifier
23472
+ * @param {string} contentId The content identifier
23473
+ * @param {string} interestId The interest identifier
23474
+ * @param {*} [options] Override http request option.
23475
+ * @throws {RequiredError}
23476
+ */
23477
+ addChannelContentInterest: (channelId_1, contentId_1, interestId_1, ...args_1) => __awaiter(this, [channelId_1, contentId_1, interestId_1, ...args_1], void 0, function* (channelId, contentId, interestId, options = {}) {
23478
+ // verify required parameter 'channelId' is not null or undefined
23479
+ assertParamExists('addChannelContentInterest', 'channelId', channelId);
23480
+ // verify required parameter 'contentId' is not null or undefined
23481
+ assertParamExists('addChannelContentInterest', 'contentId', contentId);
23482
+ // verify required parameter 'interestId' is not null or undefined
23483
+ assertParamExists('addChannelContentInterest', 'interestId', interestId);
23484
+ const localVarPath = `/channels/{channelId}/contents/{contentId}/interests/{interestId}`
23485
+ .replace('{channelId}', encodeURIComponent(String(channelId)))
23486
+ .replace('{contentId}', encodeURIComponent(String(contentId)))
23487
+ .replace('{interestId}', encodeURIComponent(String(interestId)));
23488
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23489
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23490
+ let baseOptions;
23491
+ if (configuration) {
23492
+ baseOptions = configuration.baseOptions;
23493
+ }
23494
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
23495
+ const localVarHeaderParameter = {};
23496
+ const localVarQueryParameter = {};
23497
+ // authentication ApiKeyAuth required
23498
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
23499
+ // authentication OrganizationId required
23500
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
23501
+ localVarHeaderParameter['Accept'] = 'application/json';
23502
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23503
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23504
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
23505
+ return {
23506
+ url: toPathString(localVarUrlObj),
23507
+ options: localVarRequestOptions,
23508
+ };
23509
+ }),
23510
+ /**
23511
+ * Associates an existing interest with a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
23512
+ * @summary Add an interest to a channel
23513
+ * @param {string} channelId The channel identifier
23514
+ * @param {string} interestId The interest identifier
23515
+ * @param {*} [options] Override http request option.
23516
+ * @throws {RequiredError}
23517
+ */
23518
+ addChannelInterest: (channelId_1, interestId_1, ...args_1) => __awaiter(this, [channelId_1, interestId_1, ...args_1], void 0, function* (channelId, interestId, options = {}) {
23519
+ // verify required parameter 'channelId' is not null or undefined
23520
+ assertParamExists('addChannelInterest', 'channelId', channelId);
23521
+ // verify required parameter 'interestId' is not null or undefined
23522
+ assertParamExists('addChannelInterest', 'interestId', interestId);
23523
+ const localVarPath = `/channels/{channelId}/interests/{interestId}`
23524
+ .replace('{channelId}', encodeURIComponent(String(channelId)))
23525
+ .replace('{interestId}', encodeURIComponent(String(interestId)));
23526
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23527
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23528
+ let baseOptions;
23529
+ if (configuration) {
23530
+ baseOptions = configuration.baseOptions;
23531
+ }
23532
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
23533
+ const localVarHeaderParameter = {};
23534
+ const localVarQueryParameter = {};
23535
+ // authentication ApiKeyAuth required
23536
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
23537
+ // authentication OrganizationId required
23538
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
23539
+ localVarHeaderParameter['Accept'] = 'application/json';
23540
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23541
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23542
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
23543
+ return {
23544
+ url: toPathString(localVarUrlObj),
23545
+ options: localVarRequestOptions,
23546
+ };
23547
+ }),
23548
+ /**
23549
+ * Returns a paginated list of interest tags associated with the given content item, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels, contents and interests.
23550
+ * @summary List a content item\'s interests
23551
+ * @param {string} channelId The channel identifier
23552
+ * @param {string} contentId The content identifier
23553
+ * @param {number} [page] Page number
23554
+ * @param {number} [pageSize] Number of items per page
23555
+ * @param {string} [orderBy] Field to order by
23556
+ * @param {string} [search] Search query
23557
+ * @param {*} [options] Override http request option.
23558
+ * @throws {RequiredError}
23559
+ */
23560
+ getChannelContentInterests: (channelId_1, contentId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [channelId_1, contentId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (channelId, contentId, page, pageSize, orderBy, search, options = {}) {
23561
+ // verify required parameter 'channelId' is not null or undefined
23562
+ assertParamExists('getChannelContentInterests', 'channelId', channelId);
23563
+ // verify required parameter 'contentId' is not null or undefined
23564
+ assertParamExists('getChannelContentInterests', 'contentId', contentId);
23565
+ const localVarPath = `/channels/{channelId}/contents/{contentId}/interests`
23566
+ .replace('{channelId}', encodeURIComponent(String(channelId)))
23567
+ .replace('{contentId}', encodeURIComponent(String(contentId)));
23568
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23569
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23570
+ let baseOptions;
23571
+ if (configuration) {
23572
+ baseOptions = configuration.baseOptions;
23573
+ }
23574
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
23575
+ const localVarHeaderParameter = {};
23576
+ const localVarQueryParameter = {};
23577
+ // authentication ApiKeyAuth required
23578
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
23579
+ // authentication OrganizationId required
23580
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
23581
+ if (page !== undefined) {
23582
+ localVarQueryParameter['page'] = page;
23583
+ }
23584
+ if (pageSize !== undefined) {
23585
+ localVarQueryParameter['pageSize'] = pageSize;
23586
+ }
23587
+ if (orderBy !== undefined) {
23588
+ localVarQueryParameter['orderBy'] = orderBy;
23589
+ }
23590
+ if (search !== undefined) {
23591
+ localVarQueryParameter['search'] = search;
23592
+ }
23593
+ localVarHeaderParameter['Accept'] = 'application/json';
23594
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23595
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23596
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
23597
+ return {
23598
+ url: toPathString(localVarUrlObj),
23599
+ options: localVarRequestOptions,
23600
+ };
23601
+ }),
23602
+ /**
23603
+ * Returns a paginated list of interest tags associated with the given channel, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels and interests.
23604
+ * @summary List a channel\'s interests
23605
+ * @param {string} channelId The channel identifier
23606
+ * @param {number} [page] Page number
23607
+ * @param {number} [pageSize] Number of items per page
23608
+ * @param {string} [orderBy] Field to order by
23609
+ * @param {string} [search] Search query
23610
+ * @param {*} [options] Override http request option.
23611
+ * @throws {RequiredError}
23612
+ */
23613
+ getChannelInterests: (channelId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [channelId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (channelId, page, pageSize, orderBy, search, options = {}) {
23614
+ // verify required parameter 'channelId' is not null or undefined
23615
+ assertParamExists('getChannelInterests', 'channelId', channelId);
23616
+ const localVarPath = `/channels/{channelId}/interests`
23617
+ .replace('{channelId}', encodeURIComponent(String(channelId)));
23618
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23619
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23620
+ let baseOptions;
23621
+ if (configuration) {
23622
+ baseOptions = configuration.baseOptions;
23623
+ }
23624
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
23625
+ const localVarHeaderParameter = {};
23626
+ const localVarQueryParameter = {};
23627
+ // authentication ApiKeyAuth required
23628
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
23629
+ // authentication OrganizationId required
23630
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
23631
+ if (page !== undefined) {
23632
+ localVarQueryParameter['page'] = page;
23633
+ }
23634
+ if (pageSize !== undefined) {
23635
+ localVarQueryParameter['pageSize'] = pageSize;
23636
+ }
23637
+ if (orderBy !== undefined) {
23638
+ localVarQueryParameter['orderBy'] = orderBy;
23639
+ }
23640
+ if (search !== undefined) {
23641
+ localVarQueryParameter['search'] = search;
23642
+ }
23643
+ localVarHeaderParameter['Accept'] = 'application/json';
23644
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23645
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23646
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
23647
+ return {
23648
+ url: toPathString(localVarUrlObj),
23649
+ options: localVarRequestOptions,
23650
+ };
23651
+ }),
23652
+ /**
23653
+ * Removes an interest from a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
23654
+ * @summary Remove an interest from a content item
23655
+ * @param {string} channelId The channel identifier
23656
+ * @param {string} contentId The content identifier
23657
+ * @param {string} interestId The interest identifier
23658
+ * @param {*} [options] Override http request option.
23659
+ * @throws {RequiredError}
23660
+ */
23661
+ removeChannelContentInterest: (channelId_1, contentId_1, interestId_1, ...args_1) => __awaiter(this, [channelId_1, contentId_1, interestId_1, ...args_1], void 0, function* (channelId, contentId, interestId, options = {}) {
23662
+ // verify required parameter 'channelId' is not null or undefined
23663
+ assertParamExists('removeChannelContentInterest', 'channelId', channelId);
23664
+ // verify required parameter 'contentId' is not null or undefined
23665
+ assertParamExists('removeChannelContentInterest', 'contentId', contentId);
23666
+ // verify required parameter 'interestId' is not null or undefined
23667
+ assertParamExists('removeChannelContentInterest', 'interestId', interestId);
23668
+ const localVarPath = `/channels/{channelId}/contents/{contentId}/interests/{interestId}`
23669
+ .replace('{channelId}', encodeURIComponent(String(channelId)))
23670
+ .replace('{contentId}', encodeURIComponent(String(contentId)))
23671
+ .replace('{interestId}', encodeURIComponent(String(interestId)));
23672
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23673
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23674
+ let baseOptions;
23675
+ if (configuration) {
23676
+ baseOptions = configuration.baseOptions;
23677
+ }
23678
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
23679
+ const localVarHeaderParameter = {};
23680
+ const localVarQueryParameter = {};
23681
+ // authentication ApiKeyAuth required
23682
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
23683
+ // authentication OrganizationId required
23684
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
23685
+ localVarHeaderParameter['Accept'] = 'application/json';
23686
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23687
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23688
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
23689
+ return {
23690
+ url: toPathString(localVarUrlObj),
23691
+ options: localVarRequestOptions,
23692
+ };
23693
+ }),
23694
+ /**
23695
+ * Removes an interest from a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
23696
+ * @summary Remove an interest from a channel
23697
+ * @param {string} channelId The channel identifier
23698
+ * @param {string} interestId The interest identifier
23699
+ * @param {*} [options] Override http request option.
23700
+ * @throws {RequiredError}
23701
+ */
23702
+ removeChannelInterest: (channelId_1, interestId_1, ...args_1) => __awaiter(this, [channelId_1, interestId_1, ...args_1], void 0, function* (channelId, interestId, options = {}) {
23703
+ // verify required parameter 'channelId' is not null or undefined
23704
+ assertParamExists('removeChannelInterest', 'channelId', channelId);
23705
+ // verify required parameter 'interestId' is not null or undefined
23706
+ assertParamExists('removeChannelInterest', 'interestId', interestId);
23707
+ const localVarPath = `/channels/{channelId}/interests/{interestId}`
23708
+ .replace('{channelId}', encodeURIComponent(String(channelId)))
23709
+ .replace('{interestId}', encodeURIComponent(String(interestId)));
23710
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23711
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23712
+ let baseOptions;
23713
+ if (configuration) {
23714
+ baseOptions = configuration.baseOptions;
23715
+ }
23716
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
23717
+ const localVarHeaderParameter = {};
23718
+ const localVarQueryParameter = {};
23719
+ // authentication ApiKeyAuth required
23720
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
23721
+ // authentication OrganizationId required
23722
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
23723
+ localVarHeaderParameter['Accept'] = 'application/json';
23724
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23725
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23726
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
23727
+ return {
23728
+ url: toPathString(localVarUrlObj),
23729
+ options: localVarRequestOptions,
23730
+ };
23731
+ }),
23732
+ };
23733
+ };
23734
+ /**
23735
+ * ChannelsInterestsApi - functional programming interface
23736
+ */
23737
+ export const ChannelsInterestsApiFp = function (configuration) {
23738
+ const localVarAxiosParamCreator = ChannelsInterestsApiAxiosParamCreator(configuration);
23739
+ return {
23740
+ /**
23741
+ * Associates an existing interest with a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
23742
+ * @summary Add an interest to a content item
23743
+ * @param {string} channelId The channel identifier
23744
+ * @param {string} contentId The content identifier
23745
+ * @param {string} interestId The interest identifier
23746
+ * @param {*} [options] Override http request option.
23747
+ * @throws {RequiredError}
23748
+ */
23749
+ addChannelContentInterest(channelId, contentId, interestId, options) {
23750
+ return __awaiter(this, void 0, void 0, function* () {
23751
+ var _a, _b, _c;
23752
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addChannelContentInterest(channelId, contentId, interestId, options);
23753
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
23754
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ChannelsInterestsApi.addChannelContentInterest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
23755
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23756
+ });
23757
+ },
23758
+ /**
23759
+ * Associates an existing interest with a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
23760
+ * @summary Add an interest to a channel
23761
+ * @param {string} channelId The channel identifier
23762
+ * @param {string} interestId The interest identifier
23763
+ * @param {*} [options] Override http request option.
23764
+ * @throws {RequiredError}
23765
+ */
23766
+ addChannelInterest(channelId, interestId, options) {
23767
+ return __awaiter(this, void 0, void 0, function* () {
23768
+ var _a, _b, _c;
23769
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addChannelInterest(channelId, interestId, options);
23770
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
23771
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ChannelsInterestsApi.addChannelInterest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
23772
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23773
+ });
23774
+ },
23775
+ /**
23776
+ * Returns a paginated list of interest tags associated with the given content item, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels, contents and interests.
23777
+ * @summary List a content item\'s interests
23778
+ * @param {string} channelId The channel identifier
23779
+ * @param {string} contentId The content identifier
23780
+ * @param {number} [page] Page number
23781
+ * @param {number} [pageSize] Number of items per page
23782
+ * @param {string} [orderBy] Field to order by
23783
+ * @param {string} [search] Search query
23784
+ * @param {*} [options] Override http request option.
23785
+ * @throws {RequiredError}
23786
+ */
23787
+ getChannelContentInterests(channelId, contentId, page, pageSize, orderBy, search, options) {
23788
+ return __awaiter(this, void 0, void 0, function* () {
23789
+ var _a, _b, _c;
23790
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getChannelContentInterests(channelId, contentId, page, pageSize, orderBy, search, options);
23791
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
23792
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ChannelsInterestsApi.getChannelContentInterests']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
23793
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23794
+ });
23795
+ },
23796
+ /**
23797
+ * Returns a paginated list of interest tags associated with the given channel, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels and interests.
23798
+ * @summary List a channel\'s interests
23799
+ * @param {string} channelId The channel identifier
23800
+ * @param {number} [page] Page number
23801
+ * @param {number} [pageSize] Number of items per page
23802
+ * @param {string} [orderBy] Field to order by
23803
+ * @param {string} [search] Search query
23804
+ * @param {*} [options] Override http request option.
23805
+ * @throws {RequiredError}
23806
+ */
23807
+ getChannelInterests(channelId, page, pageSize, orderBy, search, options) {
23808
+ return __awaiter(this, void 0, void 0, function* () {
23809
+ var _a, _b, _c;
23810
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getChannelInterests(channelId, page, pageSize, orderBy, search, options);
23811
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
23812
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ChannelsInterestsApi.getChannelInterests']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
23813
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23814
+ });
23815
+ },
23816
+ /**
23817
+ * Removes an interest from a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
23818
+ * @summary Remove an interest from a content item
23819
+ * @param {string} channelId The channel identifier
23820
+ * @param {string} contentId The content identifier
23821
+ * @param {string} interestId The interest identifier
23822
+ * @param {*} [options] Override http request option.
23823
+ * @throws {RequiredError}
23824
+ */
23825
+ removeChannelContentInterest(channelId, contentId, interestId, options) {
23826
+ return __awaiter(this, void 0, void 0, function* () {
23827
+ var _a, _b, _c;
23828
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.removeChannelContentInterest(channelId, contentId, interestId, options);
23829
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
23830
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ChannelsInterestsApi.removeChannelContentInterest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
23831
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23832
+ });
23833
+ },
23834
+ /**
23835
+ * Removes an interest from a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
23836
+ * @summary Remove an interest from a channel
23837
+ * @param {string} channelId The channel identifier
23838
+ * @param {string} interestId The interest identifier
23839
+ * @param {*} [options] Override http request option.
23840
+ * @throws {RequiredError}
23841
+ */
23842
+ removeChannelInterest(channelId, interestId, options) {
23843
+ return __awaiter(this, void 0, void 0, function* () {
23844
+ var _a, _b, _c;
23845
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.removeChannelInterest(channelId, interestId, options);
23846
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
23847
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ChannelsInterestsApi.removeChannelInterest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
23848
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23849
+ });
23850
+ },
23851
+ };
23852
+ };
23853
+ /**
23854
+ * ChannelsInterestsApi - factory interface
23855
+ */
23856
+ export const ChannelsInterestsApiFactory = function (configuration, basePath, axios) {
23857
+ const localVarFp = ChannelsInterestsApiFp(configuration);
23858
+ return {
23859
+ /**
23860
+ * Associates an existing interest with a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
23861
+ * @summary Add an interest to a content item
23862
+ * @param {ChannelsInterestsApiAddChannelContentInterestRequest} requestParameters Request parameters.
23863
+ * @param {*} [options] Override http request option.
23864
+ * @throws {RequiredError}
23865
+ */
23866
+ addChannelContentInterest(requestParameters, options) {
23867
+ return localVarFp.addChannelContentInterest(requestParameters.channelId, requestParameters.contentId, requestParameters.interestId, options).then((request) => request(axios, basePath));
23868
+ },
23869
+ /**
23870
+ * Associates an existing interest with a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
23871
+ * @summary Add an interest to a channel
23872
+ * @param {ChannelsInterestsApiAddChannelInterestRequest} requestParameters Request parameters.
23873
+ * @param {*} [options] Override http request option.
23874
+ * @throws {RequiredError}
23875
+ */
23876
+ addChannelInterest(requestParameters, options) {
23877
+ return localVarFp.addChannelInterest(requestParameters.channelId, requestParameters.interestId, options).then((request) => request(axios, basePath));
23878
+ },
23879
+ /**
23880
+ * Returns a paginated list of interest tags associated with the given content item, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels, contents and interests.
23881
+ * @summary List a content item\'s interests
23882
+ * @param {ChannelsInterestsApiGetChannelContentInterestsRequest} requestParameters Request parameters.
23883
+ * @param {*} [options] Override http request option.
23884
+ * @throws {RequiredError}
23885
+ */
23886
+ getChannelContentInterests(requestParameters, options) {
23887
+ return localVarFp.getChannelContentInterests(requestParameters.channelId, requestParameters.contentId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
23888
+ },
23889
+ /**
23890
+ * Returns a paginated list of interest tags associated with the given channel, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels and interests.
23891
+ * @summary List a channel\'s interests
23892
+ * @param {ChannelsInterestsApiGetChannelInterestsRequest} requestParameters Request parameters.
23893
+ * @param {*} [options] Override http request option.
23894
+ * @throws {RequiredError}
23895
+ */
23896
+ getChannelInterests(requestParameters, options) {
23897
+ return localVarFp.getChannelInterests(requestParameters.channelId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
23898
+ },
23899
+ /**
23900
+ * Removes an interest from a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
23901
+ * @summary Remove an interest from a content item
23902
+ * @param {ChannelsInterestsApiRemoveChannelContentInterestRequest} requestParameters Request parameters.
23903
+ * @param {*} [options] Override http request option.
23904
+ * @throws {RequiredError}
23905
+ */
23906
+ removeChannelContentInterest(requestParameters, options) {
23907
+ return localVarFp.removeChannelContentInterest(requestParameters.channelId, requestParameters.contentId, requestParameters.interestId, options).then((request) => request(axios, basePath));
23908
+ },
23909
+ /**
23910
+ * Removes an interest from a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
23911
+ * @summary Remove an interest from a channel
23912
+ * @param {ChannelsInterestsApiRemoveChannelInterestRequest} requestParameters Request parameters.
23913
+ * @param {*} [options] Override http request option.
23914
+ * @throws {RequiredError}
23915
+ */
23916
+ removeChannelInterest(requestParameters, options) {
23917
+ return localVarFp.removeChannelInterest(requestParameters.channelId, requestParameters.interestId, options).then((request) => request(axios, basePath));
23918
+ },
23919
+ };
23920
+ };
23921
+ /**
23922
+ * ChannelsInterestsApi - object-oriented interface
23923
+ */
23924
+ export class ChannelsInterestsApi extends BaseAPI {
23925
+ /**
23926
+ * Associates an existing interest with a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
23927
+ * @summary Add an interest to a content item
23928
+ * @param {ChannelsInterestsApiAddChannelContentInterestRequest} requestParameters Request parameters.
23929
+ * @param {*} [options] Override http request option.
23930
+ * @throws {RequiredError}
23931
+ */
23932
+ addChannelContentInterest(requestParameters, options) {
23933
+ return ChannelsInterestsApiFp(this.configuration).addChannelContentInterest(requestParameters.channelId, requestParameters.contentId, requestParameters.interestId, options).then((request) => request(this.axios, this.basePath));
23934
+ }
23935
+ /**
23936
+ * Associates an existing interest with a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
23937
+ * @summary Add an interest to a channel
23938
+ * @param {ChannelsInterestsApiAddChannelInterestRequest} requestParameters Request parameters.
23939
+ * @param {*} [options] Override http request option.
23940
+ * @throws {RequiredError}
23941
+ */
23942
+ addChannelInterest(requestParameters, options) {
23943
+ return ChannelsInterestsApiFp(this.configuration).addChannelInterest(requestParameters.channelId, requestParameters.interestId, options).then((request) => request(this.axios, this.basePath));
23944
+ }
23945
+ /**
23946
+ * Returns a paginated list of interest tags associated with the given content item, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels, contents and interests.
23947
+ * @summary List a content item\'s interests
23948
+ * @param {ChannelsInterestsApiGetChannelContentInterestsRequest} requestParameters Request parameters.
23949
+ * @param {*} [options] Override http request option.
23950
+ * @throws {RequiredError}
23951
+ */
23952
+ getChannelContentInterests(requestParameters, options) {
23953
+ return ChannelsInterestsApiFp(this.configuration).getChannelContentInterests(requestParameters.channelId, requestParameters.contentId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
23954
+ }
23955
+ /**
23956
+ * Returns a paginated list of interest tags associated with the given channel, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels and interests.
23957
+ * @summary List a channel\'s interests
23958
+ * @param {ChannelsInterestsApiGetChannelInterestsRequest} requestParameters Request parameters.
23959
+ * @param {*} [options] Override http request option.
23960
+ * @throws {RequiredError}
23961
+ */
23962
+ getChannelInterests(requestParameters, options) {
23963
+ return ChannelsInterestsApiFp(this.configuration).getChannelInterests(requestParameters.channelId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
23964
+ }
23965
+ /**
23966
+ * Removes an interest from a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
23967
+ * @summary Remove an interest from a content item
23968
+ * @param {ChannelsInterestsApiRemoveChannelContentInterestRequest} requestParameters Request parameters.
23969
+ * @param {*} [options] Override http request option.
23970
+ * @throws {RequiredError}
23971
+ */
23972
+ removeChannelContentInterest(requestParameters, options) {
23973
+ return ChannelsInterestsApiFp(this.configuration).removeChannelContentInterest(requestParameters.channelId, requestParameters.contentId, requestParameters.interestId, options).then((request) => request(this.axios, this.basePath));
23974
+ }
23975
+ /**
23976
+ * Removes an interest from a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
23977
+ * @summary Remove an interest from a channel
23978
+ * @param {ChannelsInterestsApiRemoveChannelInterestRequest} requestParameters Request parameters.
23979
+ * @param {*} [options] Override http request option.
23980
+ * @throws {RequiredError}
23981
+ */
23982
+ removeChannelInterest(requestParameters, options) {
23983
+ return ChannelsInterestsApiFp(this.configuration).removeChannelInterest(requestParameters.channelId, requestParameters.interestId, options).then((request) => request(this.axios, this.basePath));
23984
+ }
23985
+ }
23451
23986
  /**
23452
23987
  * ChannelsTranslationsApi - axios parameter creator
23453
23988
  */
@@ -37324,6 +37859,274 @@ export class EventsGroupcouponreminderApi extends BaseAPI {
37324
37859
  return EventsGroupcouponreminderApiFp(this.configuration).updateEventGroupCouponReminder(requestParameters.eventId, requestParameters.eventGroupCouponReminderUpdateInputs, options).then((request) => request(this.axios, this.basePath));
37325
37860
  }
37326
37861
  }
37862
+ /**
37863
+ * EventsInterestsApi - axios parameter creator
37864
+ */
37865
+ export const EventsInterestsApiAxiosParamCreator = function (configuration) {
37866
+ return {
37867
+ /**
37868
+ * Associates an existing interest with an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
37869
+ * @summary Add an interest to an event
37870
+ * @param {string} eventId The event identifier
37871
+ * @param {string} interestId The interest identifier
37872
+ * @param {*} [options] Override http request option.
37873
+ * @throws {RequiredError}
37874
+ */
37875
+ addEventInterest: (eventId_1, interestId_1, ...args_1) => __awaiter(this, [eventId_1, interestId_1, ...args_1], void 0, function* (eventId, interestId, options = {}) {
37876
+ // verify required parameter 'eventId' is not null or undefined
37877
+ assertParamExists('addEventInterest', 'eventId', eventId);
37878
+ // verify required parameter 'interestId' is not null or undefined
37879
+ assertParamExists('addEventInterest', 'interestId', interestId);
37880
+ const localVarPath = `/events/{eventId}/interests/{interestId}`
37881
+ .replace('{eventId}', encodeURIComponent(String(eventId)))
37882
+ .replace('{interestId}', encodeURIComponent(String(interestId)));
37883
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
37884
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
37885
+ let baseOptions;
37886
+ if (configuration) {
37887
+ baseOptions = configuration.baseOptions;
37888
+ }
37889
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
37890
+ const localVarHeaderParameter = {};
37891
+ const localVarQueryParameter = {};
37892
+ // authentication ApiKeyAuth required
37893
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
37894
+ // authentication OrganizationId required
37895
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
37896
+ localVarHeaderParameter['Accept'] = 'application/json';
37897
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
37898
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
37899
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
37900
+ return {
37901
+ url: toPathString(localVarUrlObj),
37902
+ options: localVarRequestOptions,
37903
+ };
37904
+ }),
37905
+ /**
37906
+ * Returns a paginated list of interest tags associated with the given event, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on events and interests.
37907
+ * @summary List an event\'s interests
37908
+ * @param {string} eventId The event identifier
37909
+ * @param {number} [page] Page number
37910
+ * @param {number} [pageSize] Number of items per page
37911
+ * @param {string} [orderBy] Field to order by
37912
+ * @param {string} [search] Search query
37913
+ * @param {*} [options] Override http request option.
37914
+ * @throws {RequiredError}
37915
+ */
37916
+ getEventInterests: (eventId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, page, pageSize, orderBy, search, options = {}) {
37917
+ // verify required parameter 'eventId' is not null or undefined
37918
+ assertParamExists('getEventInterests', 'eventId', eventId);
37919
+ const localVarPath = `/events/{eventId}/interests`
37920
+ .replace('{eventId}', encodeURIComponent(String(eventId)));
37921
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
37922
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
37923
+ let baseOptions;
37924
+ if (configuration) {
37925
+ baseOptions = configuration.baseOptions;
37926
+ }
37927
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
37928
+ const localVarHeaderParameter = {};
37929
+ const localVarQueryParameter = {};
37930
+ // authentication ApiKeyAuth required
37931
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
37932
+ // authentication OrganizationId required
37933
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
37934
+ if (page !== undefined) {
37935
+ localVarQueryParameter['page'] = page;
37936
+ }
37937
+ if (pageSize !== undefined) {
37938
+ localVarQueryParameter['pageSize'] = pageSize;
37939
+ }
37940
+ if (orderBy !== undefined) {
37941
+ localVarQueryParameter['orderBy'] = orderBy;
37942
+ }
37943
+ if (search !== undefined) {
37944
+ localVarQueryParameter['search'] = search;
37945
+ }
37946
+ localVarHeaderParameter['Accept'] = 'application/json';
37947
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
37948
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
37949
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
37950
+ return {
37951
+ url: toPathString(localVarUrlObj),
37952
+ options: localVarRequestOptions,
37953
+ };
37954
+ }),
37955
+ /**
37956
+ * Removes an interest from an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
37957
+ * @summary Remove an interest from an event
37958
+ * @param {string} eventId The event identifier
37959
+ * @param {string} interestId The interest identifier
37960
+ * @param {*} [options] Override http request option.
37961
+ * @throws {RequiredError}
37962
+ */
37963
+ removeEventInterest: (eventId_1, interestId_1, ...args_1) => __awaiter(this, [eventId_1, interestId_1, ...args_1], void 0, function* (eventId, interestId, options = {}) {
37964
+ // verify required parameter 'eventId' is not null or undefined
37965
+ assertParamExists('removeEventInterest', 'eventId', eventId);
37966
+ // verify required parameter 'interestId' is not null or undefined
37967
+ assertParamExists('removeEventInterest', 'interestId', interestId);
37968
+ const localVarPath = `/events/{eventId}/interests/{interestId}`
37969
+ .replace('{eventId}', encodeURIComponent(String(eventId)))
37970
+ .replace('{interestId}', encodeURIComponent(String(interestId)));
37971
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
37972
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
37973
+ let baseOptions;
37974
+ if (configuration) {
37975
+ baseOptions = configuration.baseOptions;
37976
+ }
37977
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
37978
+ const localVarHeaderParameter = {};
37979
+ const localVarQueryParameter = {};
37980
+ // authentication ApiKeyAuth required
37981
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
37982
+ // authentication OrganizationId required
37983
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
37984
+ localVarHeaderParameter['Accept'] = 'application/json';
37985
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
37986
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
37987
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
37988
+ return {
37989
+ url: toPathString(localVarUrlObj),
37990
+ options: localVarRequestOptions,
37991
+ };
37992
+ }),
37993
+ };
37994
+ };
37995
+ /**
37996
+ * EventsInterestsApi - functional programming interface
37997
+ */
37998
+ export const EventsInterestsApiFp = function (configuration) {
37999
+ const localVarAxiosParamCreator = EventsInterestsApiAxiosParamCreator(configuration);
38000
+ return {
38001
+ /**
38002
+ * Associates an existing interest with an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
38003
+ * @summary Add an interest to an event
38004
+ * @param {string} eventId The event identifier
38005
+ * @param {string} interestId The interest identifier
38006
+ * @param {*} [options] Override http request option.
38007
+ * @throws {RequiredError}
38008
+ */
38009
+ addEventInterest(eventId, interestId, options) {
38010
+ return __awaiter(this, void 0, void 0, function* () {
38011
+ var _a, _b, _c;
38012
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addEventInterest(eventId, interestId, options);
38013
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
38014
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsInterestsApi.addEventInterest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
38015
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
38016
+ });
38017
+ },
38018
+ /**
38019
+ * Returns a paginated list of interest tags associated with the given event, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on events and interests.
38020
+ * @summary List an event\'s interests
38021
+ * @param {string} eventId The event identifier
38022
+ * @param {number} [page] Page number
38023
+ * @param {number} [pageSize] Number of items per page
38024
+ * @param {string} [orderBy] Field to order by
38025
+ * @param {string} [search] Search query
38026
+ * @param {*} [options] Override http request option.
38027
+ * @throws {RequiredError}
38028
+ */
38029
+ getEventInterests(eventId, page, pageSize, orderBy, search, options) {
38030
+ return __awaiter(this, void 0, void 0, function* () {
38031
+ var _a, _b, _c;
38032
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventInterests(eventId, page, pageSize, orderBy, search, options);
38033
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
38034
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsInterestsApi.getEventInterests']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
38035
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
38036
+ });
38037
+ },
38038
+ /**
38039
+ * Removes an interest from an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
38040
+ * @summary Remove an interest from an event
38041
+ * @param {string} eventId The event identifier
38042
+ * @param {string} interestId The interest identifier
38043
+ * @param {*} [options] Override http request option.
38044
+ * @throws {RequiredError}
38045
+ */
38046
+ removeEventInterest(eventId, interestId, options) {
38047
+ return __awaiter(this, void 0, void 0, function* () {
38048
+ var _a, _b, _c;
38049
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.removeEventInterest(eventId, interestId, options);
38050
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
38051
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsInterestsApi.removeEventInterest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
38052
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
38053
+ });
38054
+ },
38055
+ };
38056
+ };
38057
+ /**
38058
+ * EventsInterestsApi - factory interface
38059
+ */
38060
+ export const EventsInterestsApiFactory = function (configuration, basePath, axios) {
38061
+ const localVarFp = EventsInterestsApiFp(configuration);
38062
+ return {
38063
+ /**
38064
+ * Associates an existing interest with an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
38065
+ * @summary Add an interest to an event
38066
+ * @param {EventsInterestsApiAddEventInterestRequest} requestParameters Request parameters.
38067
+ * @param {*} [options] Override http request option.
38068
+ * @throws {RequiredError}
38069
+ */
38070
+ addEventInterest(requestParameters, options) {
38071
+ return localVarFp.addEventInterest(requestParameters.eventId, requestParameters.interestId, options).then((request) => request(axios, basePath));
38072
+ },
38073
+ /**
38074
+ * Returns a paginated list of interest tags associated with the given event, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on events and interests.
38075
+ * @summary List an event\'s interests
38076
+ * @param {EventsInterestsApiGetEventInterestsRequest} requestParameters Request parameters.
38077
+ * @param {*} [options] Override http request option.
38078
+ * @throws {RequiredError}
38079
+ */
38080
+ getEventInterests(requestParameters, options) {
38081
+ return localVarFp.getEventInterests(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
38082
+ },
38083
+ /**
38084
+ * Removes an interest from an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
38085
+ * @summary Remove an interest from an event
38086
+ * @param {EventsInterestsApiRemoveEventInterestRequest} requestParameters Request parameters.
38087
+ * @param {*} [options] Override http request option.
38088
+ * @throws {RequiredError}
38089
+ */
38090
+ removeEventInterest(requestParameters, options) {
38091
+ return localVarFp.removeEventInterest(requestParameters.eventId, requestParameters.interestId, options).then((request) => request(axios, basePath));
38092
+ },
38093
+ };
38094
+ };
38095
+ /**
38096
+ * EventsInterestsApi - object-oriented interface
38097
+ */
38098
+ export class EventsInterestsApi extends BaseAPI {
38099
+ /**
38100
+ * Associates an existing interest with an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
38101
+ * @summary Add an interest to an event
38102
+ * @param {EventsInterestsApiAddEventInterestRequest} requestParameters Request parameters.
38103
+ * @param {*} [options] Override http request option.
38104
+ * @throws {RequiredError}
38105
+ */
38106
+ addEventInterest(requestParameters, options) {
38107
+ return EventsInterestsApiFp(this.configuration).addEventInterest(requestParameters.eventId, requestParameters.interestId, options).then((request) => request(this.axios, this.basePath));
38108
+ }
38109
+ /**
38110
+ * Returns a paginated list of interest tags associated with the given event, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on events and interests.
38111
+ * @summary List an event\'s interests
38112
+ * @param {EventsInterestsApiGetEventInterestsRequest} requestParameters Request parameters.
38113
+ * @param {*} [options] Override http request option.
38114
+ * @throws {RequiredError}
38115
+ */
38116
+ getEventInterests(requestParameters, options) {
38117
+ return EventsInterestsApiFp(this.configuration).getEventInterests(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
38118
+ }
38119
+ /**
38120
+ * Removes an interest from an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
38121
+ * @summary Remove an interest from an event
38122
+ * @param {EventsInterestsApiRemoveEventInterestRequest} requestParameters Request parameters.
38123
+ * @param {*} [options] Override http request option.
38124
+ * @throws {RequiredError}
38125
+ */
38126
+ removeEventInterest(requestParameters, options) {
38127
+ return EventsInterestsApiFp(this.configuration).removeEventInterest(requestParameters.eventId, requestParameters.interestId, options).then((request) => request(this.axios, this.basePath));
38128
+ }
38129
+ }
37327
38130
  /**
37328
38131
  * EventsMatchesApi - axios parameter creator
37329
38132
  */
@@ -50953,6 +51756,395 @@ export class EventsPasstypesPriceschedulesApi extends BaseAPI {
50953
51756
  return EventsPasstypesPriceschedulesApiFp(this.configuration).updateEventPassTypePriceSchedule(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.passTypePriceScheduleUpdateInputs, options).then((request) => request(this.axios, this.basePath));
50954
51757
  }
50955
51758
  }
51759
+ /**
51760
+ * EventsPasstypesPriceschedulesTranslationsApi - axios parameter creator
51761
+ */
51762
+ export const EventsPasstypesPriceschedulesTranslationsApiAxiosParamCreator = function (configuration) {
51763
+ return {
51764
+ /**
51765
+ * Deletes the translation for the given locale on an event pass type price schedule, requiring the \"update\" permission on events.
51766
+ * @summary Delete a pass type price schedule translation
51767
+ * @param {string} eventId The event identifier
51768
+ * @param {string} passTypeId The passType identifier
51769
+ * @param {string} scheduleId The schedule identifier
51770
+ * @param {string} locale The locale identifier
51771
+ * @param {*} [options] Override http request option.
51772
+ * @throws {RequiredError}
51773
+ */
51774
+ deleteEventPassTypePriceScheduleTranslation: (eventId_1, passTypeId_1, scheduleId_1, locale_1, ...args_1) => __awaiter(this, [eventId_1, passTypeId_1, scheduleId_1, locale_1, ...args_1], void 0, function* (eventId, passTypeId, scheduleId, locale, options = {}) {
51775
+ // verify required parameter 'eventId' is not null or undefined
51776
+ assertParamExists('deleteEventPassTypePriceScheduleTranslation', 'eventId', eventId);
51777
+ // verify required parameter 'passTypeId' is not null or undefined
51778
+ assertParamExists('deleteEventPassTypePriceScheduleTranslation', 'passTypeId', passTypeId);
51779
+ // verify required parameter 'scheduleId' is not null or undefined
51780
+ assertParamExists('deleteEventPassTypePriceScheduleTranslation', 'scheduleId', scheduleId);
51781
+ // verify required parameter 'locale' is not null or undefined
51782
+ assertParamExists('deleteEventPassTypePriceScheduleTranslation', 'locale', locale);
51783
+ const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/priceSchedules/{scheduleId}/translations/{locale}`
51784
+ .replace('{eventId}', encodeURIComponent(String(eventId)))
51785
+ .replace('{passTypeId}', encodeURIComponent(String(passTypeId)))
51786
+ .replace('{scheduleId}', encodeURIComponent(String(scheduleId)))
51787
+ .replace('{locale}', encodeURIComponent(String(locale)));
51788
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
51789
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
51790
+ let baseOptions;
51791
+ if (configuration) {
51792
+ baseOptions = configuration.baseOptions;
51793
+ }
51794
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
51795
+ const localVarHeaderParameter = {};
51796
+ const localVarQueryParameter = {};
51797
+ // authentication ApiKeyAuth required
51798
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
51799
+ // authentication OrganizationId required
51800
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
51801
+ localVarHeaderParameter['Accept'] = 'application/json';
51802
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
51803
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
51804
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
51805
+ return {
51806
+ url: toPathString(localVarUrlObj),
51807
+ options: localVarRequestOptions,
51808
+ };
51809
+ }),
51810
+ /**
51811
+ * Retrieves the translation for a specific pass type price schedule in a given locale, returning null if no translation exists for that locale; requires read permission on events.
51812
+ * @summary Get a pass type price schedule\'s translation
51813
+ * @param {string} eventId The event identifier
51814
+ * @param {string} passTypeId The passType identifier
51815
+ * @param {string} scheduleId The schedule identifier
51816
+ * @param {string} locale The locale identifier
51817
+ * @param {*} [options] Override http request option.
51818
+ * @throws {RequiredError}
51819
+ */
51820
+ getEventPassTypePriceScheduleTranslation: (eventId_1, passTypeId_1, scheduleId_1, locale_1, ...args_1) => __awaiter(this, [eventId_1, passTypeId_1, scheduleId_1, locale_1, ...args_1], void 0, function* (eventId, passTypeId, scheduleId, locale, options = {}) {
51821
+ // verify required parameter 'eventId' is not null or undefined
51822
+ assertParamExists('getEventPassTypePriceScheduleTranslation', 'eventId', eventId);
51823
+ // verify required parameter 'passTypeId' is not null or undefined
51824
+ assertParamExists('getEventPassTypePriceScheduleTranslation', 'passTypeId', passTypeId);
51825
+ // verify required parameter 'scheduleId' is not null or undefined
51826
+ assertParamExists('getEventPassTypePriceScheduleTranslation', 'scheduleId', scheduleId);
51827
+ // verify required parameter 'locale' is not null or undefined
51828
+ assertParamExists('getEventPassTypePriceScheduleTranslation', 'locale', locale);
51829
+ const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/priceSchedules/{scheduleId}/translations/{locale}`
51830
+ .replace('{eventId}', encodeURIComponent(String(eventId)))
51831
+ .replace('{passTypeId}', encodeURIComponent(String(passTypeId)))
51832
+ .replace('{scheduleId}', encodeURIComponent(String(scheduleId)))
51833
+ .replace('{locale}', encodeURIComponent(String(locale)));
51834
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
51835
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
51836
+ let baseOptions;
51837
+ if (configuration) {
51838
+ baseOptions = configuration.baseOptions;
51839
+ }
51840
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
51841
+ const localVarHeaderParameter = {};
51842
+ const localVarQueryParameter = {};
51843
+ // authentication ApiKeyAuth required
51844
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
51845
+ // authentication OrganizationId required
51846
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
51847
+ localVarHeaderParameter['Accept'] = 'application/json';
51848
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
51849
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
51850
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
51851
+ return {
51852
+ url: toPathString(localVarUrlObj),
51853
+ options: localVarRequestOptions,
51854
+ };
51855
+ }),
51856
+ /**
51857
+ * Returns a paginated list of locale translations for a specific price schedule of an event pass type, supporting ordering; requires read permission on events.
51858
+ * @summary List translations for a pass type price schedule
51859
+ * @param {string} eventId The event identifier
51860
+ * @param {string} passTypeId The passType identifier
51861
+ * @param {string} scheduleId The schedule identifier
51862
+ * @param {number} [page] Page number
51863
+ * @param {number} [pageSize] Number of items per page
51864
+ * @param {string} [orderBy] Field to order by
51865
+ * @param {string} [search] Search query
51866
+ * @param {*} [options] Override http request option.
51867
+ * @throws {RequiredError}
51868
+ */
51869
+ getEventPassTypePriceScheduleTranslations: (eventId_1, passTypeId_1, scheduleId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, passTypeId_1, scheduleId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, passTypeId, scheduleId, page, pageSize, orderBy, search, options = {}) {
51870
+ // verify required parameter 'eventId' is not null or undefined
51871
+ assertParamExists('getEventPassTypePriceScheduleTranslations', 'eventId', eventId);
51872
+ // verify required parameter 'passTypeId' is not null or undefined
51873
+ assertParamExists('getEventPassTypePriceScheduleTranslations', 'passTypeId', passTypeId);
51874
+ // verify required parameter 'scheduleId' is not null or undefined
51875
+ assertParamExists('getEventPassTypePriceScheduleTranslations', 'scheduleId', scheduleId);
51876
+ const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/priceSchedules/{scheduleId}/translations`
51877
+ .replace('{eventId}', encodeURIComponent(String(eventId)))
51878
+ .replace('{passTypeId}', encodeURIComponent(String(passTypeId)))
51879
+ .replace('{scheduleId}', encodeURIComponent(String(scheduleId)));
51880
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
51881
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
51882
+ let baseOptions;
51883
+ if (configuration) {
51884
+ baseOptions = configuration.baseOptions;
51885
+ }
51886
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
51887
+ const localVarHeaderParameter = {};
51888
+ const localVarQueryParameter = {};
51889
+ // authentication ApiKeyAuth required
51890
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
51891
+ // authentication OrganizationId required
51892
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
51893
+ if (page !== undefined) {
51894
+ localVarQueryParameter['page'] = page;
51895
+ }
51896
+ if (pageSize !== undefined) {
51897
+ localVarQueryParameter['pageSize'] = pageSize;
51898
+ }
51899
+ if (orderBy !== undefined) {
51900
+ localVarQueryParameter['orderBy'] = orderBy;
51901
+ }
51902
+ if (search !== undefined) {
51903
+ localVarQueryParameter['search'] = search;
51904
+ }
51905
+ localVarHeaderParameter['Accept'] = 'application/json';
51906
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
51907
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
51908
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
51909
+ return {
51910
+ url: toPathString(localVarUrlObj),
51911
+ options: localVarRequestOptions,
51912
+ };
51913
+ }),
51914
+ /**
51915
+ * Creates or updates the localized name for a specific pass type price schedule in the given locale, upserting the translation record; requires update permission on events.
51916
+ * @summary Update a pass type price schedule\'s translation
51917
+ * @param {string} eventId The event identifier
51918
+ * @param {string} passTypeId The passType identifier
51919
+ * @param {string} scheduleId The schedule identifier
51920
+ * @param {string} locale The locale identifier
51921
+ * @param {PassTypePriceScheduleTranslationUpdateInputs} passTypePriceScheduleTranslationUpdateInputs
51922
+ * @param {*} [options] Override http request option.
51923
+ * @throws {RequiredError}
51924
+ */
51925
+ updateEventPassTypePriceScheduleTranslation: (eventId_1, passTypeId_1, scheduleId_1, locale_1, passTypePriceScheduleTranslationUpdateInputs_1, ...args_1) => __awaiter(this, [eventId_1, passTypeId_1, scheduleId_1, locale_1, passTypePriceScheduleTranslationUpdateInputs_1, ...args_1], void 0, function* (eventId, passTypeId, scheduleId, locale, passTypePriceScheduleTranslationUpdateInputs, options = {}) {
51926
+ // verify required parameter 'eventId' is not null or undefined
51927
+ assertParamExists('updateEventPassTypePriceScheduleTranslation', 'eventId', eventId);
51928
+ // verify required parameter 'passTypeId' is not null or undefined
51929
+ assertParamExists('updateEventPassTypePriceScheduleTranslation', 'passTypeId', passTypeId);
51930
+ // verify required parameter 'scheduleId' is not null or undefined
51931
+ assertParamExists('updateEventPassTypePriceScheduleTranslation', 'scheduleId', scheduleId);
51932
+ // verify required parameter 'locale' is not null or undefined
51933
+ assertParamExists('updateEventPassTypePriceScheduleTranslation', 'locale', locale);
51934
+ // verify required parameter 'passTypePriceScheduleTranslationUpdateInputs' is not null or undefined
51935
+ assertParamExists('updateEventPassTypePriceScheduleTranslation', 'passTypePriceScheduleTranslationUpdateInputs', passTypePriceScheduleTranslationUpdateInputs);
51936
+ const localVarPath = `/events/{eventId}/passTypes/{passTypeId}/priceSchedules/{scheduleId}/translations/{locale}`
51937
+ .replace('{eventId}', encodeURIComponent(String(eventId)))
51938
+ .replace('{passTypeId}', encodeURIComponent(String(passTypeId)))
51939
+ .replace('{scheduleId}', encodeURIComponent(String(scheduleId)))
51940
+ .replace('{locale}', encodeURIComponent(String(locale)));
51941
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
51942
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
51943
+ let baseOptions;
51944
+ if (configuration) {
51945
+ baseOptions = configuration.baseOptions;
51946
+ }
51947
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
51948
+ const localVarHeaderParameter = {};
51949
+ const localVarQueryParameter = {};
51950
+ // authentication ApiKeyAuth required
51951
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
51952
+ // authentication OrganizationId required
51953
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
51954
+ localVarHeaderParameter['Content-Type'] = 'application/json';
51955
+ localVarHeaderParameter['Accept'] = 'application/json';
51956
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
51957
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
51958
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
51959
+ localVarRequestOptions.data = serializeDataIfNeeded(passTypePriceScheduleTranslationUpdateInputs, localVarRequestOptions, configuration);
51960
+ return {
51961
+ url: toPathString(localVarUrlObj),
51962
+ options: localVarRequestOptions,
51963
+ };
51964
+ }),
51965
+ };
51966
+ };
51967
+ /**
51968
+ * EventsPasstypesPriceschedulesTranslationsApi - functional programming interface
51969
+ */
51970
+ export const EventsPasstypesPriceschedulesTranslationsApiFp = function (configuration) {
51971
+ const localVarAxiosParamCreator = EventsPasstypesPriceschedulesTranslationsApiAxiosParamCreator(configuration);
51972
+ return {
51973
+ /**
51974
+ * Deletes the translation for the given locale on an event pass type price schedule, requiring the \"update\" permission on events.
51975
+ * @summary Delete a pass type price schedule translation
51976
+ * @param {string} eventId The event identifier
51977
+ * @param {string} passTypeId The passType identifier
51978
+ * @param {string} scheduleId The schedule identifier
51979
+ * @param {string} locale The locale identifier
51980
+ * @param {*} [options] Override http request option.
51981
+ * @throws {RequiredError}
51982
+ */
51983
+ deleteEventPassTypePriceScheduleTranslation(eventId, passTypeId, scheduleId, locale, options) {
51984
+ return __awaiter(this, void 0, void 0, function* () {
51985
+ var _a, _b, _c;
51986
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteEventPassTypePriceScheduleTranslation(eventId, passTypeId, scheduleId, locale, options);
51987
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
51988
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsPasstypesPriceschedulesTranslationsApi.deleteEventPassTypePriceScheduleTranslation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
51989
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
51990
+ });
51991
+ },
51992
+ /**
51993
+ * Retrieves the translation for a specific pass type price schedule in a given locale, returning null if no translation exists for that locale; requires read permission on events.
51994
+ * @summary Get a pass type price schedule\'s translation
51995
+ * @param {string} eventId The event identifier
51996
+ * @param {string} passTypeId The passType identifier
51997
+ * @param {string} scheduleId The schedule identifier
51998
+ * @param {string} locale The locale identifier
51999
+ * @param {*} [options] Override http request option.
52000
+ * @throws {RequiredError}
52001
+ */
52002
+ getEventPassTypePriceScheduleTranslation(eventId, passTypeId, scheduleId, locale, options) {
52003
+ return __awaiter(this, void 0, void 0, function* () {
52004
+ var _a, _b, _c;
52005
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventPassTypePriceScheduleTranslation(eventId, passTypeId, scheduleId, locale, options);
52006
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
52007
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsPasstypesPriceschedulesTranslationsApi.getEventPassTypePriceScheduleTranslation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
52008
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
52009
+ });
52010
+ },
52011
+ /**
52012
+ * Returns a paginated list of locale translations for a specific price schedule of an event pass type, supporting ordering; requires read permission on events.
52013
+ * @summary List translations for a pass type price schedule
52014
+ * @param {string} eventId The event identifier
52015
+ * @param {string} passTypeId The passType identifier
52016
+ * @param {string} scheduleId The schedule identifier
52017
+ * @param {number} [page] Page number
52018
+ * @param {number} [pageSize] Number of items per page
52019
+ * @param {string} [orderBy] Field to order by
52020
+ * @param {string} [search] Search query
52021
+ * @param {*} [options] Override http request option.
52022
+ * @throws {RequiredError}
52023
+ */
52024
+ getEventPassTypePriceScheduleTranslations(eventId, passTypeId, scheduleId, page, pageSize, orderBy, search, options) {
52025
+ return __awaiter(this, void 0, void 0, function* () {
52026
+ var _a, _b, _c;
52027
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventPassTypePriceScheduleTranslations(eventId, passTypeId, scheduleId, page, pageSize, orderBy, search, options);
52028
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
52029
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsPasstypesPriceschedulesTranslationsApi.getEventPassTypePriceScheduleTranslations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
52030
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
52031
+ });
52032
+ },
52033
+ /**
52034
+ * Creates or updates the localized name for a specific pass type price schedule in the given locale, upserting the translation record; requires update permission on events.
52035
+ * @summary Update a pass type price schedule\'s translation
52036
+ * @param {string} eventId The event identifier
52037
+ * @param {string} passTypeId The passType identifier
52038
+ * @param {string} scheduleId The schedule identifier
52039
+ * @param {string} locale The locale identifier
52040
+ * @param {PassTypePriceScheduleTranslationUpdateInputs} passTypePriceScheduleTranslationUpdateInputs
52041
+ * @param {*} [options] Override http request option.
52042
+ * @throws {RequiredError}
52043
+ */
52044
+ updateEventPassTypePriceScheduleTranslation(eventId, passTypeId, scheduleId, locale, passTypePriceScheduleTranslationUpdateInputs, options) {
52045
+ return __awaiter(this, void 0, void 0, function* () {
52046
+ var _a, _b, _c;
52047
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateEventPassTypePriceScheduleTranslation(eventId, passTypeId, scheduleId, locale, passTypePriceScheduleTranslationUpdateInputs, options);
52048
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
52049
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsPasstypesPriceschedulesTranslationsApi.updateEventPassTypePriceScheduleTranslation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
52050
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
52051
+ });
52052
+ },
52053
+ };
52054
+ };
52055
+ /**
52056
+ * EventsPasstypesPriceschedulesTranslationsApi - factory interface
52057
+ */
52058
+ export const EventsPasstypesPriceschedulesTranslationsApiFactory = function (configuration, basePath, axios) {
52059
+ const localVarFp = EventsPasstypesPriceschedulesTranslationsApiFp(configuration);
52060
+ return {
52061
+ /**
52062
+ * Deletes the translation for the given locale on an event pass type price schedule, requiring the \"update\" permission on events.
52063
+ * @summary Delete a pass type price schedule translation
52064
+ * @param {EventsPasstypesPriceschedulesTranslationsApiDeleteEventPassTypePriceScheduleTranslationRequest} requestParameters Request parameters.
52065
+ * @param {*} [options] Override http request option.
52066
+ * @throws {RequiredError}
52067
+ */
52068
+ deleteEventPassTypePriceScheduleTranslation(requestParameters, options) {
52069
+ return localVarFp.deleteEventPassTypePriceScheduleTranslation(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.locale, options).then((request) => request(axios, basePath));
52070
+ },
52071
+ /**
52072
+ * Retrieves the translation for a specific pass type price schedule in a given locale, returning null if no translation exists for that locale; requires read permission on events.
52073
+ * @summary Get a pass type price schedule\'s translation
52074
+ * @param {EventsPasstypesPriceschedulesTranslationsApiGetEventPassTypePriceScheduleTranslationRequest} requestParameters Request parameters.
52075
+ * @param {*} [options] Override http request option.
52076
+ * @throws {RequiredError}
52077
+ */
52078
+ getEventPassTypePriceScheduleTranslation(requestParameters, options) {
52079
+ return localVarFp.getEventPassTypePriceScheduleTranslation(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.locale, options).then((request) => request(axios, basePath));
52080
+ },
52081
+ /**
52082
+ * Returns a paginated list of locale translations for a specific price schedule of an event pass type, supporting ordering; requires read permission on events.
52083
+ * @summary List translations for a pass type price schedule
52084
+ * @param {EventsPasstypesPriceschedulesTranslationsApiGetEventPassTypePriceScheduleTranslationsRequest} requestParameters Request parameters.
52085
+ * @param {*} [options] Override http request option.
52086
+ * @throws {RequiredError}
52087
+ */
52088
+ getEventPassTypePriceScheduleTranslations(requestParameters, options) {
52089
+ return localVarFp.getEventPassTypePriceScheduleTranslations(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
52090
+ },
52091
+ /**
52092
+ * Creates or updates the localized name for a specific pass type price schedule in the given locale, upserting the translation record; requires update permission on events.
52093
+ * @summary Update a pass type price schedule\'s translation
52094
+ * @param {EventsPasstypesPriceschedulesTranslationsApiUpdateEventPassTypePriceScheduleTranslationRequest} requestParameters Request parameters.
52095
+ * @param {*} [options] Override http request option.
52096
+ * @throws {RequiredError}
52097
+ */
52098
+ updateEventPassTypePriceScheduleTranslation(requestParameters, options) {
52099
+ return localVarFp.updateEventPassTypePriceScheduleTranslation(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.locale, requestParameters.passTypePriceScheduleTranslationUpdateInputs, options).then((request) => request(axios, basePath));
52100
+ },
52101
+ };
52102
+ };
52103
+ /**
52104
+ * EventsPasstypesPriceschedulesTranslationsApi - object-oriented interface
52105
+ */
52106
+ export class EventsPasstypesPriceschedulesTranslationsApi extends BaseAPI {
52107
+ /**
52108
+ * Deletes the translation for the given locale on an event pass type price schedule, requiring the \"update\" permission on events.
52109
+ * @summary Delete a pass type price schedule translation
52110
+ * @param {EventsPasstypesPriceschedulesTranslationsApiDeleteEventPassTypePriceScheduleTranslationRequest} requestParameters Request parameters.
52111
+ * @param {*} [options] Override http request option.
52112
+ * @throws {RequiredError}
52113
+ */
52114
+ deleteEventPassTypePriceScheduleTranslation(requestParameters, options) {
52115
+ return EventsPasstypesPriceschedulesTranslationsApiFp(this.configuration).deleteEventPassTypePriceScheduleTranslation(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.locale, options).then((request) => request(this.axios, this.basePath));
52116
+ }
52117
+ /**
52118
+ * Retrieves the translation for a specific pass type price schedule in a given locale, returning null if no translation exists for that locale; requires read permission on events.
52119
+ * @summary Get a pass type price schedule\'s translation
52120
+ * @param {EventsPasstypesPriceschedulesTranslationsApiGetEventPassTypePriceScheduleTranslationRequest} requestParameters Request parameters.
52121
+ * @param {*} [options] Override http request option.
52122
+ * @throws {RequiredError}
52123
+ */
52124
+ getEventPassTypePriceScheduleTranslation(requestParameters, options) {
52125
+ return EventsPasstypesPriceschedulesTranslationsApiFp(this.configuration).getEventPassTypePriceScheduleTranslation(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.locale, options).then((request) => request(this.axios, this.basePath));
52126
+ }
52127
+ /**
52128
+ * Returns a paginated list of locale translations for a specific price schedule of an event pass type, supporting ordering; requires read permission on events.
52129
+ * @summary List translations for a pass type price schedule
52130
+ * @param {EventsPasstypesPriceschedulesTranslationsApiGetEventPassTypePriceScheduleTranslationsRequest} requestParameters Request parameters.
52131
+ * @param {*} [options] Override http request option.
52132
+ * @throws {RequiredError}
52133
+ */
52134
+ getEventPassTypePriceScheduleTranslations(requestParameters, options) {
52135
+ return EventsPasstypesPriceschedulesTranslationsApiFp(this.configuration).getEventPassTypePriceScheduleTranslations(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
52136
+ }
52137
+ /**
52138
+ * Creates or updates the localized name for a specific pass type price schedule in the given locale, upserting the translation record; requires update permission on events.
52139
+ * @summary Update a pass type price schedule\'s translation
52140
+ * @param {EventsPasstypesPriceschedulesTranslationsApiUpdateEventPassTypePriceScheduleTranslationRequest} requestParameters Request parameters.
52141
+ * @param {*} [options] Override http request option.
52142
+ * @throws {RequiredError}
52143
+ */
52144
+ updateEventPassTypePriceScheduleTranslation(requestParameters, options) {
52145
+ return EventsPasstypesPriceschedulesTranslationsApiFp(this.configuration).updateEventPassTypePriceScheduleTranslation(requestParameters.eventId, requestParameters.passTypeId, requestParameters.scheduleId, requestParameters.locale, requestParameters.passTypePriceScheduleTranslationUpdateInputs, options).then((request) => request(this.axios, this.basePath));
52146
+ }
52147
+ }
50956
52148
  /**
50957
52149
  * EventsPasstypesRefundschedulesApi - axios parameter creator
50958
52150
  */
@@ -79154,7 +80346,7 @@ export class GroupsEventsApi extends BaseAPI {
79154
80346
  export const GroupsInterestsApiAxiosParamCreator = function (configuration) {
79155
80347
  return {
79156
80348
  /**
79157
- * Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list is invalidated.
80349
+ * Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
79158
80350
  * @summary Add an interest to a group
79159
80351
  * @param {string} groupId The group identifier
79160
80352
  * @param {string} interestId The interest identifier
@@ -79242,7 +80434,7 @@ export const GroupsInterestsApiAxiosParamCreator = function (configuration) {
79242
80434
  };
79243
80435
  }),
79244
80436
  /**
79245
- * Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list is invalidated.
80437
+ * Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
79246
80438
  * @summary Remove an interest from a group
79247
80439
  * @param {string} groupId The group identifier
79248
80440
  * @param {string} accountId The account identifier
@@ -79288,7 +80480,7 @@ export const GroupsInterestsApiFp = function (configuration) {
79288
80480
  const localVarAxiosParamCreator = GroupsInterestsApiAxiosParamCreator(configuration);
79289
80481
  return {
79290
80482
  /**
79291
- * Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list is invalidated.
80483
+ * Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
79292
80484
  * @summary Add an interest to a group
79293
80485
  * @param {string} groupId The group identifier
79294
80486
  * @param {string} interestId The interest identifier
@@ -79325,7 +80517,7 @@ export const GroupsInterestsApiFp = function (configuration) {
79325
80517
  });
79326
80518
  },
79327
80519
  /**
79328
- * Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list is invalidated.
80520
+ * Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
79329
80521
  * @summary Remove an interest from a group
79330
80522
  * @param {string} groupId The group identifier
79331
80523
  * @param {string} accountId The account identifier
@@ -79350,7 +80542,7 @@ export const GroupsInterestsApiFactory = function (configuration, basePath, axio
79350
80542
  const localVarFp = GroupsInterestsApiFp(configuration);
79351
80543
  return {
79352
80544
  /**
79353
- * Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list is invalidated.
80545
+ * Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
79354
80546
  * @summary Add an interest to a group
79355
80547
  * @param {GroupsInterestsApiAddGroupInterestRequest} requestParameters Request parameters.
79356
80548
  * @param {*} [options] Override http request option.
@@ -79370,7 +80562,7 @@ export const GroupsInterestsApiFactory = function (configuration, basePath, axio
79370
80562
  return localVarFp.getGroupInterests(requestParameters.groupId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
79371
80563
  },
79372
80564
  /**
79373
- * Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list is invalidated.
80565
+ * Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
79374
80566
  * @summary Remove an interest from a group
79375
80567
  * @param {GroupsInterestsApiRemoveGroupInterestRequest} requestParameters Request parameters.
79376
80568
  * @param {*} [options] Override http request option.
@@ -79386,7 +80578,7 @@ export const GroupsInterestsApiFactory = function (configuration, basePath, axio
79386
80578
  */
79387
80579
  export class GroupsInterestsApi extends BaseAPI {
79388
80580
  /**
79389
- * Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list is invalidated.
80581
+ * Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
79390
80582
  * @summary Add an interest to a group
79391
80583
  * @param {GroupsInterestsApiAddGroupInterestRequest} requestParameters Request parameters.
79392
80584
  * @param {*} [options] Override http request option.
@@ -79406,7 +80598,7 @@ export class GroupsInterestsApi extends BaseAPI {
79406
80598
  return GroupsInterestsApiFp(this.configuration).getGroupInterests(requestParameters.groupId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
79407
80599
  }
79408
80600
  /**
79409
- * Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list is invalidated.
80601
+ * Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
79410
80602
  * @summary Remove an interest from a group
79411
80603
  * @param {GroupsInterestsApiRemoveGroupInterestRequest} requestParameters Request parameters.
79412
80604
  * @param {*} [options] Override http request option.