@emilgroup/validation-rules-sdk 1.0.1-beta.0 → 1.0.1-beta.2
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/.openapi-generator/FILES +10 -0
- package/README.md +2 -2
- package/api/investigation-blocks-api.ts +231 -25
- package/api/validation-rules-api.ts +447 -12
- package/dist/api/investigation-blocks-api.d.ts +132 -20
- package/dist/api/investigation-blocks-api.js +209 -25
- package/dist/api/validation-rules-api.d.ts +244 -12
- package/dist/api/validation-rules-api.js +383 -9
- package/dist/models/cancel-investigation-block-response-class.d.ts +25 -0
- package/dist/models/cancel-investigation-block-response-class.js +15 -0
- package/dist/models/create-validation-rule-request-dto.d.ts +17 -12
- package/dist/models/create-validation-rule-request-dto.js +5 -1
- package/dist/models/execute-rule-request-dto.d.ts +41 -0
- package/dist/models/execute-rule-request-dto.js +20 -0
- package/dist/models/execute-rule-response-class.d.ts +54 -0
- package/dist/models/execute-rule-response-class.js +20 -0
- package/dist/models/execute-rule-result-class.d.ts +53 -0
- package/dist/models/execute-rule-result-class.js +20 -0
- package/dist/models/execute-rule-with-dry-run-request-dto.d.ts +30 -0
- package/dist/models/execute-rule-with-dry-run-request-dto.js +15 -0
- package/dist/models/execute-rule-with-dry-run-response-class.d.ts +36 -0
- package/dist/models/execute-rule-with-dry-run-response-class.js +15 -0
- package/dist/models/execute-rules-by-type-request-dto.d.ts +35 -0
- package/dist/models/execute-rules-by-type-request-dto.js +20 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/dist/models/investigation-block-class.d.ts +25 -2
- package/dist/models/investigation-block-class.js +10 -0
- package/dist/models/resolve-investigation-block-response-class.d.ts +25 -0
- package/dist/models/resolve-investigation-block-response-class.js +15 -0
- package/dist/models/update-investigation-block-request-dto.d.ts +1 -1
- package/dist/models/update-investigation-block-request-dto.js +1 -1
- package/dist/models/update-validation-rule-request-dto.d.ts +88 -0
- package/dist/models/update-validation-rule-request-dto.js +24 -0
- package/dist/models/update-validation-rule-response-class.d.ts +25 -0
- package/dist/models/update-validation-rule-response-class.js +15 -0
- package/dist/models/validation-rule-class.d.ts +16 -5
- package/dist/models/validation-rule-class.js +5 -1
- package/models/cancel-investigation-block-response-class.ts +31 -0
- package/models/create-validation-rule-request-dto.ts +18 -12
- package/models/execute-rule-request-dto.ts +50 -0
- package/models/execute-rule-response-class.ts +63 -0
- package/models/execute-rule-result-class.ts +62 -0
- package/models/execute-rule-with-dry-run-request-dto.ts +36 -0
- package/models/execute-rule-with-dry-run-response-class.ts +42 -0
- package/models/execute-rules-by-type-request-dto.ts +44 -0
- package/models/index.ts +10 -0
- package/models/investigation-block-class.ts +29 -2
- package/models/resolve-investigation-block-response-class.ts +31 -0
- package/models/update-investigation-block-request-dto.ts +1 -1
- package/models/update-validation-rule-request-dto.ts +98 -0
- package/models/update-validation-rule-response-class.ts +31 -0
- package/models/validation-rule-class.ts +17 -5
- package/package.json +1 -1
|
@@ -93,7 +93,55 @@ var InvestigationBlocksApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
*
|
|
96
|
+
* This will cancel investigation block. **Required Permissions** \"validation-rules-management.investigation-blocks.update\"
|
|
97
|
+
* @summary Create the investigation block
|
|
98
|
+
* @param {string} code Unique identifier for the object.
|
|
99
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
100
|
+
* @param {*} [options] Override http request option.
|
|
101
|
+
* @throws {RequiredError}
|
|
102
|
+
*/
|
|
103
|
+
cancelInvestigationBlock: function (code, authorization, options) {
|
|
104
|
+
if (options === void 0) { options = {}; }
|
|
105
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
106
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
107
|
+
return __generator(this, function (_a) {
|
|
108
|
+
switch (_a.label) {
|
|
109
|
+
case 0:
|
|
110
|
+
// verify required parameter 'code' is not null or undefined
|
|
111
|
+
(0, common_1.assertParamExists)('cancelInvestigationBlock', 'code', code);
|
|
112
|
+
localVarPath = "/validation-rules-service/v1/investigation-blocks/{code}/cancel"
|
|
113
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
114
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
115
|
+
if (configuration) {
|
|
116
|
+
baseOptions = configuration.baseOptions;
|
|
117
|
+
baseAccessToken = configuration.accessToken;
|
|
118
|
+
}
|
|
119
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
120
|
+
localVarHeaderParameter = {};
|
|
121
|
+
localVarQueryParameter = {};
|
|
122
|
+
// authentication bearer required
|
|
123
|
+
// http bearer authentication required
|
|
124
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
125
|
+
case 1:
|
|
126
|
+
// authentication bearer required
|
|
127
|
+
// http bearer authentication required
|
|
128
|
+
_a.sent();
|
|
129
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
130
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
131
|
+
}
|
|
132
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
133
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
134
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
135
|
+
return [2 /*return*/, {
|
|
136
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
137
|
+
options: localVarRequestOptions,
|
|
138
|
+
}];
|
|
139
|
+
}
|
|
140
|
+
});
|
|
141
|
+
});
|
|
142
|
+
},
|
|
143
|
+
/**
|
|
144
|
+
* Creates a new investigation block. **Required Permissions** \"validation-rules-management.investigation-blocks.create\"
|
|
97
145
|
* @summary Create the investigation block
|
|
98
146
|
* @param {CreateInvestigationBlockRequestDto} createInvestigationBlockRequestDto
|
|
99
147
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -109,7 +157,7 @@ var InvestigationBlocksApiAxiosParamCreator = function (configuration) {
|
|
|
109
157
|
case 0:
|
|
110
158
|
// verify required parameter 'createInvestigationBlockRequestDto' is not null or undefined
|
|
111
159
|
(0, common_1.assertParamExists)('createInvestigationBlock', 'createInvestigationBlockRequestDto', createInvestigationBlockRequestDto);
|
|
112
|
-
localVarPath = "/
|
|
160
|
+
localVarPath = "/validation-rules-service/v1/investigation-blocks";
|
|
113
161
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
114
162
|
if (configuration) {
|
|
115
163
|
baseOptions = configuration.baseOptions;
|
|
@@ -142,7 +190,7 @@ var InvestigationBlocksApiAxiosParamCreator = function (configuration) {
|
|
|
142
190
|
});
|
|
143
191
|
},
|
|
144
192
|
/**
|
|
145
|
-
* Deletes an investigation block by its code. **Required Permissions** \"validation-rules-management.
|
|
193
|
+
* Deletes an investigation block by its code. **Required Permissions** \"validation-rules-management.investigation-blocks.delete\"
|
|
146
194
|
* @summary Delete the investigation block
|
|
147
195
|
* @param {string} code Unique identifier for the object.
|
|
148
196
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -158,7 +206,7 @@ var InvestigationBlocksApiAxiosParamCreator = function (configuration) {
|
|
|
158
206
|
case 0:
|
|
159
207
|
// verify required parameter 'code' is not null or undefined
|
|
160
208
|
(0, common_1.assertParamExists)('deleteInvestigationBlock', 'code', code);
|
|
161
|
-
localVarPath = "/
|
|
209
|
+
localVarPath = "/validation-rules-service/v1/investigation-blocks/{code}"
|
|
162
210
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
163
211
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
164
212
|
if (configuration) {
|
|
@@ -190,7 +238,7 @@ var InvestigationBlocksApiAxiosParamCreator = function (configuration) {
|
|
|
190
238
|
});
|
|
191
239
|
},
|
|
192
240
|
/**
|
|
193
|
-
* Retrieves an investigation block by its code. **Required Permissions** \"validation-rules-management.
|
|
241
|
+
* Retrieves an investigation block by its code. **Required Permissions** \"validation-rules-management.investigation-blocks.view\"
|
|
194
242
|
* @summary Retrieve the investigation block
|
|
195
243
|
* @param {string} code
|
|
196
244
|
* @param {string} expand
|
|
@@ -209,7 +257,7 @@ var InvestigationBlocksApiAxiosParamCreator = function (configuration) {
|
|
|
209
257
|
(0, common_1.assertParamExists)('getInvestigationBlock', 'code', code);
|
|
210
258
|
// verify required parameter 'expand' is not null or undefined
|
|
211
259
|
(0, common_1.assertParamExists)('getInvestigationBlock', 'expand', expand);
|
|
212
|
-
localVarPath = "/
|
|
260
|
+
localVarPath = "/validation-rules-service/v1/investigation-blocks/{code}"
|
|
213
261
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
214
262
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
215
263
|
if (configuration) {
|
|
@@ -244,7 +292,7 @@ var InvestigationBlocksApiAxiosParamCreator = function (configuration) {
|
|
|
244
292
|
});
|
|
245
293
|
},
|
|
246
294
|
/**
|
|
247
|
-
* Retrieves a list of investigation blocks with pagination. **Required Permissions** \"validation-rules-management.
|
|
295
|
+
* Retrieves a list of investigation blocks with pagination. **Required Permissions** \"validation-rules-management.investigation-blocks.view\"
|
|
248
296
|
* @summary List investigation blocks
|
|
249
297
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
250
298
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -264,7 +312,7 @@ var InvestigationBlocksApiAxiosParamCreator = function (configuration) {
|
|
|
264
312
|
return __generator(this, function (_a) {
|
|
265
313
|
switch (_a.label) {
|
|
266
314
|
case 0:
|
|
267
|
-
localVarPath = "/
|
|
315
|
+
localVarPath = "/validation-rules-service/v1/investigation-blocks";
|
|
268
316
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
269
317
|
if (configuration) {
|
|
270
318
|
baseOptions = configuration.baseOptions;
|
|
@@ -316,7 +364,55 @@ var InvestigationBlocksApiAxiosParamCreator = function (configuration) {
|
|
|
316
364
|
});
|
|
317
365
|
},
|
|
318
366
|
/**
|
|
319
|
-
*
|
|
367
|
+
* This will resolve investigation block. **Required Permissions** \"validation-rules-management.investigation-blocks.update\"
|
|
368
|
+
* @summary Create the investigation block
|
|
369
|
+
* @param {string} code Unique identifier for the object.
|
|
370
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
371
|
+
* @param {*} [options] Override http request option.
|
|
372
|
+
* @throws {RequiredError}
|
|
373
|
+
*/
|
|
374
|
+
resolveInvestigationBlock: function (code, authorization, options) {
|
|
375
|
+
if (options === void 0) { options = {}; }
|
|
376
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
377
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
378
|
+
return __generator(this, function (_a) {
|
|
379
|
+
switch (_a.label) {
|
|
380
|
+
case 0:
|
|
381
|
+
// verify required parameter 'code' is not null or undefined
|
|
382
|
+
(0, common_1.assertParamExists)('resolveInvestigationBlock', 'code', code);
|
|
383
|
+
localVarPath = "/validation-rules-service/v1/investigation-blocks/{code}/resolve"
|
|
384
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
385
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
386
|
+
if (configuration) {
|
|
387
|
+
baseOptions = configuration.baseOptions;
|
|
388
|
+
baseAccessToken = configuration.accessToken;
|
|
389
|
+
}
|
|
390
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
391
|
+
localVarHeaderParameter = {};
|
|
392
|
+
localVarQueryParameter = {};
|
|
393
|
+
// authentication bearer required
|
|
394
|
+
// http bearer authentication required
|
|
395
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
396
|
+
case 1:
|
|
397
|
+
// authentication bearer required
|
|
398
|
+
// http bearer authentication required
|
|
399
|
+
_a.sent();
|
|
400
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
401
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
402
|
+
}
|
|
403
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
404
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
405
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
406
|
+
return [2 /*return*/, {
|
|
407
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
408
|
+
options: localVarRequestOptions,
|
|
409
|
+
}];
|
|
410
|
+
}
|
|
411
|
+
});
|
|
412
|
+
});
|
|
413
|
+
},
|
|
414
|
+
/**
|
|
415
|
+
* Updates an investigation block by its code. **Required Permissions** \"validation-rules-management.investigation-blocks.update\"
|
|
320
416
|
* @summary Update the investigation block
|
|
321
417
|
* @param {string} code
|
|
322
418
|
* @param {UpdateInvestigationBlockRequestDto} updateInvestigationBlockRequestDto
|
|
@@ -335,7 +431,7 @@ var InvestigationBlocksApiAxiosParamCreator = function (configuration) {
|
|
|
335
431
|
(0, common_1.assertParamExists)('updateInvestigationBlock', 'code', code);
|
|
336
432
|
// verify required parameter 'updateInvestigationBlockRequestDto' is not null or undefined
|
|
337
433
|
(0, common_1.assertParamExists)('updateInvestigationBlock', 'updateInvestigationBlockRequestDto', updateInvestigationBlockRequestDto);
|
|
338
|
-
localVarPath = "/
|
|
434
|
+
localVarPath = "/validation-rules-service/v1/investigation-blocks/{code}"
|
|
339
435
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
340
436
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
341
437
|
if (configuration) {
|
|
@@ -379,7 +475,28 @@ var InvestigationBlocksApiFp = function (configuration) {
|
|
|
379
475
|
var localVarAxiosParamCreator = (0, exports.InvestigationBlocksApiAxiosParamCreator)(configuration);
|
|
380
476
|
return {
|
|
381
477
|
/**
|
|
382
|
-
*
|
|
478
|
+
* This will cancel investigation block. **Required Permissions** \"validation-rules-management.investigation-blocks.update\"
|
|
479
|
+
* @summary Create the investigation block
|
|
480
|
+
* @param {string} code Unique identifier for the object.
|
|
481
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
482
|
+
* @param {*} [options] Override http request option.
|
|
483
|
+
* @throws {RequiredError}
|
|
484
|
+
*/
|
|
485
|
+
cancelInvestigationBlock: function (code, authorization, options) {
|
|
486
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
487
|
+
var localVarAxiosArgs;
|
|
488
|
+
return __generator(this, function (_a) {
|
|
489
|
+
switch (_a.label) {
|
|
490
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.cancelInvestigationBlock(code, authorization, options)];
|
|
491
|
+
case 1:
|
|
492
|
+
localVarAxiosArgs = _a.sent();
|
|
493
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
494
|
+
}
|
|
495
|
+
});
|
|
496
|
+
});
|
|
497
|
+
},
|
|
498
|
+
/**
|
|
499
|
+
* Creates a new investigation block. **Required Permissions** \"validation-rules-management.investigation-blocks.create\"
|
|
383
500
|
* @summary Create the investigation block
|
|
384
501
|
* @param {CreateInvestigationBlockRequestDto} createInvestigationBlockRequestDto
|
|
385
502
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -400,7 +517,7 @@ var InvestigationBlocksApiFp = function (configuration) {
|
|
|
400
517
|
});
|
|
401
518
|
},
|
|
402
519
|
/**
|
|
403
|
-
* Deletes an investigation block by its code. **Required Permissions** \"validation-rules-management.
|
|
520
|
+
* Deletes an investigation block by its code. **Required Permissions** \"validation-rules-management.investigation-blocks.delete\"
|
|
404
521
|
* @summary Delete the investigation block
|
|
405
522
|
* @param {string} code Unique identifier for the object.
|
|
406
523
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -421,7 +538,7 @@ var InvestigationBlocksApiFp = function (configuration) {
|
|
|
421
538
|
});
|
|
422
539
|
},
|
|
423
540
|
/**
|
|
424
|
-
* Retrieves an investigation block by its code. **Required Permissions** \"validation-rules-management.
|
|
541
|
+
* Retrieves an investigation block by its code. **Required Permissions** \"validation-rules-management.investigation-blocks.view\"
|
|
425
542
|
* @summary Retrieve the investigation block
|
|
426
543
|
* @param {string} code
|
|
427
544
|
* @param {string} expand
|
|
@@ -443,7 +560,7 @@ var InvestigationBlocksApiFp = function (configuration) {
|
|
|
443
560
|
});
|
|
444
561
|
},
|
|
445
562
|
/**
|
|
446
|
-
* Retrieves a list of investigation blocks with pagination. **Required Permissions** \"validation-rules-management.
|
|
563
|
+
* Retrieves a list of investigation blocks with pagination. **Required Permissions** \"validation-rules-management.investigation-blocks.view\"
|
|
447
564
|
* @summary List investigation blocks
|
|
448
565
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
449
566
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -470,7 +587,28 @@ var InvestigationBlocksApiFp = function (configuration) {
|
|
|
470
587
|
});
|
|
471
588
|
},
|
|
472
589
|
/**
|
|
473
|
-
*
|
|
590
|
+
* This will resolve investigation block. **Required Permissions** \"validation-rules-management.investigation-blocks.update\"
|
|
591
|
+
* @summary Create the investigation block
|
|
592
|
+
* @param {string} code Unique identifier for the object.
|
|
593
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
594
|
+
* @param {*} [options] Override http request option.
|
|
595
|
+
* @throws {RequiredError}
|
|
596
|
+
*/
|
|
597
|
+
resolveInvestigationBlock: function (code, authorization, options) {
|
|
598
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
599
|
+
var localVarAxiosArgs;
|
|
600
|
+
return __generator(this, function (_a) {
|
|
601
|
+
switch (_a.label) {
|
|
602
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.resolveInvestigationBlock(code, authorization, options)];
|
|
603
|
+
case 1:
|
|
604
|
+
localVarAxiosArgs = _a.sent();
|
|
605
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
606
|
+
}
|
|
607
|
+
});
|
|
608
|
+
});
|
|
609
|
+
},
|
|
610
|
+
/**
|
|
611
|
+
* Updates an investigation block by its code. **Required Permissions** \"validation-rules-management.investigation-blocks.update\"
|
|
474
612
|
* @summary Update the investigation block
|
|
475
613
|
* @param {string} code
|
|
476
614
|
* @param {UpdateInvestigationBlockRequestDto} updateInvestigationBlockRequestDto
|
|
@@ -502,7 +640,18 @@ var InvestigationBlocksApiFactory = function (configuration, basePath, axios) {
|
|
|
502
640
|
var localVarFp = (0, exports.InvestigationBlocksApiFp)(configuration);
|
|
503
641
|
return {
|
|
504
642
|
/**
|
|
505
|
-
*
|
|
643
|
+
* This will cancel investigation block. **Required Permissions** \"validation-rules-management.investigation-blocks.update\"
|
|
644
|
+
* @summary Create the investigation block
|
|
645
|
+
* @param {string} code Unique identifier for the object.
|
|
646
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
647
|
+
* @param {*} [options] Override http request option.
|
|
648
|
+
* @throws {RequiredError}
|
|
649
|
+
*/
|
|
650
|
+
cancelInvestigationBlock: function (code, authorization, options) {
|
|
651
|
+
return localVarFp.cancelInvestigationBlock(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
652
|
+
},
|
|
653
|
+
/**
|
|
654
|
+
* Creates a new investigation block. **Required Permissions** \"validation-rules-management.investigation-blocks.create\"
|
|
506
655
|
* @summary Create the investigation block
|
|
507
656
|
* @param {CreateInvestigationBlockRequestDto} createInvestigationBlockRequestDto
|
|
508
657
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -513,7 +662,7 @@ var InvestigationBlocksApiFactory = function (configuration, basePath, axios) {
|
|
|
513
662
|
return localVarFp.createInvestigationBlock(createInvestigationBlockRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
514
663
|
},
|
|
515
664
|
/**
|
|
516
|
-
* Deletes an investigation block by its code. **Required Permissions** \"validation-rules-management.
|
|
665
|
+
* Deletes an investigation block by its code. **Required Permissions** \"validation-rules-management.investigation-blocks.delete\"
|
|
517
666
|
* @summary Delete the investigation block
|
|
518
667
|
* @param {string} code Unique identifier for the object.
|
|
519
668
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -524,7 +673,7 @@ var InvestigationBlocksApiFactory = function (configuration, basePath, axios) {
|
|
|
524
673
|
return localVarFp.deleteInvestigationBlock(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
525
674
|
},
|
|
526
675
|
/**
|
|
527
|
-
* Retrieves an investigation block by its code. **Required Permissions** \"validation-rules-management.
|
|
676
|
+
* Retrieves an investigation block by its code. **Required Permissions** \"validation-rules-management.investigation-blocks.view\"
|
|
528
677
|
* @summary Retrieve the investigation block
|
|
529
678
|
* @param {string} code
|
|
530
679
|
* @param {string} expand
|
|
@@ -536,7 +685,7 @@ var InvestigationBlocksApiFactory = function (configuration, basePath, axios) {
|
|
|
536
685
|
return localVarFp.getInvestigationBlock(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
537
686
|
},
|
|
538
687
|
/**
|
|
539
|
-
* Retrieves a list of investigation blocks with pagination. **Required Permissions** \"validation-rules-management.
|
|
688
|
+
* Retrieves a list of investigation blocks with pagination. **Required Permissions** \"validation-rules-management.investigation-blocks.view\"
|
|
540
689
|
* @summary List investigation blocks
|
|
541
690
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
542
691
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -553,7 +702,18 @@ var InvestigationBlocksApiFactory = function (configuration, basePath, axios) {
|
|
|
553
702
|
return localVarFp.listInvestigationBlocks(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
554
703
|
},
|
|
555
704
|
/**
|
|
556
|
-
*
|
|
705
|
+
* This will resolve investigation block. **Required Permissions** \"validation-rules-management.investigation-blocks.update\"
|
|
706
|
+
* @summary Create the investigation block
|
|
707
|
+
* @param {string} code Unique identifier for the object.
|
|
708
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
709
|
+
* @param {*} [options] Override http request option.
|
|
710
|
+
* @throws {RequiredError}
|
|
711
|
+
*/
|
|
712
|
+
resolveInvestigationBlock: function (code, authorization, options) {
|
|
713
|
+
return localVarFp.resolveInvestigationBlock(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
714
|
+
},
|
|
715
|
+
/**
|
|
716
|
+
* Updates an investigation block by its code. **Required Permissions** \"validation-rules-management.investigation-blocks.update\"
|
|
557
717
|
* @summary Update the investigation block
|
|
558
718
|
* @param {string} code
|
|
559
719
|
* @param {UpdateInvestigationBlockRequestDto} updateInvestigationBlockRequestDto
|
|
@@ -579,7 +739,19 @@ var InvestigationBlocksApi = /** @class */ (function (_super) {
|
|
|
579
739
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
580
740
|
}
|
|
581
741
|
/**
|
|
582
|
-
*
|
|
742
|
+
* This will cancel investigation block. **Required Permissions** \"validation-rules-management.investigation-blocks.update\"
|
|
743
|
+
* @summary Create the investigation block
|
|
744
|
+
* @param {InvestigationBlocksApiCancelInvestigationBlockRequest} requestParameters Request parameters.
|
|
745
|
+
* @param {*} [options] Override http request option.
|
|
746
|
+
* @throws {RequiredError}
|
|
747
|
+
* @memberof InvestigationBlocksApi
|
|
748
|
+
*/
|
|
749
|
+
InvestigationBlocksApi.prototype.cancelInvestigationBlock = function (requestParameters, options) {
|
|
750
|
+
var _this = this;
|
|
751
|
+
return (0, exports.InvestigationBlocksApiFp)(this.configuration).cancelInvestigationBlock(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
752
|
+
};
|
|
753
|
+
/**
|
|
754
|
+
* Creates a new investigation block. **Required Permissions** \"validation-rules-management.investigation-blocks.create\"
|
|
583
755
|
* @summary Create the investigation block
|
|
584
756
|
* @param {InvestigationBlocksApiCreateInvestigationBlockRequest} requestParameters Request parameters.
|
|
585
757
|
* @param {*} [options] Override http request option.
|
|
@@ -591,7 +763,7 @@ var InvestigationBlocksApi = /** @class */ (function (_super) {
|
|
|
591
763
|
return (0, exports.InvestigationBlocksApiFp)(this.configuration).createInvestigationBlock(requestParameters.createInvestigationBlockRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
592
764
|
};
|
|
593
765
|
/**
|
|
594
|
-
* Deletes an investigation block by its code. **Required Permissions** \"validation-rules-management.
|
|
766
|
+
* Deletes an investigation block by its code. **Required Permissions** \"validation-rules-management.investigation-blocks.delete\"
|
|
595
767
|
* @summary Delete the investigation block
|
|
596
768
|
* @param {InvestigationBlocksApiDeleteInvestigationBlockRequest} requestParameters Request parameters.
|
|
597
769
|
* @param {*} [options] Override http request option.
|
|
@@ -603,7 +775,7 @@ var InvestigationBlocksApi = /** @class */ (function (_super) {
|
|
|
603
775
|
return (0, exports.InvestigationBlocksApiFp)(this.configuration).deleteInvestigationBlock(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
604
776
|
};
|
|
605
777
|
/**
|
|
606
|
-
* Retrieves an investigation block by its code. **Required Permissions** \"validation-rules-management.
|
|
778
|
+
* Retrieves an investigation block by its code. **Required Permissions** \"validation-rules-management.investigation-blocks.view\"
|
|
607
779
|
* @summary Retrieve the investigation block
|
|
608
780
|
* @param {InvestigationBlocksApiGetInvestigationBlockRequest} requestParameters Request parameters.
|
|
609
781
|
* @param {*} [options] Override http request option.
|
|
@@ -615,7 +787,7 @@ var InvestigationBlocksApi = /** @class */ (function (_super) {
|
|
|
615
787
|
return (0, exports.InvestigationBlocksApiFp)(this.configuration).getInvestigationBlock(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
616
788
|
};
|
|
617
789
|
/**
|
|
618
|
-
* Retrieves a list of investigation blocks with pagination. **Required Permissions** \"validation-rules-management.
|
|
790
|
+
* Retrieves a list of investigation blocks with pagination. **Required Permissions** \"validation-rules-management.investigation-blocks.view\"
|
|
619
791
|
* @summary List investigation blocks
|
|
620
792
|
* @param {InvestigationBlocksApiListInvestigationBlocksRequest} requestParameters Request parameters.
|
|
621
793
|
* @param {*} [options] Override http request option.
|
|
@@ -628,7 +800,19 @@ var InvestigationBlocksApi = /** @class */ (function (_super) {
|
|
|
628
800
|
return (0, exports.InvestigationBlocksApiFp)(this.configuration).listInvestigationBlocks(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
629
801
|
};
|
|
630
802
|
/**
|
|
631
|
-
*
|
|
803
|
+
* This will resolve investigation block. **Required Permissions** \"validation-rules-management.investigation-blocks.update\"
|
|
804
|
+
* @summary Create the investigation block
|
|
805
|
+
* @param {InvestigationBlocksApiResolveInvestigationBlockRequest} requestParameters Request parameters.
|
|
806
|
+
* @param {*} [options] Override http request option.
|
|
807
|
+
* @throws {RequiredError}
|
|
808
|
+
* @memberof InvestigationBlocksApi
|
|
809
|
+
*/
|
|
810
|
+
InvestigationBlocksApi.prototype.resolveInvestigationBlock = function (requestParameters, options) {
|
|
811
|
+
var _this = this;
|
|
812
|
+
return (0, exports.InvestigationBlocksApiFp)(this.configuration).resolveInvestigationBlock(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
813
|
+
};
|
|
814
|
+
/**
|
|
815
|
+
* Updates an investigation block by its code. **Required Permissions** \"validation-rules-management.investigation-blocks.update\"
|
|
632
816
|
* @summary Update the investigation block
|
|
633
817
|
* @param {InvestigationBlocksApiUpdateInvestigationBlockRequest} requestParameters Request parameters.
|
|
634
818
|
* @param {*} [options] Override http request option.
|