@emilgroup/validation-rules-sdk-node 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-node@1.0.1-beta.
|
|
20
|
+
npm install @emilgroup/validation-rules-sdk-node@1.0.1-beta.2 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/validation-rules-sdk-node@1.0.1-beta.
|
|
24
|
+
yarn add @emilgroup/validation-rules-sdk-node@1.0.1-beta.2
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import ``.
|
|
@@ -57,7 +57,7 @@ export const InvestigationBlocksApiAxiosParamCreator = function (configuration?:
|
|
|
57
57
|
cancelInvestigationBlock: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
58
58
|
// verify required parameter 'code' is not null or undefined
|
|
59
59
|
assertParamExists('cancelInvestigationBlock', 'code', code)
|
|
60
|
-
const localVarPath = `/
|
|
60
|
+
const localVarPath = `/validation-rules-service/v1/investigation-blocks/{code}/cancel`
|
|
61
61
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
62
62
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
63
63
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -102,7 +102,7 @@ export const InvestigationBlocksApiAxiosParamCreator = function (configuration?:
|
|
|
102
102
|
createInvestigationBlock: async (createInvestigationBlockRequestDto: CreateInvestigationBlockRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
103
103
|
// verify required parameter 'createInvestigationBlockRequestDto' is not null or undefined
|
|
104
104
|
assertParamExists('createInvestigationBlock', 'createInvestigationBlockRequestDto', createInvestigationBlockRequestDto)
|
|
105
|
-
const localVarPath = `/
|
|
105
|
+
const localVarPath = `/validation-rules-service/v1/investigation-blocks`;
|
|
106
106
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
107
107
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
108
108
|
let baseOptions;
|
|
@@ -149,7 +149,7 @@ export const InvestigationBlocksApiAxiosParamCreator = function (configuration?:
|
|
|
149
149
|
deleteInvestigationBlock: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
150
150
|
// verify required parameter 'code' is not null or undefined
|
|
151
151
|
assertParamExists('deleteInvestigationBlock', 'code', code)
|
|
152
|
-
const localVarPath = `/
|
|
152
|
+
const localVarPath = `/validation-rules-service/v1/investigation-blocks/{code}`
|
|
153
153
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
154
154
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
155
155
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -197,7 +197,7 @@ export const InvestigationBlocksApiAxiosParamCreator = function (configuration?:
|
|
|
197
197
|
assertParamExists('getInvestigationBlock', 'code', code)
|
|
198
198
|
// verify required parameter 'expand' is not null or undefined
|
|
199
199
|
assertParamExists('getInvestigationBlock', 'expand', expand)
|
|
200
|
-
const localVarPath = `/
|
|
200
|
+
const localVarPath = `/validation-rules-service/v1/investigation-blocks/{code}`
|
|
201
201
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
202
202
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
203
203
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -250,7 +250,7 @@ export const InvestigationBlocksApiAxiosParamCreator = function (configuration?:
|
|
|
250
250
|
* @throws {RequiredError}
|
|
251
251
|
*/
|
|
252
252
|
listInvestigationBlocks: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
253
|
-
const localVarPath = `/
|
|
253
|
+
const localVarPath = `/validation-rules-service/v1/investigation-blocks`;
|
|
254
254
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
255
255
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
256
256
|
let baseOptions;
|
|
@@ -322,7 +322,7 @@ export const InvestigationBlocksApiAxiosParamCreator = function (configuration?:
|
|
|
322
322
|
resolveInvestigationBlock: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
323
323
|
// verify required parameter 'code' is not null or undefined
|
|
324
324
|
assertParamExists('resolveInvestigationBlock', 'code', code)
|
|
325
|
-
const localVarPath = `/
|
|
325
|
+
const localVarPath = `/validation-rules-service/v1/investigation-blocks/{code}/resolve`
|
|
326
326
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
327
327
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
328
328
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -370,7 +370,7 @@ export const InvestigationBlocksApiAxiosParamCreator = function (configuration?:
|
|
|
370
370
|
assertParamExists('updateInvestigationBlock', 'code', code)
|
|
371
371
|
// verify required parameter 'updateInvestigationBlockRequestDto' is not null or undefined
|
|
372
372
|
assertParamExists('updateInvestigationBlock', 'updateInvestigationBlockRequestDto', updateInvestigationBlockRequestDto)
|
|
373
|
-
const localVarPath = `/
|
|
373
|
+
const localVarPath = `/validation-rules-service/v1/investigation-blocks/{code}`
|
|
374
374
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
375
375
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
376
376
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -113,7 +113,7 @@ var InvestigationBlocksApiAxiosParamCreator = function (configuration) {
|
|
|
113
113
|
case 0:
|
|
114
114
|
// verify required parameter 'code' is not null or undefined
|
|
115
115
|
(0, common_1.assertParamExists)('cancelInvestigationBlock', 'code', code);
|
|
116
|
-
localVarPath = "/
|
|
116
|
+
localVarPath = "/validation-rules-service/v1/investigation-blocks/{code}/cancel"
|
|
117
117
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
118
118
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
119
119
|
if (configuration) {
|
|
@@ -161,7 +161,7 @@ var InvestigationBlocksApiAxiosParamCreator = function (configuration) {
|
|
|
161
161
|
case 0:
|
|
162
162
|
// verify required parameter 'createInvestigationBlockRequestDto' is not null or undefined
|
|
163
163
|
(0, common_1.assertParamExists)('createInvestigationBlock', 'createInvestigationBlockRequestDto', createInvestigationBlockRequestDto);
|
|
164
|
-
localVarPath = "/
|
|
164
|
+
localVarPath = "/validation-rules-service/v1/investigation-blocks";
|
|
165
165
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
166
166
|
if (configuration) {
|
|
167
167
|
baseOptions = configuration.baseOptions;
|
|
@@ -210,7 +210,7 @@ var InvestigationBlocksApiAxiosParamCreator = function (configuration) {
|
|
|
210
210
|
case 0:
|
|
211
211
|
// verify required parameter 'code' is not null or undefined
|
|
212
212
|
(0, common_1.assertParamExists)('deleteInvestigationBlock', 'code', code);
|
|
213
|
-
localVarPath = "/
|
|
213
|
+
localVarPath = "/validation-rules-service/v1/investigation-blocks/{code}"
|
|
214
214
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
215
215
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
216
216
|
if (configuration) {
|
|
@@ -261,7 +261,7 @@ var InvestigationBlocksApiAxiosParamCreator = function (configuration) {
|
|
|
261
261
|
(0, common_1.assertParamExists)('getInvestigationBlock', 'code', code);
|
|
262
262
|
// verify required parameter 'expand' is not null or undefined
|
|
263
263
|
(0, common_1.assertParamExists)('getInvestigationBlock', 'expand', expand);
|
|
264
|
-
localVarPath = "/
|
|
264
|
+
localVarPath = "/validation-rules-service/v1/investigation-blocks/{code}"
|
|
265
265
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
266
266
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
267
267
|
if (configuration) {
|
|
@@ -316,7 +316,7 @@ var InvestigationBlocksApiAxiosParamCreator = function (configuration) {
|
|
|
316
316
|
return __generator(this, function (_a) {
|
|
317
317
|
switch (_a.label) {
|
|
318
318
|
case 0:
|
|
319
|
-
localVarPath = "/
|
|
319
|
+
localVarPath = "/validation-rules-service/v1/investigation-blocks";
|
|
320
320
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
321
321
|
if (configuration) {
|
|
322
322
|
baseOptions = configuration.baseOptions;
|
|
@@ -384,7 +384,7 @@ var InvestigationBlocksApiAxiosParamCreator = function (configuration) {
|
|
|
384
384
|
case 0:
|
|
385
385
|
// verify required parameter 'code' is not null or undefined
|
|
386
386
|
(0, common_1.assertParamExists)('resolveInvestigationBlock', 'code', code);
|
|
387
|
-
localVarPath = "/
|
|
387
|
+
localVarPath = "/validation-rules-service/v1/investigation-blocks/{code}/resolve"
|
|
388
388
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
389
389
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
390
390
|
if (configuration) {
|
|
@@ -435,7 +435,7 @@ var InvestigationBlocksApiAxiosParamCreator = function (configuration) {
|
|
|
435
435
|
(0, common_1.assertParamExists)('updateInvestigationBlock', 'code', code);
|
|
436
436
|
// verify required parameter 'updateInvestigationBlockRequestDto' is not null or undefined
|
|
437
437
|
(0, common_1.assertParamExists)('updateInvestigationBlock', 'updateInvestigationBlockRequestDto', updateInvestigationBlockRequestDto);
|
|
438
|
-
localVarPath = "/
|
|
438
|
+
localVarPath = "/validation-rules-service/v1/investigation-blocks/{code}"
|
|
439
439
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
440
440
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
441
441
|
if (configuration) {
|
package/package.json
CHANGED