@sailpoint/api-client 2.2.4 → 2.2.5

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.
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
78
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
79
  };
80
80
  Object.defineProperty(exports, "__esModule", { value: true });
81
- exports.EntitlementsApi = exports.EntitlementsApiFactory = exports.EntitlementsApiFp = exports.EntitlementsApiAxiosParamCreator = exports.LocaleOrigin = exports.JsonPatchOperationOpEnum = exports.EntitlementV2PrivilegeLevelEffectiveEnum = exports.EntitlementV2PrivilegeLevelInheritedEnum = exports.EntitlementV2PrivilegeLevelSetByTypeEnum = exports.EntitlementV2PrivilegeLevelDirectEnum = exports.EntitlementV2OwnerTypeEnum = exports.EntitlementPrivilegeLevelEffectiveEnum = exports.EntitlementPrivilegeLevelInheritedEnum = exports.EntitlementPrivilegeLevelSetByTypeEnum = exports.EntitlementPrivilegeLevelDirectEnum = exports.EntitlementApprovalSchemeApproverTypeEnum = exports.EntitlementAccessRequestConfigMaxPermittedAccessDurationTimeUnitEnum = exports.AdditionalOwnerRefTypeEnum = void 0;
81
+ exports.EntitlementsApi = exports.EntitlementsApiFactory = exports.EntitlementsApiFp = exports.EntitlementsApiAxiosParamCreator = exports.LocaleOrigin = exports.JsonPatchOperationOpEnum = exports.EntitlementmetadatabulkupdateresponseStatusEnum = exports.EntitlementmetadatabulkupdatebyqueryrequestReplaceScopeEnum = exports.EntitlementmetadatabulkupdatebyqueryrequestOperationEnum = exports.EntitlementmetadatabulkupdatebyidrequestReplaceScopeEnum = exports.EntitlementmetadatabulkupdatebyidrequestOperationEnum = exports.EntitlementmetadatabulkupdatebyfilterrequestReplaceScopeEnum = exports.EntitlementmetadatabulkupdatebyfilterrequestOperationEnum = exports.EntitlementV2PrivilegeLevelEffectiveEnum = exports.EntitlementV2PrivilegeLevelInheritedEnum = exports.EntitlementV2PrivilegeLevelSetByTypeEnum = exports.EntitlementV2PrivilegeLevelDirectEnum = exports.EntitlementV2OwnerTypeEnum = exports.EntitlementPrivilegeLevelEffectiveEnum = exports.EntitlementPrivilegeLevelInheritedEnum = exports.EntitlementPrivilegeLevelSetByTypeEnum = exports.EntitlementPrivilegeLevelDirectEnum = exports.EntitlementApprovalSchemeApproverTypeEnum = exports.EntitlementAccessRequestConfigMaxPermittedAccessDurationTimeUnitEnum = exports.AdditionalOwnerRefTypeEnum = void 0;
82
82
  var axios_1 = __importDefault(require("axios"));
83
83
  // Some imports not used depending on template conditions
84
84
  // @ts-ignore
@@ -153,6 +153,45 @@ exports.EntitlementV2PrivilegeLevelEffectiveEnum = {
153
153
  Medium: 'MEDIUM',
154
154
  None: 'NONE'
155
155
  };
