@emilgroup/claim-sdk-node 1.39.1-beta.8 → 1.40.0

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 (87) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/README.md +2 -2
  3. package/api/claim-limit-usages-api.ts +24 -24
  4. package/api/claim-partner-roles-api.ts +24 -24
  5. package/api/claim-partners-api.ts +24 -24
  6. package/api/claim-positions-api.ts +496 -16
  7. package/api/claim-regulations-api.ts +24 -24
  8. package/api/claim-statuses-api.ts +24 -24
  9. package/api/claims-api.ts +48 -48
  10. package/api/settlements-api.ts +24 -24
  11. package/dist/api/claim-limit-usages-api.d.ts +24 -24
  12. package/dist/api/claim-limit-usages-api.js +18 -18
  13. package/dist/api/claim-partner-roles-api.d.ts +24 -24
  14. package/dist/api/claim-partner-roles-api.js +20 -20
  15. package/dist/api/claim-partners-api.d.ts +24 -24
  16. package/dist/api/claim-partners-api.js +20 -20
  17. package/dist/api/claim-positions-api.d.ts +284 -16
  18. package/dist/api/claim-positions-api.js +416 -12
  19. package/dist/api/claim-regulations-api.d.ts +24 -24
  20. package/dist/api/claim-regulations-api.js +20 -20
  21. package/dist/api/claim-statuses-api.d.ts +24 -24
  22. package/dist/api/claim-statuses-api.js +20 -20
  23. package/dist/api/claims-api.d.ts +48 -48
  24. package/dist/api/claims-api.js +38 -38
  25. package/dist/api/settlements-api.d.ts +24 -24
  26. package/dist/api/settlements-api.js +20 -20
  27. package/dist/models/batch-upsert-claim-position-input-dto.d.ts +72 -0
  28. package/dist/models/batch-upsert-claim-position-input-dto.js +15 -0
  29. package/dist/models/batch-upsert-claim-positions-request-dto.d.ts +31 -0
  30. package/dist/models/batch-upsert-claim-positions-request-dto.js +15 -0
  31. package/dist/models/batch-upsert-claim-positions-response-class.d.ts +32 -0
  32. package/dist/models/batch-upsert-claim-positions-response-class.js +15 -0
  33. package/dist/models/calculate-claim-positions-request-dto.d.ts +31 -0
  34. package/dist/models/calculate-claim-positions-request-dto.js +15 -0
  35. package/dist/models/calculate-claim-positions-response-class.d.ts +32 -0
  36. package/dist/models/calculate-claim-positions-response-class.js +15 -0
  37. package/dist/models/calculated-claim-position-class.d.ts +74 -0
  38. package/dist/models/calculated-claim-position-class.js +15 -0
  39. package/dist/models/calculation-totals-class.d.ts +30 -0
  40. package/dist/models/calculation-totals-class.js +15 -0
  41. package/dist/models/claim-applied-deductible-class.d.ts +1 -1
  42. package/dist/models/claim-class.d.ts +24 -0
  43. package/dist/models/claim-limit-usage-class.d.ts +8 -0
  44. package/dist/models/claim-limit-usage-class.js +2 -0
  45. package/dist/models/claim-position-calculation-input-dto.d.ts +48 -0
  46. package/dist/models/claim-position-calculation-input-dto.js +15 -0
  47. package/dist/models/claim-position-class.d.ts +8 -1
  48. package/dist/models/claim-position-class.js +3 -2
  49. package/dist/models/create-claim-position-response-class.d.ts +1 -1
  50. package/dist/models/create-claim-request-dto.d.ts +12 -0
  51. package/dist/models/create-regulation-item-request-dto.d.ts +4 -3
  52. package/dist/models/get-claim-position-response-class.d.ts +1 -1
  53. package/dist/models/index.d.ts +8 -0
  54. package/dist/models/index.js +8 -0
  55. package/dist/models/list-claim-positions-response-class.d.ts +1 -1
  56. package/dist/models/patch-claim-request-dto.d.ts +12 -0
  57. package/dist/models/regulation-item-class.d.ts +6 -0
  58. package/dist/models/update-claim-position-request-dto.d.ts +6 -0
  59. package/dist/models/update-claim-position-response-class.d.ts +1 -1
  60. package/dist/models/update-claim-request-dto.d.ts +12 -0
  61. package/dist/models/update-regulation-item-request-dto.d.ts +24 -0
  62. package/dist/models/update-regulation-item-request-dto.js +5 -1
  63. package/models/batch-upsert-claim-position-input-dto.ts +78 -0
  64. package/models/batch-upsert-claim-positions-request-dto.ts +37 -0
  65. package/models/batch-upsert-claim-positions-response-class.ts +38 -0
  66. package/models/calculate-claim-positions-request-dto.ts +37 -0
  67. package/models/calculate-claim-positions-response-class.ts +38 -0
  68. package/models/calculated-claim-position-class.ts +80 -0
  69. package/models/calculation-totals-class.ts +36 -0
  70. package/models/claim-applied-deductible-class.ts +1 -1
  71. package/models/claim-class.ts +24 -0
  72. package/models/claim-limit-usage-class.ts +8 -0
  73. package/models/claim-position-calculation-input-dto.ts +54 -0
  74. package/models/claim-position-class.ts +9 -2
  75. package/models/create-claim-position-response-class.ts +1 -1
  76. package/models/create-claim-request-dto.ts +12 -0
  77. package/models/create-regulation-item-request-dto.ts +4 -3
  78. package/models/get-claim-position-response-class.ts +1 -1
  79. package/models/index.ts +8 -0
  80. package/models/list-claim-positions-response-class.ts +1 -1
  81. package/models/patch-claim-request-dto.ts +12 -0
  82. package/models/regulation-item-class.ts +6 -0
  83. package/models/update-claim-position-request-dto.ts +6 -0
  84. package/models/update-claim-position-response-class.ts +1 -1
  85. package/models/update-claim-request-dto.ts +12 -0
  86. package/models/update-regulation-item-request-dto.ts +25 -0
  87. package/package.json +1 -1
