@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
@@ -21,12 +21,6 @@ export interface PatchClaimRequestDto {
21
21
  * @memberof PatchClaimRequestDto
22
22
  */
23
23
  'title'?: string;
24
- /**
25
- * The current status of the claim.
26
- * @type {string}
27
- * @memberof PatchClaimRequestDto
28
- */
29
- 'status'?: string;
30
24
  /**
31
25
  * Unique identifier of the account that the claim belongs to.
32
26
  * @type {string}
@@ -34,29 +28,23 @@ export interface PatchClaimRequestDto {
34
28
  */
35
29
  'accountCode'?: string;
36
30
  /**
37
- * Field for the policy number that the claim belongs to.
38
- * @type {string}
39
- * @memberof PatchClaimRequestDto
40
- */
41
- 'policyNumber'?: string;
42
- /**
43
- * Field for the policy code that the claim belongs to.
44
- * @type {string}
31
+ * Unique identifier referencing the product version id.
32
+ * @type {number}
45
33
  * @memberof PatchClaimRequestDto
46
34
  */
47
- 'policyCode'?: string;
35
+ 'productVersionId'?: number;
48
36
  /**
49
- * Unique identifier referencing the product.
37
+ * Unique identifier referencing the product id.
50
38
  * @type {number}
51
39
  * @memberof PatchClaimRequestDto
52
40
  */
53
41
  'productId'?: number;
54
42
  /**
55
- * Unique identifier referencing the product version.
43
+ * The insured object identifier that the claim is made for.
56
44
  * @type {number}
57
45
  * @memberof PatchClaimRequestDto
58
46
  */
59
- 'productVersionId'?: number;
47
+ 'insuredObjectId'?: number;
60
48
  /**
61
49
  * The name of the product.
62
50
  * @type {string}
@@ -64,17 +52,17 @@ export interface PatchClaimRequestDto {
64
52
  */
65
53
  'productName'?: string;
66
54
  /**
67
- * The insured object identifier that the claim is made for.
68
- * @type {number}
55
+ * The policy object code that the claim is made for.
56
+ * @type {string}
69
57
  * @memberof PatchClaimRequestDto
70
58
  */
71
- 'insuredObjectId'?: number;
59
+ 'policyObjectCode'?: string;
72
60
  /**
73
- * The policy object code that the claim is made for.
61
+ * 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.
74
62
  * @type {string}
75
63
  * @memberof PatchClaimRequestDto
76
64
  */
77
- 'policyObjectCode'?: string;
65
+ 'adjuster'?: string;
78
66
  /**
79
67
  * The claim\'s description in 5000 characters.
80
68
  * @type {string}
@@ -82,11 +70,11 @@ export interface PatchClaimRequestDto {
82
70
  */
83
71
  'description'?: string;
84
72
  /**
85
- * 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.
73
+ * The contact phone of the policyholder.
86
74
  * @type {string}
87
75
  * @memberof PatchClaimRequestDto
88
76
  */
89
- 'adjuster'?: string;
77
+ 'contactPhone'?: string;
90
78
  /**
91
79
  * A claim reporter is responsible for submitting this claim to the platform. A claim reporter is not necessarily the same as the policy holder.
92
80
  * @type {string}
@@ -100,11 +88,35 @@ export interface PatchClaimRequestDto {
100
88
  */
101
89
  'contactEmail'?: string;
102
90
  /**
103
- * The contact phone of the policyholder.
91
+ * The claim\'s damage end date.
104
92
  * @type {string}
105
93
  * @memberof PatchClaimRequestDto
106
94
  */
107
- 'contactPhone'?: string;
95
+ 'damageEndDate'?: string;
96
+ /**
97
+ * Tenant specific custom fields for claims (e.g. IMEI, Serial Number, etc.).
98
+ * @type {object}
99
+ * @memberof PatchClaimRequestDto
100
+ */
101
+ 'customFields'?: object;
102
+ /**
103
+ * The current status of the claim.
104
+ * @type {string}
105
+ * @memberof PatchClaimRequestDto
106
+ */
107
+ 'status'?: string;
108
+ /**
109
+ * Field for the policy number that the claim belongs to.
110
+ * @type {string}
111
+ * @memberof PatchClaimRequestDto
112
+ */
113
+ 'policyNumber'?: string;
114
+ /**
115
+ * Field for the policy code that the claim belongs to.
116
+ * @type {string}
117
+ * @memberof PatchClaimRequestDto
118
+ */
119
+ 'policyCode'?: string;
108
120
  /**
109
121
  * The claim\'s damage date.
110
122
  * @type {string}
@@ -117,10 +129,4 @@ export interface PatchClaimRequestDto {
117
129
  * @memberof PatchClaimRequestDto
118
130
  */
119
131
  'notificationDate'?: string;
120
- /**
121
- * Tenant specific custom fields for claims (e.g. IMEI, Serial Number, etc.).
122
- * @type {object}
123
- * @memberof PatchClaimRequestDto
124
- */
125
- 'customFields'?: object;
126
132
  }
