sailpoint-api-client 1.8.2 → 1.8.4

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 (49) hide show
  1. package/beta/README.md +2 -2
  2. package/beta/api.ts +287 -65
  3. package/beta/common.ts +2 -2
  4. package/beta/package.json +1 -1
  5. package/dist/beta/api.d.ts +283 -64
  6. package/dist/beta/api.js +35 -36
  7. package/dist/beta/api.js.map +1 -1
  8. package/dist/beta/common.js +2 -2
  9. package/dist/nerm/common.js +2 -2
  10. package/dist/nermv2025/common.js +2 -2
  11. package/dist/v2024/api.d.ts +288 -69
  12. package/dist/v2024/api.js +49 -52
  13. package/dist/v2024/api.js.map +1 -1
  14. package/dist/v2024/common.js +2 -2
  15. package/dist/v2025/api.d.ts +292 -73
  16. package/dist/v2025/api.js +55 -58
  17. package/dist/v2025/api.js.map +1 -1
  18. package/dist/v2025/common.js +2 -2
  19. package/dist/v2026/api.d.ts +691 -0
  20. package/dist/v2026/api.js +635 -2
  21. package/dist/v2026/api.js.map +1 -1
  22. package/dist/v2026/common.js +2 -2
  23. package/dist/v3/api.d.ts +47 -11
  24. package/dist/v3/api.js +22 -18
  25. package/dist/v3/api.js.map +1 -1
  26. package/dist/v3/common.js +2 -2
  27. package/nerm/README.md +2 -2
  28. package/nerm/common.ts +2 -2
  29. package/nerm/package.json +1 -1
  30. package/nermv2025/README.md +2 -2
  31. package/nermv2025/common.ts +2 -2
  32. package/nermv2025/package.json +1 -1
  33. package/package.json +1 -1
  34. package/v2024/README.md +2 -2
  35. package/v2024/api.ts +299 -80
  36. package/v2024/common.ts +2 -2
  37. package/v2024/package.json +1 -1
  38. package/v2025/README.md +2 -2
  39. package/v2025/api.ts +303 -84
  40. package/v2025/common.ts +2 -2
  41. package/v2025/package.json +1 -1
  42. package/v2026/README.md +2 -2
  43. package/v2026/api.ts +1010 -0
  44. package/v2026/common.ts +2 -2
  45. package/v2026/package.json +1 -1
  46. package/v3/README.md +2 -2
  47. package/v3/api.ts +50 -11
  48. package/v3/common.ts +2 -2
  49. package/v3/package.json +1 -1
package/dist/v2026/api.js CHANGED
@@ -78,8 +78,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
78
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
79
  };
80
80
  Object.defineProperty(exports, "__esModule", { value: true });
