@emilgroup/claim-sdk 1.40.1-beta.15 → 1.40.1-beta.16

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/claim-sdk@1.40.1-beta.15 --save
20
+ npm install @emilgroup/claim-sdk@1.40.1-beta.16 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/claim-sdk@1.40.1-beta.15
24
+ yarn add @emilgroup/claim-sdk@1.40.1-beta.16
25
25
  ```
26
26
 
27
27
  And then you can import `ClaimsApi`.
@@ -129,4 +129,10 @@ export interface CreateClaimRequestDto {
129
129
  * @memberof CreateClaimRequestDto
130
130
  */
131
131
  'customFields'?: object;
132
+ /**
133
+ * The claim\'s damage end date.
134
+ * @type {string}
135
+ * @memberof CreateClaimRequestDto
136
+ */
137
+ 'damageEndDate'?: string;
132
138
  }
@@ -21,12 +21,6 @@ export interface PatchClaimRequestDto {
21
21
  * @memberof PatchClaimRequestDto
22
22
  */
23
23
  'title'?: string;
24
- /**
25
- * The current status of the claim.
26
- * @type {string}
27
- * @memberof PatchClaimRequestDto
28
- */
29
- 'status'?: string;
30
24
  /**
31
25
  * Unique identifier of the account that the claim belongs to.
32
26
  * @type {string}
@@ -34,29 +28,23 @@ export interface PatchClaimRequestDto {
34
28
  */
35
29
  'accountCode'?: string;
36
30
  /**
37
- * Field for the policy number that the claim belongs to.
38
- * @type {string}
39
- * @memberof PatchClaimRequestDto
40
- */
41
- 'policyNumber'?: string;
42
- /**
43
- * Field for the policy code that the claim belongs to.
44
- * @type {string}
31
+ * Unique identifier referencing the product version id.
32
+ * @type {number}
45
33
  * @memberof PatchClaimRequestDto
46
34
  */
47
- 'policyCode'?: string;
35
+ 'productVersionId'?: number;
48
36
  /**
49
- * Unique identifier referencing the product.
37
+ * Unique identifier referencing the product id.
50
38
  * @type {number}
51
39
  * @memberof PatchClaimRequestDto
52
40
  */
53
41
  'productId'?: number;
54
42
  /**
55
- * Unique identifier referencing the product version.
43
+ * The insured object identifier that the claim is made for.
56
44
  * @type {number}
57
45
  * @memberof PatchClaimRequestDto
58
46
  */
59
- 'productVersionId'?: number;
47
+ 'insuredObjectId'?: number;
60
48
  /**
61
49
  * The name of the product.
62
50
  * @type {string}
@@ -64,17 +52,17 @@ export interface PatchClaimRequestDto {
64
52
  */
65
53
  'productName'?: string;
66
54
  /**
67
- * The insured object identifier that the claim is made for.
68
- * @type {number}
55
+ * The policy object code that the claim is made for.
56
+ * @type {string}
69
57
  * @memberof PatchClaimRequestDto
70
58
  */
71
- 'insuredObjectId'?: number;
59
+ 'policyObjectCode'?: string;
72
60
  /**
73
- * The policy object code that the claim is made for.
61
+ * 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
62
  * @type {string}
75
63
  * @memberof PatchClaimRequestDto
76
64
  */
77
- 'policyObjectCode'?: string;
65
+ 'adjuster'?: string;
78
66
  /**
79
67
  * The claim\'s description in 5000 characters.
80
68
  * @type {string}
@@ -82,11 +70,11 @@ export interface PatchClaimRequestDto {
82
70
  */
83
71
  'description'?: string;
84
72
  /**
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.
73
+ * The contact phone of the policyholder.
86
74
  * @type {string}
87
75
  * @memberof PatchClaimRequestDto
88
76
  */
89
- 'adjuster'?: string;
77
+ 'contactPhone'?: string;
90
78
  /**
91
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.
92
80
  * @type {string}
@@ -100,11 +88,35 @@ export interface PatchClaimRequestDto {
100
88
  */
101
89
  'contactEmail'?: string;
102
90
  /**
103
- * The contact phone of the policyholder.
91
+ * The claim\'s damage end date.
104
92
  * @type {string}
105
93
  * @memberof PatchClaimRequestDto
106
94
  */
107
- 'contactPhone'?: string;
95
+ 'damageEndDate'?: string;
96
+ /**
97
+ * Tenant specific custom fields for claims (e.g. IMEI, Serial Number, etc.).
98
+ * @type {object}
99
+ * @memberof PatchClaimRequestDto
100
+ */
101
+ 'customFields'?: object;
102
+ /**
103
+ * The current status of the claim.
104
+ * @type {string}
105
+ * @memberof PatchClaimRequestDto
106
+ */
107
+ 'status'?: string;
108
+ /**
109
+ * Field for the policy number that the claim belongs to.
110
+ * @type {string}
111
+ * @memberof PatchClaimRequestDto
112
+ */
113
+ 'policyNumber'?: string;
114
+ /**
115
+ * Field for the policy code that the claim belongs to.
116
+ * @type {string}
117
+ * @memberof PatchClaimRequestDto
118
+ */
119
+ 'policyCode'?: string;
108
120
  /**
109
121
  * The claim\'s damage date.
110
122
  * @type {string}
@@ -117,10 +129,4 @@ export interface PatchClaimRequestDto {
117
129
  * @memberof PatchClaimRequestDto
118
130
  */
119
131
  'notificationDate'?: string;
120
- /**
121
- * Tenant specific custom fields for claims (e.g. IMEI, Serial Number, etc.).
122
- * @type {object}
123
- * @memberof PatchClaimRequestDto
124
- */
125
- 'customFields'?: object;
126
132
  }
@@ -21,12 +21,6 @@ export interface UpdateClaimRequestDto {
21
21
  * @memberof UpdateClaimRequestDto
22
22
  */
23
23
  'title'?: string;
24
- /**
25
- * The current status of the claim.
26
- * @type {string}
27
- * @memberof UpdateClaimRequestDto
28
- */
29
- 'status': string;
30
24
  /**
31
25
  * Unique identifier of the account that the claim belongs to.
32
26
  * @type {string}
@@ -34,29 +28,23 @@ export interface UpdateClaimRequestDto {
34
28
  */
35
29
  'accountCode'?: string;
36
30
  /**
37
- * Field for the policy number that the claim belongs to.
38
- * @type {string}
39
- * @memberof UpdateClaimRequestDto
40
- */
41
- 'policyNumber'?: string;
42
- /**
43
- * Field for the policy code that the claim belongs to.
44
- * @type {string}
31
+ * Unique identifier referencing the product version id.
32
+ * @type {number}
45
33
  * @memberof UpdateClaimRequestDto
46
34
  */
47
- 'policyCode'?: string;
35
+ 'productVersionId'?: number;
48
36
  /**
49
- * Unique identifier referencing the product.
37
+ * Unique identifier referencing the product id.
50
38
  * @type {number}
51
39
  * @memberof UpdateClaimRequestDto
52
40
  */
53
41
  'productId'?: number;
54
42
  /**
55
- * Unique identifier referencing the product version.
43
+ * The insured object identifier that the claim is made for.
56
44
  * @type {number}
57
45
  * @memberof UpdateClaimRequestDto
58
46
  */
59
- 'productVersionId'?: number;
47
+ 'insuredObjectId'?: number;
60
48
  /**
61
49
  * The name of the product.
62
50
  * @type {string}
@@ -64,17 +52,17 @@ export interface UpdateClaimRequestDto {
64
52
  */
65
53
  'productName'?: string;
66
54
  /**
67
- * The insured object identifier that the claim is made for.
68
- * @type {number}
55
+ * The policy object code that the claim is made for.
56
+ * @type {string}
69
57
  * @memberof UpdateClaimRequestDto
70
58
  */
71
- 'insuredObjectId'?: number;
59
+ 'policyObjectCode'?: string;
72
60
  /**
73
- * The policy object code that the claim is made for.
61
+ * 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
62
  * @type {string}
75
63
  * @memberof UpdateClaimRequestDto
76
64
  */
77
- 'policyObjectCode'?: string;
65
+ 'adjuster'?: string;
78
66
  /**
79
67
  * The claim\'s description in 5000 characters.
80
68
  * @type {string}
@@ -82,11 +70,11 @@ export interface UpdateClaimRequestDto {
82
70
  */
83
71
  'description'?: string;
84
72
  /**
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.
73
+ * The contact phone of the policyholder.
86
74
  * @type {string}
87
75
  * @memberof UpdateClaimRequestDto
88
76
  */
89
- 'adjuster'?: string;
77
+ 'contactPhone'?: string;
90
78
  /**
91
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.
92
80
  * @type {string}
@@ -100,11 +88,35 @@ export interface UpdateClaimRequestDto {
100
88
  */
101
89
  'contactEmail'?: string;
102
90
  /**
103
- * The contact phone of the policyholder.
91
+ * The claim\'s damage end date.
104
92
  * @type {string}
105
93
  * @memberof UpdateClaimRequestDto
106
94
  */
107
- 'contactPhone'?: string;
95
+ 'damageEndDate'?: string;
96
+ /**
97
+ * Tenant specific custom fields for claims (e.g. IMEI, Serial Number, etc.).
98
+ * @type {object}
99
+ * @memberof UpdateClaimRequestDto
100
+ */
101
+ 'customFields'?: object;
102
+ /**
103
+ * The current status of the claim.
104
+ * @type {string}
105
+ * @memberof UpdateClaimRequestDto
106
+ */
107
+ 'status': string;
108
+ /**
109
+ * Field for the policy number that the claim belongs to.
110
+ * @type {string}
111
+ * @memberof UpdateClaimRequestDto
112
+ */
113
+ 'policyNumber'?: string;
114
+ /**
115
+ * Field for the policy code that the claim belongs to.
116
+ * @type {string}
117
+ * @memberof UpdateClaimRequestDto
118
+ */
119
+ 'policyCode'?: string;
108
120
  /**
109
121
  * The claim\'s damage date.
110
122
  * @type {string}
@@ -117,10 +129,4 @@ export interface UpdateClaimRequestDto {
117
129
  * @memberof UpdateClaimRequestDto
118
130
  */
119
131
  'notificationDate': string;
120
- /**
121
- * Tenant specific custom fields for claims (e.g. IMEI, Serial Number, etc.).
122
- * @type {object}
123
- * @memberof UpdateClaimRequestDto
124
- */
125
- 'customFields'?: object;
126
132
  }
@@ -134,5 +134,11 @@ export interface CreateClaimRequestDto {
134
134
  * @memberof CreateClaimRequestDto
135
135
  */
136
136
  'customFields'?: object;
137
+ /**
138
+ * The claim\'s damage end date.
139
+ * @type {string}
140
+ * @memberof CreateClaimRequestDto
141
+ */
142
+ 'damageEndDate'?: string;
137
143
  }
138
144
 
@@ -26,12 +26,6 @@ export interface PatchClaimRequestDto {
26
26
  * @memberof PatchClaimRequestDto
27
27
  */
28
28
  'title'?: string;
29
- /**
30
- * The current status of the claim.
31
- * @type {string}
32
- * @memberof PatchClaimRequestDto
33
- */
34
- 'status'?: string;
35
29
  /**
36
30
  * Unique identifier of the account that the claim belongs to.
37
31
  * @type {string}
@@ -39,29 +33,23 @@ export interface PatchClaimRequestDto {
39
33
  */
40
34
  'accountCode'?: string;
41
35
  /**
42
- * Field for the policy number that the claim belongs to.
43
- * @type {string}
44
- * @memberof PatchClaimRequestDto
45
- */
46
- 'policyNumber'?: string;
47
- /**
48
- * Field for the policy code that the claim belongs to.
49
- * @type {string}
36
+ * Unique identifier referencing the product version id.
37
+ * @type {number}
50
38
  * @memberof PatchClaimRequestDto
51
39
  */
52
- 'policyCode'?: string;
40
+ 'productVersionId'?: number;
53
41
  /**
54
- * Unique identifier referencing the product.
42
+ * Unique identifier referencing the product id.
55
43
  * @type {number}
56
44
  * @memberof PatchClaimRequestDto
57
45
  */
58
46
  'productId'?: number;
59
47
  /**
60
- * Unique identifier referencing the product version.
48
+ * The insured object identifier that the claim is made for.
61
49
  * @type {number}
62
50
  * @memberof PatchClaimRequestDto
63
51
  */
64
- 'productVersionId'?: number;
52
+ 'insuredObjectId'?: number;
65
53
  /**
66
54
  * The name of the product.
67
55
  * @type {string}
@@ -69,17 +57,17 @@ export interface PatchClaimRequestDto {
69
57
  */
70
58
  'productName'?: string;
71
59
  /**
72
- * The insured object identifier that the claim is made for.
73
- * @type {number}
60
+ * The policy object code that the claim is made for.
61
+ * @type {string}
74
62
  * @memberof PatchClaimRequestDto
75
63
  */
76
- 'insuredObjectId'?: number;
64
+ 'policyObjectCode'?: string;
77
65
  /**
78
- * The policy object code that the claim is made for.
66
+ * 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
67
  * @type {string}
80
68
  * @memberof PatchClaimRequestDto
81
69
  */
82
- 'policyObjectCode'?: string;
70
+ 'adjuster'?: string;
83
71
  /**
84
72
  * The claim\'s description in 5000 characters.
85
73
  * @type {string}
@@ -87,11 +75,11 @@ export interface PatchClaimRequestDto {
87
75
  */
88
76
  'description'?: string;
89
77
  /**
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.
78
+ * The contact phone of the policyholder.
91
79
  * @type {string}
92
80
  * @memberof PatchClaimRequestDto
93
81
  */
94
- 'adjuster'?: string;
82
+ 'contactPhone'?: string;
95
83
  /**
96
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.
97
85
  * @type {string}
@@ -105,11 +93,35 @@ export interface PatchClaimRequestDto {
105
93
  */
106
94
  'contactEmail'?: string;
107
95
  /**
108
- * The contact phone of the policyholder.
96
+ * The claim\'s damage end date.
109
97
  * @type {string}
110
98
  * @memberof PatchClaimRequestDto
111
99
  */
112
- 'contactPhone'?: string;
100
+ 'damageEndDate'?: string;
101
+ /**
102
+ * Tenant specific custom fields for claims (e.g. IMEI, Serial Number, etc.).
103
+ * @type {object}
104
+ * @memberof PatchClaimRequestDto
105
+ */
106
+ 'customFields'?: object;
107
+ /**
108
+ * The current status of the claim.
109
+ * @type {string}
110
+ * @memberof PatchClaimRequestDto
111
+ */
112
+ 'status'?: string;
113
+ /**
114
+ * Field for the policy number that the claim belongs to.
115
+ * @type {string}
116
+ * @memberof PatchClaimRequestDto
117
+ */
118
+ 'policyNumber'?: string;
119
+ /**
120
+ * Field for the policy code that the claim belongs to.
121
+ * @type {string}
122
+ * @memberof PatchClaimRequestDto
123
+ */
124
+ 'policyCode'?: string;
113
125
  /**
114
126
  * The claim\'s damage date.
115
127
  * @type {string}
@@ -122,11 +134,5 @@ export interface PatchClaimRequestDto {
122
134
  * @memberof PatchClaimRequestDto
123
135
  */
124
136
  'notificationDate'?: string;
125
- /**
126
- * Tenant specific custom fields for claims (e.g. IMEI, Serial Number, etc.).
127
- * @type {object}
128
- * @memberof PatchClaimRequestDto
129
- */
130
- 'customFields'?: object;
131
137
  }
132
138
 
@@ -26,12 +26,6 @@ export interface UpdateClaimRequestDto {
26
26
  * @memberof UpdateClaimRequestDto
27
27
  */
28
28
  'title'?: string;
29
- /**
30
- * The current status of the claim.
31
- * @type {string}
32
- * @memberof UpdateClaimRequestDto
33
- */
34
- 'status': string;
35
29
  /**
36
30
  * Unique identifier of the account that the claim belongs to.
37
31
  * @type {string}
@@ -39,29 +33,23 @@ export interface UpdateClaimRequestDto {
39
33
  */
40
34
  'accountCode'?: string;
41
35
  /**
42
- * Field for the policy number that the claim belongs to.
43
- * @type {string}
44
- * @memberof UpdateClaimRequestDto
45
- */
46
- 'policyNumber'?: string;
47
- /**
48
- * Field for the policy code that the claim belongs to.
49
- * @type {string}
36
+ * Unique identifier referencing the product version id.
37
+ * @type {number}
50
38
  * @memberof UpdateClaimRequestDto
51
39
  */
52
- 'policyCode'?: string;
40
+ 'productVersionId'?: number;
53
41
  /**
54
- * Unique identifier referencing the product.
42
+ * Unique identifier referencing the product id.
55
43
  * @type {number}
56
44
  * @memberof UpdateClaimRequestDto
57
45
  */
58
46
  'productId'?: number;
59
47
  /**
60
- * Unique identifier referencing the product version.
48
+ * The insured object identifier that the claim is made for.
61
49
  * @type {number}
62
50
  * @memberof UpdateClaimRequestDto
63
51
  */
64
- 'productVersionId'?: number;
52
+ 'insuredObjectId'?: number;
65
53
  /**
66
54
  * The name of the product.
67
55
  * @type {string}
@@ -69,17 +57,17 @@ export interface UpdateClaimRequestDto {
69
57
  */
70
58
  'productName'?: string;
71
59
  /**
72
- * The insured object identifier that the claim is made for.
73
- * @type {number}
60
+ * The policy object code that the claim is made for.
61
+ * @type {string}
74
62
  * @memberof UpdateClaimRequestDto
75
63
  */
76
- 'insuredObjectId'?: number;
64
+ 'policyObjectCode'?: string;
77
65
  /**
78
- * The policy object code that the claim is made for.
66
+ * 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
67
  * @type {string}
80
68
  * @memberof UpdateClaimRequestDto
81
69
  */
82
- 'policyObjectCode'?: string;
70
+ 'adjuster'?: string;
83
71
  /**
84
72
  * The claim\'s description in 5000 characters.
85
73
  * @type {string}
@@ -87,11 +75,11 @@ export interface UpdateClaimRequestDto {
87
75
  */
88
76
  'description'?: string;
89
77
  /**
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.
78
+ * The contact phone of the policyholder.
91
79
  * @type {string}
92
80
  * @memberof UpdateClaimRequestDto
93
81
  */
94
- 'adjuster'?: string;
82
+ 'contactPhone'?: string;
95
83
  /**
96
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.
97
85
  * @type {string}
@@ -105,11 +93,35 @@ export interface UpdateClaimRequestDto {
105
93
  */
106
94
  'contactEmail'?: string;
107
95
  /**
108
- * The contact phone of the policyholder.
96
+ * The claim\'s damage end date.
109
97
  * @type {string}
110
98
  * @memberof UpdateClaimRequestDto
111
99
  */
112
- 'contactPhone'?: string;
100
+ 'damageEndDate'?: string;
101
+ /**
102
+ * Tenant specific custom fields for claims (e.g. IMEI, Serial Number, etc.).
103
+ * @type {object}
104
+ * @memberof UpdateClaimRequestDto
105
+ */
106
+ 'customFields'?: object;
107
+ /**
108
+ * The current status of the claim.
109
+ * @type {string}
110
+ * @memberof UpdateClaimRequestDto
111
+ */
112
+ 'status': string;
113
+ /**
114
+ * Field for the policy number that the claim belongs to.
115
+ * @type {string}
116
+ * @memberof UpdateClaimRequestDto
117
+ */
118
+ 'policyNumber'?: string;
119
+ /**
120
+ * Field for the policy code that the claim belongs to.
121
+ * @type {string}
122
+ * @memberof UpdateClaimRequestDto
123
+ */
124
+ 'policyCode'?: string;
113
125
  /**
114
126
  * The claim\'s damage date.
115
127
  * @type {string}
@@ -122,11 +134,5 @@ export interface UpdateClaimRequestDto {
122
134
  * @memberof UpdateClaimRequestDto
123
135
  */
124
136
  'notificationDate': string;
125
- /**
126
- * Tenant specific custom fields for claims (e.g. IMEI, Serial Number, etc.).
127
- * @type {object}
128
- * @memberof UpdateClaimRequestDto
129
- */
130
- 'customFields'?: object;
131
137
  }
132
138
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/claim-sdk",
3
- "version": "1.40.1-beta.15",
3
+ "version": "1.40.1-beta.16",
4
4
  "description": "OpenAPI client for @emilgroup/claim-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [