@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
|
@@ -372,33 +372,29 @@ export declare const SODControlsApiAxiosParamCreator: (configuration?: Configura
|
|
|
372
372
|
* Creates a compensating control associated with separation-of-duties policies.
|
|
373
373
|
* @summary Create Compensating Control
|
|
374
374
|
* @param {Compensatingcontrolcreate} compensatingcontrolcreate Data needed to create a Compensating Control
|
|
375
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
376
375
|
* @param {*} [axiosOptions] Override http request option.
|
|
377
376
|
* @throws {RequiredError}
|
|
378
377
|
*/
|
|
379
|
-
createControlV1: (compensatingcontrolcreate: Compensatingcontrolcreate,
|
|
378
|
+
createControlV1: (compensatingcontrolcreate: Compensatingcontrolcreate, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
380
379
|
/**
|
|
381
380
|
* Deletes the specified compensating control from the data store.
|
|
382
381
|
* @summary Delete compensating control by ID
|
|
383
382
|
* @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
383
|
* @param {*} [axiosOptions] Override http request option.
|
|
386
384
|
* @throws {RequiredError}
|
|
387
385
|
*/
|
|
388
|
-
deleteControlV1: (id: string,
|
|
386
|
+
deleteControlV1: (id: string, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
389
387
|
/**
|
|
390
388
|
* Returns a single compensating control by ID.
|
|
391
389
|
* @summary Get compensating control by ID
|
|
392
390
|
* @param {string} id The ID of the compensating control to fetch
|
|
393
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
394
391
|
* @param {*} [axiosOptions] Override http request option.
|
|
395
392
|
* @throws {RequiredError}
|
|
396
393
|
*/
|
|
397
|
-
getControlV1: (id: string,
|
|
394
|
+
getControlV1: (id: string, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
398
395
|
/**
|
|
399
396
|
* Returns a list of compensating controls associated with separation-of-duties policies.
|
|
400
397
|
* @summary List Compensating Controls
|
|
401
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
402
398
|
* @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.
|
|
403
399
|
* @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.
|
|
404
400
|
* @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.
|
|
@@ -407,17 +403,16 @@ export declare const SODControlsApiAxiosParamCreator: (configuration?: Configura
|
|
|
407
403
|
* @param {*} [axiosOptions] Override http request option.
|
|
408
404
|
* @throws {RequiredError}
|
|
409
405
|
*/
|
|
410
|
-
listControlsV1: (
|
|
406
|
+
listControlsV1: (limit?: number, offset?: number, count?: boolean, filters?: string, sort?: string, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
411
407
|
/**
|
|
412
408
|
* Updates the specified compensating control.
|
|
413
409
|
* @summary Put Compensating Control
|
|
414
410
|
* @param {string} id The unique identifier of the Compensating Control to be updated.
|
|
415
411
|
* @param {Compensatingcontrolupdate} compensatingcontrolupdate Data needed to put a Compensating Control
|
|
416
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
417
412
|
* @param {*} [axiosOptions] Override http request option.
|
|
418
413
|
* @throws {RequiredError}
|
|
419
414
|
*/
|
|
420
|
-
putControlV1: (id: string, compensatingcontrolupdate: Compensatingcontrolupdate,
|
|
415
|
+
putControlV1: (id: string, compensatingcontrolupdate: Compensatingcontrolupdate, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
421
416
|
};
|
|
422
417
|
/**
|
|
423
418
|
* SODControlsApi - functional programming interface
|
|
@@ -428,33 +423,29 @@ export declare const SODControlsApiFp: (configuration?: Configuration) => {
|
|
|
428
423
|
* Creates a compensating control associated with separation-of-duties policies.
|
|
429
424
|
* @summary Create Compensating Control
|
|
430
425
|
* @param {Compensatingcontrolcreate} compensatingcontrolcreate Data needed to create a Compensating Control
|
|
431
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
432
426
|
* @param {*} [axiosOptions] Override http request option.
|
|
433
427
|
* @throws {RequiredError}
|
|
434
428
|
*/
|
|
435
|
-
createControlV1(compensatingcontrolcreate: Compensatingcontrolcreate,
|
|
429
|
+
createControlV1(compensatingcontrolcreate: Compensatingcontrolcreate, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Compensatingcontrolresponse>>;
|
|
436
430
|
/**
|
|
437
431
|
* Deletes the specified compensating control from the data store.
|
|
438
432
|
* @summary Delete compensating control by ID
|
|
439
433
|
* @param {string} id the ID (UUID) of the compensating control to delete.
|
|
440
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
441
434
|
* @param {*} [axiosOptions] Override http request option.
|
|
442
435
|
* @throws {RequiredError}
|
|
443
436
|
*/
|
|
444
|
-
deleteControlV1(id: string,
|
|
437
|
+
deleteControlV1(id: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
445
438
|
/**
|
|
446
439
|
* Returns a single compensating control by ID.
|
|
447
440
|
* @summary Get compensating control by ID
|
|
448
441
|
* @param {string} id The ID of the compensating control to fetch
|
|
449
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
450
442
|
* @param {*} [axiosOptions] Override http request option.
|
|
451
443
|
* @throws {RequiredError}
|
|
452
444
|
*/
|
|
453
|
-
getControlV1(id: string,
|
|
445
|
+
getControlV1(id: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Compensatingcontrolresponse>>;
|
|
454
446
|
/**
|
|
455
447
|
* Returns a list of compensating controls associated with separation-of-duties policies.
|
|
456
448
|
* @summary List Compensating Controls
|
|
457
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
458
449
|
* @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.
|
|
459
450
|
* @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.
|
|
460
451
|
* @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.
|
|
@@ -463,17 +454,16 @@ export declare const SODControlsApiFp: (configuration?: Configuration) => {
|
|
|
463
454
|
* @param {*} [axiosOptions] Override http request option.
|
|
464
455
|
* @throws {RequiredError}
|
|
465
456
|
*/
|
|
466
|
-
listControlsV1(
|
|
457
|
+
listControlsV1(limit?: number, offset?: number, count?: boolean, filters?: string, sort?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Compensatingcontrolresponse>>>;
|
|
467
458
|
/**
|
|
468
459
|
* Updates the specified compensating control.
|
|
469
460
|
* @summary Put Compensating Control
|
|
470
461
|
* @param {string} id The unique identifier of the Compensating Control to be updated.
|
|
471
462
|
* @param {Compensatingcontrolupdate} compensatingcontrolupdate Data needed to put a Compensating Control
|
|
472
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
473
463
|
* @param {*} [axiosOptions] Override http request option.
|
|
474
464
|
* @throws {RequiredError}
|
|
475
465
|
*/
|
|
476
|
-
putControlV1(id: string, compensatingcontrolupdate: Compensatingcontrolupdate,
|
|
466
|
+
putControlV1(id: string, compensatingcontrolupdate: Compensatingcontrolupdate, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Compensatingcontrolresponse>>;
|
|
477
467
|
};
|
|
478
468
|
/**
|
|
479
469
|
* SODControlsApi - factory interface
|
|
@@ -533,12 +523,6 @@ export interface SODControlsApiCreateControlV1Request {
|
|
|
533
523
|
* @memberof SODControlsApiCreateControlV1
|
|
534
524
|
*/
|
|
535
525
|
readonly compensatingcontrolcreate: Compensatingcontrolcreate;
|
|
536
|
-
/**
|
|
537
|
-
* Use this header to enable this experimental API.
|
|
538
|
-
* @type {string}
|
|
539
|
-
* @memberof SODControlsApiCreateControlV1
|
|
540
|
-
*/
|
|
541
|
-
readonly xSailPointExperimental?: string;
|
|
542
526
|
}
|
|
543
527
|
/**
|
|
544
528
|
* Request parameters for deleteControlV1 operation in SODControlsApi.
|
|
@@ -552,12 +536,6 @@ export interface SODControlsApiDeleteControlV1Request {
|
|
|
552
536
|
* @memberof SODControlsApiDeleteControlV1
|
|
553
537
|
*/
|
|
554
538
|
readonly id: string;
|
|
555
|
-
/**
|
|
556
|
-
* Use this header to enable this experimental API.
|
|
557
|
-
* @type {string}
|
|
558
|
-
* @memberof SODControlsApiDeleteControlV1
|
|
559
|
-
*/
|
|
560
|
-
readonly xSailPointExperimental?: string;
|
|
561
539
|
}
|
|
562
540
|
/**
|
|
563
541
|
* Request parameters for getControlV1 operation in SODControlsApi.
|
|
@@ -571,12 +549,6 @@ export interface SODControlsApiGetControlV1Request {
|
|
|
571
549
|
* @memberof SODControlsApiGetControlV1
|
|
572
550
|
*/
|
|
573
551
|
readonly id: string;
|
|
574
|
-
/**
|
|
575
|
-
* Use this header to enable this experimental API.
|
|
576
|
-
* @type {string}
|
|
577
|
-
* @memberof SODControlsApiGetControlV1
|
|
578
|
-
*/
|
|
579
|
-
readonly xSailPointExperimental?: string;
|
|
580
552
|
}
|
|
581
553
|
/**
|
|
582
554
|
* Request parameters for listControlsV1 operation in SODControlsApi.
|
|
@@ -584,12 +556,6 @@ export interface SODControlsApiGetControlV1Request {
|
|
|
584
556
|
* @interface SODControlsApiListControlsV1Request
|
|
585
557
|
*/
|
|
586
558
|
export interface SODControlsApiListControlsV1Request {
|
|
587
|
-
/**
|
|
588
|
-
* Use this header to enable this experimental API.
|
|
589
|
-
* @type {string}
|
|
590
|
-
* @memberof SODControlsApiListControlsV1
|
|
591
|
-
*/
|
|
592
|
-
readonly xSailPointExperimental?: string;
|
|
593
559
|
/**
|
|
594
560
|
* Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.
|
|
595
561
|
* @type {number}
|
|
@@ -639,12 +605,6 @@ export interface SODControlsApiPutControlV1Request {
|
|
|
639
605
|
* @memberof SODControlsApiPutControlV1
|
|
640
606
|
*/
|
|
641
607
|
readonly compensatingcontrolupdate: Compensatingcontrolupdate;
|
|
642
|
-
/**
|
|
643
|
-
* Use this header to enable this experimental API.
|
|
644
|
-
* @type {string}
|
|
645
|
-
* @memberof SODControlsApiPutControlV1
|
|
646
|
-
*/
|
|
647
|
-
readonly xSailPointExperimental?: string;
|
|
648
608
|
}
|
|
649
609
|
/**
|
|
650
610
|
* SODControlsApi - object-oriented interface
|
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));
|