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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/.openapi-generator/FILES +0 -10
  2. package/README.md +2 -2
  3. package/api/claim-partner-roles-api.ts +0 -627
  4. package/api/claim-partners-api.ts +0 -520
  5. package/api/claim-regulations-api.ts +5 -646
  6. package/api/claim-statuses-api.ts +6 -753
  7. package/api/claims-api.ts +6 -858
  8. package/api/health-check-api.ts +0 -66
  9. package/api/settlements-api.ts +0 -627
  10. package/api.ts +0 -2
  11. package/dist/api/claim-partner-roles-api.d.ts +0 -358
  12. package/dist/api/claim-partner-roles-api.js +0 -525
  13. package/dist/api/claim-partners-api.d.ts +0 -299
  14. package/dist/api/claim-partners-api.js +0 -428
  15. package/dist/api/claim-regulations-api.d.ts +0 -367
  16. package/dist/api/claim-regulations-api.js +0 -531
  17. package/dist/api/claim-statuses-api.d.ts +0 -426
  18. package/dist/api/claim-statuses-api.js +14 -642
  19. package/dist/api/claims-api.d.ts +0 -485
  20. package/dist/api/claims-api.js +1 -725
  21. package/dist/api/health-check-api.d.ts +0 -33
  22. package/dist/api/health-check-api.js +0 -73
  23. package/dist/api/settlements-api.d.ts +0 -358
  24. package/dist/api/settlements-api.js +0 -525
  25. package/dist/api.d.ts +0 -1
  26. package/dist/api.js +0 -1
  27. package/dist/models/claim-class.d.ts +0 -6
  28. package/dist/models/index.d.ts +0 -9
  29. package/dist/models/index.js +0 -9
  30. package/dist/models/list-claim-partner-roles-response-class.d.ts +0 -12
  31. package/dist/models/list-claim-partners-response-class.d.ts +0 -12
  32. package/dist/models/list-claim-statuses-response-class.d.ts +1 -13
  33. package/dist/models/list-claims-response-class.d.ts +0 -12
  34. package/dist/models/list-regulations-response-class.d.ts +0 -12
  35. package/models/claim-class.ts +0 -6
  36. package/models/index.ts +0 -9
  37. package/models/list-claim-partner-roles-response-class.ts +0 -12
  38. package/models/list-claim-partners-response-class.ts +0 -12
  39. package/models/list-claim-statuses-response-class.ts +1 -13
  40. package/models/list-claims-response-class.ts +0 -12
  41. package/models/list-regulations-response-class.ts +0 -12
  42. package/package.json +1 -1
  43. package/api/claim-positions-api.ts +0 -1336
  44. package/dist/api/claim-positions-api.d.ts +0 -760
  45. package/dist/api/claim-positions-api.js +0 -1177
  46. package/dist/models/claim-position-class.d.ts +0 -121
  47. package/dist/models/claim-position-class.js +0 -15
  48. package/dist/models/coverage-class.d.ts +0 -72
  49. package/dist/models/coverage-class.js +0 -21
  50. package/dist/models/coverage-request-dto.d.ts +0 -41
  51. package/dist/models/coverage-request-dto.js +0 -20
  52. package/dist/models/create-claim-position-request-dto.d.ts +0 -73
  53. package/dist/models/create-claim-position-request-dto.js +0 -15
  54. package/dist/models/create-claim-position-response-class.d.ts +0 -25
  55. package/dist/models/create-claim-position-response-class.js +0 -15
  56. package/dist/models/get-claim-position-response-class.d.ts +0 -25
  57. package/dist/models/get-claim-position-response-class.js +0 -15
  58. package/dist/models/list-claim-positions-response-class.d.ts +0 -43
  59. package/dist/models/list-claim-positions-response-class.js +0 -15
  60. package/dist/models/update-claim-position-request-dto.d.ts +0 -73
  61. package/dist/models/update-claim-position-request-dto.js +0 -15
  62. package/dist/models/update-claim-position-response-class.d.ts +0 -25
  63. package/dist/models/update-claim-position-response-class.js +0 -15
  64. package/models/claim-position-class.ts +0 -127
  65. package/models/coverage-class.ts +0 -81
  66. package/models/coverage-request-dto.ts +0 -50
  67. package/models/create-claim-position-request-dto.ts +0 -79
  68. package/models/create-claim-position-response-class.ts +0 -31
  69. package/models/get-claim-position-response-class.ts +0 -31
  70. package/models/list-claim-positions-response-class.ts +0 -49
  71. package/models/update-claim-position-request-dto.ts +0 -79
  72. package/models/update-claim-position-response-class.ts +0 -31
@@ -109,56 +109,6 @@ 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);
162
112
  localVarPath = "/v1/settlements";
