sailpoint-api-client 1.8.58 → 1.8.60

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 (46) hide show
  1. package/beta/README.md +2 -2
  2. package/beta/api.ts +36 -0
  3. package/beta/common.ts +2 -2
  4. package/beta/package.json +1 -1
  5. package/dist/beta/api.d.ts +36 -0
  6. package/dist/beta/api.js.map +1 -1
  7. package/dist/beta/common.js +2 -2
  8. package/dist/nerm/common.js +2 -2
  9. package/dist/nermv2025/common.js +2 -2
  10. package/dist/v2024/api.d.ts +36 -0
  11. package/dist/v2024/api.js.map +1 -1
  12. package/dist/v2024/common.js +2 -2
  13. package/dist/v2025/api.d.ts +60 -0
  14. package/dist/v2025/api.js +24 -0
  15. package/dist/v2025/api.js.map +1 -1
  16. package/dist/v2025/common.js +2 -2
  17. package/dist/v2026/api.d.ts +443 -176
  18. package/dist/v2026/api.js +694 -391
  19. package/dist/v2026/api.js.map +1 -1
  20. package/dist/v2026/common.js +2 -2
  21. package/dist/v3/api.d.ts +36 -0
  22. package/dist/v3/api.js.map +1 -1
  23. package/dist/v3/common.js +2 -2
  24. package/nerm/README.md +2 -2
  25. package/nerm/common.ts +2 -2
  26. package/nerm/package.json +1 -1
  27. package/nermv2025/README.md +2 -2
  28. package/nermv2025/common.ts +2 -2
  29. package/nermv2025/package.json +1 -1
  30. package/package.json +1 -1
  31. package/v2024/README.md +2 -2
  32. package/v2024/api.ts +36 -0
  33. package/v2024/common.ts +2 -2
  34. package/v2024/package.json +1 -1
  35. package/v2025/README.md +2 -2
  36. package/v2025/api.ts +60 -0
  37. package/v2025/common.ts +2 -2
  38. package/v2025/package.json +1 -1
  39. package/v2026/README.md +2 -2
  40. package/v2026/api.ts +790 -362
  41. package/v2026/common.ts +2 -2
  42. package/v2026/package.json +1 -1
  43. package/v3/README.md +2 -2
  44. package/v3/api.ts +36 -0
  45. package/v3/common.ts +2 -2
  46. package/v3/package.json +1 -1
package/dist/v2026/api.js CHANGED
@@ -54556,14 +54556,86 @@ exports.MachineAccountMappingsV2026Api = MachineAccountMappingsV2026Api;
54556
54556
  var MachineAccountSubtypesV2026ApiAxiosParamCreator = function (configuration) {
54557
54557
  var _this = this;
54558
54558
  return {
54559
+ /**
54560
+ * Create a new machine account subtype.
54561
+ * @summary Create subtype
54562
+ * @param {CreateSourceSubtypeRequestV2026} createSourceSubtypeRequestV2026
54563
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
54564
+ * @param {*} [axiosOptions] Override http request option.
54565
+ * @throws {RequiredError}
54566
+ */
54567
+ createSourceSubtype: function (createSourceSubtypeRequestV2026, xSailPointExperimental, axiosOptions) {
54568
+ if (axiosOptions === void 0) { axiosOptions = {}; }
54569
+ return __awaiter(_this, void 0, void 0, function () {
54570
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
54571
+ return __generator(this, function (_a) {
54572
+ switch (_a.label) {
54573
+ case 0:
54574
+ // verify required parameter 'createSourceSubtypeRequestV2026' is not null or undefined
54575
+ (0, common_1.assertParamExists)('createSourceSubtype', 'createSourceSubtypeRequestV2026', createSourceSubtypeRequestV2026);
54576
+ if (xSailPointExperimental === undefined) {
54577
+ xSailPointExperimental = 'true';
54578
+ }
54579
+ localVarPath = "/source-subtypes";
54580
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
54581
+ if (configuration) {
54582
+ baseOptions = configuration.baseOptions;
54583
+ }
54584
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
54585
+ localVarHeaderParameter = {};
54586
+ localVarQueryParameter = {};
54587
+ // authentication userAuth required
54588
+ // oauth required
54589
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
54590
+ // authentication userAuth required
54591
+ // oauth required
54592
+ ];
54593
+ case 1:
54594
+ // authentication userAuth required
54595
+ // oauth required
54596
+ _a.sent();
54597
+ // authentication userAuth required
54598
+ // oauth required
54599
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
54600
+ // authentication applicationAuth required
54601
+ // oauth required
54602
+ ];
54603
+ case 2:
54604
+ // authentication userAuth required
54605
+ // oauth required
54606
+ _a.sent();
54607
+ // authentication applicationAuth required
54608
+ // oauth required
54609
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "applicationAuth", [], configuration)];
54610
+ case 3:
54611
+ // authentication applicationAuth required
54612
+ // oauth required
54613
+ _a.sent();
54614
+ localVarHeaderParameter['Content-Type'] = 'application/json';
54615
+ if (xSailPointExperimental != null) {
54616
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
54617
+ }
54618
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
54619
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
54620
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
54621
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createSourceSubtypeRequestV2026, localVarRequestOptions, configuration);
54622
+ return [2 /*return*/, {
54623
+ url: (0, common_1.toPathString)(localVarUrlObj),
54624
+ axiosOptions: localVarRequestOptions,
54625
+ }];
54626
+ }
54627
+ });
54628
+ });
54629
+ },
54559
54630
  /**
54560
54631
  * Delete a machine account subtype by subtype ID. Note: If subtype has approval settings or entitlement for machine account creation enablement then it\'ll be also deleted.
54561
54632
  * @summary Delete subtype by ID
54562
54633
  * @param {string} subtypeId The ID of the subtype.
54634
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
54563
54635
  * @param {*} [axiosOptions] Override http request option.
54564
54636
  * @throws {RequiredError}
54565
54637
  */
