sailpoint-api-client 1.8.11 → 1.8.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/beta/README.md +2 -2
- package/beta/common.ts +2 -2
- package/beta/package.json +1 -1
- package/dist/beta/common.js +2 -2
- package/dist/nerm/common.js +2 -2
- package/dist/nermv2025/common.js +2 -2
- package/dist/v2024/common.js +2 -2
- package/dist/v2025/common.js +2 -2
- package/dist/v2026/api.d.ts +18 -82
- package/dist/v2026/api.js +42 -120
- package/dist/v2026/api.js.map +1 -1
- package/dist/v2026/common.js +2 -2
- package/dist/v3/common.js +2 -2
- package/nerm/README.md +2 -2
- package/nerm/common.ts +2 -2
- package/nerm/package.json +1 -1
- package/nermv2025/README.md +2 -2
- package/nermv2025/common.ts +2 -2
- package/nermv2025/package.json +1 -1
- package/package.json +1 -1
- package/v2024/README.md +2 -2
- package/v2024/common.ts +2 -2
- package/v2024/package.json +1 -1
- package/v2025/README.md +2 -2
- package/v2025/common.ts +2 -2
- package/v2025/package.json +1 -1
- package/v2026/README.md +2 -2
- package/v2026/api.ts +42 -186
- package/v2026/common.ts +2 -2
- package/v2026/package.json +1 -1
- package/v3/README.md +2 -2
- package/v3/common.ts +2 -2
- package/v3/package.json +1 -1
package/dist/v2026/api.js
CHANGED
|
@@ -8893,24 +8893,18 @@ var AccountDeletionRequestsV2026ApiAxiosParamCreator = function (configuration)
|
|
|
8893
8893
|
/**
|
|
8894
8894
|
* Initiates an account deletion request for the specified account. This method validates the input data, processes the deletion request, and generates an asynchronous result containing a tracking ID. >**NOTE: You can only delete accounts from sources of the \"Connected\" type. which supports account deletion**
|
|
8895
8895
|
* @summary Delete account
|
|
8896
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
8897
8896
|
* @param {string} accountId Account ID.
|
|
8898
8897
|
* @param {AccountDeleteRequestInputV2026} [accountDeleteRequestInputV2026]
|
|
8899
8898
|
* @param {*} [axiosOptions] Override http request option.
|
|
8900
8899
|
* @throws {RequiredError}
|
|
8901
8900
|
*/
|
|
8902
|
-
deleteAccountRequest: function (
|
|
8901
|
+
deleteAccountRequest: function (accountId, accountDeleteRequestInputV2026, axiosOptions) {
|
|
8903
8902
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
8904
8903
|
return __awaiter(_this, void 0, void 0, function () {
|
|
8905
8904
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
8906
8905
|
return __generator(this, function (_a) {
|
|
8907
8906
|
switch (_a.label) {
|
|
8908
8907
|
case 0:
|
|
8909
|
-
if (xSailPointExperimental === undefined) {
|
|
8910
|
-
xSailPointExperimental = 'true';
|
|
8911
|
-
}
|
|
8912
|
-
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
8913
|
-
(0, common_1.assertParamExists)('deleteAccountRequest', 'xSailPointExperimental', xSailPointExperimental);
|
|
8914
8908
|
// verify required parameter 'accountId' is not null or undefined
|
|
8915
8909
|
(0, common_1.assertParamExists)('deleteAccountRequest', 'accountId', accountId);
|
|
8916
8910
|
localVarPath = "/account-requests/account/{accountId}/delete"
|
|
@@ -8940,9 +8934,6 @@ var AccountDeletionRequestsV2026ApiAxiosParamCreator = function (configuration)
|
|
|
8940
8934
|
// oauth required
|
|
8941
8935
|
_a.sent();
|
|
8942
8936
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8943
|
-
if (xSailPointExperimental != null) {
|
|
8944
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
8945
|
-
}
|
|
8946
8937
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8947
8938
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8948
8939
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -8958,7 +8949,6 @@ var AccountDeletionRequestsV2026ApiAxiosParamCreator = function (configuration)
|
|
|
8958
8949
|
/**
|
|
8959
8950
|
* Retrieves a paginated list of account deletion requests filtered by the provided query parameters. When the \"mine\" parameter is set to true, the response includes only those deletion requests that were initiated by the currently authenticated user. If \"mine\" is false or not specified, the endpoint returns all account deletion requests associated with the current tenant, regardless of the initiator. This allows both users and administrators to view relevant deletion requests based on their access level and intent.
|
|
8960
8951
|
* @summary List of Account Deletion Requests
|
|
8961
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
8962
8952
|
* @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.
|
|
8963
8953
|
* @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.
|
|
8964
8954
|
* @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.
|
|
@@ -8966,18 +8956,13 @@ var AccountDeletionRequestsV2026ApiAxiosParamCreator = function (configuration)
|
|
|
8966
8956
|
* @param {*} [axiosOptions] Override http request option.
|
|
8967
8957
|
* @throws {RequiredError}
|
|
8968
8958
|
*/
|
|
8969
|
-
getAccountDeletionRequests: function (
|
|
8959
|
+
getAccountDeletionRequests: function (limit, offset, count, mine, axiosOptions) {
|
|
8970
8960
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
8971
8961
|
return __awaiter(_this, void 0, void 0, function () {
|
|
8972
8962
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
8973
8963
|
return __generator(this, function (_a) {
|
|
8974
8964
|
switch (_a.label) {
|
|
8975
8965
|
case 0:
|
|
8976
|
-
if (xSailPointExperimental === undefined) {
|
|
8977
|
-
xSailPointExperimental = 'true';
|
|
8978
|
-
}
|
|
8979
|
-
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
8980
|
-
(0, common_1.assertParamExists)('getAccountDeletionRequests', 'xSailPointExperimental', xSailPointExperimental);
|
|
8981
8966
|
localVarPath = "/account-requests/deletion";
|
|
8982
8967
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8983
8968
|
if (configuration) {
|
|
@@ -9015,9 +9000,6 @@ var AccountDeletionRequestsV2026ApiAxiosParamCreator = function (configuration)
|
|
|
9015
9000
|
if (mine !== undefined) {
|
|
9016
9001
|
localVarQueryParameter['mine'] = mine;
|
|
9017
9002
|
}
|
|
9018
|
-
if (xSailPointExperimental != null) {
|
|
9019
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
9020
|
-
}
|
|
9021
9003
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9022
9004
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9023
9005
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -9042,19 +9024,18 @@ var AccountDeletionRequestsV2026ApiFp = function (configuration) {
|
|
|
9042
9024
|
/**
|
|
9043
9025
|
* Initiates an account deletion request for the specified account. This method validates the input data, processes the deletion request, and generates an asynchronous result containing a tracking ID. >**NOTE: You can only delete accounts from sources of the \"Connected\" type. which supports account deletion**
|
|
9044
9026
|
* @summary Delete account
|
|
9045
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
9046
9027
|
* @param {string} accountId Account ID.
|
|
9047
9028
|
* @param {AccountDeleteRequestInputV2026} [accountDeleteRequestInputV2026]
|
|
9048
9029
|
* @param {*} [axiosOptions] Override http request option.
|
|
9049
9030
|
* @throws {RequiredError}
|
|
9050
9031
|
*/
|
|
9051
|
-
deleteAccountRequest: function (
|
|
9032
|
+
deleteAccountRequest: function (accountId, accountDeleteRequestInputV2026, axiosOptions) {
|
|
9052
9033
|
var _a, _b, _c;
|
|
9053
9034
|
return __awaiter(this, void 0, void 0, function () {
|
|
9054
9035
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
9055
9036
|
return __generator(this, function (_d) {
|
|
9056
9037
|
switch (_d.label) {
|
|
9057
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteAccountRequest(
|
|
9038
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteAccountRequest(accountId, accountDeleteRequestInputV2026, axiosOptions)];
|
|
9058
9039
|
case 1:
|
|
9059
9040
|
localVarAxiosArgs = _d.sent();
|
|
9060
9041
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -9067,7 +9048,6 @@ var AccountDeletionRequestsV2026ApiFp = function (configuration) {
|
|
|
9067
9048
|
/**
|
|
9068
9049
|
* Retrieves a paginated list of account deletion requests filtered by the provided query parameters. When the \"mine\" parameter is set to true, the response includes only those deletion requests that were initiated by the currently authenticated user. If \"mine\" is false or not specified, the endpoint returns all account deletion requests associated with the current tenant, regardless of the initiator. This allows both users and administrators to view relevant deletion requests based on their access level and intent.
|
|
9069
9050
|
* @summary List of Account Deletion Requests
|
|
9070
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
9071
9051
|
* @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.
|
|
9072
9052
|
* @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.
|
|
9073
9053
|
* @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.
|
|
@@ -9075,13 +9055,13 @@ var AccountDeletionRequestsV2026ApiFp = function (configuration) {
|
|
|
9075
9055
|
* @param {*} [axiosOptions] Override http request option.
|
|
9076
9056
|
* @throws {RequiredError}
|
|
9077
9057
|
*/
|
|
9078
|
-
getAccountDeletionRequests: function (
|
|
9058
|
+
getAccountDeletionRequests: function (limit, offset, count, mine, axiosOptions) {
|
|
9079
9059
|
var _a, _b, _c;
|
|
9080
9060
|
return __awaiter(this, void 0, void 0, function () {
|
|
9081
9061
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
9082
9062
|
return __generator(this, function (_d) {
|
|
9083
9063
|
switch (_d.label) {
|
|
9084
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAccountDeletionRequests(
|
|
9064
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAccountDeletionRequests(limit, offset, count, mine, axiosOptions)];
|
|
9085
9065
|
case 1:
|
|
9086
9066
|
localVarAxiosArgs = _d.sent();
|
|
9087
9067
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -9109,7 +9089,7 @@ var AccountDeletionRequestsV2026ApiFactory = function (configuration, basePath,
|
|
|
9109
9089
|
* @throws {RequiredError}
|
|
9110
9090
|
*/
|
|
9111
9091
|
deleteAccountRequest: function (requestParameters, axiosOptions) {
|
|
9112
|
-
return localVarFp.deleteAccountRequest(requestParameters.
|
|
9092
|
+
return localVarFp.deleteAccountRequest(requestParameters.accountId, requestParameters.accountDeleteRequestInputV2026, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
9113
9093
|
},
|
|
9114
9094
|
/**
|
|
9115
9095
|
* Retrieves a paginated list of account deletion requests filtered by the provided query parameters. When the \"mine\" parameter is set to true, the response includes only those deletion requests that were initiated by the currently authenticated user. If \"mine\" is false or not specified, the endpoint returns all account deletion requests associated with the current tenant, regardless of the initiator. This allows both users and administrators to view relevant deletion requests based on their access level and intent.
|
|
@@ -9119,7 +9099,8 @@ var AccountDeletionRequestsV2026ApiFactory = function (configuration, basePath,
|
|
|
9119
9099
|
* @throws {RequiredError}
|
|
9120
9100
|
*/
|
|
9121
9101
|
getAccountDeletionRequests: function (requestParameters, axiosOptions) {
|
|
9122
|
-
|
|
9102
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
9103
|
+
return localVarFp.getAccountDeletionRequests(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.mine, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
9123
9104
|
},
|
|
9124
9105
|
};
|
|
9125
9106
|
};
|
|
@@ -9145,7 +9126,7 @@ var AccountDeletionRequestsV2026Api = /** @class */ (function (_super) {
|
|
|
9145
9126
|
*/
|
|
9146
9127
|
AccountDeletionRequestsV2026Api.prototype.deleteAccountRequest = function (requestParameters, axiosOptions) {
|
|
9147
9128
|
var _this = this;
|
|
9148
|
-
return (0, exports.AccountDeletionRequestsV2026ApiFp)(this.configuration).deleteAccountRequest(requestParameters.
|
|
9129
|
+
return (0, exports.AccountDeletionRequestsV2026ApiFp)(this.configuration).deleteAccountRequest(requestParameters.accountId, requestParameters.accountDeleteRequestInputV2026, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9149
9130
|
};
|
|
9150
9131
|
/**
|
|
9151
9132
|
* Retrieves a paginated list of account deletion requests filtered by the provided query parameters. When the \"mine\" parameter is set to true, the response includes only those deletion requests that were initiated by the currently authenticated user. If \"mine\" is false or not specified, the endpoint returns all account deletion requests associated with the current tenant, regardless of the initiator. This allows both users and administrators to view relevant deletion requests based on their access level and intent.
|
|
@@ -9157,7 +9138,8 @@ var AccountDeletionRequestsV2026Api = /** @class */ (function (_super) {
|
|
|
9157
9138
|
*/
|
|
9158
9139
|
AccountDeletionRequestsV2026Api.prototype.getAccountDeletionRequests = function (requestParameters, axiosOptions) {
|
|
9159
9140
|
var _this = this;
|
|
9160
|
-
|
|
9141
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
9142
|
+
return (0, exports.AccountDeletionRequestsV2026ApiFp)(this.configuration).getAccountDeletionRequests(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.mine, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9161
9143
|
};
|
|
9162
9144
|
return AccountDeletionRequestsV2026Api;
|
|
9163
9145
|
}(base_1.BaseAPI));
|
|
@@ -52858,23 +52840,17 @@ var MachineAccountsV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
52858
52840
|
/**
|
|
52859
52841
|
* This endpoint retrieves the approval configuration for machine account 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 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 deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account deletion.
|
|
52860
52842
|
* @summary Machine Subtype Approval Config
|
|
52861
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
52862
52843
|
* @param {string} subtypeId machine subtype id.
|
|
52863
52844
|
* @param {*} [axiosOptions] Override http request option.
|
|
52864
52845
|
* @throws {RequiredError}
|
|
52865
52846
|
*/
|
|
52866
|
-
getMachineAccountDeletionSubTypeApprovalConfig: function (
|
|
52847
|
+
getMachineAccountDeletionSubTypeApprovalConfig: function (subtypeId, axiosOptions) {
|
|
52867
52848
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
52868
52849
|
return __awaiter(_this, void 0, void 0, function () {
|
|
52869
52850
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
52870
52851
|
return __generator(this, function (_a) {
|
|
52871
52852
|
switch (_a.label) {
|
|
52872
52853
|
case 0:
|
|
52873
|
-
if (xSailPointExperimental === undefined) {
|
|
52874
|
-
xSailPointExperimental = 'true';
|
|
52875
|
-
}
|
|
52876
|
-
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
52877
|
-
(0, common_1.assertParamExists)('getMachineAccountDeletionSubTypeApprovalConfig', 'xSailPointExperimental', xSailPointExperimental);
|
|
52878
52854
|
// verify required parameter 'subtypeId' is not null or undefined
|
|
52879
52855
|
(0, common_1.assertParamExists)('getMachineAccountDeletionSubTypeApprovalConfig', 'subtypeId', subtypeId);
|
|
52880
52856
|
localVarPath = "/source-subtypes/{subtypeId}/machine-config"
|
|
@@ -52903,9 +52879,6 @@ var MachineAccountsV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
52903
52879
|
// authentication userAuth required
|
|
52904
52880
|
// oauth required
|
|
52905
52881
|
_a.sent();
|
|
52906
|
-
if (xSailPointExperimental != null) {
|
|
52907
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
52908
|
-
}
|
|
52909
52882
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
52910
52883
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
52911
52884
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -53384,24 +53357,18 @@ var MachineAccountsV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
53384
53357
|
/**
|
|
53385
53358
|
* 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 deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for deleting machine accounts of a particular subtype.
|
|
53386
53359
|
* @summary Machine Subtype Approval Config
|
|
53387
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
53388
53360
|
* @param {string} subtypeId machine account subtype ID.
|
|
53389
53361
|
* @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the object.
|
|
53390
53362
|
* @param {*} [axiosOptions] Override http request option.
|
|
53391
53363
|
* @throws {RequiredError}
|
|
53392
53364
|
*/
|
|
53393
|
-
updateMachineAccountDeletionBySubTypeApprovalConfig: function (
|
|
53365
|
+
updateMachineAccountDeletionBySubTypeApprovalConfig: function (subtypeId, jsonPatchOperationV2026, axiosOptions) {
|
|
53394
53366
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
53395
53367
|
return __awaiter(_this, void 0, void 0, function () {
|
|
53396
53368
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
53397
53369
|
return __generator(this, function (_a) {
|
|
53398
53370
|
switch (_a.label) {
|
|
53399
53371
|
case 0:
|
|
53400
|
-
if (xSailPointExperimental === undefined) {
|
|
53401
|
-
xSailPointExperimental = 'true';
|
|
53402
|
-
}
|
|
53403
|
-
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
53404
|
-
(0, common_1.assertParamExists)('updateMachineAccountDeletionBySubTypeApprovalConfig', 'xSailPointExperimental', xSailPointExperimental);
|
|
53405
53372
|
// verify required parameter 'subtypeId' is not null or undefined
|
|
53406
53373
|
(0, common_1.assertParamExists)('updateMachineAccountDeletionBySubTypeApprovalConfig', 'subtypeId', subtypeId);
|
|
53407
53374
|
// verify required parameter 'jsonPatchOperationV2026' is not null or undefined
|
|
@@ -53433,9 +53400,6 @@ var MachineAccountsV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
53433
53400
|
// oauth required
|
|
53434
53401
|
_a.sent();
|
|
53435
53402
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
53436
|
-
if (xSailPointExperimental != null) {
|
|
53437
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
53438
|
-
}
|
|
53439
53403
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
53440
53404
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
53441
53405
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -53535,18 +53499,17 @@ var MachineAccountsV2026ApiFp = function (configuration) {
|
|
|
53535
53499
|
/**
|
|
53536
53500
|
* This endpoint retrieves the approval configuration for machine account 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 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 deleting machine accounts of the given subtype. Use this endpoint to get machine subtype level approval config for account deletion.
|
|
53537
53501
|
* @summary Machine Subtype Approval Config
|
|
53538
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
53539
53502
|
* @param {string} subtypeId machine subtype id.
|
|
53540
53503
|
* @param {*} [axiosOptions] Override http request option.
|
|
53541
53504
|
* @throws {RequiredError}
|
|
53542
53505
|
*/
|
|
53543
|
-
getMachineAccountDeletionSubTypeApprovalConfig: function (
|
|
53506
|
+
getMachineAccountDeletionSubTypeApprovalConfig: function (subtypeId, axiosOptions) {
|
|
53544
53507
|
var _a, _b, _c;
|
|
53545
53508
|
return __awaiter(this, void 0, void 0, function () {
|
|
53546
53509
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
53547
53510
|
return __generator(this, function (_d) {
|
|
53548
53511
|
switch (_d.label) {
|
|
53549
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getMachineAccountDeletionSubTypeApprovalConfig(
|
|
53512
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getMachineAccountDeletionSubTypeApprovalConfig(subtypeId, axiosOptions)];
|
|
53550
53513
|
case 1:
|
|
53551
53514
|
localVarAxiosArgs = _d.sent();
|
|
53552
53515
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -53716,19 +53679,18 @@ var MachineAccountsV2026ApiFp = function (configuration) {
|
|
|
53716
53679
|
/**
|
|
53717
53680
|
* 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 deletion workflows associated with a given subtypeId. Use this to customize or enforce approval requirements for deleting machine accounts of a particular subtype.
|
|
53718
53681
|
* @summary Machine Subtype Approval Config
|
|
53719
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
53720
53682
|
* @param {string} subtypeId machine account subtype ID.
|
|
53721
53683
|
* @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the object.
|
|
53722
53684
|
* @param {*} [axiosOptions] Override http request option.
|
|
53723
53685
|
* @throws {RequiredError}
|
|
53724
53686
|
*/
|
|
53725
|
-
updateMachineAccountDeletionBySubTypeApprovalConfig: function (
|
|
53687
|
+
updateMachineAccountDeletionBySubTypeApprovalConfig: function (subtypeId, jsonPatchOperationV2026, axiosOptions) {
|
|
53726
53688
|
var _a, _b, _c;
|
|
53727
53689
|
return __awaiter(this, void 0, void 0, function () {
|
|
53728
53690
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
53729
53691
|
return __generator(this, function (_d) {
|
|
53730
53692
|
switch (_d.label) {
|
|
53731
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateMachineAccountDeletionBySubTypeApprovalConfig(
|
|
53693
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateMachineAccountDeletionBySubTypeApprovalConfig(subtypeId, jsonPatchOperationV2026, axiosOptions)];
|
|
53732
53694
|
case 1:
|
|
53733
53695
|
localVarAxiosArgs = _d.sent();
|
|
53734
53696
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -53786,7 +53748,7 @@ var MachineAccountsV2026ApiFactory = function (configuration, basePath, axios) {
|
|
|
53786
53748
|
* @throws {RequiredError}
|
|
53787
53749
|
*/
|
|
53788
53750
|
getMachineAccountDeletionSubTypeApprovalConfig: function (requestParameters, axiosOptions) {
|
|
53789
|
-
return localVarFp.getMachineAccountDeletionSubTypeApprovalConfig(requestParameters.
|
|
53751
|
+
return localVarFp.getMachineAccountDeletionSubTypeApprovalConfig(requestParameters.subtypeId, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
53790
53752
|
},
|
|
53791
53753
|
/**
|
|
53792
53754
|
* Get a machine account subtype by its unique ID.
|
|
@@ -53857,7 +53819,7 @@ var MachineAccountsV2026ApiFactory = function (configuration, basePath, axios) {
|
|
|
53857
53819
|
* @throws {RequiredError}
|
|
53858
53820
|
*/
|
|
53859
53821
|
updateMachineAccountDeletionBySubTypeApprovalConfig: function (requestParameters, axiosOptions) {
|
|
53860
|
-
return localVarFp.updateMachineAccountDeletionBySubTypeApprovalConfig(requestParameters.
|
|
53822
|
+
return localVarFp.updateMachineAccountDeletionBySubTypeApprovalConfig(requestParameters.subtypeId, requestParameters.jsonPatchOperationV2026, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
53861
53823
|
},
|
|
53862
53824
|
};
|
|
53863
53825
|
};
|
|
@@ -53919,7 +53881,7 @@ var MachineAccountsV2026Api = /** @class */ (function (_super) {
|
|
|
53919
53881
|
*/
|
|
53920
53882
|
MachineAccountsV2026Api.prototype.getMachineAccountDeletionSubTypeApprovalConfig = function (requestParameters, axiosOptions) {
|
|
53921
53883
|
var _this = this;
|
|
53922
|
-
return (0, exports.MachineAccountsV2026ApiFp)(this.configuration).getMachineAccountDeletionSubTypeApprovalConfig(requestParameters.
|
|
53884
|
+
return (0, exports.MachineAccountsV2026ApiFp)(this.configuration).getMachineAccountDeletionSubTypeApprovalConfig(requestParameters.subtypeId, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
53923
53885
|
};
|
|
53924
53886
|
/**
|
|
53925
53887
|
* Get a machine account subtype by its unique ID.
|
|
@@ -54004,7 +53966,7 @@ var MachineAccountsV2026Api = /** @class */ (function (_super) {
|
|
|
54004
53966
|
*/
|
|
54005
53967
|
MachineAccountsV2026Api.prototype.updateMachineAccountDeletionBySubTypeApprovalConfig = function (requestParameters, axiosOptions) {
|
|
54006
53968
|
var _this = this;
|
|
54007
|
-
return (0, exports.MachineAccountsV2026ApiFp)(this.configuration).updateMachineAccountDeletionBySubTypeApprovalConfig(requestParameters.
|
|
53969
|
+
return (0, exports.MachineAccountsV2026ApiFp)(this.configuration).updateMachineAccountDeletionBySubTypeApprovalConfig(requestParameters.subtypeId, requestParameters.jsonPatchOperationV2026, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
54008
53970
|
};
|
|
54009
53971
|
return MachineAccountsV2026Api;
|
|
54010
53972
|
}(base_1.BaseAPI));
|
|
@@ -84022,23 +83984,17 @@ var SourcesV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
84022
83984
|
/**
|
|
84023
83985
|
* The endpoint retrieves the approval configuration for deleting human accounts from a specified source. It returns details such as whether approval is required, who the approvers are, and any additional approval settings. This helps administrators understand and manage the approval workflow for human account deletions in their organization. The response is provided as an AccountDeleteConfigDto object.
|
|
84024
83986
|
* @summary Human Account Deletion Approval Config
|
|
84025
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
84026
83987
|
* @param {string} sourceId The Source id
|
|
84027
83988
|
* @param {*} [axiosOptions] Override http request option.
|
|
84028
83989
|
* @throws {RequiredError}
|
|
84029
83990
|
*/
|
|
84030
|
-
getAccountDeleteApprovalConfig: function (
|
|
83991
|
+
getAccountDeleteApprovalConfig: function (sourceId, axiosOptions) {
|
|
84031
83992
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
84032
83993
|
return __awaiter(_this, void 0, void 0, function () {
|
|
84033
83994
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
84034
83995
|
return __generator(this, function (_a) {
|
|
84035
83996
|
switch (_a.label) {
|
|
84036
83997
|
case 0:
|
|
84037
|
-
if (xSailPointExperimental === undefined) {
|
|
84038
|
-
xSailPointExperimental = 'true';
|
|
84039
|
-
}
|
|
84040
|
-
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
84041
|
-
(0, common_1.assertParamExists)('getAccountDeleteApprovalConfig', 'xSailPointExperimental', xSailPointExperimental);
|
|
84042
83998
|
// verify required parameter 'sourceId' is not null or undefined
|
|
84043
83999
|
(0, common_1.assertParamExists)('getAccountDeleteApprovalConfig', 'sourceId', sourceId);
|
|
84044
84000
|
localVarPath = "/sources/{sourceId}/approval-config/account-delete"
|
|
@@ -84067,9 +84023,6 @@ var SourcesV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
84067
84023
|
// authentication userAuth required
|
|
84068
84024
|
// oauth required
|
|
84069
84025
|
_a.sent();
|
|
84070
|
-
if (xSailPointExperimental != null) {
|
|
84071
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
84072
|
-
}
|
|
84073
84026
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
84074
84027
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
84075
84028
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -84257,23 +84210,17 @@ var SourcesV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
84257
84210
|
/**
|
|
84258
84211
|
* Retrieves the machine account deletion approval configuration for a specific source. This endpoint returns details about the approval requirements, approvers, and comment settings that govern the deletion of machine accounts associated with the given source ID.
|
|
84259
84212
|
* @summary Machine Account Deletion Approval Config
|
|
84260
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
84261
84213
|
* @param {string} sourceId source id.
|
|
84262
84214
|
* @param {*} [axiosOptions] Override http request option.
|
|
84263
84215
|
* @throws {RequiredError}
|
|
84264
84216
|
*/
|
|
84265
|
-
getMachineAccountDeletionApprovalConfigBySource: function (
|
|
84217
|
+
getMachineAccountDeletionApprovalConfigBySource: function (sourceId, axiosOptions) {
|
|
84266
84218
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
84267
84219
|
return __awaiter(_this, void 0, void 0, function () {
|
|
84268
84220
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
84269
84221
|
return __generator(this, function (_a) {
|
|
84270
84222
|
switch (_a.label) {
|
|
84271
84223
|
case 0:
|
|
84272
|
-
if (xSailPointExperimental === undefined) {
|
|
84273
|
-
xSailPointExperimental = 'true';
|
|
84274
|
-
}
|
|
84275
|
-
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
84276
|
-
(0, common_1.assertParamExists)('getMachineAccountDeletionApprovalConfigBySource', 'xSailPointExperimental', xSailPointExperimental);
|
|
84277
84224
|
// verify required parameter 'sourceId' is not null or undefined
|
|
84278
84225
|
(0, common_1.assertParamExists)('getMachineAccountDeletionApprovalConfigBySource', 'sourceId', sourceId);
|
|
84279
84226
|
localVarPath = "/sources/{sourceId}/approval-config/machine-account-delete"
|
|
@@ -84302,9 +84249,6 @@ var SourcesV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
84302
84249
|
// authentication userAuth required
|
|
84303
84250
|
// oauth required
|
|
84304
84251
|
_a.sent();
|
|
84305
|
-
if (xSailPointExperimental != null) {
|
|
84306
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
84307
|
-
}
|
|
84308
84252
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
84309
84253
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
84310
84254
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -86392,24 +86336,18 @@ var SourcesV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
86392
86336
|
/**
|
|
86393
86337
|
* Updates the approval configuration for deleting human accounts for a specific source, identified by source ID. This endpoint allows administrators to modify settings such as whether approval is required, who the approvers are, and other approval-related options. The update is performed using a JSON Patch payload, and the response returns the updated AccountDeleteConfigDto object reflecting the new approval workflow configuration.
|
|
86394
86338
|
* @summary Human Account Deletion Approval Config
|
|
86395
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
86396
86339
|
* @param {string} sourceId Human account source ID.
|
|
86397
86340
|
* @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the object.
|
|
86398
86341
|
* @param {*} [axiosOptions] Override http request option.
|
|
86399
86342
|
* @throws {RequiredError}
|
|
86400
86343
|
*/
|
|
86401
|
-
updateAccountDeletionApprovalConfig: function (
|
|
86344
|
+
updateAccountDeletionApprovalConfig: function (sourceId, jsonPatchOperationV2026, axiosOptions) {
|
|
86402
86345
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
86403
86346
|
return __awaiter(_this, void 0, void 0, function () {
|
|
86404
86347
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
86405
86348
|
return __generator(this, function (_a) {
|
|
86406
86349
|
switch (_a.label) {
|
|
86407
86350
|
case 0:
|
|
86408
|
-
if (xSailPointExperimental === undefined) {
|
|
86409
|
-
xSailPointExperimental = 'true';
|
|
86410
|
-
}
|
|
86411
|
-
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
86412
|
-
(0, common_1.assertParamExists)('updateAccountDeletionApprovalConfig', 'xSailPointExperimental', xSailPointExperimental);
|
|
86413
86351
|
// verify required parameter 'sourceId' is not null or undefined
|
|
86414
86352
|
(0, common_1.assertParamExists)('updateAccountDeletionApprovalConfig', 'sourceId', sourceId);
|
|
86415
86353
|
// verify required parameter 'jsonPatchOperationV2026' is not null or undefined
|
|
@@ -86441,9 +86379,6 @@ var SourcesV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
86441
86379
|
// oauth required
|
|
86442
86380
|
_a.sent();
|
|
86443
86381
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
86444
|
-
if (xSailPointExperimental != null) {
|
|
86445
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
86446
|
-
}
|
|
86447
86382
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
86448
86383
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
86449
86384
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -86459,24 +86394,18 @@ var SourcesV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
86459
86394
|
/**
|
|
86460
86395
|
* Use this endpoint to update the machine account deletion approval configuration for a specific source. The update is performed using a JSON Patch payload, which allows partial modifications to the approval config. This operation is typically used to change approval requirements, approvers, or comments settings for machine account deletion. The endpoint expects the source ID as a path parameter and a valid JSON Patch array in the request body.
|
|
86461
86396
|
* @summary Machine Account Deletion Approval Config
|
|
86462
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
86463
86397
|
* @param {string} sourceId machine account source ID.
|
|
86464
86398
|
* @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the object.
|
|
86465
86399
|
* @param {*} [axiosOptions] Override http request option.
|
|
86466
86400
|
* @throws {RequiredError}
|
|
86467
86401
|
*/
|
|
86468
|
-
updateMachineAccountDeletionApprovalConfig: function (
|
|
86402
|
+
updateMachineAccountDeletionApprovalConfig: function (sourceId, jsonPatchOperationV2026, axiosOptions) {
|
|
86469
86403
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
86470
86404
|
return __awaiter(_this, void 0, void 0, function () {
|
|
86471
86405
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
86472
86406
|
return __generator(this, function (_a) {
|
|
86473
86407
|
switch (_a.label) {
|
|
86474
86408
|
case 0:
|
|
86475
|
-
if (xSailPointExperimental === undefined) {
|
|
86476
|
-
xSailPointExperimental = 'true';
|
|
86477
|
-
}
|
|
86478
|
-
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
86479
|
-
(0, common_1.assertParamExists)('updateMachineAccountDeletionApprovalConfig', 'xSailPointExperimental', xSailPointExperimental);
|
|
86480
86409
|
// verify required parameter 'sourceId' is not null or undefined
|
|
86481
86410
|
(0, common_1.assertParamExists)('updateMachineAccountDeletionApprovalConfig', 'sourceId', sourceId);
|
|
86482
86411
|
// verify required parameter 'jsonPatchOperationV2026' is not null or undefined
|
|
@@ -86508,9 +86437,6 @@ var SourcesV2026ApiAxiosParamCreator = function (configuration) {
|
|
|
86508
86437
|
// oauth required
|
|
86509
86438
|
_a.sent();
|
|
86510
86439
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
86511
|
-
if (xSailPointExperimental != null) {
|
|
86512
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
86513
|
-
}
|
|
86514
86440
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
86515
86441
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
86516
86442
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -87254,18 +87180,17 @@ var SourcesV2026ApiFp = function (configuration) {
|
|
|
87254
87180
|
/**
|
|
87255
87181
|
* The endpoint retrieves the approval configuration for deleting human accounts from a specified source. It returns details such as whether approval is required, who the approvers are, and any additional approval settings. This helps administrators understand and manage the approval workflow for human account deletions in their organization. The response is provided as an AccountDeleteConfigDto object.
|
|
87256
87182
|
* @summary Human Account Deletion Approval Config
|
|
87257
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
87258
87183
|
* @param {string} sourceId The Source id
|
|
87259
87184
|
* @param {*} [axiosOptions] Override http request option.
|
|
87260
87185
|
* @throws {RequiredError}
|
|
87261
87186
|
*/
|
|
87262
|
-
getAccountDeleteApprovalConfig: function (
|
|
87187
|
+
getAccountDeleteApprovalConfig: function (sourceId, axiosOptions) {
|
|
87263
87188
|
var _a, _b, _c;
|
|
87264
87189
|
return __awaiter(this, void 0, void 0, function () {
|
|
87265
87190
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
87266
87191
|
return __generator(this, function (_d) {
|
|
87267
87192
|
switch (_d.label) {
|
|
87268
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAccountDeleteApprovalConfig(
|
|
87193
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAccountDeleteApprovalConfig(sourceId, axiosOptions)];
|
|
87269
87194
|
case 1:
|
|
87270
87195
|
localVarAxiosArgs = _d.sent();
|
|
87271
87196
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -87348,18 +87273,17 @@ var SourcesV2026ApiFp = function (configuration) {
|
|
|
87348
87273
|
/**
|
|
87349
87274
|
* Retrieves the machine account deletion approval configuration for a specific source. This endpoint returns details about the approval requirements, approvers, and comment settings that govern the deletion of machine accounts associated with the given source ID.
|
|
87350
87275
|
* @summary Machine Account Deletion Approval Config
|
|
87351
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
87352
87276
|
* @param {string} sourceId source id.
|
|
87353
87277
|
* @param {*} [axiosOptions] Override http request option.
|
|
87354
87278
|
* @throws {RequiredError}
|
|
87355
87279
|
*/
|
|
87356
|
-
getMachineAccountDeletionApprovalConfigBySource: function (
|
|
87280
|
+
getMachineAccountDeletionApprovalConfigBySource: function (sourceId, axiosOptions) {
|
|
87357
87281
|
var _a, _b, _c;
|
|
87358
87282
|
return __awaiter(this, void 0, void 0, function () {
|
|
87359
87283
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
87360
87284
|
return __generator(this, function (_d) {
|
|
87361
87285
|
switch (_d.label) {
|
|
87362
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getMachineAccountDeletionApprovalConfigBySource(
|
|
87286
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getMachineAccountDeletionApprovalConfigBySource(sourceId, axiosOptions)];
|
|
87363
87287
|
case 1:
|
|
87364
87288
|
localVarAxiosArgs = _d.sent();
|
|
87365
87289
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -88143,19 +88067,18 @@ var SourcesV2026ApiFp = function (configuration) {
|
|
|
88143
88067
|
/**
|
|
88144
88068
|
* Updates the approval configuration for deleting human accounts for a specific source, identified by source ID. This endpoint allows administrators to modify settings such as whether approval is required, who the approvers are, and other approval-related options. The update is performed using a JSON Patch payload, and the response returns the updated AccountDeleteConfigDto object reflecting the new approval workflow configuration.
|
|
88145
88069
|
* @summary Human Account Deletion Approval Config
|
|
88146
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
88147
88070
|
* @param {string} sourceId Human account source ID.
|
|
88148
88071
|
* @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the object.
|
|
88149
88072
|
* @param {*} [axiosOptions] Override http request option.
|
|
88150
88073
|
* @throws {RequiredError}
|
|
88151
88074
|
*/
|
|
88152
|
-
updateAccountDeletionApprovalConfig: function (
|
|
88075
|
+
updateAccountDeletionApprovalConfig: function (sourceId, jsonPatchOperationV2026, axiosOptions) {
|
|
88153
88076
|
var _a, _b, _c;
|
|
88154
88077
|
return __awaiter(this, void 0, void 0, function () {
|
|
88155
88078
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
88156
88079
|
return __generator(this, function (_d) {
|
|
88157
88080
|
switch (_d.label) {
|
|
88158
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateAccountDeletionApprovalConfig(
|
|
88081
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateAccountDeletionApprovalConfig(sourceId, jsonPatchOperationV2026, axiosOptions)];
|
|
88159
88082
|
case 1:
|
|
88160
88083
|
localVarAxiosArgs = _d.sent();
|
|
88161
88084
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -88168,19 +88091,18 @@ var SourcesV2026ApiFp = function (configuration) {
|
|
|
88168
88091
|
/**
|
|
88169
88092
|
* Use this endpoint to update the machine account deletion approval configuration for a specific source. The update is performed using a JSON Patch payload, which allows partial modifications to the approval config. This operation is typically used to change approval requirements, approvers, or comments settings for machine account deletion. The endpoint expects the source ID as a path parameter and a valid JSON Patch array in the request body.
|
|
88170
88093
|
* @summary Machine Account Deletion Approval Config
|
|
88171
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
88172
88094
|
* @param {string} sourceId machine account source ID.
|
|
88173
88095
|
* @param {Array<JsonPatchOperationV2026>} jsonPatchOperationV2026 The JSONPatch payload used to update the object.
|
|
88174
88096
|
* @param {*} [axiosOptions] Override http request option.
|
|
88175
88097
|
* @throws {RequiredError}
|
|
88176
88098
|
*/
|
|
88177
|
-
updateMachineAccountDeletionApprovalConfig: function (
|
|
88099
|
+
updateMachineAccountDeletionApprovalConfig: function (sourceId, jsonPatchOperationV2026, axiosOptions) {
|
|
88178
88100
|
var _a, _b, _c;
|
|
88179
88101
|
return __awaiter(this, void 0, void 0, function () {
|
|
88180
88102
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
88181
88103
|
return __generator(this, function (_d) {
|
|
88182
88104
|
switch (_d.label) {
|
|
88183
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateMachineAccountDeletionApprovalConfig(
|
|
88105
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateMachineAccountDeletionApprovalConfig(sourceId, jsonPatchOperationV2026, axiosOptions)];
|
|
88184
88106
|
case 1:
|
|
88185
88107
|
localVarAxiosArgs = _d.sent();
|
|
88186
88108
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -88479,7 +88401,7 @@ var SourcesV2026ApiFactory = function (configuration, basePath, axios) {
|
|
|
88479
88401
|
* @throws {RequiredError}
|
|
88480
88402
|
*/
|
|
88481
88403
|
getAccountDeleteApprovalConfig: function (requestParameters, axiosOptions) {
|
|
88482
|
-
return localVarFp.getAccountDeleteApprovalConfig(requestParameters.
|
|
88404
|
+
return localVarFp.getAccountDeleteApprovalConfig(requestParameters.sourceId, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
88483
88405
|
},
|
|
88484
88406
|
/**
|
|
88485
88407
|
* This API downloads the CSV schema that defines the account attributes on a source. >**NOTE: This API is designated only for Delimited File sources.**
|
|
@@ -88519,7 +88441,7 @@ var SourcesV2026ApiFactory = function (configuration, basePath, axios) {
|
|
|
88519
88441
|
* @throws {RequiredError}
|
|
88520
88442
|
*/
|
|
88521
88443
|
getMachineAccountDeletionApprovalConfigBySource: function (requestParameters, axiosOptions) {
|
|
88522
|
-
return localVarFp.getMachineAccountDeletionApprovalConfigBySource(requestParameters.
|
|
88444
|
+
return localVarFp.getMachineAccountDeletionApprovalConfigBySource(requestParameters.sourceId, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
88523
88445
|
},
|
|
88524
88446
|
/**
|
|
88525
88447
|
* This API returns the existing native change detection configuration for a source specified by the given ID.
|
|
@@ -88851,7 +88773,7 @@ var SourcesV2026ApiFactory = function (configuration, basePath, axios) {
|
|
|
88851
88773
|
* @throws {RequiredError}
|
|
88852
88774
|
*/
|
|
88853
88775
|
updateAccountDeletionApprovalConfig: function (requestParameters, axiosOptions) {
|
|
88854
|
-
return localVarFp.updateAccountDeletionApprovalConfig(requestParameters.
|
|
88776
|
+
return localVarFp.updateAccountDeletionApprovalConfig(requestParameters.sourceId, requestParameters.jsonPatchOperationV2026, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
88855
88777
|
},
|
|
88856
88778
|
/**
|
|
88857
88779
|
* Use this endpoint to update the machine account deletion approval configuration for a specific source. The update is performed using a JSON Patch payload, which allows partial modifications to the approval config. This operation is typically used to change approval requirements, approvers, or comments settings for machine account deletion. The endpoint expects the source ID as a path parameter and a valid JSON Patch array in the request body.
|
|
@@ -88861,7 +88783,7 @@ var SourcesV2026ApiFactory = function (configuration, basePath, axios) {
|
|
|
88861
88783
|
* @throws {RequiredError}
|
|
88862
88784
|
*/
|
|
88863
88785
|
updateMachineAccountDeletionApprovalConfig: function (requestParameters, axiosOptions) {
|
|
88864
|
-
return localVarFp.updateMachineAccountDeletionApprovalConfig(requestParameters.
|
|
88786
|
+
return localVarFp.updateMachineAccountDeletionApprovalConfig(requestParameters.sourceId, requestParameters.jsonPatchOperationV2026, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
88865
88787
|
},
|
|
88866
88788
|
/**
|
|
88867
88789
|
* This API can be used to set up or update Password Policy in IdentityNow for the specified Source. Source must support PASSWORD feature.
|
|
@@ -89077,7 +88999,7 @@ var SourcesV2026Api = /** @class */ (function (_super) {
|
|
|
89077
88999
|
*/
|
|
89078
89000
|
SourcesV2026Api.prototype.getAccountDeleteApprovalConfig = function (requestParameters, axiosOptions) {
|
|
89079
89001
|
var _this = this;
|
|
89080
|
-
return (0, exports.SourcesV2026ApiFp)(this.configuration).getAccountDeleteApprovalConfig(requestParameters.
|
|
89002
|
+
return (0, exports.SourcesV2026ApiFp)(this.configuration).getAccountDeleteApprovalConfig(requestParameters.sourceId, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
89081
89003
|
};
|
|
89082
89004
|
/**
|
|
89083
89005
|
* This API downloads the CSV schema that defines the account attributes on a source. >**NOTE: This API is designated only for Delimited File sources.**
|
|
@@ -89125,7 +89047,7 @@ var SourcesV2026Api = /** @class */ (function (_super) {
|
|
|
89125
89047
|
*/
|
|
89126
89048
|
SourcesV2026Api.prototype.getMachineAccountDeletionApprovalConfigBySource = function (requestParameters, axiosOptions) {
|
|
89127
89049
|
var _this = this;
|
|
89128
|
-
return (0, exports.SourcesV2026ApiFp)(this.configuration).getMachineAccountDeletionApprovalConfigBySource(requestParameters.
|
|
89050
|
+
return (0, exports.SourcesV2026ApiFp)(this.configuration).getMachineAccountDeletionApprovalConfigBySource(requestParameters.sourceId, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
89129
89051
|
};
|
|
89130
89052
|
/**
|
|
89131
89053
|
* This API returns the existing native change detection configuration for a source specified by the given ID.
|
|
@@ -89523,7 +89445,7 @@ var SourcesV2026Api = /** @class */ (function (_super) {
|
|
|
89523
89445
|
*/
|
|
89524
89446
|
SourcesV2026Api.prototype.updateAccountDeletionApprovalConfig = function (requestParameters, axiosOptions) {
|
|
89525
89447
|
var _this = this;
|
|
89526
|
-
return (0, exports.SourcesV2026ApiFp)(this.configuration).updateAccountDeletionApprovalConfig(requestParameters.
|
|
89448
|
+
return (0, exports.SourcesV2026ApiFp)(this.configuration).updateAccountDeletionApprovalConfig(requestParameters.sourceId, requestParameters.jsonPatchOperationV2026, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
89527
89449
|
};
|
|
89528
89450
|
/**
|
|
89529
89451
|
* Use this endpoint to update the machine account deletion approval configuration for a specific source. The update is performed using a JSON Patch payload, which allows partial modifications to the approval config. This operation is typically used to change approval requirements, approvers, or comments settings for machine account deletion. The endpoint expects the source ID as a path parameter and a valid JSON Patch array in the request body.
|
|
@@ -89535,7 +89457,7 @@ var SourcesV2026Api = /** @class */ (function (_super) {
|
|
|
89535
89457
|
*/
|
|
89536
89458
|
SourcesV2026Api.prototype.updateMachineAccountDeletionApprovalConfig = function (requestParameters, axiosOptions) {
|
|
89537
89459
|
var _this = this;
|
|
89538
|
-
return (0, exports.SourcesV2026ApiFp)(this.configuration).updateMachineAccountDeletionApprovalConfig(requestParameters.
|
|
89460
|
+
return (0, exports.SourcesV2026ApiFp)(this.configuration).updateMachineAccountDeletionApprovalConfig(requestParameters.sourceId, requestParameters.jsonPatchOperationV2026, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
89539
89461
|
};
|
|
89540
89462
|
/**
|
|
89541
89463
|
* This API can be used to set up or update Password Policy in IdentityNow for the specified Source. Source must support PASSWORD feature.
|