@emilgroup/claim-sdk 1.17.2-beta.3 → 1.17.2-beta.5

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 (42) hide show
  1. package/.openapi-generator/FILES +4 -0
  2. package/README.md +2 -2
  3. package/api/claim-regulations-api.ts +62 -32
  4. package/api/health-check-api.ts +5 -5
  5. package/dist/api/claim-regulations-api.d.ts +38 -19
  6. package/dist/api/claim-regulations-api.js +36 -24
  7. package/dist/api/health-check-api.d.ts +4 -4
  8. package/dist/api/health-check-api.js +5 -5
  9. package/dist/models/create-claim-partner-response-class.d.ts +1 -1
  10. package/dist/models/create-claim-partner-role-response-class.d.ts +1 -1
  11. package/dist/models/create-claim-request-dto.d.ts +17 -17
  12. package/dist/models/create-regulation-item-request-dto.d.ts +4 -4
  13. package/dist/models/get-claim-partner-response-class.d.ts +1 -1
  14. package/dist/models/get-claim-partner-role-response-class.d.ts +1 -1
  15. package/dist/models/index.d.ts +4 -0
  16. package/dist/models/index.js +4 -0
  17. package/dist/models/patch-claim-request-dto.d.ts +18 -18
  18. package/dist/models/update-claim-partner-role-response-class.d.ts +1 -1
  19. package/dist/models/update-claim-request-dto.d.ts +15 -15
  20. package/dist/models/update-payout-details-dto.d.ts +60 -0
  21. package/dist/models/update-payout-details-dto.js +26 -0
  22. package/dist/models/update-regress-details-dto.d.ts +51 -0
  23. package/dist/models/update-regress-details-dto.js +29 -0
  24. package/dist/models/update-regulation-item-request-dto-rest.d.ts +69 -0
  25. package/dist/models/update-regulation-item-request-dto-rest.js +21 -0
  26. package/dist/models/update-reserve-details-dto.d.ts +29 -0
  27. package/dist/models/update-reserve-details-dto.js +20 -0
  28. package/models/create-claim-partner-response-class.ts +1 -1
  29. package/models/create-claim-partner-role-response-class.ts +1 -1
  30. package/models/create-claim-request-dto.ts +17 -17
  31. package/models/create-regulation-item-request-dto.ts +4 -4
  32. package/models/get-claim-partner-response-class.ts +1 -1
  33. package/models/get-claim-partner-role-response-class.ts +1 -1
  34. package/models/index.ts +4 -0
  35. package/models/patch-claim-request-dto.ts +18 -18
  36. package/models/update-claim-partner-role-response-class.ts +1 -1
  37. package/models/update-claim-request-dto.ts +15 -15
  38. package/models/update-payout-details-dto.ts +70 -0
  39. package/models/update-regress-details-dto.ts +61 -0
  40. package/models/update-regulation-item-request-dto-rest.ts +78 -0
  41. package/models/update-reserve-details-dto.ts +38 -0
  42. package/package.json +1 -1
