@emilgroup/claim-sdk 1.41.0 → 1.41.1-beta.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 (102) hide show
  1. package/.openapi-generator/FILES +15 -0
  2. package/README.md +2 -2
  3. package/api/claim-limit-usages-api.ts +644 -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 +1336 -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 +581 -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 +1177 -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
package/models/index.ts CHANGED
@@ -1,11 +1,18 @@
1
+ export * from './calculation-step-result-class';
2
+ export * from './claim-applied-deductible-class';
1
3
  export * from './claim-class';
4
+ export * from './claim-limit-usage-class';
5
+ export * from './claim-limit-usage-result-class';
2
6
  export * from './claim-partner-class';
3
7
  export * from './claim-partner-role-class';
8
+ export * from './claim-position-class';
4
9
  export * from './claim-status-class';
5
10
  export * from './create-claim-partner-request-dto';
6
11
  export * from './create-claim-partner-response-class';
7
12
  export * from './create-claim-partner-role-request-dto';
8
13
  export * from './create-claim-partner-role-response-class';
14
+ export * from './create-claim-position-request-dto';
15
+ export * from './create-claim-position-response-class';
9
16
  export * from './create-claim-request-dto';
10
17
  export * from './create-claim-response-class';
11
18
  export * from './create-claim-status-request-dto';
@@ -13,15 +20,19 @@ export * from './create-claim-status-response-class';
13
20
  export * from './create-regulation-item-request-dto';
14
21
  export * from './create-settlement-request-dto';
15
22
  export * from './create-settlement-response-class';
23
+ export * from './get-claim-limit-usage-response-class';
16
24
  export * from './get-claim-partner-response-class';
17
25
  export * from './get-claim-partner-role-response-class';
26
+ export * from './get-claim-position-response-class';
18
27
  export * from './get-claim-response-class';
19
28
  export * from './get-claim-status-response-class';
20
29
  export * from './get-settlement-response-class';
21
30
  export * from './inline-response200';
22
31
  export * from './inline-response503';
32
+ export * from './list-claim-limit-usages-response-class';
23
33
  export * from './list-claim-partner-roles-response-class';
24
34
  export * from './list-claim-partners-response-class';
35
+ export * from './list-claim-positions-response-class';
25
36
  export * from './list-claim-statuses-response-class';
26
37
  export * from './list-claims-response-class';
27
38
  export * from './list-regulations-response-class';
@@ -42,6 +53,8 @@ export * from './reserve-details-dto';
42
53
  export * from './settlement-class';
43
54
  export * from './update-claim-partner-role-request-dto';
44
55
  export * from './update-claim-partner-role-response-class';
56
+ export * from './update-claim-position-request-dto';
57
+ export * from './update-claim-position-response-class';
45
58
  export * from './update-claim-request-dto';
46
59
  export * from './update-claim-response-class';
47
60
  export * from './update-claim-status-request-dto';
@@ -0,0 +1,49 @@
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 ListClaimLimitUsagesResponseClass
22
+ */
23
+ export interface ListClaimLimitUsagesResponseClass {
24
+ /**
25
+ * List of claim limit usages
26
+ * @type {Array<ClaimLimitUsageClass>}
27
+ * @memberof ListClaimLimitUsagesResponseClass
28
+ */
29
+ 'items': Array<ClaimLimitUsageClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListClaimLimitUsagesResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ /**
37
+ * Total amount of items.
38
+ * @type {number}
39
+ * @memberof ListClaimLimitUsagesResponseClass
40
+ */
41
+ 'totalItems': number;
42
+ /**
43
+ * Items per page.
44
+ * @type {number}
45
+ * @memberof ListClaimLimitUsagesResponseClass
46
+ */
47
+ 'itemsPerPage': number;
48
+ }
49
+
@@ -33,5 +33,17 @@ export interface ListClaimPartnerRolesResponseClass {
33
33
  * @memberof ListClaimPartnerRolesResponseClass
34
34
  */
35
35
  'nextPageToken': string;
36
+ /**
37
+ * Total amount of items.
38
+ * @type {number}
39
+ * @memberof ListClaimPartnerRolesResponseClass
40
+ */
41
+ 'totalItems': number;
42
+ /**
43
+ * Items per page.
44
+ * @type {number}
45
+ * @memberof ListClaimPartnerRolesResponseClass
46
+ */
47
+ 'itemsPerPage': number;
36
48
  }
