@emilgroup/claim-sdk 1.40.1-beta.7 → 1.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/.openapi-generator/FILES +0 -10
  2. package/README.md +2 -2
  3. package/api/claim-partner-roles-api.ts +6 -613
  4. package/api/claim-partners-api.ts +0 -504
  5. package/api/claim-regulations-api.ts +3 -624
  6. package/api/claim-statuses-api.ts +5 -728
  7. package/api/claims-api.ts +4 -828
  8. package/api/health-check-api.ts +0 -62
  9. package/api/settlements-api.ts +6 -613
  10. package/api.ts +0 -2
  11. package/dist/api/claim-partner-roles-api.d.ts +0 -338
  12. package/dist/api/claim-partner-roles-api.js +0 -505
  13. package/dist/api/claim-partners-api.d.ts +0 -283
  14. package/dist/api/claim-partners-api.js +0 -412
  15. package/dist/api/claim-regulations-api.d.ts +0 -347
  16. package/dist/api/claim-regulations-api.js +0 -511
  17. package/dist/api/claim-statuses-api.d.ts +0 -402
  18. package/dist/api/claim-statuses-api.js +11 -615
  19. package/dist/api/claims-api.d.ts +0 -457
  20. package/dist/api/claims-api.js +30 -726
  21. package/dist/api/health-check-api.d.ts +0 -29
  22. package/dist/api/health-check-api.js +0 -69
  23. package/dist/api/settlements-api.d.ts +0 -338
  24. package/dist/api/settlements-api.js +0 -505
  25. package/dist/api.d.ts +0 -1
  26. package/dist/api.js +0 -1
  27. package/dist/models/claim-class.d.ts +0 -6
  28. package/dist/models/index.d.ts +0 -9
  29. package/dist/models/index.js +0 -9
  30. package/dist/models/list-claim-partner-roles-response-class.d.ts +0 -12
  31. package/dist/models/list-claim-partners-response-class.d.ts +0 -12
  32. package/dist/models/list-claim-statuses-response-class.d.ts +1 -13
  33. package/dist/models/list-claims-response-class.d.ts +0 -12
  34. package/dist/models/list-regulations-response-class.d.ts +0 -12
  35. package/models/claim-class.ts +0 -6
  36. package/models/index.ts +0 -9
  37. package/models/list-claim-partner-roles-response-class.ts +0 -12
  38. package/models/list-claim-partners-response-class.ts +0 -12
  39. package/models/list-claim-statuses-response-class.ts +1 -13
  40. package/models/list-claims-response-class.ts +0 -12
  41. package/models/list-regulations-response-class.ts +0 -12
  42. package/package.json +1 -1
  43. package/api/claim-positions-api.ts +0 -1316
  44. package/dist/api/claim-positions-api.d.ts +0 -740
  45. package/dist/api/claim-positions-api.js +0 -1157
  46. package/dist/models/claim-position-class.d.ts +0 -121
  47. package/dist/models/claim-position-class.js +0 -15
  48. package/dist/models/coverage-class.d.ts +0 -72
  49. package/dist/models/coverage-class.js +0 -21
  50. package/dist/models/coverage-request-dto.d.ts +0 -41
  51. package/dist/models/coverage-request-dto.js +0 -20
  52. package/dist/models/create-claim-position-request-dto.d.ts +0 -73
  53. package/dist/models/create-claim-position-request-dto.js +0 -15
  54. package/dist/models/create-claim-position-response-class.d.ts +0 -25
  55. package/dist/models/create-claim-position-response-class.js +0 -15
  56. package/dist/models/get-claim-position-response-class.d.ts +0 -25
  57. package/dist/models/get-claim-position-response-class.js +0 -15
  58. package/dist/models/list-claim-positions-response-class.d.ts +0 -43
  59. package/dist/models/list-claim-positions-response-class.js +0 -15
  60. package/dist/models/update-claim-position-request-dto.d.ts +0 -73
  61. package/dist/models/update-claim-position-request-dto.js +0 -15
  62. package/dist/models/update-claim-position-response-class.d.ts +0 -25
  63. package/dist/models/update-claim-position-response-class.js +0 -15
  64. package/models/claim-position-class.ts +0 -127
  65. package/models/coverage-class.ts +0 -81
  66. package/models/coverage-request-dto.ts +0 -50
  67. package/models/create-claim-position-request-dto.ts +0 -79
  68. package/models/create-claim-position-response-class.ts +0 -31
  69. package/models/get-claim-position-response-class.ts +0 -31
  70. package/models/list-claim-positions-response-class.ts +0 -49
  71. package/models/update-claim-position-request-dto.ts +0 -79
  72. package/models/update-claim-position-response-class.ts +0 -31