81
- exports.NotificationsV2026ApiFactory = exports.NotificationsV2026ApiFp = exports.NotificationsV2026ApiAxiosParamCreator = exports.MachineSubtypeApprovalConfigV2026Api = exports.MachineSubtypeApprovalConfigV2026ApiFactory = exports.MachineSubtypeApprovalConfigV2026ApiFp = exports.MachineSubtypeApprovalConfigV2026ApiAxiosParamCreator = exports.MachineAccountDeletionApprovalConfigV2026Api = exports.MachineAccountDeletionApprovalConfigV2026ApiFactory = exports.MachineAccountDeletionApprovalConfigV2026ApiFp = exports.MachineAccountDeletionApprovalConfigV2026ApiAxiosParamCreator = exports.HumanAccountDeletionApprovalConfigV2026Api = exports.HumanAccountDeletionApprovalConfigV2026ApiFactory = exports.HumanAccountDeletionApprovalConfigV2026ApiFp = exports.HumanAccountDeletionApprovalConfigV2026ApiAxiosParamCreator = exports.EntitlementsV2026Api = exports.EntitlementsV2026ApiFactory = exports.EntitlementsV2026ApiFp = exports.EntitlementsV2026ApiAxiosParamCreator = exports.DeleteAccountV2026Api = exports.DeleteAccountV2026ApiFactory = exports.DeleteAccountV2026ApiFp = exports.DeleteAccountV2026ApiAxiosParamCreator = exports.AccountDeletionRequestsV2026Api = exports.AccountDeletionRequestsV2026ApiFactory = exports.AccountDeletionRequestsV2026ApiFp = exports.AccountDeletionRequestsV2026ApiAxiosParamCreator = exports.AccessRequestsV2026Api = exports.AccessRequestsV2026ApiFactory = exports.AccessRequestsV2026ApiFp = exports.AccessRequestsV2026ApiAxiosParamCreator = exports.TemplateVariableV2026TypeV2026 = exports.TemplateMediumDtoV2026 = exports.TaskStatusV2026CompletionStatusV2026 = exports.TaskStatusV2026TypeV2026 = exports.TaskStatusMessageV2026TypeV2026 = exports.TargetV2026TypeV2026 = exports.LocaleOriginV2026 = exports.JsonPatchOperationV2026OpV2026 = exports.EntitlementPrivilegeLevelV2026EffectiveV2026 = exports.EntitlementPrivilegeLevelV2026InheritedV2026 = exports.EntitlementPrivilegeLevelV2026SetByTypeV2026 = exports.EntitlementPrivilegeLevelV2026DirectV2026 = exports.EntitlementOwnerV2026TypeV2026 = exports.EntitlementApprovalSchemeV2026ApproverTypeV2026 = exports.EntitlementAccessRequestConfigMaxPermittedAccessDurationV2026TimeUnitV2026 = exports.DtoTypeV2026 = exports.ApprovalConfigV2026CommentsV2026 = exports.AccountRequestPhaseV2026NameV2026 = exports.AccountRequestPhaseStateV2026 = void 0;
82
- exports.TaskManagementV2026Api = exports.TaskManagementV2026ApiFactory = exports.TaskManagementV2026ApiFp = exports.TaskManagementV2026ApiAxiosParamCreator = exports.GetNotificationTemplateVariablesMediumV2026 = exports.NotificationsV2026Api = void 0;
81
+ exports.MachineSubtypeApprovalConfigV2026ApiFactory = exports.MachineSubtypeApprovalConfigV2026ApiFp = exports.MachineSubtypeApprovalConfigV2026ApiAxiosParamCreator = exports.MachineIdentitiesV2026Api = exports.MachineIdentitiesV2026ApiFactory = exports.MachineIdentitiesV2026ApiFp = exports.MachineIdentitiesV2026ApiAxiosParamCreator = exports.MachineAccountDeletionApprovalConfigV2026Api = exports.MachineAccountDeletionApprovalConfigV2026ApiFactory = exports.MachineAccountDeletionApprovalConfigV2026ApiFp = exports.MachineAccountDeletionApprovalConfigV2026ApiAxiosParamCreator = exports.HumanAccountDeletionApprovalConfigV2026Api = exports.HumanAccountDeletionApprovalConfigV2026ApiFactory = exports.HumanAccountDeletionApprovalConfigV2026ApiFp = exports.HumanAccountDeletionApprovalConfigV2026ApiAxiosParamCreator = exports.EntitlementsV2026Api = exports.EntitlementsV2026ApiFactory = exports.EntitlementsV2026ApiFp = exports.EntitlementsV2026ApiAxiosParamCreator = exports.DeleteAccountV2026Api = exports.DeleteAccountV2026ApiFactory = exports.DeleteAccountV2026ApiFp = exports.DeleteAccountV2026ApiAxiosParamCreator = exports.AccountDeletionRequestsV2026Api = exports.AccountDeletionRequestsV2026ApiFactory = exports.AccountDeletionRequestsV2026ApiFp = exports.AccountDeletionRequestsV2026ApiAxiosParamCreator = exports.AccessRequestsV2026Api = exports.AccessRequestsV2026ApiFactory = exports.AccessRequestsV2026ApiFp = exports.AccessRequestsV2026ApiAxiosParamCreator = exports.TemplateVariableV2026TypeV2026 = exports.TemplateMediumDtoV2026 = exports.TaskStatusV2026CompletionStatusV2026 = exports.TaskStatusV2026TypeV2026 = exports.TaskStatusMessageV2026TypeV2026 = exports.TargetV2026TypeV2026 = exports.LocaleOriginV2026 = exports.JsonPatchOperationV2026OpV2026 = exports.EntitlementPrivilegeLevelV2026EffectiveV2026 = exports.EntitlementPrivilegeLevelV2026InheritedV2026 = exports.EntitlementPrivilegeLevelV2026SetByTypeV2026 = exports.EntitlementPrivilegeLevelV2026DirectV2026 = exports.EntitlementOwnerV2026TypeV2026 = exports.EntitlementApprovalSchemeV2026ApproverTypeV2026 = exports.EntitlementAccessRequestConfigMaxPermittedAccessDurationV2026TimeUnitV2026 = exports.DtoTypeV2026 = exports.ApprovalConfigV2026CommentsV2026 = exports.AccountRequestPhaseV2026NameV2026 = exports.AccountRequestPhaseStateV2026 = void 0;
82
+ exports.TaskManagementV2026Api = exports.TaskManagementV2026ApiFactory = exports.TaskManagementV2026ApiFp = exports.TaskManagementV2026ApiAxiosParamCreator = exports.GetNotificationTemplateVariablesMediumV2026 = exports.NotificationsV2026Api = exports.NotificationsV2026ApiFactory = exports.NotificationsV2026ApiFp = exports.NotificationsV2026ApiAxiosParamCreator = exports.MachineSubtypeApprovalConfigV2026Api = void 0;
83
83
  var axios_1 = __importDefault(require("axios"));