156
+ exports.EntitlementmetadatabulkupdatebyfilterrequestOperationEnum = {
157
+ Add: 'ADD',
158
+ Remove: 'REMOVE',
159
+ Replace: 'REPLACE'
160
+ };
161
+ exports.EntitlementmetadatabulkupdatebyfilterrequestReplaceScopeEnum = {
162
+ All: 'ALL',
163
+ Attribute: 'ATTRIBUTE'
164
+ };
165
+ exports.EntitlementmetadatabulkupdatebyidrequestOperationEnum = {
166
+ Add: 'ADD',
167
+ Remove: 'REMOVE',
168
+ Replace: 'REPLACE'
169
+ };
170
+ exports.EntitlementmetadatabulkupdatebyidrequestReplaceScopeEnum = {
171
+ All: 'ALL',
172
+ Attribute: 'ATTRIBUTE'
173
+ };
174
+ exports.EntitlementmetadatabulkupdatebyqueryrequestOperationEnum = {
175
+ Add: 'ADD',
176
+ Remove: 'REMOVE',
177
+ Replace: 'REPLACE'
178
+ };
179
+ exports.EntitlementmetadatabulkupdatebyqueryrequestReplaceScopeEnum = {
180
+ All: 'ALL',
181
+ Attribute: 'ATTRIBUTE'
182
+ };
183
+ exports.EntitlementmetadatabulkupdateresponseStatusEnum = {
184
+ Created: 'CREATED',
185
+ PreProcess: 'PRE_PROCESS',
186
+ PreProcessCompleted: 'PRE_PROCESS_COMPLETED',
187
+ PostProcess: 'POST_PROCESS',
188
+ Completed: 'COMPLETED',
189
+ ChunkPending: 'CHUNK_PENDING',
190
+ ChunkProcessing: 'CHUNK_PROCESSING',
191
+ ReProcessing: 'RE_PROCESSING',
192
+ PreProcessFailed: 'PRE_PROCESS_FAILED',
193
+ Failed: 'FAILED'
194
+ };
156
195
  exports.JsonPatchOperationOpEnum = {
157
196
  Add: 'add',
158
197
  Remove: 'remove',
@@ -739,6 +778,108 @@ var EntitlementsApiAxiosParamCreator = function (configuration) {
739
778
  });
740
779
  });
741
780
  },