54566
- deleteMachineAccountSubtype: function (subtypeId, axiosOptions) {
54638
+ deleteMachineAccountSubtype: function (subtypeId, xSailPointExperimental, axiosOptions) {
54567
54639
  if (axiosOptions === void 0) { axiosOptions = {}; }
54568
54640
  return __awaiter(_this, void 0, void 0, function () {
54569
54641
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -54572,6 +54644,9 @@ var MachineAccountSubtypesV2026ApiAxiosParamCreator = function (configuration) {
54572
54644
  case 0:
54573
54645
  // verify required parameter 'subtypeId' is not null or undefined
54574
54646
  (0, common_1.assertParamExists)('deleteMachineAccountSubtype', 'subtypeId', subtypeId);
54647
+ if (xSailPointExperimental === undefined) {
54648
+ xSailPointExperimental = 'true';
54649
+ }
54575
54650
  localVarPath = "/source-subtypes/{subtypeId}"
54576
54651
  .replace("{".concat("subtypeId", "}"), encodeURIComponent(String(subtypeId)));
54577
54652
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -54608,6 +54683,71 @@ var MachineAccountSubtypesV2026ApiAxiosParamCreator = function (configuration) {
54608
54683
  // authentication applicationAuth required
54609
54684
  // oauth required
54610
54685
  _a.sent();
54686
+ if (xSailPointExperimental != null) {
54687
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
54688
+ }
54689
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
54690
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
54691
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
54692
+ return [2 /*return*/, {
54693
+ url: (0, common_1.toPathString)(localVarUrlObj),
54694
+ axiosOptions: localVarRequestOptions,
54695
+ }];
54696
+ }
54697
+ });
54698
+ });
54699
+ },
54700
+ /**
54701
+ * This endpoint retrieves the approval configuration for machine account creation and deletion at the machine subtype level. By providing a specific subtypeId in the path, clients can fetch the approval rules and settings (such as required approvers and comments policy) that govern account creation and deletion for that particular machine subtype. The response includes a MachineAccountSubtypeConfigDto object detailing these configurations, enabling clients to understand or display the approval workflow required for creating and deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account creation and deletion.
54702
+ * @summary Machine Subtype Approval Config
54703
+ * @param {string} xSailPointExperimental Use this header to enable this experimental API.
54704
+ * @param {string} subtypeId machine subtype id.
54705
+ * @param {*} [axiosOptions] Override http request option.
54706
+ * @throws {RequiredError}
54707
+ */
54708
+ getMachineAccountSubtypeApprovalConfig: function (xSailPointExperimental, subtypeId, axiosOptions) {
54709
+ if (axiosOptions === void 0) { axiosOptions = {}; }
54710
+ return __awaiter(_this, void 0, void 0, function () {
54711
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
54712
+ return __generator(this, function (_a) {
54713
+ switch (_a.label) {
54714
+ case 0:
54715
+ if (xSailPointExperimental === undefined) {
54716
+ xSailPointExperimental = 'true';
54717
+ }
54718
+ // verify required parameter 'xSailPointExperimental' is not null or undefined
54719
+ (0, common_1.assertParamExists)('getMachineAccountSubtypeApprovalConfig', 'xSailPointExperimental', xSailPointExperimental);
54720
+ // verify required parameter 'subtypeId' is not null or undefined
54721
+ (0, common_1.assertParamExists)('getMachineAccountSubtypeApprovalConfig', 'subtypeId', subtypeId);
54722
+ localVarPath = "/source-subtypes/{subtypeId}/machine-config"
54723
+ .replace("{".concat("subtypeId", "}"), encodeURIComponent(String(subtypeId)));
54724
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
54725
+ if (configuration) {
54726
+ baseOptions = configuration.baseOptions;
54727
+ }
54728
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
54729
+ localVarHeaderParameter = {};
54730
+ localVarQueryParameter = {};
54731
+ // authentication userAuth required
54732
+ // oauth required
54733
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
54734
+ // authentication userAuth required
54735
+ // oauth required
54736
+ ];
54737
+ case 1:
54738
+ // authentication userAuth required
54739
+ // oauth required
54740
+ _a.sent();
54741
+ // authentication userAuth required
54742
+ // oauth required
54743
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)];
54744
+ case 2:
54745
+ // authentication userAuth required
54746
+ // oauth required
54747
+ _a.sent();
54748
+ if (xSailPointExperimental != null) {
54749
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
54750
+ }
54611
54751
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
54612
54752
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
54613
54753
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
@@ -54623,10 +54763,11 @@ var MachineAccountSubtypesV2026ApiAxiosParamCreator = function (configuration) {
54623
54763
  * Get a machine account subtype by subtype ID.
54624
54764
  * @summary Get subtype by ID
54625
54765
  * @param {string} subtypeId The ID of the subtype.
54766
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
54626
54767
  * @param {*} [axiosOptions] Override http request option.
54627
54768
  * @throws {RequiredError}
54628
54769
  */
54629
- getSourceSubtypeById: function (subtypeId, axiosOptions) {
54770
+ getSourceSubtypeById: function (subtypeId, xSailPointExperimental, axiosOptions) {
54630
54771
  if (axiosOptions === void 0) { axiosOptions = {}; }
54631
54772
  return __awaiter(_this, void 0, void 0, function () {
54632
54773
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -54635,6 +54776,9 @@ var MachineAccountSubtypesV2026ApiAxiosParamCreator = function (configuration) {
54635
54776
  case 0:
54636
54777
  // verify required parameter 'subtypeId' is not null or undefined
54637
54778
  (0, common_1.assertParamExists)('getSourceSubtypeById', 'subtypeId', subtypeId);
54779
+ if (xSailPointExperimental === undefined) {
54780
+ xSailPointExperimental = 'true';
54781
+ }
54638
54782
  localVarPath = "/source-subtypes/{subtypeId}"
54639
54783
  .replace("{".concat("subtypeId", "}"), encodeURIComponent(String(subtypeId)));
54640
54784
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -54671,9 +54815,171 @@ var MachineAccountSubtypesV2026ApiAxiosParamCreator = function (configuration) {
54671
54815
  // authentication applicationAuth required
54672
54816
  // oauth required
54673
54817
  _a.sent();
54818
+ if (xSailPointExperimental != null) {
54819
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
54820
+ }
54821
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
54822
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
54823
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
54824
+ return [2 /*return*/, {
54825
+ url: (0, common_1.toPathString)(localVarUrlObj),
54826
+ axiosOptions: localVarRequestOptions,
54827
+ }];
54828
+ }
54829
+ });
54830
+ });
54831
+ },
54832
+ /**
54833
+ * Get all machine account subtypes.
54834
+ * @summary Retrieve all subtypes
54835
+ * @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, sw* **technicalName**: *eq, sw* **source.id**: *eq, in*
54836
+ * @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: **displayName, technicalName**
54837
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
54838
+ * @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.
54839
+ * @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.
54840
+ * @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.
54841
+ * @param {*} [axiosOptions] Override http request option.
54842
+ * @throws {RequiredError}
54843
+ */
54844
+ listSourceSubtypes: function (filters, sorters, xSailPointExperimental, count, limit, offset, axiosOptions) {
54845
+ if (axiosOptions === void 0) { axiosOptions = {}; }
54846
+ return __awaiter(_this, void 0, void 0, function () {
54847
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
54848
+ return __generator(this, function (_a) {
54849
+ switch (_a.label) {
54850
+ case 0:
54851
+ if (xSailPointExperimental === undefined) {
54852
+ xSailPointExperimental = 'true';
54853
+ }
54854
+ localVarPath = "/source-subtypes";
54855
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
54856
+ if (configuration) {
54857
+ baseOptions = configuration.baseOptions;
54858
+ }
54859
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
54860
+ localVarHeaderParameter = {};
54861
+ localVarQueryParameter = {};
54862
+ // authentication userAuth required
54863
+ // oauth required
54864
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
54865
+ // authentication userAuth required
54866
+ // oauth required
54867
+ ];
54868
+ case 1:
54869
+ // authentication userAuth required
54870
+ // oauth required
54871
+ _a.sent();
54872
+ // authentication userAuth required
54873
+ // oauth required
54874
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
54875
+ // authentication applicationAuth required
54876
+ // oauth required
54877
+ ];
54878
+ case 2:
54879
+ // authentication userAuth required
54880
+ // oauth required
54881
+ _a.sent();
54882
+ // authentication applicationAuth required
54883
+ // oauth required
54884
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "applicationAuth", [], configuration)];
54885
+ case 3:
54886
+ // authentication applicationAuth required
54887
+ // oauth required
54888
+ _a.sent();
54889
+ if (filters !== undefined) {
54890
+ localVarQueryParameter['filters'] = filters;
54891
+ }
54892
+ if (sorters !== undefined) {
54893
+ localVarQueryParameter['sorters'] = sorters;
54894
+ }
54895
+ if (count !== undefined) {
54896
+ localVarQueryParameter['count'] = count;
54897
+ }
54898
+ if (limit !== undefined) {
54899
+ localVarQueryParameter['limit'] = limit;
54900
+ }
54901
+ if (offset !== undefined) {
54902
+ localVarQueryParameter['offset'] = offset;
54903
+ }
54904
+ if (xSailPointExperimental != null) {
54905
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
54906
+ }
54907
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
54908
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
54909
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
54910
+ return [2 /*return*/, {
54911
+ url: (0, common_1.toPathString)(localVarUrlObj),
54912
+ axiosOptions: localVarRequestOptions,
54913
+ }];
54914
+ }
54915
+ });
54916
+ });
54917
+ },
54918
+ /**
54919
+ * This endpoint retrieves the subtypes for given subtypeIds.
54920
+ * @summary Bulk Retrieve of Source Subtypes
54921
+ * @param {string} xSailPointExperimental Use this header to enable this experimental API.
54922
+ * @param {Array<string>} requestBody
54923
+ * @param {*} [axiosOptions] Override http request option.
54924
+ * @throws {RequiredError}
54925
+ */
54926
+ loadBulkSourceSubtypes: function (xSailPointExperimental, requestBody, axiosOptions) {
54927
+ if (axiosOptions === void 0) { axiosOptions = {}; }
54928
+ return __awaiter(_this, void 0, void 0, function () {
54929
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
54930
+ return __generator(this, function (_a) {
54931
+ switch (_a.label) {
54932
+ case 0:
54933
+ if (xSailPointExperimental === undefined) {
54934
+ xSailPointExperimental = 'true';
54935
+ }
54936
+ // verify required parameter 'xSailPointExperimental' is not null or undefined
54937
+ (0, common_1.assertParamExists)('loadBulkSourceSubtypes', 'xSailPointExperimental', xSailPointExperimental);
54938
+ // verify required parameter 'requestBody' is not null or undefined
54939
+ (0, common_1.assertParamExists)('loadBulkSourceSubtypes', 'requestBody', requestBody);
54940
+ localVarPath = "/source-subtypes/bulk-retrieve";
54941
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
54942
+ if (configuration) {
54943
+ baseOptions = configuration.baseOptions;
54944
+ }
54945
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
54946
+ localVarHeaderParameter = {};
54947
+ localVarQueryParameter = {};
54948
+ // authentication userAuth required
54949
+ // oauth required
54950
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
54951
+ // authentication userAuth required
54952
+ // oauth required
54953
+ ];
54954
+ case 1:
54955
+ // authentication userAuth required
54956
+ // oauth required
54957
+ _a.sent();
54958
+ // authentication userAuth required
54959
+ // oauth required
54960
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
54961
+ // authentication applicationAuth required
54962
+ // oauth required
54963
+ ];
54964
+ case 2:
54965
+ // authentication userAuth required
54966
+ // oauth required
54967
+ _a.sent();
54968
+ // authentication applicationAuth required
54969
+ // oauth required
54970
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "applicationAuth", [], configuration)];
54971
+ case 3:
54972
+ // authentication applicationAuth required
54973
+ // oauth required
54974
+ _a.sent();
54975
+ localVarHeaderParameter['Content-Type'] = 'application/json';
54976
+ if (xSailPointExperimental != null) {
54977
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
54978
+ }
54674
54979
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
54675
54980
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
54676
54981
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
54982
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
54677
54983
  return [2 /*return*/, {
54678
54984
  url: (0, common_1.toPathString)(localVarUrlObj),
54679
54985
  axiosOptions: localVarRequestOptions,
@@ -54687,10 +54993,11 @@ var MachineAccountSubtypesV2026ApiAxiosParamCreator = function (configuration) {
54687
54993
  * @summary Patch subtype by ID
54688
54994
  * @param {string} subtypeId The ID of the subtype.
54689
54995
  * @param {Array<object>} requestBody A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
54996
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
54690
54997
  * @param {*} [axiosOptions] Override http request option.
54691
54998
  * @throws {RequiredError}
54692
54999
  */
54693
- patchMachineAccountSubtype: function (subtypeId, requestBody, axiosOptions) {
55000
+ patchMachineAccountSubtype: function (subtypeId, requestBody, xSailPointExperimental, axiosOptions) {
54694
55001
  if (axiosOptions === void 0) { axiosOptions = {}; }
54695
55002
  return __awaiter(_this, void 0, void 0, function () {
54696
55003
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -54701,6 +55008,9 @@ var MachineAccountSubtypesV2026ApiAxiosParamCreator = function (configuration) {
54701
55008
  (0, common_1.assertParamExists)('patchMachineAccountSubtype', 'subtypeId', subtypeId);
54702
55009
  // verify required parameter 'requestBody' is not null or undefined
54703
55010
  (0, common_1.assertParamExists)('patchMachineAccountSubtype', 'requestBody', requestBody);
55011
+ if (xSailPointExperimental === undefined) {
55012
+ xSailPointExperimental = 'true';
55013
+ }
54704
55014
  localVarPath = "/source-subtypes/{subtypeId}"
54705
55015
  .replace("{".concat("subtypeId", "}"), encodeURIComponent(String(subtypeId)));
54706
55016
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -54738,6 +55048,9 @@ var MachineAccountSubtypesV2026ApiAxiosParamCreator = function (configuration) {
54738
55048
  // oauth required
54739
55049
  _a.sent();
54740
55050
  localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
55051
+ if (xSailPointExperimental != null) {
55052
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
55053
+ }
54741
55054
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
54742
55055
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
54743
55056
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
@@ -54750,6 +55063,73 @@ var MachineAccountSubtypesV2026ApiAxiosParamCreator = function (configuration) {
54750
55063
  });
54751
55064
  });
54752
55065
  },
55066
+ /**
55067
+ * Updates the approval configuration for machine account deletion at the specified machine subtype level. This endpoint allows clients to modify approval rules and settings (such as required approvers and comments policy) for account creation and deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for creating and deleting machine accounts of a particular subtype.
55068
+ * @summary Machine Subtype Approval Config
55069
+ * @param {string} xSailPointExperimental Use this header to enable this experimental API.
55070
+ * @param {string} subtypeId machine account subtype ID.
55071
+ * @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the object.
55072
+ * @param {*} [axiosOptions] Override http request option.
55073
+ * @throws {RequiredError}
55074
+ */
55075
+ updateMachineAccountSubtypeApprovalConfig: function (xSailPointExperimental, subtypeId, jsonPatchOperationV2026, axiosOptions) {
55076
+ if (axiosOptions === void 0) { axiosOptions = {}; }
55077
+ return __awaiter(_this, void 0, void 0, function () {
55078
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
55079
+ return __generator(this, function (_a) {
55080
+ switch (_a.label) {
55081
+ case 0:
55082
+ if (xSailPointExperimental === undefined) {
55083
+ xSailPointExperimental = 'true';
55084
+ }
55085
+ // verify required parameter 'xSailPointExperimental' is not null or undefined
55086
+ (0, common_1.assertParamExists)('updateMachineAccountSubtypeApprovalConfig', 'xSailPointExperimental', xSailPointExperimental);
55087
+ // verify required parameter 'subtypeId' is not null or undefined
55088
+ (0, common_1.assertParamExists)('updateMachineAccountSubtypeApprovalConfig', 'subtypeId', subtypeId);
55089
+ // verify required parameter 'jsonPatchOperationV2026' is not null or undefined
55090
+ (0, common_1.assertParamExists)('updateMachineAccountSubtypeApprovalConfig', 'jsonPatchOperationV2026', jsonPatchOperationV2026);
55091
+ localVarPath = "/source-subtypes/{subtypeId}/machine-config"
55092
+ .replace("{".concat("subtypeId", "}"), encodeURIComponent(String(subtypeId)));
55093
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
55094
+ if (configuration) {
55095
+ baseOptions = configuration.baseOptions;
55096
+ }
55097
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), axiosOptions);
55098
+ localVarHeaderParameter = {};
55099
+ localVarQueryParameter = {};
55100
+ // authentication userAuth required
55101
+ // oauth required
55102
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
55103
+ // authentication userAuth required
55104
+ // oauth required
55105
+ ];
55106
+ case 1:
55107
+ // authentication userAuth required
55108
+ // oauth required
55109
+ _a.sent();
55110
+ // authentication userAuth required
55111
+ // oauth required
55112
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)];
55113
+ case 2:
55114
+ // authentication userAuth required
55115
+ // oauth required
55116
+ _a.sent();
55117
+ localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
55118
+ if (xSailPointExperimental != null) {
55119
+ localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
55120
+ }
55121
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
55122
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
55123
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
55124
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(jsonPatchOperationV2026, localVarRequestOptions, configuration);
55125
+ return [2 /*return*/, {
55126
+ url: (0, common_1.toPathString)(localVarUrlObj),
55127
+ axiosOptions: localVarRequestOptions,
55128
+ }];
55129
+ }
55130
+ });
55131
+ });
55132
+ },
54753
55133
  };
54754
55134
  };
