@emilgroup/claim-sdk-node 1.20.0 → 1.21.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 +1 -0
- package/README.md +2 -2
- package/dist/models/create-regulation-item-request-dto.d.ts +6 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/payout-details-class.d.ts +7 -0
- package/dist/models/payout-details-class.js +2 -1
- package/dist/models/payout-details-dto.d.ts +7 -0
- package/dist/models/payout-details-dto.js +2 -1
- package/dist/models/regulation-item-class.d.ts +6 -0
- package/dist/models/update-payout-details-dto.d.ts +7 -0
- package/dist/models/update-payout-details-dto.js +2 -1
- package/dist/models/update-regress-details-dto.d.ts +51 -0
- package/dist/models/update-regress-details-dto.js +29 -0
- package/dist/models/update-regulation-item-request-dto-rest.d.ts +9 -2
- package/models/create-regulation-item-request-dto.ts +6 -0
- package/models/index.ts +1 -0
- package/models/payout-details-class.ts +8 -1
- package/models/payout-details-dto.ts +8 -1
- package/models/regulation-item-class.ts +6 -0
- package/models/update-payout-details-dto.ts +8 -1
- package/models/update-regress-details-dto.ts +61 -0
- package/models/update-regulation-item-request-dto-rest.ts +9 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -61,6 +61,7 @@ models/update-claim-partner-role-response-class.ts
|
|
|
61
61
|
models/update-claim-request-dto.ts
|
|
62
62
|
models/update-claim-response-class.ts
|
|
63
63
|
models/update-payout-details-dto.ts
|
|
64
|
+
models/update-regress-details-dto.ts
|
|
64
65
|
models/update-regulation-item-request-dto-rest.ts
|
|
65
66
|
models/update-reserve-details-dto.ts
|
|
66
67
|
models/update-settlement-request-dto.ts
|
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-node@1.
|
|
20
|
+
npm install @emilgroup/claim-sdk-node@1.21.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/claim-sdk-node@1.
|
|
24
|
+
yarn add @emilgroup/claim-sdk-node@1.21.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `ClaimsApi`.
|
|
@@ -48,6 +48,12 @@ export interface CreateRegulationItemRequestDto {
|
|
|
48
48
|
* @memberof CreateRegulationItemRequestDto
|
|
49
49
|
*/
|
|
50
50
|
'claimCode': string;
|
|
51
|
+
/**
|
|
52
|
+
* Optional metadata for the regulation item, can be used to store additional information that does not map to the other fields directly.
|
|
53
|
+
* @type {object}
|
|
54
|
+
* @memberof CreateRegulationItemRequestDto
|
|
55
|
+
*/
|
|
56
|
+
'metadata'?: object;
|
|
51
57
|
/**
|
|
52
58
|
* Details of the payout. Required if the regulation item type is payout.
|
|
53
59
|
* @type {PayoutDetailsDto}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ export * from './update-claim-partner-role-response-class';
|
|
|
43
43
|
export * from './update-claim-request-dto';
|
|
44
44
|
export * from './update-claim-response-class';
|
|
45
45
|
export * from './update-payout-details-dto';
|
|
46
|
+
export * from './update-regress-details-dto';
|
|
46
47
|
export * from './update-regulation-item-request-dto-rest';
|
|
47
48
|
export * from './update-reserve-details-dto';
|
|
48
49
|
export * from './update-settlement-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -59,6 +59,7 @@ __exportStar(require("./update-claim-partner-role-response-class"), exports);
|
|
|
59
59
|
__exportStar(require("./update-claim-request-dto"), exports);
|
|
60
60
|
__exportStar(require("./update-claim-response-class"), exports);
|
|
61
61
|
__exportStar(require("./update-payout-details-dto"), exports);
|
|
62
|
+
__exportStar(require("./update-regress-details-dto"), exports);
|
|
62
63
|
__exportStar(require("./update-regulation-item-request-dto-rest"), exports);
|
|
63
64
|
__exportStar(require("./update-reserve-details-dto"), exports);
|
|
64
65
|
__exportStar(require("./update-settlement-request-dto"), exports);
|
|
@@ -81,6 +81,12 @@ export interface PayoutDetailsClass {
|
|
|
81
81
|
* @memberof PayoutDetailsClass
|
|
82
82
|
*/
|
|
83
83
|
'customFields'?: object;
|
|
84
|
+
/**
|
|
85
|
+
* Date on which the payout took place or scheduled to take place.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof PayoutDetailsClass
|
|
88
|
+
*/
|
|
89
|
+
'payoutDate'?: string;
|
|
84
90
|
}
|
|
85
91
|
export declare const PayoutDetailsClassPayoutTypeEnum: {
|
|
86
92
|
readonly Real: "REAL";
|
|
@@ -92,5 +98,6 @@ export declare const PayoutDetailsClassPayoutStatusEnum: {
|
|
|
92
98
|
readonly InProgress: "IN_PROGRESS";
|
|
93
99
|
readonly Completed: "COMPLETED";
|
|
94
100
|
readonly Failed: "FAILED";
|
|
101
|
+
readonly SanctionsCheckFailed: "SANCTIONS_CHECK_FAILED";
|
|
95
102
|
};
|
|
96
103
|
export type PayoutDetailsClassPayoutStatusEnum = typeof PayoutDetailsClassPayoutStatusEnum[keyof typeof PayoutDetailsClassPayoutStatusEnum];
|
|
@@ -45,6 +45,12 @@ export interface PayoutDetailsDto {
|
|
|
45
45
|
* @memberof PayoutDetailsDto
|
|
46
46
|
*/
|
|
47
47
|
'payoutPurpose'?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Date on which the payout took place or scheduled to take place.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PayoutDetailsDto
|
|
52
|
+
*/
|
|
53
|
+
'payoutDate'?: string;
|
|
48
54
|
/**
|
|
49
55
|
* Product or tenant specific custom fields for the payout detials. Depends on the schema defined for payout-details entity using tenantservice api.
|
|
50
56
|
* @type {object}
|
|
@@ -62,5 +68,6 @@ export declare const PayoutDetailsDtoPayoutStatusEnum: {
|
|
|
62
68
|
readonly InProgress: "IN_PROGRESS";
|
|
63
69
|
readonly Completed: "COMPLETED";
|
|
64
70
|
readonly Failed: "FAILED";
|
|
71
|
+
readonly SanctionsCheckFailed: "SANCTIONS_CHECK_FAILED";
|
|
65
72
|
};
|
|
66
73
|
export type PayoutDetailsDtoPayoutStatusEnum = typeof PayoutDetailsDtoPayoutStatusEnum[keyof typeof PayoutDetailsDtoPayoutStatusEnum];
|
|
@@ -61,6 +61,12 @@ export interface RegulationItemClass {
|
|
|
61
61
|
* @memberof RegulationItemClass
|
|
62
62
|
*/
|
|
63
63
|
'claim': ClaimClass;
|
|
64
|
+
/**
|
|
65
|
+
* Optional metadata for the regulation item, can be used to store additional information that does not map to the other fields directly.
|
|
66
|
+
* @type {object}
|
|
67
|
+
* @memberof RegulationItemClass
|
|
68
|
+
*/
|
|
69
|
+
'metadata'?: object;
|
|
64
70
|
/**
|
|
65
71
|
* The PayoutDetailsClass response.
|
|
66
72
|
* @type {PayoutDetailsClass}
|
|
@@ -45,6 +45,12 @@ export interface UpdatePayoutDetailsDto {
|
|
|
45
45
|
* @memberof UpdatePayoutDetailsDto
|
|
46
46
|
*/
|
|
47
47
|
'payoutPurpose'?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Date on which the payout took place or scheduled to take place.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof UpdatePayoutDetailsDto
|
|
52
|
+
*/
|
|
53
|
+
'payoutDate'?: string;
|
|
48
54
|
/**
|
|
49
55
|
* Product or tenant specific custom fields for the payout detials. Depends on the schema defined for payout-details entity using tenantservice api.
|
|
50
56
|
* @type {object}
|
|
@@ -62,5 +68,6 @@ export declare const UpdatePayoutDetailsDtoPayoutStatusEnum: {
|
|
|
62
68
|
readonly InProgress: "IN_PROGRESS";
|
|
63
69
|
readonly Completed: "COMPLETED";
|
|
64
70
|
readonly Failed: "FAILED";
|
|
71
|
+
readonly SanctionsCheckFailed: "SANCTIONS_CHECK_FAILED";
|
|
65
72
|
};
|
|
66
73
|
export type UpdatePayoutDetailsDtoPayoutStatusEnum = typeof UpdatePayoutDetailsDtoPayoutStatusEnum[keyof typeof UpdatePayoutDetailsDtoPayoutStatusEnum];
|
|
@@ -0,0 +1,51 @@
|
|
|
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 UpdateRegressDetailsDto
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateRegressDetailsDto {
|
|
18
|
+
/**
|
|
19
|
+
* The type of recovery.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateRegressDetailsDto
|
|
22
|
+
*/
|
|
23
|
+
'recoveryType'?: UpdateRegressDetailsDtoRecoveryTypeEnum;
|
|
24
|
+
/**
|
|
25
|
+
* The status of recovery.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateRegressDetailsDto
|
|
28
|
+
*/
|
|
29
|
+
'recoveryStatus'?: UpdateRegressDetailsDtoRecoveryStatusEnum;
|
|
30
|
+
/**
|
|
31
|
+
* Optional helpful and relevant information provided by the third party can be stored in this field.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateRegressDetailsDto
|
|
34
|
+
*/
|
|
35
|
+
'thirdPartyInformation'?: string;
|
|
36
|
+
}
|
|
37
|
+
export declare const UpdateRegressDetailsDtoRecoveryTypeEnum: {
|
|
38
|
+
readonly SubrogationInitiated: "SUBROGATION_INITIATED";
|
|
39
|
+
readonly PartialRecovery: "PARTIAL_RECOVERY";
|
|
40
|
+
readonly FullRecovery: "FULL_RECOVERY";
|
|
41
|
+
readonly Adjustment: "ADJUSTMENT";
|
|
42
|
+
};
|
|
43
|
+
export type UpdateRegressDetailsDtoRecoveryTypeEnum = typeof UpdateRegressDetailsDtoRecoveryTypeEnum[keyof typeof UpdateRegressDetailsDtoRecoveryTypeEnum];
|
|
44
|
+
export declare const UpdateRegressDetailsDtoRecoveryStatusEnum: {
|
|
45
|
+
readonly Pending: "PENDING";
|
|
46
|
+
readonly InProgress: "IN_PROGRESS";
|
|
47
|
+
readonly PartiallyRecovered: "PARTIALLY_RECOVERED";
|
|
48
|
+
readonly FullyRecovered: "FULLY_RECOVERED";
|
|
49
|
+
readonly Closed: "CLOSED";
|
|
50
|
+
};
|
|
51
|
+
export type UpdateRegressDetailsDtoRecoveryStatusEnum = typeof UpdateRegressDetailsDtoRecoveryStatusEnum[keyof typeof UpdateRegressDetailsDtoRecoveryStatusEnum];
|
|
@@ -0,0 +1,29 @@
|
|
|
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 });
|
|
16
|
+
exports.UpdateRegressDetailsDtoRecoveryStatusEnum = exports.UpdateRegressDetailsDtoRecoveryTypeEnum = void 0;
|
|
17
|
+
exports.UpdateRegressDetailsDtoRecoveryTypeEnum = {
|
|
18
|
+
SubrogationInitiated: 'SUBROGATION_INITIATED',
|
|
19
|
+
PartialRecovery: 'PARTIAL_RECOVERY',
|
|
20
|
+
FullRecovery: 'FULL_RECOVERY',
|
|
21
|
+
Adjustment: 'ADJUSTMENT'
|
|
22
|
+
};
|
|
23
|
+
exports.UpdateRegressDetailsDtoRecoveryStatusEnum = {
|
|
24
|
+
Pending: 'PENDING',
|
|
25
|
+
InProgress: 'IN_PROGRESS',
|
|
26
|
+
PartiallyRecovered: 'PARTIALLY_RECOVERED',
|
|
27
|
+
FullyRecovered: 'FULLY_RECOVERED',
|
|
28
|
+
Closed: 'CLOSED'
|
|
29
|
+
};
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { UpdatePayoutDetailsDto } from './update-payout-details-dto';
|
|
13
|
+
import { UpdateRegressDetailsDto } from './update-regress-details-dto';
|
|
13
14
|
import { UpdateReserveDetailsDto } from './update-reserve-details-dto';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
@@ -35,6 +36,12 @@ export interface UpdateRegulationItemRequestDtoRest {
|
|
|
35
36
|
* @memberof UpdateRegulationItemRequestDtoRest
|
|
36
37
|
*/
|
|
37
38
|
'currency'?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Optional metadata for the regulation item, can be used to store additional information that does not map to the other fields directly.
|
|
41
|
+
* @type {object}
|
|
42
|
+
* @memberof UpdateRegulationItemRequestDtoRest
|
|
43
|
+
*/
|
|
44
|
+
'metadata'?: object;
|
|
38
45
|
/**
|
|
39
46
|
* The booking date for the regulation item. Must be a valid ISO 8601 date. If not provided, the booking date will not be updated.
|
|
40
47
|
* @type {string}
|
|
@@ -55,10 +62,10 @@ export interface UpdateRegulationItemRequestDtoRest {
|
|
|
55
62
|
'reserveDetails'?: UpdateReserveDetailsDto;
|
|
56
63
|
/**
|
|
57
64
|
* 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.
|
|
58
|
-
* @type {
|
|
65
|
+
* @type {UpdateRegressDetailsDto}
|
|
59
66
|
* @memberof UpdateRegulationItemRequestDtoRest
|
|
60
67
|
*/
|
|
61
|
-
'regressDetails'?:
|
|
68
|
+
'regressDetails'?: UpdateRegressDetailsDto;
|
|
62
69
|
}
|
|
63
70
|
export declare const UpdateRegulationItemRequestDtoRestRegulationItemTypeEnum: {
|
|
64
71
|
readonly Payout: "PAYOUT";
|
|
@@ -53,6 +53,12 @@ export interface CreateRegulationItemRequestDto {
|
|
|
53
53
|
* @memberof CreateRegulationItemRequestDto
|
|
54
54
|
*/
|
|
55
55
|
'claimCode': string;
|
|
56
|
+
/**
|
|
57
|
+
* Optional metadata for the regulation item, can be used to store additional information that does not map to the other fields directly.
|
|
58
|
+
* @type {object}
|
|
59
|
+
* @memberof CreateRegulationItemRequestDto
|
|
60
|
+
*/
|
|
61
|
+
'metadata'?: object;
|
|
56
62
|
/**
|
|
57
63
|
* Details of the payout. Required if the regulation item type is payout.
|
|
58
64
|
* @type {PayoutDetailsDto}
|
package/models/index.ts
CHANGED
|
@@ -43,6 +43,7 @@ export * from './update-claim-partner-role-response-class';
|
|
|
43
43
|
export * from './update-claim-request-dto';
|
|
44
44
|
export * from './update-claim-response-class';
|
|
45
45
|
export * from './update-payout-details-dto';
|
|
46
|
+
export * from './update-regress-details-dto';
|
|
46
47
|
export * from './update-regulation-item-request-dto-rest';
|
|
47
48
|
export * from './update-reserve-details-dto';
|
|
48
49
|
export * from './update-settlement-request-dto';
|
|
@@ -86,6 +86,12 @@ export interface PayoutDetailsClass {
|
|
|
86
86
|
* @memberof PayoutDetailsClass
|
|
87
87
|
*/
|
|
88
88
|
'customFields'?: object;
|
|
89
|
+
/**
|
|
90
|
+
* Date on which the payout took place or scheduled to take place.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof PayoutDetailsClass
|
|
93
|
+
*/
|
|
94
|
+
'payoutDate'?: string;
|
|
89
95
|
}
|
|
90
96
|
|
|
91
97
|
export const PayoutDetailsClassPayoutTypeEnum = {
|
|
@@ -98,7 +104,8 @@ export const PayoutDetailsClassPayoutStatusEnum = {
|
|
|
98
104
|
Pending: 'PENDING',
|
|
99
105
|
InProgress: 'IN_PROGRESS',
|
|
100
106
|
Completed: 'COMPLETED',
|
|
101
|
-
Failed: 'FAILED'
|
|
107
|
+
Failed: 'FAILED',
|
|
108
|
+
SanctionsCheckFailed: 'SANCTIONS_CHECK_FAILED'
|
|
102
109
|
} as const;
|
|
103
110
|
|
|
104
111
|
export type PayoutDetailsClassPayoutStatusEnum = typeof PayoutDetailsClassPayoutStatusEnum[keyof typeof PayoutDetailsClassPayoutStatusEnum];
|
|
@@ -50,6 +50,12 @@ export interface PayoutDetailsDto {
|
|
|
50
50
|
* @memberof PayoutDetailsDto
|
|
51
51
|
*/
|
|
52
52
|
'payoutPurpose'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Date on which the payout took place or scheduled to take place.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof PayoutDetailsDto
|
|
57
|
+
*/
|
|
58
|
+
'payoutDate'?: string;
|
|
53
59
|
/**
|
|
54
60
|
* Product or tenant specific custom fields for the payout detials. Depends on the schema defined for payout-details entity using tenantservice api.
|
|
55
61
|
* @type {object}
|
|
@@ -68,7 +74,8 @@ export const PayoutDetailsDtoPayoutStatusEnum = {
|
|
|
68
74
|
Pending: 'PENDING',
|
|
69
75
|
InProgress: 'IN_PROGRESS',
|
|
70
76
|
Completed: 'COMPLETED',
|
|
71
|
-
Failed: 'FAILED'
|
|
77
|
+
Failed: 'FAILED',
|
|
78
|
+
SanctionsCheckFailed: 'SANCTIONS_CHECK_FAILED'
|
|
72
79
|
} as const;
|
|
73
80
|
|
|
74
81
|
export type PayoutDetailsDtoPayoutStatusEnum = typeof PayoutDetailsDtoPayoutStatusEnum[keyof typeof PayoutDetailsDtoPayoutStatusEnum];
|
|
@@ -66,6 +66,12 @@ export interface RegulationItemClass {
|
|
|
66
66
|
* @memberof RegulationItemClass
|
|
67
67
|
*/
|
|
68
68
|
'claim': ClaimClass;
|
|
69
|
+
/**
|
|
70
|
+
* Optional metadata for the regulation item, can be used to store additional information that does not map to the other fields directly.
|
|
71
|
+
* @type {object}
|
|
72
|
+
* @memberof RegulationItemClass
|
|
73
|
+
*/
|
|
74
|
+
'metadata'?: object;
|
|
69
75
|
/**
|
|
70
76
|
* The PayoutDetailsClass response.
|
|
71
77
|
* @type {PayoutDetailsClass}
|
|
@@ -50,6 +50,12 @@ export interface UpdatePayoutDetailsDto {
|
|
|
50
50
|
* @memberof UpdatePayoutDetailsDto
|
|
51
51
|
*/
|
|
52
52
|
'payoutPurpose'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Date on which the payout took place or scheduled to take place.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof UpdatePayoutDetailsDto
|
|
57
|
+
*/
|
|
58
|
+
'payoutDate'?: string;
|
|
53
59
|
/**
|
|
54
60
|
* Product or tenant specific custom fields for the payout detials. Depends on the schema defined for payout-details entity using tenantservice api.
|
|
55
61
|
* @type {object}
|
|
@@ -68,7 +74,8 @@ export const UpdatePayoutDetailsDtoPayoutStatusEnum = {
|
|
|
68
74
|
Pending: 'PENDING',
|
|
69
75
|
InProgress: 'IN_PROGRESS',
|
|
70
76
|
Completed: 'COMPLETED',
|
|
71
|
-
Failed: 'FAILED'
|
|
77
|
+
Failed: 'FAILED',
|
|
78
|
+
SanctionsCheckFailed: 'SANCTIONS_CHECK_FAILED'
|
|
72
79
|
} as const;
|
|
73
80
|
|
|
74
81
|
export type UpdatePayoutDetailsDtoPayoutStatusEnum = typeof UpdatePayoutDetailsDtoPayoutStatusEnum[keyof typeof UpdatePayoutDetailsDtoPayoutStatusEnum];
|
|
@@ -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
|
+
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
import { UpdatePayoutDetailsDto } from './update-payout-details-dto';
|
|
17
|
+
import { UpdateRegressDetailsDto } from './update-regress-details-dto';
|
|
17
18
|
import { UpdateReserveDetailsDto } from './update-reserve-details-dto';
|
|
18
19
|
|
|
19
20
|
/**
|
|
@@ -40,6 +41,12 @@ export interface UpdateRegulationItemRequestDtoRest {
|
|
|
40
41
|
* @memberof UpdateRegulationItemRequestDtoRest
|
|
41
42
|
*/
|
|
42
43
|
'currency'?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Optional metadata for the regulation item, can be used to store additional information that does not map to the other fields directly.
|
|
46
|
+
* @type {object}
|
|
47
|
+
* @memberof UpdateRegulationItemRequestDtoRest
|
|
48
|
+
*/
|
|
49
|
+
'metadata'?: object;
|
|
43
50
|
/**
|
|
44
51
|
* The booking date for the regulation item. Must be a valid ISO 8601 date. If not provided, the booking date will not be updated.
|
|
45
52
|
* @type {string}
|
|
@@ -60,10 +67,10 @@ export interface UpdateRegulationItemRequestDtoRest {
|
|
|
60
67
|
'reserveDetails'?: UpdateReserveDetailsDto;
|
|
61
68
|
/**
|
|
62
69
|
* 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.
|
|
63
|
-
* @type {
|
|
70
|
+
* @type {UpdateRegressDetailsDto}
|
|
64
71
|
* @memberof UpdateRegulationItemRequestDtoRest
|
|
65
72
|
*/
|
|
66
|
-
'regressDetails'?:
|
|
73
|
+
'regressDetails'?: UpdateRegressDetailsDto;
|
|
67
74
|
}
|
|
68
75
|
|
|
69
76
|
export const UpdateRegulationItemRequestDtoRestRegulationItemTypeEnum = {
|