@emilgroup/claim-sdk-node 1.10.0 → 1.16.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.
Files changed (125) hide show
  1. package/.openapi-generator/FILES +14 -0
  2. package/README.md +2 -2
  3. package/api/claim-partner-roles-api.ts +681 -0
  4. package/api/claim-partners-api.ts +574 -0
  5. package/api/claim-statuses-api.ts +24 -10
  6. package/api/claims-api.ts +24 -10
  7. package/api/settlements-api.ts +24 -10
  8. package/api.ts +4 -0
  9. package/configuration.ts +1 -1
  10. package/dist/api/claim-partner-roles-api.d.ts +384 -0
  11. package/dist/api/claim-partner-roles-api.js +640 -0
  12. package/dist/api/claim-partners-api.d.ts +327 -0
  13. package/dist/api/claim-partners-api.js +547 -0
  14. package/dist/api/claim-statuses-api.d.ts +318 -0
  15. package/dist/api/claim-statuses-api.js +541 -0
  16. package/dist/api/claims-api.d.ts +450 -0
  17. package/dist/api/claims-api.js +739 -0
  18. package/dist/api/default-api.d.ts +66 -0
  19. package/dist/api/default-api.js +200 -0
  20. package/dist/api/settlements-api.d.ts +384 -0
  21. package/dist/api/settlements-api.js +640 -0
  22. package/dist/api.d.ts +17 -0
  23. package/dist/api.js +35 -0
  24. package/dist/base.d.ts +78 -0
  25. package/dist/base.js +394 -0
  26. package/dist/common.d.ts +92 -0
  27. package/dist/common.js +277 -0
  28. package/dist/configuration.d.ts +90 -0
  29. package/dist/configuration.js +51 -0
  30. package/dist/index.d.ts +15 -0
  31. package/dist/index.js +36 -0
  32. package/dist/models/claim-class.d.ts +168 -0
  33. package/dist/models/claim-class.js +15 -0
  34. package/dist/models/claim-partner-class.d.ts +61 -0
  35. package/dist/models/claim-partner-class.js +15 -0
  36. package/dist/models/claim-partner-role-class.d.ts +54 -0
  37. package/dist/models/claim-partner-role-class.js +15 -0
  38. package/dist/models/claim-status-class.d.ts +36 -0
  39. package/dist/models/claim-status-class.js +15 -0
  40. package/dist/models/create-claim-partner-request-dto.d.ts +36 -0
  41. package/dist/models/create-claim-partner-request-dto.js +15 -0
  42. package/dist/models/create-claim-partner-response-class.d.ts +25 -0
  43. package/dist/models/create-claim-partner-response-class.js +15 -0
  44. package/dist/models/create-claim-partner-role-request-dto.d.ts +30 -0
  45. package/dist/models/create-claim-partner-role-request-dto.js +15 -0
  46. package/dist/models/create-claim-partner-role-response-class.d.ts +25 -0
  47. package/dist/models/create-claim-partner-role-response-class.js +15 -0
  48. package/dist/models/create-claim-request-dto.d.ts +132 -0
  49. package/dist/models/create-claim-request-dto.js +15 -0
  50. package/dist/models/create-claim-response-class.d.ts +25 -0
  51. package/dist/models/create-claim-response-class.js +15 -0
  52. package/dist/models/create-claim-status-request-dto.d.ts +30 -0
  53. package/dist/models/create-claim-status-request-dto.js +15 -0
  54. package/dist/models/create-claim-status-response-class.d.ts +25 -0
  55. package/dist/models/create-claim-status-response-class.js +15 -0
  56. package/dist/models/create-settlement-request-dto.d.ts +48 -0
  57. package/dist/models/create-settlement-request-dto.js +15 -0
  58. package/dist/models/create-settlement-response-class.d.ts +25 -0
  59. package/dist/models/create-settlement-response-class.js +15 -0
  60. package/dist/models/get-claim-partner-response-class.d.ts +25 -0
  61. package/dist/models/get-claim-partner-response-class.js +15 -0
  62. package/dist/models/get-claim-partner-role-response-class.d.ts +25 -0
  63. package/dist/models/get-claim-partner-role-response-class.js +15 -0
  64. package/dist/models/get-claim-response-class.d.ts +25 -0
  65. package/dist/models/get-claim-response-class.js +15 -0
  66. package/dist/models/get-claim-status-response-class.d.ts +25 -0
  67. package/dist/models/get-claim-status-response-class.js +15 -0
  68. package/dist/models/get-settlement-response-class.d.ts +25 -0
  69. package/dist/models/get-settlement-response-class.js +15 -0
  70. package/dist/models/index.d.ts +35 -0
  71. package/dist/models/index.js +51 -0
  72. package/dist/models/inline-response200.d.ts +54 -0
  73. package/dist/models/inline-response200.js +15 -0
  74. package/dist/models/inline-response503.d.ts +54 -0
  75. package/dist/models/inline-response503.js +15 -0
  76. package/dist/models/list-claim-partner-roles-response-class.d.ts +31 -0
  77. package/dist/models/list-claim-partner-roles-response-class.js +15 -0
  78. package/dist/models/list-claim-partners-response-class.d.ts +31 -0
  79. package/dist/models/list-claim-partners-response-class.js +15 -0
  80. package/dist/models/list-claim-statuses-response-class.d.ts +31 -0
  81. package/dist/models/list-claim-statuses-response-class.js +15 -0
  82. package/dist/models/list-claims-response-class.d.ts +31 -0
  83. package/dist/models/list-claims-response-class.js +15 -0
  84. package/dist/models/list-settlements-response-class.d.ts +31 -0
  85. package/dist/models/list-settlements-response-class.js +15 -0
  86. package/dist/models/patch-claim-request-dto.d.ts +126 -0
  87. package/dist/models/patch-claim-request-dto.js +15 -0
  88. package/dist/models/patch-claim-response-class.d.ts +25 -0
  89. package/dist/models/patch-claim-response-class.js +15 -0
  90. package/dist/models/settlement-class.d.ts +78 -0
  91. package/dist/models/settlement-class.js +15 -0
  92. package/dist/models/update-claim-partner-role-request-dto.d.ts +36 -0
  93. package/dist/models/update-claim-partner-role-request-dto.js +15 -0
  94. package/dist/models/update-claim-partner-role-response-class.d.ts +25 -0
  95. package/dist/models/update-claim-partner-role-response-class.js +15 -0
  96. package/dist/models/update-claim-request-dto.d.ts +126 -0
  97. package/dist/models/update-claim-request-dto.js +15 -0
  98. package/dist/models/update-claim-response-class.d.ts +25 -0
  99. package/dist/models/update-claim-response-class.js +15 -0
  100. package/dist/models/update-settlement-request-dto.d.ts +54 -0
  101. package/dist/models/update-settlement-request-dto.js +15 -0
  102. package/dist/models/update-settlement-response-class.d.ts +25 -0
  103. package/dist/models/update-settlement-response-class.js +15 -0
  104. package/models/claim-class.ts +13 -1
  105. package/models/claim-partner-class.ts +67 -0
  106. package/models/claim-partner-role-class.ts +60 -0
  107. package/models/claim-status-class.ts +1 -1
  108. package/models/create-claim-partner-request-dto.ts +42 -0
  109. package/models/create-claim-partner-response-class.ts +31 -0
  110. package/models/create-claim-partner-role-request-dto.ts +36 -0
  111. package/models/create-claim-partner-role-response-class.ts +31 -0
  112. package/models/create-claim-request-dto.ts +19 -13
  113. package/models/create-claim-status-request-dto.ts +1 -1
  114. package/models/get-claim-partner-response-class.ts +31 -0
  115. package/models/get-claim-partner-role-response-class.ts +31 -0
  116. package/models/index.ts +12 -0
  117. package/models/inline-response200.ts +6 -6
  118. package/models/inline-response503.ts +6 -6
  119. package/models/list-claim-partner-roles-response-class.ts +37 -0
  120. package/models/list-claim-partners-response-class.ts +37 -0
  121. package/models/patch-claim-request-dto.ts +8 -8
  122. package/models/update-claim-partner-role-request-dto.ts +42 -0
  123. package/models/update-claim-partner-role-response-class.ts +31 -0
  124. package/models/update-claim-request-dto.ts +20 -20
  125. package/package.json +1 -1
