@emilgroup/customer-sdk-node 1.25.0 → 1.26.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
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/customer-sdk-node@1.
|
|
20
|
+
npm install @emilgroup/customer-sdk-node@1.26.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/customer-sdk-node@1.
|
|
24
|
+
yarn add @emilgroup/customer-sdk-node@1.26.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `CustomersApi`.
|
package/models/claim-class.ts
CHANGED
|
@@ -37,7 +37,7 @@ export interface ClaimClass {
|
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof ClaimClass
|
|
39
39
|
*/
|
|
40
|
-
'title'
|
|
40
|
+
'title'?: string;
|
|
41
41
|
/**
|
|
42
42
|
* Unique number assigned to the claim.
|
|
43
43
|
* @type {string}
|
|
@@ -91,37 +91,37 @@ export interface ClaimClass {
|
|
|
91
91
|
* @type {number}
|
|
92
92
|
* @memberof ClaimClass
|
|
93
93
|
*/
|
|
94
|
-
'insuredObjectId'
|
|
94
|
+
'insuredObjectId'?: number;
|
|
95
95
|
/**
|
|
96
96
|
* claim description
|
|
97
97
|
* @type {string}
|
|
98
98
|
* @memberof ClaimClass
|
|
99
99
|
*/
|
|
100
|
-
'description'
|
|
100
|
+
'description'?: string;
|
|
101
101
|
/**
|
|
102
102
|
* 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.
|
|
103
103
|
* @type {string}
|
|
104
104
|
* @memberof ClaimClass
|
|
105
105
|
*/
|
|
106
|
-
'adjuster'
|
|
106
|
+
'adjuster'?: string;
|
|
107
107
|
/**
|
|
108
108
|
* 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.
|
|
109
109
|
* @type {string}
|
|
110
110
|
* @memberof ClaimClass
|
|
111
111
|
*/
|
|
112
|
-
'reporter'
|
|
112
|
+
'reporter'?: string;
|
|
113
113
|
/**
|
|
114
114
|
* Contact phone number
|
|
115
115
|
* @type {string}
|
|
116
116
|
* @memberof ClaimClass
|
|
117
117
|
*/
|
|
118
|
-
'contactPhone'
|
|
118
|
+
'contactPhone'?: string;
|
|
119
119
|
/**
|
|
120
120
|
* Contact email address
|
|
121
121
|
* @type {string}
|
|
122
122
|
* @memberof ClaimClass
|
|
123
123
|
*/
|
|
124
|
-
'contactEmail'
|
|
124
|
+
'contactEmail'?: string;
|
|
125
125
|
/**
|
|
126
126
|
* The date on which the actual damage happened
|
|
127
127
|
* @type {string}
|
|
@@ -134,6 +134,12 @@ export interface ClaimClass {
|
|
|
134
134
|
* @memberof ClaimClass
|
|
135
135
|
*/
|
|
136
136
|
'notificationDate': string;
|
|
137
|
+
/**
|
|
138
|
+
* Tenant specific custom fields for claims (e.g. IMEI, Serial Number, etc.)
|
|
139
|
+
* @type {object}
|
|
140
|
+
* @memberof ClaimClass
|
|
141
|
+
*/
|
|
142
|
+
'customFields'?: object;
|
|
137
143
|
/**
|
|
138
144
|
* Emil Resources Names (ERN) identifies the most specific owner of a resource.
|
|
139
145
|
* @type {string}
|
|
@@ -157,6 +163,6 @@ export interface ClaimClass {
|
|
|
157
163
|
* @type {string}
|
|
158
164
|
* @memberof ClaimClass
|
|
159
165
|
*/
|
|
160
|
-
'organizationName'
|
|
166
|
+
'organizationName'?: string;
|
|
161
167
|
}
|
|
162
168
|
|
|
@@ -25,7 +25,7 @@ export interface CreateCustomerClaimRequestDto {
|
|
|
25
25
|
* @type {string}
|
|
26
26
|
* @memberof CreateCustomerClaimRequestDto
|
|
27
27
|
*/
|
|
28
|
-
'title'
|
|
28
|
+
'title'?: string;
|
|
29
29
|
/**
|
|
30
30
|
* Unique number assigned to the claim.
|
|
31
31
|
* @type {string}
|
|
@@ -37,43 +37,43 @@ export interface CreateCustomerClaimRequestDto {
|
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof CreateCustomerClaimRequestDto
|
|
39
39
|
*/
|
|
40
|
-
'policyNumber'
|
|
40
|
+
'policyNumber'?: string;
|
|
41
41
|
/**
|
|
42
42
|
* Field for the policy code that the claim belongs to.
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof CreateCustomerClaimRequestDto
|
|
45
45
|
*/
|
|
46
|
-
'policyCode'
|
|
46
|
+
'policyCode'?: string;
|
|
47
47
|
/**
|
|
48
48
|
* Unique identifier of the product that the claim is made against
|
|
49
49
|
* @type {number}
|
|
50
50
|
* @memberof CreateCustomerClaimRequestDto
|
|
51
51
|
*/
|
|
52
|
-
'productId'
|
|
52
|
+
'productId'?: number;
|
|
53
53
|
/**
|
|
54
54
|
* Unique identifier for the specific version of the product
|
|
55
55
|
* @type {number}
|
|
56
56
|
* @memberof CreateCustomerClaimRequestDto
|
|
57
57
|
*/
|
|
58
|
-
'productVersionId'
|
|
58
|
+
'productVersionId'?: number;
|
|
59
59
|
/**
|
|
60
60
|
* The name of the product
|
|
61
61
|
* @type {string}
|
|
62
62
|
* @memberof CreateCustomerClaimRequestDto
|
|
63
63
|
*/
|
|
64
|
-
'productName'
|
|
64
|
+
'productName'?: string;
|
|
65
65
|
/**
|
|
66
66
|
* The unique identifier of the insured object that the claim is made for
|
|
67
67
|
* @type {number}
|
|
68
68
|
* @memberof CreateCustomerClaimRequestDto
|
|
69
69
|
*/
|
|
70
|
-
'insuredObjectId'
|
|
70
|
+
'insuredObjectId'?: number;
|
|
71
71
|
/**
|
|
72
72
|
* The claim\'s description in 5000 characters.
|
|
73
73
|
* @type {string}
|
|
74
74
|
* @memberof CreateCustomerClaimRequestDto
|
|
75
75
|
*/
|
|
76
|
-
'description'
|
|
76
|
+
'description'?: string;
|
|
77
77
|
/**
|
|
78
78
|
* 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.
|
|
79
79
|
* @type {string}
|
|
@@ -85,7 +85,7 @@ export interface CreateCustomerClaimRequestDto {
|
|
|
85
85
|
* @type {string}
|
|
86
86
|
* @memberof CreateCustomerClaimRequestDto
|
|
87
87
|
*/
|
|
88
|
-
'reporter'
|
|
88
|
+
'reporter'?: string;
|
|
89
89
|
/**
|
|
90
90
|
* The contact email of the policyholder.
|
|
91
91
|
* @type {string}
|
package/models/lead-class.ts
CHANGED
|
@@ -20,60 +20,54 @@
|
|
|
20
20
|
* @interface UpdateCustomerClaimRequestDto
|
|
21
21
|
*/
|
|
22
22
|
export interface UpdateCustomerClaimRequestDto {
|
|
23
|
-
/**
|
|
24
|
-
* Unique identifier of the claim that this object belongs to.
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof UpdateCustomerClaimRequestDto
|
|
27
|
-
*/
|
|
28
|
-
'code': string;
|
|
29
23
|
/**
|
|
30
24
|
* Field to enter the claim title.
|
|
31
25
|
* @type {string}
|
|
32
26
|
* @memberof UpdateCustomerClaimRequestDto
|
|
33
27
|
*/
|
|
34
|
-
'title'
|
|
28
|
+
'title'?: string;
|
|
35
29
|
/**
|
|
36
30
|
* Field for the policy number that the claim belongs to.
|
|
37
31
|
* @type {string}
|
|
38
32
|
* @memberof UpdateCustomerClaimRequestDto
|
|
39
33
|
*/
|
|
40
|
-
'policyNumber'
|
|
34
|
+
'policyNumber'?: string;
|
|
41
35
|
/**
|
|
42
36
|
* Field for the policy code that the claim belongs to.
|
|
43
37
|
* @type {string}
|
|
44
38
|
* @memberof UpdateCustomerClaimRequestDto
|
|
45
39
|
*/
|
|
46
|
-
'policyCode'
|
|
40
|
+
'policyCode'?: string;
|
|
47
41
|
/**
|
|
48
42
|
* Unique identifier of the product that the claim is made against
|
|
49
43
|
* @type {number}
|
|
50
44
|
* @memberof UpdateCustomerClaimRequestDto
|
|
51
45
|
*/
|
|
52
|
-
'productId'
|
|
46
|
+
'productId'?: number;
|
|
53
47
|
/**
|
|
54
48
|
* Unique identifier for the specific version of the product
|
|
55
49
|
* @type {number}
|
|
56
50
|
* @memberof UpdateCustomerClaimRequestDto
|
|
57
51
|
*/
|
|
58
|
-
'productVersionId'
|
|
52
|
+
'productVersionId'?: number;
|
|
59
53
|
/**
|
|
60
54
|
* The name of the product
|
|
61
55
|
* @type {string}
|
|
62
56
|
* @memberof UpdateCustomerClaimRequestDto
|
|
63
57
|
*/
|
|
64
|
-
'productName'
|
|
58
|
+
'productName'?: string;
|
|
65
59
|
/**
|
|
66
60
|
* The unique identifier of the insured object that the claim is made for
|
|
67
61
|
* @type {number}
|
|
68
62
|
* @memberof UpdateCustomerClaimRequestDto
|
|
69
63
|
*/
|
|
70
|
-
'insuredObjectId'
|
|
64
|
+
'insuredObjectId'?: number;
|
|
71
65
|
/**
|
|
72
66
|
* The claim\'s description in 5000 characters.
|
|
73
67
|
* @type {string}
|
|
74
68
|
* @memberof UpdateCustomerClaimRequestDto
|
|
75
69
|
*/
|
|
76
|
-
'description'
|
|
70
|
+
'description'?: string;
|
|
77
71
|
/**
|
|
78
72
|
* 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.
|
|
79
73
|
* @type {string}
|
|
@@ -85,7 +79,7 @@ export interface UpdateCustomerClaimRequestDto {
|
|
|
85
79
|
* @type {string}
|
|
86
80
|
* @memberof UpdateCustomerClaimRequestDto
|
|
87
81
|
*/
|
|
88
|
-
'reporter'
|
|
82
|
+
'reporter'?: string;
|
|
89
83
|
/**
|
|
90
84
|
* The contact email of the policyholder.
|
|
91
85
|
* @type {string}
|