@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.
Files changed (39) hide show
  1. package/dist/access_requests/api.d.ts +31 -6
  2. package/dist/access_requests/api.js +32 -12
  3. package/dist/access_requests/api.js.map +1 -1
  4. package/dist/business_applications/api.d.ts +40 -8
  5. package/dist/business_applications/api.js +52 -20
  6. package/dist/business_applications/api.js.map +1 -1
  7. package/dist/esm/access_requests/api.js +32 -12
  8. package/dist/esm/business_applications/api.js +52 -20
  9. package/dist/esm/jit_activations/api.js +26 -10
  10. package/dist/esm/machine_account_mappings/api.js +13 -5
  11. package/dist/esm/machine_accounts/api.js +430 -0
  12. package/dist/esm/machine_identities/api.js +117 -45
  13. package/dist/esm/nerm/common.js +2 -2
  14. package/dist/esm/nermv2025/common.js +2 -2
  15. package/dist/esm/public_machine_identities/api.js +13 -5
  16. package/dist/esm/sources/api.js +16 -16
  17. package/dist/jit_activations/api.d.ts +20 -4
  18. package/dist/jit_activations/api.js +26 -10
  19. package/dist/jit_activations/api.js.map +1 -1
  20. package/dist/machine_account_mappings/api.d.ts +10 -2
  21. package/dist/machine_account_mappings/api.js +13 -5
  22. package/dist/machine_account_mappings/api.js.map +1 -1
  23. package/dist/machine_accounts/api.d.ts +283 -0
  24. package/dist/machine_accounts/api.js +430 -0
  25. package/dist/machine_accounts/api.js.map +1 -1
  26. package/dist/machine_identities/api.d.ts +90 -18
  27. package/dist/machine_identities/api.js +117 -45
  28. package/dist/machine_identities/api.js.map +1 -1
  29. package/dist/nerm/common.js +2 -2
  30. package/dist/nerm/common.js.map +1 -1
  31. package/dist/nermv2025/common.js +2 -2
  32. package/dist/nermv2025/common.js.map +1 -1
  33. package/dist/public_machine_identities/api.d.ts +10 -2
  34. package/dist/public_machine_identities/api.js +13 -5
  35. package/dist/public_machine_identities/api.js.map +1 -1
  36. package/dist/sources/api.d.ts +16 -16
  37. package/dist/sources/api.js +16 -16
  38. package/dist/sources/api.js.map +1 -1
  39. package/package.json +1 -1
@@ -153,6 +153,46 @@ var MachineAccountsApiAxiosParamCreator = function (configuration) {
153
153
  });
154
154
  });
155
155
  },