@@ -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,54 @@
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 UpdateSettlementRequestDto
16
+ */
17
+ export interface UpdateSettlementRequestDto {
18
+ /**
19
+ * The identifier code of the claim.
20
+ * @type {string}
21
+ * @memberof UpdateSettlementRequestDto
22
+ */
23
+ 'code': string;
24
+ /**
25
+ * Field to enter the insured object for settlement against a particular claim.
26
+ * @type {string}
27
+ * @memberof UpdateSettlementRequestDto
28
+ */
29
+ 'insuredObject': string;
30
+ /**
31
+ * Field for the estimation of the maximum amount against a claim for the insured object.
32
+ * @type {number}
33
+ * @memberof UpdateSettlementRequestDto
34
+ */
35
+ 'reserve': number;
36
+ /**
37
+ * Field for tracking the already paid out amounts against a claim for the insured object.
38
+ * @type {number}
39
+ * @memberof UpdateSettlementRequestDto
40
+ */
41
+ 'payment': number;
42
+ /**
43
+ * Field for tracking the amount to be claimed against third party.
44
+ * @type {number}
45
+ * @memberof UpdateSettlementRequestDto
46
+ */
47
+ 'recourse': number;
48
+ /**
49
+ * Unique identifier of the claim to which settlement belongs to.
50
+ * @type {string}
51
+ * @memberof UpdateSettlementRequestDto
52
+ */
53
+ 'claimCode': string;
54
+ }
@@ -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,25 @@
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 { SettlementClass } from './settlement-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdateSettlementResponseClass
17
+ */
18
+ export interface UpdateSettlementResponseClass {
19
+ /**
20
+ * Settlement
21
+ * @type {SettlementClass}
22
+ * @memberof UpdateSettlementResponseClass
23
+ */
24
+ 'settlement': SettlementClass;
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 });
@@ -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, consulting police and hospital records, and inspecting property damage to determine the extent of the insurance company\'s liability.
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
  */