@@ -25,108 +25,108 @@ export interface PatchClaimRequestDto {
25
25
  * @type {string}
26
26
  * @memberof PatchClaimRequestDto
27
27
  */
28
- 'title'?: string;
28
+ 'title': string;
29
29
  /**
30
30
  * The current status of the claim.
31
31
  * @type {string}
32
32
  * @memberof PatchClaimRequestDto
33
33
  */
34
- 'status'?: string;
34
+ 'status': string;
35
35
  /**
36
36
  * Unique identifier of the account that the claim belongs to.
37
37
  * @type {string}
38
38
  * @memberof PatchClaimRequestDto
39
39
  */
40
- 'accountCode'?: string;
40
+ 'accountCode': string;
41
41
  /**
42
42
  * Field for the policy number that the claim belongs to.
43
43
  * @type {string}
44
44
  * @memberof PatchClaimRequestDto
45
45
  */
46
- 'policyNumber'?: string;
46
+ 'policyNumber': string;
47
47
  /**
48
48
  * Field for the policy code that the claim belongs to.
49
49
  * @type {string}
50
50
  * @memberof PatchClaimRequestDto
51
51
  */
52
- 'policyCode'?: string;
52
+ 'policyCode': string;
53
53
  /**
54
54
  * Unique identifier referencing the product.
55
55
  * @type {number}
56
56
  * @memberof PatchClaimRequestDto
57
57
  */
58
- 'productId'?: number;
58
+ 'productId': number;
59
59
  /**
60
60
  * Unique identifier referencing the product version.
61
61
  * @type {number}
62
62
  * @memberof PatchClaimRequestDto
63
63
  */
64
- 'productVersionId'?: number;
64
+ 'productVersionId': number;
65
65
  /**
66
66
  * The name of the product.
67
67
  * @type {string}
68
68
  * @memberof PatchClaimRequestDto
69
69
  */
70
- 'productName'?: string;
70
+ 'productName': string;
71
71
  /**
72
72
  * The insured object identifier that the claim is made for.
73
73
  * @type {number}
74
74
  * @memberof PatchClaimRequestDto
75
75
  */
76
- 'insuredObjectId'?: number;
76
+ 'insuredObjectId': number;
77
77
  /**
78
78
  * The policy object code that the claim is made for.
79
79
  * @type {string}
80
80
  * @memberof PatchClaimRequestDto
81
81
  */
82
- 'policyObjectCode'?: string;
82
+ 'policyObjectCode': string;
83
83
  /**
84
84
  * The claim\'s description in 5000 characters.
85
85
  * @type {string}
86
86
  * @memberof PatchClaimRequestDto
87
87
  */
88
- 'description'?: string;
88
+ 'description': string;
89
89
  /**
90
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.
91
91
  * @type {string}
92
92
  * @memberof PatchClaimRequestDto
93
93
  */
94
- 'adjuster'?: string;
94
+ 'adjuster': string;
95
95
  /**
96
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.
97
97
  * @type {string}
98
98
  * @memberof PatchClaimRequestDto
99
99
  */
100
- 'reporter'?: string;
100
+ 'reporter': string;
101
101
  /**
102
102
  * The contact email of the policyholder.
103
103
  * @type {string}
104
104
  * @memberof PatchClaimRequestDto
105
105
  */
106
- 'contactEmail'?: string;
106
+ 'contactEmail': string;
107
107
  /**
108
108
  * The contact phone of the policyholder.
109
109
  * @type {string}
110
110
  * @memberof PatchClaimRequestDto
111
111
  */
112
- 'contactPhone'?: string;
112
+ 'contactPhone': string;
113
113
  /**
114
114
  * The claim\'s damage date.
115
115
  * @type {string}
116
116
  * @memberof PatchClaimRequestDto
117
117
  */
118
- 'damageDate'?: string;
118
+ 'damageDate': string;
119
119
  /**
120
120
  * The date on which the claim is reported.
121
121
  * @type {string}
122
122
  * @memberof PatchClaimRequestDto
123
123
  */
124
- 'notificationDate'?: string;
124
+ 'notificationDate': string;
125
125
  /**
126
126
  * Tenant specific custom fields for claims (e.g. IMEI, Serial Number, etc.).
127
127
  * @type {object}
128
128
  * @memberof PatchClaimRequestDto
129
129
  */
130
- 'customFields'?: object;
130
+ 'customFields': object;
131
131
  }
132
132
 
@@ -26,6 +26,6 @@ export interface UpdateClaimPartnerRoleResponseClass {
26
26
  * @type {ClaimPartnerRoleClass}
27
27
  * @memberof UpdateClaimPartnerRoleResponseClass
28
28
  */
29
- 'claimPartnerRole'?: ClaimPartnerRoleClass;
29
+ 'claimPartnerRole': ClaimPartnerRoleClass;
30
30
  }
31
31
 
