@emilgroup/claim-sdk 1.17.2-beta.4 → 1.17.2-beta.6

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 (32) hide show
  1. package/.openapi-generator/FILES +7 -0
  2. package/README.md +2 -2
  3. package/api/claim-regulations-api.ts +16 -14
  4. package/dist/api/claim-regulations-api.d.ts +9 -8
  5. package/dist/api/claim-regulations-api.js +12 -12
  6. package/dist/models/create-regulation-item-request-dto.d.ts +22 -1
  7. package/dist/models/index.d.ts +7 -0
  8. package/dist/models/index.js +7 -0
  9. package/dist/models/payout-details-dto.d.ts +60 -0
  10. package/dist/models/payout-details-dto.js +26 -0
  11. package/dist/models/regress-details-dto.d.ts +51 -0
  12. package/dist/models/regress-details-dto.js +29 -0
  13. package/dist/models/reserve-details-dto.d.ts +29 -0
  14. package/dist/models/reserve-details-dto.js +20 -0
  15. package/dist/models/update-payout-details-dto.d.ts +60 -0
  16. package/dist/models/update-payout-details-dto.js +26 -0
  17. package/dist/models/update-regress-details-dto.d.ts +51 -0
  18. package/dist/models/update-regress-details-dto.js +29 -0
  19. package/dist/models/update-regulation-item-request-dto-rest.d.ts +69 -0
  20. package/dist/models/update-regulation-item-request-dto-rest.js +21 -0
  21. package/dist/models/update-reserve-details-dto.d.ts +29 -0
  22. package/dist/models/update-reserve-details-dto.js +20 -0
  23. package/models/create-regulation-item-request-dto.ts +22 -1
  24. package/models/index.ts +7 -0
  25. package/models/payout-details-dto.ts +70 -0
  26. package/models/regress-details-dto.ts +61 -0
  27. package/models/reserve-details-dto.ts +38 -0
  28. package/models/update-payout-details-dto.ts +70 -0
  29. package/models/update-regress-details-dto.ts +61 -0
  30. package/models/update-regulation-item-request-dto-rest.ts +78 -0
  31. package/models/update-reserve-details-dto.ts +38 -0
  32. package/package.json +1 -1
@@ -47,15 +47,22 @@ models/list-settlements-response-class.ts
47
47
  models/patch-claim-request-dto.ts
48
48
  models/patch-claim-response-class.ts
49
49
  models/payout-details-class.ts
50
+ models/payout-details-dto.ts
50
51
  models/regress-details-class.ts
52
+ models/regress-details-dto.ts
51
53
  models/regulation-item-class.ts
52
54
  models/regulation-item-response-class.ts
53
55
  models/reserve-details-class.ts
56
+ models/reserve-details-dto.ts
54
57
  models/settlement-class.ts
55
58
  models/update-claim-partner-role-request-dto.ts
56
59
  models/update-claim-partner-role-response-class.ts
57
60
  models/update-claim-request-dto.ts
58
61
  models/update-claim-response-class.ts
62
+ models/update-payout-details-dto.ts
63
+ models/update-regress-details-dto.ts
64
+ models/update-regulation-item-request-dto-rest.ts
65
+ models/update-reserve-details-dto.ts
59
66
  models/update-settlement-request-dto.ts
60
67
  models/update-settlement-response-class.ts
