@emilgroup/claim-sdk-node 1.4.0 → 1.5.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/.openapi-generator/FILES +8 -3
- package/README.md +2 -2
- package/api/claim-statuses-api.ts +547 -0
- package/api/claims-api.ts +189 -81
- package/api/settlements-api.ts +105 -198
- package/api.ts +2 -0
- package/dist/api/claim-statuses-api.d.ts +309 -0
- package/dist/api/claim-statuses-api.js +535 -0
- package/dist/api/claims-api.d.ts +124 -59
- package/dist/api/claims-api.js +142 -52
- package/dist/api/settlements-api.d.ts +85 -140
- package/dist/api/settlements-api.js +70 -117
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/claim-class.d.ts +13 -1
- package/dist/models/claim-status-class.d.ts +36 -0
- package/dist/models/create-claim-request-dto.d.ts +13 -1
- package/dist/models/create-claim-status-request-dto.d.ts +30 -0
- package/dist/models/{delete-settlement-request-dto.d.ts → create-claim-status-response-class.d.ts} +7 -12
- package/dist/models/index.d.ts +7 -3
- package/dist/models/index.js +7 -3
- package/dist/models/list-claim-statuses-response-class.d.ts +31 -0
- package/{models/delete-response-class.ts → dist/models/list-claim-statuses-response-class.js} +2 -17
- package/dist/models/{list-claim-response-class.d.ts → list-claims-response-class.d.ts} +4 -4
- package/dist/models/list-claims-response-class.js +15 -0
- package/dist/models/patch-claim-request-dto.d.ts +126 -0
- package/dist/models/patch-claim-request-dto.js +15 -0
- package/dist/models/{delete-response-class.d.ts → patch-claim-response-class.d.ts} +7 -6
- package/dist/models/patch-claim-response-class.js +15 -0
- package/dist/models/settlement-class.d.ts +6 -0
- package/dist/models/update-claim-request-dto.d.ts +8 -2
- package/dist/models/update-settlement-request-dto.d.ts +6 -0
- package/models/claim-class.ts +13 -1
- package/models/claim-status-class.ts +42 -0
- package/models/create-claim-request-dto.ts +13 -1
- package/models/create-claim-status-request-dto.ts +36 -0
- package/models/create-claim-status-response-class.ts +31 -0
- package/models/index.ts +7 -3
- package/models/list-claim-statuses-response-class.ts +37 -0
- package/models/{list-claim-response-class.ts → list-claims-response-class.ts} +4 -4
- package/models/patch-claim-request-dto.ts +132 -0
- package/models/{delete-settlement-request-dto.ts → patch-claim-response-class.ts} +7 -12
- package/models/settlement-class.ts +6 -0
- package/models/update-claim-request-dto.ts +8 -2
- package/models/update-settlement-request-dto.ts +6 -0
- package/package.json +2 -2
- /package/dist/models/{delete-response-class.js → claim-status-class.js} +0 -0
- /package/dist/models/{delete-settlement-request-dto.js → create-claim-status-request-dto.js} +0 -0
- /package/dist/models/{list-claim-response-class.js → create-claim-status-response-class.js} +0 -0
package/dist/models/{delete-settlement-request-dto.d.ts → create-claim-status-response-class.d.ts}
RENAMED
|
@@ -9,22 +9,17 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { ClaimStatusClass } from './claim-status-class';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
15
|
-
* @interface
|
|
16
|
+
* @interface CreateClaimStatusResponseClass
|
|
16
17
|
*/
|
|
17
|
-
export interface
|
|
18
|
+
export interface CreateClaimStatusResponseClass {
|
|
18
19
|
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {
|
|
21
|
-
* @memberof
|
|
20
|
+
* The claim status response.
|
|
21
|
+
* @type {ClaimStatusClass}
|
|
22
|
+
* @memberof CreateClaimStatusResponseClass
|
|
22
23
|
*/
|
|
23
|
-
'
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof DeleteSettlementRequestDto
|
|
28
|
-
*/
|
|
29
|
-
'claimCode': string;
|
|
24
|
+
'claimStatus': ClaimStatusClass;
|
|
30
25
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
export * from './claim-class';
|
|
2
|
+
export * from './claim-status-class';
|
|
2
3
|
export * from './create-claim-request-dto';
|
|
3
4
|
export * from './create-claim-response-class';
|
|
5
|
+
export * from './create-claim-status-request-dto';
|
|
6
|
+
export * from './create-claim-status-response-class';
|
|
4
7
|
export * from './create-settlement-request-dto';
|
|
5
8
|
export * from './create-settlement-response-class';
|
|
6
|
-
export * from './delete-response-class';
|
|
7
|
-
export * from './delete-settlement-request-dto';
|
|
8
9
|
export * from './get-claim-response-class';
|
|
9
10
|
export * from './get-settlement-response-class';
|
|
10
|
-
export * from './list-claim-response-class';
|
|
11
|
+
export * from './list-claim-statuses-response-class';
|
|
12
|
+
export * from './list-claims-response-class';
|
|
11
13
|
export * from './list-settlements-response-class';
|
|
14
|
+
export * from './patch-claim-request-dto';
|
|
15
|
+
export * from './patch-claim-response-class';
|
|
12
16
|
export * from './settlement-class';
|
|
13
17
|
export * from './update-claim-request-dto';
|
|
14
18
|
export * from './update-claim-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -15,16 +15,20 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./claim-class"), exports);
|
|
18
|
+
__exportStar(require("./claim-status-class"), exports);
|
|
18
19
|
__exportStar(require("./create-claim-request-dto"), exports);
|
|
19
20
|
__exportStar(require("./create-claim-response-class"), exports);
|
|
21
|
+
__exportStar(require("./create-claim-status-request-dto"), exports);
|
|
22
|
+
__exportStar(require("./create-claim-status-response-class"), exports);
|
|
20
23
|
__exportStar(require("./create-settlement-request-dto"), exports);
|
|
21
24
|
__exportStar(require("./create-settlement-response-class"), exports);
|
|
22
|
-
__exportStar(require("./delete-response-class"), exports);
|
|
23
|
-
__exportStar(require("./delete-settlement-request-dto"), exports);
|
|
24
25
|
__exportStar(require("./get-claim-response-class"), exports);
|
|
25
26
|
__exportStar(require("./get-settlement-response-class"), exports);
|
|
26
|
-
__exportStar(require("./list-claim-response-class"), exports);
|
|
27
|
+
__exportStar(require("./list-claim-statuses-response-class"), exports);
|
|
28
|
+
__exportStar(require("./list-claims-response-class"), exports);
|
|
27
29
|
__exportStar(require("./list-settlements-response-class"), exports);
|
|
30
|
+
__exportStar(require("./patch-claim-request-dto"), exports);
|
|
31
|
+
__exportStar(require("./patch-claim-response-class"), exports);
|
|
28
32
|
__exportStar(require("./settlement-class"), exports);
|
|
29
33
|
__exportStar(require("./update-claim-request-dto"), exports);
|
|
30
34
|
__exportStar(require("./update-claim-response-class"), exports);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL ClaimService
|
|
3
|
+
* The EMIL ClaimService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { ClaimStatusClass } from './claim-status-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListClaimStatusesResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListClaimStatusesResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The list of claim statuses.
|
|
21
|
+
* @type {Array<ClaimStatusClass>}
|
|
22
|
+
* @memberof ListClaimStatusesResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<ClaimStatusClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListClaimStatusesResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
}
|
package/{models/delete-response-class.ts → dist/models/list-claim-statuses-response-class.js}
RENAMED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/* tslint:disable */
|
|
2
3
|
/* eslint-disable */
|
|
3
4
|
/**
|
|
@@ -11,20 +12,4 @@
|
|
|
11
12
|
* https://openapi-generator.tech
|
|
12
13
|
* Do not edit the class manually.
|
|
13
14
|
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
* @interface DeleteResponseClass
|
|
21
|
-
*/
|
|
22
|
-
export interface DeleteResponseClass {
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* @type {object}
|
|
26
|
-
* @memberof DeleteResponseClass
|
|
27
|
-
*/
|
|
28
|
-
'response': object;
|
|
29
|
-
}
|
|
30
|
-
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -13,19 +13,19 @@ import { ClaimClass } from './claim-class';
|
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
16
|
-
* @interface
|
|
16
|
+
* @interface ListClaimsResponseClass
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface ListClaimsResponseClass {
|
|
19
19
|
/**
|
|
20
20
|
* The list of claims.
|
|
21
21
|
* @type {Array<ClaimClass>}
|
|
22
|
-
* @memberof
|
|
22
|
+
* @memberof ListClaimsResponseClass
|
|
23
23
|
*/
|
|
24
24
|
'items': Array<ClaimClass>;
|
|
25
25
|
/**
|
|
26
26
|
* Next page token.
|
|
27
27
|
* @type {string}
|
|
28
|
-
* @memberof
|
|
28
|
+
* @memberof ListClaimsResponseClass
|
|
29
29
|
*/
|
|
30
30
|
'nextPageToken': string;
|
|
31
31
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL ClaimService
|
|
6
|
+
* The EMIL ClaimService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL ClaimService
|
|
3
|
+
* The EMIL ClaimService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PatchClaimRequestDto
|
|
16
|
+
*/
|
|
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
|
+
/**
|
|
25
|
+
* Field to enter the claim title.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PatchClaimRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'title'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The current status of the claim.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PatchClaimRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'status'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Unique identifier of the account that the claim belongs to.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PatchClaimRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'accountCode'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Field for the policy number that the claim belongs to.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PatchClaimRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'policyNumber'?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Field for the policy code that the claim belongs to.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PatchClaimRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'policyCode'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Unique identifier referencing the product.
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof PatchClaimRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'productId'?: number;
|
|
60
|
+
/**
|
|
61
|
+
* Unique identifier referencing the product version.
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof PatchClaimRequestDto
|
|
64
|
+
*/
|
|
65
|
+
'productVersionId'?: number;
|
|
66
|
+
/**
|
|
67
|
+
* The name of the product.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof PatchClaimRequestDto
|
|
70
|
+
*/
|
|
71
|
+
'productName'?: string;
|
|
72
|
+
/**
|
|
73
|
+
* The insured object identifier that the claim is made for.
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof PatchClaimRequestDto
|
|
76
|
+
*/
|
|
77
|
+
'insuredObjectId'?: number;
|
|
78
|
+
/**
|
|
79
|
+
* The claim\'s description in 5000 characters.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof PatchClaimRequestDto
|
|
82
|
+
*/
|
|
83
|
+
'description'?: string;
|
|
84
|
+
/**
|
|
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
|
+
* @type {string}
|
|
87
|
+
* @memberof PatchClaimRequestDto
|
|
88
|
+
*/
|
|
89
|
+
'adjuster'?: string;
|
|
90
|
+
/**
|
|
91
|
+
* 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
|
+
* @type {string}
|
|
93
|
+
* @memberof PatchClaimRequestDto
|
|
94
|
+
*/
|
|
95
|
+
'reporter'?: string;
|
|
96
|
+
/**
|
|
97
|
+
* The contact email of the policyholder.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof PatchClaimRequestDto
|
|
100
|
+
*/
|
|
101
|
+
'contactEmail'?: string;
|
|
102
|
+
/**
|
|
103
|
+
* The contact phone of the policyholder.
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof PatchClaimRequestDto
|
|
106
|
+
*/
|
|
107
|
+
'contactPhone'?: string;
|
|
108
|
+
/**
|
|
109
|
+
* The claim\'s damage date.
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof PatchClaimRequestDto
|
|
112
|
+
*/
|
|
113
|
+
'damageDate'?: string;
|
|
114
|
+
/**
|
|
115
|
+
* The date on which the claim is reported.
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof PatchClaimRequestDto
|
|
118
|
+
*/
|
|
119
|
+
'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
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL ClaimService
|
|
6
|
+
* The EMIL ClaimService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -9,16 +9,17 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { ClaimClass } from './claim-class';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
15
|
-
* @interface
|
|
16
|
+
* @interface PatchClaimResponseClass
|
|
16
17
|
*/
|
|
17
|
-
export interface
|
|
18
|
+
export interface PatchClaimResponseClass {
|
|
18
19
|
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {
|
|
21
|
-
* @memberof
|
|
20
|
+
* The claim response.
|
|
21
|
+
* @type {ClaimClass}
|
|
22
|
+
* @memberof PatchClaimResponseClass
|
|
22
23
|
*/
|
|
23
|
-
'
|
|
24
|
+
'claim': ClaimClass;
|
|
24
25
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL ClaimService
|
|
6
|
+
* The EMIL ClaimService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -57,6 +57,12 @@ export interface SettlementClass {
|
|
|
57
57
|
* @memberof SettlementClass
|
|
58
58
|
*/
|
|
59
59
|
'claimCode': string;
|
|
60
|
+
/**
|
|
61
|
+
* Unique identifier of the claim to which settlement belongs to.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof SettlementClass
|
|
64
|
+
*/
|
|
65
|
+
'currency': string;
|
|
60
66
|
/**
|
|
61
67
|
* Time at which the object was created.
|
|
62
68
|
* @type {string}
|
|
@@ -21,6 +21,12 @@ 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;
|
|
24
30
|
/**
|
|
25
31
|
* Unique identifier of the account that the claim belongs to.
|
|
26
32
|
* @type {string}
|
|
@@ -98,7 +104,7 @@ export interface UpdateClaimRequestDto {
|
|
|
98
104
|
* @type {string}
|
|
99
105
|
* @memberof UpdateClaimRequestDto
|
|
100
106
|
*/
|
|
101
|
-
'damageDate'
|
|
107
|
+
'damageDate'?: string;
|
|
102
108
|
/**
|
|
103
109
|
* The date on which the claim is reported.
|
|
104
110
|
* @type {string}
|
|
@@ -116,5 +122,5 @@ export interface UpdateClaimRequestDto {
|
|
|
116
122
|
* @type {string}
|
|
117
123
|
* @memberof UpdateClaimRequestDto
|
|
118
124
|
*/
|
|
119
|
-
'code'
|
|
125
|
+
'code': string;
|
|
120
126
|
}
|
|
@@ -15,6 +15,12 @@
|
|
|
15
15
|
* @interface UpdateSettlementRequestDto
|
|
16
16
|
*/
|
|
17
17
|
export interface UpdateSettlementRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* The identifier code of the claim.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateSettlementRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'code': string;
|
|
18
24
|
/**
|
|
19
25
|
* Field to enter the insured object for settlement against a particular claim.
|
|
20
26
|
* @type {string}
|
package/models/claim-class.ts
CHANGED
|
@@ -38,6 +38,18 @@ export interface ClaimClass {
|
|
|
38
38
|
* @memberof ClaimClass
|
|
39
39
|
*/
|
|
40
40
|
'title': string;
|
|
41
|
+
/**
|
|
42
|
+
* Unique number assigned to the claim.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof ClaimClass
|
|
45
|
+
*/
|
|
46
|
+
'claimNumber': string;
|
|
47
|
+
/**
|
|
48
|
+
* The current status of the claim.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof ClaimClass
|
|
51
|
+
*/
|
|
52
|
+
'status': string;
|
|
41
53
|
/**
|
|
42
54
|
* Unique identifier of the account that the claim belongs to.
|
|
43
55
|
* @type {string}
|
|
@@ -141,7 +153,7 @@ export interface ClaimClass {
|
|
|
141
153
|
*/
|
|
142
154
|
'updatedAt': string;
|
|
143
155
|
/**
|
|
144
|
-
* ERN
|
|
156
|
+
* Emil Resources Names (ERN) identifies the most specific owner of a resource.
|
|
145
157
|
* @type {string}
|
|
146
158
|
* @memberof ClaimClass
|
|
147
159
|
*/
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL ClaimService
|
|
5
|
+
* The EMIL ClaimService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface ClaimStatusClass
|
|
21
|
+
*/
|
|
22
|
+
export interface ClaimStatusClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof ClaimStatusClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Name of the claim status.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ClaimStatusClass
|
|
33
|
+
*/
|
|
34
|
+
'name': string;
|
|
35
|
+
/**
|
|
36
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof ClaimStatusClass
|
|
39
|
+
*/
|
|
40
|
+
'productSlug': string;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -20,12 +20,24 @@
|
|
|
20
20
|
* @interface CreateClaimRequestDto
|
|
21
21
|
*/
|
|
22
22
|
export interface CreateClaimRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Unique number assigned to the claim.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateClaimRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'claimNumber'?: string;
|
|
23
29
|
/**
|
|
24
30
|
* Field to enter the claim title.
|
|
25
31
|
* @type {string}
|
|
26
32
|
* @memberof CreateClaimRequestDto
|
|
27
33
|
*/
|
|
28
34
|
'title': string;
|
|
35
|
+
/**
|
|
36
|
+
* The current status of the claim.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreateClaimRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'status'?: string;
|
|
29
41
|
/**
|
|
30
42
|
* Unique identifier of the account that the claim belongs to.
|
|
31
43
|
* @type {string}
|
|
@@ -103,7 +115,7 @@ export interface CreateClaimRequestDto {
|
|
|
103
115
|
* @type {string}
|
|
104
116
|
* @memberof CreateClaimRequestDto
|
|
105
117
|
*/
|
|
106
|
-
'damageDate'
|
|
118
|
+
'damageDate'?: string;
|
|
107
119
|
/**
|
|
108
120
|
* The date on which the claim is reported.
|
|
109
121
|
* @type {string}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL ClaimService
|
|
5
|
+
* The EMIL ClaimService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CreateClaimStatusRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateClaimStatusRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Name of the claim status. Tenants can add their own custom claim statuses, if default statuses are not suitable for their products.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateClaimStatusRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'name': string;
|
|
29
|
+
/**
|
|
30
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateClaimStatusRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'productSlug': string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL ClaimService
|
|
5
|
+
* The EMIL ClaimService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { ClaimStatusClass } from './claim-status-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateClaimStatusResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateClaimStatusResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The claim status response.
|
|
26
|
+
* @type {ClaimStatusClass}
|
|
27
|
+
* @memberof CreateClaimStatusResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'claimStatus': ClaimStatusClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
export * from './claim-class';
|
|
2
|
+
export * from './claim-status-class';
|
|
2
3
|
export * from './create-claim-request-dto';
|
|
3
4
|
export * from './create-claim-response-class';
|
|
5
|
+
export * from './create-claim-status-request-dto';
|
|
6
|
+
export * from './create-claim-status-response-class';
|
|
4
7
|
export * from './create-settlement-request-dto';
|
|
5
8
|
export * from './create-settlement-response-class';
|
|
6
|
-
export * from './delete-response-class';
|
|
7
|
-
export * from './delete-settlement-request-dto';
|
|
8
9
|
export * from './get-claim-response-class';
|
|
9
10
|
export * from './get-settlement-response-class';
|
|
10
|
-
export * from './list-claim-response-class';
|
|
11
|
+
export * from './list-claim-statuses-response-class';
|
|
12
|
+
export * from './list-claims-response-class';
|
|
11
13
|
export * from './list-settlements-response-class';
|
|
14
|
+
export * from './patch-claim-request-dto';
|
|
15
|
+
export * from './patch-claim-response-class';
|
|
12
16
|
export * from './settlement-class';
|
|
13
17
|
export * from './update-claim-request-dto';
|
|
14
18
|
export * from './update-claim-response-class';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL ClaimService
|
|
5
|
+
* The EMIL ClaimService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { ClaimStatusClass } from './claim-status-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListClaimStatusesResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListClaimStatusesResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The list of claim statuses.
|
|
26
|
+
* @type {Array<ClaimStatusClass>}
|
|
27
|
+
* @memberof ListClaimStatusesResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<ClaimStatusClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListClaimStatusesResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -18,19 +18,19 @@ import { ClaimClass } from './claim-class';
|
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
20
|
* @export
|
|
21
|
-
* @interface
|
|
21
|
+
* @interface ListClaimsResponseClass
|
|
22
22
|
*/
|
|
23
|
-
export interface
|
|
23
|
+
export interface ListClaimsResponseClass {
|
|
24
24
|
/**
|
|
25
25
|
* The list of claims.
|
|
26
26
|
* @type {Array<ClaimClass>}
|
|
27
|
-
* @memberof
|
|
27
|
+
* @memberof ListClaimsResponseClass
|
|
28
28
|
*/
|
|
29
29
|
'items': Array<ClaimClass>;
|
|
30
30
|
/**
|
|
31
31
|
* Next page token.
|
|
32
32
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof ListClaimsResponseClass
|
|
34
34
|
*/
|
|
35
35
|
'nextPageToken': string;
|
|
36
36
|
}
|