@@ -141,55 +141,6 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
141
141
  });
142
142
  });
143
143
  },
144
- /**
145
- * This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
146
- * @summary Create the settlement
147
- * @param {CreateSettlementRequestDto} createSettlementRequestDto
148
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
149
- * @param {*} [options] Override http request option.
150
- * @throws {RequiredError}
151
- */
152
- createSettlement1: function (createSettlementRequestDto, authorization, options) {
153
- if (options === void 0) { options = {}; }
154
- return __awaiter(_this, void 0, void 0, function () {
155
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
156
- return __generator(this, function (_a) {
157
- switch (_a.label) {
158
- case 0:
159
- // verify required parameter 'createSettlementRequestDto' is not null or undefined
160
- (0, common_1.assertParamExists)('createSettlement1', 'createSettlementRequestDto', createSettlementRequestDto);
161
- localVarPath = "/claimservice/v1/settlements";
162
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
163
- if (configuration) {
164
- baseOptions = configuration.baseOptions;
165
- baseAccessToken = configuration.accessToken;
166
- }
167
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
168
- localVarHeaderParameter = {};
169
- localVarQueryParameter = {};
170
- // authentication bearer required
171
- // http bearer authentication required
172
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
173
- case 1:
174
- // authentication bearer required
175
- // http bearer authentication required
176
- _a.sent();
177
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
178
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
179
- }
180
- localVarHeaderParameter['Content-Type'] = 'application/json';
181
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
182
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
183
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
184
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createSettlementRequestDto, localVarRequestOptions, configuration);
185
- return [2 /*return*/, {
186
- url: (0, common_1.toPathString)(localVarUrlObj),
187
- options: localVarRequestOptions,
188
- }];
189
- }
190
- });
191
- });
192
- },
193
144
  /**
194
145
  * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
195
146
  * @summary Delete the settlement
@@ -238,54 +189,6 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
238
189
  });
239
190
  });
240
191
  },
241
- /**
242
- * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
243
- * @summary Delete the settlement
244
- * @param {string} code
245
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
246
- * @param {*} [options] Override http request option.
247
- * @throws {RequiredError}
248
- */
249
- deleteSettlement1: function (code, authorization, options) {
250
- if (options === void 0) { options = {}; }
251
- return __awaiter(_this, void 0, void 0, function () {
252
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
253
- return __generator(this, function (_a) {
254
- switch (_a.label) {
255
- case 0:
256
- // verify required parameter 'code' is not null or undefined
257
- (0, common_1.assertParamExists)('deleteSettlement1', 'code', code);
258
- localVarPath = "/claimservice/v1/settlements/{code}"
259
- .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
260
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
261
- if (configuration) {
262
- baseOptions = configuration.baseOptions;
263
- baseAccessToken = configuration.accessToken;
264
- }
265
- localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
266
- localVarHeaderParameter = {};
267
- localVarQueryParameter = {};
268
- // authentication bearer required
269
- // http bearer authentication required
270
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
271
- case 1:
272
- // authentication bearer required
273
- // http bearer authentication required
274
- _a.sent();
275
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
276
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
277
- }
278
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
279
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
280
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
281
- return [2 /*return*/, {
282
- url: (0, common_1.toPathString)(localVarUrlObj),
283
- options: localVarRequestOptions,
284
- }];
285
- }
286
- });
287
- });
288
- },
289
192
  /**
290
193
  * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
291
194
  * @summary Retrieve the settlement
@@ -334,54 +237,6 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
334
237
  });
335
238
  });
336
239
  },
337
- /**
338
- * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
339
- * @summary Retrieve the settlement
340
- * @param {string} code
341
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
342
- * @param {*} [options] Override http request option.
343
- * @throws {RequiredError}
344
- */
345
- getSettlement1: function (code, authorization, options) {
346
- if (options === void 0) { options = {}; }
347
- return __awaiter(_this, void 0, void 0, function () {
348
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
349
- return __generator(this, function (_a) {
350
- switch (_a.label) {
351
- case 0:
352
- // verify required parameter 'code' is not null or undefined
353
- (0, common_1.assertParamExists)('getSettlement1', 'code', code);
354
- localVarPath = "/claimservice/v1/settlements/{code}"
355
- .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
356
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
357
- if (configuration) {
358
- baseOptions = configuration.baseOptions;
359
- baseAccessToken = configuration.accessToken;
360
- }
361
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
362
- localVarHeaderParameter = {};
363
- localVarQueryParameter = {};
364
- // authentication bearer required
365
- // http bearer authentication required
366
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
367
- case 1:
368
- // authentication bearer required
369
- // http bearer authentication required
370
- _a.sent();
371
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
372
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
373
- }
374
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
375
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
376
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
377
- return [2 /*return*/, {
378
- url: (0, common_1.toPathString)(localVarUrlObj),
379
- options: localVarRequestOptions,
380
- }];
381
- }
382
- });
383
- });
384
- },
385
240
  /**
386
241
  * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
387
242
  * @summary List settlements
@@ -454,78 +309,6 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
454
309
  });
455
310
  });
456
311
  },
457
- /**
458
- * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
459
- * @summary List settlements
460
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
461
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
462
- * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
463
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
464
- * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
465
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: insuredObject, reserve, payment, recourse</i>
466
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: claims<i>
467
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
468
- * @param {*} [options] Override http request option.
469
- * @throws {RequiredError}
470
- */
471
- listSettlements1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
472
- if (options === void 0) { options = {}; }
473
- return __awaiter(_this, void 0, void 0, function () {
474
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
475
- return __generator(this, function (_a) {
476
- switch (_a.label) {
477
- case 0:
478
- localVarPath = "/claimservice/v1/settlements";
479
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
480
- if (configuration) {
481
- baseOptions = configuration.baseOptions;
482
- baseAccessToken = configuration.accessToken;
483
- }
484
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
485
- localVarHeaderParameter = {};
486
- localVarQueryParameter = {};
487
- // authentication bearer required
488
- // http bearer authentication required
489
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
490
- case 1:
491
- // authentication bearer required
492
- // http bearer authentication required
493
- _a.sent();
494
- if (pageSize !== undefined) {
495
- localVarQueryParameter['pageSize'] = pageSize;
496
- }
497
- if (pageToken !== undefined) {
498
- localVarQueryParameter['pageToken'] = pageToken;
499
- }
500
- if (filter !== undefined) {
501
- localVarQueryParameter['filter'] = filter;
502
- }
503
- if (search !== undefined) {
504
- localVarQueryParameter['search'] = search;
505
- }
506
- if (order !== undefined) {
507
- localVarQueryParameter['order'] = order;
508
- }
509
- if (expand !== undefined) {
510
- localVarQueryParameter['expand'] = expand;
511
- }
512
- if (filters !== undefined) {
513
- localVarQueryParameter['filters'] = filters;
514
- }
515
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
516
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
517
- }
518
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
519
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
520
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
521
- return [2 /*return*/, {
522
- url: (0, common_1.toPathString)(localVarUrlObj),
523
- options: localVarRequestOptions,
524
- }];
525
- }
526
- });
527
- });
528
- },
529
312
  /**
530
313
  * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
531
314
  * @summary Update the settlement
@@ -579,59 +362,6 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
579
362
  });
580
363
  });
581
364
  },
582
- /**
583
- * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
584
- * @summary Update the settlement
585
- * @param {string} code
586
- * @param {UpdateSettlementRequestDto} updateSettlementRequestDto
587
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
588
- * @param {*} [options] Override http request option.
589
- * @throws {RequiredError}
590
- */
591
- updateSettlement1: function (code, updateSettlementRequestDto, authorization, options) {
592
- if (options === void 0) { options = {}; }
593
- return __awaiter(_this, void 0, void 0, function () {
594
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
595
- return __generator(this, function (_a) {
596
- switch (_a.label) {
597
- case 0:
598
- // verify required parameter 'code' is not null or undefined
599
- (0, common_1.assertParamExists)('updateSettlement1', 'code', code);
600
- // verify required parameter 'updateSettlementRequestDto' is not null or undefined
601
- (0, common_1.assertParamExists)('updateSettlement1', 'updateSettlementRequestDto', updateSettlementRequestDto);
602
- localVarPath = "/claimservice/v1/settlements/{code}"
603
- .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
604
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
605
- if (configuration) {
606
- baseOptions = configuration.baseOptions;
607
- baseAccessToken = configuration.accessToken;
608
- }
609
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
610
- localVarHeaderParameter = {};
611
- localVarQueryParameter = {};
612
- // authentication bearer required
613
- // http bearer authentication required
614
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
615
- case 1:
616
- // authentication bearer required
617
- // http bearer authentication required
618
- _a.sent();
619
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
620
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
621
- }
622
- localVarHeaderParameter['Content-Type'] = 'application/json';
623
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
624
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
625
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
626
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateSettlementRequestDto, localVarRequestOptions, configuration);
627
- return [2 /*return*/, {
628
- url: (0, common_1.toPathString)(localVarUrlObj),
629
- options: localVarRequestOptions,
630
- }];
631
- }
632
- });
633
- });
634
- },
635
365
  };
