@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
|
@@ -422,18 +422,20 @@ export declare const BusinessApplicationsApiAxiosParamCreator: (configuration?:
|
|
|
422
422
|
* 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.
|
|
423
423
|
* @summary Create Business Application
|
|
424
424
|
* @param {BusinessApplication} businessApplication
|
|
425
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
425
426
|
* @param {*} [axiosOptions] Override http request option.
|
|
426
427
|
* @throws {RequiredError}
|
|
427
428
|
*/
|
|
428
|
-
createBusinessApplicationV1: (businessApplication: BusinessApplication, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
429
|
+
createBusinessApplicationV1: (businessApplication: BusinessApplication, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
429
430
|
/**
|
|
430
431
|
* 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.
|
|
431
432
|
* @summary Get Business Application
|
|
432
433
|
* @param {string} id Business Application ID.
|
|
434
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
433
435
|
* @param {*} [axiosOptions] Override http request option.
|
|
434
436
|
* @throws {RequiredError}
|
|
435
437
|
*/
|
|
436
|
-
getBusinessApplicationV1: (id: string, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
438
|
+
getBusinessApplicationV1: (id: string, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
437
439
|
/**
|
|
438
440
|
* 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.
|
|
439
441
|
* @summary List Business Applications
|
|
@@ -442,19 +444,21 @@ export declare const BusinessApplicationsApiAxiosParamCreator: (configuration?:
|
|
|
442
444
|
* @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.
|
|
443
445
|
* @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.
|
|
444
446
|
* @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.
|
|
447
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
445
448
|
* @param {*} [axiosOptions] Override http request option.
|
|
446
449
|
* @throws {RequiredError}
|
|
447
450
|
*/
|
|
448
|
-
listBusinessApplicationsV1: (filters?: string, sorters?: string, count?: boolean, limit?: number, offset?: number, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
451
|
+
listBusinessApplicationsV1: (filters?: string, sorters?: string, count?: boolean, limit?: number, offset?: number, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
449
452
|
/**
|
|
450
453
|
* 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.
|
|
451
454
|
* @summary Update Business Application
|
|
452
455
|
* @param {string} id Business Application ID.
|
|
453
456
|
* @param {Array<JsonPatchOperation>} jsonPatchOperation A JSON array of patch operations per RFC 6902.
|
|
457
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
454
458
|
* @param {*} [axiosOptions] Override http request option.
|
|
455
459
|
* @throws {RequiredError}
|
|
456
460
|
*/
|
|
457
|
-
updateBusinessApplicationV1: (id: string, jsonPatchOperation: Array<JsonPatchOperation>, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
461
|
+
updateBusinessApplicationV1: (id: string, jsonPatchOperation: Array<JsonPatchOperation>, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
458
462
|
};
|
|
459
463
|
/**
|
|
460
464
|
* BusinessApplicationsApi - functional programming interface
|
|
@@ -465,18 +469,20 @@ export declare const BusinessApplicationsApiFp: (configuration?: Configuration)
|
|
|
465
469
|
* 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.
|
|
466
470
|
* @summary Create Business Application
|
|
467
471
|
* @param {BusinessApplication} businessApplication
|
|
472
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
468
473
|
* @param {*} [axiosOptions] Override http request option.
|
|
469
474
|
* @throws {RequiredError}
|
|
470
475
|
*/
|
|
471
|
-
createBusinessApplicationV1(businessApplication: BusinessApplication, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessApplication>>;
|
|
476
|
+
createBusinessApplicationV1(businessApplication: BusinessApplication, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessApplication>>;
|
|
472
477
|
/**
|
|
473
478
|
* 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.
|
|
474
479
|
* @summary Get Business Application
|
|
475
480
|
* @param {string} id Business Application ID.
|
|
481
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
476
482
|
* @param {*} [axiosOptions] Override http request option.
|
|
477
483
|
* @throws {RequiredError}
|
|
478
484
|
*/
|
|
479
|
-
getBusinessApplicationV1(id: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessApplication>>;
|
|
485
|
+
getBusinessApplicationV1(id: string, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessApplication>>;
|
|
480
486
|
/**
|
|
481
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.
|
|
482
488
|
* @summary List Business Applications
|
|
@@ -485,19 +491,21 @@ export declare const BusinessApplicationsApiFp: (configuration?: Configuration)
|
|
|
485
491
|
* @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.
|
|
486
492
|
* @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.
|
|
487
493
|
* @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.
|
|
494
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
488
495
|
* @param {*} [axiosOptions] Override http request option.
|
|
489
496
|
* @throws {RequiredError}
|
|
490
497
|
*/
|
|
491
|
-
listBusinessApplicationsV1(filters?: string, sorters?: string, count?: boolean, limit?: number, offset?: number, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessApplication>>>;
|
|
498
|
+
listBusinessApplicationsV1(filters?: string, sorters?: string, count?: boolean, limit?: number, offset?: number, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessApplication>>>;
|
|
492
499
|
/**
|
|
493
500
|
* 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.
|
|
494
501
|
* @summary Update Business Application
|
|
495
502
|
* @param {string} id Business Application ID.
|
|
496
503
|
* @param {Array<JsonPatchOperation>} jsonPatchOperation A JSON array of patch operations per RFC 6902.
|
|
504
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
497
505
|
* @param {*} [axiosOptions] Override http request option.
|
|
498
506
|
* @throws {RequiredError}
|
|
499
507
|
*/
|
|
500
|
-
updateBusinessApplicationV1(id: string, jsonPatchOperation: Array<JsonPatchOperation>, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessApplication>>;
|
|
508
|
+
updateBusinessApplicationV1(id: string, jsonPatchOperation: Array<JsonPatchOperation>, xSailPointExperimental?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessApplication>>;
|
|
501
509
|
};
|
|
502
510
|
/**
|
|
503
511
|
* BusinessApplicationsApi - factory interface
|
|
@@ -549,6 +557,12 @@ export interface BusinessApplicationsApiCreateBusinessApplicationV1Request {
|
|
|
549
557
|
* @memberof BusinessApplicationsApiCreateBusinessApplicationV1
|
|
550
558
|
*/
|
|
551
559
|
readonly businessApplication: BusinessApplication;
|
|
560
|
+
/**
|
|
561
|
+
* Use this header to enable this experimental API.
|
|
562
|
+
* @type {string}
|
|
563
|
+
* @memberof BusinessApplicationsApiCreateBusinessApplicationV1
|
|
564
|
+
*/
|
|
565
|
+
readonly xSailPointExperimental?: string;
|
|
552
566
|
}
|
|
553
567
|
/**
|
|
554
568
|
* Request parameters for getBusinessApplicationV1 operation in BusinessApplicationsApi.
|
|
@@ -562,6 +576,12 @@ export interface BusinessApplicationsApiGetBusinessApplicationV1Request {
|
|
|
562
576
|
* @memberof BusinessApplicationsApiGetBusinessApplicationV1
|
|
563
577
|
*/
|
|
564
578
|
readonly id: string;
|
|
579
|
+
/**
|
|
580
|
+
* Use this header to enable this experimental API.
|
|
581
|
+
* @type {string}
|
|
582
|
+
* @memberof BusinessApplicationsApiGetBusinessApplicationV1
|
|
583
|
+
*/
|
|
584
|
+
readonly xSailPointExperimental?: string;
|
|
565
585
|
}
|
|
566
586
|
/**
|
|
567
587
|
* Request parameters for listBusinessApplicationsV1 operation in BusinessApplicationsApi.
|
|
@@ -599,6 +619,12 @@ export interface BusinessApplicationsApiListBusinessApplicationsV1Request {
|
|
|
599
619
|
* @memberof BusinessApplicationsApiListBusinessApplicationsV1
|
|
600
620
|
*/
|
|
601
621
|
readonly offset?: number;
|
|
622
|
+
/**
|
|
623
|
+
* Use this header to enable this experimental API.
|
|
624
|
+
* @type {string}
|
|
625
|
+
* @memberof BusinessApplicationsApiListBusinessApplicationsV1
|
|
626
|
+
*/
|
|
627
|
+
readonly xSailPointExperimental?: string;
|
|
602
628
|
}
|
|
603
629
|
/**
|
|
604
630
|
* Request parameters for updateBusinessApplicationV1 operation in BusinessApplicationsApi.
|
|
@@ -618,6 +644,12 @@ export interface BusinessApplicationsApiUpdateBusinessApplicationV1Request {
|
|
|
618
644
|
* @memberof BusinessApplicationsApiUpdateBusinessApplicationV1
|
|
619
645
|
*/
|
|
620
646
|
readonly jsonPatchOperation: Array<JsonPatchOperation>;
|
|
647
|
+
/**
|
|
648
|
+
* Use this header to enable this experimental API.
|
|
649
|
+
* @type {string}
|
|
650
|
+
* @memberof BusinessApplicationsApiUpdateBusinessApplicationV1
|
|
651
|
+
*/
|
|
652
|
+
readonly xSailPointExperimental?: string;
|
|
621
653
|
}
|
|
622
654
|
/**
|
|
623
655
|
* BusinessApplicationsApi - object-oriented interface
|
|
@@ -172,16 +172,20 @@ var BusinessApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
172
172
|
* 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.
|
|
173
173
|
* @summary Create Business Application
|
|
174
174
|
* @param {BusinessApplication} businessApplication
|
|
175
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
175
176
|
* @param {*} [axiosOptions] Override http request option.
|
|
176
177
|
* @throws {RequiredError}
|
|
177
178
|
*/
|
|
178
|
-
createBusinessApplicationV1: function (businessApplication, axiosOptions) {
|
|
179
|
+
createBusinessApplicationV1: function (businessApplication, xSailPointExperimental, axiosOptions) {
|
|
179
180
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
180
181
|
return __awaiter(_this, void 0, void 0, function () {
|
|
181
182
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
182
183
|
return __generator(this, function (_a) {
|
|
183
184
|
// verify required parameter 'businessApplication' is not null or undefined
|
|
184
185
|
(0, common_1.assertParamExists)('createBusinessApplicationV1', 'businessApplication', businessApplication);
|
|
186
|
+
if (xSailPointExperimental === undefined) {
|
|
187
|
+
xSailPointExperimental = 'true';
|
|
188
|
+
}
|
|
185
189
|
localVarPath = "/business-applications/v1";
|
|
186
190
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
187
191
|
if (configuration) {
|
|
@@ -191,6 +195,9 @@ var BusinessApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
191
195
|
localVarHeaderParameter = {};
|
|
192
196
|
localVarQueryParameter = {};
|
|
193
197
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
198
|
+
if (xSailPointExperimental != null) {
|
|
199
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
200
|
+
}
|
|
194
201
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
195
202
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
196
203
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -206,16 +213,20 @@ var BusinessApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
206
213
|
* 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.
|
|
207
214
|
* @summary Get Business Application
|
|
208
215
|
* @param {string} id Business Application ID.
|
|
216
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
209
217
|
* @param {*} [axiosOptions] Override http request option.
|
|
210
218
|
* @throws {RequiredError}
|
|
211
219
|
*/
|
|
212
|
-
getBusinessApplicationV1: function (id, axiosOptions) {
|
|
220
|
+
getBusinessApplicationV1: function (id, xSailPointExperimental, axiosOptions) {
|
|
213
221
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
214
222
|
return __awaiter(_this, void 0, void 0, function () {
|
|
215
223
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
216
224
|
return __generator(this, function (_a) {
|
|
217
225
|
// verify required parameter 'id' is not null or undefined
|
|
218
226
|
(0, common_1.assertParamExists)('getBusinessApplicationV1', 'id', id);
|
|
227
|
+
if (xSailPointExperimental === undefined) {
|
|
228
|
+
xSailPointExperimental = 'true';
|
|
229
|
+
}
|
|
219
230
|
localVarPath = "/business-applications/v1/{id}"
|
|
220
231
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
221
232
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -225,6 +236,9 @@ var BusinessApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
225
236
|
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), axiosOptions);
|
|
226
237
|
localVarHeaderParameter = {};
|
|
227
238
|
localVarQueryParameter = {};
|
|
239
|
+
if (xSailPointExperimental != null) {
|
|
240
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
241
|
+
}
|
|
228
242
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
229
243
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
230
244
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -243,14 +257,18 @@ var BusinessApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
243
257
|
* @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.
|
|
244
258
|
* @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.
|
|
245
259
|
* @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.
|
|
260
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
246
261
|
* @param {*} [axiosOptions] Override http request option.
|
|
247
262
|
* @throws {RequiredError}
|
|
248
263
|
*/
|
|
249
|
-
listBusinessApplicationsV1: function (filters, sorters, count, limit, offset, axiosOptions) {
|
|
264
|
+
listBusinessApplicationsV1: function (filters, sorters, count, limit, offset, xSailPointExperimental, axiosOptions) {
|
|
250
265
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
251
266
|
return __awaiter(_this, void 0, void 0, function () {
|
|
252
267
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
253
268
|
return __generator(this, function (_a) {
|
|
269
|
+
if (xSailPointExperimental === undefined) {
|
|
270
|
+
xSailPointExperimental = 'true';
|
|
271
|
+
}
|
|
254
272
|
localVarPath = "/business-applications/v1";
|
|
255
273
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
256
274
|
if (configuration) {
|
|
@@ -274,6 +292,9 @@ var BusinessApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
274
292
|
if (offset !== undefined) {
|
|
275
293
|
localVarQueryParameter['offset'] = offset;
|
|
276
294
|
}
|
|
295
|
+
if (xSailPointExperimental != null) {
|
|
296
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
297
|
+
}
|
|
277
298
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
278
299
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
279
300
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -289,10 +310,11 @@ var BusinessApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
289
310
|
* @summary Update Business Application
|
|
290
311
|
* @param {string} id Business Application ID.
|
|
291
312
|
* @param {Array<JsonPatchOperation>} jsonPatchOperation A JSON array of patch operations per RFC 6902.
|
|
313
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
292
314
|
* @param {*} [axiosOptions] Override http request option.
|
|
293
315
|
* @throws {RequiredError}
|
|
294
316
|
*/
|
|
295
|
-
updateBusinessApplicationV1: function (id, jsonPatchOperation, axiosOptions) {
|
|
317
|
+
updateBusinessApplicationV1: function (id, jsonPatchOperation, xSailPointExperimental, axiosOptions) {
|
|
296
318
|
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
297
319
|
return __awaiter(_this, void 0, void 0, function () {
|
|
298
320
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -301,6 +323,9 @@ var BusinessApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
301
323
|
(0, common_1.assertParamExists)('updateBusinessApplicationV1', 'id', id);
|
|
302
324
|
// verify required parameter 'jsonPatchOperation' is not null or undefined
|
|
303
325
|
(0, common_1.assertParamExists)('updateBusinessApplicationV1', 'jsonPatchOperation', jsonPatchOperation);
|
|
326
|
+
if (xSailPointExperimental === undefined) {
|
|
327
|
+
xSailPointExperimental = 'true';
|
|
328
|
+
}
|
|
304
329
|
localVarPath = "/business-applications/v1/{id}"
|
|
305
330
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
306
331
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -311,6 +336,9 @@ var BusinessApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
311
336
|
localVarHeaderParameter = {};
|
|
312
337
|
localVarQueryParameter = {};
|
|
313
338
|
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
339
|
+
if (xSailPointExperimental != null) {
|
|
340
|
+
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
341
|
+
}
|
|
314
342
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
315
343
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
316
344
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
@@ -336,16 +364,17 @@ var BusinessApplicationsApiFp = function (configuration) {
|
|
|
336
364
|
* 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.
|
|
337
365
|
* @summary Create Business Application
|
|
338
366
|
* @param {BusinessApplication} businessApplication
|
|
367
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
339
368
|
* @param {*} [axiosOptions] Override http request option.
|
|
340
369
|
* @throws {RequiredError}
|
|
341
370
|
*/
|
|
342
|
-
createBusinessApplicationV1: function (businessApplication, axiosOptions) {
|
|
371
|
+
createBusinessApplicationV1: function (businessApplication, xSailPointExperimental, axiosOptions) {
|
|
343
372
|
var _a, _b, _c;
|
|
344
373
|
return __awaiter(this, void 0, void 0, function () {
|
|
345
374
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
346
375
|
return __generator(this, function (_d) {
|
|
347
376
|
switch (_d.label) {
|
|
348
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createBusinessApplicationV1(businessApplication, axiosOptions)];
|
|
377
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createBusinessApplicationV1(businessApplication, xSailPointExperimental, axiosOptions)];
|
|
349
378
|
case 1:
|
|
350
379
|
localVarAxiosArgs = _d.sent();
|
|
351
380
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -359,16 +388,17 @@ var BusinessApplicationsApiFp = function (configuration) {
|
|
|
359
388
|
* 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.
|
|
360
389
|
* @summary Get Business Application
|
|
361
390
|
* @param {string} id Business Application ID.
|
|
391
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
362
392
|
* @param {*} [axiosOptions] Override http request option.
|
|
363
393
|
* @throws {RequiredError}
|
|
364
394
|
*/
|
|
365
|
-
getBusinessApplicationV1: function (id, axiosOptions) {
|
|
395
|
+
getBusinessApplicationV1: function (id, xSailPointExperimental, axiosOptions) {
|
|
366
396
|
var _a, _b, _c;
|
|
367
397
|
return __awaiter(this, void 0, void 0, function () {
|
|
368
398
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
369
399
|
return __generator(this, function (_d) {
|
|
370
400
|
switch (_d.label) {
|
|
371
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getBusinessApplicationV1(id, axiosOptions)];
|
|
401
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getBusinessApplicationV1(id, xSailPointExperimental, axiosOptions)];
|
|
372
402
|
case 1:
|
|
373
403
|
localVarAxiosArgs = _d.sent();
|
|
374
404
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -386,16 +416,17 @@ var BusinessApplicationsApiFp = function (configuration) {
|
|
|
386
416
|
* @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.
|
|
387
417
|
* @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.
|
|
388
418
|
* @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.
|
|
419
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
389
420
|
* @param {*} [axiosOptions] Override http request option.
|
|
390
421
|
* @throws {RequiredError}
|
|
391
422
|
*/
|
|
392
|
-
listBusinessApplicationsV1: function (filters, sorters, count, limit, offset, axiosOptions) {
|
|
423
|
+
listBusinessApplicationsV1: function (filters, sorters, count, limit, offset, xSailPointExperimental, axiosOptions) {
|
|
393
424
|
var _a, _b, _c;
|
|
394
425
|
return __awaiter(this, void 0, void 0, function () {
|
|
395
426
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
396
427
|
return __generator(this, function (_d) {
|
|
397
428
|
switch (_d.label) {
|
|
398
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBusinessApplicationsV1(filters, sorters, count, limit, offset, axiosOptions)];
|
|
429
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBusinessApplicationsV1(filters, sorters, count, limit, offset, xSailPointExperimental, axiosOptions)];
|
|
399
430
|
case 1:
|
|
400
431
|
localVarAxiosArgs = _d.sent();
|
|
401
432
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -410,16 +441,17 @@ var BusinessApplicationsApiFp = function (configuration) {
|
|
|
410
441
|
* @summary Update Business Application
|
|
411
442
|
* @param {string} id Business Application ID.
|
|
412
443
|
* @param {Array<JsonPatchOperation>} jsonPatchOperation A JSON array of patch operations per RFC 6902.
|
|
444
|
+
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
413
445
|
* @param {*} [axiosOptions] Override http request option.
|
|
414
446
|
* @throws {RequiredError}
|
|
415
447
|
*/
|
|
416
|
-
updateBusinessApplicationV1: function (id, jsonPatchOperation, axiosOptions) {
|
|
448
|
+
updateBusinessApplicationV1: function (id, jsonPatchOperation, xSailPointExperimental, axiosOptions) {
|
|
417
449
|
var _a, _b, _c;
|
|
418
450
|
return __awaiter(this, void 0, void 0, function () {
|
|
419
451
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
420
452
|
return __generator(this, function (_d) {
|
|
421
453
|
switch (_d.label) {
|
|
422
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateBusinessApplicationV1(id, jsonPatchOperation, axiosOptions)];
|
|
454
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateBusinessApplicationV1(id, jsonPatchOperation, xSailPointExperimental, axiosOptions)];
|
|
423
455
|
case 1:
|
|
424
456
|
localVarAxiosArgs = _d.sent();
|
|
425
457
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -447,7 +479,7 @@ var BusinessApplicationsApiFactory = function (configuration, basePath, axios) {
|
|
|
447
479
|
* @throws {RequiredError}
|
|
448
480
|
*/
|
|
449
481
|
createBusinessApplicationV1: function (requestParameters, axiosOptions) {
|
|
450
|
-
return localVarFp.createBusinessApplicationV1(requestParameters.businessApplication, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
482
|
+
return localVarFp.createBusinessApplicationV1(requestParameters.businessApplication, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
451
483
|
},
|
|
452
484
|
/**
|
|
453
485
|
* 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.
|
|
@@ -457,7 +489,7 @@ var BusinessApplicationsApiFactory = function (configuration, basePath, axios) {
|
|
|
457
489
|
* @throws {RequiredError}
|
|
458
490
|
*/
|
|
459
491
|
getBusinessApplicationV1: function (requestParameters, axiosOptions) {
|
|
460
|
-
return localVarFp.getBusinessApplicationV1(requestParameters.id, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
492
|
+
return localVarFp.getBusinessApplicationV1(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
461
493
|
},
|
|
462
494
|
/**
|
|
463
495
|
* 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.
|
|
@@ -468,7 +500,7 @@ var BusinessApplicationsApiFactory = function (configuration, basePath, axios) {
|
|
|
468
500
|
*/
|
|
469
501
|
listBusinessApplicationsV1: function (requestParameters, axiosOptions) {
|
|
470
502
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
471
|
-
return localVarFp.listBusinessApplicationsV1(requestParameters.filters, requestParameters.sorters, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
503
|
+
return localVarFp.listBusinessApplicationsV1(requestParameters.filters, requestParameters.sorters, requestParameters.count, requestParameters.limit, requestParameters.offset, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
472
504
|
},
|
|
473
505
|
/**
|
|
474
506
|
* 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.
|
|
@@ -478,7 +510,7 @@ var BusinessApplicationsApiFactory = function (configuration, basePath, axios) {
|
|
|
478
510
|
* @throws {RequiredError}
|
|
479
511
|
*/
|
|
480
512
|
updateBusinessApplicationV1: function (requestParameters, axiosOptions) {
|
|
481
|
-
return localVarFp.updateBusinessApplicationV1(requestParameters.id, requestParameters.jsonPatchOperation, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
513
|
+
return localVarFp.updateBusinessApplicationV1(requestParameters.id, requestParameters.jsonPatchOperation, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
482
514
|
},
|
|
483
515
|
};
|
|
484
516
|
};
|
|
@@ -504,7 +536,7 @@ var BusinessApplicationsApi = /** @class */ (function (_super) {
|
|
|
504
536
|
*/
|
|
505
537
|
BusinessApplicationsApi.prototype.createBusinessApplicationV1 = function (requestParameters, axiosOptions) {
|
|
506
538
|
var _this = this;
|
|
507
|
-
return (0, exports.BusinessApplicationsApiFp)(this.configuration).createBusinessApplicationV1(requestParameters.businessApplication, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
539
|
+
return (0, exports.BusinessApplicationsApiFp)(this.configuration).createBusinessApplicationV1(requestParameters.businessApplication, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
508
540
|
};
|
|
509
541
|
/**
|
|
510
542
|
* 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.
|
|
@@ -516,7 +548,7 @@ var BusinessApplicationsApi = /** @class */ (function (_super) {
|
|
|
516
548
|
*/
|
|
517
549
|
BusinessApplicationsApi.prototype.getBusinessApplicationV1 = function (requestParameters, axiosOptions) {
|
|
518
550
|
var _this = this;
|
|
519
|
-
return (0, exports.BusinessApplicationsApiFp)(this.configuration).getBusinessApplicationV1(requestParameters.id, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
551
|
+
return (0, exports.BusinessApplicationsApiFp)(this.configuration).getBusinessApplicationV1(requestParameters.id, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
520
552
|
};
|
|
521
553
|
/**
|
|
522
554
|
* 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.
|
|
@@ -529,7 +561,7 @@ var BusinessApplicationsApi = /** @class */ (function (_super) {
|
|
|
529
561
|
BusinessApplicationsApi.prototype.listBusinessApplicationsV1 = function (requestParameters, axiosOptions) {
|
|
530
562
|
var _this = this;
|
|
531
563
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
532
|
-
return (0, exports.BusinessApplicationsApiFp)(this.configuration).listBusinessApplicationsV1(requestParameters.filters, requestParameters.sorters, requestParameters.count, requestParameters.limit, requestParameters.offset, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
564
|
+
return (0, exports.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); });
|
|
533
565
|
};
|
|
534
566
|
/**
|
|
535
567
|
* 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.
|
|
@@ -541,7 +573,7 @@ var BusinessApplicationsApi = /** @class */ (function (_super) {
|
|
|
541
573
|
*/
|
|
542
574
|
BusinessApplicationsApi.prototype.updateBusinessApplicationV1 = function (requestParameters, axiosOptions) {
|
|
543
575
|
var _this = this;
|
|
544
|
-
return (0, exports.BusinessApplicationsApiFp)(this.configuration).updateBusinessApplicationV1(requestParameters.id, requestParameters.jsonPatchOperation, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
576
|
+
return (0, exports.BusinessApplicationsApiFp)(this.configuration).updateBusinessApplicationV1(requestParameters.id, requestParameters.jsonPatchOperation, requestParameters.xSailPointExperimental, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
545
577
|
};
|
|
546
578
|
return BusinessApplicationsApi;
|
|
547
579
|
}(base_1.BaseAPI));
|