@emilgroup/claim-sdk-node 1.39.0 → 1.39.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 (102) hide show
  1. package/.openapi-generator/FILES +15 -0
  2. package/README.md +2 -2
  3. package/api/claim-limit-usages-api.ts +648 -0
  4. package/api/claim-partner-roles-api.ts +627 -0
  5. package/api/claim-partners-api.ts +520 -0
  6. package/api/claim-positions-api.ts +1340 -0
  7. package/api/claim-regulations-api.ts +644 -3
  8. package/api/claim-statuses-api.ts +752 -5
  9. package/api/claims-api.ts +863 -11
  10. package/api/health-check-api.ts +66 -0
  11. package/api/settlements-api.ts +627 -0
  12. package/api.ts +4 -0
  13. package/dist/api/claim-limit-usages-api.d.ts +378 -0
  14. package/dist/api/claim-limit-usages-api.js +585 -0
  15. package/dist/api/claim-partner-roles-api.d.ts +358 -0
  16. package/dist/api/claim-partner-roles-api.js +525 -0
  17. package/dist/api/claim-partners-api.d.ts +299 -0
  18. package/dist/api/claim-partners-api.js +428 -0
  19. package/dist/api/claim-positions-api.d.ts +760 -0
  20. package/dist/api/claim-positions-api.js +1181 -0
  21. package/dist/api/claim-regulations-api.d.ts +367 -0
  22. package/dist/api/claim-regulations-api.js +531 -0
  23. package/dist/api/claim-statuses-api.d.ts +426 -0
  24. package/dist/api/claim-statuses-api.js +642 -14
  25. package/dist/api/claims-api.d.ts +493 -8
  26. package/dist/api/claims-api.js +734 -10
  27. package/dist/api/health-check-api.d.ts +33 -0
  28. package/dist/api/health-check-api.js +73 -0
  29. package/dist/api/settlements-api.d.ts +358 -0
  30. package/dist/api/settlements-api.js +525 -0
  31. package/dist/api.d.ts +2 -0
  32. package/dist/api.js +2 -0
  33. package/dist/models/calculation-step-result-class.d.ts +72 -0
  34. package/dist/models/calculation-step-result-class.js +21 -0
  35. package/dist/models/claim-applied-deductible-class.d.ts +95 -0
  36. package/dist/models/claim-applied-deductible-class.js +20 -0
  37. package/dist/models/claim-class.d.ts +25 -0
  38. package/dist/models/claim-limit-usage-class.d.ts +143 -0
  39. package/dist/models/claim-limit-usage-class.js +30 -0
  40. package/dist/models/claim-limit-usage-result-class.d.ts +48 -0
  41. package/dist/models/claim-limit-usage-result-class.js +21 -0
  42. package/dist/models/claim-position-class.d.ts +151 -0
  43. package/dist/models/claim-position-class.js +20 -0
  44. package/dist/models/create-claim-position-request-dto.d.ts +66 -0
  45. package/dist/models/create-claim-position-request-dto.js +15 -0
  46. package/dist/models/create-claim-position-response-class.d.ts +25 -0
  47. package/dist/models/create-claim-position-response-class.js +15 -0
  48. package/dist/models/create-claim-request-dto.d.ts +6 -0
  49. package/dist/models/create-regulation-item-request-dto.d.ts +26 -3
  50. package/dist/models/create-regulation-item-request-dto.js +5 -1
  51. package/dist/models/get-claim-limit-usage-response-class.d.ts +25 -0
  52. package/dist/models/get-claim-limit-usage-response-class.js +15 -0
  53. package/dist/models/get-claim-position-response-class.d.ts +25 -0
  54. package/dist/models/get-claim-position-response-class.js +15 -0
  55. package/dist/models/index.d.ts +13 -0
  56. package/dist/models/index.js +13 -0
  57. package/dist/models/list-claim-limit-usages-response-class.d.ts +43 -0
  58. package/dist/models/list-claim-limit-usages-response-class.js +15 -0
  59. package/dist/models/list-claim-partner-roles-response-class.d.ts +12 -0
  60. package/dist/models/list-claim-partners-response-class.d.ts +12 -0
  61. package/dist/models/list-claim-positions-response-class.d.ts +43 -0
  62. package/dist/models/list-claim-positions-response-class.js +15 -0
  63. package/dist/models/list-claim-statuses-response-class.d.ts +13 -1
  64. package/dist/models/list-claims-response-class.d.ts +12 -0
  65. package/dist/models/list-regulations-response-class.d.ts +12 -0
  66. package/dist/models/patch-claim-request-dto.d.ts +39 -33
  67. package/dist/models/regulation-item-class.d.ts +35 -0
  68. package/dist/models/regulation-item-class.js +10 -1
  69. package/dist/models/update-claim-position-request-dto.d.ts +60 -0
  70. package/dist/models/update-claim-position-request-dto.js +15 -0
  71. package/dist/models/update-claim-position-response-class.d.ts +25 -0
  72. package/dist/models/update-claim-position-response-class.js +15 -0
  73. package/dist/models/update-claim-request-dto.d.ts +39 -33
  74. package/dist/models/update-regulation-item-request-dto.d.ts +12 -0
  75. package/dist/models/update-regulation-item-request-dto.js +6 -1
  76. package/models/calculation-step-result-class.ts +81 -0
  77. package/models/claim-applied-deductible-class.ts +104 -0
  78. package/models/claim-class.ts +25 -0
  79. package/models/claim-limit-usage-class.ts +154 -0
  80. package/models/claim-limit-usage-result-class.ts +57 -0
  81. package/models/claim-position-class.ts +160 -0
  82. package/models/create-claim-position-request-dto.ts +72 -0
  83. package/models/create-claim-position-response-class.ts +31 -0
  84. package/models/create-claim-request-dto.ts +6 -0
  85. package/models/create-regulation-item-request-dto.ts +27 -3
  86. package/models/get-claim-limit-usage-response-class.ts +31 -0
  87. package/models/get-claim-position-response-class.ts +31 -0
  88. package/models/index.ts +13 -0
  89. package/models/list-claim-limit-usages-response-class.ts +49 -0
  90. package/models/list-claim-partner-roles-response-class.ts +12 -0
  91. package/models/list-claim-partners-response-class.ts +12 -0
  92. package/models/list-claim-positions-response-class.ts +49 -0
  93. package/models/list-claim-statuses-response-class.ts +13 -1
  94. package/models/list-claims-response-class.ts +12 -0
  95. package/models/list-regulations-response-class.ts +12 -0
  96. package/models/patch-claim-request-dto.ts +39 -33
  97. package/models/regulation-item-class.ts +37 -0
  98. package/models/update-claim-position-request-dto.ts +66 -0
  99. package/models/update-claim-position-response-class.ts +31 -0
  100. package/models/update-claim-request-dto.ts +39 -33
  101. package/models/update-regulation-item-request-dto.ts +13 -0
  102. package/package.json +1 -1
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { ClaimAppliedDeductibleClass } from './claim-applied-deductible-class';
16
17
 