@@ -0,0 +1,72 @@
1
+ /**
2
+ * EMIL ClaimService
3
+ * The EMIL ClaimService 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 BatchUpsertClaimPositionInputDto
16
+ */
17
+ export interface BatchUpsertClaimPositionInputDto {
18
+ /**
19
+ * Required to update an existing position. If not provided, a new position will be created.
20
+ * @type {string}
21
+ * @memberof BatchUpsertClaimPositionInputDto
22
+ */
23
+ 'code'?: string;
24
+ /**
25
+ * Category of the claim position (e.g. property_damage).
26
+ * @type {string}
27
+ * @memberof BatchUpsertClaimPositionInputDto
28
+ */
29
+ 'category': string;
30
+ /**
31
+ * Cost of the claim position.
32
+ * @type {number}
33
+ * @memberof BatchUpsertClaimPositionInputDto
34
+ */
35
+ 'cost': number;
36
+ /**
37
+ * Order of the claim position.
38
+ * @type {number}
39
+ * @memberof BatchUpsertClaimPositionInputDto
40
+ */
41
+ 'order': number;
42
+ /**
43
+ * Date on which the procedure was performed.
44
+ * @type {string}
45
+ * @memberof BatchUpsertClaimPositionInputDto
46
+ */
47
+ 'procedureDate'?: string;
48
+ /**
49
+ * Description of the claim position.
50
+ * @type {string}
51
+ * @memberof BatchUpsertClaimPositionInputDto
52
+ */
53
+ 'description'?: string;
54
+ /**
55
+ * Manual adjustment amount of the claim position.
56
+ * @type {number}
57
+ * @memberof BatchUpsertClaimPositionInputDto
58
+ */
59
+ 'manualAdjustmentAmount'?: number;
60
+ /**
61
+ * Clears the stored manual adjustment amount for an existing claim position.
62
+ * @type {boolean}
63
+ * @memberof BatchUpsertClaimPositionInputDto
64
+ */
65
+ 'clearManualAdjustmentAmount'?: boolean;
66
+ /**
67
+ * Custom fields of the claim position.
68
+ * @type {object}
69
+ * @memberof BatchUpsertClaimPositionInputDto
70
+ */
71
+ 'customFields'?: object;
72
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL ClaimService
6
+ * The EMIL ClaimService 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,31 @@
1
+ /**
2
+ * EMIL ClaimService
3
+ * The EMIL ClaimService 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 { BatchUpsertClaimPositionInputDto } from './batch-upsert-claim-position-input-dto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface BatchUpsertClaimPositionsRequestDto
17
+ */
18
+ export interface BatchUpsertClaimPositionsRequestDto {
19
+ /**
20
+ * Claim positions to create or update.
21
+ * @type {Array<BatchUpsertClaimPositionInputDto>}
22
+ * @memberof BatchUpsertClaimPositionsRequestDto
23
+ */
24
+ 'positions': Array<BatchUpsertClaimPositionInputDto>;
25
+ /**
26
+ * Codes of existing claim positions to delete.
27
+ * @type {Array<string>}
28
+ * @memberof BatchUpsertClaimPositionsRequestDto
29
+ */
30
+ 'deletedCodes'?: Array<string>;
31
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL ClaimService
6
+ * The EMIL ClaimService 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,32 @@
1
+ /**
2
+ * EMIL ClaimService
3
+ * The EMIL ClaimService 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 { CalculationTotalsClass } from './calculation-totals-class';
13
+ import { ClaimPositionClass } from './claim-position-class';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface BatchUpsertClaimPositionsResponseClass
18
+ */
19
+ export interface BatchUpsertClaimPositionsResponseClass {
20
+ /**
21
+ * The claim positions.
22
+ * @type {Array<ClaimPositionClass>}
23
+ * @memberof BatchUpsertClaimPositionsResponseClass
24
+ */
25
+ 'claimPositions': Array<ClaimPositionClass>;
26
+ /**
27
+ * The totals of the claim positions.
28
+ * @type {CalculationTotalsClass}
29
+ * @memberof BatchUpsertClaimPositionsResponseClass
30
+ */
31
+ 'totals': CalculationTotalsClass;
32
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL ClaimService
6
+ * The EMIL ClaimService 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,31 @@
1
+ /**
2
+ * EMIL ClaimService
3
+ * The EMIL ClaimService 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 { ClaimPositionCalculationInputDto } from './claim-position-calculation-input-dto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CalculateClaimPositionsRequestDto
17
+ */
18
+ export interface CalculateClaimPositionsRequestDto {
19
+ /**
20
+ * Code of the claim.
21
+ * @type {string}
22
+ * @memberof CalculateClaimPositionsRequestDto
23
+ */
24
+ 'claimCode': string;
25
+ /**
26
+ * Positions to calculate.
27
+ * @type {Array<ClaimPositionCalculationInputDto>}
28
+ * @memberof CalculateClaimPositionsRequestDto
29
+ */
30
+ 'positions': Array<ClaimPositionCalculationInputDto>;
31
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL ClaimService
6
+ * The EMIL ClaimService 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,32 @@
1
+ /**
2
+ * EMIL ClaimService
3
+ * The EMIL ClaimService 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 { CalculatedClaimPositionClass } from './calculated-claim-position-class';
13
+ import { CalculationTotalsClass } from './calculation-totals-class';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface CalculateClaimPositionsResponseClass
18
+ */
19
+ export interface CalculateClaimPositionsResponseClass {
20
+ /**
21
+ * The calculated claim positions.
22
+ * @type {Array<CalculatedClaimPositionClass>}
23
+ * @memberof CalculateClaimPositionsResponseClass
24
+ */
25
+ 'calculatedClaimPositions': Array<CalculatedClaimPositionClass>;
26
+ /**
27
+ * The totals of the claim positions.
28
+ * @type {CalculationTotalsClass}
29
+ * @memberof CalculateClaimPositionsResponseClass
30
+ */
31
+ 'totals': CalculationTotalsClass;
32
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL ClaimService
6
+ * The EMIL ClaimService 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,74 @@
1
+ /**
2
+ * EMIL ClaimService
3
+ * The EMIL ClaimService 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 { CalculationStepResultClass } from './calculation-step-result-class';
13
+ import { ClaimLimitUsageResultClass } from './claim-limit-usage-result-class';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface CalculatedClaimPositionClass
18
+ */
19
+ export interface CalculatedClaimPositionClass {
20
+ /**
21
+ * The code of the claim position.
22
+ * @type {string}
23
+ * @memberof CalculatedClaimPositionClass
24
+ */
25
+ 'code': string;
26
+ /**
27
+ * The order of the claim position.
28
+ * @type {number}
29
+ * @memberof CalculatedClaimPositionClass
30
+ */
31
+ 'order': number;
32
+ /**
33
+ * The category key of the claim position.
34
+ * @type {string}
35
+ * @memberof CalculatedClaimPositionClass
36
+ */
37
+ 'categoryKey': string;
38
+ /**
39
+ * The cost of the claim position.
40
+ * @type {number}
41
+ * @memberof CalculatedClaimPositionClass
42
+ */
43
+ 'cost': number;
44
+ /**
45
+ * The reimbursement amount of the claim position.
46
+ * @type {number}
47
+ * @memberof CalculatedClaimPositionClass
48
+ */
49
+ 'reimbursementAmount': number;
50
+ /**
51
+ * The manual adjustment input amount of the claim position.
52
+ * @type {number}
53
+ * @memberof CalculatedClaimPositionClass
54
+ */
55
+ 'manualAdjustmentInputAmount': number;
56
+ /**
57
+ * The manual adjustment applied amount of the claim position.
58
+ * @type {number}
59
+ * @memberof CalculatedClaimPositionClass
60
+ */
61
+ 'manualAdjustmentAppliedAmount': number;
62
+ /**
63
+ * The calculation steps of the claim position.
64
+ * @type {Array<CalculationStepResultClass>}
65
+ * @memberof CalculatedClaimPositionClass
66
+ */
67
+ 'calculationSteps': Array<CalculationStepResultClass>;
68
+ /**
69
+ * The limit usage results of the claim position.
70
+ * @type {Array<ClaimLimitUsageResultClass>}
71
+ * @memberof CalculatedClaimPositionClass
72
+ */
73
+ 'limitUsageResults': Array<ClaimLimitUsageResultClass>;
74
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL ClaimService
6
+ * The EMIL ClaimService 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,30 @@
1
+ /**
2
+ * EMIL ClaimService
3
+ * The EMIL ClaimService 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 CalculationTotalsClass
16
+ */
17
+ export interface CalculationTotalsClass {
18
+ /**
19
+ * The total cost of the claim positions.
20
+ * @type {number}
21
+ * @memberof CalculationTotalsClass
22
+ */
23
+ 'totalCost': number;
24
+ /**
25
+ * The total reimbursement of the claim positions.
26
+ * @type {number}
27
+ * @memberof CalculationTotalsClass
28
+ */
29
+ 'totalReimbursement': number;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL ClaimService
6
+ * The EMIL ClaimService 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 });
@@ -46,7 +46,7 @@ export interface ClaimAppliedDeductibleClass {
46
46
  */
47
47
  'scope': ClaimAppliedDeductibleClassScopeEnum;
48
48
  /**
49
- * Selected deductible amount.
49
+ * Selected deductible amount for fixed and percent deductible types.
50
50
  * @type {number}
51
51
  * @memberof ClaimAppliedDeductibleClass
52
52
  */
@@ -112,6 +112,12 @@ export interface ClaimClass {
112
112
  * @memberof ClaimClass
113
113
  */
114
114
  'adjuster'?: string;
115
+ /**
116
+ * Unique identifier of the adjuster user.
117
+ * @type {string}
118
+ * @memberof ClaimClass
119
+ */
120
+ 'adjusterCode'?: string;
115
121
  /**
116
122
  * A claim reporter is the person who is responsible for submitting this claim to the platform. A claim reporter is not necessarily the same as the policy holder.
117
123
  * @type {string}
@@ -154,6 +160,24 @@ export interface ClaimClass {
154
160
  * @memberof ClaimClass
155
161
  */
156
162
  'tariffKey': string;
163
+ /**
164
+ * The claim type selected from the tariff categories.
165
+ * @type {string}
166
+ * @memberof ClaimClass
167
+ */
168
+ 'claimType': string;
169
+ /**
170
+ * The initial total cost of all claim positions when the claim first moves from reported to open.
171
+ * @type {number}
172
+ * @memberof ClaimClass
173
+ */
174
+ 'initialCost': number;
175
+ /**
176
+ * The total approved payout amount accumulated on the claim.
177
+ * @type {number}
178
+ * @memberof ClaimClass
179
+ */
180
+ 'reimbursementAmount': number;
157
181
  /**
158
182
  * Applied deductibles for the claim.
159
183
  * @type {Array<ClaimAppliedDeductibleClass>}
@@ -75,6 +75,12 @@ export interface ClaimLimitUsageClass {
75
75
  * @memberof ClaimLimitUsageClass
76
76
  */
77
77
  'remainingAmount': number;
78
+ /**
79
+ * Initial amount of the limit usage.
80
+ * @type {number}
81
+ * @memberof ClaimLimitUsageClass
82
+ */
83
+ 'initialAmount': number;
78
84
  /**
79
85
  * Latest action reason that produced the current remaining amount.
80
86
  * @type {string}
@@ -138,6 +144,8 @@ export type ClaimLimitUsageClassPeriodEnum = typeof ClaimLimitUsageClassPeriodEn
138
144
  export declare const ClaimLimitUsageClassReasonEnum: {
139
145
  readonly Initial: "INITIAL";
140
146
  readonly Deduction: "DEDUCTION";
147
+ readonly Reservation: "RESERVATION";
148
+ readonly ReservationReleased: "RESERVATION_RELEASED";
141
149
  readonly Reset: "RESET";
142
150
  };
143
151
  export type ClaimLimitUsageClassReasonEnum = typeof ClaimLimitUsageClassReasonEnum[keyof typeof ClaimLimitUsageClassReasonEnum];
@@ -26,5 +26,7 @@ exports.ClaimLimitUsageClassPeriodEnum = {
26
26
  exports.ClaimLimitUsageClassReasonEnum = {
27
27
  Initial: 'INITIAL',
28
28
  Deduction: 'DEDUCTION',
29
+ Reservation: 'RESERVATION',
30
+ ReservationReleased: 'RESERVATION_RELEASED',
29
31
  Reset: 'RESET'
30
32
  };
@@ -0,0 +1,48 @@
1
+ /**
2
+ * EMIL ClaimService
3
+ * The EMIL ClaimService 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 ClaimPositionCalculationInputDto
16
+ */
17
+ export interface ClaimPositionCalculationInputDto {
18
+ /**
19
+ * Code of the claim position.
20
+ * @type {string}
21
+ * @memberof ClaimPositionCalculationInputDto
22
+ */
23
+ 'code': string;
24
+ /**
25
+ * Cost of the claim position.
26
+ * @type {number}
27
+ * @memberof ClaimPositionCalculationInputDto
28
+ */
29
+ 'cost': number;
30
+ /**
31
+ * Order of the claim position.
32
+ * @type {number}
33
+ * @memberof ClaimPositionCalculationInputDto
34
+ */
35
+ 'order': number;
36
+ /**
37
+ * Category key of the claim position.
38
+ * @type {string}
39
+ * @memberof ClaimPositionCalculationInputDto
40
+ */
41
+ 'categoryKey': string;
42
+ /**
43
+ * Manual adjustment amount of the claim position.
44
+ * @type {number}
45
+ * @memberof ClaimPositionCalculationInputDto
46
+ */
47
+ 'manualAdjustmentAmount'?: number;
48
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL ClaimService
6
+ * The EMIL ClaimService 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 });
@@ -65,6 +65,12 @@ export interface ClaimPositionClass {
65
65
  * @memberof ClaimPositionClass
66
66
  */
67
67
  'status': ClaimPositionClassStatusEnum;
68
+ /**
69
+ * Date on which the procedure was performed.
70
+ * @type {string}
71
+ * @memberof ClaimPositionClass
72
+ */
73
+ 'procedureDate': string;
68
74
  /**
69
75
  * Display order of the position in the list. Lower value appears first.
70
76
  * @type {number}
@@ -145,7 +151,8 @@ export interface ClaimPositionClass {
145
151
  'updatedBy': string;
146
152
  }
147
153
  export declare const ClaimPositionClassStatusEnum: {
148
- readonly Open: "OPEN";
154
+ readonly Adjusted: "ADJUSTED";
149
155
  readonly Closed: "CLOSED";
156
+ readonly Open: "OPEN";
150
157
  };
151
158
  export type ClaimPositionClassStatusEnum = typeof ClaimPositionClassStatusEnum[keyof typeof ClaimPositionClassStatusEnum];
@@ -15,6 +15,7 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ClaimPositionClassStatusEnum = void 0;
17
17
  exports.ClaimPositionClassStatusEnum = {
18
- Open: 'OPEN',
19
- Closed: 'CLOSED'
18
+ Adjusted: 'ADJUSTED',
19
+ Closed: 'CLOSED',
20
+ Open: 'OPEN'
20
21
  };
@@ -17,7 +17,7 @@ import { ClaimPositionClass } from './claim-position-class';
17
17
  */
18
18
  export interface CreateClaimPositionResponseClass {
19
19
  /**
20
- * Claim position created successfully.
20
+ * The claim position.
21
21
  * @type {ClaimPositionClass}
22
22
  * @memberof CreateClaimPositionResponseClass
23
23
  */
@@ -93,6 +93,12 @@ export interface CreateClaimRequestDto {
93
93
  * @memberof CreateClaimRequestDto
94
94
  */
95
95
  'adjuster'?: string;
96
+ /**
97
+ * Unique identifier of the adjuster user.
98
+ * @type {string}
99
+ * @memberof CreateClaimRequestDto
100
+ */
101
+ 'adjusterCode'?: string;
96
102
  /**
97
103
  * A claim reporter is responsible for submitting this claim to the platform. A claim reporter is not necessarily the same as the policy holder.
98
104
  * @type {string}
@@ -135,4 +141,10 @@ export interface CreateClaimRequestDto {
135
141
  * @memberof CreateClaimRequestDto
136
142
  */
137
143
  'damageEndDate'?: string;
144
+ /**
145
+ * The claim type. Must match one of the categories in the selected tariff.
146
+ * @type {string}
147
+ * @memberof CreateClaimRequestDto
148
+ */
149
+ 'claimType'?: string;
138
150
  }
@@ -34,6 +34,7 @@ export interface CreateRegulationItemRequestDto {
34
34
  * The currency of the regulation item
35
35
  * @type {string}
36
36
  * @memberof CreateRegulationItemRequestDto
37
+ * @deprecated
37
38
  */
38
39
  'currency': CreateRegulationItemRequestDtoCurrencyEnum;
39
40
  /**
@@ -61,7 +62,7 @@ export interface CreateRegulationItemRequestDto {
61
62
  */
62
63
  'payoutProvider'?: CreateRegulationItemRequestDtoPayoutProviderEnum;
63
64
  /**
64
- * List of claim position categories that are covered by this regulation. Required for payout regulation items.
65
+ * List of claim position categories covered by this regulation. For payout, this is only supported when payoutProvider is PAYMENT_SERVICE.
65
66
  * @type {Array<string>}
66
67
  * @memberof CreateRegulationItemRequestDto
67
68
  */
@@ -85,11 +86,11 @@ export interface CreateRegulationItemRequestDto {
85
86
  */
86
87
  'regressDetails'?: RegressDetailsDto;
87
88
  /**
88
- * The partner code to use for the regulation item
89
+ * The partner code to use for the regulation item. Required only when regulationItemType is PAYOUT and payoutProvider is PAYMENT_SERVICE.
89
90
  * @type {string}
90
91
  * @memberof CreateRegulationItemRequestDto
91
92
  */
92
- 'partnerCode': string;
93
+ 'partnerCode'?: string;
93
94
  }
94
95
  export declare const CreateRegulationItemRequestDtoRegulationItemTypeEnum: {
95
96
  readonly Payout: "PAYOUT";