@emilgroup/validation-rules-sdk-node 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.
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 +231 -25
  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 +209 -25
  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
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL Validation Rules Service
6
+ * The EMIL Validation Rules Service API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ExecuteRuleRequestDtoEntityTypeEnum = void 0;
17
+ exports.ExecuteRuleRequestDtoEntityTypeEnum = {
18
+ Policy: 'Policy',
19
+ Claim: 'Claim'
20
+ };
@@ -0,0 +1,54 @@
1
+ /**
2
+ * EMIL Validation Rules Service
3
+ * The EMIL Validation Rules Service API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { ExecuteRuleResultClass } from './execute-rule-result-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ExecuteRuleResponseClass
17
+ */
18
+ export interface ExecuteRuleResponseClass {
19
+ /**
20
+ * Entity type that was validated
21
+ * @type {string}
22
+ * @memberof ExecuteRuleResponseClass
23
+ */
24
+ 'entityType': ExecuteRuleResponseClassEntityTypeEnum;
25
+ /**
26
+ * Code of the entity that was validated
27
+ * @type {string}
28
+ * @memberof ExecuteRuleResponseClass
29
+ */
30
+ 'entityCode': string;
31
+ /**
32
+ * One result per executed validation rule
33
+ * @type {Array<ExecuteRuleResultClass>}
34
+ * @memberof ExecuteRuleResponseClass
35
+ */
36
+ 'results': Array<ExecuteRuleResultClass>;
37
+ /**
38
+ * True if at least one triggered rule has severity \"Error\"
39
+ * @type {boolean}
40
+ * @memberof ExecuteRuleResponseClass
41
+ */
42
+ 'hasBlockingErrors': boolean;
43
+ /**
44
+ * Resolved entity context used for evaluation (shape depends on entity type and expands)
45
+ * @type {object}
46
+ * @memberof ExecuteRuleResponseClass
47
+ */
48
+ 'entityData'?: object;
49
+ }
50
+ export declare const ExecuteRuleResponseClassEntityTypeEnum: {
51
+ readonly Policy: "Policy";
52
+ readonly Claim: "Claim";
53
+ };
54
+ export type ExecuteRuleResponseClassEntityTypeEnum = typeof ExecuteRuleResponseClassEntityTypeEnum[keyof typeof ExecuteRuleResponseClassEntityTypeEnum];
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL Validation Rules Service
6
+ * The EMIL Validation Rules Service API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ExecuteRuleResponseClassEntityTypeEnum = void 0;
17
+ exports.ExecuteRuleResponseClassEntityTypeEnum = {
18
+ Policy: 'Policy',
19
+ Claim: 'Claim'
20
+ };
@@ -0,0 +1,53 @@
1
+ /**
2
+ * EMIL Validation Rules Service
3
+ * The EMIL Validation Rules Service API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ExecuteRuleResultClass
16
+ */
17
+ export interface ExecuteRuleResultClass {
18
+ /**
19
+ * Code of the validation rule that was executed
20
+ * @type {string}
21
+ * @memberof ExecuteRuleResultClass
22
+ */
23
+ 'ruleCode': string;
24
+ /**
25
+ * Human-readable message for the rule
26
+ * @type {string}
27
+ * @memberof ExecuteRuleResultClass
28
+ */
29
+ 'displayMessage': string;
30
+ /**
31
+ * Severity of the rule: \"Warning\" or \"Error\"
32
+ * @type {string}
33
+ * @memberof ExecuteRuleResultClass
34
+ */
35
+ 'severity': ExecuteRuleResultClassSeverityEnum;
36
+ /**
37
+ * True when the FEEL expression evaluates to true, meaning the rule\'s condition was met and the validation failed
38
+ * @type {boolean}
39
+ * @memberof ExecuteRuleResultClass
40
+ */
41
+ 'ruleViolated': boolean;
42
+ /**
43
+ * Error message if evaluation failed
44
+ * @type {string}
45
+ * @memberof ExecuteRuleResultClass
46
+ */
47
+ 'error': string;
48
+ }
49
+ export declare const ExecuteRuleResultClassSeverityEnum: {
50
+ readonly Warning: "Warning";
51
+ readonly Error: "Error";
52
+ };
53
+ export type ExecuteRuleResultClassSeverityEnum = typeof ExecuteRuleResultClassSeverityEnum[keyof typeof ExecuteRuleResultClassSeverityEnum];
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL Validation Rules Service
6
+ * The EMIL Validation Rules Service API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ExecuteRuleResultClassSeverityEnum = void 0;
17
+ exports.ExecuteRuleResultClassSeverityEnum = {
18
+ Warning: 'Warning',
19
+ Error: 'Error'
20
+ };
@@ -0,0 +1,30 @@
1
+ /**
2
+ * EMIL Validation Rules Service
3
+ * The EMIL Validation Rules Service API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ExecuteRuleWithDryRunRequestDto
16
+ */
17
+ export interface ExecuteRuleWithDryRunRequestDto {
18
+ /**
19
+ * FEEL expression to evaluate
20
+ * @type {string}
21
+ * @memberof ExecuteRuleWithDryRunRequestDto
22
+ */
23
+ 'expression': string;
24
+ /**
25
+ * JSON string with sample data context for evaluation
26
+ * @type {string}
27
+ * @memberof ExecuteRuleWithDryRunRequestDto
28
+ */
29
+ 'context': string;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL Validation Rules Service
6
+ * The EMIL Validation Rules Service API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,36 @@
1
+ /**
2
+ * EMIL Validation Rules Service
3
+ * The EMIL Validation Rules Service API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ExecuteRuleWithDryRunResponseClass
16
+ */
17
+ export interface ExecuteRuleWithDryRunResponseClass {
18
+ /**
19
+ * Whether the FEEL expression evaluated to true. A result of true means the validation rule was violated (i.e. the condition that should trigger a warning or error was met).
20
+ * @type {boolean}
21
+ * @memberof ExecuteRuleWithDryRunResponseClass
22
+ */
23
+ 'expressionResult': boolean;
24
+ /**
25
+ * Error message if evaluation failed
26
+ * @type {string}
27
+ * @memberof ExecuteRuleWithDryRunResponseClass
28
+ */
29
+ 'error': string;
30
+ /**
31
+ * String representation of the evaluation result
32
+ * @type {string}
33
+ * @memberof ExecuteRuleWithDryRunResponseClass
34
+ */
35
+ 'result': string;
36
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL Validation Rules Service
6
+ * The EMIL Validation Rules Service API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,35 @@
1
+ /**
2
+ * EMIL Validation Rules Service
3
+ * The EMIL Validation Rules Service API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ExecuteRulesByTypeRequestDto
16
+ */
17
+ export interface ExecuteRulesByTypeRequestDto {
18
+ /**
19
+ * Entity type to validate
20
+ * @type {string}
21
+ * @memberof ExecuteRulesByTypeRequestDto
22
+ */
23
+ 'entityType': ExecuteRulesByTypeRequestDtoEntityTypeEnum;
24
+ /**
25
+ * Code of the entity to validate
26
+ * @type {string}
27
+ * @memberof ExecuteRulesByTypeRequestDto
28
+ */
29
+ 'entityCode': string;
30
+ }
31
+ export declare const ExecuteRulesByTypeRequestDtoEntityTypeEnum: {
32
+ readonly Policy: "Policy";
33
+ readonly Claim: "Claim";
34
+ };
35
+ export type ExecuteRulesByTypeRequestDtoEntityTypeEnum = typeof ExecuteRulesByTypeRequestDtoEntityTypeEnum[keyof typeof ExecuteRulesByTypeRequestDtoEntityTypeEnum];
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL Validation Rules Service
6
+ * The EMIL Validation Rules Service API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ExecuteRulesByTypeRequestDtoEntityTypeEnum = void 0;
17
+ exports.ExecuteRulesByTypeRequestDtoEntityTypeEnum = {
18
+ Policy: 'Policy',
19
+ Claim: 'Claim'
20
+ };
@@ -1,7 +1,14 @@
1
+ export * from './cancel-investigation-block-response-class';
1
2
  export * from './create-investigation-block-request-dto';
2
3
  export * from './create-investigation-block-response-class';
3
4
  export * from './create-validation-rule-request-dto';
4
5
  export * from './create-validation-rule-response-class';
6
+ export * from './execute-rule-request-dto';
7
+ export * from './execute-rule-response-class';
8
+ export * from './execute-rule-result-class';
9
+ export * from './execute-rule-with-dry-run-request-dto';
10
+ export * from './execute-rule-with-dry-run-response-class';
11
+ export * from './execute-rules-by-type-request-dto';
5
12
  export * from './get-investigation-block-response-class';
6
13
  export * from './get-validation-rule-response-class';
7
14
  export * from './inline-response200';
@@ -9,6 +16,9 @@ export * from './inline-response503';
9
16
  export * from './investigation-block-class';
10
17
  export * from './list-investigation-blocks-response-class';
11
18
  export * from './list-validation-rules-response-class';
19
+ export * from './resolve-investigation-block-response-class';
12
20
  export * from './update-investigation-block-request-dto';
13
21
  export * from './update-investigation-block-response-class';
22
+ export * from './update-validation-rule-request-dto';
23
+ export * from './update-validation-rule-response-class';
14
24
  export * from './validation-rule-class';
@@ -14,10 +14,17 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./cancel-investigation-block-response-class"), exports);
17
18
  __exportStar(require("./create-investigation-block-request-dto"), exports);
18
19
  __exportStar(require("./create-investigation-block-response-class"), exports);
19
20
  __exportStar(require("./create-validation-rule-request-dto"), exports);
20
21
  __exportStar(require("./create-validation-rule-response-class"), exports);
22
+ __exportStar(require("./execute-rule-request-dto"), exports);
23
+ __exportStar(require("./execute-rule-response-class"), exports);
24
+ __exportStar(require("./execute-rule-result-class"), exports);
25
+ __exportStar(require("./execute-rule-with-dry-run-request-dto"), exports);
26
+ __exportStar(require("./execute-rule-with-dry-run-response-class"), exports);
27
+ __exportStar(require("./execute-rules-by-type-request-dto"), exports);
21
28
  __exportStar(require("./get-investigation-block-response-class"), exports);
22
29
  __exportStar(require("./get-validation-rule-response-class"), exports);
23
30
  __exportStar(require("./inline-response200"), exports);
@@ -25,6 +32,9 @@ __exportStar(require("./inline-response503"), exports);
25
32
  __exportStar(require("./investigation-block-class"), exports);
26
33
  __exportStar(require("./list-investigation-blocks-response-class"), exports);
27
34
  __exportStar(require("./list-validation-rules-response-class"), exports);
35
+ __exportStar(require("./resolve-investigation-block-response-class"), exports);
28
36
  __exportStar(require("./update-investigation-block-request-dto"), exports);
29
37
  __exportStar(require("./update-investigation-block-response-class"), exports);
38
+ __exportStar(require("./update-validation-rule-request-dto"), exports);
39
+ __exportStar(require("./update-validation-rule-response-class"), exports);
30
40
  __exportStar(require("./validation-rule-class"), exports);
@@ -32,7 +32,7 @@ export interface InvestigationBlockClass {
32
32
  * @type {string}
33
33
  * @memberof InvestigationBlockClass
34
34
  */
35
- 'entityType': string;
35
+ 'entityType': InvestigationBlockClassEntityTypeEnum;
36
36
  /**
37
37
  * Code of the entity that the investigation block is associated with
38
38
  * @type {string}
@@ -44,7 +44,7 @@ export interface InvestigationBlockClass {
44
44
  * @type {string}
45
45
  * @memberof InvestigationBlockClass
46
46
  */
47
- 'status': string;
47
+ 'status': InvestigationBlockClassStatusEnum;
48
48
  /**
49
49
  * Notes
50
50
  * @type {string}
@@ -87,4 +87,27 @@ export interface InvestigationBlockClass {
87
87
  * @memberof InvestigationBlockClass
88
88
  */
89
89
  'resolvedBy'?: string;
90
+ /**
91
+ * Cancelled At
92
+ * @type {string}
93
+ * @memberof InvestigationBlockClass
94
+ */
95
+ 'cancelledAt'?: string;
96
+ /**
97
+ * Cancelled By
98
+ * @type {string}
99
+ * @memberof InvestigationBlockClass
100
+ */
101
+ 'cancelledBy'?: string;
90
102
  }
103
+ export declare const InvestigationBlockClassEntityTypeEnum: {
104
+ readonly Claim: "claim";
105
+ readonly Policy: "policy";
106
+ };
107
+ export type InvestigationBlockClassEntityTypeEnum = typeof InvestigationBlockClassEntityTypeEnum[keyof typeof InvestigationBlockClassEntityTypeEnum];
108
+ export declare const InvestigationBlockClassStatusEnum: {
109
+ readonly Open: "open";
110
+ readonly Cancelled: "cancelled";
111
+ readonly Resolved: "resolved";
112
+ };
113
+ export type InvestigationBlockClassStatusEnum = typeof InvestigationBlockClassStatusEnum[keyof typeof InvestigationBlockClassStatusEnum];
@@ -13,3 +13,13 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.InvestigationBlockClassStatusEnum = exports.InvestigationBlockClassEntityTypeEnum = void 0;
17
+ exports.InvestigationBlockClassEntityTypeEnum = {
18
+ Claim: 'claim',
19
+ Policy: 'policy'
20
+ };
21
+ exports.InvestigationBlockClassStatusEnum = {
22
+ Open: 'open',
23
+ Cancelled: 'cancelled',
24
+ Resolved: 'resolved'
25
+ };
@@ -0,0 +1,25 @@
1
+ /**
2
+ * EMIL Validation Rules Service
3
+ * The EMIL Validation Rules Service API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { InvestigationBlockClass } from './investigation-block-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ResolveInvestigationBlockResponseClass
17
+ */
18
+ export interface ResolveInvestigationBlockResponseClass {
19
+ /**
20
+ * investigationBlock
21
+ * @type {InvestigationBlockClass}
22
+ * @memberof ResolveInvestigationBlockResponseClass
23
+ */
24
+ 'investigationBlock'?: InvestigationBlockClass;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL Validation Rules Service
6
+ * The EMIL Validation Rules Service API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -53,7 +53,7 @@ export declare const UpdateInvestigationBlockRequestDtoEntityTypeEnum: {
53
53
  export type UpdateInvestigationBlockRequestDtoEntityTypeEnum = typeof UpdateInvestigationBlockRequestDtoEntityTypeEnum[keyof typeof UpdateInvestigationBlockRequestDtoEntityTypeEnum];
54
54
  export declare const UpdateInvestigationBlockRequestDtoStatusEnum: {
55
55
  readonly Open: "open";
56
- readonly Closed: "closed";
56
+ readonly Cancelled: "cancelled";
57
57
  readonly Resolved: "resolved";
58
58
  };
59
59
  export type UpdateInvestigationBlockRequestDtoStatusEnum = typeof UpdateInvestigationBlockRequestDtoStatusEnum[keyof typeof UpdateInvestigationBlockRequestDtoStatusEnum];
@@ -20,6 +20,6 @@ exports.UpdateInvestigationBlockRequestDtoEntityTypeEnum = {
20
20
  };
21
21
  exports.UpdateInvestigationBlockRequestDtoStatusEnum = {
22
22
  Open: 'open',
23
- Closed: 'closed',
23
+ Cancelled: 'cancelled',
24
24
  Resolved: 'resolved'
25
25
  };
@@ -0,0 +1,88 @@
1
+ /**
2
+ * EMIL Validation Rules Service
3
+ * The EMIL Validation Rules Service API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface UpdateValidationRuleRequestDto
16
+ */
17
+ export interface UpdateValidationRuleRequestDto {
18
+ /**
19
+ * Code of the validation rule to update
20
+ * @type {string}
21
+ * @memberof UpdateValidationRuleRequestDto
22
+ */
23
+ 'code': string;
24
+ /**
25
+ * Root entity type this rule applies to
26
+ * @type {string}
27
+ * @memberof UpdateValidationRuleRequestDto
28
+ */
29
+ 'entityType'?: UpdateValidationRuleRequestDtoEntityTypeEnum;
30
+ /**
31
+ * Product slug this rule belongs to
32
+ * @type {string}
33
+ * @memberof UpdateValidationRuleRequestDto
34
+ */
35
+ 'productSlug'?: string;
36
+ /**
37
+ * Product version ID
38
+ * @type {number}
39
+ * @memberof UpdateValidationRuleRequestDto
40
+ */
41
+ 'productVersionId'?: number;
42
+ /**
43
+ * Human-readable message shown when rule triggers
44
+ * @type {string}
45
+ * @memberof UpdateValidationRuleRequestDto
46
+ */
47
+ 'displayMessage'?: string;
48
+ /**
49
+ * Detailed description of what the rule checks and why
50
+ * @type {string}
51
+ * @memberof UpdateValidationRuleRequestDto
52
+ */
53
+ 'description'?: string;
54
+ /**
55
+ * Rule severity
56
+ * @type {string}
57
+ * @memberof UpdateValidationRuleRequestDto
58
+ */
59
+ 'severity'?: UpdateValidationRuleRequestDtoSeverityEnum;
60
+ /**
61
+ * FEEL expression for rule evaluation
62
+ * @type {string}
63
+ * @memberof UpdateValidationRuleRequestDto
64
+ */
65
+ 'expression'?: string;
66
+ /**
67
+ * Related entities to load for evaluation
68
+ * @type {Array<string>}
69
+ * @memberof UpdateValidationRuleRequestDto
70
+ */
71
+ 'expands'?: Array<string>;
72
+ /**
73
+ * Whether the rule is enabled
74
+ * @type {boolean}
75
+ * @memberof UpdateValidationRuleRequestDto
76
+ */
77
+ 'isEnabled'?: boolean;
78
+ }
79
+ export declare const UpdateValidationRuleRequestDtoEntityTypeEnum: {
80
+ readonly Policy: "Policy";
81
+ readonly Claim: "Claim";
82
+ };
83
+ export type UpdateValidationRuleRequestDtoEntityTypeEnum = typeof UpdateValidationRuleRequestDtoEntityTypeEnum[keyof typeof UpdateValidationRuleRequestDtoEntityTypeEnum];
84
+ export declare const UpdateValidationRuleRequestDtoSeverityEnum: {
85
+ readonly Warning: "Warning";
86
+ readonly Error: "Error";
87
+ };
88
+ export type UpdateValidationRuleRequestDtoSeverityEnum = typeof UpdateValidationRuleRequestDtoSeverityEnum[keyof typeof UpdateValidationRuleRequestDtoSeverityEnum];
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL Validation Rules Service
6
+ * The EMIL Validation Rules Service API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.UpdateValidationRuleRequestDtoSeverityEnum = exports.UpdateValidationRuleRequestDtoEntityTypeEnum = void 0;
17
+ exports.UpdateValidationRuleRequestDtoEntityTypeEnum = {
18
+ Policy: 'Policy',
19
+ Claim: 'Claim'
20
+ };
21
+ exports.UpdateValidationRuleRequestDtoSeverityEnum = {
22
+ Warning: 'Warning',
23
+ Error: 'Error'
24
+ };
@@ -0,0 +1,25 @@
1
+ /**
2
+ * EMIL Validation Rules Service
3
+ * The EMIL Validation Rules Service API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { ValidationRuleClass } from './validation-rule-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdateValidationRuleResponseClass
17
+ */
18
+ export interface UpdateValidationRuleResponseClass {
19
+ /**
20
+ * The validationRule response.
21
+ * @type {ValidationRuleClass}
22
+ * @memberof UpdateValidationRuleResponseClass
23
+ */
24
+ 'validationRule': ValidationRuleClass;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL Validation Rules Service
6
+ * The EMIL Validation Rules Service API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });