@sailpoint/api-client 2.2.3 → 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.
@@ -102,6 +102,45 @@ export var AccessProfileSourceRefTypeEnum = {
102
102
  export var AccessProfileUsageUsedByInnerTypeEnum = {
103
103
  Role: 'ROLE'
104
104
  };
105
+ export var AccessprofilemetadatabulkupdatebyfilterrequestOperationEnum = {
106
+ Add: 'ADD',
107
+ Remove: 'REMOVE',
108
+ Replace: 'REPLACE'
109
+ };
110
+ export var AccessprofilemetadatabulkupdatebyfilterrequestReplaceScopeEnum = {
111
+ All: 'ALL',
112
+ Attribute: 'ATTRIBUTE'
113
+ };
114
+ export var AccessprofilemetadatabulkupdatebyidrequestOperationEnum = {
115
+ Add: 'ADD',
116
+ Remove: 'REMOVE',
117
+ Replace: 'REPLACE'
118
+ };
119
+ export var AccessprofilemetadatabulkupdatebyidrequestReplaceScopeEnum = {
120
+ All: 'ALL',
121
+ Attribute: 'ATTRIBUTE'
122
+ };
123
+ export var AccessprofilemetadatabulkupdatebyqueryrequestOperationEnum = {
124
+ Add: 'ADD',
125
+ Remove: 'REMOVE',
126
+ Replace: 'REPLACE'
127
+ };
128
+ export var AccessprofilemetadatabulkupdatebyqueryrequestReplaceScopeEnum = {
129
+ All: 'ALL',
130
+ Attribute: 'ATTRIBUTE'
131
+ };
132
+ export var AccessprofilemetadatabulkupdateresponseStatusEnum = {
133
+ Created: 'CREATED',
134
+ PreProcess: 'PRE_PROCESS',
135
+ PreProcessCompleted: 'PRE_PROCESS_COMPLETED',
136
+ PostProcess: 'POST_PROCESS',
137
+ Completed: 'COMPLETED',
138
+ ChunkPending: 'CHUNK_PENDING',
139
+ ChunkProcessing: 'CHUNK_PROCESSING',
140
+ ReProcessing: 'RE_PROCESSING',
141
+ PreProcessFailed: 'PRE_PROCESS_FAILED',
142
+ Failed: 'FAILED'
143
+ };
105
144
  export var AdditionalOwnerRefTypeEnum = {
106
145
  Identity: 'IDENTITY',
107
146
  GovernanceGroup: 'GOVERNANCE_GROUP'
@@ -257,6 +296,47 @@ export var AccessProfilesApiAxiosParamCreator = function (configuration) {
257
296
  });
258
297
  });
259
298
  },