84
84
  // Some imports not used depending on template conditions
85
85
  // @ts-ignore
@@ -2214,6 +2214,639 @@ var MachineAccountDeletionApprovalConfigV2026Api = /** @class */ (function (_sup
2214
2214
  return MachineAccountDeletionApprovalConfigV2026Api;
2215
2215
  }(base_1.BaseAPI));
2216
2216
  exports.MachineAccountDeletionApprovalConfigV2026Api = MachineAccountDeletionApprovalConfigV2026Api;
2217
+ /**
2218
+ * MachineIdentitiesV2026Api - axios parameter creator
2219
+ * @export
2220
+ */
2221
+ var MachineIdentitiesV2026ApiAxiosParamCreator = function (configuration) {
2222
+ var _this = this;
2223
+ return {
2224
+ /**
2225
+ * Use this API to create a machine identity. The maximum supported length for the description field is 2000 characters.
2226
+ * @summary Create machine identities
2227
+ * @param {MachineIdentityRequestV2026} machineIdentityRequestV2026
2228
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
2229
+ * @param {*} [axiosOptions] Override http request option.
2230
+ * @throws {RequiredError}
2231
+ */
2232
+ createMachineIdentity: function (machineIdentityRequestV2026, xSailPointExperimental, axiosOptions) {
2233
+ if (axiosOptions === void 0) { axiosOptions = {}; }
2234
+ return __awaiter(_this, void 0, void 0, function () {
2235
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2236
+ return __generator(this, function (_a) {
2237
+ switch (_a.label) {
2238
+ case 0:
2239
+ // verify required parameter 'machineIdentityRequestV2026' is not null or undefined
2240
+ (0, common_1.assertParamExists)('createMachineIdentity', 'machineIdentityRequestV2026', machineIdentityRequestV2026);
2241
+ if (xSailPointExperimental === undefined) {
2242
+ xSailPointExperimental = 'true';
2243
+ }
2244
+ localVarPath = "/machine-identities";
2245
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2246
+ if (configuration) {
2247
+ baseOptions = configuration.baseOptions;
2248
+ }
2249
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
2250
+ localVarHeaderParameter = {};
2251
+ localVarQueryParameter = {};
2252
+ // authentication userAuth required
2253
+ // oauth required
2254
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
2255
+ // authentication userAuth required
2256
+ // oauth required
2257
+ ];
2258
+ case 1:
2259
+ // authentication userAuth required
2260
+ // oauth required
2261
+ _a.sent();
2262
+ // authentication userAuth required
2263
+ // oauth required
2264
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
2265
+ // authentication applicationAuth required
2266
+ // oauth required
2267
+ ];
2268
+ case 2:
2269
+ // authentication userAuth required
2270
+ // oauth required
2271
+ _a.sent();
2272
+ // authentication applicationAuth required
2273
+ // oauth required
2274
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "applicationAuth", [], configuration)];
2275
+ case 3:
2276
+ // authentication applicationAuth required
2277
+ // oauth required
2278
+ _a.sent();
2279
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2280
+ if (xSailPointExperimental != null) {
2281
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
2282
+ }
2283
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2284
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2285
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
2286
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(machineIdentityRequestV2026, localVarRequestOptions, configuration);
2287
+ return [2 /*return*/, {
2288
+ url: (0, common_1.toPathString)(localVarUrlObj),
2289
+ axiosOptions: localVarRequestOptions,
2290
+ }];
2291
+ }
2292
+ });
2293
+ });
2294
+ },
2295
+ /**
2296
+ * The API returns successful response if the requested machine identity was deleted.
2297
+ * @summary Delete machine identity
2298
+ * @param {string} id Machine Identity ID
2299
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
2300
+ * @param {*} [axiosOptions] Override http request option.
2301
+ * @throws {RequiredError}
2302
+ */
2303
+ deleteMachineIdentity: function (id, xSailPointExperimental, axiosOptions) {
2304
+ if (axiosOptions === void 0) { axiosOptions = {}; }
2305
+ return __awaiter(_this, void 0, void 0, function () {
2306
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2307
+ return __generator(this, function (_a) {
2308
+ switch (_a.label) {
2309
+ case 0:
2310
+ // verify required parameter 'id' is not null or undefined
2311
+ (0, common_1.assertParamExists)('deleteMachineIdentity', 'id', id);
2312
+ if (xSailPointExperimental === undefined) {
2313
+ xSailPointExperimental = 'true';
2314
+ }
2315
+ localVarPath = "/machine-identities/{id}"
2316
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
2317
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2318
+ if (configuration) {
2319
+ baseOptions = configuration.baseOptions;
2320
+ }
2321
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), axiosOptions);
2322
+ localVarHeaderParameter = {};
2323
+ localVarQueryParameter = {};
2324
+ // authentication userAuth required
2325
+ // oauth required
2326
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
2327
+ // authentication userAuth required
2328
+ // oauth required
2329
+ ];
2330
+ case 1:
2331
+ // authentication userAuth required
2332
+ // oauth required
2333
+ _a.sent();
2334
+ // authentication userAuth required
2335
+ // oauth required
2336
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
2337
+ // authentication applicationAuth required
2338
+ // oauth required
2339
+ ];
2340
+ case 2:
2341
+ // authentication userAuth required
2342
+ // oauth required
2343
+ _a.sent();
2344
+ // authentication applicationAuth required
2345
+ // oauth required
2346
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "applicationAuth", [], configuration)];
2347
+ case 3:
2348
+ // authentication applicationAuth required
2349
+ // oauth required
2350
+ _a.sent();
2351
+ if (xSailPointExperimental != null) {
2352
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
2353
+ }
2354
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2355
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2356
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
2357
+ return [2 /*return*/, {
2358
+ url: (0, common_1.toPathString)(localVarUrlObj),
2359
+ axiosOptions: localVarRequestOptions,
2360
+ }];
2361
+ }
2362
+ });
2363
+ });
2364
+ },
2365
+ /**
2366
+ * This API returns a single machine identity using the Machine Identity ID.
2367
+ * @summary Machine identity details
2368
+ * @param {string} id Machine Identity ID
2369
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
2370
+ * @param {*} [axiosOptions] Override http request option.
2371
+ * @throws {RequiredError}
2372
+ */
2373
+ getMachineIdentity: function (id, xSailPointExperimental, axiosOptions) {
2374
+ if (axiosOptions === void 0) { axiosOptions = {}; }
2375
+ return __awaiter(_this, void 0, void 0, function () {
2376
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2377
+ return __generator(this, function (_a) {
2378
+ switch (_a.label) {
2379
+ case 0:
2380
+ // verify required parameter 'id' is not null or undefined
2381
+ (0, common_1.assertParamExists)('getMachineIdentity', 'id', id);
2382
+ if (xSailPointExperimental === undefined) {
2383
+ xSailPointExperimental = 'true';
2384
+ }
2385
+ localVarPath = "/machine-identities/{id}"
2386
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
2387
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2388
+ if (configuration) {
2389
+ baseOptions = configuration.baseOptions;
2390
+ }
2391
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
2392
+ localVarHeaderParameter = {};
2393
+ localVarQueryParameter = {};
2394
+ // authentication userAuth required
2395
+ // oauth required
2396
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
2397
+ // authentication userAuth required
2398
+ // oauth required
2399
+ ];
2400
+ case 1:
2401
+ // authentication userAuth required
2402
+ // oauth required
2403
+ _a.sent();
2404
+ // authentication userAuth required
2405
+ // oauth required
2406
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)];
2407
+ case 2:
2408
+ // authentication userAuth required
2409
+ // oauth required
2410
+ _a.sent();
2411
+ if (xSailPointExperimental != null) {
2412
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
2413
+ }
2414
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2415
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2416
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
2417
+ return [2 /*return*/, {
2418
+ url: (0, common_1.toPathString)(localVarUrlObj),
2419
+ axiosOptions: localVarRequestOptions,
2420
+ }];
2421
+ }
2422
+ });
2423
+ });
2424
+ },
2425
+ /**
2426
+ * This API returns a list of machine identities.
2427
+ * @summary List machine identities
2428
+ * @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in, sw* **displayName**: *eq, in, sw* **cisIdentityId**: *eq, in, sw* **nativeIdentity**: *eq, in, sw* **attributes**: *eq* **manuallyEdited**: *eq* **subtype**: *eq, in* **owners.primaryIdentity.id**: *eq, in, sw* **owners.primaryIdentity.name**: *eq, in, isnull, pr* **owners.secondaryIdentity.id**: *eq, in, sw* **owners.secondaryIdentity.name**: *eq, in, isnull, pr* **source.name**: *eq, in, sw* **source.id**: *eq, in* **entitlement.id**: *eq, in* **entitlement.name**: *eq, in, sw*
2429
+ * @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **nativeIdentity, name, owners.primaryIdentity.name, source.name, created, modified**
2430
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
2431
+ * @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.
2432
+ * @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.
2433
+ * @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.
2434
+ * @param {*} [axiosOptions] Override http request option.
2435
+ * @throws {RequiredError}
2436
+ */
2437
+ listMachineIdentities: function (filters, sorters, xSailPointExperimental, count, limit, offset, axiosOptions) {
2438
+ if (axiosOptions === void 0) { axiosOptions = {}; }
2439
+ return __awaiter(_this, void 0, void 0, function () {
2440
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2441
+ return __generator(this, function (_a) {
2442
+ switch (_a.label) {
2443
+ case 0:
2444
+ if (xSailPointExperimental === undefined) {
2445
+ xSailPointExperimental = 'true';
2446
+ }
2447
+ localVarPath = "/machine-identities";
2448
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2449
+ if (configuration) {
2450
+ baseOptions = configuration.baseOptions;
2451
+ }
2452
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
2453
+ localVarHeaderParameter = {};
2454
+ localVarQueryParameter = {};
2455
+ // authentication userAuth required
2456
+ // oauth required
2457
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
2458
+ // authentication userAuth required
2459
+ // oauth required
2460
+ ];
2461
+ case 1:
2462
+ // authentication userAuth required
2463
+ // oauth required
2464
+ _a.sent();
2465
+ // authentication userAuth required
2466
+ // oauth required
2467
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)];
2468
+ case 2:
2469
+ // authentication userAuth required
2470
+ // oauth required
2471
+ _a.sent();
2472
+ if (filters !== undefined) {
2473
+ localVarQueryParameter['filters'] = filters;
2474
+ }
2475
+ if (sorters !== undefined) {
2476
+ localVarQueryParameter['sorters'] = sorters;
2477
+ }
2478
+ if (count !== undefined) {
2479
+ localVarQueryParameter['count'] = count;
2480
+ }
2481
+ if (limit !== undefined) {
2482
+ localVarQueryParameter['limit'] = limit;
2483
+ }
2484
+ if (offset !== undefined) {
2485
+ localVarQueryParameter['offset'] = offset;
2486
+ }
2487
+ if (xSailPointExperimental != null) {
2488
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
2489
+ }
2490
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2491
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2492
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
2493
+ return [2 /*return*/, {
2494
+ url: (0, common_1.toPathString)(localVarUrlObj),
2495
+ axiosOptions: localVarRequestOptions,
2496
+ }];
2497
+ }
2498
+ });
2499
+ });
2500
+ },
2501
+ /**
2502
+ * Use this API to update machine identity details.
2503
+ * @summary Update a machine identity
2504
+ * @param {string} id Machine Identity ID.
2505
+ * @param {Array<object>} requestBody A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
2506
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
2507
+ * @param {*} [axiosOptions] Override http request option.
2508
+ * @throws {RequiredError}
2509
+ */
2510
+ updateMachineIdentity: function (id, requestBody, xSailPointExperimental, axiosOptions) {
2511
+ if (axiosOptions === void 0) { axiosOptions = {}; }
2512
+ return __awaiter(_this, void 0, void 0, function () {
2513
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2514
+ return __generator(this, function (_a) {
2515
+ switch (_a.label) {
2516
+ case 0:
2517
+ // verify required parameter 'id' is not null or undefined
2518
+ (0, common_1.assertParamExists)('updateMachineIdentity', 'id', id);
2519
+ // verify required parameter 'requestBody' is not null or undefined
2520
+ (0, common_1.assertParamExists)('updateMachineIdentity', 'requestBody', requestBody);
2521
+ if (xSailPointExperimental === undefined) {
2522
+ xSailPointExperimental = 'true';
2523
+ }
2524
+ localVarPath = "/machine-identities/{id}"
2525
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
2526
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2527
+ if (configuration) {
2528
+ baseOptions = configuration.baseOptions;
2529
+ }
2530
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), axiosOptions);
2531
+ localVarHeaderParameter = {};
2532
+ localVarQueryParameter = {};
2533
+ // authentication userAuth required
2534
+ // oauth required
2535
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
2536
+ // authentication userAuth required
2537
+ // oauth required
2538
+ ];
2539
+ case 1:
2540
+ // authentication userAuth required
2541
+ // oauth required
2542
+ _a.sent();
2543
+ // authentication userAuth required
2544
+ // oauth required
2545
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
2546
+ // authentication applicationAuth required
2547
+ // oauth required
2548
+ ];
2549
+ case 2:
2550
+ // authentication userAuth required
2551
+ // oauth required
2552
+ _a.sent();
2553
+ // authentication applicationAuth required
2554
+ // oauth required
2555
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "applicationAuth", [], configuration)];
2556
+ case 3:
2557
+ // authentication applicationAuth required
2558
+ // oauth required
2559
+ _a.sent();
2560
+ localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
2561
+ if (xSailPointExperimental != null) {
2562
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
2563
+ }
2564
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2565
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2566
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
2567
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
2568
+ return [2 /*return*/, {
2569
+ url: (0, common_1.toPathString)(localVarUrlObj),
2570
+ axiosOptions: localVarRequestOptions,
2571
+ }];
2572
+ }
2573
+ });
2574
+ });
2575
+ },
2576
+ };
2577
+ };
2578
+ exports.MachineIdentitiesV2026ApiAxiosParamCreator = MachineIdentitiesV2026ApiAxiosParamCreator;
2579
+ /**
2580
+ * MachineIdentitiesV2026Api - functional programming interface
2581
+ * @export
2582
+ */
2583
+ var MachineIdentitiesV2026ApiFp = function (configuration) {
2584
+ var localVarAxiosParamCreator = (0, exports.MachineIdentitiesV2026ApiAxiosParamCreator)(configuration);
2585
+ return {
2586
+ /**
2587
+ * Use this API to create a machine identity. The maximum supported length for the description field is 2000 characters.
2588
+ * @summary Create machine identities
2589
+ * @param {MachineIdentityRequestV2026} machineIdentityRequestV2026
2590
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
2591
+ * @param {*} [axiosOptions] Override http request option.
2592
+ * @throws {RequiredError}
2593
+ */
2594
+ createMachineIdentity: function (machineIdentityRequestV2026, xSailPointExperimental, axiosOptions) {
2595
+ var _a, _b, _c;
2596
+ return __awaiter(this, void 0, void 0, function () {
2597
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2598
+ return __generator(this, function (_d) {
2599
+ switch (_d.label) {
2600
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createMachineIdentity(machineIdentityRequestV2026, xSailPointExperimental, axiosOptions)];
2601
+ case 1:
2602
+ localVarAxiosArgs = _d.sent();
2603
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2604
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineIdentitiesV2026Api.createMachineIdentity']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2605
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2606
+ }
2607
+ });
2608
+ });
2609
+ },
2610
+ /**
2611
+ * The API returns successful response if the requested machine identity was deleted.
2612
+ * @summary Delete machine identity
2613
+ * @param {string} id Machine Identity ID
2614
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
2615
+ * @param {*} [axiosOptions] Override http request option.
2616
+ * @throws {RequiredError}
2617
+ */
2618
+ deleteMachineIdentity: function (id, xSailPointExperimental, axiosOptions) {
2619
+ var _a, _b, _c;
2620
+ return __awaiter(this, void 0, void 0, function () {
2621
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2622
+ return __generator(this, function (_d) {
2623
+ switch (_d.label) {
2624
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteMachineIdentity(id, xSailPointExperimental, axiosOptions)];
2625
+ case 1:
2626
+ localVarAxiosArgs = _d.sent();
2627
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2628
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineIdentitiesV2026Api.deleteMachineIdentity']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2629
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2630
+ }
2631
+ });
2632
+ });
2633
+ },
2634
+ /**
2635
+ * This API returns a single machine identity using the Machine Identity ID.
2636
+ * @summary Machine identity details
2637
+ * @param {string} id Machine Identity ID
2638
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
2639
+ * @param {*} [axiosOptions] Override http request option.
2640
+ * @throws {RequiredError}
2641
+ */
2642
+ getMachineIdentity: function (id, xSailPointExperimental, axiosOptions) {
2643
+ var _a, _b, _c;
2644
+ return __awaiter(this, void 0, void 0, function () {
2645
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2646
+ return __generator(this, function (_d) {
2647
+ switch (_d.label) {
2648
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getMachineIdentity(id, xSailPointExperimental, axiosOptions)];
2649
+ case 1:
2650
+ localVarAxiosArgs = _d.sent();
2651
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2652
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineIdentitiesV2026Api.getMachineIdentity']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2653
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2654
+ }
2655
+ });
2656
+ });
2657
+ },
2658
+ /**
2659
+ * This API returns a list of machine identities.
2660
+ * @summary List machine identities
2661
+ * @param {string} [filters] Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **id**: *eq, in, sw* **displayName**: *eq, in, sw* **cisIdentityId**: *eq, in, sw* **nativeIdentity**: *eq, in, sw* **attributes**: *eq* **manuallyEdited**: *eq* **subtype**: *eq, in* **owners.primaryIdentity.id**: *eq, in, sw* **owners.primaryIdentity.name**: *eq, in, isnull, pr* **owners.secondaryIdentity.id**: *eq, in, sw* **owners.secondaryIdentity.name**: *eq, in, isnull, pr* **source.name**: *eq, in, sw* **source.id**: *eq, in* **entitlement.id**: *eq, in* **entitlement.name**: *eq, in, sw*
2662
+ * @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **nativeIdentity, name, owners.primaryIdentity.name, source.name, created, modified**
2663
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
2664
+ * @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&#x3D;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.
2665
+ * @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.
2666
+ * @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.
2667
+ * @param {*} [axiosOptions] Override http request option.
2668
+ * @throws {RequiredError}
2669
+ */
2670
+ listMachineIdentities: function (filters, sorters, xSailPointExperimental, count, limit, offset, axiosOptions) {
2671
+ var _a, _b, _c;
2672
+ return __awaiter(this, void 0, void 0, function () {
2673
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2674
+ return __generator(this, function (_d) {
2675
+ switch (_d.label) {
2676
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listMachineIdentities(filters, sorters, xSailPointExperimental, count, limit, offset, axiosOptions)];
2677
+ case 1:
2678
+ localVarAxiosArgs = _d.sent();
2679
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2680
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineIdentitiesV2026Api.listMachineIdentities']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2681
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2682
+ }
2683
+ });
2684
+ });
2685
+ },
2686
+ /**
2687
+ * Use this API to update machine identity details.
2688
+ * @summary Update a machine identity
2689
+ * @param {string} id Machine Identity ID.
2690
+ * @param {Array<object>} requestBody A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
2691
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
2692
+ * @param {*} [axiosOptions] Override http request option.
2693
+ * @throws {RequiredError}
2694
+ */
2695
+ updateMachineIdentity: function (id, requestBody, xSailPointExperimental, axiosOptions) {
2696
+ var _a, _b, _c;
2697
+ return __awaiter(this, void 0, void 0, function () {
2698
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2699
+ return __generator(this, function (_d) {
2700
+ switch (_d.label) {
2701
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateMachineIdentity(id, requestBody, xSailPointExperimental, axiosOptions)];
2702
+ case 1:
2703
+ localVarAxiosArgs = _d.sent();
2704
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2705
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineIdentitiesV2026Api.updateMachineIdentity']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2706
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2707
+ }
2708
+ });
2709
+ });
2710
+ },
2711
+ };
2712
+ };
2713
+ exports.MachineIdentitiesV2026ApiFp = MachineIdentitiesV2026ApiFp;
2714
+ /**
2715
+ * MachineIdentitiesV2026Api - factory interface
2716
+ * @export
2717
+ */
2718
+ var MachineIdentitiesV2026ApiFactory = function (configuration, basePath, axios) {
2719
+ var localVarFp = (0, exports.MachineIdentitiesV2026ApiFp)(configuration);
2720
+ return {
2721
+ /**
2722
+ * Use this API to create a machine identity. The maximum supported length for the description field is 2000 characters.
2723
+ * @summary Create machine identities
2724
+ * @param {MachineIdentitiesV2026ApiCreateMachineIdentityRequest} requestParameters Request parameters.
2725
+ * @param {*} [axiosOptions] Override http request option.
2726
+ * @throws {RequiredError}
2727
+ */
2728
+ createMachineIdentity: function (requestParameters, axiosOptions) {
2729
+ return localVarFp.createMachineIdentity(requestParameters.machineIdentityRequestV2026, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
2730
+ },
2731
+ /**
2732
+ * The API returns successful response if the requested machine identity was deleted.
2733
+ * @summary Delete machine identity
2734
+ * @param {MachineIdentitiesV2026ApiDeleteMachineIdentityRequest} requestParameters Request parameters.
2735
+ * @param {*} [axiosOptions] Override http request option.
2736
+ * @throws {RequiredError}
2737
+ */
2738
+ deleteMachineIdentity: function (requestParameters, axiosOptions) {
2739
+ return localVarFp.deleteMachineIdentity(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
2740
+ },
2741
+ /**
2742
+ * This API returns a single machine identity using the Machine Identity ID.
2743
+ * @summary Machine identity details
2744
+ * @param {MachineIdentitiesV2026ApiGetMachineIdentityRequest} requestParameters Request parameters.
2745
+ * @param {*} [axiosOptions] Override http request option.
2746
+ * @throws {RequiredError}
2747
+ */
2748
+ getMachineIdentity: function (requestParameters, axiosOptions) {
2749
+ return localVarFp.getMachineIdentity(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
2750
+ },
2751
+ /**
2752
+ * This API returns a list of machine identities.
2753
+ * @summary List machine identities
2754
+ * @param {MachineIdentitiesV2026ApiListMachineIdentitiesRequest} requestParameters Request parameters.
2755
+ * @param {*} [axiosOptions] Override http request option.
2756
+ * @throws {RequiredError}
2757
+ */
2758
+ listMachineIdentities: function (requestParameters, axiosOptions) {
2759
+ if (requestParameters === void 0) { requestParameters = {}; }
2760
+ return localVarFp.listMachineIdentities(requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then(function (request) { return request(axios, basePath); });
2761
+ },
2762
+ /**
2763
+ * Use this API to update machine identity details.
2764
+ * @summary Update a machine identity
2765
+ * @param {MachineIdentitiesV2026ApiUpdateMachineIdentityRequest} requestParameters Request parameters.
2766
+ * @param {*} [axiosOptions] Override http request option.
2767
+ * @throws {RequiredError}
2768
+ */
2769
+ updateMachineIdentity: function (requestParameters, axiosOptions) {
2770
+ return localVarFp.updateMachineIdentity(requestParameters.id, requestParameters.requestBody, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
2771
+ },
2772
+ };
2773
+ };
2774
+ exports.MachineIdentitiesV2026ApiFactory = MachineIdentitiesV2026ApiFactory;
2775
+ /**
2776
+ * MachineIdentitiesV2026Api - object-oriented interface
2777
+ * @export
2778
+ * @class MachineIdentitiesV2026Api
2779
+ * @extends {BaseAPI}
2780
+ */
2781
+ var MachineIdentitiesV2026Api = /** @class */ (function (_super) {
2782
+ __extends(MachineIdentitiesV2026Api, _super);
2783
+ function MachineIdentitiesV2026Api() {
2784
+ return _super !== null && _super.apply(this, arguments) || this;
2785
+ }
2786
+ /**
2787
+ * Use this API to create a machine identity. The maximum supported length for the description field is 2000 characters.
2788
+ * @summary Create machine identities
2789
+ * @param {MachineIdentitiesV2026ApiCreateMachineIdentityRequest} requestParameters Request parameters.
2790
+ * @param {*} [axiosOptions] Override http request option.
2791
+ * @throws {RequiredError}
2792
+ * @memberof MachineIdentitiesV2026Api
2793
+ */
2794
+ MachineIdentitiesV2026Api.prototype.createMachineIdentity = function (requestParameters, axiosOptions) {
2795
+ var _this = this;
2796
+ return (0, exports.MachineIdentitiesV2026ApiFp)(this.configuration).createMachineIdentity(requestParameters.machineIdentityRequestV2026, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
2797
+ };
2798
+ /**
2799
+ * The API returns successful response if the requested machine identity was deleted.
2800
+ * @summary Delete machine identity
2801
+ * @param {MachineIdentitiesV2026ApiDeleteMachineIdentityRequest} requestParameters Request parameters.
2802
+ * @param {*} [axiosOptions] Override http request option.
2803
+ * @throws {RequiredError}
2804
+ * @memberof MachineIdentitiesV2026Api
2805
+ */
2806
+ MachineIdentitiesV2026Api.prototype.deleteMachineIdentity = function (requestParameters, axiosOptions) {
2807
+ var _this = this;
2808
+ return (0, exports.MachineIdentitiesV2026ApiFp)(this.configuration).deleteMachineIdentity(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
2809
+ };
2810
+ /**
2811
+ * This API returns a single machine identity using the Machine Identity ID.
2812
+ * @summary Machine identity details
2813
+ * @param {MachineIdentitiesV2026ApiGetMachineIdentityRequest} requestParameters Request parameters.
2814
+ * @param {*} [axiosOptions] Override http request option.
2815
+ * @throws {RequiredError}
2816
+ * @memberof MachineIdentitiesV2026Api
2817
+ */
2818
+ MachineIdentitiesV2026Api.prototype.getMachineIdentity = function (requestParameters, axiosOptions) {
2819
+ var _this = this;
2820
+ return (0, exports.MachineIdentitiesV2026ApiFp)(this.configuration).getMachineIdentity(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
2821
+ };
2822
+ /**
2823
+ * This API returns a list of machine identities.
2824
+ * @summary List machine identities
2825
+ * @param {MachineIdentitiesV2026ApiListMachineIdentitiesRequest} requestParameters Request parameters.
2826
+ * @param {*} [axiosOptions] Override http request option.
2827
+ * @throws {RequiredError}
2828
+ * @memberof MachineIdentitiesV2026Api
2829
+ */
2830
+ MachineIdentitiesV2026Api.prototype.listMachineIdentities = function (requestParameters, axiosOptions) {
2831
+ var _this = this;
2832
+ if (requestParameters === void 0) { requestParameters = {}; }
2833
+ return (0, exports.MachineIdentitiesV2026ApiFp)(this.configuration).listMachineIdentities(requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
2834
+ };
2835
+ /**
2836
+ * Use this API to update machine identity details.
2837
+ * @summary Update a machine identity
2838
+ * @param {MachineIdentitiesV2026ApiUpdateMachineIdentityRequest} requestParameters Request parameters.
2839
+ * @param {*} [axiosOptions] Override http request option.
2840
+ * @throws {RequiredError}
2841
+ * @memberof MachineIdentitiesV2026Api
2842
+ */
2843
+ MachineIdentitiesV2026Api.prototype.updateMachineIdentity = function (requestParameters, axiosOptions) {
2844
+ var _this = this;
2845
+ return (0, exports.MachineIdentitiesV2026ApiFp)(this.configuration).updateMachineIdentity(requestParameters.id, requestParameters.requestBody, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
2846
+ };
2847
+ return MachineIdentitiesV2026Api;
2848
+ }(base_1.BaseAPI));
2849
+ exports.MachineIdentitiesV2026Api = MachineIdentitiesV2026Api;
2217
2850
  /**
2218
2851
  * MachineSubtypeApprovalConfigV2026Api - axios parameter creator
2219
2852
  * @export