@@ -91,6 +91,30 @@ export interface RegulationItemClass {
91
91
  * @memberof RegulationItemClass
92
92
  */
93
93
  'version': number;
94
+ /**
95
+ * The status of the regulation item
96
+ * @type {string}
97
+ * @memberof RegulationItemClass
98
+ */
99
+ 'status': RegulationItemClassStatusEnum;
100
+ /**
101
+ * The partner code of the regulation item
102
+ * @type {string}
103
+ * @memberof RegulationItemClass
104
+ */
105
+ 'partnerCode': string;
106
+ /**
107
+ * The payout provider of the regulation item
108
+ * @type {string}
109
+ * @memberof RegulationItemClass
110
+ */
111
+ 'payoutProvider': RegulationItemClassPayoutProviderEnum;
112
+ /**
113
+ * The claim position categories of the regulation item
114
+ * @type {Array<string>}
115
+ * @memberof RegulationItemClass
116
+ */
117
+ 'claimPositionCategories': Array<string>;
94
118
  /**
95
119
  * Time at which the object was created.
96
120
  * @type {string}
@@ -136,3 +160,14 @@ export declare const RegulationItemClassCurrencyEnum: {
136
160
  readonly Sek: "SEK";
137
161
  };
138
162
  export type RegulationItemClassCurrencyEnum = typeof RegulationItemClassCurrencyEnum[keyof typeof RegulationItemClassCurrencyEnum];
163
+ export declare const RegulationItemClassStatusEnum: {
164
+ readonly Open: "OPEN";
165
+ readonly PendingApproval: "PENDING_APPROVAL";
166
+ readonly Approved: "APPROVED";
167
+ };
168
+ export type RegulationItemClassStatusEnum = typeof RegulationItemClassStatusEnum[keyof typeof RegulationItemClassStatusEnum];
169
+ export declare const RegulationItemClassPayoutProviderEnum: {
170
+ readonly Internal: "INTERNAL";
171
+ readonly PaymentService: "PAYMENT_SERVICE";
172
+ };
173
+ export type RegulationItemClassPayoutProviderEnum = typeof RegulationItemClassPayoutProviderEnum[keyof typeof RegulationItemClassPayoutProviderEnum];
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.RegulationItemClassCurrencyEnum = exports.RegulationItemClassRegulationItemTypeEnum = void 0;
16
+ exports.RegulationItemClassPayoutProviderEnum = exports.RegulationItemClassStatusEnum = exports.RegulationItemClassCurrencyEnum = exports.RegulationItemClassRegulationItemTypeEnum = void 0;
17
17
  exports.RegulationItemClassRegulationItemTypeEnum = {
18
18
  Payout: 'PAYOUT',
19
19
  Regress: 'REGRESS',
@@ -32,3 +32,12 @@ exports.RegulationItemClassCurrencyEnum = {
32
32
  Nok: 'NOK',
33
33
  Sek: 'SEK'
34
34
  };
35
+ exports.RegulationItemClassStatusEnum = {
36
+ Open: 'OPEN',
37
+ PendingApproval: 'PENDING_APPROVAL',
38
+ Approved: 'APPROVED'
39
+ };
40
+ exports.RegulationItemClassPayoutProviderEnum = {
41
+ Internal: 'INTERNAL',
42
+ PaymentService: 'PAYMENT_SERVICE'
43
+ };
@@ -0,0 +1,60 @@
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 UpdateClaimPositionRequestDto
16
+ */
17
+ export interface UpdateClaimPositionRequestDto {
18
+ /**
19
+ * Category or type of the claim position (e.g. damage type, coverage area). Send only to change.
20
+ * @type {string}
21
+ * @memberof UpdateClaimPositionRequestDto
22
+ */
23
+ 'category'?: string;
24
+ /**
25
+ * Human-readable description of the claim position. Send only to change.
26
+ * @type {string}
27
+ * @memberof UpdateClaimPositionRequestDto
28
+ */
29
+ 'description'?: string;
30
+ /**
31
+ * Monetary cost or amount for this claim position. Send only to change.
32
+ * @type {number}
33
+ * @memberof UpdateClaimPositionRequestDto
34
+ */
35
+ 'cost'?: number;
36
+ /**
37
+ * Optional key-value object for tenant- or product-specific data. Merged with existing customFields.
38
+ * @type {object}
39
+ * @memberof UpdateClaimPositionRequestDto
40
+ */
41
+ 'customFields'?: object;
42
+ /**
43
+ * Display order (lower = first). Use to reorder claim positions in lists.
44
+ * @type {number}
45
+ * @memberof UpdateClaimPositionRequestDto
46
+ */
47
+ 'order'?: number;
48
+ /**
49
+ * The date on which the procedure was performed.
50
+ * @type {string}
51
+ * @memberof UpdateClaimPositionRequestDto
52
+ */
53
+ 'procedureDate': string;
54
+ /**
55
+ * Manual adjustment amount for this claim position.
56
+ * @type {number}
57
+ * @memberof UpdateClaimPositionRequestDto
58
+ */
59
+ 'manualAdjustmentAmount'?: number;
60
+ }
@@ -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,25 @@
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 { ClaimPositionClass } from './claim-position-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdateClaimPositionResponseClass
17
+ */
18
+ export interface UpdateClaimPositionResponseClass {
19
+ /**
20
+ * Claim position
21
+ * @type {ClaimPositionClass}
22
+ * @memberof UpdateClaimPositionResponseClass
23
+ */
24
+ 'claimPosition': ClaimPositionClass;
25
+ }
@@ -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 });
@@ -21,12 +21,6 @@ export interface UpdateClaimRequestDto {
21
21
  * @memberof UpdateClaimRequestDto
22
22
  */
23
23
  'title'?: string;
24
- /**
25
- * The current status of the claim.
26
- * @type {string}
27
- * @memberof UpdateClaimRequestDto
28
- */
29
- 'status': string;
30
24
  /**
31
25
  * Unique identifier of the account that the claim belongs to.
32
26
  * @type {string}
@@ -34,29 +28,23 @@ export interface UpdateClaimRequestDto {
34
28
  */
35
29
  'accountCode'?: string;
36
30
  /**
37
- * Field for the policy number that the claim belongs to.
38
- * @type {string}
39
- * @memberof UpdateClaimRequestDto
40
- */
41
- 'policyNumber'?: string;
42
- /**
43
- * Field for the policy code that the claim belongs to.
44
- * @type {string}
31
+ * Unique identifier referencing the product version id.
32
+ * @type {number}
45
33
  * @memberof UpdateClaimRequestDto
46
34
  */
47
- 'policyCode'?: string;
35
+ 'productVersionId'?: number;
48
36
  /**
49
- * Unique identifier referencing the product.
37
+ * Unique identifier referencing the product id.
50
38
  * @type {number}
51
39
  * @memberof UpdateClaimRequestDto
52
40
  */
53
41
  'productId'?: number;
54
42
  /**
55
- * Unique identifier referencing the product version.
43
+ * The insured object identifier that the claim is made for.
56
44
  * @type {number}
57
45
  * @memberof UpdateClaimRequestDto
58
46
  */
59
- 'productVersionId'?: number;
47
+ 'insuredObjectId'?: number;
60
48
  /**
61
49
  * The name of the product.
62
50
  * @type {string}
@@ -64,17 +52,17 @@ export interface UpdateClaimRequestDto {
64
52
  */
65
53
  'productName'?: string;
66
54
  /**
67
- * The insured object identifier that the claim is made for.
68
- * @type {number}
55
+ * The policy object code that the claim is made for.
56
+ * @type {string}
69
57
  * @memberof UpdateClaimRequestDto
70
58
  */
71
- 'insuredObjectId'?: number;
59
+ 'policyObjectCode'?: string;
72
60
  /**
73
- * The policy object code that the claim is made for.
61
+ * 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.
74
62
  * @type {string}
75
63
  * @memberof UpdateClaimRequestDto
76
64
  */
77
- 'policyObjectCode'?: string;
65
+ 'adjuster'?: string;
78
66
  /**
79
67
  * The claim\'s description in 5000 characters.
80
68
  * @type {string}
@@ -82,11 +70,11 @@ export interface UpdateClaimRequestDto {
82
70
  */
83
71
  'description'?: string;
84
72
  /**
85
- * 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.
73
+ * The contact phone of the policyholder.
86
74
  * @type {string}
87
75
  * @memberof UpdateClaimRequestDto
88
76
  */
89
- 'adjuster'?: string;
77
+ 'contactPhone'?: string;
90
78
  /**
91
79
  * A claim reporter is responsible for submitting this claim to the platform. A claim reporter is not necessarily the same as the policy holder.
92
80
  * @type {string}
@@ -100,11 +88,35 @@ export interface UpdateClaimRequestDto {
100
88
  */
101
89
  'contactEmail'?: string;
102
90
  /**
103
- * The contact phone of the policyholder.
91
+ * The claim\'s damage end date.
104
92
  * @type {string}
105
93
  * @memberof UpdateClaimRequestDto
106
94
  */
107
- 'contactPhone'?: string;
95
+ 'damageEndDate'?: string;
96
+ /**
97
+ * Tenant specific custom fields for claims (e.g. IMEI, Serial Number, etc.).
98
+ * @type {object}
99
+ * @memberof UpdateClaimRequestDto
100
+ */
101
+ 'customFields'?: object;
102
+ /**
103
+ * The current status of the claim.
104
+ * @type {string}
105
+ * @memberof UpdateClaimRequestDto
106
+ */
107
+ 'status': string;
108
+ /**
109
+ * Field for the policy number that the claim belongs to.
110
+ * @type {string}
111
+ * @memberof UpdateClaimRequestDto
112
+ */
113
+ 'policyNumber'?: string;
114
+ /**
115
+ * Field for the policy code that the claim belongs to.
116
+ * @type {string}
117
+ * @memberof UpdateClaimRequestDto
118
+ */
119
+ 'policyCode'?: string;
108
120
  /**
109
121
  * The claim\'s damage date.
110
122
  * @type {string}
@@ -117,10 +129,4 @@ export interface UpdateClaimRequestDto {
117
129
  * @memberof UpdateClaimRequestDto
118
130
  */
119
131
  'notificationDate': string;
120
- /**
121
- * Tenant specific custom fields for claims (e.g. IMEI, Serial Number, etc.).
122
- * @type {object}
123
- * @memberof UpdateClaimRequestDto
124
- */
125
- 'customFields'?: object;
126
132
  }
