@connectedxm/admin-sdk 7.12.9 → 7.13.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
@@ -2462,6 +2462,7 @@ var SideEffectActionType;
2462
2462
  var SideEffectTriggerType;
2463
2463
  (function (SideEffectTriggerType) {
2464
2464
  SideEffectTriggerType["CheckedInEventPass"] = "CHECKED_IN_EVENT_PASS";
2465
+ SideEffectTriggerType["CheckedInEventSession"] = "CHECKED_IN_EVENT_SESSION";
2465
2466
  SideEffectTriggerType["NewAccountTier"] = "NEW_ACCOUNT_TIER";
2466
2467
  SideEffectTriggerType["RemovedAccountTier"] = "REMOVED_ACCOUNT_TIER";
2467
2468
  SideEffectTriggerType["NewPassOfPassType"] = "NEW_PASS_OF_PASS_TYPE";
@@ -37116,6 +37117,48 @@ const EventsMediaApiAxiosParamCreator = function (configuration) {
37116
37117
  options: localVarRequestOptions,
37117
37118
  };
37118
37119
  }),
37120
+ /**
37121
+ * Grants a specific account tier (tier/segment) access to an event media item, restricting who can view it, and requires read and update permission on both events and storage.
37122
+ * @summary Restrict an event media item to a tier
37123
+ * @param {string} eventId The event identifier
37124
+ * @param {string} mediaItemId The mediaItem identifier
37125
+ * @param {string} tierId The tier identifier
37126
+ * @param {*} [options] Override http request option.
37127
+ * @throws {RequiredError}
37128
+ */
37129
+ addEventMediaItemTier: (eventId_1, mediaItemId_1, tierId_1, ...args_1) => __awaiter(this, [eventId_1, mediaItemId_1, tierId_1, ...args_1], void 0, function* (eventId, mediaItemId, tierId, options = {}) {
37130
+ // verify required parameter 'eventId' is not null or undefined
37131
+ (0, common_1.assertParamExists)('addEventMediaItemTier', 'eventId', eventId);
37132
+ // verify required parameter 'mediaItemId' is not null or undefined
37133
+ (0, common_1.assertParamExists)('addEventMediaItemTier', 'mediaItemId', mediaItemId);
37134
+ // verify required parameter 'tierId' is not null or undefined
37135
+ (0, common_1.assertParamExists)('addEventMediaItemTier', 'tierId', tierId);
37136
+ const localVarPath = `/events/{eventId}/media/{mediaItemId}/tiers/{tierId}`
37137
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
37138
+ .replace(`{${"mediaItemId"}}`, encodeURIComponent(String(mediaItemId)))
37139
+ .replace(`{${"tierId"}}`, encodeURIComponent(String(tierId)));
37140
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
37141
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
37142
+ let baseOptions;
37143
+ if (configuration) {
37144
+ baseOptions = configuration.baseOptions;
37145
+ }
37146
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
37147
+ const localVarHeaderParameter = {};
37148
+ const localVarQueryParameter = {};
37149
+ // authentication ApiKeyAuth required
37150
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
37151
+ // authentication OrganizationId required
37152
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
37153
+ localVarHeaderParameter['Accept'] = 'application/json';
37154
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
37155
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
37156
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
37157
+ return {
37158
+ url: (0, common_1.toPathString)(localVarUrlObj),
37159
+ options: localVarRequestOptions,
37160
+ };
37161
+ }),
37119
37162
  /**
37120
37163
  * Creates a new media item (image, video, or file) in an event\'s media gallery, and requires read and update permission on both events and storage.
37121
37164
  * @summary Create an event media item
@@ -37285,6 +37328,60 @@ const EventsMediaApiAxiosParamCreator = function (configuration) {
37285
37328
  options: localVarRequestOptions,
37286
37329
  };
37287
37330
  }),
37331
+ /**
37332
+ * Returns a paginated list of the event\'s account tiers (tiers/segments) that are associated with a given media item, supporting search and ordering; requires read access to events and storage.
37333
+ * @summary List tiers linked to a media item
37334
+ * @param {string} eventId The event identifier
37335
+ * @param {string} mediaItemId The mediaItem identifier
37336
+ * @param {number} [page] Page number
37337
+ * @param {number} [pageSize] Number of items per page
37338
+ * @param {string} [orderBy] Field to order by
37339
+ * @param {string} [search] Search query
37340
+ * @param {*} [options] Override http request option.
37341
+ * @throws {RequiredError}
37342
+ */
37343
+ getEventMediaItemTiers: (eventId_1, mediaItemId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, mediaItemId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, mediaItemId, page, pageSize, orderBy, search, options = {}) {
37344
+ // verify required parameter 'eventId' is not null or undefined
37345
+ (0, common_1.assertParamExists)('getEventMediaItemTiers', 'eventId', eventId);
37346
+ // verify required parameter 'mediaItemId' is not null or undefined
37347
+ (0, common_1.assertParamExists)('getEventMediaItemTiers', 'mediaItemId', mediaItemId);
37348
+ const localVarPath = `/events/{eventId}/media/{mediaItemId}/tiers`
37349
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
37350
+ .replace(`{${"mediaItemId"}}`, encodeURIComponent(String(mediaItemId)));
37351
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
37352
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
37353
+ let baseOptions;
37354
+ if (configuration) {
37355
+ baseOptions = configuration.baseOptions;
37356
+ }
37357
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
37358
+ const localVarHeaderParameter = {};
37359
+ const localVarQueryParameter = {};
37360
+ // authentication ApiKeyAuth required
37361
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
37362
+ // authentication OrganizationId required
37363
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
37364
+ if (page !== undefined) {
37365
+ localVarQueryParameter['page'] = page;
37366
+ }
37367
+ if (pageSize !== undefined) {
37368
+ localVarQueryParameter['pageSize'] = pageSize;
37369
+ }
37370
+ if (orderBy !== undefined) {
37371
+ localVarQueryParameter['orderBy'] = orderBy;
37372
+ }
37373
+ if (search !== undefined) {
37374
+ localVarQueryParameter['search'] = search;
37375
+ }
37376
+ localVarHeaderParameter['Accept'] = 'application/json';
37377
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
37378
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
37379
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
37380
+ return {
37381
+ url: (0, common_1.toPathString)(localVarUrlObj),
37382
+ options: localVarRequestOptions,
37383
+ };
37384
+ }),
37288
37385
  /**
37289
37386
  * Returns a paginated list of media items (images, videos, or files) belonging to the given event, optionally filtered by media type, with search and ordering support; requires read access to events and storage.
37290
37387
  * @summary List an event\'s media items
@@ -37381,6 +37478,48 @@ const EventsMediaApiAxiosParamCreator = function (configuration) {
37381
37478
  options: localVarRequestOptions,
37382
37479
  };
37383
37480
  }),
37481
+ /**
37482
+ * Revokes an account tier\'s (tier/segment) access to an event media item, and requires read and update permission on both events and storage.
37483
+ * @summary Remove a tier restriction from an event media item
37484
+ * @param {string} eventId The event identifier
37485
+ * @param {string} mediaItemId The mediaItem identifier
37486
+ * @param {string} tierId The tier identifier
37487
+ * @param {*} [options] Override http request option.
37488
+ * @throws {RequiredError}
37489
+ */
37490
+ removeEventMediaItemTier: (eventId_1, mediaItemId_1, tierId_1, ...args_1) => __awaiter(this, [eventId_1, mediaItemId_1, tierId_1, ...args_1], void 0, function* (eventId, mediaItemId, tierId, options = {}) {
37491
+ // verify required parameter 'eventId' is not null or undefined
37492
+ (0, common_1.assertParamExists)('removeEventMediaItemTier', 'eventId', eventId);
37493
+ // verify required parameter 'mediaItemId' is not null or undefined
37494
+ (0, common_1.assertParamExists)('removeEventMediaItemTier', 'mediaItemId', mediaItemId);
37495
+ // verify required parameter 'tierId' is not null or undefined
37496
+ (0, common_1.assertParamExists)('removeEventMediaItemTier', 'tierId', tierId);
37497
+ const localVarPath = `/events/{eventId}/media/{mediaItemId}/tiers/{tierId}`
37498
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
37499
+ .replace(`{${"mediaItemId"}}`, encodeURIComponent(String(mediaItemId)))
37500
+ .replace(`{${"tierId"}}`, encodeURIComponent(String(tierId)));
37501
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
37502
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
37503
+ let baseOptions;
37504
+ if (configuration) {
37505
+ baseOptions = configuration.baseOptions;
37506
+ }
37507
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
37508
+ const localVarHeaderParameter = {};
37509
+ const localVarQueryParameter = {};
37510
+ // authentication ApiKeyAuth required
37511
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
37512
+ // authentication OrganizationId required
37513
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
37514
+ localVarHeaderParameter['Accept'] = 'application/json';
37515
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
37516
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
37517
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
37518
+ return {
37519
+ url: (0, common_1.toPathString)(localVarUrlObj),
37520
+ options: localVarRequestOptions,
37521
+ };
37522
+ }),
37384
37523
  /**
37385
37524
  * Updates the fields (such as name, type, or file references) of an existing media item in an event\'s media gallery, and requires read and update permission on both events and storage.
37386
37525
  * @summary Update an event media item
@@ -37451,6 +37590,24 @@ const EventsMediaApiFp = function (configuration) {
37451
37590
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
37452
37591
  });
37453
37592
  },
37593
+ /**
37594
+ * Grants a specific account tier (tier/segment) access to an event media item, restricting who can view it, and requires read and update permission on both events and storage.
37595
+ * @summary Restrict an event media item to a tier
37596
+ * @param {string} eventId The event identifier
37597
+ * @param {string} mediaItemId The mediaItem identifier
37598
+ * @param {string} tierId The tier identifier
37599
+ * @param {*} [options] Override http request option.
37600
+ * @throws {RequiredError}
37601
+ */
37602
+ addEventMediaItemTier(eventId, mediaItemId, tierId, options) {
37603
+ return __awaiter(this, void 0, void 0, function* () {
37604
+ var _a, _b, _c;
37605
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addEventMediaItemTier(eventId, mediaItemId, tierId, options);
37606
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
37607
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsMediaApi.addEventMediaItemTier']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
37608
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
37609
+ });
37610
+ },
37454
37611
  /**
37455
37612
  * Creates a new media item (image, video, or file) in an event\'s media gallery, and requires read and update permission on both events and storage.
37456
37613
  * @summary Create an event media item
@@ -37523,6 +37680,27 @@ const EventsMediaApiFp = function (configuration) {
37523
37680
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
37524
37681
  });
37525
37682
  },
37683
+ /**
37684
+ * Returns a paginated list of the event\'s account tiers (tiers/segments) that are associated with a given media item, supporting search and ordering; requires read access to events and storage.
37685
+ * @summary List tiers linked to a media item
37686
+ * @param {string} eventId The event identifier
37687
+ * @param {string} mediaItemId The mediaItem identifier
37688
+ * @param {number} [page] Page number
37689
+ * @param {number} [pageSize] Number of items per page
37690
+ * @param {string} [orderBy] Field to order by
37691
+ * @param {string} [search] Search query
37692
+ * @param {*} [options] Override http request option.
37693
+ * @throws {RequiredError}
37694
+ */
37695
+ getEventMediaItemTiers(eventId, mediaItemId, page, pageSize, orderBy, search, options) {
37696
+ return __awaiter(this, void 0, void 0, function* () {
37697
+ var _a, _b, _c;
37698
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventMediaItemTiers(eventId, mediaItemId, page, pageSize, orderBy, search, options);
37699
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
37700
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsMediaApi.getEventMediaItemTiers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
37701
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
37702
+ });
37703
+ },
37526
37704
  /**
37527
37705
  * Returns a paginated list of media items (images, videos, or files) belonging to the given event, optionally filtered by media type, with search and ordering support; requires read access to events and storage.
37528
37706
  * @summary List an event\'s media items
@@ -37562,6 +37740,24 @@ const EventsMediaApiFp = function (configuration) {
37562
37740
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
37563
37741
  });
37564
37742
  },
37743
+ /**
37744
+ * Revokes an account tier\'s (tier/segment) access to an event media item, and requires read and update permission on both events and storage.
37745
+ * @summary Remove a tier restriction from an event media item
37746
+ * @param {string} eventId The event identifier
37747
+ * @param {string} mediaItemId The mediaItem identifier
37748
+ * @param {string} tierId The tier identifier
37749
+ * @param {*} [options] Override http request option.
37750
+ * @throws {RequiredError}
37751
+ */
37752
+ removeEventMediaItemTier(eventId, mediaItemId, tierId, options) {
37753
+ return __awaiter(this, void 0, void 0, function* () {
37754
+ var _a, _b, _c;
37755
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.removeEventMediaItemTier(eventId, mediaItemId, tierId, options);
37756
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
37757
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsMediaApi.removeEventMediaItemTier']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
37758
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
37759
+ });
37760
+ },
37565
37761
  /**
37566
37762
  * Updates the fields (such as name, type, or file references) of an existing media item in an event\'s media gallery, and requires read and update permission on both events and storage.
37567
37763
  * @summary Update an event media item
@@ -37599,6 +37795,16 @@ const EventsMediaApiFactory = function (configuration, basePath, axios) {
37599
37795
  addEventMediaItemPassType(requestParameters, options) {
37600
37796
  return localVarFp.addEventMediaItemPassType(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.passTypeId, options).then((request) => request(axios, basePath));
37601
37797
  },
37798
+ /**
37799
+ * Grants a specific account tier (tier/segment) access to an event media item, restricting who can view it, and requires read and update permission on both events and storage.
37800
+ * @summary Restrict an event media item to a tier
37801
+ * @param {EventsMediaApiAddEventMediaItemTierRequest} requestParameters Request parameters.
37802
+ * @param {*} [options] Override http request option.
37803
+ * @throws {RequiredError}
37804
+ */
37805
+ addEventMediaItemTier(requestParameters, options) {
37806
+ return localVarFp.addEventMediaItemTier(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.tierId, options).then((request) => request(axios, basePath));
37807
+ },
37602
37808
  /**
37603
37809
  * Creates a new media item (image, video, or file) in an event\'s media gallery, and requires read and update permission on both events and storage.
37604
37810
  * @summary Create an event media item
@@ -37639,6 +37845,16 @@ const EventsMediaApiFactory = function (configuration, basePath, axios) {
37639
37845
  getEventMediaItemPassTypes(requestParameters, options) {
37640
37846
  return localVarFp.getEventMediaItemPassTypes(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
37641
37847
  },
37848
+ /**
37849
+ * Returns a paginated list of the event\'s account tiers (tiers/segments) that are associated with a given media item, supporting search and ordering; requires read access to events and storage.
37850
+ * @summary List tiers linked to a media item
37851
+ * @param {EventsMediaApiGetEventMediaItemTiersRequest} requestParameters Request parameters.
37852
+ * @param {*} [options] Override http request option.
37853
+ * @throws {RequiredError}
37854
+ */
37855
+ getEventMediaItemTiers(requestParameters, options) {
37856
+ return localVarFp.getEventMediaItemTiers(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
37857
+ },
37642
37858
  /**
37643
37859
  * Returns a paginated list of media items (images, videos, or files) belonging to the given event, optionally filtered by media type, with search and ordering support; requires read access to events and storage.
37644
37860
  * @summary List an event\'s media items
@@ -37659,6 +37875,16 @@ const EventsMediaApiFactory = function (configuration, basePath, axios) {
37659
37875
  removeEventMediaItemPassType(requestParameters, options) {
37660
37876
  return localVarFp.removeEventMediaItemPassType(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.passTypeId, options).then((request) => request(axios, basePath));
37661
37877
  },
37878
+ /**
37879
+ * Revokes an account tier\'s (tier/segment) access to an event media item, and requires read and update permission on both events and storage.
37880
+ * @summary Remove a tier restriction from an event media item
37881
+ * @param {EventsMediaApiRemoveEventMediaItemTierRequest} requestParameters Request parameters.
37882
+ * @param {*} [options] Override http request option.
37883
+ * @throws {RequiredError}
37884
+ */
37885
+ removeEventMediaItemTier(requestParameters, options) {
37886
+ return localVarFp.removeEventMediaItemTier(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.tierId, options).then((request) => request(axios, basePath));
37887
+ },
37662
37888
  /**
37663
37889
  * Updates the fields (such as name, type, or file references) of an existing media item in an event\'s media gallery, and requires read and update permission on both events and storage.
37664
37890
  * @summary Update an event media item
@@ -37686,6 +37912,16 @@ class EventsMediaApi extends base_1.BaseAPI {
37686
37912
  addEventMediaItemPassType(requestParameters, options) {
37687
37913
  return (0, exports.EventsMediaApiFp)(this.configuration).addEventMediaItemPassType(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.passTypeId, options).then((request) => request(this.axios, this.basePath));
37688
37914
  }
37915
+ /**
37916
+ * Grants a specific account tier (tier/segment) access to an event media item, restricting who can view it, and requires read and update permission on both events and storage.
37917
+ * @summary Restrict an event media item to a tier
37918
+ * @param {EventsMediaApiAddEventMediaItemTierRequest} requestParameters Request parameters.
37919
+ * @param {*} [options] Override http request option.
37920
+ * @throws {RequiredError}
37921
+ */
37922
+ addEventMediaItemTier(requestParameters, options) {
37923
+ return (0, exports.EventsMediaApiFp)(this.configuration).addEventMediaItemTier(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.tierId, options).then((request) => request(this.axios, this.basePath));
37924
+ }
37689
37925
  /**
37690
37926
  * Creates a new media item (image, video, or file) in an event\'s media gallery, and requires read and update permission on both events and storage.
37691
37927
  * @summary Create an event media item
@@ -37726,6 +37962,16 @@ class EventsMediaApi extends base_1.BaseAPI {
37726
37962
  getEventMediaItemPassTypes(requestParameters, options) {
37727
37963
  return (0, exports.EventsMediaApiFp)(this.configuration).getEventMediaItemPassTypes(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
37728
37964
  }
37965
+ /**
37966
+ * Returns a paginated list of the event\'s account tiers (tiers/segments) that are associated with a given media item, supporting search and ordering; requires read access to events and storage.
37967
+ * @summary List tiers linked to a media item
37968
+ * @param {EventsMediaApiGetEventMediaItemTiersRequest} requestParameters Request parameters.
37969
+ * @param {*} [options] Override http request option.
37970
+ * @throws {RequiredError}
37971
+ */
37972
+ getEventMediaItemTiers(requestParameters, options) {
37973
+ return (0, exports.EventsMediaApiFp)(this.configuration).getEventMediaItemTiers(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
37974
+ }
37729
37975
  /**
37730
37976
  * Returns a paginated list of media items (images, videos, or files) belonging to the given event, optionally filtered by media type, with search and ordering support; requires read access to events and storage.
37731
37977
  * @summary List an event\'s media items
@@ -37746,6 +37992,16 @@ class EventsMediaApi extends base_1.BaseAPI {
37746
37992
  removeEventMediaItemPassType(requestParameters, options) {
37747
37993
  return (0, exports.EventsMediaApiFp)(this.configuration).removeEventMediaItemPassType(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.passTypeId, options).then((request) => request(this.axios, this.basePath));
37748
37994
  }
37995
+ /**
37996
+ * Revokes an account tier\'s (tier/segment) access to an event media item, and requires read and update permission on both events and storage.
37997
+ * @summary Remove a tier restriction from an event media item
37998
+ * @param {EventsMediaApiRemoveEventMediaItemTierRequest} requestParameters Request parameters.
37999
+ * @param {*} [options] Override http request option.
38000
+ * @throws {RequiredError}
38001
+ */
38002
+ removeEventMediaItemTier(requestParameters, options) {
38003
+ return (0, exports.EventsMediaApiFp)(this.configuration).removeEventMediaItemTier(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.tierId, options).then((request) => request(this.axios, this.basePath));
38004
+ }
37749
38005
  /**
37750
38006
  * Updates the fields (such as name, type, or file references) of an existing media item in an event\'s media gallery, and requires read and update permission on both events and storage.
37751
38007
  * @summary Update an event media item