@sailpoint/api-client 2.2.4 → 2.2.6
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/access_profiles/api.d.ts +457 -0
- package/dist/access_profiles/api.js +453 -1
- package/dist/access_profiles/api.js.map +1 -1
- package/dist/entitlements/api.d.ts +333 -0
- package/dist/entitlements/api.js +277 -1
- package/dist/entitlements/api.js.map +1 -1
- package/dist/esm/access_profiles/api.js +452 -0
- package/dist/esm/entitlements/api.js +276 -0
- package/dist/esm/nerm/common.js +2 -2
- package/dist/esm/nermv2025/common.js +2 -2
- package/dist/nerm/common.js +2 -2
- package/dist/nerm/common.js.map +1 -1
- package/dist/nermv2025/common.js +2 -2
- package/dist/nermv2025/common.js.map +1 -1
- package/package.json +1 -1
|
@@ -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.AccessProfilesApi = exports.AccessProfilesApiFactory = exports.AccessProfilesApiFp = exports.AccessProfilesApiAxiosParamCreator = exports.ProvisioningCriteriaOperation = exports.OwnerReferenceTypeEnum = exports.LocaleOrigin = exports.JsonPatchOperationOpEnum = exports.EntitlementRefTypeEnum = exports.EntitlementOwnerTypeEnum = exports.AttributeValueDTOTypeEnum = exports.AdditionalOwnerRefTypeEnum = exports.AccessProfileUsageUsedByInnerTypeEnum = exports.AccessProfileSourceRefTypeEnum = exports.AccessProfileApprovalSchemeApproverTypeEnum = exports.AccessDurationTimeUnitEnum = void 0;
|
|
81
|
+
exports.AccessProfilesApi = exports.AccessProfilesApiFactory = exports.AccessProfilesApiFp = exports.AccessProfilesApiAxiosParamCreator = exports.ProvisioningCriteriaOperation = exports.OwnerReferenceTypeEnum = exports.LocaleOrigin = exports.JsonPatchOperationOpEnum = exports.EntitlementRefTypeEnum = exports.EntitlementOwnerTypeEnum = exports.AttributeValueDTOTypeEnum = exports.AdditionalOwnerRefTypeEnum = exports.AccessprofilemetadatabulkupdateresponseStatusEnum = exports.AccessprofilemetadatabulkupdatebyqueryrequestReplaceScopeEnum = exports.AccessprofilemetadatabulkupdatebyqueryrequestOperationEnum = exports.AccessprofilemetadatabulkupdatebyidrequestReplaceScopeEnum = exports.AccessprofilemetadatabulkupdatebyidrequestOperationEnum = exports.AccessprofilemetadatabulkupdatebyfilterrequestReplaceScopeEnum = exports.AccessprofilemetadatabulkupdatebyfilterrequestOperationEnum = exports.AccessProfileUsageUsedByInnerTypeEnum = exports.AccessProfileSourceRefTypeEnum = exports.AccessProfileApprovalSchemeApproverTypeEnum = exports.AccessDurationTimeUnitEnum = void 0;
|
|
82
82
|
var axios_1 = __importDefault(require("axios"));
|
|
83
83
|
// Some imports not used depending on template conditions
|
|
84
84
|
// @ts-ignore
|
|
@@ -108,6 +108,45 @@ exports.AccessProfileSourceRefTypeEnum = {
|
|
|
108
108
|
exports.AccessProfileUsageUsedByInnerTypeEnum = {
|
|
109
109
|
Role: 'ROLE'
|
|
110
110
|
};
|
|
111
|
+
exports.AccessprofilemetadatabulkupdatebyfilterrequestOperationEnum = {
|
|
112
|
+
Add: 'ADD',
|
|
113
|
+
Remove: 'REMOVE',
|
|
114
|
+
Replace: 'REPLACE'
|
|
115
|
+
};
|
|
116
|
+
exports.AccessprofilemetadatabulkupdatebyfilterrequestReplaceScopeEnum = {
|
|
117
|
+
All: 'ALL',
|
|
118
|
+
Attribute: 'ATTRIBUTE'
|
|
119
|
+
};
|
|
120
|
+
exports.AccessprofilemetadatabulkupdatebyidrequestOperationEnum = {
|
|
121
|
+
Add: 'ADD',
|
|
122
|
+
Remove: 'REMOVE',
|
|
123
|
+
Replace: 'REPLACE'
|
|
124
|
+
};
|
|
125
|
+
exports.AccessprofilemetadatabulkupdatebyidrequestReplaceScopeEnum = {
|
|
126
|
+
All: 'ALL',
|
|
127
|
+
Attribute: 'ATTRIBUTE'
|
|
128
|
+
};
|
|
129
|
+
exports.AccessprofilemetadatabulkupdatebyqueryrequestOperationEnum = {
|
|
130
|
+
Add: 'ADD',
|
|
131
|
+
Remove: 'REMOVE',
|
|
132
|
+
Replace: 'REPLACE'
|
|
133
|
+
};
|
|
134
|
+
exports.AccessprofilemetadatabulkupdatebyqueryrequestReplaceScopeEnum = {
|
|
135
|
+
All: 'ALL',
|
|
136
|
+
Attribute: 'ATTRIBUTE'
|
|
137
|
+
};
|
|
138
|
+
exports.AccessprofilemetadatabulkupdateresponseStatusEnum = {
|
|
139
|
+
Created: 'CREATED',
|
|
140
|
+
PreProcess: 'PRE_PROCESS',
|
|
141
|
+
PreProcessCompleted: 'PRE_PROCESS_COMPLETED',
|
|
142
|
+
PostProcess: 'POST_PROCESS',
|
|
143
|
+
Completed: 'COMPLETED',
|
|
144
|
+
ChunkPending: 'CHUNK_PENDING',
|
|
145
|
+
ChunkProcessing: 'CHUNK_PROCESSING',
|
|
146
|
+
ReProcessing: 'RE_PROCESSING',
|
|
147
|
+
PreProcessFailed: 'PRE_PROCESS_FAILED',
|
|
148
|
+
Failed: 'FAILED'
|
|
149
|
+
};
|
|
111
150
|
exports.AdditionalOwnerRefTypeEnum = {
|
|
112
151
|
Identity: 'IDENTITY',
|
|
113
152
|
GovernanceGroup: 'GOVERNANCE_GROUP'
|
|
@@ -263,6 +302,47 @@ var AccessProfilesApiAxiosParamCreator = function (configuration) {
|
|
|
263
302
|
});
|
|
264
303
|
});
|
|
265
304
|
},
|
|
305
|
+
/**
|
|
306
|
+
* This API removes a single Access Model Metadata value from an access profile by attribute key and attribute value.
|
|
307
|
+
* @summary Remove metadata from access profile
|
|
308
|
+
* @param {string} id The access profile\'s ID.
|
|
309
|
+
* @param {string} attributeKey Technical name of the Attribute.
|
|
310
|
+
* @param {string} attributeValue Technical name of the Attribute Value.
|
|
311
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
312
|
+
* @throws {RequiredError}
|
|
313
|
+
*/
|
|
314
|
+
deleteMetadataFromAccessProfileByKeyAndValueV1: function (id, attributeKey, attributeValue, axiosOptions) {
|
|
315
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
316
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
317
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
318
|
+
return __generator(this, function (_a) {
|
|
319
|
+
// verify required parameter 'id' is not null or undefined
|
|
320
|
+
(0, common_1.assertParamExists)('deleteMetadataFromAccessProfileByKeyAndValueV1', 'id', id);
|
|
321
|
+
// verify required parameter 'attributeKey' is not null or undefined
|
|
322
|
+
(0, common_1.assertParamExists)('deleteMetadataFromAccessProfileByKeyAndValueV1', 'attributeKey', attributeKey);
|
|
323
|
+
// verify required parameter 'attributeValue' is not null or undefined
|
|
324
|
+
(0, common_1.assertParamExists)('deleteMetadataFromAccessProfileByKeyAndValueV1', 'attributeValue', attributeValue);
|
|
325
|
+
localVarPath = "/access-profiles/v1/{id}/access-model-metadata/{attributeKey}/values/{attributeValue}"
|
|
326
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)))
|
|
327
|
+
.replace("{".concat("attributeKey", "}"), encodeURIComponent(String(attributeKey)))
|
|
328
|
+
.replace("{".concat("attributeValue", "}"), encodeURIComponent(String(attributeValue)));
|
|
329
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
330
|
+
if (configuration) {
|
|
331
|
+
baseOptions = configuration.baseOptions;
|
|
332
|
+
}
|
|
333
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), axiosOptions);
|
|
334
|
+
localVarHeaderParameter = {};
|
|
335
|
+
localVarQueryParameter = {};
|
|
336
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
337
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
338
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
339
|
+
return [2 /*return*/, {
|
|
340
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
341
|
+
axiosOptions: localVarRequestOptions,
|
|
342
|
+
}];
|
|
343
|
+
});
|
|
344
|
+
});
|
|
345
|
+
},
|
|
266
346
|
/**
|
|
267
347
|
* 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.
|
|
268
348
|
* @summary List access profile\'s entitlements
|
|
@@ -482,6 +562,149 @@ var AccessProfilesApiAxiosParamCreator = function (configuration) {
|
|
|
482
562
|
});
|
|
483
563
|
});
|
|
484
564
|
},
|
|
565
|
+
/**
|
|
566
|
+
* 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.
|
|
567
|
+
* @summary Bulk-update metadata by filter
|
|
568
|
+
* @param {Accessprofilemetadatabulkupdatebyfilterrequest} accessprofilemetadatabulkupdatebyfilterrequest
|
|
569
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
570
|
+
* @throws {RequiredError}
|
|
571
|
+
*/
|
|
572
|
+
updateAccessProfilesMetadataByFilterV1: function (accessprofilemetadatabulkupdatebyfilterrequest, axiosOptions) {
|
|
573
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
574
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
575
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
576
|
+
return __generator(this, function (_a) {
|
|
577
|
+
// verify required parameter 'accessprofilemetadatabulkupdatebyfilterrequest' is not null or undefined
|
|
578
|
+
(0, common_1.assertParamExists)('updateAccessProfilesMetadataByFilterV1', 'accessprofilemetadatabulkupdatebyfilterrequest', accessprofilemetadatabulkupdatebyfilterrequest);
|
|
579
|
+
localVarPath = "/access-profiles/v1/access-model-metadata/bulk-update/filter";
|
|
580
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
581
|
+
if (configuration) {
|
|
582
|
+
baseOptions = configuration.baseOptions;
|
|
583
|
+
}
|
|
584
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
|
|
585
|
+
localVarHeaderParameter = {};
|
|
586
|
+
localVarQueryParameter = {};
|
|
587
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
588
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
589
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
590
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
591
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accessprofilemetadatabulkupdatebyfilterrequest, localVarRequestOptions, configuration);
|
|
592
|
+
return [2 /*return*/, {
|
|
593
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
594
|
+
axiosOptions: localVarRequestOptions,
|
|
595
|
+
}];
|
|
596
|
+
});
|
|
597
|
+
});
|
|
598
|
+
},
|
|
599
|
+
/**
|
|
600
|
+
* 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.
|
|
601
|
+
* @summary Bulk-update metadata by ids
|
|
602
|
+
* @param {Accessprofilemetadatabulkupdatebyidrequest} accessprofilemetadatabulkupdatebyidrequest
|
|
603
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
604
|
+
* @throws {RequiredError}
|
|
605
|
+
*/
|
|
606
|
+
updateAccessProfilesMetadataByIdsV1: function (accessprofilemetadatabulkupdatebyidrequest, axiosOptions) {
|
|
607
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
608
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
609
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
610
|
+
return __generator(this, function (_a) {
|
|
611
|
+
// verify required parameter 'accessprofilemetadatabulkupdatebyidrequest' is not null or undefined
|
|
612
|
+
(0, common_1.assertParamExists)('updateAccessProfilesMetadataByIdsV1', 'accessprofilemetadatabulkupdatebyidrequest', accessprofilemetadatabulkupdatebyidrequest);
|
|
613
|
+
localVarPath = "/access-profiles/v1/access-model-metadata/bulk-update/ids";
|
|
614
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
615
|
+
if (configuration) {
|
|
616
|
+
baseOptions = configuration.baseOptions;
|
|
617
|
+
}
|
|
618
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
|
|
619
|
+
localVarHeaderParameter = {};
|
|
620
|
+
localVarQueryParameter = {};
|
|
621
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
622
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
623
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
624
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
625
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accessprofilemetadatabulkupdatebyidrequest, localVarRequestOptions, configuration);
|
|
626
|
+
return [2 /*return*/, {
|
|
627
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
628
|
+
axiosOptions: localVarRequestOptions,
|
|
629
|
+
}];
|
|
630
|
+
});
|
|
631
|
+
});
|
|
632
|
+
},
|
|
633
|
+
/**
|
|
634
|
+
* 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.
|
|
635
|
+
* @summary Bulk-update metadata by query
|
|
636
|
+
* @param {Accessprofilemetadatabulkupdatebyqueryrequest} accessprofilemetadatabulkupdatebyqueryrequest
|
|
637
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
638
|
+
* @throws {RequiredError}
|
|
639
|
+
*/
|
|
640
|
+
updateAccessProfilesMetadataByQueryV1: function (accessprofilemetadatabulkupdatebyqueryrequest, axiosOptions) {
|
|
641
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
642
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
643
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
644
|
+
return __generator(this, function (_a) {
|
|
645
|
+
// verify required parameter 'accessprofilemetadatabulkupdatebyqueryrequest' is not null or undefined
|
|
646
|
+
(0, common_1.assertParamExists)('updateAccessProfilesMetadataByQueryV1', 'accessprofilemetadatabulkupdatebyqueryrequest', accessprofilemetadatabulkupdatebyqueryrequest);
|
|
647
|
+
localVarPath = "/access-profiles/v1/access-model-metadata/bulk-update/query";
|
|
648
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
649
|
+
if (configuration) {
|
|
650
|
+
baseOptions = configuration.baseOptions;
|
|
651
|
+
}
|
|
652
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
|
|
653
|
+
localVarHeaderParameter = {};
|
|
654
|
+
localVarQueryParameter = {};
|
|
655
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
656
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
657
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
658
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
659
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(accessprofilemetadatabulkupdatebyqueryrequest, localVarRequestOptions, configuration);
|
|
660
|
+
return [2 /*return*/, {
|
|
661
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
662
|
+
axiosOptions: localVarRequestOptions,
|
|
663
|
+
}];
|
|
664
|
+
});
|
|
665
|
+
});
|
|
666
|
+
},
|
|
667
|
+
/**
|
|
668
|
+
* 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.
|
|
669
|
+
* @summary Add metadata to access profile
|
|
670
|
+
* @param {string} id The access profile\'s ID.
|
|
671
|
+
* @param {string} attributeKey Technical name of the Attribute.
|
|
672
|
+
* @param {string} attributeValue Technical name of the Attribute Value.
|
|
673
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
674
|
+
* @throws {RequiredError}
|
|
675
|
+
*/
|
|
676
|
+
updateAttributeKeyAndValueToAccessProfileV1: function (id, attributeKey, attributeValue, axiosOptions) {
|
|
677
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
678
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
679
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
680
|
+
return __generator(this, function (_a) {
|
|
681
|
+
// verify required parameter 'id' is not null or undefined
|
|
682
|
+
(0, common_1.assertParamExists)('updateAttributeKeyAndValueToAccessProfileV1', 'id', id);
|
|
683
|
+
// verify required parameter 'attributeKey' is not null or undefined
|
|
684
|
+
(0, common_1.assertParamExists)('updateAttributeKeyAndValueToAccessProfileV1', 'attributeKey', attributeKey);
|
|
685
|
+
// verify required parameter 'attributeValue' is not null or undefined
|
|
686
|
+
(0, common_1.assertParamExists)('updateAttributeKeyAndValueToAccessProfileV1', 'attributeValue', attributeValue);
|
|
687
|
+
localVarPath = "/access-profiles/v1/{id}/access-model-metadata/{attributeKey}/values/{attributeValue}"
|
|
688
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)))
|
|
689
|
+
.replace("{".concat("attributeKey", "}"), encodeURIComponent(String(attributeKey)))
|
|
690
|
+
.replace("{".concat("attributeValue", "}"), encodeURIComponent(String(attributeValue)));
|
|
691
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
692
|
+
if (configuration) {
|
|
693
|
+
baseOptions = configuration.baseOptions;
|
|
694
|
+
}
|
|
695
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
|
|
696
|
+
localVarHeaderParameter = {};
|
|
697
|
+
localVarQueryParameter = {};
|
|
698
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
699
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
700
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
701
|
+
return [2 /*return*/, {
|
|
702
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
703
|
+
axiosOptions: localVarRequestOptions,
|
|
704
|
+
}];
|
|
705
|
+
});
|
|
706
|
+
});
|
|
707
|
+
},
|
|
485
708
|
};
|
|
486
709
|
};
|
|
487
710
|
exports.AccessProfilesApiAxiosParamCreator = AccessProfilesApiAxiosParamCreator;
|
|
@@ -561,6 +784,31 @@ var AccessProfilesApiFp = function (configuration) {
|
|
|
561
784
|
});
|
|
562
785
|
});
|
|
563
786
|
},
|
|
787
|
+
/**
|
|
788
|
+
* This API removes a single Access Model Metadata value from an access profile by attribute key and attribute value.
|
|
789
|
+
* @summary Remove metadata from access profile
|
|
790
|
+
* @param {string} id The access profile\'s ID.
|
|
791
|
+
* @param {string} attributeKey Technical name of the Attribute.
|
|
792
|
+
* @param {string} attributeValue Technical name of the Attribute Value.
|
|
793
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
794
|
+
* @throws {RequiredError}
|
|
795
|
+
*/
|
|
796
|
+
deleteMetadataFromAccessProfileByKeyAndValueV1: function (id, attributeKey, attributeValue, axiosOptions) {
|
|
797
|
+
var _a, _b, _c;
|
|
798
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
799
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
800
|
+
return __generator(this, function (_d) {
|
|
801
|
+
switch (_d.label) {
|
|
802
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteMetadataFromAccessProfileByKeyAndValueV1(id, attributeKey, attributeValue, axiosOptions)];
|
|
803
|
+
case 1:
|
|
804
|
+
localVarAxiosArgs = _d.sent();
|
|
805
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
806
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessProfilesApi.deleteMetadataFromAccessProfileByKeyAndValueV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
807
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
808
|
+
}
|
|
809
|
+
});
|
|
810
|
+
});
|
|
811
|
+
},
|
|
564
812
|
/**
|
|
565
813
|
* 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.
|
|
566
814
|
* @summary List access profile\'s entitlements
|
|
@@ -689,6 +937,100 @@ var AccessProfilesApiFp = function (configuration) {
|
|
|
689
937
|
});
|
|
690
938
|
});
|
|
691
939
|
},
|
|
940
|
+
/**
|
|
941
|
+
* 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.
|
|
942
|
+
* @summary Bulk-update metadata by filter
|
|
943
|
+
* @param {Accessprofilemetadatabulkupdatebyfilterrequest} accessprofilemetadatabulkupdatebyfilterrequest
|
|
944
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
945
|
+
* @throws {RequiredError}
|
|
946
|
+
*/
|
|
947
|
+
updateAccessProfilesMetadataByFilterV1: function (accessprofilemetadatabulkupdatebyfilterrequest, axiosOptions) {
|
|
948
|
+
var _a, _b, _c;
|
|
949
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
950
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
951
|
+
return __generator(this, function (_d) {
|
|
952
|
+
switch (_d.label) {
|
|
953
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateAccessProfilesMetadataByFilterV1(accessprofilemetadatabulkupdatebyfilterrequest, axiosOptions)];
|
|
954
|
+
case 1:
|
|
955
|
+
localVarAxiosArgs = _d.sent();
|
|
956
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
957
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessProfilesApi.updateAccessProfilesMetadataByFilterV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
958
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
959
|
+
}
|
|
960
|
+
});
|
|
961
|
+
});
|
|
962
|
+
},
|
|
963
|
+
/**
|
|
964
|
+
* 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.
|
|
965
|
+
* @summary Bulk-update metadata by ids
|
|
966
|
+
* @param {Accessprofilemetadatabulkupdatebyidrequest} accessprofilemetadatabulkupdatebyidrequest
|
|
967
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
968
|
+
* @throws {RequiredError}
|
|
969
|
+
*/
|
|
970
|
+
updateAccessProfilesMetadataByIdsV1: function (accessprofilemetadatabulkupdatebyidrequest, axiosOptions) {
|
|
971
|
+
var _a, _b, _c;
|
|
972
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
973
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
974
|
+
return __generator(this, function (_d) {
|
|
975
|
+
switch (_d.label) {
|
|
976
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateAccessProfilesMetadataByIdsV1(accessprofilemetadatabulkupdatebyidrequest, axiosOptions)];
|
|
977
|
+
case 1:
|
|
978
|
+
localVarAxiosArgs = _d.sent();
|
|
979
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
980
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessProfilesApi.updateAccessProfilesMetadataByIdsV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
981
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
982
|
+
}
|
|
983
|
+
});
|
|
984
|
+
});
|
|
985
|
+
},
|
|
986
|
+
/**
|
|
987
|
+
* 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.
|
|
988
|
+
* @summary Bulk-update metadata by query
|
|
989
|
+
* @param {Accessprofilemetadatabulkupdatebyqueryrequest} accessprofilemetadatabulkupdatebyqueryrequest
|
|
990
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
991
|
+
* @throws {RequiredError}
|
|
992
|
+
*/
|
|
993
|
+
updateAccessProfilesMetadataByQueryV1: function (accessprofilemetadatabulkupdatebyqueryrequest, axiosOptions) {
|
|
994
|
+
var _a, _b, _c;
|
|
995
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
996
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
997
|
+
return __generator(this, function (_d) {
|
|
998
|
+
switch (_d.label) {
|
|
999
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateAccessProfilesMetadataByQueryV1(accessprofilemetadatabulkupdatebyqueryrequest, axiosOptions)];
|
|
1000
|
+
case 1:
|
|
1001
|
+
localVarAxiosArgs = _d.sent();
|
|
1002
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1003
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessProfilesApi.updateAccessProfilesMetadataByQueryV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1004
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1005
|
+
}
|
|
1006
|
+
});
|
|
1007
|
+
});
|
|
1008
|
+
},
|
|
1009
|
+
/**
|
|
1010
|
+
* 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.
|
|
1011
|
+
* @summary Add metadata to access profile
|
|
1012
|
+
* @param {string} id The access profile\'s ID.
|
|
1013
|
+
* @param {string} attributeKey Technical name of the Attribute.
|
|
1014
|
+
* @param {string} attributeValue Technical name of the Attribute Value.
|
|
1015
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1016
|
+
* @throws {RequiredError}
|
|
1017
|
+
*/
|
|
1018
|
+
updateAttributeKeyAndValueToAccessProfileV1: function (id, attributeKey, attributeValue, axiosOptions) {
|
|
1019
|
+
var _a, _b, _c;
|
|
1020
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1021
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1022
|
+
return __generator(this, function (_d) {
|
|
1023
|
+
switch (_d.label) {
|
|
1024
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateAttributeKeyAndValueToAccessProfileV1(id, attributeKey, attributeValue, axiosOptions)];
|
|
1025
|
+
case 1:
|
|
1026
|
+
localVarAxiosArgs = _d.sent();
|
|
1027
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1028
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccessProfilesApi.updateAttributeKeyAndValueToAccessProfileV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1029
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1030
|
+
}
|
|
1031
|
+
});
|
|
1032
|
+
});
|
|
1033
|
+
},
|
|
692
1034
|
};
|
|
693
1035
|
};
|
|
694
1036
|
exports.AccessProfilesApiFp = AccessProfilesApiFp;
|
|
@@ -729,6 +1071,16 @@ var AccessProfilesApiFactory = function (configuration, basePath, axios) {
|
|
|
729
1071
|
deleteAccessProfilesInBulkV1: function (requestParameters, axiosOptions) {
|
|
730
1072
|
return localVarFp.deleteAccessProfilesInBulkV1(requestParameters.accessProfileBulkDeleteRequest, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
731
1073
|
},
|
|
1074
|
+
/**
|
|
1075
|
+
* This API removes a single Access Model Metadata value from an access profile by attribute key and attribute value.
|
|
1076
|
+
* @summary Remove metadata from access profile
|
|
1077
|
+
* @param {AccessProfilesApiDeleteMetadataFromAccessProfileByKeyAndValueV1Request} requestParameters Request parameters.
|
|
1078
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1079
|
+
* @throws {RequiredError}
|
|
1080
|
+
*/
|
|
1081
|
+
deleteMetadataFromAccessProfileByKeyAndValueV1: function (requestParameters, axiosOptions) {
|
|
1082
|
+
return localVarFp.deleteMetadataFromAccessProfileByKeyAndValueV1(requestParameters.id, requestParameters.attributeKey, requestParameters.attributeValue, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1083
|
+
},
|
|
732
1084
|
/**
|
|
733
1085
|
* 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.
|
|
734
1086
|
* @summary List access profile\'s entitlements
|
|
@@ -780,6 +1132,46 @@ var AccessProfilesApiFactory = function (configuration, basePath, axios) {
|
|
|
780
1132
|
updateAccessProfilesInBulkV1: function (requestParameters, axiosOptions) {
|
|
781
1133
|
return localVarFp.updateAccessProfilesInBulkV1(requestParameters.accessProfileBulkUpdateRequestInner, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
782
1134
|
},
|
|
1135
|
+
/**
|
|
1136
|
+
* 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.
|
|
1137
|
+
* @summary Bulk-update metadata by filter
|
|
1138
|
+
* @param {AccessProfilesApiUpdateAccessProfilesMetadataByFilterV1Request} requestParameters Request parameters.
|
|
1139
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1140
|
+
* @throws {RequiredError}
|
|
1141
|
+
*/
|
|
1142
|
+
updateAccessProfilesMetadataByFilterV1: function (requestParameters, axiosOptions) {
|
|
1143
|
+
return localVarFp.updateAccessProfilesMetadataByFilterV1(requestParameters.accessprofilemetadatabulkupdatebyfilterrequest, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1144
|
+
},
|
|
1145
|
+
/**
|
|
1146
|
+
* 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.
|
|
1147
|
+
* @summary Bulk-update metadata by ids
|
|
1148
|
+
* @param {AccessProfilesApiUpdateAccessProfilesMetadataByIdsV1Request} requestParameters Request parameters.
|
|
1149
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1150
|
+
* @throws {RequiredError}
|
|
1151
|
+
*/
|
|
1152
|
+
updateAccessProfilesMetadataByIdsV1: function (requestParameters, axiosOptions) {
|
|
1153
|
+
return localVarFp.updateAccessProfilesMetadataByIdsV1(requestParameters.accessprofilemetadatabulkupdatebyidrequest, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1154
|
+
},
|
|
1155
|
+
/**
|
|
1156
|
+
* 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.
|
|
1157
|
+
* @summary Bulk-update metadata by query
|
|
1158
|
+
* @param {AccessProfilesApiUpdateAccessProfilesMetadataByQueryV1Request} requestParameters Request parameters.
|
|
1159
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1160
|
+
* @throws {RequiredError}
|
|
1161
|
+
*/
|
|
1162
|
+
updateAccessProfilesMetadataByQueryV1: function (requestParameters, axiosOptions) {
|
|
1163
|
+
return localVarFp.updateAccessProfilesMetadataByQueryV1(requestParameters.accessprofilemetadatabulkupdatebyqueryrequest, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1164
|
+
},
|
|
1165
|
+
/**
|
|
1166
|
+
* 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.
|
|
1167
|
+
* @summary Add metadata to access profile
|
|
1168
|
+
* @param {AccessProfilesApiUpdateAttributeKeyAndValueToAccessProfileV1Request} requestParameters Request parameters.
|
|
1169
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1170
|
+
* @throws {RequiredError}
|
|
1171
|
+
*/
|
|
1172
|
+
updateAttributeKeyAndValueToAccessProfileV1: function (requestParameters, axiosOptions) {
|
|
1173
|
+
return localVarFp.updateAttributeKeyAndValueToAccessProfileV1(requestParameters.id, requestParameters.attributeKey, requestParameters.attributeValue, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1174
|
+
},
|
|
783
1175
|
};
|
|
784
1176
|
};
|
|
785
1177
|
exports.AccessProfilesApiFactory = AccessProfilesApiFactory;
|
|
@@ -830,6 +1222,18 @@ var AccessProfilesApi = /** @class */ (function (_super) {
|
|
|
830
1222
|
var _this = this;
|
|
831
1223
|
return (0, exports.AccessProfilesApiFp)(this.configuration).deleteAccessProfilesInBulkV1(requestParameters.accessProfileBulkDeleteRequest, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
832
1224
|
};
|
|
1225
|
+
/**
|
|
1226
|
+
* This API removes a single Access Model Metadata value from an access profile by attribute key and attribute value.
|
|
1227
|
+
* @summary Remove metadata from access profile
|
|
1228
|
+
* @param {AccessProfilesApiDeleteMetadataFromAccessProfileByKeyAndValueV1Request} requestParameters Request parameters.
|
|
1229
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1230
|
+
* @throws {RequiredError}
|
|
1231
|
+
* @memberof AccessProfilesApi
|
|
1232
|
+
*/
|
|
1233
|
+
AccessProfilesApi.prototype.deleteMetadataFromAccessProfileByKeyAndValueV1 = function (requestParameters, axiosOptions) {
|
|
1234
|
+
var _this = this;
|
|
1235
|
+
return (0, exports.AccessProfilesApiFp)(this.configuration).deleteMetadataFromAccessProfileByKeyAndValueV1(requestParameters.id, requestParameters.attributeKey, requestParameters.attributeValue, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1236
|
+
};
|
|
833
1237
|
/**
|
|
834
1238
|
* 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.
|
|
835
1239
|
* @summary List access profile\'s entitlements
|
|
@@ -891,6 +1295,54 @@ var AccessProfilesApi = /** @class */ (function (_super) {
|
|
|
891
1295
|
var _this = this;
|
|
892
1296
|
return (0, exports.AccessProfilesApiFp)(this.configuration).updateAccessProfilesInBulkV1(requestParameters.accessProfileBulkUpdateRequestInner, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
893
1297
|
};
|
|
1298
|
+
/**
|
|
1299
|
+
* 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.
|
|
1300
|
+
* @summary Bulk-update metadata by filter
|
|
1301
|
+
* @param {AccessProfilesApiUpdateAccessProfilesMetadataByFilterV1Request} requestParameters Request parameters.
|
|
1302
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1303
|
+
* @throws {RequiredError}
|
|
1304
|
+
* @memberof AccessProfilesApi
|
|
1305
|
+
*/
|
|
1306
|
+
AccessProfilesApi.prototype.updateAccessProfilesMetadataByFilterV1 = function (requestParameters, axiosOptions) {
|
|
1307
|
+
var _this = this;
|
|
1308
|
+
return (0, exports.AccessProfilesApiFp)(this.configuration).updateAccessProfilesMetadataByFilterV1(requestParameters.accessprofilemetadatabulkupdatebyfilterrequest, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1309
|
+
};
|
|
1310
|
+
/**
|
|
1311
|
+
* 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.
|
|
1312
|
+
* @summary Bulk-update metadata by ids
|
|
1313
|
+
* @param {AccessProfilesApiUpdateAccessProfilesMetadataByIdsV1Request} requestParameters Request parameters.
|
|
1314
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1315
|
+
* @throws {RequiredError}
|
|
1316
|
+
* @memberof AccessProfilesApi
|
|
1317
|
+
*/
|
|
1318
|
+
AccessProfilesApi.prototype.updateAccessProfilesMetadataByIdsV1 = function (requestParameters, axiosOptions) {
|
|
1319
|
+
var _this = this;
|
|
1320
|
+
return (0, exports.AccessProfilesApiFp)(this.configuration).updateAccessProfilesMetadataByIdsV1(requestParameters.accessprofilemetadatabulkupdatebyidrequest, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1321
|
+
};
|
|
1322
|
+
/**
|
|
1323
|
+
* 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.
|
|
1324
|
+
* @summary Bulk-update metadata by query
|
|
1325
|
+
* @param {AccessProfilesApiUpdateAccessProfilesMetadataByQueryV1Request} requestParameters Request parameters.
|
|
1326
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1327
|
+
* @throws {RequiredError}
|
|
1328
|
+
* @memberof AccessProfilesApi
|
|
1329
|
+
*/
|
|
1330
|
+
AccessProfilesApi.prototype.updateAccessProfilesMetadataByQueryV1 = function (requestParameters, axiosOptions) {
|
|
1331
|
+
var _this = this;
|
|
1332
|
+
return (0, exports.AccessProfilesApiFp)(this.configuration).updateAccessProfilesMetadataByQueryV1(requestParameters.accessprofilemetadatabulkupdatebyqueryrequest, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1333
|
+
};
|
|
1334
|
+
/**
|
|
1335
|
+
* 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.
|
|
1336
|
+
* @summary Add metadata to access profile
|
|
1337
|
+
* @param {AccessProfilesApiUpdateAttributeKeyAndValueToAccessProfileV1Request} requestParameters Request parameters.
|
|
1338
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1339
|
+
* @throws {RequiredError}
|
|
1340
|
+
* @memberof AccessProfilesApi
|
|
1341
|
+
*/
|
|
1342
|
+
AccessProfilesApi.prototype.updateAttributeKeyAndValueToAccessProfileV1 = function (requestParameters, axiosOptions) {
|
|
1343
|
+
var _this = this;
|
|
1344
|
+
return (0, exports.AccessProfilesApiFp)(this.configuration).updateAttributeKeyAndValueToAccessProfileV1(requestParameters.id, requestParameters.attributeKey, requestParameters.attributeValue, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1345
|
+
};
|
|
894
1346
|
return AccessProfilesApi;
|
|
895
1347
|
}(base_1.BaseAPI));
|
|
896
1348
|
exports.AccessProfilesApi = AccessProfilesApi;
|