@sailpoint/api-client 2.2.23 → 2.2.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/access_requests/api.d.ts +31 -6
- package/dist/access_requests/api.js +32 -12
- package/dist/access_requests/api.js.map +1 -1
- package/dist/business_applications/api.d.ts +40 -8
- package/dist/business_applications/api.js +52 -20
- package/dist/business_applications/api.js.map +1 -1
- package/dist/esm/access_requests/api.js +32 -12
- package/dist/esm/business_applications/api.js +52 -20
- package/dist/esm/jit_activations/api.js +26 -10
- package/dist/esm/machine_account_mappings/api.js +13 -5
- package/dist/esm/machine_accounts/api.js +430 -0
- package/dist/esm/machine_identities/api.js +117 -45
- package/dist/esm/nerm/common.js +2 -2
- package/dist/esm/nermv2025/common.js +2 -2
- package/dist/esm/public_machine_identities/api.js +13 -5
- package/dist/esm/sources/api.js +16 -16
- package/dist/jit_activations/api.d.ts +20 -4
- package/dist/jit_activations/api.js +26 -10
- package/dist/jit_activations/api.js.map +1 -1
- package/dist/machine_account_mappings/api.d.ts +10 -2
- package/dist/machine_account_mappings/api.js +13 -5
- package/dist/machine_account_mappings/api.js.map +1 -1
- package/dist/machine_accounts/api.d.ts +283 -0
- package/dist/machine_accounts/api.js +430 -0
- package/dist/machine_accounts/api.js.map +1 -1
- package/dist/machine_identities/api.d.ts +90 -18
- package/dist/machine_identities/api.js +117 -45
- package/dist/machine_identities/api.js.map +1 -1
- package/dist/nerm/common.js +2 -2
- package/dist/nerm/common.js.map +1 -1
- package/dist/nermv2025/common.js +2 -2
- package/dist/nermv2025/common.js.map +1 -1
- package/dist/public_machine_identities/api.d.ts +10 -2
- package/dist/public_machine_identities/api.js +13 -5
- package/dist/public_machine_identities/api.js.map +1 -1
- package/dist/sources/api.d.ts +16 -16
- package/dist/sources/api.js +16 -16
- package/dist/sources/api.js.map +1 -1
- package/package.json +1 -1
|
@@ -147,6 +147,46 @@ export var MachineAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
147
147
|
});
|
|
148
148
|
});
|
|
149
149
|
},
|
|
150
|
+
/**
|
|
151
|
+
* 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.
|
|
152
|
+
* @summary Remove machine account
|
|
153
|
+
* @param {string} id Machine Account ID.
|
|
154
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
155
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
156
|
+
* @throws {RequiredError}
|
|
157
|
+
*/
|
|
158
|
+
deleteMachineAccountAsyncV1: function (id, xSailPointExperimental, axiosOptions) {
|
|
159
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
160
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
161
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
162
|
+
return __generator(this, function (_a) {
|
|
163
|
+
// verify required parameter 'id' is not null or undefined
|
|
164
|
+
assertParamExists('deleteMachineAccountAsyncV1', 'id', id);
|
|
165
|
+
if (xSailPointExperimental === undefined) {
|
|
166
|
+
xSailPointExperimental = 'true';
|
|
167
|
+
}
|
|
168
|
+
localVarPath = "/machine-accounts/v1/{id}/remove"
|
|
169
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
170
|
+
localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
171
|
+
if (configuration) {
|
|
172
|
+
baseOptions = configuration.baseOptions;
|
|
173
|
+
}
|
|
174
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
|
|
175
|
+
localVarHeaderParameter = {};
|
|
176
|
+
localVarQueryParameter = {};
|
|
177
|
+
if (xSailPointExperimental != null) {
|
|
178
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
179
|
+
}
|
|
180
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
181
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
182
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
183
|
+
return [2 /*return*/, {
|
|
184
|
+
url: toPathString(localVarUrlObj),
|
|
185
|
+
axiosOptions: localVarRequestOptions,
|
|
186
|
+
}];
|
|
187
|
+
});
|
|
188
|
+
});
|
|
189
|
+
},
|
|
150
190
|
/**
|
|
151
191
|
* Delete a machine account subtype by source ID and technical name.
|
|
152
192
|
* @summary Delete subtype
|
|
@@ -192,6 +232,86 @@ export var MachineAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
192
232
|
});
|
|
193
233
|
});
|
|
194
234
|
},
|
|
235
|
+
/**
|
|
236
|
+
* 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.
|
|
237
|
+
* @summary Disable machine account
|
|
238
|
+
* @param {string} id Machine Account ID.
|
|
239
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
240
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
241
|
+
* @throws {RequiredError}
|
|
242
|
+
*/
|
|
243
|
+
disableMachineAccountV1: function (id, xSailPointExperimental, axiosOptions) {
|
|
244
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
245
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
246
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
247
|
+
return __generator(this, function (_a) {
|
|
248
|
+
// verify required parameter 'id' is not null or undefined
|
|
249
|
+
assertParamExists('disableMachineAccountV1', 'id', id);
|
|
250
|
+
if (xSailPointExperimental === undefined) {
|
|
251
|
+
xSailPointExperimental = 'true';
|
|
252
|
+
}
|
|
253
|
+
localVarPath = "/machine-accounts/v1/{id}/disable"
|
|
254
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
255
|
+
localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
256
|
+
if (configuration) {
|
|
257
|
+
baseOptions = configuration.baseOptions;
|
|
258
|
+
}
|
|
259
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
|
|
260
|
+
localVarHeaderParameter = {};
|
|
261
|
+
localVarQueryParameter = {};
|
|
262
|
+
if (xSailPointExperimental != null) {
|
|
263
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
264
|
+
}
|
|
265
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
266
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
267
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
268
|
+
return [2 /*return*/, {
|
|
269
|
+
url: toPathString(localVarUrlObj),
|
|
270
|
+
axiosOptions: localVarRequestOptions,
|
|
271
|
+
}];
|
|
272
|
+
});
|
|
273
|
+
});
|
|
274
|
+
},
|
|
275
|
+
/**
|
|
276
|
+
* 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.
|
|
277
|
+
* @summary Enable machine account
|
|
278
|
+
* @param {string} id Machine Account ID.
|
|
279
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
280
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
281
|
+
* @throws {RequiredError}
|
|
282
|
+
*/
|
|
283
|
+
enableMachineAccountV1: function (id, xSailPointExperimental, axiosOptions) {
|
|
284
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
285
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
286
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
287
|
+
return __generator(this, function (_a) {
|
|
288
|
+
// verify required parameter 'id' is not null or undefined
|
|
289
|
+
assertParamExists('enableMachineAccountV1', 'id', id);
|
|
290
|
+
if (xSailPointExperimental === undefined) {
|
|
291
|
+
xSailPointExperimental = 'true';
|
|
292
|
+
}
|
|
293
|
+
localVarPath = "/machine-accounts/v1/{id}/enable"
|
|
294
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
295
|
+
localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
296
|
+
if (configuration) {
|
|
297
|
+
baseOptions = configuration.baseOptions;
|
|
298
|
+
}
|
|
299
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
|
|
300
|
+
localVarHeaderParameter = {};
|
|
301
|
+
localVarQueryParameter = {};
|
|
302
|
+
if (xSailPointExperimental != null) {
|
|
303
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
304
|
+
}
|
|
305
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
306
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
307
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
308
|
+
return [2 /*return*/, {
|
|
309
|
+
url: toPathString(localVarUrlObj),
|
|
310
|
+
axiosOptions: localVarRequestOptions,
|
|
311
|
+
}];
|
|
312
|
+
});
|
|
313
|
+
});
|
|
314
|
+
},
|
|
195
315
|
/**
|
|
196
316
|
* Get a machine account subtype by its unique ID.
|
|
197
317
|
* @summary Retrieve subtype by subtype id
|
|
@@ -485,6 +605,86 @@ export var MachineAccountsApiAxiosParamCreator = function (configuration) {
|
|
|
485
605
|
});
|
|
486
606
|
});
|
|
487
607
|
},
|
|
608
|
+
/**
|
|
609
|
+
* 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.
|
|
610
|
+
* @summary Reload machine account
|
|
611
|
+
* @param {string} id Machine Account ID.
|
|
612
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
613
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
614
|
+
* @throws {RequiredError}
|
|
615
|
+
*/
|
|
616
|
+
reloadMachineAccountV1: function (id, xSailPointExperimental, axiosOptions) {
|
|
617
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
618
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
619
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
620
|
+
return __generator(this, function (_a) {
|
|
621
|
+
// verify required parameter 'id' is not null or undefined
|
|
622
|
+
assertParamExists('reloadMachineAccountV1', 'id', id);
|
|
623
|
+
if (xSailPointExperimental === undefined) {
|
|
624
|
+
xSailPointExperimental = 'true';
|
|
625
|
+
}
|
|
626
|
+
localVarPath = "/machine-accounts/v1/{id}/reload"
|
|
627
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
628
|
+
localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
629
|
+
if (configuration) {
|
|
630
|
+
baseOptions = configuration.baseOptions;
|
|
631
|
+
}
|
|
632
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
|
|
633
|
+
localVarHeaderParameter = {};
|
|
634
|
+
localVarQueryParameter = {};
|
|
635
|
+
if (xSailPointExperimental != null) {
|
|
636
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
637
|
+
}
|
|
638
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
639
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
640
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
641
|
+
return [2 /*return*/, {
|
|
642
|
+
url: toPathString(localVarUrlObj),
|
|
643
|
+
axiosOptions: localVarRequestOptions,
|
|
644
|
+
}];
|
|
645
|
+
});
|
|
646
|
+
});
|
|
647
|
+
},
|
|
648
|
+
/**
|
|
649
|
+
* 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.
|
|
650
|
+
* @summary Unlock machine account
|
|
651
|
+
* @param {string} id Machine Account ID.
|
|
652
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
653
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
654
|
+
* @throws {RequiredError}
|
|
655
|
+
*/
|
|
656
|
+
unlockMachineAccountV1: function (id, xSailPointExperimental, axiosOptions) {
|
|
657
|
+
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
658
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
659
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
660
|
+
return __generator(this, function (_a) {
|
|
661
|
+
// verify required parameter 'id' is not null or undefined
|
|
662
|
+
assertParamExists('unlockMachineAccountV1', 'id', id);
|
|
663
|
+
if (xSailPointExperimental === undefined) {
|
|
664
|
+
xSailPointExperimental = 'true';
|
|
665
|
+
}
|
|
666
|
+
localVarPath = "/machine-accounts/v1/{id}/unlock"
|
|
667
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
668
|
+
localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
669
|
+
if (configuration) {
|
|
670
|
+
baseOptions = configuration.baseOptions;
|
|
671
|
+
}
|
|
672
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
|
|
673
|
+
localVarHeaderParameter = {};
|
|
674
|
+
localVarQueryParameter = {};
|
|
675
|
+
if (xSailPointExperimental != null) {
|
|
676
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
677
|
+
}
|
|
678
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
679
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
680
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
681
|
+
return [2 /*return*/, {
|
|
682
|
+
url: toPathString(localVarUrlObj),
|
|
683
|
+
axiosOptions: localVarRequestOptions,
|
|
684
|
+
}];
|
|
685
|
+
});
|
|
686
|
+
});
|
|
687
|
+
},
|
|
488
688
|
/**
|
|
489
689
|
* Use this API to update machine accounts details.
|
|
490
690
|
* @summary Update machine account details
|
|
@@ -565,6 +765,30 @@ export var MachineAccountsApiFp = function (configuration) {
|
|
|
565
765
|
});
|
|
566
766
|
});
|
|
567
767
|
},
|
|
768
|
+
/**
|
|
769
|
+
* 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.
|
|
770
|
+
* @summary Remove machine account
|
|
771
|
+
* @param {string} id Machine Account ID.
|
|
772
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
773
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
774
|
+
* @throws {RequiredError}
|
|
775
|
+
*/
|
|
776
|
+
deleteMachineAccountAsyncV1: function (id, xSailPointExperimental, axiosOptions) {
|
|
777
|
+
var _a, _b, _c;
|
|
778
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
779
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
780
|
+
return __generator(this, function (_d) {
|
|
781
|
+
switch (_d.label) {
|
|
782
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteMachineAccountAsyncV1(id, xSailPointExperimental, axiosOptions)];
|
|
783
|
+
case 1:
|
|
784
|
+
localVarAxiosArgs = _d.sent();
|
|
785
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
786
|
+
localVarOperationServerBasePath = (_c = (_b = operationServerMap['MachineAccountsApi.deleteMachineAccountAsyncV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
787
|
+
return [2 /*return*/, function (axios, basePath) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
788
|
+
}
|
|
789
|
+
});
|
|
790
|
+
});
|
|
791
|
+
},
|
|
568
792
|
/**
|
|
569
793
|
* Delete a machine account subtype by source ID and technical name.
|
|
570
794
|
* @summary Delete subtype
|
|
@@ -591,6 +815,54 @@ export var MachineAccountsApiFp = function (configuration) {
|
|
|
591
815
|
});
|
|
592
816
|
});
|
|
593
817
|
},
|
|
818
|
+
/**
|
|
819
|
+
* 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.
|
|
820
|
+
* @summary Disable machine account
|
|
821
|
+
* @param {string} id Machine Account ID.
|
|
822
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
823
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
824
|
+
* @throws {RequiredError}
|
|
825
|
+
*/
|
|
826
|
+
disableMachineAccountV1: function (id, xSailPointExperimental, axiosOptions) {
|
|
827
|
+
var _a, _b, _c;
|
|
828
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
829
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
830
|
+
return __generator(this, function (_d) {
|
|
831
|
+
switch (_d.label) {
|
|
832
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.disableMachineAccountV1(id, xSailPointExperimental, axiosOptions)];
|
|
833
|
+
case 1:
|
|
834
|
+
localVarAxiosArgs = _d.sent();
|
|
835
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
836
|
+
localVarOperationServerBasePath = (_c = (_b = operationServerMap['MachineAccountsApi.disableMachineAccountV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
837
|
+
return [2 /*return*/, function (axios, basePath) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
838
|
+
}
|
|
839
|
+
});
|
|
840
|
+
});
|
|
841
|
+
},
|
|
842
|
+
/**
|
|
843
|
+
* 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.
|
|
844
|
+
* @summary Enable machine account
|
|
845
|
+
* @param {string} id Machine Account ID.
|
|
846
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
847
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
848
|
+
* @throws {RequiredError}
|
|
849
|
+
*/
|
|
850
|
+
enableMachineAccountV1: function (id, xSailPointExperimental, axiosOptions) {
|
|
851
|
+
var _a, _b, _c;
|
|
852
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
853
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
854
|
+
return __generator(this, function (_d) {
|
|
855
|
+
switch (_d.label) {
|
|
856
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.enableMachineAccountV1(id, xSailPointExperimental, axiosOptions)];
|
|
857
|
+
case 1:
|
|
858
|
+
localVarAxiosArgs = _d.sent();
|
|
859
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
860
|
+
localVarOperationServerBasePath = (_c = (_b = operationServerMap['MachineAccountsApi.enableMachineAccountV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
861
|
+
return [2 /*return*/, function (axios, basePath) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
862
|
+
}
|
|
863
|
+
});
|
|
864
|
+
});
|
|
865
|
+
},
|
|
594
866
|
/**
|
|
595
867
|
* Get a machine account subtype by its unique ID.
|
|
596
868
|
* @summary Retrieve subtype by subtype id
|
|
@@ -751,6 +1023,54 @@ export var MachineAccountsApiFp = function (configuration) {
|
|
|
751
1023
|
});
|
|
752
1024
|
});
|
|
753
1025
|
},
|
|
1026
|
+
/**
|
|
1027
|
+
* 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.
|
|
1028
|
+
* @summary Reload machine account
|
|
1029
|
+
* @param {string} id Machine Account ID.
|
|
1030
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1031
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1032
|
+
* @throws {RequiredError}
|
|
1033
|
+
*/
|
|
1034
|
+
reloadMachineAccountV1: function (id, xSailPointExperimental, axiosOptions) {
|
|
1035
|
+
var _a, _b, _c;
|
|
1036
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1037
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1038
|
+
return __generator(this, function (_d) {
|
|
1039
|
+
switch (_d.label) {
|
|
1040
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.reloadMachineAccountV1(id, xSailPointExperimental, axiosOptions)];
|
|
1041
|
+
case 1:
|
|
1042
|
+
localVarAxiosArgs = _d.sent();
|
|
1043
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1044
|
+
localVarOperationServerBasePath = (_c = (_b = operationServerMap['MachineAccountsApi.reloadMachineAccountV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1045
|
+
return [2 /*return*/, function (axios, basePath) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1046
|
+
}
|
|
1047
|
+
});
|
|
1048
|
+
});
|
|
1049
|
+
},
|
|
1050
|
+
/**
|
|
1051
|
+
* 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.
|
|
1052
|
+
* @summary Unlock machine account
|
|
1053
|
+
* @param {string} id Machine Account ID.
|
|
1054
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1055
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1056
|
+
* @throws {RequiredError}
|
|
1057
|
+
*/
|
|
1058
|
+
unlockMachineAccountV1: function (id, xSailPointExperimental, axiosOptions) {
|
|
1059
|
+
var _a, _b, _c;
|
|
1060
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1061
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1062
|
+
return __generator(this, function (_d) {
|
|
1063
|
+
switch (_d.label) {
|
|
1064
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.unlockMachineAccountV1(id, xSailPointExperimental, axiosOptions)];
|
|
1065
|
+
case 1:
|
|
1066
|
+
localVarAxiosArgs = _d.sent();
|
|
1067
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1068
|
+
localVarOperationServerBasePath = (_c = (_b = operationServerMap['MachineAccountsApi.unlockMachineAccountV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1069
|
+
return [2 /*return*/, function (axios, basePath) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1070
|
+
}
|
|
1071
|
+
});
|
|
1072
|
+
});
|
|
1073
|
+
},
|
|
754
1074
|
/**
|
|
755
1075
|
* Use this API to update machine accounts details.
|
|
756
1076
|
* @summary Update machine account details
|
|
@@ -796,6 +1116,16 @@ export var MachineAccountsApiFactory = function (configuration, basePath, axios)
|
|
|
796
1116
|
createMachineAccountSubtypeV1: function (requestParameters, axiosOptions) {
|
|
797
1117
|
return localVarFp.createMachineAccountSubtypeV1(requestParameters.sourceId, requestParameters.createMachineAccountSubtypeV1Request, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
798
1118
|
},
|
|
1119
|
+
/**
|
|
1120
|
+
* 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.
|
|
1121
|
+
* @summary Remove machine account
|
|
1122
|
+
* @param {MachineAccountsApiDeleteMachineAccountAsyncV1Request} requestParameters Request parameters.
|
|
1123
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1124
|
+
* @throws {RequiredError}
|
|
1125
|
+
*/
|
|
1126
|
+
deleteMachineAccountAsyncV1: function (requestParameters, axiosOptions) {
|
|
1127
|
+
return localVarFp.deleteMachineAccountAsyncV1(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1128
|
+
},
|
|
799
1129
|
/**
|
|
800
1130
|
* Delete a machine account subtype by source ID and technical name.
|
|
801
1131
|
* @summary Delete subtype
|
|
@@ -807,6 +1137,26 @@ export var MachineAccountsApiFactory = function (configuration, basePath, axios)
|
|
|
807
1137
|
deleteMachineAccountSubtypeByTechnicalNameV1: function (requestParameters, axiosOptions) {
|
|
808
1138
|
return localVarFp.deleteMachineAccountSubtypeByTechnicalNameV1(requestParameters.sourceId, requestParameters.technicalName, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
809
1139
|
},
|
|
1140
|
+
/**
|
|
1141
|
+
* 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.
|
|
1142
|
+
* @summary Disable machine account
|
|
1143
|
+
* @param {MachineAccountsApiDisableMachineAccountV1Request} requestParameters Request parameters.
|
|
1144
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1145
|
+
* @throws {RequiredError}
|
|
1146
|
+
*/
|
|
1147
|
+
disableMachineAccountV1: function (requestParameters, axiosOptions) {
|
|
1148
|
+
return localVarFp.disableMachineAccountV1(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1149
|
+
},
|
|
1150
|
+
/**
|
|
1151
|
+
* 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.
|
|
1152
|
+
* @summary Enable machine account
|
|
1153
|
+
* @param {MachineAccountsApiEnableMachineAccountV1Request} requestParameters Request parameters.
|
|
1154
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1155
|
+
* @throws {RequiredError}
|
|
1156
|
+
*/
|
|
1157
|
+
enableMachineAccountV1: function (requestParameters, axiosOptions) {
|
|
1158
|
+
return localVarFp.enableMachineAccountV1(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1159
|
+
},
|
|
810
1160
|
/**
|
|
811
1161
|
* Get a machine account subtype by its unique ID.
|
|
812
1162
|
* @summary Retrieve subtype by subtype id
|
|
@@ -872,6 +1222,26 @@ export var MachineAccountsApiFactory = function (configuration, basePath, axios)
|
|
|
872
1222
|
patchMachineAccountSubtypeByTechnicalNameV1: function (requestParameters, axiosOptions) {
|
|
873
1223
|
return localVarFp.patchMachineAccountSubtypeByTechnicalNameV1(requestParameters.sourceId, requestParameters.technicalName, requestParameters.requestBody, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
874
1224
|
},
|
|
1225
|
+
/**
|
|
1226
|
+
* 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.
|
|
1227
|
+
* @summary Reload machine account
|
|
1228
|
+
* @param {MachineAccountsApiReloadMachineAccountV1Request} requestParameters Request parameters.
|
|
1229
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1230
|
+
* @throws {RequiredError}
|
|
1231
|
+
*/
|
|
1232
|
+
reloadMachineAccountV1: function (requestParameters, axiosOptions) {
|
|
1233
|
+
return localVarFp.reloadMachineAccountV1(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1234
|
+
},
|
|
1235
|
+
/**
|
|
1236
|
+
* 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.
|
|
1237
|
+
* @summary Unlock machine account
|
|
1238
|
+
* @param {MachineAccountsApiUnlockMachineAccountV1Request} requestParameters Request parameters.
|
|
1239
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1240
|
+
* @throws {RequiredError}
|
|
1241
|
+
*/
|
|
1242
|
+
unlockMachineAccountV1: function (requestParameters, axiosOptions) {
|
|
1243
|
+
return localVarFp.unlockMachineAccountV1(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1244
|
+
},
|
|
875
1245
|
/**
|
|
876
1246
|
* Use this API to update machine accounts details.
|
|
877
1247
|
* @summary Update machine account details
|
|
@@ -908,6 +1278,18 @@ var MachineAccountsApi = /** @class */ (function (_super) {
|
|
|
908
1278
|
var _this = this;
|
|
909
1279
|
return MachineAccountsApiFp(this.configuration).createMachineAccountSubtypeV1(requestParameters.sourceId, requestParameters.createMachineAccountSubtypeV1Request, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
910
1280
|
};
|
|
1281
|
+
/**
|
|
1282
|
+
* 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.
|
|
1283
|
+
* @summary Remove machine account
|
|
1284
|
+
* @param {MachineAccountsApiDeleteMachineAccountAsyncV1Request} requestParameters Request parameters.
|
|
1285
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1286
|
+
* @throws {RequiredError}
|
|
1287
|
+
* @memberof MachineAccountsApi
|
|
1288
|
+
*/
|
|
1289
|
+
MachineAccountsApi.prototype.deleteMachineAccountAsyncV1 = function (requestParameters, axiosOptions) {
|
|
1290
|
+
var _this = this;
|
|
1291
|
+
return MachineAccountsApiFp(this.configuration).deleteMachineAccountAsyncV1(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1292
|
+
};
|
|
911
1293
|
/**
|
|
912
1294
|
* Delete a machine account subtype by source ID and technical name.
|
|
913
1295
|
* @summary Delete subtype
|
|
@@ -921,6 +1303,30 @@ var MachineAccountsApi = /** @class */ (function (_super) {
|
|
|
921
1303
|
var _this = this;
|
|
922
1304
|
return MachineAccountsApiFp(this.configuration).deleteMachineAccountSubtypeByTechnicalNameV1(requestParameters.sourceId, requestParameters.technicalName, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
923
1305
|
};
|
|
1306
|
+
/**
|
|
1307
|
+
* 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.
|
|
1308
|
+
* @summary Disable machine account
|
|
1309
|
+
* @param {MachineAccountsApiDisableMachineAccountV1Request} requestParameters Request parameters.
|
|
1310
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1311
|
+
* @throws {RequiredError}
|
|
1312
|
+
* @memberof MachineAccountsApi
|
|
1313
|
+
*/
|
|
1314
|
+
MachineAccountsApi.prototype.disableMachineAccountV1 = function (requestParameters, axiosOptions) {
|
|
1315
|
+
var _this = this;
|
|
1316
|
+
return MachineAccountsApiFp(this.configuration).disableMachineAccountV1(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1317
|
+
};
|
|
1318
|
+
/**
|
|
1319
|
+
* 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.
|
|
1320
|
+
* @summary Enable machine account
|
|
1321
|
+
* @param {MachineAccountsApiEnableMachineAccountV1Request} requestParameters Request parameters.
|
|
1322
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1323
|
+
* @throws {RequiredError}
|
|
1324
|
+
* @memberof MachineAccountsApi
|
|
1325
|
+
*/
|
|
1326
|
+
MachineAccountsApi.prototype.enableMachineAccountV1 = function (requestParameters, axiosOptions) {
|
|
1327
|
+
var _this = this;
|
|
1328
|
+
return MachineAccountsApiFp(this.configuration).enableMachineAccountV1(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1329
|
+
};
|
|
924
1330
|
/**
|
|
925
1331
|
* Get a machine account subtype by its unique ID.
|
|
926
1332
|
* @summary Retrieve subtype by subtype id
|
|
@@ -998,6 +1404,30 @@ var MachineAccountsApi = /** @class */ (function (_super) {
|
|
|
998
1404
|
var _this = this;
|
|
999
1405
|
return MachineAccountsApiFp(this.configuration).patchMachineAccountSubtypeByTechnicalNameV1(requestParameters.sourceId, requestParameters.technicalName, requestParameters.requestBody, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1000
1406
|
};
|
|
1407
|
+
/**
|
|
1408
|
+
* 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.
|
|
1409
|
+
* @summary Reload machine account
|
|
1410
|
+
* @param {MachineAccountsApiReloadMachineAccountV1Request} requestParameters Request parameters.
|
|
1411
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1412
|
+
* @throws {RequiredError}
|
|
1413
|
+
* @memberof MachineAccountsApi
|
|
1414
|
+
*/
|
|
1415
|
+
MachineAccountsApi.prototype.reloadMachineAccountV1 = function (requestParameters, axiosOptions) {
|
|
1416
|
+
var _this = this;
|
|
1417
|
+
return MachineAccountsApiFp(this.configuration).reloadMachineAccountV1(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1418
|
+
};
|
|
1419
|
+
/**
|
|
1420
|
+
* 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.
|
|
1421
|
+
* @summary Unlock machine account
|
|
1422
|
+
* @param {MachineAccountsApiUnlockMachineAccountV1Request} requestParameters Request parameters.
|
|
1423
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1424
|
+
* @throws {RequiredError}
|
|
1425
|
+
* @memberof MachineAccountsApi
|
|
1426
|
+
*/
|
|
1427
|
+
MachineAccountsApi.prototype.unlockMachineAccountV1 = function (requestParameters, axiosOptions) {
|
|
1428
|
+
var _this = this;
|
|
1429
|
+
return MachineAccountsApiFp(this.configuration).unlockMachineAccountV1(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1430
|
+
};
|
|
1001
1431
|
/**
|
|
1002
1432
|
* Use this API to update machine accounts details.
|
|
1003
1433
|
* @summary Update machine account details
|