@@ -25,7 +25,7 @@ export interface UpdateClaimRequestDto {
25
25
  * @type {string}
26
26
  * @memberof UpdateClaimRequestDto
27
27
  */
28
- 'title'?: string;
28
+ 'title': string;
29
29
  /**
30
30
  * The current status of the claim.
31
31
  * @type {string}
@@ -37,79 +37,79 @@ export interface UpdateClaimRequestDto {
37
37
  * @type {string}
38
38
  * @memberof UpdateClaimRequestDto
39
39
  */
40
- 'accountCode'?: string;
40
+ 'accountCode': string;
41
41
  /**
42
42
  * Field for the policy number that the claim belongs to.
43
43
  * @type {string}
44
44
  * @memberof UpdateClaimRequestDto
45
45
  */
46
- 'policyNumber'?: string;
46
+ 'policyNumber': string;
47
47
  /**
48
48
  * Field for the policy code that the claim belongs to.
49
49
  * @type {string}
50
50
  * @memberof UpdateClaimRequestDto
51
51
  */
52
- 'policyCode'?: string;
52
+ 'policyCode': string;
53
53
  /**
54
54
  * Unique identifier referencing the product.
55
55
  * @type {number}
56
56
  * @memberof UpdateClaimRequestDto
57
57
  */
58
- 'productId'?: number;
58
+ 'productId': number;
59
59
  /**
60
60
  * Unique identifier referencing the product version.
61
61
  * @type {number}
62
62
  * @memberof UpdateClaimRequestDto
63
63
  */
64
- 'productVersionId'?: number;
64
+ 'productVersionId': number;
65
65
  /**
66
66
  * The name of the product.
67
67
  * @type {string}
68
68
  * @memberof UpdateClaimRequestDto
69
69
  */
70
- 'productName'?: string;
70
+ 'productName': string;
71
71
  /**
72
72
  * The insured object identifier that the claim is made for.
73
73
  * @type {number}
74
74
  * @memberof UpdateClaimRequestDto
75
75
  */
76
- 'insuredObjectId'?: number;
76
+ 'insuredObjectId': number;
77
77
  /**
78
78
  * The policy object code that the claim is made for.
79
79
  * @type {string}
80
80
  * @memberof UpdateClaimRequestDto
81
81
  */
82
- 'policyObjectCode'?: string;
82
+ 'policyObjectCode': string;
83
83
  /**
84
84
  * The claim\'s description in 5000 characters.
85
85
  * @type {string}
86
86
  * @memberof UpdateClaimRequestDto
87
87
  */
88
- 'description'?: string;
88
+ 'description': string;
89
89
  /**
90
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.
91
91
  * @type {string}
92
92
  * @memberof UpdateClaimRequestDto
93
93
  */
94
- 'adjuster'?: string;
94
+ 'adjuster': string;
95
95
  /**
96
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.
97
97
  * @type {string}
98
98
  * @memberof UpdateClaimRequestDto
99
99
  */
100
- 'reporter'?: string;
100
+ 'reporter': string;
101
101
  /**
102
102
  * The contact email of the policyholder.
103
103
  * @type {string}
104
104
  * @memberof UpdateClaimRequestDto
105
105
  */
106
- 'contactEmail'?: string;
106
+ 'contactEmail': string;
107
107
  /**
108
108
  * The contact phone of the policyholder.
109
109
  * @type {string}
110
110
  * @memberof UpdateClaimRequestDto
111
111
  */
112
- 'contactPhone'?: string;
112
+ 'contactPhone': string;
113
113
  /**
114
114
  * The claim\'s damage date.
115
115
  * @type {string}
@@ -127,6 +127,6 @@ export interface UpdateClaimRequestDto {
127
127
  * @type {object}
128
128
  * @memberof UpdateClaimRequestDto
129
129
  */
130
- 'customFields'?: object;
130
+ 'customFields': object;
131
131
  }
132
132
 