54755
55135
  exports.MachineAccountSubtypesV2026ApiAxiosParamCreator = MachineAccountSubtypesV2026ApiAxiosParamCreator;
@@ -54760,71 +55140,199 @@ exports.MachineAccountSubtypesV2026ApiAxiosParamCreator = MachineAccountSubtypes
54760
55140
  var MachineAccountSubtypesV2026ApiFp = function (configuration) {
54761
55141
  var localVarAxiosParamCreator = (0, exports.MachineAccountSubtypesV2026ApiAxiosParamCreator)(configuration);
54762
55142
  return {
55143
+ /**
55144
+ * Create a new machine account subtype.
55145
+ * @summary Create subtype
55146
+ * @param {CreateSourceSubtypeRequestV2026} createSourceSubtypeRequestV2026
55147
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
55148
+ * @param {*} [axiosOptions] Override http request option.
55149
+ * @throws {RequiredError}
55150
+ */
55151
+ createSourceSubtype: function (createSourceSubtypeRequestV2026, xSailPointExperimental, axiosOptions) {
55152
+ var _a, _b, _c;
55153
+ return __awaiter(this, void 0, void 0, function () {
55154
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
55155
+ return __generator(this, function (_d) {
55156
+ switch (_d.label) {
55157
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createSourceSubtype(createSourceSubtypeRequestV2026, xSailPointExperimental, axiosOptions)];
55158
+ case 1:
55159
+ localVarAxiosArgs = _d.sent();
55160
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
55161
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineAccountSubtypesV2026Api.createSourceSubtype']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
55162
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
55163
+ }
55164
+ });
55165
+ });
55166
+ },
54763
55167
  /**
54764
55168
  * Delete a machine account subtype by subtype ID. Note: If subtype has approval settings or entitlement for machine account creation enablement then it\'ll be also deleted.
54765
55169
  * @summary Delete subtype by ID
54766
55170
  * @param {string} subtypeId The ID of the subtype.
55171
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
55172
+ * @param {*} [axiosOptions] Override http request option.
55173
+ * @throws {RequiredError}
55174
+ */
55175
+ deleteMachineAccountSubtype: function (subtypeId, xSailPointExperimental, axiosOptions) {
55176
+ var _a, _b, _c;
55177
+ return __awaiter(this, void 0, void 0, function () {
55178
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
55179
+ return __generator(this, function (_d) {
55180
+ switch (_d.label) {
55181
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteMachineAccountSubtype(subtypeId, xSailPointExperimental, axiosOptions)];
55182
+ case 1:
55183
+ localVarAxiosArgs = _d.sent();
55184
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
55185
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineAccountSubtypesV2026Api.deleteMachineAccountSubtype']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
55186
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
55187
+ }
55188
+ });
55189
+ });
55190
+ },
55191
+ /**
55192
+ * This endpoint retrieves the approval configuration for machine account creation and deletion at the machine subtype level. By providing a specific subtypeId in the path, clients can fetch the approval rules and settings (such as required approvers and comments policy) that govern account creation and deletion for that particular machine subtype. The response includes a MachineAccountSubtypeConfigDto object detailing these configurations, enabling clients to understand or display the approval workflow required for creating and deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account creation and deletion.
55193
+ * @summary Machine Subtype Approval Config
55194
+ * @param {string} xSailPointExperimental Use this header to enable this experimental API.
55195
+ * @param {string} subtypeId machine subtype id.
55196
+ * @param {*} [axiosOptions] Override http request option.
55197
+ * @throws {RequiredError}
55198
+ */
55199
+ getMachineAccountSubtypeApprovalConfig: function (xSailPointExperimental, subtypeId, axiosOptions) {
55200
+ var _a, _b, _c;
55201
+ return __awaiter(this, void 0, void 0, function () {
55202
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
55203
+ return __generator(this, function (_d) {
55204
+ switch (_d.label) {
55205
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getMachineAccountSubtypeApprovalConfig(xSailPointExperimental, subtypeId, axiosOptions)];
55206
+ case 1:
55207
+ localVarAxiosArgs = _d.sent();
55208
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
55209
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineAccountSubtypesV2026Api.getMachineAccountSubtypeApprovalConfig']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
55210
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
55211
+ }
55212
+ });
55213
+ });
55214
+ },
55215
+ /**
55216
+ * Get a machine account subtype by subtype ID.
55217
+ * @summary Get subtype by ID
55218
+ * @param {string} subtypeId The ID of the subtype.
55219
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
55220
+ * @param {*} [axiosOptions] Override http request option.
55221
+ * @throws {RequiredError}
55222
+ */
55223
+ getSourceSubtypeById: function (subtypeId, xSailPointExperimental, axiosOptions) {
55224
+ var _a, _b, _c;
55225
+ return __awaiter(this, void 0, void 0, function () {
55226
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
55227
+ return __generator(this, function (_d) {
55228
+ switch (_d.label) {
55229
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSourceSubtypeById(subtypeId, xSailPointExperimental, axiosOptions)];
55230
+ case 1:
55231
+ localVarAxiosArgs = _d.sent();
55232
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
55233
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineAccountSubtypesV2026Api.getSourceSubtypeById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
55234
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
55235
+ }
55236
+ });
55237
+ });
55238
+ },
55239
+ /**
55240
+ * Get all machine account subtypes.
55241
+ * @summary Retrieve all subtypes
55242
+ * @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, sw* **technicalName**: *eq, sw* **source.id**: *eq, in*
55243
+ * @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: **displayName, technicalName**
55244
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
55245
+ * @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.
55246
+ * @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.
55247
+ * @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.
55248
+ * @param {*} [axiosOptions] Override http request option.
55249
+ * @throws {RequiredError}
55250
+ */
55251
+ listSourceSubtypes: function (filters, sorters, xSailPointExperimental, count, limit, offset, axiosOptions) {
55252
+ var _a, _b, _c;
55253
+ return __awaiter(this, void 0, void 0, function () {
55254
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
55255
+ return __generator(this, function (_d) {
55256
+ switch (_d.label) {
55257
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listSourceSubtypes(filters, sorters, xSailPointExperimental, count, limit, offset, axiosOptions)];
55258
+ case 1:
55259
+ localVarAxiosArgs = _d.sent();
55260
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
55261
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineAccountSubtypesV2026Api.listSourceSubtypes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
55262
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
55263
+ }
55264
+ });
55265
+ });
55266
+ },
55267
+ /**
55268
+ * This endpoint retrieves the subtypes for given subtypeIds.
55269
+ * @summary Bulk Retrieve of Source Subtypes
55270
+ * @param {string} xSailPointExperimental Use this header to enable this experimental API.
55271
+ * @param {Array<string>} requestBody
54767
55272
  * @param {*} [axiosOptions] Override http request option.
54768
55273
  * @throws {RequiredError}
54769
55274
  */
54770
- deleteMachineAccountSubtype: function (subtypeId, axiosOptions) {
55275
+ loadBulkSourceSubtypes: function (xSailPointExperimental, requestBody, axiosOptions) {
54771
55276
  var _a, _b, _c;
54772
55277
  return __awaiter(this, void 0, void 0, function () {
54773
55278
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
54774
55279
  return __generator(this, function (_d) {
54775
55280
  switch (_d.label) {
54776
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteMachineAccountSubtype(subtypeId, axiosOptions)];
55281
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.loadBulkSourceSubtypes(xSailPointExperimental, requestBody, axiosOptions)];
54777
55282
  case 1:
54778
55283
  localVarAxiosArgs = _d.sent();
54779
55284
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
54780
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineAccountSubtypesV2026Api.deleteMachineAccountSubtype']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
55285
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineAccountSubtypesV2026Api.loadBulkSourceSubtypes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
54781
55286
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
54782
55287
  }
54783
55288
  });
54784
55289
  });
54785
55290
  },
54786
55291
  /**
54787
- * Get a machine account subtype by subtype ID.
54788
- * @summary Get subtype by ID
55292
+ * Update fields of a machine account subtype by subtype ID. Patchable fields only include: `displayName`, `description`.
55293
+ * @summary Patch subtype by ID
54789
55294
  * @param {string} subtypeId The ID of the subtype.
55295
+ * @param {Array<object>} requestBody A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
55296
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
54790
55297
  * @param {*} [axiosOptions] Override http request option.
54791
55298
  * @throws {RequiredError}
54792
55299
  */
54793
- getSourceSubtypeById: function (subtypeId, axiosOptions) {
55300
+ patchMachineAccountSubtype: function (subtypeId, requestBody, xSailPointExperimental, axiosOptions) {
54794
55301
  var _a, _b, _c;
54795
55302
  return __awaiter(this, void 0, void 0, function () {
54796
55303
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
54797
55304
  return __generator(this, function (_d) {
54798
55305
  switch (_d.label) {
54799
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSourceSubtypeById(subtypeId, axiosOptions)];
55306
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchMachineAccountSubtype(subtypeId, requestBody, xSailPointExperimental, axiosOptions)];
54800
55307
  case 1:
54801
55308
  localVarAxiosArgs = _d.sent();
54802
55309
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
54803
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineAccountSubtypesV2026Api.getSourceSubtypeById']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
55310
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineAccountSubtypesV2026Api.patchMachineAccountSubtype']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
54804
55311
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
54805
55312
  }
54806
55313
  });
54807
55314
  });
54808
55315
  },
54809
55316
  /**
54810
- * Update fields of a machine account subtype by subtype ID. Patchable fields only include: `displayName`, `description`.
54811
- * @summary Patch subtype by ID
54812
- * @param {string} subtypeId The ID of the subtype.
54813
- * @param {Array<object>} requestBody A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
55317
+ * Updates the approval configuration for machine account deletion at the specified machine subtype level. This endpoint allows clients to modify approval rules and settings (such as required approvers and comments policy) for account creation and deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for creating and deleting machine accounts of a particular subtype.
55318
+ * @summary Machine Subtype Approval Config
55319
+ * @param {string} xSailPointExperimental Use this header to enable this experimental API.
55320
+ * @param {string} subtypeId machine account subtype ID.
55321
+ * @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the object.
54814
55322
  * @param {*} [axiosOptions] Override http request option.
54815
55323
  * @throws {RequiredError}
54816
55324
  */
