@emilgroup/claim-sdk-node 1.3.0 → 1.3.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.
- package/.openapi-generator/FILES +15 -0
- package/README.md +2 -2
- package/api/claims-api.ts +182 -61
- package/api/settlements-api.ts +760 -0
- package/api.ts +3 -1
- package/base.ts +2 -2
- package/common.ts +2 -2
- package/configuration.ts +1 -1
- package/dist/api/claims-api.d.ts +110 -50
- package/dist/api/claims-api.js +145 -44
- package/dist/api/settlements-api.d.ts +430 -0
- package/dist/api/settlements-api.js +681 -0
- package/dist/api.d.ts +2 -1
- package/dist/api.js +2 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +2 -2
- package/dist/common.d.ts +2 -2
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/models/claim-class.d.ts +138 -0
- package/dist/models/claim-class.js +15 -0
- package/dist/models/create-claim-request-dto.d.ts +7 -7
- package/dist/models/create-claim-request-dto.js +1 -1
- package/dist/models/create-claim-response-class.d.ts +25 -0
- package/dist/models/create-claim-response-class.js +15 -0
- package/dist/models/create-settlement-request-dto.d.ts +48 -0
- package/dist/models/create-settlement-request-dto.js +15 -0
- package/dist/models/create-settlement-response-class.d.ts +25 -0
- package/dist/models/create-settlement-response-class.js +15 -0
- package/dist/models/delete-response-class.d.ts +24 -0
- package/dist/models/delete-response-class.js +15 -0
- package/dist/models/delete-settlement-request-dto.d.ts +30 -0
- package/dist/models/delete-settlement-request-dto.js +15 -0
- package/dist/models/get-claim-response-class.d.ts +25 -0
- package/dist/models/get-claim-response-class.js +15 -0
- package/dist/models/get-settlement-response-class.d.ts +25 -0
- package/dist/models/get-settlement-response-class.js +15 -0
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +14 -0
- package/dist/models/list-claim-response-class.d.ts +31 -0
- package/dist/models/list-claim-response-class.js +15 -0
- package/dist/models/list-settlements-response-class.d.ts +31 -0
- package/dist/models/list-settlements-response-class.js +15 -0
- package/dist/models/settlement-class.d.ts +72 -0
- package/dist/models/settlement-class.js +15 -0
- package/dist/models/update-claim-request-dto.d.ts +7 -7
- package/dist/models/update-claim-request-dto.js +1 -1
- package/dist/models/update-claim-response-class.d.ts +25 -0
- package/dist/models/update-claim-response-class.js +15 -0
- package/dist/models/update-settlement-request-dto.d.ts +48 -0
- package/dist/models/update-settlement-request-dto.js +15 -0
- package/dist/models/update-settlement-response-class.d.ts +25 -0
- package/dist/models/update-settlement-response-class.js +15 -0
- package/index.ts +1 -1
- package/models/claim-class.ts +144 -0
- package/models/create-claim-request-dto.ts +7 -7
- package/models/create-claim-response-class.ts +31 -0
- package/models/create-settlement-request-dto.ts +54 -0
- package/models/create-settlement-response-class.ts +31 -0
- package/models/delete-response-class.ts +30 -0
- package/models/delete-settlement-request-dto.ts +36 -0
- package/models/get-claim-response-class.ts +31 -0
- package/models/get-settlement-response-class.ts +31 -0
- package/models/index.ts +14 -0
- package/models/list-claim-response-class.ts +37 -0
- package/models/list-settlements-response-class.ts +37 -0
- package/models/settlement-class.ts +78 -0
- package/models/update-claim-request-dto.ts +7 -7
- package/models/update-claim-response-class.ts +31 -0
- package/models/update-settlement-request-dto.ts +54 -0
- package/models/update-settlement-response-class.ts +31 -0
- package/package.json +1 -1
package/dist/models/index.d.ts
CHANGED
|
@@ -1,2 +1,16 @@
|
|
|
1
|
+
export * from './claim-class';
|
|
1
2
|
export * from './create-claim-request-dto';
|
|
3
|
+
export * from './create-claim-response-class';
|
|
4
|
+
export * from './create-settlement-request-dto';
|
|
5
|
+
export * from './create-settlement-response-class';
|
|
6
|
+
export * from './delete-response-class';
|
|
7
|
+
export * from './delete-settlement-request-dto';
|
|
8
|
+
export * from './get-claim-response-class';
|
|
9
|
+
export * from './get-settlement-response-class';
|
|
10
|
+
export * from './list-claim-response-class';
|
|
11
|
+
export * from './list-settlements-response-class';
|
|
12
|
+
export * from './settlement-class';
|
|
2
13
|
export * from './update-claim-request-dto';
|
|
14
|
+
export * from './update-claim-response-class';
|
|
15
|
+
export * from './update-settlement-request-dto';
|
|
16
|
+
export * from './update-settlement-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -14,5 +14,19 @@ 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("./claim-class"), exports);
|
|
17
18
|
__exportStar(require("./create-claim-request-dto"), exports);
|
|
19
|
+
__exportStar(require("./create-claim-response-class"), exports);
|
|
20
|
+
__exportStar(require("./create-settlement-request-dto"), exports);
|
|
21
|
+
__exportStar(require("./create-settlement-response-class"), exports);
|
|
22
|
+
__exportStar(require("./delete-response-class"), exports);
|
|
23
|
+
__exportStar(require("./delete-settlement-request-dto"), exports);
|
|
24
|
+
__exportStar(require("./get-claim-response-class"), exports);
|
|
25
|
+
__exportStar(require("./get-settlement-response-class"), exports);
|
|
26
|
+
__exportStar(require("./list-claim-response-class"), exports);
|
|
27
|
+
__exportStar(require("./list-settlements-response-class"), exports);
|
|
28
|
+
__exportStar(require("./settlement-class"), exports);
|
|
18
29
|
__exportStar(require("./update-claim-request-dto"), exports);
|
|
30
|
+
__exportStar(require("./update-claim-response-class"), exports);
|
|
31
|
+
__exportStar(require("./update-settlement-request-dto"), exports);
|
|
32
|
+
__exportStar(require("./update-settlement-response-class"), exports);
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { ClaimClass } from './claim-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListClaimResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListClaimResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The list of claims.
|
|
21
|
+
* @type {Array<ClaimClass>}
|
|
22
|
+
* @memberof ListClaimResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<ClaimClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListClaimResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
}
|
|
@@ -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,31 @@
|
|
|
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 { SettlementClass } from './settlement-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListSettlementsResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListSettlementsResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The list of settlements.
|
|
21
|
+
* @type {Array<SettlementClass>}
|
|
22
|
+
* @memberof ListSettlementsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<SettlementClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListSettlementsResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
}
|
|
@@ -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,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 SettlementClass
|
|
16
|
+
*/
|
|
17
|
+
export interface SettlementClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof SettlementClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier for the object.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SettlementClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
* Field to enter the insured object for settlement against a particular claim.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SettlementClass
|
|
34
|
+
*/
|
|
35
|
+
'insuredObject': string;
|
|
36
|
+
/**
|
|
37
|
+
* Field for the estimation of the maximum amount against a claim for the insured object.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof SettlementClass
|
|
40
|
+
*/
|
|
41
|
+
'reserve': number;
|
|
42
|
+
/**
|
|
43
|
+
* Field for tracking the already paid out amounts against a claim for the insured object.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof SettlementClass
|
|
46
|
+
*/
|
|
47
|
+
'payment': number;
|
|
48
|
+
/**
|
|
49
|
+
* Field for tracking the amount to be claimed against third party.
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof SettlementClass
|
|
52
|
+
*/
|
|
53
|
+
'recourse': number;
|
|
54
|
+
/**
|
|
55
|
+
* Unique identifier of the claim to which settlement belongs to.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof SettlementClass
|
|
58
|
+
*/
|
|
59
|
+
'claimCode': string;
|
|
60
|
+
/**
|
|
61
|
+
* Time at which the object was created.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof SettlementClass
|
|
64
|
+
*/
|
|
65
|
+
'createdAt': string;
|
|
66
|
+
/**
|
|
67
|
+
* Time at which the object was updated.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof SettlementClass
|
|
70
|
+
*/
|
|
71
|
+
'updatedAt': string;
|
|
72
|
+
}
|
|
@@ -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 });
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* The EMIL ClaimService API description
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -40,25 +40,25 @@ export interface UpdateClaimRequestDto {
|
|
|
40
40
|
*/
|
|
41
41
|
'policyCode': string;
|
|
42
42
|
/**
|
|
43
|
-
* Unique identifier
|
|
43
|
+
* Unique identifier referencing the product.
|
|
44
44
|
* @type {number}
|
|
45
45
|
* @memberof UpdateClaimRequestDto
|
|
46
46
|
*/
|
|
47
47
|
'productId': number;
|
|
48
48
|
/**
|
|
49
|
-
* Unique identifier
|
|
49
|
+
* Unique identifier referencing the product version.
|
|
50
50
|
* @type {number}
|
|
51
51
|
* @memberof UpdateClaimRequestDto
|
|
52
52
|
*/
|
|
53
53
|
'productVersionId': number;
|
|
54
54
|
/**
|
|
55
|
-
* The name of the product
|
|
55
|
+
* The name of the product.
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof UpdateClaimRequestDto
|
|
58
58
|
*/
|
|
59
59
|
'productName': string;
|
|
60
60
|
/**
|
|
61
|
-
* The
|
|
61
|
+
* The insured object identifier that the claim is made for.
|
|
62
62
|
* @type {number}
|
|
63
63
|
* @memberof UpdateClaimRequestDto
|
|
64
64
|
*/
|
|
@@ -100,13 +100,13 @@ export interface UpdateClaimRequestDto {
|
|
|
100
100
|
*/
|
|
101
101
|
'damageDate': string;
|
|
102
102
|
/**
|
|
103
|
-
* The date on which the claim is reported
|
|
103
|
+
* The date on which the claim is reported.
|
|
104
104
|
* @type {string}
|
|
105
105
|
* @memberof UpdateClaimRequestDto
|
|
106
106
|
*/
|
|
107
107
|
'notificationDate': string;
|
|
108
108
|
/**
|
|
109
|
-
* Tenant specific custom fields for claims (e.g. IMEI, Serial Number, etc.)
|
|
109
|
+
* Tenant specific custom fields for claims (e.g. IMEI, Serial Number, etc.).
|
|
110
110
|
* @type {object}
|
|
111
111
|
* @memberof UpdateClaimRequestDto
|
|
112
112
|
*/
|
|
@@ -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 { ClaimClass } from './claim-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdateClaimResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateClaimResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Claim
|
|
21
|
+
* @type {ClaimClass}
|
|
22
|
+
* @memberof UpdateClaimResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'claim': ClaimClass;
|
|
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 });
|
|
@@ -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 UpdateSettlementRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateSettlementRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Field to enter the insured object for settlement against a particular claim.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateSettlementRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'insuredObject': string;
|
|
24
|
+
/**
|
|
25
|
+
* Field for the estimation of the maximum amount against a claim for the insured object.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof UpdateSettlementRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'reserve': number;
|
|
30
|
+
/**
|
|
31
|
+
* Field for tracking the already paid out amounts against a claim for the insured object.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof UpdateSettlementRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'payment': number;
|
|
36
|
+
/**
|
|
37
|
+
* Field for tracking the amount to be claimed against third party.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof UpdateSettlementRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'recourse': number;
|
|
42
|
+
/**
|
|
43
|
+
* Unique identifier of the claim to which settlement belongs to.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof UpdateSettlementRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'claimCode': string;
|
|
48
|
+
}
|
|
@@ -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 { SettlementClass } from './settlement-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdateSettlementResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateSettlementResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Settlement
|
|
21
|
+
* @type {SettlementClass}
|
|
22
|
+
* @memberof UpdateSettlementResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'settlement': SettlementClass;
|
|
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 });
|
package/index.ts
CHANGED
|
@@ -0,0 +1,144 @@
|
|
|
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 ClaimClass
|
|
21
|
+
*/
|
|
22
|
+
export interface ClaimClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof ClaimClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier for the object.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ClaimClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* Title of the claim.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof ClaimClass
|
|
39
|
+
*/
|
|
40
|
+
'title': string;
|
|
41
|
+
/**
|
|
42
|
+
* Unique identifier of the account that the claim belongs to.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof ClaimClass
|
|
45
|
+
*/
|
|
46
|
+
'accountCode': string;
|
|
47
|
+
/**
|
|
48
|
+
* Field for the policy code that the claim belongs to.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof ClaimClass
|
|
51
|
+
*/
|
|
52
|
+
'policyCode': string;
|
|
53
|
+
/**
|
|
54
|
+
* The policy number that the claim belongs to
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof ClaimClass
|
|
57
|
+
*/
|
|
58
|
+
'policyNumber': string;
|
|
59
|
+
/**
|
|
60
|
+
* Unique identifier referencing the product.
|
|
61
|
+
* @type {number}
|
|
62
|
+
* @memberof ClaimClass
|
|
63
|
+
*/
|
|
64
|
+
'productId': number;
|
|
65
|
+
/**
|
|
66
|
+
* Unique identifier referencing the product version.
|
|
67
|
+
* @type {number}
|
|
68
|
+
* @memberof ClaimClass
|
|
69
|
+
*/
|
|
70
|
+
'productVersionId': number;
|
|
71
|
+
/**
|
|
72
|
+
* The name of the product.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof ClaimClass
|
|
75
|
+
*/
|
|
76
|
+
'productName': string;
|
|
77
|
+
/**
|
|
78
|
+
* The insured object identifier that the claim is made for.
|
|
79
|
+
* @type {number}
|
|
80
|
+
* @memberof ClaimClass
|
|
81
|
+
*/
|
|
82
|
+
'insuredObjectId': number;
|
|
83
|
+
/**
|
|
84
|
+
* Claim description.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof ClaimClass
|
|
87
|
+
*/
|
|
88
|
+
'description': string;
|
|
89
|
+
/**
|
|
90
|
+
* 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.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof ClaimClass
|
|
93
|
+
*/
|
|
94
|
+
'adjuster'?: string;
|
|
95
|
+
/**
|
|
96
|
+
* 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.
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof ClaimClass
|
|
99
|
+
*/
|
|
100
|
+
'reporter': string;
|
|
101
|
+
/**
|
|
102
|
+
* Contact phone number.
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof ClaimClass
|
|
105
|
+
*/
|
|
106
|
+
'contactPhone'?: string;
|
|
107
|
+
/**
|
|
108
|
+
* Contact email address.
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof ClaimClass
|
|
111
|
+
*/
|
|
112
|
+
'contactEmail'?: string;
|
|
113
|
+
/**
|
|
114
|
+
* The date on which the actual damage happened.
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof ClaimClass
|
|
117
|
+
*/
|
|
118
|
+
'damageDate': string;
|
|
119
|
+
/**
|
|
120
|
+
* The date on which the damage was reported.
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof ClaimClass
|
|
123
|
+
*/
|
|
124
|
+
'notificationDate': string;
|
|
125
|
+
/**
|
|
126
|
+
* Tenant specific custom fields for claims (e.g. IMEI, Serial Number, etc.)
|
|
127
|
+
* @type {object}
|
|
128
|
+
* @memberof ClaimClass
|
|
129
|
+
*/
|
|
130
|
+
'customFields'?: object;
|
|
131
|
+
/**
|
|
132
|
+
* Time at which the object was created.
|
|
133
|
+
* @type {string}
|
|
134
|
+
* @memberof ClaimClass
|
|
135
|
+
*/
|
|
136
|
+
'createdAt': string;
|
|
137
|
+
/**
|
|
138
|
+
* Time at which the object was updated.
|
|
139
|
+
* @type {string}
|
|
140
|
+
* @memberof ClaimClass
|
|
141
|
+
*/
|
|
142
|
+
'updatedAt': string;
|
|
143
|
+
}
|
|
144
|
+
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* The EMIL ClaimService API description
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -45,25 +45,25 @@ export interface CreateClaimRequestDto {
|
|
|
45
45
|
*/
|
|
46
46
|
'policyCode': string;
|
|
47
47
|
/**
|
|
48
|
-
* Unique identifier
|
|
48
|
+
* Unique identifier referencing the product.
|
|
49
49
|
* @type {number}
|
|
50
50
|
* @memberof CreateClaimRequestDto
|
|
51
51
|
*/
|
|
52
52
|
'productId': number;
|
|
53
53
|
/**
|
|
54
|
-
* Unique identifier
|
|
54
|
+
* Unique identifier referencing the product version.
|
|
55
55
|
* @type {number}
|
|
56
56
|
* @memberof CreateClaimRequestDto
|
|
57
57
|
*/
|
|
58
58
|
'productVersionId': number;
|
|
59
59
|
/**
|
|
60
|
-
* The name of the product
|
|
60
|
+
* The name of the product.
|
|
61
61
|
* @type {string}
|
|
62
62
|
* @memberof CreateClaimRequestDto
|
|
63
63
|
*/
|
|
64
64
|
'productName': string;
|
|
65
65
|
/**
|
|
66
|
-
* The
|
|
66
|
+
* The insured object identifier that the claim is made for.
|
|
67
67
|
* @type {number}
|
|
68
68
|
* @memberof CreateClaimRequestDto
|
|
69
69
|
*/
|
|
@@ -105,13 +105,13 @@ export interface CreateClaimRequestDto {
|
|
|
105
105
|
*/
|
|
106
106
|
'damageDate': string;
|
|
107
107
|
/**
|
|
108
|
-
* The date on which the claim is reported
|
|
108
|
+
* The date on which the claim is reported.
|
|
109
109
|
* @type {string}
|
|
110
110
|
* @memberof CreateClaimRequestDto
|
|
111
111
|
*/
|
|
112
112
|
'notificationDate': string;
|
|
113
113
|
/**
|
|
114
|
-
* Tenant specific custom fields for claims (e.g. IMEI, Serial Number, etc.)
|
|
114
|
+
* Tenant specific custom fields for claims (e.g. IMEI, Serial Number, etc.).
|
|
115
115
|
* @type {object}
|
|
116
116
|
* @memberof CreateClaimRequestDto
|
|
117
117
|
*/
|
|
@@ -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 { ClaimClass } from './claim-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateClaimResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateClaimResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Claim
|
|
26
|
+
* @type {ClaimClass}
|
|
27
|
+
* @memberof CreateClaimResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'claim': ClaimClass;
|
|
30
|
+
}
|
|
31
|
+
|