@emilgroup/claim-sdk-node 1.17.2-beta.7 → 1.17.2-beta.8

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.
@@ -52,6 +52,7 @@ models/regress-details-class.ts
52
52
  models/regress-details-dto.ts
53
53
  models/regulation-item-class.ts
54
54
  models/regulation-item-response-class.ts
55
+ models/regulation-summary-response-class.ts
55
56
  models/reserve-details-class.ts
56
57
  models/reserve-details-dto.ts
57
58
  models/settlement-class.ts
@@ -60,7 +61,6 @@ models/update-claim-partner-role-response-class.ts
60
61
  models/update-claim-request-dto.ts
61
62
  models/update-claim-response-class.ts
62
63
  models/update-payout-details-dto.ts
63
- models/update-regress-details-dto.ts
64
64
  models/update-regulation-item-request-dto-rest.ts
65
65
  models/update-reserve-details-dto.ts
66
66
  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.17.2-beta.7 --save
20
+ npm install @emilgroup/claim-sdk-node@1.17.2-beta.8 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/claim-sdk-node@1.17.2-beta.7
24
+ yarn add @emilgroup/claim-sdk-node@1.17.2-beta.8
25
25
  ```
26
26
 
27
27
  And then you can import `ClaimsApi`.
package/api/claims-api.ts CHANGED
@@ -33,6 +33,8 @@ import { PatchClaimRequestDto } from '../models';
33
33
  // @ts-ignore
34
34
  import { PatchClaimResponseClass } from '../models';
35
35
  // @ts-ignore
36
+ import { RegulationSummaryResponseClass } from '../models';
37
+ // @ts-ignore
36
38
  import { UpdateClaimRequestDto } from '../models';
37
39
  // @ts-ignore
38
40
  import { UpdateClaimResponseClass } from '../models';
@@ -174,6 +176,51 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
174
176
 
175
177
 
176
178
 
179
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
180
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
181
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
182
+
183
+ return {
184
+ url: toPathString(localVarUrlObj),
185
+ options: localVarRequestOptions,
186
+ };
187
+ },
188
+ /**
189
+ * This endpoint will calculate and get the regulation summary for a claim.
190
+ * @summary Retrieve the claim regulation summary
191
+ * @param {string} code Unique identifier for the object.
192
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
193
+ * @param {*} [options] Override http request option.
194
+ * @throws {RequiredError}
195
+ */
196
+ getClaimRegulationSummary: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
197
+ // verify required parameter 'code' is not null or undefined
198
+ assertParamExists('getClaimRegulationSummary', 'code', code)
199
+ const localVarPath = `/v1/claims/{code}/regulations/summary`
200
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
201
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
202
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
203
+ let baseOptions;
204
+ let baseAccessToken;
205
+ if (configuration) {
206
+ baseOptions = configuration.baseOptions;
207
+ baseAccessToken = configuration.accessToken;
208
+ }
209
+
210
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
211
+ const localVarHeaderParameter = {} as any;
212
+ const localVarQueryParameter = {} as any;
213
+
214
+ // authentication bearer required
215
+ // http bearer authentication required
216
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
217
+
218
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
219
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
220
+ }
221
+
222
+
223
+
177
224
  setSearchParams(localVarUrlObj, localVarQueryParameter);
178
225
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
179
226
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -407,6 +454,18 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
407
454
  const localVarAxiosArgs = await localVarAxiosParamCreator.getClaim(code, authorization, options);
408
455
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
409
456
  },
457
+ /**
458
+ * This endpoint will calculate and get the regulation summary for a claim.
459
+ * @summary Retrieve the claim regulation summary
460
+ * @param {string} code Unique identifier for the object.
461
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
462
+ * @param {*} [options] Override http request option.
463
+ * @throws {RequiredError}
464
+ */
465
+ async getClaimRegulationSummary(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationSummaryResponseClass>> {
466
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimRegulationSummary(code, authorization, options);
467
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
468
+ },
410
469
  /**
411
470
  * Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
412
471
  * @summary List claims
@@ -494,6 +553,17 @@ export const ClaimsApiFactory = function (configuration?: Configuration, basePat
494
553
  getClaim(code: string, authorization?: string, options?: any): AxiosPromise<GetClaimResponseClass> {
495
554
  return localVarFp.getClaim(code, authorization, options).then((request) => request(axios, basePath));
496
555
  },
556
+ /**
557
+ * This endpoint will calculate and get the regulation summary for a claim.
558
+ * @summary Retrieve the claim regulation summary
559
+ * @param {string} code Unique identifier for the object.
560
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
561
+ * @param {*} [options] Override http request option.
562
+ * @throws {RequiredError}
563
+ */
564
+ getClaimRegulationSummary(code: string, authorization?: string, options?: any): AxiosPromise<RegulationSummaryResponseClass> {
565
+ return localVarFp.getClaimRegulationSummary(code, authorization, options).then((request) => request(axios, basePath));
566
+ },
497
567
  /**
498
568
  * Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
499
569
  * @summary List claims
@@ -601,6 +671,27 @@ export interface ClaimsApiGetClaimRequest {
601
671
  readonly authorization?: string
602
672
  }
603
673
 
674
+ /**
675
+ * Request parameters for getClaimRegulationSummary operation in ClaimsApi.
676
+ * @export
677
+ * @interface ClaimsApiGetClaimRegulationSummaryRequest
678
+ */
679
+ export interface ClaimsApiGetClaimRegulationSummaryRequest {
680
+ /**
681
+ * Unique identifier for the object.
682
+ * @type {string}
683
+ * @memberof ClaimsApiGetClaimRegulationSummary
684
+ */
685
+ readonly code: string
686
+
687
+ /**
688
+ * Bearer Token: provided by the login endpoint under the name accessToken.
689
+ * @type {string}
690
+ * @memberof ClaimsApiGetClaimRegulationSummary
691
+ */
692
+ readonly authorization?: string
693
+ }
694
+
604
695
  /**
605
696
  * Request parameters for listClaims operation in ClaimsApi.
606
697
  * @export
@@ -763,6 +854,18 @@ export class ClaimsApi extends BaseAPI {
763
854
  return ClaimsApiFp(this.configuration).getClaim(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
764
855
  }
765
856
 
857
+ /**
858
+ * This endpoint will calculate and get the regulation summary for a claim.
859
+ * @summary Retrieve the claim regulation summary
860
+ * @param {ClaimsApiGetClaimRegulationSummaryRequest} requestParameters Request parameters.
861
+ * @param {*} [options] Override http request option.
862
+ * @throws {RequiredError}
863
+ * @memberof ClaimsApi
864
+ */
865
+ public getClaimRegulationSummary(requestParameters: ClaimsApiGetClaimRegulationSummaryRequest, options?: AxiosRequestConfig) {
866
+ return ClaimsApiFp(this.configuration).getClaimRegulationSummary(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
867
+ }
868
+
766
869
  /**
767
870
  * Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
768
871
  * @summary List claims
@@ -18,6 +18,7 @@ import { GetClaimResponseClass } from '../models';
18
18
  import { ListClaimsResponseClass } from '../models';
19
19
  import { PatchClaimRequestDto } from '../models';
20
20
  import { PatchClaimResponseClass } from '../models';
21
+ import { RegulationSummaryResponseClass } from '../models';
21
22
  import { UpdateClaimRequestDto } from '../models';
22
23
  import { UpdateClaimResponseClass } from '../models';
23
24
  /**
@@ -52,6 +53,15 @@ export declare const ClaimsApiAxiosParamCreator: (configuration?: Configuration)
52
53
  * @throws {RequiredError}
53
54
  */
54
55
  getClaim: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
56
+ /**
57
+ * This endpoint will calculate and get the regulation summary for a claim.
58
+ * @summary Retrieve the claim regulation summary
59
+ * @param {string} code Unique identifier for the object.
60
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
61
+ * @param {*} [options] Override http request option.
62
+ * @throws {RequiredError}
63
+ */
64
+ getClaimRegulationSummary: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
55
65
  /**
56
66
  * Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
57
67
  * @summary List claims
@@ -120,6 +130,15 @@ export declare const ClaimsApiFp: (configuration?: Configuration) => {
120
130
  * @throws {RequiredError}
121
131
  */
122
132
  getClaim(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimResponseClass>>;
133
+ /**
134
+ * This endpoint will calculate and get the regulation summary for a claim.
135
+ * @summary Retrieve the claim regulation summary
136
+ * @param {string} code Unique identifier for the object.
137
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
138
+ * @param {*} [options] Override http request option.
139
+ * @throws {RequiredError}
140
+ */
141
+ getClaimRegulationSummary(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationSummaryResponseClass>>;
123
142
  /**
124
143
  * Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
125
144
  * @summary List claims
@@ -188,6 +207,15 @@ export declare const ClaimsApiFactory: (configuration?: Configuration, basePath?
188
207
  * @throws {RequiredError}
189
208
  */
190
209
  getClaim(code: string, authorization?: string, options?: any): AxiosPromise<GetClaimResponseClass>;
210
+ /**
211
+ * This endpoint will calculate and get the regulation summary for a claim.
212
+ * @summary Retrieve the claim regulation summary
213
+ * @param {string} code Unique identifier for the object.
214
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
215
+ * @param {*} [options] Override http request option.
216
+ * @throws {RequiredError}
217
+ */
218
+ getClaimRegulationSummary(code: string, authorization?: string, options?: any): AxiosPromise<RegulationSummaryResponseClass>;
191
219
  /**
192
220
  * Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
193
221
  * @summary List claims
@@ -281,6 +309,25 @@ export interface ClaimsApiGetClaimRequest {
281
309
  */
282
310
  readonly authorization?: string;
283
311
  }
312
+ /**
313
+ * Request parameters for getClaimRegulationSummary operation in ClaimsApi.
314
+ * @export
315
+ * @interface ClaimsApiGetClaimRegulationSummaryRequest
316
+ */
317
+ export interface ClaimsApiGetClaimRegulationSummaryRequest {
318
+ /**
319
+ * Unique identifier for the object.
320
+ * @type {string}
321
+ * @memberof ClaimsApiGetClaimRegulationSummary
322
+ */
323
+ readonly code: string;
324
+ /**
325
+ * Bearer Token: provided by the login endpoint under the name accessToken.
326
+ * @type {string}
327
+ * @memberof ClaimsApiGetClaimRegulationSummary
328
+ */
329
+ readonly authorization?: string;
330
+ }
284
331
  /**
285
332
  * Request parameters for listClaims operation in ClaimsApi.
286
333
  * @export
@@ -420,6 +467,15 @@ export declare class ClaimsApi extends BaseAPI {
420
467
  * @memberof ClaimsApi
421
468
  */
422
469
  getClaim(requestParameters: ClaimsApiGetClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClaimResponseClass, any>>;
470
+ /**
471
+ * This endpoint will calculate and get the regulation summary for a claim.
472
+ * @summary Retrieve the claim regulation summary
473
+ * @param {ClaimsApiGetClaimRegulationSummaryRequest} requestParameters Request parameters.
474
+ * @param {*} [options] Override http request option.
475
+ * @throws {RequiredError}
476
+ * @memberof ClaimsApi
477
+ */
478
+ getClaimRegulationSummary(requestParameters: ClaimsApiGetClaimRegulationSummaryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RegulationSummaryResponseClass, any>>;
423
479
  /**
424
480
  * Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
425
481
  * @summary List claims
@@ -241,6 +241,54 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
241
241
  });
242
242
  });
243
243
  },
244
+ /**
245
+ * This endpoint will calculate and get the regulation summary for a claim.
246
+ * @summary Retrieve the claim regulation summary
247
+ * @param {string} code Unique identifier for the object.
248
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
249
+ * @param {*} [options] Override http request option.
250
+ * @throws {RequiredError}
251
+ */
252
+ getClaimRegulationSummary: function (code, authorization, options) {
253
+ if (options === void 0) { options = {}; }
254
+ return __awaiter(_this, void 0, void 0, function () {
255
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
256
+ return __generator(this, function (_a) {
257
+ switch (_a.label) {
258
+ case 0:
259
+ // verify required parameter 'code' is not null or undefined
260
+ (0, common_1.assertParamExists)('getClaimRegulationSummary', 'code', code);
261
+ localVarPath = "/v1/claims/{code}/regulations/summary"
262
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
263
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
264
+ if (configuration) {
265
+ baseOptions = configuration.baseOptions;
266
+ baseAccessToken = configuration.accessToken;
267
+ }
268
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
269
+ localVarHeaderParameter = {};
270
+ localVarQueryParameter = {};
271
+ // authentication bearer required
272
+ // http bearer authentication required
273
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
274
+ case 1:
275
+ // authentication bearer required
276
+ // http bearer authentication required
277
+ _a.sent();
278
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
279
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
280
+ }
281
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
282
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
283
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
284
+ return [2 /*return*/, {
285
+ url: (0, common_1.toPathString)(localVarUrlObj),
286
+ options: localVarRequestOptions,
287
+ }];
288
+ }
289
+ });
290
+ });
291
+ },
244
292
  /**
245
293
  * Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
246
294
  * @summary List claims
@@ -492,6 +540,27 @@ var ClaimsApiFp = function (configuration) {
492
540
  });
493
541
  });
494
542
  },
543
+ /**
544
+ * This endpoint will calculate and get the regulation summary for a claim.
545
+ * @summary Retrieve the claim regulation summary
546
+ * @param {string} code Unique identifier for the object.
547
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
548
+ * @param {*} [options] Override http request option.
549
+ * @throws {RequiredError}
550
+ */
551
+ getClaimRegulationSummary: function (code, authorization, options) {
552
+ return __awaiter(this, void 0, void 0, function () {
553
+ var localVarAxiosArgs;
554
+ return __generator(this, function (_a) {
555
+ switch (_a.label) {
556
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimRegulationSummary(code, authorization, options)];
557
+ case 1:
558
+ localVarAxiosArgs = _a.sent();
559
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
560
+ }
561
+ });
562
+ });
563
+ },
495
564
  /**
496
565
  * Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
497
566
  * @summary List claims
@@ -606,6 +675,17 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
606
675
  getClaim: function (code, authorization, options) {
607
676
  return localVarFp.getClaim(code, authorization, options).then(function (request) { return request(axios, basePath); });
608
677
  },
678
+ /**
679
+ * This endpoint will calculate and get the regulation summary for a claim.
680
+ * @summary Retrieve the claim regulation summary
681
+ * @param {string} code Unique identifier for the object.
682
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
683
+ * @param {*} [options] Override http request option.
684
+ * @throws {RequiredError}
685
+ */
686
+ getClaimRegulationSummary: function (code, authorization, options) {
687
+ return localVarFp.getClaimRegulationSummary(code, authorization, options).then(function (request) { return request(axios, basePath); });
688
+ },
609
689
  /**
610
690
  * Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
611
691
  * @summary List claims
@@ -697,6 +777,18 @@ var ClaimsApi = /** @class */ (function (_super) {
697
777
  var _this = this;
698
778
  return (0, exports.ClaimsApiFp)(this.configuration).getClaim(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
699
779
  };
780
+ /**
781
+ * This endpoint will calculate and get the regulation summary for a claim.
782
+ * @summary Retrieve the claim regulation summary
783
+ * @param {ClaimsApiGetClaimRegulationSummaryRequest} requestParameters Request parameters.
784
+ * @param {*} [options] Override http request option.
785
+ * @throws {RequiredError}
786
+ * @memberof ClaimsApi
787
+ */
788
+ ClaimsApi.prototype.getClaimRegulationSummary = function (requestParameters, options) {
789
+ var _this = this;
790
+ return (0, exports.ClaimsApiFp)(this.configuration).getClaimRegulationSummary(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
791
+ };
700
792
  /**
701
793
  * Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
702
794
  * @summary List claims
@@ -34,6 +34,7 @@ export * from './regress-details-class';
34
34
  export * from './regress-details-dto';
35
35
  export * from './regulation-item-class';
36
36
  export * from './regulation-item-response-class';
37
+ export * from './regulation-summary-response-class';
37
38
  export * from './reserve-details-class';
38
39
  export * from './reserve-details-dto';
39
40
  export * from './settlement-class';
@@ -42,7 +43,6 @@ export * from './update-claim-partner-role-response-class';
42
43
  export * from './update-claim-request-dto';
43
44
  export * from './update-claim-response-class';
44
45
  export * from './update-payout-details-dto';
45
- export * from './update-regress-details-dto';
46
46
  export * from './update-regulation-item-request-dto-rest';
47
47
  export * from './update-reserve-details-dto';
48
48
  export * from './update-settlement-request-dto';
@@ -50,6 +50,7 @@ __exportStar(require("./regress-details-class"), exports);
50
50
  __exportStar(require("./regress-details-dto"), exports);
51
51
  __exportStar(require("./regulation-item-class"), exports);
52
52
  __exportStar(require("./regulation-item-response-class"), exports);
53
+ __exportStar(require("./regulation-summary-response-class"), exports);
53
54
  __exportStar(require("./reserve-details-class"), exports);
54
55
  __exportStar(require("./reserve-details-dto"), exports);
55
56
  __exportStar(require("./settlement-class"), exports);
@@ -58,7 +59,6 @@ __exportStar(require("./update-claim-partner-role-response-class"), exports);
58
59
  __exportStar(require("./update-claim-request-dto"), exports);
59
60
  __exportStar(require("./update-claim-response-class"), exports);
60
61
  __exportStar(require("./update-payout-details-dto"), exports);
61
- __exportStar(require("./update-regress-details-dto"), exports);
62
62
  __exportStar(require("./update-regulation-item-request-dto-rest"), exports);
63
63
  __exportStar(require("./update-reserve-details-dto"), exports);
64
64
  __exportStar(require("./update-settlement-request-dto"), exports);
@@ -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 RegulationSummaryResponseClass
16
+ */
17
+ export interface RegulationSummaryResponseClass {
18
+ /**
19
+ * The code of the claim.
20
+ * @type {string}
21
+ * @memberof RegulationSummaryResponseClass
22
+ */
23
+ 'claimCode': string;
24
+ /**
25
+ * The claim response.
26
+ * @type {object}
27
+ * @memberof RegulationSummaryResponseClass
28
+ */
29
+ 'claim': object;
30
+ /**
31
+ * The total reserve amount for the claim.
32
+ * @type {number}
33
+ * @memberof RegulationSummaryResponseClass
34
+ */
35
+ 'totalReserveAmount': number;
36
+ /**
37
+ * The total payout amount for the claim.
38
+ * @type {number}
39
+ * @memberof RegulationSummaryResponseClass
40
+ */
41
+ 'totalPayoutAmount': number;
42
+ /**
43
+ * The total regress amount for the claim.
44
+ * @type {number}
45
+ * @memberof RegulationSummaryResponseClass
46
+ */
47
+ 'totalRegressAmount': number;
48
+ /**
49
+ * The remaining reserve amount for the claim.
50
+ * @type {number}
51
+ * @memberof RegulationSummaryResponseClass
52
+ */
53
+ 'remainingReserveAmount': number;
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 });
@@ -10,7 +10,6 @@
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';
14
13
  import { UpdateReserveDetailsDto } from './update-reserve-details-dto';
15
14
  /**
16
15
  *
@@ -56,10 +55,10 @@ export interface UpdateRegulationItemRequestDtoRest {
56
55
  'reserveDetails'?: UpdateReserveDetailsDto;
57
56
  /**
58
57
  * 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.
59
- * @type {UpdateRegressDetailsDto}
58
+ * @type {object}
60
59
  * @memberof UpdateRegulationItemRequestDtoRest
61
60
  */
62
- 'regressDetails'?: UpdateRegressDetailsDto;
61
+ 'regressDetails'?: object;
63
62
  }
64
63
  export declare const UpdateRegulationItemRequestDtoRestRegulationItemTypeEnum: {
65
64
  readonly Payout: "PAYOUT";
package/models/index.ts CHANGED
@@ -34,6 +34,7 @@ export * from './regress-details-class';
34
34
  export * from './regress-details-dto';
35
35
  export * from './regulation-item-class';
36
36
  export * from './regulation-item-response-class';
37
+ export * from './regulation-summary-response-class';
37
38
  export * from './reserve-details-class';
38
39
  export * from './reserve-details-dto';
39
40
  export * from './settlement-class';
@@ -42,7 +43,6 @@ export * from './update-claim-partner-role-response-class';
42
43
  export * from './update-claim-request-dto';
43
44
  export * from './update-claim-response-class';
44
45
  export * from './update-payout-details-dto';
45
- export * from './update-regress-details-dto';
46
46
  export * from './update-regulation-item-request-dto-rest';
47
47
  export * from './update-reserve-details-dto';
48
48
  export * from './update-settlement-request-dto';
@@ -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 RegulationSummaryResponseClass
21
+ */
22
+ export interface RegulationSummaryResponseClass {
23
+ /**
24
+ * The code of the claim.
25
+ * @type {string}
26
+ * @memberof RegulationSummaryResponseClass
27
+ */
28
+ 'claimCode': string;
29
+ /**
30
+ * The claim response.
31
+ * @type {object}
32
+ * @memberof RegulationSummaryResponseClass
33
+ */
34
+ 'claim': object;
35
+ /**
36
+ * The total reserve amount for the claim.
37
+ * @type {number}
38
+ * @memberof RegulationSummaryResponseClass
39
+ */
40
+ 'totalReserveAmount': number;
41
+ /**
42
+ * The total payout amount for the claim.
43
+ * @type {number}
44
+ * @memberof RegulationSummaryResponseClass
45
+ */
46
+ 'totalPayoutAmount': number;
47
+ /**
48
+ * The total regress amount for the claim.
49
+ * @type {number}
50
+ * @memberof RegulationSummaryResponseClass
51
+ */
52
+ 'totalRegressAmount': number;
53
+ /**
54
+ * The remaining reserve amount for the claim.
55
+ * @type {number}
56
+ * @memberof RegulationSummaryResponseClass
57
+ */
58
+ 'remainingReserveAmount': number;
59
+ }
60
+
@@ -14,7 +14,6 @@
14
14
 
15
15
 
16
16
  import { UpdatePayoutDetailsDto } from './update-payout-details-dto';
17
- import { UpdateRegressDetailsDto } from './update-regress-details-dto';
18
17
  import { UpdateReserveDetailsDto } from './update-reserve-details-dto';
19
18
 
20
19
  /**
@@ -61,10 +60,10 @@ export interface UpdateRegulationItemRequestDtoRest {
61
60
  'reserveDetails'?: UpdateReserveDetailsDto;
62
61
  /**
63
62
  * 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}
63
+ * @type {object}
65
64
  * @memberof UpdateRegulationItemRequestDtoRest
66
65
  */
67
- 'regressDetails'?: UpdateRegressDetailsDto;
66
+ 'regressDetails'?: object;
68
67
  }
69
68
 
70
69
  export const UpdateRegulationItemRequestDtoRestRegulationItemTypeEnum = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/claim-sdk-node",
3
- "version": "1.17.2-beta.7",
3
+ "version": "1.17.2-beta.8",
4
4
  "description": "OpenAPI client for @emilgroup/claim-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -1,51 +0,0 @@
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];
@@ -1,29 +0,0 @@
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
- };
@@ -1,61 +0,0 @@
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
-