@connectedxm/admin-sdk 16.8.1 → 16.9.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.8.1
7
+ * The version of the OpenAPI document: 16.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -42919,6 +42919,90 @@ export const EventsPagesApiAxiosParamCreator = function (configuration) {
42919
42919
  options: localVarRequestOptions,
42920
42920
  };
42921
42921
  }),
42922
+ /**
42923
+ * Grants a specific pass type access to an event page, restricting who can view it, and requires read and update permission on events.
42924
+ * @summary Restrict an event page to a pass type
42925
+ * @param {string} eventId The event identifier
42926
+ * @param {string} pageId The page identifier
42927
+ * @param {string} passTypeId The passType identifier
42928
+ * @param {*} [options] Override http request option.
42929
+ * @throws {RequiredError}
42930
+ */
42931
+ 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 = {}) {
42932
+ // verify required parameter 'eventId' is not null or undefined
42933
+ assertParamExists('addEventPagePassType', 'eventId', eventId);
42934
+ // verify required parameter 'pageId' is not null or undefined
42935
+ assertParamExists('addEventPagePassType', 'pageId', pageId);
42936
+ // verify required parameter 'passTypeId' is not null or undefined
42937
+ assertParamExists('addEventPagePassType', 'passTypeId', passTypeId);
42938
+ const localVarPath = `/events/{eventId}/pages/{pageId}/passTypes/{passTypeId}`
42939
+ .replace('{eventId}', encodeURIComponent(String(eventId)))
42940
+ .replace('{pageId}', encodeURIComponent(String(pageId)))
42941
+ .replace('{passTypeId}', encodeURIComponent(String(passTypeId)));
42942
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
42943
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
42944
+ let baseOptions;
42945
+ if (configuration) {
42946
+ baseOptions = configuration.baseOptions;
42947
+ }
42948
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
42949
+ const localVarHeaderParameter = {};
42950
+ const localVarQueryParameter = {};
42951
+ // authentication ApiKeyAuth required
42952
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
42953
+ // authentication OrganizationId required
42954
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
42955
+ localVarHeaderParameter['Accept'] = 'application/json';
42956
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
42957
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
42958
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
42959
+ return {
42960
+ url: toPathString(localVarUrlObj),
42961
+ options: localVarRequestOptions,
42962
+ };
42963
+ }),
42964
+ /**
42965
+ * 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.
42966
+ * @summary Restrict an event page to a tier
42967
+ * @param {string} eventId The event identifier
42968
+ * @param {string} pageId The page identifier
42969
+ * @param {string} tierId The tier identifier
42970
+ * @param {*} [options] Override http request option.
42971
+ * @throws {RequiredError}
42972
+ */
42973
+ 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 = {}) {
42974
+ // verify required parameter 'eventId' is not null or undefined
42975
+ assertParamExists('addEventPageTier', 'eventId', eventId);
42976
+ // verify required parameter 'pageId' is not null or undefined
42977
+ assertParamExists('addEventPageTier', 'pageId', pageId);
42978
+ // verify required parameter 'tierId' is not null or undefined
42979
+ assertParamExists('addEventPageTier', 'tierId', tierId);
42980
+ const localVarPath = `/events/{eventId}/pages/{pageId}/tiers/{tierId}`
42981
+ .replace('{eventId}', encodeURIComponent(String(eventId)))
42982
+ .replace('{pageId}', encodeURIComponent(String(pageId)))
42983
+ .replace('{tierId}', encodeURIComponent(String(tierId)));
42984
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
42985
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
42986
+ let baseOptions;
42987
+ if (configuration) {
42988
+ baseOptions = configuration.baseOptions;
42989
+ }
42990
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
42991
+ const localVarHeaderParameter = {};
42992
+ const localVarQueryParameter = {};
42993
+ // authentication ApiKeyAuth required
42994
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
42995
+ // authentication OrganizationId required
42996
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
42997
+ localVarHeaderParameter['Accept'] = 'application/json';
42998
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
42999
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
43000
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
43001
+ return {
43002
+ url: toPathString(localVarUrlObj),
43003
+ options: localVarRequestOptions,
43004
+ };
43005
+ }),
42922
43006
  /**
42923
43007
  * Creates a new custom content page for an event, assigning it a slug and sort order, and requires create permission on events.
42924
43008
  * @summary Create an event page
@@ -43088,6 +43172,114 @@ export const EventsPagesApiAxiosParamCreator = function (configuration) {
43088
43172
  options: localVarRequestOptions,
43089
43173
  };
43090
43174
  }),
43175
+ /**
43176
+ * 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.
43177
+ * @summary List pass types linked to an event page
43178
+ * @param {string} eventId The event identifier
43179
+ * @param {string} pageId The page identifier
43180
+ * @param {number} [page] Page number
43181
+ * @param {number} [pageSize] Number of items per page
43182
+ * @param {string} [orderBy] Field to order by
43183
+ * @param {string} [search] Search query
43184
+ * @param {*} [options] Override http request option.
43185
+ * @throws {RequiredError}
43186
+ */
43187
+ 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 = {}) {
43188
+ // verify required parameter 'eventId' is not null or undefined
43189
+ assertParamExists('getEventPagePassTypes', 'eventId', eventId);
43190
+ // verify required parameter 'pageId' is not null or undefined
43191
+ assertParamExists('getEventPagePassTypes', 'pageId', pageId);
43192
+ const localVarPath = `/events/{eventId}/pages/{pageId}/passTypes`
43193
+ .replace('{eventId}', encodeURIComponent(String(eventId)))
43194
+ .replace('{pageId}', encodeURIComponent(String(pageId)));
43195
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
43196
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
43197
+ let baseOptions;
43198
+ if (configuration) {
43199
+ baseOptions = configuration.baseOptions;
43200
+ }
43201
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
43202
+ const localVarHeaderParameter = {};
43203
+ const localVarQueryParameter = {};
43204
+ // authentication ApiKeyAuth required
43205
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
43206
+ // authentication OrganizationId required
43207
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
43208
+ if (page !== undefined) {
43209
+ localVarQueryParameter['page'] = page;
43210
+ }
43211
+ if (pageSize !== undefined) {
43212
+ localVarQueryParameter['pageSize'] = pageSize;
43213
+ }
43214
+ if (orderBy !== undefined) {
43215
+ localVarQueryParameter['orderBy'] = orderBy;
43216
+ }
43217
+ if (search !== undefined) {
43218
+ localVarQueryParameter['search'] = search;
43219
+ }
43220
+ localVarHeaderParameter['Accept'] = 'application/json';
43221
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
43222
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
43223
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
43224
+ return {
43225
+ url: toPathString(localVarUrlObj),
43226
+ options: localVarRequestOptions,
43227
+ };
43228
+ }),
43229
+ /**
43230
+ * 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.
43231
+ * @summary List tiers linked to an event page
43232
+ * @param {string} eventId The event identifier
43233
+ * @param {string} pageId The page identifier
43234
+ * @param {number} [page] Page number
43235
+ * @param {number} [pageSize] Number of items per page
43236
+ * @param {string} [orderBy] Field to order by
43237
+ * @param {string} [search] Search query
43238
+ * @param {*} [options] Override http request option.
43239
+ * @throws {RequiredError}
43240
+ */
43241
+ 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 = {}) {
43242
+ // verify required parameter 'eventId' is not null or undefined
43243
+ assertParamExists('getEventPageTiers', 'eventId', eventId);
43244
+ // verify required parameter 'pageId' is not null or undefined
43245
+ assertParamExists('getEventPageTiers', 'pageId', pageId);
43246
+ const localVarPath = `/events/{eventId}/pages/{pageId}/tiers`
43247
+ .replace('{eventId}', encodeURIComponent(String(eventId)))
43248
+ .replace('{pageId}', encodeURIComponent(String(pageId)));
43249
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
43250
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
43251
+ let baseOptions;
43252
+ if (configuration) {
43253
+ baseOptions = configuration.baseOptions;
43254
+ }
43255
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
43256
+ const localVarHeaderParameter = {};
43257
+ const localVarQueryParameter = {};
43258
+ // authentication ApiKeyAuth required
43259
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
43260
+ // authentication OrganizationId required
43261
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
43262
+ if (page !== undefined) {
43263
+ localVarQueryParameter['page'] = page;
43264
+ }
43265
+ if (pageSize !== undefined) {
43266
+ localVarQueryParameter['pageSize'] = pageSize;
43267
+ }
43268
+ if (orderBy !== undefined) {
43269
+ localVarQueryParameter['orderBy'] = orderBy;
43270
+ }
43271
+ if (search !== undefined) {
43272
+ localVarQueryParameter['search'] = search;
43273
+ }
43274
+ localVarHeaderParameter['Accept'] = 'application/json';
43275
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
43276
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
43277
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
43278
+ return {
43279
+ url: toPathString(localVarUrlObj),
43280
+ options: localVarRequestOptions,
43281
+ };
43282
+ }),
43091
43283
  /**
43092
43284
  * Returns a paginated list of custom pages belonging to the specified event, supporting search and sorting; requires the \"read\" permission on the \"events\" module.
43093
43285
  * @summary List an event\'s pages
@@ -43180,6 +43372,90 @@ export const EventsPagesApiAxiosParamCreator = function (configuration) {
43180
43372
  options: localVarRequestOptions,
43181
43373
  };
43182
43374
  }),
43375
+ /**
43376
+ * Revokes a pass type\'s access to an event page, and requires read and update permission on events.
43377
+ * @summary Remove a pass type restriction from an event page
43378
+ * @param {string} eventId The event identifier
43379
+ * @param {string} pageId The page identifier
43380
+ * @param {string} passTypeId The passType identifier
43381
+ * @param {*} [options] Override http request option.
43382
+ * @throws {RequiredError}
43383
+ */
43384
+ 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 = {}) {
43385
+ // verify required parameter 'eventId' is not null or undefined
43386
+ assertParamExists('removeEventPagePassType', 'eventId', eventId);
43387
+ // verify required parameter 'pageId' is not null or undefined
43388
+ assertParamExists('removeEventPagePassType', 'pageId', pageId);
43389
+ // verify required parameter 'passTypeId' is not null or undefined
43390
+ assertParamExists('removeEventPagePassType', 'passTypeId', passTypeId);
43391
+ const localVarPath = `/events/{eventId}/pages/{pageId}/passTypes/{passTypeId}`
43392
+ .replace('{eventId}', encodeURIComponent(String(eventId)))
43393
+ .replace('{pageId}', encodeURIComponent(String(pageId)))
43394
+ .replace('{passTypeId}', encodeURIComponent(String(passTypeId)));
43395
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
43396
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
43397
+ let baseOptions;
43398
+ if (configuration) {
43399
+ baseOptions = configuration.baseOptions;
43400
+ }
43401
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
43402
+ const localVarHeaderParameter = {};
43403
+ const localVarQueryParameter = {};
43404
+ // authentication ApiKeyAuth required
43405
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
43406
+ // authentication OrganizationId required
43407
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
43408
+ localVarHeaderParameter['Accept'] = 'application/json';
43409
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
43410
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
43411
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
43412
+ return {
43413
+ url: toPathString(localVarUrlObj),
43414
+ options: localVarRequestOptions,
43415
+ };
43416
+ }),
43417
+ /**
43418
+ * Revokes an account tier\'s (tier/segment) access to an event page, and requires read and update permission on events.
43419
+ * @summary Remove a tier restriction from an event page
43420
+ * @param {string} eventId The event identifier
43421
+ * @param {string} pageId The page identifier
43422
+ * @param {string} tierId The tier identifier
43423
+ * @param {*} [options] Override http request option.
43424
+ * @throws {RequiredError}
43425
+ */
43426
+ 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 = {}) {
43427
+ // verify required parameter 'eventId' is not null or undefined
43428
+ assertParamExists('removeEventPageTier', 'eventId', eventId);
43429
+ // verify required parameter 'pageId' is not null or undefined
43430
+ assertParamExists('removeEventPageTier', 'pageId', pageId);
43431
+ // verify required parameter 'tierId' is not null or undefined
43432
+ assertParamExists('removeEventPageTier', 'tierId', tierId);
43433
+ const localVarPath = `/events/{eventId}/pages/{pageId}/tiers/{tierId}`
43434
+ .replace('{eventId}', encodeURIComponent(String(eventId)))
43435
+ .replace('{pageId}', encodeURIComponent(String(pageId)))
43436
+ .replace('{tierId}', encodeURIComponent(String(tierId)));
43437
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
43438
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
43439
+ let baseOptions;
43440
+ if (configuration) {
43441
+ baseOptions = configuration.baseOptions;
43442
+ }
43443
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
43444
+ const localVarHeaderParameter = {};
43445
+ const localVarQueryParameter = {};
43446
+ // authentication ApiKeyAuth required
43447
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
43448
+ // authentication OrganizationId required
43449
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
43450
+ localVarHeaderParameter['Accept'] = 'application/json';
43451
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
43452
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
43453
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
43454
+ return {
43455
+ url: toPathString(localVarUrlObj),
43456
+ options: localVarRequestOptions,
43457
+ };
43458
+ }),
43183
43459
  /**
43184
43460
  * 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.
43185
43461
  * @summary Update an event page
@@ -43249,6 +43525,42 @@ export const EventsPagesApiFp = function (configuration) {
43249
43525
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
43250
43526
  });
43251
43527
  },
43528
+ /**
43529
+ * Grants a specific pass type access to an event page, restricting who can view it, and requires read and update permission on events.
43530
+ * @summary Restrict an event page to a pass type
43531
+ * @param {string} eventId The event identifier
43532
+ * @param {string} pageId The page identifier
43533
+ * @param {string} passTypeId The passType identifier
43534
+ * @param {*} [options] Override http request option.
43535
+ * @throws {RequiredError}
43536
+ */
43537
+ addEventPagePassType(eventId, pageId, passTypeId, options) {
43538
+ return __awaiter(this, void 0, void 0, function* () {
43539
+ var _a, _b, _c;
43540
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addEventPagePassType(eventId, pageId, passTypeId, options);
43541
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
43542
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsPagesApi.addEventPagePassType']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
43543
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
43544
+ });
43545
+ },
43546
+ /**
43547
+ * 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.
43548
+ * @summary Restrict an event page to a tier
43549
+ * @param {string} eventId The event identifier
43550
+ * @param {string} pageId The page identifier
43551
+ * @param {string} tierId The tier identifier
43552
+ * @param {*} [options] Override http request option.
43553
+ * @throws {RequiredError}
43554
+ */
43555
+ addEventPageTier(eventId, pageId, tierId, options) {
43556
+ return __awaiter(this, void 0, void 0, function* () {
43557
+ var _a, _b, _c;
43558
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addEventPageTier(eventId, pageId, tierId, options);
43559
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
43560
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsPagesApi.addEventPageTier']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
43561
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
43562
+ });
43563
+ },
43252
43564
  /**
43253
43565
  * Creates a new custom content page for an event, assigning it a slug and sort order, and requires create permission on events.
43254
43566
  * @summary Create an event page
@@ -43321,6 +43633,48 @@ export const EventsPagesApiFp = function (configuration) {
43321
43633
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
43322
43634
  });
43323
43635
  },
43636
+ /**
43637
+ * 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.
43638
+ * @summary List pass types linked to an event page
43639
+ * @param {string} eventId The event identifier
43640
+ * @param {string} pageId The page identifier
43641
+ * @param {number} [page] Page number
43642
+ * @param {number} [pageSize] Number of items per page
43643
+ * @param {string} [orderBy] Field to order by
43644
+ * @param {string} [search] Search query
43645
+ * @param {*} [options] Override http request option.
43646
+ * @throws {RequiredError}
43647
+ */
43648
+ getEventPagePassTypes(eventId, pageId, page, pageSize, orderBy, search, options) {
43649
+ return __awaiter(this, void 0, void 0, function* () {
43650
+ var _a, _b, _c;
43651
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventPagePassTypes(eventId, pageId, page, pageSize, orderBy, search, options);
43652
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
43653
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsPagesApi.getEventPagePassTypes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
43654
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
43655
+ });
43656
+ },
43657
+ /**
43658
+ * 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.
43659
+ * @summary List tiers linked to an event page
43660
+ * @param {string} eventId The event identifier
43661
+ * @param {string} pageId The page identifier
43662
+ * @param {number} [page] Page number
43663
+ * @param {number} [pageSize] Number of items per page
43664
+ * @param {string} [orderBy] Field to order by
43665
+ * @param {string} [search] Search query
43666
+ * @param {*} [options] Override http request option.
43667
+ * @throws {RequiredError}
43668
+ */
43669
+ getEventPageTiers(eventId, pageId, page, pageSize, orderBy, search, options) {
43670
+ return __awaiter(this, void 0, void 0, function* () {
43671
+ var _a, _b, _c;
43672
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventPageTiers(eventId, pageId, page, pageSize, orderBy, search, options);
43673
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
43674
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsPagesApi.getEventPageTiers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
43675
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
43676
+ });
43677
+ },
43324
43678
  /**
43325
43679
  * Returns a paginated list of custom pages belonging to the specified event, supporting search and sorting; requires the \"read\" permission on the \"events\" module.
43326
43680
  * @summary List an event\'s pages
@@ -43359,6 +43713,42 @@ export const EventsPagesApiFp = function (configuration) {
43359
43713
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
43360
43714
  });
43361
43715
  },
43716
+ /**
43717
+ * Revokes a pass type\'s access to an event page, and requires read and update permission on events.
43718
+ * @summary Remove a pass type restriction from an event page
43719
+ * @param {string} eventId The event identifier
43720
+ * @param {string} pageId The page identifier
43721
+ * @param {string} passTypeId The passType identifier
43722
+ * @param {*} [options] Override http request option.
43723
+ * @throws {RequiredError}
43724
+ */
43725
+ removeEventPagePassType(eventId, pageId, passTypeId, options) {
43726
+ return __awaiter(this, void 0, void 0, function* () {
43727
+ var _a, _b, _c;
43728
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.removeEventPagePassType(eventId, pageId, passTypeId, options);
43729
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
43730
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsPagesApi.removeEventPagePassType']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
43731
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
43732
+ });
43733
+ },
43734
+ /**
43735
+ * Revokes an account tier\'s (tier/segment) access to an event page, and requires read and update permission on events.
43736
+ * @summary Remove a tier restriction from an event page
43737
+ * @param {string} eventId The event identifier
43738
+ * @param {string} pageId The page identifier
43739
+ * @param {string} tierId The tier identifier
43740
+ * @param {*} [options] Override http request option.
43741
+ * @throws {RequiredError}
43742
+ */
43743
+ removeEventPageTier(eventId, pageId, tierId, options) {
43744
+ return __awaiter(this, void 0, void 0, function* () {
43745
+ var _a, _b, _c;
43746
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.removeEventPageTier(eventId, pageId, tierId, options);
43747
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
43748
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsPagesApi.removeEventPageTier']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
43749
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
43750
+ });
43751
+ },
43362
43752
  /**
43363
43753
  * 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.
43364
43754
  * @summary Update an event page
@@ -43395,6 +43785,26 @@ export const EventsPagesApiFactory = function (configuration, basePath, axios) {
43395
43785
  addEventPageImage(requestParameters, options) {
43396
43786
  return localVarFp.addEventPageImage(requestParameters.eventId, requestParameters.pageId, requestParameters.imageId, options).then((request) => request(axios, basePath));
43397
43787
  },
43788
+ /**
43789
+ * Grants a specific pass type access to an event page, restricting who can view it, and requires read and update permission on events.
43790
+ * @summary Restrict an event page to a pass type
43791
+ * @param {EventsPagesApiAddEventPagePassTypeRequest} requestParameters Request parameters.
43792
+ * @param {*} [options] Override http request option.
43793
+ * @throws {RequiredError}
43794
+ */
43795
+ addEventPagePassType(requestParameters, options) {
43796
+ return localVarFp.addEventPagePassType(requestParameters.eventId, requestParameters.pageId, requestParameters.passTypeId, options).then((request) => request(axios, basePath));
43797
+ },
43798
+ /**
43799
+ * 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.
43800
+ * @summary Restrict an event page to a tier
43801
+ * @param {EventsPagesApiAddEventPageTierRequest} requestParameters Request parameters.
43802
+ * @param {*} [options] Override http request option.
43803
+ * @throws {RequiredError}
43804
+ */
43805
+ addEventPageTier(requestParameters, options) {
43806
+ return localVarFp.addEventPageTier(requestParameters.eventId, requestParameters.pageId, requestParameters.tierId, options).then((request) => request(axios, basePath));
43807
+ },
43398
43808
  /**
43399
43809
  * Creates a new custom content page for an event, assigning it a slug and sort order, and requires create permission on events.
43400
43810
  * @summary Create an event page
@@ -43435,6 +43845,26 @@ export const EventsPagesApiFactory = function (configuration, basePath, axios) {
43435
43845
  getEventPageImages(requestParameters, options) {
43436
43846
  return localVarFp.getEventPageImages(requestParameters.eventId, requestParameters.pageId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
43437
43847
  },
43848
+ /**
43849
+ * 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.
43850
+ * @summary List pass types linked to an event page
43851
+ * @param {EventsPagesApiGetEventPagePassTypesRequest} requestParameters Request parameters.
43852
+ * @param {*} [options] Override http request option.
43853
+ * @throws {RequiredError}
43854
+ */
43855
+ getEventPagePassTypes(requestParameters, options) {
43856
+ return localVarFp.getEventPagePassTypes(requestParameters.eventId, requestParameters.pageId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
43857
+ },
43858
+ /**
43859
+ * 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.
43860
+ * @summary List tiers linked to an event page
43861
+ * @param {EventsPagesApiGetEventPageTiersRequest} requestParameters Request parameters.
43862
+ * @param {*} [options] Override http request option.
43863
+ * @throws {RequiredError}
43864
+ */
43865
+ getEventPageTiers(requestParameters, options) {
43866
+ return localVarFp.getEventPageTiers(requestParameters.eventId, requestParameters.pageId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
43867
+ },
43438
43868
  /**
43439
43869
  * Returns a paginated list of custom pages belonging to the specified event, supporting search and sorting; requires the \"read\" permission on the \"events\" module.
43440
43870
  * @summary List an event\'s pages
@@ -43455,6 +43885,26 @@ export const EventsPagesApiFactory = function (configuration, basePath, axios) {
43455
43885
  removeEventPageImage(requestParameters, options) {
43456
43886
  return localVarFp.removeEventPageImage(requestParameters.eventId, requestParameters.pageId, requestParameters.imageId, options).then((request) => request(axios, basePath));
43457
43887
  },
43888
+ /**
43889
+ * Revokes a pass type\'s access to an event page, and requires read and update permission on events.
43890
+ * @summary Remove a pass type restriction from an event page
43891
+ * @param {EventsPagesApiRemoveEventPagePassTypeRequest} requestParameters Request parameters.
43892
+ * @param {*} [options] Override http request option.
43893
+ * @throws {RequiredError}
43894
+ */
43895
+ removeEventPagePassType(requestParameters, options) {
43896
+ return localVarFp.removeEventPagePassType(requestParameters.eventId, requestParameters.pageId, requestParameters.passTypeId, options).then((request) => request(axios, basePath));
43897
+ },
43898
+ /**
43899
+ * Revokes an account tier\'s (tier/segment) access to an event page, and requires read and update permission on events.
43900
+ * @summary Remove a tier restriction from an event page
43901
+ * @param {EventsPagesApiRemoveEventPageTierRequest} requestParameters Request parameters.
43902
+ * @param {*} [options] Override http request option.
43903
+ * @throws {RequiredError}
43904
+ */
43905
+ removeEventPageTier(requestParameters, options) {
43906
+ return localVarFp.removeEventPageTier(requestParameters.eventId, requestParameters.pageId, requestParameters.tierId, options).then((request) => request(axios, basePath));
43907
+ },
43458
43908
  /**
43459
43909
  * 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.
43460
43910
  * @summary Update an event page
@@ -43481,6 +43931,26 @@ export class EventsPagesApi extends BaseAPI {
43481
43931
  addEventPageImage(requestParameters, options) {
43482
43932
  return EventsPagesApiFp(this.configuration).addEventPageImage(requestParameters.eventId, requestParameters.pageId, requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
43483
43933
  }
43934
+ /**
43935
+ * Grants a specific pass type access to an event page, restricting who can view it, and requires read and update permission on events.
43936
+ * @summary Restrict an event page to a pass type
43937
+ * @param {EventsPagesApiAddEventPagePassTypeRequest} requestParameters Request parameters.
43938
+ * @param {*} [options] Override http request option.
43939
+ * @throws {RequiredError}
43940
+ */
43941
+ addEventPagePassType(requestParameters, options) {
43942
+ return EventsPagesApiFp(this.configuration).addEventPagePassType(requestParameters.eventId, requestParameters.pageId, requestParameters.passTypeId, options).then((request) => request(this.axios, this.basePath));
43943
+ }
43944
+ /**
43945
+ * 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.
43946
+ * @summary Restrict an event page to a tier
43947
+ * @param {EventsPagesApiAddEventPageTierRequest} requestParameters Request parameters.
43948
+ * @param {*} [options] Override http request option.
43949
+ * @throws {RequiredError}
43950
+ */
43951
+ addEventPageTier(requestParameters, options) {
43952
+ return EventsPagesApiFp(this.configuration).addEventPageTier(requestParameters.eventId, requestParameters.pageId, requestParameters.tierId, options).then((request) => request(this.axios, this.basePath));
43953
+ }
43484
43954
  /**
43485
43955
  * Creates a new custom content page for an event, assigning it a slug and sort order, and requires create permission on events.
43486
43956
  * @summary Create an event page
@@ -43521,6 +43991,26 @@ export class EventsPagesApi extends BaseAPI {
43521
43991
  getEventPageImages(requestParameters, options) {
43522
43992
  return EventsPagesApiFp(this.configuration).getEventPageImages(requestParameters.eventId, requestParameters.pageId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
43523
43993
  }
43994
+ /**
43995
+ * 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.
43996
+ * @summary List pass types linked to an event page
43997
+ * @param {EventsPagesApiGetEventPagePassTypesRequest} requestParameters Request parameters.
43998
+ * @param {*} [options] Override http request option.
43999
+ * @throws {RequiredError}
44000
+ */
44001
+ getEventPagePassTypes(requestParameters, options) {
44002
+ return EventsPagesApiFp(this.configuration).getEventPagePassTypes(requestParameters.eventId, requestParameters.pageId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
44003
+ }
44004
+ /**
44005
+ * 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.
44006
+ * @summary List tiers linked to an event page
44007
+ * @param {EventsPagesApiGetEventPageTiersRequest} requestParameters Request parameters.
44008
+ * @param {*} [options] Override http request option.
44009
+ * @throws {RequiredError}
44010
+ */
44011
+ getEventPageTiers(requestParameters, options) {
44012
+ return EventsPagesApiFp(this.configuration).getEventPageTiers(requestParameters.eventId, requestParameters.pageId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
44013
+ }
43524
44014
  /**
43525
44015
  * Returns a paginated list of custom pages belonging to the specified event, supporting search and sorting; requires the \"read\" permission on the \"events\" module.
43526
44016
  * @summary List an event\'s pages
@@ -43541,6 +44031,26 @@ export class EventsPagesApi extends BaseAPI {
43541
44031
  removeEventPageImage(requestParameters, options) {
43542
44032
  return EventsPagesApiFp(this.configuration).removeEventPageImage(requestParameters.eventId, requestParameters.pageId, requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
43543
44033
  }
44034
+ /**
44035
+ * Revokes a pass type\'s access to an event page, and requires read and update permission on events.
44036
+ * @summary Remove a pass type restriction from an event page
44037
+ * @param {EventsPagesApiRemoveEventPagePassTypeRequest} requestParameters Request parameters.
44038
+ * @param {*} [options] Override http request option.
44039
+ * @throws {RequiredError}
44040
+ */
44041
+ removeEventPagePassType(requestParameters, options) {
44042
+ return EventsPagesApiFp(this.configuration).removeEventPagePassType(requestParameters.eventId, requestParameters.pageId, requestParameters.passTypeId, options).then((request) => request(this.axios, this.basePath));
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 {EventsPagesApiRemoveEventPageTierRequest} requestParameters Request parameters.
44048
+ * @param {*} [options] Override http request option.
44049
+ * @throws {RequiredError}
44050
+ */
44051
+ removeEventPageTier(requestParameters, options) {
44052
+ return EventsPagesApiFp(this.configuration).removeEventPageTier(requestParameters.eventId, requestParameters.pageId, requestParameters.tierId, options).then((request) => request(this.axios, this.basePath));
44053
+ }
43544
44054
  /**
43545
44055
  * 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.
43546
44056
  * @summary Update an event page
@@ -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.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.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.8.1
7
+ * The version of the OpenAPI document: 16.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.8.1
7
+ * The version of the OpenAPI document: 16.9.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).