@emilgroup/claim-sdk 1.9.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/models/create-claim-request-dto.d.ts +12 -12
- package/dist/models/patch-claim-request-dto.d.ts +0 -6
- package/dist/models/update-claim-request-dto.d.ts +12 -18
- 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 +1 -1
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/claim-sdk@1.
|
|
20
|
+
npm install @emilgroup/claim-sdk@1.11.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/claim-sdk@1.
|
|
24
|
+
yarn add @emilgroup/claim-sdk@1.11.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `ClaimsApi`.
|
|
@@ -20,13 +20,13 @@ export interface CreateClaimRequestDto {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof CreateClaimRequestDto
|
|
22
22
|
*/
|
|
23
|
-
'claimNumber'
|
|
23
|
+
'claimNumber': string;
|
|
24
24
|
/**
|
|
25
25
|
* Field to enter the claim title.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof CreateClaimRequestDto
|
|
28
28
|
*/
|
|
29
|
-
'title'
|
|
29
|
+
'title'?: string;
|
|
30
30
|
/**
|
|
31
31
|
* The current status of the claim.
|
|
32
32
|
* @type {string}
|
|
@@ -38,49 +38,49 @@ export interface CreateClaimRequestDto {
|
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof CreateClaimRequestDto
|
|
40
40
|
*/
|
|
41
|
-
'accountCode'
|
|
41
|
+
'accountCode'?: string;
|
|
42
42
|
/**
|
|
43
43
|
* Field for the policy number that the claim belongs to.
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof CreateClaimRequestDto
|
|
46
46
|
*/
|
|
47
|
-
'policyNumber'
|
|
47
|
+
'policyNumber'?: string;
|
|
48
48
|
/**
|
|
49
49
|
* Field for the policy code that the claim belongs to.
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof CreateClaimRequestDto
|
|
52
52
|
*/
|
|
53
|
-
'policyCode'
|
|
53
|
+
'policyCode'?: string;
|
|
54
54
|
/**
|
|
55
55
|
* Unique identifier referencing the product.
|
|
56
56
|
* @type {number}
|
|
57
57
|
* @memberof CreateClaimRequestDto
|
|
58
58
|
*/
|
|
59
|
-
'productId'
|
|
59
|
+
'productId'?: number;
|
|
60
60
|
/**
|
|
61
61
|
* Unique identifier referencing the product version.
|
|
62
62
|
* @type {number}
|
|
63
63
|
* @memberof CreateClaimRequestDto
|
|
64
64
|
*/
|
|
65
|
-
'productVersionId'
|
|
65
|
+
'productVersionId'?: number;
|
|
66
66
|
/**
|
|
67
67
|
* The name of the product.
|
|
68
68
|
* @type {string}
|
|
69
69
|
* @memberof CreateClaimRequestDto
|
|
70
70
|
*/
|
|
71
|
-
'productName'
|
|
71
|
+
'productName'?: string;
|
|
72
72
|
/**
|
|
73
73
|
* The insured object identifier that the claim is made for.
|
|
74
74
|
* @type {number}
|
|
75
75
|
* @memberof CreateClaimRequestDto
|
|
76
76
|
*/
|
|
77
|
-
'insuredObjectId'
|
|
77
|
+
'insuredObjectId'?: number;
|
|
78
78
|
/**
|
|
79
79
|
* The claim\'s description in 5000 characters.
|
|
80
80
|
* @type {string}
|
|
81
81
|
* @memberof CreateClaimRequestDto
|
|
82
82
|
*/
|
|
83
|
-
'description'
|
|
83
|
+
'description'?: string;
|
|
84
84
|
/**
|
|
85
85
|
* The adjuster of the claim. A claim adjuster investigates insurance claims by interviewing the claimant and witnesses, consulting police and hospital records, and inspecting property damage to determine the extent of the insurance company\'s liability.
|
|
86
86
|
* @type {string}
|
|
@@ -92,7 +92,7 @@ export interface CreateClaimRequestDto {
|
|
|
92
92
|
* @type {string}
|
|
93
93
|
* @memberof CreateClaimRequestDto
|
|
94
94
|
*/
|
|
95
|
-
'reporter'
|
|
95
|
+
'reporter'?: string;
|
|
96
96
|
/**
|
|
97
97
|
* The contact email of the policyholder.
|
|
98
98
|
* @type {string}
|
|
@@ -110,7 +110,7 @@ export interface CreateClaimRequestDto {
|
|
|
110
110
|
* @type {string}
|
|
111
111
|
* @memberof CreateClaimRequestDto
|
|
112
112
|
*/
|
|
113
|
-
'damageDate'
|
|
113
|
+
'damageDate': string;
|
|
114
114
|
/**
|
|
115
115
|
* The date on which the claim is reported.
|
|
116
116
|
* @type {string}
|
|
@@ -15,12 +15,6 @@
|
|
|
15
15
|
* @interface PatchClaimRequestDto
|
|
16
16
|
*/
|
|
17
17
|
export interface PatchClaimRequestDto {
|
|
18
|
-
/**
|
|
19
|
-
* Unique identifier of the claim that this object belongs to.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof PatchClaimRequestDto
|
|
22
|
-
*/
|
|
23
|
-
'code': string;
|
|
24
18
|
/**
|
|
25
19
|
* Field to enter the claim title.
|
|
26
20
|
* @type {string}
|
|
@@ -20,61 +20,61 @@ export interface UpdateClaimRequestDto {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof UpdateClaimRequestDto
|
|
22
22
|
*/
|
|
23
|
-
'title'
|
|
23
|
+
'title'?: string;
|
|
24
24
|
/**
|
|
25
25
|
* The current status of the claim.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof UpdateClaimRequestDto
|
|
28
28
|
*/
|
|
29
|
-
'status'
|
|
29
|
+
'status': string;
|
|
30
30
|
/**
|
|
31
31
|
* Unique identifier of the account that the claim belongs to.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof UpdateClaimRequestDto
|
|
34
34
|
*/
|
|
35
|
-
'accountCode'
|
|
35
|
+
'accountCode'?: string;
|
|
36
36
|
/**
|
|
37
37
|
* Field for the policy number that the claim belongs to.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof UpdateClaimRequestDto
|
|
40
40
|
*/
|
|
41
|
-
'policyNumber'
|
|
41
|
+
'policyNumber'?: string;
|
|
42
42
|
/**
|
|
43
43
|
* Field for the policy code that the claim belongs to.
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof UpdateClaimRequestDto
|
|
46
46
|
*/
|
|
47
|
-
'policyCode'
|
|
47
|
+
'policyCode'?: string;
|
|
48
48
|
/**
|
|
49
49
|
* Unique identifier referencing the product.
|
|
50
50
|
* @type {number}
|
|
51
51
|
* @memberof UpdateClaimRequestDto
|
|
52
52
|
*/
|
|
53
|
-
'productId'
|
|
53
|
+
'productId'?: number;
|
|
54
54
|
/**
|
|
55
55
|
* Unique identifier referencing the product version.
|
|
56
56
|
* @type {number}
|
|
57
57
|
* @memberof UpdateClaimRequestDto
|
|
58
58
|
*/
|
|
59
|
-
'productVersionId'
|
|
59
|
+
'productVersionId'?: number;
|
|
60
60
|
/**
|
|
61
61
|
* The name of the product.
|
|
62
62
|
* @type {string}
|
|
63
63
|
* @memberof UpdateClaimRequestDto
|
|
64
64
|
*/
|
|
65
|
-
'productName'
|
|
65
|
+
'productName'?: string;
|
|
66
66
|
/**
|
|
67
67
|
* The insured object identifier that the claim is made for.
|
|
68
68
|
* @type {number}
|
|
69
69
|
* @memberof UpdateClaimRequestDto
|
|
70
70
|
*/
|
|
71
|
-
'insuredObjectId'
|
|
71
|
+
'insuredObjectId'?: number;
|
|
72
72
|
/**
|
|
73
73
|
* The claim\'s description in 5000 characters.
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof UpdateClaimRequestDto
|
|
76
76
|
*/
|
|
77
|
-
'description'
|
|
77
|
+
'description'?: string;
|
|
78
78
|
/**
|
|
79
79
|
* 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.
|
|
80
80
|
* @type {string}
|
|
@@ -86,7 +86,7 @@ export interface UpdateClaimRequestDto {
|
|
|
86
86
|
* @type {string}
|
|
87
87
|
* @memberof UpdateClaimRequestDto
|
|
88
88
|
*/
|
|
89
|
-
'reporter'
|
|
89
|
+
'reporter'?: string;
|
|
90
90
|
/**
|
|
91
91
|
* The contact email of the policyholder.
|
|
92
92
|
* @type {string}
|
|
@@ -104,7 +104,7 @@ export interface UpdateClaimRequestDto {
|
|
|
104
104
|
* @type {string}
|
|
105
105
|
* @memberof UpdateClaimRequestDto
|
|
106
106
|
*/
|
|
107
|
-
'damageDate'
|
|
107
|
+
'damageDate': string;
|
|
108
108
|
/**
|
|
109
109
|
* The date on which the claim is reported.
|
|
110
110
|
* @type {string}
|
|
@@ -117,10 +117,4 @@ export interface UpdateClaimRequestDto {
|
|
|
117
117
|
* @memberof UpdateClaimRequestDto
|
|
118
118
|
*/
|
|
119
119
|
'customFields'?: object;
|
|
120
|
-
/**
|
|
121
|
-
*
|
|
122
|
-
* @type {string}
|
|
123
|
-
* @memberof UpdateClaimRequestDto
|
|
124
|
-
*/
|
|
125
|
-
'code': string;
|
|
126
120
|
}
|
|
@@ -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
|
|