163
113
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
164
114
  if (configuration) {
@@ -208,55 +158,6 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
208
158
  case 0:
209
159
  // verify required parameter 'code' is not null or undefined
210
160
  (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);
260
161
  localVarPath = "/v1/settlements/{code}"
261
162
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
262
163
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -305,55 +206,6 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
305
206
  case 0:
306
207
  // verify required parameter 'code' is not null or undefined
307
208
  (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);
357
209
  localVarPath = "/v1/settlements/{code}"
358
210
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
359
211
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -400,79 +252,6 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
400
252
  * @throws {RequiredError}
401
253
  */
402
254
  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) {
476
255
  if (options === void 0) { options = {}; }
477
256
  return __awaiter(_this, void 0, void 0, function () {
478
257
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -550,60 +329,6 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
550
329
  (0, common_1.assertParamExists)('updateSettlement', 'code', code);
551
330
  // verify required parameter 'updateSettlementRequestDto' is not null or undefined
552
331
  (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);
607
332
  localVarPath = "/v1/settlements/{code}"
608
333
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
609
334
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -668,28 +393,6 @@ var SettlementsApiFp = function (configuration) {
668
393
  });
669
394
  });
670
395
  },
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
- },
693
396
  /**
694
397
  * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
695
398
  * @summary Delete the settlement
@@ -711,28 +414,6 @@ var SettlementsApiFp = function (configuration) {
711
414
  });
712
415
  });
713
416
  },
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
- },
736
417
  /**
737
418
  * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
738
419
  * @summary Retrieve the settlement
@@ -754,28 +435,6 @@ var SettlementsApiFp = function (configuration) {
754
435
  });
755
436
  });
756
437
  },
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
- },
779
438
  /**
780
439
  * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
781
440
  * @summary List settlements
@@ -803,34 +462,6 @@ var SettlementsApiFp = function (configuration) {
803
462
  });
804
463
  });
805
464
  },
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
- },
834
465
  /**
835
466
  * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
836
467
  * @summary Update the settlement
@@ -853,29 +484,6 @@ var SettlementsApiFp = function (configuration) {
853
484
  });
854
485
  });
855
486
  },
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
- },
879
487
  };
880
488
  };
881
489
  exports.SettlementsApiFp = SettlementsApiFp;
@@ -897,18 +505,6 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
897
505
  createSettlement: function (createSettlementRequestDto, authorization, options) {
898
506
  return localVarFp.createSettlement(createSettlementRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
899
507
  },
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
- },
912
508
  /**
913
509
  * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
914
510
  * @summary Delete the settlement
@@ -920,18 +516,6 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
920
516
  deleteSettlement: function (code, authorization, options) {
921
517
  return localVarFp.deleteSettlement(code, authorization, options).then(function (request) { return request(axios, basePath); });
922
518
  },
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
- },
935
519
  /**
936
520
  * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
937
521
  * @summary Retrieve the settlement
@@ -943,18 +527,6 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
943
527
  getSettlement: function (code, authorization, options) {
944
528
  return localVarFp.getSettlement(code, authorization, options).then(function (request) { return request(axios, basePath); });
945
529
  },
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
- },
958
530
  /**
959
531
  * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
960
532
  * @summary List settlements
@@ -972,24 +544,6 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
972
544
  listSettlements: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
973
545
  return localVarFp.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
974
546
  },
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
- },
993
547
  /**
994
548
  * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
995
549
  * @summary Update the settlement
@@ -1002,19 +556,6 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
1002
556
  updateSettlement: function (code, updateSettlementRequestDto, authorization, options) {
1003
557
  return localVarFp.updateSettlement(code, updateSettlementRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1004
558
  },
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
- },
1018
559
  };
1019
560
  };
1020
561
  exports.SettlementsApiFactory = SettlementsApiFactory;
@@ -1041,19 +582,6 @@ var SettlementsApi = /** @class */ (function (_super) {
1041
582
  var _this = this;
1042
583
  return (0, exports.SettlementsApiFp)(this.configuration).createSettlement(requestParameters.createSettlementRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1043
584
  };
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
- };
1057
585
  /**
1058
586
  * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
1059
587
  * @summary Delete the settlement
@@ -1066,19 +594,6 @@ var SettlementsApi = /** @class */ (function (_super) {
1066
594
  var _this = this;
1067
595
  return (0, exports.SettlementsApiFp)(this.configuration).deleteSettlement(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1068
596
  };
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
- };
1082
597
  /**
1083
598
  * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
1084
599
  * @summary Retrieve the settlement
@@ -1091,19 +606,6 @@ var SettlementsApi = /** @class */ (function (_super) {
1091
606
  var _this = this;
1092
607
  return (0, exports.SettlementsApiFp)(this.configuration).getSettlement(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1093
608
  };
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
- };
1107
609
  /**
1108
610
  * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
1109
611
  * @summary List settlements
@@ -1117,20 +619,6 @@ var SettlementsApi = /** @class */ (function (_super) {
1117
619
  if (requestParameters === void 0) { requestParameters = {}; }
1118
620
  return (0, exports.SettlementsApiFp)(this.configuration).listSettlements(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
1119
621
  };
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
- };
1134
622
  /**
1135
623
  * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
1136
624
  * @summary Update the settlement
@@ -1143,19 +631,6 @@ var SettlementsApi = /** @class */ (function (_super) {
1143
631
  var _this = this;
1144
632
  return (0, exports.SettlementsApiFp)(this.configuration).updateSettlement(requestParameters.code, requestParameters.updateSettlementRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1145
633
  };
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
- };
1159
634
  return SettlementsApi;
1160
635
  }(base_1.BaseAPI));
1161
636
  exports.SettlementsApi = SettlementsApi;