@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
package/dist/api.d.ts CHANGED
@@ -9,8 +9,10 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ export * from './api/claim-limit-usages-api';
12
13
  export * from './api/claim-partner-roles-api';
13
14
  export * from './api/claim-partners-api';
15
+ export * from './api/claim-positions-api';
14
16
  export * from './api/claim-regulations-api';
15
17
  export * from './api/claim-statuses-api';
16
18
  export * from './api/claims-api';
package/dist/api.js CHANGED
@@ -27,8 +27,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
27
27
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
28
28
  };
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
+ __exportStar(require("./api/claim-limit-usages-api"), exports);
30
31
  __exportStar(require("./api/claim-partner-roles-api"), exports);
31
32
  __exportStar(require("./api/claim-partners-api"), exports);
33
+ __exportStar(require("./api/claim-positions-api"), exports);
32
34
  __exportStar(require("./api/claim-regulations-api"), exports);
33
35
  __exportStar(require("./api/claim-statuses-api"), exports);
34
36
  __exportStar(require("./api/claims-api"), exports);
@@ -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 CalculationStepResultClass
16
+ */
17
+ export interface CalculationStepResultClass {
18
+ /**
19
+ * Step key of the calculation step result.
20
+ * @type {string}
21
+ * @memberof CalculationStepResultClass
22
+ */
23
+ 'key': string;
24
+ /**
25
+ * Type of the calculation step.
26
+ * @type {string}
27
+ * @memberof CalculationStepResultClass
28
+ */
29
+ 'type': CalculationStepResultClassTypeEnum;
30
+ /**
31
+ * Tariff key of the calculation step.
32
+ * @type {string}
33
+ * @memberof CalculationStepResultClass
34
+ */
35
+ 'tariffKey': string;
36
+ /**
37
+ * Category key of the calculation step.
38
+ * @type {string}
39
+ * @memberof CalculationStepResultClass
40
+ */
41
+ 'categoryKey': string;
42
+ /**
43
+ * Deductible key of the calculation step.
44
+ * @type {string}
45
+ * @memberof CalculationStepResultClass
46
+ */
47
+ 'deductibleKey': string;
48
+ /**
49
+ * Amount before the calculation step.
50
+ * @type {number}
51
+ * @memberof CalculationStepResultClass
52
+ */
53
+ 'amountBefore': number;
54
+ /**
55
+ * Amount after the calculation step.
56
+ * @type {number}
57
+ * @memberof CalculationStepResultClass
58
+ */
59
+ 'amountAfter': number;
60
+ /**
61
+ * Applied amount of the calculation step.
62
+ * @type {number}
63
+ * @memberof CalculationStepResultClass
64
+ */
65
+ 'appliedAmount': number;
66
+ }
67
+ export declare const CalculationStepResultClassTypeEnum: {
68
+ readonly Coverage: "coverage";
69
+ readonly Deductible: "deductible";
70
+ readonly ManualAdjustment: "manualAdjustment";
71
+ };
72
+ export type CalculationStepResultClassTypeEnum = typeof CalculationStepResultClassTypeEnum[keyof typeof CalculationStepResultClassTypeEnum];
@@ -0,0 +1,21 @@
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 });
16
+ exports.CalculationStepResultClassTypeEnum = void 0;
17
+ exports.CalculationStepResultClassTypeEnum = {
18
+ Coverage: 'coverage',
19
+ Deductible: 'deductible',
20
+ ManualAdjustment: 'manualAdjustment'
21
+ };
@@ -0,0 +1,95 @@
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 ClaimAppliedDeductibleClass
16
+ */
17
+ export interface ClaimAppliedDeductibleClass {
18
+ /**
19
+ * Unique identifier for the applied deductible.
20
+ * @type {number}
21
+ * @memberof ClaimAppliedDeductibleClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique code of the applied deductible.
26
+ * @type {string}
27
+ * @memberof ClaimAppliedDeductibleClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * Key of the tariff this deductible belongs to.
32
+ * @type {string}
33
+ * @memberof ClaimAppliedDeductibleClass
34
+ */
35
+ 'tariffKey': string;
36
+ /**
37
+ * Key of the deductible as defined in the product config.
38
+ * @type {string}
39
+ * @memberof ClaimAppliedDeductibleClass
40
+ */
41
+ 'deductibleKey': string;
42
+ /**
43
+ * Scope of the deductible — tariff level or category level.
44
+ * @type {string}
45
+ * @memberof ClaimAppliedDeductibleClass
46
+ */
47
+ 'scope': ClaimAppliedDeductibleClassScopeEnum;
48
+ /**
49
+ * Selected deductible amount.
50
+ * @type {number}
51
+ * @memberof ClaimAppliedDeductibleClass
52
+ */
53
+ 'amount': number;
54
+ /**
55
+ * Key of the category this deductible belongs to. Only set when scope is category.
56
+ * @type {string}
57
+ * @memberof ClaimAppliedDeductibleClass
58
+ */
59
+ 'categoryKey': string;
60
+ /**
61
+ * Code of the claim this deductible belongs to.
62
+ * @type {string}
63
+ * @memberof ClaimAppliedDeductibleClass
64
+ */
65
+ 'claimCode': string;
66
+ /**
67
+ * Time at which the object was created.
68
+ * @type {string}
69
+ * @memberof ClaimAppliedDeductibleClass
70
+ */
71
+ 'createdAt': string;
72
+ /**
73
+ * Time at which the object was updated.
74
+ * @type {string}
75
+ * @memberof ClaimAppliedDeductibleClass
76
+ */
77
+ 'updatedAt': string;
78
+ /**
79
+ * Identifier of the user who created the record.
80
+ * @type {string}
81
+ * @memberof ClaimAppliedDeductibleClass
82
+ */
83
+ 'createdBy': string;
84
+ /**
85
+ * Identifier of the user who last updated the record.
86
+ * @type {string}
87
+ * @memberof ClaimAppliedDeductibleClass
88
+ */
89
+ 'updatedBy': string;
90
+ }
91
+ export declare const ClaimAppliedDeductibleClassScopeEnum: {
92
+ readonly Tariff: "tariff";
93
+ readonly Category: "category";
94
+ };
95
+ export type ClaimAppliedDeductibleClassScopeEnum = typeof ClaimAppliedDeductibleClassScopeEnum[keyof typeof ClaimAppliedDeductibleClassScopeEnum];
@@ -0,0 +1,20 @@
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 });
16
+ exports.ClaimAppliedDeductibleClassScopeEnum = void 0;
17
+ exports.ClaimAppliedDeductibleClassScopeEnum = {
18
+ Tariff: 'tariff',
19
+ Category: 'category'
20
+ };
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { ClaimAppliedDeductibleClass } from './claim-applied-deductible-class';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -75,6 +76,12 @@ export interface ClaimClass {
75
76
  * @memberof ClaimClass
76
77
  */
77
78
  'productVersionId': number;
79
+ /**
80
+ * The slug of the product.
81
+ * @type {string}
82
+ * @memberof ClaimClass
83
+ */
84
+ 'productSlug'?: string;
78
85
  /**
79
86
  * The name of the product.
80
87
  * @type {string}
@@ -129,12 +136,30 @@ export interface ClaimClass {
129
136
  * @memberof ClaimClass
130
137
  */
131
138
  'damageDate': string;
139
+ /**
140
+ * The end date of the damage.
141
+ * @type {string}
142
+ * @memberof ClaimClass
143
+ */
144
+ 'damageEndDate': string;
132
145
  /**
133
146
  * The date on which the damage was reported.
134
147
  * @type {string}
135
148
  * @memberof ClaimClass
136
149
  */
137
150
  'notificationDate': string;
151
+ /**
152
+ * The tariff key for the claim.
153
+ * @type {string}
154
+ * @memberof ClaimClass
155
+ */
156
+ 'tariffKey': string;
157
+ /**
158
+ * Applied deductibles for the claim.
159
+ * @type {Array<ClaimAppliedDeductibleClass>}
160
+ * @memberof ClaimClass
161
+ */
162
+ 'appliedDeductibles': Array<ClaimAppliedDeductibleClass>;
138
163
  /**
139
164
  * Tenant specific custom fields for claims (e.g. IMEI, Serial Number, etc.)
140
165
  * @type {object}
@@ -0,0 +1,143 @@
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 ClaimLimitUsageClass
16
+ */
17
+ export interface ClaimLimitUsageClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof ClaimLimitUsageClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof ClaimLimitUsageClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ClaimLimitUsageClass
34
+ */
35
+ 'policyCode': string;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof ClaimLimitUsageClass
40
+ */
41
+ 'productVersionId': number;
42
+ /**
43
+ * Type of the limit usage.
44
+ * @type {string}
45
+ * @memberof ClaimLimitUsageClass
46
+ */
47
+ 'type': ClaimLimitUsageClassTypeEnum;
48
+ /**
49
+ * Tariff key associated with the limit usage.
50
+ * @type {string}
51
+ * @memberof ClaimLimitUsageClass
52
+ */
53
+ 'tariffKey': string;
54
+ /**
55
+ * Period of the limit usage bucket.
56
+ * @type {string}
57
+ * @memberof ClaimLimitUsageClass
58
+ */
59
+ 'period': ClaimLimitUsageClassPeriodEnum;
60
+ /**
61
+ * Start date of the usage period.
62
+ * @type {string}
63
+ * @memberof ClaimLimitUsageClass
64
+ */
65
+ 'periodStart': string;
66
+ /**
67
+ * End date of the usage period.
68
+ * @type {string}
69
+ * @memberof ClaimLimitUsageClass
70
+ */
71
+ 'periodEnd': string;
72
+ /**
73
+ * Remaining amount of the limit usage.
74
+ * @type {number}
75
+ * @memberof ClaimLimitUsageClass
76
+ */
77
+ 'remainingAmount': number;
78
+ /**
79
+ * Latest action reason that produced the current remaining amount.
80
+ * @type {string}
81
+ * @memberof ClaimLimitUsageClass
82
+ */
83
+ 'reason': ClaimLimitUsageClassReasonEnum;
84
+ /**
85
+ * Claim code associated with the limit usage.
86
+ * @type {string}
87
+ * @memberof ClaimLimitUsageClass
88
+ */
89
+ 'claimCode': string;
90
+ /**
91
+ * Category key associated with the limit usage.
92
+ * @type {string}
93
+ * @memberof ClaimLimitUsageClass
94
+ */
95
+ 'categoryKey': string;
96
+ /**
97
+ * Deductible key associated with the limit usage.
98
+ * @type {string}
99
+ * @memberof ClaimLimitUsageClass
100
+ */
101
+ 'deductibleKey': string;
102
+ /**
103
+ * Time at which the object was created.
104
+ * @type {string}
105
+ * @memberof ClaimLimitUsageClass
106
+ */
107
+ 'createdAt': string;
108
+ /**
109
+ * Time at which the object was updated.
110
+ * @type {string}
111
+ * @memberof ClaimLimitUsageClass
112
+ */
113
+ 'updatedAt': string;
114
+ /**
115
+ * Identifier of the user who created the record.
116
+ * @type {string}
117
+ * @memberof ClaimLimitUsageClass
118
+ */
119
+ 'createdBy': string;
120
+ /**
121
+ * Identifier of the user who last updated the record.
122
+ * @type {string}
123
+ * @memberof ClaimLimitUsageClass
124
+ */
125
+ 'updatedBy': string;
126
+ }
127
+ export declare const ClaimLimitUsageClassTypeEnum: {
128
+ readonly Coverage: "coverage";
129
+ readonly Deductible: "deductible";
130
+ };
131
+ export type ClaimLimitUsageClassTypeEnum = typeof ClaimLimitUsageClassTypeEnum[keyof typeof ClaimLimitUsageClassTypeEnum];
132
+ export declare const ClaimLimitUsageClassPeriodEnum: {
133
+ readonly PerClaim: "PER_CLAIM";
134
+ readonly PolicyYear: "POLICY_YEAR";
135
+ readonly CalendarYear: "CALENDAR_YEAR";
136
+ };
137
+ export type ClaimLimitUsageClassPeriodEnum = typeof ClaimLimitUsageClassPeriodEnum[keyof typeof ClaimLimitUsageClassPeriodEnum];
138
+ export declare const ClaimLimitUsageClassReasonEnum: {
139
+ readonly Initial: "INITIAL";
140
+ readonly Deduction: "DEDUCTION";
141
+ readonly Reset: "RESET";
142
+ };
143
+ export type ClaimLimitUsageClassReasonEnum = typeof ClaimLimitUsageClassReasonEnum[keyof typeof ClaimLimitUsageClassReasonEnum];
@@ -0,0 +1,30 @@
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 });
16
+ exports.ClaimLimitUsageClassReasonEnum = exports.ClaimLimitUsageClassPeriodEnum = exports.ClaimLimitUsageClassTypeEnum = void 0;
17
+ exports.ClaimLimitUsageClassTypeEnum = {
18
+ Coverage: 'coverage',
19
+ Deductible: 'deductible'
20
+ };
21
+ exports.ClaimLimitUsageClassPeriodEnum = {
22
+ PerClaim: 'PER_CLAIM',
23
+ PolicyYear: 'POLICY_YEAR',
24
+ CalendarYear: 'CALENDAR_YEAR'
25
+ };
26
+ exports.ClaimLimitUsageClassReasonEnum = {
27
+ Initial: 'INITIAL',
28
+ Deduction: 'DEDUCTION',
29
+ Reset: 'RESET'
30
+ };
@@ -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 ClaimLimitUsageResultClass
16
+ */
17
+ export interface ClaimLimitUsageResultClass {
18
+ /**
19
+ * Step key of the limit usage result.
20
+ * @type {string}
21
+ * @memberof ClaimLimitUsageResultClass
22
+ */
23
+ 'stepKey': string;
24
+ /**
25
+ * Period of the limit usage result.
26
+ * @type {string}
27
+ * @memberof ClaimLimitUsageResultClass
28
+ */
29
+ 'period': ClaimLimitUsageResultClassPeriodEnum;
30
+ /**
31
+ * Remaining amount before the limit usage result.
32
+ * @type {number}
33
+ * @memberof ClaimLimitUsageResultClass
34
+ */
35
+ 'remainingBefore': number;
36
+ /**
37
+ * Remaining amount after the limit usage result.
38
+ * @type {number}
39
+ * @memberof ClaimLimitUsageResultClass
40
+ */
41
+ 'remainingAfter': number;
42
+ }
43
+ export declare const ClaimLimitUsageResultClassPeriodEnum: {
44
+ readonly PerClaim: "PER_CLAIM";
45
+ readonly PolicyYear: "POLICY_YEAR";
46
+ readonly CalendarYear: "CALENDAR_YEAR";
47
+ };
48
+ export type ClaimLimitUsageResultClassPeriodEnum = typeof ClaimLimitUsageResultClassPeriodEnum[keyof typeof ClaimLimitUsageResultClassPeriodEnum];
@@ -0,0 +1,21 @@
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 });
16
+ exports.ClaimLimitUsageResultClassPeriodEnum = void 0;
17
+ exports.ClaimLimitUsageResultClassPeriodEnum = {
18
+ PerClaim: 'PER_CLAIM',
19
+ PolicyYear: 'POLICY_YEAR',
20
+ CalendarYear: 'CALENDAR_YEAR'
21
+ };
@@ -0,0 +1,151 @@
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 ClaimPositionClass
18
+ */
19
+ export interface ClaimPositionClass {
20
+ /**
21
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
22
+ * @type {number}
23
+ * @memberof ClaimPositionClass
24
+ */
25
+ 'id': number;
26
+ /**
27
+ * Code of the claim this position belongs to.
28
+ * @type {string}
29
+ * @memberof ClaimPositionClass
30
+ */
31
+ 'claimCode': string;
32
+ /**
33
+ * Unique code of the claim position.
34
+ * @type {string}
35
+ * @memberof ClaimPositionClass
36
+ */
37
+ 'code': string;
38
+ /**
39
+ * Unique number assigned to the claim position.
40
+ * @type {string}
41
+ * @memberof ClaimPositionClass
42
+ */
43
+ 'positionNumber': string;
44
+ /**
45
+ * Current category of the claim position.
46
+ * @type {string}
47
+ * @memberof ClaimPositionClass
48
+ */
49
+ 'category': string;
50
+ /**
51
+ * Original category as submitted.
52
+ * @type {string}
53
+ * @memberof ClaimPositionClass
54
+ */
55
+ 'submittedCategory': string;
56
+ /**
57
+ * Description of what is being claimed.
58
+ * @type {string}
59
+ * @memberof ClaimPositionClass
60
+ */
61
+ 'description': string;
62
+ /**
63
+ * Current status of the claim position.
64
+ * @type {string}
65
+ * @memberof ClaimPositionClass
66
+ */
67
+ 'status': ClaimPositionClassStatusEnum;
68
+ /**
69
+ * Display order of the position in the list. Lower value appears first.
70
+ * @type {number}
71
+ * @memberof ClaimPositionClass
72
+ */
73
+ 'order': number;
74
+ /**
75
+ * Version of the entity, incremented on every update. Starts at 1.
76
+ * @type {number}
77
+ * @memberof ClaimPositionClass
78
+ */
79
+ 'version': number;
80
+ /**
81
+ * Current cost of the claim position.
82
+ * @type {number}
83
+ * @memberof ClaimPositionClass
84
+ */
85
+ 'cost': number;
86
+ /**
87
+ * Original cost as submitted.
88
+ * @type {number}
89
+ * @memberof ClaimPositionClass
90
+ */
91
+ 'submittedCost': number;
92
+ /**
93
+ * 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.
94
+ * @type {number}
95
+ * @memberof ClaimPositionClass
96
+ */
97
+ 'manualAdjustmentAmount': number;
98
+ /**
99
+ * Calculated reimbursement amount for this position.
100
+ * @type {number}
101
+ * @memberof ClaimPositionClass
102
+ */
103
+ 'reimbursementAmount': number;
104
+ /**
105
+ * Additional custom data specific to the tenant or product.
106
+ * @type {object}
107
+ * @memberof ClaimPositionClass
108
+ */
109
+ 'customFields': object;
110
+ /**
111
+ * Snapshot of limit usages at the time this position was calculated.
112
+ * @type {Array<ClaimLimitUsageResultClass>}
113
+ * @memberof ClaimPositionClass
114
+ */
115
+ 'limitUsageSnapshot': Array<ClaimLimitUsageResultClass>;
116
+ /**
117
+ * Snapshot of calculation steps at the time this position was calculated.
118
+ * @type {Array<CalculationStepResultClass>}
119
+ * @memberof ClaimPositionClass
120
+ */
121
+ 'calculationStepSnapshot': Array<CalculationStepResultClass>;
122
+ /**
123
+ * Time at which the object was created.
124
+ * @type {string}
125
+ * @memberof ClaimPositionClass
126
+ */
127
+ 'createdAt': string;
128
+ /**
129
+ * Time at which the object was updated.
130
+ * @type {string}
131
+ * @memberof ClaimPositionClass
132
+ */
133
+ 'updatedAt': string;
134
+ /**
135
+ * Identifier of the user who created the record.
136
+ * @type {string}
137
+ * @memberof ClaimPositionClass
138
+ */
139
+ 'createdBy': string;
140
+ /**
141
+ * Identifier of the user who last updated the record.
142
+ * @type {string}
143
+ * @memberof ClaimPositionClass
144
+ */
145
+ 'updatedBy': string;
146
+ }
147
+ export declare const ClaimPositionClassStatusEnum: {
148
+ readonly Open: "OPEN";
149
+ readonly Closed: "CLOSED";
150
+ };
151
+ export type ClaimPositionClassStatusEnum = typeof ClaimPositionClassStatusEnum[keyof typeof ClaimPositionClassStatusEnum];