17
18
  /**
18
19
  *
@@ -80,6 +81,12 @@ export interface ClaimClass {
80
81
  * @memberof ClaimClass
81
82
  */
82
83
  'productVersionId': number;
84
+ /**
85
+ * The slug of the product.
86
+ * @type {string}
87
+ * @memberof ClaimClass
88
+ */
89
+ 'productSlug'?: string;
83
90
  /**
84
91
  * The name of the product.
85
92
  * @type {string}
@@ -134,12 +141,30 @@ export interface ClaimClass {
134
141
  * @memberof ClaimClass
135
142
  */
136
143
  'damageDate': string;
144
+ /**
145
+ * The end date of the damage.
146
+ * @type {string}
147
+ * @memberof ClaimClass
148
+ */
149
+ 'damageEndDate': string;
137
150
  /**
138
151
  * The date on which the damage was reported.
139
152
  * @type {string}
140
153
  * @memberof ClaimClass
141
154
  */
142
155
  'notificationDate': string;
156
+ /**
157
+ * The tariff key for the claim.
158
+ * @type {string}
159
+ * @memberof ClaimClass
160
+ */
161
+ 'tariffKey': string;
162
+ /**
163
+ * Applied deductibles for the claim.
164
+ * @type {Array<ClaimAppliedDeductibleClass>}
165
+ * @memberof ClaimClass
166
+ */
167
+ 'appliedDeductibles': Array<ClaimAppliedDeductibleClass>;
143
168
  /**
144
169
  * Tenant specific custom fields for claims (e.g. IMEI, Serial Number, etc.)
145
170
  * @type {object}
@@ -0,0 +1,154 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL ClaimService
5
+ * The EMIL ClaimService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface ClaimLimitUsageClass
21
+ */
22
+ export interface ClaimLimitUsageClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof ClaimLimitUsageClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier for the object.
31
+ * @type {string}
32
+ * @memberof ClaimLimitUsageClass
33
+ */
34
+ 'code': string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof ClaimLimitUsageClass
39
+ */
40
+ 'policyCode': string;
41
+ /**
42
+ *
43
+ * @type {number}
44
+ * @memberof ClaimLimitUsageClass
45
+ */
46
+ 'productVersionId': number;
47
+ /**
48
+ * Type of the limit usage.
49
+ * @type {string}
50
+ * @memberof ClaimLimitUsageClass
51
+ */
52
+ 'type': ClaimLimitUsageClassTypeEnum;
53
+ /**
54
+ * Tariff key associated with the limit usage.
55
+ * @type {string}
56
+ * @memberof ClaimLimitUsageClass
57
+ */
58
+ 'tariffKey': string;
59
+ /**
60
+ * Period of the limit usage bucket.
61
+ * @type {string}
62
+ * @memberof ClaimLimitUsageClass
63
+ */
64
+ 'period': ClaimLimitUsageClassPeriodEnum;
65
+ /**
66
+ * Start date of the usage period.
67
+ * @type {string}
68
+ * @memberof ClaimLimitUsageClass
69
+ */
70
+ 'periodStart': string;
71
+ /**
72
+ * End date of the usage period.
73
+ * @type {string}
74
+ * @memberof ClaimLimitUsageClass
75
+ */
76
+ 'periodEnd': string;
77
+ /**
78
+ * Remaining amount of the limit usage.
79
+ * @type {number}
80
+ * @memberof ClaimLimitUsageClass
81
+ */
82
+ 'remainingAmount': number;
83
+ /**
84
+ * Latest action reason that produced the current remaining amount.
85
+ * @type {string}
86
+ * @memberof ClaimLimitUsageClass
87
+ */
88
+ 'reason': ClaimLimitUsageClassReasonEnum;
89
+ /**
90
+ * Claim code associated with the limit usage.
91
+ * @type {string}
92
+ * @memberof ClaimLimitUsageClass
93
+ */
94
+ 'claimCode': string;
95
+ /**
96
+ * Category key associated with the limit usage.
97
+ * @type {string}
98
+ * @memberof ClaimLimitUsageClass
99
+ */
100
+ 'categoryKey': string;
101
+ /**
102
+ * Deductible key associated with the limit usage.
103
+ * @type {string}
104
+ * @memberof ClaimLimitUsageClass
105
+ */
106
+ 'deductibleKey': string;
107
+ /**
108
+ * Time at which the object was created.
109
+ * @type {string}
110
+ * @memberof ClaimLimitUsageClass
111
+ */
112
+ 'createdAt': string;
113
+ /**
114
+ * Time at which the object was updated.
115
+ * @type {string}
116
+ * @memberof ClaimLimitUsageClass
117
+ */
118
+ 'updatedAt': string;
119
+ /**
120
+ * Identifier of the user who created the record.
121
+ * @type {string}
122
+ * @memberof ClaimLimitUsageClass
123
+ */
124
+ 'createdBy': string;
125
+ /**
126
+ * Identifier of the user who last updated the record.
127
+ * @type {string}
128
+ * @memberof ClaimLimitUsageClass
129
+ */
130
+ 'updatedBy': string;
131
+ }
132
+
133
+ export const ClaimLimitUsageClassTypeEnum = {
134
+ Coverage: 'coverage',
135
+ Deductible: 'deductible'
136
+ } as const;
137
+
138
+ export type ClaimLimitUsageClassTypeEnum = typeof ClaimLimitUsageClassTypeEnum[keyof typeof ClaimLimitUsageClassTypeEnum];
139
+ export const ClaimLimitUsageClassPeriodEnum = {
140
+ PerClaim: 'PER_CLAIM',
141
+ PolicyYear: 'POLICY_YEAR',
142
+ CalendarYear: 'CALENDAR_YEAR'
143
+ } as const;
144
+
145
+ export type ClaimLimitUsageClassPeriodEnum = typeof ClaimLimitUsageClassPeriodEnum[keyof typeof ClaimLimitUsageClassPeriodEnum];
146
+ export const ClaimLimitUsageClassReasonEnum = {
147
+ Initial: 'INITIAL',
148
+ Deduction: 'DEDUCTION',
149
+ Reset: 'RESET'
150
+ } as const;
151
+
152
+ export type ClaimLimitUsageClassReasonEnum = typeof ClaimLimitUsageClassReasonEnum[keyof typeof ClaimLimitUsageClassReasonEnum];
153
+
154
+
@@ -0,0 +1,57 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL ClaimService
5
+ * The EMIL ClaimService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface ClaimLimitUsageResultClass
21
+ */
22
+ export interface ClaimLimitUsageResultClass {
23
+ /**
24
+ * Step key of the limit usage result.
25
+ * @type {string}
26
+ * @memberof ClaimLimitUsageResultClass
27
+ */
28
+ 'stepKey': string;
29
+ /**
30
+ * Period of the limit usage result.
31
+ * @type {string}
32
+ * @memberof ClaimLimitUsageResultClass
33
+ */
34
+ 'period': ClaimLimitUsageResultClassPeriodEnum;
35
+ /**
36
+ * Remaining amount before the limit usage result.
37
+ * @type {number}
38
+ * @memberof ClaimLimitUsageResultClass
39
+ */
40
+ 'remainingBefore': number;
41
+ /**
42
+ * Remaining amount after the limit usage result.
43
+ * @type {number}
44
+ * @memberof ClaimLimitUsageResultClass
45
+ */
46
+ 'remainingAfter': number;
47
+ }
48
+
49
+ export const ClaimLimitUsageResultClassPeriodEnum = {
50
+ PerClaim: 'PER_CLAIM',
51
+ PolicyYear: 'POLICY_YEAR',
52
+ CalendarYear: 'CALENDAR_YEAR'
53
+ } as const;
54
+
55
+ export type ClaimLimitUsageResultClassPeriodEnum = typeof ClaimLimitUsageResultClassPeriodEnum[keyof typeof ClaimLimitUsageResultClassPeriodEnum];
56
+
57
+
@@ -0,0 +1,160 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL ClaimService
5
+ * The EMIL ClaimService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { CalculationStepResultClass } from './calculation-step-result-class';
17
+ import { ClaimLimitUsageResultClass } from './claim-limit-usage-result-class';
18
+
19
+ /**
20
+ *
21
+ * @export
22
+ * @interface ClaimPositionClass
23
+ */
24
+ export interface ClaimPositionClass {
25
+ /**
26
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
27
+ * @type {number}
28
+ * @memberof ClaimPositionClass
29
+ */
30
+ 'id': number;
31
+ /**
32
+ * Code of the claim this position belongs to.
33
+ * @type {string}
34
+ * @memberof ClaimPositionClass
35
+ */
36
+ 'claimCode': string;
37
+ /**
38
+ * Unique code of the claim position.
39
+ * @type {string}
40
+ * @memberof ClaimPositionClass
41
+ */
42
+ 'code': string;
43
+ /**
44
+ * Unique number assigned to the claim position.
45
+ * @type {string}
46
+ * @memberof ClaimPositionClass
47
+ */
48
+ 'positionNumber': string;
49
+ /**
50
+ * Current category of the claim position.
51
+ * @type {string}
52
+ * @memberof ClaimPositionClass
53
+ */
54
+ 'category': string;
55
+ /**
56
+ * Original category as submitted.
57
+ * @type {string}
58
+ * @memberof ClaimPositionClass
59
+ */
60
+ 'submittedCategory': string;
61
+ /**
62
+ * Description of what is being claimed.
63
+ * @type {string}
64
+ * @memberof ClaimPositionClass
65
+ */
66
+ 'description': string;
67
+ /**
68
+ * Current status of the claim position.
69
+ * @type {string}
70
+ * @memberof ClaimPositionClass
71
+ */
72
+ 'status': ClaimPositionClassStatusEnum;
73
+ /**
74
+ * Display order of the position in the list. Lower value appears first.
75
+ * @type {number}
76
+ * @memberof ClaimPositionClass
77
+ */
78
+ 'order': number;
79
+ /**
80
+ * Version of the entity, incremented on every update. Starts at 1.
81
+ * @type {number}
82
+ * @memberof ClaimPositionClass
83
+ */
84
+ 'version': number;
85
+ /**
86
+ * Current cost of the claim position.
87
+ * @type {number}
88
+ * @memberof ClaimPositionClass
89
+ */
90
+ 'cost': number;
91
+ /**
92
+ * Original cost as submitted.
93
+ * @type {number}
94
+ * @memberof ClaimPositionClass
95
+ */
96
+ 'submittedCost': number;
97
+ /**
98
+ * Manual adjustment amount used as a step in the calculation order. When applied, it overrides the running amount at that point in the calculation chain.
99
+ * @type {number}
100
+ * @memberof ClaimPositionClass
101
+ */
102
+ 'manualAdjustmentAmount': number;
103
+ /**
104
+ * Calculated reimbursement amount for this position.
105
+ * @type {number}
106
+ * @memberof ClaimPositionClass
107
+ */
108
+ 'reimbursementAmount': number;
109
+ /**
110
+ * Additional custom data specific to the tenant or product.
111
+ * @type {object}
112
+ * @memberof ClaimPositionClass
113
+ */
114
+ 'customFields': object;
115
+ /**
116
+ * Snapshot of limit usages at the time this position was calculated.
117
+ * @type {Array<ClaimLimitUsageResultClass>}
118
+ * @memberof ClaimPositionClass
119
+ */
120
+ 'limitUsageSnapshot': Array<ClaimLimitUsageResultClass>;
121
+ /**
122
+ * Snapshot of calculation steps at the time this position was calculated.
123
+ * @type {Array<CalculationStepResultClass>}
124
+ * @memberof ClaimPositionClass
125
+ */
126
+ 'calculationStepSnapshot': Array<CalculationStepResultClass>;
127
+ /**
128
+ * Time at which the object was created.
129
+ * @type {string}
130
+ * @memberof ClaimPositionClass
131
+ */
132
+ 'createdAt': string;
133
+ /**
134
+ * Time at which the object was updated.
135
+ * @type {string}
136
+ * @memberof ClaimPositionClass
137
+ */
138
+ 'updatedAt': string;
139
+ /**
140
+ * Identifier of the user who created the record.
141
+ * @type {string}
142
+ * @memberof ClaimPositionClass
143
+ */
144
+ 'createdBy': string;
145
+ /**
146
+ * Identifier of the user who last updated the record.
147
+ * @type {string}
148
+ * @memberof ClaimPositionClass
149
+ */
150
+ 'updatedBy': string;
151
+ }
152
+
153
+ export const ClaimPositionClassStatusEnum = {
154
+ Open: 'OPEN',
155
+ Closed: 'CLOSED'
156
+ } as const;
157
+
158
+ export type ClaimPositionClassStatusEnum = typeof ClaimPositionClassStatusEnum[keyof typeof ClaimPositionClassStatusEnum];
159
+
160
+
@@ -0,0 +1,72 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL ClaimService
5
+ * The EMIL ClaimService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface CreateClaimPositionRequestDto
21
+ */
22
+ export interface CreateClaimPositionRequestDto {
23
+ /**
24
+ * Code of the claim this position belongs to (e.g. cla_xxxxx).
25
+ * @type {string}
26
+ * @memberof CreateClaimPositionRequestDto
27
+ */
28
+ 'claimCode': string;
29
+ /**
30
+ * Category or type of the claim position (e.g. damage type, coverage area, or product category).
31
+ * @type {string}
32
+ * @memberof CreateClaimPositionRequestDto
33
+ */
34
+ 'category'?: string;
35
+ /**
36
+ * Human-readable description of the claim position (what is being claimed or covered).
37
+ * @type {string}
38
+ * @memberof CreateClaimPositionRequestDto
39
+ */
40
+ 'description'?: string;
41
+ /**
42
+ * Monetary cost or amount associated with this claim position.
43
+ * @type {number}
44
+ * @memberof CreateClaimPositionRequestDto
45
+ */
46
+ 'cost': number;
47
+ /**
48
+ * Optional key-value object for tenant- or product-specific data. Merged with existing customFields.
49
+ * @type {object}
50
+ * @memberof CreateClaimPositionRequestDto
51
+ */
52
+ 'customFields'?: object;
53
+ /**
54
+ * Display order (lower = first). Used for reordering claim positions in lists.
55
+ * @type {number}
56
+ * @memberof CreateClaimPositionRequestDto
57
+ */
58
+ 'order': number;
59
+ /**
60
+ * The date on which the procedure was performed.
61
+ * @type {string}
62
+ * @memberof CreateClaimPositionRequestDto
63
+ */
64
+ 'procedureDate'?: string;
65
+ /**
66
+ * Manual adjustment amount for this claim position.
67
+ * @type {number}
68
+ * @memberof CreateClaimPositionRequestDto
69
+ */
70
+ 'manualAdjustmentAmount'?: number;
71
+ }
72
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL ClaimService
5
+ * The EMIL ClaimService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { ClaimPositionClass } from './claim-position-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreateClaimPositionResponseClass
22
+ */
23
+ export interface CreateClaimPositionResponseClass {
24
+ /**
25
+ * Claim position created successfully.
26
+ * @type {ClaimPositionClass}
27
+ * @memberof CreateClaimPositionResponseClass
28
+ */
29
+ 'claimPosition': ClaimPositionClass;
30
+ }
31
+
@@ -134,5 +134,11 @@ export interface CreateClaimRequestDto {
134
134
  * @memberof CreateClaimRequestDto
135
135
  */
136
136
  'customFields'?: object;
137
+ /**
138
+ * The claim\'s damage end date.
139
+ * @type {string}
140
+ * @memberof CreateClaimRequestDto
141
+ */
142
+ 'damageEndDate'?: string;
137
143
  }
