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