299
+ /**
300
+ * This API removes a single Access Model Metadata value from an access profile by attribute key and attribute value.
301
+ * @summary Remove metadata from access profile
302
+ * @param {string} id The access profile\'s ID.
303
+ * @param {string} attributeKey Technical name of the Attribute.
304
+ * @param {string} attributeValue Technical name of the Attribute Value.
305
+ * @param {*} [axiosOptions] Override http request option.
306
+ * @throws {RequiredError}
307
+ */
308
+ deleteMetadataFromAccessProfileByKeyAndValueV1: function (id, attributeKey, attributeValue, axiosOptions) {
309
+ if (axiosOptions === void 0) { axiosOptions = {}; }
310
+ return __awaiter(_this, void 0, void 0, function () {
311
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
312
+ return __generator(this, function (_a) {
313
+ // verify required parameter 'id' is not null or undefined
314
+ assertParamExists('deleteMetadataFromAccessProfileByKeyAndValueV1', 'id', id);
315
+ // verify required parameter 'attributeKey' is not null or undefined
316
+ assertParamExists('deleteMetadataFromAccessProfileByKeyAndValueV1', 'attributeKey', attributeKey);
317
+ // verify required parameter 'attributeValue' is not null or undefined
318
+ assertParamExists('deleteMetadataFromAccessProfileByKeyAndValueV1', 'attributeValue', attributeValue);
319
+ localVarPath = "/access-profiles/v1/{id}/access-model-metadata/{attributeKey}/values/{attributeValue}"
320
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
321
+ .replace("{".concat("attributeKey", "}"), encodeURIComponent(String(attributeKey)))
322
+ .replace("{".concat("attributeValue", "}"), encodeURIComponent(String(attributeValue)));
323
+ localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
324
+ if (configuration) {
325
+ baseOptions = configuration.baseOptions;
326
+ }
327
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), axiosOptions);
328
+ localVarHeaderParameter = {};
329
+ localVarQueryParameter = {};
330
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
331
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
332
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
333
+ return [2 /*return*/, {
334
+ url: toPathString(localVarUrlObj),
335
+ axiosOptions: localVarRequestOptions,
336
+ }];
337
+ });
338
+ });
339
+ },
260
340
  /**
261
341
  * Use this API to get a list of an access profile\'s entitlements. A SOURCE_SUBADMIN user must have access to the source associated with the specified access profile. >**Note:** When you filter for access profiles that have the \'+\' symbol in their names, the response is blank.
262
342
  * @summary List access profile\'s entitlements
@@ -476,6 +556,149 @@ export var AccessProfilesApiAxiosParamCreator = function (configuration) {
476
556
  });
477
557
  });
478
558
  },
559
+ /**
560
+ * This API initiates a bulk update of Access Model Metadata for every access profile matching the supplied filter expression. The update is processed asynchronously. The response returns the ID of the task performing the update. A single access profile cannot be assigned more than 25 metadata values. Adding or replacing custom metadata requires a suite license.
561
+ * @summary Bulk-update metadata by filter
562
+ * @param {Accessprofilemetadatabulkupdatebyfilterrequest} accessprofilemetadatabulkupdatebyfilterrequest
563
+ * @param {*} [axiosOptions] Override http request option.
564
+ * @throws {RequiredError}
565
+ */
566
+ updateAccessProfilesMetadataByFilterV1: function (accessprofilemetadatabulkupdatebyfilterrequest, axiosOptions) {
567
+ if (axiosOptions === void 0) { axiosOptions = {}; }
568
+ return __awaiter(_this, void 0, void 0, function () {
569
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
570
+ return __generator(this, function (_a) {
571
+ // verify required parameter 'accessprofilemetadatabulkupdatebyfilterrequest' is not null or undefined
572
+ assertParamExists('updateAccessProfilesMetadataByFilterV1', 'accessprofilemetadatabulkupdatebyfilterrequest', accessprofilemetadatabulkupdatebyfilterrequest);
573
+ localVarPath = "/access-profiles/v1/access-model-metadata/bulk-update/filter";
574
+ localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
575
+ if (configuration) {
576
+ baseOptions = configuration.baseOptions;
577
+ }
578
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
579
+ localVarHeaderParameter = {};
580
+ localVarQueryParameter = {};
581
+ localVarHeaderParameter['Content-Type'] = 'application/json';
582
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
583
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
584
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
585
+ localVarRequestOptions.data = serializeDataIfNeeded(accessprofilemetadatabulkupdatebyfilterrequest, localVarRequestOptions, configuration);
586
+ return [2 /*return*/, {
587
+ url: toPathString(localVarUrlObj),
588
+ axiosOptions: localVarRequestOptions,
589
+ }];
590
+ });
591
+ });
592
+ },
593
+ /**
594
+ * This API initiates a bulk update of Access Model Metadata for one or more access profiles by a list of access profile IDs. The update is processed asynchronously. The response returns the ID of the task performing the update. The maximum access profile count in a single request is 3000. A single access profile cannot be assigned more than 25 metadata values. Adding or replacing custom metadata requires a suite license.
595
+ * @summary Bulk-update metadata by ids
596
+ * @param {Accessprofilemetadatabulkupdatebyidrequest} accessprofilemetadatabulkupdatebyidrequest
597
+ * @param {*} [axiosOptions] Override http request option.
598
+ * @throws {RequiredError}
599
+ */
600
+ updateAccessProfilesMetadataByIdsV1: function (accessprofilemetadatabulkupdatebyidrequest, axiosOptions) {
601
+ if (axiosOptions === void 0) { axiosOptions = {}; }
602
+ return __awaiter(_this, void 0, void 0, function () {
603
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
604
+ return __generator(this, function (_a) {
605
+ // verify required parameter 'accessprofilemetadatabulkupdatebyidrequest' is not null or undefined
606
+ assertParamExists('updateAccessProfilesMetadataByIdsV1', 'accessprofilemetadatabulkupdatebyidrequest', accessprofilemetadatabulkupdatebyidrequest);
607
+ localVarPath = "/access-profiles/v1/access-model-metadata/bulk-update/ids";
608
+ localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
609
+ if (configuration) {
610
+ baseOptions = configuration.baseOptions;
611
+ }
612
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
613
+ localVarHeaderParameter = {};
614
+ localVarQueryParameter = {};
615
+ localVarHeaderParameter['Content-Type'] = 'application/json';
616
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
617
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
618
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
619
+ localVarRequestOptions.data = serializeDataIfNeeded(accessprofilemetadatabulkupdatebyidrequest, localVarRequestOptions, configuration);
620
+ return [2 /*return*/, {
621
+ url: toPathString(localVarUrlObj),
622
+ axiosOptions: localVarRequestOptions,
623
+ }];
624
+ });
625
+ });
626
+ },
627
+ /**
628
+ * This API initiates a bulk update of Access Model Metadata for every access profile matching the supplied search query. The update is processed asynchronously. The response returns the ID of the task performing the update. A single access profile cannot be assigned more than 25 metadata values. Adding or replacing custom metadata requires a suite license.
629
+ * @summary Bulk-update metadata by query
630
+ * @param {Accessprofilemetadatabulkupdatebyqueryrequest} accessprofilemetadatabulkupdatebyqueryrequest
631
+ * @param {*} [axiosOptions] Override http request option.
632
+ * @throws {RequiredError}
633
+ */
634
+ updateAccessProfilesMetadataByQueryV1: function (accessprofilemetadatabulkupdatebyqueryrequest, axiosOptions) {
635
+ if (axiosOptions === void 0) { axiosOptions = {}; }
636
+ return __awaiter(_this, void 0, void 0, function () {
637
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
638
+ return __generator(this, function (_a) {
639
+ // verify required parameter 'accessprofilemetadatabulkupdatebyqueryrequest' is not null or undefined
640
+ assertParamExists('updateAccessProfilesMetadataByQueryV1', 'accessprofilemetadatabulkupdatebyqueryrequest', accessprofilemetadatabulkupdatebyqueryrequest);
641
+ localVarPath = "/access-profiles/v1/access-model-metadata/bulk-update/query";
642
+ localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
643
+ if (configuration) {
644
+ baseOptions = configuration.baseOptions;
645
+ }
646
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
647
+ localVarHeaderParameter = {};
648
+ localVarQueryParameter = {};
649
+ localVarHeaderParameter['Content-Type'] = 'application/json';
650
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
651
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
652
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
653
+ localVarRequestOptions.data = serializeDataIfNeeded(accessprofilemetadatabulkupdatebyqueryrequest, localVarRequestOptions, configuration);
654
+ return [2 /*return*/, {
655
+ url: toPathString(localVarUrlObj),
656
+ axiosOptions: localVarRequestOptions,
657
+ }];
658
+ });
659
+ });
660
+ },
661
+ /**
662
+ * This API adds a single Access Model Metadata value to an access profile by attribute key and attribute value. A single access profile cannot be assigned more than 25 metadata values. Adding custom metadata requires a suite license.
663
+ * @summary Add metadata to access profile
664
+ * @param {string} id The access profile\'s ID.
665
+ * @param {string} attributeKey Technical name of the Attribute.
666
+ * @param {string} attributeValue Technical name of the Attribute Value.
667
+ * @param {*} [axiosOptions] Override http request option.
668
+ * @throws {RequiredError}
669
+ */
670
+ updateAttributeKeyAndValueToAccessProfileV1: function (id, attributeKey, attributeValue, axiosOptions) {
671
+ if (axiosOptions === void 0) { axiosOptions = {}; }
672
+ return __awaiter(_this, void 0, void 0, function () {
673
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
674
+ return __generator(this, function (_a) {
675
+ // verify required parameter 'id' is not null or undefined
676
+ assertParamExists('updateAttributeKeyAndValueToAccessProfileV1', 'id', id);
677
+ // verify required parameter 'attributeKey' is not null or undefined
678
+ assertParamExists('updateAttributeKeyAndValueToAccessProfileV1', 'attributeKey', attributeKey);
679
+ // verify required parameter 'attributeValue' is not null or undefined
680
+ assertParamExists('updateAttributeKeyAndValueToAccessProfileV1', 'attributeValue', attributeValue);
681
+ localVarPath = "/access-profiles/v1/{id}/access-model-metadata/{attributeKey}/values/{attributeValue}"
682
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)))
683
+ .replace("{".concat("attributeKey", "}"), encodeURIComponent(String(attributeKey)))
684
+ .replace("{".concat("attributeValue", "}"), encodeURIComponent(String(attributeValue)));
685
+ localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
686
+ if (configuration) {
687
+ baseOptions = configuration.baseOptions;
688
+ }
689
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
690
+ localVarHeaderParameter = {};
691
+ localVarQueryParameter = {};
692
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
693
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
694
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
695
+ return [2 /*return*/, {
696
+ url: toPathString(localVarUrlObj),
697
+ axiosOptions: localVarRequestOptions,
698
+ }];
699
+ });
700
+ });
701
+ },
479
702
  };
