@emilgroup/claim-sdk 1.43.1-beta.0 → 1.43.1-beta.2
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.
- package/README.md +2 -2
- package/api/claim-limit-usages-api.ts +53 -45
- package/api/claim-partner-roles-api.ts +127 -107
- package/api/claim-partners-api.ts +103 -87
- package/api/claim-positions-api.ts +181 -153
- package/api/claim-regulations-api.ts +128 -108
- package/api/claim-statuses-api.ts +153 -129
- package/api/claims-api.ts +177 -149
- package/api/health-check-api.ts +46 -38
- package/api/settlements-api.ts +127 -107
- package/dist/api/claim-limit-usages-api.d.ts +42 -34
- package/dist/api/claim-limit-usages-api.js +37 -29
- package/dist/api/claim-partner-roles-api.d.ts +97 -77
- package/dist/api/claim-partner-roles-api.js +95 -75
- package/dist/api/claim-partners-api.d.ts +79 -63
- package/dist/api/claim-partners-api.js +76 -60
- package/dist/api/claim-positions-api.d.ts +136 -108
- package/dist/api/claim-positions-api.js +136 -108
- package/dist/api/claim-regulations-api.d.ts +98 -78
- package/dist/api/claim-regulations-api.js +95 -75
- package/dist/api/claim-statuses-api.d.ts +116 -92
- package/dist/api/claim-statuses-api.js +115 -91
- package/dist/api/claims-api.d.ts +134 -106
- package/dist/api/claims-api.js +134 -106
- package/dist/api/health-check-api.d.ts +32 -24
- package/dist/api/health-check-api.js +46 -38
- package/dist/api/settlements-api.d.ts +97 -77
- package/dist/api/settlements-api.js +95 -75
- package/package.json +1 -1
|
@@ -100,7 +100,7 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
100
100
|
* @param {*} [options] Override http request option.
|
|
101
101
|
* @throws {RequiredError}
|
|
102
102
|
*/
|
|
103
|
-
|
|
103
|
+
createSettlement: function (createSettlementRequestDto, authorization, options) {
|
|
104
104
|
if (options === void 0) { options = {}; }
|
|
105
105
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
106
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -108,8 +108,8 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
108
108
|
switch (_a.label) {
|
|
109
109
|
case 0:
|
|
110
110
|
// verify required parameter 'createSettlementRequestDto' is not null or undefined
|
|
111
|
-
(0, common_1.assertParamExists)('
|
|
112
|
-
localVarPath = "/v1/settlements";
|
|
111
|
+
(0, common_1.assertParamExists)('createSettlement', 'createSettlementRequestDto', createSettlementRequestDto);
|
|
112
|
+
localVarPath = "/claimservice/v1/settlements";
|
|
113
113
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
114
114
|
if (configuration) {
|
|
115
115
|
baseOptions = configuration.baseOptions;
|
|
@@ -142,11 +142,12 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
142
142
|
});
|
|
143
143
|
},
|
|
144
144
|
/**
|
|
145
|
-
* This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
|
|
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
146
|
* @summary Create the settlement
|
|
147
147
|
* @param {CreateSettlementRequestDto} createSettlementRequestDto
|
|
148
148
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
149
149
|
* @param {*} [options] Override http request option.
|
|
150
|
+
* @deprecated
|
|
150
151
|
* @throws {RequiredError}
|
|
151
152
|
*/
|
|
152
153
|
createSettlement1: function (createSettlementRequestDto, authorization, options) {
|
|
@@ -158,7 +159,7 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
158
159
|
case 0:
|
|
159
160
|
// verify required parameter 'createSettlementRequestDto' is not null or undefined
|
|
160
161
|
(0, common_1.assertParamExists)('createSettlement1', 'createSettlementRequestDto', createSettlementRequestDto);
|
|
161
|
-
localVarPath = "/
|
|
162
|
+
localVarPath = "/v1/settlements";
|
|
162
163
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
163
164
|
if (configuration) {
|
|
164
165
|
baseOptions = configuration.baseOptions;
|
|
@@ -198,7 +199,7 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
198
199
|
* @param {*} [options] Override http request option.
|
|
199
200
|
* @throws {RequiredError}
|
|
200
201
|
*/
|
|
201
|
-
|
|
202
|
+
deleteSettlement: function (code, authorization, options) {
|
|
202
203
|
if (options === void 0) { options = {}; }
|
|
203
204
|
return __awaiter(_this, void 0, void 0, function () {
|
|
204
205
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -206,8 +207,8 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
206
207
|
switch (_a.label) {
|
|
207
208
|
case 0:
|
|
208
209
|
// verify required parameter 'code' is not null or undefined
|
|
209
|
-
(0, common_1.assertParamExists)('
|
|
210
|
-
localVarPath = "/v1/settlements/{code}"
|
|
210
|
+
(0, common_1.assertParamExists)('deleteSettlement', 'code', code);
|
|
211
|
+
localVarPath = "/claimservice/v1/settlements/{code}"
|
|
211
212
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
212
213
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
213
214
|
if (configuration) {
|
|
@@ -239,11 +240,12 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
239
240
|
});
|
|
240
241
|
},
|
|
241
242
|
/**
|
|
242
|
-
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
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.
|
|
243
244
|
* @summary Delete the settlement
|
|
244
245
|
* @param {string} code
|
|
245
246
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
246
247
|
* @param {*} [options] Override http request option.
|
|
248
|
+
* @deprecated
|
|
247
249
|
* @throws {RequiredError}
|
|
248
250
|
*/
|
|
249
251
|
deleteSettlement1: function (code, authorization, options) {
|
|
@@ -255,7 +257,7 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
255
257
|
case 0:
|
|
256
258
|
// verify required parameter 'code' is not null or undefined
|
|
257
259
|
(0, common_1.assertParamExists)('deleteSettlement1', 'code', code);
|
|
258
|
-
localVarPath = "/
|
|
260
|
+
localVarPath = "/v1/settlements/{code}"
|
|
259
261
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
260
262
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
261
263
|
if (configuration) {
|
|
@@ -294,7 +296,7 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
294
296
|
* @param {*} [options] Override http request option.
|
|
295
297
|
* @throws {RequiredError}
|
|
296
298
|
*/
|
|
297
|
-
|
|
299
|
+
getSettlement: function (code, authorization, options) {
|
|
298
300
|
if (options === void 0) { options = {}; }
|
|
299
301
|
return __awaiter(_this, void 0, void 0, function () {
|
|
300
302
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -302,8 +304,8 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
302
304
|
switch (_a.label) {
|
|
303
305
|
case 0:
|
|
304
306
|
// verify required parameter 'code' is not null or undefined
|
|
305
|
-
(0, common_1.assertParamExists)('
|
|
306
|
-
localVarPath = "/v1/settlements/{code}"
|
|
307
|
+
(0, common_1.assertParamExists)('getSettlement', 'code', code);
|
|
308
|
+
localVarPath = "/claimservice/v1/settlements/{code}"
|
|
307
309
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
308
310
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
309
311
|
if (configuration) {
|
|
@@ -335,11 +337,12 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
335
337
|
});
|
|
336
338
|
},
|
|
337
339
|
/**
|
|
338
|
-
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
|
|
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.
|
|
339
341
|
* @summary Retrieve the settlement
|
|
340
342
|
* @param {string} code
|
|
341
343
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
342
344
|
* @param {*} [options] Override http request option.
|
|
345
|
+
* @deprecated
|
|
343
346
|
* @throws {RequiredError}
|
|
344
347
|
*/
|
|
345
348
|
getSettlement1: function (code, authorization, options) {
|
|
@@ -351,7 +354,7 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
351
354
|
case 0:
|
|
352
355
|
// verify required parameter 'code' is not null or undefined
|
|
353
356
|
(0, common_1.assertParamExists)('getSettlement1', 'code', code);
|
|
354
|
-
localVarPath = "/
|
|
357
|
+
localVarPath = "/v1/settlements/{code}"
|
|
355
358
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
356
359
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
357
360
|
if (configuration) {
|
|
@@ -396,14 +399,14 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
396
399
|
* @param {*} [options] Override http request option.
|
|
397
400
|
* @throws {RequiredError}
|
|
398
401
|
*/
|
|
399
|
-
|
|
402
|
+
listSettlements: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
400
403
|
if (options === void 0) { options = {}; }
|
|
401
404
|
return __awaiter(_this, void 0, void 0, function () {
|
|
402
405
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
403
406
|
return __generator(this, function (_a) {
|
|
404
407
|
switch (_a.label) {
|
|
405
408
|
case 0:
|
|
406
|
-
localVarPath = "/v1/settlements";
|
|
409
|
+
localVarPath = "/claimservice/v1/settlements";
|
|
407
410
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
408
411
|
if (configuration) {
|
|
409
412
|
baseOptions = configuration.baseOptions;
|
|
@@ -455,7 +458,7 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
455
458
|
});
|
|
456
459
|
},
|
|
457
460
|
/**
|
|
458
|
-
* Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
|
|
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.
|
|
459
462
|
* @summary List settlements
|
|
460
463
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
461
464
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -466,6 +469,7 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
466
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>
|
|
467
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>
|
|
468
471
|
* @param {*} [options] Override http request option.
|
|
472
|
+
* @deprecated
|
|
469
473
|
* @throws {RequiredError}
|
|
470
474
|
*/
|
|
471
475
|
listSettlements1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -475,7 +479,7 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
475
479
|
return __generator(this, function (_a) {
|
|
476
480
|
switch (_a.label) {
|
|
477
481
|
case 0:
|
|
478
|
-
localVarPath = "/
|
|
482
|
+
localVarPath = "/v1/settlements";
|
|
479
483
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
480
484
|
if (configuration) {
|
|
481
485
|
baseOptions = configuration.baseOptions;
|
|
@@ -535,7 +539,7 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
535
539
|
* @param {*} [options] Override http request option.
|
|
536
540
|
* @throws {RequiredError}
|
|
537
541
|
*/
|
|
538
|
-
|
|
542
|
+
updateSettlement: function (code, updateSettlementRequestDto, authorization, options) {
|
|
539
543
|
if (options === void 0) { options = {}; }
|
|
540
544
|
return __awaiter(_this, void 0, void 0, function () {
|
|
541
545
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -543,10 +547,10 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
543
547
|
switch (_a.label) {
|
|
544
548
|
case 0:
|
|
545
549
|
// verify required parameter 'code' is not null or undefined
|
|
546
|
-
(0, common_1.assertParamExists)('
|
|
550
|
+
(0, common_1.assertParamExists)('updateSettlement', 'code', code);
|
|
547
551
|
// verify required parameter 'updateSettlementRequestDto' is not null or undefined
|
|
548
|
-
(0, common_1.assertParamExists)('
|
|
549
|
-
localVarPath = "/v1/settlements/{code}"
|
|
552
|
+
(0, common_1.assertParamExists)('updateSettlement', 'updateSettlementRequestDto', updateSettlementRequestDto);
|
|
553
|
+
localVarPath = "/claimservice/v1/settlements/{code}"
|
|
550
554
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
551
555
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
552
556
|
if (configuration) {
|
|
@@ -580,12 +584,13 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
580
584
|
});
|
|
581
585
|
},
|
|
582
586
|
/**
|
|
583
|
-
* Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
|
|
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.
|
|
584
588
|
* @summary Update the settlement
|
|
585
589
|
* @param {string} code
|
|
586
590
|
* @param {UpdateSettlementRequestDto} updateSettlementRequestDto
|
|
587
591
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
588
592
|
* @param {*} [options] Override http request option.
|
|
593
|
+
* @deprecated
|
|
589
594
|
* @throws {RequiredError}
|
|
590
595
|
*/
|
|
591
596
|
updateSettlement1: function (code, updateSettlementRequestDto, authorization, options) {
|
|
@@ -599,7 +604,7 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
|
|
|
599
604
|
(0, common_1.assertParamExists)('updateSettlement1', 'code', code);
|
|
600
605
|
// verify required parameter 'updateSettlementRequestDto' is not null or undefined
|
|
601
606
|
(0, common_1.assertParamExists)('updateSettlement1', 'updateSettlementRequestDto', updateSettlementRequestDto);
|
|
602
|
-
localVarPath = "/
|
|
607
|
+
localVarPath = "/v1/settlements/{code}"
|
|
603
608
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
604
609
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
605
610
|
if (configuration) {
|
|
@@ -650,12 +655,12 @@ var SettlementsApiFp = function (configuration) {
|
|
|
650
655
|
* @param {*} [options] Override http request option.
|
|
651
656
|
* @throws {RequiredError}
|
|
652
657
|
*/
|
|
653
|
-
|
|
658
|
+
createSettlement: function (createSettlementRequestDto, authorization, options) {
|
|
654
659
|
return __awaiter(this, void 0, void 0, function () {
|
|
655
660
|
var localVarAxiosArgs;
|
|
656
661
|
return __generator(this, function (_a) {
|
|
657
662
|
switch (_a.label) {
|
|
658
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
663
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createSettlement(createSettlementRequestDto, authorization, options)];
|
|
659
664
|
case 1:
|
|
660
665
|
localVarAxiosArgs = _a.sent();
|
|
661
666
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -664,11 +669,12 @@ var SettlementsApiFp = function (configuration) {
|
|
|
664
669
|
});
|
|
665
670
|
},
|
|
666
671
|
/**
|
|
667
|
-
* This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
|
|
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.
|
|
668
673
|
* @summary Create the settlement
|
|
669
674
|
* @param {CreateSettlementRequestDto} createSettlementRequestDto
|
|
670
675
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
671
676
|
* @param {*} [options] Override http request option.
|
|
677
|
+
* @deprecated
|
|
672
678
|
* @throws {RequiredError}
|
|
673
679
|
*/
|
|
674
680
|
createSettlement1: function (createSettlementRequestDto, authorization, options) {
|
|
@@ -692,12 +698,12 @@ var SettlementsApiFp = function (configuration) {
|
|
|
692
698
|
* @param {*} [options] Override http request option.
|
|
693
699
|
* @throws {RequiredError}
|
|
694
700
|
*/
|
|
695
|
-
|
|
701
|
+
deleteSettlement: function (code, authorization, options) {
|
|
696
702
|
return __awaiter(this, void 0, void 0, function () {
|
|
697
703
|
var localVarAxiosArgs;
|
|
698
704
|
return __generator(this, function (_a) {
|
|
699
705
|
switch (_a.label) {
|
|
700
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
706
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteSettlement(code, authorization, options)];
|
|
701
707
|
case 1:
|
|
702
708
|
localVarAxiosArgs = _a.sent();
|
|
703
709
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -706,11 +712,12 @@ var SettlementsApiFp = function (configuration) {
|
|
|
706
712
|
});
|
|
707
713
|
},
|
|
708
714
|
/**
|
|
709
|
-
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
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.
|
|
710
716
|
* @summary Delete the settlement
|
|
711
717
|
* @param {string} code
|
|
712
718
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
713
719
|
* @param {*} [options] Override http request option.
|
|
720
|
+
* @deprecated
|
|
714
721
|
* @throws {RequiredError}
|
|
715
722
|
*/
|
|
716
723
|
deleteSettlement1: function (code, authorization, options) {
|
|
@@ -734,12 +741,12 @@ var SettlementsApiFp = function (configuration) {
|
|
|
734
741
|
* @param {*} [options] Override http request option.
|
|
735
742
|
* @throws {RequiredError}
|
|
736
743
|
*/
|
|
737
|
-
|
|
744
|
+
getSettlement: function (code, authorization, options) {
|
|
738
745
|
return __awaiter(this, void 0, void 0, function () {
|
|
739
746
|
var localVarAxiosArgs;
|
|
740
747
|
return __generator(this, function (_a) {
|
|
741
748
|
switch (_a.label) {
|
|
742
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
749
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getSettlement(code, authorization, options)];
|
|
743
750
|
case 1:
|
|
744
751
|
localVarAxiosArgs = _a.sent();
|
|
745
752
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -748,11 +755,12 @@ var SettlementsApiFp = function (configuration) {
|
|
|
748
755
|
});
|
|
749
756
|
},
|
|
750
757
|
/**
|
|
751
|
-
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
|
|
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.
|
|
752
759
|
* @summary Retrieve the settlement
|
|
753
760
|
* @param {string} code
|
|
754
761
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
755
762
|
* @param {*} [options] Override http request option.
|
|
763
|
+
* @deprecated
|
|
756
764
|
* @throws {RequiredError}
|
|
757
765
|
*/
|
|
758
766
|
getSettlement1: function (code, authorization, options) {
|
|
@@ -782,12 +790,12 @@ var SettlementsApiFp = function (configuration) {
|
|
|
782
790
|
* @param {*} [options] Override http request option.
|
|
783
791
|
* @throws {RequiredError}
|
|
784
792
|
*/
|
|
785
|
-
|
|
793
|
+
listSettlements: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
786
794
|
return __awaiter(this, void 0, void 0, function () {
|
|
787
795
|
var localVarAxiosArgs;
|
|
788
796
|
return __generator(this, function (_a) {
|
|
789
797
|
switch (_a.label) {
|
|
790
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
798
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
791
799
|
case 1:
|
|
792
800
|
localVarAxiosArgs = _a.sent();
|
|
793
801
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -796,7 +804,7 @@ var SettlementsApiFp = function (configuration) {
|
|
|
796
804
|
});
|
|
797
805
|
},
|
|
798
806
|
/**
|
|
799
|
-
* Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
|
|
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.
|
|
800
808
|
* @summary List settlements
|
|
801
809
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
802
810
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -807,6 +815,7 @@ var SettlementsApiFp = function (configuration) {
|
|
|
807
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>
|
|
808
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>
|
|
809
817
|
* @param {*} [options] Override http request option.
|
|
818
|
+
* @deprecated
|
|
810
819
|
* @throws {RequiredError}
|
|
811
820
|
*/
|
|
812
821
|
listSettlements1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -831,12 +840,12 @@ var SettlementsApiFp = function (configuration) {
|
|
|
831
840
|
* @param {*} [options] Override http request option.
|
|
832
841
|
* @throws {RequiredError}
|
|
833
842
|
*/
|
|
834
|
-
|
|
843
|
+
updateSettlement: function (code, updateSettlementRequestDto, authorization, options) {
|
|
835
844
|
return __awaiter(this, void 0, void 0, function () {
|
|
836
845
|
var localVarAxiosArgs;
|
|
837
846
|
return __generator(this, function (_a) {
|
|
838
847
|
switch (_a.label) {
|
|
839
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
848
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateSettlement(code, updateSettlementRequestDto, authorization, options)];
|
|
840
849
|
case 1:
|
|
841
850
|
localVarAxiosArgs = _a.sent();
|
|
842
851
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -845,12 +854,13 @@ var SettlementsApiFp = function (configuration) {
|
|
|
845
854
|
});
|
|
846
855
|
},
|
|
847
856
|
/**
|
|
848
|
-
* Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
|
|
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.
|
|
849
858
|
* @summary Update the settlement
|
|
850
859
|
* @param {string} code
|
|
851
860
|
* @param {UpdateSettlementRequestDto} updateSettlementRequestDto
|
|
852
861
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
853
862
|
* @param {*} [options] Override http request option.
|
|
863
|
+
* @deprecated
|
|
854
864
|
* @throws {RequiredError}
|
|
855
865
|
*/
|
|
856
866
|
updateSettlement1: function (code, updateSettlementRequestDto, authorization, options) {
|
|
@@ -884,15 +894,16 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
|
|
|
884
894
|
* @param {*} [options] Override http request option.
|
|
885
895
|
* @throws {RequiredError}
|
|
886
896
|
*/
|
|
887
|
-
|
|
888
|
-
return localVarFp.
|
|
897
|
+
createSettlement: function (createSettlementRequestDto, authorization, options) {
|
|
898
|
+
return localVarFp.createSettlement(createSettlementRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
889
899
|
},
|
|
890
900
|
/**
|
|
891
|
-
* This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
|
|
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.
|
|
892
902
|
* @summary Create the settlement
|
|
893
903
|
* @param {CreateSettlementRequestDto} createSettlementRequestDto
|
|
894
904
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
895
905
|
* @param {*} [options] Override http request option.
|
|
906
|
+
* @deprecated
|
|
896
907
|
* @throws {RequiredError}
|
|
897
908
|
*/
|
|
898
909
|
createSettlement1: function (createSettlementRequestDto, authorization, options) {
|
|
@@ -906,15 +917,16 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
|
|
|
906
917
|
* @param {*} [options] Override http request option.
|
|
907
918
|
* @throws {RequiredError}
|
|
908
919
|
*/
|
|
909
|
-
|
|
910
|
-
return localVarFp.
|
|
920
|
+
deleteSettlement: function (code, authorization, options) {
|
|
921
|
+
return localVarFp.deleteSettlement(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
911
922
|
},
|
|
912
923
|
/**
|
|
913
|
-
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
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.
|
|
914
925
|
* @summary Delete the settlement
|
|
915
926
|
* @param {string} code
|
|
916
927
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
917
928
|
* @param {*} [options] Override http request option.
|
|
929
|
+
* @deprecated
|
|
918
930
|
* @throws {RequiredError}
|
|
919
931
|
*/
|
|
920
932
|
deleteSettlement1: function (code, authorization, options) {
|
|
@@ -928,15 +940,16 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
|
|
|
928
940
|
* @param {*} [options] Override http request option.
|
|
929
941
|
* @throws {RequiredError}
|
|
930
942
|
*/
|
|
931
|
-
|
|
932
|
-
return localVarFp.
|
|
943
|
+
getSettlement: function (code, authorization, options) {
|
|
944
|
+
return localVarFp.getSettlement(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
933
945
|
},
|
|
934
946
|
/**
|
|
935
|
-
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
|
|
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.
|
|
936
948
|
* @summary Retrieve the settlement
|
|
937
949
|
* @param {string} code
|
|
938
950
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
939
951
|
* @param {*} [options] Override http request option.
|
|
952
|
+
* @deprecated
|
|
940
953
|
* @throws {RequiredError}
|
|
941
954
|
*/
|
|
942
955
|
getSettlement1: function (code, authorization, options) {
|
|
@@ -956,11 +969,11 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
|
|
|
956
969
|
* @param {*} [options] Override http request option.
|
|
957
970
|
* @throws {RequiredError}
|
|
958
971
|
*/
|
|
959
|
-
|
|
960
|
-
return localVarFp.
|
|
972
|
+
listSettlements: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
973
|
+
return localVarFp.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
961
974
|
},
|
|
962
975
|
/**
|
|
963
|
-
* Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
|
|
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.
|
|
964
977
|
* @summary List settlements
|
|
965
978
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
966
979
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -971,6 +984,7 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
|
|
|
971
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>
|
|
972
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>
|
|
973
986
|
* @param {*} [options] Override http request option.
|
|
987
|
+
* @deprecated
|
|
974
988
|
* @throws {RequiredError}
|
|
975
989
|
*/
|
|
976
990
|
listSettlements1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -985,16 +999,17 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
|
|
|
985
999
|
* @param {*} [options] Override http request option.
|
|
986
1000
|
* @throws {RequiredError}
|
|
987
1001
|
*/
|
|
988
|
-
|
|
989
|
-
return localVarFp.
|
|
1002
|
+
updateSettlement: function (code, updateSettlementRequestDto, authorization, options) {
|
|
1003
|
+
return localVarFp.updateSettlement(code, updateSettlementRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
990
1004
|
},
|
|
991
1005
|
/**
|
|
992
|
-
* Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
|
|
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.
|
|
993
1007
|
* @summary Update the settlement
|
|
994
1008
|
* @param {string} code
|
|
995
1009
|
* @param {UpdateSettlementRequestDto} updateSettlementRequestDto
|
|
996
1010
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
997
1011
|
* @param {*} [options] Override http request option.
|
|
1012
|
+
* @deprecated
|
|
998
1013
|
* @throws {RequiredError}
|
|
999
1014
|
*/
|
|
1000
1015
|
updateSettlement1: function (code, updateSettlementRequestDto, authorization, options) {
|
|
@@ -1017,20 +1032,21 @@ var SettlementsApi = /** @class */ (function (_super) {
|
|
|
1017
1032
|
/**
|
|
1018
1033
|
* This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
|
|
1019
1034
|
* @summary Create the settlement
|
|
1020
|
-
* @param {
|
|
1035
|
+
* @param {SettlementsApiCreateSettlementRequest} requestParameters Request parameters.
|
|
1021
1036
|
* @param {*} [options] Override http request option.
|
|
1022
1037
|
* @throws {RequiredError}
|
|
1023
1038
|
* @memberof SettlementsApi
|
|
1024
1039
|
*/
|
|
1025
|
-
SettlementsApi.prototype.
|
|
1040
|
+
SettlementsApi.prototype.createSettlement = function (requestParameters, options) {
|
|
1026
1041
|
var _this = this;
|
|
1027
|
-
return (0, exports.SettlementsApiFp)(this.configuration).
|
|
1042
|
+
return (0, exports.SettlementsApiFp)(this.configuration).createSettlement(requestParameters.createSettlementRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1028
1043
|
};
|
|
1029
1044
|
/**
|
|
1030
|
-
* This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
|
|
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.
|
|
1031
1046
|
* @summary Create the settlement
|
|
1032
1047
|
* @param {SettlementsApiCreateSettlement1Request} requestParameters Request parameters.
|
|
1033
1048
|
* @param {*} [options] Override http request option.
|
|
1049
|
+
* @deprecated
|
|
1034
1050
|
* @throws {RequiredError}
|
|
1035
1051
|
* @memberof SettlementsApi
|
|
1036
1052
|
*/
|
|
@@ -1041,20 +1057,21 @@ var SettlementsApi = /** @class */ (function (_super) {
|
|
|
1041
1057
|
/**
|
|
1042
1058
|
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
1043
1059
|
* @summary Delete the settlement
|
|
1044
|
-
* @param {
|
|
1060
|
+
* @param {SettlementsApiDeleteSettlementRequest} requestParameters Request parameters.
|
|
1045
1061
|
* @param {*} [options] Override http request option.
|
|
1046
1062
|
* @throws {RequiredError}
|
|
1047
1063
|
* @memberof SettlementsApi
|
|
1048
1064
|
*/
|
|
1049
|
-
SettlementsApi.prototype.
|
|
1065
|
+
SettlementsApi.prototype.deleteSettlement = function (requestParameters, options) {
|
|
1050
1066
|
var _this = this;
|
|
1051
|
-
return (0, exports.SettlementsApiFp)(this.configuration).
|
|
1067
|
+
return (0, exports.SettlementsApiFp)(this.configuration).deleteSettlement(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1052
1068
|
};
|
|
1053
1069
|
/**
|
|
1054
|
-
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
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.
|
|
1055
1071
|
* @summary Delete the settlement
|
|
1056
1072
|
* @param {SettlementsApiDeleteSettlement1Request} requestParameters Request parameters.
|
|
1057
1073
|
* @param {*} [options] Override http request option.
|
|
1074
|
+
* @deprecated
|
|
1058
1075
|
* @throws {RequiredError}
|
|
1059
1076
|
* @memberof SettlementsApi
|
|
1060
1077
|
*/
|
|
@@ -1065,20 +1082,21 @@ var SettlementsApi = /** @class */ (function (_super) {
|
|
|
1065
1082
|
/**
|
|
1066
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\"
|
|
1067
1084
|
* @summary Retrieve the settlement
|
|
1068
|
-
* @param {
|
|
1085
|
+
* @param {SettlementsApiGetSettlementRequest} requestParameters Request parameters.
|
|
1069
1086
|
* @param {*} [options] Override http request option.
|
|
1070
1087
|
* @throws {RequiredError}
|
|
1071
1088
|
* @memberof SettlementsApi
|
|
1072
1089
|
*/
|
|
1073
|
-
SettlementsApi.prototype.
|
|
1090
|
+
SettlementsApi.prototype.getSettlement = function (requestParameters, options) {
|
|
1074
1091
|
var _this = this;
|
|
1075
|
-
return (0, exports.SettlementsApiFp)(this.configuration).
|
|
1092
|
+
return (0, exports.SettlementsApiFp)(this.configuration).getSettlement(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1076
1093
|
};
|
|
1077
1094
|
/**
|
|
1078
|
-
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
|
|
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.
|
|
1079
1096
|
* @summary Retrieve the settlement
|
|
1080
1097
|
* @param {SettlementsApiGetSettlement1Request} requestParameters Request parameters.
|
|
1081
1098
|
* @param {*} [options] Override http request option.
|
|
1099
|
+
* @deprecated
|
|
1082
1100
|
* @throws {RequiredError}
|
|
1083
1101
|
* @memberof SettlementsApi
|
|
1084
1102
|
*/
|
|
@@ -1089,21 +1107,22 @@ var SettlementsApi = /** @class */ (function (_super) {
|
|
|
1089
1107
|
/**
|
|
1090
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\"
|
|
1091
1109
|
* @summary List settlements
|
|
1092
|
-
* @param {
|
|
1110
|
+
* @param {SettlementsApiListSettlementsRequest} requestParameters Request parameters.
|
|
1093
1111
|
* @param {*} [options] Override http request option.
|
|
1094
1112
|
* @throws {RequiredError}
|
|
1095
1113
|
* @memberof SettlementsApi
|
|
1096
1114
|
*/
|
|
1097
|
-
SettlementsApi.prototype.
|
|
1115
|
+
SettlementsApi.prototype.listSettlements = function (requestParameters, options) {
|
|
1098
1116
|
var _this = this;
|
|
1099
1117
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1100
|
-
return (0, exports.SettlementsApiFp)(this.configuration).
|
|
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); });
|
|
1101
1119
|
};
|
|
1102
1120
|
/**
|
|
1103
|
-
* Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
|
|
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.
|
|
1104
1122
|
* @summary List settlements
|
|
1105
1123
|
* @param {SettlementsApiListSettlements1Request} requestParameters Request parameters.
|
|
1106
1124
|
* @param {*} [options] Override http request option.
|
|
1125
|
+
* @deprecated
|
|
1107
1126
|
* @throws {RequiredError}
|
|
1108
1127
|
* @memberof SettlementsApi
|
|
1109
1128
|
*/
|
|
@@ -1115,20 +1134,21 @@ var SettlementsApi = /** @class */ (function (_super) {
|
|
|
1115
1134
|
/**
|
|
1116
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\"
|
|
1117
1136
|
* @summary Update the settlement
|
|
1118
|
-
* @param {
|
|
1137
|
+
* @param {SettlementsApiUpdateSettlementRequest} requestParameters Request parameters.
|
|
1119
1138
|
* @param {*} [options] Override http request option.
|
|
1120
1139
|
* @throws {RequiredError}
|
|
1121
1140
|
* @memberof SettlementsApi
|
|
1122
1141
|
*/
|
|
1123
|
-
SettlementsApi.prototype.
|
|
1142
|
+
SettlementsApi.prototype.updateSettlement = function (requestParameters, options) {
|
|
1124
1143
|
var _this = this;
|
|
1125
|
-
return (0, exports.SettlementsApiFp)(this.configuration).
|
|
1144
|
+
return (0, exports.SettlementsApiFp)(this.configuration).updateSettlement(requestParameters.code, requestParameters.updateSettlementRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1126
1145
|
};
|
|
1127
1146
|
/**
|
|
1128
|
-
* Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
|
|
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.
|
|
1129
1148
|
* @summary Update the settlement
|
|
1130
1149
|
* @param {SettlementsApiUpdateSettlement1Request} requestParameters Request parameters.
|
|
1131
1150
|
* @param {*} [options] Override http request option.
|
|
1151
|
+
* @deprecated
|
|
1132
1152
|
* @throws {RequiredError}
|
|
1133
1153
|
* @memberof SettlementsApi
|
|
1134
1154
|
*/
|