@sailpoint/api-client 2.2.23 → 2.2.25
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_requests/api.d.ts +31 -6
- package/dist/access_requests/api.js +32 -12
- package/dist/access_requests/api.js.map +1 -1
- package/dist/business_applications/api.d.ts +40 -8
- package/dist/business_applications/api.js +52 -20
- package/dist/business_applications/api.js.map +1 -1
- package/dist/esm/access_requests/api.js +32 -12
- package/dist/esm/business_applications/api.js +52 -20
- package/dist/esm/jit_activations/api.js +26 -10
- package/dist/esm/machine_account_mappings/api.js +13 -5
- package/dist/esm/machine_accounts/api.js +430 -0
- package/dist/esm/machine_identities/api.js +117 -45
- package/dist/esm/nerm/common.js +2 -2
- package/dist/esm/nermv2025/common.js +2 -2
- package/dist/esm/public_machine_identities/api.js +13 -5
- package/dist/esm/sources/api.js +16 -16
- package/dist/jit_activations/api.d.ts +20 -4
- package/dist/jit_activations/api.js +26 -10
- package/dist/jit_activations/api.js.map +1 -1
- package/dist/machine_account_mappings/api.d.ts +10 -2
- package/dist/machine_account_mappings/api.js +13 -5
- package/dist/machine_account_mappings/api.js.map +1 -1
- package/dist/machine_accounts/api.d.ts +283 -0
- package/dist/machine_accounts/api.js +430 -0
- package/dist/machine_accounts/api.js.map +1 -1
- package/dist/machine_identities/api.d.ts +90 -18
- package/dist/machine_identities/api.js +117 -45
- package/dist/machine_identities/api.js.map +1 -1
- 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/dist/public_machine_identities/api.d.ts +10 -2
- package/dist/public_machine_identities/api.js +13 -5
- package/dist/public_machine_identities/api.js.map +1 -1
- package/dist/sources/api.d.ts +16 -16
- package/dist/sources/api.js +16 -16
- package/dist/sources/api.js.map +1 -1
- package/package.json +1 -1
|
@@ -249,16 +249,20 @@ var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
249
249
|
* Use this API to create a machine identity. Additional owners may be either up to ten human (IDENTITY) references or exactly one GOVERNANCE_GROUP reference - not both. The maximum supported length for the description field is 2000 characters. When Business Applications is enabled for the tenant, callers may optionally include a single `businessApplicationRefs` entry (`type`=`BUSINESS_APPLICATION`, `id`=BA UUID). The assignment is stored as a `MANUAL` correlation. `correlationType` may be omitted or `MANUAL`; `AUTOMATIC` is rejected (`400`). Unknown BA id returns `404`. More than one ref returns `400`. When Business Applications is not enabled, supplying `businessApplicationRefs` returns `400`. `sanctionedStatus` and `effectiveSanctionedStatus` are read-only and ignored on input.
|
|
250
250
|
* @summary Create machine identity
|
|
251
251
|
* @param {Machineidentityv2} machineidentityv2
|
|
252
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
252
253
|
* @param {*} [axiosOptions] Override http request option.
|
|
253
254
|
* @throws {RequiredError}
|
|
254
255
|
*/
|
|
255
|
-
createMachineIdentityV2: function (machineidentityv2, axiosOptions) {
|
|
256
|
+
createMachineIdentityV2: function (machineidentityv2, xSailPointExperimental, axiosOptions) {
|
|
256
257
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
257
258
|
return __awaiter(_this, void 0, void 0, function () {
|
|
258
259
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
259
260
|
return __generator(this, function (_a) {
|
|
260
261
|
// verify required parameter 'machineidentityv2' is not null or undefined
|
|
261
262
|
(0, common_1.assertParamExists)('createMachineIdentityV2', 'machineidentityv2', machineidentityv2);
|
|
263
|
+
if (xSailPointExperimental === undefined) {
|
|
264
|
+
xSailPointExperimental = 'true';
|
|
265
|
+
}
|
|
262
266
|
localVarPath = "/machine-identities/v2";
|
|
263
267
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
264
268
|
if (configuration) {
|
|
@@ -268,6 +272,9 @@ var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
268
272
|
localVarHeaderParameter = {};
|
|
269
273
|
localVarQueryParameter = {};
|
|
270
274
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
275
|
+
if (xSailPointExperimental != null) {
|
|
276
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
277
|
+
}
|
|
271
278
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
272
279
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
273
280
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -323,16 +330,20 @@ var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
323
330
|
* The API returns a successful response if the requested machine identity was deleted.
|
|
324
331
|
* @summary Delete machine identity
|
|
325
332
|
* @param {string} id Machine Identity ID.
|
|
333
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
326
334
|
* @param {*} [axiosOptions] Override http request option.
|
|
327
335
|
* @throws {RequiredError}
|
|
328
336
|
*/
|
|
329
|
-
deleteMachineIdentityV2: function (id, axiosOptions) {
|
|
337
|
+
deleteMachineIdentityV2: function (id, xSailPointExperimental, axiosOptions) {
|
|
330
338
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
331
339
|
return __awaiter(_this, void 0, void 0, function () {
|
|
332
340
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
333
341
|
return __generator(this, function (_a) {
|
|
334
342
|
// verify required parameter 'id' is not null or undefined
|
|
335
343
|
(0, common_1.assertParamExists)('deleteMachineIdentityV2', 'id', id);
|
|
344
|
+
if (xSailPointExperimental === undefined) {
|
|
345
|
+
xSailPointExperimental = 'true';
|
|
346
|
+
}
|
|
336
347
|
localVarPath = "/machine-identities/v2/{id}"
|
|
337
348
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
338
349
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -342,6 +353,9 @@ var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
342
353
|
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), axiosOptions);
|
|
343
354
|
localVarHeaderParameter = {};
|
|
344
355
|
localVarQueryParameter = {};
|
|
356
|
+
if (xSailPointExperimental != null) {
|
|
357
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
358
|
+
}
|
|
345
359
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
346
360
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
347
361
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -358,10 +372,11 @@ var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
358
372
|
* @param {string} sourceId The Source ID.
|
|
359
373
|
* @param {string} resourceId The source resource ID (for example, account or aws:iam-role).
|
|
360
374
|
* @param {string} configId The correlation config ID.
|
|
375
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
361
376
|
* @param {*} [axiosOptions] Override http request option.
|
|
362
377
|
* @throws {RequiredError}
|
|
363
378
|
*/
|
|
364
|
-
deleteOwnershipCorrelationConfigV1: function (sourceId, resourceId, configId, axiosOptions) {
|
|
379
|
+
deleteOwnershipCorrelationConfigV1: function (sourceId, resourceId, configId, xSailPointExperimental, axiosOptions) {
|
|
365
380
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
366
381
|
return __awaiter(_this, void 0, void 0, function () {
|
|
367
382
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -372,6 +387,9 @@ var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
372
387
|
(0, common_1.assertParamExists)('deleteOwnershipCorrelationConfigV1', 'resourceId', resourceId);
|
|
373
388
|
// verify required parameter 'configId' is not null or undefined
|
|
374
389
|
(0, common_1.assertParamExists)('deleteOwnershipCorrelationConfigV1', 'configId', configId);
|
|
390
|
+
if (xSailPointExperimental === undefined) {
|
|
391
|
+
xSailPointExperimental = 'true';
|
|
392
|
+
}
|
|
375
393
|
localVarPath = "/sources/v1/{sourceId}/resources/{resourceId}/correlation-configs/{configId}"
|
|
376
394
|
.replace("{".concat("sourceId", "}"), encodeURIComponent(String(sourceId)))
|
|
377
395
|
.replace("{".concat("resourceId", "}"), encodeURIComponent(String(resourceId)))
|
|
@@ -383,6 +401,9 @@ var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
383
401
|
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), axiosOptions);
|
|
384
402
|
localVarHeaderParameter = {};
|
|
385
403
|
localVarQueryParameter = {};
|
|
404
|
+
if (xSailPointExperimental != null) {
|
|
405
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
406
|
+
}
|
|
386
407
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
387
408
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
388
409
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -437,16 +458,20 @@ var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
437
458
|
* This API returns a single machine identity using the Machine Identity ID.
|
|
438
459
|
* @summary Get machine identity details
|
|
439
460
|
* @param {string} id Machine Identity ID.
|
|
461
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
440
462
|
* @param {*} [axiosOptions] Override http request option.
|
|
441
463
|
* @throws {RequiredError}
|
|
442
464
|
*/
|
|
443
|
-
getMachineIdentityV2: function (id, axiosOptions) {
|
|
465
|
+
getMachineIdentityV2: function (id, xSailPointExperimental, axiosOptions) {
|
|
444
466
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
445
467
|
return __awaiter(_this, void 0, void 0, function () {
|
|
446
468
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
447
469
|
return __generator(this, function (_a) {
|
|
448
470
|
// verify required parameter 'id' is not null or undefined
|
|
449
471
|
(0, common_1.assertParamExists)('getMachineIdentityV2', 'id', id);
|
|
472
|
+
if (xSailPointExperimental === undefined) {
|
|
473
|
+
xSailPointExperimental = 'true';
|
|
474
|
+
}
|
|
450
475
|
localVarPath = "/machine-identities/v2/{id}"
|
|
451
476
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
452
477
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -456,6 +481,9 @@ var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
456
481
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
457
482
|
localVarHeaderParameter = {};
|
|
458
483
|
localVarQueryParameter = {};
|
|
484
|
+
if (xSailPointExperimental != null) {
|
|
485
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
486
|
+
}
|
|
459
487
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
460
488
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
461
489
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -472,10 +500,11 @@ var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
472
500
|
* @param {string} sourceId The Source ID.
|
|
473
501
|
* @param {string} resourceId The source resource ID (for example, account or aws:iam-role).
|
|
474
502
|
* @param {string} configId The correlation config ID.
|
|
503
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
475
504
|
* @param {*} [axiosOptions] Override http request option.
|
|
476
505
|
* @throws {RequiredError}
|
|
477
506
|
*/
|
|
478
|
-
getOwnershipCorrelationConfigV1: function (sourceId, resourceId, configId, axiosOptions) {
|
|
507
|
+
getOwnershipCorrelationConfigV1: function (sourceId, resourceId, configId, xSailPointExperimental, axiosOptions) {
|
|
479
508
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
480
509
|
return __awaiter(_this, void 0, void 0, function () {
|
|
481
510
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -486,6 +515,9 @@ var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
486
515
|
(0, common_1.assertParamExists)('getOwnershipCorrelationConfigV1', 'resourceId', resourceId);
|
|
487
516
|
// verify required parameter 'configId' is not null or undefined
|
|
488
517
|
(0, common_1.assertParamExists)('getOwnershipCorrelationConfigV1', 'configId', configId);
|
|
518
|
+
if (xSailPointExperimental === undefined) {
|
|
519
|
+
xSailPointExperimental = 'true';
|
|
520
|
+
}
|
|
489
521
|
localVarPath = "/sources/v1/{sourceId}/resources/{resourceId}/correlation-configs/{configId}"
|
|
490
522
|
.replace("{".concat("sourceId", "}"), encodeURIComponent(String(sourceId)))
|
|
491
523
|
.replace("{".concat("resourceId", "}"), encodeURIComponent(String(resourceId)))
|
|
@@ -497,6 +529,9 @@ var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
497
529
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
498
530
|
localVarHeaderParameter = {};
|
|
499
531
|
localVarQueryParameter = {};
|
|
532
|
+
if (xSailPointExperimental != null) {
|
|
533
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
534
|
+
}
|
|
500
535
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
501
536
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
502
537
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -607,14 +642,18 @@ var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
607
642
|
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
608
643
|
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
609
644
|
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
645
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
610
646
|
* @param {*} [axiosOptions] Override http request option.
|
|
611
647
|
* @throws {RequiredError}
|
|
612
648
|
*/
|
|
613
|
-
listMachineIdentitiesV2: function (filters, sorters, count, limit, offset, axiosOptions) {
|
|
649
|
+
listMachineIdentitiesV2: function (filters, sorters, count, limit, offset, xSailPointExperimental, axiosOptions) {
|
|
614
650
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
615
651
|
return __awaiter(_this, void 0, void 0, function () {
|
|
616
652
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
617
653
|
return __generator(this, function (_a) {
|
|
654
|
+
if (xSailPointExperimental === undefined) {
|
|
655
|
+
xSailPointExperimental = 'true';
|
|
656
|
+
}
|
|
618
657
|
localVarPath = "/machine-identities/v2";
|
|
619
658
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
620
659
|
if (configuration) {
|
|
@@ -638,6 +677,9 @@ var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
638
677
|
if (offset !== undefined) {
|
|
639
678
|
localVarQueryParameter['offset'] = offset;
|
|
640
679
|
}
|
|
680
|
+
if (xSailPointExperimental != null) {
|
|
681
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
682
|
+
}
|
|
641
683
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
642
684
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
643
685
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -769,10 +811,11 @@ var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
769
811
|
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
770
812
|
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
771
813
|
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
814
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
772
815
|
* @param {*} [axiosOptions] Override http request option.
|
|
773
816
|
* @throws {RequiredError}
|
|
774
817
|
*/
|
|
775
|
-
listOwnershipCorrelationConfigsV1: function (sourceId, resourceId, type, count, limit, offset, axiosOptions) {
|
|
818
|
+
listOwnershipCorrelationConfigsV1: function (sourceId, resourceId, type, count, limit, offset, xSailPointExperimental, axiosOptions) {
|
|
776
819
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
777
820
|
return __awaiter(_this, void 0, void 0, function () {
|
|
778
821
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -781,6 +824,9 @@ var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
781
824
|
(0, common_1.assertParamExists)('listOwnershipCorrelationConfigsV1', 'sourceId', sourceId);
|
|
782
825
|
// verify required parameter 'resourceId' is not null or undefined
|
|
783
826
|
(0, common_1.assertParamExists)('listOwnershipCorrelationConfigsV1', 'resourceId', resourceId);
|
|
827
|
+
if (xSailPointExperimental === undefined) {
|
|
828
|
+
xSailPointExperimental = 'true';
|
|
829
|
+
}
|
|
784
830
|
localVarPath = "/sources/v1/{sourceId}/resources/{resourceId}/correlation-configs"
|
|
785
831
|
.replace("{".concat("sourceId", "}"), encodeURIComponent(String(sourceId)))
|
|
786
832
|
.replace("{".concat("resourceId", "}"), encodeURIComponent(String(resourceId)));
|
|
@@ -803,6 +849,9 @@ var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
803
849
|
if (offset !== undefined) {
|
|
804
850
|
localVarQueryParameter['offset'] = offset;
|
|
805
851
|
}
|
|
852
|
+
if (xSailPointExperimental != null) {
|
|
853
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
854
|
+
}
|
|
806
855
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
807
856
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
808
857
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -820,10 +869,11 @@ var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
820
869
|
* @param {string} resourceId The source resource ID (for example, account or aws:iam-role).
|
|
821
870
|
* @param {string} configId The correlation config ID.
|
|
822
871
|
* @param {Array<JsonPatchOperation>} jsonPatchOperation The JSONPatch payload used to update the correlation config.
|
|
872
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
823
873
|
* @param {*} [axiosOptions] Override http request option.
|
|
824
874
|
* @throws {RequiredError}
|
|
825
875
|
*/
|
|
826
|
-
patchOwnershipCorrelationConfigV1: function (sourceId, resourceId, configId, jsonPatchOperation, axiosOptions) {
|
|
876
|
+
patchOwnershipCorrelationConfigV1: function (sourceId, resourceId, configId, jsonPatchOperation, xSailPointExperimental, axiosOptions) {
|
|
827
877
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
828
878
|
return __awaiter(_this, void 0, void 0, function () {
|
|
829
879
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -836,6 +886,9 @@ var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
836
886
|
(0, common_1.assertParamExists)('patchOwnershipCorrelationConfigV1', 'configId', configId);
|
|
837
887
|
// verify required parameter 'jsonPatchOperation' is not null or undefined
|
|
838
888
|
(0, common_1.assertParamExists)('patchOwnershipCorrelationConfigV1', 'jsonPatchOperation', jsonPatchOperation);
|
|
889
|
+
if (xSailPointExperimental === undefined) {
|
|
890
|
+
xSailPointExperimental = 'true';
|
|
891
|
+
}
|
|
839
892
|
localVarPath = "/sources/v1/{sourceId}/resources/{resourceId}/correlation-configs/{configId}"
|
|
840
893
|
.replace("{".concat("sourceId", "}"), encodeURIComponent(String(sourceId)))
|
|
841
894
|
.replace("{".concat("resourceId", "}"), encodeURIComponent(String(resourceId)))
|
|
@@ -848,6 +901,9 @@ var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
848
901
|
localVarHeaderParameter = {};
|
|
849
902
|
localVarQueryParameter = {};
|
|
850
903
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
904
|
+
if (xSailPointExperimental != null) {
|
|
905
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
906
|
+
}
|
|
851
907
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
852
908
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
853
909
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -954,10 +1010,11 @@ var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
954
1010
|
* @summary Partial update of machine identity
|
|
955
1011
|
* @param {string} id Machine Identity ID.
|
|
956
1012
|
* @param {Array<JsonPatchOperation>} jsonPatchOperation A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
1013
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
957
1014
|
* @param {*} [axiosOptions] Override http request option.
|
|
958
1015
|
* @throws {RequiredError}
|
|
959
1016
|
*/
|
|
960
|
-
updateMachineIdentityV2: function (id, jsonPatchOperation, axiosOptions) {
|
|
1017
|
+
updateMachineIdentityV2: function (id, jsonPatchOperation, xSailPointExperimental, axiosOptions) {
|
|
961
1018
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
962
1019
|
return __awaiter(_this, void 0, void 0, function () {
|
|
963
1020
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -966,6 +1023,9 @@ var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
966
1023
|
(0, common_1.assertParamExists)('updateMachineIdentityV2', 'id', id);
|
|
967
1024
|
// verify required parameter 'jsonPatchOperation' is not null or undefined
|
|
968
1025
|
(0, common_1.assertParamExists)('updateMachineIdentityV2', 'jsonPatchOperation', jsonPatchOperation);
|
|
1026
|
+
if (xSailPointExperimental === undefined) {
|
|
1027
|
+
xSailPointExperimental = 'true';
|
|
1028
|
+
}
|
|
969
1029
|
localVarPath = "/machine-identities/v2/{id}"
|
|
970
1030
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
971
1031
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -976,6 +1036,9 @@ var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
976
1036
|
localVarHeaderParameter = {};
|
|
977
1037
|
localVarQueryParameter = {};
|
|
978
1038
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
1039
|
+
if (xSailPointExperimental != null) {
|
|
1040
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
1041
|
+
}
|
|
979
1042
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
980
1043
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
981
1044
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -1025,16 +1088,17 @@ var MachineIdentitiesApiFp = function (configuration) {
|
|
|
1025
1088
|
* Use this API to create a machine identity. Additional owners may be either up to ten human (IDENTITY) references or exactly one GOVERNANCE_GROUP reference - not both. The maximum supported length for the description field is 2000 characters. When Business Applications is enabled for the tenant, callers may optionally include a single `businessApplicationRefs` entry (`type`=`BUSINESS_APPLICATION`, `id`=BA UUID). The assignment is stored as a `MANUAL` correlation. `correlationType` may be omitted or `MANUAL`; `AUTOMATIC` is rejected (`400`). Unknown BA id returns `404`. More than one ref returns `400`. When Business Applications is not enabled, supplying `businessApplicationRefs` returns `400`. `sanctionedStatus` and `effectiveSanctionedStatus` are read-only and ignored on input.
|
|
1026
1089
|
* @summary Create machine identity
|
|
1027
1090
|
* @param {Machineidentityv2} machineidentityv2
|
|
1091
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1028
1092
|
* @param {*} [axiosOptions] Override http request option.
|
|
1029
1093
|
* @throws {RequiredError}
|
|
1030
1094
|
*/
|
|
1031
|
-
createMachineIdentityV2: function (machineidentityv2, axiosOptions) {
|
|
1095
|
+
createMachineIdentityV2: function (machineidentityv2, xSailPointExperimental, axiosOptions) {
|
|
1032
1096
|
var _a, _b, _c;
|
|
1033
1097
|
return __awaiter(this, void 0, void 0, function () {
|
|
1034
1098
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1035
1099
|
return __generator(this, function (_d) {
|
|
1036
1100
|
switch (_d.label) {
|
|
1037
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createMachineIdentityV2(machineidentityv2, axiosOptions)];
|
|
1101
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createMachineIdentityV2(machineidentityv2, xSailPointExperimental, axiosOptions)];
|
|
1038
1102
|
case 1:
|
|
1039
1103
|
localVarAxiosArgs = _d.sent();
|
|
1040
1104
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -1072,16 +1136,17 @@ var MachineIdentitiesApiFp = function (configuration) {
|
|
|
1072
1136
|
* The API returns a successful response if the requested machine identity was deleted.
|
|
1073
1137
|
* @summary Delete machine identity
|
|
1074
1138
|
* @param {string} id Machine Identity ID.
|
|
1139
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1075
1140
|
* @param {*} [axiosOptions] Override http request option.
|
|
1076
1141
|
* @throws {RequiredError}
|
|
1077
1142
|
*/
|
|
1078
|
-
deleteMachineIdentityV2: function (id, axiosOptions) {
|
|
1143
|
+
deleteMachineIdentityV2: function (id, xSailPointExperimental, axiosOptions) {
|
|
1079
1144
|
var _a, _b, _c;
|
|
1080
1145
|
return __awaiter(this, void 0, void 0, function () {
|
|
1081
1146
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1082
1147
|
return __generator(this, function (_d) {
|
|
1083
1148
|
switch (_d.label) {
|
|
1084
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteMachineIdentityV2(id, axiosOptions)];
|
|
1149
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteMachineIdentityV2(id, xSailPointExperimental, axiosOptions)];
|
|
1085
1150
|
case 1:
|
|
1086
1151
|
localVarAxiosArgs = _d.sent();
|
|
1087
1152
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -1097,16 +1162,17 @@ var MachineIdentitiesApiFp = function (configuration) {
|
|
|
1097
1162
|
* @param {string} sourceId The Source ID.
|
|
1098
1163
|
* @param {string} resourceId The source resource ID (for example, account or aws:iam-role).
|
|
1099
1164
|
* @param {string} configId The correlation config ID.
|
|
1165
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1100
1166
|
* @param {*} [axiosOptions] Override http request option.
|
|
1101
1167
|
* @throws {RequiredError}
|
|
1102
1168
|
*/
|
|
1103
|
-
deleteOwnershipCorrelationConfigV1: function (sourceId, resourceId, configId, axiosOptions) {
|
|
1169
|
+
deleteOwnershipCorrelationConfigV1: function (sourceId, resourceId, configId, xSailPointExperimental, axiosOptions) {
|
|
1104
1170
|
var _a, _b, _c;
|
|
1105
1171
|
return __awaiter(this, void 0, void 0, function () {
|
|
1106
1172
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1107
1173
|
return __generator(this, function (_d) {
|
|
1108
1174
|
switch (_d.label) {
|
|
1109
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteOwnershipCorrelationConfigV1(sourceId, resourceId, configId, axiosOptions)];
|
|
1175
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteOwnershipCorrelationConfigV1(sourceId, resourceId, configId, xSailPointExperimental, axiosOptions)];
|
|
1110
1176
|
case 1:
|
|
1111
1177
|
localVarAxiosArgs = _d.sent();
|
|
1112
1178
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -1144,16 +1210,17 @@ var MachineIdentitiesApiFp = function (configuration) {
|
|
|
1144
1210
|
* This API returns a single machine identity using the Machine Identity ID.
|
|
1145
1211
|
* @summary Get machine identity details
|
|
1146
1212
|
* @param {string} id Machine Identity ID.
|
|
1213
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1147
1214
|
* @param {*} [axiosOptions] Override http request option.
|
|
1148
1215
|
* @throws {RequiredError}
|
|
1149
1216
|
*/
|
|
1150
|
-
getMachineIdentityV2: function (id, axiosOptions) {
|
|
1217
|
+
getMachineIdentityV2: function (id, xSailPointExperimental, axiosOptions) {
|
|
1151
1218
|
var _a, _b, _c;
|
|
1152
1219
|
return __awaiter(this, void 0, void 0, function () {
|
|
1153
1220
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1154
1221
|
return __generator(this, function (_d) {
|
|
1155
1222
|
switch (_d.label) {
|
|
1156
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getMachineIdentityV2(id, axiosOptions)];
|
|
1223
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getMachineIdentityV2(id, xSailPointExperimental, axiosOptions)];
|
|
1157
1224
|
case 1:
|
|
1158
1225
|
localVarAxiosArgs = _d.sent();
|
|
1159
1226
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -1169,16 +1236,17 @@ var MachineIdentitiesApiFp = function (configuration) {
|
|
|
1169
1236
|
* @param {string} sourceId The Source ID.
|
|
1170
1237
|
* @param {string} resourceId The source resource ID (for example, account or aws:iam-role).
|
|
1171
1238
|
* @param {string} configId The correlation config ID.
|
|
1239
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1172
1240
|
* @param {*} [axiosOptions] Override http request option.
|
|
1173
1241
|
* @throws {RequiredError}
|
|
1174
1242
|
*/
|
|
1175
|
-
getOwnershipCorrelationConfigV1: function (sourceId, resourceId, configId, axiosOptions) {
|
|
1243
|
+
getOwnershipCorrelationConfigV1: function (sourceId, resourceId, configId, xSailPointExperimental, axiosOptions) {
|
|
1176
1244
|
var _a, _b, _c;
|
|
1177
1245
|
return __awaiter(this, void 0, void 0, function () {
|
|
1178
1246
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1179
1247
|
return __generator(this, function (_d) {
|
|
1180
1248
|
switch (_d.label) {
|
|
1181
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getOwnershipCorrelationConfigV1(sourceId, resourceId, configId, axiosOptions)];
|
|
1249
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getOwnershipCorrelationConfigV1(sourceId, resourceId, configId, xSailPointExperimental, axiosOptions)];
|
|
1182
1250
|
case 1:
|
|
1183
1251
|
localVarAxiosArgs = _d.sent();
|
|
1184
1252
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -1247,16 +1315,17 @@ var MachineIdentitiesApiFp = function (configuration) {
|
|
|
1247
1315
|
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
1248
1316
|
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
1249
1317
|
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
1318
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1250
1319
|
* @param {*} [axiosOptions] Override http request option.
|
|
1251
1320
|
* @throws {RequiredError}
|
|
1252
1321
|
*/
|
|
1253
|
-
listMachineIdentitiesV2: function (filters, sorters, count, limit, offset, axiosOptions) {
|
|
1322
|
+
listMachineIdentitiesV2: function (filters, sorters, count, limit, offset, xSailPointExperimental, axiosOptions) {
|
|
1254
1323
|
var _a, _b, _c;
|
|
1255
1324
|
return __awaiter(this, void 0, void 0, function () {
|
|
1256
1325
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1257
1326
|
return __generator(this, function (_d) {
|
|
1258
1327
|
switch (_d.label) {
|
|
1259
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listMachineIdentitiesV2(filters, sorters, count, limit, offset, axiosOptions)];
|
|
1328
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listMachineIdentitiesV2(filters, sorters, count, limit, offset, xSailPointExperimental, axiosOptions)];
|
|
1260
1329
|
case 1:
|
|
1261
1330
|
localVarAxiosArgs = _d.sent();
|
|
1262
1331
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -1331,16 +1400,17 @@ var MachineIdentitiesApiFp = function (configuration) {
|
|
|
1331
1400
|
* @param {boolean} [count] If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
1332
1401
|
* @param {number} [limit] Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
1333
1402
|
* @param {number} [offset] Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
1403
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1334
1404
|
* @param {*} [axiosOptions] Override http request option.
|
|
1335
1405
|
* @throws {RequiredError}
|
|
1336
1406
|
*/
|
|
1337
|
-
listOwnershipCorrelationConfigsV1: function (sourceId, resourceId, type, count, limit, offset, axiosOptions) {
|
|
1407
|
+
listOwnershipCorrelationConfigsV1: function (sourceId, resourceId, type, count, limit, offset, xSailPointExperimental, axiosOptions) {
|
|
1338
1408
|
var _a, _b, _c;
|
|
1339
1409
|
return __awaiter(this, void 0, void 0, function () {
|
|
1340
1410
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1341
1411
|
return __generator(this, function (_d) {
|
|
1342
1412
|
switch (_d.label) {
|
|
1343
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listOwnershipCorrelationConfigsV1(sourceId, resourceId, type, count, limit, offset, axiosOptions)];
|
|
1413
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listOwnershipCorrelationConfigsV1(sourceId, resourceId, type, count, limit, offset, xSailPointExperimental, axiosOptions)];
|
|
1344
1414
|
case 1:
|
|
1345
1415
|
localVarAxiosArgs = _d.sent();
|
|
1346
1416
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -1357,16 +1427,17 @@ var MachineIdentitiesApiFp = function (configuration) {
|
|
|
1357
1427
|
* @param {string} resourceId The source resource ID (for example, account or aws:iam-role).
|
|
1358
1428
|
* @param {string} configId The correlation config ID.
|
|
1359
1429
|
* @param {Array<JsonPatchOperation>} jsonPatchOperation The JSONPatch payload used to update the correlation config.
|
|
1430
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1360
1431
|
* @param {*} [axiosOptions] Override http request option.
|
|
1361
1432
|
* @throws {RequiredError}
|
|
1362
1433
|
*/
|
|
1363
|
-
patchOwnershipCorrelationConfigV1: function (sourceId, resourceId, configId, jsonPatchOperation, axiosOptions) {
|
|
1434
|
+
patchOwnershipCorrelationConfigV1: function (sourceId, resourceId, configId, jsonPatchOperation, xSailPointExperimental, axiosOptions) {
|
|
1364
1435
|
var _a, _b, _c;
|
|
1365
1436
|
return __awaiter(this, void 0, void 0, function () {
|
|
1366
1437
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1367
1438
|
return __generator(this, function (_d) {
|
|
1368
1439
|
switch (_d.label) {
|
|
1369
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchOwnershipCorrelationConfigV1(sourceId, resourceId, configId, jsonPatchOperation, axiosOptions)];
|
|
1440
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchOwnershipCorrelationConfigV1(sourceId, resourceId, configId, jsonPatchOperation, xSailPointExperimental, axiosOptions)];
|
|
1370
1441
|
case 1:
|
|
1371
1442
|
localVarAxiosArgs = _d.sent();
|
|
1372
1443
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -1431,16 +1502,17 @@ var MachineIdentitiesApiFp = function (configuration) {
|
|
|
1431
1502
|
* @summary Partial update of machine identity
|
|
1432
1503
|
* @param {string} id Machine Identity ID.
|
|
1433
1504
|
* @param {Array<JsonPatchOperation>} jsonPatchOperation A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
1505
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1434
1506
|
* @param {*} [axiosOptions] Override http request option.
|
|
1435
1507
|
* @throws {RequiredError}
|
|
1436
1508
|
*/
|
|
1437
|
-
updateMachineIdentityV2: function (id, jsonPatchOperation, axiosOptions) {
|
|
1509
|
+
updateMachineIdentityV2: function (id, jsonPatchOperation, xSailPointExperimental, axiosOptions) {
|
|
1438
1510
|
var _a, _b, _c;
|
|
1439
1511
|
return __awaiter(this, void 0, void 0, function () {
|
|
1440
1512
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1441
1513
|
return __generator(this, function (_d) {
|
|
1442
1514
|
switch (_d.label) {
|
|
1443
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateMachineIdentityV2(id, jsonPatchOperation, axiosOptions)];
|
|
1515
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateMachineIdentityV2(id, jsonPatchOperation, xSailPointExperimental, axiosOptions)];
|
|
1444
1516
|
case 1:
|
|
1445
1517
|
localVarAxiosArgs = _d.sent();
|
|
1446
1518
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -1478,7 +1550,7 @@ var MachineIdentitiesApiFactory = function (configuration, basePath, axios) {
|
|
|
1478
1550
|
* @throws {RequiredError}
|
|
1479
1551
|
*/
|
|
1480
1552
|
createMachineIdentityV2: function (requestParameters, axiosOptions) {
|
|
1481
|
-
return localVarFp.createMachineIdentityV2(requestParameters.machineidentityv2, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1553
|
+
return localVarFp.createMachineIdentityV2(requestParameters.machineidentityv2, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1482
1554
|
},
|
|
1483
1555
|
/**
|
|
1484
1556
|
* The API returns successful response if the requested machine identity was deleted.
|
|
@@ -1498,7 +1570,7 @@ var MachineIdentitiesApiFactory = function (configuration, basePath, axios) {
|
|
|
1498
1570
|
* @throws {RequiredError}
|
|
1499
1571
|
*/
|
|
1500
1572
|
deleteMachineIdentityV2: function (requestParameters, axiosOptions) {
|
|
1501
|
-
return localVarFp.deleteMachineIdentityV2(requestParameters.id, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1573
|
+
return localVarFp.deleteMachineIdentityV2(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1502
1574
|
},
|
|
1503
1575
|
/**
|
|
1504
1576
|
* Deletes the ownership correlation config with the specified ID for the given source resource.
|
|
@@ -1508,7 +1580,7 @@ var MachineIdentitiesApiFactory = function (configuration, basePath, axios) {
|
|
|
1508
1580
|
* @throws {RequiredError}
|
|
1509
1581
|
*/
|
|
1510
1582
|
deleteOwnershipCorrelationConfigV1: function (requestParameters, axiosOptions) {
|
|
1511
|
-
return localVarFp.deleteOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1583
|
+
return localVarFp.deleteOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1512
1584
|
},
|
|
1513
1585
|
/**
|
|
1514
1586
|
* This API returns a single machine identity using the Machine Identity ID.
|
|
@@ -1528,7 +1600,7 @@ var MachineIdentitiesApiFactory = function (configuration, basePath, axios) {
|
|
|
1528
1600
|
* @throws {RequiredError}
|
|
1529
1601
|
*/
|
|
1530
1602
|
getMachineIdentityV2: function (requestParameters, axiosOptions) {
|
|
1531
|
-
return localVarFp.getMachineIdentityV2(requestParameters.id, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1603
|
+
return localVarFp.getMachineIdentityV2(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1532
1604
|
},
|
|
1533
1605
|
/**
|
|
1534
1606
|
* This end-point retrieves a single ownership correlation config by ID for the specified source resource.
|
|
@@ -1538,7 +1610,7 @@ var MachineIdentitiesApiFactory = function (configuration, basePath, axios) {
|
|
|
1538
1610
|
* @throws {RequiredError}
|
|
1539
1611
|
*/
|
|
1540
1612
|
getOwnershipCorrelationConfigV1: function (requestParameters, axiosOptions) {
|
|
1541
|
-
return localVarFp.getOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1613
|
+
return localVarFp.getOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1542
1614
|
},
|
|
1543
1615
|
/**
|
|
1544
1616
|
* Returns aggregate counts (distinct agents, distinct owners, and total events) for anomalies of type **unsanctioned_app** across the tenant. Powers the Unsanctioned Agents card on the Agent Registry page.
|
|
@@ -1571,7 +1643,7 @@ var MachineIdentitiesApiFactory = function (configuration, basePath, axios) {
|
|
|
1571
1643
|
*/
|
|
1572
1644
|
listMachineIdentitiesV2: function (requestParameters, axiosOptions) {
|
|
1573
1645
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1574
|
-
return localVarFp.listMachineIdentitiesV2(requestParameters.filters, requestParameters.sorters, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1646
|
+
return localVarFp.listMachineIdentitiesV2(requestParameters.filters, requestParameters.sorters, requestParameters.count, requestParameters.limit, requestParameters.offset, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1575
1647
|
},
|
|
1576
1648
|
/**
|
|
1577
1649
|
* Returns a paginated list of anomalies detected for the specified machine identity (agent). Set **count=true** to populate the *X-Total-Count* response header with the total number of anomalies for the agent. Combine **limit=0** with **count=true** to retrieve only the count with an empty result body.
|
|
@@ -1602,7 +1674,7 @@ var MachineIdentitiesApiFactory = function (configuration, basePath, axios) {
|
|
|
1602
1674
|
* @throws {RequiredError}
|
|
1603
1675
|
*/
|
|
1604
1676
|
listOwnershipCorrelationConfigsV1: function (requestParameters, axiosOptions) {
|
|
1605
|
-
return localVarFp.listOwnershipCorrelationConfigsV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.type, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1677
|
+
return localVarFp.listOwnershipCorrelationConfigsV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.type, requestParameters.count, requestParameters.limit, requestParameters.offset, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1606
1678
|
},
|
|
1607
1679
|
/**
|
|
1608
1680
|
* Selectively updates an ownership correlation config using an RFC 6902 JSONPatch payload. Only replace on /attributes (full object) and replace on /rules (full array; merge by stable rule id, remove rules omitted from the array) are allowed.
|
|
@@ -1612,7 +1684,7 @@ var MachineIdentitiesApiFactory = function (configuration, basePath, axios) {
|
|
|
1612
1684
|
* @throws {RequiredError}
|
|
1613
1685
|
*/
|
|
1614
1686
|
patchOwnershipCorrelationConfigV1: function (requestParameters, axiosOptions) {
|
|
1615
|
-
return localVarFp.patchOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, requestParameters.jsonPatchOperation, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1687
|
+
return localVarFp.patchOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, requestParameters.jsonPatchOperation, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1616
1688
|
},
|
|
1617
1689
|
/**
|
|
1618
1690
|
* Starts a machine identity (AI Agents) aggregation on the specified source.
|
|
@@ -1642,7 +1714,7 @@ var MachineIdentitiesApiFactory = function (configuration, basePath, axios) {
|
|
|
1642
1714
|
* @throws {RequiredError}
|
|
1643
1715
|
*/
|
|
1644
1716
|
updateMachineIdentityV2: function (requestParameters, axiosOptions) {
|
|
1645
|
-
return localVarFp.updateMachineIdentityV2(requestParameters.id, requestParameters.jsonPatchOperation, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1717
|
+
return localVarFp.updateMachineIdentityV2(requestParameters.id, requestParameters.jsonPatchOperation, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1646
1718
|
},
|
|
1647
1719
|
};
|
|
1648
1720
|
};
|
|
@@ -1680,7 +1752,7 @@ var MachineIdentitiesApi = /** @class */ (function (_super) {
|
|
|
1680
1752
|
*/
|
|
1681
1753
|
MachineIdentitiesApi.prototype.createMachineIdentityV2 = function (requestParameters, axiosOptions) {
|
|
1682
1754
|
var _this = this;
|
|
1683
|
-
return (0, exports.MachineIdentitiesApiFp)(this.configuration).createMachineIdentityV2(requestParameters.machineidentityv2, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1755
|
+
return (0, exports.MachineIdentitiesApiFp)(this.configuration).createMachineIdentityV2(requestParameters.machineidentityv2, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1684
1756
|
};
|
|
1685
1757
|
/**
|
|
1686
1758
|
* The API returns successful response if the requested machine identity was deleted.
|
|
@@ -1704,7 +1776,7 @@ var MachineIdentitiesApi = /** @class */ (function (_super) {
|
|
|
1704
1776
|
*/
|
|
1705
1777
|
MachineIdentitiesApi.prototype.deleteMachineIdentityV2 = function (requestParameters, axiosOptions) {
|
|
1706
1778
|
var _this = this;
|
|
1707
|
-
return (0, exports.MachineIdentitiesApiFp)(this.configuration).deleteMachineIdentityV2(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1779
|
+
return (0, exports.MachineIdentitiesApiFp)(this.configuration).deleteMachineIdentityV2(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1708
1780
|
};
|
|
1709
1781
|
/**
|
|
1710
1782
|
* Deletes the ownership correlation config with the specified ID for the given source resource.
|
|
@@ -1716,7 +1788,7 @@ var MachineIdentitiesApi = /** @class */ (function (_super) {
|
|
|
1716
1788
|
*/
|
|
1717
1789
|
MachineIdentitiesApi.prototype.deleteOwnershipCorrelationConfigV1 = function (requestParameters, axiosOptions) {
|
|
1718
1790
|
var _this = this;
|
|
1719
|
-
return (0, exports.MachineIdentitiesApiFp)(this.configuration).deleteOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1791
|
+
return (0, exports.MachineIdentitiesApiFp)(this.configuration).deleteOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1720
1792
|
};
|
|
1721
1793
|
/**
|
|
1722
1794
|
* This API returns a single machine identity using the Machine Identity ID.
|
|
@@ -1740,7 +1812,7 @@ var MachineIdentitiesApi = /** @class */ (function (_super) {
|
|
|
1740
1812
|
*/
|
|
1741
1813
|
MachineIdentitiesApi.prototype.getMachineIdentityV2 = function (requestParameters, axiosOptions) {
|
|
1742
1814
|
var _this = this;
|
|
1743
|
-
return (0, exports.MachineIdentitiesApiFp)(this.configuration).getMachineIdentityV2(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1815
|
+
return (0, exports.MachineIdentitiesApiFp)(this.configuration).getMachineIdentityV2(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1744
1816
|
};
|
|
1745
1817
|
/**
|
|
1746
1818
|
* This end-point retrieves a single ownership correlation config by ID for the specified source resource.
|
|
@@ -1752,7 +1824,7 @@ var MachineIdentitiesApi = /** @class */ (function (_super) {
|
|
|
1752
1824
|
*/
|
|
1753
1825
|
MachineIdentitiesApi.prototype.getOwnershipCorrelationConfigV1 = function (requestParameters, axiosOptions) {
|
|
1754
1826
|
var _this = this;
|
|
1755
|
-
return (0, exports.MachineIdentitiesApiFp)(this.configuration).getOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1827
|
+
return (0, exports.MachineIdentitiesApiFp)(this.configuration).getOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1756
1828
|
};
|
|
1757
1829
|
/**
|
|
1758
1830
|
* Returns aggregate counts (distinct agents, distinct owners, and total events) for anomalies of type **unsanctioned_app** across the tenant. Powers the Unsanctioned Agents card on the Agent Registry page.
|
|
@@ -1791,7 +1863,7 @@ var MachineIdentitiesApi = /** @class */ (function (_super) {
|
|
|
1791
1863
|
MachineIdentitiesApi.prototype.listMachineIdentitiesV2 = function (requestParameters, axiosOptions) {
|
|
1792
1864
|
var _this = this;
|
|
1793
1865
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1794
|
-
return (0, exports.MachineIdentitiesApiFp)(this.configuration).listMachineIdentitiesV2(requestParameters.filters, requestParameters.sorters, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1866
|
+
return (0, exports.MachineIdentitiesApiFp)(this.configuration).listMachineIdentitiesV2(requestParameters.filters, requestParameters.sorters, requestParameters.count, requestParameters.limit, requestParameters.offset, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1795
1867
|
};
|
|
1796
1868
|
/**
|
|
1797
1869
|
* Returns a paginated list of anomalies detected for the specified machine identity (agent). Set **count=true** to populate the *X-Total-Count* response header with the total number of anomalies for the agent. Combine **limit=0** with **count=true** to retrieve only the count with an empty result body.
|
|
@@ -1828,7 +1900,7 @@ var MachineIdentitiesApi = /** @class */ (function (_super) {
|
|
|
1828
1900
|
*/
|
|
1829
1901
|
MachineIdentitiesApi.prototype.listOwnershipCorrelationConfigsV1 = function (requestParameters, axiosOptions) {
|
|
1830
1902
|
var _this = this;
|
|
1831
|
-
return (0, exports.MachineIdentitiesApiFp)(this.configuration).listOwnershipCorrelationConfigsV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.type, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1903
|
+
return (0, exports.MachineIdentitiesApiFp)(this.configuration).listOwnershipCorrelationConfigsV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.type, requestParameters.count, requestParameters.limit, requestParameters.offset, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1832
1904
|
};
|
|
1833
1905
|
/**
|
|
1834
1906
|
* Selectively updates an ownership correlation config using an RFC 6902 JSONPatch payload. Only replace on /attributes (full object) and replace on /rules (full array; merge by stable rule id, remove rules omitted from the array) are allowed.
|
|
@@ -1840,7 +1912,7 @@ var MachineIdentitiesApi = /** @class */ (function (_super) {
|
|
|
1840
1912
|
*/
|
|
1841
1913
|
MachineIdentitiesApi.prototype.patchOwnershipCorrelationConfigV1 = function (requestParameters, axiosOptions) {
|
|
1842
1914
|
var _this = this;
|
|
1843
|
-
return (0, exports.MachineIdentitiesApiFp)(this.configuration).patchOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, requestParameters.jsonPatchOperation, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1915
|
+
return (0, exports.MachineIdentitiesApiFp)(this.configuration).patchOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, requestParameters.jsonPatchOperation, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1844
1916
|
};
|
|
1845
1917
|
/**
|
|
1846
1918
|
* Starts a machine identity (AI Agents) aggregation on the specified source.
|
|
@@ -1876,7 +1948,7 @@ var MachineIdentitiesApi = /** @class */ (function (_super) {
|
|
|
1876
1948
|
*/
|
|
1877
1949
|
MachineIdentitiesApi.prototype.updateMachineIdentityV2 = function (requestParameters, axiosOptions) {
|
|
1878
1950
|
var _this = this;
|
|
1879
|
-
return (0, exports.MachineIdentitiesApiFp)(this.configuration).updateMachineIdentityV2(requestParameters.id, requestParameters.jsonPatchOperation, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1951
|
+
return (0, exports.MachineIdentitiesApiFp)(this.configuration).updateMachineIdentityV2(requestParameters.id, requestParameters.jsonPatchOperation, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1880
1952
|
};
|
|
1881
1953
|
return MachineIdentitiesApi;
|
|
1882
1954
|
}(base_1.BaseAPI));
|