781
+ /**
782
+ * This API initiates a bulk update of Access Model Metadata for every entitlement matching the supplied filter expression. The update is processed asynchronously. The response returns the ID of the task performing the update. Adding or replacing custom metadata requires a suite license. This API replaces the deprecated `updateAccessModelMetadataByFilterV1` operation.
783
+ * @summary Bulk-update metadata by filter
784
+ * @param {Entitlementmetadatabulkupdatebyfilterrequest} entitlementmetadatabulkupdatebyfilterrequest Attribute metadata bulk update request body.
785
+ * @param {*} [axiosOptions] Override http request option.
786
+ * @throws {RequiredError}
787
+ */
788
+ updateEntitlementsMetadataByFilterV1: function (entitlementmetadatabulkupdatebyfilterrequest, axiosOptions) {
789
+ if (axiosOptions === void 0) { axiosOptions = {}; }
790
+ return __awaiter(_this, void 0, void 0, function () {
791
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
792
+ return __generator(this, function (_a) {
793
+ // verify required parameter 'entitlementmetadatabulkupdatebyfilterrequest' is not null or undefined
794
+ (0, common_1.assertParamExists)('updateEntitlementsMetadataByFilterV1', 'entitlementmetadatabulkupdatebyfilterrequest', entitlementmetadatabulkupdatebyfilterrequest);
795
+ localVarPath = "/entitlements/v1/access-model-metadata/bulk-update/filter";
796
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
797
+ if (configuration) {
798
+ baseOptions = configuration.baseOptions;
799
+ }
800
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
801
+ localVarHeaderParameter = {};
802
+ localVarQueryParameter = {};
803
+ localVarHeaderParameter['Content-Type'] = 'application/json';
804
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
805
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
806
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
807
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(entitlementmetadatabulkupdatebyfilterrequest, localVarRequestOptions, configuration);
808
+ return [2 /*return*/, {
809
+ url: (0, common_1.toPathString)(localVarUrlObj),
810
+ axiosOptions: localVarRequestOptions,
811
+ }];
812
+ });
813
+ });
814
+ },
815
+ /**
816
+ * This API initiates a bulk update of Access Model Metadata for one or more entitlements by a list of entitlement IDs. The update is processed asynchronously. The response returns the ID of the task performing the update. The maximum entitlement count in a single request is 3000. Adding or replacing custom metadata requires a suite license. This API replaces the deprecated `updateAccessModelMetadataByIdsV1` operation.
817
+ * @summary Bulk-update metadata by ids
818
+ * @param {Entitlementmetadatabulkupdatebyidrequest} entitlementmetadatabulkupdatebyidrequest Attribute metadata bulk update request body.
819
+ * @param {*} [axiosOptions] Override http request option.
820
+ * @throws {RequiredError}
821
+ */
822
+ updateEntitlementsMetadataByIdsV1: function (entitlementmetadatabulkupdatebyidrequest, axiosOptions) {
823
+ if (axiosOptions === void 0) { axiosOptions = {}; }
824
+ return __awaiter(_this, void 0, void 0, function () {
825
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
826
+ return __generator(this, function (_a) {
827
+ // verify required parameter 'entitlementmetadatabulkupdatebyidrequest' is not null or undefined
828
+ (0, common_1.assertParamExists)('updateEntitlementsMetadataByIdsV1', 'entitlementmetadatabulkupdatebyidrequest', entitlementmetadatabulkupdatebyidrequest);
829
+ localVarPath = "/entitlements/v1/access-model-metadata/bulk-update/ids";
830
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
831
+ if (configuration) {
832
+ baseOptions = configuration.baseOptions;
833
+ }
834
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
835
+ localVarHeaderParameter = {};
836
+ localVarQueryParameter = {};
837
+ localVarHeaderParameter['Content-Type'] = 'application/json';
838
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
839
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
840
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
841
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(entitlementmetadatabulkupdatebyidrequest, localVarRequestOptions, configuration);
842
+ return [2 /*return*/, {
843
+ url: (0, common_1.toPathString)(localVarUrlObj),
844
+ axiosOptions: localVarRequestOptions,
845
+ }];
846
+ });
847
+ });
848
+ },
849
+ /**
850
+ * This API initiates a bulk update of Access Model Metadata for every entitlement matching the supplied search query. The update is processed asynchronously. The response returns the ID of the task performing the update. Adding or replacing custom metadata requires a suite license. This API replaces the deprecated `updateAccessModelMetadataByQueryV1` operation.
851
+ * @summary Bulk-update metadata by query
852
+ * @param {Entitlementmetadatabulkupdatebyqueryrequest} entitlementmetadatabulkupdatebyqueryrequest Attribute metadata bulk update request body.
853
+ * @param {*} [axiosOptions] Override http request option.
854
+ * @throws {RequiredError}
855
+ */
856
+ updateEntitlementsMetadataByQueryV1: function (entitlementmetadatabulkupdatebyqueryrequest, axiosOptions) {
857
+ if (axiosOptions === void 0) { axiosOptions = {}; }
858
+ return __awaiter(_this, void 0, void 0, function () {
859
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
860
+ return __generator(this, function (_a) {
861
+ // verify required parameter 'entitlementmetadatabulkupdatebyqueryrequest' is not null or undefined
862
+ (0, common_1.assertParamExists)('updateEntitlementsMetadataByQueryV1', 'entitlementmetadatabulkupdatebyqueryrequest', entitlementmetadatabulkupdatebyqueryrequest);
863
+ localVarPath = "/entitlements/v1/access-model-metadata/bulk-update/query";
864
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
865
+ if (configuration) {
866
+ baseOptions = configuration.baseOptions;
867
+ }
868
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
869
+ localVarHeaderParameter = {};
870
+ localVarQueryParameter = {};
871
+ localVarHeaderParameter['Content-Type'] = 'application/json';
872
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
873
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
874
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
875
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(entitlementmetadatabulkupdatebyqueryrequest, localVarRequestOptions, configuration);
876
+ return [2 /*return*/, {
877
+ url: (0, common_1.toPathString)(localVarUrlObj),
878
+ axiosOptions: localVarRequestOptions,
879
+ }];
880
+ });
881
+ });
882
+ },
742
883
  };
743
884
  };
