@emilgroup/validation-rules-sdk 1.0.1-beta.0 → 1.0.1-beta.1

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.
Files changed (54) hide show
  1. package/.openapi-generator/FILES +10 -0
  2. package/README.md +2 -2
  3. package/api/investigation-blocks-api.ts +226 -20
  4. package/api/validation-rules-api.ts +447 -12
  5. package/dist/api/investigation-blocks-api.d.ts +132 -20
  6. package/dist/api/investigation-blocks-api.js +204 -20
  7. package/dist/api/validation-rules-api.d.ts +244 -12
  8. package/dist/api/validation-rules-api.js +383 -9
  9. package/dist/models/cancel-investigation-block-response-class.d.ts +25 -0
  10. package/dist/models/cancel-investigation-block-response-class.js +15 -0
  11. package/dist/models/create-validation-rule-request-dto.d.ts +17 -12
  12. package/dist/models/create-validation-rule-request-dto.js +5 -1
  13. package/dist/models/execute-rule-request-dto.d.ts +41 -0
  14. package/dist/models/execute-rule-request-dto.js +20 -0
  15. package/dist/models/execute-rule-response-class.d.ts +54 -0
  16. package/dist/models/execute-rule-response-class.js +20 -0
  17. package/dist/models/execute-rule-result-class.d.ts +53 -0
  18. package/dist/models/execute-rule-result-class.js +20 -0
  19. package/dist/models/execute-rule-with-dry-run-request-dto.d.ts +30 -0
  20. package/dist/models/execute-rule-with-dry-run-request-dto.js +15 -0
  21. package/dist/models/execute-rule-with-dry-run-response-class.d.ts +36 -0
  22. package/dist/models/execute-rule-with-dry-run-response-class.js +15 -0
  23. package/dist/models/execute-rules-by-type-request-dto.d.ts +35 -0
  24. package/dist/models/execute-rules-by-type-request-dto.js +20 -0
  25. package/dist/models/index.d.ts +10 -0
  26. package/dist/models/index.js +10 -0
  27. package/dist/models/investigation-block-class.d.ts +25 -2
  28. package/dist/models/investigation-block-class.js +10 -0
  29. package/dist/models/resolve-investigation-block-response-class.d.ts +25 -0
  30. package/dist/models/resolve-investigation-block-response-class.js +15 -0
  31. package/dist/models/update-investigation-block-request-dto.d.ts +1 -1
  32. package/dist/models/update-investigation-block-request-dto.js +1 -1
  33. package/dist/models/update-validation-rule-request-dto.d.ts +88 -0
  34. package/dist/models/update-validation-rule-request-dto.js +24 -0
  35. package/dist/models/update-validation-rule-response-class.d.ts +25 -0
  36. package/dist/models/update-validation-rule-response-class.js +15 -0
  37. package/dist/models/validation-rule-class.d.ts +16 -5
  38. package/dist/models/validation-rule-class.js +5 -1
  39. package/models/cancel-investigation-block-response-class.ts +31 -0
  40. package/models/create-validation-rule-request-dto.ts +18 -12
  41. package/models/execute-rule-request-dto.ts +50 -0
  42. package/models/execute-rule-response-class.ts +63 -0
  43. package/models/execute-rule-result-class.ts +62 -0
  44. package/models/execute-rule-with-dry-run-request-dto.ts +36 -0
  45. package/models/execute-rule-with-dry-run-response-class.ts +42 -0
  46. package/models/execute-rules-by-type-request-dto.ts +44 -0
  47. package/models/index.ts +10 -0
  48. package/models/investigation-block-class.ts +29 -2
  49. package/models/resolve-investigation-block-response-class.ts +31 -0
  50. package/models/update-investigation-block-request-dto.ts +1 -1
  51. package/models/update-validation-rule-request-dto.ts +98 -0
  52. package/models/update-validation-rule-response-class.ts +31 -0
  53. package/models/validation-rule-class.ts +17 -5
  54. package/package.json +1 -1