636
366
  };
637
367
  exports.SettlementsApiAxiosParamCreator = SettlementsApiAxiosParamCreator;
@@ -663,27 +393,6 @@ var SettlementsApiFp = function (configuration) {
663
393
  });
664
394
  });
665
395
  },
666
- /**
667
- * This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
668
- * @summary Create the settlement
669
- * @param {CreateSettlementRequestDto} createSettlementRequestDto
670
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
671
- * @param {*} [options] Override http request option.
672
- * @throws {RequiredError}
673
- */
674
- createSettlement1: function (createSettlementRequestDto, authorization, options) {
675
- return __awaiter(this, void 0, void 0, function () {
676
- var localVarAxiosArgs;
677
- return __generator(this, function (_a) {
678
- switch (_a.label) {
679
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.createSettlement1(createSettlementRequestDto, authorization, options)];
680
- case 1:
681
- localVarAxiosArgs = _a.sent();
682
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
683
- }
684
- });
685
- });
686
- },
687
396
  /**
688
397
  * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
689
398
  * @summary Delete the settlement
@@ -705,27 +414,6 @@ var SettlementsApiFp = function (configuration) {
705
414
  });
706
415
  });
707
416
  },
708
- /**
709
- * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
710
- * @summary Delete the settlement
711
- * @param {string} code
712
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
713
- * @param {*} [options] Override http request option.
714
- * @throws {RequiredError}
715
- */
716
- deleteSettlement1: function (code, authorization, options) {
717
- return __awaiter(this, void 0, void 0, function () {
718
- var localVarAxiosArgs;
719
- return __generator(this, function (_a) {
720
- switch (_a.label) {
721
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteSettlement1(code, authorization, options)];
722
- case 1:
723
- localVarAxiosArgs = _a.sent();
724
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
725
- }
726
- });
727
- });
728
- },
729
417
  /**
730
418
  * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
731
419
  * @summary Retrieve the settlement
@@ -747,27 +435,6 @@ var SettlementsApiFp = function (configuration) {
747
435
  });
748
436
  });
749
437
  },
750
- /**
751
- * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
752
- * @summary Retrieve the settlement
753
- * @param {string} code
754
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
755
- * @param {*} [options] Override http request option.
756
- * @throws {RequiredError}
757
- */
758
- getSettlement1: function (code, authorization, options) {
759
- return __awaiter(this, void 0, void 0, function () {
760
- var localVarAxiosArgs;
761
- return __generator(this, function (_a) {
762
- switch (_a.label) {
763
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSettlement1(code, authorization, options)];
764
- case 1:
765
- localVarAxiosArgs = _a.sent();
766
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
767
- }
768
- });
769
- });
770
- },
771
438
  /**
772
439
  * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
773
440
  * @summary List settlements
@@ -795,33 +462,6 @@ var SettlementsApiFp = function (configuration) {
795
462
  });
796
463
  });
797
464
  },
798
- /**
799
- * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
800
- * @summary List settlements
801
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
802
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
803
- * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
804
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
805
- * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
806
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: insuredObject, reserve, payment, recourse</i>
807
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: claims<i>
808
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
809
- * @param {*} [options] Override http request option.
810
- * @throws {RequiredError}
811
- */
812
- listSettlements1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
813
- return __awaiter(this, void 0, void 0, function () {
814
- var localVarAxiosArgs;
815
- return __generator(this, function (_a) {
816
- switch (_a.label) {
817
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listSettlements1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
818
- case 1:
819
- localVarAxiosArgs = _a.sent();
820
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
821
- }
822
- });
823
- });
824
- },
825
465
  /**
826
466
  * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
827
467
  * @summary Update the settlement
@@ -844,28 +484,6 @@ var SettlementsApiFp = function (configuration) {
844
484
  });
845
485
  });
846
486
  },
847
- /**
848
- * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
849
- * @summary Update the settlement
850
- * @param {string} code
851
- * @param {UpdateSettlementRequestDto} updateSettlementRequestDto
852
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
853
- * @param {*} [options] Override http request option.
854
- * @throws {RequiredError}
855
- */
856
- updateSettlement1: function (code, updateSettlementRequestDto, authorization, options) {
857
- return __awaiter(this, void 0, void 0, function () {
858
- var localVarAxiosArgs;
859
- return __generator(this, function (_a) {
860
- switch (_a.label) {
861
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateSettlement1(code, updateSettlementRequestDto, authorization, options)];
862
- case 1:
863
- localVarAxiosArgs = _a.sent();
864
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
865
- }
866
- });
867
- });
868
- },
869
487
  };
