@emilgroup/claim-sdk-node 1.39.0 → 1.39.1-beta.1

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 (102) hide show
  1. package/.openapi-generator/FILES +15 -0
  2. package/README.md +2 -2
  3. package/api/claim-limit-usages-api.ts +648 -0
  4. package/api/claim-partner-roles-api.ts +627 -0
  5. package/api/claim-partners-api.ts +520 -0
  6. package/api/claim-positions-api.ts +1340 -0
  7. package/api/claim-regulations-api.ts +644 -3
  8. package/api/claim-statuses-api.ts +752 -5
  9. package/api/claims-api.ts +863 -11
  10. package/api/health-check-api.ts +66 -0
  11. package/api/settlements-api.ts +627 -0
  12. package/api.ts +4 -0
  13. package/dist/api/claim-limit-usages-api.d.ts +378 -0
  14. package/dist/api/claim-limit-usages-api.js +585 -0
  15. package/dist/api/claim-partner-roles-api.d.ts +358 -0
  16. package/dist/api/claim-partner-roles-api.js +525 -0
  17. package/dist/api/claim-partners-api.d.ts +299 -0
  18. package/dist/api/claim-partners-api.js +428 -0
  19. package/dist/api/claim-positions-api.d.ts +760 -0
  20. package/dist/api/claim-positions-api.js +1181 -0
  21. package/dist/api/claim-regulations-api.d.ts +367 -0
  22. package/dist/api/claim-regulations-api.js +531 -0
  23. package/dist/api/claim-statuses-api.d.ts +426 -0
  24. package/dist/api/claim-statuses-api.js +642 -14
  25. package/dist/api/claims-api.d.ts +493 -8
  26. package/dist/api/claims-api.js +734 -10
  27. package/dist/api/health-check-api.d.ts +33 -0
  28. package/dist/api/health-check-api.js +73 -0
  29. package/dist/api/settlements-api.d.ts +358 -0
  30. package/dist/api/settlements-api.js +525 -0
  31. package/dist/api.d.ts +2 -0
  32. package/dist/api.js +2 -0
  33. package/dist/models/calculation-step-result-class.d.ts +72 -0
  34. package/dist/models/calculation-step-result-class.js +21 -0
  35. package/dist/models/claim-applied-deductible-class.d.ts +95 -0
  36. package/dist/models/claim-applied-deductible-class.js +20 -0
  37. package/dist/models/claim-class.d.ts +25 -0
  38. package/dist/models/claim-limit-usage-class.d.ts +143 -0
  39. package/dist/models/claim-limit-usage-class.js +30 -0
  40. package/dist/models/claim-limit-usage-result-class.d.ts +48 -0
  41. package/dist/models/claim-limit-usage-result-class.js +21 -0
  42. package/dist/models/claim-position-class.d.ts +151 -0
  43. package/dist/models/claim-position-class.js +20 -0
  44. package/dist/models/create-claim-position-request-dto.d.ts +66 -0
  45. package/dist/models/create-claim-position-request-dto.js +15 -0
  46. package/dist/models/create-claim-position-response-class.d.ts +25 -0
  47. package/dist/models/create-claim-position-response-class.js +15 -0
  48. package/dist/models/create-claim-request-dto.d.ts +6 -0
  49. package/dist/models/create-regulation-item-request-dto.d.ts +26 -3
  50. package/dist/models/create-regulation-item-request-dto.js +5 -1
  51. package/dist/models/get-claim-limit-usage-response-class.d.ts +25 -0
  52. package/dist/models/get-claim-limit-usage-response-class.js +15 -0
  53. package/dist/models/get-claim-position-response-class.d.ts +25 -0
  54. package/dist/models/get-claim-position-response-class.js +15 -0
  55. package/dist/models/index.d.ts +13 -0
  56. package/dist/models/index.js +13 -0
  57. package/dist/models/list-claim-limit-usages-response-class.d.ts +43 -0
  58. package/dist/models/list-claim-limit-usages-response-class.js +15 -0
  59. package/dist/models/list-claim-partner-roles-response-class.d.ts +12 -0
  60. package/dist/models/list-claim-partners-response-class.d.ts +12 -0
  61. package/dist/models/list-claim-positions-response-class.d.ts +43 -0
  62. package/dist/models/list-claim-positions-response-class.js +15 -0
  63. package/dist/models/list-claim-statuses-response-class.d.ts +13 -1
  64. package/dist/models/list-claims-response-class.d.ts +12 -0
  65. package/dist/models/list-regulations-response-class.d.ts +12 -0
  66. package/dist/models/patch-claim-request-dto.d.ts +39 -33
  67. package/dist/models/regulation-item-class.d.ts +35 -0
  68. package/dist/models/regulation-item-class.js +10 -1
  69. package/dist/models/update-claim-position-request-dto.d.ts +60 -0
  70. package/dist/models/update-claim-position-request-dto.js +15 -0
  71. package/dist/models/update-claim-position-response-class.d.ts +25 -0
  72. package/dist/models/update-claim-position-response-class.js +15 -0
  73. package/dist/models/update-claim-request-dto.d.ts +39 -33
  74. package/dist/models/update-regulation-item-request-dto.d.ts +12 -0
  75. package/dist/models/update-regulation-item-request-dto.js +6 -1
  76. package/models/calculation-step-result-class.ts +81 -0
  77. package/models/claim-applied-deductible-class.ts +104 -0
  78. package/models/claim-class.ts +25 -0
  79. package/models/claim-limit-usage-class.ts +154 -0
  80. package/models/claim-limit-usage-result-class.ts +57 -0
  81. package/models/claim-position-class.ts +160 -0
  82. package/models/create-claim-position-request-dto.ts +72 -0
  83. package/models/create-claim-position-response-class.ts +31 -0
  84. package/models/create-claim-request-dto.ts +6 -0
  85. package/models/create-regulation-item-request-dto.ts +27 -3
  86. package/models/get-claim-limit-usage-response-class.ts +31 -0
  87. package/models/get-claim-position-response-class.ts +31 -0
  88. package/models/index.ts +13 -0
  89. package/models/list-claim-limit-usages-response-class.ts +49 -0
  90. package/models/list-claim-partner-roles-response-class.ts +12 -0
  91. package/models/list-claim-partners-response-class.ts +12 -0
  92. package/models/list-claim-positions-response-class.ts +49 -0
  93. package/models/list-claim-statuses-response-class.ts +13 -1
  94. package/models/list-claims-response-class.ts +12 -0
  95. package/models/list-regulations-response-class.ts +12 -0
  96. package/models/patch-claim-request-dto.ts +39 -33
  97. package/models/regulation-item-class.ts +37 -0
  98. package/models/update-claim-position-request-dto.ts +66 -0
  99. package/models/update-claim-position-response-class.ts +31 -0
  100. package/models/update-claim-request-dto.ts +39 -33
  101. package/models/update-regulation-item-request-dto.ts +13 -0
  102. package/package.json +1 -1
