@sailpoint/api-client 2.2.24 → 2.2.26
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_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/search/api.js +8 -8
- package/dist/jit_activations/api.d.ts +105 -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_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/search/api.d.ts +8 -8
- package/dist/search/api.js +8 -8
- package/dist/search/api.js.map +1 -1
- package/package.json +1 -1
|
@@ -243,16 +243,20 @@ export var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
243
243
|
* 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.
|
|
244
244
|
* @summary Create machine identity
|
|
245
245
|
* @param {Machineidentityv2} machineidentityv2
|
|
246
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
246
247
|
* @param {*} [axiosOptions] Override http request option.
|
|
247
248
|
* @throws {RequiredError}
|
|
248
249
|
*/
|
|
249
|
-
createMachineIdentityV2: function (machineidentityv2, axiosOptions) {
|
|
250
|
+
createMachineIdentityV2: function (machineidentityv2, xSailPointExperimental, axiosOptions) {
|
|
250
251
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
251
252
|
return __awaiter(_this, void 0, void 0, function () {
|
|
252
253
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
253
254
|
return __generator(this, function (_a) {
|
|
254
255
|
// verify required parameter 'machineidentityv2' is not null or undefined
|
|
255
256
|
assertParamExists('createMachineIdentityV2', 'machineidentityv2', machineidentityv2);
|
|
257
|
+
if (xSailPointExperimental === undefined) {
|
|
258
|
+
xSailPointExperimental = 'true';
|
|
259
|
+
}
|
|
256
260
|
localVarPath = "/machine-identities/v2";
|
|
257
261
|
localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
258
262
|
if (configuration) {
|
|
@@ -262,6 +266,9 @@ export var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
262
266
|
localVarHeaderParameter = {};
|
|
263
267
|
localVarQueryParameter = {};
|
|
264
268
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
269
|
+
if (xSailPointExperimental != null) {
|
|
270
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
271
|
+
}
|
|
265
272
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
266
273
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
267
274
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -317,16 +324,20 @@ export var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
317
324
|
* The API returns a successful response if the requested machine identity was deleted.
|
|
318
325
|
* @summary Delete machine identity
|
|
319
326
|
* @param {string} id Machine Identity ID.
|
|
327
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
320
328
|
* @param {*} [axiosOptions] Override http request option.
|
|
321
329
|
* @throws {RequiredError}
|
|
322
330
|
*/
|
|
323
|
-
deleteMachineIdentityV2: function (id, axiosOptions) {
|
|
331
|
+
deleteMachineIdentityV2: function (id, xSailPointExperimental, axiosOptions) {
|
|
324
332
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
325
333
|
return __awaiter(_this, void 0, void 0, function () {
|
|
326
334
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
327
335
|
return __generator(this, function (_a) {
|
|
328
336
|
// verify required parameter 'id' is not null or undefined
|
|
329
337
|
assertParamExists('deleteMachineIdentityV2', 'id', id);
|
|
338
|
+
if (xSailPointExperimental === undefined) {
|
|
339
|
+
xSailPointExperimental = 'true';
|
|
340
|
+
}
|
|
330
341
|
localVarPath = "/machine-identities/v2/{id}"
|
|
331
342
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
332
343
|
localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -336,6 +347,9 @@ export var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
336
347
|
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), axiosOptions);
|
|
337
348
|
localVarHeaderParameter = {};
|
|
338
349
|
localVarQueryParameter = {};
|
|
350
|
+
if (xSailPointExperimental != null) {
|
|
351
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
352
|
+
}
|
|
339
353
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
340
354
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
341
355
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -352,10 +366,11 @@ export var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
352
366
|
* @param {string} sourceId The Source ID.
|
|
353
367
|
* @param {string} resourceId The source resource ID (for example, account or aws:iam-role).
|
|
354
368
|
* @param {string} configId The correlation config ID.
|
|
369
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
355
370
|
* @param {*} [axiosOptions] Override http request option.
|
|
356
371
|
* @throws {RequiredError}
|
|
357
372
|
*/
|
|
358
|
-
deleteOwnershipCorrelationConfigV1: function (sourceId, resourceId, configId, axiosOptions) {
|
|
373
|
+
deleteOwnershipCorrelationConfigV1: function (sourceId, resourceId, configId, xSailPointExperimental, axiosOptions) {
|
|
359
374
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
360
375
|
return __awaiter(_this, void 0, void 0, function () {
|
|
361
376
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -366,6 +381,9 @@ export var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
366
381
|
assertParamExists('deleteOwnershipCorrelationConfigV1', 'resourceId', resourceId);
|
|
367
382
|
// verify required parameter 'configId' is not null or undefined
|
|
368
383
|
assertParamExists('deleteOwnershipCorrelationConfigV1', 'configId', configId);
|
|
384
|
+
if (xSailPointExperimental === undefined) {
|
|
385
|
+
xSailPointExperimental = 'true';
|
|
386
|
+
}
|
|
369
387
|
localVarPath = "/sources/v1/{sourceId}/resources/{resourceId}/correlation-configs/{configId}"
|
|
370
388
|
.replace("{".concat("sourceId", "}"), encodeURIComponent(String(sourceId)))
|
|
371
389
|
.replace("{".concat("resourceId", "}"), encodeURIComponent(String(resourceId)))
|
|
@@ -377,6 +395,9 @@ export var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
377
395
|
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), axiosOptions);
|
|
378
396
|
localVarHeaderParameter = {};
|
|
379
397
|
localVarQueryParameter = {};
|
|
398
|
+
if (xSailPointExperimental != null) {
|
|
399
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
400
|
+
}
|
|
380
401
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
381
402
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
382
403
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -431,16 +452,20 @@ export var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
431
452
|
* This API returns a single machine identity using the Machine Identity ID.
|
|
432
453
|
* @summary Get machine identity details
|
|
433
454
|
* @param {string} id Machine Identity ID.
|
|
455
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
434
456
|
* @param {*} [axiosOptions] Override http request option.
|
|
435
457
|
* @throws {RequiredError}
|
|
436
458
|
*/
|
|
437
|
-
getMachineIdentityV2: function (id, axiosOptions) {
|
|
459
|
+
getMachineIdentityV2: function (id, xSailPointExperimental, axiosOptions) {
|
|
438
460
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
439
461
|
return __awaiter(_this, void 0, void 0, function () {
|
|
440
462
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
441
463
|
return __generator(this, function (_a) {
|
|
442
464
|
// verify required parameter 'id' is not null or undefined
|
|
443
465
|
assertParamExists('getMachineIdentityV2', 'id', id);
|
|
466
|
+
if (xSailPointExperimental === undefined) {
|
|
467
|
+
xSailPointExperimental = 'true';
|
|
468
|
+
}
|
|
444
469
|
localVarPath = "/machine-identities/v2/{id}"
|
|
445
470
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
446
471
|
localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -450,6 +475,9 @@ export var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
450
475
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
451
476
|
localVarHeaderParameter = {};
|
|
452
477
|
localVarQueryParameter = {};
|
|
478
|
+
if (xSailPointExperimental != null) {
|
|
479
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
480
|
+
}
|
|
453
481
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
454
482
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
455
483
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -466,10 +494,11 @@ export var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
466
494
|
* @param {string} sourceId The Source ID.
|
|
467
495
|
* @param {string} resourceId The source resource ID (for example, account or aws:iam-role).
|
|
468
496
|
* @param {string} configId The correlation config ID.
|
|
497
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
469
498
|
* @param {*} [axiosOptions] Override http request option.
|
|
470
499
|
* @throws {RequiredError}
|
|
471
500
|
*/
|
|
472
|
-
getOwnershipCorrelationConfigV1: function (sourceId, resourceId, configId, axiosOptions) {
|
|
501
|
+
getOwnershipCorrelationConfigV1: function (sourceId, resourceId, configId, xSailPointExperimental, axiosOptions) {
|
|
473
502
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
474
503
|
return __awaiter(_this, void 0, void 0, function () {
|
|
475
504
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -480,6 +509,9 @@ export var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
480
509
|
assertParamExists('getOwnershipCorrelationConfigV1', 'resourceId', resourceId);
|
|
481
510
|
// verify required parameter 'configId' is not null or undefined
|
|
482
511
|
assertParamExists('getOwnershipCorrelationConfigV1', 'configId', configId);
|
|
512
|
+
if (xSailPointExperimental === undefined) {
|
|
513
|
+
xSailPointExperimental = 'true';
|
|
514
|
+
}
|
|
483
515
|
localVarPath = "/sources/v1/{sourceId}/resources/{resourceId}/correlation-configs/{configId}"
|
|
484
516
|
.replace("{".concat("sourceId", "}"), encodeURIComponent(String(sourceId)))
|
|
485
517
|
.replace("{".concat("resourceId", "}"), encodeURIComponent(String(resourceId)))
|
|
@@ -491,6 +523,9 @@ export var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
491
523
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
492
524
|
localVarHeaderParameter = {};
|
|
493
525
|
localVarQueryParameter = {};
|
|
526
|
+
if (xSailPointExperimental != null) {
|
|
527
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
528
|
+
}
|
|
494
529
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
495
530
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
496
531
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -601,14 +636,18 @@ export var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
601
636
|
* @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.
|
|
602
637
|
* @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.
|
|
603
638
|
* @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.
|
|
639
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
604
640
|
* @param {*} [axiosOptions] Override http request option.
|
|
605
641
|
* @throws {RequiredError}
|
|
606
642
|
*/
|
|
607
|
-
listMachineIdentitiesV2: function (filters, sorters, count, limit, offset, axiosOptions) {
|
|
643
|
+
listMachineIdentitiesV2: function (filters, sorters, count, limit, offset, xSailPointExperimental, axiosOptions) {
|
|
608
644
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
609
645
|
return __awaiter(_this, void 0, void 0, function () {
|
|
610
646
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
611
647
|
return __generator(this, function (_a) {
|
|
648
|
+
if (xSailPointExperimental === undefined) {
|
|
649
|
+
xSailPointExperimental = 'true';
|
|
650
|
+
}
|
|
612
651
|
localVarPath = "/machine-identities/v2";
|
|
613
652
|
localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
614
653
|
if (configuration) {
|
|
@@ -632,6 +671,9 @@ export var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
632
671
|
if (offset !== undefined) {
|
|
633
672
|
localVarQueryParameter['offset'] = offset;
|
|
634
673
|
}
|
|
674
|
+
if (xSailPointExperimental != null) {
|
|
675
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
676
|
+
}
|
|
635
677
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
636
678
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
637
679
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -763,10 +805,11 @@ export var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
763
805
|
* @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.
|
|
764
806
|
* @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.
|
|
765
807
|
* @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.
|
|
808
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
766
809
|
* @param {*} [axiosOptions] Override http request option.
|
|
767
810
|
* @throws {RequiredError}
|
|
768
811
|
*/
|
|
769
|
-
listOwnershipCorrelationConfigsV1: function (sourceId, resourceId, type, count, limit, offset, axiosOptions) {
|
|
812
|
+
listOwnershipCorrelationConfigsV1: function (sourceId, resourceId, type, count, limit, offset, xSailPointExperimental, axiosOptions) {
|
|
770
813
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
771
814
|
return __awaiter(_this, void 0, void 0, function () {
|
|
772
815
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -775,6 +818,9 @@ export var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
775
818
|
assertParamExists('listOwnershipCorrelationConfigsV1', 'sourceId', sourceId);
|
|
776
819
|
// verify required parameter 'resourceId' is not null or undefined
|
|
777
820
|
assertParamExists('listOwnershipCorrelationConfigsV1', 'resourceId', resourceId);
|
|
821
|
+
if (xSailPointExperimental === undefined) {
|
|
822
|
+
xSailPointExperimental = 'true';
|
|
823
|
+
}
|
|
778
824
|
localVarPath = "/sources/v1/{sourceId}/resources/{resourceId}/correlation-configs"
|
|
779
825
|
.replace("{".concat("sourceId", "}"), encodeURIComponent(String(sourceId)))
|
|
780
826
|
.replace("{".concat("resourceId", "}"), encodeURIComponent(String(resourceId)));
|
|
@@ -797,6 +843,9 @@ export var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
797
843
|
if (offset !== undefined) {
|
|
798
844
|
localVarQueryParameter['offset'] = offset;
|
|
799
845
|
}
|
|
846
|
+
if (xSailPointExperimental != null) {
|
|
847
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
848
|
+
}
|
|
800
849
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
801
850
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
802
851
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -814,10 +863,11 @@ export var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
814
863
|
* @param {string} resourceId The source resource ID (for example, account or aws:iam-role).
|
|
815
864
|
* @param {string} configId The correlation config ID.
|
|
816
865
|
* @param {Array<JsonPatchOperation>} jsonPatchOperation The JSONPatch payload used to update the correlation config.
|
|
866
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
817
867
|
* @param {*} [axiosOptions] Override http request option.
|
|
818
868
|
* @throws {RequiredError}
|
|
819
869
|
*/
|
|
820
|
-
patchOwnershipCorrelationConfigV1: function (sourceId, resourceId, configId, jsonPatchOperation, axiosOptions) {
|
|
870
|
+
patchOwnershipCorrelationConfigV1: function (sourceId, resourceId, configId, jsonPatchOperation, xSailPointExperimental, axiosOptions) {
|
|
821
871
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
822
872
|
return __awaiter(_this, void 0, void 0, function () {
|
|
823
873
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -830,6 +880,9 @@ export var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
830
880
|
assertParamExists('patchOwnershipCorrelationConfigV1', 'configId', configId);
|
|
831
881
|
// verify required parameter 'jsonPatchOperation' is not null or undefined
|
|
832
882
|
assertParamExists('patchOwnershipCorrelationConfigV1', 'jsonPatchOperation', jsonPatchOperation);
|
|
883
|
+
if (xSailPointExperimental === undefined) {
|
|
884
|
+
xSailPointExperimental = 'true';
|
|
885
|
+
}
|
|
833
886
|
localVarPath = "/sources/v1/{sourceId}/resources/{resourceId}/correlation-configs/{configId}"
|
|
834
887
|
.replace("{".concat("sourceId", "}"), encodeURIComponent(String(sourceId)))
|
|
835
888
|
.replace("{".concat("resourceId", "}"), encodeURIComponent(String(resourceId)))
|
|
@@ -842,6 +895,9 @@ export var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
842
895
|
localVarHeaderParameter = {};
|
|
843
896
|
localVarQueryParameter = {};
|
|
844
897
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
898
|
+
if (xSailPointExperimental != null) {
|
|
899
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
900
|
+
}
|
|
845
901
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
846
902
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
847
903
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -948,10 +1004,11 @@ export var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
948
1004
|
* @summary Partial update of machine identity
|
|
949
1005
|
* @param {string} id Machine Identity ID.
|
|
950
1006
|
* @param {Array<JsonPatchOperation>} jsonPatchOperation A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
1007
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
951
1008
|
* @param {*} [axiosOptions] Override http request option.
|
|
952
1009
|
* @throws {RequiredError}
|
|
953
1010
|
*/
|
|
954
|
-
updateMachineIdentityV2: function (id, jsonPatchOperation, axiosOptions) {
|
|
1011
|
+
updateMachineIdentityV2: function (id, jsonPatchOperation, xSailPointExperimental, axiosOptions) {
|
|
955
1012
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
956
1013
|
return __awaiter(_this, void 0, void 0, function () {
|
|
957
1014
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -960,6 +1017,9 @@ export var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
960
1017
|
assertParamExists('updateMachineIdentityV2', 'id', id);
|
|
961
1018
|
// verify required parameter 'jsonPatchOperation' is not null or undefined
|
|
962
1019
|
assertParamExists('updateMachineIdentityV2', 'jsonPatchOperation', jsonPatchOperation);
|
|
1020
|
+
if (xSailPointExperimental === undefined) {
|
|
1021
|
+
xSailPointExperimental = 'true';
|
|
1022
|
+
}
|
|
963
1023
|
localVarPath = "/machine-identities/v2/{id}"
|
|
964
1024
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
965
1025
|
localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -970,6 +1030,9 @@ export var MachineIdentitiesApiAxiosParamCreator = function (configuration) {
|
|
|
970
1030
|
localVarHeaderParameter = {};
|
|
971
1031
|
localVarQueryParameter = {};
|
|
972
1032
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
1033
|
+
if (xSailPointExperimental != null) {
|
|
1034
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
1035
|
+
}
|
|
973
1036
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
974
1037
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
975
1038
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -1018,16 +1081,17 @@ export var MachineIdentitiesApiFp = function (configuration) {
|
|
|
1018
1081
|
* 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.
|
|
1019
1082
|
* @summary Create machine identity
|
|
1020
1083
|
* @param {Machineidentityv2} machineidentityv2
|
|
1084
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1021
1085
|
* @param {*} [axiosOptions] Override http request option.
|
|
1022
1086
|
* @throws {RequiredError}
|
|
1023
1087
|
*/
|
|
1024
|
-
createMachineIdentityV2: function (machineidentityv2, axiosOptions) {
|
|
1088
|
+
createMachineIdentityV2: function (machineidentityv2, xSailPointExperimental, axiosOptions) {
|
|
1025
1089
|
var _a, _b, _c;
|
|
1026
1090
|
return __awaiter(this, void 0, void 0, function () {
|
|
1027
1091
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1028
1092
|
return __generator(this, function (_d) {
|
|
1029
1093
|
switch (_d.label) {
|
|
1030
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createMachineIdentityV2(machineidentityv2, axiosOptions)];
|
|
1094
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createMachineIdentityV2(machineidentityv2, xSailPointExperimental, axiosOptions)];
|
|
1031
1095
|
case 1:
|
|
1032
1096
|
localVarAxiosArgs = _d.sent();
|
|
1033
1097
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -1065,16 +1129,17 @@ export var MachineIdentitiesApiFp = function (configuration) {
|
|
|
1065
1129
|
* The API returns a successful response if the requested machine identity was deleted.
|
|
1066
1130
|
* @summary Delete machine identity
|
|
1067
1131
|
* @param {string} id Machine Identity ID.
|
|
1132
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1068
1133
|
* @param {*} [axiosOptions] Override http request option.
|
|
1069
1134
|
* @throws {RequiredError}
|
|
1070
1135
|
*/
|
|
1071
|
-
deleteMachineIdentityV2: function (id, axiosOptions) {
|
|
1136
|
+
deleteMachineIdentityV2: function (id, xSailPointExperimental, axiosOptions) {
|
|
1072
1137
|
var _a, _b, _c;
|
|
1073
1138
|
return __awaiter(this, void 0, void 0, function () {
|
|
1074
1139
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1075
1140
|
return __generator(this, function (_d) {
|
|
1076
1141
|
switch (_d.label) {
|
|
1077
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteMachineIdentityV2(id, axiosOptions)];
|
|
1142
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteMachineIdentityV2(id, xSailPointExperimental, axiosOptions)];
|
|
1078
1143
|
case 1:
|
|
1079
1144
|
localVarAxiosArgs = _d.sent();
|
|
1080
1145
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -1090,16 +1155,17 @@ export var MachineIdentitiesApiFp = function (configuration) {
|
|
|
1090
1155
|
* @param {string} sourceId The Source ID.
|
|
1091
1156
|
* @param {string} resourceId The source resource ID (for example, account or aws:iam-role).
|
|
1092
1157
|
* @param {string} configId The correlation config ID.
|
|
1158
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1093
1159
|
* @param {*} [axiosOptions] Override http request option.
|
|
1094
1160
|
* @throws {RequiredError}
|
|
1095
1161
|
*/
|
|
1096
|
-
deleteOwnershipCorrelationConfigV1: function (sourceId, resourceId, configId, axiosOptions) {
|
|
1162
|
+
deleteOwnershipCorrelationConfigV1: function (sourceId, resourceId, configId, xSailPointExperimental, axiosOptions) {
|
|
1097
1163
|
var _a, _b, _c;
|
|
1098
1164
|
return __awaiter(this, void 0, void 0, function () {
|
|
1099
1165
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1100
1166
|
return __generator(this, function (_d) {
|
|
1101
1167
|
switch (_d.label) {
|
|
1102
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteOwnershipCorrelationConfigV1(sourceId, resourceId, configId, axiosOptions)];
|
|
1168
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteOwnershipCorrelationConfigV1(sourceId, resourceId, configId, xSailPointExperimental, axiosOptions)];
|
|
1103
1169
|
case 1:
|
|
1104
1170
|
localVarAxiosArgs = _d.sent();
|
|
1105
1171
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -1137,16 +1203,17 @@ export var MachineIdentitiesApiFp = function (configuration) {
|
|
|
1137
1203
|
* This API returns a single machine identity using the Machine Identity ID.
|
|
1138
1204
|
* @summary Get machine identity details
|
|
1139
1205
|
* @param {string} id Machine Identity ID.
|
|
1206
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1140
1207
|
* @param {*} [axiosOptions] Override http request option.
|
|
1141
1208
|
* @throws {RequiredError}
|
|
1142
1209
|
*/
|
|
1143
|
-
getMachineIdentityV2: function (id, axiosOptions) {
|
|
1210
|
+
getMachineIdentityV2: function (id, xSailPointExperimental, axiosOptions) {
|
|
1144
1211
|
var _a, _b, _c;
|
|
1145
1212
|
return __awaiter(this, void 0, void 0, function () {
|
|
1146
1213
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1147
1214
|
return __generator(this, function (_d) {
|
|
1148
1215
|
switch (_d.label) {
|
|
1149
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getMachineIdentityV2(id, axiosOptions)];
|
|
1216
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getMachineIdentityV2(id, xSailPointExperimental, axiosOptions)];
|
|
1150
1217
|
case 1:
|
|
1151
1218
|
localVarAxiosArgs = _d.sent();
|
|
1152
1219
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -1162,16 +1229,17 @@ export var MachineIdentitiesApiFp = function (configuration) {
|
|
|
1162
1229
|
* @param {string} sourceId The Source ID.
|
|
1163
1230
|
* @param {string} resourceId The source resource ID (for example, account or aws:iam-role).
|
|
1164
1231
|
* @param {string} configId The correlation config ID.
|
|
1232
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1165
1233
|
* @param {*} [axiosOptions] Override http request option.
|
|
1166
1234
|
* @throws {RequiredError}
|
|
1167
1235
|
*/
|
|
1168
|
-
getOwnershipCorrelationConfigV1: function (sourceId, resourceId, configId, axiosOptions) {
|
|
1236
|
+
getOwnershipCorrelationConfigV1: function (sourceId, resourceId, configId, xSailPointExperimental, axiosOptions) {
|
|
1169
1237
|
var _a, _b, _c;
|
|
1170
1238
|
return __awaiter(this, void 0, void 0, function () {
|
|
1171
1239
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1172
1240
|
return __generator(this, function (_d) {
|
|
1173
1241
|
switch (_d.label) {
|
|
1174
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getOwnershipCorrelationConfigV1(sourceId, resourceId, configId, axiosOptions)];
|
|
1242
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getOwnershipCorrelationConfigV1(sourceId, resourceId, configId, xSailPointExperimental, axiosOptions)];
|
|
1175
1243
|
case 1:
|
|
1176
1244
|
localVarAxiosArgs = _d.sent();
|
|
1177
1245
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -1240,16 +1308,17 @@ export var MachineIdentitiesApiFp = function (configuration) {
|
|
|
1240
1308
|
* @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.
|
|
1241
1309
|
* @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.
|
|
1242
1310
|
* @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.
|
|
1311
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1243
1312
|
* @param {*} [axiosOptions] Override http request option.
|
|
1244
1313
|
* @throws {RequiredError}
|
|
1245
1314
|
*/
|
|
1246
|
-
listMachineIdentitiesV2: function (filters, sorters, count, limit, offset, axiosOptions) {
|
|
1315
|
+
listMachineIdentitiesV2: function (filters, sorters, count, limit, offset, xSailPointExperimental, axiosOptions) {
|
|
1247
1316
|
var _a, _b, _c;
|
|
1248
1317
|
return __awaiter(this, void 0, void 0, function () {
|
|
1249
1318
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1250
1319
|
return __generator(this, function (_d) {
|
|
1251
1320
|
switch (_d.label) {
|
|
1252
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listMachineIdentitiesV2(filters, sorters, count, limit, offset, axiosOptions)];
|
|
1321
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listMachineIdentitiesV2(filters, sorters, count, limit, offset, xSailPointExperimental, axiosOptions)];
|
|
1253
1322
|
case 1:
|
|
1254
1323
|
localVarAxiosArgs = _d.sent();
|
|
1255
1324
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -1324,16 +1393,17 @@ export var MachineIdentitiesApiFp = function (configuration) {
|
|
|
1324
1393
|
* @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.
|
|
1325
1394
|
* @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.
|
|
1326
1395
|
* @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.
|
|
1396
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1327
1397
|
* @param {*} [axiosOptions] Override http request option.
|
|
1328
1398
|
* @throws {RequiredError}
|
|
1329
1399
|
*/
|
|
1330
|
-
listOwnershipCorrelationConfigsV1: function (sourceId, resourceId, type, count, limit, offset, axiosOptions) {
|
|
1400
|
+
listOwnershipCorrelationConfigsV1: function (sourceId, resourceId, type, count, limit, offset, xSailPointExperimental, axiosOptions) {
|
|
1331
1401
|
var _a, _b, _c;
|
|
1332
1402
|
return __awaiter(this, void 0, void 0, function () {
|
|
1333
1403
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1334
1404
|
return __generator(this, function (_d) {
|
|
1335
1405
|
switch (_d.label) {
|
|
1336
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listOwnershipCorrelationConfigsV1(sourceId, resourceId, type, count, limit, offset, axiosOptions)];
|
|
1406
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listOwnershipCorrelationConfigsV1(sourceId, resourceId, type, count, limit, offset, xSailPointExperimental, axiosOptions)];
|
|
1337
1407
|
case 1:
|
|
1338
1408
|
localVarAxiosArgs = _d.sent();
|
|
1339
1409
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -1350,16 +1420,17 @@ export var MachineIdentitiesApiFp = function (configuration) {
|
|
|
1350
1420
|
* @param {string} resourceId The source resource ID (for example, account or aws:iam-role).
|
|
1351
1421
|
* @param {string} configId The correlation config ID.
|
|
1352
1422
|
* @param {Array<JsonPatchOperation>} jsonPatchOperation The JSONPatch payload used to update the correlation config.
|
|
1423
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1353
1424
|
* @param {*} [axiosOptions] Override http request option.
|
|
1354
1425
|
* @throws {RequiredError}
|
|
1355
1426
|
*/
|
|
1356
|
-
patchOwnershipCorrelationConfigV1: function (sourceId, resourceId, configId, jsonPatchOperation, axiosOptions) {
|
|
1427
|
+
patchOwnershipCorrelationConfigV1: function (sourceId, resourceId, configId, jsonPatchOperation, xSailPointExperimental, axiosOptions) {
|
|
1357
1428
|
var _a, _b, _c;
|
|
1358
1429
|
return __awaiter(this, void 0, void 0, function () {
|
|
1359
1430
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1360
1431
|
return __generator(this, function (_d) {
|
|
1361
1432
|
switch (_d.label) {
|
|
1362
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchOwnershipCorrelationConfigV1(sourceId, resourceId, configId, jsonPatchOperation, axiosOptions)];
|
|
1433
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchOwnershipCorrelationConfigV1(sourceId, resourceId, configId, jsonPatchOperation, xSailPointExperimental, axiosOptions)];
|
|
1363
1434
|
case 1:
|
|
1364
1435
|
localVarAxiosArgs = _d.sent();
|
|
1365
1436
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -1424,16 +1495,17 @@ export var MachineIdentitiesApiFp = function (configuration) {
|
|
|
1424
1495
|
* @summary Partial update of machine identity
|
|
1425
1496
|
* @param {string} id Machine Identity ID.
|
|
1426
1497
|
* @param {Array<JsonPatchOperation>} jsonPatchOperation A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
|
1498
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1427
1499
|
* @param {*} [axiosOptions] Override http request option.
|
|
1428
1500
|
* @throws {RequiredError}
|
|
1429
1501
|
*/
|
|
1430
|
-
updateMachineIdentityV2: function (id, jsonPatchOperation, axiosOptions) {
|
|
1502
|
+
updateMachineIdentityV2: function (id, jsonPatchOperation, xSailPointExperimental, axiosOptions) {
|
|
1431
1503
|
var _a, _b, _c;
|
|
1432
1504
|
return __awaiter(this, void 0, void 0, function () {
|
|
1433
1505
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1434
1506
|
return __generator(this, function (_d) {
|
|
1435
1507
|
switch (_d.label) {
|
|
1436
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateMachineIdentityV2(id, jsonPatchOperation, axiosOptions)];
|
|
1508
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateMachineIdentityV2(id, jsonPatchOperation, xSailPointExperimental, axiosOptions)];
|
|
1437
1509
|
case 1:
|
|
1438
1510
|
localVarAxiosArgs = _d.sent();
|
|
1439
1511
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -1470,7 +1542,7 @@ export var MachineIdentitiesApiFactory = function (configuration, basePath, axio
|
|
|
1470
1542
|
* @throws {RequiredError}
|
|
1471
1543
|
*/
|
|
1472
1544
|
createMachineIdentityV2: function (requestParameters, axiosOptions) {
|
|
1473
|
-
return localVarFp.createMachineIdentityV2(requestParameters.machineidentityv2, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1545
|
+
return localVarFp.createMachineIdentityV2(requestParameters.machineidentityv2, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1474
1546
|
},
|
|
1475
1547
|
/**
|
|
1476
1548
|
* The API returns successful response if the requested machine identity was deleted.
|
|
@@ -1490,7 +1562,7 @@ export var MachineIdentitiesApiFactory = function (configuration, basePath, axio
|
|
|
1490
1562
|
* @throws {RequiredError}
|
|
1491
1563
|
*/
|
|
1492
1564
|
deleteMachineIdentityV2: function (requestParameters, axiosOptions) {
|
|
1493
|
-
return localVarFp.deleteMachineIdentityV2(requestParameters.id, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1565
|
+
return localVarFp.deleteMachineIdentityV2(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1494
1566
|
},
|
|
1495
1567
|
/**
|
|
1496
1568
|
* Deletes the ownership correlation config with the specified ID for the given source resource.
|
|
@@ -1500,7 +1572,7 @@ export var MachineIdentitiesApiFactory = function (configuration, basePath, axio
|
|
|
1500
1572
|
* @throws {RequiredError}
|
|
1501
1573
|
*/
|
|
1502
1574
|
deleteOwnershipCorrelationConfigV1: function (requestParameters, axiosOptions) {
|
|
1503
|
-
return localVarFp.deleteOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1575
|
+
return localVarFp.deleteOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1504
1576
|
},
|
|
1505
1577
|
/**
|
|
1506
1578
|
* This API returns a single machine identity using the Machine Identity ID.
|
|
@@ -1520,7 +1592,7 @@ export var MachineIdentitiesApiFactory = function (configuration, basePath, axio
|
|
|
1520
1592
|
* @throws {RequiredError}
|
|
1521
1593
|
*/
|
|
1522
1594
|
getMachineIdentityV2: function (requestParameters, axiosOptions) {
|
|
1523
|
-
return localVarFp.getMachineIdentityV2(requestParameters.id, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1595
|
+
return localVarFp.getMachineIdentityV2(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1524
1596
|
},
|
|
1525
1597
|
/**
|
|
1526
1598
|
* This end-point retrieves a single ownership correlation config by ID for the specified source resource.
|
|
@@ -1530,7 +1602,7 @@ export var MachineIdentitiesApiFactory = function (configuration, basePath, axio
|
|
|
1530
1602
|
* @throws {RequiredError}
|
|
1531
1603
|
*/
|
|
1532
1604
|
getOwnershipCorrelationConfigV1: function (requestParameters, axiosOptions) {
|
|
1533
|
-
return localVarFp.getOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1605
|
+
return localVarFp.getOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1534
1606
|
},
|
|
1535
1607
|
/**
|
|
1536
1608
|
* 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.
|
|
@@ -1563,7 +1635,7 @@ export var MachineIdentitiesApiFactory = function (configuration, basePath, axio
|
|
|
1563
1635
|
*/
|
|
1564
1636
|
listMachineIdentitiesV2: function (requestParameters, axiosOptions) {
|
|
1565
1637
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1566
|
-
return localVarFp.listMachineIdentitiesV2(requestParameters.filters, requestParameters.sorters, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1638
|
+
return localVarFp.listMachineIdentitiesV2(requestParameters.filters, requestParameters.sorters, requestParameters.count, requestParameters.limit, requestParameters.offset, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1567
1639
|
},
|
|
1568
1640
|
/**
|
|
1569
1641
|
* 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.
|
|
@@ -1594,7 +1666,7 @@ export var MachineIdentitiesApiFactory = function (configuration, basePath, axio
|
|
|
1594
1666
|
* @throws {RequiredError}
|
|
1595
1667
|
*/
|
|
1596
1668
|
listOwnershipCorrelationConfigsV1: function (requestParameters, axiosOptions) {
|
|
1597
|
-
return localVarFp.listOwnershipCorrelationConfigsV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.type, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1669
|
+
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); });
|
|
1598
1670
|
},
|
|
1599
1671
|
/**
|
|
1600
1672
|
* 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.
|
|
@@ -1604,7 +1676,7 @@ export var MachineIdentitiesApiFactory = function (configuration, basePath, axio
|
|
|
1604
1676
|
* @throws {RequiredError}
|
|
1605
1677
|
*/
|
|
1606
1678
|
patchOwnershipCorrelationConfigV1: function (requestParameters, axiosOptions) {
|
|
1607
|
-
return localVarFp.patchOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, requestParameters.jsonPatchOperation, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1679
|
+
return localVarFp.patchOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, requestParameters.jsonPatchOperation, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1608
1680
|
},
|
|
1609
1681
|
/**
|
|
1610
1682
|
* Starts a machine identity (AI Agents) aggregation on the specified source.
|
|
@@ -1634,7 +1706,7 @@ export var MachineIdentitiesApiFactory = function (configuration, basePath, axio
|
|
|
1634
1706
|
* @throws {RequiredError}
|
|
1635
1707
|
*/
|
|
1636
1708
|
updateMachineIdentityV2: function (requestParameters, axiosOptions) {
|
|
1637
|
-
return localVarFp.updateMachineIdentityV2(requestParameters.id, requestParameters.jsonPatchOperation, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1709
|
+
return localVarFp.updateMachineIdentityV2(requestParameters.id, requestParameters.jsonPatchOperation, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1638
1710
|
},
|
|
1639
1711
|
};
|
|
1640
1712
|
};
|
|
@@ -1671,7 +1743,7 @@ var MachineIdentitiesApi = /** @class */ (function (_super) {
|
|
|
1671
1743
|
*/
|
|
1672
1744
|
MachineIdentitiesApi.prototype.createMachineIdentityV2 = function (requestParameters, axiosOptions) {
|
|
1673
1745
|
var _this = this;
|
|
1674
|
-
return MachineIdentitiesApiFp(this.configuration).createMachineIdentityV2(requestParameters.machineidentityv2, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1746
|
+
return MachineIdentitiesApiFp(this.configuration).createMachineIdentityV2(requestParameters.machineidentityv2, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1675
1747
|
};
|
|
1676
1748
|
/**
|
|
1677
1749
|
* The API returns successful response if the requested machine identity was deleted.
|
|
@@ -1695,7 +1767,7 @@ var MachineIdentitiesApi = /** @class */ (function (_super) {
|
|
|
1695
1767
|
*/
|
|
1696
1768
|
MachineIdentitiesApi.prototype.deleteMachineIdentityV2 = function (requestParameters, axiosOptions) {
|
|
1697
1769
|
var _this = this;
|
|
1698
|
-
return MachineIdentitiesApiFp(this.configuration).deleteMachineIdentityV2(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1770
|
+
return MachineIdentitiesApiFp(this.configuration).deleteMachineIdentityV2(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1699
1771
|
};
|
|
1700
1772
|
/**
|
|
1701
1773
|
* Deletes the ownership correlation config with the specified ID for the given source resource.
|
|
@@ -1707,7 +1779,7 @@ var MachineIdentitiesApi = /** @class */ (function (_super) {
|
|
|
1707
1779
|
*/
|
|
1708
1780
|
MachineIdentitiesApi.prototype.deleteOwnershipCorrelationConfigV1 = function (requestParameters, axiosOptions) {
|
|
1709
1781
|
var _this = this;
|
|
1710
|
-
return MachineIdentitiesApiFp(this.configuration).deleteOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1782
|
+
return MachineIdentitiesApiFp(this.configuration).deleteOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1711
1783
|
};
|
|
1712
1784
|
/**
|
|
1713
1785
|
* This API returns a single machine identity using the Machine Identity ID.
|
|
@@ -1731,7 +1803,7 @@ var MachineIdentitiesApi = /** @class */ (function (_super) {
|
|
|
1731
1803
|
*/
|
|
1732
1804
|
MachineIdentitiesApi.prototype.getMachineIdentityV2 = function (requestParameters, axiosOptions) {
|
|
1733
1805
|
var _this = this;
|
|
1734
|
-
return MachineIdentitiesApiFp(this.configuration).getMachineIdentityV2(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1806
|
+
return MachineIdentitiesApiFp(this.configuration).getMachineIdentityV2(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1735
1807
|
};
|
|
1736
1808
|
/**
|
|
1737
1809
|
* This end-point retrieves a single ownership correlation config by ID for the specified source resource.
|
|
@@ -1743,7 +1815,7 @@ var MachineIdentitiesApi = /** @class */ (function (_super) {
|
|
|
1743
1815
|
*/
|
|
1744
1816
|
MachineIdentitiesApi.prototype.getOwnershipCorrelationConfigV1 = function (requestParameters, axiosOptions) {
|
|
1745
1817
|
var _this = this;
|
|
1746
|
-
return MachineIdentitiesApiFp(this.configuration).getOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1818
|
+
return MachineIdentitiesApiFp(this.configuration).getOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1747
1819
|
};
|
|
1748
1820
|
/**
|
|
1749
1821
|
* 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.
|
|
@@ -1782,7 +1854,7 @@ var MachineIdentitiesApi = /** @class */ (function (_super) {
|
|
|
1782
1854
|
MachineIdentitiesApi.prototype.listMachineIdentitiesV2 = function (requestParameters, axiosOptions) {
|
|
1783
1855
|
var _this = this;
|
|
1784
1856
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1785
|
-
return MachineIdentitiesApiFp(this.configuration).listMachineIdentitiesV2(requestParameters.filters, requestParameters.sorters, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1857
|
+
return 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); });
|
|
1786
1858
|
};
|
|
1787
1859
|
/**
|
|
1788
1860
|
* 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.
|
|
@@ -1819,7 +1891,7 @@ var MachineIdentitiesApi = /** @class */ (function (_super) {
|
|
|
1819
1891
|
*/
|
|
1820
1892
|
MachineIdentitiesApi.prototype.listOwnershipCorrelationConfigsV1 = function (requestParameters, axiosOptions) {
|
|
1821
1893
|
var _this = this;
|
|
1822
|
-
return 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); });
|
|
1894
|
+
return 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); });
|
|
1823
1895
|
};
|
|
1824
1896
|
/**
|
|
1825
1897
|
* 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.
|
|
@@ -1831,7 +1903,7 @@ var MachineIdentitiesApi = /** @class */ (function (_super) {
|
|
|
1831
1903
|
*/
|
|
1832
1904
|
MachineIdentitiesApi.prototype.patchOwnershipCorrelationConfigV1 = function (requestParameters, axiosOptions) {
|
|
1833
1905
|
var _this = this;
|
|
1834
|
-
return MachineIdentitiesApiFp(this.configuration).patchOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, requestParameters.jsonPatchOperation, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1906
|
+
return MachineIdentitiesApiFp(this.configuration).patchOwnershipCorrelationConfigV1(requestParameters.sourceId, requestParameters.resourceId, requestParameters.configId, requestParameters.jsonPatchOperation, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1835
1907
|
};
|
|
1836
1908
|
/**
|
|
1837
1909
|
* Starts a machine identity (AI Agents) aggregation on the specified source.
|
|
@@ -1867,7 +1939,7 @@ var MachineIdentitiesApi = /** @class */ (function (_super) {
|
|
|
1867
1939
|
*/
|
|
1868
1940
|
MachineIdentitiesApi.prototype.updateMachineIdentityV2 = function (requestParameters, axiosOptions) {
|
|
1869
1941
|
var _this = this;
|
|
1870
|
-
return MachineIdentitiesApiFp(this.configuration).updateMachineIdentityV2(requestParameters.id, requestParameters.jsonPatchOperation, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1942
|
+
return MachineIdentitiesApiFp(this.configuration).updateMachineIdentityV2(requestParameters.id, requestParameters.jsonPatchOperation, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1871
1943
|
};
|
|
1872
1944
|
return MachineIdentitiesApi;
|
|
1873
1945
|
}(BaseAPI));
|