37
49
 
@@ -33,5 +33,17 @@ export interface ListClaimPartnersResponseClass {
33
33
  * @memberof ListClaimPartnersResponseClass
34
34
  */
35
35
  'nextPageToken': string;
36
+ /**
37
+ * Total amount of items.
38
+ * @type {number}
39
+ * @memberof ListClaimPartnersResponseClass
40
+ */
41
+ 'totalItems': number;
42
+ /**
43
+ * Items per page.
44
+ * @type {number}
45
+ * @memberof ListClaimPartnersResponseClass
46
+ */
47
+ 'itemsPerPage': number;
36
48
  }
37
49
 
@@ -0,0 +1,49 @@
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 ListClaimPositionsResponseClass
22
+ */
23
+ export interface ListClaimPositionsResponseClass {
24
+ /**
25
+ * List of claim positions
26
+ * @type {Array<ClaimPositionClass>}
27
+ * @memberof ListClaimPositionsResponseClass
28
+ */
29
+ 'items': Array<ClaimPositionClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListClaimPositionsResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ /**
37
+ * Total amount of items.
38
+ * @type {number}
39
+ * @memberof ListClaimPositionsResponseClass
40
+ */
41
+ 'totalItems': number;
42
+ /**
43
+ * Items per page.
44
+ * @type {number}
45
+ * @memberof ListClaimPositionsResponseClass
46
+ */
47
+ 'itemsPerPage': number;
48
+ }
49
+
@@ -22,7 +22,7 @@ import { ClaimStatusClass } from './claim-status-class';
22
22
  */