@@ -113,6 +113,56 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
113
113
  case 0:
114
114
  // verify required parameter 'createSettlementRequestDto' is not null or undefined
115
115
  (0, common_1.assertParamExists)('createSettlement', 'createSettlementRequestDto', createSettlementRequestDto);
116
+ localVarPath = "/claimservice/v1/settlements";
117
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
118
+ if (configuration) {
119
+ baseOptions = configuration.baseOptions;
120
+ baseAccessToken = configuration.accessToken;
121
+ }
122
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
123
+ localVarHeaderParameter = {};
124
+ localVarQueryParameter = {};
125
+ // authentication bearer required
126
+ // http bearer authentication required
127
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
128
+ case 1:
129
+ // authentication bearer required
130
+ // http bearer authentication required
131
+ _a.sent();
132
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
133
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
134
+ }
135
+ localVarHeaderParameter['Content-Type'] = 'application/json';
136
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
137
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
138
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
139
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createSettlementRequestDto, localVarRequestOptions, configuration);
140
+ return [2 /*return*/, {
141
+ url: (0, common_1.toPathString)(localVarUrlObj),
142
+ options: localVarRequestOptions,
143
+ }];
144
+ }
145
+ });
146
+ });
147
+ },
148
+ /**
149
+ * This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
150
+ * @summary Create the settlement
151
+ * @param {CreateSettlementRequestDto} createSettlementRequestDto
152
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
153
+ * @param {*} [options] Override http request option.
154
+ * @deprecated
155
+ * @throws {RequiredError}
156
+ */
157
+ createSettlement1: function (createSettlementRequestDto, authorization, options) {
158
+ if (options === void 0) { options = {}; }
159
+ return __awaiter(_this, void 0, void 0, function () {
160
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
161
+ return __generator(this, function (_a) {
162
+ switch (_a.label) {
163
+ case 0:
164
+ // verify required parameter 'createSettlementRequestDto' is not null or undefined
165
+ (0, common_1.assertParamExists)('createSettlement1', 'createSettlementRequestDto', createSettlementRequestDto);
116
166
  localVarPath = "/v1/settlements";
117
167
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
118
168
  if (configuration) {
@@ -162,6 +212,55 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
162
212
  case 0:
163
213
  // verify required parameter 'code' is not null or undefined
164
214
  (0, common_1.assertParamExists)('deleteSettlement', 'code', code);
215
+ localVarPath = "/claimservice/v1/settlements/{code}"
216
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
217
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
218
+ if (configuration) {
219
+ baseOptions = configuration.baseOptions;
220
+ baseAccessToken = configuration.accessToken;
221
+ }
222
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
223
+ localVarHeaderParameter = {};
224
+ localVarQueryParameter = {};
225
+ // authentication bearer required
226
+ // http bearer authentication required
227
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
228
+ case 1:
229
+ // authentication bearer required
230
+ // http bearer authentication required
231
+ _a.sent();
232
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
233
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
234
+ }
235
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
236
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
237
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
238
+ return [2 /*return*/, {
239
+ url: (0, common_1.toPathString)(localVarUrlObj),
240
+ options: localVarRequestOptions,
241
+ }];
242
+ }
243
+ });
244
+ });
245
+ },
246
+ /**
247
+ * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
248
+ * @summary Delete the settlement
249
+ * @param {string} code
250
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
251
+ * @param {*} [options] Override http request option.
252
+ * @deprecated
253
+ * @throws {RequiredError}
254
+ */
255
+ deleteSettlement1: function (code, authorization, options) {
256
+ if (options === void 0) { options = {}; }
257
+ return __awaiter(_this, void 0, void 0, function () {
258
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
259
+ return __generator(this, function (_a) {
260
+ switch (_a.label) {
261
+ case 0:
262
+ // verify required parameter 'code' is not null or undefined
263
+ (0, common_1.assertParamExists)('deleteSettlement1', 'code', code);
165
264
  localVarPath = "/v1/settlements/{code}"
166
265
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
167
266
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -210,6 +309,55 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
210
309
  case 0:
211
310
  // verify required parameter 'code' is not null or undefined
212
311
  (0, common_1.assertParamExists)('getSettlement', 'code', code);
312
+ localVarPath = "/claimservice/v1/settlements/{code}"
313
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
314
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
315
+ if (configuration) {
316
+ baseOptions = configuration.baseOptions;
317
+ baseAccessToken = configuration.accessToken;
318
+ }
319
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
320
+ localVarHeaderParameter = {};
321
+ localVarQueryParameter = {};
322
+ // authentication bearer required
323
+ // http bearer authentication required
324
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
325
+ case 1:
326
+ // authentication bearer required
327
+ // http bearer authentication required
328
+ _a.sent();
329
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
330
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
331
+ }
332
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
333
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
334
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
335
+ return [2 /*return*/, {
336
+ url: (0, common_1.toPathString)(localVarUrlObj),
337
+ options: localVarRequestOptions,
338
+ }];
339
+ }
340
+ });
341
+ });
342
+ },
343
+ /**
344
+ * 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
345
+ * @summary Retrieve the settlement
346
+ * @param {string} code
347
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
348
+ * @param {*} [options] Override http request option.
349
+ * @deprecated
350
+ * @throws {RequiredError}
351
+ */
352
+ getSettlement1: function (code, authorization, options) {
353
+ if (options === void 0) { options = {}; }
354
+ return __awaiter(_this, void 0, void 0, function () {
355
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
356
+ return __generator(this, function (_a) {
357
+ switch (_a.label) {
358
+ case 0:
359
+ // verify required parameter 'code' is not null or undefined
360
+ (0, common_1.assertParamExists)('getSettlement1', 'code', code);
213
361
  localVarPath = "/v1/settlements/{code}"
214
362
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
215
363
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -256,6 +404,79 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
256
404
  * @throws {RequiredError}
257
405
  */
258
406
  listSettlements: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
407
+ if (options === void 0) { options = {}; }
408
+ return __awaiter(_this, void 0, void 0, function () {
409
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
410
+ return __generator(this, function (_a) {
411
+ switch (_a.label) {
412
+ case 0:
413
+ localVarPath = "/claimservice/v1/settlements";
414
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
415
+ if (configuration) {
416
+ baseOptions = configuration.baseOptions;
417
+ baseAccessToken = configuration.accessToken;
418
+ }
419
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
420
+ localVarHeaderParameter = {};
421
+ localVarQueryParameter = {};
422
+ // authentication bearer required
423
+ // http bearer authentication required
424
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
425
+ case 1:
426
+ // authentication bearer required
427
+ // http bearer authentication required
428
+ _a.sent();
429
+ if (pageSize !== undefined) {
430
+ localVarQueryParameter['pageSize'] = pageSize;
431
+ }
432
+ if (pageToken !== undefined) {
433
+ localVarQueryParameter['pageToken'] = pageToken;
434
+ }
435
+ if (filter !== undefined) {
436
+ localVarQueryParameter['filter'] = filter;
437
+ }
438
+ if (search !== undefined) {
439
+ localVarQueryParameter['search'] = search;
440
+ }
441
+ if (order !== undefined) {
442
+ localVarQueryParameter['order'] = order;
443
+ }
444
+ if (expand !== undefined) {
445
+ localVarQueryParameter['expand'] = expand;
446
+ }
447
+ if (filters !== undefined) {
448
+ localVarQueryParameter['filters'] = filters;
449
+ }
450
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
451
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
452
+ }
453
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
454
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
455
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
456
+ return [2 /*return*/, {
457
+ url: (0, common_1.toPathString)(localVarUrlObj),
458
+ options: localVarRequestOptions,
459
+ }];
460
+ }
461
+ });
462
+ });
463
+ },
464
+ /**
465
+ * 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
466
+ * @summary List settlements
467
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
468
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
469
+ * @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.
470
+ * @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>
471
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
472
+ * @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>
473
+ * @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>
474
+ * @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>
475
+ * @param {*} [options] Override http request option.
476
+ * @deprecated
477
+ * @throws {RequiredError}
478
+ */
479
+ listSettlements1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
259
480
  if (options === void 0) { options = {}; }
260
481
  return __awaiter(_this, void 0, void 0, function () {
261
482
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -333,6 +554,60 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
333
554
  (0, common_1.assertParamExists)('updateSettlement', 'code', code);
334
555
  // verify required parameter 'updateSettlementRequestDto' is not null or undefined
335
556
  (0, common_1.assertParamExists)('updateSettlement', 'updateSettlementRequestDto', updateSettlementRequestDto);
557
+ localVarPath = "/claimservice/v1/settlements/{code}"
558
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
559
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
560
+ if (configuration) {
561
+ baseOptions = configuration.baseOptions;
562
+ baseAccessToken = configuration.accessToken;
563
+ }
564
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
565
+ localVarHeaderParameter = {};
566
+ localVarQueryParameter = {};
567
+ // authentication bearer required
568
+ // http bearer authentication required
569
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
570
+ case 1:
571
+ // authentication bearer required
572
+ // http bearer authentication required
573
+ _a.sent();
574
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
575
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
576
+ }
577
+ localVarHeaderParameter['Content-Type'] = 'application/json';
578
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
579
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
580
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
581
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateSettlementRequestDto, localVarRequestOptions, configuration);
582
+ return [2 /*return*/, {
583
+ url: (0, common_1.toPathString)(localVarUrlObj),
584
+ options: localVarRequestOptions,
585
+ }];
586
+ }
587
+ });
588
+ });
589
+ },
590
+ /**
591
+ * 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
592
+ * @summary Update the settlement
593
+ * @param {string} code
594
+ * @param {UpdateSettlementRequestDto} updateSettlementRequestDto
595
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
596
+ * @param {*} [options] Override http request option.
597
+ * @deprecated
598
+ * @throws {RequiredError}
599
+ */
600
+ updateSettlement1: function (code, updateSettlementRequestDto, authorization, options) {
601
+ if (options === void 0) { options = {}; }
602
+ return __awaiter(_this, void 0, void 0, function () {
603
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
604
+ return __generator(this, function (_a) {
605
+ switch (_a.label) {
606
+ case 0:
607
+ // verify required parameter 'code' is not null or undefined
608
+ (0, common_1.assertParamExists)('updateSettlement1', 'code', code);
609
+ // verify required parameter 'updateSettlementRequestDto' is not null or undefined
610
+ (0, common_1.assertParamExists)('updateSettlement1', 'updateSettlementRequestDto', updateSettlementRequestDto);
336
611
  localVarPath = "/v1/settlements/{code}"
337
612
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
338
613
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -397,6 +672,28 @@ var SettlementsApiFp = function (configuration) {
397
672
  });
398
673
  });
399
674
  },
675
+ /**
676
+ * This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
677
+ * @summary Create the settlement
678
+ * @param {CreateSettlementRequestDto} createSettlementRequestDto
679
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
680
+ * @param {*} [options] Override http request option.
681
+ * @deprecated
682
+ * @throws {RequiredError}
683
+ */
684
+ createSettlement1: function (createSettlementRequestDto, authorization, options) {
685
+ return __awaiter(this, void 0, void 0, function () {
686
+ var localVarAxiosArgs;
687
+ return __generator(this, function (_a) {
688
+ switch (_a.label) {
689
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createSettlement1(createSettlementRequestDto, authorization, options)];
690
+ case 1:
691
+ localVarAxiosArgs = _a.sent();
692
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
693
+ }
694
+ });
695
+ });
696
+ },
400
697
  /**
401
698
  * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
402
699
  * @summary Delete the settlement
@@ -418,6 +715,28 @@ var SettlementsApiFp = function (configuration) {
418
715
  });
419
716
  });
420
717
  },
718
+ /**
719
+ * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
720
+ * @summary Delete the settlement
721
+ * @param {string} code
722
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
723
+ * @param {*} [options] Override http request option.
724
+ * @deprecated
725
+ * @throws {RequiredError}
726
+ */
727
+ deleteSettlement1: function (code, authorization, options) {
728
+ return __awaiter(this, void 0, void 0, function () {
729
+ var localVarAxiosArgs;
730
+ return __generator(this, function (_a) {
731
+ switch (_a.label) {
732
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteSettlement1(code, authorization, options)];
733
+ case 1:
734
+ localVarAxiosArgs = _a.sent();
735
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
736
+ }
737
+ });
738
+ });
739
+ },
421
740
  /**
422
741
  * 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\"
423
742
  * @summary Retrieve the settlement
@@ -439,6 +758,28 @@ var SettlementsApiFp = function (configuration) {
439
758
  });
440
759
  });
441
760
  },
761
+ /**
762
+ * 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
763
+ * @summary Retrieve the settlement
764
+ * @param {string} code
765
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
766
+ * @param {*} [options] Override http request option.
767
+ * @deprecated
768
+ * @throws {RequiredError}
769
+ */
770
+ getSettlement1: function (code, authorization, options) {
771
+ return __awaiter(this, void 0, void 0, function () {
772
+ var localVarAxiosArgs;
773
+ return __generator(this, function (_a) {
774
+ switch (_a.label) {
775
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSettlement1(code, authorization, options)];
776
+ case 1:
777
+ localVarAxiosArgs = _a.sent();
778
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
779
+ }
780
+ });
781
+ });
782
+ },
442
783
  /**
443
784
  * 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\"
444
785
  * @summary List settlements
@@ -466,6 +807,34 @@ var SettlementsApiFp = function (configuration) {
466
807
  });
467
808
  });
468
809
  },
810
+ /**
811
+ * 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
812
+ * @summary List settlements
813
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
814
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
815
+ * @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.
816
+ * @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>
817
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
818
+ * @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>
819
+ * @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>
820
+ * @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>
821
+ * @param {*} [options] Override http request option.
822
+ * @deprecated
823
+ * @throws {RequiredError}
824
+ */
825
+ listSettlements1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
826
+ return __awaiter(this, void 0, void 0, function () {
827
+ var localVarAxiosArgs;
828
+ return __generator(this, function (_a) {
829
+ switch (_a.label) {
830
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listSettlements1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
831
+ case 1:
832
+ localVarAxiosArgs = _a.sent();
833
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
834
+ }
835
+ });
836
+ });
837
+ },
469
838
  /**
470
839
  * 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\"
471
840
  * @summary Update the settlement
@@ -488,6 +857,29 @@ var SettlementsApiFp = function (configuration) {
488
857
  });
489
858
  });
490
859
  },
860
+ /**
861
+ * 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
862
+ * @summary Update the settlement
863
+ * @param {string} code
864
+ * @param {UpdateSettlementRequestDto} updateSettlementRequestDto
865
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
866
+ * @param {*} [options] Override http request option.
867
+ * @deprecated
868
+ * @throws {RequiredError}
869
+ */
870
+ updateSettlement1: function (code, updateSettlementRequestDto, authorization, options) {
871
+ return __awaiter(this, void 0, void 0, function () {
872
+ var localVarAxiosArgs;
873
+ return __generator(this, function (_a) {
874
+ switch (_a.label) {
875
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateSettlement1(code, updateSettlementRequestDto, authorization, options)];
876
+ case 1:
877
+ localVarAxiosArgs = _a.sent();
878
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
879
+ }
880
+ });
881
+ });
882
+ },
491
883
  };
