@emilgroup/claim-sdk 1.41.0 → 1.41.1-beta.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 (102) hide show
  1. package/.openapi-generator/FILES +15 -0
  2. package/README.md +2 -2
  3. package/api/claim-limit-usages-api.ts +644 -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 +1336 -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 +581 -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 +1177 -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
@@ -109,6 +109,56 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
109
109
  case 0:
110
110
  // verify required parameter 'createSettlementRequestDto' is not null or undefined
111
111
  (0, common_1.assertParamExists)('createSettlement', 'createSettlementRequestDto', createSettlementRequestDto);
112
+ localVarPath = "/claimservice/v1/settlements";
113
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
114
+ if (configuration) {
115
+ baseOptions = configuration.baseOptions;
116
+ baseAccessToken = configuration.accessToken;
117
+ }
118
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
119
+ localVarHeaderParameter = {};
120
+ localVarQueryParameter = {};
121
+ // authentication bearer required
122
+ // http bearer authentication required
123
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
124
+ case 1:
125
+ // authentication bearer required
126
+ // http bearer authentication required
127
+ _a.sent();
128
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
129
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
130
+ }
131
+ localVarHeaderParameter['Content-Type'] = 'application/json';
132
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
133
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
134
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
135
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createSettlementRequestDto, localVarRequestOptions, configuration);
136
+ return [2 /*return*/, {
137
+ url: (0, common_1.toPathString)(localVarUrlObj),
138
+ options: localVarRequestOptions,
139
+ }];
140
+ }
141
+ });
142
+ });
143
+ },
144
+ /**
145
+ * 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.
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
+ * @deprecated
151
+ * @throws {RequiredError}
152
+ */
153
+ createSettlement1: function (createSettlementRequestDto, authorization, options) {
154
+ if (options === void 0) { options = {}; }
155
+ return __awaiter(_this, void 0, void 0, function () {
156
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
157
+ return __generator(this, function (_a) {
158
+ switch (_a.label) {
159
+ case 0:
160
+ // verify required parameter 'createSettlementRequestDto' is not null or undefined
161
+ (0, common_1.assertParamExists)('createSettlement1', 'createSettlementRequestDto', createSettlementRequestDto);
112
162
  localVarPath = "/v1/settlements";
113
163
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
114
164
  if (configuration) {
@@ -158,6 +208,55 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
158
208
  case 0:
159
209
  // verify required parameter 'code' is not null or undefined
160
210
  (0, common_1.assertParamExists)('deleteSettlement', 'code', code);
211
+ localVarPath = "/claimservice/v1/settlements/{code}"
212
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
213
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
214
+ if (configuration) {
215
+ baseOptions = configuration.baseOptions;
216
+ baseAccessToken = configuration.accessToken;
217
+ }
218
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
219
+ localVarHeaderParameter = {};
220
+ localVarQueryParameter = {};
221
+ // authentication bearer required
222
+ // http bearer authentication required
223
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
224
+ case 1:
225
+ // authentication bearer required
226
+ // http bearer authentication required
227
+ _a.sent();
228
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
229
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
230
+ }
231
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
232
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
233
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
234
+ return [2 /*return*/, {
235
+ url: (0, common_1.toPathString)(localVarUrlObj),
236
+ options: localVarRequestOptions,
237
+ }];
238
+ }
239
+ });
240
+ });
241
+ },
242
+ /**
243
+ * 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.
244
+ * @summary Delete the settlement
245
+ * @param {string} code
246
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
247
+ * @param {*} [options] Override http request option.
248
+ * @deprecated
249
+ * @throws {RequiredError}
250
+ */
251
+ deleteSettlement1: function (code, authorization, options) {
252
+ if (options === void 0) { options = {}; }
253
+ return __awaiter(_this, void 0, void 0, function () {
254
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
255
+ return __generator(this, function (_a) {
256
+ switch (_a.label) {
257
+ case 0:
258
+ // verify required parameter 'code' is not null or undefined
259
+ (0, common_1.assertParamExists)('deleteSettlement1', 'code', code);
161
260
  localVarPath = "/v1/settlements/{code}"
162
261
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
163
262
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -206,6 +305,55 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
206
305
  case 0:
207
306
  // verify required parameter 'code' is not null or undefined
208
307
  (0, common_1.assertParamExists)('getSettlement', 'code', code);
308
+ localVarPath = "/claimservice/v1/settlements/{code}"
309
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
310
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
311
+ if (configuration) {
312
+ baseOptions = configuration.baseOptions;
313
+ baseAccessToken = configuration.accessToken;
314
+ }
315
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
316
+ localVarHeaderParameter = {};
317
+ localVarQueryParameter = {};
318
+ // authentication bearer required
319
+ // http bearer authentication required
320
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
321
+ case 1:
322
+ // authentication bearer required
323
+ // http bearer authentication required
324
+ _a.sent();
325
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
326
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
327
+ }
328
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
329
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
330
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
331
+ return [2 /*return*/, {
332
+ url: (0, common_1.toPathString)(localVarUrlObj),
333
+ options: localVarRequestOptions,
334
+ }];
335
+ }
336
+ });
337
+ });
338
+ },
339
+ /**
340
+ * 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.
341
+ * @summary Retrieve the settlement
342
+ * @param {string} code
343
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
344
+ * @param {*} [options] Override http request option.
345
+ * @deprecated
346
+ * @throws {RequiredError}
347
+ */
348
+ getSettlement1: function (code, authorization, options) {
349
+ if (options === void 0) { options = {}; }
350
+ return __awaiter(_this, void 0, void 0, function () {
351
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
352
+ return __generator(this, function (_a) {
353
+ switch (_a.label) {
354
+ case 0:
355
+ // verify required parameter 'code' is not null or undefined
356
+ (0, common_1.assertParamExists)('getSettlement1', 'code', code);
209
357
  localVarPath = "/v1/settlements/{code}"
210
358
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
211
359
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -252,6 +400,79 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
252
400
  * @throws {RequiredError}
253
401
  */
254
402
  listSettlements: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
403
+ if (options === void 0) { options = {}; }
404
+ return __awaiter(_this, void 0, void 0, function () {
405
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
406
+ return __generator(this, function (_a) {
407
+ switch (_a.label) {
408
+ case 0:
409
+ localVarPath = "/claimservice/v1/settlements";
410
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
411
+ if (configuration) {
412
+ baseOptions = configuration.baseOptions;
413
+ baseAccessToken = configuration.accessToken;
414
+ }
415
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
416
+ localVarHeaderParameter = {};
417
+ localVarQueryParameter = {};
418
+ // authentication bearer required
419
+ // http bearer authentication required
420
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
421
+ case 1:
422
+ // authentication bearer required
423
+ // http bearer authentication required
424
+ _a.sent();
425
+ if (pageSize !== undefined) {
426
+ localVarQueryParameter['pageSize'] = pageSize;
427
+ }
428
+ if (pageToken !== undefined) {
429
+ localVarQueryParameter['pageToken'] = pageToken;
430
+ }
431
+ if (filter !== undefined) {
432
+ localVarQueryParameter['filter'] = filter;
433
+ }
434
+ if (search !== undefined) {
435
+ localVarQueryParameter['search'] = search;
436
+ }
437
+ if (order !== undefined) {
438
+ localVarQueryParameter['order'] = order;
439
+ }
440
+ if (expand !== undefined) {
441
+ localVarQueryParameter['expand'] = expand;
442
+ }
443
+ if (filters !== undefined) {
444
+ localVarQueryParameter['filters'] = filters;
445
+ }
446
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
447
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
448
+ }
449
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
450
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
451
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
452
+ return [2 /*return*/, {
453
+ url: (0, common_1.toPathString)(localVarUrlObj),
454
+ options: localVarRequestOptions,
455
+ }];
456
+ }
457
+ });
458
+ });
459
+ },
460
+ /**
461
+ * 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.
462
+ * @summary List settlements
463
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
464
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
465
+ * @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.
466
+ * @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>
467
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
468
+ * @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>
469
+ * @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>
470
+ * @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>
471
+ * @param {*} [options] Override http request option.
472
+ * @deprecated
473
+ * @throws {RequiredError}
474
+ */
475
+ listSettlements1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
255
476
  if (options === void 0) { options = {}; }
256
477
  return __awaiter(_this, void 0, void 0, function () {
257
478
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -329,6 +550,60 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
329
550
  (0, common_1.assertParamExists)('updateSettlement', 'code', code);
330
551
  // verify required parameter 'updateSettlementRequestDto' is not null or undefined
331
552
  (0, common_1.assertParamExists)('updateSettlement', 'updateSettlementRequestDto', updateSettlementRequestDto);
553
+ localVarPath = "/claimservice/v1/settlements/{code}"
554
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
555
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
556
+ if (configuration) {
557
+ baseOptions = configuration.baseOptions;
558
+ baseAccessToken = configuration.accessToken;
559
+ }
560
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
561
+ localVarHeaderParameter = {};
562
+ localVarQueryParameter = {};
563
+ // authentication bearer required
564
+ // http bearer authentication required
565
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
566
+ case 1:
567
+ // authentication bearer required
568
+ // http bearer authentication required
569
+ _a.sent();
570
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
571
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
572
+ }
573
+ localVarHeaderParameter['Content-Type'] = 'application/json';
574
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
575
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
576
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
577
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateSettlementRequestDto, localVarRequestOptions, configuration);
578
+ return [2 /*return*/, {
579
+ url: (0, common_1.toPathString)(localVarUrlObj),
580
+ options: localVarRequestOptions,
581
+ }];
582
+ }
583
+ });
584
+ });
585
+ },
586
+ /**
587
+ * 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.
588
+ * @summary Update the settlement
589
+ * @param {string} code
590
+ * @param {UpdateSettlementRequestDto} updateSettlementRequestDto
591
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
592
+ * @param {*} [options] Override http request option.
593
+ * @deprecated
594
+ * @throws {RequiredError}
595
+ */
596
+ updateSettlement1: function (code, updateSettlementRequestDto, authorization, options) {
597
+ if (options === void 0) { options = {}; }
598
+ return __awaiter(_this, void 0, void 0, function () {
599
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
600
+ return __generator(this, function (_a) {
601
+ switch (_a.label) {
602
+ case 0:
603
+ // verify required parameter 'code' is not null or undefined
604
+ (0, common_1.assertParamExists)('updateSettlement1', 'code', code);
605
+ // verify required parameter 'updateSettlementRequestDto' is not null or undefined
606
+ (0, common_1.assertParamExists)('updateSettlement1', 'updateSettlementRequestDto', updateSettlementRequestDto);
332
607
  localVarPath = "/v1/settlements/{code}"
333
608
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
334
609
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -393,6 +668,28 @@ var SettlementsApiFp = function (configuration) {
393
668
  });
394
669
  });
395
670
  },
671
+ /**
672
+ * 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.
673
+ * @summary Create the settlement
674
+ * @param {CreateSettlementRequestDto} createSettlementRequestDto
675
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
676
+ * @param {*} [options] Override http request option.
677
+ * @deprecated
678
+ * @throws {RequiredError}
679
+ */
680
+ createSettlement1: function (createSettlementRequestDto, authorization, options) {
681
+ return __awaiter(this, void 0, void 0, function () {
682
+ var localVarAxiosArgs;
683
+ return __generator(this, function (_a) {
684
+ switch (_a.label) {
685
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createSettlement1(createSettlementRequestDto, authorization, options)];
686
+ case 1:
687
+ localVarAxiosArgs = _a.sent();
688
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
689
+ }
690
+ });
691
+ });
692
+ },
396
693
  /**
397
694
  * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
398
695
  * @summary Delete the settlement
@@ -414,6 +711,28 @@ var SettlementsApiFp = function (configuration) {
414
711
  });
415
712
  });
416
713
  },
714
+ /**
715
+ * 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.
716
+ * @summary Delete the settlement
717
+ * @param {string} code
718
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
719
+ * @param {*} [options] Override http request option.
720
+ * @deprecated
721
+ * @throws {RequiredError}
722
+ */
723
+ deleteSettlement1: function (code, authorization, options) {
724
+ return __awaiter(this, void 0, void 0, function () {
725
+ var localVarAxiosArgs;
726
+ return __generator(this, function (_a) {
727
+ switch (_a.label) {
728
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteSettlement1(code, authorization, options)];
729
+ case 1:
730
+ localVarAxiosArgs = _a.sent();
731
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
732
+ }
733
+ });
734
+ });
735
+ },
417
736
  /**
418
737
  * 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\"
419
738
  * @summary Retrieve the settlement
@@ -435,6 +754,28 @@ var SettlementsApiFp = function (configuration) {
435
754
  });
436
755
  });
437
756
  },
757
+ /**
758
+ * 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.
759
+ * @summary Retrieve the settlement
760
+ * @param {string} code
761
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
762
+ * @param {*} [options] Override http request option.
763
+ * @deprecated
764
+ * @throws {RequiredError}
765
+ */
766
+ getSettlement1: function (code, authorization, options) {
767
+ return __awaiter(this, void 0, void 0, function () {
768
+ var localVarAxiosArgs;
769
+ return __generator(this, function (_a) {
770
+ switch (_a.label) {
771
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSettlement1(code, authorization, options)];
772
+ case 1:
773
+ localVarAxiosArgs = _a.sent();
774
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
775
+ }
776
+ });
777
+ });
778
+ },
438
779
  /**
439
780
  * 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\"
440
781
  * @summary List settlements
@@ -462,6 +803,34 @@ var SettlementsApiFp = function (configuration) {
462
803
  });
463
804
  });
464
805
  },
806
+ /**
807
+ * 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.
808
+ * @summary List settlements
809
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
810
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
811
+ * @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.
812
+ * @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>
813
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
814
+ * @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>
815
+ * @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>
816
+ * @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>
817
+ * @param {*} [options] Override http request option.
818
+ * @deprecated
819
+ * @throws {RequiredError}
820
+ */
821
+ listSettlements1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
822
+ return __awaiter(this, void 0, void 0, function () {
823
+ var localVarAxiosArgs;
824
+ return __generator(this, function (_a) {
825
+ switch (_a.label) {
826
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listSettlements1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
827
+ case 1:
828
+ localVarAxiosArgs = _a.sent();
829
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
830
+ }
831
+ });
832
+ });
833
+ },
465
834
  /**
466
835
  * 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\"
467
836
  * @summary Update the settlement
@@ -484,6 +853,29 @@ var SettlementsApiFp = function (configuration) {
484
853
  });
485
854
  });
486
855
  },
856
+ /**
857
+ * 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.
858
+ * @summary Update the settlement
859
+ * @param {string} code
860
+ * @param {UpdateSettlementRequestDto} updateSettlementRequestDto
861
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
862
+ * @param {*} [options] Override http request option.
863
+ * @deprecated
864
+ * @throws {RequiredError}
865
+ */
866
+ updateSettlement1: function (code, updateSettlementRequestDto, authorization, options) {
867
+ return __awaiter(this, void 0, void 0, function () {
868
+ var localVarAxiosArgs;
869
+ return __generator(this, function (_a) {
870
+ switch (_a.label) {
871
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateSettlement1(code, updateSettlementRequestDto, authorization, options)];
872
+ case 1:
873
+ localVarAxiosArgs = _a.sent();
874
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
875
+ }
876
+ });
877
+ });
878
+ },
487
879
  };
