@emilgroup/claim-sdk-node 1.10.0 → 1.11.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/README.md +2 -2
- package/dist/api/claim-statuses-api.d.ts +309 -0
- package/dist/api/claim-statuses-api.js +535 -0
- package/dist/api/claims-api.d.ts +441 -0
- package/dist/api/claims-api.js +733 -0
- package/dist/api/default-api.d.ts +66 -0
- package/dist/api/default-api.js +200 -0
- package/dist/api/settlements-api.d.ts +375 -0
- package/dist/api/settlements-api.js +634 -0
- package/dist/api.d.ts +15 -0
- package/dist/api.js +33 -0
- package/dist/base.d.ts +78 -0
- package/dist/base.js +394 -0
- package/dist/common.d.ts +92 -0
- package/dist/common.js +277 -0
- package/dist/configuration.d.ts +90 -0
- package/dist/configuration.js +44 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -0
- package/dist/models/claim-class.d.ts +156 -0
- package/dist/models/claim-class.js +15 -0
- package/dist/models/claim-status-class.d.ts +36 -0
- package/dist/models/claim-status-class.js +15 -0
- package/dist/models/create-claim-request-dto.d.ts +126 -0
- package/dist/models/create-claim-request-dto.js +15 -0
- 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-claim-status-request-dto.d.ts +30 -0
- package/dist/models/create-claim-status-request-dto.js +15 -0
- package/dist/models/create-claim-status-response-class.d.ts +25 -0
- package/dist/models/create-claim-status-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/get-claim-response-class.d.ts +25 -0
- package/dist/models/get-claim-response-class.js +15 -0
- package/dist/models/get-claim-status-response-class.d.ts +25 -0
- package/dist/models/get-claim-status-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 +23 -0
- package/dist/models/index.js +39 -0
- package/dist/models/inline-response200.d.ts +54 -0
- package/dist/models/inline-response200.js +15 -0
- package/dist/models/inline-response503.d.ts +54 -0
- package/dist/models/inline-response503.js +15 -0
- package/dist/models/list-claim-statuses-response-class.d.ts +31 -0
- package/dist/models/list-claim-statuses-response-class.js +15 -0
- package/dist/models/list-claims-response-class.d.ts +31 -0
- package/dist/models/list-claims-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/patch-claim-request-dto.d.ts +120 -0
- package/dist/models/patch-claim-request-dto.js +15 -0
- package/dist/models/patch-claim-response-class.d.ts +25 -0
- package/dist/models/patch-claim-response-class.js +15 -0
- package/dist/models/settlement-class.d.ts +78 -0
- package/dist/models/settlement-class.js +15 -0
- package/dist/models/update-claim-request-dto.d.ts +120 -0
- package/dist/models/update-claim-request-dto.js +15 -0
- 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 +54 -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/models/create-claim-request-dto.ts +12 -12
- package/models/patch-claim-request-dto.ts +0 -6
- package/models/update-claim-request-dto.ts +12 -18
- package/package.json +2 -2
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
* The identifier code of the claim.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateSettlementRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'code': string;
|
|
24
|
+
/**
|
|
25
|
+
* Field to enter the insured object for settlement against a particular claim.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateSettlementRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'insuredObject': string;
|
|
30
|
+
/**
|
|
31
|
+
* Field for the estimation of the maximum amount against a claim for the insured object.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof UpdateSettlementRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'reserve': number;
|
|
36
|
+
/**
|
|
37
|
+
* Field for tracking the already paid out amounts against a claim for the insured object.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof UpdateSettlementRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'payment': number;
|
|
42
|
+
/**
|
|
43
|
+
* Field for tracking the amount to be claimed against third party.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof UpdateSettlementRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'recourse': number;
|
|
48
|
+
/**
|
|
49
|
+
* Unique identifier of the claim to which settlement belongs to.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof UpdateSettlementRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'claimCode': string;
|
|
54
|
+
}
|
|
@@ -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 });
|
|
@@ -25,13 +25,13 @@ export interface CreateClaimRequestDto {
|
|
|
25
25
|
* @type {string}
|
|
26
26
|
* @memberof CreateClaimRequestDto
|
|
27
27
|
*/
|
|
28
|
-
'claimNumber'
|
|
28
|
+
'claimNumber': string;
|
|
29
29
|
/**
|
|
30
30
|
* Field to enter the claim title.
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof CreateClaimRequestDto
|
|
33
33
|
*/
|
|
34
|
-
'title'
|
|
34
|
+
'title'?: string;
|
|
35
35
|
/**
|
|
36
36
|
* The current status of the claim.
|
|
37
37
|
* @type {string}
|
|
@@ -43,49 +43,49 @@ export interface CreateClaimRequestDto {
|
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof CreateClaimRequestDto
|
|
45
45
|
*/
|
|
46
|
-
'accountCode'
|
|
46
|
+
'accountCode'?: string;
|
|
47
47
|
/**
|
|
48
48
|
* Field for the policy number that the claim belongs to.
|
|
49
49
|
* @type {string}
|
|
50
50
|
* @memberof CreateClaimRequestDto
|
|
51
51
|
*/
|
|
52
|
-
'policyNumber'
|
|
52
|
+
'policyNumber'?: string;
|
|
53
53
|
/**
|
|
54
54
|
* Field for the policy code that the claim belongs to.
|
|
55
55
|
* @type {string}
|
|
56
56
|
* @memberof CreateClaimRequestDto
|
|
57
57
|
*/
|
|
58
|
-
'policyCode'
|
|
58
|
+
'policyCode'?: string;
|
|
59
59
|
/**
|
|
60
60
|
* Unique identifier referencing the product.
|
|
61
61
|
* @type {number}
|
|
62
62
|
* @memberof CreateClaimRequestDto
|
|
63
63
|
*/
|
|
64
|
-
'productId'
|
|
64
|
+
'productId'?: number;
|
|
65
65
|
/**
|
|
66
66
|
* Unique identifier referencing the product version.
|
|
67
67
|
* @type {number}
|
|
68
68
|
* @memberof CreateClaimRequestDto
|
|
69
69
|
*/
|
|
70
|
-
'productVersionId'
|
|
70
|
+
'productVersionId'?: number;
|
|
71
71
|
/**
|
|
72
72
|
* The name of the product.
|
|
73
73
|
* @type {string}
|
|
74
74
|
* @memberof CreateClaimRequestDto
|
|
75
75
|
*/
|
|
76
|
-
'productName'
|
|
76
|
+
'productName'?: string;
|
|
77
77
|
/**
|
|
78
78
|
* The insured object identifier that the claim is made for.
|
|
79
79
|
* @type {number}
|
|
80
80
|
* @memberof CreateClaimRequestDto
|
|
81
81
|
*/
|
|
82
|
-
'insuredObjectId'
|
|
82
|
+
'insuredObjectId'?: number;
|
|
83
83
|
/**
|
|
84
84
|
* The claim\'s description in 5000 characters.
|
|
85
85
|
* @type {string}
|
|
86
86
|
* @memberof CreateClaimRequestDto
|
|
87
87
|
*/
|
|
88
|
-
'description'
|
|
88
|
+
'description'?: string;
|
|
89
89
|
/**
|
|
90
90
|
* The adjuster of the claim. A claim adjuster investigates insurance claims by interviewing the claimant and witnesses, consulting police and hospital records, and inspecting property damage to determine the extent of the insurance company\'s liability.
|
|
91
91
|
* @type {string}
|
|
@@ -97,7 +97,7 @@ export interface CreateClaimRequestDto {
|
|
|
97
97
|
* @type {string}
|
|
98
98
|
* @memberof CreateClaimRequestDto
|
|
99
99
|
*/
|
|
100
|
-
'reporter'
|
|
100
|
+
'reporter'?: string;
|
|
101
101
|
/**
|
|
102
102
|
* The contact email of the policyholder.
|
|
103
103
|
* @type {string}
|
|
@@ -115,7 +115,7 @@ export interface CreateClaimRequestDto {
|
|
|
115
115
|
* @type {string}
|
|
116
116
|
* @memberof CreateClaimRequestDto
|
|
117
117
|
*/
|
|
118
|
-
'damageDate'
|
|
118
|
+
'damageDate': string;
|
|
119
119
|
/**
|
|
120
120
|
* The date on which the claim is reported.
|
|
121
121
|
* @type {string}
|
|
@@ -20,12 +20,6 @@
|
|
|
20
20
|
* @interface PatchClaimRequestDto
|
|
21
21
|
*/
|
|
22
22
|
export interface PatchClaimRequestDto {
|
|
23
|
-
/**
|
|
24
|
-
* Unique identifier of the claim that this object belongs to.
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof PatchClaimRequestDto
|
|
27
|
-
*/
|
|
28
|
-
'code': string;
|
|
29
23
|
/**
|
|
30
24
|
* Field to enter the claim title.
|
|
31
25
|
* @type {string}
|
|
@@ -25,61 +25,61 @@ export interface UpdateClaimRequestDto {
|
|
|
25
25
|
* @type {string}
|
|
26
26
|
* @memberof UpdateClaimRequestDto
|
|
27
27
|
*/
|
|
28
|
-
'title'
|
|
28
|
+
'title'?: string;
|
|
29
29
|
/**
|
|
30
30
|
* The current status of the claim.
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof UpdateClaimRequestDto
|
|
33
33
|
*/
|
|
34
|
-
'status'
|
|
34
|
+
'status': string;
|
|
35
35
|
/**
|
|
36
36
|
* Unique identifier of the account that the claim belongs to.
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof UpdateClaimRequestDto
|
|
39
39
|
*/
|
|
40
|
-
'accountCode'
|
|
40
|
+
'accountCode'?: string;
|
|
41
41
|
/**
|
|
42
42
|
* Field for the policy number that the claim belongs to.
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof UpdateClaimRequestDto
|
|
45
45
|
*/
|
|
46
|
-
'policyNumber'
|
|
46
|
+
'policyNumber'?: string;
|
|
47
47
|
/**
|
|
48
48
|
* Field for the policy code that the claim belongs to.
|
|
49
49
|
* @type {string}
|
|
50
50
|
* @memberof UpdateClaimRequestDto
|
|
51
51
|
*/
|
|
52
|
-
'policyCode'
|
|
52
|
+
'policyCode'?: string;
|
|
53
53
|
/**
|
|
54
54
|
* Unique identifier referencing the product.
|
|
55
55
|
* @type {number}
|
|
56
56
|
* @memberof UpdateClaimRequestDto
|
|
57
57
|
*/
|
|
58
|
-
'productId'
|
|
58
|
+
'productId'?: number;
|
|
59
59
|
/**
|
|
60
60
|
* Unique identifier referencing the product version.
|
|
61
61
|
* @type {number}
|
|
62
62
|
* @memberof UpdateClaimRequestDto
|
|
63
63
|
*/
|
|
64
|
-
'productVersionId'
|
|
64
|
+
'productVersionId'?: number;
|
|
65
65
|
/**
|
|
66
66
|
* The name of the product.
|
|
67
67
|
* @type {string}
|
|
68
68
|
* @memberof UpdateClaimRequestDto
|
|
69
69
|
*/
|
|
70
|
-
'productName'
|
|
70
|
+
'productName'?: string;
|
|
71
71
|
/**
|
|
72
72
|
* The insured object identifier that the claim is made for.
|
|
73
73
|
* @type {number}
|
|
74
74
|
* @memberof UpdateClaimRequestDto
|
|
75
75
|
*/
|
|
76
|
-
'insuredObjectId'
|
|
76
|
+
'insuredObjectId'?: number;
|
|
77
77
|
/**
|
|
78
78
|
* The claim\'s description in 5000 characters.
|
|
79
79
|
* @type {string}
|
|
80
80
|
* @memberof UpdateClaimRequestDto
|
|
81
81
|
*/
|
|
82
|
-
'description'
|
|
82
|
+
'description'?: string;
|
|
83
83
|
/**
|
|
84
84
|
* 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.
|
|
85
85
|
* @type {string}
|
|
@@ -91,7 +91,7 @@ export interface UpdateClaimRequestDto {
|
|
|
91
91
|
* @type {string}
|
|
92
92
|
* @memberof UpdateClaimRequestDto
|
|
93
93
|
*/
|
|
94
|
-
'reporter'
|
|
94
|
+
'reporter'?: string;
|
|
95
95
|
/**
|
|
96
96
|
* The contact email of the policyholder.
|
|
97
97
|
* @type {string}
|
|
@@ -109,7 +109,7 @@ export interface UpdateClaimRequestDto {
|
|
|
109
109
|
* @type {string}
|
|
110
110
|
* @memberof UpdateClaimRequestDto
|
|
111
111
|
*/
|
|
112
|
-
'damageDate'
|
|
112
|
+
'damageDate': string;
|
|
113
113
|
/**
|
|
114
114
|
* The date on which the claim is reported.
|
|
115
115
|
* @type {string}
|
|
@@ -122,11 +122,5 @@ export interface UpdateClaimRequestDto {
|
|
|
122
122
|
* @memberof UpdateClaimRequestDto
|
|
123
123
|
*/
|
|
124
124
|
'customFields'?: object;
|
|
125
|
-
/**
|
|
126
|
-
*
|
|
127
|
-
* @type {string}
|
|
128
|
-
* @memberof UpdateClaimRequestDto
|
|
129
|
-
*/
|
|
130
|
-
'code': string;
|
|
131
125
|
}
|
|
132
126
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/claim-sdk-node",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.0",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/claim-sdk-node",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"url": "^0.11.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
|
|
26
|
+
"@types/node": "^12.11.5",
|
|
27
27
|
"typescript": "^4.0"
|
|
28
28
|
}
|
|
29
29
|
}
|