@@ -12,10 +12,12 @@
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
+ import { CancelInvestigationBlockResponseClass } from '../models';
15
16
  import { CreateInvestigationBlockRequestDto } from '../models';
16
17
  import { CreateInvestigationBlockResponseClass } from '../models';
17
18
  import { GetInvestigationBlockResponseClass } from '../models';
18
19
  import { ListInvestigationBlocksResponseClass } from '../models';
20
+ import { ResolveInvestigationBlockResponseClass } from '../models';
19
21
  import { UpdateInvestigationBlockRequestDto } from '../models';
20
22
  import { UpdateInvestigationBlockResponseClass } from '../models';
21
23
  /**
@@ -24,7 +26,16 @@ import { UpdateInvestigationBlockResponseClass } from '../models';
24
26
  */
25
27
  export declare const InvestigationBlocksApiAxiosParamCreator: (configuration?: Configuration) => {
26
28
  /**
27
- * Creates a new investigation block. **Required Permissions** \"validation-rules-management.validation-rules.create\"
29
+ * This will cancel investigation block. **Required Permissions** \"validation-rules-management.investigation-blocks.update\"
30
+ * @summary Create the investigation block
31
+ * @param {string} code Unique identifier for the object.
32
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
33
+ * @param {*} [options] Override http request option.
34
+ * @throws {RequiredError}
35
+ */
36
+ cancelInvestigationBlock: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37
+ /**
38
+ * Creates a new investigation block. **Required Permissions** \"validation-rules-management.investigation-blocks.create\"
28
39
  * @summary Create the investigation block
29
40
  * @param {CreateInvestigationBlockRequestDto} createInvestigationBlockRequestDto
30
41
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -33,7 +44,7 @@ export declare const InvestigationBlocksApiAxiosParamCreator: (configuration?: C
33
44
  */
34
45
  createInvestigationBlock: (createInvestigationBlockRequestDto: CreateInvestigationBlockRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
46
  /**
36
- * Deletes an investigation block by its code. **Required Permissions** \"validation-rules-management.validation-rules.delete\"
47
+ * Deletes an investigation block by its code. **Required Permissions** \"validation-rules-management.investigation-blocks.delete\"
37
48
  * @summary Delete the investigation block
38
49
  * @param {string} code Unique identifier for the object.
39
50
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -42,7 +53,7 @@ export declare const InvestigationBlocksApiAxiosParamCreator: (configuration?: C
42
53
  */
43
54
  deleteInvestigationBlock: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
44
55
  /**
45
- * Retrieves an investigation block by its code. **Required Permissions** \"validation-rules-management.validation-rules.view\"
56
+ * Retrieves an investigation block by its code. **Required Permissions** \"validation-rules-management.investigation-blocks.view\"
46
57
  * @summary Retrieve the investigation block
47
58
  * @param {string} code
48
59
  * @param {string} expand
@@ -52,7 +63,7 @@ export declare const InvestigationBlocksApiAxiosParamCreator: (configuration?: C
52
63
  */
53
64
  getInvestigationBlock: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
54
65
  /**
55
- * Retrieves a list of investigation blocks with pagination. **Required Permissions** \"validation-rules-management.validation-rules.view\"
66
+ * Retrieves a list of investigation blocks with pagination. **Required Permissions** \"validation-rules-management.investigation-blocks.view\"
56
67
  * @summary List investigation blocks
57
68
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
58
69
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -67,7 +78,16 @@ export declare const InvestigationBlocksApiAxiosParamCreator: (configuration?: C
67
78
  */
68
79
  listInvestigationBlocks: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
69
80
  /**
70
- * Updates an investigation block by its code. **Required Permissions** \"validation-rules-management.validation-rules.update\"
81
+ * This will resolve investigation block. **Required Permissions** \"validation-rules-management.investigation-blocks.update\"
82
+ * @summary Create the investigation block
83
+ * @param {string} code Unique identifier for the object.
84
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
85
+ * @param {*} [options] Override http request option.
86
+ * @throws {RequiredError}
87
+ */
88
+ resolveInvestigationBlock: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
89
+ /**
90
+ * Updates an investigation block by its code. **Required Permissions** \"validation-rules-management.investigation-blocks.update\"
71
91
  * @summary Update the investigation block
72
92
  * @param {string} code
73
93
  * @param {UpdateInvestigationBlockRequestDto} updateInvestigationBlockRequestDto
@@ -83,7 +103,16 @@ export declare const InvestigationBlocksApiAxiosParamCreator: (configuration?: C
83
103
  */
84
104
  export declare const InvestigationBlocksApiFp: (configuration?: Configuration) => {
85
105
  /**
86
- * Creates a new investigation block. **Required Permissions** \"validation-rules-management.validation-rules.create\"
106
+ * This will cancel investigation block. **Required Permissions** \"validation-rules-management.investigation-blocks.update\"
107
+ * @summary Create the investigation block
108
+ * @param {string} code Unique identifier for the object.
109
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
110
+ * @param {*} [options] Override http request option.
111
+ * @throws {RequiredError}
112
+ */
113
+ cancelInvestigationBlock(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CancelInvestigationBlockResponseClass>>;
114
+ /**
115
+ * Creates a new investigation block. **Required Permissions** \"validation-rules-management.investigation-blocks.create\"
87
116
  * @summary Create the investigation block
88
117
  * @param {CreateInvestigationBlockRequestDto} createInvestigationBlockRequestDto
89
118
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -92,7 +121,7 @@ export declare const InvestigationBlocksApiFp: (configuration?: Configuration) =
92
121
  */
93
122
  createInvestigationBlock(createInvestigationBlockRequestDto: CreateInvestigationBlockRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateInvestigationBlockResponseClass>>;
94
123
  /**
95
- * Deletes an investigation block by its code. **Required Permissions** \"validation-rules-management.validation-rules.delete\"
124
+ * Deletes an investigation block by its code. **Required Permissions** \"validation-rules-management.investigation-blocks.delete\"
96
125
  * @summary Delete the investigation block
97
126
  * @param {string} code Unique identifier for the object.
98
127
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -101,7 +130,7 @@ export declare const InvestigationBlocksApiFp: (configuration?: Configuration) =
101
130
  */
102
131
  deleteInvestigationBlock(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
103
132
  /**
104
- * Retrieves an investigation block by its code. **Required Permissions** \"validation-rules-management.validation-rules.view\"
133
+ * Retrieves an investigation block by its code. **Required Permissions** \"validation-rules-management.investigation-blocks.view\"
105
134
  * @summary Retrieve the investigation block
106
135
  * @param {string} code
107
136
  * @param {string} expand
@@ -111,7 +140,7 @@ export declare const InvestigationBlocksApiFp: (configuration?: Configuration) =
111
140
  */
112
141
  getInvestigationBlock(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInvestigationBlockResponseClass>>;
113
142
  /**
114
- * Retrieves a list of investigation blocks with pagination. **Required Permissions** \"validation-rules-management.validation-rules.view\"
143
+ * Retrieves a list of investigation blocks with pagination. **Required Permissions** \"validation-rules-management.investigation-blocks.view\"
115
144
  * @summary List investigation blocks
116
145
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
117
146
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -126,7 +155,16 @@ export declare const InvestigationBlocksApiFp: (configuration?: Configuration) =
126
155
  */
127
156
  listInvestigationBlocks(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInvestigationBlocksResponseClass>>;
128
157
  /**
129
- * Updates an investigation block by its code. **Required Permissions** \"validation-rules-management.validation-rules.update\"
158
+ * This will resolve investigation block. **Required Permissions** \"validation-rules-management.investigation-blocks.update\"
159
+ * @summary Create the investigation block
160
+ * @param {string} code Unique identifier for the object.
161
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
162
+ * @param {*} [options] Override http request option.
163
+ * @throws {RequiredError}
164
+ */
165
+ resolveInvestigationBlock(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResolveInvestigationBlockResponseClass>>;
166
+ /**
167
+ * Updates an investigation block by its code. **Required Permissions** \"validation-rules-management.investigation-blocks.update\"
130
168
  * @summary Update the investigation block
131
169
  * @param {string} code
132
170
  * @param {UpdateInvestigationBlockRequestDto} updateInvestigationBlockRequestDto
@@ -142,7 +180,16 @@ export declare const InvestigationBlocksApiFp: (configuration?: Configuration) =
142
180
  */
143
181
  export declare const InvestigationBlocksApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
144
182
  /**
145
- * Creates a new investigation block. **Required Permissions** \"validation-rules-management.validation-rules.create\"
183
+ * This will cancel investigation block. **Required Permissions** \"validation-rules-management.investigation-blocks.update\"
184
+ * @summary Create the investigation block
185
+ * @param {string} code Unique identifier for the object.
186
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
187
+ * @param {*} [options] Override http request option.
188
+ * @throws {RequiredError}
189
+ */
190
+ cancelInvestigationBlock(code: string, authorization?: string, options?: any): AxiosPromise<CancelInvestigationBlockResponseClass>;
191
+ /**
192
+ * Creates a new investigation block. **Required Permissions** \"validation-rules-management.investigation-blocks.create\"
146
193
  * @summary Create the investigation block
147
194
  * @param {CreateInvestigationBlockRequestDto} createInvestigationBlockRequestDto
148
195
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -151,7 +198,7 @@ export declare const InvestigationBlocksApiFactory: (configuration?: Configurati
151
198
  */
152
199
  createInvestigationBlock(createInvestigationBlockRequestDto: CreateInvestigationBlockRequestDto, authorization?: string, options?: any): AxiosPromise<CreateInvestigationBlockResponseClass>;
153
200
  /**
154
- * Deletes an investigation block by its code. **Required Permissions** \"validation-rules-management.validation-rules.delete\"
201
+ * Deletes an investigation block by its code. **Required Permissions** \"validation-rules-management.investigation-blocks.delete\"
155
202
  * @summary Delete the investigation block
156
203
  * @param {string} code Unique identifier for the object.
157
204
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -160,7 +207,7 @@ export declare const InvestigationBlocksApiFactory: (configuration?: Configurati
160
207
  */
161
208
  deleteInvestigationBlock(code: string, authorization?: string, options?: any): AxiosPromise<void>;
162
209
  /**
163
- * Retrieves an investigation block by its code. **Required Permissions** \"validation-rules-management.validation-rules.view\"
210
+ * Retrieves an investigation block by its code. **Required Permissions** \"validation-rules-management.investigation-blocks.view\"
164
211
  * @summary Retrieve the investigation block
165
212
  * @param {string} code
166
213
  * @param {string} expand
@@ -170,7 +217,7 @@ export declare const InvestigationBlocksApiFactory: (configuration?: Configurati
170
217
  */
171
218
  getInvestigationBlock(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetInvestigationBlockResponseClass>;
172
219
  /**
173
- * Retrieves a list of investigation blocks with pagination. **Required Permissions** \"validation-rules-management.validation-rules.view\"
220
+ * Retrieves a list of investigation blocks with pagination. **Required Permissions** \"validation-rules-management.investigation-blocks.view\"
174
221
  * @summary List investigation blocks
175
222
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
176
223
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -185,7 +232,16 @@ export declare const InvestigationBlocksApiFactory: (configuration?: Configurati
185
232
  */
186
233
  listInvestigationBlocks(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListInvestigationBlocksResponseClass>;
187
234
  /**
188
- * Updates an investigation block by its code. **Required Permissions** \"validation-rules-management.validation-rules.update\"
235
+ * This will resolve investigation block. **Required Permissions** \"validation-rules-management.investigation-blocks.update\"
236
+ * @summary Create the investigation block
237
+ * @param {string} code Unique identifier for the object.
238
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
239
+ * @param {*} [options] Override http request option.
240
+ * @throws {RequiredError}
241
+ */
242
+ resolveInvestigationBlock(code: string, authorization?: string, options?: any): AxiosPromise<ResolveInvestigationBlockResponseClass>;
243
+ /**
244
+ * Updates an investigation block by its code. **Required Permissions** \"validation-rules-management.investigation-blocks.update\"
189
245
  * @summary Update the investigation block
190
246
  * @param {string} code
191
247
  * @param {UpdateInvestigationBlockRequestDto} updateInvestigationBlockRequestDto
@@ -195,6 +251,25 @@ export declare const InvestigationBlocksApiFactory: (configuration?: Configurati
195
251
  */
196
252
  updateInvestigationBlock(code: string, updateInvestigationBlockRequestDto: UpdateInvestigationBlockRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateInvestigationBlockResponseClass>;
197
253
  };
254
+ /**
255
+ * Request parameters for cancelInvestigationBlock operation in InvestigationBlocksApi.
256
+ * @export
257
+ * @interface InvestigationBlocksApiCancelInvestigationBlockRequest
258
+ */
259
+ export interface InvestigationBlocksApiCancelInvestigationBlockRequest {
260
+ /**
261
+ * Unique identifier for the object.
262
+ * @type {string}
263
+ * @memberof InvestigationBlocksApiCancelInvestigationBlock
264
+ */
265
+ readonly code: string;
266
+ /**
267
+ * Bearer Token: provided by the login endpoint under the name accessToken.
268
+ * @type {string}
269
+ * @memberof InvestigationBlocksApiCancelInvestigationBlock
270
+ */
271
+ readonly authorization?: string;
272
+ }
198
273
  /**
199
274
  * Request parameters for createInvestigationBlock operation in InvestigationBlocksApi.
200
275
  * @export
@@ -313,6 +388,25 @@ export interface InvestigationBlocksApiListInvestigationBlocksRequest {
313
388
  */
314
389
  readonly filters?: string;
315
390
  }
391
+ /**
392
+ * Request parameters for resolveInvestigationBlock operation in InvestigationBlocksApi.
393
+ * @export
394
+ * @interface InvestigationBlocksApiResolveInvestigationBlockRequest
395
+ */
396
+ export interface InvestigationBlocksApiResolveInvestigationBlockRequest {
397
+ /**
398
+ * Unique identifier for the object.
399
+ * @type {string}
400
+ * @memberof InvestigationBlocksApiResolveInvestigationBlock
401
+ */
402
+ readonly code: string;
403
+ /**
404
+ * Bearer Token: provided by the login endpoint under the name accessToken.
405
+ * @type {string}
406
+ * @memberof InvestigationBlocksApiResolveInvestigationBlock
407
+ */
408
+ readonly authorization?: string;
409
+ }
316
410
  /**
317
411
  * Request parameters for updateInvestigationBlock operation in InvestigationBlocksApi.
318
412
  * @export
@@ -346,7 +440,16 @@ export interface InvestigationBlocksApiUpdateInvestigationBlockRequest {
346
440
  */
347
441
  export declare class InvestigationBlocksApi extends BaseAPI {
348
442
  /**
349
- * Creates a new investigation block. **Required Permissions** \"validation-rules-management.validation-rules.create\"
443
+ * This will cancel investigation block. **Required Permissions** \"validation-rules-management.investigation-blocks.update\"
444
+ * @summary Create the investigation block
445
+ * @param {InvestigationBlocksApiCancelInvestigationBlockRequest} requestParameters Request parameters.
446
+ * @param {*} [options] Override http request option.
447
+ * @throws {RequiredError}
448
+ * @memberof InvestigationBlocksApi
449
+ */
450
+ cancelInvestigationBlock(requestParameters: InvestigationBlocksApiCancelInvestigationBlockRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CancelInvestigationBlockResponseClass, any, {}>>;
451
+ /**
452
+ * Creates a new investigation block. **Required Permissions** \"validation-rules-management.investigation-blocks.create\"
350
453
  * @summary Create the investigation block
351
454
  * @param {InvestigationBlocksApiCreateInvestigationBlockRequest} requestParameters Request parameters.
352
455
  * @param {*} [options] Override http request option.
@@ -355,7 +458,7 @@ export declare class InvestigationBlocksApi extends BaseAPI {
355
458
  */
356
459
  createInvestigationBlock(requestParameters: InvestigationBlocksApiCreateInvestigationBlockRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateInvestigationBlockResponseClass, any, {}>>;
357
460
  /**
358
- * Deletes an investigation block by its code. **Required Permissions** \"validation-rules-management.validation-rules.delete\"
461
+ * Deletes an investigation block by its code. **Required Permissions** \"validation-rules-management.investigation-blocks.delete\"
359
462
  * @summary Delete the investigation block
360
463
  * @param {InvestigationBlocksApiDeleteInvestigationBlockRequest} requestParameters Request parameters.
361
464
  * @param {*} [options] Override http request option.
@@ -364,7 +467,7 @@ export declare class InvestigationBlocksApi extends BaseAPI {
364
467
  */
365
468
  deleteInvestigationBlock(requestParameters: InvestigationBlocksApiDeleteInvestigationBlockRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
366
469
  /**
367
- * Retrieves an investigation block by its code. **Required Permissions** \"validation-rules-management.validation-rules.view\"
470
+ * Retrieves an investigation block by its code. **Required Permissions** \"validation-rules-management.investigation-blocks.view\"
368
471
  * @summary Retrieve the investigation block
369
472
  * @param {InvestigationBlocksApiGetInvestigationBlockRequest} requestParameters Request parameters.
370
473
  * @param {*} [options] Override http request option.
@@ -373,7 +476,7 @@ export declare class InvestigationBlocksApi extends BaseAPI {
373
476
  */
374
477
  getInvestigationBlock(requestParameters: InvestigationBlocksApiGetInvestigationBlockRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetInvestigationBlockResponseClass, any, {}>>;
375
478
  /**
376
- * Retrieves a list of investigation blocks with pagination. **Required Permissions** \"validation-rules-management.validation-rules.view\"
479
+ * Retrieves a list of investigation blocks with pagination. **Required Permissions** \"validation-rules-management.investigation-blocks.view\"
377
480
  * @summary List investigation blocks
378
481
  * @param {InvestigationBlocksApiListInvestigationBlocksRequest} requestParameters Request parameters.
379
482
  * @param {*} [options] Override http request option.
@@ -382,7 +485,16 @@ export declare class InvestigationBlocksApi extends BaseAPI {
382
485
  */
383
486
  listInvestigationBlocks(requestParameters?: InvestigationBlocksApiListInvestigationBlocksRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListInvestigationBlocksResponseClass, any, {}>>;
384
487
  /**
385
- * Updates an investigation block by its code. **Required Permissions** \"validation-rules-management.validation-rules.update\"
488
+ * This will resolve investigation block. **Required Permissions** \"validation-rules-management.investigation-blocks.update\"
489
+ * @summary Create the investigation block
490
+ * @param {InvestigationBlocksApiResolveInvestigationBlockRequest} requestParameters Request parameters.
491
+ * @param {*} [options] Override http request option.
492
+ * @throws {RequiredError}
493
+ * @memberof InvestigationBlocksApi
494
+ */
495
+ resolveInvestigationBlock(requestParameters: InvestigationBlocksApiResolveInvestigationBlockRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResolveInvestigationBlockResponseClass, any, {}>>;
496
+ /**
497
+ * Updates an investigation block by its code. **Required Permissions** \"validation-rules-management.investigation-blocks.update\"
386
498
  * @summary Update the investigation block
387
499
  * @param {InvestigationBlocksApiUpdateInvestigationBlockRequest} requestParameters Request parameters.
388
500
  * @param {*} [options] Override http request option.