@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
|
@@ -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.40';
|
|
250
|
+
userAgent = "SailPoint-SDK-TypeScript/2.2.40";
|
|
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
|
}
|
|
@@ -257,7 +257,7 @@ export var PrivilegeCriteriaApiAxiosParamCreator = function (configuration) {
|
|
|
257
257
|
/**
|
|
258
258
|
* Use this API to list all privilege criteria matching a filter
|
|
259
259
|
* @summary List privilege criteria
|
|
260
|
-
* @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: **type**: *eq* **sourceId**: *eq* **privilegeLevel**: *eq*
|
|
260
|
+
* @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: **type**: *eq* **sourceId**: *eq* **privilegeLevel**: *eq* Supported composite operators are *and* All filter values are case-sensitive for this API. For example, the following is valid: `?filters=type eq \"CUSTOM\" and sourceId eq \"2c91809175e6c63f0175fb5570220569\"`
|
|
261
261
|
* @param {*} [axiosOptions] Override http request option.
|
|
262
262
|
* @throws {RequiredError}
|
|
263
263
|
*/
|
|
@@ -408,7 +408,7 @@ export var PrivilegeCriteriaApiFp = function (configuration) {
|
|
|
408
408
|
/**
|
|
409
409
|
* Use this API to list all privilege criteria matching a filter
|
|
410
410
|
* @summary List privilege criteria
|
|
411
|
-
* @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: **type**: *eq* **sourceId**: *eq* **privilegeLevel**: *eq*
|
|
411
|
+
* @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: **type**: *eq* **sourceId**: *eq* **privilegeLevel**: *eq* Supported composite operators are *and* All filter values are case-sensitive for this API. For example, the following is valid: `?filters=type eq \"CUSTOM\" and sourceId eq \"2c91809175e6c63f0175fb5570220569\"`
|
|
412
412
|
* @param {*} [axiosOptions] Override http request option.
|
|
413
413
|
* @throws {RequiredError}
|
|
414
414
|
*/
|
|
@@ -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));
|