sailpoint-api-client 1.6.0 → 1.6.1
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/beta/README.md +2 -2
- package/beta/api.ts +64 -65
- package/beta/common.ts +2 -2
- package/beta/package.json +1 -1
- package/dist/beta/api.d.ts +58 -59
- package/dist/beta/api.js +15 -15
- package/dist/beta/api.js.map +1 -1
- package/dist/beta/common.js +1 -1
- package/dist/v2024/api.d.ts +14 -26
- package/dist/v2024/api.js +17 -16
- package/dist/v2024/api.js.map +1 -1
- package/dist/v2024/common.js +1 -1
- package/dist/v2025/api.d.ts +16 -36
- package/dist/v2025/api.js +23 -30
- package/dist/v2025/api.js.map +1 -1
- package/dist/v2025/common.js +1 -1
- package/dist/v3/api.d.ts +109 -109
- package/dist/v3/api.js +60 -59
- package/dist/v3/api.js.map +1 -1
- package/dist/v3/common.js +1 -1
- package/package.json +1 -1
- package/v2024/README.md +2 -2
- package/v2024/api.ts +20 -32
- package/v2024/common.ts +2 -2
- package/v2024/package.json +1 -1
- package/v2025/README.md +2 -2
- package/v2025/api.ts +26 -54
- package/v2025/common.ts +2 -2
- package/v2025/package.json +1 -1
- package/v3/README.md +2 -2
- package/v3/api.ts +115 -115
- package/v3/common.ts +2 -2
- package/v3/package.json +1 -1
package/dist/v3/common.js
CHANGED
|
@@ -250,7 +250,7 @@ var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configu
|
|
|
250
250
|
if (axios === void 0) { axios = globalAxios; }
|
|
251
251
|
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
252
252
|
(0, axios_retry_1.default)(axios, configuration.retriesConfig);
|
|
253
|
-
var headers = __assign(__assign({ 'User-Agent': 'OpenAPI-Generator/1.6.
|
|
253
|
+
var headers = __assign(__assign({ 'User-Agent': 'OpenAPI-Generator/1.6.1/ts' }, axiosArgs.axiosOptions.headers), { 'X-SailPoint-SDK': 'typescript-1.6.1' });
|
|
254
254
|
if (!configuration.experimental && ("X-SailPoint-Experimental" in headers)) {
|
|
255
255
|
throw new Error("You are using Experimental APIs. Set configuration.experimental = True to enable these APIs in the SDK.");
|
|
256
256
|
}
|
package/package.json
CHANGED
package/v2024/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## sailpoint-sdk@1.6.
|
|
1
|
+
## sailpoint-sdk@1.6.1
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install sailpoint-sdk@1.6.
|
|
39
|
+
npm install sailpoint-sdk@1.6.1 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/v2024/api.ts
CHANGED
|
@@ -27550,19 +27550,6 @@ export const PatchPotentialRoleRequestInnerV2024OpV2024 = {
|
|
|
27550
27550
|
|
|
27551
27551
|
export type PatchPotentialRoleRequestInnerV2024OpV2024 = typeof PatchPotentialRoleRequestInnerV2024OpV2024[keyof typeof PatchPotentialRoleRequestInnerV2024OpV2024];
|
|
27552
27552
|
|
|
27553
|
-
/**
|
|
27554
|
-
* A JSONPatch document as defined by [RFC 6902 - JSON Patch](https://tools.ietf.org/html/rfc6902). Only `replace` operations are accepted by this endpoint.
|
|
27555
|
-
* @export
|
|
27556
|
-
* @interface PatchServiceDeskIntegrationRequestV2024
|
|
27557
|
-
*/
|
|
27558
|
-
export interface PatchServiceDeskIntegrationRequestV2024 {
|
|
27559
|
-
/**
|
|
27560
|
-
* Operations to be applied
|
|
27561
|
-
* @type {Array<JsonPatchOperationV2024>}
|
|
27562
|
-
* @memberof PatchServiceDeskIntegrationRequestV2024
|
|
27563
|
-
*/
|
|
27564
|
-
'operations'?: Array<JsonPatchOperationV2024>;
|
|
27565
|
-
}
|
|
27566
27553
|
/**
|
|
27567
27554
|
*
|
|
27568
27555
|
* @export
|
|
@@ -43417,6 +43404,7 @@ export const WorkflowExecutionV2024StatusV2024 = {
|
|
|
43417
43404
|
Completed: 'Completed',
|
|
43418
43405
|
Failed: 'Failed',
|
|
43419
43406
|
Canceled: 'Canceled',
|
|
43407
|
+
Queued: 'Queued',
|
|
43420
43408
|
Running: 'Running'
|
|
43421
43409
|
} as const;
|
|
43422
43410
|
|
|
@@ -44737,7 +44725,7 @@ export class AccessModelMetadataV2024Api extends BaseAPI {
|
|
|
44737
44725
|
export const AccessProfilesV2024ApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
44738
44726
|
return {
|
|
44739
44727
|
/**
|
|
44740
|
-
* Create an access profile. A user with `ROLE_SUBADMIN` or `SOURCE_SUBADMIN` authority must be associated with the access profile\'s source. The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles. However, any new access profiles as well as any updates to existing descriptions are limited to 2000 characters.
|
|
44728
|
+
* Create an access profile. A user with `ROLE_SUBADMIN` or `SOURCE_SUBADMIN` authority must be associated with the access profile\'s source. The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles. However, any new access profiles as well as any updates to existing descriptions are limited to 2000 characters. >**Note:** To use this endpoint, you need all the listed scopes.
|
|
44741
44729
|
* @summary Create Access Profile
|
|
44742
44730
|
* @param {AccessProfileV2024} accessProfileV2024
|
|
44743
44731
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -45192,7 +45180,7 @@ export const AccessProfilesV2024ApiFp = function(configuration?: Configuration)
|
|
|
45192
45180
|
const localVarAxiosParamCreator = AccessProfilesV2024ApiAxiosParamCreator(configuration)
|
|
45193
45181
|
return {
|
|
45194
45182
|
/**
|
|
45195
|
-
* Create an access profile. A user with `ROLE_SUBADMIN` or `SOURCE_SUBADMIN` authority must be associated with the access profile\'s source. The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles. However, any new access profiles as well as any updates to existing descriptions are limited to 2000 characters.
|
|
45183
|
+
* Create an access profile. A user with `ROLE_SUBADMIN` or `SOURCE_SUBADMIN` authority must be associated with the access profile\'s source. The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles. However, any new access profiles as well as any updates to existing descriptions are limited to 2000 characters. >**Note:** To use this endpoint, you need all the listed scopes.
|
|
45196
45184
|
* @summary Create Access Profile
|
|
45197
45185
|
* @param {AccessProfileV2024} accessProfileV2024
|
|
45198
45186
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -45320,7 +45308,7 @@ export const AccessProfilesV2024ApiFactory = function (configuration?: Configura
|
|
|
45320
45308
|
const localVarFp = AccessProfilesV2024ApiFp(configuration)
|
|
45321
45309
|
return {
|
|
45322
45310
|
/**
|
|
45323
|
-
* Create an access profile. A user with `ROLE_SUBADMIN` or `SOURCE_SUBADMIN` authority must be associated with the access profile\'s source. The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles. However, any new access profiles as well as any updates to existing descriptions are limited to 2000 characters.
|
|
45311
|
+
* Create an access profile. A user with `ROLE_SUBADMIN` or `SOURCE_SUBADMIN` authority must be associated with the access profile\'s source. The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles. However, any new access profiles as well as any updates to existing descriptions are limited to 2000 characters. >**Note:** To use this endpoint, you need all the listed scopes.
|
|
45324
45312
|
* @summary Create Access Profile
|
|
45325
45313
|
* @param {AccessProfilesV2024ApiCreateAccessProfileRequest} requestParameters Request parameters.
|
|
45326
45314
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -45620,7 +45608,7 @@ export interface AccessProfilesV2024ApiUpdateAccessProfilesInBulkRequest {
|
|
|
45620
45608
|
*/
|
|
45621
45609
|
export class AccessProfilesV2024Api extends BaseAPI {
|
|
45622
45610
|
/**
|
|
45623
|
-
* Create an access profile. A user with `ROLE_SUBADMIN` or `SOURCE_SUBADMIN` authority must be associated with the access profile\'s source. The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles. However, any new access profiles as well as any updates to existing descriptions are limited to 2000 characters.
|
|
45611
|
+
* Create an access profile. A user with `ROLE_SUBADMIN` or `SOURCE_SUBADMIN` authority must be associated with the access profile\'s source. The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles. However, any new access profiles as well as any updates to existing descriptions are limited to 2000 characters. >**Note:** To use this endpoint, you need all the listed scopes.
|
|
45624
45612
|
* @summary Create Access Profile
|
|
45625
45613
|
* @param {AccessProfilesV2024ApiCreateAccessProfileRequest} requestParameters Request parameters.
|
|
45626
45614
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -45998,7 +45986,7 @@ export const AccessRequestApprovalsV2024ApiAxiosParamCreator = function (configu
|
|
|
45998
45986
|
* @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.
|
|
45999
45987
|
* @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.
|
|
46000
45988
|
* @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.
|
|
46001
|
-
* @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: **id**: *eq, in* **requestedFor.id**: *eq, in* **modified**: *gt, lt, ge, le, eq, in* **accessRequestId**: *eq, in*
|
|
45989
|
+
* @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: **id**: *eq, in* **requestedFor.id**: *eq, in* **modified**: *gt, lt, ge, le, eq, in* **accessRequestId**: *eq, in* **created**: *gt, lt, ge, le, eq, in*
|
|
46002
45990
|
* @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: **created, modified**
|
|
46003
45991
|
* @param {*} [axiosOptions] Override http request option.
|
|
46004
45992
|
* @throws {RequiredError}
|
|
@@ -46200,7 +46188,7 @@ export const AccessRequestApprovalsV2024ApiFp = function(configuration?: Configu
|
|
|
46200
46188
|
* @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.
|
|
46201
46189
|
* @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.
|
|
46202
46190
|
* @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.
|
|
46203
|
-
* @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: **id**: *eq, in* **requestedFor.id**: *eq, in* **modified**: *gt, lt, ge, le, eq, in* **accessRequestId**: *eq, in*
|
|
46191
|
+
* @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: **id**: *eq, in* **requestedFor.id**: *eq, in* **modified**: *gt, lt, ge, le, eq, in* **accessRequestId**: *eq, in* **created**: *gt, lt, ge, le, eq, in*
|
|
46204
46192
|
* @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: **created, modified**
|
|
46205
46193
|
* @param {*} [axiosOptions] Override http request option.
|
|
46206
46194
|
* @throws {RequiredError}
|
|
@@ -46490,7 +46478,7 @@ export interface AccessRequestApprovalsV2024ApiListPendingApprovalsRequest {
|
|
|
46490
46478
|
readonly count?: boolean
|
|
46491
46479
|
|
|
46492
46480
|
/**
|
|
46493
|
-
* 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: **id**: *eq, in* **requestedFor.id**: *eq, in* **modified**: *gt, lt, ge, le, eq, in* **accessRequestId**: *eq, in*
|
|
46481
|
+
* 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: **id**: *eq, in* **requestedFor.id**: *eq, in* **modified**: *gt, lt, ge, le, eq, in* **accessRequestId**: *eq, in* **created**: *gt, lt, ge, le, eq, in*
|
|
46494
46482
|
* @type {string}
|
|
46495
46483
|
* @memberof AccessRequestApprovalsV2024ApiListPendingApprovals
|
|
46496
46484
|
*/
|
|
@@ -109887,15 +109875,15 @@ export const ServiceDeskIntegrationV2024ApiAxiosParamCreator = function (configu
|
|
|
109887
109875
|
* Update an existing Service Desk integration by ID with a PATCH request.
|
|
109888
109876
|
* @summary Patch a Service Desk Integration
|
|
109889
109877
|
* @param {string} id ID of the Service Desk integration to update
|
|
109890
|
-
* @param {
|
|
109878
|
+
* @param {Array<JsonPatchOperationV2024>} jsonPatchOperationV2024 A list of SDIM update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Only `replace` operations are accepted by this endpoint. A 403 Forbidden Error indicates that a PATCH operation was attempted that is not allowed.
|
|
109891
109879
|
* @param {*} [axiosOptions] Override http request option.
|
|
109892
109880
|
* @throws {RequiredError}
|
|
109893
109881
|
*/
|
|
109894
|
-
patchServiceDeskIntegration: async (id: string,
|
|
109882
|
+
patchServiceDeskIntegration: async (id: string, jsonPatchOperationV2024: Array<JsonPatchOperationV2024>, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
109895
109883
|
// verify required parameter 'id' is not null or undefined
|
|
109896
109884
|
assertParamExists('patchServiceDeskIntegration', 'id', id)
|
|
109897
|
-
// verify required parameter '
|
|
109898
|
-
assertParamExists('patchServiceDeskIntegration', '
|
|
109885
|
+
// verify required parameter 'jsonPatchOperationV2024' is not null or undefined
|
|
109886
|
+
assertParamExists('patchServiceDeskIntegration', 'jsonPatchOperationV2024', jsonPatchOperationV2024)
|
|
109899
109887
|
const localVarPath = `/service-desk-integrations/{id}`
|
|
109900
109888
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
109901
109889
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -109924,7 +109912,7 @@ export const ServiceDeskIntegrationV2024ApiAxiosParamCreator = function (configu
|
|
|
109924
109912
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
109925
109913
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
109926
109914
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
109927
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
109915
|
+
localVarRequestOptions.data = serializeDataIfNeeded(jsonPatchOperationV2024, localVarRequestOptions, configuration)
|
|
109928
109916
|
|
|
109929
109917
|
return {
|
|
109930
109918
|
url: toPathString(localVarUrlObj),
|
|
@@ -110130,12 +110118,12 @@ export const ServiceDeskIntegrationV2024ApiFp = function(configuration?: Configu
|
|
|
110130
110118
|
* Update an existing Service Desk integration by ID with a PATCH request.
|
|
110131
110119
|
* @summary Patch a Service Desk Integration
|
|
110132
110120
|
* @param {string} id ID of the Service Desk integration to update
|
|
110133
|
-
* @param {
|
|
110121
|
+
* @param {Array<JsonPatchOperationV2024>} jsonPatchOperationV2024 A list of SDIM update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Only `replace` operations are accepted by this endpoint. A 403 Forbidden Error indicates that a PATCH operation was attempted that is not allowed.
|
|
110134
110122
|
* @param {*} [axiosOptions] Override http request option.
|
|
110135
110123
|
* @throws {RequiredError}
|
|
110136
110124
|
*/
|
|
110137
|
-
async patchServiceDeskIntegration(id: string,
|
|
110138
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.patchServiceDeskIntegration(id,
|
|
110125
|
+
async patchServiceDeskIntegration(id: string, jsonPatchOperationV2024: Array<JsonPatchOperationV2024>, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceDeskIntegrationDtoV2024>> {
|
|
110126
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchServiceDeskIntegration(id, jsonPatchOperationV2024, axiosOptions);
|
|
110139
110127
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
110140
110128
|
const localVarOperationServerBasePath = operationServerMap['ServiceDeskIntegrationV2024Api.patchServiceDeskIntegration']?.[localVarOperationServerIndex]?.url;
|
|
110141
110129
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -110253,7 +110241,7 @@ export const ServiceDeskIntegrationV2024ApiFactory = function (configuration?: C
|
|
|
110253
110241
|
* @throws {RequiredError}
|
|
110254
110242
|
*/
|
|
110255
110243
|
patchServiceDeskIntegration(requestParameters: ServiceDeskIntegrationV2024ApiPatchServiceDeskIntegrationRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<ServiceDeskIntegrationDtoV2024> {
|
|
110256
|
-
return localVarFp.patchServiceDeskIntegration(requestParameters.id, requestParameters.
|
|
110244
|
+
return localVarFp.patchServiceDeskIntegration(requestParameters.id, requestParameters.jsonPatchOperationV2024, axiosOptions).then((request) => request(axios, basePath));
|
|
110257
110245
|
},
|
|
110258
110246
|
/**
|
|
110259
110247
|
* Update an existing Service Desk integration by ID.
|
|
@@ -110391,10 +110379,10 @@ export interface ServiceDeskIntegrationV2024ApiPatchServiceDeskIntegrationReques
|
|
|
110391
110379
|
|
|
110392
110380
|
/**
|
|
110393
110381
|
* A list of SDIM update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Only `replace` operations are accepted by this endpoint. A 403 Forbidden Error indicates that a PATCH operation was attempted that is not allowed.
|
|
110394
|
-
* @type {
|
|
110382
|
+
* @type {Array<JsonPatchOperationV2024>}
|
|
110395
110383
|
* @memberof ServiceDeskIntegrationV2024ApiPatchServiceDeskIntegration
|
|
110396
110384
|
*/
|
|
110397
|
-
readonly
|
|
110385
|
+
readonly jsonPatchOperationV2024: Array<JsonPatchOperationV2024>
|
|
110398
110386
|
}
|
|
110399
110387
|
|
|
110400
110388
|
/**
|
|
@@ -110530,7 +110518,7 @@ export class ServiceDeskIntegrationV2024Api extends BaseAPI {
|
|
|
110530
110518
|
* @memberof ServiceDeskIntegrationV2024Api
|
|
110531
110519
|
*/
|
|
110532
110520
|
public patchServiceDeskIntegration(requestParameters: ServiceDeskIntegrationV2024ApiPatchServiceDeskIntegrationRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
110533
|
-
return ServiceDeskIntegrationV2024ApiFp(this.configuration).patchServiceDeskIntegration(requestParameters.id, requestParameters.
|
|
110521
|
+
return ServiceDeskIntegrationV2024ApiFp(this.configuration).patchServiceDeskIntegration(requestParameters.id, requestParameters.jsonPatchOperationV2024, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
110534
110522
|
}
|
|
110535
110523
|
|
|
110536
110524
|
/**
|
package/v2024/common.ts
CHANGED
|
@@ -147,9 +147,9 @@ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxi
|
|
|
147
147
|
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
148
148
|
axiosRetry(axios, configuration.retriesConfig)
|
|
149
149
|
const headers = {
|
|
150
|
-
...{'User-Agent':'OpenAPI-Generator/1.6.
|
|
150
|
+
...{'User-Agent':'OpenAPI-Generator/1.6.1/ts'},
|
|
151
151
|
...axiosArgs.axiosOptions.headers,
|
|
152
|
-
...{'X-SailPoint-SDK':'typescript-1.6.
|
|
152
|
+
...{'X-SailPoint-SDK':'typescript-1.6.1'}
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
if(!configuration.experimental && ("X-SailPoint-Experimental" in headers)) {
|
package/v2024/package.json
CHANGED
package/v2025/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## sailpoint-sdk@1.6.
|
|
1
|
+
## sailpoint-sdk@1.6.1
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install sailpoint-sdk@1.6.
|
|
39
|
+
npm install sailpoint-sdk@1.6.1 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/v2025/api.ts
CHANGED
|
@@ -27925,19 +27925,6 @@ export const PatchPotentialRoleRequestInnerV2025OpV2025 = {
|
|
|
27925
27925
|
|
|
27926
27926
|
export type PatchPotentialRoleRequestInnerV2025OpV2025 = typeof PatchPotentialRoleRequestInnerV2025OpV2025[keyof typeof PatchPotentialRoleRequestInnerV2025OpV2025];
|
|
27927
27927
|
|
|
27928
|
-
/**
|
|
27929
|
-
* A JSONPatch document as defined by [RFC 6902 - JSON Patch](https://tools.ietf.org/html/rfc6902). Only `replace` operations are accepted by this endpoint.
|
|
27930
|
-
* @export
|
|
27931
|
-
* @interface PatchServiceDeskIntegrationRequestV2025
|
|
27932
|
-
*/
|
|
27933
|
-
export interface PatchServiceDeskIntegrationRequestV2025 {
|
|
27934
|
-
/**
|
|
27935
|
-
* Operations to be applied
|
|
27936
|
-
* @type {Array<JsonPatchOperationV2025>}
|
|
27937
|
-
* @memberof PatchServiceDeskIntegrationRequestV2025
|
|
27938
|
-
*/
|
|
27939
|
-
'operations'?: Array<JsonPatchOperationV2025>;
|
|
27940
|
-
}
|
|
27941
27928
|
/**
|
|
27942
27929
|
*
|
|
27943
27930
|
* @export
|
|
@@ -43792,7 +43779,8 @@ export const WorkflowExecutionV2025StatusV2025 = {
|
|
|
43792
43779
|
Completed: 'Completed',
|
|
43793
43780
|
Failed: 'Failed',
|
|
43794
43781
|
Canceled: 'Canceled',
|
|
43795
|
-
Running: 'Running'
|
|
43782
|
+
Running: 'Running',
|
|
43783
|
+
Queued: 'Queued'
|
|
43796
43784
|
} as const;
|
|
43797
43785
|
|
|
43798
43786
|
export type WorkflowExecutionV2025StatusV2025 = typeof WorkflowExecutionV2025StatusV2025[keyof typeof WorkflowExecutionV2025StatusV2025];
|
|
@@ -45112,7 +45100,7 @@ export class AccessModelMetadataV2025Api extends BaseAPI {
|
|
|
45112
45100
|
export const AccessProfilesV2025ApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
45113
45101
|
return {
|
|
45114
45102
|
/**
|
|
45115
|
-
* Create an access profile. A user with `ROLE_SUBADMIN` or `SOURCE_SUBADMIN` authority must be associated with the access profile\'s source. The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles. However, any new access profiles as well as any updates to existing descriptions are limited to 2000 characters.
|
|
45103
|
+
* Create an access profile. A user with `ROLE_SUBADMIN` or `SOURCE_SUBADMIN` authority must be associated with the access profile\'s source. The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles. However, any new access profiles as well as any updates to existing descriptions are limited to 2000 characters. >**Note:** To use this endpoint, you need all the listed scopes.
|
|
45116
45104
|
* @summary Create Access Profile
|
|
45117
45105
|
* @param {AccessProfileV2025} accessProfileV2025
|
|
45118
45106
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -45567,7 +45555,7 @@ export const AccessProfilesV2025ApiFp = function(configuration?: Configuration)
|
|
|
45567
45555
|
const localVarAxiosParamCreator = AccessProfilesV2025ApiAxiosParamCreator(configuration)
|
|
45568
45556
|
return {
|
|
45569
45557
|
/**
|
|
45570
|
-
* Create an access profile. A user with `ROLE_SUBADMIN` or `SOURCE_SUBADMIN` authority must be associated with the access profile\'s source. The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles. However, any new access profiles as well as any updates to existing descriptions are limited to 2000 characters.
|
|
45558
|
+
* Create an access profile. A user with `ROLE_SUBADMIN` or `SOURCE_SUBADMIN` authority must be associated with the access profile\'s source. The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles. However, any new access profiles as well as any updates to existing descriptions are limited to 2000 characters. >**Note:** To use this endpoint, you need all the listed scopes.
|
|
45571
45559
|
* @summary Create Access Profile
|
|
45572
45560
|
* @param {AccessProfileV2025} accessProfileV2025
|
|
45573
45561
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -45695,7 +45683,7 @@ export const AccessProfilesV2025ApiFactory = function (configuration?: Configura
|
|
|
45695
45683
|
const localVarFp = AccessProfilesV2025ApiFp(configuration)
|
|
45696
45684
|
return {
|
|
45697
45685
|
/**
|
|
45698
|
-
* Create an access profile. A user with `ROLE_SUBADMIN` or `SOURCE_SUBADMIN` authority must be associated with the access profile\'s source. The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles. However, any new access profiles as well as any updates to existing descriptions are limited to 2000 characters.
|
|
45686
|
+
* Create an access profile. A user with `ROLE_SUBADMIN` or `SOURCE_SUBADMIN` authority must be associated with the access profile\'s source. The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles. However, any new access profiles as well as any updates to existing descriptions are limited to 2000 characters. >**Note:** To use this endpoint, you need all the listed scopes.
|
|
45699
45687
|
* @summary Create Access Profile
|
|
45700
45688
|
* @param {AccessProfilesV2025ApiCreateAccessProfileRequest} requestParameters Request parameters.
|
|
45701
45689
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -45995,7 +45983,7 @@ export interface AccessProfilesV2025ApiUpdateAccessProfilesInBulkRequest {
|
|
|
45995
45983
|
*/
|
|
45996
45984
|
export class AccessProfilesV2025Api extends BaseAPI {
|
|
45997
45985
|
/**
|
|
45998
|
-
* Create an access profile. A user with `ROLE_SUBADMIN` or `SOURCE_SUBADMIN` authority must be associated with the access profile\'s source. The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles. However, any new access profiles as well as any updates to existing descriptions are limited to 2000 characters.
|
|
45986
|
+
* Create an access profile. A user with `ROLE_SUBADMIN` or `SOURCE_SUBADMIN` authority must be associated with the access profile\'s source. The maximum supported length for the description field is 2000 characters. Longer descriptions will be preserved for existing access profiles. However, any new access profiles as well as any updates to existing descriptions are limited to 2000 characters. >**Note:** To use this endpoint, you need all the listed scopes.
|
|
45999
45987
|
* @summary Create Access Profile
|
|
46000
45988
|
* @param {AccessProfilesV2025ApiCreateAccessProfileRequest} requestParameters Request parameters.
|
|
46001
45989
|
* @param {*} [axiosOptions] Override http request option.
|
|
@@ -46373,7 +46361,7 @@ export const AccessRequestApprovalsV2025ApiAxiosParamCreator = function (configu
|
|
|
46373
46361
|
* @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.
|
|
46374
46362
|
* @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.
|
|
46375
46363
|
* @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.
|
|
46376
|
-
* @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: **id**: *eq, in* **requestedFor.id**: *eq, in* **modified**: *gt, lt, ge, le, eq, in* **accessRequestId**: *eq, in*
|
|
46364
|
+
* @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: **id**: *eq, in* **requestedFor.id**: *eq, in* **modified**: *gt, lt, ge, le, eq, in* **accessRequestId**: *eq, in* **created**: *gt, lt, ge, le, eq, in*
|
|
46377
46365
|
* @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: **created, modified**
|
|
46378
46366
|
* @param {*} [axiosOptions] Override http request option.
|
|
46379
46367
|
* @throws {RequiredError}
|
|
@@ -46575,7 +46563,7 @@ export const AccessRequestApprovalsV2025ApiFp = function(configuration?: Configu
|
|
|
46575
46563
|
* @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.
|
|
46576
46564
|
* @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.
|
|
46577
46565
|
* @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.
|
|
46578
|
-
* @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: **id**: *eq, in* **requestedFor.id**: *eq, in* **modified**: *gt, lt, ge, le, eq, in* **accessRequestId**: *eq, in*
|
|
46566
|
+
* @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: **id**: *eq, in* **requestedFor.id**: *eq, in* **modified**: *gt, lt, ge, le, eq, in* **accessRequestId**: *eq, in* **created**: *gt, lt, ge, le, eq, in*
|
|
46579
46567
|
* @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: **created, modified**
|
|
46580
46568
|
* @param {*} [axiosOptions] Override http request option.
|
|
46581
46569
|
* @throws {RequiredError}
|
|
@@ -46865,7 +46853,7 @@ export interface AccessRequestApprovalsV2025ApiListPendingApprovalsRequest {
|
|
|
46865
46853
|
readonly count?: boolean
|
|
46866
46854
|
|
|
46867
46855
|
/**
|
|
46868
|
-
* 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: **id**: *eq, in* **requestedFor.id**: *eq, in* **modified**: *gt, lt, ge, le, eq, in* **accessRequestId**: *eq, in*
|
|
46856
|
+
* 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: **id**: *eq, in* **requestedFor.id**: *eq, in* **modified**: *gt, lt, ge, le, eq, in* **accessRequestId**: *eq, in* **created**: *gt, lt, ge, le, eq, in*
|
|
46869
46857
|
* @type {string}
|
|
46870
46858
|
* @memberof AccessRequestApprovalsV2025ApiListPendingApprovals
|
|
46871
46859
|
*/
|
|
@@ -110373,15 +110361,15 @@ export const ServiceDeskIntegrationV2025ApiAxiosParamCreator = function (configu
|
|
|
110373
110361
|
* Update an existing Service Desk integration by ID with a PATCH request.
|
|
110374
110362
|
* @summary Patch a Service Desk Integration
|
|
110375
110363
|
* @param {string} id ID of the Service Desk integration to update
|
|
110376
|
-
* @param {
|
|
110364
|
+
* @param {Array<JsonPatchOperationV2025>} jsonPatchOperationV2025 A list of SDIM update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Only `replace` operations are accepted by this endpoint. A 403 Forbidden Error indicates that a PATCH operation was attempted that is not allowed.
|
|
110377
110365
|
* @param {*} [axiosOptions] Override http request option.
|
|
110378
110366
|
* @throws {RequiredError}
|
|
110379
110367
|
*/
|
|
110380
|
-
patchServiceDeskIntegration: async (id: string,
|
|
110368
|
+
patchServiceDeskIntegration: async (id: string, jsonPatchOperationV2025: Array<JsonPatchOperationV2025>, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
110381
110369
|
// verify required parameter 'id' is not null or undefined
|
|
110382
110370
|
assertParamExists('patchServiceDeskIntegration', 'id', id)
|
|
110383
|
-
// verify required parameter '
|
|
110384
|
-
assertParamExists('patchServiceDeskIntegration', '
|
|
110371
|
+
// verify required parameter 'jsonPatchOperationV2025' is not null or undefined
|
|
110372
|
+
assertParamExists('patchServiceDeskIntegration', 'jsonPatchOperationV2025', jsonPatchOperationV2025)
|
|
110385
110373
|
const localVarPath = `/service-desk-integrations/{id}`
|
|
110386
110374
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
110387
110375
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -110410,7 +110398,7 @@ export const ServiceDeskIntegrationV2025ApiAxiosParamCreator = function (configu
|
|
|
110410
110398
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
110411
110399
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
110412
110400
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
110413
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
110401
|
+
localVarRequestOptions.data = serializeDataIfNeeded(jsonPatchOperationV2025, localVarRequestOptions, configuration)
|
|
110414
110402
|
|
|
110415
110403
|
return {
|
|
110416
110404
|
url: toPathString(localVarUrlObj),
|
|
@@ -110616,12 +110604,12 @@ export const ServiceDeskIntegrationV2025ApiFp = function(configuration?: Configu
|
|
|
110616
110604
|
* Update an existing Service Desk integration by ID with a PATCH request.
|
|
110617
110605
|
* @summary Patch a Service Desk Integration
|
|
110618
110606
|
* @param {string} id ID of the Service Desk integration to update
|
|
110619
|
-
* @param {
|
|
110607
|
+
* @param {Array<JsonPatchOperationV2025>} jsonPatchOperationV2025 A list of SDIM update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Only `replace` operations are accepted by this endpoint. A 403 Forbidden Error indicates that a PATCH operation was attempted that is not allowed.
|
|
110620
110608
|
* @param {*} [axiosOptions] Override http request option.
|
|
110621
110609
|
* @throws {RequiredError}
|
|
110622
110610
|
*/
|
|
110623
|
-
async patchServiceDeskIntegration(id: string,
|
|
110624
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.patchServiceDeskIntegration(id,
|
|
110611
|
+
async patchServiceDeskIntegration(id: string, jsonPatchOperationV2025: Array<JsonPatchOperationV2025>, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceDeskIntegrationDtoV2025>> {
|
|
110612
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchServiceDeskIntegration(id, jsonPatchOperationV2025, axiosOptions);
|
|
110625
110613
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
110626
110614
|
const localVarOperationServerBasePath = operationServerMap['ServiceDeskIntegrationV2025Api.patchServiceDeskIntegration']?.[localVarOperationServerIndex]?.url;
|
|
110627
110615
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -110739,7 +110727,7 @@ export const ServiceDeskIntegrationV2025ApiFactory = function (configuration?: C
|
|
|
110739
110727
|
* @throws {RequiredError}
|
|
110740
110728
|
*/
|
|
110741
110729
|
patchServiceDeskIntegration(requestParameters: ServiceDeskIntegrationV2025ApiPatchServiceDeskIntegrationRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<ServiceDeskIntegrationDtoV2025> {
|
|
110742
|
-
return localVarFp.patchServiceDeskIntegration(requestParameters.id, requestParameters.
|
|
110730
|
+
return localVarFp.patchServiceDeskIntegration(requestParameters.id, requestParameters.jsonPatchOperationV2025, axiosOptions).then((request) => request(axios, basePath));
|
|
110743
110731
|
},
|
|
110744
110732
|
/**
|
|
110745
110733
|
* Update an existing Service Desk integration by ID.
|
|
@@ -110877,10 +110865,10 @@ export interface ServiceDeskIntegrationV2025ApiPatchServiceDeskIntegrationReques
|
|
|
110877
110865
|
|
|
110878
110866
|
/**
|
|
110879
110867
|
* A list of SDIM update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. Only `replace` operations are accepted by this endpoint. A 403 Forbidden Error indicates that a PATCH operation was attempted that is not allowed.
|
|
110880
|
-
* @type {
|
|
110868
|
+
* @type {Array<JsonPatchOperationV2025>}
|
|
110881
110869
|
* @memberof ServiceDeskIntegrationV2025ApiPatchServiceDeskIntegration
|
|
110882
110870
|
*/
|
|
110883
|
-
readonly
|
|
110871
|
+
readonly jsonPatchOperationV2025: Array<JsonPatchOperationV2025>
|
|
110884
110872
|
}
|
|
110885
110873
|
|
|
110886
110874
|
/**
|
|
@@ -111016,7 +111004,7 @@ export class ServiceDeskIntegrationV2025Api extends BaseAPI {
|
|
|
111016
111004
|
* @memberof ServiceDeskIntegrationV2025Api
|
|
111017
111005
|
*/
|
|
111018
111006
|
public patchServiceDeskIntegration(requestParameters: ServiceDeskIntegrationV2025ApiPatchServiceDeskIntegrationRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
111019
|
-
return ServiceDeskIntegrationV2025ApiFp(this.configuration).patchServiceDeskIntegration(requestParameters.id, requestParameters.
|
|
111007
|
+
return ServiceDeskIntegrationV2025ApiFp(this.configuration).patchServiceDeskIntegration(requestParameters.id, requestParameters.jsonPatchOperationV2025, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
111020
111008
|
}
|
|
111021
111009
|
|
|
111022
111010
|
/**
|
|
@@ -112498,19 +112486,14 @@ export const SourcesV2025ApiAxiosParamCreator = function (configuration?: Config
|
|
|
112498
112486
|
* Starts an account aggregation on the specified source. If the target source is a delimited file source, then the CSV file needs to be included in the request body. You will also need to set the Content-Type header to `multipart/form-data`.
|
|
112499
112487
|
* @summary Account Aggregation
|
|
112500
112488
|
* @param {string} id Source Id
|
|
112501
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
112502
112489
|
* @param {File} [file] The CSV file containing the source accounts to aggregate.
|
|
112503
112490
|
* @param {string} [disableOptimization] Use this flag to reprocess every account whether or not the data has changed.
|
|
112504
112491
|
* @param {*} [axiosOptions] Override http request option.
|
|
112505
112492
|
* @throws {RequiredError}
|
|
112506
112493
|
*/
|
|
112507
|
-
importAccounts: async (id: string,
|
|
112494
|
+
importAccounts: async (id: string, file?: File, disableOptimization?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
112508
112495
|
// verify required parameter 'id' is not null or undefined
|
|
112509
112496
|
assertParamExists('importAccounts', 'id', id)
|
|
112510
|
-
if (xSailPointExperimental === undefined) {
|
|
112511
|
-
xSailPointExperimental = 'true';
|
|
112512
|
-
}
|
|
112513
|
-
|
|
112514
112497
|
const localVarPath = `/sources/{id}/load-accounts`
|
|
112515
112498
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
112516
112499
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -112545,9 +112528,6 @@ export const SourcesV2025ApiAxiosParamCreator = function (configuration?: Config
|
|
|
112545
112528
|
|
|
112546
112529
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
112547
112530
|
|
|
112548
|
-
if (xSailPointExperimental != null) {
|
|
112549
|
-
localVarHeaderParameter['X-SailPoint-Experimental'] = String(xSailPointExperimental);
|
|
112550
|
-
}
|
|
112551
112531
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
112552
112532
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
112553
112533
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
@@ -114161,14 +114141,13 @@ export const SourcesV2025ApiFp = function(configuration?: Configuration) {
|
|
|
114161
114141
|
* Starts an account aggregation on the specified source. If the target source is a delimited file source, then the CSV file needs to be included in the request body. You will also need to set the Content-Type header to `multipart/form-data`.
|
|
114162
114142
|
* @summary Account Aggregation
|
|
114163
114143
|
* @param {string} id Source Id
|
|
114164
|
-
* @param {string} [xSailPointExperimental] Use this header to enable this experimental API.
|
|
114165
114144
|
* @param {File} [file] The CSV file containing the source accounts to aggregate.
|
|
114166
114145
|
* @param {string} [disableOptimization] Use this flag to reprocess every account whether or not the data has changed.
|
|
114167
114146
|
* @param {*} [axiosOptions] Override http request option.
|
|
114168
114147
|
* @throws {RequiredError}
|
|
114169
114148
|
*/
|
|
114170
|
-
async importAccounts(id: string,
|
|
114171
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.importAccounts(id,
|
|
114149
|
+
async importAccounts(id: string, file?: File, disableOptimization?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoadAccountsTaskV2025>> {
|
|
114150
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.importAccounts(id, file, disableOptimization, axiosOptions);
|
|
114172
114151
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
114173
114152
|
const localVarOperationServerBasePath = operationServerMap['SourcesV2025Api.importAccounts']?.[localVarOperationServerIndex]?.url;
|
|
114174
114153
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -114787,7 +114766,7 @@ export const SourcesV2025ApiFactory = function (configuration?: Configuration, b
|
|
|
114787
114766
|
* @throws {RequiredError}
|
|
114788
114767
|
*/
|
|
114789
114768
|
importAccounts(requestParameters: SourcesV2025ApiImportAccountsRequest, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<LoadAccountsTaskV2025> {
|
|
114790
|
-
return localVarFp.importAccounts(requestParameters.id, requestParameters.
|
|
114769
|
+
return localVarFp.importAccounts(requestParameters.id, requestParameters.file, requestParameters.disableOptimization, axiosOptions).then((request) => request(axios, basePath));
|
|
114791
114770
|
},
|
|
114792
114771
|
/**
|
|
114793
114772
|
* This API uploads a source schema template file to configure a source\'s account attributes. To retrieve the file to modify and upload, log into Identity Now. Click **Admin** -> **Connections** -> **Sources** -> **`{SourceName}`** -> **Import Data** -> **Account Schema** -> **Options** -> **Download Schema** >**NOTE: This API is designated only for Delimited File sources.**
|
|
@@ -115521,13 +115500,6 @@ export interface SourcesV2025ApiImportAccountsRequest {
|
|
|
115521
115500
|
*/
|
|
115522
115501
|
readonly id: string
|
|
115523
115502
|
|
|
115524
|
-
/**
|
|
115525
|
-
* Use this header to enable this experimental API.
|
|
115526
|
-
* @type {string}
|
|
115527
|
-
* @memberof SourcesV2025ApiImportAccounts
|
|
115528
|
-
*/
|
|
115529
|
-
readonly xSailPointExperimental?: string
|
|
115530
|
-
|
|
115531
115503
|
/**
|
|
115532
115504
|
* The CSV file containing the source accounts to aggregate.
|
|
115533
115505
|
* @type {File}
|
|
@@ -116433,7 +116405,7 @@ export class SourcesV2025Api extends BaseAPI {
|
|
|
116433
116405
|
* @memberof SourcesV2025Api
|
|
116434
116406
|
*/
|
|
116435
116407
|
public importAccounts(requestParameters: SourcesV2025ApiImportAccountsRequest, axiosOptions?: RawAxiosRequestConfig) {
|
|
116436
|
-
return SourcesV2025ApiFp(this.configuration).importAccounts(requestParameters.id, requestParameters.
|
|
116408
|
+
return SourcesV2025ApiFp(this.configuration).importAccounts(requestParameters.id, requestParameters.file, requestParameters.disableOptimization, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
116437
116409
|
}
|
|
116438
116410
|
|
|
116439
116411
|
/**
|
package/v2025/common.ts
CHANGED
|
@@ -147,9 +147,9 @@ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxi
|
|
|
147
147
|
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
148
148
|
axiosRetry(axios, configuration.retriesConfig)
|
|
149
149
|
const headers = {
|
|
150
|
-
...{'User-Agent':'OpenAPI-Generator/1.6.
|
|
150
|
+
...{'User-Agent':'OpenAPI-Generator/1.6.1/ts'},
|
|
151
151
|
...axiosArgs.axiosOptions.headers,
|
|
152
|
-
...{'X-SailPoint-SDK':'typescript-1.6.
|
|
152
|
+
...{'X-SailPoint-SDK':'typescript-1.6.1'}
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
if(!configuration.experimental && ("X-SailPoint-Experimental" in headers)) {
|
package/v2025/package.json
CHANGED
package/v3/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## sailpoint-sdk@1.6.
|
|
1
|
+
## sailpoint-sdk@1.6.1
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install sailpoint-sdk@1.6.
|
|
39
|
+
npm install sailpoint-sdk@1.6.1 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|