488
880
  };
489
881
  exports.SettlementsApiFp = SettlementsApiFp;
@@ -505,6 +897,18 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
505
897
  createSettlement: function (createSettlementRequestDto, authorization, options) {
506
898
  return localVarFp.createSettlement(createSettlementRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
507
899
  },
900
+ /**
901
+ * 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.
902
+ * @summary Create the settlement
903
+ * @param {CreateSettlementRequestDto} createSettlementRequestDto
904
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
905
+ * @param {*} [options] Override http request option.
906
+ * @deprecated
907
+ * @throws {RequiredError}
908
+ */
909
+ createSettlement1: function (createSettlementRequestDto, authorization, options) {
910
+ return localVarFp.createSettlement1(createSettlementRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
911
+ },
508
912
  /**
509
913
  * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
510
914
  * @summary Delete the settlement
@@ -516,6 +920,18 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
516
920
  deleteSettlement: function (code, authorization, options) {
517
921
  return localVarFp.deleteSettlement(code, authorization, options).then(function (request) { return request(axios, basePath); });
518
922
  },
923
+ /**
924
+ * 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.
925
+ * @summary Delete the settlement
926
+ * @param {string} code
927
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
928
+ * @param {*} [options] Override http request option.
929
+ * @deprecated
930
+ * @throws {RequiredError}
931
+ */
932
+ deleteSettlement1: function (code, authorization, options) {
933
+ return localVarFp.deleteSettlement1(code, authorization, options).then(function (request) { return request(axios, basePath); });
934
+ },
519
935
  /**
520
936
  * 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\"
521
937
  * @summary Retrieve the settlement
@@ -527,6 +943,18 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
527
943
  getSettlement: function (code, authorization, options) {
528
944
  return localVarFp.getSettlement(code, authorization, options).then(function (request) { return request(axios, basePath); });
529
945
  },
946
+ /**
947
+ * 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.
948
+ * @summary Retrieve the settlement
949
+ * @param {string} code
950
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
951
+ * @param {*} [options] Override http request option.
952
+ * @deprecated
953
+ * @throws {RequiredError}
954
+ */
955
+ getSettlement1: function (code, authorization, options) {
956
+ return localVarFp.getSettlement1(code, authorization, options).then(function (request) { return request(axios, basePath); });
957
+ },
530
958
  /**
531
959
  * 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\"
532
960
  * @summary List settlements
@@ -544,6 +972,24 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
544
972
  listSettlements: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
545
973
  return localVarFp.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
546
974
  },
975
+ /**
976
+ * 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.
977
+ * @summary List settlements
978
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
979
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
980
+ * @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.
981
+ * @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>
982
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
983
+ * @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>
984
+ * @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>
985
+ * @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>
986
+ * @param {*} [options] Override http request option.
987
+ * @deprecated
988
+ * @throws {RequiredError}
989
+ */
990
+ listSettlements1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
991
+ return localVarFp.listSettlements1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
992
+ },
547
993
  /**
548
994
  * 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\"
549
995
  * @summary Update the settlement
@@ -556,6 +1002,19 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
556
1002
  updateSettlement: function (code, updateSettlementRequestDto, authorization, options) {
557
1003
  return localVarFp.updateSettlement(code, updateSettlementRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
558
1004
  },
1005
+ /**
1006
+ * 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.
1007
+ * @summary Update the settlement
1008
+ * @param {string} code
1009
+ * @param {UpdateSettlementRequestDto} updateSettlementRequestDto
1010
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1011
+ * @param {*} [options] Override http request option.
1012
+ * @deprecated
1013
+ * @throws {RequiredError}
1014
+ */
1015
+ updateSettlement1: function (code, updateSettlementRequestDto, authorization, options) {
1016
+ return localVarFp.updateSettlement1(code, updateSettlementRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1017
+ },
559
1018
  };
560
1019
  };