138
144
 
@@ -30,11 +30,11 @@ export interface CreateRegulationItemRequestDto {
30
30
  */
31
31
  'regulationItemType': CreateRegulationItemRequestDtoRegulationItemTypeEnum;
32
32
  /**
33
- * The amount for the regulation item
33
+ * The amount for the regulation item. For payout regulation items, this is computed automatically from the reimbursementAmount of the matched open claim positions.
34
34
  * @type {number}
35
35
  * @memberof CreateRegulationItemRequestDto
36
36
  */
37
- 'amount': number;
37
+ 'amount'?: number;
38
38
  /**
39
39
  * The currency of the regulation item
40
40
  * @type {string}
@@ -60,7 +60,19 @@ export interface CreateRegulationItemRequestDto {
60
60
  */
61
61
  'metadata'?: object;
62
62
  /**
63
- * Details of the payout. Required if the regulation item type is payout.
63
+ * The payout provider to use. Defaults to INTERNAL. Use PAYMENT_SERVICE to delegate payout processing to the payment service.
64
+ * @type {string}
65
+ * @memberof CreateRegulationItemRequestDto
66
+ */
67
+ 'payoutProvider'?: CreateRegulationItemRequestDtoPayoutProviderEnum;
68
+ /**
69
+ * List of claim position categories that are covered by this regulation. Required for payout regulation items.
70
+ * @type {Array<string>}
71
+ * @memberof CreateRegulationItemRequestDto
72
+ */
73
+ 'claimPositionCategories'?: Array<string>;
74
+ /**
75
+ * Details of the payout. Required if the regulation item type is payout and payoutProvider is INTERNAL.
64
76
  * @type {PayoutDetailsDto}
65
77
  * @memberof CreateRegulationItemRequestDto
66
78
  */
@@ -77,6 +89,12 @@ export interface CreateRegulationItemRequestDto {
77
89
  * @memberof CreateRegulationItemRequestDto
78
90
  */
79
91
  'regressDetails'?: RegressDetailsDto;
92
+ /**
93
+ * The partner code to use for the regulation item
94
+ * @type {string}
95
+ * @memberof CreateRegulationItemRequestDto
96
+ */
97
+ 'partnerCode': string;
80
98
  }
81
99
 
82
100
  export const CreateRegulationItemRequestDtoRegulationItemTypeEnum = {
@@ -101,5 +119,11 @@ export const CreateRegulationItemRequestDtoCurrencyEnum = {
101
119
  } as const;
102
120
 
103
121
  export type CreateRegulationItemRequestDtoCurrencyEnum = typeof CreateRegulationItemRequestDtoCurrencyEnum[keyof typeof CreateRegulationItemRequestDtoCurrencyEnum];
122
+ export const CreateRegulationItemRequestDtoPayoutProviderEnum = {
123
+ Internal: 'INTERNAL',
124
+ PaymentService: 'PAYMENT_SERVICE'
125
+ } as const;
126
+
127
+ export type CreateRegulationItemRequestDtoPayoutProviderEnum = typeof CreateRegulationItemRequestDtoPayoutProviderEnum[keyof typeof CreateRegulationItemRequestDtoPayoutProviderEnum];
104
128
 
105
129
 
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL ClaimService
5
+ * The EMIL ClaimService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { ClaimLimitUsageClass } from './claim-limit-usage-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetClaimLimitUsageResponseClass
22
+ */
23
+ export interface GetClaimLimitUsageResponseClass {
24
+ /**
25
+ * Claim limit usage
26
+ * @type {ClaimLimitUsageClass}
27
+ * @memberof GetClaimLimitUsageResponseClass
28
+ */
29
+ 'claimLimitUsage': ClaimLimitUsageClass;
30
+ }
31
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL ClaimService
5
+ * The EMIL ClaimService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { ClaimPositionClass } from './claim-position-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetClaimPositionResponseClass
22
+ */
23
+ export interface GetClaimPositionResponseClass {
24
+ /**
25
+ * Claim position details.
26
+ * @type {ClaimPositionClass}
27
+ * @memberof GetClaimPositionResponseClass
28
+ */
29
+ 'claimPosition': ClaimPositionClass;
30
+ }
31
+