23
23
  export interface ListClaimStatusesResponseClass {
24
24
  /**
25
- * The list of claim statuses.
25
+ * The list of claim statusess.
26
26
  * @type {Array<ClaimStatusClass>}
27
27
  * @memberof ListClaimStatusesResponseClass
28
28
  */
@@ -33,5 +33,17 @@ export interface ListClaimStatusesResponseClass {
33
33
  * @memberof ListClaimStatusesResponseClass
34
34
  */
35
35
  'nextPageToken': string;
36
+ /**
37
+ * Total amount of items.
38
+ * @type {number}
39
+ * @memberof ListClaimStatusesResponseClass
40
+ */
41
+ 'totalItems': number;
42
+ /**
43
+ * Items per page.
44
+ * @type {number}
45
+ * @memberof ListClaimStatusesResponseClass
46
+ */
47
+ 'itemsPerPage': number;
36
48
  }
37
49
 
@@ -33,5 +33,17 @@ export interface ListClaimsResponseClass {
33
33
  * @memberof ListClaimsResponseClass
34
34
  */
35
35
  'nextPageToken': string;
36
+ /**
37
+ * Total amount of items.
38
+ * @type {number}
39
+ * @memberof ListClaimsResponseClass
40
+ */
41
+ 'totalItems': number;
42
+ /**
43
+ * Items per page.
44
+ * @type {number}
45
+ * @memberof ListClaimsResponseClass
46
+ */
47
+ 'itemsPerPage': number;
36
48
  }
37
49
 
@@ -33,5 +33,17 @@ export interface ListRegulationsResponseClass {
33
33
  * @memberof ListRegulationsResponseClass
34
34
  */
35
35
  'nextPageToken': string;
36
+ /**
37
+ * Total amount of items.
38
+ * @type {number}
39
+ * @memberof ListRegulationsResponseClass
40
+ */
41
+ 'totalItems': number;
42
+ /**
43
+ * Items per page.
44
+ * @type {number}
45
+ * @memberof ListRegulationsResponseClass
46
+ */
47
+ 'itemsPerPage': number;
36
48
  }
37
49
 
@@ -26,12 +26,6 @@ export interface PatchClaimRequestDto {
26
26
  * @memberof PatchClaimRequestDto
27
27
  */
28
28
  'title'?: string;
29
- /**
30
- * The current status of the claim.
31
- * @type {string}
32
- * @memberof PatchClaimRequestDto
33
- */
34
- 'status'?: string;
35
29
  /**
36
30
  * Unique identifier of the account that the claim belongs to.
37
31
  * @type {string}
@@ -39,29 +33,23 @@ export interface PatchClaimRequestDto {
39
33
  */
40
34
  'accountCode'?: string;
41
35
  /**
42
- * Field for the policy number that the claim belongs to.
43
- * @type {string}
44
- * @memberof PatchClaimRequestDto
45
- */
46
- 'policyNumber'?: string;
47
- /**
48
- * Field for the policy code that the claim belongs to.
49
- * @type {string}
36
+ * Unique identifier referencing the product version id.
37
+ * @type {number}
50
38
  * @memberof PatchClaimRequestDto
51
39
  */
52
- 'policyCode'?: string;
40
+ 'productVersionId'?: number;
53
41
  /**
54
- * Unique identifier referencing the product.
42
+ * Unique identifier referencing the product id.
55
43
  * @type {number}
56
44
  * @memberof PatchClaimRequestDto
57
45
  */
58
46
  'productId'?: number;
59
47
  /**
60
- * Unique identifier referencing the product version.
48
+ * The insured object identifier that the claim is made for.
61
49
  * @type {number}
62
50
  * @memberof PatchClaimRequestDto
63
51
  */
64
- 'productVersionId'?: number;
52
+ 'insuredObjectId'?: number;
65
53
  /**
66
54
  * The name of the product.
67
55
  * @type {string}
@@ -69,17 +57,17 @@ export interface PatchClaimRequestDto {
69
57
  */
70
58
  'productName'?: string;
71
59
  /**
72
- * The insured object identifier that the claim is made for.
73
- * @type {number}
60
+ * The policy object code that the claim is made for.
61
+ * @type {string}
74
62
  * @memberof PatchClaimRequestDto
75
63
  */
76
- 'insuredObjectId'?: number;
64
+ 'policyObjectCode'?: string;
77
65
  /**
78
- * The policy object code that the claim is made for.
66
+ * The adjuster of the claim. A claim adjuster investigates insurance claims by interviewing the claimant and witnesses, consulting police and hospital records, and inspecting property damage to determine the extent of the insurance company\'s liability.
79
67
  * @type {string}
80
68
  * @memberof PatchClaimRequestDto
81
69
  */
82
- 'policyObjectCode'?: string;
70
+ 'adjuster'?: string;
83
71
  /**
84
72
  * The claim\'s description in 5000 characters.
85
73
  * @type {string}
@@ -87,11 +75,11 @@ export interface PatchClaimRequestDto {
87
75
  */
88
76
  'description'?: string;
89
77
  /**
90
- * The adjuster of the claim. A claim adjuster investigates insurance claims by interviewing the claimant and witnesses, consulting police and hospital records, and inspecting property damage to determine the extent of the insurance company\'s liability.
78
+ * The contact phone of the policyholder.
91
79
  * @type {string}
92
80
  * @memberof PatchClaimRequestDto
93
81
  */
94
- 'adjuster'?: string;
82
+ 'contactPhone'?: string;
95
83
  /**
96
84
  * A claim reporter is responsible for submitting this claim to the platform. A claim reporter is not necessarily the same as the policy holder.
97
85
  * @type {string}
@@ -105,11 +93,35 @@ export interface PatchClaimRequestDto {
105
93
  */
106
94
  'contactEmail'?: string;
107
95
  /**
108
- * The contact phone of the policyholder.
96
+ * The claim\'s damage end date.
109
97
  * @type {string}
110
98
  * @memberof PatchClaimRequestDto
111
99
  */
112
- 'contactPhone'?: string;
100
+ 'damageEndDate'?: string;
101
+ /**
102
+ * Tenant specific custom fields for claims (e.g. IMEI, Serial Number, etc.).
103
+ * @type {object}
104
+ * @memberof PatchClaimRequestDto
105
+ */
106
+ 'customFields'?: object;
107
+ /**
108
+ * The current status of the claim.
109
+ * @type {string}
110
+ * @memberof PatchClaimRequestDto
111
+ */
112
+ 'status'?: string;
113
+ /**
114
+ * Field for the policy number that the claim belongs to.
115
+ * @type {string}
116
+ * @memberof PatchClaimRequestDto
117
+ */
118
+ 'policyNumber'?: string;
119
+ /**
120
+ * Field for the policy code that the claim belongs to.
121
+ * @type {string}
122
+ * @memberof PatchClaimRequestDto
123
+ */
124
+ 'policyCode'?: string;
113
125
  /**
114
126
  * The claim\'s damage date.
115
127
  * @type {string}
@@ -122,11 +134,5 @@ export interface PatchClaimRequestDto {
122
134
  * @memberof PatchClaimRequestDto
123
135
  */
124
136
  'notificationDate'?: string;
125
- /**
126
- * Tenant specific custom fields for claims (e.g. IMEI, Serial Number, etc.).
127
- * @type {object}
128
- * @memberof PatchClaimRequestDto
129
- */
130
- 'customFields'?: object;
131
137
  }
132
138
 
@@ -96,6 +96,30 @@ export interface RegulationItemClass {
96
96
  * @memberof RegulationItemClass
97
97
  */
98
98
  'version': number;
99
+ /**
100
+ * The status of the regulation item
101
+ * @type {string}
102
+ * @memberof RegulationItemClass
103
+ */
104
+ 'status': RegulationItemClassStatusEnum;
105
+ /**
106
+ * The partner code of the regulation item
107
+ * @type {string}
108
+ * @memberof RegulationItemClass
109
+ */
110
+ 'partnerCode': string;
111
+ /**
112
+ * The payout provider of the regulation item
113
+ * @type {string}
114
+ * @memberof RegulationItemClass
115
+ */
116
+ 'payoutProvider': RegulationItemClassPayoutProviderEnum;
117
+ /**
118
+ * The claim position categories of the regulation item
119
+ * @type {Array<string>}
120
+ * @memberof RegulationItemClass
121
+ */
122
+ 'claimPositionCategories': Array<string>;
99
123
  /**
100
124
  * Time at which the object was created.
101
125
  * @type {string}
@@ -144,5 +168,18 @@ export const RegulationItemClassCurrencyEnum = {
144
168
  } as const;
145
169
 
146
170
  export type RegulationItemClassCurrencyEnum = typeof RegulationItemClassCurrencyEnum[keyof typeof RegulationItemClassCurrencyEnum];
171
+ export const RegulationItemClassStatusEnum = {
172
+ Open: 'OPEN',
173
+ PendingApproval: 'PENDING_APPROVAL',
174
+ Approved: 'APPROVED'
175
+ } as const;
176
+
177
+ export type RegulationItemClassStatusEnum = typeof RegulationItemClassStatusEnum[keyof typeof RegulationItemClassStatusEnum];
178
+ export const RegulationItemClassPayoutProviderEnum = {
179
+ Internal: 'INTERNAL',
180
+ PaymentService: 'PAYMENT_SERVICE'
181
+ } as const;
182
+
183
+ export type RegulationItemClassPayoutProviderEnum = typeof RegulationItemClassPayoutProviderEnum[keyof typeof RegulationItemClassPayoutProviderEnum];
147
184
 
148
185
 
@@ -0,0 +1,66 @@
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 UpdateClaimPositionRequestDto
21
+ */
22
+ export interface UpdateClaimPositionRequestDto {
23
+ /**
24
+ * Category or type of the claim position (e.g. damage type, coverage area). Send only to change.
25
+ * @type {string}
26
+ * @memberof UpdateClaimPositionRequestDto
27
+ */
28
+ 'category'?: string;
29
+ /**
30
+ * Human-readable description of the claim position. Send only to change.
31
+ * @type {string}
32
+ * @memberof UpdateClaimPositionRequestDto
33
+ */
34
+ 'description'?: string;
35
+ /**
36
+ * Monetary cost or amount for this claim position. Send only to change.
37
+ * @type {number}
38
+ * @memberof UpdateClaimPositionRequestDto
39
+ */
40
+ 'cost'?: number;
41
+ /**
42
+ * Optional key-value object for tenant- or product-specific data. Merged with existing customFields.
43
+ * @type {object}
44
+ * @memberof UpdateClaimPositionRequestDto
45
+ */
46
+ 'customFields'?: object;
47
+ /**
48
+ * Display order (lower = first). Use to reorder claim positions in lists.
49
+ * @type {number}
50
+ * @memberof UpdateClaimPositionRequestDto
51
+ */
52
+ 'order'?: number;
53
+ /**
54
+ * The date on which the procedure was performed.
55
+ * @type {string}
56
+ * @memberof UpdateClaimPositionRequestDto
57
+ */
58
+ 'procedureDate': string;
59
+ /**
60
+ * Manual adjustment amount for this claim position.
61
+ * @type {number}
62
+ * @memberof UpdateClaimPositionRequestDto
63
+ */
64
+ 'manualAdjustmentAmount'?: number;
65
+ }
66
+
@@ -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 UpdateClaimPositionResponseClass
22
+ */
23
+ export interface UpdateClaimPositionResponseClass {
24
+ /**
25
+ * Claim position
26
+ * @type {ClaimPositionClass}
27
+ * @memberof UpdateClaimPositionResponseClass
28
+ */
29
+ 'claimPosition': ClaimPositionClass;
30
+ }
31
+
@@ -26,12 +26,6 @@ export interface UpdateClaimRequestDto {
26
26
  * @memberof UpdateClaimRequestDto
27
27
  */
28
28
  'title'?: string;
29
- /**
30
- * The current status of the claim.
31
- * @type {string}
32
- * @memberof UpdateClaimRequestDto
33
- */
34
- 'status': string;
35
29
  /**
36
30
  * Unique identifier of the account that the claim belongs to.
37
31
  * @type {string}
@@ -39,29 +33,23 @@ export interface UpdateClaimRequestDto {
39
33
  */
40
34
  'accountCode'?: string;
41
35
  /**
42
- * Field for the policy number that the claim belongs to.
43
- * @type {string}
44
- * @memberof UpdateClaimRequestDto
45
- */
46
- 'policyNumber'?: string;
47
- /**
48
- * Field for the policy code that the claim belongs to.
49
- * @type {string}
36
+ * Unique identifier referencing the product version id.
37
+ * @type {number}
50
38
  * @memberof UpdateClaimRequestDto
51
39
  */
52
- 'policyCode'?: string;
40
+ 'productVersionId'?: number;
53
41
  /**
54
- * Unique identifier referencing the product.
42
+ * Unique identifier referencing the product id.
55
43
  * @type {number}
56
44
  * @memberof UpdateClaimRequestDto
57
45
  */
58
46
  'productId'?: number;
59
47
  /**
60
- * Unique identifier referencing the product version.
48
+ * The insured object identifier that the claim is made for.
61
49
  * @type {number}
62
50
  * @memberof UpdateClaimRequestDto
63
51
  */
64
- 'productVersionId'?: number;
52
+ 'insuredObjectId'?: number;
65
53
  /**
66
54
  * The name of the product.
67
55
  * @type {string}
@@ -69,17 +57,17 @@ export interface UpdateClaimRequestDto {
69
57
  */
70
58
  'productName'?: string;
71
59
  /**
72
- * The insured object identifier that the claim is made for.
73
- * @type {number}
60
+ * The policy object code that the claim is made for.
61
+ * @type {string}
74
62
  * @memberof UpdateClaimRequestDto
75
63
  */
76
- 'insuredObjectId'?: number;
64
+ 'policyObjectCode'?: string;
77
65
  /**
78
- * The policy object code that the claim is made for.
66
+ * The adjuster of the claim. A claim adjuster investigates insurance claims by interviewing the claimant and witnesses, consulting police and hospital records, and inspecting property damage to determine the extent of the insurance company\'s liability.
79
67
  * @type {string}
80
68
  * @memberof UpdateClaimRequestDto
81
69
  */
82
- 'policyObjectCode'?: string;
70
+ 'adjuster'?: string;
83
71
  /**
84
72
  * The claim\'s description in 5000 characters.
85
73
  * @type {string}
@@ -87,11 +75,11 @@ export interface UpdateClaimRequestDto {
87
75
  */
88
76
  'description'?: string;
89
77
  /**
90
- * The adjuster of the claim. A claim adjuster investigates insurance claims by interviewing the claimant and witnesses, consulting police and hospital records, and inspecting property damage to determine the extent of the insurance company\'s liability.
78
+ * The contact phone of the policyholder.
91
79
  * @type {string}
92
80
  * @memberof UpdateClaimRequestDto
93
81
  */
94
- 'adjuster'?: string;
82
+ 'contactPhone'?: string;
95
83
  /**
96
84
  * A claim reporter is responsible for submitting this claim to the platform. A claim reporter is not necessarily the same as the policy holder.
97
85
  * @type {string}
@@ -105,11 +93,35 @@ export interface UpdateClaimRequestDto {
105
93
  */
106
94
  'contactEmail'?: string;
107
95
  /**
108
- * The contact phone of the policyholder.
96
+ * The claim\'s damage end date.
109
97
  * @type {string}
110
98
  * @memberof UpdateClaimRequestDto
111
99
  */
112
- 'contactPhone'?: string;
100
+ 'damageEndDate'?: string;
101
+ /**
102
+ * Tenant specific custom fields for claims (e.g. IMEI, Serial Number, etc.).
103
+ * @type {object}
104
+ * @memberof UpdateClaimRequestDto
105
+ */
106
+ 'customFields'?: object;
107
+ /**
108
+ * The current status of the claim.
109
+ * @type {string}
110
+ * @memberof UpdateClaimRequestDto
111
+ */
112
+ 'status': string;
113
+ /**
114
+ * Field for the policy number that the claim belongs to.
115
+ * @type {string}
116
+ * @memberof UpdateClaimRequestDto
117
+ */
118
+ 'policyNumber'?: string;
119
+ /**
120
+ * Field for the policy code that the claim belongs to.
121
+ * @type {string}
122
+ * @memberof UpdateClaimRequestDto
123
+ */
124
+ 'policyCode'?: string;
113
125
  /**
114
126
  * The claim\'s damage date.
115
127
  * @type {string}
@@ -122,11 +134,5 @@ export interface UpdateClaimRequestDto {
122
134
  * @memberof UpdateClaimRequestDto
123
135
  */
124
136
  'notificationDate': string;
125
- /**
126
- * Tenant specific custom fields for claims (e.g. IMEI, Serial Number, etc.).
127
- * @type {object}
128
- * @memberof UpdateClaimRequestDto
129
- */
130
- 'customFields'?: object;
131
137
  }
132
138