744
885
  exports.EntitlementsApiAxiosParamCreator = EntitlementsApiAxiosParamCreator;
@@ -1081,6 +1222,75 @@ var EntitlementsApiFp = function (configuration) {
1081
1222
  });
1082
1223
  });
1083
1224
  },
1225
+ /**
1226
+ * This API initiates a bulk update of Access Model Metadata for every entitlement matching the supplied filter expression. The update is processed asynchronously. The response returns the ID of the task performing the update. Adding or replacing custom metadata requires a suite license. This API replaces the deprecated `updateAccessModelMetadataByFilterV1` operation.
1227
+ * @summary Bulk-update metadata by filter
1228
+ * @param {Entitlementmetadatabulkupdatebyfilterrequest} entitlementmetadatabulkupdatebyfilterrequest Attribute metadata bulk update request body.
1229
+ * @param {*} [axiosOptions] Override http request option.
1230
+ * @throws {RequiredError}
1231
+ */
1232
+ updateEntitlementsMetadataByFilterV1: function (entitlementmetadatabulkupdatebyfilterrequest, axiosOptions) {
1233
+ var _a, _b, _c;
1234
+ return __awaiter(this, void 0, void 0, function () {
1235
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1236
+ return __generator(this, function (_d) {
1237
+ switch (_d.label) {
1238
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateEntitlementsMetadataByFilterV1(entitlementmetadatabulkupdatebyfilterrequest, axiosOptions)];
1239
+ case 1:
1240
+ localVarAxiosArgs = _d.sent();
1241
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1242
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EntitlementsApi.updateEntitlementsMetadataByFilterV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1243
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1244
+ }
1245
+ });
1246
+ });
1247
+ },
1248
+ /**
1249
+ * This API initiates a bulk update of Access Model Metadata for one or more entitlements by a list of entitlement IDs. The update is processed asynchronously. The response returns the ID of the task performing the update. The maximum entitlement count in a single request is 3000. Adding or replacing custom metadata requires a suite license. This API replaces the deprecated `updateAccessModelMetadataByIdsV1` operation.
1250
+ * @summary Bulk-update metadata by ids
1251
+ * @param {Entitlementmetadatabulkupdatebyidrequest} entitlementmetadatabulkupdatebyidrequest Attribute metadata bulk update request body.
1252
+ * @param {*} [axiosOptions] Override http request option.
1253
+ * @throws {RequiredError}
1254
+ */
1255
+ updateEntitlementsMetadataByIdsV1: function (entitlementmetadatabulkupdatebyidrequest, axiosOptions) {
1256
+ var _a, _b, _c;
1257
+ return __awaiter(this, void 0, void 0, function () {
1258
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1259
+ return __generator(this, function (_d) {
1260
+ switch (_d.label) {
1261
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateEntitlementsMetadataByIdsV1(entitlementmetadatabulkupdatebyidrequest, axiosOptions)];
1262
+ case 1:
1263
+ localVarAxiosArgs = _d.sent();
1264
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1265
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EntitlementsApi.updateEntitlementsMetadataByIdsV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1266
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1267
+ }
1268
+ });
1269
+ });
1270
+ },
1271
+ /**
1272
+ * This API initiates a bulk update of Access Model Metadata for every entitlement matching the supplied search query. The update is processed asynchronously. The response returns the ID of the task performing the update. Adding or replacing custom metadata requires a suite license. This API replaces the deprecated `updateAccessModelMetadataByQueryV1` operation.
1273
+ * @summary Bulk-update metadata by query
1274
+ * @param {Entitlementmetadatabulkupdatebyqueryrequest} entitlementmetadatabulkupdatebyqueryrequest Attribute metadata bulk update request body.
1275
+ * @param {*} [axiosOptions] Override http request option.
1276
+ * @throws {RequiredError}
1277
+ */
1278
+ updateEntitlementsMetadataByQueryV1: function (entitlementmetadatabulkupdatebyqueryrequest, axiosOptions) {
1279
+ var _a, _b, _c;
1280
+ return __awaiter(this, void 0, void 0, function () {
1281
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1282
+ return __generator(this, function (_d) {
1283
+ switch (_d.label) {
1284
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateEntitlementsMetadataByQueryV1(entitlementmetadatabulkupdatebyqueryrequest, axiosOptions)];
1285
+ case 1:
1286
+ localVarAxiosArgs = _d.sent();
1287
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1288
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EntitlementsApi.updateEntitlementsMetadataByQueryV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1289
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1290
+ }
1291
+ });
1292
+ });
1293
+ },
1084
1294
  };
