@sailpoint/api-client 2.2.38 → 2.2.40
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/certifications/api.d.ts +3 -3
- package/dist/certifications/api.js +2 -2
- package/dist/certifications/api.js.map +1 -1
- package/dist/custom_forms/api.d.ts +20 -8
- package/dist/custom_forms/api.js +18 -9
- package/dist/custom_forms/api.js.map +1 -1
- package/dist/esm/access_requests/api.js +9 -9
- package/dist/esm/certifications/api.js +2 -2
- package/dist/esm/custom_forms/api.js +18 -9
- package/dist/esm/gov_certification/api.js +5565 -0
- package/dist/esm/gov_certification/base.js +83 -0
- package/dist/esm/gov_certification/common.js +287 -0
- package/dist/esm/gov_certification/configuration.js +42 -0
- package/dist/esm/gov_certification/index.js +15 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/jit_activation_convert/api.js +226 -0
- package/dist/esm/jit_activation_convert/base.js +83 -0
- package/dist/esm/jit_activation_convert/common.js +287 -0
- package/dist/esm/jit_activation_convert/configuration.js +42 -0
- package/dist/esm/jit_activation_convert/index.js +15 -0
- package/dist/esm/nerm/common.js +2 -2
- package/dist/esm/nermv2025/common.js +2 -2
- package/dist/esm/privilege_criteria/api.js +2 -2
- package/dist/esm/sod_controls/api.js +25 -65
- package/dist/esm/sod_violations/api.js +25 -65
- package/dist/esm/sources/api.js +88 -0
- package/dist/gov_certification/api.d.ts +7599 -0
- package/dist/gov_certification/api.js +5576 -0
- package/dist/gov_certification/api.js.map +1 -0
- package/dist/gov_certification/base.d.ts +66 -0
- package/dist/gov_certification/base.js +90 -0
- package/dist/gov_certification/base.js.map +1 -0
- package/dist/gov_certification/common.d.ts +65 -0
- package/dist/gov_certification/common.js +300 -0
- package/dist/gov_certification/common.js.map +1 -0
- package/dist/gov_certification/configuration.d.ts +91 -0
- package/dist/gov_certification/configuration.js +46 -0
- package/dist/gov_certification/configuration.js.map +1 -0
- package/dist/gov_certification/index.d.ts +13 -0
- package/dist/gov_certification/index.js +32 -0
- package/dist/gov_certification/index.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +240 -234
- package/dist/index.js.map +1 -1
- package/dist/jit_activation_convert/api.d.ts +241 -0
- package/dist/jit_activation_convert/api.js +236 -0
- package/dist/jit_activation_convert/api.js.map +1 -0
- package/dist/jit_activation_convert/base.d.ts +66 -0
- package/dist/jit_activation_convert/base.js +90 -0
- package/dist/jit_activation_convert/base.js.map +1 -0
- package/dist/jit_activation_convert/common.d.ts +65 -0
- package/dist/jit_activation_convert/common.js +300 -0
- package/dist/jit_activation_convert/common.js.map +1 -0
- package/dist/jit_activation_convert/configuration.d.ts +91 -0
- package/dist/jit_activation_convert/configuration.js +46 -0
- package/dist/jit_activation_convert/configuration.js.map +1 -0
- package/dist/jit_activation_convert/index.d.ts +13 -0
- package/dist/jit_activation_convert/index.js +32 -0
- package/dist/jit_activation_convert/index.js.map +1 -0
- 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/privilege_criteria/api.d.ts +3 -3
- package/dist/privilege_criteria/api.js +2 -2
- package/dist/privilege_criteria/api.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/dist/sources/api.d.ts +87 -0
- package/dist/sources/api.js +88 -0
- package/dist/sources/api.js.map +1 -1
- package/package.json +1 -1
package/dist/sod_controls/api.js
CHANGED
|
@@ -125,20 +125,16 @@ var SODControlsApiAxiosParamCreator = function (configuration) {
|
|
|
125
125
|
* Creates a compensating control associated with separation-of-duties policies.
|
|
126
126
|
* @summary Create Compensating Control
|
|
127
127
|
* @param {Compensatingcontrolcreate} compensatingcontrolcreate Data needed to create a Compensating Control
|
|
128
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
129
128
|
* @param {*} [axiosOptions] Override http request option.
|
|
130
129
|
* @throws {RequiredError}
|
|
131
130
|
*/
|
|
132
|
-
createControlV1: function (compensatingcontrolcreate,
|
|
131
|
+
createControlV1: function (compensatingcontrolcreate, axiosOptions) {
|
|
133
132
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
134
133
|
return __awaiter(_this, void 0, void 0, function () {
|
|
135
134
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
136
135
|
return __generator(this, function (_a) {
|
|
137
136
|
// verify required parameter 'compensatingcontrolcreate' is not null or undefined
|
|
138
137
|
(0, common_1.assertParamExists)('createControlV1', 'compensatingcontrolcreate', compensatingcontrolcreate);
|
|
139
|
-
if (xSailPointExperimental === undefined) {
|
|
140
|
-
xSailPointExperimental = 'true';
|
|
141
|
-
}
|
|
142
138
|
localVarPath = "/controls/v1";
|
|
143
139
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
144
140
|
if (configuration) {
|
|
@@ -148,9 +144,6 @@ var SODControlsApiAxiosParamCreator = function (configuration) {
|
|
|
148
144
|
localVarHeaderParameter = {};
|
|
149
145
|
localVarQueryParameter = {};
|
|
150
146
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
151
|
-
if (xSailPointExperimental != null) {
|
|
152
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
153
|
-
}
|
|
154
147
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
155
148
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
156
149
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -166,20 +159,16 @@ var SODControlsApiAxiosParamCreator = function (configuration) {
|
|
|
166
159
|
* Deletes the specified compensating control from the data store.
|
|
167
160
|
* @summary Delete compensating control by ID
|
|
168
161
|
* @param {string} id the ID (UUID) of the compensating control to delete.
|
|
169
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
170
162
|
* @param {*} [axiosOptions] Override http request option.
|
|
171
163
|
* @throws {RequiredError}
|
|
172
164
|
*/
|
|
173
|
-
deleteControlV1: function (id,
|
|
165
|
+
deleteControlV1: function (id, axiosOptions) {
|
|
174
166
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
175
167
|
return __awaiter(_this, void 0, void 0, function () {
|
|
176
168
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
177
169
|
return __generator(this, function (_a) {
|
|
178
170
|
// verify required parameter 'id' is not null or undefined
|
|
179
171
|
(0, common_1.assertParamExists)('deleteControlV1', 'id', id);
|
|
180
|
-
if (xSailPointExperimental === undefined) {
|
|
181
|
-
xSailPointExperimental = 'true';
|
|
182
|
-
}
|
|
183
172
|
localVarPath = "/controls/v1/{id}"
|
|
184
173
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
185
174
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -189,9 +178,6 @@ var SODControlsApiAxiosParamCreator = function (configuration) {
|
|
|
189
178
|
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), axiosOptions);
|
|
190
179
|
localVarHeaderParameter = {};
|
|
191
180
|
localVarQueryParameter = {};
|
|
192
|
-
if (xSailPointExperimental != null) {
|
|
193
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
194
|
-
}
|
|
195
181
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
196
182
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
197
183
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -206,20 +192,16 @@ var SODControlsApiAxiosParamCreator = function (configuration) {
|
|
|
206
192
|
* Returns a single compensating control by ID.
|
|
207
193
|
* @summary Get compensating control by ID
|
|
208
194
|
* @param {string} id The ID of the compensating control to fetch
|
|
209
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
210
195
|
* @param {*} [axiosOptions] Override http request option.
|
|
211
196
|
* @throws {RequiredError}
|
|
212
197
|
*/
|
|
213
|
-
getControlV1: function (id,
|
|
198
|
+
getControlV1: function (id, axiosOptions) {
|
|
214
199
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
215
200
|
return __awaiter(_this, void 0, void 0, function () {
|
|
216
201
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
217
202
|
return __generator(this, function (_a) {
|
|
218
203
|
// verify required parameter 'id' is not null or undefined
|
|
219
204
|
(0, common_1.assertParamExists)('getControlV1', 'id', id);
|
|
220
|
-
if (xSailPointExperimental === undefined) {
|
|
221
|
-
xSailPointExperimental = 'true';
|
|
222
|
-
}
|
|
223
205
|
localVarPath = "/controls/v1/{id}"
|
|
224
206
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
225
207
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -229,9 +211,6 @@ var SODControlsApiAxiosParamCreator = function (configuration) {
|
|
|
229
211
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
230
212
|
localVarHeaderParameter = {};
|
|
231
213
|
localVarQueryParameter = {};
|
|
232
|
-
if (xSailPointExperimental != null) {
|
|
233
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
234
|
-
}
|
|
235
214
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
236
215
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
237
216
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -245,7 +224,6 @@ var SODControlsApiAxiosParamCreator = function (configuration) {
|
|
|
245
224
|
/**
|
|
246
225
|
* Returns a list of compensating controls associated with separation-of-duties policies.
|
|
247
226
|
* @summary List Compensating Controls
|
|
248
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
249
227
|
* @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.
|
|
250
228
|
* @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.
|
|
251
229
|
* @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.
|
|
@@ -254,14 +232,11 @@ var SODControlsApiAxiosParamCreator = function (configuration) {
|
|
|
254
232
|
* @param {*} [axiosOptions] Override http request option.
|
|
255
233
|
* @throws {RequiredError}
|
|
256
234
|
*/
|
|
257
|
-
listControlsV1: function (
|
|
235
|
+
listControlsV1: function (limit, offset, count, filters, sort, axiosOptions) {
|
|
258
236
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
259
237
|
return __awaiter(_this, void 0, void 0, function () {
|
|
260
238
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
261
239
|
return __generator(this, function (_a) {
|
|
262
|
-
if (xSailPointExperimental === undefined) {
|
|
263
|
-
xSailPointExperimental = 'true';
|
|
264
|
-
}
|
|
265
240
|
localVarPath = "/controls/v1";
|
|
266
241
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
267
242
|
if (configuration) {
|
|
@@ -285,9 +260,6 @@ var SODControlsApiAxiosParamCreator = function (configuration) {
|
|
|
285
260
|
if (sort !== undefined) {
|
|
286
261
|
localVarQueryParameter['sort'] = sort;
|
|
287
262
|
}
|
|
288
|
-
if (xSailPointExperimental != null) {
|
|
289
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
290
|
-
}
|
|
291
263
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
292
264
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
293
265
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -303,11 +275,10 @@ var SODControlsApiAxiosParamCreator = function (configuration) {
|
|
|
303
275
|
* @summary Put Compensating Control
|
|
304
276
|
* @param {string} id The unique identifier of the Compensating Control to be updated.
|
|
305
277
|
* @param {Compensatingcontrolupdate} compensatingcontrolupdate Data needed to put a Compensating Control
|
|
306
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
307
278
|
* @param {*} [axiosOptions] Override http request option.
|
|
308
279
|
* @throws {RequiredError}
|
|
309
280
|
*/
|
|
310
|
-
putControlV1: function (id, compensatingcontrolupdate,
|
|
281
|
+
putControlV1: function (id, compensatingcontrolupdate, axiosOptions) {
|
|
311
282
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
312
283
|
return __awaiter(_this, void 0, void 0, function () {
|
|
313
284
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -316,9 +287,6 @@ var SODControlsApiAxiosParamCreator = function (configuration) {
|
|
|
316
287
|
(0, common_1.assertParamExists)('putControlV1', 'id', id);
|
|
317
288
|
// verify required parameter 'compensatingcontrolupdate' is not null or undefined
|
|
318
289
|
(0, common_1.assertParamExists)('putControlV1', 'compensatingcontrolupdate', compensatingcontrolupdate);
|
|
319
|
-
if (xSailPointExperimental === undefined) {
|
|
320
|
-
xSailPointExperimental = 'true';
|
|
321
|
-
}
|
|
322
290
|
localVarPath = "/controls/v1/{id}"
|
|
323
291
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
324
292
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -329,9 +297,6 @@ var SODControlsApiAxiosParamCreator = function (configuration) {
|
|
|
329
297
|
localVarHeaderParameter = {};
|
|
330
298
|
localVarQueryParameter = {};
|
|
331
299
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
332
|
-
if (xSailPointExperimental != null) {
|
|
333
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
334
|
-
}
|
|
335
300
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
336
301
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
337
302
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -357,17 +322,16 @@ var SODControlsApiFp = function (configuration) {
|
|
|
357
322
|
* Creates a compensating control associated with separation-of-duties policies.
|
|
358
323
|
* @summary Create Compensating Control
|
|
359
324
|
* @param {Compensatingcontrolcreate} compensatingcontrolcreate Data needed to create a Compensating Control
|
|
360
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
361
325
|
* @param {*} [axiosOptions] Override http request option.
|
|
362
326
|
* @throws {RequiredError}
|
|
363
327
|
*/
|
|
364
|
-
createControlV1: function (compensatingcontrolcreate,
|
|
328
|
+
createControlV1: function (compensatingcontrolcreate, axiosOptions) {
|
|
365
329
|
var _a, _b, _c;
|
|
366
330
|
return __awaiter(this, void 0, void 0, function () {
|
|
367
331
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
368
332
|
return __generator(this, function (_d) {
|
|
369
333
|
switch (_d.label) {
|
|
370
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createControlV1(compensatingcontrolcreate,
|
|
334
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createControlV1(compensatingcontrolcreate, axiosOptions)];
|
|
371
335
|
case 1:
|
|
372
336
|
localVarAxiosArgs = _d.sent();
|
|
373
337
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -381,17 +345,16 @@ var SODControlsApiFp = function (configuration) {
|
|
|
381
345
|
* Deletes the specified compensating control from the data store.
|
|
382
346
|
* @summary Delete compensating control by ID
|
|
383
347
|
* @param {string} id the ID (UUID) of the compensating control to delete.
|
|
384
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
385
348
|
* @param {*} [axiosOptions] Override http request option.
|
|
386
349
|
* @throws {RequiredError}
|
|
387
350
|
*/
|
|
388
|
-
deleteControlV1: function (id,
|
|
351
|
+
deleteControlV1: function (id, axiosOptions) {
|
|
389
352
|
var _a, _b, _c;
|
|
390
353
|
return __awaiter(this, void 0, void 0, function () {
|
|
391
354
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
392
355
|
return __generator(this, function (_d) {
|
|
393
356
|
switch (_d.label) {
|
|
394
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteControlV1(id,
|
|
357
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteControlV1(id, axiosOptions)];
|
|
395
358
|
case 1:
|
|
396
359
|
localVarAxiosArgs = _d.sent();
|
|
397
360
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -405,17 +368,16 @@ var SODControlsApiFp = function (configuration) {
|
|
|
405
368
|
* Returns a single compensating control by ID.
|
|
406
369
|
* @summary Get compensating control by ID
|
|
407
370
|
* @param {string} id The ID of the compensating control to fetch
|
|
408
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
409
371
|
* @param {*} [axiosOptions] Override http request option.
|
|
410
372
|
* @throws {RequiredError}
|
|
411
373
|
*/
|
|
412
|
-
getControlV1: function (id,
|
|
374
|
+
getControlV1: function (id, axiosOptions) {
|
|
413
375
|
var _a, _b, _c;
|
|
414
376
|
return __awaiter(this, void 0, void 0, function () {
|
|
415
377
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
416
378
|
return __generator(this, function (_d) {
|
|
417
379
|
switch (_d.label) {
|
|
418
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getControlV1(id,
|
|
380
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getControlV1(id, axiosOptions)];
|
|
419
381
|
case 1:
|
|
420
382
|
localVarAxiosArgs = _d.sent();
|
|
421
383
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -428,7 +390,6 @@ var SODControlsApiFp = function (configuration) {
|
|
|
428
390
|
/**
|
|
429
391
|
* Returns a list of compensating controls associated with separation-of-duties policies.
|
|
430
392
|
* @summary List Compensating Controls
|
|
431
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
432
393
|
* @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.
|
|
433
394
|
* @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.
|
|
434
395
|
* @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.
|
|
@@ -437,13 +398,13 @@ var SODControlsApiFp = function (configuration) {
|
|
|
437
398
|
* @param {*} [axiosOptions] Override http request option.
|
|
438
399
|
* @throws {RequiredError}
|
|
439
400
|
*/
|
|
440
|
-
listControlsV1: function (
|
|
401
|
+
listControlsV1: function (limit, offset, count, filters, sort, axiosOptions) {
|
|
441
402
|
var _a, _b, _c;
|
|
442
403
|
return __awaiter(this, void 0, void 0, function () {
|
|
443
404
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
444
405
|
return __generator(this, function (_d) {
|
|
445
406
|
switch (_d.label) {
|
|
446
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listControlsV1(
|
|
407
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listControlsV1(limit, offset, count, filters, sort, axiosOptions)];
|
|
447
408
|
case 1:
|
|
448
409
|
localVarAxiosArgs = _d.sent();
|
|
449
410
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -458,17 +419,16 @@ var SODControlsApiFp = function (configuration) {
|
|
|
458
419
|
* @summary Put Compensating Control
|
|
459
420
|
* @param {string} id The unique identifier of the Compensating Control to be updated.
|
|
460
421
|
* @param {Compensatingcontrolupdate} compensatingcontrolupdate Data needed to put a Compensating Control
|
|
461
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
462
422
|
* @param {*} [axiosOptions] Override http request option.
|
|
463
423
|
* @throws {RequiredError}
|
|
464
424
|
*/
|
|
465
|
-
putControlV1: function (id, compensatingcontrolupdate,
|
|
425
|
+
putControlV1: function (id, compensatingcontrolupdate, axiosOptions) {
|
|
466
426
|
var _a, _b, _c;
|
|
467
427
|
return __awaiter(this, void 0, void 0, function () {
|
|
468
428
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
469
429
|
return __generator(this, function (_d) {
|
|
470
430
|
switch (_d.label) {
|
|
471
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putControlV1(id, compensatingcontrolupdate,
|
|
431
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.putControlV1(id, compensatingcontrolupdate, axiosOptions)];
|
|
472
432
|
case 1:
|
|
473
433
|
localVarAxiosArgs = _d.sent();
|
|
474
434
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -496,7 +456,7 @@ var SODControlsApiFactory = function (configuration, basePath, axios) {
|
|
|
496
456
|
* @throws {RequiredError}
|
|
497
457
|
*/
|
|
498
458
|
createControlV1: function (requestParameters, axiosOptions) {
|
|
499
|
-
return localVarFp.createControlV1(requestParameters.compensatingcontrolcreate,
|
|
459
|
+
return localVarFp.createControlV1(requestParameters.compensatingcontrolcreate, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
500
460
|
},
|
|
501
461
|
/**
|
|
502
462
|
* Deletes the specified compensating control from the data store.
|
|
@@ -506,7 +466,7 @@ var SODControlsApiFactory = function (configuration, basePath, axios) {
|
|
|
506
466
|
* @throws {RequiredError}
|
|
507
467
|
*/
|
|
508
468
|
deleteControlV1: function (requestParameters, axiosOptions) {
|
|
509
|
-
return localVarFp.deleteControlV1(requestParameters.id,
|
|
469
|
+
return localVarFp.deleteControlV1(requestParameters.id, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
510
470
|
},
|
|
511
471
|
/**
|
|
512
472
|
* Returns a single compensating control by ID.
|
|
@@ -516,7 +476,7 @@ var SODControlsApiFactory = function (configuration, basePath, axios) {
|
|
|
516
476
|
* @throws {RequiredError}
|
|
517
477
|
*/
|
|
518
478
|
getControlV1: function (requestParameters, axiosOptions) {
|
|
519
|
-
return localVarFp.getControlV1(requestParameters.id,
|
|
479
|
+
return localVarFp.getControlV1(requestParameters.id, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
520
480
|
},
|
|
521
481
|
/**
|
|
522
482
|
* Returns a list of compensating controls associated with separation-of-duties policies.
|
|
@@ -527,7 +487,7 @@ var SODControlsApiFactory = function (configuration, basePath, axios) {
|
|
|
527
487
|
*/
|
|
528
488
|
listControlsV1: function (requestParameters, axiosOptions) {
|
|
529
489
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
530
|
-
return localVarFp.listControlsV1(requestParameters.
|
|
490
|
+
return localVarFp.listControlsV1(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sort, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
531
491
|
},
|
|
532
492
|
/**
|
|
533
493
|
* Updates the specified compensating control.
|
|
@@ -537,7 +497,7 @@ var SODControlsApiFactory = function (configuration, basePath, axios) {
|
|
|
537
497
|
* @throws {RequiredError}
|
|
538
498
|
*/
|
|
539
499
|
putControlV1: function (requestParameters, axiosOptions) {
|
|
540
|
-
return localVarFp.putControlV1(requestParameters.id, requestParameters.compensatingcontrolupdate,
|
|
500
|
+
return localVarFp.putControlV1(requestParameters.id, requestParameters.compensatingcontrolupdate, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
541
501
|
},
|
|
542
502
|
};
|
|
543
503
|
};
|
|
@@ -563,7 +523,7 @@ var SODControlsApi = /** @class */ (function (_super) {
|
|
|
563
523
|
*/
|
|
564
524
|
SODControlsApi.prototype.createControlV1 = function (requestParameters, axiosOptions) {
|
|
565
525
|
var _this = this;
|
|
566
|
-
return (0, exports.SODControlsApiFp)(this.configuration).createControlV1(requestParameters.compensatingcontrolcreate,
|
|
526
|
+
return (0, exports.SODControlsApiFp)(this.configuration).createControlV1(requestParameters.compensatingcontrolcreate, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
567
527
|
};
|
|
568
528
|
/**
|
|
569
529
|
* Deletes the specified compensating control from the data store.
|
|
@@ -575,7 +535,7 @@ var SODControlsApi = /** @class */ (function (_super) {
|
|
|
575
535
|
*/
|
|
576
536
|
SODControlsApi.prototype.deleteControlV1 = function (requestParameters, axiosOptions) {
|
|
577
537
|
var _this = this;
|
|
578
|
-
return (0, exports.SODControlsApiFp)(this.configuration).deleteControlV1(requestParameters.id,
|
|
538
|
+
return (0, exports.SODControlsApiFp)(this.configuration).deleteControlV1(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
579
539
|
};
|
|
580
540
|
/**
|
|
581
541
|
* Returns a single compensating control by ID.
|
|
@@ -587,7 +547,7 @@ var SODControlsApi = /** @class */ (function (_super) {
|
|
|
587
547
|
*/
|
|
588
548
|
SODControlsApi.prototype.getControlV1 = function (requestParameters, axiosOptions) {
|
|
589
549
|
var _this = this;
|
|
590
|
-
return (0, exports.SODControlsApiFp)(this.configuration).getControlV1(requestParameters.id,
|
|
550
|
+
return (0, exports.SODControlsApiFp)(this.configuration).getControlV1(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
591
551
|
};
|
|
592
552
|
/**
|
|
593
553
|
* Returns a list of compensating controls associated with separation-of-duties policies.
|
|
@@ -600,7 +560,7 @@ var SODControlsApi = /** @class */ (function (_super) {
|
|
|
600
560
|
SODControlsApi.prototype.listControlsV1 = function (requestParameters, axiosOptions) {
|
|
601
561
|
var _this = this;
|
|
602
562
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
603
|
-
return (0, exports.SODControlsApiFp)(this.configuration).listControlsV1(requestParameters.
|
|
563
|
+
return (0, exports.SODControlsApiFp)(this.configuration).listControlsV1(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.filters, requestParameters.sort, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
604
564
|
};
|
|
605
565
|
/**
|
|
606
566
|
* Updates the specified compensating control.
|
|
@@ -612,7 +572,7 @@ var SODControlsApi = /** @class */ (function (_super) {
|
|
|
612
572
|
*/
|
|
613
573
|
SODControlsApi.prototype.putControlV1 = function (requestParameters, axiosOptions) {
|
|
614
574
|
var _this = this;
|
|
615
|
-
return (0, exports.SODControlsApiFp)(this.configuration).putControlV1(requestParameters.id, requestParameters.compensatingcontrolupdate,
|
|
575
|
+
return (0, exports.SODControlsApiFp)(this.configuration).putControlV1(requestParameters.id, requestParameters.compensatingcontrolupdate, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
616
576
|
};
|
|
617
577
|
return SODControlsApi;
|
|
618
578
|
}(base_1.BaseAPI));
|