61
68
  package.json
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/claim-sdk@1.17.2-beta.4 --save
20
+ npm install @emilgroup/claim-sdk@1.17.2-beta.6 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/claim-sdk@1.17.2-beta.4
24
+ yarn add @emilgroup/claim-sdk@1.17.2-beta.6
25
25
  ```
26
26
 
27
27
  And then you can import `ClaimsApi`.
@@ -26,6 +26,8 @@ import { CreateRegulationItemRequestDto } from '../models';
26
26
  import { ListRegulationsResponseClass } from '../models';
27
27
  // @ts-ignore
28
28
  import { RegulationItemResponseClass } from '../models';
29
+ // @ts-ignore
30
+ import { UpdateRegulationItemRequestDtoRest } from '../models';
29
31
  /**
30
32
  * ClaimRegulationsApi - axios parameter creator
31
33
  * @export
@@ -254,16 +256,16 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
254
256
  * Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
255
257
  * @summary Update the claim regulation item
256
258
  * @param {string} code Unique identifier for the object.
257
- * @param {object} body
259
+ * @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
258
260
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
259
261
  * @param {*} [options] Override http request option.
260
262
  * @throws {RequiredError}
261
263
  */
262
- updateClaimRegulation: async (code: string, body: object, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
264
+ updateClaimRegulation: async (code: string, updateRegulationItemRequestDtoRest: UpdateRegulationItemRequestDtoRest, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
263
265
  // verify required parameter 'code' is not null or undefined
264
266
  assertParamExists('updateClaimRegulation', 'code', code)
265
- // verify required parameter 'body' is not null or undefined
266
- assertParamExists('updateClaimRegulation', 'body', body)
267
+ // verify required parameter 'updateRegulationItemRequestDtoRest' is not null or undefined
268
+ assertParamExists('updateClaimRegulation', 'updateRegulationItemRequestDtoRest', updateRegulationItemRequestDtoRest)
267
269
  const localVarPath = `/v1/claims/regulations/{code}`
268
270
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
269
271
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -294,7 +296,7 @@ export const ClaimRegulationsApiAxiosParamCreator = function (configuration?: Co
294
296
  setSearchParams(localVarUrlObj, localVarQueryParameter);
295
297
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
296
298
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
297
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
299
+ localVarRequestOptions.data = serializeDataIfNeeded(updateRegulationItemRequestDtoRest, localVarRequestOptions, configuration)
298
300
 
299
301
  return {
300
302
  url: toPathString(localVarUrlObj),
@@ -370,13 +372,13 @@ export const ClaimRegulationsApiFp = function(configuration?: Configuration) {
370
372
  * Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
371
373
  * @summary Update the claim regulation item
372
374
  * @param {string} code Unique identifier for the object.
373
- * @param {object} body
375
+ * @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
374
376
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
375
377
  * @param {*} [options] Override http request option.
376
378
  * @throws {RequiredError}
377
379
  */
378
- async updateClaimRegulation(code: string, body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>> {
379
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimRegulation(code, body, authorization, options);
380
+ async updateClaimRegulation(code: string, updateRegulationItemRequestDtoRest: UpdateRegulationItemRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>> {
381
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimRegulation(code, updateRegulationItemRequestDtoRest, authorization, options);
380
382
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
381
383
  },
382
384
  }
@@ -444,13 +446,13 @@ export const ClaimRegulationsApiFactory = function (configuration?: Configuratio
444
446
  * Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
445
447
  * @summary Update the claim regulation item
446
448
  * @param {string} code Unique identifier for the object.
447
- * @param {object} body
449
+ * @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
448
450
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
449
451
  * @param {*} [options] Override http request option.
450
452
  * @throws {RequiredError}
451
453
  */
452
- updateClaimRegulation(code: string, body: object, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass> {
453
- return localVarFp.updateClaimRegulation(code, body, authorization, options).then((request) => request(axios, basePath));
454
+ updateClaimRegulation(code: string, updateRegulationItemRequestDtoRest: UpdateRegulationItemRequestDtoRest, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass> {
455
+ return localVarFp.updateClaimRegulation(code, updateRegulationItemRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
454
456
  },
455
457
  };
456
458
  };
@@ -603,10 +605,10 @@ export interface ClaimRegulationsApiUpdateClaimRegulationRequest {
603
605
 
604
606
  /**
605
607
  *
606
- * @type {object}
608
+ * @type {UpdateRegulationItemRequestDtoRest}
607
609
  * @memberof ClaimRegulationsApiUpdateClaimRegulation
608
610
  */
609
- readonly body: object
611
+ readonly updateRegulationItemRequestDtoRest: UpdateRegulationItemRequestDtoRest
610
612
 
611
613
  /**
612
614
  * Bearer Token: provided by the login endpoint under the name accessToken.
@@ -680,6 +682,6 @@ export class ClaimRegulationsApi extends BaseAPI {
680
682
  * @memberof ClaimRegulationsApi
681
683
  */
682
684
  public updateClaimRegulation(requestParameters: ClaimRegulationsApiUpdateClaimRegulationRequest, options?: AxiosRequestConfig) {
683
- return ClaimRegulationsApiFp(this.configuration).updateClaimRegulation(requestParameters.code, requestParameters.body, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
685
+ return ClaimRegulationsApiFp(this.configuration).updateClaimRegulation(requestParameters.code, requestParameters.updateRegulationItemRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
684
686
  }
685
687
  }
@@ -15,6 +15,7 @@ import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreateRegulationItemRequestDto } from '../models';
16
16
  import { ListRegulationsResponseClass } from '../models';
17
17
  import { RegulationItemResponseClass } from '../models';
18
+ import { UpdateRegulationItemRequestDtoRest } from '../models';
18
19
  /**
19
20
  * ClaimRegulationsApi - axios parameter creator
20
21
  * @export
@@ -67,12 +68,12 @@ export declare const ClaimRegulationsApiAxiosParamCreator: (configuration?: Conf
67
68
  * Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
68
69
  * @summary Update the claim regulation item
69
70
  * @param {string} code Unique identifier for the object.
70
- * @param {object} body
71
+ * @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
71
72
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
72
73
  * @param {*} [options] Override http request option.
73
74
  * @throws {RequiredError}
74
75
  */
75
- updateClaimRegulation: (code: string, body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
76
+ updateClaimRegulation: (code: string, updateRegulationItemRequestDtoRest: UpdateRegulationItemRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
76
77
  };
77
78
  /**
78
79
  * ClaimRegulationsApi - functional programming interface
@@ -126,12 +127,12 @@ export declare const ClaimRegulationsApiFp: (configuration?: Configuration) => {
126
127
  * Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
127
128
  * @summary Update the claim regulation item
128
129
  * @param {string} code Unique identifier for the object.
129
- * @param {object} body
130
+ * @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
130
131
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
131
132
  * @param {*} [options] Override http request option.
132
133
  * @throws {RequiredError}
133
134
  */
134
- updateClaimRegulation(code: string, body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>>;
135
+ updateClaimRegulation(code: string, updateRegulationItemRequestDtoRest: UpdateRegulationItemRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>>;
135
136
  };
136
137
  /**
137
138
  * ClaimRegulationsApi - factory interface
@@ -185,12 +186,12 @@ export declare const ClaimRegulationsApiFactory: (configuration?: Configuration,
185
186
  * Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
186
187
  * @summary Update the claim regulation item
187
188
  * @param {string} code Unique identifier for the object.
188
- * @param {object} body
189
+ * @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
189
190
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
190
191
  * @param {*} [options] Override http request option.
191
192
  * @throws {RequiredError}
192
193
  */
193
- updateClaimRegulation(code: string, body: object, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass>;
194
+ updateClaimRegulation(code: string, updateRegulationItemRequestDtoRest: UpdateRegulationItemRequestDtoRest, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass>;
194
195
  };
195
196
  /**
196
197
  * Request parameters for createClaimRegulation operation in ClaimRegulationsApi.
@@ -324,10 +325,10 @@ export interface ClaimRegulationsApiUpdateClaimRegulationRequest {
324
325
  readonly code: string;
325
326
  /**
326
327
  *
327
- * @type {object}
328
+ * @type {UpdateRegulationItemRequestDtoRest}
328
329
  * @memberof ClaimRegulationsApiUpdateClaimRegulation
329
330
  */
330
- readonly body: object;
331
+ readonly updateRegulationItemRequestDtoRest: UpdateRegulationItemRequestDtoRest;
331
332
  /**
332
333
  * Bearer Token: provided by the login endpoint under the name accessToken.
333
334
  * @type {string}
@@ -317,12 +317,12 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
317
317
  * Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
318
318
  * @summary Update the claim regulation item
319
319
  * @param {string} code Unique identifier for the object.
320
- * @param {object} body
320
+ * @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
321
321
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
322
322
  * @param {*} [options] Override http request option.
323
323
  * @throws {RequiredError}
324
324
  */
325
- updateClaimRegulation: function (code, body, authorization, options) {
325
+ updateClaimRegulation: function (code, updateRegulationItemRequestDtoRest, authorization, options) {
326
326
  if (options === void 0) { options = {}; }
327
327
  return __awaiter(_this, void 0, void 0, function () {
328
328
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -331,8 +331,8 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
331
331
  case 0:
332
332
  // verify required parameter 'code' is not null or undefined
333
333
  (0, common_1.assertParamExists)('updateClaimRegulation', 'code', code);
334
- // verify required parameter 'body' is not null or undefined
335
- (0, common_1.assertParamExists)('updateClaimRegulation', 'body', body);
334
+ // verify required parameter 'updateRegulationItemRequestDtoRest' is not null or undefined
335
+ (0, common_1.assertParamExists)('updateClaimRegulation', 'updateRegulationItemRequestDtoRest', updateRegulationItemRequestDtoRest);
336
336
  localVarPath = "/v1/claims/regulations/{code}"
337
337
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
338
338
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -357,7 +357,7 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
357
357
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
358
358
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
359
359
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
360
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
360
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateRegulationItemRequestDtoRest, localVarRequestOptions, configuration);
361
361
  return [2 /*return*/, {
362
362
  url: (0, common_1.toPathString)(localVarUrlObj),
363
363
  options: localVarRequestOptions,
@@ -471,17 +471,17 @@ var ClaimRegulationsApiFp = function (configuration) {
471
471
  * Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
472
472
  * @summary Update the claim regulation item
473
473
  * @param {string} code Unique identifier for the object.
474
- * @param {object} body
474
+ * @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
475
475
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
476
476
  * @param {*} [options] Override http request option.
477
477
  * @throws {RequiredError}
478
478
  */
479
- updateClaimRegulation: function (code, body, authorization, options) {
479
+ updateClaimRegulation: function (code, updateRegulationItemRequestDtoRest, authorization, options) {
480
480
  return __awaiter(this, void 0, void 0, function () {
481
481
  var localVarAxiosArgs;
482
482
  return __generator(this, function (_a) {
483
483
  switch (_a.label) {
484
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaimRegulation(code, body, authorization, options)];
484
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaimRegulation(code, updateRegulationItemRequestDtoRest, authorization, options)];
485
485
  case 1:
486
486
  localVarAxiosArgs = _a.sent();
487
487
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -554,13 +554,13 @@ var ClaimRegulationsApiFactory = function (configuration, basePath, axios) {
554
554
  * Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
555
555
  * @summary Update the claim regulation item
556
556
  * @param {string} code Unique identifier for the object.
557
- * @param {object} body
557
+ * @param {UpdateRegulationItemRequestDtoRest} updateRegulationItemRequestDtoRest
558
558
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
559
559
  * @param {*} [options] Override http request option.
560
560
  * @throws {RequiredError}
561
561
  */
562
- updateClaimRegulation: function (code, body, authorization, options) {
563
- return localVarFp.updateClaimRegulation(code, body, authorization, options).then(function (request) { return request(axios, basePath); });
562
+ updateClaimRegulation: function (code, updateRegulationItemRequestDtoRest, authorization, options) {
563
+ return localVarFp.updateClaimRegulation(code, updateRegulationItemRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
564
564
  },
565
565
  };
566
566
  };
@@ -635,7 +635,7 @@ var ClaimRegulationsApi = /** @class */ (function (_super) {
635
635
  */
636
636
  ClaimRegulationsApi.prototype.updateClaimRegulation = function (requestParameters, options) {
637
637
  var _this = this;
638
- return (0, exports.ClaimRegulationsApiFp)(this.configuration).updateClaimRegulation(requestParameters.code, requestParameters.body, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
638
+ return (0, exports.ClaimRegulationsApiFp)(this.configuration).updateClaimRegulation(requestParameters.code, requestParameters.updateRegulationItemRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
639
639
  };
640
640
  return ClaimRegulationsApi;
641
641
  }(base_1.BaseAPI));
@@ -9,6 +9,9 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { PayoutDetailsDto } from './payout-details-dto';
13
+ import { RegressDetailsDto } from './regress-details-dto';
14
+ import { ReserveDetailsDto } from './reserve-details-dto';
12
15
  /**
13
16
  *
14
17
  * @export
@@ -22,7 +25,7 @@ export interface CreateRegulationItemRequestDto {
22
25
  */
23
26
  'regulationItemType': CreateRegulationItemRequestDtoRegulationItemTypeEnum;
24
27
  /**
25
- * The amount of the regulation item
28
+ * The amount for the regulation item
26
29
  * @type {number}
27
30
  * @memberof CreateRegulationItemRequestDto
28
31
  */
@@ -45,6 +48,24 @@ export interface CreateRegulationItemRequestDto {
45
48
  * @memberof CreateRegulationItemRequestDto
46
49
  */
47
50
  'claimCode': string;
51
+ /**
52
+ * Details of the payout. Required if the regulation item type is payout.
53
+ * @type {PayoutDetailsDto}
54
+ * @memberof CreateRegulationItemRequestDto
55
+ */
56
+ 'payoutDetails'?: PayoutDetailsDto;
57
+ /**
58
+ * Details of the reserve. Required if the regulation item type is reserve.
59
+ * @type {ReserveDetailsDto}
60
+ * @memberof CreateRegulationItemRequestDto
61
+ */
62
+ 'reserveDetails'?: ReserveDetailsDto;
63
+ /**
64
+ * Details of the regress. Required if the regulation item type is regress.
65
+ * @type {RegressDetailsDto}
66
+ * @memberof CreateRegulationItemRequestDto
67
+ */
68
+ 'regressDetails'?: RegressDetailsDto;
48
69
  }
49
70
  export declare const CreateRegulationItemRequestDtoRegulationItemTypeEnum: {
50
71
  readonly Payout: "PAYOUT";
@@ -29,14 +29,21 @@ export * from './list-settlements-response-class';
29
29
  export * from './patch-claim-request-dto';
30
30
  export * from './patch-claim-response-class';
31
31
  export * from './payout-details-class';
32
+ export * from './payout-details-dto';
32
33
  export * from './regress-details-class';
34
+ export * from './regress-details-dto';
33
35
  export * from './regulation-item-class';
34
36
  export * from './regulation-item-response-class';
35
37
  export * from './reserve-details-class';
38
+ export * from './reserve-details-dto';
36
39
  export * from './settlement-class';
37
40
  export * from './update-claim-partner-role-request-dto';
38
41
  export * from './update-claim-partner-role-response-class';
39
42
  export * from './update-claim-request-dto';
40
43
  export * from './update-claim-response-class';
44
+ export * from './update-payout-details-dto';
45
+ export * from './update-regress-details-dto';
46
+ export * from './update-regulation-item-request-dto-rest';
47
+ export * from './update-reserve-details-dto';
41
48
  export * from './update-settlement-request-dto';
42
49
  export * from './update-settlement-response-class';
@@ -45,14 +45,21 @@ __exportStar(require("./list-settlements-response-class"), exports);
45
45
  __exportStar(require("./patch-claim-request-dto"), exports);
46
46
  __exportStar(require("./patch-claim-response-class"), exports);
47
47
  __exportStar(require("./payout-details-class"), exports);
48
+ __exportStar(require("./payout-details-dto"), exports);
48
49
  __exportStar(require("./regress-details-class"), exports);
50
+ __exportStar(require("./regress-details-dto"), exports);
49
51
  __exportStar(require("./regulation-item-class"), exports);
50
52
  __exportStar(require("./regulation-item-response-class"), exports);
51
53
  __exportStar(require("./reserve-details-class"), exports);
54
+ __exportStar(require("./reserve-details-dto"), exports);
52
55
  __exportStar(require("./settlement-class"), exports);
53
56
  __exportStar(require("./update-claim-partner-role-request-dto"), exports);
54
57
  __exportStar(require("./update-claim-partner-role-response-class"), exports);
55
58
  __exportStar(require("./update-claim-request-dto"), exports);
56
59
  __exportStar(require("./update-claim-response-class"), exports);
60
+ __exportStar(require("./update-payout-details-dto"), exports);
61
+ __exportStar(require("./update-regress-details-dto"), exports);
62
+ __exportStar(require("./update-regulation-item-request-dto-rest"), exports);
63
+ __exportStar(require("./update-reserve-details-dto"), exports);
57
64
  __exportStar(require("./update-settlement-request-dto"), exports);
58
65
  __exportStar(require("./update-settlement-response-class"), exports);
@@ -0,0 +1,60 @@
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 PayoutDetailsDto
16
+ */
17
+ export interface PayoutDetailsDto {
18
+ /**
19
+ * The type of the payout.
20
+ * @type {string}
21
+ * @memberof PayoutDetailsDto
22
+ */
23
+ 'payoutType': PayoutDetailsDtoPayoutTypeEnum;
24
+ /**
25
+ * The status of the payout.
26
+ * @type {string}
27
+ * @memberof PayoutDetailsDto
28
+ */
29
+ 'payoutStatus': PayoutDetailsDtoPayoutStatusEnum;
30
+ /**
31
+ * Name of the recipient who would receive the payout.
32
+ * @type {string}
33
+ * @memberof PayoutDetailsDto
34
+ */
35
+ 'recipientName': string;
36
+ /**
37
+ * IBAN of the recipient
38
+ * @type {string}
39
+ * @memberof PayoutDetailsDto
40
+ */
41
+ 'iban': string;
42
+ /**
43
+ * Purpose of the payout
44
+ * @type {string}
45
+ * @memberof PayoutDetailsDto
46
+ */
47
+ 'payoutPurpose'?: string;
48
+ }
49
+ export declare const PayoutDetailsDtoPayoutTypeEnum: {
50
+ readonly Real: "REAL";
51
+ readonly Statistical: "STATISTICAL";
52
+ };
53
+ export type PayoutDetailsDtoPayoutTypeEnum = typeof PayoutDetailsDtoPayoutTypeEnum[keyof typeof PayoutDetailsDtoPayoutTypeEnum];
54
+ export declare const PayoutDetailsDtoPayoutStatusEnum: {
55
+ readonly Pending: "PENDING";
56
+ readonly InProgress: "IN_PROGRESS";
57
+ readonly Completed: "COMPLETED";
58
+ readonly Failed: "FAILED";
59
+ };
60
+ export type PayoutDetailsDtoPayoutStatusEnum = typeof PayoutDetailsDtoPayoutStatusEnum[keyof typeof PayoutDetailsDtoPayoutStatusEnum];
@@ -0,0 +1,26 @@
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.PayoutDetailsDtoPayoutStatusEnum = exports.PayoutDetailsDtoPayoutTypeEnum = void 0;
17
+ exports.PayoutDetailsDtoPayoutTypeEnum = {
18
+ Real: 'REAL',
19
+ Statistical: 'STATISTICAL'
20
+ };
21
+ exports.PayoutDetailsDtoPayoutStatusEnum = {
22
+ Pending: 'PENDING',
23
+ InProgress: 'IN_PROGRESS',
24
+ Completed: 'COMPLETED',
25
+ Failed: 'FAILED'
26
+ };
@@ -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 RegressDetailsDto
16
+ */
17
+ export interface RegressDetailsDto {
18
+ /**
19
+ * The type of recovery.
20
+ * @type {string}
21
+ * @memberof RegressDetailsDto
22
+ */
23
+ 'recoveryType': RegressDetailsDtoRecoveryTypeEnum;
24
+ /**
25
+ * The status of recovery.
26
+ * @type {string}
27
+ * @memberof RegressDetailsDto
28
+ */
29
+ 'recoveryStatus': RegressDetailsDtoRecoveryStatusEnum;
30
+ /**
31
+ * Optional helpful and relevant information provided by the third party can be stored in this field.
32
+ * @type {string}
33
+ * @memberof RegressDetailsDto
34
+ */
35
+ 'thirdPartyInformation'?: string;
36
+ }
37
+ export declare const RegressDetailsDtoRecoveryTypeEnum: {
38
+ readonly SubrogationInitiated: "SUBROGATION_INITIATED";
39
+ readonly PartialRecovery: "PARTIAL_RECOVERY";
40
+ readonly FullRecovery: "FULL_RECOVERY";
41
+ readonly Adjustment: "ADJUSTMENT";
42
+ };
43
+ export type RegressDetailsDtoRecoveryTypeEnum = typeof RegressDetailsDtoRecoveryTypeEnum[keyof typeof RegressDetailsDtoRecoveryTypeEnum];
44
+ export declare const RegressDetailsDtoRecoveryStatusEnum: {
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 RegressDetailsDtoRecoveryStatusEnum = typeof RegressDetailsDtoRecoveryStatusEnum[keyof typeof RegressDetailsDtoRecoveryStatusEnum];
@@ -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.RegressDetailsDtoRecoveryStatusEnum = exports.RegressDetailsDtoRecoveryTypeEnum = void 0;
17
+ exports.RegressDetailsDtoRecoveryTypeEnum = {
18
+ SubrogationInitiated: 'SUBROGATION_INITIATED',
19
+ PartialRecovery: 'PARTIAL_RECOVERY',
20
+ FullRecovery: 'FULL_RECOVERY',
21
+ Adjustment: 'ADJUSTMENT'
22
+ };
23
+ exports.RegressDetailsDtoRecoveryStatusEnum = {
24
+ Pending: 'PENDING',
25
+ InProgress: 'IN_PROGRESS',
26
+ PartiallyRecovered: 'PARTIALLY_RECOVERED',
27
+ FullyRecovered: 'FULLY_RECOVERED',
28
+ Closed: 'CLOSED'
29
+ };
@@ -0,0 +1,29 @@
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 ReserveDetailsDto
16
+ */
17
+ export interface ReserveDetailsDto {
18
+ /**
19
+ * The type of the reserve.
20
+ * @type {string}
21
+ * @memberof ReserveDetailsDto
22
+ */
23
+ 'reserveType': ReserveDetailsDtoReserveTypeEnum;
24
+ }
25
+ export declare const ReserveDetailsDtoReserveTypeEnum: {
26
+ readonly Initial: "INITIAL";
27
+ readonly Adjustment: "ADJUSTMENT";
28
+ };
29
+ export type ReserveDetailsDtoReserveTypeEnum = typeof ReserveDetailsDtoReserveTypeEnum[keyof typeof ReserveDetailsDtoReserveTypeEnum];
@@ -0,0 +1,20 @@
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.ReserveDetailsDtoReserveTypeEnum = void 0;
17
+ exports.ReserveDetailsDtoReserveTypeEnum = {
18
+ Initial: 'INITIAL',
19
+ Adjustment: 'ADJUSTMENT'
20
+ };
@@ -0,0 +1,60 @@
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 UpdatePayoutDetailsDto
16
+ */
17
+ export interface UpdatePayoutDetailsDto {
18
+ /**
19
+ * The type of the payout.
20
+ * @type {string}
21
+ * @memberof UpdatePayoutDetailsDto
22
+ */
23
+ 'payoutType'?: UpdatePayoutDetailsDtoPayoutTypeEnum;
24
+ /**
25
+ * The status of the payout.
26
+ * @type {string}
27
+ * @memberof UpdatePayoutDetailsDto
28
+ */
29
+ 'payoutStatus'?: UpdatePayoutDetailsDtoPayoutStatusEnum;
30
+ /**
31
+ * Name of the recipient who would receive the payout.
32
+ * @type {string}
33
+ * @memberof UpdatePayoutDetailsDto
34
+ */
35
+ 'recipientName'?: string;
36
+ /**
37
+ * IBAN of the recipient
38
+ * @type {string}
39
+ * @memberof UpdatePayoutDetailsDto
40
+ */
41
+ 'iban'?: string;
42
+ /**
43
+ * Purpose of the payout
44
+ * @type {string}
45
+ * @memberof UpdatePayoutDetailsDto
46
+ */
47
+ 'payoutPurpose'?: string;
48
+ }
49
+ export declare const UpdatePayoutDetailsDtoPayoutTypeEnum: {
50
+ readonly Real: "REAL";
51
+ readonly Statistical: "STATISTICAL";
52
+ };
53
+ export type UpdatePayoutDetailsDtoPayoutTypeEnum = typeof UpdatePayoutDetailsDtoPayoutTypeEnum[keyof typeof UpdatePayoutDetailsDtoPayoutTypeEnum];
54
+ export declare const UpdatePayoutDetailsDtoPayoutStatusEnum: {
55
+ readonly Pending: "PENDING";
56
+ readonly InProgress: "IN_PROGRESS";
57
+ readonly Completed: "COMPLETED";
58
+ readonly Failed: "FAILED";
59
+ };
60
+ export type UpdatePayoutDetailsDtoPayoutStatusEnum = typeof UpdatePayoutDetailsDtoPayoutStatusEnum[keyof typeof UpdatePayoutDetailsDtoPayoutStatusEnum];