1085
1295
  };
1086
1296
  exports.EntitlementsApiFp = EntitlementsApiFp;
@@ -1223,6 +1433,36 @@ var EntitlementsApiFactory = function (configuration, basePath, axios) {
1223
1433
  updateEntitlementsInBulkV1: function (requestParameters, axiosOptions) {
1224
1434
  return localVarFp.updateEntitlementsInBulkV1(requestParameters.entitlementBulkUpdateRequest, axiosOptions).then(function (request) { return request(axios, basePath); });
1225
1435
  },
1436
+ /**
1437
+ * This API initiates a bulk update of Access Model Metadata for every entitlement matching the supplied filter expression. The update is processed asynchronously. The response returns the ID of the task performing the update. Adding or replacing custom metadata requires a suite license. This API replaces the deprecated `updateAccessModelMetadataByFilterV1` operation.
1438
+ * @summary Bulk-update metadata by filter
1439
+ * @param {EntitlementsApiUpdateEntitlementsMetadataByFilterV1Request} requestParameters Request parameters.
1440
+ * @param {*} [axiosOptions] Override http request option.
1441
+ * @throws {RequiredError}
1442
+ */
1443
+ updateEntitlementsMetadataByFilterV1: function (requestParameters, axiosOptions) {
1444
+ return localVarFp.updateEntitlementsMetadataByFilterV1(requestParameters.entitlementmetadatabulkupdatebyfilterrequest, axiosOptions).then(function (request) { return request(axios, basePath); });
1445
+ },
1446
+ /**
1447
+ * This API initiates a bulk update of Access Model Metadata for one or more entitlements by a list of entitlement IDs. The update is processed asynchronously. The response returns the ID of the task performing the update. The maximum entitlement count in a single request is 3000. Adding or replacing custom metadata requires a suite license. This API replaces the deprecated `updateAccessModelMetadataByIdsV1` operation.
1448
+ * @summary Bulk-update metadata by ids
1449
+ * @param {EntitlementsApiUpdateEntitlementsMetadataByIdsV1Request} requestParameters Request parameters.
1450
+ * @param {*} [axiosOptions] Override http request option.
1451
+ * @throws {RequiredError}
1452
+ */
1453
+ updateEntitlementsMetadataByIdsV1: function (requestParameters, axiosOptions) {
1454
+ return localVarFp.updateEntitlementsMetadataByIdsV1(requestParameters.entitlementmetadatabulkupdatebyidrequest, axiosOptions).then(function (request) { return request(axios, basePath); });
1455
+ },
1456
+ /**
1457
+ * This API initiates a bulk update of Access Model Metadata for every entitlement matching the supplied search query. The update is processed asynchronously. The response returns the ID of the task performing the update. Adding or replacing custom metadata requires a suite license. This API replaces the deprecated `updateAccessModelMetadataByQueryV1` operation.
1458
+ * @summary Bulk-update metadata by query
1459
+ * @param {EntitlementsApiUpdateEntitlementsMetadataByQueryV1Request} requestParameters Request parameters.
1460
+ * @param {*} [axiosOptions] Override http request option.
1461
+ * @throws {RequiredError}
1462
+ */
1463
+ updateEntitlementsMetadataByQueryV1: function (requestParameters, axiosOptions) {
1464
+ return localVarFp.updateEntitlementsMetadataByQueryV1(requestParameters.entitlementmetadatabulkupdatebyqueryrequest, axiosOptions).then(function (request) { return request(axios, basePath); });
1465
+ },
1226
1466
  };
