@sailpoint/api-client 2.2.23 → 2.2.25
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 +31 -6
- package/dist/access_requests/api.js +32 -12
- package/dist/access_requests/api.js.map +1 -1
- package/dist/business_applications/api.d.ts +40 -8
- package/dist/business_applications/api.js +52 -20
- package/dist/business_applications/api.js.map +1 -1
- package/dist/esm/access_requests/api.js +32 -12
- package/dist/esm/business_applications/api.js +52 -20
- package/dist/esm/jit_activations/api.js +26 -10
- package/dist/esm/machine_account_mappings/api.js +13 -5
- package/dist/esm/machine_accounts/api.js +430 -0
- package/dist/esm/machine_identities/api.js +117 -45
- package/dist/esm/nerm/common.js +2 -2
- package/dist/esm/nermv2025/common.js +2 -2
- package/dist/esm/public_machine_identities/api.js +13 -5
- package/dist/esm/sources/api.js +16 -16
- package/dist/jit_activations/api.d.ts +20 -4
- package/dist/jit_activations/api.js +26 -10
- package/dist/jit_activations/api.js.map +1 -1
- package/dist/machine_account_mappings/api.d.ts +10 -2
- package/dist/machine_account_mappings/api.js +13 -5
- package/dist/machine_account_mappings/api.js.map +1 -1
- package/dist/machine_accounts/api.d.ts +283 -0
- package/dist/machine_accounts/api.js +430 -0
- package/dist/machine_accounts/api.js.map +1 -1
- package/dist/machine_identities/api.d.ts +90 -18
- package/dist/machine_identities/api.js +117 -45
- package/dist/machine_identities/api.js.map +1 -1
- 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/public_machine_identities/api.d.ts +10 -2
- package/dist/public_machine_identities/api.js +13 -5
- package/dist/public_machine_identities/api.js.map +1 -1
- package/dist/sources/api.d.ts +16 -16
- package/dist/sources/api.js +16 -16
- package/dist/sources/api.js.map +1 -1
- package/package.json +1 -1
|
@@ -166,16 +166,20 @@ export var BusinessApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
166
166
|
* Creates a custom Business Application. Requires the `idn:business-application:create` right, the Machine Identity Security product to be enabled, and the custom Business Application feature to be enabled for the tenant. The `name` must be unique within the tenant, and any provided `signatures` must not already be assigned to another Business Application.
|
|
167
167
|
* @summary Create Business Application
|
|
168
168
|
* @param {BusinessApplication} businessApplication
|
|
169
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
169
170
|
* @param {*} [axiosOptions] Override http request option.
|
|
170
171
|
* @throws {RequiredError}
|
|
171
172
|
*/
|
|
172
|
-
createBusinessApplicationV1: function (businessApplication, axiosOptions) {
|
|
173
|
+
createBusinessApplicationV1: function (businessApplication, xSailPointExperimental, axiosOptions) {
|
|
173
174
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
174
175
|
return __awaiter(_this, void 0, void 0, function () {
|
|
175
176
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
176
177
|
return __generator(this, function (_a) {
|
|
177
178
|
// verify required parameter 'businessApplication' is not null or undefined
|
|
178
179
|
assertParamExists('createBusinessApplicationV1', 'businessApplication', businessApplication);
|
|
180
|
+
if (xSailPointExperimental === undefined) {
|
|
181
|
+
xSailPointExperimental = 'true';
|
|
182
|
+
}
|
|
179
183
|
localVarPath = "/business-applications/v1";
|
|
180
184
|
localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
181
185
|
if (configuration) {
|
|
@@ -185,6 +189,9 @@ export var BusinessApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
185
189
|
localVarHeaderParameter = {};
|
|
186
190
|
localVarQueryParameter = {};
|
|
187
191
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
192
|
+
if (xSailPointExperimental != null) {
|
|
193
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
194
|
+
}
|
|
188
195
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
189
196
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
190
197
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -200,16 +207,20 @@ export var BusinessApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
200
207
|
* Returns a single Business Application by ID for the requesting tenant. Requires the `idn:business-application:read` right and the Machine Identity Security product to be enabled.
|
|
201
208
|
* @summary Get Business Application
|
|
202
209
|
* @param {string} id Business Application ID.
|
|
210
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
203
211
|
* @param {*} [axiosOptions] Override http request option.
|
|
204
212
|
* @throws {RequiredError}
|
|
205
213
|
*/
|
|
206
|
-
getBusinessApplicationV1: function (id, axiosOptions) {
|
|
214
|
+
getBusinessApplicationV1: function (id, xSailPointExperimental, axiosOptions) {
|
|
207
215
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
208
216
|
return __awaiter(_this, void 0, void 0, function () {
|
|
209
217
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
210
218
|
return __generator(this, function (_a) {
|
|
211
219
|
// verify required parameter 'id' is not null or undefined
|
|
212
220
|
assertParamExists('getBusinessApplicationV1', 'id', id);
|
|
221
|
+
if (xSailPointExperimental === undefined) {
|
|
222
|
+
xSailPointExperimental = 'true';
|
|
223
|
+
}
|
|
213
224
|
localVarPath = "/business-applications/v1/{id}"
|
|
214
225
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
215
226
|
localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -219,6 +230,9 @@ export var BusinessApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
219
230
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
220
231
|
localVarHeaderParameter = {};
|
|
221
232
|
localVarQueryParameter = {};
|
|
233
|
+
if (xSailPointExperimental != null) {
|
|
234
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
235
|
+
}
|
|
222
236
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
223
237
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
224
238
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -237,14 +251,18 @@ export var BusinessApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
237
251
|
* @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.
|
|
238
252
|
* @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.
|
|
239
253
|
* @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.
|
|
254
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
240
255
|
* @param {*} [axiosOptions] Override http request option.
|
|
241
256
|
* @throws {RequiredError}
|
|
242
257
|
*/
|
|
243
|
-
listBusinessApplicationsV1: function (filters, sorters, count, limit, offset, axiosOptions) {
|
|
258
|
+
listBusinessApplicationsV1: function (filters, sorters, count, limit, offset, xSailPointExperimental, axiosOptions) {
|
|
244
259
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
245
260
|
return __awaiter(_this, void 0, void 0, function () {
|
|
246
261
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
247
262
|
return __generator(this, function (_a) {
|
|
263
|
+
if (xSailPointExperimental === undefined) {
|
|
264
|
+
xSailPointExperimental = 'true';
|
|
265
|
+
}
|
|
248
266
|
localVarPath = "/business-applications/v1";
|
|
249
267
|
localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
250
268
|
if (configuration) {
|
|
@@ -268,6 +286,9 @@ export var BusinessApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
268
286
|
if (offset !== undefined) {
|
|
269
287
|
localVarQueryParameter['offset'] = offset;
|
|
270
288
|
}
|
|
289
|
+
if (xSailPointExperimental != null) {
|
|
290
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
291
|
+
}
|
|
271
292
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
272
293
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
273
294
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -283,10 +304,11 @@ export var BusinessApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
283
304
|
* @summary Update Business Application
|
|
284
305
|
* @param {string} id Business Application ID.
|
|
285
306
|
* @param {Array<JsonPatchOperation>} jsonPatchOperation A JSON array of patch operations per RFC 6902.
|
|
307
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
286
308
|
* @param {*} [axiosOptions] Override http request option.
|
|
287
309
|
* @throws {RequiredError}
|
|
288
310
|
*/
|
|
289
|
-
updateBusinessApplicationV1: function (id, jsonPatchOperation, axiosOptions) {
|
|
311
|
+
updateBusinessApplicationV1: function (id, jsonPatchOperation, xSailPointExperimental, axiosOptions) {
|
|
290
312
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
291
313
|
return __awaiter(_this, void 0, void 0, function () {
|
|
292
314
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -295,6 +317,9 @@ export var BusinessApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
295
317
|
assertParamExists('updateBusinessApplicationV1', 'id', id);
|
|
296
318
|
// verify required parameter 'jsonPatchOperation' is not null or undefined
|
|
297
319
|
assertParamExists('updateBusinessApplicationV1', 'jsonPatchOperation', jsonPatchOperation);
|
|
320
|
+
if (xSailPointExperimental === undefined) {
|
|
321
|
+
xSailPointExperimental = 'true';
|
|
322
|
+
}
|
|
298
323
|
localVarPath = "/business-applications/v1/{id}"
|
|
299
324
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
300
325
|
localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -305,6 +330,9 @@ export var BusinessApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
305
330
|
localVarHeaderParameter = {};
|
|
306
331
|
localVarQueryParameter = {};
|
|
307
332
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
333
|
+
if (xSailPointExperimental != null) {
|
|
334
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
335
|
+
}
|
|
308
336
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
309
337
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
310
338
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -329,16 +357,17 @@ export var BusinessApplicationsApiFp = function (configuration) {
|
|
|
329
357
|
* Creates a custom Business Application. Requires the `idn:business-application:create` right, the Machine Identity Security product to be enabled, and the custom Business Application feature to be enabled for the tenant. The `name` must be unique within the tenant, and any provided `signatures` must not already be assigned to another Business Application.
|
|
330
358
|
* @summary Create Business Application
|
|
331
359
|
* @param {BusinessApplication} businessApplication
|
|
360
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
332
361
|
* @param {*} [axiosOptions] Override http request option.
|
|
333
362
|
* @throws {RequiredError}
|
|
334
363
|
*/
|
|
335
|
-
createBusinessApplicationV1: function (businessApplication, axiosOptions) {
|
|
364
|
+
createBusinessApplicationV1: function (businessApplication, xSailPointExperimental, axiosOptions) {
|
|
336
365
|
var _a, _b, _c;
|
|
337
366
|
return __awaiter(this, void 0, void 0, function () {
|
|
338
367
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
339
368
|
return __generator(this, function (_d) {
|
|
340
369
|
switch (_d.label) {
|
|
341
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createBusinessApplicationV1(businessApplication, axiosOptions)];
|
|
370
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createBusinessApplicationV1(businessApplication, xSailPointExperimental, axiosOptions)];
|
|
342
371
|
case 1:
|
|
343
372
|
localVarAxiosArgs = _d.sent();
|
|
344
373
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -352,16 +381,17 @@ export var BusinessApplicationsApiFp = function (configuration) {
|
|
|
352
381
|
* Returns a single Business Application by ID for the requesting tenant. Requires the `idn:business-application:read` right and the Machine Identity Security product to be enabled.
|
|
353
382
|
* @summary Get Business Application
|
|
354
383
|
* @param {string} id Business Application ID.
|
|
384
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
355
385
|
* @param {*} [axiosOptions] Override http request option.
|
|
356
386
|
* @throws {RequiredError}
|
|
357
387
|
*/
|
|
358
|
-
getBusinessApplicationV1: function (id, axiosOptions) {
|
|
388
|
+
getBusinessApplicationV1: function (id, xSailPointExperimental, axiosOptions) {
|
|
359
389
|
var _a, _b, _c;
|
|
360
390
|
return __awaiter(this, void 0, void 0, function () {
|
|
361
391
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
362
392
|
return __generator(this, function (_d) {
|
|
363
393
|
switch (_d.label) {
|
|
364
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getBusinessApplicationV1(id, axiosOptions)];
|
|
394
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getBusinessApplicationV1(id, xSailPointExperimental, axiosOptions)];
|
|
365
395
|
case 1:
|
|
366
396
|
localVarAxiosArgs = _d.sent();
|
|
367
397
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -379,16 +409,17 @@ export var BusinessApplicationsApiFp = function (configuration) {
|
|
|
379
409
|
* @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.
|
|
380
410
|
* @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.
|
|
381
411
|
* @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.
|
|
412
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
382
413
|
* @param {*} [axiosOptions] Override http request option.
|
|
383
414
|
* @throws {RequiredError}
|
|
384
415
|
*/
|
|
385
|
-
listBusinessApplicationsV1: function (filters, sorters, count, limit, offset, axiosOptions) {
|
|
416
|
+
listBusinessApplicationsV1: function (filters, sorters, count, limit, offset, xSailPointExperimental, axiosOptions) {
|
|
386
417
|
var _a, _b, _c;
|
|
387
418
|
return __awaiter(this, void 0, void 0, function () {
|
|
388
419
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
389
420
|
return __generator(this, function (_d) {
|
|
390
421
|
switch (_d.label) {
|
|
391
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBusinessApplicationsV1(filters, sorters, count, limit, offset, axiosOptions)];
|
|
422
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBusinessApplicationsV1(filters, sorters, count, limit, offset, xSailPointExperimental, axiosOptions)];
|
|
392
423
|
case 1:
|
|
393
424
|
localVarAxiosArgs = _d.sent();
|
|
394
425
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -403,16 +434,17 @@ export var BusinessApplicationsApiFp = function (configuration) {
|
|
|
403
434
|
* @summary Update Business Application
|
|
404
435
|
* @param {string} id Business Application ID.
|
|
405
436
|
* @param {Array<JsonPatchOperation>} jsonPatchOperation A JSON array of patch operations per RFC 6902.
|
|
437
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
406
438
|
* @param {*} [axiosOptions] Override http request option.
|
|
407
439
|
* @throws {RequiredError}
|
|
408
440
|
*/
|
|
409
|
-
updateBusinessApplicationV1: function (id, jsonPatchOperation, axiosOptions) {
|
|
441
|
+
updateBusinessApplicationV1: function (id, jsonPatchOperation, xSailPointExperimental, axiosOptions) {
|
|
410
442
|
var _a, _b, _c;
|
|
411
443
|
return __awaiter(this, void 0, void 0, function () {
|
|
412
444
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
413
445
|
return __generator(this, function (_d) {
|
|
414
446
|
switch (_d.label) {
|
|
415
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateBusinessApplicationV1(id, jsonPatchOperation, axiosOptions)];
|
|
447
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateBusinessApplicationV1(id, jsonPatchOperation, xSailPointExperimental, axiosOptions)];
|
|
416
448
|
case 1:
|
|
417
449
|
localVarAxiosArgs = _d.sent();
|
|
418
450
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -439,7 +471,7 @@ export var BusinessApplicationsApiFactory = function (configuration, basePath, a
|
|
|
439
471
|
* @throws {RequiredError}
|
|
440
472
|
*/
|
|
441
473
|
createBusinessApplicationV1: function (requestParameters, axiosOptions) {
|
|
442
|
-
return localVarFp.createBusinessApplicationV1(requestParameters.businessApplication, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
474
|
+
return localVarFp.createBusinessApplicationV1(requestParameters.businessApplication, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
443
475
|
},
|
|
444
476
|
/**
|
|
445
477
|
* Returns a single Business Application by ID for the requesting tenant. Requires the `idn:business-application:read` right and the Machine Identity Security product to be enabled.
|
|
@@ -449,7 +481,7 @@ export var BusinessApplicationsApiFactory = function (configuration, basePath, a
|
|
|
449
481
|
* @throws {RequiredError}
|
|
450
482
|
*/
|
|
451
483
|
getBusinessApplicationV1: function (requestParameters, axiosOptions) {
|
|
452
|
-
return localVarFp.getBusinessApplicationV1(requestParameters.id, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
484
|
+
return localVarFp.getBusinessApplicationV1(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
453
485
|
},
|
|
454
486
|
/**
|
|
455
487
|
* Returns the list of Business Applications defined for the requesting tenant. Requires the `idn:business-application:read` right and the Machine Identity Security product to be enabled for the tenant.
|
|
@@ -460,7 +492,7 @@ export var BusinessApplicationsApiFactory = function (configuration, basePath, a
|
|
|
460
492
|
*/
|
|
461
493
|
listBusinessApplicationsV1: function (requestParameters, axiosOptions) {
|
|
462
494
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
463
|
-
return localVarFp.listBusinessApplicationsV1(requestParameters.filters, requestParameters.sorters, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
495
|
+
return localVarFp.listBusinessApplicationsV1(requestParameters.filters, requestParameters.sorters, requestParameters.count, requestParameters.limit, requestParameters.offset, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
464
496
|
},
|
|
465
497
|
/**
|
|
466
498
|
* Updates a Business Application using the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Requires the `idn:business-application:update` right and the Machine Identity Security product to be enabled. Patchable fields: `name`, `description`, `owner`, `additionalOwners`, `sanctionedStatus`, and `signatures`. Modifying `signatures` additionally requires the custom Business Application feature to be enabled.
|
|
@@ -470,7 +502,7 @@ export var BusinessApplicationsApiFactory = function (configuration, basePath, a
|
|
|
470
502
|
* @throws {RequiredError}
|
|
471
503
|
*/
|
|
472
504
|
updateBusinessApplicationV1: function (requestParameters, axiosOptions) {
|
|
473
|
-
return localVarFp.updateBusinessApplicationV1(requestParameters.id, requestParameters.jsonPatchOperation, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
505
|
+
return localVarFp.updateBusinessApplicationV1(requestParameters.id, requestParameters.jsonPatchOperation, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
474
506
|
},
|
|
475
507
|
};
|
|
476
508
|
};
|
|
@@ -495,7 +527,7 @@ var BusinessApplicationsApi = /** @class */ (function (_super) {
|
|
|
495
527
|
*/
|
|
496
528
|
BusinessApplicationsApi.prototype.createBusinessApplicationV1 = function (requestParameters, axiosOptions) {
|
|
497
529
|
var _this = this;
|
|
498
|
-
return BusinessApplicationsApiFp(this.configuration).createBusinessApplicationV1(requestParameters.businessApplication, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
530
|
+
return BusinessApplicationsApiFp(this.configuration).createBusinessApplicationV1(requestParameters.businessApplication, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
499
531
|
};
|
|
500
532
|
/**
|
|
501
533
|
* Returns a single Business Application by ID for the requesting tenant. Requires the `idn:business-application:read` right and the Machine Identity Security product to be enabled.
|
|
@@ -507,7 +539,7 @@ var BusinessApplicationsApi = /** @class */ (function (_super) {
|
|
|
507
539
|
*/
|
|
508
540
|
BusinessApplicationsApi.prototype.getBusinessApplicationV1 = function (requestParameters, axiosOptions) {
|
|
509
541
|
var _this = this;
|
|
510
|
-
return BusinessApplicationsApiFp(this.configuration).getBusinessApplicationV1(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
542
|
+
return BusinessApplicationsApiFp(this.configuration).getBusinessApplicationV1(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
511
543
|
};
|
|
512
544
|
/**
|
|
513
545
|
* Returns the list of Business Applications defined for the requesting tenant. Requires the `idn:business-application:read` right and the Machine Identity Security product to be enabled for the tenant.
|
|
@@ -520,7 +552,7 @@ var BusinessApplicationsApi = /** @class */ (function (_super) {
|
|
|
520
552
|
BusinessApplicationsApi.prototype.listBusinessApplicationsV1 = function (requestParameters, axiosOptions) {
|
|
521
553
|
var _this = this;
|
|
522
554
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
523
|
-
return BusinessApplicationsApiFp(this.configuration).listBusinessApplicationsV1(requestParameters.filters, requestParameters.sorters, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
555
|
+
return BusinessApplicationsApiFp(this.configuration).listBusinessApplicationsV1(requestParameters.filters, requestParameters.sorters, requestParameters.count, requestParameters.limit, requestParameters.offset, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
524
556
|
};
|
|
525
557
|
/**
|
|
526
558
|
* Updates a Business Application using the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Requires the `idn:business-application:update` right and the Machine Identity Security product to be enabled. Patchable fields: `name`, `description`, `owner`, `additionalOwners`, `sanctionedStatus`, and `signatures`. Modifying `signatures` additionally requires the custom Business Application feature to be enabled.
|
|
@@ -532,7 +564,7 @@ var BusinessApplicationsApi = /** @class */ (function (_super) {
|
|
|
532
564
|
*/
|
|
533
565
|
BusinessApplicationsApi.prototype.updateBusinessApplicationV1 = function (requestParameters, axiosOptions) {
|
|
534
566
|
var _this = this;
|
|
535
|
-
return BusinessApplicationsApiFp(this.configuration).updateBusinessApplicationV1(requestParameters.id, requestParameters.jsonPatchOperation, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
567
|
+
return BusinessApplicationsApiFp(this.configuration).updateBusinessApplicationV1(requestParameters.id, requestParameters.jsonPatchOperation, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
536
568
|
};
|
|
537
569
|
return BusinessApplicationsApi;
|
|
538
570
|
}(BaseAPI));
|
|
@@ -119,14 +119,18 @@ export var JITActivationsApiAxiosParamCreator = function (configuration) {
|
|
|
119
119
|
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **activationInitiated, provisionCompleted, status** Default sort is **-activationInitiated** (newest first).
|
|
120
120
|
* @param {string} [searchAfter] Used to begin the search window at the values specified. This parameter consists of the last values of the sorted fields in the current record set. searchAfter length must match the number of sorters. Used to paginate beyond the offset limit of 10,000. It is recommended to always include the ID of the object in addition to any other sort fields to ensure no duplicate results while paging. For example, if sorting by activationInitiated you will also want to include ID: searchAfter=2026-07-08T14:33:52.029Z,367fb802-1026-1835-a619-11a56e4c5be3&sorters=activationInitiated,id
|
|
121
121
|
* @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: **entitlementId**: *eq, in* **sourceId**: *eq* **connectionId**: *eq* **status**: *eq, in* **activationInitiated**: *gt, lt, ge, le* **policyFrictionOutcome**: *eq, in*
|
|
122
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
122
123
|
* @param {*} [axiosOptions] Override http request option.
|
|
123
124
|
* @throws {RequiredError}
|
|
124
125
|
*/
|
|
125
|
-
listJitActivationHistoryForCurrentIdentityV1: function (limit, offset, count, sorters, searchAfter, filters, axiosOptions) {
|
|
126
|
+
listJitActivationHistoryForCurrentIdentityV1: function (limit, offset, count, sorters, searchAfter, filters, xSailPointExperimental, axiosOptions) {
|
|
126
127
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
127
128
|
return __awaiter(_this, void 0, void 0, function () {
|
|
128
129
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
129
130
|
return __generator(this, function (_a) {
|
|
131
|
+
if (xSailPointExperimental === undefined) {
|
|
132
|
+
xSailPointExperimental = 'true';
|
|
133
|
+
}
|
|
130
134
|
localVarPath = "/jit-activation-history/v1/current-identity";
|
|
131
135
|
localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
132
136
|
if (configuration) {
|
|
@@ -153,6 +157,9 @@ export var JITActivationsApiAxiosParamCreator = function (configuration) {
|
|
|
153
157
|
if (filters !== undefined) {
|
|
154
158
|
localVarQueryParameter['filters'] = filters;
|
|
155
159
|
}
|
|
160
|
+
if (xSailPointExperimental != null) {
|
|
161
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
162
|
+
}
|
|
156
163
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
157
164
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
158
165
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -172,14 +179,18 @@ export var JITActivationsApiAxiosParamCreator = function (configuration) {
|
|
|
172
179
|
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **activationInitiated, provisionCompleted, status** Default sort is **-activationInitiated** (newest first).
|
|
173
180
|
* @param {string} [searchAfter] Used to begin the search window at the values specified. This parameter consists of the last values of the sorted fields in the current record set. searchAfter length must match the number of sorters. Used to paginate beyond the offset limit of 10,000. It is recommended to always include the ID of the object in addition to any other sort fields to ensure no duplicate results while paging. For example, if sorting by activationInitiated you will also want to include ID: searchAfter=2026-07-08T14:33:52.029Z,367fb802-1026-1835-a619-11a56e4c5be3&sorters=activationInitiated,id
|
|
174
181
|
* @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: **identityId**: *eq, in* **entitlementId**: *eq, in* **sourceId**: *eq* **connectionId**: *eq* **status**: *eq, in* **activationInitiated**: *gt, lt, ge, le* **policyFrictionOutcome**: *eq, in*
|
|
182
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
175
183
|
* @param {*} [axiosOptions] Override http request option.
|
|
176
184
|
* @throws {RequiredError}
|
|
177
185
|
*/
|
|
178
|
-
listJitActivationHistoryV1: function (limit, offset, count, sorters, searchAfter, filters, axiosOptions) {
|
|
186
|
+
listJitActivationHistoryV1: function (limit, offset, count, sorters, searchAfter, filters, xSailPointExperimental, axiosOptions) {
|
|
179
187
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
180
188
|
return __awaiter(_this, void 0, void 0, function () {
|
|
181
189
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
182
190
|
return __generator(this, function (_a) {
|
|
191
|
+
if (xSailPointExperimental === undefined) {
|
|
192
|
+
xSailPointExperimental = 'true';
|
|
193
|
+
}
|
|
183
194
|
localVarPath = "/jit-activation-history/v1";
|
|
184
195
|
localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
185
196
|
if (configuration) {
|
|
@@ -206,6 +217,9 @@ export var JITActivationsApiAxiosParamCreator = function (configuration) {
|
|
|
206
217
|
if (filters !== undefined) {
|
|
207
218
|
localVarQueryParameter['filters'] = filters;
|
|
208
219
|
}
|
|
220
|
+
if (xSailPointExperimental != null) {
|
|
221
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
222
|
+
}
|
|
209
223
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
210
224
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
211
225
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -357,16 +371,17 @@ export var JITActivationsApiFp = function (configuration) {
|
|
|
357
371
|
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **activationInitiated, provisionCompleted, status** Default sort is **-activationInitiated** (newest first).
|
|
358
372
|
* @param {string} [searchAfter] Used to begin the search window at the values specified. This parameter consists of the last values of the sorted fields in the current record set. searchAfter length must match the number of sorters. Used to paginate beyond the offset limit of 10,000. It is recommended to always include the ID of the object in addition to any other sort fields to ensure no duplicate results while paging. For example, if sorting by activationInitiated you will also want to include ID: searchAfter=2026-07-08T14:33:52.029Z,367fb802-1026-1835-a619-11a56e4c5be3&sorters=activationInitiated,id
|
|
359
373
|
* @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: **entitlementId**: *eq, in* **sourceId**: *eq* **connectionId**: *eq* **status**: *eq, in* **activationInitiated**: *gt, lt, ge, le* **policyFrictionOutcome**: *eq, in*
|
|
374
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
360
375
|
* @param {*} [axiosOptions] Override http request option.
|
|
361
376
|
* @throws {RequiredError}
|
|
362
377
|
*/
|
|
363
|
-
listJitActivationHistoryForCurrentIdentityV1: function (limit, offset, count, sorters, searchAfter, filters, axiosOptions) {
|
|
378
|
+
listJitActivationHistoryForCurrentIdentityV1: function (limit, offset, count, sorters, searchAfter, filters, xSailPointExperimental, axiosOptions) {
|
|
364
379
|
var _a, _b, _c;
|
|
365
380
|
return __awaiter(this, void 0, void 0, function () {
|
|
366
381
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
367
382
|
return __generator(this, function (_d) {
|
|
368
383
|
switch (_d.label) {
|
|
369
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listJitActivationHistoryForCurrentIdentityV1(limit, offset, count, sorters, searchAfter, filters, axiosOptions)];
|
|
384
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listJitActivationHistoryForCurrentIdentityV1(limit, offset, count, sorters, searchAfter, filters, xSailPointExperimental, axiosOptions)];
|
|
370
385
|
case 1:
|
|
371
386
|
localVarAxiosArgs = _d.sent();
|
|
372
387
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -385,16 +400,17 @@ export var JITActivationsApiFp = function (configuration) {
|
|
|
385
400
|
* @param {string} [sorters] Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **activationInitiated, provisionCompleted, status** Default sort is **-activationInitiated** (newest first).
|
|
386
401
|
* @param {string} [searchAfter] Used to begin the search window at the values specified. This parameter consists of the last values of the sorted fields in the current record set. searchAfter length must match the number of sorters. Used to paginate beyond the offset limit of 10,000. It is recommended to always include the ID of the object in addition to any other sort fields to ensure no duplicate results while paging. For example, if sorting by activationInitiated you will also want to include ID: searchAfter=2026-07-08T14:33:52.029Z,367fb802-1026-1835-a619-11a56e4c5be3&sorters=activationInitiated,id
|
|
387
402
|
* @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: **identityId**: *eq, in* **entitlementId**: *eq, in* **sourceId**: *eq* **connectionId**: *eq* **status**: *eq, in* **activationInitiated**: *gt, lt, ge, le* **policyFrictionOutcome**: *eq, in*
|
|
403
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
388
404
|
* @param {*} [axiosOptions] Override http request option.
|
|
389
405
|
* @throws {RequiredError}
|
|
390
406
|
*/
|
|
391
|
-
listJitActivationHistoryV1: function (limit, offset, count, sorters, searchAfter, filters, axiosOptions) {
|
|
407
|
+
listJitActivationHistoryV1: function (limit, offset, count, sorters, searchAfter, filters, xSailPointExperimental, axiosOptions) {
|
|
392
408
|
var _a, _b, _c;
|
|
393
409
|
return __awaiter(this, void 0, void 0, function () {
|
|
394
410
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
395
411
|
return __generator(this, function (_d) {
|
|
396
412
|
switch (_d.label) {
|
|
397
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listJitActivationHistoryV1(limit, offset, count, sorters, searchAfter, filters, axiosOptions)];
|
|
413
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listJitActivationHistoryV1(limit, offset, count, sorters, searchAfter, filters, xSailPointExperimental, axiosOptions)];
|
|
398
414
|
case 1:
|
|
399
415
|
localVarAxiosArgs = _d.sent();
|
|
400
416
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -494,7 +510,7 @@ export var JITActivationsApiFactory = function (configuration, basePath, axios)
|
|
|
494
510
|
*/
|
|
495
511
|
listJitActivationHistoryForCurrentIdentityV1: function (requestParameters, axiosOptions) {
|
|
496
512
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
497
|
-
return localVarFp.listJitActivationHistoryForCurrentIdentityV1(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.sorters, requestParameters.searchAfter, requestParameters.filters, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
513
|
+
return localVarFp.listJitActivationHistoryForCurrentIdentityV1(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.sorters, requestParameters.searchAfter, requestParameters.filters, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
498
514
|
},
|
|
499
515
|
/**
|
|
500
516
|
* Returns JIT activation history records for the tenant. This is the admin/operator view - it returns activations across all identities in the tenant. Requires `idn:jit-activation-history:read`. Returns HTTP 403 when the `PSPM_858_JIT_ACCESS_ACTIVATION_HISTORY_SEARCH` feature flag is disabled.
|
|
@@ -505,7 +521,7 @@ export var JITActivationsApiFactory = function (configuration, basePath, axios)
|
|
|
505
521
|
*/
|
|
506
522
|
listJitActivationHistoryV1: function (requestParameters, axiosOptions) {
|
|
507
523
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
508
|
-
return localVarFp.listJitActivationHistoryV1(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.sorters, requestParameters.searchAfter, requestParameters.filters, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
524
|
+
return localVarFp.listJitActivationHistoryV1(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.sorters, requestParameters.searchAfter, requestParameters.filters, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
509
525
|
},
|
|
510
526
|
/**
|
|
511
527
|
* Starts a JIT Privileged (JIT P) activation workflow for the given entitlement connection and duration. The service performs quick validation; the workflow performs additional validation. The response is returned with HTTP 202 Accepted while the workflow initializes.
|
|
@@ -561,7 +577,7 @@ var JITActivationsApi = /** @class */ (function (_super) {
|
|
|
561
577
|
JITActivationsApi.prototype.listJitActivationHistoryForCurrentIdentityV1 = function (requestParameters, axiosOptions) {
|
|
562
578
|
var _this = this;
|
|
563
579
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
564
|
-
return JITActivationsApiFp(this.configuration).listJitActivationHistoryForCurrentIdentityV1(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.sorters, requestParameters.searchAfter, requestParameters.filters, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
580
|
+
return JITActivationsApiFp(this.configuration).listJitActivationHistoryForCurrentIdentityV1(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.sorters, requestParameters.searchAfter, requestParameters.filters, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
565
581
|
};
|
|
566
582
|
/**
|
|
567
583
|
* Returns JIT activation history records for the tenant. This is the admin/operator view - it returns activations across all identities in the tenant. Requires `idn:jit-activation-history:read`. Returns HTTP 403 when the `PSPM_858_JIT_ACCESS_ACTIVATION_HISTORY_SEARCH` feature flag is disabled.
|
|
@@ -574,7 +590,7 @@ var JITActivationsApi = /** @class */ (function (_super) {
|
|
|
574
590
|
JITActivationsApi.prototype.listJitActivationHistoryV1 = function (requestParameters, axiosOptions) {
|
|
575
591
|
var _this = this;
|
|
576
592
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
577
|
-
return JITActivationsApiFp(this.configuration).listJitActivationHistoryV1(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.sorters, requestParameters.searchAfter, requestParameters.filters, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
593
|
+
return JITActivationsApiFp(this.configuration).listJitActivationHistoryV1(requestParameters.limit, requestParameters.offset, requestParameters.count, requestParameters.sorters, requestParameters.searchAfter, requestParameters.filters, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
578
594
|
};
|
|
579
595
|
/**
|
|
580
596
|
* Starts a JIT Privileged (JIT P) activation workflow for the given entitlement connection and duration. The service performs quick validation; the workflow performs additional validation. The response is returned with HTTP 202 Accepted while the workflow initializes.
|
|
@@ -239,10 +239,11 @@ export var MachineAccountMappingsApiAxiosParamCreator = function (configuration)
|
|
|
239
239
|
* @summary Update source\'s machine account mappings
|
|
240
240
|
* @param {string} sourceId Source ID.
|
|
241
241
|
* @param {AttributeMappings} attributeMappings
|
|
242
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
242
243
|
* @param {*} [axiosOptions] Override http request option.
|
|
243
244
|
* @throws {RequiredError}
|
|
244
245
|
*/
|
|
245
|
-
setMachineAccountMappingsV1: function (sourceId, attributeMappings, axiosOptions) {
|
|
246
|
+
setMachineAccountMappingsV1: function (sourceId, attributeMappings, xSailPointExperimental, axiosOptions) {
|
|
246
247
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
247
248
|
return __awaiter(_this, void 0, void 0, function () {
|
|
248
249
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -251,6 +252,9 @@ export var MachineAccountMappingsApiAxiosParamCreator = function (configuration)
|
|
|
251
252
|
assertParamExists('setMachineAccountMappingsV1', 'sourceId', sourceId);
|
|
252
253
|
// verify required parameter 'attributeMappings' is not null or undefined
|
|
253
254
|
assertParamExists('setMachineAccountMappingsV1', 'attributeMappings', attributeMappings);
|
|
255
|
+
if (xSailPointExperimental === undefined) {
|
|
256
|
+
xSailPointExperimental = 'true';
|
|
257
|
+
}
|
|
254
258
|
localVarPath = "/sources/v1/{sourceId}/machine-account-mappings"
|
|
255
259
|
.replace("{".concat("sourceId", "}"), encodeURIComponent(String(sourceId)));
|
|
256
260
|
localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -261,6 +265,9 @@ export var MachineAccountMappingsApiAxiosParamCreator = function (configuration)
|
|
|
261
265
|
localVarHeaderParameter = {};
|
|
262
266
|
localVarQueryParameter = {};
|
|
263
267
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
268
|
+
if (xSailPointExperimental != null) {
|
|
269
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
270
|
+
}
|
|
264
271
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
265
272
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
266
273
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -361,16 +368,17 @@ export var MachineAccountMappingsApiFp = function (configuration) {
|
|
|
361
368
|
* @summary Update source\'s machine account mappings
|
|
362
369
|
* @param {string} sourceId Source ID.
|
|
363
370
|
* @param {AttributeMappings} attributeMappings
|
|
371
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
364
372
|
* @param {*} [axiosOptions] Override http request option.
|
|
365
373
|
* @throws {RequiredError}
|
|
366
374
|
*/
|
|
367
|
-
setMachineAccountMappingsV1: function (sourceId, attributeMappings, axiosOptions) {
|
|
375
|
+
setMachineAccountMappingsV1: function (sourceId, attributeMappings, xSailPointExperimental, axiosOptions) {
|
|
368
376
|
var _a, _b, _c;
|
|
369
377
|
return __awaiter(this, void 0, void 0, function () {
|
|
370
378
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
371
379
|
return __generator(this, function (_d) {
|
|
372
380
|
switch (_d.label) {
|
|
373
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.setMachineAccountMappingsV1(sourceId, attributeMappings, axiosOptions)];
|
|
381
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.setMachineAccountMappingsV1(sourceId, attributeMappings, xSailPointExperimental, axiosOptions)];
|
|
374
382
|
case 1:
|
|
375
383
|
localVarAxiosArgs = _d.sent();
|
|
376
384
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -427,7 +435,7 @@ export var MachineAccountMappingsApiFactory = function (configuration, basePath,
|
|
|
427
435
|
* @throws {RequiredError}
|
|
428
436
|
*/
|
|
429
437
|
setMachineAccountMappingsV1: function (requestParameters, axiosOptions) {
|
|
430
|
-
return localVarFp.setMachineAccountMappingsV1(requestParameters.sourceId, requestParameters.attributeMappings, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
438
|
+
return localVarFp.setMachineAccountMappingsV1(requestParameters.sourceId, requestParameters.attributeMappings, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
431
439
|
},
|
|
432
440
|
};
|
|
433
441
|
};
|
|
@@ -488,7 +496,7 @@ var MachineAccountMappingsApi = /** @class */ (function (_super) {
|
|
|
488
496
|
*/
|
|
489
497
|
MachineAccountMappingsApi.prototype.setMachineAccountMappingsV1 = function (requestParameters, axiosOptions) {
|
|
490
498
|
var _this = this;
|
|
491
|
-
return MachineAccountMappingsApiFp(this.configuration).setMachineAccountMappingsV1(requestParameters.sourceId, requestParameters.attributeMappings, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
499
|
+
return MachineAccountMappingsApiFp(this.configuration).setMachineAccountMappingsV1(requestParameters.sourceId, requestParameters.attributeMappings, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
492
500
|
};
|
|
493
501
|
return MachineAccountMappingsApi;
|
|
494
502
|
}(BaseAPI));
|