54817
- patchMachineAccountSubtype: function (subtypeId, requestBody, axiosOptions) {
55325
+ updateMachineAccountSubtypeApprovalConfig: function (xSailPointExperimental, subtypeId, jsonPatchOperationV2026, axiosOptions) {
54818
55326
  var _a, _b, _c;
54819
55327
  return __awaiter(this, void 0, void 0, function () {
54820
55328
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
54821
55329
  return __generator(this, function (_d) {
54822
55330
  switch (_d.label) {
54823
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchMachineAccountSubtype(subtypeId, requestBody, axiosOptions)];
55331
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateMachineAccountSubtypeApprovalConfig(xSailPointExperimental, subtypeId, jsonPatchOperationV2026, axiosOptions)];
54824
55332
  case 1:
54825
55333
  localVarAxiosArgs = _d.sent();
54826
55334
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
54827
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineAccountSubtypesV2026Api.patchMachineAccountSubtype']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
55335
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineAccountSubtypesV2026Api.updateMachineAccountSubtypeApprovalConfig']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
54828
55336
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
54829
55337
  }
54830
55338
  });
@@ -54840,6 +55348,16 @@ exports.MachineAccountSubtypesV2026ApiFp = MachineAccountSubtypesV2026ApiFp;
54840
55348
  var MachineAccountSubtypesV2026ApiFactory = function (configuration, basePath, axios) {
54841
55349
  var localVarFp = (0, exports.MachineAccountSubtypesV2026ApiFp)(configuration);
54842
55350
  return {
55351
+ /**
55352
+ * Create a new machine account subtype.
55353
+ * @summary Create subtype
55354
+ * @param {MachineAccountSubtypesV2026ApiCreateSourceSubtypeRequest} requestParameters Request parameters.
55355
+ * @param {*} [axiosOptions] Override http request option.
55356
+ * @throws {RequiredError}
55357
+ */
55358
+ createSourceSubtype: function (requestParameters, axiosOptions) {
55359
+ return localVarFp.createSourceSubtype(requestParameters.createSourceSubtypeRequestV2026, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
55360
+ },
54843
55361
  /**
54844
55362
  * Delete a machine account subtype by subtype ID. Note: If subtype has approval settings or entitlement for machine account creation enablement then it\'ll be also deleted.
54845
55363
  * @summary Delete subtype by ID
@@ -54848,7 +55366,17 @@ var MachineAccountSubtypesV2026ApiFactory = function (configuration, basePath, a
54848
55366
  * @throws {RequiredError}
54849
55367
  */
54850
55368
  deleteMachineAccountSubtype: function (requestParameters, axiosOptions) {
54851
- return localVarFp.deleteMachineAccountSubtype(requestParameters.subtypeId, axiosOptions).then(function (request) { return request(axios, basePath); });
55369
+ return localVarFp.deleteMachineAccountSubtype(requestParameters.subtypeId, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
55370
+ },
55371
+ /**
55372
+ * This endpoint retrieves the approval configuration for machine account creation and deletion at the machine subtype level. By providing a specific subtypeId in the path, clients can fetch the approval rules and settings (such as required approvers and comments policy) that govern account creation and deletion for that particular machine subtype. The response includes a MachineAccountSubtypeConfigDto object detailing these configurations, enabling clients to understand or display the approval workflow required for creating and deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account creation and deletion.
55373
+ * @summary Machine Subtype Approval Config
55374
+ * @param {MachineAccountSubtypesV2026ApiGetMachineAccountSubtypeApprovalConfigRequest} requestParameters Request parameters.
55375
+ * @param {*} [axiosOptions] Override http request option.
55376
+ * @throws {RequiredError}
55377
+ */
55378
+ getMachineAccountSubtypeApprovalConfig: function (requestParameters, axiosOptions) {
55379
+ return localVarFp.getMachineAccountSubtypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, axiosOptions).then(function (request) { return request(axios, basePath); });
54852
55380
  },
54853
55381
  /**
54854
55382
  * Get a machine account subtype by subtype ID.
@@ -54858,7 +55386,28 @@ var MachineAccountSubtypesV2026ApiFactory = function (configuration, basePath, a
54858
55386
  * @throws {RequiredError}
54859
55387
  */
54860
55388
  getSourceSubtypeById: function (requestParameters, axiosOptions) {
54861
- return localVarFp.getSourceSubtypeById(requestParameters.subtypeId, axiosOptions).then(function (request) { return request(axios, basePath); });
55389
+ return localVarFp.getSourceSubtypeById(requestParameters.subtypeId, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
55390
+ },
55391
+ /**
55392
+ * Get all machine account subtypes.
55393
+ * @summary Retrieve all subtypes
55394
+ * @param {MachineAccountSubtypesV2026ApiListSourceSubtypesRequest} requestParameters Request parameters.
55395
+ * @param {*} [axiosOptions] Override http request option.
55396
+ * @throws {RequiredError}
55397
+ */
55398
+ listSourceSubtypes: function (requestParameters, axiosOptions) {
55399
+ if (requestParameters === void 0) { requestParameters = {}; }
55400
+ return localVarFp.listSourceSubtypes(requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then(function (request) { return request(axios, basePath); });
55401
+ },
55402
+ /**
55403
+ * This endpoint retrieves the subtypes for given subtypeIds.
55404
+ * @summary Bulk Retrieve of Source Subtypes
55405
+ * @param {MachineAccountSubtypesV2026ApiLoadBulkSourceSubtypesRequest} requestParameters Request parameters.
55406
+ * @param {*} [axiosOptions] Override http request option.
55407
+ * @throws {RequiredError}
55408
+ */
55409
+ loadBulkSourceSubtypes: function (requestParameters, axiosOptions) {
55410
+ return localVarFp.loadBulkSourceSubtypes(requestParameters.xSailPointExperimental, requestParameters.requestBody, axiosOptions).then(function (request) { return request(axios, basePath); });
54862
55411
  },
54863
55412
  /**
54864
55413
  * Update fields of a machine account subtype by subtype ID. Patchable fields only include: `displayName`, `description`.
@@ -54868,7 +55417,17 @@ var MachineAccountSubtypesV2026ApiFactory = function (configuration, basePath, a
54868
55417
  * @throws {RequiredError}
54869
55418
  */
54870
55419
  patchMachineAccountSubtype: function (requestParameters, axiosOptions) {
54871
- return localVarFp.patchMachineAccountSubtype(requestParameters.subtypeId, requestParameters.requestBody, axiosOptions).then(function (request) { return request(axios, basePath); });
55420
+ return localVarFp.patchMachineAccountSubtype(requestParameters.subtypeId, requestParameters.requestBody, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
55421
+ },
55422
+ /**
55423
+ * Updates the approval configuration for machine account deletion at the specified machine subtype level. This endpoint allows clients to modify approval rules and settings (such as required approvers and comments policy) for account creation and deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for creating and deleting machine accounts of a particular subtype.
55424
+ * @summary Machine Subtype Approval Config
55425
+ * @param {MachineAccountSubtypesV2026ApiUpdateMachineAccountSubtypeApprovalConfigRequest} requestParameters Request parameters.
55426
+ * @param {*} [axiosOptions] Override http request option.
55427
+ * @throws {RequiredError}
55428
+ */
55429
+ updateMachineAccountSubtypeApprovalConfig: function (requestParameters, axiosOptions) {
55430
+ return localVarFp.updateMachineAccountSubtypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, requestParameters.jsonPatchOperationV2026, axiosOptions).then(function (request) { return request(axios, basePath); });
54872
55431
  },
54873
55432
  };
54874
55433
  };
@@ -54884,6 +55443,18 @@ var MachineAccountSubtypesV2026Api = /** @class */ (function (_super) {
54884
55443
  function MachineAccountSubtypesV2026Api() {
54885
55444
  return _super !== null && _super.apply(this, arguments) || this;
54886
55445
  }
55446
+ /**
55447
+ * Create a new machine account subtype.
55448
+ * @summary Create subtype
55449
+ * @param {MachineAccountSubtypesV2026ApiCreateSourceSubtypeRequest} requestParameters Request parameters.
55450
+ * @param {*} [axiosOptions] Override http request option.
55451
+ * @throws {RequiredError}
55452
+ * @memberof MachineAccountSubtypesV2026Api
55453
+ */
55454
+ MachineAccountSubtypesV2026Api.prototype.createSourceSubtype = function (requestParameters, axiosOptions) {
55455
+ var _this = this;
55456
+ return (0, exports.MachineAccountSubtypesV2026ApiFp)(this.configuration).createSourceSubtype(requestParameters.createSourceSubtypeRequestV2026, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
55457
+ };
54887
55458
  /**
54888
55459
  * Delete a machine account subtype by subtype ID. Note: If subtype has approval settings or entitlement for machine account creation enablement then it\'ll be also deleted.
54889
55460
  * @summary Delete subtype by ID
@@ -54894,7 +55465,19 @@ var MachineAccountSubtypesV2026Api = /** @class */ (function (_super) {
54894
55465
  */
54895
55466
  MachineAccountSubtypesV2026Api.prototype.deleteMachineAccountSubtype = function (requestParameters, axiosOptions) {
54896
55467
  var _this = this;
54897
- return (0, exports.MachineAccountSubtypesV2026ApiFp)(this.configuration).deleteMachineAccountSubtype(requestParameters.subtypeId, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
55468
+ return (0, exports.MachineAccountSubtypesV2026ApiFp)(this.configuration).deleteMachineAccountSubtype(requestParameters.subtypeId, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
55469
+ };
55470
+ /**
55471
+ * This endpoint retrieves the approval configuration for machine account creation and deletion at the machine subtype level. By providing a specific subtypeId in the path, clients can fetch the approval rules and settings (such as required approvers and comments policy) that govern account creation and deletion for that particular machine subtype. The response includes a MachineAccountSubtypeConfigDto object detailing these configurations, enabling clients to understand or display the approval workflow required for creating and deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account creation and deletion.
55472
+ * @summary Machine Subtype Approval Config
55473
+ * @param {MachineAccountSubtypesV2026ApiGetMachineAccountSubtypeApprovalConfigRequest} requestParameters Request parameters.
55474
+ * @param {*} [axiosOptions] Override http request option.
55475
+ * @throws {RequiredError}
55476
+ * @memberof MachineAccountSubtypesV2026Api
55477
+ */
55478
+ MachineAccountSubtypesV2026Api.prototype.getMachineAccountSubtypeApprovalConfig = function (requestParameters, axiosOptions) {
55479
+ var _this = this;
55480
+ return (0, exports.MachineAccountSubtypesV2026ApiFp)(this.configuration).getMachineAccountSubtypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
54898
55481
  };
54899
55482
  /**
54900
55483
  * Get a machine account subtype by subtype ID.
@@ -54906,7 +55489,32 @@ var MachineAccountSubtypesV2026Api = /** @class */ (function (_super) {
54906
55489
  */
54907
55490
  MachineAccountSubtypesV2026Api.prototype.getSourceSubtypeById = function (requestParameters, axiosOptions) {
54908
55491
  var _this = this;
54909
- return (0, exports.MachineAccountSubtypesV2026ApiFp)(this.configuration).getSourceSubtypeById(requestParameters.subtypeId, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
55492
+ return (0, exports.MachineAccountSubtypesV2026ApiFp)(this.configuration).getSourceSubtypeById(requestParameters.subtypeId, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
55493
+ };
55494
+ /**
55495
+ * Get all machine account subtypes.
55496
+ * @summary Retrieve all subtypes
55497
+ * @param {MachineAccountSubtypesV2026ApiListSourceSubtypesRequest} requestParameters Request parameters.
55498
+ * @param {*} [axiosOptions] Override http request option.
55499
+ * @throws {RequiredError}
55500
+ * @memberof MachineAccountSubtypesV2026Api
55501
+ */
55502
+ MachineAccountSubtypesV2026Api.prototype.listSourceSubtypes = function (requestParameters, axiosOptions) {
55503
+ var _this = this;
55504
+ if (requestParameters === void 0) { requestParameters = {}; }
55505
+ return (0, exports.MachineAccountSubtypesV2026ApiFp)(this.configuration).listSourceSubtypes(requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
55506
+ };
55507
+ /**
55508
+ * This endpoint retrieves the subtypes for given subtypeIds.
55509
+ * @summary Bulk Retrieve of Source Subtypes
55510
+ * @param {MachineAccountSubtypesV2026ApiLoadBulkSourceSubtypesRequest} requestParameters Request parameters.
55511
+ * @param {*} [axiosOptions] Override http request option.
55512
+ * @throws {RequiredError}
55513
+ * @memberof MachineAccountSubtypesV2026Api
55514
+ */
55515
+ MachineAccountSubtypesV2026Api.prototype.loadBulkSourceSubtypes = function (requestParameters, axiosOptions) {
55516
+ var _this = this;
55517
+ return (0, exports.MachineAccountSubtypesV2026ApiFp)(this.configuration).loadBulkSourceSubtypes(requestParameters.xSailPointExperimental, requestParameters.requestBody, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
54910
55518
  };
54911
55519
  /**
54912
55520
  * Update fields of a machine account subtype by subtype ID. Patchable fields only include: `displayName`, `description`.
@@ -54918,7 +55526,19 @@ var MachineAccountSubtypesV2026Api = /** @class */ (function (_super) {
54918
55526
  */
54919
55527
  MachineAccountSubtypesV2026Api.prototype.patchMachineAccountSubtype = function (requestParameters, axiosOptions) {
54920
55528
  var _this = this;
54921
- return (0, exports.MachineAccountSubtypesV2026ApiFp)(this.configuration).patchMachineAccountSubtype(requestParameters.subtypeId, requestParameters.requestBody, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
55529
+ return (0, exports.MachineAccountSubtypesV2026ApiFp)(this.configuration).patchMachineAccountSubtype(requestParameters.subtypeId, requestParameters.requestBody, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
55530
+ };
55531
+ /**
55532
+ * Updates the approval configuration for machine account deletion at the specified machine subtype level. This endpoint allows clients to modify approval rules and settings (such as required approvers and comments policy) for account creation and deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for creating and deleting machine accounts of a particular subtype.
55533
+ * @summary Machine Subtype Approval Config
55534
+ * @param {MachineAccountSubtypesV2026ApiUpdateMachineAccountSubtypeApprovalConfigRequest} requestParameters Request parameters.
55535
+ * @param {*} [axiosOptions] Override http request option.
55536
+ * @throws {RequiredError}
55537
+ * @memberof MachineAccountSubtypesV2026Api
55538
+ */
55539
+ MachineAccountSubtypesV2026Api.prototype.updateMachineAccountSubtypeApprovalConfig = function (requestParameters, axiosOptions) {
55540
+ var _this = this;
55541
+ return (0, exports.MachineAccountSubtypesV2026ApiFp)(this.configuration).updateMachineAccountSubtypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, requestParameters.jsonPatchOperationV2026, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
54922
55542
  };
54923
55543
  return MachineAccountSubtypesV2026Api;
54924
55544
  }(base_1.BaseAPI));
@@ -54937,6 +55557,7 @@ var MachineAccountsV2026ApiAxiosParamCreator = function (configuration) {
54937
55557
  * @param {CreateMachineAccountSubtypeRequestV2026} createMachineAccountSubtypeRequestV2026
54938
55558
  * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
54939
55559
  * @param {*} [axiosOptions] Override http request option.
55560
+ * @deprecated
54940
55561
  * @throws {RequiredError}
54941
55562
  */
54942
55563
  createMachineAccountSubtype: function (sourceId, createMachineAccountSubtypeRequestV2026, xSailPointExperimental, axiosOptions) {
@@ -55012,6 +55633,7 @@ var MachineAccountsV2026ApiAxiosParamCreator = function (configuration) {
55012
55633
  * @param {string} technicalName The technical name of the subtype.
55013
55634
  * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
55014
55635
  * @param {*} [axiosOptions] Override http request option.
55636
+ * @deprecated
55015
55637
  * @throws {RequiredError}
55016
55638
  */
55017
55639
  deleteMachineAccountSubtypeByTechnicalName: function (sourceId, technicalName, xSailPointExperimental, axiosOptions) {
@@ -55139,74 +55761,13 @@ var MachineAccountsV2026ApiAxiosParamCreator = function (configuration) {
55139
55761
  });
55140
55762
  });
55141
55763
  },
55142
- /**
55143
- * This endpoint retrieves the approval configuration for machine account creation and deletion at the machine subtype level. By providing a specific subtypeId in the path, clients can fetch the approval rules and settings (such as required approvers and comments policy) that govern account creation and deletion for that particular machine subtype. The response includes a MachineAccountSubtypeConfigDto object detailing these configurations, enabling clients to understand or display the approval workflow required for creating and deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account creation and deletion.
55144
- * @summary Machine Subtype Approval Config
55145
- * @param {string} xSailPointExperimental Use this header to enable this experimental API.
55146
- * @param {string} subtypeId machine subtype id.
55147
- * @param {*} [axiosOptions] Override http request option.
55148
- * @throws {RequiredError}
55149
- */
55150
- getMachineAccountSubtypeApprovalConfig: function (xSailPointExperimental, subtypeId, axiosOptions) {
55151
- if (axiosOptions === void 0) { axiosOptions = {}; }
55152
- return __awaiter(_this, void 0, void 0, function () {
55153
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
55154
- return __generator(this, function (_a) {
55155
- switch (_a.label) {
55156
- case 0:
55157
- if (xSailPointExperimental === undefined) {
55158
- xSailPointExperimental = 'true';
55159
- }
55160
- // verify required parameter 'xSailPointExperimental' is not null or undefined
55161
- (0, common_1.assertParamExists)('getMachineAccountSubtypeApprovalConfig', 'xSailPointExperimental', xSailPointExperimental);
55162
- // verify required parameter 'subtypeId' is not null or undefined
55163
- (0, common_1.assertParamExists)('getMachineAccountSubtypeApprovalConfig', 'subtypeId', subtypeId);
55164
- localVarPath = "/source-subtypes/{subtypeId}/machine-config"
55165
- .replace("{".concat("subtypeId", "}"), encodeURIComponent(String(subtypeId)));
55166
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
55167
- if (configuration) {
55168
- baseOptions = configuration.baseOptions;
55169
- }
55170
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
55171
- localVarHeaderParameter = {};
55172
- localVarQueryParameter = {};
55173
- // authentication userAuth required
55174
- // oauth required
55175
- return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
55176
- // authentication userAuth required
55177
- // oauth required
55178
- ];
55179
- case 1:
55180
- // authentication userAuth required
55181
- // oauth required
55182
- _a.sent();
55183
- // authentication userAuth required
55184
- // oauth required
55185
- return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)];
55186
- case 2:
55187
- // authentication userAuth required
55188
- // oauth required
55189
- _a.sent();
55190
- if (xSailPointExperimental != null) {
55191
- localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
55192
- }
55193
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
55194
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
55195
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
55196
- return [2 /*return*/, {
55197
- url: (0, common_1.toPathString)(localVarUrlObj),
55198
- axiosOptions: localVarRequestOptions,
55199
- }];
55200
- }
55201
- });
55202
- });
55203
- },
55204
55764
  /**
55205
55765
  * Get a machine account subtype by its unique ID.
55206
55766
  * @summary Retrieve subtype by subtype id
55207
55767
  * @param {string} subtypeId The ID of the machine account subtype.
55208
55768
  * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
55209
55769
  * @param {*} [axiosOptions] Override http request option.
55770
+ * @deprecated
55210
55771
  * @throws {RequiredError}
55211
55772
  */
55212
55773
  getMachineAccountSubtypeById: function (subtypeId, xSailPointExperimental, axiosOptions) {
@@ -55278,6 +55839,7 @@ var MachineAccountsV2026ApiAxiosParamCreator = function (configuration) {
55278
55839
  * @param {string} technicalName The technical name of the subtype.
55279
55840
  * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
55280
55841
  * @param {*} [axiosOptions] Override http request option.
55842
+ * @deprecated
55281
55843
  * @throws {RequiredError}
55282
55844
  */
55283
55845
  getMachineAccountSubtypeByTechnicalName: function (sourceId, technicalName, xSailPointExperimental, axiosOptions) {
@@ -55356,6 +55918,7 @@ var MachineAccountsV2026ApiAxiosParamCreator = function (configuration) {
55356
55918
  * @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.
55357
55919
  * @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.
55358
55920
  * @param {*} [axiosOptions] Override http request option.
55921
+ * @deprecated
55359
55922
  * @throws {RequiredError}
55360
55923
  */
55361
55924
  listMachineAccountSubtypes: function (sourceId, filters, sorters, xSailPointExperimental, count, limit, offset, axiosOptions) {
@@ -55437,89 +56000,17 @@ var MachineAccountsV2026ApiAxiosParamCreator = function (configuration) {
55437
56000
  },
55438
56001
  /**
55439
56002
  * This returns a list of machine accounts.
55440
- * @summary List machine accounts
55441
- * @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.
55442
- * @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.
55443
- * @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.
55444
- * @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* **name**: *eq, in, sw* **nativeIdentity**: *eq, in, sw* **uuid**: *eq, in* **description**: *eq, in, sw* **machineIdentity.id**: *eq, in* **machineIdentity.name**: *eq, in, sw* **subtype.technicalName**: *eq, in, sw* **subtype.displayName**: *eq, in, sw* **accessType**: *eq, in, sw* **environment**: *eq, in, sw* **ownerIdentity**: *eq, in* **ownerIdentity.id**: *eq, in* **ownerIdentity.name**: *eq, in, sw* **manuallyCorrelated**: *eq* **enabled**: *eq* **locked**: *eq* **hasEntitlements**: *eq* **attributes**: *eq* **source.id**: *eq, in* **source.name**: *eq, in, sw* **created**: *eq, gt, lt, ge, le* **modified**: *eq, gt, lt, ge, le*
55445
- * @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: **id, name, nativeIdentity, ownerIdentity, uuid, description, machineIdentity.id, machineIdentity.name, subtype.technicalName, subtype.displayName, accessType, environment, manuallyCorrelated, enabled, locked, hasEntitlements, ownerIdentity.id, ownerIdentity.name, attributes, source.id, source.name, created, modified**
55446
- * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
55447
- * @param {*} [axiosOptions] Override http request option.
55448
- * @throws {RequiredError}
55449
- */
55450
- listMachineAccounts: function (limit, offset, count, filters, sorters, xSailPointExperimental, axiosOptions) {
55451
- if (axiosOptions === void 0) { axiosOptions = {}; }
55452
- return __awaiter(_this, void 0, void 0, function () {
55453
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
55454
- return __generator(this, function (_a) {
55455
- switch (_a.label) {
55456
- case 0:
55457
- if (xSailPointExperimental === undefined) {
55458
- xSailPointExperimental = 'true';
55459
- }
55460
- localVarPath = "/machine-accounts";
55461
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
55462
- if (configuration) {
55463
- baseOptions = configuration.baseOptions;
55464
- }
55465
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
55466
- localVarHeaderParameter = {};
55467
- localVarQueryParameter = {};
55468
- // authentication userAuth required
55469
- // oauth required
55470
- return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
55471
- // authentication userAuth required
55472
- // oauth required
55473
- ];
55474
- case 1:
55475
- // authentication userAuth required
55476
- // oauth required
55477
- _a.sent();
55478
- // authentication userAuth required
55479
- // oauth required
55480
- return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)];
55481
- case 2:
55482
- // authentication userAuth required
55483
- // oauth required
55484
- _a.sent();
55485
- if (limit !== undefined) {
55486
- localVarQueryParameter['limit'] = limit;
55487
- }
55488
- if (offset !== undefined) {
55489
- localVarQueryParameter['offset'] = offset;
55490
- }
55491
- if (count !== undefined) {
55492
- localVarQueryParameter['count'] = count;
55493
- }
55494
- if (filters !== undefined) {
55495
- localVarQueryParameter['filters'] = filters;
55496
- }
55497
- if (sorters !== undefined) {
55498
- localVarQueryParameter['sorters'] = sorters;
55499
- }
55500
- if (xSailPointExperimental != null) {
55501
- localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
55502
- }
55503
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
55504
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
55505
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
55506
- return [2 /*return*/, {
55507
- url: (0, common_1.toPathString)(localVarUrlObj),
55508
- axiosOptions: localVarRequestOptions,
55509
- }];
55510
- }
55511
- });
55512
- });
55513
- },
55514
- /**
55515
- * This endpoint retrieves the subtypes for given subtypeIds.
55516
- * @summary Bulk Retrieve of Source Subtypes
55517
- * @param {string} xSailPointExperimental Use this header to enable this experimental API.
55518
- * @param {Array<string>} requestBody
56003
+ * @summary List machine accounts
56004
+ * @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.
56005
+ * @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.
56006
+ * @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.
56007
+ * @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* **name**: *eq, in, sw* **nativeIdentity**: *eq, in, sw* **uuid**: *eq, in* **description**: *eq, in, sw* **machineIdentity.id**: *eq, in* **machineIdentity.name**: *eq, in, sw* **subtype.technicalName**: *eq, in, sw* **subtype.displayName**: *eq, in, sw* **accessType**: *eq, in, sw* **environment**: *eq, in, sw* **ownerIdentity**: *eq, in* **ownerIdentity.id**: *eq, in* **ownerIdentity.name**: *eq, in, sw* **manuallyCorrelated**: *eq* **enabled**: *eq* **locked**: *eq* **hasEntitlements**: *eq* **attributes**: *eq* **source.id**: *eq, in* **source.name**: *eq, in, sw* **created**: *eq, gt, lt, ge, le* **modified**: *eq, gt, lt, ge, le*
56008
+ * @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: **id, name, nativeIdentity, ownerIdentity, uuid, description, machineIdentity.id, machineIdentity.name, subtype.technicalName, subtype.displayName, accessType, environment, manuallyCorrelated, enabled, locked, hasEntitlements, ownerIdentity.id, ownerIdentity.name, attributes, source.id, source.name, created, modified**
56009
+ * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
55519
56010
  * @param {*} [axiosOptions] Override http request option.
55520
56011
  * @throws {RequiredError}
55521
56012
  */
55522
- loadBulkSourceSubtypes: function (xSailPointExperimental, requestBody, axiosOptions) {
56013
+ listMachineAccounts: function (limit, offset, count, filters, sorters, xSailPointExperimental, axiosOptions) {
55523
56014
  if (axiosOptions === void 0) { axiosOptions = {}; }
55524
56015
  return __awaiter(_this, void 0, void 0, function () {
55525
56016
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -55529,16 +56020,12 @@ var MachineAccountsV2026ApiAxiosParamCreator = function (configuration) {
55529
56020
  if (xSailPointExperimental === undefined) {
55530
56021
  xSailPointExperimental = 'true';
55531
56022
  }
55532
- // verify required parameter 'xSailPointExperimental' is not null or undefined
55533
- (0, common_1.assertParamExists)('loadBulkSourceSubtypes', 'xSailPointExperimental', xSailPointExperimental);
55534
- // verify required parameter 'requestBody' is not null or undefined
55535
- (0, common_1.assertParamExists)('loadBulkSourceSubtypes', 'requestBody', requestBody);
55536
- localVarPath = "/source-subtypes/bulk-retrieve";
56023
+ localVarPath = "/machine-accounts";
55537
56024
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
55538
56025
  if (configuration) {
55539
56026
  baseOptions = configuration.baseOptions;
55540
56027
  }
55541
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
56028
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
55542
56029
  localVarHeaderParameter = {};
55543
56030
  localVarQueryParameter = {};
55544
56031
  // authentication userAuth required
@@ -55553,29 +56040,32 @@ var MachineAccountsV2026ApiAxiosParamCreator = function (configuration) {
55553
56040
  _a.sent();
55554
56041
  // authentication userAuth required
55555
56042
  // oauth required
55556
- return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
55557
- // authentication applicationAuth required
55558
- // oauth required
55559
- ];
56043
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)];
55560
56044
  case 2:
55561
56045
  // authentication userAuth required
55562
56046
  // oauth required
55563
56047
  _a.sent();
55564
- // authentication applicationAuth required
55565
- // oauth required
55566
- return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "applicationAuth", [], configuration)];
55567
- case 3:
55568
- // authentication applicationAuth required
55569
- // oauth required
55570
- _a.sent();
55571
- localVarHeaderParameter['Content-Type'] = 'application/json';
56048
+ if (limit !== undefined) {
56049
+ localVarQueryParameter['limit'] = limit;
56050
+ }
56051
+ if (offset !== undefined) {
56052
+ localVarQueryParameter['offset'] = offset;
56053
+ }
56054
+ if (count !== undefined) {
56055
+ localVarQueryParameter['count'] = count;
56056
+ }
56057
+ if (filters !== undefined) {
56058
+ localVarQueryParameter['filters'] = filters;
56059
+ }
56060
+ if (sorters !== undefined) {
56061
+ localVarQueryParameter['sorters'] = sorters;
56062
+ }
55572
56063
  if (xSailPointExperimental != null) {
55573
56064
  localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
55574
56065
  }
55575
56066
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
55576
56067
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
55577
56068
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
55578
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
55579
56069
  return [2 /*return*/, {
55580
56070
  url: (0, common_1.toPathString)(localVarUrlObj),
55581
56071
  axiosOptions: localVarRequestOptions,
@@ -55592,6 +56082,7 @@ var MachineAccountsV2026ApiAxiosParamCreator = function (configuration) {
55592
56082
  * @param {Array<object>} requestBody A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
55593
56083
  * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
55594
56084
  * @param {*} [axiosOptions] Override http request option.
56085
+ * @deprecated
55595
56086
  * @throws {RequiredError}
55596
56087
  */
55597
56088
  patchMachineAccountSubtypeByTechnicalName: function (sourceId, technicalName, requestBody, xSailPointExperimental, axiosOptions) {
@@ -55738,73 +56229,6 @@ var MachineAccountsV2026ApiAxiosParamCreator = function (configuration) {
55738
56229
  });
55739
56230
  });
55740
56231
  },
55741
- /**
55742
- * Updates the approval configuration for machine account deletion at the specified machine subtype level. This endpoint allows clients to modify approval rules and settings (such as required approvers and comments policy) for account creation and deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for creating and deleting machine accounts of a particular subtype.
55743
- * @summary Machine Subtype Approval Config
55744
- * @param {string} xSailPointExperimental Use this header to enable this experimental API.
55745
- * @param {string} subtypeId machine account subtype ID.
55746
- * @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the object.
55747
- * @param {*} [axiosOptions] Override http request option.
55748
- * @throws {RequiredError}
55749
- */
55750
- updateMachineAccountSubtypeApprovalConfig: function (xSailPointExperimental, subtypeId, jsonPatchOperationV2026, axiosOptions) {
55751
- if (axiosOptions === void 0) { axiosOptions = {}; }
55752
- return __awaiter(_this, void 0, void 0, function () {
55753
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
55754
- return __generator(this, function (_a) {
55755
- switch (_a.label) {
55756
- case 0:
55757
- if (xSailPointExperimental === undefined) {
55758
- xSailPointExperimental = 'true';
55759
- }
55760
- // verify required parameter 'xSailPointExperimental' is not null or undefined
55761
- (0, common_1.assertParamExists)('updateMachineAccountSubtypeApprovalConfig', 'xSailPointExperimental', xSailPointExperimental);
55762
- // verify required parameter 'subtypeId' is not null or undefined
55763
- (0, common_1.assertParamExists)('updateMachineAccountSubtypeApprovalConfig', 'subtypeId', subtypeId);
55764
- // verify required parameter 'jsonPatchOperationV2026' is not null or undefined
55765
- (0, common_1.assertParamExists)('updateMachineAccountSubtypeApprovalConfig', 'jsonPatchOperationV2026', jsonPatchOperationV2026);
55766
- localVarPath = "/source-subtypes/{subtypeId}/machine-config"
55767
- .replace("{".concat("subtypeId", "}"), encodeURIComponent(String(subtypeId)));
55768
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
55769
- if (configuration) {
55770
- baseOptions = configuration.baseOptions;
55771
- }
55772
- localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), axiosOptions);
55773
- localVarHeaderParameter = {};
55774
- localVarQueryParameter = {};
55775
- // authentication userAuth required
55776
- // oauth required
55777
- return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)
55778
- // authentication userAuth required
55779
- // oauth required
55780
- ];
55781
- case 1:
55782
- // authentication userAuth required
55783
- // oauth required
55784
- _a.sent();
55785
- // authentication userAuth required
55786
- // oauth required
55787
- return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "userAuth", [], configuration)];
55788
- case 2:
55789
- // authentication userAuth required
55790
- // oauth required
55791
- _a.sent();
55792
- localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
55793
- if (xSailPointExperimental != null) {
55794
- localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
55795
- }
55796
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
55797
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
55798
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
55799
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(jsonPatchOperationV2026, localVarRequestOptions, configuration);
55800
- return [2 /*return*/, {
55801
- url: (0, common_1.toPathString)(localVarUrlObj),
55802
- axiosOptions: localVarRequestOptions,
55803
- }];
55804
- }
55805
- });
55806
- });
55807
- },
55808
56232
  };
55809
56233
  };
55810
56234
  exports.MachineAccountsV2026ApiAxiosParamCreator = MachineAccountsV2026ApiAxiosParamCreator;
@@ -55822,6 +56246,7 @@ var MachineAccountsV2026ApiFp = function (configuration) {
55822
56246
  * @param {CreateMachineAccountSubtypeRequestV2026} createMachineAccountSubtypeRequestV2026
55823
56247
  * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
55824
56248
  * @param {*} [axiosOptions] Override http request option.
56249
+ * @deprecated
55825
56250
  * @throws {RequiredError}
55826
56251
  */
55827
56252
  createMachineAccountSubtype: function (sourceId, createMachineAccountSubtypeRequestV2026, xSailPointExperimental, axiosOptions) {
@@ -55847,6 +56272,7 @@ var MachineAccountsV2026ApiFp = function (configuration) {
55847
56272
  * @param {string} technicalName The technical name of the subtype.
55848
56273
  * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
55849
56274
  * @param {*} [axiosOptions] Override http request option.
56275
+ * @deprecated
55850
56276
  * @throws {RequiredError}
55851
56277
  */
55852
56278
  deleteMachineAccountSubtypeByTechnicalName: function (sourceId, technicalName, xSailPointExperimental, axiosOptions) {
@@ -55889,36 +56315,13 @@ var MachineAccountsV2026ApiFp = function (configuration) {
55889
56315
  });
55890
56316
  });
55891
56317
  },
55892
- /**
55893
- * This endpoint retrieves the approval configuration for machine account creation and deletion at the machine subtype level. By providing a specific subtypeId in the path, clients can fetch the approval rules and settings (such as required approvers and comments policy) that govern account creation and deletion for that particular machine subtype. The response includes a MachineAccountSubtypeConfigDto object detailing these configurations, enabling clients to understand or display the approval workflow required for creating and deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account creation and deletion.
55894
- * @summary Machine Subtype Approval Config
55895
- * @param {string} xSailPointExperimental Use this header to enable this experimental API.
55896
- * @param {string} subtypeId machine subtype id.
55897
- * @param {*} [axiosOptions] Override http request option.
55898
- * @throws {RequiredError}
55899
- */
55900
- getMachineAccountSubtypeApprovalConfig: function (xSailPointExperimental, subtypeId, axiosOptions) {
55901
- var _a, _b, _c;
55902
- return __awaiter(this, void 0, void 0, function () {
55903
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
55904
- return __generator(this, function (_d) {
55905
- switch (_d.label) {
55906
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getMachineAccountSubtypeApprovalConfig(xSailPointExperimental, subtypeId, axiosOptions)];
55907
- case 1:
55908
- localVarAxiosArgs = _d.sent();
55909
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
55910
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineAccountsV2026Api.getMachineAccountSubtypeApprovalConfig']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
55911
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
55912
- }
55913
- });
55914
- });
55915
- },
55916
56318
  /**
55917
56319
  * Get a machine account subtype by its unique ID.
55918
56320
  * @summary Retrieve subtype by subtype id
55919
56321
  * @param {string} subtypeId The ID of the machine account subtype.
55920
56322
  * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
55921
56323
  * @param {*} [axiosOptions] Override http request option.
56324
+ * @deprecated
55922
56325
  * @throws {RequiredError}
55923
56326
  */
55924
56327
  getMachineAccountSubtypeById: function (subtypeId, xSailPointExperimental, axiosOptions) {
@@ -55944,6 +56347,7 @@ var MachineAccountsV2026ApiFp = function (configuration) {
55944
56347
  * @param {string} technicalName The technical name of the subtype.
55945
56348
  * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
55946
56349
  * @param {*} [axiosOptions] Override http request option.
56350
+ * @deprecated
55947
56351
  * @throws {RequiredError}
55948
56352
  */
55949
56353
  getMachineAccountSubtypeByTechnicalName: function (sourceId, technicalName, xSailPointExperimental, axiosOptions) {
@@ -55973,6 +56377,7 @@ var MachineAccountsV2026ApiFp = function (configuration) {
55973
56377
  * @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.
55974
56378
  * @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.
55975
56379
  * @param {*} [axiosOptions] Override http request option.
56380
+ * @deprecated
55976
56381
  * @throws {RequiredError}
55977
56382
  */
55978
56383
  listMachineAccountSubtypes: function (sourceId, filters, sorters, xSailPointExperimental, count, limit, offset, axiosOptions) {
@@ -56019,30 +56424,6 @@ var MachineAccountsV2026ApiFp = function (configuration) {
56019
56424
  });
56020
56425
  });
56021
56426
  },
56022
- /**
56023
- * This endpoint retrieves the subtypes for given subtypeIds.
56024
- * @summary Bulk Retrieve of Source Subtypes
56025
- * @param {string} xSailPointExperimental Use this header to enable this experimental API.
56026
- * @param {Array<string>} requestBody
56027
- * @param {*} [axiosOptions] Override http request option.
56028
- * @throws {RequiredError}
56029
- */
56030
- loadBulkSourceSubtypes: function (xSailPointExperimental, requestBody, axiosOptions) {
56031
- var _a, _b, _c;
56032
- return __awaiter(this, void 0, void 0, function () {
56033
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
56034
- return __generator(this, function (_d) {
56035
- switch (_d.label) {
56036
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.loadBulkSourceSubtypes(xSailPointExperimental, requestBody, axiosOptions)];
56037
- case 1:
56038
- localVarAxiosArgs = _d.sent();
56039
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
56040
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineAccountsV2026Api.loadBulkSourceSubtypes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
56041
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
56042
- }
56043
- });
56044
- });
56045
- },
56046
56427
  /**
56047
56428
  * Update fields of a machine account subtype by source ID and technical name. Patchable fields include: `displayName`, `description`.
56048
56429
  * @summary Patch subtype
@@ -56051,6 +56432,7 @@ var MachineAccountsV2026ApiFp = function (configuration) {
56051
56432
  * @param {Array<object>} requestBody A JSON of updated values [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
56052
56433
  * @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
56053
56434
  * @param {*} [axiosOptions] Override http request option.
56435
+ * @deprecated
56054
56436
  * @throws {RequiredError}
56055
56437
  */
56056
56438
  patchMachineAccountSubtypeByTechnicalName: function (sourceId, technicalName, requestBody, xSailPointExperimental, axiosOptions) {
@@ -56094,31 +56476,6 @@ var MachineAccountsV2026ApiFp = function (configuration) {
56094
56476
  });
56095
56477
  });
56096
56478
  },
56097
- /**
56098
- * Updates the approval configuration for machine account deletion at the specified machine subtype level. This endpoint allows clients to modify approval rules and settings (such as required approvers and comments policy) for account creation and deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for creating and deleting machine accounts of a particular subtype.
56099
- * @summary Machine Subtype Approval Config
56100
- * @param {string} xSailPointExperimental Use this header to enable this experimental API.
56101
- * @param {string} subtypeId machine account subtype ID.
56102
- * @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the object.
56103
- * @param {*} [axiosOptions] Override http request option.
56104
- * @throws {RequiredError}
56105
- */
56106
- updateMachineAccountSubtypeApprovalConfig: function (xSailPointExperimental, subtypeId, jsonPatchOperationV2026, axiosOptions) {
56107
- var _a, _b, _c;
56108
- return __awaiter(this, void 0, void 0, function () {
56109
- var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
56110
- return __generator(this, function (_d) {
56111
- switch (_d.label) {
56112
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateMachineAccountSubtypeApprovalConfig(xSailPointExperimental, subtypeId, jsonPatchOperationV2026, axiosOptions)];
56113
- case 1:
56114
- localVarAxiosArgs = _d.sent();
56115
- localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
56116
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MachineAccountsV2026Api.updateMachineAccountSubtypeApprovalConfig']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
56117
- return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
56118
- }
56119
- });
56120
- });
56121
- },
56122
56479
  };
56123
56480
  };
56124
56481
  exports.MachineAccountsV2026ApiFp = MachineAccountsV2026ApiFp;
@@ -56134,6 +56491,7 @@ var MachineAccountsV2026ApiFactory = function (configuration, basePath, axios) {
56134
56491
  * @summary Create subtype
56135
56492
  * @param {MachineAccountsV2026ApiCreateMachineAccountSubtypeRequest} requestParameters Request parameters.
56136
56493
  * @param {*} [axiosOptions] Override http request option.
56494
+ * @deprecated
56137
56495
  * @throws {RequiredError}
56138
56496
  */
56139
56497
  createMachineAccountSubtype: function (requestParameters, axiosOptions) {
@@ -56144,6 +56502,7 @@ var MachineAccountsV2026ApiFactory = function (configuration, basePath, axios) {
56144
56502
  * @summary Delete subtype
56145
56503
  * @param {MachineAccountsV2026ApiDeleteMachineAccountSubtypeByTechnicalNameRequest} requestParameters Request parameters.
56146
56504
  * @param {*} [axiosOptions] Override http request option.
56505
+ * @deprecated
56147
56506
  * @throws {RequiredError}
56148
56507
  */
56149
56508
  deleteMachineAccountSubtypeByTechnicalName: function (requestParameters, axiosOptions) {
@@ -56159,21 +56518,12 @@ var MachineAccountsV2026ApiFactory = function (configuration, basePath, axios) {
56159
56518
  getMachineAccount: function (requestParameters, axiosOptions) {
56160
56519
  return localVarFp.getMachineAccount(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
56161
56520
  },
56162
- /**
56163
- * This endpoint retrieves the approval configuration for machine account creation and deletion at the machine subtype level. By providing a specific subtypeId in the path, clients can fetch the approval rules and settings (such as required approvers and comments policy) that govern account creation and deletion for that particular machine subtype. The response includes a MachineAccountSubtypeConfigDto object detailing these configurations, enabling clients to understand or display the approval workflow required for creating and deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account creation and deletion.
56164
- * @summary Machine Subtype Approval Config
56165
- * @param {MachineAccountsV2026ApiGetMachineAccountSubtypeApprovalConfigRequest} requestParameters Request parameters.
56166
- * @param {*} [axiosOptions] Override http request option.
56167
- * @throws {RequiredError}
56168
- */
56169
- getMachineAccountSubtypeApprovalConfig: function (requestParameters, axiosOptions) {
56170
- return localVarFp.getMachineAccountSubtypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, axiosOptions).then(function (request) { return request(axios, basePath); });
56171
- },
56172
56521
  /**
56173
56522
  * Get a machine account subtype by its unique ID.
56174
56523
  * @summary Retrieve subtype by subtype id
56175
56524
  * @param {MachineAccountsV2026ApiGetMachineAccountSubtypeByIdRequest} requestParameters Request parameters.
56176
56525
  * @param {*} [axiosOptions] Override http request option.
56526
+ * @deprecated
56177
56527
  * @throws {RequiredError}
56178
56528
  */
56179
56529
  getMachineAccountSubtypeById: function (requestParameters, axiosOptions) {
@@ -56184,6 +56534,7 @@ var MachineAccountsV2026ApiFactory = function (configuration, basePath, axios) {
56184
56534
  * @summary Retrieve subtype by source and technicalName
56185
56535
  * @param {MachineAccountsV2026ApiGetMachineAccountSubtypeByTechnicalNameRequest} requestParameters Request parameters.
56186
56536
  * @param {*} [axiosOptions] Override http request option.
56537
+ * @deprecated
56187
56538
  * @throws {RequiredError}
56188
56539
  */
56189
56540
  getMachineAccountSubtypeByTechnicalName: function (requestParameters, axiosOptions) {
@@ -56194,6 +56545,7 @@ var MachineAccountsV2026ApiFactory = function (configuration, basePath, axios) {
56194
56545
  * @summary Retrieve all subtypes by source
56195
56546
  * @param {MachineAccountsV2026ApiListMachineAccountSubtypesRequest} requestParameters Request parameters.
56196
56547
  * @param {*} [axiosOptions] Override http request option.
56548
+ * @deprecated
56197
56549
  * @throws {RequiredError}
56198
56550
  */
56199
56551
  listMachineAccountSubtypes: function (requestParameters, axiosOptions) {
@@ -56210,21 +56562,12 @@ var MachineAccountsV2026ApiFactory = function (configuration, basePath, axios) {
56210
56562
  if (requestParameters === void 0) { requestParameters = {}; }
56211
56563
  return localVarFp.listMachineAccounts(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
56212
56564
  },
56213
- /**
56214
- * This endpoint retrieves the subtypes for given subtypeIds.
56215
- * @summary Bulk Retrieve of Source Subtypes
56216
- * @param {MachineAccountsV2026ApiLoadBulkSourceSubtypesRequest} requestParameters Request parameters.
56217
- * @param {*} [axiosOptions] Override http request option.
56218
- * @throws {RequiredError}
56219
- */
56220
- loadBulkSourceSubtypes: function (requestParameters, axiosOptions) {
56221
- return localVarFp.loadBulkSourceSubtypes(requestParameters.xSailPointExperimental, requestParameters.requestBody, axiosOptions).then(function (request) { return request(axios, basePath); });
56222
- },
56223
56565
  /**
56224
56566
  * Update fields of a machine account subtype by source ID and technical name. Patchable fields include: `displayName`, `description`.
56225
56567
  * @summary Patch subtype
56226
56568
  * @param {MachineAccountsV2026ApiPatchMachineAccountSubtypeByTechnicalNameRequest} requestParameters Request parameters.
56227
56569
  * @param {*} [axiosOptions] Override http request option.
56570
+ * @deprecated
56228
56571
  * @throws {RequiredError}
56229
56572
  */
56230
56573
  patchMachineAccountSubtypeByTechnicalName: function (requestParameters, axiosOptions) {
@@ -56240,16 +56583,6 @@ var MachineAccountsV2026ApiFactory = function (configuration, basePath, axios) {
56240
56583
  updateMachineAccount: function (requestParameters, axiosOptions) {
56241
56584
  return localVarFp.updateMachineAccount(requestParameters.id, requestParameters.requestBody, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
56242
56585
  },
56243
- /**
56244
- * Updates the approval configuration for machine account deletion at the specified machine subtype level. This endpoint allows clients to modify approval rules and settings (such as required approvers and comments policy) for account creation and deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for creating and deleting machine accounts of a particular subtype.
56245
- * @summary Machine Subtype Approval Config
56246
- * @param {MachineAccountsV2026ApiUpdateMachineAccountSubtypeApprovalConfigRequest} requestParameters Request parameters.
56247
- * @param {*} [axiosOptions] Override http request option.
56248
- * @throws {RequiredError}
56249
- */
56250
- updateMachineAccountSubtypeApprovalConfig: function (requestParameters, axiosOptions) {
56251
- return localVarFp.updateMachineAccountSubtypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, requestParameters.jsonPatchOperationV2026, axiosOptions).then(function (request) { return request(axios, basePath); });
56252
- },
56253
56586
  };
56254
56587
  };
56255
56588
  exports.MachineAccountsV2026ApiFactory = MachineAccountsV2026ApiFactory;
@@ -56269,6 +56602,7 @@ var MachineAccountsV2026Api = /** @class */ (function (_super) {
56269
56602
  * @summary Create subtype
56270
56603
  * @param {MachineAccountsV2026ApiCreateMachineAccountSubtypeRequest} requestParameters Request parameters.
56271
56604
  * @param {*} [axiosOptions] Override http request option.
56605
+ * @deprecated
56272
56606
  * @throws {RequiredError}
56273
56607
  * @memberof MachineAccountsV2026Api
56274
56608
  */
@@ -56281,6 +56615,7 @@ var MachineAccountsV2026Api = /** @class */ (function (_super) {
56281
56615
  * @summary Delete subtype
56282
56616
  * @param {MachineAccountsV2026ApiDeleteMachineAccountSubtypeByTechnicalNameRequest} requestParameters Request parameters.
56283
56617
  * @param {*} [axiosOptions] Override http request option.
56618
+ * @deprecated
56284
56619
  * @throws {RequiredError}
56285
56620
  * @memberof MachineAccountsV2026Api
56286
56621
  */
@@ -56300,23 +56635,12 @@ var MachineAccountsV2026Api = /** @class */ (function (_super) {
56300
56635
  var _this = this;
56301
56636
  return (0, exports.MachineAccountsV2026ApiFp)(this.configuration).getMachineAccount(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
56302
56637
  };
56303
- /**
56304
- * This endpoint retrieves the approval configuration for machine account creation and deletion at the machine subtype level. By providing a specific subtypeId in the path, clients can fetch the approval rules and settings (such as required approvers and comments policy) that govern account creation and deletion for that particular machine subtype. The response includes a MachineAccountSubtypeConfigDto object detailing these configurations, enabling clients to understand or display the approval workflow required for creating and deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account creation and deletion.
56305
- * @summary Machine Subtype Approval Config
56306
- * @param {MachineAccountsV2026ApiGetMachineAccountSubtypeApprovalConfigRequest} requestParameters Request parameters.
56307
- * @param {*} [axiosOptions] Override http request option.
56308
- * @throws {RequiredError}
56309
- * @memberof MachineAccountsV2026Api
56310
- */
56311
- MachineAccountsV2026Api.prototype.getMachineAccountSubtypeApprovalConfig = function (requestParameters, axiosOptions) {
56312
- var _this = this;
56313
- return (0, exports.MachineAccountsV2026ApiFp)(this.configuration).getMachineAccountSubtypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
56314
- };
56315
56638
  /**
56316
56639
  * Get a machine account subtype by its unique ID.
56317
56640
  * @summary Retrieve subtype by subtype id
56318
56641
  * @param {MachineAccountsV2026ApiGetMachineAccountSubtypeByIdRequest} requestParameters Request parameters.
56319
56642
  * @param {*} [axiosOptions] Override http request option.
56643
+ * @deprecated
56320
56644
  * @throws {RequiredError}
56321
56645
  * @memberof MachineAccountsV2026Api
56322
56646
  */
@@ -56329,6 +56653,7 @@ var MachineAccountsV2026Api = /** @class */ (function (_super) {
56329
56653
  * @summary Retrieve subtype by source and technicalName
56330
56654
  * @param {MachineAccountsV2026ApiGetMachineAccountSubtypeByTechnicalNameRequest} requestParameters Request parameters.
56331
56655
  * @param {*} [axiosOptions] Override http request option.
56656
+ * @deprecated
56332
56657
  * @throws {RequiredError}
56333
56658
  * @memberof MachineAccountsV2026Api
56334
56659
  */
@@ -56341,6 +56666,7 @@ var MachineAccountsV2026Api = /** @class */ (function (_super) {
56341
56666
  * @summary Retrieve all subtypes by source
56342
56667
  * @param {MachineAccountsV2026ApiListMachineAccountSubtypesRequest} requestParameters Request parameters.
56343
56668
  * @param {*} [axiosOptions] Override http request option.
56669
+ * @deprecated
56344
56670
  * @throws {RequiredError}
56345
56671
  * @memberof MachineAccountsV2026Api
56346
56672
  */
@@ -56361,23 +56687,12 @@ var MachineAccountsV2026Api = /** @class */ (function (_super) {
56361
56687
  if (requestParameters === void 0) { requestParameters = {}; }
56362
56688
  return (0, exports.MachineAccountsV2026ApiFp)(this.configuration).listMachineAccounts(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sorters, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
56363
56689
  };
56364
- /**
56365
- * This endpoint retrieves the subtypes for given subtypeIds.
56366
- * @summary Bulk Retrieve of Source Subtypes
56367
- * @param {MachineAccountsV2026ApiLoadBulkSourceSubtypesRequest} requestParameters Request parameters.
56368
- * @param {*} [axiosOptions] Override http request option.
56369
- * @throws {RequiredError}
56370
- * @memberof MachineAccountsV2026Api
56371
- */
56372
- MachineAccountsV2026Api.prototype.loadBulkSourceSubtypes = function (requestParameters, axiosOptions) {
56373
- var _this = this;
56374
- return (0, exports.MachineAccountsV2026ApiFp)(this.configuration).loadBulkSourceSubtypes(requestParameters.xSailPointExperimental, requestParameters.requestBody, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
56375
- };
56376
56690
  /**
56377
56691
  * Update fields of a machine account subtype by source ID and technical name. Patchable fields include: `displayName`, `description`.
56378
56692
  * @summary Patch subtype
56379
56693
  * @param {MachineAccountsV2026ApiPatchMachineAccountSubtypeByTechnicalNameRequest} requestParameters Request parameters.
56380
56694
  * @param {*} [axiosOptions] Override http request option.
56695
+ * @deprecated
56381
56696
  * @throws {RequiredError}
56382
56697
  * @memberof MachineAccountsV2026Api
56383
56698
  */
@@ -56397,18 +56712,6 @@ var MachineAccountsV2026Api = /** @class */ (function (_super) {
56397
56712
  var _this = this;
56398
56713
  return (0, exports.MachineAccountsV2026ApiFp)(this.configuration).updateMachineAccount(requestParameters.id, requestParameters.requestBody, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
56399
56714
  };
56400
- /**
56401
- * Updates the approval configuration for machine account deletion at the specified machine subtype level. This endpoint allows clients to modify approval rules and settings (such as required approvers and comments policy) for account creation and deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for creating and deleting machine accounts of a particular subtype.
56402
- * @summary Machine Subtype Approval Config
56403
- * @param {MachineAccountsV2026ApiUpdateMachineAccountSubtypeApprovalConfigRequest} requestParameters Request parameters.
56404
- * @param {*} [axiosOptions] Override http request option.
56405
- * @throws {RequiredError}
56406
- * @memberof MachineAccountsV2026Api
56407
- */
56408
- MachineAccountsV2026Api.prototype.updateMachineAccountSubtypeApprovalConfig = function (requestParameters, axiosOptions) {
56409
- var _this = this;
56410
- return (0, exports.MachineAccountsV2026ApiFp)(this.configuration).updateMachineAccountSubtypeApprovalConfig(requestParameters.xSailPointExperimental, requestParameters.subtypeId, requestParameters.jsonPatchOperationV2026, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
56411
- };
56412
56715
  return MachineAccountsV2026Api;
56413
56716
  }(base_1.BaseAPI));
56414
56717
  exports.MachineAccountsV2026Api = MachineAccountsV2026Api;