@@ -0,0 +1,70 @@
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 UpdatePayoutDetailsDto
21
+ */
22
+ export interface UpdatePayoutDetailsDto {
23
+ /**
24
+ * The type of the payout.
25
+ * @type {string}
26
+ * @memberof UpdatePayoutDetailsDto
27
+ */
28
+ 'payoutType'?: UpdatePayoutDetailsDtoPayoutTypeEnum;
29
+ /**
30
+ * The status of the payout.
31
+ * @type {string}
32
+ * @memberof UpdatePayoutDetailsDto
33
+ */
34
+ 'payoutStatus'?: UpdatePayoutDetailsDtoPayoutStatusEnum;
35
+ /**
36
+ * Name of the recipient who would receive the payout.
37
+ * @type {string}
38
+ * @memberof UpdatePayoutDetailsDto
39
+ */
40
+ 'recipientName'?: string;
41
+ /**
42
+ * IBAN of the recipient
43
+ * @type {string}
44
+ * @memberof UpdatePayoutDetailsDto
45
+ */
46
+ 'iban'?: string;
47
+ /**
48
+ * Purpose of the payout
49
+ * @type {string}
50
+ * @memberof UpdatePayoutDetailsDto
51
+ */
52
+ 'payoutPurpose'?: string;
53
+ }
54
+
55
+ export const UpdatePayoutDetailsDtoPayoutTypeEnum = {
56
+ Real: 'REAL',
57
+ Statistical: 'STATISTICAL'
58
+ } as const;
59
+
60
+ export type UpdatePayoutDetailsDtoPayoutTypeEnum = typeof UpdatePayoutDetailsDtoPayoutTypeEnum[keyof typeof UpdatePayoutDetailsDtoPayoutTypeEnum];
61
+ export const UpdatePayoutDetailsDtoPayoutStatusEnum = {
62
+ Pending: 'PENDING',
63
+ InProgress: 'IN_PROGRESS',
64
+ Completed: 'COMPLETED',
65
+ Failed: 'FAILED'
66
+ } as const;
67
+
68
+ export type UpdatePayoutDetailsDtoPayoutStatusEnum = typeof UpdatePayoutDetailsDtoPayoutStatusEnum[keyof typeof UpdatePayoutDetailsDtoPayoutStatusEnum];
69
+
70
+
@@ -0,0 +1,61 @@
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 UpdateRegressDetailsDto
21
+ */
22
+ export interface UpdateRegressDetailsDto {
23
+ /**
24
+ * The type of recovery.
25
+ * @type {string}
26
+ * @memberof UpdateRegressDetailsDto
27
+ */
28
+ 'recoveryType'?: UpdateRegressDetailsDtoRecoveryTypeEnum;
29
+ /**
30
+ * The status of recovery.
31
+ * @type {string}
32
+ * @memberof UpdateRegressDetailsDto
33
+ */
34
+ 'recoveryStatus'?: UpdateRegressDetailsDtoRecoveryStatusEnum;
35
+ /**
36
+ * Optional helpful and relevant information provided by the third party can be stored in this field.
37
+ * @type {string}
38
+ * @memberof UpdateRegressDetailsDto
39
+ */
40
+ 'thirdPartyInformation'?: string;
41
+ }
42
+
43
+ export const UpdateRegressDetailsDtoRecoveryTypeEnum = {
44
+ SubrogationInitiated: 'SUBROGATION_INITIATED',
45
+ PartialRecovery: 'PARTIAL_RECOVERY',
46
+ FullRecovery: 'FULL_RECOVERY',
47
+ Adjustment: 'ADJUSTMENT'
48
+ } as const;
49
+
50
+ export type UpdateRegressDetailsDtoRecoveryTypeEnum = typeof UpdateRegressDetailsDtoRecoveryTypeEnum[keyof typeof UpdateRegressDetailsDtoRecoveryTypeEnum];
51
+ export const UpdateRegressDetailsDtoRecoveryStatusEnum = {
52
+ Pending: 'PENDING',
53
+ InProgress: 'IN_PROGRESS',
54
+ PartiallyRecovered: 'PARTIALLY_RECOVERED',
55
+ FullyRecovered: 'FULLY_RECOVERED',
56
+ Closed: 'CLOSED'
57
+ } as const;
58
+
59
+ export type UpdateRegressDetailsDtoRecoveryStatusEnum = typeof UpdateRegressDetailsDtoRecoveryStatusEnum[keyof typeof UpdateRegressDetailsDtoRecoveryStatusEnum];
60
+
61
+
@@ -0,0 +1,78 @@
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 { UpdatePayoutDetailsDto } from './update-payout-details-dto';
17
+ import { UpdateRegressDetailsDto } from './update-regress-details-dto';
18
+ import { UpdateReserveDetailsDto } from './update-reserve-details-dto';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface UpdateRegulationItemRequestDtoRest
24
+ */
25
+ export interface UpdateRegulationItemRequestDtoRest {
26
+ /**
27
+ * Indicates the kind of regulation item - regulation items can be of type payout, reserve or regress. When updating must be the same as the created regulation item type.
28
+ * @type {string}
29
+ * @memberof UpdateRegulationItemRequestDtoRest
30
+ */
31
+ 'regulationItemType': UpdateRegulationItemRequestDtoRestRegulationItemTypeEnum;
32
+ /**
33
+ * The amount for the regulation item. Must be a number with up to 2 decimal places. If not provided, the amount will not be updated.
34
+ * @type {number}
35
+ * @memberof UpdateRegulationItemRequestDtoRest
36
+ */
37
+ 'amount'?: number;
38
+ /**
39
+ * The currency for the regulation item. Must be a valid currency code.
40
+ * @type {string}
41
+ * @memberof UpdateRegulationItemRequestDtoRest
42
+ */
43
+ 'currency'?: string;
44
+ /**
45
+ * The booking date for the regulation item. Must be a valid ISO 8601 date. If not provided, the booking date will not be updated.
46
+ * @type {string}
47
+ * @memberof UpdateRegulationItemRequestDtoRest
48
+ */
49
+ 'bookingDate'?: string;
50
+ /**
51
+ * The payout details for the regulation item. Must be a valid payout details object.At least an empty object is required when updating a payout item. But if the regulation item type is not payout, this field is not required.
52
+ * @type {UpdatePayoutDetailsDto}
53
+ * @memberof UpdateRegulationItemRequestDtoRest
54
+ */
55
+ 'payoutDetails'?: UpdatePayoutDetailsDto;
56
+ /**
57
+ * The reserve details for the regulation item. Must be a valid reserve details object.At least an empty object is required when updating a reserve item. But if the regulation item type is not reserve, this field is not required.
58
+ * @type {UpdateReserveDetailsDto}
59
+ * @memberof UpdateRegulationItemRequestDtoRest
60
+ */
61
+ 'reserveDetails'?: UpdateReserveDetailsDto;
62
+ /**
63
+ * The regress details for the regulation item. Must be a valid regress details object.At least an empty object is required when updating a regress item. But if the regulation item type is not regress, this field is not required.
64
+ * @type {UpdateRegressDetailsDto}
65
+ * @memberof UpdateRegulationItemRequestDtoRest
66
+ */
67
+ 'regressDetails'?: UpdateRegressDetailsDto;
68
+ }
69
+
70
+ export const UpdateRegulationItemRequestDtoRestRegulationItemTypeEnum = {
71
+ Payout: 'PAYOUT',
72
+ Regress: 'REGRESS',
73
+ Reserve: 'RESERVE'
74
+ } as const;
75
+
76
+ export type UpdateRegulationItemRequestDtoRestRegulationItemTypeEnum = typeof UpdateRegulationItemRequestDtoRestRegulationItemTypeEnum[keyof typeof UpdateRegulationItemRequestDtoRestRegulationItemTypeEnum];
77
+
78
+
@@ -0,0 +1,38 @@
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 UpdateReserveDetailsDto
21
+ */
22
+ export interface UpdateReserveDetailsDto {
23
+ /**
24
+ * The type of the reserve.
25
+ * @type {string}
26
+ * @memberof UpdateReserveDetailsDto
27
+ */
28
+ 'reserveType'?: UpdateReserveDetailsDtoReserveTypeEnum;
29
+ }
30
+
31
+ export const UpdateReserveDetailsDtoReserveTypeEnum = {
32
+ Initial: 'INITIAL',
33
+ Adjustment: 'ADJUSTMENT'
34
+ } as const;
35
+
36
+ export type UpdateReserveDetailsDtoReserveTypeEnum = typeof UpdateReserveDetailsDtoReserveTypeEnum[keyof typeof UpdateReserveDetailsDtoReserveTypeEnum];
37
+
38
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/claim-sdk",
3
- "version": "1.17.2-beta.3",
3
+ "version": "1.17.2-beta.5",
4
4
  "description": "OpenAPI client for @emilgroup/claim-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [