@connectedxm/admin-sdk 16.8.1 → 16.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Connected Admin API
6
6
  * The Admin API allows you to manage your Connected community programmatically.
7
7
  *
8
- * The version of the OpenAPI document: 16.8.1
8
+ * The version of the OpenAPI document: 16.9.1
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -43228,6 +43228,90 @@ const EventsPagesApiAxiosParamCreator = function (configuration) {
43228
43228
  options: localVarRequestOptions,
43229
43229
  };
43230
43230
  }),
43231
+ /**
43232
+ * Grants a specific pass type access to an event page, restricting who can view it, and requires read and update permission on events.
43233
+ * @summary Restrict an event page to a pass type
43234
+ * @param {string} eventId The event identifier
43235
+ * @param {string} pageId The page identifier
43236
+ * @param {string} passTypeId The passType identifier
43237
+ * @param {*} [options] Override http request option.
43238
+ * @throws {RequiredError}
43239
+ */
43240
+ addEventPagePassType: (eventId_1, pageId_1, passTypeId_1, ...args_1) => __awaiter(this, [eventId_1, pageId_1, passTypeId_1, ...args_1], void 0, function* (eventId, pageId, passTypeId, options = {}) {
43241
+ // verify required parameter 'eventId' is not null or undefined
43242
+ (0, common_1.assertParamExists)('addEventPagePassType', 'eventId', eventId);
43243
+ // verify required parameter 'pageId' is not null or undefined
43244
+ (0, common_1.assertParamExists)('addEventPagePassType', 'pageId', pageId);
43245
+ // verify required parameter 'passTypeId' is not null or undefined
43246
+ (0, common_1.assertParamExists)('addEventPagePassType', 'passTypeId', passTypeId);
43247
+ const localVarPath = `/events/{eventId}/pages/{pageId}/passTypes/{passTypeId}`
43248
+ .replace('{eventId}', encodeURIComponent(String(eventId)))
43249
+ .replace('{pageId}', encodeURIComponent(String(pageId)))
43250
+ .replace('{passTypeId}', encodeURIComponent(String(passTypeId)));
43251
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
43252
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
43253
+ let baseOptions;
43254
+ if (configuration) {
43255
+ baseOptions = configuration.baseOptions;
43256
+ }
43257
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
43258
+ const localVarHeaderParameter = {};
43259
+ const localVarQueryParameter = {};
43260
+ // authentication ApiKeyAuth required
43261
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
43262
+ // authentication OrganizationId required
43263
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
43264
+ localVarHeaderParameter['Accept'] = 'application/json';
43265
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
43266
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
43267
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
43268
+ return {
43269
+ url: (0, common_1.toPathString)(localVarUrlObj),
43270
+ options: localVarRequestOptions,
43271
+ };
43272
+ }),
43273
+ /**
43274
+ * Grants a specific account tier (tier/segment) access to an event page, restricting who can view it, and requires read and update permission on events.
43275
+ * @summary Restrict an event page to a tier
43276
+ * @param {string} eventId The event identifier
43277
+ * @param {string} pageId The page identifier
43278
+ * @param {string} tierId The tier identifier
43279
+ * @param {*} [options] Override http request option.
43280
+ * @throws {RequiredError}
43281
+ */
43282
+ addEventPageTier: (eventId_1, pageId_1, tierId_1, ...args_1) => __awaiter(this, [eventId_1, pageId_1, tierId_1, ...args_1], void 0, function* (eventId, pageId, tierId, options = {}) {
43283
+ // verify required parameter 'eventId' is not null or undefined
43284
+ (0, common_1.assertParamExists)('addEventPageTier', 'eventId', eventId);
43285
+ // verify required parameter 'pageId' is not null or undefined
43286
+ (0, common_1.assertParamExists)('addEventPageTier', 'pageId', pageId);
43287
+ // verify required parameter 'tierId' is not null or undefined
43288
+ (0, common_1.assertParamExists)('addEventPageTier', 'tierId', tierId);
43289
+ const localVarPath = `/events/{eventId}/pages/{pageId}/tiers/{tierId}`
43290
+ .replace('{eventId}', encodeURIComponent(String(eventId)))
43291
+ .replace('{pageId}', encodeURIComponent(String(pageId)))
43292
+ .replace('{tierId}', encodeURIComponent(String(tierId)));
43293
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
43294
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
43295
+ let baseOptions;
43296
+ if (configuration) {
43297
+ baseOptions = configuration.baseOptions;
43298
+ }
43299
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
43300
+ const localVarHeaderParameter = {};
43301
+ const localVarQueryParameter = {};
43302
+ // authentication ApiKeyAuth required
43303
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
43304
+ // authentication OrganizationId required
43305
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
43306
+ localVarHeaderParameter['Accept'] = 'application/json';
43307
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
43308
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
43309
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
43310
+ return {
43311
+ url: (0, common_1.toPathString)(localVarUrlObj),
43312
+ options: localVarRequestOptions,
43313
+ };
43314
+ }),
43231
43315
  /**
43232
43316
  * Creates a new custom content page for an event, assigning it a slug and sort order, and requires create permission on events.
43233
43317
  * @summary Create an event page
@@ -43397,6 +43481,114 @@ const EventsPagesApiAxiosParamCreator = function (configuration) {
43397
43481
  options: localVarRequestOptions,
43398
43482
  };
43399
43483
  }),
43484
+ /**
43485
+ * Returns a paginated list of the event\'s pass types (ticket types) that are associated with a given event page, supporting search and ordering; requires read access to events.
43486
+ * @summary List pass types linked to an event page
43487
+ * @param {string} eventId The event identifier
43488
+ * @param {string} pageId The page identifier
43489
+ * @param {number} [page] Page number
43490
+ * @param {number} [pageSize] Number of items per page
43491
+ * @param {string} [orderBy] Field to order by
43492
+ * @param {string} [search] Search query
43493
+ * @param {*} [options] Override http request option.
43494
+ * @throws {RequiredError}
43495
+ */
43496
+ getEventPagePassTypes: (eventId_1, pageId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, pageId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, pageId, page, pageSize, orderBy, search, options = {}) {
43497
+ // verify required parameter 'eventId' is not null or undefined
43498
+ (0, common_1.assertParamExists)('getEventPagePassTypes', 'eventId', eventId);
43499
+ // verify required parameter 'pageId' is not null or undefined
43500
+ (0, common_1.assertParamExists)('getEventPagePassTypes', 'pageId', pageId);
43501
+ const localVarPath = `/events/{eventId}/pages/{pageId}/passTypes`
43502
+ .replace('{eventId}', encodeURIComponent(String(eventId)))
43503
+ .replace('{pageId}', encodeURIComponent(String(pageId)));
43504
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
43505
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
43506
+ let baseOptions;
43507
+ if (configuration) {
43508
+ baseOptions = configuration.baseOptions;
43509
+ }
43510
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
43511
+ const localVarHeaderParameter = {};
43512
+ const localVarQueryParameter = {};
43513
+ // authentication ApiKeyAuth required
43514
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
43515
+ // authentication OrganizationId required
43516
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
43517
+ if (page !== undefined) {
43518
+ localVarQueryParameter['page'] = page;
43519
+ }
43520
+ if (pageSize !== undefined) {
43521
+ localVarQueryParameter['pageSize'] = pageSize;
43522
+ }
43523
+ if (orderBy !== undefined) {
43524
+ localVarQueryParameter['orderBy'] = orderBy;
43525
+ }
43526
+ if (search !== undefined) {
43527
+ localVarQueryParameter['search'] = search;
43528
+ }
43529
+ localVarHeaderParameter['Accept'] = 'application/json';
43530
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
43531
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
43532
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
43533
+ return {
43534
+ url: (0, common_1.toPathString)(localVarUrlObj),
43535
+ options: localVarRequestOptions,
43536
+ };
43537
+ }),
43538
+ /**
43539
+ * Returns a paginated list of the event\'s account tiers (tiers/segments) that are associated with a given event page, supporting search and ordering; requires read access to events.
43540
+ * @summary List tiers linked to an event page
43541
+ * @param {string} eventId The event identifier
43542
+ * @param {string} pageId The page identifier
43543
+ * @param {number} [page] Page number
43544
+ * @param {number} [pageSize] Number of items per page
43545
+ * @param {string} [orderBy] Field to order by
43546
+ * @param {string} [search] Search query
43547
+ * @param {*} [options] Override http request option.
43548
+ * @throws {RequiredError}
43549
+ */
43550
+ getEventPageTiers: (eventId_1, pageId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, pageId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, pageId, page, pageSize, orderBy, search, options = {}) {
43551
+ // verify required parameter 'eventId' is not null or undefined
43552
+ (0, common_1.assertParamExists)('getEventPageTiers', 'eventId', eventId);
43553
+ // verify required parameter 'pageId' is not null or undefined
43554
+ (0, common_1.assertParamExists)('getEventPageTiers', 'pageId', pageId);
43555
+ const localVarPath = `/events/{eventId}/pages/{pageId}/tiers`
43556
+ .replace('{eventId}', encodeURIComponent(String(eventId)))
43557
+ .replace('{pageId}', encodeURIComponent(String(pageId)));
43558
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
43559
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
43560
+ let baseOptions;
43561
+ if (configuration) {
43562
+ baseOptions = configuration.baseOptions;
43563
+ }
43564
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
43565
+ const localVarHeaderParameter = {};
43566
+ const localVarQueryParameter = {};
43567
+ // authentication ApiKeyAuth required
43568
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
43569
+ // authentication OrganizationId required
43570
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
43571
+ if (page !== undefined) {
43572
+ localVarQueryParameter['page'] = page;
43573
+ }
43574
+ if (pageSize !== undefined) {
43575
+ localVarQueryParameter['pageSize'] = pageSize;
43576
+ }
43577
+ if (orderBy !== undefined) {
43578
+ localVarQueryParameter['orderBy'] = orderBy;
43579
+ }
43580
+ if (search !== undefined) {
43581
+ localVarQueryParameter['search'] = search;
43582
+ }
43583
+ localVarHeaderParameter['Accept'] = 'application/json';
43584
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
43585
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
43586
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
43587
+ return {
43588
+ url: (0, common_1.toPathString)(localVarUrlObj),
43589
+ options: localVarRequestOptions,
43590
+ };
43591
+ }),
43400
43592
  /**
43401
43593
  * Returns a paginated list of custom pages belonging to the specified event, supporting search and sorting; requires the \"read\" permission on the \"events\" module.
43402
43594
  * @summary List an event\'s pages
@@ -43489,6 +43681,90 @@ const EventsPagesApiAxiosParamCreator = function (configuration) {
43489
43681
  options: localVarRequestOptions,
43490
43682
  };
43491
43683
  }),
43684
+ /**
43685
+ * Revokes a pass type\'s access to an event page, and requires read and update permission on events.
43686
+ * @summary Remove a pass type restriction from an event page
43687
+ * @param {string} eventId The event identifier
43688
+ * @param {string} pageId The page identifier
43689
+ * @param {string} passTypeId The passType identifier
43690
+ * @param {*} [options] Override http request option.
43691
+ * @throws {RequiredError}
43692
+ */
43693
+ removeEventPagePassType: (eventId_1, pageId_1, passTypeId_1, ...args_1) => __awaiter(this, [eventId_1, pageId_1, passTypeId_1, ...args_1], void 0, function* (eventId, pageId, passTypeId, options = {}) {
43694
+ // verify required parameter 'eventId' is not null or undefined
43695
+ (0, common_1.assertParamExists)('removeEventPagePassType', 'eventId', eventId);
43696
+ // verify required parameter 'pageId' is not null or undefined
43697
+ (0, common_1.assertParamExists)('removeEventPagePassType', 'pageId', pageId);
43698
+ // verify required parameter 'passTypeId' is not null or undefined
43699
+ (0, common_1.assertParamExists)('removeEventPagePassType', 'passTypeId', passTypeId);
43700
+ const localVarPath = `/events/{eventId}/pages/{pageId}/passTypes/{passTypeId}`
43701
+ .replace('{eventId}', encodeURIComponent(String(eventId)))
43702
+ .replace('{pageId}', encodeURIComponent(String(pageId)))
43703
+ .replace('{passTypeId}', encodeURIComponent(String(passTypeId)));
43704
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
43705
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
43706
+ let baseOptions;
43707
+ if (configuration) {
43708
+ baseOptions = configuration.baseOptions;
43709
+ }
43710
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
43711
+ const localVarHeaderParameter = {};
43712
+ const localVarQueryParameter = {};
43713
+ // authentication ApiKeyAuth required
43714
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
43715
+ // authentication OrganizationId required
43716
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
43717
+ localVarHeaderParameter['Accept'] = 'application/json';
43718
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
43719
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
43720
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
43721
+ return {
43722
+ url: (0, common_1.toPathString)(localVarUrlObj),
43723
+ options: localVarRequestOptions,
43724
+ };
43725
+ }),
43726
+ /**
43727
+ * Revokes an account tier\'s (tier/segment) access to an event page, and requires read and update permission on events.
43728
+ * @summary Remove a tier restriction from an event page
43729
+ * @param {string} eventId The event identifier
43730
+ * @param {string} pageId The page identifier
43731
+ * @param {string} tierId The tier identifier
43732
+ * @param {*} [options] Override http request option.
43733
+ * @throws {RequiredError}
43734
+ */
43735
+ removeEventPageTier: (eventId_1, pageId_1, tierId_1, ...args_1) => __awaiter(this, [eventId_1, pageId_1, tierId_1, ...args_1], void 0, function* (eventId, pageId, tierId, options = {}) {
43736
+ // verify required parameter 'eventId' is not null or undefined
43737
+ (0, common_1.assertParamExists)('removeEventPageTier', 'eventId', eventId);
43738
+ // verify required parameter 'pageId' is not null or undefined
43739
+ (0, common_1.assertParamExists)('removeEventPageTier', 'pageId', pageId);
43740
+ // verify required parameter 'tierId' is not null or undefined
43741
+ (0, common_1.assertParamExists)('removeEventPageTier', 'tierId', tierId);
43742
+ const localVarPath = `/events/{eventId}/pages/{pageId}/tiers/{tierId}`
43743
+ .replace('{eventId}', encodeURIComponent(String(eventId)))
43744
+ .replace('{pageId}', encodeURIComponent(String(pageId)))
43745
+ .replace('{tierId}', encodeURIComponent(String(tierId)));
43746
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
43747
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
43748
+ let baseOptions;
43749
+ if (configuration) {
43750
+ baseOptions = configuration.baseOptions;
43751
+ }
43752
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
43753
+ const localVarHeaderParameter = {};
43754
+ const localVarQueryParameter = {};
43755
+ // authentication ApiKeyAuth required
43756
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
43757
+ // authentication OrganizationId required
43758
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
43759
+ localVarHeaderParameter['Accept'] = 'application/json';
43760
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
43761
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
43762
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
43763
+ return {
43764
+ url: (0, common_1.toPathString)(localVarUrlObj),
43765
+ options: localVarRequestOptions,
43766
+ };
43767
+ }),
43492
43768
  /**
43493
43769
  * Updates the content, title, or sort order of an existing custom event page, re-sequencing other pages when the sort order changes, and requires update permission on events.
43494
43770
  * @summary Update an event page
@@ -43559,6 +43835,42 @@ const EventsPagesApiFp = function (configuration) {
43559
43835
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
43560
43836
  });
43561
43837
  },
43838
+ /**
43839
+ * Grants a specific pass type access to an event page, restricting who can view it, and requires read and update permission on events.
43840
+ * @summary Restrict an event page to a pass type
43841
+ * @param {string} eventId The event identifier
43842
+ * @param {string} pageId The page identifier
43843
+ * @param {string} passTypeId The passType identifier
43844
+ * @param {*} [options] Override http request option.
43845
+ * @throws {RequiredError}
43846
+ */
43847
+ addEventPagePassType(eventId, pageId, passTypeId, options) {
43848
+ return __awaiter(this, void 0, void 0, function* () {
43849
+ var _a, _b, _c;
43850
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addEventPagePassType(eventId, pageId, passTypeId, options);
43851
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
43852
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsPagesApi.addEventPagePassType']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
43853
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
43854
+ });
43855
+ },
43856
+ /**
43857
+ * Grants a specific account tier (tier/segment) access to an event page, restricting who can view it, and requires read and update permission on events.
43858
+ * @summary Restrict an event page to a tier
43859
+ * @param {string} eventId The event identifier
43860
+ * @param {string} pageId The page identifier
43861
+ * @param {string} tierId The tier identifier
43862
+ * @param {*} [options] Override http request option.
43863
+ * @throws {RequiredError}
43864
+ */
43865
+ addEventPageTier(eventId, pageId, tierId, options) {
43866
+ return __awaiter(this, void 0, void 0, function* () {
43867
+ var _a, _b, _c;
43868
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addEventPageTier(eventId, pageId, tierId, options);
43869
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
43870
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsPagesApi.addEventPageTier']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
43871
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
43872
+ });
43873
+ },
43562
43874
  /**
43563
43875
  * Creates a new custom content page for an event, assigning it a slug and sort order, and requires create permission on events.
43564
43876
  * @summary Create an event page
@@ -43631,6 +43943,48 @@ const EventsPagesApiFp = function (configuration) {
43631
43943
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
43632
43944
  });
43633
43945
  },
43946
+ /**
43947
+ * Returns a paginated list of the event\'s pass types (ticket types) that are associated with a given event page, supporting search and ordering; requires read access to events.
43948
+ * @summary List pass types linked to an event page
43949
+ * @param {string} eventId The event identifier
43950
+ * @param {string} pageId The page identifier
43951
+ * @param {number} [page] Page number
43952
+ * @param {number} [pageSize] Number of items per page
43953
+ * @param {string} [orderBy] Field to order by
43954
+ * @param {string} [search] Search query
43955
+ * @param {*} [options] Override http request option.
43956
+ * @throws {RequiredError}
43957
+ */
43958
+ getEventPagePassTypes(eventId, pageId, page, pageSize, orderBy, search, options) {
43959
+ return __awaiter(this, void 0, void 0, function* () {
43960
+ var _a, _b, _c;
43961
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventPagePassTypes(eventId, pageId, page, pageSize, orderBy, search, options);
43962
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
43963
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsPagesApi.getEventPagePassTypes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
43964
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
43965
+ });
43966
+ },
43967
+ /**
43968
+ * Returns a paginated list of the event\'s account tiers (tiers/segments) that are associated with a given event page, supporting search and ordering; requires read access to events.
43969
+ * @summary List tiers linked to an event page
43970
+ * @param {string} eventId The event identifier
43971
+ * @param {string} pageId The page identifier
43972
+ * @param {number} [page] Page number
43973
+ * @param {number} [pageSize] Number of items per page
43974
+ * @param {string} [orderBy] Field to order by
43975
+ * @param {string} [search] Search query
43976
+ * @param {*} [options] Override http request option.
43977
+ * @throws {RequiredError}
43978
+ */
43979
+ getEventPageTiers(eventId, pageId, page, pageSize, orderBy, search, options) {
43980
+ return __awaiter(this, void 0, void 0, function* () {
43981
+ var _a, _b, _c;
43982
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventPageTiers(eventId, pageId, page, pageSize, orderBy, search, options);
43983
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
43984
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsPagesApi.getEventPageTiers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
43985
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
43986
+ });
43987
+ },
43634
43988
  /**
43635
43989
  * Returns a paginated list of custom pages belonging to the specified event, supporting search and sorting; requires the \"read\" permission on the \"events\" module.
43636
43990
  * @summary List an event\'s pages
@@ -43669,6 +44023,42 @@ const EventsPagesApiFp = function (configuration) {
43669
44023
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
43670
44024
  });
43671
44025
  },
44026
+ /**
44027
+ * Revokes a pass type\'s access to an event page, and requires read and update permission on events.
44028
+ * @summary Remove a pass type restriction from an event page
44029
+ * @param {string} eventId The event identifier
44030
+ * @param {string} pageId The page identifier
44031
+ * @param {string} passTypeId The passType identifier
44032
+ * @param {*} [options] Override http request option.
44033
+ * @throws {RequiredError}
44034
+ */
44035
+ removeEventPagePassType(eventId, pageId, passTypeId, options) {
44036
+ return __awaiter(this, void 0, void 0, function* () {
44037
+ var _a, _b, _c;
44038
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.removeEventPagePassType(eventId, pageId, passTypeId, options);
44039
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
44040
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsPagesApi.removeEventPagePassType']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
44041
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
44042
+ });
44043
+ },
44044
+ /**
44045
+ * Revokes an account tier\'s (tier/segment) access to an event page, and requires read and update permission on events.
44046
+ * @summary Remove a tier restriction from an event page
44047
+ * @param {string} eventId The event identifier
44048
+ * @param {string} pageId The page identifier
44049
+ * @param {string} tierId The tier identifier
44050
+ * @param {*} [options] Override http request option.
44051
+ * @throws {RequiredError}
44052
+ */
44053
+ removeEventPageTier(eventId, pageId, tierId, options) {
44054
+ return __awaiter(this, void 0, void 0, function* () {
44055
+ var _a, _b, _c;
44056
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.removeEventPageTier(eventId, pageId, tierId, options);
44057
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
44058
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsPagesApi.removeEventPageTier']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
44059
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
44060
+ });
44061
+ },
43672
44062
  /**
43673
44063
  * Updates the content, title, or sort order of an existing custom event page, re-sequencing other pages when the sort order changes, and requires update permission on events.
43674
44064
  * @summary Update an event page
@@ -43706,6 +44096,26 @@ const EventsPagesApiFactory = function (configuration, basePath, axios) {
43706
44096
  addEventPageImage(requestParameters, options) {
43707
44097
  return localVarFp.addEventPageImage(requestParameters.eventId, requestParameters.pageId, requestParameters.imageId, options).then((request) => request(axios, basePath));
43708
44098
  },
44099
+ /**
44100
+ * Grants a specific pass type access to an event page, restricting who can view it, and requires read and update permission on events.
44101
+ * @summary Restrict an event page to a pass type
44102
+ * @param {EventsPagesApiAddEventPagePassTypeRequest} requestParameters Request parameters.
44103
+ * @param {*} [options] Override http request option.
44104
+ * @throws {RequiredError}
44105
+ */
44106
+ addEventPagePassType(requestParameters, options) {
44107
+ return localVarFp.addEventPagePassType(requestParameters.eventId, requestParameters.pageId, requestParameters.passTypeId, options).then((request) => request(axios, basePath));
44108
+ },
44109
+ /**
44110
+ * Grants a specific account tier (tier/segment) access to an event page, restricting who can view it, and requires read and update permission on events.
44111
+ * @summary Restrict an event page to a tier
44112
+ * @param {EventsPagesApiAddEventPageTierRequest} requestParameters Request parameters.
44113
+ * @param {*} [options] Override http request option.
44114
+ * @throws {RequiredError}
44115
+ */
44116
+ addEventPageTier(requestParameters, options) {
44117
+ return localVarFp.addEventPageTier(requestParameters.eventId, requestParameters.pageId, requestParameters.tierId, options).then((request) => request(axios, basePath));
44118
+ },
43709
44119
  /**
43710
44120
  * Creates a new custom content page for an event, assigning it a slug and sort order, and requires create permission on events.
43711
44121
  * @summary Create an event page
@@ -43746,6 +44156,26 @@ const EventsPagesApiFactory = function (configuration, basePath, axios) {
43746
44156
  getEventPageImages(requestParameters, options) {
43747
44157
  return localVarFp.getEventPageImages(requestParameters.eventId, requestParameters.pageId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
43748
44158
  },
44159
+ /**
44160
+ * Returns a paginated list of the event\'s pass types (ticket types) that are associated with a given event page, supporting search and ordering; requires read access to events.
44161
+ * @summary List pass types linked to an event page
44162
+ * @param {EventsPagesApiGetEventPagePassTypesRequest} requestParameters Request parameters.
44163
+ * @param {*} [options] Override http request option.
44164
+ * @throws {RequiredError}
44165
+ */
44166
+ getEventPagePassTypes(requestParameters, options) {
44167
+ return localVarFp.getEventPagePassTypes(requestParameters.eventId, requestParameters.pageId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
44168
+ },
44169
+ /**
44170
+ * Returns a paginated list of the event\'s account tiers (tiers/segments) that are associated with a given event page, supporting search and ordering; requires read access to events.
44171
+ * @summary List tiers linked to an event page
44172
+ * @param {EventsPagesApiGetEventPageTiersRequest} requestParameters Request parameters.
44173
+ * @param {*} [options] Override http request option.
44174
+ * @throws {RequiredError}
44175
+ */
44176
+ getEventPageTiers(requestParameters, options) {
44177
+ return localVarFp.getEventPageTiers(requestParameters.eventId, requestParameters.pageId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
44178
+ },
43749
44179
  /**
43750
44180
  * Returns a paginated list of custom pages belonging to the specified event, supporting search and sorting; requires the \"read\" permission on the \"events\" module.
43751
44181
  * @summary List an event\'s pages
@@ -43766,6 +44196,26 @@ const EventsPagesApiFactory = function (configuration, basePath, axios) {
43766
44196
  removeEventPageImage(requestParameters, options) {
43767
44197
  return localVarFp.removeEventPageImage(requestParameters.eventId, requestParameters.pageId, requestParameters.imageId, options).then((request) => request(axios, basePath));
43768
44198
  },
44199
+ /**
44200
+ * Revokes a pass type\'s access to an event page, and requires read and update permission on events.
44201
+ * @summary Remove a pass type restriction from an event page
44202
+ * @param {EventsPagesApiRemoveEventPagePassTypeRequest} requestParameters Request parameters.
44203
+ * @param {*} [options] Override http request option.
44204
+ * @throws {RequiredError}
44205
+ */
44206
+ removeEventPagePassType(requestParameters, options) {
44207
+ return localVarFp.removeEventPagePassType(requestParameters.eventId, requestParameters.pageId, requestParameters.passTypeId, options).then((request) => request(axios, basePath));
44208
+ },
44209
+ /**
44210
+ * Revokes an account tier\'s (tier/segment) access to an event page, and requires read and update permission on events.
44211
+ * @summary Remove a tier restriction from an event page
44212
+ * @param {EventsPagesApiRemoveEventPageTierRequest} requestParameters Request parameters.
44213
+ * @param {*} [options] Override http request option.
44214
+ * @throws {RequiredError}
44215
+ */
44216
+ removeEventPageTier(requestParameters, options) {
44217
+ return localVarFp.removeEventPageTier(requestParameters.eventId, requestParameters.pageId, requestParameters.tierId, options).then((request) => request(axios, basePath));
44218
+ },
43769
44219
  /**
43770
44220
  * Updates the content, title, or sort order of an existing custom event page, re-sequencing other pages when the sort order changes, and requires update permission on events.
43771
44221
  * @summary Update an event page
@@ -43793,6 +44243,26 @@ class EventsPagesApi extends base_1.BaseAPI {
43793
44243
  addEventPageImage(requestParameters, options) {
43794
44244
  return (0, exports.EventsPagesApiFp)(this.configuration).addEventPageImage(requestParameters.eventId, requestParameters.pageId, requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
43795
44245
  }
44246
+ /**
44247
+ * Grants a specific pass type access to an event page, restricting who can view it, and requires read and update permission on events.
44248
+ * @summary Restrict an event page to a pass type
44249
+ * @param {EventsPagesApiAddEventPagePassTypeRequest} requestParameters Request parameters.
44250
+ * @param {*} [options] Override http request option.
44251
+ * @throws {RequiredError}
44252
+ */
44253
+ addEventPagePassType(requestParameters, options) {
44254
+ return (0, exports.EventsPagesApiFp)(this.configuration).addEventPagePassType(requestParameters.eventId, requestParameters.pageId, requestParameters.passTypeId, options).then((request) => request(this.axios, this.basePath));
44255
+ }
44256
+ /**
44257
+ * Grants a specific account tier (tier/segment) access to an event page, restricting who can view it, and requires read and update permission on events.
44258
+ * @summary Restrict an event page to a tier
44259
+ * @param {EventsPagesApiAddEventPageTierRequest} requestParameters Request parameters.
44260
+ * @param {*} [options] Override http request option.
44261
+ * @throws {RequiredError}
44262
+ */
44263
+ addEventPageTier(requestParameters, options) {
44264
+ return (0, exports.EventsPagesApiFp)(this.configuration).addEventPageTier(requestParameters.eventId, requestParameters.pageId, requestParameters.tierId, options).then((request) => request(this.axios, this.basePath));
44265
+ }
43796
44266
  /**
43797
44267
  * Creates a new custom content page for an event, assigning it a slug and sort order, and requires create permission on events.
43798
44268
  * @summary Create an event page
@@ -43833,6 +44303,26 @@ class EventsPagesApi extends base_1.BaseAPI {
43833
44303
  getEventPageImages(requestParameters, options) {
43834
44304
  return (0, exports.EventsPagesApiFp)(this.configuration).getEventPageImages(requestParameters.eventId, requestParameters.pageId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
43835
44305
  }
44306
+ /**
44307
+ * Returns a paginated list of the event\'s pass types (ticket types) that are associated with a given event page, supporting search and ordering; requires read access to events.
44308
+ * @summary List pass types linked to an event page
44309
+ * @param {EventsPagesApiGetEventPagePassTypesRequest} requestParameters Request parameters.
44310
+ * @param {*} [options] Override http request option.
44311
+ * @throws {RequiredError}
44312
+ */
44313
+ getEventPagePassTypes(requestParameters, options) {
44314
+ return (0, exports.EventsPagesApiFp)(this.configuration).getEventPagePassTypes(requestParameters.eventId, requestParameters.pageId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
44315
+ }
44316
+ /**
44317
+ * Returns a paginated list of the event\'s account tiers (tiers/segments) that are associated with a given event page, supporting search and ordering; requires read access to events.
44318
+ * @summary List tiers linked to an event page
44319
+ * @param {EventsPagesApiGetEventPageTiersRequest} requestParameters Request parameters.
44320
+ * @param {*} [options] Override http request option.
44321
+ * @throws {RequiredError}
44322
+ */
44323
+ getEventPageTiers(requestParameters, options) {
44324
+ return (0, exports.EventsPagesApiFp)(this.configuration).getEventPageTiers(requestParameters.eventId, requestParameters.pageId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
44325
+ }
43836
44326
  /**
43837
44327
  * Returns a paginated list of custom pages belonging to the specified event, supporting search and sorting; requires the \"read\" permission on the \"events\" module.
43838
44328
  * @summary List an event\'s pages
@@ -43853,6 +44343,26 @@ class EventsPagesApi extends base_1.BaseAPI {
43853
44343
  removeEventPageImage(requestParameters, options) {
43854
44344
  return (0, exports.EventsPagesApiFp)(this.configuration).removeEventPageImage(requestParameters.eventId, requestParameters.pageId, requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
43855
44345
  }
44346
+ /**
44347
+ * Revokes a pass type\'s access to an event page, and requires read and update permission on events.
44348
+ * @summary Remove a pass type restriction from an event page
44349
+ * @param {EventsPagesApiRemoveEventPagePassTypeRequest} requestParameters Request parameters.
44350
+ * @param {*} [options] Override http request option.
44351
+ * @throws {RequiredError}
44352
+ */
44353
+ removeEventPagePassType(requestParameters, options) {
44354
+ return (0, exports.EventsPagesApiFp)(this.configuration).removeEventPagePassType(requestParameters.eventId, requestParameters.pageId, requestParameters.passTypeId, options).then((request) => request(this.axios, this.basePath));
44355
+ }
44356
+ /**
44357
+ * Revokes an account tier\'s (tier/segment) access to an event page, and requires read and update permission on events.
44358
+ * @summary Remove a tier restriction from an event page
44359
+ * @param {EventsPagesApiRemoveEventPageTierRequest} requestParameters Request parameters.
44360
+ * @param {*} [options] Override http request option.
44361
+ * @throws {RequiredError}
44362
+ */
44363
+ removeEventPageTier(requestParameters, options) {
44364
+ return (0, exports.EventsPagesApiFp)(this.configuration).removeEventPageTier(requestParameters.eventId, requestParameters.pageId, requestParameters.tierId, options).then((request) => request(this.axios, this.basePath));
44365
+ }
43856
44366
  /**
43857
44367
  * Updates the content, title, or sort order of an existing custom event page, re-sequencing other pages when the sort order changes, and requires update permission on events.
43858
44368
  * @summary Update an event page
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Connected Admin API
3
3
  * The Admin API allows you to manage your Connected community programmatically.
4
4
  *
5
- * The version of the OpenAPI document: 16.8.1
5
+ * The version of the OpenAPI document: 16.9.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Connected Admin API
6
6
  * The Admin API allows you to manage your Connected community programmatically.
7
7
  *
8
- * The version of the OpenAPI document: 16.8.1
8
+ * The version of the OpenAPI document: 16.9.1
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Connected Admin API
3
3
  * The Admin API allows you to manage your Connected community programmatically.
4
4
  *
5
- * The version of the OpenAPI document: 16.8.1
5
+ * The version of the OpenAPI document: 16.9.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * Connected Admin API
6
6
  * The Admin API allows you to manage your Connected community programmatically.
7
7
  *
8
- * The version of the OpenAPI document: 16.8.1
8
+ * The version of the OpenAPI document: 16.9.1
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).