1227
1467
  };
1228
1468
  exports.EntitlementsApiFactory = EntitlementsApiFactory;
@@ -1395,6 +1635,42 @@ var EntitlementsApi = /** @class */ (function (_super) {
1395
1635
  var _this = this;
1396
1636
  return (0, exports.EntitlementsApiFp)(this.configuration).updateEntitlementsInBulkV1(requestParameters.entitlementBulkUpdateRequest, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1397
1637
  };
1638
+ /**
1639
+ * This API initiates a bulk update of Access Model Metadata for every entitlement matching the supplied filter expression. The update is processed asynchronously. The response returns the ID of the task performing the update. Adding or replacing custom metadata requires a suite license. This API replaces the deprecated `updateAccessModelMetadataByFilterV1` operation.
1640
+ * @summary Bulk-update metadata by filter
1641
+ * @param {EntitlementsApiUpdateEntitlementsMetadataByFilterV1Request} requestParameters Request parameters.
1642
+ * @param {*} [axiosOptions] Override http request option.
1643
+ * @throws {RequiredError}
1644
+ * @memberof EntitlementsApi
1645
+ */
1646
+ EntitlementsApi.prototype.updateEntitlementsMetadataByFilterV1 = function (requestParameters, axiosOptions) {
1647
+ var _this = this;
1648
+ return (0, exports.EntitlementsApiFp)(this.configuration).updateEntitlementsMetadataByFilterV1(requestParameters.entitlementmetadatabulkupdatebyfilterrequest, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1649
+ };
1650
+ /**
1651
+ * This API initiates a bulk update of Access Model Metadata for one or more entitlements by a list of entitlement IDs. The update is processed asynchronously. The response returns the ID of the task performing the update. The maximum entitlement count in a single request is 3000. Adding or replacing custom metadata requires a suite license. This API replaces the deprecated `updateAccessModelMetadataByIdsV1` operation.
1652
+ * @summary Bulk-update metadata by ids
1653
+ * @param {EntitlementsApiUpdateEntitlementsMetadataByIdsV1Request} requestParameters Request parameters.
1654
+ * @param {*} [axiosOptions] Override http request option.
1655
+ * @throws {RequiredError}
1656
+ * @memberof EntitlementsApi
1657
+ */
1658
+ EntitlementsApi.prototype.updateEntitlementsMetadataByIdsV1 = function (requestParameters, axiosOptions) {
1659
+ var _this = this;
1660
+ return (0, exports.EntitlementsApiFp)(this.configuration).updateEntitlementsMetadataByIdsV1(requestParameters.entitlementmetadatabulkupdatebyidrequest, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1661
+ };
1662
+ /**
1663
+ * This API initiates a bulk update of Access Model Metadata for every entitlement matching the supplied search query. The update is processed asynchronously. The response returns the ID of the task performing the update. Adding or replacing custom metadata requires a suite license. This API replaces the deprecated `updateAccessModelMetadataByQueryV1` operation.
1664
+ * @summary Bulk-update metadata by query
1665
+ * @param {EntitlementsApiUpdateEntitlementsMetadataByQueryV1Request} requestParameters Request parameters.
1666
+ * @param {*} [axiosOptions] Override http request option.
1667
+ * @throws {RequiredError}
1668
+ * @memberof EntitlementsApi
1669
+ */
1670
+ EntitlementsApi.prototype.updateEntitlementsMetadataByQueryV1 = function (requestParameters, axiosOptions) {
1671
+ var _this = this;
1672
+ return (0, exports.EntitlementsApiFp)(this.configuration).updateEntitlementsMetadataByQueryV1(requestParameters.entitlementmetadatabulkupdatebyqueryrequest, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1673
+ };
1398
1674
  return EntitlementsApi;
1399
1675
  }(base_1.BaseAPI));
1400
1676
  exports.EntitlementsApi = EntitlementsApi;