@emilgroup/claim-sdk 1.41.1-beta.9 → 1.42.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.
- package/.openapi-generator/FILES +8 -0
- package/README.md +2 -2
- package/api/claim-limit-usages-api.ts +24 -24
- package/api/claim-partner-roles-api.ts +24 -24
- package/api/claim-partners-api.ts +24 -24
- package/api/claim-positions-api.ts +496 -16
- package/api/claim-regulations-api.ts +24 -24
- package/api/claim-statuses-api.ts +24 -24
- package/api/claims-api.ts +48 -48
- package/api/settlements-api.ts +24 -24
- package/dist/api/claim-limit-usages-api.d.ts +24 -24
- package/dist/api/claim-limit-usages-api.js +18 -18
- package/dist/api/claim-partner-roles-api.d.ts +24 -24
- package/dist/api/claim-partner-roles-api.js +20 -20
- package/dist/api/claim-partners-api.d.ts +24 -24
- package/dist/api/claim-partners-api.js +20 -20
- package/dist/api/claim-positions-api.d.ts +284 -16
- package/dist/api/claim-positions-api.js +416 -12
- package/dist/api/claim-regulations-api.d.ts +24 -24
- package/dist/api/claim-regulations-api.js +20 -20
- package/dist/api/claim-statuses-api.d.ts +24 -24
- package/dist/api/claim-statuses-api.js +20 -20
- package/dist/api/claims-api.d.ts +48 -48
- package/dist/api/claims-api.js +38 -38
- package/dist/api/settlements-api.d.ts +24 -24
- package/dist/api/settlements-api.js +20 -20
- package/dist/models/batch-upsert-claim-position-input-dto.d.ts +72 -0
- package/dist/models/batch-upsert-claim-position-input-dto.js +15 -0
- package/dist/models/batch-upsert-claim-positions-request-dto.d.ts +31 -0
- package/dist/models/batch-upsert-claim-positions-request-dto.js +15 -0
- package/dist/models/batch-upsert-claim-positions-response-class.d.ts +32 -0
- package/dist/models/batch-upsert-claim-positions-response-class.js +15 -0
- package/dist/models/calculate-claim-positions-request-dto.d.ts +31 -0
- package/dist/models/calculate-claim-positions-request-dto.js +15 -0
- package/dist/models/calculate-claim-positions-response-class.d.ts +32 -0
- package/dist/models/calculate-claim-positions-response-class.js +15 -0
- package/dist/models/calculated-claim-position-class.d.ts +74 -0
- package/dist/models/calculated-claim-position-class.js +15 -0
- package/dist/models/calculation-totals-class.d.ts +30 -0
- package/dist/models/calculation-totals-class.js +15 -0
- package/dist/models/claim-applied-deductible-class.d.ts +1 -1
- package/dist/models/claim-class.d.ts +24 -0
- package/dist/models/claim-limit-usage-class.d.ts +8 -0
- package/dist/models/claim-limit-usage-class.js +2 -0
- package/dist/models/claim-position-calculation-input-dto.d.ts +48 -0
- package/dist/models/claim-position-calculation-input-dto.js +15 -0
- package/dist/models/claim-position-class.d.ts +8 -1
- package/dist/models/claim-position-class.js +3 -2
- package/dist/models/create-claim-position-response-class.d.ts +1 -1
- package/dist/models/create-claim-request-dto.d.ts +12 -0
- package/dist/models/create-regulation-item-request-dto.d.ts +4 -3
- package/dist/models/get-claim-position-response-class.d.ts +1 -1
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/dist/models/list-claim-positions-response-class.d.ts +1 -1
- package/dist/models/patch-claim-request-dto.d.ts +12 -0
- package/dist/models/regulation-item-class.d.ts +6 -0
- package/dist/models/update-claim-position-request-dto.d.ts +6 -0
- package/dist/models/update-claim-position-response-class.d.ts +1 -1
- package/dist/models/update-claim-request-dto.d.ts +12 -0
- package/dist/models/update-regulation-item-request-dto.d.ts +24 -0
- package/dist/models/update-regulation-item-request-dto.js +5 -1
- package/models/batch-upsert-claim-position-input-dto.ts +78 -0
- package/models/batch-upsert-claim-positions-request-dto.ts +37 -0
- package/models/batch-upsert-claim-positions-response-class.ts +38 -0
- package/models/calculate-claim-positions-request-dto.ts +37 -0
- package/models/calculate-claim-positions-response-class.ts +38 -0
- package/models/calculated-claim-position-class.ts +80 -0
- package/models/calculation-totals-class.ts +36 -0
- package/models/claim-applied-deductible-class.ts +1 -1
- package/models/claim-class.ts +24 -0
- package/models/claim-limit-usage-class.ts +8 -0
- package/models/claim-position-calculation-input-dto.ts +54 -0
- package/models/claim-position-class.ts +9 -2
- package/models/create-claim-position-response-class.ts +1 -1
- package/models/create-claim-request-dto.ts +12 -0
- package/models/create-regulation-item-request-dto.ts +4 -3
- package/models/get-claim-position-response-class.ts +1 -1
- package/models/index.ts +8 -0
- package/models/list-claim-positions-response-class.ts +1 -1
- package/models/patch-claim-request-dto.ts +12 -0
- package/models/regulation-item-class.ts +6 -0
- package/models/update-claim-position-request-dto.ts +6 -0
- package/models/update-claim-position-response-class.ts +1 -1
- package/models/update-claim-request-dto.ts +12 -0
- package/models/update-regulation-item-request-dto.ts +25 -0
- package/package.json +1 -1
|
@@ -17,7 +17,7 @@ import { ClaimPositionClass } from './claim-position-class';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface GetClaimPositionResponseClass {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* The claim position.
|
|
21
21
|
* @type {ClaimPositionClass}
|
|
22
22
|
* @memberof GetClaimPositionResponseClass
|
|
23
23
|
*/
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,10 +1,18 @@
|
|
|
1
|
+
export * from './batch-upsert-claim-position-input-dto';
|
|
2
|
+
export * from './batch-upsert-claim-positions-request-dto';
|
|
3
|
+
export * from './batch-upsert-claim-positions-response-class';
|
|
4
|
+
export * from './calculate-claim-positions-request-dto';
|
|
5
|
+
export * from './calculate-claim-positions-response-class';
|
|
6
|
+
export * from './calculated-claim-position-class';
|
|
1
7
|
export * from './calculation-step-result-class';
|
|
8
|
+
export * from './calculation-totals-class';
|
|
2
9
|
export * from './claim-applied-deductible-class';
|
|
3
10
|
export * from './claim-class';
|
|
4
11
|
export * from './claim-limit-usage-class';
|
|
5
12
|
export * from './claim-limit-usage-result-class';
|
|
6
13
|
export * from './claim-partner-class';
|
|
7
14
|
export * from './claim-partner-role-class';
|
|
15
|
+
export * from './claim-position-calculation-input-dto';
|
|
8
16
|
export * from './claim-position-class';
|
|
9
17
|
export * from './claim-status-class';
|
|
10
18
|
export * from './create-claim-partner-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -14,13 +14,21 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./batch-upsert-claim-position-input-dto"), exports);
|
|
18
|
+
__exportStar(require("./batch-upsert-claim-positions-request-dto"), exports);
|
|
19
|
+
__exportStar(require("./batch-upsert-claim-positions-response-class"), exports);
|
|
20
|
+
__exportStar(require("./calculate-claim-positions-request-dto"), exports);
|
|
21
|
+
__exportStar(require("./calculate-claim-positions-response-class"), exports);
|
|
22
|
+
__exportStar(require("./calculated-claim-position-class"), exports);
|
|
17
23
|
__exportStar(require("./calculation-step-result-class"), exports);
|
|
24
|
+
__exportStar(require("./calculation-totals-class"), exports);
|
|
18
25
|
__exportStar(require("./claim-applied-deductible-class"), exports);
|
|
19
26
|
__exportStar(require("./claim-class"), exports);
|
|
20
27
|
__exportStar(require("./claim-limit-usage-class"), exports);
|
|
21
28
|
__exportStar(require("./claim-limit-usage-result-class"), exports);
|
|
22
29
|
__exportStar(require("./claim-partner-class"), exports);
|
|
23
30
|
__exportStar(require("./claim-partner-role-class"), exports);
|
|
31
|
+
__exportStar(require("./claim-position-calculation-input-dto"), exports);
|
|
24
32
|
__exportStar(require("./claim-position-class"), exports);
|
|
25
33
|
__exportStar(require("./claim-status-class"), exports);
|
|
26
34
|
__exportStar(require("./create-claim-partner-request-dto"), exports);
|
|
@@ -17,7 +17,7 @@ import { ClaimPositionClass } from './claim-position-class';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface ListClaimPositionsResponseClass {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* The claim positions.
|
|
21
21
|
* @type {Array<ClaimPositionClass>}
|
|
22
22
|
* @memberof ListClaimPositionsResponseClass
|
|
23
23
|
*/
|
|
@@ -63,6 +63,12 @@ export interface PatchClaimRequestDto {
|
|
|
63
63
|
* @memberof PatchClaimRequestDto
|
|
64
64
|
*/
|
|
65
65
|
'adjuster'?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Unique identifier of the adjuster user.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof PatchClaimRequestDto
|
|
70
|
+
*/
|
|
71
|
+
'adjusterCode'?: string;
|
|
66
72
|
/**
|
|
67
73
|
* The claim\'s description in 5000 characters.
|
|
68
74
|
* @type {string}
|
|
@@ -99,6 +105,12 @@ export interface PatchClaimRequestDto {
|
|
|
99
105
|
* @memberof PatchClaimRequestDto
|
|
100
106
|
*/
|
|
101
107
|
'customFields'?: object;
|
|
108
|
+
/**
|
|
109
|
+
* The claim type. Must match one of the categories in the selected tariff.
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof PatchClaimRequestDto
|
|
112
|
+
*/
|
|
113
|
+
'claimType'?: string;
|
|
102
114
|
/**
|
|
103
115
|
* The current status of the claim.
|
|
104
116
|
* @type {string}
|
|
@@ -37,6 +37,12 @@ export interface RegulationItemClass {
|
|
|
37
37
|
* @memberof RegulationItemClass
|
|
38
38
|
*/
|
|
39
39
|
'amount': number;
|
|
40
|
+
/**
|
|
41
|
+
* The amount of the regulation item in cents
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof RegulationItemClass
|
|
44
|
+
*/
|
|
45
|
+
'amountInCents': number;
|
|
40
46
|
/**
|
|
41
47
|
* The currency of the regulation item
|
|
42
48
|
* @type {string}
|
|
@@ -57,4 +57,10 @@ export interface UpdateClaimPositionRequestDto {
|
|
|
57
57
|
* @memberof UpdateClaimPositionRequestDto
|
|
58
58
|
*/
|
|
59
59
|
'manualAdjustmentAmount'?: number;
|
|
60
|
+
/**
|
|
61
|
+
* Clears the stored manual adjustment amount for this claim position.
|
|
62
|
+
* @type {boolean}
|
|
63
|
+
* @memberof UpdateClaimPositionRequestDto
|
|
64
|
+
*/
|
|
65
|
+
'clearManualAdjustmentAmount'?: boolean;
|
|
60
66
|
}
|
|
@@ -63,6 +63,12 @@ export interface UpdateClaimRequestDto {
|
|
|
63
63
|
* @memberof UpdateClaimRequestDto
|
|
64
64
|
*/
|
|
65
65
|
'adjuster'?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Unique identifier of the adjuster user.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof UpdateClaimRequestDto
|
|
70
|
+
*/
|
|
71
|
+
'adjusterCode'?: string;
|
|
66
72
|
/**
|
|
67
73
|
* The claim\'s description in 5000 characters.
|
|
68
74
|
* @type {string}
|
|
@@ -99,6 +105,12 @@ export interface UpdateClaimRequestDto {
|
|
|
99
105
|
* @memberof UpdateClaimRequestDto
|
|
100
106
|
*/
|
|
101
107
|
'customFields'?: object;
|
|
108
|
+
/**
|
|
109
|
+
* The claim type. Must match one of the categories in the selected tariff.
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof UpdateClaimRequestDto
|
|
112
|
+
*/
|
|
113
|
+
'claimType'?: string;
|
|
102
114
|
/**
|
|
103
115
|
* The current status of the claim.
|
|
104
116
|
* @type {string}
|
|
@@ -34,6 +34,7 @@ export interface UpdateRegulationItemRequestDto {
|
|
|
34
34
|
* The currency for the regulation item. Must be a valid currency code.
|
|
35
35
|
* @type {string}
|
|
36
36
|
* @memberof UpdateRegulationItemRequestDto
|
|
37
|
+
* @deprecated
|
|
37
38
|
*/
|
|
38
39
|
'currency'?: string;
|
|
39
40
|
/**
|
|
@@ -48,6 +49,18 @@ export interface UpdateRegulationItemRequestDto {
|
|
|
48
49
|
* @memberof UpdateRegulationItemRequestDto
|
|
49
50
|
*/
|
|
50
51
|
'bookingDate'?: string;
|
|
52
|
+
/**
|
|
53
|
+
* The payout provider to use. Defaults to INTERNAL. Use PAYMENT_SERVICE to delegate payout processing to the payment service.
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof UpdateRegulationItemRequestDto
|
|
56
|
+
*/
|
|
57
|
+
'payoutProvider'?: UpdateRegulationItemRequestDtoPayoutProviderEnum;
|
|
58
|
+
/**
|
|
59
|
+
* List of claim position categories covered by this regulation. For payout updates, only allowed when payoutProvider is PAYMENT_SERVICE.
|
|
60
|
+
* @type {Array<string>}
|
|
61
|
+
* @memberof UpdateRegulationItemRequestDto
|
|
62
|
+
*/
|
|
63
|
+
'claimPositionCategories'?: Array<string>;
|
|
51
64
|
/**
|
|
52
65
|
* The payout details for the regulation item. Must be a valid payout details object.At least an empty object is required when updating a payout item. But if the regulation item type is not payout, this field is not required.
|
|
53
66
|
* @type {UpdatePayoutDetailsDto}
|
|
@@ -72,6 +85,12 @@ export interface UpdateRegulationItemRequestDto {
|
|
|
72
85
|
* @memberof UpdateRegulationItemRequestDto
|
|
73
86
|
*/
|
|
74
87
|
'status'?: UpdateRegulationItemRequestDtoStatusEnum;
|
|
88
|
+
/**
|
|
89
|
+
* The partner code to use for the regulation item. Required only when regulationItemType is PAYOUT and payoutProvider is PAYMENT_SERVICE.
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof UpdateRegulationItemRequestDto
|
|
92
|
+
*/
|
|
93
|
+
'partnerCode'?: string;
|
|
75
94
|
}
|
|
76
95
|
export declare const UpdateRegulationItemRequestDtoRegulationItemTypeEnum: {
|
|
77
96
|
readonly Payout: "PAYOUT";
|
|
@@ -79,6 +98,11 @@ export declare const UpdateRegulationItemRequestDtoRegulationItemTypeEnum: {
|
|
|
79
98
|
readonly Reserve: "RESERVE";
|
|
80
99
|
};
|
|
81
100
|
export type UpdateRegulationItemRequestDtoRegulationItemTypeEnum = typeof UpdateRegulationItemRequestDtoRegulationItemTypeEnum[keyof typeof UpdateRegulationItemRequestDtoRegulationItemTypeEnum];
|
|
101
|
+
export declare const UpdateRegulationItemRequestDtoPayoutProviderEnum: {
|
|
102
|
+
readonly Internal: "INTERNAL";
|
|
103
|
+
readonly PaymentService: "PAYMENT_SERVICE";
|
|
104
|
+
};
|
|
105
|
+
export type UpdateRegulationItemRequestDtoPayoutProviderEnum = typeof UpdateRegulationItemRequestDtoPayoutProviderEnum[keyof typeof UpdateRegulationItemRequestDtoPayoutProviderEnum];
|
|
82
106
|
export declare const UpdateRegulationItemRequestDtoStatusEnum: {
|
|
83
107
|
readonly Open: "OPEN";
|
|
84
108
|
readonly PendingApproval: "PENDING_APPROVAL";
|
|
@@ -13,12 +13,16 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.UpdateRegulationItemRequestDtoStatusEnum = exports.UpdateRegulationItemRequestDtoRegulationItemTypeEnum = void 0;
|
|
16
|
+
exports.UpdateRegulationItemRequestDtoStatusEnum = exports.UpdateRegulationItemRequestDtoPayoutProviderEnum = exports.UpdateRegulationItemRequestDtoRegulationItemTypeEnum = void 0;
|
|
17
17
|
exports.UpdateRegulationItemRequestDtoRegulationItemTypeEnum = {
|
|
18
18
|
Payout: 'PAYOUT',
|
|
19
19
|
Regress: 'REGRESS',
|
|
20
20
|
Reserve: 'RESERVE'
|
|
21
21
|
};
|
|
22
|
+
exports.UpdateRegulationItemRequestDtoPayoutProviderEnum = {
|
|
23
|
+
Internal: 'INTERNAL',
|
|
24
|
+
PaymentService: 'PAYMENT_SERVICE'
|
|
25
|
+
};
|
|
22
26
|
exports.UpdateRegulationItemRequestDtoStatusEnum = {
|
|
23
27
|
Open: 'OPEN',
|
|
24
28
|
PendingApproval: 'PENDING_APPROVAL',
|
|
@@ -0,0 +1,78 @@
|
|
|
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 BatchUpsertClaimPositionInputDto
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchUpsertClaimPositionInputDto {
|
|
23
|
+
/**
|
|
24
|
+
* Required to update an existing position. If not provided, a new position will be created.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof BatchUpsertClaimPositionInputDto
|
|
27
|
+
*/
|
|
28
|
+
'code'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Category of the claim position (e.g. property_damage).
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof BatchUpsertClaimPositionInputDto
|
|
33
|
+
*/
|
|
34
|
+
'category': string;
|
|
35
|
+
/**
|
|
36
|
+
* Cost of the claim position.
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof BatchUpsertClaimPositionInputDto
|
|
39
|
+
*/
|
|
40
|
+
'cost': number;
|
|
41
|
+
/**
|
|
42
|
+
* Order of the claim position.
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof BatchUpsertClaimPositionInputDto
|
|
45
|
+
*/
|
|
46
|
+
'order': number;
|
|
47
|
+
/**
|
|
48
|
+
* Date on which the procedure was performed.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof BatchUpsertClaimPositionInputDto
|
|
51
|
+
*/
|
|
52
|
+
'procedureDate'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Description of the claim position.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof BatchUpsertClaimPositionInputDto
|
|
57
|
+
*/
|
|
58
|
+
'description'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Manual adjustment amount of the claim position.
|
|
61
|
+
* @type {number}
|
|
62
|
+
* @memberof BatchUpsertClaimPositionInputDto
|
|
63
|
+
*/
|
|
64
|
+
'manualAdjustmentAmount'?: number;
|
|
65
|
+
/**
|
|
66
|
+
* Clears the stored manual adjustment amount for an existing claim position.
|
|
67
|
+
* @type {boolean}
|
|
68
|
+
* @memberof BatchUpsertClaimPositionInputDto
|
|
69
|
+
*/
|
|
70
|
+
'clearManualAdjustmentAmount'?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Custom fields of the claim position.
|
|
73
|
+
* @type {object}
|
|
74
|
+
* @memberof BatchUpsertClaimPositionInputDto
|
|
75
|
+
*/
|
|
76
|
+
'customFields'?: object;
|
|
77
|
+
}
|
|
78
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { BatchUpsertClaimPositionInputDto } from './batch-upsert-claim-position-input-dto';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface BatchUpsertClaimPositionsRequestDto
|
|
22
|
+
*/
|
|
23
|
+
export interface BatchUpsertClaimPositionsRequestDto {
|
|
24
|
+
/**
|
|
25
|
+
* Claim positions to create or update.
|
|
26
|
+
* @type {Array<BatchUpsertClaimPositionInputDto>}
|
|
27
|
+
* @memberof BatchUpsertClaimPositionsRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'positions': Array<BatchUpsertClaimPositionInputDto>;
|
|
30
|
+
/**
|
|
31
|
+
* Codes of existing claim positions to delete.
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof BatchUpsertClaimPositionsRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'deletedCodes'?: Array<string>;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { CalculationTotalsClass } from './calculation-totals-class';
|
|
17
|
+
import { ClaimPositionClass } from './claim-position-class';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface BatchUpsertClaimPositionsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
export interface BatchUpsertClaimPositionsResponseClass {
|
|
25
|
+
/**
|
|
26
|
+
* The claim positions.
|
|
27
|
+
* @type {Array<ClaimPositionClass>}
|
|
28
|
+
* @memberof BatchUpsertClaimPositionsResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'claimPositions': Array<ClaimPositionClass>;
|
|
31
|
+
/**
|
|
32
|
+
* The totals of the claim positions.
|
|
33
|
+
* @type {CalculationTotalsClass}
|
|
34
|
+
* @memberof BatchUpsertClaimPositionsResponseClass
|
|
35
|
+
*/
|
|
36
|
+
'totals': CalculationTotalsClass;
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { ClaimPositionCalculationInputDto } from './claim-position-calculation-input-dto';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CalculateClaimPositionsRequestDto
|
|
22
|
+
*/
|
|
23
|
+
export interface CalculateClaimPositionsRequestDto {
|
|
24
|
+
/**
|
|
25
|
+
* Code of the claim.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CalculateClaimPositionsRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'claimCode': string;
|
|
30
|
+
/**
|
|
31
|
+
* Positions to calculate.
|
|
32
|
+
* @type {Array<ClaimPositionCalculationInputDto>}
|
|
33
|
+
* @memberof CalculateClaimPositionsRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'positions': Array<ClaimPositionCalculationInputDto>;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { CalculatedClaimPositionClass } from './calculated-claim-position-class';
|
|
17
|
+
import { CalculationTotalsClass } from './calculation-totals-class';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface CalculateClaimPositionsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
export interface CalculateClaimPositionsResponseClass {
|
|
25
|
+
/**
|
|
26
|
+
* The calculated claim positions.
|
|
27
|
+
* @type {Array<CalculatedClaimPositionClass>}
|
|
28
|
+
* @memberof CalculateClaimPositionsResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'calculatedClaimPositions': Array<CalculatedClaimPositionClass>;
|
|
31
|
+
/**
|
|
32
|
+
* The totals of the claim positions.
|
|
33
|
+
* @type {CalculationTotalsClass}
|
|
34
|
+
* @memberof CalculateClaimPositionsResponseClass
|
|
35
|
+
*/
|
|
36
|
+
'totals': CalculationTotalsClass;
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -0,0 +1,80 @@
|
|
|
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 CalculatedClaimPositionClass
|
|
23
|
+
*/
|
|
24
|
+
export interface CalculatedClaimPositionClass {
|
|
25
|
+
/**
|
|
26
|
+
* The code of the claim position.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CalculatedClaimPositionClass
|
|
29
|
+
*/
|
|
30
|
+
'code': string;
|
|
31
|
+
/**
|
|
32
|
+
* The order of the claim position.
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof CalculatedClaimPositionClass
|
|
35
|
+
*/
|
|
36
|
+
'order': number;
|
|
37
|
+
/**
|
|
38
|
+
* The category key of the claim position.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof CalculatedClaimPositionClass
|
|
41
|
+
*/
|
|
42
|
+
'categoryKey': string;
|
|
43
|
+
/**
|
|
44
|
+
* The cost of the claim position.
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof CalculatedClaimPositionClass
|
|
47
|
+
*/
|
|
48
|
+
'cost': number;
|
|
49
|
+
/**
|
|
50
|
+
* The reimbursement amount of the claim position.
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof CalculatedClaimPositionClass
|
|
53
|
+
*/
|
|
54
|
+
'reimbursementAmount': number;
|
|
55
|
+
/**
|
|
56
|
+
* The manual adjustment input amount of the claim position.
|
|
57
|
+
* @type {number}
|
|
58
|
+
* @memberof CalculatedClaimPositionClass
|
|
59
|
+
*/
|
|
60
|
+
'manualAdjustmentInputAmount': number;
|
|
61
|
+
/**
|
|
62
|
+
* The manual adjustment applied amount of the claim position.
|
|
63
|
+
* @type {number}
|
|
64
|
+
* @memberof CalculatedClaimPositionClass
|
|
65
|
+
*/
|
|
66
|
+
'manualAdjustmentAppliedAmount': number;
|
|
67
|
+
/**
|
|
68
|
+
* The calculation steps of the claim position.
|
|
69
|
+
* @type {Array<CalculationStepResultClass>}
|
|
70
|
+
* @memberof CalculatedClaimPositionClass
|
|
71
|
+
*/
|
|
72
|
+
'calculationSteps': Array<CalculationStepResultClass>;
|
|
73
|
+
/**
|
|
74
|
+
* The limit usage results of the claim position.
|
|
75
|
+
* @type {Array<ClaimLimitUsageResultClass>}
|
|
76
|
+
* @memberof CalculatedClaimPositionClass
|
|
77
|
+
*/
|
|
78
|
+
'limitUsageResults': Array<ClaimLimitUsageResultClass>;
|
|
79
|
+
}
|
|
80
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
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 CalculationTotalsClass
|
|
21
|
+
*/
|
|
22
|
+
export interface CalculationTotalsClass {
|
|
23
|
+
/**
|
|
24
|
+
* The total cost of the claim positions.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof CalculationTotalsClass
|
|
27
|
+
*/
|
|
28
|
+
'totalCost': number;
|
|
29
|
+
/**
|
|
30
|
+
* The total reimbursement of the claim positions.
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof CalculationTotalsClass
|
|
33
|
+
*/
|
|
34
|
+
'totalReimbursement': number;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -51,7 +51,7 @@ export interface ClaimAppliedDeductibleClass {
|
|
|
51
51
|
*/
|
|
52
52
|
'scope': ClaimAppliedDeductibleClassScopeEnum;
|
|
53
53
|
/**
|
|
54
|
-
* Selected deductible amount.
|
|
54
|
+
* Selected deductible amount for fixed and percent deductible types.
|
|
55
55
|
* @type {number}
|
|
56
56
|
* @memberof ClaimAppliedDeductibleClass
|
|
57
57
|
*/
|
package/models/claim-class.ts
CHANGED
|
@@ -117,6 +117,12 @@ export interface ClaimClass {
|
|
|
117
117
|
* @memberof ClaimClass
|
|
118
118
|
*/
|
|
119
119
|
'adjuster'?: string;
|
|
120
|
+
/**
|
|
121
|
+
* Unique identifier of the adjuster user.
|
|
122
|
+
* @type {string}
|
|
123
|
+
* @memberof ClaimClass
|
|
124
|
+
*/
|
|
125
|
+
'adjusterCode'?: string;
|
|
120
126
|
/**
|
|
121
127
|
* A claim reporter is the person who is responsible for submitting this claim to the platform. A claim reporter is not necessarily the same as the policy holder.
|
|
122
128
|
* @type {string}
|
|
@@ -159,6 +165,24 @@ export interface ClaimClass {
|
|
|
159
165
|
* @memberof ClaimClass
|
|
160
166
|
*/
|
|
161
167
|
'tariffKey': string;
|
|
168
|
+
/**
|
|
169
|
+
* The claim type selected from the tariff categories.
|
|
170
|
+
* @type {string}
|
|
171
|
+
* @memberof ClaimClass
|
|
172
|
+
*/
|
|
173
|
+
'claimType': string;
|
|
174
|
+
/**
|
|
175
|
+
* The initial total cost of all claim positions when the claim first moves from reported to open.
|
|
176
|
+
* @type {number}
|
|
177
|
+
* @memberof ClaimClass
|
|
178
|
+
*/
|
|
179
|
+
'initialCost': number;
|
|
180
|
+
/**
|
|
181
|
+
* The total approved payout amount accumulated on the claim.
|
|
182
|
+
* @type {number}
|
|
183
|
+
* @memberof ClaimClass
|
|
184
|
+
*/
|
|
185
|
+
'reimbursementAmount': number;
|
|
162
186
|
/**
|
|
163
187
|
* Applied deductibles for the claim.
|
|
164
188
|
* @type {Array<ClaimAppliedDeductibleClass>}
|
|
@@ -80,6 +80,12 @@ export interface ClaimLimitUsageClass {
|
|
|
80
80
|
* @memberof ClaimLimitUsageClass
|
|
81
81
|
*/
|
|
82
82
|
'remainingAmount': number;
|
|
83
|
+
/**
|
|
84
|
+
* Initial amount of the limit usage.
|
|
85
|
+
* @type {number}
|
|
86
|
+
* @memberof ClaimLimitUsageClass
|
|
87
|
+
*/
|
|
88
|
+
'initialAmount': number;
|
|
83
89
|
/**
|
|
84
90
|
* Latest action reason that produced the current remaining amount.
|
|
85
91
|
* @type {string}
|
|
@@ -146,6 +152,8 @@ export type ClaimLimitUsageClassPeriodEnum = typeof ClaimLimitUsageClassPeriodEn
|
|
|
146
152
|
export const ClaimLimitUsageClassReasonEnum = {
|
|
147
153
|
Initial: 'INITIAL',
|
|
148
154
|
Deduction: 'DEDUCTION',
|
|
155
|
+
Reservation: 'RESERVATION',
|
|
156
|
+
ReservationReleased: 'RESERVATION_RELEASED',
|
|
149
157
|
Reset: 'RESET'
|
|
150
158
|
} as const;
|
|
151
159
|
|