480
703
  };
481
704
  /**
@@ -554,6 +777,31 @@ export var AccessProfilesApiFp = function (configuration) {
554
777
  });
555
778
  });
556
779
  },
780
+ /**
781
+ * This API removes a single Access Model Metadata value from an access profile by attribute key and attribute value.
782
+ * @summary Remove metadata from access profile
783
+ * @param {string} id The access profile\'s ID.
784
+ * @param {string} attributeKey Technical name of the Attribute.
785
+ * @param {string} attributeValue Technical name of the Attribute Value.
786
+ * @param {*} [axiosOptions] Override http request option.
787
+ * @throws {RequiredError}
788
+ */
789
+ deleteMetadataFromAccessProfileByKeyAndValueV1: function (id, attributeKey, attributeValue, axiosOptions) {
790
+ var _a, _b, _c;
791
+ return __awaiter(this, void 0, void 0, function () {
792
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
793
+ return __generator(this, function (_d) {
794
+ switch (_d.label) {
795
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteMetadataFromAccessProfileByKeyAndValueV1(id, attributeKey, attributeValue, axiosOptions)];
796
+ case 1:
797
+ localVarAxiosArgs = _d.sent();
798
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
799
+ localVarOperationServerBasePath = (_c = (_b = operationServerMap['AccessProfilesApi.deleteMetadataFromAccessProfileByKeyAndValueV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
800
+ return [2 /*return*/, function (axios, basePath) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
801
+ }
802
+ });
803
+ });
804
+ },
557
805
  /**
558
806
  * Use this API to get a list of an access profile\'s entitlements. A SOURCE_SUBADMIN user must have access to the source associated with the specified access profile. >**Note:** When you filter for access profiles that have the \'+\' symbol in their names, the response is blank.
559
807
  * @summary List access profile\'s entitlements
@@ -682,6 +930,100 @@ export var AccessProfilesApiFp = function (configuration) {
682
930
  });
683
931
  });
684
932
  },
933
+ /**
934
+ * This API initiates a bulk update of Access Model Metadata for every access profile matching the supplied filter expression. The update is processed asynchronously. The response returns the ID of the task performing the update. A single access profile cannot be assigned more than 25 metadata values. Adding or replacing custom metadata requires a suite license.
935
+ * @summary Bulk-update metadata by filter
936
+ * @param {Accessprofilemetadatabulkupdatebyfilterrequest} accessprofilemetadatabulkupdatebyfilterrequest
937
+ * @param {*} [axiosOptions] Override http request option.
938
+ * @throws {RequiredError}
939
+ */
940
+ updateAccessProfilesMetadataByFilterV1: function (accessprofilemetadatabulkupdatebyfilterrequest, axiosOptions) {
941
+ var _a, _b, _c;
942
+ return __awaiter(this, void 0, void 0, function () {
943
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
944
+ return __generator(this, function (_d) {
945
+ switch (_d.label) {
946
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateAccessProfilesMetadataByFilterV1(accessprofilemetadatabulkupdatebyfilterrequest, axiosOptions)];
947
+ case 1:
948
+ localVarAxiosArgs = _d.sent();
949
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
950
+ localVarOperationServerBasePath = (_c = (_b = operationServerMap['AccessProfilesApi.updateAccessProfilesMetadataByFilterV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
951
+ return [2 /*return*/, function (axios, basePath) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
952
+ }
953
+ });
954
+ });
955
+ },
956
+ /**
957
+ * This API initiates a bulk update of Access Model Metadata for one or more access profiles by a list of access profile IDs. The update is processed asynchronously. The response returns the ID of the task performing the update. The maximum access profile count in a single request is 3000. A single access profile cannot be assigned more than 25 metadata values. Adding or replacing custom metadata requires a suite license.
958
+ * @summary Bulk-update metadata by ids
959
+ * @param {Accessprofilemetadatabulkupdatebyidrequest} accessprofilemetadatabulkupdatebyidrequest
960
+ * @param {*} [axiosOptions] Override http request option.
961
+ * @throws {RequiredError}
962
+ */
963
+ updateAccessProfilesMetadataByIdsV1: function (accessprofilemetadatabulkupdatebyidrequest, axiosOptions) {
964
+ var _a, _b, _c;
965
+ return __awaiter(this, void 0, void 0, function () {
966
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
967
+ return __generator(this, function (_d) {
968
+ switch (_d.label) {
969
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateAccessProfilesMetadataByIdsV1(accessprofilemetadatabulkupdatebyidrequest, axiosOptions)];
970
+ case 1:
971
+ localVarAxiosArgs = _d.sent();
972
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
973
+ localVarOperationServerBasePath = (_c = (_b = operationServerMap['AccessProfilesApi.updateAccessProfilesMetadataByIdsV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
974
+ return [2 /*return*/, function (axios, basePath) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
975
+ }
976
+ });
977
+ });
978
+ },
979
+ /**
980
+ * This API initiates a bulk update of Access Model Metadata for every access profile matching the supplied search query. The update is processed asynchronously. The response returns the ID of the task performing the update. A single access profile cannot be assigned more than 25 metadata values. Adding or replacing custom metadata requires a suite license.
981
+ * @summary Bulk-update metadata by query
982
+ * @param {Accessprofilemetadatabulkupdatebyqueryrequest} accessprofilemetadatabulkupdatebyqueryrequest
983
+ * @param {*} [axiosOptions] Override http request option.
984
+ * @throws {RequiredError}
985
+ */
986
+ updateAccessProfilesMetadataByQueryV1: function (accessprofilemetadatabulkupdatebyqueryrequest, axiosOptions) {
987
+ var _a, _b, _c;
988
+ return __awaiter(this, void 0, void 0, function () {
989
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
990
+ return __generator(this, function (_d) {
991
+ switch (_d.label) {
992
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateAccessProfilesMetadataByQueryV1(accessprofilemetadatabulkupdatebyqueryrequest, axiosOptions)];
993
+ case 1:
994
+ localVarAxiosArgs = _d.sent();
995
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
996
+ localVarOperationServerBasePath = (_c = (_b = operationServerMap['AccessProfilesApi.updateAccessProfilesMetadataByQueryV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
997
+ return [2 /*return*/, function (axios, basePath) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
998
+ }
999
+ });
1000
+ });
1001
+ },
1002
+ /**
1003
+ * This API adds a single Access Model Metadata value to an access profile by attribute key and attribute value. A single access profile cannot be assigned more than 25 metadata values. Adding custom metadata requires a suite license.
1004
+ * @summary Add metadata to access profile
1005
+ * @param {string} id The access profile\'s ID.
1006
+ * @param {string} attributeKey Technical name of the Attribute.
1007
+ * @param {string} attributeValue Technical name of the Attribute Value.
1008
+ * @param {*} [axiosOptions] Override http request option.
1009
+ * @throws {RequiredError}
1010
+ */
1011
+ updateAttributeKeyAndValueToAccessProfileV1: function (id, attributeKey, attributeValue, axiosOptions) {
1012
+ var _a, _b, _c;
1013
+ return __awaiter(this, void 0, void 0, function () {
1014
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1015
+ return __generator(this, function (_d) {
1016
+ switch (_d.label) {
1017
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateAttributeKeyAndValueToAccessProfileV1(id, attributeKey, attributeValue, axiosOptions)];
1018
+ case 1:
1019
+ localVarAxiosArgs = _d.sent();
1020
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1021
+ localVarOperationServerBasePath = (_c = (_b = operationServerMap['AccessProfilesApi.updateAttributeKeyAndValueToAccessProfileV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1022
+ return [2 /*return*/, function (axios, basePath) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1023
+ }
1024
+ });
1025
+ });
1026
+ },
685
1027
  };
686
1028
  };
687
1029
  /**
@@ -721,6 +1063,16 @@ export var AccessProfilesApiFactory = function (configuration, basePath, axios)
721
1063
  deleteAccessProfilesInBulkV1: function (requestParameters, axiosOptions) {
722
1064
  return localVarFp.deleteAccessProfilesInBulkV1(requestParameters.accessProfileBulkDeleteRequest, axiosOptions).then(function (request) { return request(axios, basePath); });
723
1065
  },
1066
+ /**
1067
+ * This API removes a single Access Model Metadata value from an access profile by attribute key and attribute value.
1068
+ * @summary Remove metadata from access profile
1069
+ * @param {AccessProfilesApiDeleteMetadataFromAccessProfileByKeyAndValueV1Request} requestParameters Request parameters.
1070
+ * @param {*} [axiosOptions] Override http request option.
1071
+ * @throws {RequiredError}
1072
+ */
1073
+ deleteMetadataFromAccessProfileByKeyAndValueV1: function (requestParameters, axiosOptions) {
1074
+ return localVarFp.deleteMetadataFromAccessProfileByKeyAndValueV1(requestParameters.id, requestParameters.attributeKey, requestParameters.attributeValue, axiosOptions).then(function (request) { return request(axios, basePath); });
1075
+ },
724
1076
  /**
725
1077
  * Use this API to get a list of an access profile\'s entitlements. A SOURCE_SUBADMIN user must have access to the source associated with the specified access profile. >**Note:** When you filter for access profiles that have the \'+\' symbol in their names, the response is blank.
726
1078
  * @summary List access profile\'s entitlements
@@ -772,6 +1124,46 @@ export var AccessProfilesApiFactory = function (configuration, basePath, axios)
772
1124
  updateAccessProfilesInBulkV1: function (requestParameters, axiosOptions) {
773
1125
  return localVarFp.updateAccessProfilesInBulkV1(requestParameters.accessProfileBulkUpdateRequestInner, axiosOptions).then(function (request) { return request(axios, basePath); });
774
1126
  },
1127
+ /**
1128
+ * This API initiates a bulk update of Access Model Metadata for every access profile matching the supplied filter expression. The update is processed asynchronously. The response returns the ID of the task performing the update. A single access profile cannot be assigned more than 25 metadata values. Adding or replacing custom metadata requires a suite license.
1129
+ * @summary Bulk-update metadata by filter
1130
+ * @param {AccessProfilesApiUpdateAccessProfilesMetadataByFilterV1Request} requestParameters Request parameters.
1131
+ * @param {*} [axiosOptions] Override http request option.
1132
+ * @throws {RequiredError}
1133
+ */
1134
+ updateAccessProfilesMetadataByFilterV1: function (requestParameters, axiosOptions) {
1135
+ return localVarFp.updateAccessProfilesMetadataByFilterV1(requestParameters.accessprofilemetadatabulkupdatebyfilterrequest, axiosOptions).then(function (request) { return request(axios, basePath); });
1136
+ },
1137
+ /**
1138
+ * This API initiates a bulk update of Access Model Metadata for one or more access profiles by a list of access profile IDs. The update is processed asynchronously. The response returns the ID of the task performing the update. The maximum access profile count in a single request is 3000. A single access profile cannot be assigned more than 25 metadata values. Adding or replacing custom metadata requires a suite license.
1139
+ * @summary Bulk-update metadata by ids
1140
+ * @param {AccessProfilesApiUpdateAccessProfilesMetadataByIdsV1Request} requestParameters Request parameters.
1141
+ * @param {*} [axiosOptions] Override http request option.
1142
+ * @throws {RequiredError}
1143
+ */
1144
+ updateAccessProfilesMetadataByIdsV1: function (requestParameters, axiosOptions) {
1145
+ return localVarFp.updateAccessProfilesMetadataByIdsV1(requestParameters.accessprofilemetadatabulkupdatebyidrequest, axiosOptions).then(function (request) { return request(axios, basePath); });
1146
+ },
1147
+ /**
1148
+ * This API initiates a bulk update of Access Model Metadata for every access profile matching the supplied search query. The update is processed asynchronously. The response returns the ID of the task performing the update. A single access profile cannot be assigned more than 25 metadata values. Adding or replacing custom metadata requires a suite license.
1149
+ * @summary Bulk-update metadata by query
1150
+ * @param {AccessProfilesApiUpdateAccessProfilesMetadataByQueryV1Request} requestParameters Request parameters.
1151
+ * @param {*} [axiosOptions] Override http request option.
1152
+ * @throws {RequiredError}
1153
+ */
1154
+ updateAccessProfilesMetadataByQueryV1: function (requestParameters, axiosOptions) {
1155
+ return localVarFp.updateAccessProfilesMetadataByQueryV1(requestParameters.accessprofilemetadatabulkupdatebyqueryrequest, axiosOptions).then(function (request) { return request(axios, basePath); });
1156
+ },
1157
+ /**
1158
+ * This API adds a single Access Model Metadata value to an access profile by attribute key and attribute value. A single access profile cannot be assigned more than 25 metadata values. Adding custom metadata requires a suite license.
1159
+ * @summary Add metadata to access profile
1160
+ * @param {AccessProfilesApiUpdateAttributeKeyAndValueToAccessProfileV1Request} requestParameters Request parameters.
1161
+ * @param {*} [axiosOptions] Override http request option.
1162
+ * @throws {RequiredError}
1163
+ */
1164
+ updateAttributeKeyAndValueToAccessProfileV1: function (requestParameters, axiosOptions) {
1165
+ return localVarFp.updateAttributeKeyAndValueToAccessProfileV1(requestParameters.id, requestParameters.attributeKey, requestParameters.attributeValue, axiosOptions).then(function (request) { return request(axios, basePath); });
1166
+ },
775
1167
  };
776
1168
  };
777
1169
  /**
@@ -821,6 +1213,18 @@ var AccessProfilesApi = /** @class */ (function (_super) {
821
1213
  var _this = this;
822
1214
  return AccessProfilesApiFp(this.configuration).deleteAccessProfilesInBulkV1(requestParameters.accessProfileBulkDeleteRequest, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
823
1215
  };
1216
+ /**
1217
+ * This API removes a single Access Model Metadata value from an access profile by attribute key and attribute value.
1218
+ * @summary Remove metadata from access profile
1219
+ * @param {AccessProfilesApiDeleteMetadataFromAccessProfileByKeyAndValueV1Request} requestParameters Request parameters.
1220
+ * @param {*} [axiosOptions] Override http request option.
1221
+ * @throws {RequiredError}
1222
+ * @memberof AccessProfilesApi
1223
+ */
1224
+ AccessProfilesApi.prototype.deleteMetadataFromAccessProfileByKeyAndValueV1 = function (requestParameters, axiosOptions) {
1225
+ var _this = this;
1226
+ return AccessProfilesApiFp(this.configuration).deleteMetadataFromAccessProfileByKeyAndValueV1(requestParameters.id, requestParameters.attributeKey, requestParameters.attributeValue, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1227
+ };
824
1228
  /**
825
1229
  * Use this API to get a list of an access profile\'s entitlements. A SOURCE_SUBADMIN user must have access to the source associated with the specified access profile. >**Note:** When you filter for access profiles that have the \'+\' symbol in their names, the response is blank.
826
1230
  * @summary List access profile\'s entitlements
@@ -882,6 +1286,54 @@ var AccessProfilesApi = /** @class */ (function (_super) {
882
1286
  var _this = this;
883
1287
  return AccessProfilesApiFp(this.configuration).updateAccessProfilesInBulkV1(requestParameters.accessProfileBulkUpdateRequestInner, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
884
1288
  };
1289
+ /**
1290
+ * This API initiates a bulk update of Access Model Metadata for every access profile matching the supplied filter expression. The update is processed asynchronously. The response returns the ID of the task performing the update. A single access profile cannot be assigned more than 25 metadata values. Adding or replacing custom metadata requires a suite license.
1291
+ * @summary Bulk-update metadata by filter
1292
+ * @param {AccessProfilesApiUpdateAccessProfilesMetadataByFilterV1Request} requestParameters Request parameters.
1293
+ * @param {*} [axiosOptions] Override http request option.
1294
+ * @throws {RequiredError}
1295
+ * @memberof AccessProfilesApi
1296
+ */
1297
+ AccessProfilesApi.prototype.updateAccessProfilesMetadataByFilterV1 = function (requestParameters, axiosOptions) {
1298
+ var _this = this;
1299
+ return AccessProfilesApiFp(this.configuration).updateAccessProfilesMetadataByFilterV1(requestParameters.accessprofilemetadatabulkupdatebyfilterrequest, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1300
+ };
1301
+ /**
1302
+ * This API initiates a bulk update of Access Model Metadata for one or more access profiles by a list of access profile IDs. The update is processed asynchronously. The response returns the ID of the task performing the update. The maximum access profile count in a single request is 3000. A single access profile cannot be assigned more than 25 metadata values. Adding or replacing custom metadata requires a suite license.
1303
+ * @summary Bulk-update metadata by ids
1304
+ * @param {AccessProfilesApiUpdateAccessProfilesMetadataByIdsV1Request} requestParameters Request parameters.
1305
+ * @param {*} [axiosOptions] Override http request option.
1306
+ * @throws {RequiredError}
1307
+ * @memberof AccessProfilesApi
1308
+ */
1309
+ AccessProfilesApi.prototype.updateAccessProfilesMetadataByIdsV1 = function (requestParameters, axiosOptions) {
1310
+ var _this = this;
1311
+ return AccessProfilesApiFp(this.configuration).updateAccessProfilesMetadataByIdsV1(requestParameters.accessprofilemetadatabulkupdatebyidrequest, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1312
+ };
1313
+ /**
1314
+ * This API initiates a bulk update of Access Model Metadata for every access profile matching the supplied search query. The update is processed asynchronously. The response returns the ID of the task performing the update. A single access profile cannot be assigned more than 25 metadata values. Adding or replacing custom metadata requires a suite license.
1315
+ * @summary Bulk-update metadata by query
1316
+ * @param {AccessProfilesApiUpdateAccessProfilesMetadataByQueryV1Request} requestParameters Request parameters.
1317
+ * @param {*} [axiosOptions] Override http request option.
1318
+ * @throws {RequiredError}
1319
+ * @memberof AccessProfilesApi
1320
+ */
1321
+ AccessProfilesApi.prototype.updateAccessProfilesMetadataByQueryV1 = function (requestParameters, axiosOptions) {
1322
+ var _this = this;
1323
+ return AccessProfilesApiFp(this.configuration).updateAccessProfilesMetadataByQueryV1(requestParameters.accessprofilemetadatabulkupdatebyqueryrequest, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1324
+ };
1325
+ /**
1326
+ * This API adds a single Access Model Metadata value to an access profile by attribute key and attribute value. A single access profile cannot be assigned more than 25 metadata values. Adding custom metadata requires a suite license.
1327
+ * @summary Add metadata to access profile
1328
+ * @param {AccessProfilesApiUpdateAttributeKeyAndValueToAccessProfileV1Request} requestParameters Request parameters.
1329
+ * @param {*} [axiosOptions] Override http request option.
1330
+ * @throws {RequiredError}
1331
+ * @memberof AccessProfilesApi
1332
+ */
1333
+ AccessProfilesApi.prototype.updateAttributeKeyAndValueToAccessProfileV1 = function (requestParameters, axiosOptions) {
1334
+ var _this = this;
1335
+ return AccessProfilesApiFp(this.configuration).updateAttributeKeyAndValueToAccessProfileV1(requestParameters.id, requestParameters.attributeKey, requestParameters.attributeValue, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1336
+ };
885
1337
  return AccessProfilesApi;
886
1338
  }(BaseAPI));
887
1339
  export { AccessProfilesApi };