492
884
  };
493
885
  exports.SettlementsApiFp = SettlementsApiFp;
@@ -509,6 +901,18 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
509
901
  createSettlement: function (createSettlementRequestDto, authorization, options) {
510
902
  return localVarFp.createSettlement(createSettlementRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
511
903
  },
904
+ /**
905
+ * This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
906
+ * @summary Create the settlement
907
+ * @param {CreateSettlementRequestDto} createSettlementRequestDto
908
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
909
+ * @param {*} [options] Override http request option.
910
+ * @deprecated
911
+ * @throws {RequiredError}
912
+ */
913
+ createSettlement1: function (createSettlementRequestDto, authorization, options) {
914
+ return localVarFp.createSettlement1(createSettlementRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
915
+ },
512
916
  /**
513
917
  * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
514
918
  * @summary Delete the settlement
@@ -520,6 +924,18 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
520
924
  deleteSettlement: function (code, authorization, options) {
521
925
  return localVarFp.deleteSettlement(code, authorization, options).then(function (request) { return request(axios, basePath); });
522
926
  },
927
+ /**
928
+ * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
929
+ * @summary Delete the settlement
930
+ * @param {string} code
931
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
932
+ * @param {*} [options] Override http request option.
933
+ * @deprecated
934
+ * @throws {RequiredError}
935
+ */
936
+ deleteSettlement1: function (code, authorization, options) {
937
+ return localVarFp.deleteSettlement1(code, authorization, options).then(function (request) { return request(axios, basePath); });
938
+ },
523
939
  /**
524
940
  * 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\"
525
941
  * @summary Retrieve the settlement
@@ -531,6 +947,18 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
531
947
  getSettlement: function (code, authorization, options) {
532
948
  return localVarFp.getSettlement(code, authorization, options).then(function (request) { return request(axios, basePath); });
533
949
  },
950
+ /**
951
+ * 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
952
+ * @summary Retrieve the settlement
953
+ * @param {string} code
954
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
955
+ * @param {*} [options] Override http request option.
956
+ * @deprecated
957
+ * @throws {RequiredError}
958
+ */
959
+ getSettlement1: function (code, authorization, options) {
960
+ return localVarFp.getSettlement1(code, authorization, options).then(function (request) { return request(axios, basePath); });
961
+ },
534
962
  /**
535
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\"
536
964
  * @summary List settlements
@@ -548,6 +976,24 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
548
976
  listSettlements: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
549
977
  return localVarFp.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
550
978
  },
979
+ /**
980
+ * 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
981
+ * @summary List settlements
982
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
983
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
984
+ * @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.
985
+ * @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>
986
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
987
+ * @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>
988
+ * @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>
989
+ * @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>
990
+ * @param {*} [options] Override http request option.
991
+ * @deprecated
992
+ * @throws {RequiredError}
993
+ */
994
+ listSettlements1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
995
+ return localVarFp.listSettlements1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
996
+ },
551
997
  /**
552
998
  * 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\"
553
999
  * @summary Update the settlement
@@ -560,6 +1006,19 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
560
1006
  updateSettlement: function (code, updateSettlementRequestDto, authorization, options) {
561
1007
  return localVarFp.updateSettlement(code, updateSettlementRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
562
1008
  },
1009
+ /**
1010
+ * 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1011
+ * @summary Update the settlement
1012
+ * @param {string} code
1013
+ * @param {UpdateSettlementRequestDto} updateSettlementRequestDto
1014
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1015
+ * @param {*} [options] Override http request option.
1016
+ * @deprecated
1017
+ * @throws {RequiredError}
1018
+ */
1019
+ updateSettlement1: function (code, updateSettlementRequestDto, authorization, options) {
1020
+ return localVarFp.updateSettlement1(code, updateSettlementRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1021
+ },
563
1022
  };
564
1023
  };
