@sailpoint/api-client 2.2.26 → 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/esm/sod_violations/api.js +7 -5
- package/dist/nerm/common.js +2 -2
- package/dist/nerm/common.js.map +1 -1
- package/dist/nermv2025/common.js +2 -2
- package/dist/nermv2025/common.js.map +1 -1
- package/dist/sod_violations/api.d.ts +10 -8
- package/dist/sod_violations/api.js +7 -5
- package/dist/sod_violations/api.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;
|