870
488
  };
871
489
  exports.SettlementsApiFp = SettlementsApiFp;
@@ -887,17 +505,6 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
887
505
  createSettlement: function (createSettlementRequestDto, authorization, options) {
888
506
  return localVarFp.createSettlement(createSettlementRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
889
507
  },
890
- /**
891
- * This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
892
- * @summary Create the settlement
893
- * @param {CreateSettlementRequestDto} createSettlementRequestDto
894
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
895
- * @param {*} [options] Override http request option.
896
- * @throws {RequiredError}
897
- */
898
- createSettlement1: function (createSettlementRequestDto, authorization, options) {
899
- return localVarFp.createSettlement1(createSettlementRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
900
- },
901
508
  /**
902
509
  * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
903
510
  * @summary Delete the settlement
@@ -909,17 +516,6 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
909
516
  deleteSettlement: function (code, authorization, options) {
910
517
  return localVarFp.deleteSettlement(code, authorization, options).then(function (request) { return request(axios, basePath); });
911
518
  },
912
- /**
913
- * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
914
- * @summary Delete the settlement
915
- * @param {string} code
916
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
917
- * @param {*} [options] Override http request option.
918
- * @throws {RequiredError}
919
- */
920
- deleteSettlement1: function (code, authorization, options) {
921
- return localVarFp.deleteSettlement1(code, authorization, options).then(function (request) { return request(axios, basePath); });
922
- },
923
519
  /**
924
520
  * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
925
521
  * @summary Retrieve the settlement
@@ -931,17 +527,6 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
931
527
  getSettlement: function (code, authorization, options) {
932
528
  return localVarFp.getSettlement(code, authorization, options).then(function (request) { return request(axios, basePath); });
933
529
  },
934
- /**
935
- * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
936
- * @summary Retrieve the settlement
937
- * @param {string} code
938
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
939
- * @param {*} [options] Override http request option.
940
- * @throws {RequiredError}
941
- */
942
- getSettlement1: function (code, authorization, options) {
943
- return localVarFp.getSettlement1(code, authorization, options).then(function (request) { return request(axios, basePath); });
944
- },
945
530
  /**
946
531
  * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
947
532
  * @summary List settlements
@@ -959,23 +544,6 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
959
544
  listSettlements: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
960
545
  return localVarFp.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
961
546
  },
962
- /**
963
- * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
964
- * @summary List settlements
965
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
966
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
967
- * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
968
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
969
- * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
970
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: insuredObject, reserve, payment, recourse</i>
971
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: claims<i>
972
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
973
- * @param {*} [options] Override http request option.
974
- * @throws {RequiredError}
975
- */
976
- listSettlements1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
977
- return localVarFp.listSettlements1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
978
- },
979
547
  /**
980
548
  * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
981
549
  * @summary Update the settlement
@@ -988,18 +556,6 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
988
556
  updateSettlement: function (code, updateSettlementRequestDto, authorization, options) {
989
557
  return localVarFp.updateSettlement(code, updateSettlementRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
990
558
  },
991
- /**
992
- * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
993
- * @summary Update the settlement
994
- * @param {string} code
995
- * @param {UpdateSettlementRequestDto} updateSettlementRequestDto
996
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
997
- * @param {*} [options] Override http request option.
998
- * @throws {RequiredError}
999
- */
1000
- updateSettlement1: function (code, updateSettlementRequestDto, authorization, options) {
1001
- return localVarFp.updateSettlement1(code, updateSettlementRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1002
- },
1003
559
  };
1004
560
  };