@@ -66,6 +66,12 @@ export interface UpdateRegulationItemRequestDto {
66
66
  * @memberof UpdateRegulationItemRequestDto
67
67
  */
68
68
  'regressDetails'?: UpdateRegressDetailsDto;
69
+ /**
70
+ * The status of the regulation item.
71
+ * @type {string}
72
+ * @memberof UpdateRegulationItemRequestDto
73
+ */
74
+ 'status'?: UpdateRegulationItemRequestDtoStatusEnum;
69
75
  }
70
76
  export declare const UpdateRegulationItemRequestDtoRegulationItemTypeEnum: {
71
77
  readonly Payout: "PAYOUT";
@@ -73,3 +79,9 @@ export declare const UpdateRegulationItemRequestDtoRegulationItemTypeEnum: {
73
79
  readonly Reserve: "RESERVE";
74
80
  };
75
81
  export type UpdateRegulationItemRequestDtoRegulationItemTypeEnum = typeof UpdateRegulationItemRequestDtoRegulationItemTypeEnum[keyof typeof UpdateRegulationItemRequestDtoRegulationItemTypeEnum];
82
+ export declare const UpdateRegulationItemRequestDtoStatusEnum: {
83
+ readonly Open: "OPEN";
84
+ readonly PendingApproval: "PENDING_APPROVAL";
85
+ readonly Approved: "APPROVED";
86
+ };
87
+ export type UpdateRegulationItemRequestDtoStatusEnum = typeof UpdateRegulationItemRequestDtoStatusEnum[keyof typeof UpdateRegulationItemRequestDtoStatusEnum];
@@ -13,9 +13,14 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.UpdateRegulationItemRequestDtoRegulationItemTypeEnum = void 0;
16
+ exports.UpdateRegulationItemRequestDtoStatusEnum = exports.UpdateRegulationItemRequestDtoRegulationItemTypeEnum = void 0;
17
17
  exports.UpdateRegulationItemRequestDtoRegulationItemTypeEnum = {
18
18
  Payout: 'PAYOUT',
19
19
  Regress: 'REGRESS',
20
20
  Reserve: 'RESERVE'
21
21
  };
22
+ exports.UpdateRegulationItemRequestDtoStatusEnum = {
23
+ Open: 'OPEN',
24
+ PendingApproval: 'PENDING_APPROVAL',
25
+ Approved: 'APPROVED'
26
+ };
@@ -0,0 +1,81 @@
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 CalculationStepResultClass
21
+ */
22
+ export interface CalculationStepResultClass {
23
+ /**
24
+ * Step key of the calculation step result.
25
+ * @type {string}
26
+ * @memberof CalculationStepResultClass
27
+ */
28
+ 'key': string;
29
+ /**
30
+ * Type of the calculation step.
31
+ * @type {string}
32
+ * @memberof CalculationStepResultClass
33
+ */
34
+ 'type': CalculationStepResultClassTypeEnum;
35
+ /**
36
+ * Tariff key of the calculation step.
37
+ * @type {string}
38
+ * @memberof CalculationStepResultClass
39
+ */
40
+ 'tariffKey': string;
41
+ /**
42
+ * Category key of the calculation step.
43
+ * @type {string}
44
+ * @memberof CalculationStepResultClass
45
+ */
46
+ 'categoryKey': string;
47
+ /**
48
+ * Deductible key of the calculation step.
49
+ * @type {string}
50
+ * @memberof CalculationStepResultClass
51
+ */
52
+ 'deductibleKey': string;
53
+ /**
54
+ * Amount before the calculation step.
55
+ * @type {number}
56
+ * @memberof CalculationStepResultClass
57
+ */
58
+ 'amountBefore': number;
59
+ /**
60
+ * Amount after the calculation step.
61
+ * @type {number}
62
+ * @memberof CalculationStepResultClass
63
+ */
64
+ 'amountAfter': number;
65
+ /**
66
+ * Applied amount of the calculation step.
67
+ * @type {number}
68
+ * @memberof CalculationStepResultClass
69
+ */
70
+ 'appliedAmount': number;
71
+ }
72
+
73
+ export const CalculationStepResultClassTypeEnum = {
74
+ Coverage: 'coverage',
75
+ Deductible: 'deductible',
76
+ ManualAdjustment: 'manualAdjustment'
77
+ } as const;
78
+
79
+ export type CalculationStepResultClassTypeEnum = typeof CalculationStepResultClassTypeEnum[keyof typeof CalculationStepResultClassTypeEnum];
80
+
81
+
@@ -0,0 +1,104 @@
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 ClaimAppliedDeductibleClass
21
+ */
22
+ export interface ClaimAppliedDeductibleClass {
23
+ /**
24
+ * Unique identifier for the applied deductible.
25
+ * @type {number}
26
+ * @memberof ClaimAppliedDeductibleClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique code of the applied deductible.
31
+ * @type {string}
32
+ * @memberof ClaimAppliedDeductibleClass
33
+ */
34
+ 'code': string;
35
+ /**
36
+ * Key of the tariff this deductible belongs to.
37
+ * @type {string}
38
+ * @memberof ClaimAppliedDeductibleClass
39
+ */
40
+ 'tariffKey': string;
41
+ /**
42
+ * Key of the deductible as defined in the product config.
43
+ * @type {string}
44
+ * @memberof ClaimAppliedDeductibleClass
45
+ */
46
+ 'deductibleKey': string;
47
+ /**
48
+ * Scope of the deductible — tariff level or category level.
49
+ * @type {string}
50
+ * @memberof ClaimAppliedDeductibleClass
51
+ */
52
+ 'scope': ClaimAppliedDeductibleClassScopeEnum;
53
+ /**
54
+ * Selected deductible amount.
55
+ * @type {number}
56
+ * @memberof ClaimAppliedDeductibleClass
57
+ */
58
+ 'amount': number;
59
+ /**
60
+ * Key of the category this deductible belongs to. Only set when scope is category.
61
+ * @type {string}
62
+ * @memberof ClaimAppliedDeductibleClass
63
+ */
64
+ 'categoryKey': string;
65
+ /**
66
+ * Code of the claim this deductible belongs to.
67
+ * @type {string}
68
+ * @memberof ClaimAppliedDeductibleClass
69
+ */
70
+ 'claimCode': string;
71
+ /**
72
+ * Time at which the object was created.
73
+ * @type {string}
74
+ * @memberof ClaimAppliedDeductibleClass
75
+ */
76
+ 'createdAt': string;
77
+ /**
78
+ * Time at which the object was updated.
79
+ * @type {string}
80
+ * @memberof ClaimAppliedDeductibleClass
81
+ */
82
+ 'updatedAt': string;
83
+ /**
84
+ * Identifier of the user who created the record.
85
+ * @type {string}
86
+ * @memberof ClaimAppliedDeductibleClass
87
+ */
88
+ 'createdBy': string;
89
+ /**
90
+ * Identifier of the user who last updated the record.
91
+ * @type {string}
92
+ * @memberof ClaimAppliedDeductibleClass
93
+ */
94
+ 'updatedBy': string;
95
+ }
96
+
97
+ export const ClaimAppliedDeductibleClassScopeEnum = {
98
+ Tariff: 'tariff',
99
+ Category: 'category'
100
+ } as const;
101
+
102
+ export type ClaimAppliedDeductibleClassScopeEnum = typeof ClaimAppliedDeductibleClassScopeEnum[keyof typeof ClaimAppliedDeductibleClassScopeEnum];
103
+
104
+