561
1020
  exports.SettlementsApiFactory = SettlementsApiFactory;
@@ -582,6 +1041,19 @@ var SettlementsApi = /** @class */ (function (_super) {
582
1041
  var _this = this;
583
1042
  return (0, exports.SettlementsApiFp)(this.configuration).createSettlement(requestParameters.createSettlementRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
584
1043
  };
1044
+ /**
1045
+ * 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.
1046
+ * @summary Create the settlement
1047
+ * @param {SettlementsApiCreateSettlement1Request} requestParameters Request parameters.
1048
+ * @param {*} [options] Override http request option.
1049
+ * @deprecated
1050
+ * @throws {RequiredError}
1051
+ * @memberof SettlementsApi
1052
+ */
1053
+ SettlementsApi.prototype.createSettlement1 = function (requestParameters, options) {
1054
+ var _this = this;
1055
+ return (0, exports.SettlementsApiFp)(this.configuration).createSettlement1(requestParameters.createSettlementRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1056
+ };
585
1057
  /**
586
1058
  * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
587
1059
  * @summary Delete the settlement
@@ -594,6 +1066,19 @@ var SettlementsApi = /** @class */ (function (_super) {
594
1066
  var _this = this;
595
1067
  return (0, exports.SettlementsApiFp)(this.configuration).deleteSettlement(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
596
1068
  };
1069
+ /**
1070
+ * 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.
1071
+ * @summary Delete the settlement
1072
+ * @param {SettlementsApiDeleteSettlement1Request} requestParameters Request parameters.
1073
+ * @param {*} [options] Override http request option.
1074
+ * @deprecated
1075
+ * @throws {RequiredError}
1076
+ * @memberof SettlementsApi
1077
+ */
1078
+ SettlementsApi.prototype.deleteSettlement1 = function (requestParameters, options) {
1079
+ var _this = this;
1080
+ return (0, exports.SettlementsApiFp)(this.configuration).deleteSettlement1(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1081
+ };
597
1082
  /**
598
1083
  * 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\"
599
1084
  * @summary Retrieve the settlement
@@ -606,6 +1091,19 @@ var SettlementsApi = /** @class */ (function (_super) {
606
1091
  var _this = this;
607
1092
  return (0, exports.SettlementsApiFp)(this.configuration).getSettlement(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
608
1093
  };
1094
+ /**
1095
+ * 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.
1096
+ * @summary Retrieve the settlement
1097
+ * @param {SettlementsApiGetSettlement1Request} requestParameters Request parameters.
1098
+ * @param {*} [options] Override http request option.
1099
+ * @deprecated
1100
+ * @throws {RequiredError}
1101
+ * @memberof SettlementsApi
1102
+ */
1103
+ SettlementsApi.prototype.getSettlement1 = function (requestParameters, options) {
1104
+ var _this = this;
1105
+ return (0, exports.SettlementsApiFp)(this.configuration).getSettlement1(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1106
+ };
609
1107
  /**
610
1108
  * 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\"
611
1109
  * @summary List settlements
@@ -619,6 +1117,20 @@ var SettlementsApi = /** @class */ (function (_super) {
619
1117
  if (requestParameters === void 0) { requestParameters = {}; }
620
1118
  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); });
621
1119
  };
1120
+ /**
1121
+ * 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.
1122
+ * @summary List settlements
1123
+ * @param {SettlementsApiListSettlements1Request} requestParameters Request parameters.
1124
+ * @param {*} [options] Override http request option.
1125
+ * @deprecated
1126
+ * @throws {RequiredError}
1127
+ * @memberof SettlementsApi
1128
+ */
1129
+ SettlementsApi.prototype.listSettlements1 = function (requestParameters, options) {
1130
+ var _this = this;
1131
+ if (requestParameters === void 0) { requestParameters = {}; }
1132
+ 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); });
1133
+ };
622
1134
  /**
623
1135
  * 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\"
624
1136
  * @summary Update the settlement
@@ -631,6 +1143,19 @@ var SettlementsApi = /** @class */ (function (_super) {
631
1143
  var _this = this;
632
1144
  return (0, exports.SettlementsApiFp)(this.configuration).updateSettlement(requestParameters.code, requestParameters.updateSettlementRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
633
1145
  };
1146
+ /**
1147
+ * 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.
1148
+ * @summary Update the settlement
1149
+ * @param {SettlementsApiUpdateSettlement1Request} requestParameters Request parameters.
1150
+ * @param {*} [options] Override http request option.
1151
+ * @deprecated
1152
+ * @throws {RequiredError}
1153
+ * @memberof SettlementsApi
1154
+ */
1155
+ SettlementsApi.prototype.updateSettlement1 = function (requestParameters, options) {
1156
+ var _this = this;
1157
+ return (0, exports.SettlementsApiFp)(this.configuration).updateSettlement1(requestParameters.code, requestParameters.updateSettlementRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1158
+ };
634
1159
  return SettlementsApi;
635
1160
  }(base_1.BaseAPI));
636
1161
  exports.SettlementsApi = SettlementsApi;