1005
561
  exports.SettlementsApiFactory = SettlementsApiFactory;
@@ -1026,18 +582,6 @@ var SettlementsApi = /** @class */ (function (_super) {
1026
582
  var _this = this;
1027
583
  return (0, exports.SettlementsApiFp)(this.configuration).createSettlement(requestParameters.createSettlementRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1028
584
  };
1029
- /**
1030
- * This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
1031
- * @summary Create the settlement
1032
- * @param {SettlementsApiCreateSettlement1Request} requestParameters Request parameters.
1033
- * @param {*} [options] Override http request option.
1034
- * @throws {RequiredError}
1035
- * @memberof SettlementsApi
1036
- */
1037
- SettlementsApi.prototype.createSettlement1 = function (requestParameters, options) {
1038
- var _this = this;
1039
- return (0, exports.SettlementsApiFp)(this.configuration).createSettlement1(requestParameters.createSettlementRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1040
- };
1041
585
  /**
1042
586
  * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
1043
587
  * @summary Delete the settlement
@@ -1050,18 +594,6 @@ var SettlementsApi = /** @class */ (function (_super) {
1050
594
  var _this = this;
1051
595
  return (0, exports.SettlementsApiFp)(this.configuration).deleteSettlement(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1052
596
  };
1053
- /**
1054
- * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
1055
- * @summary Delete the settlement
1056
- * @param {SettlementsApiDeleteSettlement1Request} requestParameters Request parameters.
1057
- * @param {*} [options] Override http request option.
1058
- * @throws {RequiredError}
1059
- * @memberof SettlementsApi
1060
- */
1061
- SettlementsApi.prototype.deleteSettlement1 = function (requestParameters, options) {
1062
- var _this = this;
1063
- return (0, exports.SettlementsApiFp)(this.configuration).deleteSettlement1(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1064
- };
1065
597
  /**
1066
598
  * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
1067
599
  * @summary Retrieve the settlement
@@ -1074,18 +606,6 @@ var SettlementsApi = /** @class */ (function (_super) {
1074
606
  var _this = this;
1075
607
  return (0, exports.SettlementsApiFp)(this.configuration).getSettlement(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1076
608
  };
1077
- /**
1078
- * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
1079
- * @summary Retrieve the settlement
1080
- * @param {SettlementsApiGetSettlement1Request} requestParameters Request parameters.
1081
- * @param {*} [options] Override http request option.
1082
- * @throws {RequiredError}
1083
- * @memberof SettlementsApi
1084
- */
1085
- SettlementsApi.prototype.getSettlement1 = function (requestParameters, options) {
1086
- var _this = this;
1087
- return (0, exports.SettlementsApiFp)(this.configuration).getSettlement1(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1088
- };
1089
609
  /**
1090
610
  * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
1091
611
  * @summary List settlements
@@ -1099,19 +619,6 @@ var SettlementsApi = /** @class */ (function (_super) {
1099
619
  if (requestParameters === void 0) { requestParameters = {}; }
1100
620
  return (0, exports.SettlementsApiFp)(this.configuration).listSettlements(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
1101
621
  };
1102
- /**
1103
- * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
1104
- * @summary List settlements
1105
- * @param {SettlementsApiListSettlements1Request} requestParameters Request parameters.
1106
- * @param {*} [options] Override http request option.
1107
- * @throws {RequiredError}
1108
- * @memberof SettlementsApi
1109
- */
1110
- SettlementsApi.prototype.listSettlements1 = function (requestParameters, options) {
1111
- var _this = this;
1112
- if (requestParameters === void 0) { requestParameters = {}; }
1113
- return (0, exports.SettlementsApiFp)(this.configuration).listSettlements1(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
1114
- };
1115
622
  /**
1116
623
  * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
1117
624
  * @summary Update the settlement
@@ -1124,18 +631,6 @@ var SettlementsApi = /** @class */ (function (_super) {
1124
631
  var _this = this;
1125
632
  return (0, exports.SettlementsApiFp)(this.configuration).updateSettlement(requestParameters.code, requestParameters.updateSettlementRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1126
633
  };
1127
- /**
1128
- * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
1129
- * @summary Update the settlement
1130
- * @param {SettlementsApiUpdateSettlement1Request} requestParameters Request parameters.
1131
- * @param {*} [options] Override http request option.
1132
- * @throws {RequiredError}
1133
- * @memberof SettlementsApi
1134
- */
1135
- SettlementsApi.prototype.updateSettlement1 = function (requestParameters, options) {
1136
- var _this = this;
1137
- return (0, exports.SettlementsApiFp)(this.configuration).updateSettlement1(requestParameters.code, requestParameters.updateSettlementRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1138
- };
1139
634
  return SettlementsApi;
1140
635
  }(base_1.BaseAPI));
1141
636
  exports.SettlementsApi = SettlementsApi;