@@ -158,5 +164,11 @@ export interface ClaimClass {
158
164
  * @memberof ClaimClass
159
165
  */
160
166
  'ern': string;
167
+ /**
168
+ * Partners related to the claim.
169
+ * @type {Array<string>}
170
+ * @memberof ClaimClass
171
+ */
172
+ 'claimPartners'?: Array<string>;
161
173
  }
162
174
 
@@ -0,0 +1,67 @@
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 { ClaimPartnerRoleClass } from './claim-partner-role-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ClaimPartnerClass
22
+ */
23
+ export interface ClaimPartnerClass {
24
+ /**
25
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
26
+ * @type {number}
27
+ * @memberof ClaimPartnerClass
28
+ */
29
+ 'id': number;
30
+ /**
31
+ * Unique identifier of the partner that this object belongs to.
32
+ * @type {string}
33
+ * @memberof ClaimPartnerClass
34
+ */
35
+ 'partnerCode': string;
36
+ /**
37
+ * Unique identifier of the claim partner role that this object belongs to.
38
+ * @type {string}
39
+ * @memberof ClaimPartnerClass
40
+ */
41
+ 'claimPartnerRoleCode': string;
42
+ /**
43
+ * Unique identifier of the claim that this object belongs to.
44
+ * @type {string}
45
+ * @memberof ClaimPartnerClass
46
+ */
47
+ 'claimCode': string;
48
+ /**
49
+ * Time at which the object was created.
50
+ * @type {string}
51
+ * @memberof ClaimPartnerClass
52
+ */
53
+ 'createdAt': string;
54
+ /**
55
+ * Time at which the object was updated.
56
+ * @type {string}
57
+ * @memberof ClaimPartnerClass
58
+ */
59
+ 'updatedAt': string;
60
+ /**
61
+ * Claim partner role in the relationship.
62
+ * @type {ClaimPartnerRoleClass}
63
+ * @memberof ClaimPartnerClass
64
+ */
65
+ 'claimPartnerRole'?: ClaimPartnerRoleClass;
66
+ }
67
+
@@ -0,0 +1,60 @@
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 ClaimPartnerRoleClass
21
+ */
22
+ export interface ClaimPartnerRoleClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof ClaimPartnerRoleClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier for the object.
31
+ * @type {string}
32
+ * @memberof ClaimPartnerRoleClass
33
+ */
34
+ 'code': string;
35
+ /**
36
+ * Name of the claim partner role.
37
+ * @type {string}
38
+ * @memberof ClaimPartnerRoleClass
39
+ */
40
+ 'name': string;
41
+ /**
42
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
43
+ * @type {string}
44
+ * @memberof ClaimPartnerRoleClass
45
+ */
46
+ 'productSlug'?: string;
47
+ /**
48
+ * Time at which the object was created.
49
+ * @type {string}
50
+ * @memberof ClaimPartnerRoleClass
51
+ */
52
+ 'createdAt': string;
53
+ /**
54
+ * Time at which the object was updated.
55
+ * @type {string}
56
+ * @memberof ClaimPartnerRoleClass
57
+ */
58
+ 'updatedAt': string;
59
+ }
60
+
@@ -33,7 +33,7 @@ export interface ClaimStatusClass {
33
33
  */
34
34
  'name': string;
35
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.
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
37
  * @type {string}
38
38
  * @memberof ClaimStatusClass
39
39
  */
@@ -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 CreateClaimPartnerRequestDto
21
+ */
22
+ export interface CreateClaimPartnerRequestDto {
23
+ /**
24
+ * Unique identifier of the partner that this object belongs to.
25
+ * @type {string}
26
+ * @memberof CreateClaimPartnerRequestDto
27
+ */
28
+ 'partnerCode': string;
29
+ /**
30
+ * Unique identifier of the claim partner role that this object belongs to.
31
+ * @type {string}
32
+ * @memberof CreateClaimPartnerRequestDto
33
+ */
34
+ 'claimPartnerRoleCode': string;
35
+ /**
36
+ * Unique identifier of the claim that this object belongs to.
37
+ * @type {string}
38
+ * @memberof CreateClaimPartnerRequestDto
39
+ */
40
+ 'claimCode': string;
41
+ }
42
+
@@ -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 { ClaimPartnerClass } from './claim-partner-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreateClaimPartnerResponseClass
22
+ */
23
+ export interface CreateClaimPartnerResponseClass {
24
+ /**
25
+ * Claim partner role
26
+ * @type {ClaimPartnerClass}
27
+ * @memberof CreateClaimPartnerResponseClass
28
+ */
29
+ 'claimPartner'?: ClaimPartnerClass;
30
+ }
31
+
@@ -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 CreateClaimPartnerRoleRequestDto
21
+ */
22
+ export interface CreateClaimPartnerRoleRequestDto {
23
+ /**
24
+ * Name of the claim partner role.
25
+ * @type {string}
26
+ * @memberof CreateClaimPartnerRoleRequestDto
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 CreateClaimPartnerRoleRequestDto
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 { ClaimPartnerRoleClass } from './claim-partner-role-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreateClaimPartnerRoleResponseClass
22
+ */
23
+ export interface CreateClaimPartnerRoleResponseClass {
24
+ /**
25
+ * Claim partner role
26
+ * @type {ClaimPartnerRoleClass}
27
+ * @memberof CreateClaimPartnerRoleResponseClass
28
+ */
29
+ 'claimPartnerRole'?: ClaimPartnerRoleClass;
30
+ }
31
+
@@ -31,7 +31,7 @@ export interface CreateClaimRequestDto {
31
31
  * @type {string}
32
32
  * @memberof CreateClaimRequestDto
33
33
  */
34
- 'title': string;
34
+ 'title'?: string;
35
35
  /**
36
36
  * The current status of the claim.
37
37
  * @type {string}
@@ -43,61 +43,67 @@ export interface CreateClaimRequestDto {
43
43
  * @type {string}
44
44
  * @memberof CreateClaimRequestDto
45
45
  */
46
- 'accountCode': string;
46
+ 'accountCode'?: string;
47
47
  /**
48
48
  * Field for the policy number that the claim belongs to.
49
49
  * @type {string}
50
50
  * @memberof CreateClaimRequestDto
51
51
  */
52
- 'policyNumber': string;
52
+ 'policyNumber'?: string;
53
53
  /**
54
54
  * Field for the policy code that the claim belongs to.
55
55
  * @type {string}
56
56
  * @memberof CreateClaimRequestDto
57
57
  */
58
- 'policyCode': string;
58
+ 'policyCode'?: string;
59
59
  /**
60
60
  * Unique identifier referencing the product.
61
61
  * @type {number}
62
62
  * @memberof CreateClaimRequestDto
63
63
  */
64
- 'productId': number;
64
+ 'productId'?: number;
65
65
  /**
66
66
  * Unique identifier referencing the product version.
67
67
  * @type {number}
68
68
  * @memberof CreateClaimRequestDto
69
69
  */
70
- 'productVersionId': number;
70
+ 'productVersionId'?: number;
71
71
  /**
72
72
  * The name of the product.
73
73
  * @type {string}
74
74
  * @memberof CreateClaimRequestDto
75
75
  */
76
- 'productName': string;
76
+ 'productName'?: string;
77
77
  /**
78
78
  * The insured object identifier that the claim is made for.
79
79
  * @type {number}
80
80
  * @memberof CreateClaimRequestDto
81
81
  */
82
- 'insuredObjectId': number;
82
+ 'insuredObjectId'?: number;
83
+ /**
84
+ * The policy object code that the claim is made for.
85
+ * @type {string}
86
+ * @memberof CreateClaimRequestDto
87
+ */
88
+ 'policyObjectCode'?: string;
83
89
  /**
84
90
  * The claim\'s description in 5000 characters.
85
91
  * @type {string}
86
92
  * @memberof CreateClaimRequestDto
87
93
  */
88
- 'description': string;
94
+ 'description'?: string;
89
95
  /**
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.
96
+ * 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.
91
97
  * @type {string}
92
98
  * @memberof CreateClaimRequestDto
93
99
  */
94
100
  'adjuster'?: string;
95
101
  /**
96
- * A claim reporter is responsible for submitting this claim to the platform. A claim reporter is not necessarily the same as the policy holder.
102
+ * 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
103
  * @type {string}
98
104
  * @memberof CreateClaimRequestDto
99
105
  */
100
- 'reporter': string;
106
+ 'reporter'?: string;
101
107
  /**
102
108
  * The contact email of the policyholder.
103
109
  * @type {string}
@@ -115,7 +121,7 @@ export interface CreateClaimRequestDto {
115
121
  * @type {string}
116
122
  * @memberof CreateClaimRequestDto
117
123
  */
118
- 'damageDate'?: string;
124
+ 'damageDate': string;
119
125
  /**
120
126
  * The date on which the claim is reported.
121
127
  * @type {string}
@@ -27,7 +27,7 @@ export interface CreateClaimStatusRequestDto {
27
27
  */
28
28
  'name': string;
29
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.
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
31
  * @type {string}
32
32
  * @memberof CreateClaimStatusRequestDto
33
33
  */
@@ -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 { ClaimPartnerClass } from './claim-partner-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetClaimPartnerResponseClass
22
+ */
23
+ export interface GetClaimPartnerResponseClass {
24
+ /**
25
+ * Claim partner
26
+ * @type {ClaimPartnerClass}
27
+ * @memberof GetClaimPartnerResponseClass
28
+ */
29
+ 'claimPartner'?: ClaimPartnerClass;
30
+ }
31
+
@@ -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 { ClaimPartnerRoleClass } from './claim-partner-role-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetClaimPartnerRoleResponseClass
22
+ */
23
+ export interface GetClaimPartnerRoleResponseClass {
24
+ /**
25
+ * Claim partner role
26
+ * @type {ClaimPartnerRoleClass}
27
+ * @memberof GetClaimPartnerRoleResponseClass
28
+ */
29
+ 'claimPartnerRole'?: ClaimPartnerRoleClass;
30
+ }
31
+
package/models/index.ts CHANGED
@@ -1,22 +1,34 @@
1
1
  export * from './claim-class';
2
+ export * from './claim-partner-class';
3
+ export * from './claim-partner-role-class';
2
4
  export * from './claim-status-class';
5
+ export * from './create-claim-partner-request-dto';
6
+ export * from './create-claim-partner-response-class';
7
+ export * from './create-claim-partner-role-request-dto';
8
+ export * from './create-claim-partner-role-response-class';
3
9
  export * from './create-claim-request-dto';
4
10
  export * from './create-claim-response-class';
5
11
  export * from './create-claim-status-request-dto';
6
12
  export * from './create-claim-status-response-class';
7
13
  export * from './create-settlement-request-dto';
8
14
  export * from './create-settlement-response-class';
15
+ export * from './get-claim-partner-response-class';
16
+ export * from './get-claim-partner-role-response-class';
9
17
  export * from './get-claim-response-class';
10
18
  export * from './get-claim-status-response-class';
11
19
  export * from './get-settlement-response-class';
12
20
  export * from './inline-response200';
13
21
  export * from './inline-response503';
22
+ export * from './list-claim-partner-roles-response-class';
23
+ export * from './list-claim-partners-response-class';
14
24
  export * from './list-claim-statuses-response-class';
15
25
  export * from './list-claims-response-class';
16
26
  export * from './list-settlements-response-class';
17
27
  export * from './patch-claim-request-dto';
18
28
  export * from './patch-claim-response-class';
19
29
  export * from './settlement-class';
30
+ export * from './update-claim-partner-role-request-dto';
31
+ export * from './update-claim-partner-role-response-class';
20
32
  export * from './update-claim-request-dto';
21
33
  export * from './update-claim-response-class';
22
34
  export * from './update-settlement-request-dto';
@@ -28,21 +28,21 @@ export interface InlineResponse200 {
28
28
  'status'?: string;
29
29
  /**
30
30
  *
31
- * @type {{ [key: string]: { [key: string]: string; }; }}
31
+ * @type {{ [key: string]: { [key: string]: object; }; }}
32
32
  * @memberof InlineResponse200
33
33
  */
34
- 'info'?: { [key: string]: { [key: string]: string; }; } | null;
34
+ 'info'?: { [key: string]: { [key: string]: object; }; } | null;
35
35
  /**
36
36
  *
37
- * @type {{ [key: string]: { [key: string]: string; }; }}
37
+ * @type {{ [key: string]: { [key: string]: object; }; }}
38
38
  * @memberof InlineResponse200
39
39
  */
40
- 'error'?: { [key: string]: { [key: string]: string; }; } | null;
40
+ 'error'?: { [key: string]: { [key: string]: object; }; } | null;
41
41
  /**
42
42
  *
43
- * @type {{ [key: string]: { [key: string]: string; }; }}
43
+ * @type {{ [key: string]: { [key: string]: object; }; }}
44
44
  * @memberof InlineResponse200
45
45
  */
46
- 'details'?: { [key: string]: { [key: string]: string; }; };
46
+ 'details'?: { [key: string]: { [key: string]: object; }; };
47
47
  }
48
48