@sailpoint/api-client 2.2.38 → 2.2.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/access_requests/api.d.ts +12 -12
- package/dist/access_requests/api.js +9 -9
- package/dist/access_requests/api.js.map +1 -1
- package/dist/esm/access_requests/api.js +9 -9
- package/dist/esm/nerm/common.js +2 -2
- package/dist/esm/nermv2025/common.js +2 -2
- package/dist/esm/sod_controls/api.js +25 -65
- package/dist/esm/sod_violations/api.js +25 -65
- package/dist/nerm/common.js +2 -2
- package/dist/nerm/common.js.map +1 -1
- package/dist/nermv2025/common.js +2 -2
- package/dist/nermv2025/common.js.map +1 -1
- package/dist/sod_controls/api.d.ts +10 -50
- package/dist/sod_controls/api.js +25 -65
- package/dist/sod_controls/api.js.map +1 -1
- package/dist/sod_violations/api.d.ts +10 -50
- package/dist/sod_violations/api.js +25 -65
- package/dist/sod_violations/api.js.map +1 -1
- package/package.json +1 -1
|
@@ -665,7 +665,6 @@ export var AccessRequestsApiAxiosParamCreator = function (configuration) {
|
|
|
665
665
|
/**
|
|
666
666
|
* Use this API to get access request statuses of all the access requests in the org based on the specified query parameters. Any user with user level ORG_ADMIN or scope idn:access-request-administration:read can access this endpoint to get the access request statuses When a requested object has an associated form, each status item may include a `form` object with the form definition ID, instance ID, and answers (`formData`).
|
|
667
667
|
* @summary Access request status for administrators
|
|
668
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
669
668
|
* @param {string} [requestedFor] Filter the results by the identity the requests were made for. *me* indicates the current user. Mutually exclusive with *regarding-identity*.
|
|
670
669
|
* @param {string} [requestedBy] Filter the results by the identity who made the requests. *me* indicates the current user. Mutually exclusive with *regarding-identity*.
|
|
671
670
|
* @param {string} [regardingIdentity] Filter the results by the specified identity who is either the requester or target of the requests. *me* indicates the current user. Mutually exclusive with *requested-for* and *requested-by*.
|
|
@@ -676,10 +675,11 @@ export var AccessRequestsApiAxiosParamCreator = function (configuration) {
|
|
|
676
675
|
* @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: **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* **accessRequestId**: *in, eq, ne, ge, gt, le, lt, sw* **status**: *in, eq, ne* **created**: *eq, in, ge, gt, le, lt, ne, isnull, sw*
|
|
677
676
|
* @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: **created, modified, accountActivityItemId, name, accessRequestId**
|
|
678
677
|
* @param {string} [requestState] Filter the results by the state of the request. The only valid value is *EXECUTING*.
|
|
678
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
679
679
|
* @param {*} [axiosOptions] Override http request option.
|
|
680
680
|
* @throws {RequiredError}
|
|
681
681
|
*/
|
|
682
|
-
listAdministratorsAccessRequestStatusV1: function (
|
|
682
|
+
listAdministratorsAccessRequestStatusV1: function (requestedFor, requestedBy, regardingIdentity, assignedTo, count, limit, offset, filters, sorters, requestState, xSailPointExperimental, axiosOptions) {
|
|
683
683
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
684
684
|
return __awaiter(_this, void 0, void 0, function () {
|
|
685
685
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -687,8 +687,6 @@ export var AccessRequestsApiAxiosParamCreator = function (configuration) {
|
|
|
687
687
|
if (xSailPointExperimental === undefined) {
|
|
688
688
|
xSailPointExperimental = 'true';
|
|
689
689
|
}
|
|
690
|
-
// verify required parameter 'xSailPointExperimental' is not null or undefined
|
|
691
|
-
assertParamExists('listAdministratorsAccessRequestStatusV1', 'xSailPointExperimental', xSailPointExperimental);
|
|
692
690
|
localVarPath = "/access-request-administration/v1";
|
|
693
691
|
localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
694
692
|
if (configuration) {
|
|
@@ -1086,7 +1084,6 @@ export var AccessRequestsApiFp = function (configuration) {
|
|
|
1086
1084
|
/**
|
|
1087
1085
|
* Use this API to get access request statuses of all the access requests in the org based on the specified query parameters. Any user with user level ORG_ADMIN or scope idn:access-request-administration:read can access this endpoint to get the access request statuses When a requested object has an associated form, each status item may include a `form` object with the form definition ID, instance ID, and answers (`formData`).
|
|
1088
1086
|
* @summary Access request status for administrators
|
|
1089
|
-
* @param {string} xSailPointExperimental Use this header to enable this experimental API.
|
|
1090
1087
|
* @param {string} [requestedFor] Filter the results by the identity the requests were made for. *me* indicates the current user. Mutually exclusive with *regarding-identity*.
|
|
1091
1088
|
* @param {string} [requestedBy] Filter the results by the identity who made the requests. *me* indicates the current user. Mutually exclusive with *regarding-identity*.
|
|
1092
1089
|
* @param {string} [regardingIdentity] Filter the results by the specified identity who is either the requester or target of the requests. *me* indicates the current user. Mutually exclusive with *requested-for* and *requested-by*.
|
|
@@ -1097,16 +1094,17 @@ export var AccessRequestsApiFp = function (configuration) {
|
|
|
1097
1094
|
* @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: **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* **accessRequestId**: *in, eq, ne, ge, gt, le, lt, sw* **status**: *in, eq, ne* **created**: *eq, in, ge, gt, le, lt, ne, isnull, sw*
|
|
1098
1095
|
* @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: **created, modified, accountActivityItemId, name, accessRequestId**
|
|
1099
1096
|
* @param {string} [requestState] Filter the results by the state of the request. The only valid value is *EXECUTING*.
|
|
1097
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
1100
1098
|
* @param {*} [axiosOptions] Override http request option.
|
|
1101
1099
|
* @throws {RequiredError}
|
|
1102
1100
|
*/
|
|
1103
|
-
listAdministratorsAccessRequestStatusV1: function (
|
|
1101
|
+
listAdministratorsAccessRequestStatusV1: function (requestedFor, requestedBy, regardingIdentity, assignedTo, count, limit, offset, filters, sorters, requestState, xSailPointExperimental, axiosOptions) {
|
|
1104
1102
|
var _a, _b, _c;
|
|
1105
1103
|
return __awaiter(this, void 0, void 0, function () {
|
|
1106
1104
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1107
1105
|
return __generator(this, function (_d) {
|
|
1108
1106
|
switch (_d.label) {
|
|
1109
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listAdministratorsAccessRequestStatusV1(
|
|
1107
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listAdministratorsAccessRequestStatusV1(requestedFor, requestedBy, regardingIdentity, assignedTo, count, limit, offset, filters, sorters, requestState, xSailPointExperimental, axiosOptions)];
|
|
1110
1108
|
case 1:
|
|
1111
1109
|
localVarAxiosArgs = _d.sent();
|
|
1112
1110
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -1297,7 +1295,8 @@ export var AccessRequestsApiFactory = function (configuration, basePath, axios)
|
|
|
1297
1295
|
* @throws {RequiredError}
|
|
1298
1296
|
*/
|
|
1299
1297
|
listAdministratorsAccessRequestStatusV1: function (requestParameters, axiosOptions) {
|
|
1300
|
-
|
|
1298
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1299
|
+
return localVarFp.listAdministratorsAccessRequestStatusV1(requestParameters.requestedFor, requestParameters.requestedBy, requestParameters.regardingIdentity, requestParameters.assignedTo, requestParameters.count, requestParameters.limit, requestParameters.offset, requestParameters.filters, requestParameters.sorters, requestParameters.requestState, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
1301
1300
|
},
|
|
1302
1301
|
/**
|
|
1303
1302
|
* Use this API to fetch account information for an identity against the items in an access request. Used to fetch accountSelection for the AccessRequest prior to submitting for async processing. __Machine identities__ * Must use `requestedForWithRequestedItems` with `identityType: MACHINE` on each entry. * Fields `requestedFor` / `requestedItems` are not supported and should be omitted. * Only `ENTITLEMENT` items are supported. * Mixed human and machine identities in one request are not supported. * Response identities use `type: MACHINE_IDENTITY`. Use the returned account `accountUuid` / `nativeIdentity` values when submitting the access request; invalid or mismatched account details are rejected on create. * If the machine has no account on a requested source, the item may be returned with `accountsSelectionBlocked: true` and `accountsSelectionBlockedReason: NO_ACCOUNT_ON_SOURCE` (empty accounts on the response in that blocked case is expected). * Same licensing, `machineIdentityAccessRequestEnabled`, and request-on-behalf-of rules as create access request apply.
|
|
@@ -1463,7 +1462,8 @@ var AccessRequestsApi = /** @class */ (function (_super) {
|
|
|
1463
1462
|
*/
|
|
1464
1463
|
AccessRequestsApi.prototype.listAdministratorsAccessRequestStatusV1 = function (requestParameters, axiosOptions) {
|
|
1465
1464
|
var _this = this;
|
|
1466
|
-
|
|
1465
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1466
|
+
return AccessRequestsApiFp(this.configuration).listAdministratorsAccessRequestStatusV1(requestParameters.requestedFor, requestParameters.requestedBy, requestParameters.regardingIdentity, requestParameters.assignedTo, requestParameters.count, requestParameters.limit, requestParameters.offset, requestParameters.filters, requestParameters.sorters, requestParameters.requestState, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1467
1467
|
};
|
|
1468
1468
|
/**
|
|
1469
1469
|
* Use this API to fetch account information for an identity against the items in an access request. Used to fetch accountSelection for the AccessRequest prior to submitting for async processing. __Machine identities__ * Must use `requestedForWithRequestedItems` with `identityType: MACHINE` on each entry. * Fields `requestedFor` / `requestedItems` are not supported and should be omitted. * Only `ENTITLEMENT` items are supported. * Mixed human and machine identities in one request are not supported. * Response identities use `type: MACHINE_IDENTITY`. Use the returned account `accountUuid` / `nativeIdentity` values when submitting the access request; invalid or mismatched account details are rejected on create. * If the machine has no account on a requested source, the item may be returned with `accountsSelectionBlocked: true` and `accountsSelectionBlockedReason: NO_ACCOUNT_ON_SOURCE` (empty accounts on the response in that blocked case is expected). * Same licensing, `machineIdentityAccessRequestEnabled`, and request-on-behalf-of rules as create access request apply.
|
package/dist/esm/nerm/common.js
CHANGED
|
@@ -246,8 +246,8 @@ export var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH,
|
|
|
246
246
|
// header such as X-SailPoint-SDK forces a CORS preflight that tenants do
|
|
247
247
|
// not allow, which blocks the request outright.
|
|
248
248
|
if (typeof process !== 'undefined' && ((_a = process.versions) === null || _a === void 0 ? void 0 : _a.node)) {
|
|
249
|
-
headers['X-SailPoint-SDK'] = 'typescript-2.2.
|
|
250
|
-
userAgent = "SailPoint-SDK-TypeScript/2.2.
|
|
249
|
+
headers['X-SailPoint-SDK'] = 'typescript-2.2.39';
|
|
250
|
+
userAgent = "SailPoint-SDK-TypeScript/2.2.39";
|
|
251
251
|
if ((configuration === null || configuration === void 0 ? void 0 : configuration.consumerIdentifier) && (configuration === null || configuration === void 0 ? void 0 : configuration.consumerVersion)) {
|
|
252
252
|
userAgent += " (".concat(configuration.consumerIdentifier, "/").concat(configuration.consumerVersion, ")");
|
|
253
253
|
}
|
|
@@ -246,8 +246,8 @@ export var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH,
|
|
|
246
246
|
// header such as X-SailPoint-SDK forces a CORS preflight that tenants do
|
|
247
247
|
// not allow, which blocks the request outright.
|
|
248
248
|
if (typeof process !== 'undefined' && ((_a = process.versions) === null || _a === void 0 ? void 0 : _a.node)) {
|
|
249
|
-
headers['X-SailPoint-SDK'] = 'typescript-2.2.
|
|
250
|
-
userAgent = "SailPoint-SDK-TypeScript/2.2.
|
|
249
|
+
headers['X-SailPoint-SDK'] = 'typescript-2.2.39';
|
|
250
|
+
userAgent = "SailPoint-SDK-TypeScript/2.2.39";
|
|
251
251
|
if ((configuration === null || configuration === void 0 ? void 0 : configuration.consumerIdentifier) && (configuration === null || configuration === void 0 ? void 0 : configuration.consumerVersion)) {
|
|
252
252
|
userAgent += " (".concat(configuration.consumerIdentifier, "/").concat(configuration.consumerVersion, ")");
|
|
253
253
|
}
|
|
@@ -119,20 +119,16 @@ export var SODControlsApiAxiosParamCreator = function (configuration) {
|
|
|
119
119
|
* Creates a compensating control associated with separation-of-duties policies.
|
|
120
120
|
* @summary Create Compensating Control
|
|
121
121
|
* @param {Compensatingcontrolcreate} compensatingcontrolcreate Data needed to create a Compensating Control
|
|
122
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
123
122
|
* @param {*} [axiosOptions] Override http request option.
|
|
124
123
|
* @throws {RequiredError}
|
|
125
124
|
*/
|
|
126
|
-
createControlV1: function (compensatingcontrolcreate,
|
|
125
|
+
createControlV1: function (compensatingcontrolcreate, axiosOptions) {
|
|
127
126
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
128
127
|
return __awaiter(_this, void 0, void 0, function () {
|
|
129
128
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
130
129
|
return __generator(this, function (_a) {
|
|
131
130
|
// verify required parameter 'compensatingcontrolcreate' is not null or undefined
|
|
132
131
|
assertParamExists('createControlV1', 'compensatingcontrolcreate', compensatingcontrolcreate);
|
|
133
|
-
if (xSailPointExperimental === undefined) {
|
|
134
|
-
xSailPointExperimental = 'true';
|
|
135
|
-
}
|
|
136
132
|
localVarPath = "/controls/v1";
|
|
137
133
|
localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
138
134
|
if (configuration) {
|
|
@@ -142,9 +138,6 @@ export var SODControlsApiAxiosParamCreator = function (configuration) {
|
|
|
142
138
|
localVarHeaderParameter = {};
|
|
143
139
|
localVarQueryParameter = {};
|
|
144
140
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
145
|
-
if (xSailPointExperimental != null) {
|
|
146
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
147
|
-
}
|
|
148
141
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
149
142
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
150
143
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -160,20 +153,16 @@ export var SODControlsApiAxiosParamCreator = function (configuration) {
|
|
|
160
153
|
* Deletes the specified compensating control from the data store.
|
|
161
154
|
* @summary Delete compensating control by ID
|
|
162
155
|
* @param {string} id the ID (UUID) of the compensating control to delete.
|
|
163
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
164
156
|
* @param {*} [axiosOptions] Override http request option.
|
|
165
157
|
* @throws {RequiredError}
|
|
166
158
|
*/
|
|
167
|
-
deleteControlV1: function (id,
|
|
159
|
+
deleteControlV1: function (id, axiosOptions) {
|
|
168
160
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
169
161
|
return __awaiter(_this, void 0, void 0, function () {
|
|
170
162
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
171
163
|
return __generator(this, function (_a) {
|
|
172
164
|
// verify required parameter 'id' is not null or undefined
|
|
173
165
|
assertParamExists('deleteControlV1', 'id', id);
|
|
174
|
-
if (xSailPointExperimental === undefined) {
|
|
175
|
-
xSailPointExperimental = 'true';
|
|
176
|
-
}
|
|
177
166
|
localVarPath = "/controls/v1/{id}"
|
|
178
167
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
179
168
|
localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -183,9 +172,6 @@ export var SODControlsApiAxiosParamCreator = function (configuration) {
|
|
|
183
172
|
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), axiosOptions);
|
|
184
173
|
localVarHeaderParameter = {};
|
|
185
174
|
localVarQueryParameter = {};
|
|
186
|
-
if (xSailPointExperimental != null) {
|
|
187
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
188
|
-
}
|
|
189
175
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
190
176
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
191
177
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -200,20 +186,16 @@ export var SODControlsApiAxiosParamCreator = function (configuration) {
|
|
|
200
186
|
* Returns a single compensating control by ID.
|
|
201
187
|
* @summary Get compensating control by ID
|
|
202
188
|
* @param {string} id The ID of the compensating control to fetch
|
|
203
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
204
189
|
* @param {*} [axiosOptions] Override http request option.
|
|
205
190
|
* @throws {RequiredError}
|
|
206
191
|
*/
|
|
207
|
-
getControlV1: function (id,
|
|
192
|
+
getControlV1: function (id, axiosOptions) {
|
|
208
193
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
209
194
|
return __awaiter(_this, void 0, void 0, function () {
|
|
210
195
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
211
196
|
return __generator(this, function (_a) {
|
|
212
197
|
// verify required parameter 'id' is not null or undefined
|
|
213
198
|
assertParamExists('getControlV1', 'id', id);
|
|
214
|
-
if (xSailPointExperimental === undefined) {
|
|
215
|
-
xSailPointExperimental = 'true';
|
|
216
|
-
}
|
|
217
199
|
localVarPath = "/controls/v1/{id}"
|
|
218
200
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
219
201
|
localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -223,9 +205,6 @@ export var SODControlsApiAxiosParamCreator = function (configuration) {
|
|
|
223
205
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
224
206
|
localVarHeaderParameter = {};
|
|
225
207
|
localVarQueryParameter = {};
|
|
226
|
-
if (xSailPointExperimental != null) {
|
|
227
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
228
|
-
}
|
|
229
208
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
230
209
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
231
210
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -239,7 +218,6 @@ export var SODControlsApiAxiosParamCreator = function (configuration) {
|
|
|
239
218
|
/**
|
|
240
219
|
* Returns a list of compensating controls associated with separation-of-duties policies.
|
|
241
220
|
* @summary List Compensating Controls
|
|
242
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
243
221
|
* @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.
|
|
244
222
|
* @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.
|
|
245
223
|
* @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.
|
|
@@ -248,14 +226,11 @@ export var SODControlsApiAxiosParamCreator = function (configuration) {
|
|
|
248
226
|
* @param {*} [axiosOptions] Override http request option.
|
|
249
227
|
* @throws {RequiredError}
|
|
250
228
|
*/
|
|
251
|
-
listControlsV1: function (
|
|
229
|
+
listControlsV1: function (limit, offset, count, filters, sort, axiosOptions) {
|
|
252
230
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
253
231
|
return __awaiter(_this, void 0, void 0, function () {
|
|
254
232
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
255
233
|
return __generator(this, function (_a) {
|
|
256
|
-
if (xSailPointExperimental === undefined) {
|
|
257
|
-
xSailPointExperimental = 'true';
|
|
258
|
-
}
|
|
259
234
|
localVarPath = "/controls/v1";
|
|
260
235
|
localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
261
236
|
if (configuration) {
|
|
@@ -279,9 +254,6 @@ export var SODControlsApiAxiosParamCreator = function (configuration) {
|
|
|
279
254
|
if (sort !== undefined) {
|
|
280
255
|
localVarQueryParameter['sort'] = sort;
|
|
281
256
|
}
|
|
282
|
-
if (xSailPointExperimental != null) {
|
|
283
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
284
|
-
}
|
|
285
257
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
286
258
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
287
259
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -297,11 +269,10 @@ export var SODControlsApiAxiosParamCreator = function (configuration) {
|
|
|
297
269
|
* @summary Put Compensating Control
|
|
298
270
|
* @param {string} id The unique identifier of the Compensating Control to be updated.
|
|
299
271
|
* @param {Compensatingcontrolupdate} compensatingcontrolupdate Data needed to put a Compensating Control
|
|
300
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
301
272
|
* @param {*} [axiosOptions] Override http request option.
|
|
302
273
|
* @throws {RequiredError}
|
|
303
274
|
*/
|
|
304
|
-
putControlV1: function (id, compensatingcontrolupdate,
|
|
275
|
+
putControlV1: function (id, compensatingcontrolupdate, axiosOptions) {
|
|
305
276
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
306
277
|
return __awaiter(_this, void 0, void 0, function () {
|
|
307
278
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -310,9 +281,6 @@ export var SODControlsApiAxiosParamCreator = function (configuration) {
|
|
|
310
281
|
assertParamExists('putControlV1', 'id', id);
|
|
311
282
|
// verify required parameter 'compensatingcontrolupdate' is not null or undefined
|
|
312
283
|
assertParamExists('putControlV1', 'compensatingcontrolupdate', compensatingcontrolupdate);
|
|
313
|
-
if (xSailPointExperimental === undefined) {
|
|
314
|
-
xSailPointExperimental = 'true';
|
|
315
|
-
}
|
|
316
284
|
localVarPath = "/controls/v1/{id}"
|
|
317
285
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
318
286
|
localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -323,9 +291,6 @@ export var SODControlsApiAxiosParamCreator = function (configuration) {
|
|
|
323
291
|
localVarHeaderParameter = {};
|
|
324
292
|
localVarQueryParameter = {};
|
|
325
293
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
326
|
-
if (xSailPointExperimental != null) {
|
|
327
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
328
|
-
}
|
|
329
294
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
330
295
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
331
296
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -350,17 +315,16 @@ export var SODControlsApiFp = function (configuration) {
|
|
|
350
315
|
* Creates a compensating control associated with separation-of-duties policies.
|
|
351
316
|
* @summary Create Compensating Control
|
|
352
317
|
* @param {Compensatingcontrolcreate} compensatingcontrolcreate Data needed to create a Compensating Control
|
|
353
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
354
318
|
* @param {*} [axiosOptions] Override http request option.
|
|
355
319
|
* @throws {RequiredError}
|
|
356
320
|
*/
|
|
357
|
-
createControlV1: function (compensatingcontrolcreate,
|
|
321
|
+
createControlV1: function (compensatingcontrolcreate, axiosOptions) {
|
|
358
322
|
var _a, _b, _c;
|
|
359
323
|
return __awaiter(this, void 0, void 0, function () {
|
|
360
324
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
361
325
|
return __generator(this, function (_d) {
|
|
362
326
|
switch (_d.label) {
|
|
363
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createControlV1(compensatingcontrolcreate,
|
|
327
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createControlV1(compensatingcontrolcreate, axiosOptions)];
|
|
364
328
|
case 1:
|
|
365
329
|
localVarAxiosArgs = _d.sent();
|
|
366
330
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -374,17 +338,16 @@ export var SODControlsApiFp = function (configuration) {
|
|
|
374
338
|
* Deletes the specified compensating control from the data store.
|
|
375
339
|
* @summary Delete compensating control by ID
|
|
376
340
|
* @param {string} id the ID (UUID) of the compensating control to delete.
|
|
377
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
378
341
|
* @param {*} [axiosOptions] Override http request option.
|
|
379
342
|
* @throws {RequiredError}
|
|
380
343
|
*/
|
|
381
|
-
deleteControlV1: function (id,
|
|
344
|
+
deleteControlV1: function (id, axiosOptions) {
|
|
382
345
|
var _a, _b, _c;
|
|
383
346
|
return __awaiter(this, void 0, void 0, function () {
|
|
384
347
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
385
348
|
return __generator(this, function (_d) {
|
|
386
349
|
switch (_d.label) {
|
|
387
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteControlV1(id,
|
|
350
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteControlV1(id, axiosOptions)];
|
|
388
351
|
case 1:
|
|
389
352
|
localVarAxiosArgs = _d.sent();
|
|
390
353
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -398,17 +361,16 @@ export var SODControlsApiFp = function (configuration) {
|
|
|
398
361
|
* Returns a single compensating control by ID.
|
|
399
362
|
* @summary Get compensating control by ID
|
|
400
363
|
* @param {string} id The ID of the compensating control to fetch
|
|
401
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
402
364
|
* @param {*} [axiosOptions] Override http request option.
|
|
403
365
|
* @throws {RequiredError}
|
|
404
366
|
*/
|
|
405
|
-
getControlV1: function (id,
|
|
367
|
+
getControlV1: function (id, axiosOptions) {
|
|
406
368
|
var _a, _b, _c;
|
|
407
369
|
return __awaiter(this, void 0, void 0, function () {
|
|
408
370
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
409
371
|
return __generator(this, function (_d) {
|
|
410
372
|
switch (_d.label) {
|
|
411
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getControlV1(id,
|
|
373
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getControlV1(id, axiosOptions)];
|
|
412
374
|
case 1:
|
|
413
375
|
localVarAxiosArgs = _d.sent();
|
|
414
376
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -421,7 +383,6 @@ export var SODControlsApiFp = function (configuration) {
|
|
|
421
383
|
/**
|
|
422
384
|
* Returns a list of compensating controls associated with separation-of-duties policies.
|
|
423
385
|
* @summary List Compensating Controls
|
|
424
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
425
386
|
* @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.
|
|
426
387
|
* @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.
|
|
427
388
|
* @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.
|
|
@@ -430,13 +391,13 @@ export var SODControlsApiFp = function (configuration) {
|
|
|
430
391
|
* @param {*} [axiosOptions] Override http request option.
|
|
431
392
|
* @throws {RequiredError}
|
|
432
393
|
*/
|
|
433
|
-
listControlsV1: function (
|
|
394
|
+
listControlsV1: function (limit, offset, count, filters, sort, axiosOptions) {
|
|
434
395
|
var _a, _b, _c;
|
|
435
396
|
return __awaiter(this, void 0, void 0, function () {
|
|
436
397
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
437
398
|
return __generator(this, function (_d) {
|
|
438
399
|
switch (_d.label) {
|
|
439
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listControlsV1(
|
|
400
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listControlsV1(limit, offset, count, filters, sort, axiosOptions)];
|
|
440
401
|
case 1:
|
|
441
402
|
localVarAxiosArgs = _d.sent();
|
|
442
403
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -451,17 +412,16 @@ export var SODControlsApiFp = function (configuration) {
|
|
|
451
412
|
* @summary Put Compensating Control
|
|
452
413
|
* @param {string} id The unique identifier of the Compensating Control to be updated.
|
|
453
414
|
* @param {Compensatingcontrolupdate} compensatingcontrolupdate Data needed to put a Compensating Control
|
|
454
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
455
415
|
* @param {*} [axiosOptions] Override http request option.
|
|
456
416
|
* @throws {RequiredError}
|
|
457
417
|
*/
|
|
458
|
-
putControlV1: function (id, compensatingcontrolupdate,
|
|
418
|
+
putControlV1: function (id, compensatingcontrolupdate, axiosOptions) {
|
|
459
419
|
var _a, _b, _c;
|
|
460
420
|
return __awaiter(this, void 0, void 0, function () {
|
|
461
421
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
462
422
|
return __generator(this, function (_d) {
|
|
463
423
|
switch (_d.label) {
|
|
464
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putControlV1(id, compensatingcontrolupdate,
|
|
424
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putControlV1(id, compensatingcontrolupdate, axiosOptions)];
|
|
465
425
|
case 1:
|
|
466
426
|
localVarAxiosArgs = _d.sent();
|
|
467
427
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -488,7 +448,7 @@ export var SODControlsApiFactory = function (configuration, basePath, axios) {
|
|
|
488
448
|
* @throws {RequiredError}
|
|
489
449
|
*/
|
|
490
450
|
createControlV1: function (requestParameters, axiosOptions) {
|
|
491
|
-
return localVarFp.createControlV1(requestParameters.compensatingcontrolcreate,
|
|
451
|
+
return localVarFp.createControlV1(requestParameters.compensatingcontrolcreate, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
492
452
|
},
|
|
493
453
|
/**
|
|
494
454
|
* Deletes the specified compensating control from the data store.
|
|
@@ -498,7 +458,7 @@ export var SODControlsApiFactory = function (configuration, basePath, axios) {
|
|
|
498
458
|
* @throws {RequiredError}
|
|
499
459
|
*/
|
|
500
460
|
deleteControlV1: function (requestParameters, axiosOptions) {
|
|
501
|
-
return localVarFp.deleteControlV1(requestParameters.id,
|
|
461
|
+
return localVarFp.deleteControlV1(requestParameters.id, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
502
462
|
},
|
|
503
463
|
/**
|
|
504
464
|
* Returns a single compensating control by ID.
|
|
@@ -508,7 +468,7 @@ export var SODControlsApiFactory = function (configuration, basePath, axios) {
|
|
|
508
468
|
* @throws {RequiredError}
|
|
509
469
|
*/
|
|
510
470
|
getControlV1: function (requestParameters, axiosOptions) {
|
|
511
|
-
return localVarFp.getControlV1(requestParameters.id,
|
|
471
|
+
return localVarFp.getControlV1(requestParameters.id, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
512
472
|
},
|
|
513
473
|
/**
|
|
514
474
|
* Returns a list of compensating controls associated with separation-of-duties policies.
|
|
@@ -519,7 +479,7 @@ export var SODControlsApiFactory = function (configuration, basePath, axios) {
|
|
|
519
479
|
*/
|
|
520
480
|
listControlsV1: function (requestParameters, axiosOptions) {
|
|
521
481
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
522
|
-
return localVarFp.listControlsV1(requestParameters.
|
|
482
|
+
return localVarFp.listControlsV1(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sort, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
523
483
|
},
|
|
524
484
|
/**
|
|
525
485
|
* Updates the specified compensating control.
|
|
@@ -529,7 +489,7 @@ export var SODControlsApiFactory = function (configuration, basePath, axios) {
|
|
|
529
489
|
* @throws {RequiredError}
|
|
530
490
|
*/
|
|
531
491
|
putControlV1: function (requestParameters, axiosOptions) {
|
|
532
|
-
return localVarFp.putControlV1(requestParameters.id, requestParameters.compensatingcontrolupdate,
|
|
492
|
+
return localVarFp.putControlV1(requestParameters.id, requestParameters.compensatingcontrolupdate, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
533
493
|
},
|
|
534
494
|
};
|
|
535
495
|
};
|
|
@@ -554,7 +514,7 @@ var SODControlsApi = /** @class */ (function (_super) {
|
|
|
554
514
|
*/
|
|
555
515
|
SODControlsApi.prototype.createControlV1 = function (requestParameters, axiosOptions) {
|
|
556
516
|
var _this = this;
|
|
557
|
-
return SODControlsApiFp(this.configuration).createControlV1(requestParameters.compensatingcontrolcreate,
|
|
517
|
+
return SODControlsApiFp(this.configuration).createControlV1(requestParameters.compensatingcontrolcreate, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
558
518
|
};
|
|
559
519
|
/**
|
|
560
520
|
* Deletes the specified compensating control from the data store.
|
|
@@ -566,7 +526,7 @@ var SODControlsApi = /** @class */ (function (_super) {
|
|
|
566
526
|
*/
|
|
567
527
|
SODControlsApi.prototype.deleteControlV1 = function (requestParameters, axiosOptions) {
|
|
568
528
|
var _this = this;
|
|
569
|
-
return SODControlsApiFp(this.configuration).deleteControlV1(requestParameters.id,
|
|
529
|
+
return SODControlsApiFp(this.configuration).deleteControlV1(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
570
530
|
};
|
|
571
531
|
/**
|
|
572
532
|
* Returns a single compensating control by ID.
|
|
@@ -578,7 +538,7 @@ var SODControlsApi = /** @class */ (function (_super) {
|
|
|
578
538
|
*/
|
|
579
539
|
SODControlsApi.prototype.getControlV1 = function (requestParameters, axiosOptions) {
|
|
580
540
|
var _this = this;
|
|
581
|
-
return SODControlsApiFp(this.configuration).getControlV1(requestParameters.id,
|
|
541
|
+
return SODControlsApiFp(this.configuration).getControlV1(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
582
542
|
};
|
|
583
543
|
/**
|
|
584
544
|
* Returns a list of compensating controls associated with separation-of-duties policies.
|
|
@@ -591,7 +551,7 @@ var SODControlsApi = /** @class */ (function (_super) {
|
|
|
591
551
|
SODControlsApi.prototype.listControlsV1 = function (requestParameters, axiosOptions) {
|
|
592
552
|
var _this = this;
|
|
593
553
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
594
|
-
return SODControlsApiFp(this.configuration).listControlsV1(requestParameters.
|
|
554
|
+
return SODControlsApiFp(this.configuration).listControlsV1(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sort, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
595
555
|
};
|
|
596
556
|
/**
|
|
597
557
|
* Updates the specified compensating control.
|
|
@@ -603,7 +563,7 @@ var SODControlsApi = /** @class */ (function (_super) {
|
|
|
603
563
|
*/
|
|
604
564
|
SODControlsApi.prototype.putControlV1 = function (requestParameters, axiosOptions) {
|
|
605
565
|
var _this = this;
|
|
606
|
-
return SODControlsApiFp(this.configuration).putControlV1(requestParameters.id, requestParameters.compensatingcontrolupdate,
|
|
566
|
+
return SODControlsApiFp(this.configuration).putControlV1(requestParameters.id, requestParameters.compensatingcontrolupdate, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
607
567
|
};
|
|
608
568
|
return SODControlsApi;
|
|
609
569
|
}(BaseAPI));
|