@emilgroup/validation-rules-sdk 1.0.1-beta.1 → 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/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/validation-rules-sdk@1.0.1-beta.
|
|
20
|
+
npm install @emilgroup/validation-rules-sdk@1.0.1-beta.2 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/validation-rules-sdk@1.0.1-beta.
|
|
24
|
+
yarn add @emilgroup/validation-rules-sdk@1.0.1-beta.2
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import ``.
|
|
@@ -53,7 +53,7 @@ export const InvestigationBlocksApiAxiosParamCreator = function (configuration?:
|
|
|
53
53
|
cancelInvestigationBlock: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
54
54
|
// verify required parameter 'code' is not null or undefined
|
|
55
55
|
assertParamExists('cancelInvestigationBlock', 'code', code)
|
|
56
|
-
const localVarPath = `/
|
|
56
|
+
const localVarPath = `/validation-rules-service/v1/investigation-blocks/{code}/cancel`
|
|
57
57
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
58
58
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
59
59
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -98,7 +98,7 @@ export const InvestigationBlocksApiAxiosParamCreator = function (configuration?:
|
|
|
98
98
|
createInvestigationBlock: async (createInvestigationBlockRequestDto: CreateInvestigationBlockRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
99
99
|
// verify required parameter 'createInvestigationBlockRequestDto' is not null or undefined
|
|
100
100
|
assertParamExists('createInvestigationBlock', 'createInvestigationBlockRequestDto', createInvestigationBlockRequestDto)
|
|
101
|
-
const localVarPath = `/
|
|
101
|
+
const localVarPath = `/validation-rules-service/v1/investigation-blocks`;
|
|
102
102
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103
103
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
104
104
|
let baseOptions;
|
|
@@ -145,7 +145,7 @@ export const InvestigationBlocksApiAxiosParamCreator = function (configuration?:
|
|
|
145
145
|
deleteInvestigationBlock: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
146
146
|
// verify required parameter 'code' is not null or undefined
|
|
147
147
|
assertParamExists('deleteInvestigationBlock', 'code', code)
|
|
148
|
-
const localVarPath = `/
|
|
148
|
+
const localVarPath = `/validation-rules-service/v1/investigation-blocks/{code}`
|
|
149
149
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
150
150
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
151
151
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -193,7 +193,7 @@ export const InvestigationBlocksApiAxiosParamCreator = function (configuration?:
|
|
|
193
193
|
assertParamExists('getInvestigationBlock', 'code', code)
|
|
194
194
|
// verify required parameter 'expand' is not null or undefined
|
|
195
195
|
assertParamExists('getInvestigationBlock', 'expand', expand)
|
|
196
|
-
const localVarPath = `/
|
|
196
|
+
const localVarPath = `/validation-rules-service/v1/investigation-blocks/{code}`
|
|
197
197
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
198
198
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
199
199
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -246,7 +246,7 @@ export const InvestigationBlocksApiAxiosParamCreator = function (configuration?:
|
|
|
246
246
|
* @throws {RequiredError}
|
|
247
247
|
*/
|
|
248
248
|
listInvestigationBlocks: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
249
|
-
const localVarPath = `/
|
|
249
|
+
const localVarPath = `/validation-rules-service/v1/investigation-blocks`;
|
|
250
250
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
251
251
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
252
252
|
let baseOptions;
|
|
@@ -318,7 +318,7 @@ export const InvestigationBlocksApiAxiosParamCreator = function (configuration?:
|
|
|
318
318
|
resolveInvestigationBlock: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
319
319
|
// verify required parameter 'code' is not null or undefined
|
|
320
320
|
assertParamExists('resolveInvestigationBlock', 'code', code)
|
|
321
|
-
const localVarPath = `/
|
|
321
|
+
const localVarPath = `/validation-rules-service/v1/investigation-blocks/{code}/resolve`
|
|
322
322
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
323
323
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
324
324
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -366,7 +366,7 @@ export const InvestigationBlocksApiAxiosParamCreator = function (configuration?:
|
|
|
366
366
|
assertParamExists('updateInvestigationBlock', 'code', code)
|
|
367
367
|
// verify required parameter 'updateInvestigationBlockRequestDto' is not null or undefined
|
|
368
368
|
assertParamExists('updateInvestigationBlock', 'updateInvestigationBlockRequestDto', updateInvestigationBlockRequestDto)
|
|
369
|
-
const localVarPath = `/
|
|
369
|
+
const localVarPath = `/validation-rules-service/v1/investigation-blocks/{code}`
|
|
370
370
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
371
371
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
372
372
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -109,7 +109,7 @@ var InvestigationBlocksApiAxiosParamCreator = function (configuration) {
|
|
|
109
109
|
case 0:
|
|
110
110
|
// verify required parameter 'code' is not null or undefined
|
|
111
111
|
(0, common_1.assertParamExists)('cancelInvestigationBlock', 'code', code);
|
|
112
|
-
localVarPath = "/
|
|
112
|
+
localVarPath = "/validation-rules-service/v1/investigation-blocks/{code}/cancel"
|
|
113
113
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
114
114
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
115
115
|
if (configuration) {
|
|
@@ -157,7 +157,7 @@ var InvestigationBlocksApiAxiosParamCreator = function (configuration) {
|
|
|
157
157
|
case 0:
|
|
158
158
|
// verify required parameter 'createInvestigationBlockRequestDto' is not null or undefined
|
|
159
159
|
(0, common_1.assertParamExists)('createInvestigationBlock', 'createInvestigationBlockRequestDto', createInvestigationBlockRequestDto);
|
|
160
|
-
localVarPath = "/
|
|
160
|
+
localVarPath = "/validation-rules-service/v1/investigation-blocks";
|
|
161
161
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
162
162
|
if (configuration) {
|
|
163
163
|
baseOptions = configuration.baseOptions;
|
|
@@ -206,7 +206,7 @@ var InvestigationBlocksApiAxiosParamCreator = function (configuration) {
|
|
|
206
206
|
case 0:
|
|
207
207
|
// verify required parameter 'code' is not null or undefined
|
|
208
208
|
(0, common_1.assertParamExists)('deleteInvestigationBlock', 'code', code);
|
|
209
|
-
localVarPath = "/
|
|
209
|
+
localVarPath = "/validation-rules-service/v1/investigation-blocks/{code}"
|
|
210
210
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
211
211
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
212
212
|
if (configuration) {
|
|
@@ -257,7 +257,7 @@ var InvestigationBlocksApiAxiosParamCreator = function (configuration) {
|
|
|
257
257
|
(0, common_1.assertParamExists)('getInvestigationBlock', 'code', code);
|
|
258
258
|
// verify required parameter 'expand' is not null or undefined
|
|
259
259
|
(0, common_1.assertParamExists)('getInvestigationBlock', 'expand', expand);
|
|
260
|
-
localVarPath = "/
|
|
260
|
+
localVarPath = "/validation-rules-service/v1/investigation-blocks/{code}"
|
|
261
261
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
262
262
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
263
263
|
if (configuration) {
|
|
@@ -312,7 +312,7 @@ var InvestigationBlocksApiAxiosParamCreator = function (configuration) {
|
|
|
312
312
|
return __generator(this, function (_a) {
|
|
313
313
|
switch (_a.label) {
|
|
314
314
|
case 0:
|
|
315
|
-
localVarPath = "/
|
|
315
|
+
localVarPath = "/validation-rules-service/v1/investigation-blocks";
|
|
316
316
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
317
317
|
if (configuration) {
|
|
318
318
|
baseOptions = configuration.baseOptions;
|
|
@@ -380,7 +380,7 @@ var InvestigationBlocksApiAxiosParamCreator = function (configuration) {
|
|
|
380
380
|
case 0:
|
|
381
381
|
// verify required parameter 'code' is not null or undefined
|
|
382
382
|
(0, common_1.assertParamExists)('resolveInvestigationBlock', 'code', code);
|
|
383
|
-
localVarPath = "/
|
|
383
|
+
localVarPath = "/validation-rules-service/v1/investigation-blocks/{code}/resolve"
|
|
384
384
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
385
385
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
386
386
|
if (configuration) {
|
|
@@ -431,7 +431,7 @@ var InvestigationBlocksApiAxiosParamCreator = function (configuration) {
|
|
|
431
431
|
(0, common_1.assertParamExists)('updateInvestigationBlock', 'code', code);
|
|
432
432
|
// verify required parameter 'updateInvestigationBlockRequestDto' is not null or undefined
|
|
433
433
|
(0, common_1.assertParamExists)('updateInvestigationBlock', 'updateInvestigationBlockRequestDto', updateInvestigationBlockRequestDto);
|
|
434
|
-
localVarPath = "/
|
|
434
|
+
localVarPath = "/validation-rules-service/v1/investigation-blocks/{code}"
|
|
435
435
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
436
436
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
437
437
|
if (configuration) {
|