@sailpoint/api-client 2.2.27 → 2.2.28
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/entitlement_connections/api.d.ts +0 -171
- package/dist/entitlement_connections/api.js +1 -184
- package/dist/entitlement_connections/api.js.map +1 -1
- package/dist/esm/entitlement_connections/api.js +0 -183
- package/dist/esm/nerm/common.js +2 -2
- package/dist/esm/nermv2025/common.js +2 -2
- 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/package.json +1 -1
|
@@ -171,61 +171,6 @@ export declare const EntitlementConnectionTypeEnum: {
|
|
|
171
171
|
readonly Na: "NA";
|
|
172
172
|
};
|
|
173
173
|
export type EntitlementConnectionTypeEnum = typeof EntitlementConnectionTypeEnum[keyof typeof EntitlementConnectionTypeEnum];
|
|
174
|
-
/**
|
|
175
|
-
*
|
|
176
|
-
* @export
|
|
177
|
-
* @interface EntitlementConnectionBulkUpdateItem
|
|
178
|
-
*/
|
|
179
|
-
export interface EntitlementConnectionBulkUpdateItem {
|
|
180
|
-
/**
|
|
181
|
-
* Connection ID to update.
|
|
182
|
-
* @type {string}
|
|
183
|
-
* @memberof EntitlementConnectionBulkUpdateItem
|
|
184
|
-
*/
|
|
185
|
-
'connectionId': string;
|
|
186
|
-
/**
|
|
187
|
-
* Target connection type.
|
|
188
|
-
* @type {string}
|
|
189
|
-
* @memberof EntitlementConnectionBulkUpdateItem
|
|
190
|
-
*/
|
|
191
|
-
'type': EntitlementConnectionBulkUpdateItemTypeEnum;
|
|
192
|
-
}
|
|
193
|
-
export declare const EntitlementConnectionBulkUpdateItemTypeEnum: {
|
|
194
|
-
readonly Jit: "JIT";
|
|
195
|
-
readonly Standing: "STANDING";
|
|
196
|
-
};
|
|
197
|
-
export type EntitlementConnectionBulkUpdateItemTypeEnum = typeof EntitlementConnectionBulkUpdateItemTypeEnum[keyof typeof EntitlementConnectionBulkUpdateItemTypeEnum];
|
|
198
|
-
/**
|
|
199
|
-
*
|
|
200
|
-
* @export
|
|
201
|
-
* @interface EntitlementConnectionBulkUpdateResultItem
|
|
202
|
-
*/
|
|
203
|
-
export interface EntitlementConnectionBulkUpdateResultItem {
|
|
204
|
-
/**
|
|
205
|
-
* Connection ID processed in this row.
|
|
206
|
-
* @type {string}
|
|
207
|
-
* @memberof EntitlementConnectionBulkUpdateResultItem
|
|
208
|
-
*/
|
|
209
|
-
'connectionId'?: string;
|
|
210
|
-
/**
|
|
211
|
-
* Requested or resulting connection type for the row.
|
|
212
|
-
* @type {string}
|
|
213
|
-
* @memberof EntitlementConnectionBulkUpdateResultItem
|
|
214
|
-
*/
|
|
215
|
-
'type'?: string;
|
|
216
|
-
/**
|
|
217
|
-
* Item-level result status code.
|
|
218
|
-
* @type {number}
|
|
219
|
-
* @memberof EntitlementConnectionBulkUpdateResultItem
|
|
220
|
-
*/
|
|
221
|
-
'status'?: number;
|
|
222
|
-
/**
|
|
223
|
-
* Item-level result message.
|
|
224
|
-
* @type {string}
|
|
225
|
-
* @memberof EntitlementConnectionBulkUpdateResultItem
|
|
226
|
-
*/
|
|
227
|
-
'description'?: string;
|
|
228
|
-
}
|
|
229
174
|
/**
|
|
230
175
|
* Entitlement connection record returned by search-backed list endpoints.
|
|
231
176
|
* @export
|
|
@@ -564,25 +509,6 @@ export declare const EntitlementConnectionsApiAxiosParamCreator: (configuration?
|
|
|
564
509
|
* @throws {RequiredError}
|
|
565
510
|
*/
|
|
566
511
|
patchEntitlementConnectionByIdV1: (connectionId: string, jsonPatchOperation: Array<JsonPatchOperation>, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
567
|
-
/**
|
|
568
|
-
* Applies JSON Patch operations to a single entitlement connection selected by `entitlementId`, `identityId`, and `accountId`.
|
|
569
|
-
* @summary Update connection by query
|
|
570
|
-
* @param {string} entitlementId Entitlement ID (UUID with or without hyphens).
|
|
571
|
-
* @param {string} identityId Identity ID (UUID with or without hyphens).
|
|
572
|
-
* @param {string} accountId Account ID (UUID with or without hyphens).
|
|
573
|
-
* @param {Array<JsonPatchOperation>} jsonPatchOperation
|
|
574
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
575
|
-
* @throws {RequiredError}
|
|
576
|
-
*/
|
|
577
|
-
patchEntitlementConnectionByQueryV1: (entitlementId: string, identityId: string, accountId: string, jsonPatchOperation: Array<JsonPatchOperation>, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
578
|
-
/**
|
|
579
|
-
* Updates connection type for up to 100 connections in one request. The API returns per-item results in a 207 Multi-Status response.
|
|
580
|
-
* @summary Update connections in bulk
|
|
581
|
-
* @param {Array<EntitlementConnectionBulkUpdateItem>} entitlementConnectionBulkUpdateItem
|
|
582
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
583
|
-
* @throws {RequiredError}
|
|
584
|
-
*/
|
|
585
|
-
updateEntitlementConnectionsBulkV1: (entitlementConnectionBulkUpdateItem: Array<EntitlementConnectionBulkUpdateItem>, axiosOptions?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
586
512
|
};
|
|
587
513
|
/**
|
|
588
514
|
* EntitlementConnectionsApi - functional programming interface
|
|
@@ -624,25 +550,6 @@ export declare const EntitlementConnectionsApiFp: (configuration?: Configuration
|
|
|
624
550
|
* @throws {RequiredError}
|
|
625
551
|
*/
|
|
626
552
|
patchEntitlementConnectionByIdV1(connectionId: string, jsonPatchOperation: Array<JsonPatchOperation>, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EntitlementConnection>>;
|
|
627
|
-
/**
|
|
628
|
-
* Applies JSON Patch operations to a single entitlement connection selected by `entitlementId`, `identityId`, and `accountId`.
|
|
629
|
-
* @summary Update connection by query
|
|
630
|
-
* @param {string} entitlementId Entitlement ID (UUID with or without hyphens).
|
|
631
|
-
* @param {string} identityId Identity ID (UUID with or without hyphens).
|
|
632
|
-
* @param {string} accountId Account ID (UUID with or without hyphens).
|
|
633
|
-
* @param {Array<JsonPatchOperation>} jsonPatchOperation
|
|
634
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
635
|
-
* @throws {RequiredError}
|
|
636
|
-
*/
|
|
637
|
-
patchEntitlementConnectionByQueryV1(entitlementId: string, identityId: string, accountId: string, jsonPatchOperation: Array<JsonPatchOperation>, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EntitlementConnection>>;
|
|
638
|
-
/**
|
|
639
|
-
* Updates connection type for up to 100 connections in one request. The API returns per-item results in a 207 Multi-Status response.
|
|
640
|
-
* @summary Update connections in bulk
|
|
641
|
-
* @param {Array<EntitlementConnectionBulkUpdateItem>} entitlementConnectionBulkUpdateItem
|
|
642
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
643
|
-
* @throws {RequiredError}
|
|
644
|
-
*/
|
|
645
|
-
updateEntitlementConnectionsBulkV1(entitlementConnectionBulkUpdateItem: Array<EntitlementConnectionBulkUpdateItem>, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EntitlementConnectionBulkUpdateResultItem>>>;
|
|
646
553
|
};
|
|
647
554
|
/**
|
|
648
555
|
* EntitlementConnectionsApi - factory interface
|
|
@@ -673,22 +580,6 @@ export declare const EntitlementConnectionsApiFactory: (configuration?: Configur
|
|
|
673
580
|
* @throws {RequiredError}
|
|
674
581
|
*/
|
|
675
582
|
patchEntitlementConnectionByIdV1(requestParameters: EntitlementConnectionsApiPatchEntitlementConnectionByIdV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<EntitlementConnection>;
|
|
676
|
-
/**
|
|
677
|
-
* Applies JSON Patch operations to a single entitlement connection selected by `entitlementId`, `identityId`, and `accountId`.
|
|
678
|
-
* @summary Update connection by query
|
|
679
|
-
* @param {EntitlementConnectionsApiPatchEntitlementConnectionByQueryV1Request} requestParameters Request parameters.
|
|
680
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
681
|
-
* @throws {RequiredError}
|
|
682
|
-
*/
|
|
683
|
-
patchEntitlementConnectionByQueryV1(requestParameters: EntitlementConnectionsApiPatchEntitlementConnectionByQueryV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<EntitlementConnection>;
|
|
684
|
-
/**
|
|
685
|
-
* Updates connection type for up to 100 connections in one request. The API returns per-item results in a 207 Multi-Status response.
|
|
686
|
-
* @summary Update connections in bulk
|
|
687
|
-
* @param {EntitlementConnectionsApiUpdateEntitlementConnectionsBulkV1Request} requestParameters Request parameters.
|
|
688
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
689
|
-
* @throws {RequiredError}
|
|
690
|
-
*/
|
|
691
|
-
updateEntitlementConnectionsBulkV1(requestParameters: EntitlementConnectionsApiUpdateEntitlementConnectionsBulkV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<EntitlementConnectionBulkUpdateResultItem>>;
|
|
692
583
|
};
|
|
693
584
|
/**
|
|
694
585
|
* Request parameters for listEntitlementConnectionsForCurrentIdentityV1 operation in EntitlementConnectionsApi.
|
|
@@ -795,50 +686,6 @@ export interface EntitlementConnectionsApiPatchEntitlementConnectionByIdV1Reques
|
|
|
795
686
|
*/
|
|
796
687
|
readonly jsonPatchOperation: Array<JsonPatchOperation>;
|
|
797
688
|
}
|
|
798
|
-
/**
|
|
799
|
-
* Request parameters for patchEntitlementConnectionByQueryV1 operation in EntitlementConnectionsApi.
|
|
800
|
-
* @export
|
|
801
|
-
* @interface EntitlementConnectionsApiPatchEntitlementConnectionByQueryV1Request
|
|
802
|
-
*/
|
|
803
|
-
export interface EntitlementConnectionsApiPatchEntitlementConnectionByQueryV1Request {
|
|
804
|
-
/**
|
|
805
|
-
* Entitlement ID (UUID with or without hyphens).
|
|
806
|
-
* @type {string}
|
|
807
|
-
* @memberof EntitlementConnectionsApiPatchEntitlementConnectionByQueryV1
|
|
808
|
-
*/
|
|
809
|
-
readonly entitlementId: string;
|
|
810
|
-
/**
|
|
811
|
-
* Identity ID (UUID with or without hyphens).
|
|
812
|
-
* @type {string}
|
|
813
|
-
* @memberof EntitlementConnectionsApiPatchEntitlementConnectionByQueryV1
|
|
814
|
-
*/
|
|
815
|
-
readonly identityId: string;
|
|
816
|
-
/**
|
|
817
|
-
* Account ID (UUID with or without hyphens).
|
|
818
|
-
* @type {string}
|
|
819
|
-
* @memberof EntitlementConnectionsApiPatchEntitlementConnectionByQueryV1
|
|
820
|
-
*/
|
|
821
|
-
readonly accountId: string;
|
|
822
|
-
/**
|
|
823
|
-
*
|
|
824
|
-
* @type {Array<JsonPatchOperation>}
|
|
825
|
-
* @memberof EntitlementConnectionsApiPatchEntitlementConnectionByQueryV1
|
|
826
|
-
*/
|
|
827
|
-
readonly jsonPatchOperation: Array<JsonPatchOperation>;
|
|
828
|
-
}
|
|
829
|
-
/**
|
|
830
|
-
* Request parameters for updateEntitlementConnectionsBulkV1 operation in EntitlementConnectionsApi.
|
|
831
|
-
* @export
|
|
832
|
-
* @interface EntitlementConnectionsApiUpdateEntitlementConnectionsBulkV1Request
|
|
833
|
-
*/
|
|
834
|
-
export interface EntitlementConnectionsApiUpdateEntitlementConnectionsBulkV1Request {
|
|
835
|
-
/**
|
|
836
|
-
*
|
|
837
|
-
* @type {Array<EntitlementConnectionBulkUpdateItem>}
|
|
838
|
-
* @memberof EntitlementConnectionsApiUpdateEntitlementConnectionsBulkV1
|
|
839
|
-
*/
|
|
840
|
-
readonly entitlementConnectionBulkUpdateItem: Array<EntitlementConnectionBulkUpdateItem>;
|
|
841
|
-
}
|
|
842
689
|
/**
|
|
843
690
|
* EntitlementConnectionsApi - object-oriented interface
|
|
844
691
|
* @export
|
|
@@ -873,22 +720,4 @@ export declare class EntitlementConnectionsApi extends BaseAPI {
|
|
|
873
720
|
* @memberof EntitlementConnectionsApi
|
|
874
721
|
*/
|
|
875
722
|
patchEntitlementConnectionByIdV1(requestParameters: EntitlementConnectionsApiPatchEntitlementConnectionByIdV1Request, axiosOptions?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EntitlementConnection, any>>;
|
|
876
|
-
/**
|
|
877
|
-
* Applies JSON Patch operations to a single entitlement connection selected by `entitlementId`, `identityId`, and `accountId`.
|
|
878
|
-
* @summary Update connection by query
|
|
879
|
-
* @param {EntitlementConnectionsApiPatchEntitlementConnectionByQueryV1Request} requestParameters Request parameters.
|
|
880
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
881
|
-
* @throws {RequiredError}
|
|
882
|
-
* @memberof EntitlementConnectionsApi
|
|
883
|
-
*/
|
|
884
|
-
patchEntitlementConnectionByQueryV1(requestParameters: EntitlementConnectionsApiPatchEntitlementConnectionByQueryV1Request, axiosOptions?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EntitlementConnection, any>>;
|
|
885
|
-
/**
|
|
886
|
-
* Updates connection type for up to 100 connections in one request. The API returns per-item results in a 207 Multi-Status response.
|
|
887
|
-
* @summary Update connections in bulk
|
|
888
|
-
* @param {EntitlementConnectionsApiUpdateEntitlementConnectionsBulkV1Request} requestParameters Request parameters.
|
|
889
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
890
|
-
* @throws {RequiredError}
|
|
891
|
-
* @memberof EntitlementConnectionsApi
|
|
892
|
-
*/
|
|
893
|
-
updateEntitlementConnectionsBulkV1(requestParameters: EntitlementConnectionsApiUpdateEntitlementConnectionsBulkV1Request, axiosOptions?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EntitlementConnectionBulkUpdateResultItem[], any>>;
|
|
894
723
|
}
|
|
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.EntitlementConnectionsApi = exports.EntitlementConnectionsApiFactory = exports.EntitlementConnectionsApiFp = exports.EntitlementConnectionsApiAxiosParamCreator = exports.LocaleOrigin = exports.JsonPatchOperationOpEnum = exports.EntitlementConnectionSearchHitTypeEnum = exports.
|
|
81
|
+
exports.EntitlementConnectionsApi = exports.EntitlementConnectionsApiFactory = exports.EntitlementConnectionsApiFp = exports.EntitlementConnectionsApiAxiosParamCreator = exports.LocaleOrigin = exports.JsonPatchOperationOpEnum = exports.EntitlementConnectionSearchHitTypeEnum = exports.EntitlementConnectionTypeEnum = void 0;
|
|
82
82
|
var axios_1 = __importDefault(require("axios"));
|
|
83
83
|
// Some imports not used depending on template conditions
|
|
84
84
|
// @ts-ignore
|
|
@@ -90,10 +90,6 @@ exports.EntitlementConnectionTypeEnum = {
|
|
|
90
90
|
Standing: 'STANDING',
|
|
91
91
|
Na: 'NA'
|
|
92
92
|
};
|
|
93
|
-
exports.EntitlementConnectionBulkUpdateItemTypeEnum = {
|
|
94
|
-
Jit: 'JIT',
|
|
95
|
-
Standing: 'STANDING'
|
|
96
|
-
};
|
|
97
93
|
exports.EntitlementConnectionSearchHitTypeEnum = {
|
|
98
94
|
Jit: 'JIT',
|
|
99
95
|
Standing: 'STANDING',
|
|
@@ -267,92 +263,6 @@ var EntitlementConnectionsApiAxiosParamCreator = function (configuration) {
|
|
|
267
263
|
});
|
|
268
264
|
});
|
|
269
265
|
},
|
|
270
|
-
/**
|
|
271
|
-
* Applies JSON Patch operations to a single entitlement connection selected by `entitlementId`, `identityId`, and `accountId`.
|
|
272
|
-
* @summary Update connection by query
|
|
273
|
-
* @param {string} entitlementId Entitlement ID (UUID with or without hyphens).
|
|
274
|
-
* @param {string} identityId Identity ID (UUID with or without hyphens).
|
|
275
|
-
* @param {string} accountId Account ID (UUID with or without hyphens).
|
|
276
|
-
* @param {Array<JsonPatchOperation>} jsonPatchOperation
|
|
277
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
278
|
-
* @throws {RequiredError}
|
|
279
|
-
*/
|
|
280
|
-
patchEntitlementConnectionByQueryV1: function (entitlementId, identityId, accountId, jsonPatchOperation, axiosOptions) {
|
|
281
|
-
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
282
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
283
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
284
|
-
return __generator(this, function (_a) {
|
|
285
|
-
// verify required parameter 'entitlementId' is not null or undefined
|
|
286
|
-
(0, common_1.assertParamExists)('patchEntitlementConnectionByQueryV1', 'entitlementId', entitlementId);
|
|
287
|
-
// verify required parameter 'identityId' is not null or undefined
|
|
288
|
-
(0, common_1.assertParamExists)('patchEntitlementConnectionByQueryV1', 'identityId', identityId);
|
|
289
|
-
// verify required parameter 'accountId' is not null or undefined
|
|
290
|
-
(0, common_1.assertParamExists)('patchEntitlementConnectionByQueryV1', 'accountId', accountId);
|
|
291
|
-
// verify required parameter 'jsonPatchOperation' is not null or undefined
|
|
292
|
-
(0, common_1.assertParamExists)('patchEntitlementConnectionByQueryV1', 'jsonPatchOperation', jsonPatchOperation);
|
|
293
|
-
localVarPath = "/entitlement-connections/v1";
|
|
294
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
295
|
-
if (configuration) {
|
|
296
|
-
baseOptions = configuration.baseOptions;
|
|
297
|
-
}
|
|
298
|
-
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), axiosOptions);
|
|
299
|
-
localVarHeaderParameter = {};
|
|
300
|
-
localVarQueryParameter = {};
|
|
301
|
-
if (entitlementId !== undefined) {
|
|
302
|
-
localVarQueryParameter['entitlementId'] = entitlementId;
|
|
303
|
-
}
|
|
304
|
-
if (identityId !== undefined) {
|
|
305
|
-
localVarQueryParameter['identityId'] = identityId;
|
|
306
|
-
}
|
|
307
|
-
if (accountId !== undefined) {
|
|
308
|
-
localVarQueryParameter['accountId'] = accountId;
|
|
309
|
-
}
|
|
310
|
-
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
311
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
312
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
313
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
314
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(jsonPatchOperation, localVarRequestOptions, configuration);
|
|
315
|
-
return [2 /*return*/, {
|
|
316
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
317
|
-
axiosOptions: localVarRequestOptions,
|
|
318
|
-
}];
|
|
319
|
-
});
|
|
320
|
-
});
|
|
321
|
-
},
|
|
322
|
-
/**
|
|
323
|
-
* Updates connection type for up to 100 connections in one request. The API returns per-item results in a 207 Multi-Status response.
|
|
324
|
-
* @summary Update connections in bulk
|
|
325
|
-
* @param {Array<EntitlementConnectionBulkUpdateItem>} entitlementConnectionBulkUpdateItem
|
|
326
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
327
|
-
* @throws {RequiredError}
|
|
328
|
-
*/
|
|
329
|
-
updateEntitlementConnectionsBulkV1: function (entitlementConnectionBulkUpdateItem, axiosOptions) {
|
|
330
|
-
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
331
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
332
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
333
|
-
return __generator(this, function (_a) {
|
|
334
|
-
// verify required parameter 'entitlementConnectionBulkUpdateItem' is not null or undefined
|
|
335
|
-
(0, common_1.assertParamExists)('updateEntitlementConnectionsBulkV1', 'entitlementConnectionBulkUpdateItem', entitlementConnectionBulkUpdateItem);
|
|
336
|
-
localVarPath = "/entitlement-connections/v1";
|
|
337
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
338
|
-
if (configuration) {
|
|
339
|
-
baseOptions = configuration.baseOptions;
|
|
340
|
-
}
|
|
341
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
|
|
342
|
-
localVarHeaderParameter = {};
|
|
343
|
-
localVarQueryParameter = {};
|
|
344
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
345
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
346
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
347
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
348
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(entitlementConnectionBulkUpdateItem, localVarRequestOptions, configuration);
|
|
349
|
-
return [2 /*return*/, {
|
|
350
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
351
|
-
axiosOptions: localVarRequestOptions,
|
|
352
|
-
}];
|
|
353
|
-
});
|
|
354
|
-
});
|
|
355
|
-
},
|
|
356
266
|
};
|
|
357
267
|
};
|
|
358
268
|
exports.EntitlementConnectionsApiAxiosParamCreator = EntitlementConnectionsApiAxiosParamCreator;
|
|
@@ -443,55 +353,6 @@ var EntitlementConnectionsApiFp = function (configuration) {
|
|
|
443
353
|
});
|
|
444
354
|
});
|
|
445
355
|
},
|
|
446
|
-
/**
|
|
447
|
-
* Applies JSON Patch operations to a single entitlement connection selected by `entitlementId`, `identityId`, and `accountId`.
|
|
448
|
-
* @summary Update connection by query
|
|
449
|
-
* @param {string} entitlementId Entitlement ID (UUID with or without hyphens).
|
|
450
|
-
* @param {string} identityId Identity ID (UUID with or without hyphens).
|
|
451
|
-
* @param {string} accountId Account ID (UUID with or without hyphens).
|
|
452
|
-
* @param {Array<JsonPatchOperation>} jsonPatchOperation
|
|
453
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
454
|
-
* @throws {RequiredError}
|
|
455
|
-
*/
|
|
456
|
-
patchEntitlementConnectionByQueryV1: function (entitlementId, identityId, accountId, jsonPatchOperation, axiosOptions) {
|
|
457
|
-
var _a, _b, _c;
|
|
458
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
459
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
460
|
-
return __generator(this, function (_d) {
|
|
461
|
-
switch (_d.label) {
|
|
462
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchEntitlementConnectionByQueryV1(entitlementId, identityId, accountId, jsonPatchOperation, axiosOptions)];
|
|
463
|
-
case 1:
|
|
464
|
-
localVarAxiosArgs = _d.sent();
|
|
465
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
466
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EntitlementConnectionsApi.patchEntitlementConnectionByQueryV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
467
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
468
|
-
}
|
|
469
|
-
});
|
|
470
|
-
});
|
|
471
|
-
},
|
|
472
|
-
/**
|
|
473
|
-
* Updates connection type for up to 100 connections in one request. The API returns per-item results in a 207 Multi-Status response.
|
|
474
|
-
* @summary Update connections in bulk
|
|
475
|
-
* @param {Array<EntitlementConnectionBulkUpdateItem>} entitlementConnectionBulkUpdateItem
|
|
476
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
477
|
-
* @throws {RequiredError}
|
|
478
|
-
*/
|
|
479
|
-
updateEntitlementConnectionsBulkV1: function (entitlementConnectionBulkUpdateItem, axiosOptions) {
|
|
480
|
-
var _a, _b, _c;
|
|
481
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
482
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
483
|
-
return __generator(this, function (_d) {
|
|
484
|
-
switch (_d.label) {
|
|
485
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateEntitlementConnectionsBulkV1(entitlementConnectionBulkUpdateItem, axiosOptions)];
|
|
486
|
-
case 1:
|
|
487
|
-
localVarAxiosArgs = _d.sent();
|
|
488
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
489
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EntitlementConnectionsApi.updateEntitlementConnectionsBulkV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
490
|
-
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
491
|
-
}
|
|
492
|
-
});
|
|
493
|
-
});
|
|
494
|
-
},
|
|
495
356
|
};
|
|
496
357
|
};
|
|
497
358
|
exports.EntitlementConnectionsApiFp = EntitlementConnectionsApiFp;
|
|
@@ -534,26 +395,6 @@ var EntitlementConnectionsApiFactory = function (configuration, basePath, axios)
|
|
|
534
395
|
patchEntitlementConnectionByIdV1: function (requestParameters, axiosOptions) {
|
|
535
396
|
return localVarFp.patchEntitlementConnectionByIdV1(requestParameters.connectionId, requestParameters.jsonPatchOperation, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
536
397
|
},
|
|
537
|
-
/**
|
|
538
|
-
* Applies JSON Patch operations to a single entitlement connection selected by `entitlementId`, `identityId`, and `accountId`.
|
|
539
|
-
* @summary Update connection by query
|
|
540
|
-
* @param {EntitlementConnectionsApiPatchEntitlementConnectionByQueryV1Request} requestParameters Request parameters.
|
|
541
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
542
|
-
* @throws {RequiredError}
|
|
543
|
-
*/
|
|
544
|
-
patchEntitlementConnectionByQueryV1: function (requestParameters, axiosOptions) {
|
|
545
|
-
return localVarFp.patchEntitlementConnectionByQueryV1(requestParameters.entitlementId, requestParameters.identityId, requestParameters.accountId, requestParameters.jsonPatchOperation, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
546
|
-
},
|
|
547
|
-
/**
|
|
548
|
-
* Updates connection type for up to 100 connections in one request. The API returns per-item results in a 207 Multi-Status response.
|
|
549
|
-
* @summary Update connections in bulk
|
|
550
|
-
* @param {EntitlementConnectionsApiUpdateEntitlementConnectionsBulkV1Request} requestParameters Request parameters.
|
|
551
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
552
|
-
* @throws {RequiredError}
|
|
553
|
-
*/
|
|
554
|
-
updateEntitlementConnectionsBulkV1: function (requestParameters, axiosOptions) {
|
|
555
|
-
return localVarFp.updateEntitlementConnectionsBulkV1(requestParameters.entitlementConnectionBulkUpdateItem, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
556
|
-
},
|
|
557
398
|
};
|
|
558
399
|
};
|
|
559
400
|
exports.EntitlementConnectionsApiFactory = EntitlementConnectionsApiFactory;
|
|
@@ -606,30 +447,6 @@ var EntitlementConnectionsApi = /** @class */ (function (_super) {
|
|
|
606
447
|
var _this = this;
|
|
607
448
|
return (0, exports.EntitlementConnectionsApiFp)(this.configuration).patchEntitlementConnectionByIdV1(requestParameters.connectionId, requestParameters.jsonPatchOperation, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
608
449
|
};
|
|
609
|
-
/**
|
|
610
|
-
* Applies JSON Patch operations to a single entitlement connection selected by `entitlementId`, `identityId`, and `accountId`.
|
|
611
|
-
* @summary Update connection by query
|
|
612
|
-
* @param {EntitlementConnectionsApiPatchEntitlementConnectionByQueryV1Request} requestParameters Request parameters.
|
|
613
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
614
|
-
* @throws {RequiredError}
|
|
615
|
-
* @memberof EntitlementConnectionsApi
|
|
616
|
-
*/
|
|
617
|
-
EntitlementConnectionsApi.prototype.patchEntitlementConnectionByQueryV1 = function (requestParameters, axiosOptions) {
|
|
618
|
-
var _this = this;
|
|
619
|
-
return (0, exports.EntitlementConnectionsApiFp)(this.configuration).patchEntitlementConnectionByQueryV1(requestParameters.entitlementId, requestParameters.identityId, requestParameters.accountId, requestParameters.jsonPatchOperation, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
620
|
-
};
|
|
621
|
-
/**
|
|
622
|
-
* Updates connection type for up to 100 connections in one request. The API returns per-item results in a 207 Multi-Status response.
|
|
623
|
-
* @summary Update connections in bulk
|
|
624
|
-
* @param {EntitlementConnectionsApiUpdateEntitlementConnectionsBulkV1Request} requestParameters Request parameters.
|
|
625
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
626
|
-
* @throws {RequiredError}
|
|
627
|
-
* @memberof EntitlementConnectionsApi
|
|
628
|
-
*/
|
|
629
|
-
EntitlementConnectionsApi.prototype.updateEntitlementConnectionsBulkV1 = function (requestParameters, axiosOptions) {
|
|
630
|
-
var _this = this;
|
|
631
|
-
return (0, exports.EntitlementConnectionsApiFp)(this.configuration).updateEntitlementConnectionsBulkV1(requestParameters.entitlementConnectionBulkUpdateItem, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
632
|
-
};
|
|
633
450
|
return EntitlementConnectionsApi;
|
|
634
451
|
}(base_1.BaseAPI));
|
|
635
452
|
exports.EntitlementConnectionsApi = EntitlementConnectionsApi;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../entitlement_connections/api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKH,gDAAgC;AAChC,yDAAyD;AAC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EAAlC,CAAkC,CAAC,CAAC;IACrS,CAAC;IAED;;;;;;;OAOG;IACI,sEAAkC,GAAzC,UAA0C,iBAAqF,EAAE,YAAoC;QAArK,iBAEC;QADG,OAAO,IAAA,mCAA2B,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,kCAAkC,CAAC,iBAAiB,CAAC,mCAAmC,EAAE,YAAY,CAAC,CAAC,IAAI,CAAC,UAAC,OAAO,IAAK,OAAA,OAAO,CAAC,KAAI,CAAC,KAAK,EAAE,KAAI,CAAC,QAAQ,CAAC,EAAlC,CAAkC,CAAC,CAAC;IACzN,CAAC;IACL,gCAAC;AAAD,CAAC,AA5DD,CAA+C,cAAO,GA4DrD;AA5DY,8DAAyB","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * Identity Security Cloud API - Entitlement Connections\n * Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.\n *\n * The version of the OpenAPI document: v1\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from '../configuration';\nimport type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';\nimport globalAxios from 'axios';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';\nimport type { RequestArgs } from './base';\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';\n\n/**\n * \n * @export\n * @interface ArrayInner\n */\nexport interface ArrayInner {\n}\n/**\n * Entitlement connection entity returned by patch APIs.\n * @export\n * @interface EntitlementConnection\n */\nexport interface EntitlementConnection {\n /**\n * Tenant identifier that owns the connection.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'tenantId'?: string;\n /**\n * Entitlement connection identifier.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'connectionId'?: string;\n /**\n * Identity identifier associated with the connection.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'identityId'?: string;\n /**\n * Machine identity identifier when the connection is machine-backed.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'machineIdentityId'?: string;\n /**\n * Account identifier for the connected source account.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'accountId'?: string;\n /**\n * Entitlement identifier on the source.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'entitlementId'?: string;\n /**\n * Source identifier that provides the account and entitlement.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'sourceId'?: string;\n /**\n * Indicates whether the connection is marked as standalone.\n * @type {boolean}\n * @memberof EntitlementConnection\n */\n 'standalone'?: boolean;\n /**\n * Entitlement attribute name on the source.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'attributeName'?: string;\n /**\n * Entitlement attribute value on the source.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'attributeValue'?: string;\n /**\n * Connection type classification.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'type'?: EntitlementConnectionTypeEnum;\n /**\n * Current lifecycle state of the connection.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'state'?: string;\n /**\n * Time the connection state was last updated.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'stateChanged'?: string;\n /**\n * Identifier of the actor that last changed state.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'stateChangedBy'?: string;\n /**\n * Time JIT activation occurred.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'jitActivation'?: string;\n /**\n * Time provisioning completed for JIT activation.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'jitProvision'?: string;\n /**\n * Time JIT deactivation occurred.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'jitDeactivation'?: string;\n /**\n * Time deprovisioning completed after JIT deactivation.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'jitDeprovision'?: string;\n /**\n * Time when JIT access expires.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'jitExpiration'?: string;\n /**\n * Time after which the connection is eligible for deletion.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'deleteAfter'?: string;\n /**\n * Time when the connection was created.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'created'?: string;\n /**\n * Time when the connection was last modified.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'modified'?: string;\n /**\n * Display value for the actor associated with the latest change.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'actorName'?: string;\n}\n\nexport const EntitlementConnectionTypeEnum = {\n Jit: 'JIT',\n Standing: 'STANDING',\n Na: 'NA'\n} as const;\n\nexport type EntitlementConnectionTypeEnum = typeof EntitlementConnectionTypeEnum[keyof typeof EntitlementConnectionTypeEnum];\n\n/**\n * \n * @export\n * @interface EntitlementConnectionBulkUpdateItem\n */\nexport interface EntitlementConnectionBulkUpdateItem {\n /**\n * Connection ID to update.\n * @type {string}\n * @memberof EntitlementConnectionBulkUpdateItem\n */\n 'connectionId': string;\n /**\n * Target connection type.\n * @type {string}\n * @memberof EntitlementConnectionBulkUpdateItem\n */\n 'type': EntitlementConnectionBulkUpdateItemTypeEnum;\n}\n\nexport const EntitlementConnectionBulkUpdateItemTypeEnum = {\n Jit: 'JIT',\n Standing: 'STANDING'\n} as const;\n\nexport type EntitlementConnectionBulkUpdateItemTypeEnum = typeof EntitlementConnectionBulkUpdateItemTypeEnum[keyof typeof EntitlementConnectionBulkUpdateItemTypeEnum];\n\n/**\n * \n * @export\n * @interface EntitlementConnectionBulkUpdateResultItem\n */\nexport interface EntitlementConnectionBulkUpdateResultItem {\n /**\n * Connection ID processed in this row.\n * @type {string}\n * @memberof EntitlementConnectionBulkUpdateResultItem\n */\n 'connectionId'?: string;\n /**\n * Requested or resulting connection type for the row.\n * @type {string}\n * @memberof EntitlementConnectionBulkUpdateResultItem\n */\n 'type'?: string;\n /**\n * Item-level result status code.\n * @type {number}\n * @memberof EntitlementConnectionBulkUpdateResultItem\n */\n 'status'?: number;\n /**\n * Item-level result message.\n * @type {string}\n * @memberof EntitlementConnectionBulkUpdateResultItem\n */\n 'description'?: string;\n}\n/**\n * Entitlement connection record returned by search-backed list endpoints.\n * @export\n * @interface EntitlementConnectionSearchHit\n */\nexport interface EntitlementConnectionSearchHit {\n /**\n * Connection ID as represented in search results.\n * @type {string}\n * @memberof EntitlementConnectionSearchHit\n */\n 'id'?: string;\n /**\n * Identity summary object from search index.\n * @type {{ [key: string]: any; }}\n * @memberof EntitlementConnectionSearchHit\n */\n 'identity'?: { [key: string]: any; };\n /**\n * Machine identity summary object when available.\n * @type {{ [key: string]: any; }}\n * @memberof EntitlementConnectionSearchHit\n */\n 'machineIdentity'?: { [key: string]: any; };\n /**\n * Account summary object.\n * @type {{ [key: string]: any; }}\n * @memberof EntitlementConnectionSearchHit\n */\n 'account'?: { [key: string]: any; };\n /**\n * \n * @type {EntitlementConnectionSearchHitEntitlement}\n * @memberof EntitlementConnectionSearchHit\n */\n 'entitlement'?: EntitlementConnectionSearchHitEntitlement;\n /**\n * Source summary object.\n * @type {{ [key: string]: any; }}\n * @memberof EntitlementConnectionSearchHit\n */\n 'source'?: { [key: string]: any; };\n /**\n * Connection state object.\n * @type {{ [key: string]: any; }}\n * @memberof EntitlementConnectionSearchHit\n */\n 'state'?: { [key: string]: any; };\n /**\n * JIT timestamps for lifecycle events.\n * @type {{ [key: string]: any; }}\n * @memberof EntitlementConnectionSearchHit\n */\n 'jit'?: { [key: string]: any; };\n /**\n * Indicates whether the connection is marked as standalone.\n * @type {boolean}\n * @memberof EntitlementConnectionSearchHit\n */\n 'standalone'?: boolean;\n /**\n * Connection type classification.\n * @type {string}\n * @memberof EntitlementConnectionSearchHit\n */\n 'type'?: EntitlementConnectionSearchHitTypeEnum;\n}\n\nexport const EntitlementConnectionSearchHitTypeEnum = {\n Jit: 'JIT',\n Standing: 'STANDING',\n Na: 'NA'\n} as const;\n\nexport type EntitlementConnectionSearchHitTypeEnum = typeof EntitlementConnectionSearchHitTypeEnum[keyof typeof EntitlementConnectionSearchHitTypeEnum];\n\n/**\n * Entitlement object embedded in entitlement connection search responses.\n * @export\n * @interface EntitlementConnectionSearchHitEntitlement\n */\nexport interface EntitlementConnectionSearchHitEntitlement {\n /**\n * Entitlement identifier.\n * @type {string}\n * @memberof EntitlementConnectionSearchHitEntitlement\n */\n 'id'?: string;\n /**\n * Entitlement name.\n * @type {string}\n * @memberof EntitlementConnectionSearchHitEntitlement\n */\n 'name'?: string;\n /**\n * Human-readable entitlement label.\n * @type {string}\n * @memberof EntitlementConnectionSearchHitEntitlement\n */\n 'displayName'?: string;\n /**\n * Entitlement description.\n * @type {string}\n * @memberof EntitlementConnectionSearchHitEntitlement\n */\n 'description'?: string;\n /**\n * Source attribute carrying entitlement values.\n * @type {string}\n * @memberof EntitlementConnectionSearchHitEntitlement\n */\n 'attribute'?: string;\n /**\n * Source entitlement value.\n * @type {string}\n * @memberof EntitlementConnectionSearchHitEntitlement\n */\n 'value'?: string;\n /**\n * Source schema object type for the entitlement.\n * @type {string}\n * @memberof EntitlementConnectionSearchHitEntitlement\n */\n 'sourceSchemaObjectType'?: string;\n /**\n * \n * @type {EntitlementConnectionSearchHitEntitlementPrivilegeLevel}\n * @memberof EntitlementConnectionSearchHitEntitlement\n */\n 'privilegeLevel'?: EntitlementConnectionSearchHitEntitlementPrivilegeLevel;\n}\n/**\n * Privilege classification details for the entitlement.\n * @export\n * @interface EntitlementConnectionSearchHitEntitlementPrivilegeLevel\n */\nexport interface EntitlementConnectionSearchHitEntitlementPrivilegeLevel {\n /**\n * Effective privilege level.\n * @type {string}\n * @memberof EntitlementConnectionSearchHitEntitlementPrivilegeLevel\n */\n 'effective'?: string;\n}\n/**\n * \n * @export\n * @interface ErrorMessageDto\n */\nexport interface ErrorMessageDto {\n /**\n * The locale for the message text, a BCP 47 language tag.\n * @type {string}\n * @memberof ErrorMessageDto\n */\n 'locale'?: string | null;\n /**\n * \n * @type {LocaleOrigin}\n * @memberof ErrorMessageDto\n */\n 'localeOrigin'?: LocaleOrigin | null;\n /**\n * Actual text of the error message in the indicated locale.\n * @type {string}\n * @memberof ErrorMessageDto\n */\n 'text'?: string;\n}\n\n\n/**\n * \n * @export\n * @interface ErrorResponseDto\n */\nexport interface ErrorResponseDto {\n /**\n * Fine-grained error code providing more detail of the error.\n * @type {string}\n * @memberof ErrorResponseDto\n */\n 'detailCode'?: string;\n /**\n * Unique tracking id for the error.\n * @type {string}\n * @memberof ErrorResponseDto\n */\n 'trackingId'?: string;\n /**\n * Generic localized reason for error\n * @type {Array<ErrorMessageDto>}\n * @memberof ErrorResponseDto\n */\n 'messages'?: Array<ErrorMessageDto>;\n /**\n * Plain-text descriptive reasons to provide additional detail to the text provided in the messages field\n * @type {Array<ErrorMessageDto>}\n * @memberof ErrorResponseDto\n */\n 'causes'?: Array<ErrorMessageDto>;\n}\n/**\n * A JSONPatch Operation as defined by [RFC 6902 - JSON Patch](https://tools.ietf.org/html/rfc6902)\n * @export\n * @interface JsonPatchOperation\n */\nexport interface JsonPatchOperation {\n /**\n * The operation to be performed\n * @type {string}\n * @memberof JsonPatchOperation\n */\n 'op': JsonPatchOperationOpEnum;\n /**\n * A string JSON Pointer representing the target path to an element to be affected by the operation\n * @type {string}\n * @memberof JsonPatchOperation\n */\n 'path': string;\n /**\n * \n * @type {JsonPatchOperationValue}\n * @memberof JsonPatchOperation\n */\n 'value'?: JsonPatchOperationValue;\n}\n\nexport const JsonPatchOperationOpEnum = {\n Add: 'add',\n Remove: 'remove',\n Replace: 'replace',\n Move: 'move',\n Copy: 'copy',\n Test: 'test'\n} as const;\n\nexport type JsonPatchOperationOpEnum = typeof JsonPatchOperationOpEnum[keyof typeof JsonPatchOperationOpEnum];\n\n/**\n * @type JsonPatchOperationValue\n * The value to be used for the operation, required for \\\"add\\\" and \\\"replace\\\" operations\n * @export\n */\nexport type JsonPatchOperationValue = Array<ArrayInner> | boolean | number | object | string;\n\n/**\n * \n * @export\n * @interface ListEntitlementConnectionsV1401Response\n */\nexport interface ListEntitlementConnectionsV1401Response {\n /**\n * A message describing the error\n * @type {any}\n * @memberof ListEntitlementConnectionsV1401Response\n */\n 'error'?: any;\n}\n/**\n * \n * @export\n * @interface ListEntitlementConnectionsV1412Response\n */\nexport interface ListEntitlementConnectionsV1412Response {\n /**\n * A message describing the error\n * @type {any}\n * @memberof ListEntitlementConnectionsV1412Response\n */\n 'message'?: any;\n}\n/**\n * \n * @export\n * @interface ListEntitlementConnectionsV1429Response\n */\nexport interface ListEntitlementConnectionsV1429Response {\n /**\n * A message describing the error\n * @type {any}\n * @memberof ListEntitlementConnectionsV1429Response\n */\n 'message'?: any;\n}\n/**\n * An indicator of how the locale was selected. *DEFAULT* means the locale is the system default. *REQUEST* means the locale was selected from the request context (i.e., best match based on the *Accept-Language* header). Additional values may be added in the future without notice.\n * @export\n * @enum {string}\n */\n\nexport const LocaleOrigin = {\n Default: 'DEFAULT',\n Request: 'REQUEST'\n} as const;\n\nexport type LocaleOrigin = typeof LocaleOrigin[keyof typeof LocaleOrigin];\n\n\n\n/**\n * EntitlementConnectionsApi - axios parameter creator\n * @export\n */\nexport const EntitlementConnectionsApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * Returns entitlement connections constrained to the authenticated identity. This endpoint proxies to Search and supports standard collection query parameters. \n * @summary List my entitlement connections\n * @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.\n * @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.\n * @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.\n * @param {string} [searchAfter] Used to begin the search window at the values specified. This parameter consists of the last values of the sorted fields in the current record set. searchAfter length must match the number of sorters. This is used to expand the Elasticsearch limit of 10K records by shifting the 10K window to begin at this value. It is recommended that you always include the ID of the object in addition to any other fields on this parameter in order to ensure you don\\'t get duplicate results while paging. For example, if you are sorting by name you will also want to include ID, for example searchAfter=Account Payable,2c91808375d8e80a0175e1f88a575221&sorters=name,id. If the last entitlement ID in the search result is 2c91808375d8e80a0175e1f88a575221 and the last name is \\"Account Payable\\", then using that name and ID will start a new search after this entitlement.\n * @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: **identity.id**: *eq, in* **identity.name**: *eq, in, co* **source.id**: *eq, in* **source.name**: *eq, in, co* **account.id**: *eq, in* **account.name**: *eq, in, co* **entitlement.id**: *eq, in* **entitlement.attribute**: *eq, in, co* **entitlement.value**: *eq, in, co* **entitlement.privilegeLevel.effective**: *eq, in, co* **type**: *eq, in* **state.value**: *eq, in, co* **standalone**: *eq, in* **jit.activation**: *gt, lt, ge, le* **jit.provision**: *gt, lt, ge, le* **jit.deactivation**: *gt, lt, ge, le* **jit.deprovision**: *gt, lt, ge, le* **jit.expiration**: *gt, lt, ge, le* The authenticated identity scope is always applied by the service. \n * @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: **id, identity.id, identity.name, source.id, source.name, account.id, account.name, entitlement.id, entitlement.displayName, entitlement.attribute, entitlement.privilegeLevel.effective, type, state.value, standalone, jit.activation, jit.provision, jit.deactivation, jit.deprovision, jit.expiration** \n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n listEntitlementConnectionsForCurrentIdentityV1: async (offset?: number, limit?: number, count?: boolean, searchAfter?: string, filters?: string, sorters?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/entitlement-connections/v1/current-identity`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n if (offset !== undefined) {\n localVarQueryParameter['offset'] = offset;\n }\n\n if (limit !== undefined) {\n localVarQueryParameter['limit'] = limit;\n }\n\n if (count !== undefined) {\n localVarQueryParameter['count'] = count;\n }\n\n if (searchAfter !== undefined) {\n localVarQueryParameter['searchAfter'] = searchAfter;\n }\n\n if (filters !== undefined) {\n localVarQueryParameter['filters'] = filters;\n }\n\n if (sorters !== undefined) {\n localVarQueryParameter['sorters'] = sorters;\n }\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n axiosOptions: localVarRequestOptions,\n };\n },\n /**\n * Returns entitlement connections for the tenant. This endpoint proxies to Search and supports standard collection query parameters. The `filters` and `sorters` values support the Entitlement Connections search fields documented by ECS. \n * @summary List entitlement connections\n * @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.\n * @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.\n * @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.\n * @param {string} [searchAfter] Used to begin the search window at the values specified. This parameter consists of the last values of the sorted fields in the current record set. searchAfter length must match the number of sorters. This is used to expand the Elasticsearch limit of 10K records by shifting the 10K window to begin at this value. It is recommended that you always include the ID of the object in addition to any other fields on this parameter in order to ensure you don\\'t get duplicate results while paging. For example, if you are sorting by name you will also want to include ID, for example searchAfter=Account Payable,2c91808375d8e80a0175e1f88a575221&sorters=name,id. If the last entitlement ID in the search result is 2c91808375d8e80a0175e1f88a575221 and the last name is \\"Account Payable\\", then using that name and ID will start a new search after this entitlement.\n * @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: **identity.id**: *eq, in* **identity.name**: *eq, in, co* **source.id**: *eq, in* **source.name**: *eq, in, co* **account.id**: *eq, in* **account.name**: *eq, in, co* **entitlement.id**: *eq, in* **entitlement.attribute**: *eq, in, co* **entitlement.value**: *eq, in, co* **entitlement.privilegeLevel.effective**: *eq, in, co* **type**: *eq, in* **state.value**: *eq, in, co* **standalone**: *eq, in* **jit.activation**: *gt, lt, ge, le* **jit.provision**: *gt, lt, ge, le* **jit.deactivation**: *gt, lt, ge, le* **jit.deprovision**: *gt, lt, ge, le* **jit.expiration**: *gt, lt, ge, le* \n * @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: **id, identity.id, identity.name, source.id, source.name, account.id, account.name, entitlement.id, entitlement.displayName, entitlement.attribute, entitlement.privilegeLevel.effective, type, state.value, standalone, jit.activation, jit.provision, jit.deactivation, jit.deprovision, jit.expiration** Prefix a field with `-` for descending order. \n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n listEntitlementConnectionsV1: async (offset?: number, limit?: number, count?: boolean, searchAfter?: string, filters?: string, sorters?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/entitlement-connections/v1`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n if (offset !== undefined) {\n localVarQueryParameter['offset'] = offset;\n }\n\n if (limit !== undefined) {\n localVarQueryParameter['limit'] = limit;\n }\n\n if (count !== undefined) {\n localVarQueryParameter['count'] = count;\n }\n\n if (searchAfter !== undefined) {\n localVarQueryParameter['searchAfter'] = searchAfter;\n }\n\n if (filters !== undefined) {\n localVarQueryParameter['filters'] = filters;\n }\n\n if (sorters !== undefined) {\n localVarQueryParameter['sorters'] = sorters;\n }\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n axiosOptions: localVarRequestOptions,\n };\n },\n /**\n * Applies JSON Patch operations to an entitlement connection selected by `connectionId`. \n * @summary Update entitlement connection\n * @param {string} connectionId Connection ID (UUID with or without hyphens).\n * @param {Array<JsonPatchOperation>} jsonPatchOperation \n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n patchEntitlementConnectionByIdV1: async (connectionId: string, jsonPatchOperation: Array<JsonPatchOperation>, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'connectionId' is not null or undefined\n assertParamExists('patchEntitlementConnectionByIdV1', 'connectionId', connectionId)\n // verify required parameter 'jsonPatchOperation' is not null or undefined\n assertParamExists('patchEntitlementConnectionByIdV1', 'jsonPatchOperation', jsonPatchOperation)\n const localVarPath = `/entitlement-connections/v1/{connectionId}`\n .replace(`{${\"connectionId\"}}`, encodeURIComponent(String(connectionId)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...axiosOptions};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(jsonPatchOperation, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n axiosOptions: localVarRequestOptions,\n };\n },\n /**\n * Applies JSON Patch operations to a single entitlement connection selected by `entitlementId`, `identityId`, and `accountId`. \n * @summary Update connection by query\n * @param {string} entitlementId Entitlement ID (UUID with or without hyphens).\n * @param {string} identityId Identity ID (UUID with or without hyphens).\n * @param {string} accountId Account ID (UUID with or without hyphens).\n * @param {Array<JsonPatchOperation>} jsonPatchOperation \n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n patchEntitlementConnectionByQueryV1: async (entitlementId: string, identityId: string, accountId: string, jsonPatchOperation: Array<JsonPatchOperation>, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'entitlementId' is not null or undefined\n assertParamExists('patchEntitlementConnectionByQueryV1', 'entitlementId', entitlementId)\n // verify required parameter 'identityId' is not null or undefined\n assertParamExists('patchEntitlementConnectionByQueryV1', 'identityId', identityId)\n // verify required parameter 'accountId' is not null or undefined\n assertParamExists('patchEntitlementConnectionByQueryV1', 'accountId', accountId)\n // verify required parameter 'jsonPatchOperation' is not null or undefined\n assertParamExists('patchEntitlementConnectionByQueryV1', 'jsonPatchOperation', jsonPatchOperation)\n const localVarPath = `/entitlement-connections/v1`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...axiosOptions};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n if (entitlementId !== undefined) {\n localVarQueryParameter['entitlementId'] = entitlementId;\n }\n\n if (identityId !== undefined) {\n localVarQueryParameter['identityId'] = identityId;\n }\n\n if (accountId !== undefined) {\n localVarQueryParameter['accountId'] = accountId;\n }\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(jsonPatchOperation, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n axiosOptions: localVarRequestOptions,\n };\n },\n /**\n * Updates connection type for up to 100 connections in one request. The API returns per-item results in a 207 Multi-Status response. \n * @summary Update connections in bulk\n * @param {Array<EntitlementConnectionBulkUpdateItem>} entitlementConnectionBulkUpdateItem \n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n updateEntitlementConnectionsBulkV1: async (entitlementConnectionBulkUpdateItem: Array<EntitlementConnectionBulkUpdateItem>, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'entitlementConnectionBulkUpdateItem' is not null or undefined\n assertParamExists('updateEntitlementConnectionsBulkV1', 'entitlementConnectionBulkUpdateItem', entitlementConnectionBulkUpdateItem)\n const localVarPath = `/entitlement-connections/v1`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(entitlementConnectionBulkUpdateItem, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n axiosOptions: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * EntitlementConnectionsApi - functional programming interface\n * @export\n */\nexport const EntitlementConnectionsApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = EntitlementConnectionsApiAxiosParamCreator(configuration)\n return {\n /**\n * Returns entitlement connections constrained to the authenticated identity. This endpoint proxies to Search and supports standard collection query parameters. \n * @summary List my entitlement connections\n * @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.\n * @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.\n * @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.\n * @param {string} [searchAfter] Used to begin the search window at the values specified. This parameter consists of the last values of the sorted fields in the current record set. searchAfter length must match the number of sorters. This is used to expand the Elasticsearch limit of 10K records by shifting the 10K window to begin at this value. It is recommended that you always include the ID of the object in addition to any other fields on this parameter in order to ensure you don\\'t get duplicate results while paging. For example, if you are sorting by name you will also want to include ID, for example searchAfter=Account Payable,2c91808375d8e80a0175e1f88a575221&sorters=name,id. If the last entitlement ID in the search result is 2c91808375d8e80a0175e1f88a575221 and the last name is \\"Account Payable\\", then using that name and ID will start a new search after this entitlement.\n * @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: **identity.id**: *eq, in* **identity.name**: *eq, in, co* **source.id**: *eq, in* **source.name**: *eq, in, co* **account.id**: *eq, in* **account.name**: *eq, in, co* **entitlement.id**: *eq, in* **entitlement.attribute**: *eq, in, co* **entitlement.value**: *eq, in, co* **entitlement.privilegeLevel.effective**: *eq, in, co* **type**: *eq, in* **state.value**: *eq, in, co* **standalone**: *eq, in* **jit.activation**: *gt, lt, ge, le* **jit.provision**: *gt, lt, ge, le* **jit.deactivation**: *gt, lt, ge, le* **jit.deprovision**: *gt, lt, ge, le* **jit.expiration**: *gt, lt, ge, le* The authenticated identity scope is always applied by the service. \n * @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: **id, identity.id, identity.name, source.id, source.name, account.id, account.name, entitlement.id, entitlement.displayName, entitlement.attribute, entitlement.privilegeLevel.effective, type, state.value, standalone, jit.activation, jit.provision, jit.deactivation, jit.deprovision, jit.expiration** \n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n async listEntitlementConnectionsForCurrentIdentityV1(offset?: number, limit?: number, count?: boolean, searchAfter?: string, filters?: string, sorters?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EntitlementConnectionSearchHit>>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.listEntitlementConnectionsForCurrentIdentityV1(offset, limit, count, searchAfter, filters, sorters, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['EntitlementConnectionsApi.listEntitlementConnectionsForCurrentIdentityV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Returns entitlement connections for the tenant. This endpoint proxies to Search and supports standard collection query parameters. The `filters` and `sorters` values support the Entitlement Connections search fields documented by ECS. \n * @summary List entitlement connections\n * @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.\n * @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.\n * @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.\n * @param {string} [searchAfter] Used to begin the search window at the values specified. This parameter consists of the last values of the sorted fields in the current record set. searchAfter length must match the number of sorters. This is used to expand the Elasticsearch limit of 10K records by shifting the 10K window to begin at this value. It is recommended that you always include the ID of the object in addition to any other fields on this parameter in order to ensure you don\\'t get duplicate results while paging. For example, if you are sorting by name you will also want to include ID, for example searchAfter=Account Payable,2c91808375d8e80a0175e1f88a575221&sorters=name,id. If the last entitlement ID in the search result is 2c91808375d8e80a0175e1f88a575221 and the last name is \\"Account Payable\\", then using that name and ID will start a new search after this entitlement.\n * @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: **identity.id**: *eq, in* **identity.name**: *eq, in, co* **source.id**: *eq, in* **source.name**: *eq, in, co* **account.id**: *eq, in* **account.name**: *eq, in, co* **entitlement.id**: *eq, in* **entitlement.attribute**: *eq, in, co* **entitlement.value**: *eq, in, co* **entitlement.privilegeLevel.effective**: *eq, in, co* **type**: *eq, in* **state.value**: *eq, in, co* **standalone**: *eq, in* **jit.activation**: *gt, lt, ge, le* **jit.provision**: *gt, lt, ge, le* **jit.deactivation**: *gt, lt, ge, le* **jit.deprovision**: *gt, lt, ge, le* **jit.expiration**: *gt, lt, ge, le* \n * @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: **id, identity.id, identity.name, source.id, source.name, account.id, account.name, entitlement.id, entitlement.displayName, entitlement.attribute, entitlement.privilegeLevel.effective, type, state.value, standalone, jit.activation, jit.provision, jit.deactivation, jit.deprovision, jit.expiration** Prefix a field with `-` for descending order. \n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n async listEntitlementConnectionsV1(offset?: number, limit?: number, count?: boolean, searchAfter?: string, filters?: string, sorters?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EntitlementConnectionSearchHit>>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.listEntitlementConnectionsV1(offset, limit, count, searchAfter, filters, sorters, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['EntitlementConnectionsApi.listEntitlementConnectionsV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Applies JSON Patch operations to an entitlement connection selected by `connectionId`. \n * @summary Update entitlement connection\n * @param {string} connectionId Connection ID (UUID with or without hyphens).\n * @param {Array<JsonPatchOperation>} jsonPatchOperation \n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n async patchEntitlementConnectionByIdV1(connectionId: string, jsonPatchOperation: Array<JsonPatchOperation>, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EntitlementConnection>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.patchEntitlementConnectionByIdV1(connectionId, jsonPatchOperation, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['EntitlementConnectionsApi.patchEntitlementConnectionByIdV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Applies JSON Patch operations to a single entitlement connection selected by `entitlementId`, `identityId`, and `accountId`. \n * @summary Update connection by query\n * @param {string} entitlementId Entitlement ID (UUID with or without hyphens).\n * @param {string} identityId Identity ID (UUID with or without hyphens).\n * @param {string} accountId Account ID (UUID with or without hyphens).\n * @param {Array<JsonPatchOperation>} jsonPatchOperation \n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n async patchEntitlementConnectionByQueryV1(entitlementId: string, identityId: string, accountId: string, jsonPatchOperation: Array<JsonPatchOperation>, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EntitlementConnection>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.patchEntitlementConnectionByQueryV1(entitlementId, identityId, accountId, jsonPatchOperation, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['EntitlementConnectionsApi.patchEntitlementConnectionByQueryV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Updates connection type for up to 100 connections in one request. The API returns per-item results in a 207 Multi-Status response. \n * @summary Update connections in bulk\n * @param {Array<EntitlementConnectionBulkUpdateItem>} entitlementConnectionBulkUpdateItem \n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n async updateEntitlementConnectionsBulkV1(entitlementConnectionBulkUpdateItem: Array<EntitlementConnectionBulkUpdateItem>, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EntitlementConnectionBulkUpdateResultItem>>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.updateEntitlementConnectionsBulkV1(entitlementConnectionBulkUpdateItem, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['EntitlementConnectionsApi.updateEntitlementConnectionsBulkV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * EntitlementConnectionsApi - factory interface\n * @export\n */\nexport const EntitlementConnectionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = EntitlementConnectionsApiFp(configuration)\n return {\n /**\n * Returns entitlement connections constrained to the authenticated identity. This endpoint proxies to Search and supports standard collection query parameters. \n * @summary List my entitlement connections\n * @param {EntitlementConnectionsApiListEntitlementConnectionsForCurrentIdentityV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n listEntitlementConnectionsForCurrentIdentityV1(requestParameters: EntitlementConnectionsApiListEntitlementConnectionsForCurrentIdentityV1Request = {}, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<EntitlementConnectionSearchHit>> {\n return localVarFp.listEntitlementConnectionsForCurrentIdentityV1(requestParameters.offset, requestParameters.limit, requestParameters.count, requestParameters.searchAfter, requestParameters.filters, requestParameters.sorters, axiosOptions).then((request) => request(axios, basePath));\n },\n /**\n * Returns entitlement connections for the tenant. This endpoint proxies to Search and supports standard collection query parameters. The `filters` and `sorters` values support the Entitlement Connections search fields documented by ECS. \n * @summary List entitlement connections\n * @param {EntitlementConnectionsApiListEntitlementConnectionsV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n listEntitlementConnectionsV1(requestParameters: EntitlementConnectionsApiListEntitlementConnectionsV1Request = {}, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<EntitlementConnectionSearchHit>> {\n return localVarFp.listEntitlementConnectionsV1(requestParameters.offset, requestParameters.limit, requestParameters.count, requestParameters.searchAfter, requestParameters.filters, requestParameters.sorters, axiosOptions).then((request) => request(axios, basePath));\n },\n /**\n * Applies JSON Patch operations to an entitlement connection selected by `connectionId`. \n * @summary Update entitlement connection\n * @param {EntitlementConnectionsApiPatchEntitlementConnectionByIdV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n patchEntitlementConnectionByIdV1(requestParameters: EntitlementConnectionsApiPatchEntitlementConnectionByIdV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<EntitlementConnection> {\n return localVarFp.patchEntitlementConnectionByIdV1(requestParameters.connectionId, requestParameters.jsonPatchOperation, axiosOptions).then((request) => request(axios, basePath));\n },\n /**\n * Applies JSON Patch operations to a single entitlement connection selected by `entitlementId`, `identityId`, and `accountId`. \n * @summary Update connection by query\n * @param {EntitlementConnectionsApiPatchEntitlementConnectionByQueryV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n patchEntitlementConnectionByQueryV1(requestParameters: EntitlementConnectionsApiPatchEntitlementConnectionByQueryV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<EntitlementConnection> {\n return localVarFp.patchEntitlementConnectionByQueryV1(requestParameters.entitlementId, requestParameters.identityId, requestParameters.accountId, requestParameters.jsonPatchOperation, axiosOptions).then((request) => request(axios, basePath));\n },\n /**\n * Updates connection type for up to 100 connections in one request. The API returns per-item results in a 207 Multi-Status response. \n * @summary Update connections in bulk\n * @param {EntitlementConnectionsApiUpdateEntitlementConnectionsBulkV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n updateEntitlementConnectionsBulkV1(requestParameters: EntitlementConnectionsApiUpdateEntitlementConnectionsBulkV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<EntitlementConnectionBulkUpdateResultItem>> {\n return localVarFp.updateEntitlementConnectionsBulkV1(requestParameters.entitlementConnectionBulkUpdateItem, axiosOptions).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * Request parameters for listEntitlementConnectionsForCurrentIdentityV1 operation in EntitlementConnectionsApi.\n * @export\n * @interface EntitlementConnectionsApiListEntitlementConnectionsForCurrentIdentityV1Request\n */\nexport interface EntitlementConnectionsApiListEntitlementConnectionsForCurrentIdentityV1Request {\n /**\n * 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.\n * @type {number}\n * @memberof EntitlementConnectionsApiListEntitlementConnectionsForCurrentIdentityV1\n */\n readonly offset?: number\n\n /**\n * Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.\n * @type {number}\n * @memberof EntitlementConnectionsApiListEntitlementConnectionsForCurrentIdentityV1\n */\n readonly limit?: number\n\n /**\n * 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.\n * @type {boolean}\n * @memberof EntitlementConnectionsApiListEntitlementConnectionsForCurrentIdentityV1\n */\n readonly count?: boolean\n\n /**\n * Used to begin the search window at the values specified. This parameter consists of the last values of the sorted fields in the current record set. searchAfter length must match the number of sorters. This is used to expand the Elasticsearch limit of 10K records by shifting the 10K window to begin at this value. It is recommended that you always include the ID of the object in addition to any other fields on this parameter in order to ensure you don\\'t get duplicate results while paging. For example, if you are sorting by name you will also want to include ID, for example searchAfter=Account Payable,2c91808375d8e80a0175e1f88a575221&sorters=name,id. If the last entitlement ID in the search result is 2c91808375d8e80a0175e1f88a575221 and the last name is \\"Account Payable\\", then using that name and ID will start a new search after this entitlement.\n * @type {string}\n * @memberof EntitlementConnectionsApiListEntitlementConnectionsForCurrentIdentityV1\n */\n readonly searchAfter?: string\n\n /**\n * 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: **identity.id**: *eq, in* **identity.name**: *eq, in, co* **source.id**: *eq, in* **source.name**: *eq, in, co* **account.id**: *eq, in* **account.name**: *eq, in, co* **entitlement.id**: *eq, in* **entitlement.attribute**: *eq, in, co* **entitlement.value**: *eq, in, co* **entitlement.privilegeLevel.effective**: *eq, in, co* **type**: *eq, in* **state.value**: *eq, in, co* **standalone**: *eq, in* **jit.activation**: *gt, lt, ge, le* **jit.provision**: *gt, lt, ge, le* **jit.deactivation**: *gt, lt, ge, le* **jit.deprovision**: *gt, lt, ge, le* **jit.expiration**: *gt, lt, ge, le* The authenticated identity scope is always applied by the service. \n * @type {string}\n * @memberof EntitlementConnectionsApiListEntitlementConnectionsForCurrentIdentityV1\n */\n readonly filters?: string\n\n /**\n * 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: **id, identity.id, identity.name, source.id, source.name, account.id, account.name, entitlement.id, entitlement.displayName, entitlement.attribute, entitlement.privilegeLevel.effective, type, state.value, standalone, jit.activation, jit.provision, jit.deactivation, jit.deprovision, jit.expiration** \n * @type {string}\n * @memberof EntitlementConnectionsApiListEntitlementConnectionsForCurrentIdentityV1\n */\n readonly sorters?: string\n}\n\n/**\n * Request parameters for listEntitlementConnectionsV1 operation in EntitlementConnectionsApi.\n * @export\n * @interface EntitlementConnectionsApiListEntitlementConnectionsV1Request\n */\nexport interface EntitlementConnectionsApiListEntitlementConnectionsV1Request {\n /**\n * 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.\n * @type {number}\n * @memberof EntitlementConnectionsApiListEntitlementConnectionsV1\n */\n readonly offset?: number\n\n /**\n * Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.\n * @type {number}\n * @memberof EntitlementConnectionsApiListEntitlementConnectionsV1\n */\n readonly limit?: number\n\n /**\n * 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.\n * @type {boolean}\n * @memberof EntitlementConnectionsApiListEntitlementConnectionsV1\n */\n readonly count?: boolean\n\n /**\n * Used to begin the search window at the values specified. This parameter consists of the last values of the sorted fields in the current record set. searchAfter length must match the number of sorters. This is used to expand the Elasticsearch limit of 10K records by shifting the 10K window to begin at this value. It is recommended that you always include the ID of the object in addition to any other fields on this parameter in order to ensure you don\\'t get duplicate results while paging. For example, if you are sorting by name you will also want to include ID, for example searchAfter=Account Payable,2c91808375d8e80a0175e1f88a575221&sorters=name,id. If the last entitlement ID in the search result is 2c91808375d8e80a0175e1f88a575221 and the last name is \\"Account Payable\\", then using that name and ID will start a new search after this entitlement.\n * @type {string}\n * @memberof EntitlementConnectionsApiListEntitlementConnectionsV1\n */\n readonly searchAfter?: string\n\n /**\n * 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: **identity.id**: *eq, in* **identity.name**: *eq, in, co* **source.id**: *eq, in* **source.name**: *eq, in, co* **account.id**: *eq, in* **account.name**: *eq, in, co* **entitlement.id**: *eq, in* **entitlement.attribute**: *eq, in, co* **entitlement.value**: *eq, in, co* **entitlement.privilegeLevel.effective**: *eq, in, co* **type**: *eq, in* **state.value**: *eq, in, co* **standalone**: *eq, in* **jit.activation**: *gt, lt, ge, le* **jit.provision**: *gt, lt, ge, le* **jit.deactivation**: *gt, lt, ge, le* **jit.deprovision**: *gt, lt, ge, le* **jit.expiration**: *gt, lt, ge, le* \n * @type {string}\n * @memberof EntitlementConnectionsApiListEntitlementConnectionsV1\n */\n readonly filters?: string\n\n /**\n * 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: **id, identity.id, identity.name, source.id, source.name, account.id, account.name, entitlement.id, entitlement.displayName, entitlement.attribute, entitlement.privilegeLevel.effective, type, state.value, standalone, jit.activation, jit.provision, jit.deactivation, jit.deprovision, jit.expiration** Prefix a field with `-` for descending order. \n * @type {string}\n * @memberof EntitlementConnectionsApiListEntitlementConnectionsV1\n */\n readonly sorters?: string\n}\n\n/**\n * Request parameters for patchEntitlementConnectionByIdV1 operation in EntitlementConnectionsApi.\n * @export\n * @interface EntitlementConnectionsApiPatchEntitlementConnectionByIdV1Request\n */\nexport interface EntitlementConnectionsApiPatchEntitlementConnectionByIdV1Request {\n /**\n * Connection ID (UUID with or without hyphens).\n * @type {string}\n * @memberof EntitlementConnectionsApiPatchEntitlementConnectionByIdV1\n */\n readonly connectionId: string\n\n /**\n * \n * @type {Array<JsonPatchOperation>}\n * @memberof EntitlementConnectionsApiPatchEntitlementConnectionByIdV1\n */\n readonly jsonPatchOperation: Array<JsonPatchOperation>\n}\n\n/**\n * Request parameters for patchEntitlementConnectionByQueryV1 operation in EntitlementConnectionsApi.\n * @export\n * @interface EntitlementConnectionsApiPatchEntitlementConnectionByQueryV1Request\n */\nexport interface EntitlementConnectionsApiPatchEntitlementConnectionByQueryV1Request {\n /**\n * Entitlement ID (UUID with or without hyphens).\n * @type {string}\n * @memberof EntitlementConnectionsApiPatchEntitlementConnectionByQueryV1\n */\n readonly entitlementId: string\n\n /**\n * Identity ID (UUID with or without hyphens).\n * @type {string}\n * @memberof EntitlementConnectionsApiPatchEntitlementConnectionByQueryV1\n */\n readonly identityId: string\n\n /**\n * Account ID (UUID with or without hyphens).\n * @type {string}\n * @memberof EntitlementConnectionsApiPatchEntitlementConnectionByQueryV1\n */\n readonly accountId: string\n\n /**\n * \n * @type {Array<JsonPatchOperation>}\n * @memberof EntitlementConnectionsApiPatchEntitlementConnectionByQueryV1\n */\n readonly jsonPatchOperation: Array<JsonPatchOperation>\n}\n\n/**\n * Request parameters for updateEntitlementConnectionsBulkV1 operation in EntitlementConnectionsApi.\n * @export\n * @interface EntitlementConnectionsApiUpdateEntitlementConnectionsBulkV1Request\n */\nexport interface EntitlementConnectionsApiUpdateEntitlementConnectionsBulkV1Request {\n /**\n * \n * @type {Array<EntitlementConnectionBulkUpdateItem>}\n * @memberof EntitlementConnectionsApiUpdateEntitlementConnectionsBulkV1\n */\n readonly entitlementConnectionBulkUpdateItem: Array<EntitlementConnectionBulkUpdateItem>\n}\n\n/**\n * EntitlementConnectionsApi - object-oriented interface\n * @export\n * @class EntitlementConnectionsApi\n * @extends {BaseAPI}\n */\nexport class EntitlementConnectionsApi extends BaseAPI {\n /**\n * Returns entitlement connections constrained to the authenticated identity. This endpoint proxies to Search and supports standard collection query parameters. \n * @summary List my entitlement connections\n * @param {EntitlementConnectionsApiListEntitlementConnectionsForCurrentIdentityV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof EntitlementConnectionsApi\n */\n public listEntitlementConnectionsForCurrentIdentityV1(requestParameters: EntitlementConnectionsApiListEntitlementConnectionsForCurrentIdentityV1Request = {}, axiosOptions?: RawAxiosRequestConfig) {\n return EntitlementConnectionsApiFp(this.configuration).listEntitlementConnectionsForCurrentIdentityV1(requestParameters.offset, requestParameters.limit, requestParameters.count, requestParameters.searchAfter, requestParameters.filters, requestParameters.sorters, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Returns entitlement connections for the tenant. This endpoint proxies to Search and supports standard collection query parameters. The `filters` and `sorters` values support the Entitlement Connections search fields documented by ECS. \n * @summary List entitlement connections\n * @param {EntitlementConnectionsApiListEntitlementConnectionsV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof EntitlementConnectionsApi\n */\n public listEntitlementConnectionsV1(requestParameters: EntitlementConnectionsApiListEntitlementConnectionsV1Request = {}, axiosOptions?: RawAxiosRequestConfig) {\n return EntitlementConnectionsApiFp(this.configuration).listEntitlementConnectionsV1(requestParameters.offset, requestParameters.limit, requestParameters.count, requestParameters.searchAfter, requestParameters.filters, requestParameters.sorters, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Applies JSON Patch operations to an entitlement connection selected by `connectionId`. \n * @summary Update entitlement connection\n * @param {EntitlementConnectionsApiPatchEntitlementConnectionByIdV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof EntitlementConnectionsApi\n */\n public patchEntitlementConnectionByIdV1(requestParameters: EntitlementConnectionsApiPatchEntitlementConnectionByIdV1Request, axiosOptions?: RawAxiosRequestConfig) {\n return EntitlementConnectionsApiFp(this.configuration).patchEntitlementConnectionByIdV1(requestParameters.connectionId, requestParameters.jsonPatchOperation, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Applies JSON Patch operations to a single entitlement connection selected by `entitlementId`, `identityId`, and `accountId`. \n * @summary Update connection by query\n * @param {EntitlementConnectionsApiPatchEntitlementConnectionByQueryV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof EntitlementConnectionsApi\n */\n public patchEntitlementConnectionByQueryV1(requestParameters: EntitlementConnectionsApiPatchEntitlementConnectionByQueryV1Request, axiosOptions?: RawAxiosRequestConfig) {\n return EntitlementConnectionsApiFp(this.configuration).patchEntitlementConnectionByQueryV1(requestParameters.entitlementId, requestParameters.identityId, requestParameters.accountId, requestParameters.jsonPatchOperation, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Updates connection type for up to 100 connections in one request. The API returns per-item results in a 207 Multi-Status response. \n * @summary Update connections in bulk\n * @param {EntitlementConnectionsApiUpdateEntitlementConnectionsBulkV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof EntitlementConnectionsApi\n */\n public updateEntitlementConnectionsBulkV1(requestParameters: EntitlementConnectionsApiUpdateEntitlementConnectionsBulkV1Request, axiosOptions?: RawAxiosRequestConfig) {\n return EntitlementConnectionsApiFp(this.configuration).updateEntitlementConnectionsBulkV1(requestParameters.entitlementConnectionBulkUpdateItem, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n"]}
|
|
1
|
+
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../entitlement_connections/api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKH,gDAAgC;AAChC,yDAAyD;AACzD,aAAa;AACb,mCAA4N;AAE5N,aAAa;AACb,+BAAmG;AA2JtF,QAAA,6BAA6B,GAAG;IACzC,GAAG,EAAE,KAAK;IACV,QAAQ,EAAE,UAAU;IACpB,EAAE,EAAE,IAAI;CACF,CAAC;AAwEE,QAAA,sCAAsC,GAAG;IAClD,GAAG,EAAE,KAAK;IACV,QAAQ,EAAE,UAAU;IACpB,EAAE,EAAE,IAAI;CACF,CAAC;AA4JE,QAAA,wBAAwB,GAAG;IACpC,GAAG,EAAE,KAAK;IACV,MAAM,EAA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AnC,UAAoC,iBAAoF,EAAE,YAAoC;QAA9J,iBAEC;QAFmC,kCAAA,EAAA,sBAAoF;QACpH,OAAO,IAAA,mCAA2B,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,4BAA4B,CAAC,iBAAiB,CAAC,MAAM,EAAE,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,CAAC,WAAW,EAAE,iBAAiB,CAAC,OAAO,EAAE,iBAAiB,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC,IAAI,CAAC,UAAC,OAAO,IAAK,OAAA,OAAO,CAAC,KAAI,CAAC,KAAK,EAAE,KAAI,CAAC,QAAQ,CAAC,EAAlC,CAAkC,CAAC,CAAC;IAC7T,CAAC;IAED;;;;;;;OAOG;IACI,oEAAgC,GAAvC,UAAwC,iBAAmF,EAAE,YAAoC;QAAjK,iBAEC;QADG,OAAO,IAAA,mCAA2B,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,gCAAgC,CAAC,iBAAiB,CAAC,YAAY,EAAE,iBAAiB,CAAC,kBAAkB,EAAE,YAAY,CAAC,CAAC,IAAI,CAAC,UAAC,OAAO,IAAK,OAAA,OAAO,CAAC,KAAI,CAAC,KAAK,EAAE,KAAI,CAAC,QAAQ,CAAC,EAAlC,CAAkC,CAAC,CAAC;IACtO,CAAC;IACL,gCAAC;AAAD,CAAC,AApCD,CAA+C,cAAO,GAoCrD;AApCY,8DAAyB","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * Identity Security Cloud API - Entitlement Connections\n * Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs.\n *\n * The version of the OpenAPI document: v1\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from '../configuration';\nimport type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';\nimport globalAxios from 'axios';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';\nimport type { RequestArgs } from './base';\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';\n\n/**\n * \n * @export\n * @interface ArrayInner\n */\nexport interface ArrayInner {\n}\n/**\n * Entitlement connection entity returned by patch APIs.\n * @export\n * @interface EntitlementConnection\n */\nexport interface EntitlementConnection {\n /**\n * Tenant identifier that owns the connection.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'tenantId'?: string;\n /**\n * Entitlement connection identifier.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'connectionId'?: string;\n /**\n * Identity identifier associated with the connection.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'identityId'?: string;\n /**\n * Machine identity identifier when the connection is machine-backed.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'machineIdentityId'?: string;\n /**\n * Account identifier for the connected source account.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'accountId'?: string;\n /**\n * Entitlement identifier on the source.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'entitlementId'?: string;\n /**\n * Source identifier that provides the account and entitlement.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'sourceId'?: string;\n /**\n * Indicates whether the connection is marked as standalone.\n * @type {boolean}\n * @memberof EntitlementConnection\n */\n 'standalone'?: boolean;\n /**\n * Entitlement attribute name on the source.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'attributeName'?: string;\n /**\n * Entitlement attribute value on the source.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'attributeValue'?: string;\n /**\n * Connection type classification.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'type'?: EntitlementConnectionTypeEnum;\n /**\n * Current lifecycle state of the connection.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'state'?: string;\n /**\n * Time the connection state was last updated.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'stateChanged'?: string;\n /**\n * Identifier of the actor that last changed state.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'stateChangedBy'?: string;\n /**\n * Time JIT activation occurred.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'jitActivation'?: string;\n /**\n * Time provisioning completed for JIT activation.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'jitProvision'?: string;\n /**\n * Time JIT deactivation occurred.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'jitDeactivation'?: string;\n /**\n * Time deprovisioning completed after JIT deactivation.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'jitDeprovision'?: string;\n /**\n * Time when JIT access expires.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'jitExpiration'?: string;\n /**\n * Time after which the connection is eligible for deletion.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'deleteAfter'?: string;\n /**\n * Time when the connection was created.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'created'?: string;\n /**\n * Time when the connection was last modified.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'modified'?: string;\n /**\n * Display value for the actor associated with the latest change.\n * @type {string}\n * @memberof EntitlementConnection\n */\n 'actorName'?: string;\n}\n\nexport const EntitlementConnectionTypeEnum = {\n Jit: 'JIT',\n Standing: 'STANDING',\n Na: 'NA'\n} as const;\n\nexport type EntitlementConnectionTypeEnum = typeof EntitlementConnectionTypeEnum[keyof typeof EntitlementConnectionTypeEnum];\n\n/**\n * Entitlement connection record returned by search-backed list endpoints.\n * @export\n * @interface EntitlementConnectionSearchHit\n */\nexport interface EntitlementConnectionSearchHit {\n /**\n * Connection ID as represented in search results.\n * @type {string}\n * @memberof EntitlementConnectionSearchHit\n */\n 'id'?: string;\n /**\n * Identity summary object from search index.\n * @type {{ [key: string]: any; }}\n * @memberof EntitlementConnectionSearchHit\n */\n 'identity'?: { [key: string]: any; };\n /**\n * Machine identity summary object when available.\n * @type {{ [key: string]: any; }}\n * @memberof EntitlementConnectionSearchHit\n */\n 'machineIdentity'?: { [key: string]: any; };\n /**\n * Account summary object.\n * @type {{ [key: string]: any; }}\n * @memberof EntitlementConnectionSearchHit\n */\n 'account'?: { [key: string]: any; };\n /**\n * \n * @type {EntitlementConnectionSearchHitEntitlement}\n * @memberof EntitlementConnectionSearchHit\n */\n 'entitlement'?: EntitlementConnectionSearchHitEntitlement;\n /**\n * Source summary object.\n * @type {{ [key: string]: any; }}\n * @memberof EntitlementConnectionSearchHit\n */\n 'source'?: { [key: string]: any; };\n /**\n * Connection state object.\n * @type {{ [key: string]: any; }}\n * @memberof EntitlementConnectionSearchHit\n */\n 'state'?: { [key: string]: any; };\n /**\n * JIT timestamps for lifecycle events.\n * @type {{ [key: string]: any; }}\n * @memberof EntitlementConnectionSearchHit\n */\n 'jit'?: { [key: string]: any; };\n /**\n * Indicates whether the connection is marked as standalone.\n * @type {boolean}\n * @memberof EntitlementConnectionSearchHit\n */\n 'standalone'?: boolean;\n /**\n * Connection type classification.\n * @type {string}\n * @memberof EntitlementConnectionSearchHit\n */\n 'type'?: EntitlementConnectionSearchHitTypeEnum;\n}\n\nexport const EntitlementConnectionSearchHitTypeEnum = {\n Jit: 'JIT',\n Standing: 'STANDING',\n Na: 'NA'\n} as const;\n\nexport type EntitlementConnectionSearchHitTypeEnum = typeof EntitlementConnectionSearchHitTypeEnum[keyof typeof EntitlementConnectionSearchHitTypeEnum];\n\n/**\n * Entitlement object embedded in entitlement connection search responses.\n * @export\n * @interface EntitlementConnectionSearchHitEntitlement\n */\nexport interface EntitlementConnectionSearchHitEntitlement {\n /**\n * Entitlement identifier.\n * @type {string}\n * @memberof EntitlementConnectionSearchHitEntitlement\n */\n 'id'?: string;\n /**\n * Entitlement name.\n * @type {string}\n * @memberof EntitlementConnectionSearchHitEntitlement\n */\n 'name'?: string;\n /**\n * Human-readable entitlement label.\n * @type {string}\n * @memberof EntitlementConnectionSearchHitEntitlement\n */\n 'displayName'?: string;\n /**\n * Entitlement description.\n * @type {string}\n * @memberof EntitlementConnectionSearchHitEntitlement\n */\n 'description'?: string;\n /**\n * Source attribute carrying entitlement values.\n * @type {string}\n * @memberof EntitlementConnectionSearchHitEntitlement\n */\n 'attribute'?: string;\n /**\n * Source entitlement value.\n * @type {string}\n * @memberof EntitlementConnectionSearchHitEntitlement\n */\n 'value'?: string;\n /**\n * Source schema object type for the entitlement.\n * @type {string}\n * @memberof EntitlementConnectionSearchHitEntitlement\n */\n 'sourceSchemaObjectType'?: string;\n /**\n * \n * @type {EntitlementConnectionSearchHitEntitlementPrivilegeLevel}\n * @memberof EntitlementConnectionSearchHitEntitlement\n */\n 'privilegeLevel'?: EntitlementConnectionSearchHitEntitlementPrivilegeLevel;\n}\n/**\n * Privilege classification details for the entitlement.\n * @export\n * @interface EntitlementConnectionSearchHitEntitlementPrivilegeLevel\n */\nexport interface EntitlementConnectionSearchHitEntitlementPrivilegeLevel {\n /**\n * Effective privilege level.\n * @type {string}\n * @memberof EntitlementConnectionSearchHitEntitlementPrivilegeLevel\n */\n 'effective'?: string;\n}\n/**\n * \n * @export\n * @interface ErrorMessageDto\n */\nexport interface ErrorMessageDto {\n /**\n * The locale for the message text, a BCP 47 language tag.\n * @type {string}\n * @memberof ErrorMessageDto\n */\n 'locale'?: string | null;\n /**\n * \n * @type {LocaleOrigin}\n * @memberof ErrorMessageDto\n */\n 'localeOrigin'?: LocaleOrigin | null;\n /**\n * Actual text of the error message in the indicated locale.\n * @type {string}\n * @memberof ErrorMessageDto\n */\n 'text'?: string;\n}\n\n\n/**\n * \n * @export\n * @interface ErrorResponseDto\n */\nexport interface ErrorResponseDto {\n /**\n * Fine-grained error code providing more detail of the error.\n * @type {string}\n * @memberof ErrorResponseDto\n */\n 'detailCode'?: string;\n /**\n * Unique tracking id for the error.\n * @type {string}\n * @memberof ErrorResponseDto\n */\n 'trackingId'?: string;\n /**\n * Generic localized reason for error\n * @type {Array<ErrorMessageDto>}\n * @memberof ErrorResponseDto\n */\n 'messages'?: Array<ErrorMessageDto>;\n /**\n * Plain-text descriptive reasons to provide additional detail to the text provided in the messages field\n * @type {Array<ErrorMessageDto>}\n * @memberof ErrorResponseDto\n */\n 'causes'?: Array<ErrorMessageDto>;\n}\n/**\n * A JSONPatch Operation as defined by [RFC 6902 - JSON Patch](https://tools.ietf.org/html/rfc6902)\n * @export\n * @interface JsonPatchOperation\n */\nexport interface JsonPatchOperation {\n /**\n * The operation to be performed\n * @type {string}\n * @memberof JsonPatchOperation\n */\n 'op': JsonPatchOperationOpEnum;\n /**\n * A string JSON Pointer representing the target path to an element to be affected by the operation\n * @type {string}\n * @memberof JsonPatchOperation\n */\n 'path': string;\n /**\n * \n * @type {JsonPatchOperationValue}\n * @memberof JsonPatchOperation\n */\n 'value'?: JsonPatchOperationValue;\n}\n\nexport const JsonPatchOperationOpEnum = {\n Add: 'add',\n Remove: 'remove',\n Replace: 'replace',\n Move: 'move',\n Copy: 'copy',\n Test: 'test'\n} as const;\n\nexport type JsonPatchOperationOpEnum = typeof JsonPatchOperationOpEnum[keyof typeof JsonPatchOperationOpEnum];\n\n/**\n * @type JsonPatchOperationValue\n * The value to be used for the operation, required for \\\"add\\\" and \\\"replace\\\" operations\n * @export\n */\nexport type JsonPatchOperationValue = Array<ArrayInner> | boolean | number | object | string;\n\n/**\n * \n * @export\n * @interface ListEntitlementConnectionsV1401Response\n */\nexport interface ListEntitlementConnectionsV1401Response {\n /**\n * A message describing the error\n * @type {any}\n * @memberof ListEntitlementConnectionsV1401Response\n */\n 'error'?: any;\n}\n/**\n * \n * @export\n * @interface ListEntitlementConnectionsV1412Response\n */\nexport interface ListEntitlementConnectionsV1412Response {\n /**\n * A message describing the error\n * @type {any}\n * @memberof ListEntitlementConnectionsV1412Response\n */\n 'message'?: any;\n}\n/**\n * \n * @export\n * @interface ListEntitlementConnectionsV1429Response\n */\nexport interface ListEntitlementConnectionsV1429Response {\n /**\n * A message describing the error\n * @type {any}\n * @memberof ListEntitlementConnectionsV1429Response\n */\n 'message'?: any;\n}\n/**\n * An indicator of how the locale was selected. *DEFAULT* means the locale is the system default. *REQUEST* means the locale was selected from the request context (i.e., best match based on the *Accept-Language* header). Additional values may be added in the future without notice.\n * @export\n * @enum {string}\n */\n\nexport const LocaleOrigin = {\n Default: 'DEFAULT',\n Request: 'REQUEST'\n} as const;\n\nexport type LocaleOrigin = typeof LocaleOrigin[keyof typeof LocaleOrigin];\n\n\n\n/**\n * EntitlementConnectionsApi - axios parameter creator\n * @export\n */\nexport const EntitlementConnectionsApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * Returns entitlement connections constrained to the authenticated identity. This endpoint proxies to Search and supports standard collection query parameters. \n * @summary List my entitlement connections\n * @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.\n * @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.\n * @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.\n * @param {string} [searchAfter] Used to begin the search window at the values specified. This parameter consists of the last values of the sorted fields in the current record set. searchAfter length must match the number of sorters. This is used to expand the Elasticsearch limit of 10K records by shifting the 10K window to begin at this value. It is recommended that you always include the ID of the object in addition to any other fields on this parameter in order to ensure you don\\'t get duplicate results while paging. For example, if you are sorting by name you will also want to include ID, for example searchAfter=Account Payable,2c91808375d8e80a0175e1f88a575221&sorters=name,id. If the last entitlement ID in the search result is 2c91808375d8e80a0175e1f88a575221 and the last name is \\"Account Payable\\", then using that name and ID will start a new search after this entitlement.\n * @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: **identity.id**: *eq, in* **identity.name**: *eq, in, co* **source.id**: *eq, in* **source.name**: *eq, in, co* **account.id**: *eq, in* **account.name**: *eq, in, co* **entitlement.id**: *eq, in* **entitlement.attribute**: *eq, in, co* **entitlement.value**: *eq, in, co* **entitlement.privilegeLevel.effective**: *eq, in, co* **type**: *eq, in* **state.value**: *eq, in, co* **standalone**: *eq, in* **jit.activation**: *gt, lt, ge, le* **jit.provision**: *gt, lt, ge, le* **jit.deactivation**: *gt, lt, ge, le* **jit.deprovision**: *gt, lt, ge, le* **jit.expiration**: *gt, lt, ge, le* The authenticated identity scope is always applied by the service. \n * @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: **id, identity.id, identity.name, source.id, source.name, account.id, account.name, entitlement.id, entitlement.displayName, entitlement.attribute, entitlement.privilegeLevel.effective, type, state.value, standalone, jit.activation, jit.provision, jit.deactivation, jit.deprovision, jit.expiration** \n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n listEntitlementConnectionsForCurrentIdentityV1: async (offset?: number, limit?: number, count?: boolean, searchAfter?: string, filters?: string, sorters?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/entitlement-connections/v1/current-identity`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n if (offset !== undefined) {\n localVarQueryParameter['offset'] = offset;\n }\n\n if (limit !== undefined) {\n localVarQueryParameter['limit'] = limit;\n }\n\n if (count !== undefined) {\n localVarQueryParameter['count'] = count;\n }\n\n if (searchAfter !== undefined) {\n localVarQueryParameter['searchAfter'] = searchAfter;\n }\n\n if (filters !== undefined) {\n localVarQueryParameter['filters'] = filters;\n }\n\n if (sorters !== undefined) {\n localVarQueryParameter['sorters'] = sorters;\n }\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n axiosOptions: localVarRequestOptions,\n };\n },\n /**\n * Returns entitlement connections for the tenant. This endpoint proxies to Search and supports standard collection query parameters. The `filters` and `sorters` values support the Entitlement Connections search fields documented by ECS. \n * @summary List entitlement connections\n * @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.\n * @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.\n * @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.\n * @param {string} [searchAfter] Used to begin the search window at the values specified. This parameter consists of the last values of the sorted fields in the current record set. searchAfter length must match the number of sorters. This is used to expand the Elasticsearch limit of 10K records by shifting the 10K window to begin at this value. It is recommended that you always include the ID of the object in addition to any other fields on this parameter in order to ensure you don\\'t get duplicate results while paging. For example, if you are sorting by name you will also want to include ID, for example searchAfter=Account Payable,2c91808375d8e80a0175e1f88a575221&sorters=name,id. If the last entitlement ID in the search result is 2c91808375d8e80a0175e1f88a575221 and the last name is \\"Account Payable\\", then using that name and ID will start a new search after this entitlement.\n * @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: **identity.id**: *eq, in* **identity.name**: *eq, in, co* **source.id**: *eq, in* **source.name**: *eq, in, co* **account.id**: *eq, in* **account.name**: *eq, in, co* **entitlement.id**: *eq, in* **entitlement.attribute**: *eq, in, co* **entitlement.value**: *eq, in, co* **entitlement.privilegeLevel.effective**: *eq, in, co* **type**: *eq, in* **state.value**: *eq, in, co* **standalone**: *eq, in* **jit.activation**: *gt, lt, ge, le* **jit.provision**: *gt, lt, ge, le* **jit.deactivation**: *gt, lt, ge, le* **jit.deprovision**: *gt, lt, ge, le* **jit.expiration**: *gt, lt, ge, le* \n * @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: **id, identity.id, identity.name, source.id, source.name, account.id, account.name, entitlement.id, entitlement.displayName, entitlement.attribute, entitlement.privilegeLevel.effective, type, state.value, standalone, jit.activation, jit.provision, jit.deactivation, jit.deprovision, jit.expiration** Prefix a field with `-` for descending order. \n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n listEntitlementConnectionsV1: async (offset?: number, limit?: number, count?: boolean, searchAfter?: string, filters?: string, sorters?: string, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n const localVarPath = `/entitlement-connections/v1`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n if (offset !== undefined) {\n localVarQueryParameter['offset'] = offset;\n }\n\n if (limit !== undefined) {\n localVarQueryParameter['limit'] = limit;\n }\n\n if (count !== undefined) {\n localVarQueryParameter['count'] = count;\n }\n\n if (searchAfter !== undefined) {\n localVarQueryParameter['searchAfter'] = searchAfter;\n }\n\n if (filters !== undefined) {\n localVarQueryParameter['filters'] = filters;\n }\n\n if (sorters !== undefined) {\n localVarQueryParameter['sorters'] = sorters;\n }\n\n\n \n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};\n\n return {\n url: toPathString(localVarUrlObj),\n axiosOptions: localVarRequestOptions,\n };\n },\n /**\n * Applies JSON Patch operations to an entitlement connection selected by `connectionId`. \n * @summary Update entitlement connection\n * @param {string} connectionId Connection ID (UUID with or without hyphens).\n * @param {Array<JsonPatchOperation>} jsonPatchOperation \n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n patchEntitlementConnectionByIdV1: async (connectionId: string, jsonPatchOperation: Array<JsonPatchOperation>, axiosOptions: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'connectionId' is not null or undefined\n assertParamExists('patchEntitlementConnectionByIdV1', 'connectionId', connectionId)\n // verify required parameter 'jsonPatchOperation' is not null or undefined\n assertParamExists('patchEntitlementConnectionByIdV1', 'jsonPatchOperation', jsonPatchOperation)\n const localVarPath = `/entitlement-connections/v1/{connectionId}`\n .replace(`{${\"connectionId\"}}`, encodeURIComponent(String(connectionId)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...axiosOptions};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n\n \n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(jsonPatchOperation, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n axiosOptions: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * EntitlementConnectionsApi - functional programming interface\n * @export\n */\nexport const EntitlementConnectionsApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = EntitlementConnectionsApiAxiosParamCreator(configuration)\n return {\n /**\n * Returns entitlement connections constrained to the authenticated identity. This endpoint proxies to Search and supports standard collection query parameters. \n * @summary List my entitlement connections\n * @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.\n * @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.\n * @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.\n * @param {string} [searchAfter] Used to begin the search window at the values specified. This parameter consists of the last values of the sorted fields in the current record set. searchAfter length must match the number of sorters. This is used to expand the Elasticsearch limit of 10K records by shifting the 10K window to begin at this value. It is recommended that you always include the ID of the object in addition to any other fields on this parameter in order to ensure you don\\'t get duplicate results while paging. For example, if you are sorting by name you will also want to include ID, for example searchAfter=Account Payable,2c91808375d8e80a0175e1f88a575221&sorters=name,id. If the last entitlement ID in the search result is 2c91808375d8e80a0175e1f88a575221 and the last name is \\"Account Payable\\", then using that name and ID will start a new search after this entitlement.\n * @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: **identity.id**: *eq, in* **identity.name**: *eq, in, co* **source.id**: *eq, in* **source.name**: *eq, in, co* **account.id**: *eq, in* **account.name**: *eq, in, co* **entitlement.id**: *eq, in* **entitlement.attribute**: *eq, in, co* **entitlement.value**: *eq, in, co* **entitlement.privilegeLevel.effective**: *eq, in, co* **type**: *eq, in* **state.value**: *eq, in, co* **standalone**: *eq, in* **jit.activation**: *gt, lt, ge, le* **jit.provision**: *gt, lt, ge, le* **jit.deactivation**: *gt, lt, ge, le* **jit.deprovision**: *gt, lt, ge, le* **jit.expiration**: *gt, lt, ge, le* The authenticated identity scope is always applied by the service. \n * @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: **id, identity.id, identity.name, source.id, source.name, account.id, account.name, entitlement.id, entitlement.displayName, entitlement.attribute, entitlement.privilegeLevel.effective, type, state.value, standalone, jit.activation, jit.provision, jit.deactivation, jit.deprovision, jit.expiration** \n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n async listEntitlementConnectionsForCurrentIdentityV1(offset?: number, limit?: number, count?: boolean, searchAfter?: string, filters?: string, sorters?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EntitlementConnectionSearchHit>>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.listEntitlementConnectionsForCurrentIdentityV1(offset, limit, count, searchAfter, filters, sorters, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['EntitlementConnectionsApi.listEntitlementConnectionsForCurrentIdentityV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Returns entitlement connections for the tenant. This endpoint proxies to Search and supports standard collection query parameters. The `filters` and `sorters` values support the Entitlement Connections search fields documented by ECS. \n * @summary List entitlement connections\n * @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.\n * @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.\n * @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.\n * @param {string} [searchAfter] Used to begin the search window at the values specified. This parameter consists of the last values of the sorted fields in the current record set. searchAfter length must match the number of sorters. This is used to expand the Elasticsearch limit of 10K records by shifting the 10K window to begin at this value. It is recommended that you always include the ID of the object in addition to any other fields on this parameter in order to ensure you don\\'t get duplicate results while paging. For example, if you are sorting by name you will also want to include ID, for example searchAfter=Account Payable,2c91808375d8e80a0175e1f88a575221&sorters=name,id. If the last entitlement ID in the search result is 2c91808375d8e80a0175e1f88a575221 and the last name is \\"Account Payable\\", then using that name and ID will start a new search after this entitlement.\n * @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: **identity.id**: *eq, in* **identity.name**: *eq, in, co* **source.id**: *eq, in* **source.name**: *eq, in, co* **account.id**: *eq, in* **account.name**: *eq, in, co* **entitlement.id**: *eq, in* **entitlement.attribute**: *eq, in, co* **entitlement.value**: *eq, in, co* **entitlement.privilegeLevel.effective**: *eq, in, co* **type**: *eq, in* **state.value**: *eq, in, co* **standalone**: *eq, in* **jit.activation**: *gt, lt, ge, le* **jit.provision**: *gt, lt, ge, le* **jit.deactivation**: *gt, lt, ge, le* **jit.deprovision**: *gt, lt, ge, le* **jit.expiration**: *gt, lt, ge, le* \n * @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: **id, identity.id, identity.name, source.id, source.name, account.id, account.name, entitlement.id, entitlement.displayName, entitlement.attribute, entitlement.privilegeLevel.effective, type, state.value, standalone, jit.activation, jit.provision, jit.deactivation, jit.deprovision, jit.expiration** Prefix a field with `-` for descending order. \n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n async listEntitlementConnectionsV1(offset?: number, limit?: number, count?: boolean, searchAfter?: string, filters?: string, sorters?: string, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<EntitlementConnectionSearchHit>>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.listEntitlementConnectionsV1(offset, limit, count, searchAfter, filters, sorters, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['EntitlementConnectionsApi.listEntitlementConnectionsV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * Applies JSON Patch operations to an entitlement connection selected by `connectionId`. \n * @summary Update entitlement connection\n * @param {string} connectionId Connection ID (UUID with or without hyphens).\n * @param {Array<JsonPatchOperation>} jsonPatchOperation \n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n async patchEntitlementConnectionByIdV1(connectionId: string, jsonPatchOperation: Array<JsonPatchOperation>, axiosOptions?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EntitlementConnection>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.patchEntitlementConnectionByIdV1(connectionId, jsonPatchOperation, axiosOptions);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['EntitlementConnectionsApi.patchEntitlementConnectionByIdV1']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * EntitlementConnectionsApi - factory interface\n * @export\n */\nexport const EntitlementConnectionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = EntitlementConnectionsApiFp(configuration)\n return {\n /**\n * Returns entitlement connections constrained to the authenticated identity. This endpoint proxies to Search and supports standard collection query parameters. \n * @summary List my entitlement connections\n * @param {EntitlementConnectionsApiListEntitlementConnectionsForCurrentIdentityV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n listEntitlementConnectionsForCurrentIdentityV1(requestParameters: EntitlementConnectionsApiListEntitlementConnectionsForCurrentIdentityV1Request = {}, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<EntitlementConnectionSearchHit>> {\n return localVarFp.listEntitlementConnectionsForCurrentIdentityV1(requestParameters.offset, requestParameters.limit, requestParameters.count, requestParameters.searchAfter, requestParameters.filters, requestParameters.sorters, axiosOptions).then((request) => request(axios, basePath));\n },\n /**\n * Returns entitlement connections for the tenant. This endpoint proxies to Search and supports standard collection query parameters. The `filters` and `sorters` values support the Entitlement Connections search fields documented by ECS. \n * @summary List entitlement connections\n * @param {EntitlementConnectionsApiListEntitlementConnectionsV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n listEntitlementConnectionsV1(requestParameters: EntitlementConnectionsApiListEntitlementConnectionsV1Request = {}, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<Array<EntitlementConnectionSearchHit>> {\n return localVarFp.listEntitlementConnectionsV1(requestParameters.offset, requestParameters.limit, requestParameters.count, requestParameters.searchAfter, requestParameters.filters, requestParameters.sorters, axiosOptions).then((request) => request(axios, basePath));\n },\n /**\n * Applies JSON Patch operations to an entitlement connection selected by `connectionId`. \n * @summary Update entitlement connection\n * @param {EntitlementConnectionsApiPatchEntitlementConnectionByIdV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n */\n patchEntitlementConnectionByIdV1(requestParameters: EntitlementConnectionsApiPatchEntitlementConnectionByIdV1Request, axiosOptions?: RawAxiosRequestConfig): AxiosPromise<EntitlementConnection> {\n return localVarFp.patchEntitlementConnectionByIdV1(requestParameters.connectionId, requestParameters.jsonPatchOperation, axiosOptions).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * Request parameters for listEntitlementConnectionsForCurrentIdentityV1 operation in EntitlementConnectionsApi.\n * @export\n * @interface EntitlementConnectionsApiListEntitlementConnectionsForCurrentIdentityV1Request\n */\nexport interface EntitlementConnectionsApiListEntitlementConnectionsForCurrentIdentityV1Request {\n /**\n * 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.\n * @type {number}\n * @memberof EntitlementConnectionsApiListEntitlementConnectionsForCurrentIdentityV1\n */\n readonly offset?: number\n\n /**\n * Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.\n * @type {number}\n * @memberof EntitlementConnectionsApiListEntitlementConnectionsForCurrentIdentityV1\n */\n readonly limit?: number\n\n /**\n * 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.\n * @type {boolean}\n * @memberof EntitlementConnectionsApiListEntitlementConnectionsForCurrentIdentityV1\n */\n readonly count?: boolean\n\n /**\n * Used to begin the search window at the values specified. This parameter consists of the last values of the sorted fields in the current record set. searchAfter length must match the number of sorters. This is used to expand the Elasticsearch limit of 10K records by shifting the 10K window to begin at this value. It is recommended that you always include the ID of the object in addition to any other fields on this parameter in order to ensure you don\\'t get duplicate results while paging. For example, if you are sorting by name you will also want to include ID, for example searchAfter=Account Payable,2c91808375d8e80a0175e1f88a575221&sorters=name,id. If the last entitlement ID in the search result is 2c91808375d8e80a0175e1f88a575221 and the last name is \\"Account Payable\\", then using that name and ID will start a new search after this entitlement.\n * @type {string}\n * @memberof EntitlementConnectionsApiListEntitlementConnectionsForCurrentIdentityV1\n */\n readonly searchAfter?: string\n\n /**\n * 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: **identity.id**: *eq, in* **identity.name**: *eq, in, co* **source.id**: *eq, in* **source.name**: *eq, in, co* **account.id**: *eq, in* **account.name**: *eq, in, co* **entitlement.id**: *eq, in* **entitlement.attribute**: *eq, in, co* **entitlement.value**: *eq, in, co* **entitlement.privilegeLevel.effective**: *eq, in, co* **type**: *eq, in* **state.value**: *eq, in, co* **standalone**: *eq, in* **jit.activation**: *gt, lt, ge, le* **jit.provision**: *gt, lt, ge, le* **jit.deactivation**: *gt, lt, ge, le* **jit.deprovision**: *gt, lt, ge, le* **jit.expiration**: *gt, lt, ge, le* The authenticated identity scope is always applied by the service. \n * @type {string}\n * @memberof EntitlementConnectionsApiListEntitlementConnectionsForCurrentIdentityV1\n */\n readonly filters?: string\n\n /**\n * 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: **id, identity.id, identity.name, source.id, source.name, account.id, account.name, entitlement.id, entitlement.displayName, entitlement.attribute, entitlement.privilegeLevel.effective, type, state.value, standalone, jit.activation, jit.provision, jit.deactivation, jit.deprovision, jit.expiration** \n * @type {string}\n * @memberof EntitlementConnectionsApiListEntitlementConnectionsForCurrentIdentityV1\n */\n readonly sorters?: string\n}\n\n/**\n * Request parameters for listEntitlementConnectionsV1 operation in EntitlementConnectionsApi.\n * @export\n * @interface EntitlementConnectionsApiListEntitlementConnectionsV1Request\n */\nexport interface EntitlementConnectionsApiListEntitlementConnectionsV1Request {\n /**\n * 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.\n * @type {number}\n * @memberof EntitlementConnectionsApiListEntitlementConnectionsV1\n */\n readonly offset?: number\n\n /**\n * Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information.\n * @type {number}\n * @memberof EntitlementConnectionsApiListEntitlementConnectionsV1\n */\n readonly limit?: number\n\n /**\n * 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.\n * @type {boolean}\n * @memberof EntitlementConnectionsApiListEntitlementConnectionsV1\n */\n readonly count?: boolean\n\n /**\n * Used to begin the search window at the values specified. This parameter consists of the last values of the sorted fields in the current record set. searchAfter length must match the number of sorters. This is used to expand the Elasticsearch limit of 10K records by shifting the 10K window to begin at this value. It is recommended that you always include the ID of the object in addition to any other fields on this parameter in order to ensure you don\\'t get duplicate results while paging. For example, if you are sorting by name you will also want to include ID, for example searchAfter=Account Payable,2c91808375d8e80a0175e1f88a575221&sorters=name,id. If the last entitlement ID in the search result is 2c91808375d8e80a0175e1f88a575221 and the last name is \\"Account Payable\\", then using that name and ID will start a new search after this entitlement.\n * @type {string}\n * @memberof EntitlementConnectionsApiListEntitlementConnectionsV1\n */\n readonly searchAfter?: string\n\n /**\n * 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: **identity.id**: *eq, in* **identity.name**: *eq, in, co* **source.id**: *eq, in* **source.name**: *eq, in, co* **account.id**: *eq, in* **account.name**: *eq, in, co* **entitlement.id**: *eq, in* **entitlement.attribute**: *eq, in, co* **entitlement.value**: *eq, in, co* **entitlement.privilegeLevel.effective**: *eq, in, co* **type**: *eq, in* **state.value**: *eq, in, co* **standalone**: *eq, in* **jit.activation**: *gt, lt, ge, le* **jit.provision**: *gt, lt, ge, le* **jit.deactivation**: *gt, lt, ge, le* **jit.deprovision**: *gt, lt, ge, le* **jit.expiration**: *gt, lt, ge, le* \n * @type {string}\n * @memberof EntitlementConnectionsApiListEntitlementConnectionsV1\n */\n readonly filters?: string\n\n /**\n * 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: **id, identity.id, identity.name, source.id, source.name, account.id, account.name, entitlement.id, entitlement.displayName, entitlement.attribute, entitlement.privilegeLevel.effective, type, state.value, standalone, jit.activation, jit.provision, jit.deactivation, jit.deprovision, jit.expiration** Prefix a field with `-` for descending order. \n * @type {string}\n * @memberof EntitlementConnectionsApiListEntitlementConnectionsV1\n */\n readonly sorters?: string\n}\n\n/**\n * Request parameters for patchEntitlementConnectionByIdV1 operation in EntitlementConnectionsApi.\n * @export\n * @interface EntitlementConnectionsApiPatchEntitlementConnectionByIdV1Request\n */\nexport interface EntitlementConnectionsApiPatchEntitlementConnectionByIdV1Request {\n /**\n * Connection ID (UUID with or without hyphens).\n * @type {string}\n * @memberof EntitlementConnectionsApiPatchEntitlementConnectionByIdV1\n */\n readonly connectionId: string\n\n /**\n * \n * @type {Array<JsonPatchOperation>}\n * @memberof EntitlementConnectionsApiPatchEntitlementConnectionByIdV1\n */\n readonly jsonPatchOperation: Array<JsonPatchOperation>\n}\n\n/**\n * EntitlementConnectionsApi - object-oriented interface\n * @export\n * @class EntitlementConnectionsApi\n * @extends {BaseAPI}\n */\nexport class EntitlementConnectionsApi extends BaseAPI {\n /**\n * Returns entitlement connections constrained to the authenticated identity. This endpoint proxies to Search and supports standard collection query parameters. \n * @summary List my entitlement connections\n * @param {EntitlementConnectionsApiListEntitlementConnectionsForCurrentIdentityV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof EntitlementConnectionsApi\n */\n public listEntitlementConnectionsForCurrentIdentityV1(requestParameters: EntitlementConnectionsApiListEntitlementConnectionsForCurrentIdentityV1Request = {}, axiosOptions?: RawAxiosRequestConfig) {\n return EntitlementConnectionsApiFp(this.configuration).listEntitlementConnectionsForCurrentIdentityV1(requestParameters.offset, requestParameters.limit, requestParameters.count, requestParameters.searchAfter, requestParameters.filters, requestParameters.sorters, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Returns entitlement connections for the tenant. This endpoint proxies to Search and supports standard collection query parameters. The `filters` and `sorters` values support the Entitlement Connections search fields documented by ECS. \n * @summary List entitlement connections\n * @param {EntitlementConnectionsApiListEntitlementConnectionsV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof EntitlementConnectionsApi\n */\n public listEntitlementConnectionsV1(requestParameters: EntitlementConnectionsApiListEntitlementConnectionsV1Request = {}, axiosOptions?: RawAxiosRequestConfig) {\n return EntitlementConnectionsApiFp(this.configuration).listEntitlementConnectionsV1(requestParameters.offset, requestParameters.limit, requestParameters.count, requestParameters.searchAfter, requestParameters.filters, requestParameters.sorters, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * Applies JSON Patch operations to an entitlement connection selected by `connectionId`. \n * @summary Update entitlement connection\n * @param {EntitlementConnectionsApiPatchEntitlementConnectionByIdV1Request} requestParameters Request parameters.\n * @param {*} [axiosOptions] Override http request option.\n * @throws {RequiredError}\n * @memberof EntitlementConnectionsApi\n */\n public patchEntitlementConnectionByIdV1(requestParameters: EntitlementConnectionsApiPatchEntitlementConnectionByIdV1Request, axiosOptions?: RawAxiosRequestConfig) {\n return EntitlementConnectionsApiFp(this.configuration).patchEntitlementConnectionByIdV1(requestParameters.connectionId, requestParameters.jsonPatchOperation, axiosOptions).then((request) => request(this.axios, this.basePath));\n }\n}\n\n\n\n"]}
|
|
@@ -84,10 +84,6 @@ export var EntitlementConnectionTypeEnum = {
|
|
|
84
84
|
Standing: 'STANDING',
|
|
85
85
|
Na: 'NA'
|
|
86
86
|
};
|
|
87
|
-
export var EntitlementConnectionBulkUpdateItemTypeEnum = {
|
|
88
|
-
Jit: 'JIT',
|
|
89
|
-
Standing: 'STANDING'
|
|
90
|
-
};
|
|
91
87
|
export var EntitlementConnectionSearchHitTypeEnum = {
|
|
92
88
|
Jit: 'JIT',
|
|
93
89
|
Standing: 'STANDING',
|
|
@@ -261,92 +257,6 @@ export var EntitlementConnectionsApiAxiosParamCreator = function (configuration)
|
|
|
261
257
|
});
|
|
262
258
|
});
|
|
263
259
|
},
|
|
264
|
-
/**
|
|
265
|
-
* Applies JSON Patch operations to a single entitlement connection selected by `entitlementId`, `identityId`, and `accountId`.
|
|
266
|
-
* @summary Update connection by query
|
|
267
|
-
* @param {string} entitlementId Entitlement ID (UUID with or without hyphens).
|
|
268
|
-
* @param {string} identityId Identity ID (UUID with or without hyphens).
|
|
269
|
-
* @param {string} accountId Account ID (UUID with or without hyphens).
|
|
270
|
-
* @param {Array<JsonPatchOperation>} jsonPatchOperation
|
|
271
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
272
|
-
* @throws {RequiredError}
|
|
273
|
-
*/
|
|
274
|
-
patchEntitlementConnectionByQueryV1: function (entitlementId, identityId, accountId, jsonPatchOperation, axiosOptions) {
|
|
275
|
-
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
276
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
277
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
278
|
-
return __generator(this, function (_a) {
|
|
279
|
-
// verify required parameter 'entitlementId' is not null or undefined
|
|
280
|
-
assertParamExists('patchEntitlementConnectionByQueryV1', 'entitlementId', entitlementId);
|
|
281
|
-
// verify required parameter 'identityId' is not null or undefined
|
|
282
|
-
assertParamExists('patchEntitlementConnectionByQueryV1', 'identityId', identityId);
|
|
283
|
-
// verify required parameter 'accountId' is not null or undefined
|
|
284
|
-
assertParamExists('patchEntitlementConnectionByQueryV1', 'accountId', accountId);
|
|
285
|
-
// verify required parameter 'jsonPatchOperation' is not null or undefined
|
|
286
|
-
assertParamExists('patchEntitlementConnectionByQueryV1', 'jsonPatchOperation', jsonPatchOperation);
|
|
287
|
-
localVarPath = "/entitlement-connections/v1";
|
|
288
|
-
localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
289
|
-
if (configuration) {
|
|
290
|
-
baseOptions = configuration.baseOptions;
|
|
291
|
-
}
|
|
292
|
-
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), axiosOptions);
|
|
293
|
-
localVarHeaderParameter = {};
|
|
294
|
-
localVarQueryParameter = {};
|
|
295
|
-
if (entitlementId !== undefined) {
|
|
296
|
-
localVarQueryParameter['entitlementId'] = entitlementId;
|
|
297
|
-
}
|
|
298
|
-
if (identityId !== undefined) {
|
|
299
|
-
localVarQueryParameter['identityId'] = identityId;
|
|
300
|
-
}
|
|
301
|
-
if (accountId !== undefined) {
|
|
302
|
-
localVarQueryParameter['accountId'] = accountId;
|
|
303
|
-
}
|
|
304
|
-
localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
305
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
306
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
307
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
308
|
-
localVarRequestOptions.data = serializeDataIfNeeded(jsonPatchOperation, localVarRequestOptions, configuration);
|
|
309
|
-
return [2 /*return*/, {
|
|
310
|
-
url: toPathString(localVarUrlObj),
|
|
311
|
-
axiosOptions: localVarRequestOptions,
|
|
312
|
-
}];
|
|
313
|
-
});
|
|
314
|
-
});
|
|
315
|
-
},
|
|
316
|
-
/**
|
|
317
|
-
* Updates connection type for up to 100 connections in one request. The API returns per-item results in a 207 Multi-Status response.
|
|
318
|
-
* @summary Update connections in bulk
|
|
319
|
-
* @param {Array<EntitlementConnectionBulkUpdateItem>} entitlementConnectionBulkUpdateItem
|
|
320
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
321
|
-
* @throws {RequiredError}
|
|
322
|
-
*/
|
|
323
|
-
updateEntitlementConnectionsBulkV1: function (entitlementConnectionBulkUpdateItem, axiosOptions) {
|
|
324
|
-
if (axiosOptions === void 0) { axiosOptions = {}; }
|
|
325
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
326
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
327
|
-
return __generator(this, function (_a) {
|
|
328
|
-
// verify required parameter 'entitlementConnectionBulkUpdateItem' is not null or undefined
|
|
329
|
-
assertParamExists('updateEntitlementConnectionsBulkV1', 'entitlementConnectionBulkUpdateItem', entitlementConnectionBulkUpdateItem);
|
|
330
|
-
localVarPath = "/entitlement-connections/v1";
|
|
331
|
-
localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
332
|
-
if (configuration) {
|
|
333
|
-
baseOptions = configuration.baseOptions;
|
|
334
|
-
}
|
|
335
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), axiosOptions);
|
|
336
|
-
localVarHeaderParameter = {};
|
|
337
|
-
localVarQueryParameter = {};
|
|
338
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
339
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
340
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
341
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), axiosOptions.headers);
|
|
342
|
-
localVarRequestOptions.data = serializeDataIfNeeded(entitlementConnectionBulkUpdateItem, localVarRequestOptions, configuration);
|
|
343
|
-
return [2 /*return*/, {
|
|
344
|
-
url: toPathString(localVarUrlObj),
|
|
345
|
-
axiosOptions: localVarRequestOptions,
|
|
346
|
-
}];
|
|
347
|
-
});
|
|
348
|
-
});
|
|
349
|
-
},
|
|
350
260
|
};
|
|
351
261
|
};
|
|
352
262
|
/**
|
|
@@ -436,55 +346,6 @@ export var EntitlementConnectionsApiFp = function (configuration) {
|
|
|
436
346
|
});
|
|
437
347
|
});
|
|
438
348
|
},
|
|
439
|
-
/**
|
|
440
|
-
* Applies JSON Patch operations to a single entitlement connection selected by `entitlementId`, `identityId`, and `accountId`.
|
|
441
|
-
* @summary Update connection by query
|
|
442
|
-
* @param {string} entitlementId Entitlement ID (UUID with or without hyphens).
|
|
443
|
-
* @param {string} identityId Identity ID (UUID with or without hyphens).
|
|
444
|
-
* @param {string} accountId Account ID (UUID with or without hyphens).
|
|
445
|
-
* @param {Array<JsonPatchOperation>} jsonPatchOperation
|
|
446
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
447
|
-
* @throws {RequiredError}
|
|
448
|
-
*/
|
|
449
|
-
patchEntitlementConnectionByQueryV1: function (entitlementId, identityId, accountId, jsonPatchOperation, axiosOptions) {
|
|
450
|
-
var _a, _b, _c;
|
|
451
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
452
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
453
|
-
return __generator(this, function (_d) {
|
|
454
|
-
switch (_d.label) {
|
|
455
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchEntitlementConnectionByQueryV1(entitlementId, identityId, accountId, jsonPatchOperation, axiosOptions)];
|
|
456
|
-
case 1:
|
|
457
|
-
localVarAxiosArgs = _d.sent();
|
|
458
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
459
|
-
localVarOperationServerBasePath = (_c = (_b = operationServerMap['EntitlementConnectionsApi.patchEntitlementConnectionByQueryV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
460
|
-
return [2 /*return*/, function (axios, basePath) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
461
|
-
}
|
|
462
|
-
});
|
|
463
|
-
});
|
|
464
|
-
},
|
|
465
|
-
/**
|
|
466
|
-
* Updates connection type for up to 100 connections in one request. The API returns per-item results in a 207 Multi-Status response.
|
|
467
|
-
* @summary Update connections in bulk
|
|
468
|
-
* @param {Array<EntitlementConnectionBulkUpdateItem>} entitlementConnectionBulkUpdateItem
|
|
469
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
470
|
-
* @throws {RequiredError}
|
|
471
|
-
*/
|
|
472
|
-
updateEntitlementConnectionsBulkV1: function (entitlementConnectionBulkUpdateItem, axiosOptions) {
|
|
473
|
-
var _a, _b, _c;
|
|
474
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
475
|
-
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
476
|
-
return __generator(this, function (_d) {
|
|
477
|
-
switch (_d.label) {
|
|
478
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateEntitlementConnectionsBulkV1(entitlementConnectionBulkUpdateItem, axiosOptions)];
|
|
479
|
-
case 1:
|
|
480
|
-
localVarAxiosArgs = _d.sent();
|
|
481
|
-
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
482
|
-
localVarOperationServerBasePath = (_c = (_b = operationServerMap['EntitlementConnectionsApi.updateEntitlementConnectionsBulkV1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
483
|
-
return [2 /*return*/, function (axios, basePath) { return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
484
|
-
}
|
|
485
|
-
});
|
|
486
|
-
});
|
|
487
|
-
},
|
|
488
349
|
};
|
|
489
350
|
};
|
|
490
351
|
/**
|
|
@@ -526,26 +387,6 @@ export var EntitlementConnectionsApiFactory = function (configuration, basePath,
|
|
|
526
387
|
patchEntitlementConnectionByIdV1: function (requestParameters, axiosOptions) {
|
|
527
388
|
return localVarFp.patchEntitlementConnectionByIdV1(requestParameters.connectionId, requestParameters.jsonPatchOperation, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
528
389
|
},
|
|
529
|
-
/**
|
|
530
|
-
* Applies JSON Patch operations to a single entitlement connection selected by `entitlementId`, `identityId`, and `accountId`.
|
|
531
|
-
* @summary Update connection by query
|
|
532
|
-
* @param {EntitlementConnectionsApiPatchEntitlementConnectionByQueryV1Request} requestParameters Request parameters.
|
|
533
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
534
|
-
* @throws {RequiredError}
|
|
535
|
-
*/
|
|
536
|
-
patchEntitlementConnectionByQueryV1: function (requestParameters, axiosOptions) {
|
|
537
|
-
return localVarFp.patchEntitlementConnectionByQueryV1(requestParameters.entitlementId, requestParameters.identityId, requestParameters.accountId, requestParameters.jsonPatchOperation, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
538
|
-
},
|
|
539
|
-
/**
|
|
540
|
-
* Updates connection type for up to 100 connections in one request. The API returns per-item results in a 207 Multi-Status response.
|
|
541
|
-
* @summary Update connections in bulk
|
|
542
|
-
* @param {EntitlementConnectionsApiUpdateEntitlementConnectionsBulkV1Request} requestParameters Request parameters.
|
|
543
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
544
|
-
* @throws {RequiredError}
|
|
545
|
-
*/
|
|
546
|
-
updateEntitlementConnectionsBulkV1: function (requestParameters, axiosOptions) {
|
|
547
|
-
return localVarFp.updateEntitlementConnectionsBulkV1(requestParameters.entitlementConnectionBulkUpdateItem, axiosOptions).then(function (request) { return request(axios, basePath); });
|
|
548
|
-
},
|
|
549
390
|
};
|
|
550
391
|
};
|
|
551
392
|
/**
|
|
@@ -597,30 +438,6 @@ var EntitlementConnectionsApi = /** @class */ (function (_super) {
|
|
|
597
438
|
var _this = this;
|
|
598
439
|
return EntitlementConnectionsApiFp(this.configuration).patchEntitlementConnectionByIdV1(requestParameters.connectionId, requestParameters.jsonPatchOperation, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
599
440
|
};
|
|
600
|
-
/**
|
|
601
|
-
* Applies JSON Patch operations to a single entitlement connection selected by `entitlementId`, `identityId`, and `accountId`.
|
|
602
|
-
* @summary Update connection by query
|
|
603
|
-
* @param {EntitlementConnectionsApiPatchEntitlementConnectionByQueryV1Request} requestParameters Request parameters.
|
|
604
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
605
|
-
* @throws {RequiredError}
|
|
606
|
-
* @memberof EntitlementConnectionsApi
|
|
607
|
-
*/
|
|
608
|
-
EntitlementConnectionsApi.prototype.patchEntitlementConnectionByQueryV1 = function (requestParameters, axiosOptions) {
|
|
609
|
-
var _this = this;
|
|
610
|
-
return EntitlementConnectionsApiFp(this.configuration).patchEntitlementConnectionByQueryV1(requestParameters.entitlementId, requestParameters.identityId, requestParameters.accountId, requestParameters.jsonPatchOperation, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
611
|
-
};
|
|
612
|
-
/**
|
|
613
|
-
* Updates connection type for up to 100 connections in one request. The API returns per-item results in a 207 Multi-Status response.
|
|
614
|
-
* @summary Update connections in bulk
|
|
615
|
-
* @param {EntitlementConnectionsApiUpdateEntitlementConnectionsBulkV1Request} requestParameters Request parameters.
|
|
616
|
-
* @param {*} [axiosOptions] Override http request option.
|
|
617
|
-
* @throws {RequiredError}
|
|
618
|
-
* @memberof EntitlementConnectionsApi
|
|
619
|
-
*/
|
|
620
|
-
EntitlementConnectionsApi.prototype.updateEntitlementConnectionsBulkV1 = function (requestParameters, axiosOptions) {
|
|
621
|
-
var _this = this;
|
|
622
|
-
return EntitlementConnectionsApiFp(this.configuration).updateEntitlementConnectionsBulkV1(requestParameters.entitlementConnectionBulkUpdateItem, axiosOptions).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
623
|
-
};
|
|
624
441
|
return EntitlementConnectionsApi;
|
|
625
442
|
}(BaseAPI));
|
|
626
443
|
export { EntitlementConnectionsApi };
|
package/dist/esm/nerm/common.js
CHANGED
|
@@ -246,8 +246,8 @@ export var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH,
|
|
|
246
246
|
// header such as X-SailPoint-SDK forces a CORS preflight that tenants do
|
|
247
247
|
// not allow, which blocks the request outright.
|
|
248
248
|
if (typeof process !== 'undefined' && ((_a = process.versions) === null || _a === void 0 ? void 0 : _a.node)) {
|
|
249
|
-
headers['X-SailPoint-SDK'] = 'typescript-2.2.
|
|
250
|
-
userAgent = "SailPoint-SDK-TypeScript/2.2.
|
|
249
|
+
headers['X-SailPoint-SDK'] = 'typescript-2.2.28';
|
|
250
|
+
userAgent = "SailPoint-SDK-TypeScript/2.2.28";
|
|
251
251
|
if ((configuration === null || configuration === void 0 ? void 0 : configuration.consumerIdentifier) && (configuration === null || configuration === void 0 ? void 0 : configuration.consumerVersion)) {
|
|
252
252
|
userAgent += " (".concat(configuration.consumerIdentifier, "/").concat(configuration.consumerVersion, ")");
|
|
253
253
|
}
|
|
@@ -246,8 +246,8 @@ export var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH,
|
|
|
246
246
|
// header such as X-SailPoint-SDK forces a CORS preflight that tenants do
|
|
247
247
|
// not allow, which blocks the request outright.
|
|
248
248
|
if (typeof process !== 'undefined' && ((_a = process.versions) === null || _a === void 0 ? void 0 : _a.node)) {
|
|
249
|
-
headers['X-SailPoint-SDK'] = 'typescript-2.2.
|
|
250
|
-
userAgent = "SailPoint-SDK-TypeScript/2.2.
|
|
249
|
+
headers['X-SailPoint-SDK'] = 'typescript-2.2.28';
|
|
250
|
+
userAgent = "SailPoint-SDK-TypeScript/2.2.28";
|
|
251
251
|
if ((configuration === null || configuration === void 0 ? void 0 : configuration.consumerIdentifier) && (configuration === null || configuration === void 0 ? void 0 : configuration.consumerVersion)) {
|
|
252
252
|
userAgent += " (".concat(configuration.consumerIdentifier, "/").concat(configuration.consumerVersion, ")");
|
|
253
253
|
}
|
package/dist/nerm/common.js
CHANGED
|
@@ -257,8 +257,8 @@ var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configu
|
|
|
257
257
|
// header such as X-SailPoint-SDK forces a CORS preflight that tenants do
|
|
258
258
|
// not allow, which blocks the request outright.
|
|
259
259
|
if (typeof process !== 'undefined' && ((_a = process.versions) === null || _a === void 0 ? void 0 : _a.node)) {
|
|
260
|
-
headers['X-SailPoint-SDK'] = 'typescript-2.2.
|
|
261
|
-
userAgent = "SailPoint-SDK-TypeScript/2.2.
|
|
260
|
+
headers['X-SailPoint-SDK'] = 'typescript-2.2.28';
|
|
261
|
+
userAgent = "SailPoint-SDK-TypeScript/2.2.28";
|
|
262
262
|
if ((configuration === null || configuration === void 0 ? void 0 : configuration.consumerIdentifier) && (configuration === null || configuration === void 0 ? void 0 : configuration.consumerVersion)) {
|
|
263
263
|
userAgent += " (".concat(configuration.consumerIdentifier, "/").concat(configuration.consumerVersion, ")");
|
|
264
264
|
}
|
package/dist/nerm/common.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../nerm/common.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMH,+BAAuC;AAEvC;;;GAGG;AACU,QAAA,cAAc,GAAG,qBAAqB,CAAA;AAEnD;;;;GAIG;AACI,IAAM,iBAAiB,GAAG,UAAU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IAAI,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC;qCACpC;oCACD,MAAM,KAAK,CAAC;iCACf;gCACD,MAAM,KAAK,CAAC;4BAChB,CAAC,CAAC,EAAC;;;;KACN,CAAC;AACN,CAAC,CAAA;AA7CY,QAAA,qBAAqB,yBA6CjC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * NERM API\n * The NERM API accesss and modifies resources in your environment.\n *\n * The version of the OpenAPI document: 1.0.0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from \"../configuration\";\nimport type { RequestArgs } from \"./base\";\nimport type { AxiosInstance, AxiosResponse } from 'axios';\nimport { RequiredError } from \"./base\";\n\n/**\n *\n * @export\n */\nexport const DUMMY_BASE_URL = 'https://example.com'\n\n/**\n *\n * @throws {RequiredError}\n * @export\n */\nexport const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {\n if (paramValue === null || paramValue === undefined) {\n throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);\n }\n}\n\n/**\n *\n * @export\n */\nexport const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(keyParamName)\n : await configuration.apiKey;\n object[keyParamName] = localVarApiKeyValue;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBasicAuthToObject = function (object: any, configuration?: Configuration) {\n if (configuration && (configuration.username || configuration.password)) {\n object[\"auth\"] = { username: configuration.username, password: configuration.password };\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const accessToken = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken()\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + accessToken;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const localVarAccessTokenValue = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken(name, scopes)\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + localVarAccessTokenValue;\n }\n}\n\nfunction setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = \"\"): void {\n if (parameter == null) return;\n if (typeof parameter === \"object\") {\n if (Array.isArray(parameter)) {\n (parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));\n } \n else {\n Object.keys(parameter).forEach(currentKey => \n setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)\n );\n }\n } \n else {\n if (urlSearchParams.has(key)) {\n urlSearchParams.append(key, parameter);\n } \n else {\n urlSearchParams.set(key, parameter);\n }\n }\n}\n\n/**\n *\n * @export\n */\nexport const setSearchParams = function (url: URL, ...objects: any[]) {\n const searchParams = new URLSearchParams(url.search);\n setFlattenedQueryParams(searchParams, objects);\n url.search = searchParams.toString();\n}\n\n/**\n *\n * @export\n */\nexport const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {\n const nonString = typeof value !== 'string';\n const needsSerialization = nonString && configuration && configuration.isJsonMime\n ? configuration.isJsonMime(requestOptions.headers['Content-Type'])\n : nonString;\n return needsSerialization\n ? JSON.stringify(value !== undefined ? value : {})\n : (value || \"\");\n}\n\n/**\n *\n * @export\n */\nexport const toPathString = function (url: URL) {\n return url.pathname + url.search + url.hash\n}\n\n/**\n *\n * @export\n */\nexport const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {\n return async <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const headers: Record<string, any> = {\n ...{'Accept': 'application/json'},\n ...axiosArgs.axiosOptions.headers,\n }\n\n // Node-only headers. Browsers reject a User-Agent override, and a custom\n // header such as X-SailPoint-SDK forces a CORS preflight that tenants do\n // not allow, which blocks the request outright.\n if (typeof process !== 'undefined' && process.versions?.node) {\n headers['X-SailPoint-SDK'] = 'typescript-2.2.27';\n let userAgent = `SailPoint-SDK-TypeScript/2.2.27`;\n if (configuration?.consumerIdentifier && configuration?.consumerVersion) {\n userAgent += ` (${configuration.consumerIdentifier}/${configuration.consumerVersion})`;\n }\n userAgent += ` (${process.platform}; ${process.arch}) Node/${process.versions.node} (openapi-generator/7.12.0)`;\n headers['User-Agent'] = userAgent;\n }\n\n if(!configuration.experimental && (\"X-SailPoint-Experimental\" in headers)) {\n throw new Error(\"You are using Experimental APIs. Set configuration.experimental = True to enable these APIs in the SDK.\")\n } else if(configuration.experimental == true && (\"X-SailPoint-Experimental\" in headers)) {\n console.log(\"Warning: You are using Experimental APIs\")\n }\n\n await setBearerAuthToObject(headers, configuration);\n\n const axiosRequestArgs = {...axiosArgs.axiosOptions, url: (basePath || configuration?.nermBasePath) + axiosArgs.url, headers};\n return axios.request<T, R>(axiosRequestArgs).catch((error: any) => {\n if (error?.isAxiosError === true) {\n const clean: any = new Error(error.message ?? 'API request failed');\n clean.name = 'ApiError';\n clean.stack = error.stack;\n clean.code = error.code;\n if (error.response) {\n clean.status = error.response.status;\n clean.statusText = error.response.statusText;\n clean.data = error.response.data;\n }\n throw clean;\n }\n throw error;\n });\n };\n}\n"]}
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../nerm/common.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMH,+BAAuC;AAEvC;;;GAGG;AACU,QAAA,cAAc,GAAG,qBAAqB,CAAA;AAEnD;;;;GAIG;AACI,IAAM,iBAAiB,GAAG,UAAU,YAAoB,EAAE,SAAiB,E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,QAAQ,CAAC,IAAI,CAAC;qCACpC;oCACD,MAAM,KAAK,CAAC;iCACf;gCACD,MAAM,KAAK,CAAC;4BAChB,CAAC,CAAC,EAAC;;;;KACN,CAAC;AACN,CAAC,CAAA;AA7CY,QAAA,qBAAqB,yBA6CjC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * NERM API\n * The NERM API accesss and modifies resources in your environment.\n *\n * The version of the OpenAPI document: 1.0.0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from \"../configuration\";\nimport type { RequestArgs } from \"./base\";\nimport type { AxiosInstance, AxiosResponse } from 'axios';\nimport { RequiredError } from \"./base\";\n\n/**\n *\n * @export\n */\nexport const DUMMY_BASE_URL = 'https://example.com'\n\n/**\n *\n * @throws {RequiredError}\n * @export\n */\nexport const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {\n if (paramValue === null || paramValue === undefined) {\n throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);\n }\n}\n\n/**\n *\n * @export\n */\nexport const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(keyParamName)\n : await configuration.apiKey;\n object[keyParamName] = localVarApiKeyValue;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBasicAuthToObject = function (object: any, configuration?: Configuration) {\n if (configuration && (configuration.username || configuration.password)) {\n object[\"auth\"] = { username: configuration.username, password: configuration.password };\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const accessToken = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken()\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + accessToken;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const localVarAccessTokenValue = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken(name, scopes)\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + localVarAccessTokenValue;\n }\n}\n\nfunction setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = \"\"): void {\n if (parameter == null) return;\n if (typeof parameter === \"object\") {\n if (Array.isArray(parameter)) {\n (parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));\n } \n else {\n Object.keys(parameter).forEach(currentKey => \n setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)\n );\n }\n } \n else {\n if (urlSearchParams.has(key)) {\n urlSearchParams.append(key, parameter);\n } \n else {\n urlSearchParams.set(key, parameter);\n }\n }\n}\n\n/**\n *\n * @export\n */\nexport const setSearchParams = function (url: URL, ...objects: any[]) {\n const searchParams = new URLSearchParams(url.search);\n setFlattenedQueryParams(searchParams, objects);\n url.search = searchParams.toString();\n}\n\n/**\n *\n * @export\n */\nexport const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {\n const nonString = typeof value !== 'string';\n const needsSerialization = nonString && configuration && configuration.isJsonMime\n ? configuration.isJsonMime(requestOptions.headers['Content-Type'])\n : nonString;\n return needsSerialization\n ? JSON.stringify(value !== undefined ? value : {})\n : (value || \"\");\n}\n\n/**\n *\n * @export\n */\nexport const toPathString = function (url: URL) {\n return url.pathname + url.search + url.hash\n}\n\n/**\n *\n * @export\n */\nexport const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {\n return async <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const headers: Record<string, any> = {\n ...{'Accept': 'application/json'},\n ...axiosArgs.axiosOptions.headers,\n }\n\n // Node-only headers. Browsers reject a User-Agent override, and a custom\n // header such as X-SailPoint-SDK forces a CORS preflight that tenants do\n // not allow, which blocks the request outright.\n if (typeof process !== 'undefined' && process.versions?.node) {\n headers['X-SailPoint-SDK'] = 'typescript-2.2.28';\n let userAgent = `SailPoint-SDK-TypeScript/2.2.28`;\n if (configuration?.consumerIdentifier && configuration?.consumerVersion) {\n userAgent += ` (${configuration.consumerIdentifier}/${configuration.consumerVersion})`;\n }\n userAgent += ` (${process.platform}; ${process.arch}) Node/${process.versions.node} (openapi-generator/7.12.0)`;\n headers['User-Agent'] = userAgent;\n }\n\n if(!configuration.experimental && (\"X-SailPoint-Experimental\" in headers)) {\n throw new Error(\"You are using Experimental APIs. Set configuration.experimental = True to enable these APIs in the SDK.\")\n } else if(configuration.experimental == true && (\"X-SailPoint-Experimental\" in headers)) {\n console.log(\"Warning: You are using Experimental APIs\")\n }\n\n await setBearerAuthToObject(headers, configuration);\n\n const axiosRequestArgs = {...axiosArgs.axiosOptions, url: (basePath || configuration?.nermBasePath) + axiosArgs.url, headers};\n return axios.request<T, R>(axiosRequestArgs).catch((error: any) => {\n if (error?.isAxiosError === true) {\n const clean: any = new Error(error.message ?? 'API request failed');\n clean.name = 'ApiError';\n clean.stack = error.stack;\n clean.code = error.code;\n if (error.response) {\n clean.status = error.response.status;\n clean.statusText = error.response.statusText;\n clean.data = error.response.data;\n }\n throw clean;\n }\n throw error;\n });\n };\n}\n"]}
|
package/dist/nermv2025/common.js
CHANGED
|
@@ -257,8 +257,8 @@ var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configu
|
|
|
257
257
|
// header such as X-SailPoint-SDK forces a CORS preflight that tenants do
|
|
258
258
|
// not allow, which blocks the request outright.
|
|
259
259
|
if (typeof process !== 'undefined' && ((_a = process.versions) === null || _a === void 0 ? void 0 : _a.node)) {
|
|
260
|
-
headers['X-SailPoint-SDK'] = 'typescript-2.2.
|
|
261
|
-
userAgent = "SailPoint-SDK-TypeScript/2.2.
|
|
260
|
+
headers['X-SailPoint-SDK'] = 'typescript-2.2.28';
|
|
261
|
+
userAgent = "SailPoint-SDK-TypeScript/2.2.28";
|
|
262
262
|
if ((configuration === null || configuration === void 0 ? void 0 : configuration.consumerIdentifier) && (configuration === null || configuration === void 0 ? void 0 : configuration.consumerVersion)) {
|
|
263
263
|
userAgent += " (".concat(configuration.consumerIdentifier, "/").concat(configuration.consumerVersion, ")");
|
|
264
264
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../nermv2025/common.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMH,+BAAuC;AAEvC;;;GAGG;AACU,QAAA,cAAc,GAAG,qBAAqB,CAAA;AAEnD;;;;GAIG;AACI,IAAM,iBAAiB,GAAG,UAAU,YAAoB,EAAE,SAAiB,EAAE,UAAmB;IACnG,IAAI,UAAU,KAAK,IAAI,IAAI,UAAU,KAAK,SAAS,EAAE;QACjD,MAAM,IAAI,oBAAa,CAAC,SAAS,EAAE,6BAAsB,SAAS,iDAAuC,YAAY,MAAG,CAAC,CAAC;KAC7H;AACL,CAAC,CAAA;AAJY,QAAA,iBAAiB,qBAI7B;AAED;;;GAGG;AACI,IAAM,iBAAiB,GAAG,UAAgB,MAAW,EAAE,YAAoB,EAAE,aAA6B;;;;;;yBACzG,CAAA,aAAa,IAAI,aAAa,CAAC,MAAM,CAAA,EAArC,wBAAqC;yBACT,CAAA,OAAO,aAAa,CAAC,MAAM,KAAK,UAAU,CAAA,EAA1C,wBAA0C;oBAChE,qBAAM,aAAa,CAAC,MAAM,CAAC,YAAY,CAAC,EAAA;;oBAAxC,KAAA,SAAwC,CAAA;;wBACxC,qBAAM,aAAa,CAAC,MAAM,EAAA;;oBAA1B,KAAA,SAA0B,CAAA;;;oBAF1B,mBAAmB,KAEO;oBAChC,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,OAAO,CAAO,gBAAgB,CAAC,CAAC,KAAK,CAAC,UAAC,KAAU;;gCAC1D,IAAI,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,YAAY,MAAK,IAAI,EAAE;oCAC9B,IAAM,KAAK,GAAQ,IAAI,KAAK,CAAC,MAAA,KAAK,CAAC,OAAO,mCAAI,oBAAoB,CAAC,CAAC;oCACpE,KAAK,CAAC,IAAI,GAAG,UAAU,CAAC;oCACxB,KAAK,CAAC,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;oCAC1B,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;oCACxB,IAAI,KAAK,CAAC,QAAQ,EAAE;wCAChB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC;wCACrC,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC;wCAC7C,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC;qCACpC;oCACD,MAAM,KAAK,CAAC;iCACf;gCACD,MAAM,KAAK,CAAC;4BAChB,CAAC,CAAC,EAAC;;;;KACN,CAAC;AACN,CAAC,CAAA;AA7CY,QAAA,qBAAqB,yBA6CjC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * NERM API v2025\n * The NERM API v2025 accesss and modifies resources in your environment.\n *\n * The version of the OpenAPI document: 1.0.0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from \"../configuration\";\nimport type { RequestArgs } from \"./base\";\nimport type { AxiosInstance, AxiosResponse } from 'axios';\nimport { RequiredError } from \"./base\";\n\n/**\n *\n * @export\n */\nexport const DUMMY_BASE_URL = 'https://example.com'\n\n/**\n *\n * @throws {RequiredError}\n * @export\n */\nexport const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {\n if (paramValue === null || paramValue === undefined) {\n throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);\n }\n}\n\n/**\n *\n * @export\n */\nexport const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(keyParamName)\n : await configuration.apiKey;\n object[keyParamName] = localVarApiKeyValue;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBasicAuthToObject = function (object: any, configuration?: Configuration) {\n if (configuration && (configuration.username || configuration.password)) {\n object[\"auth\"] = { username: configuration.username, password: configuration.password };\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const accessToken = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken()\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + accessToken;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const localVarAccessTokenValue = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken(name, scopes)\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + localVarAccessTokenValue;\n }\n}\n\nfunction setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = \"\"): void {\n if (parameter == null) return;\n if (typeof parameter === \"object\") {\n if (Array.isArray(parameter)) {\n (parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));\n } \n else {\n Object.keys(parameter).forEach(currentKey => \n setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)\n );\n }\n } \n else {\n if (urlSearchParams.has(key)) {\n urlSearchParams.append(key, parameter);\n } \n else {\n urlSearchParams.set(key, parameter);\n }\n }\n}\n\n/**\n *\n * @export\n */\nexport const setSearchParams = function (url: URL, ...objects: any[]) {\n const searchParams = new URLSearchParams(url.search);\n setFlattenedQueryParams(searchParams, objects);\n url.search = searchParams.toString();\n}\n\n/**\n *\n * @export\n */\nexport const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {\n const nonString = typeof value !== 'string';\n const needsSerialization = nonString && configuration && configuration.isJsonMime\n ? configuration.isJsonMime(requestOptions.headers['Content-Type'])\n : nonString;\n return needsSerialization\n ? JSON.stringify(value !== undefined ? value : {})\n : (value || \"\");\n}\n\n/**\n *\n * @export\n */\nexport const toPathString = function (url: URL) {\n return url.pathname + url.search + url.hash\n}\n\n/**\n *\n * @export\n */\nexport const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {\n return async <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const headers: Record<string, any> = {\n ...{'Accept': 'application/json'},\n ...axiosArgs.axiosOptions.headers,\n }\n\n // Node-only headers. Browsers reject a User-Agent override, and a custom\n // header such as X-SailPoint-SDK forces a CORS preflight that tenants do\n // not allow, which blocks the request outright.\n if (typeof process !== 'undefined' && process.versions?.node) {\n headers['X-SailPoint-SDK'] = 'typescript-2.2.27';\n let userAgent = `SailPoint-SDK-TypeScript/2.2.27`;\n if (configuration?.consumerIdentifier && configuration?.consumerVersion) {\n userAgent += ` (${configuration.consumerIdentifier}/${configuration.consumerVersion})`;\n }\n userAgent += ` (${process.platform}; ${process.arch}) Node/${process.versions.node} (openapi-generator/7.12.0)`;\n headers['User-Agent'] = userAgent;\n }\n\n if(!configuration.experimental && (\"X-SailPoint-Experimental\" in headers)) {\n throw new Error(\"You are using Experimental APIs. Set configuration.experimental = True to enable these APIs in the SDK.\")\n } else if(configuration.experimental == true && (\"X-SailPoint-Experimental\" in headers)) {\n console.log(\"Warning: You are using Experimental APIs\")\n }\n\n await setBearerAuthToObject(headers, configuration);\n\n const axiosRequestArgs = {...axiosArgs.axiosOptions, url: (basePath || configuration?.nermBasePath) + axiosArgs.url, headers};\n return axios.request<T, R>(axiosRequestArgs).catch((error: any) => {\n if (error?.isAxiosError === true) {\n const clean: any = new Error(error.message ?? 'API request failed');\n clean.name = 'ApiError';\n clean.stack = error.stack;\n clean.code = error.code;\n if (error.response) {\n clean.status = error.response.status;\n clean.statusText = error.response.statusText;\n clean.data = error.response.data;\n }\n throw clean;\n }\n throw error;\n });\n };\n}\n"]}
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../nermv2025/common.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMH,+BAAuC;AAEvC;;;GAGG;AACU,QAAA,cAAc,GAAG,qBAAqB,CAAA;AAEnD;;;;GAIG;AACI,IAAM,iBAAiB,GAAG,UAAU,YAAoB,EAAE,SAAiB,EAAE,UAAmB;IACnG,IAAI,UAAU,KAAK,IAAI,IAAI,UAAU,KAAK,SAAS,EAAE;QACjD,MAAM,IAAI,oBAAa,CAAC,SAAS,EAAE,6BAAsB,SAAS,iDAAuC,YAAY,MAAG,CAAC,CAAC;KAC7H;AACL,CAAC,CAAA;AAJY,QAAA,iBAAiB,qBAI7B;AAED;;;GAGG;AACI,IAAM,iBAAiB,GAAG,UAAgB,MAAW,EAAE,YAAoB,EAAE,aAA6B;;;;;;yBACzG,CAAA,aAAa,IAAI,aAAa,CAAC,MAAM,CAAA,EAArC,wBAAqC;yBACT,CAAA,OAAO,aAAa,CAAC,MAAM,KAAK,UAAU,CAAA,EAA1C,wBAA0C;oBAChE,qBAAM,aAAa,CAAC,MAAM,CAAC,YAAY,CAAC,EAAA;;oBAAxC,KAAA,SAAwC,CAAA;;wBACxC,qBAAM,aAAa,CAAC,MAAM,EAAA;;oBAA1B,KAAA,SAA0B,CAAA;;;oBAF1B,mBAAmB,KAEO;oBAChC,MAAM,CAAC,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,gBAAgB,CAAC,CAAC,KAAK,CAAC,UAAC,KAAU;;gCAC1D,IAAI,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,YAAY,MAAK,IAAI,EAAE;oCAC9B,IAAM,KAAK,GAAQ,IAAI,KAAK,CAAC,MAAA,KAAK,CAAC,OAAO,mCAAI,oBAAoB,CAAC,CAAC;oCACpE,KAAK,CAAC,IAAI,GAAG,UAAU,CAAC;oCACxB,KAAK,CAAC,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC;oCAC1B,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;oCACxB,IAAI,KAAK,CAAC,QAAQ,EAAE;wCAChB,KAAK,CAAC,MAAM,GAAG,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC;wCACrC,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC;wCAC7C,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC;qCACpC;oCACD,MAAM,KAAK,CAAC;iCACf;gCACD,MAAM,KAAK,CAAC;4BAChB,CAAC,CAAC,EAAC;;;;KACN,CAAC;AACN,CAAC,CAAA;AA7CY,QAAA,qBAAqB,yBA6CjC","sourcesContent":["/* tslint:disable */\n/* eslint-disable */\n/**\n * NERM API v2025\n * The NERM API v2025 accesss and modifies resources in your environment.\n *\n * The version of the OpenAPI document: 1.0.0\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from \"../configuration\";\nimport type { RequestArgs } from \"./base\";\nimport type { AxiosInstance, AxiosResponse } from 'axios';\nimport { RequiredError } from \"./base\";\n\n/**\n *\n * @export\n */\nexport const DUMMY_BASE_URL = 'https://example.com'\n\n/**\n *\n * @throws {RequiredError}\n * @export\n */\nexport const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {\n if (paramValue === null || paramValue === undefined) {\n throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);\n }\n}\n\n/**\n *\n * @export\n */\nexport const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(keyParamName)\n : await configuration.apiKey;\n object[keyParamName] = localVarApiKeyValue;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBasicAuthToObject = function (object: any, configuration?: Configuration) {\n if (configuration && (configuration.username || configuration.password)) {\n object[\"auth\"] = { username: configuration.username, password: configuration.password };\n }\n}\n\n/**\n *\n * @export\n */\nexport const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const accessToken = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken()\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + accessToken;\n }\n}\n\n/**\n *\n * @export\n */\nexport const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const localVarAccessTokenValue = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken(name, scopes)\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + localVarAccessTokenValue;\n }\n}\n\nfunction setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = \"\"): void {\n if (parameter == null) return;\n if (typeof parameter === \"object\") {\n if (Array.isArray(parameter)) {\n (parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));\n } \n else {\n Object.keys(parameter).forEach(currentKey => \n setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)\n );\n }\n } \n else {\n if (urlSearchParams.has(key)) {\n urlSearchParams.append(key, parameter);\n } \n else {\n urlSearchParams.set(key, parameter);\n }\n }\n}\n\n/**\n *\n * @export\n */\nexport const setSearchParams = function (url: URL, ...objects: any[]) {\n const searchParams = new URLSearchParams(url.search);\n setFlattenedQueryParams(searchParams, objects);\n url.search = searchParams.toString();\n}\n\n/**\n *\n * @export\n */\nexport const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {\n const nonString = typeof value !== 'string';\n const needsSerialization = nonString && configuration && configuration.isJsonMime\n ? configuration.isJsonMime(requestOptions.headers['Content-Type'])\n : nonString;\n return needsSerialization\n ? JSON.stringify(value !== undefined ? value : {})\n : (value || \"\");\n}\n\n/**\n *\n * @export\n */\nexport const toPathString = function (url: URL) {\n return url.pathname + url.search + url.hash\n}\n\n/**\n *\n * @export\n */\nexport const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {\n return async <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const headers: Record<string, any> = {\n ...{'Accept': 'application/json'},\n ...axiosArgs.axiosOptions.headers,\n }\n\n // Node-only headers. Browsers reject a User-Agent override, and a custom\n // header such as X-SailPoint-SDK forces a CORS preflight that tenants do\n // not allow, which blocks the request outright.\n if (typeof process !== 'undefined' && process.versions?.node) {\n headers['X-SailPoint-SDK'] = 'typescript-2.2.28';\n let userAgent = `SailPoint-SDK-TypeScript/2.2.28`;\n if (configuration?.consumerIdentifier && configuration?.consumerVersion) {\n userAgent += ` (${configuration.consumerIdentifier}/${configuration.consumerVersion})`;\n }\n userAgent += ` (${process.platform}; ${process.arch}) Node/${process.versions.node} (openapi-generator/7.12.0)`;\n headers['User-Agent'] = userAgent;\n }\n\n if(!configuration.experimental && (\"X-SailPoint-Experimental\" in headers)) {\n throw new Error(\"You are using Experimental APIs. Set configuration.experimental = True to enable these APIs in the SDK.\")\n } else if(configuration.experimental == true && (\"X-SailPoint-Experimental\" in headers)) {\n console.log(\"Warning: You are using Experimental APIs\")\n }\n\n await setBearerAuthToObject(headers, configuration);\n\n const axiosRequestArgs = {...axiosArgs.axiosOptions, url: (basePath || configuration?.nermBasePath) + axiosArgs.url, headers};\n return axios.request<T, R>(axiosRequestArgs).catch((error: any) => {\n if (error?.isAxiosError === true) {\n const clean: any = new Error(error.message ?? 'API request failed');\n clean.name = 'ApiError';\n clean.stack = error.stack;\n clean.code = error.code;\n if (error.response) {\n clean.status = error.response.status;\n clean.statusText = error.response.statusText;\n clean.data = error.response.data;\n }\n throw clean;\n }\n throw error;\n });\n };\n}\n"]}
|