565
1024
  exports.SettlementsApiFactory = SettlementsApiFactory;
@@ -586,6 +1045,19 @@ var SettlementsApi = /** @class */ (function (_super) {
586
1045
  var _this = this;
587
1046
  return (0, exports.SettlementsApiFp)(this.configuration).createSettlement(requestParameters.createSettlementRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
588
1047
  };
1048
+ /**
1049
+ * This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1050
+ * @summary Create the settlement
1051
+ * @param {SettlementsApiCreateSettlement1Request} requestParameters Request parameters.
1052
+ * @param {*} [options] Override http request option.
1053
+ * @deprecated
1054
+ * @throws {RequiredError}
1055
+ * @memberof SettlementsApi
1056
+ */
1057
+ SettlementsApi.prototype.createSettlement1 = function (requestParameters, options) {
1058
+ var _this = this;
1059
+ return (0, exports.SettlementsApiFp)(this.configuration).createSettlement1(requestParameters.createSettlementRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1060
+ };
589
1061
  /**
590
1062
  * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
591
1063
  * @summary Delete the settlement
@@ -598,6 +1070,19 @@ var SettlementsApi = /** @class */ (function (_super) {
598
1070
  var _this = this;
599
1071
  return (0, exports.SettlementsApiFp)(this.configuration).deleteSettlement(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
600
1072
  };
1073
+ /**
1074
+ * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1075
+ * @summary Delete the settlement
1076
+ * @param {SettlementsApiDeleteSettlement1Request} requestParameters Request parameters.
1077
+ * @param {*} [options] Override http request option.
1078
+ * @deprecated
1079
+ * @throws {RequiredError}
1080
+ * @memberof SettlementsApi
1081
+ */
1082
+ SettlementsApi.prototype.deleteSettlement1 = function (requestParameters, options) {
1083
+ var _this = this;
1084
+ return (0, exports.SettlementsApiFp)(this.configuration).deleteSettlement1(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1085
+ };
601
1086
  /**
602
1087
  * 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\"
603
1088
  * @summary Retrieve the settlement
@@ -610,6 +1095,19 @@ var SettlementsApi = /** @class */ (function (_super) {
610
1095
  var _this = this;
611
1096
  return (0, exports.SettlementsApiFp)(this.configuration).getSettlement(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
612
1097
  };
1098
+ /**
1099
+ * 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1100
+ * @summary Retrieve the settlement
1101
+ * @param {SettlementsApiGetSettlement1Request} requestParameters Request parameters.
1102
+ * @param {*} [options] Override http request option.
1103
+ * @deprecated
1104
+ * @throws {RequiredError}
1105
+ * @memberof SettlementsApi
1106
+ */
1107
+ SettlementsApi.prototype.getSettlement1 = function (requestParameters, options) {
1108
+ var _this = this;
1109
+ return (0, exports.SettlementsApiFp)(this.configuration).getSettlement1(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1110
+ };
613
1111
  /**
614
1112
  * 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\"
615
1113
  * @summary List settlements
@@ -623,6 +1121,20 @@ var SettlementsApi = /** @class */ (function (_super) {
623
1121
  if (requestParameters === void 0) { requestParameters = {}; }
624
1122
  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); });
625
1123
  };
1124
+ /**
1125
+ * 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1126
+ * @summary List settlements
1127
+ * @param {SettlementsApiListSettlements1Request} requestParameters Request parameters.
1128
+ * @param {*} [options] Override http request option.
1129
+ * @deprecated
1130
+ * @throws {RequiredError}
1131
+ * @memberof SettlementsApi
1132
+ */
1133
+ SettlementsApi.prototype.listSettlements1 = function (requestParameters, options) {
1134
+ var _this = this;
1135
+ if (requestParameters === void 0) { requestParameters = {}; }
1136
+ 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); });
1137
+ };
626
1138
  /**
627
1139
  * 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\"
628
1140
  * @summary Update the settlement
@@ -635,6 +1147,19 @@ var SettlementsApi = /** @class */ (function (_super) {
635
1147
  var _this = this;
636
1148
  return (0, exports.SettlementsApiFp)(this.configuration).updateSettlement(requestParameters.code, requestParameters.updateSettlementRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
637
1149
  };
1150
+ /**
1151
+ * 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1152
+ * @summary Update the settlement
1153
+ * @param {SettlementsApiUpdateSettlement1Request} requestParameters Request parameters.
1154
+ * @param {*} [options] Override http request option.
1155
+ * @deprecated
1156
+ * @throws {RequiredError}
1157
+ * @memberof SettlementsApi
1158
+ */
1159
+ SettlementsApi.prototype.updateSettlement1 = function (requestParameters, options) {
1160
+ var _this = this;
1161
+ return (0, exports.SettlementsApiFp)(this.configuration).updateSettlement1(requestParameters.code, requestParameters.updateSettlementRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1162
+ };
638
1163
  return SettlementsApi;
639
1164
  }(base_1.BaseAPI));
640
1165
  exports.SettlementsApi = SettlementsApi;