156
+ /**
157
+ * Use this API to remove a machine account from Identity Security Cloud. The source account is left unchanged, and a removed machine account can be re-created during the next aggregation. The response returns the task ID. This endpoint is intended for: * Removing machine accounts that no longer exist on the source. * Removing machine accounts that will not be aggregated after a source configuration change. * Forcing machine accounts to be re-created on the next aggregation so account processing can run again. A caller who owns the machine account can remove it. Other callers need the **idn:mis-account:remove** right.
158
+ * @summary Remove machine account
159
+ * @param {string} id Machine Account ID.
160
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
161
+ * @param {*} [axiosOptions] Override http request option.
162
+ * @throws {RequiredError}
163
+ */
164
+ deleteMachineAccountAsyncV1: function (id, xSailPointExperimental, axiosOptions) {
165
+ if (axiosOptions === void 0) { axiosOptions = {}; }
166
+ return __awaiter(_this, void 0, void 0, function () {
167
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
168
+ return __generator(this, function (_a) {
169
+ // verify required parameter 'id' is not null or undefined
170
+ (0, common_1.assertParamExists)('deleteMachineAccountAsyncV1', 'id', id);
171
+ if (xSailPointExperimental === undefined) {
172
+ xSailPointExperimental = 'true';
173
+ }
174
+ localVarPath = "/machine-accounts/v1/{id}/remove"
175
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
176
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
177
+ if (configuration) {
178
+ baseOptions = configuration.baseOptions;
179
+ }
180
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
181
+ localVarHeaderParameter = {};
182
+ localVarQueryParameter = {};
183
+ if (xSailPointExperimental != null) {
184
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
185
+ }
186
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
187
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
188
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
189
+ return [2 /*return*/, {
190
+ url: (0, common_1.toPathString)(localVarUrlObj),
191
+ axiosOptions: localVarRequestOptions,
192
+ }];
193
+ });
194
+ });
195
+ },
156
196
  /**
157
197
  * Delete a machine account subtype by source ID and technical name.
158
198
  * @summary Delete subtype
@@ -198,6 +238,86 @@ var MachineAccountsApiAxiosParamCreator = function (configuration) {
198
238
  });
199
239
  });
200
240
  },
241
+ /**
242
+ * This API submits a task to disable a machine account and returns the task ID. A caller who owns the machine account can disable it. Other callers need the **idn:mis-account:disable** right.
243
+ * @summary Disable machine account
244
+ * @param {string} id Machine Account ID.
245
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
246
+ * @param {*} [axiosOptions] Override http request option.
247
+ * @throws {RequiredError}
248
+ */
249
+ disableMachineAccountV1: function (id, xSailPointExperimental, axiosOptions) {
250
+ if (axiosOptions === void 0) { axiosOptions = {}; }
251
+ return __awaiter(_this, void 0, void 0, function () {
252
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
253
+ return __generator(this, function (_a) {
254
+ // verify required parameter 'id' is not null or undefined
255
+ (0, common_1.assertParamExists)('disableMachineAccountV1', 'id', id);
256
+ if (xSailPointExperimental === undefined) {
257
+ xSailPointExperimental = 'true';
258
+ }
259
+ localVarPath = "/machine-accounts/v1/{id}/disable"
260
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
261
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
262
+ if (configuration) {
263
+ baseOptions = configuration.baseOptions;
264
+ }
265
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
266
+ localVarHeaderParameter = {};
267
+ localVarQueryParameter = {};
268
+ if (xSailPointExperimental != null) {
269
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
270
+ }
271
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
272
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
273
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
274
+ return [2 /*return*/, {
275
+ url: (0, common_1.toPathString)(localVarUrlObj),
276
+ axiosOptions: localVarRequestOptions,
277
+ }];
278
+ });
279
+ });
280
+ },
281
+ /**
282
+ * This API submits a task to enable a machine account and returns the task ID. A caller who owns the machine account can enable it. Other callers need the **idn:mis-account:enable** right.
283
+ * @summary Enable machine account
284
+ * @param {string} id Machine Account ID.
285
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
286
+ * @param {*} [axiosOptions] Override http request option.
287
+ * @throws {RequiredError}
288
+ */
289
+ enableMachineAccountV1: function (id, xSailPointExperimental, axiosOptions) {
290
+ if (axiosOptions === void 0) { axiosOptions = {}; }
291
+ return __awaiter(_this, void 0, void 0, function () {
292
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
293
+ return __generator(this, function (_a) {
294
+ // verify required parameter 'id' is not null or undefined
295
+ (0, common_1.assertParamExists)('enableMachineAccountV1', 'id', id);
296
+ if (xSailPointExperimental === undefined) {
297
+ xSailPointExperimental = 'true';
298
+ }
299
+ localVarPath = "/machine-accounts/v1/{id}/enable"
300
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
301
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
302
+ if (configuration) {
303
+ baseOptions = configuration.baseOptions;
304
+ }
305
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
306
+ localVarHeaderParameter = {};
307
+ localVarQueryParameter = {};
308
+ if (xSailPointExperimental != null) {
309
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
310
+ }
311
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
312
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
313
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
314
+ return [2 /*return*/, {
315
+ url: (0, common_1.toPathString)(localVarUrlObj),
316
+ axiosOptions: localVarRequestOptions,
317
+ }];
318
+ });
319
+ });
320
+ },
201
321
  /**
202
322
  * Get a machine account subtype by its unique ID.
203
323
  * @summary Retrieve subtype by subtype id
@@ -491,6 +611,86 @@ var MachineAccountsApiAxiosParamCreator = function (configuration) {
491
611
  });
492
612
  });
493
613
  },
614
+ /**
615
+ * This API asynchronously reloads the machine account directly from the connector and performs a one-time aggregation. It returns the task ID. A caller who owns the machine account can reload it. Other callers need the **idn:mis-account:reload** right.
616
+ * @summary Reload machine account
617
+ * @param {string} id Machine Account ID.
618
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
619
+ * @param {*} [axiosOptions] Override http request option.
620
+ * @throws {RequiredError}
621
+ */
622
+ reloadMachineAccountV1: function (id, xSailPointExperimental, axiosOptions) {
623
+ if (axiosOptions === void 0) { axiosOptions = {}; }
624
+ return __awaiter(_this, void 0, void 0, function () {
625
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
626
+ return __generator(this, function (_a) {
627
+ // verify required parameter 'id' is not null or undefined
628
+ (0, common_1.assertParamExists)('reloadMachineAccountV1', 'id', id);
629
+ if (xSailPointExperimental === undefined) {
630
+ xSailPointExperimental = 'true';
631
+ }
632
+ localVarPath = "/machine-accounts/v1/{id}/reload"
633
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
634
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
635
+ if (configuration) {
636
+ baseOptions = configuration.baseOptions;
637
+ }
638
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
639
+ localVarHeaderParameter = {};
640
+ localVarQueryParameter = {};
641
+ if (xSailPointExperimental != null) {
642
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
643
+ }
644
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
645
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
646
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
647
+ return [2 /*return*/, {
648
+ url: (0, common_1.toPathString)(localVarUrlObj),
649
+ axiosOptions: localVarRequestOptions,
650
+ }];
651
+ });
652
+ });
653
+ },
654
+ /**
655
+ * This API submits a task to unlock a machine account and returns the task ID. A caller who owns the machine account can unlock it. Other callers need the **idn:mis-account:unlock** right.
656
+ * @summary Unlock machine account
657
+ * @param {string} id Machine Account ID.
658
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
659
+ * @param {*} [axiosOptions] Override http request option.
660
+ * @throws {RequiredError}
661
+ */
662
+ unlockMachineAccountV1: function (id, xSailPointExperimental, axiosOptions) {
663
+ if (axiosOptions === void 0) { axiosOptions = {}; }
664
+ return __awaiter(_this, void 0, void 0, function () {
665
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
666
+ return __generator(this, function (_a) {
667
+ // verify required parameter 'id' is not null or undefined
668
+ (0, common_1.assertParamExists)('unlockMachineAccountV1', 'id', id);
669
+ if (xSailPointExperimental === undefined) {
670
+ xSailPointExperimental = 'true';
671
+ }
672
+ localVarPath = "/machine-accounts/v1/{id}/unlock"
673
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
674
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
675
+ if (configuration) {
676
+ baseOptions = configuration.baseOptions;
677
+ }
678
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
679
+ localVarHeaderParameter = {};
680
+ localVarQueryParameter = {};
681
+ if (xSailPointExperimental != null) {
682
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
683
+ }
684
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
685
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
686
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
687
+ return [2 /*return*/, {
688
+ url: (0, common_1.toPathString)(localVarUrlObj),
689
+ axiosOptions: localVarRequestOptions,
690
+ }];
691
+ });
692
+ });
693
+ },
494
694
  /**
495
695
  * Use this API to update machine accounts details.
496
696
  * @summary Update machine account details
@@ -572,6 +772,30 @@ var MachineAccountsApiFp = function (configuration) {
572
772
  });
573
773
  });
574
774
  },
775
+ /**
776
+ * Use this API to remove a machine account from Identity Security Cloud. The source account is left unchanged, and a removed machine account can be re-created during the next aggregation. The response returns the task ID. This endpoint is intended for: * Removing machine accounts that no longer exist on the source. * Removing machine accounts that will not be aggregated after a source configuration change. * Forcing machine accounts to be re-created on the next aggregation so account processing can run again. A caller who owns the machine account can remove it. Other callers need the **idn:mis-account:remove** right.
777
+ * @summary Remove machine account
778
+ * @param {string} id Machine Account ID.
779
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
780
+ * @param {*} [axiosOptions] Override http request option.
781
+ * @throws {RequiredError}
782
+ */
783
+ deleteMachineAccountAsyncV1: function (id, xSailPointExperimental, axiosOptions) {
784
+ var _a, _b, _c;
785
+ return __awaiter(this, void 0, void 0, function () {
786
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
787
+ return __generator(this, function (_d) {
788
+ switch (_d.label) {
789
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteMachineAccountAsyncV1(id, xSailPointExperimental, axiosOptions)];
790
+ case 1:
791
+ localVarAxiosArgs = _d.sent();
792
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
793
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineAccountsApi.deleteMachineAccountAsyncV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
794
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
795
+ }
796
+ });
797
+ });
798
+ },
575
799
  /**
576
800
  * Delete a machine account subtype by source ID and technical name.
577
801
  * @summary Delete subtype
@@ -598,6 +822,54 @@ var MachineAccountsApiFp = function (configuration) {
598
822
  });
599
823
  });
600
824
  },
825
+ /**
826
+ * This API submits a task to disable a machine account and returns the task ID. A caller who owns the machine account can disable it. Other callers need the **idn:mis-account:disable** right.
827
+ * @summary Disable machine account
828
+ * @param {string} id Machine Account ID.
829
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
830
+ * @param {*} [axiosOptions] Override http request option.
831
+ * @throws {RequiredError}
832
+ */
833
+ disableMachineAccountV1: function (id, xSailPointExperimental, axiosOptions) {
834
+ var _a, _b, _c;
835
+ return __awaiter(this, void 0, void 0, function () {
836
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
837
+ return __generator(this, function (_d) {
838
+ switch (_d.label) {
839
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.disableMachineAccountV1(id, xSailPointExperimental, axiosOptions)];
840
+ case 1:
841
+ localVarAxiosArgs = _d.sent();
842
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
843
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineAccountsApi.disableMachineAccountV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
844
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
845
+ }
846
+ });
847
+ });
848
+ },
849
+ /**
850
+ * This API submits a task to enable a machine account and returns the task ID. A caller who owns the machine account can enable it. Other callers need the **idn:mis-account:enable** right.
851
+ * @summary Enable machine account
852
+ * @param {string} id Machine Account ID.
853
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
854
+ * @param {*} [axiosOptions] Override http request option.
855
+ * @throws {RequiredError}
856
+ */
857
+ enableMachineAccountV1: function (id, xSailPointExperimental, axiosOptions) {
858
+ var _a, _b, _c;
859
+ return __awaiter(this, void 0, void 0, function () {
860
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
861
+ return __generator(this, function (_d) {
862
+ switch (_d.label) {
863
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.enableMachineAccountV1(id, xSailPointExperimental, axiosOptions)];
864
+ case 1:
865
+ localVarAxiosArgs = _d.sent();
866
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
867
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineAccountsApi.enableMachineAccountV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
868
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
869
+ }
870
+ });
871
+ });
872
+ },
601
873
  /**
602
874
  * Get a machine account subtype by its unique ID.
603
875
  * @summary Retrieve subtype by subtype id
@@ -758,6 +1030,54 @@ var MachineAccountsApiFp = function (configuration) {
758
1030
  });
759
1031
  });
760
1032
  },
1033
+ /**
1034
+ * This API asynchronously reloads the machine account directly from the connector and performs a one-time aggregation. It returns the task ID. A caller who owns the machine account can reload it. Other callers need the **idn:mis-account:reload** right.
1035
+ * @summary Reload machine account
1036
+ * @param {string} id Machine Account ID.
1037
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
1038
+ * @param {*} [axiosOptions] Override http request option.
1039
+ * @throws {RequiredError}
1040
+ */
1041
+ reloadMachineAccountV1: function (id, xSailPointExperimental, axiosOptions) {
1042
+ var _a, _b, _c;
1043
+ return __awaiter(this, void 0, void 0, function () {
1044
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1045
+ return __generator(this, function (_d) {
1046
+ switch (_d.label) {
1047
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.reloadMachineAccountV1(id, xSailPointExperimental, axiosOptions)];
1048
+ case 1:
1049
+ localVarAxiosArgs = _d.sent();
1050
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1051
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineAccountsApi.reloadMachineAccountV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1052
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1053
+ }
1054
+ });
1055
+ });
1056
+ },
1057
+ /**
1058
+ * This API submits a task to unlock a machine account and returns the task ID. A caller who owns the machine account can unlock it. Other callers need the **idn:mis-account:unlock** right.
1059
+ * @summary Unlock machine account
1060
+ * @param {string} id Machine Account ID.
1061
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
1062
+ * @param {*} [axiosOptions] Override http request option.
1063
+ * @throws {RequiredError}
1064
+ */
1065
+ unlockMachineAccountV1: function (id, xSailPointExperimental, axiosOptions) {
1066
+ var _a, _b, _c;
1067
+ return __awaiter(this, void 0, void 0, function () {
1068
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1069
+ return __generator(this, function (_d) {
1070
+ switch (_d.label) {
1071
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.unlockMachineAccountV1(id, xSailPointExperimental, axiosOptions)];
1072
+ case 1:
1073
+ localVarAxiosArgs = _d.sent();
1074
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1075
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineAccountsApi.unlockMachineAccountV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1076
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1077
+ }
1078
+ });
1079
+ });
1080
+ },
761
1081
  /**
762
1082
  * Use this API to update machine accounts details.
763
1083
  * @summary Update machine account details
@@ -804,6 +1124,16 @@ var MachineAccountsApiFactory = function (configuration, basePath, axios) {
804
1124
  createMachineAccountSubtypeV1: function (requestParameters, axiosOptions) {
805
1125
  return localVarFp.createMachineAccountSubtypeV1(requestParameters.sourceId, requestParameters.createMachineAccountSubtypeV1Request, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
806
1126
  },
1127
+ /**
1128
+ * Use this API to remove a machine account from Identity Security Cloud. The source account is left unchanged, and a removed machine account can be re-created during the next aggregation. The response returns the task ID. This endpoint is intended for: * Removing machine accounts that no longer exist on the source. * Removing machine accounts that will not be aggregated after a source configuration change. * Forcing machine accounts to be re-created on the next aggregation so account processing can run again. A caller who owns the machine account can remove it. Other callers need the **idn:mis-account:remove** right.
1129
+ * @summary Remove machine account
1130
+ * @param {MachineAccountsApiDeleteMachineAccountAsyncV1Request} requestParameters Request parameters.
1131
+ * @param {*} [axiosOptions] Override http request option.
1132
+ * @throws {RequiredError}
1133
+ */
1134
+ deleteMachineAccountAsyncV1: function (requestParameters, axiosOptions) {
1135
+ return localVarFp.deleteMachineAccountAsyncV1(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
1136
+ },
807
1137
  /**
808
1138
  * Delete a machine account subtype by source ID and technical name.
809
1139
  * @summary Delete subtype
@@ -815,6 +1145,26 @@ var MachineAccountsApiFactory = function (configuration, basePath, axios) {
815
1145
  deleteMachineAccountSubtypeByTechnicalNameV1: function (requestParameters, axiosOptions) {
816
1146
  return localVarFp.deleteMachineAccountSubtypeByTechnicalNameV1(requestParameters.sourceId, requestParameters.technicalName, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
817
1147
  },
1148
+ /**
1149
+ * This API submits a task to disable a machine account and returns the task ID. A caller who owns the machine account can disable it. Other callers need the **idn:mis-account:disable** right.
1150
+ * @summary Disable machine account
1151
+ * @param {MachineAccountsApiDisableMachineAccountV1Request} requestParameters Request parameters.
1152
+ * @param {*} [axiosOptions] Override http request option.
1153
+ * @throws {RequiredError}
1154
+ */
1155
+ disableMachineAccountV1: function (requestParameters, axiosOptions) {
1156
+ return localVarFp.disableMachineAccountV1(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
1157
+ },
1158
+ /**
1159
+ * This API submits a task to enable a machine account and returns the task ID. A caller who owns the machine account can enable it. Other callers need the **idn:mis-account:enable** right.
1160
+ * @summary Enable machine account
1161
+ * @param {MachineAccountsApiEnableMachineAccountV1Request} requestParameters Request parameters.
1162
+ * @param {*} [axiosOptions] Override http request option.
1163
+ * @throws {RequiredError}
1164
+ */
1165
+ enableMachineAccountV1: function (requestParameters, axiosOptions) {
1166
+ return localVarFp.enableMachineAccountV1(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
1167
+ },
818
1168
  /**
819
1169
  * Get a machine account subtype by its unique ID.
820
1170
  * @summary Retrieve subtype by subtype id
@@ -880,6 +1230,26 @@ var MachineAccountsApiFactory = function (configuration, basePath, axios) {
880
1230
  patchMachineAccountSubtypeByTechnicalNameV1: function (requestParameters, axiosOptions) {
881
1231
  return localVarFp.patchMachineAccountSubtypeByTechnicalNameV1(requestParameters.sourceId, requestParameters.technicalName, requestParameters.requestBody, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
882
1232
  },
1233
+ /**
1234
+ * This API asynchronously reloads the machine account directly from the connector and performs a one-time aggregation. It returns the task ID. A caller who owns the machine account can reload it. Other callers need the **idn:mis-account:reload** right.
1235
+ * @summary Reload machine account
1236
+ * @param {MachineAccountsApiReloadMachineAccountV1Request} requestParameters Request parameters.
1237
+ * @param {*} [axiosOptions] Override http request option.
1238
+ * @throws {RequiredError}
1239
+ */
1240
+ reloadMachineAccountV1: function (requestParameters, axiosOptions) {
1241
+ return localVarFp.reloadMachineAccountV1(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
1242
+ },
1243
+ /**
1244
+ * This API submits a task to unlock a machine account and returns the task ID. A caller who owns the machine account can unlock it. Other callers need the **idn:mis-account:unlock** right.
1245
+ * @summary Unlock machine account
1246
+ * @param {MachineAccountsApiUnlockMachineAccountV1Request} requestParameters Request parameters.
1247
+ * @param {*} [axiosOptions] Override http request option.
1248
+ * @throws {RequiredError}
1249
+ */
1250
+ unlockMachineAccountV1: function (requestParameters, axiosOptions) {
1251
+ return localVarFp.unlockMachineAccountV1(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
1252
+ },
883
1253
  /**
884
1254
  * Use this API to update machine accounts details.
885
1255
  * @summary Update machine account details
@@ -917,6 +1287,18 @@ var MachineAccountsApi = /** @class */ (function (_super) {
917
1287
  var _this = this;
918
1288
  return (0, exports.MachineAccountsApiFp)(this.configuration).createMachineAccountSubtypeV1(requestParameters.sourceId, requestParameters.createMachineAccountSubtypeV1Request, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
919
1289
  };
1290
+ /**
1291
+ * Use this API to remove a machine account from Identity Security Cloud. The source account is left unchanged, and a removed machine account can be re-created during the next aggregation. The response returns the task ID. This endpoint is intended for: * Removing machine accounts that no longer exist on the source. * Removing machine accounts that will not be aggregated after a source configuration change. * Forcing machine accounts to be re-created on the next aggregation so account processing can run again. A caller who owns the machine account can remove it. Other callers need the **idn:mis-account:remove** right.
1292
+ * @summary Remove machine account
1293
+ * @param {MachineAccountsApiDeleteMachineAccountAsyncV1Request} requestParameters Request parameters.
1294
+ * @param {*} [axiosOptions] Override http request option.
1295
+ * @throws {RequiredError}
1296
+ * @memberof MachineAccountsApi
1297
+ */
1298
+ MachineAccountsApi.prototype.deleteMachineAccountAsyncV1 = function (requestParameters, axiosOptions) {
1299
+ var _this = this;
1300
+ return (0, exports.MachineAccountsApiFp)(this.configuration).deleteMachineAccountAsyncV1(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1301
+ };
920
1302
  /**
921
1303
  * Delete a machine account subtype by source ID and technical name.
922
1304
  * @summary Delete subtype
@@ -930,6 +1312,30 @@ var MachineAccountsApi = /** @class */ (function (_super) {
930
1312
  var _this = this;
931
1313
  return (0, exports.MachineAccountsApiFp)(this.configuration).deleteMachineAccountSubtypeByTechnicalNameV1(requestParameters.sourceId, requestParameters.technicalName, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
932
1314
  };
1315
+ /**
1316
+ * This API submits a task to disable a machine account and returns the task ID. A caller who owns the machine account can disable it. Other callers need the **idn:mis-account:disable** right.
1317
+ * @summary Disable machine account
1318
+ * @param {MachineAccountsApiDisableMachineAccountV1Request} requestParameters Request parameters.
1319
+ * @param {*} [axiosOptions] Override http request option.
1320
+ * @throws {RequiredError}
1321
+ * @memberof MachineAccountsApi
1322
+ */
1323
+ MachineAccountsApi.prototype.disableMachineAccountV1 = function (requestParameters, axiosOptions) {
1324
+ var _this = this;
1325
+ return (0, exports.MachineAccountsApiFp)(this.configuration).disableMachineAccountV1(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1326
+ };
1327
+ /**
1328
+ * This API submits a task to enable a machine account and returns the task ID. A caller who owns the machine account can enable it. Other callers need the **idn:mis-account:enable** right.
1329
+ * @summary Enable machine account
1330
+ * @param {MachineAccountsApiEnableMachineAccountV1Request} requestParameters Request parameters.
1331
+ * @param {*} [axiosOptions] Override http request option.
1332
+ * @throws {RequiredError}
1333
+ * @memberof MachineAccountsApi
1334
+ */
1335
+ MachineAccountsApi.prototype.enableMachineAccountV1 = function (requestParameters, axiosOptions) {
1336
+ var _this = this;
1337
+ return (0, exports.MachineAccountsApiFp)(this.configuration).enableMachineAccountV1(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1338
+ };
933
1339
  /**
934
1340
  * Get a machine account subtype by its unique ID.
935
1341
  * @summary Retrieve subtype by subtype id
@@ -1007,6 +1413,30 @@ var MachineAccountsApi = /** @class */ (function (_super) {
1007
1413
  var _this = this;
1008
1414
  return (0, exports.MachineAccountsApiFp)(this.configuration).patchMachineAccountSubtypeByTechnicalNameV1(requestParameters.sourceId, requestParameters.technicalName, requestParameters.requestBody, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1009
1415
  };
1416
+ /**
1417
+ * This API asynchronously reloads the machine account directly from the connector and performs a one-time aggregation. It returns the task ID. A caller who owns the machine account can reload it. Other callers need the **idn:mis-account:reload** right.
1418
+ * @summary Reload machine account
1419
+ * @param {MachineAccountsApiReloadMachineAccountV1Request} requestParameters Request parameters.
1420
+ * @param {*} [axiosOptions] Override http request option.
1421
+ * @throws {RequiredError}
1422
+ * @memberof MachineAccountsApi
1423
+ */
1424
+ MachineAccountsApi.prototype.reloadMachineAccountV1 = function (requestParameters, axiosOptions) {
1425
+ var _this = this;
1426
+ return (0, exports.MachineAccountsApiFp)(this.configuration).reloadMachineAccountV1(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1427
+ };
1428
+ /**
1429
+ * This API submits a task to unlock a machine account and returns the task ID. A caller who owns the machine account can unlock it. Other callers need the **idn:mis-account:unlock** right.
1430
+ * @summary Unlock machine account
1431
+ * @param {MachineAccountsApiUnlockMachineAccountV1Request} requestParameters Request parameters.
1432
+ * @param {*} [axiosOptions] Override http request option.
1433
+ * @throws {RequiredError}
1434
+ * @memberof MachineAccountsApi
1435
+ */
1436
+ MachineAccountsApi.prototype.unlockMachineAccountV1 = function (requestParameters, axiosOptions) {
1437
+ var _this = this;
1438
+ return (0, exports.MachineAccountsApiFp)(this.configuration).unlockMachineAccountV1(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
1439
+ };
1010
1440
  /**
1011
1441
  * Use this API to update machine accounts details.
1012
1442
  * @summary Update machine account details