@emilgroup/customer-sdk-node 1.26.1 → 1.32.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/claim-class.d.ts +13 -1
- package/dist/models/create-customer-claim-request-dto.d.ts +8 -2
- package/dist/models/customer-document-class.d.ts +6 -0
- package/dist/models/update-customer-claim-request-dto.d.ts +8 -2
- package/models/claim-class.ts +13 -1
- package/models/create-customer-claim-request-dto.ts +8 -2
- package/models/customer-document-class.ts +6 -0
- package/models/update-customer-claim-request-dto.ts +8 -2
- 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/customer-sdk-node@1.
|
|
20
|
+
npm install @emilgroup/customer-sdk-node@1.32.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.32.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `CustomersApi`.
|
|
@@ -87,6 +87,12 @@ export interface ClaimClass {
|
|
|
87
87
|
* @memberof ClaimClass
|
|
88
88
|
*/
|
|
89
89
|
'insuredObjectId'?: number;
|
|
90
|
+
/**
|
|
91
|
+
* The policy object code that the claim is made for
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof ClaimClass
|
|
94
|
+
*/
|
|
95
|
+
'policyObjectCode'?: string;
|
|
90
96
|
/**
|
|
91
97
|
* claim description
|
|
92
98
|
* @type {string}
|
|
@@ -94,7 +100,7 @@ export interface ClaimClass {
|
|
|
94
100
|
*/
|
|
95
101
|
'description'?: string;
|
|
96
102
|
/**
|
|
97
|
-
* A claim adjuster investigates insurance claims by interviewing the claimant and witnesses,
|
|
103
|
+
* 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.
|
|
98
104
|
* @type {string}
|
|
99
105
|
* @memberof ClaimClass
|
|
100
106
|
*/
|
|
@@ -159,4 +165,10 @@ export interface ClaimClass {
|
|
|
159
165
|
* @memberof ClaimClass
|
|
160
166
|
*/
|
|
161
167
|
'organizationName'?: string;
|
|
168
|
+
/**
|
|
169
|
+
* Partners related to the claim.
|
|
170
|
+
* @type {Array<string>}
|
|
171
|
+
* @memberof ClaimClass
|
|
172
|
+
*/
|
|
173
|
+
'claimPartners'?: Array<string>;
|
|
162
174
|
}
|
|
@@ -63,6 +63,12 @@ export interface CreateCustomerClaimRequestDto {
|
|
|
63
63
|
* @memberof CreateCustomerClaimRequestDto
|
|
64
64
|
*/
|
|
65
65
|
'insuredObjectId'?: number;
|
|
66
|
+
/**
|
|
67
|
+
* The unique code of the policy object that the claim is made for
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof CreateCustomerClaimRequestDto
|
|
70
|
+
*/
|
|
71
|
+
'policyObjectCode'?: string;
|
|
66
72
|
/**
|
|
67
73
|
* The claim\'s description in 5000 characters.
|
|
68
74
|
* @type {string}
|
|
@@ -70,13 +76,13 @@ export interface CreateCustomerClaimRequestDto {
|
|
|
70
76
|
*/
|
|
71
77
|
'description'?: string;
|
|
72
78
|
/**
|
|
73
|
-
* The adjuster of the claim. A claim adjuster investigates insurance claims by interviewing the claimant and witnesses, consulting police and
|
|
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.
|
|
74
80
|
* @type {string}
|
|
75
81
|
* @memberof CreateCustomerClaimRequestDto
|
|
76
82
|
*/
|
|
77
83
|
'adjuster'?: string;
|
|
78
84
|
/**
|
|
79
|
-
* A claim reporter is responsible for submitting this claim to the platform.
|
|
85
|
+
* A claim reporter is responsible for submitting this claim to the platform. A claim reporter is not necessarily the same as the policy holder.
|
|
80
86
|
* @type {string}
|
|
81
87
|
* @memberof CreateCustomerClaimRequestDto
|
|
82
88
|
*/
|
|
@@ -39,6 +39,12 @@ export interface CustomerDocumentClass {
|
|
|
39
39
|
* @memberof CustomerDocumentClass
|
|
40
40
|
*/
|
|
41
41
|
'policyCode': string;
|
|
42
|
+
/**
|
|
43
|
+
* Lead code
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CustomerDocumentClass
|
|
46
|
+
*/
|
|
47
|
+
'leadCode': string;
|
|
42
48
|
/**
|
|
43
49
|
* Account code
|
|
44
50
|
* @type {string}
|
|
@@ -57,6 +57,12 @@ export interface UpdateCustomerClaimRequestDto {
|
|
|
57
57
|
* @memberof UpdateCustomerClaimRequestDto
|
|
58
58
|
*/
|
|
59
59
|
'insuredObjectId'?: number;
|
|
60
|
+
/**
|
|
61
|
+
* The unique code of the policy object that the claim is made for
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
64
|
+
*/
|
|
65
|
+
'policyObjectCode'?: string;
|
|
60
66
|
/**
|
|
61
67
|
* The claim\'s description in 5000 characters.
|
|
62
68
|
* @type {string}
|
|
@@ -64,13 +70,13 @@ export interface UpdateCustomerClaimRequestDto {
|
|
|
64
70
|
*/
|
|
65
71
|
'description'?: string;
|
|
66
72
|
/**
|
|
67
|
-
* The adjuster of the claim. A claim adjuster investigates insurance claims by interviewing the claimant and witnesses, consulting police and
|
|
73
|
+
* 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.
|
|
68
74
|
* @type {string}
|
|
69
75
|
* @memberof UpdateCustomerClaimRequestDto
|
|
70
76
|
*/
|
|
71
77
|
'adjuster'?: string;
|
|
72
78
|
/**
|
|
73
|
-
* A claim reporter is responsible for submitting this claim to the platform.
|
|
79
|
+
* A claim reporter is responsible for submitting this claim to the platform. A claim reporter is not necessarily the same as the policy holder.
|
|
74
80
|
* @type {string}
|
|
75
81
|
* @memberof UpdateCustomerClaimRequestDto
|
|
76
82
|
*/
|
package/models/claim-class.ts
CHANGED
|
@@ -92,6 +92,12 @@ export interface ClaimClass {
|
|
|
92
92
|
* @memberof ClaimClass
|
|
93
93
|
*/
|
|
94
94
|
'insuredObjectId'?: number;
|
|
95
|
+
/**
|
|
96
|
+
* The policy object code that the claim is made for
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof ClaimClass
|
|
99
|
+
*/
|
|
100
|
+
'policyObjectCode'?: string;
|
|
95
101
|
/**
|
|
96
102
|
* claim description
|
|
97
103
|
* @type {string}
|
|
@@ -99,7 +105,7 @@ export interface ClaimClass {
|
|
|
99
105
|
*/
|
|
100
106
|
'description'?: string;
|
|
101
107
|
/**
|
|
102
|
-
* A claim adjuster investigates insurance claims by interviewing the claimant and witnesses,
|
|
108
|
+
* 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
109
|
* @type {string}
|
|
104
110
|
* @memberof ClaimClass
|
|
105
111
|
*/
|
|
@@ -164,5 +170,11 @@ export interface ClaimClass {
|
|
|
164
170
|
* @memberof ClaimClass
|
|
165
171
|
*/
|
|
166
172
|
'organizationName'?: string;
|
|
173
|
+
/**
|
|
174
|
+
* Partners related to the claim.
|
|
175
|
+
* @type {Array<string>}
|
|
176
|
+
* @memberof ClaimClass
|
|
177
|
+
*/
|
|
178
|
+
'claimPartners'?: Array<string>;
|
|
167
179
|
}
|
|
168
180
|
|
|
@@ -68,6 +68,12 @@ export interface CreateCustomerClaimRequestDto {
|
|
|
68
68
|
* @memberof CreateCustomerClaimRequestDto
|
|
69
69
|
*/
|
|
70
70
|
'insuredObjectId'?: number;
|
|
71
|
+
/**
|
|
72
|
+
* The unique code of the policy object that the claim is made for
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof CreateCustomerClaimRequestDto
|
|
75
|
+
*/
|
|
76
|
+
'policyObjectCode'?: string;
|
|
71
77
|
/**
|
|
72
78
|
* The claim\'s description in 5000 characters.
|
|
73
79
|
* @type {string}
|
|
@@ -75,13 +81,13 @@ export interface CreateCustomerClaimRequestDto {
|
|
|
75
81
|
*/
|
|
76
82
|
'description'?: string;
|
|
77
83
|
/**
|
|
78
|
-
* The adjuster of the claim. A claim adjuster investigates insurance claims by interviewing the claimant and witnesses, consulting police and
|
|
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.
|
|
79
85
|
* @type {string}
|
|
80
86
|
* @memberof CreateCustomerClaimRequestDto
|
|
81
87
|
*/
|
|
82
88
|
'adjuster'?: string;
|
|
83
89
|
/**
|
|
84
|
-
* A claim reporter is responsible for submitting this claim to the platform.
|
|
90
|
+
* A claim reporter is responsible for submitting this claim to the platform. A claim reporter is not necessarily the same as the policy holder.
|
|
85
91
|
* @type {string}
|
|
86
92
|
* @memberof CreateCustomerClaimRequestDto
|
|
87
93
|
*/
|
|
@@ -44,6 +44,12 @@ export interface CustomerDocumentClass {
|
|
|
44
44
|
* @memberof CustomerDocumentClass
|
|
45
45
|
*/
|
|
46
46
|
'policyCode': string;
|
|
47
|
+
/**
|
|
48
|
+
* Lead code
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CustomerDocumentClass
|
|
51
|
+
*/
|
|
52
|
+
'leadCode': string;
|
|
47
53
|
/**
|
|
48
54
|
* Account code
|
|
49
55
|
* @type {string}
|
|
@@ -62,6 +62,12 @@ export interface UpdateCustomerClaimRequestDto {
|
|
|
62
62
|
* @memberof UpdateCustomerClaimRequestDto
|
|
63
63
|
*/
|
|
64
64
|
'insuredObjectId'?: number;
|
|
65
|
+
/**
|
|
66
|
+
* The unique code of the policy object that the claim is made for
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof UpdateCustomerClaimRequestDto
|
|
69
|
+
*/
|
|
70
|
+
'policyObjectCode'?: string;
|
|
65
71
|
/**
|
|
66
72
|
* The claim\'s description in 5000 characters.
|
|
67
73
|
* @type {string}
|
|
@@ -69,13 +75,13 @@ export interface UpdateCustomerClaimRequestDto {
|
|
|
69
75
|
*/
|
|
70
76
|
'description'?: string;
|
|
71
77
|
/**
|
|
72
|
-
* The adjuster of the claim. A claim adjuster investigates insurance claims by interviewing the claimant and witnesses, consulting police and
|
|
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.
|
|
73
79
|
* @type {string}
|
|
74
80
|
* @memberof UpdateCustomerClaimRequestDto
|
|
75
81
|
*/
|
|
76
82
|
'adjuster'?: string;
|
|
77
83
|
/**
|
|
78
|
-
* A claim reporter is responsible for submitting this claim to the platform.
|
|
84
|
+
* A claim reporter is responsible for submitting this claim to the platform. A claim reporter is not necessarily the same as the policy holder.
|
|
79
85
|
* @type {string}
|
|
80
86
|
* @memberof UpdateCustomerClaimRequestDto
|
|
81
87
|
*/
|