@emilgroup/claim-sdk-node 1.41.1-beta.0 → 1.41.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
|
@@ -104,7 +104,7 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
104
104
|
* @param {*} [options] Override http request option.
|
|
105
105
|
* @throws {RequiredError}
|
|
106
106
|
*/
|
|
107
|
-
|
|
107
|
+
createClaimRegulation: function (createRegulationItemRequestDto, authorization, options) {
|
|
108
108
|
if (options === void 0) { options = {}; }
|
|
109
109
|
return __awaiter(_this, void 0, void 0, function () {
|
|
110
110
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -112,8 +112,8 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
112
112
|
switch (_a.label) {
|
|
113
113
|
case 0:
|
|
114
114
|
// verify required parameter 'createRegulationItemRequestDto' is not null or undefined
|
|
115
|
-
(0, common_1.assertParamExists)('
|
|
116
|
-
localVarPath = "/v1/
|
|
115
|
+
(0, common_1.assertParamExists)('createClaimRegulation', 'createRegulationItemRequestDto', createRegulationItemRequestDto);
|
|
116
|
+
localVarPath = "/claimservice/v1/regulations";
|
|
117
117
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
118
118
|
if (configuration) {
|
|
119
119
|
baseOptions = configuration.baseOptions;
|
|
@@ -146,11 +146,12 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
146
146
|
});
|
|
147
147
|
},
|
|
148
148
|
/**
|
|
149
|
-
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\"
|
|
149
|
+
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
150
150
|
* @summary Create the claim regulation item
|
|
151
151
|
* @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
|
|
152
152
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
153
153
|
* @param {*} [options] Override http request option.
|
|
154
|
+
* @deprecated
|
|
154
155
|
* @throws {RequiredError}
|
|
155
156
|
*/
|
|
156
157
|
createClaimRegulation1: function (createRegulationItemRequestDto, authorization, options) {
|
|
@@ -162,7 +163,7 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
162
163
|
case 0:
|
|
163
164
|
// verify required parameter 'createRegulationItemRequestDto' is not null or undefined
|
|
164
165
|
(0, common_1.assertParamExists)('createClaimRegulation1', 'createRegulationItemRequestDto', createRegulationItemRequestDto);
|
|
165
|
-
localVarPath = "/
|
|
166
|
+
localVarPath = "/v1/claims/regulations";
|
|
166
167
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
167
168
|
if (configuration) {
|
|
168
169
|
baseOptions = configuration.baseOptions;
|
|
@@ -202,7 +203,7 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
202
203
|
* @param {*} [options] Override http request option.
|
|
203
204
|
* @throws {RequiredError}
|
|
204
205
|
*/
|
|
205
|
-
|
|
206
|
+
deleteClaimRegulations: function (code, authorization, options) {
|
|
206
207
|
if (options === void 0) { options = {}; }
|
|
207
208
|
return __awaiter(_this, void 0, void 0, function () {
|
|
208
209
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -210,8 +211,8 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
210
211
|
switch (_a.label) {
|
|
211
212
|
case 0:
|
|
212
213
|
// verify required parameter 'code' is not null or undefined
|
|
213
|
-
(0, common_1.assertParamExists)('
|
|
214
|
-
localVarPath = "/v1/
|
|
214
|
+
(0, common_1.assertParamExists)('deleteClaimRegulations', 'code', code);
|
|
215
|
+
localVarPath = "/claimservice/v1/regulations/{code}"
|
|
215
216
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
216
217
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
217
218
|
if (configuration) {
|
|
@@ -243,11 +244,12 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
243
244
|
});
|
|
244
245
|
},
|
|
245
246
|
/**
|
|
246
|
-
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
|
|
247
|
+
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
247
248
|
* @summary Delete the claim regulation item
|
|
248
249
|
* @param {string} code Unique identifier for the object.
|
|
249
250
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
250
251
|
* @param {*} [options] Override http request option.
|
|
252
|
+
* @deprecated
|
|
251
253
|
* @throws {RequiredError}
|
|
252
254
|
*/
|
|
253
255
|
deleteClaimRegulations1: function (code, authorization, options) {
|
|
@@ -259,7 +261,7 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
259
261
|
case 0:
|
|
260
262
|
// verify required parameter 'code' is not null or undefined
|
|
261
263
|
(0, common_1.assertParamExists)('deleteClaimRegulations1', 'code', code);
|
|
262
|
-
localVarPath = "/
|
|
264
|
+
localVarPath = "/v1/claims/regulations/{code}"
|
|
263
265
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
264
266
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
265
267
|
if (configuration) {
|
|
@@ -299,7 +301,7 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
299
301
|
* @param {*} [options] Override http request option.
|
|
300
302
|
* @throws {RequiredError}
|
|
301
303
|
*/
|
|
302
|
-
|
|
304
|
+
getClaimRegulation: function (code, authorization, expand, options) {
|
|
303
305
|
if (options === void 0) { options = {}; }
|
|
304
306
|
return __awaiter(_this, void 0, void 0, function () {
|
|
305
307
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -307,8 +309,8 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
307
309
|
switch (_a.label) {
|
|
308
310
|
case 0:
|
|
309
311
|
// verify required parameter 'code' is not null or undefined
|
|
310
|
-
(0, common_1.assertParamExists)('
|
|
311
|
-
localVarPath = "/v1/
|
|
312
|
+
(0, common_1.assertParamExists)('getClaimRegulation', 'code', code);
|
|
313
|
+
localVarPath = "/claimservice/v1/regulations/{code}"
|
|
312
314
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
313
315
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
314
316
|
if (configuration) {
|
|
@@ -343,12 +345,13 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
343
345
|
});
|
|
344
346
|
},
|
|
345
347
|
/**
|
|
346
|
-
* Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information. **Required Permissions** \"claim-management.regulations.view\"
|
|
348
|
+
* Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information. **Required Permissions** \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
347
349
|
* @summary Retrieve the claim regulation item
|
|
348
350
|
* @param {string} code
|
|
349
351
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
350
352
|
* @param {'claim'} [expand]
|
|
351
353
|
* @param {*} [options] Override http request option.
|
|
354
|
+
* @deprecated
|
|
352
355
|
* @throws {RequiredError}
|
|
353
356
|
*/
|
|
354
357
|
getClaimRegulation1: function (code, authorization, expand, options) {
|
|
@@ -360,7 +363,7 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
360
363
|
case 0:
|
|
361
364
|
// verify required parameter 'code' is not null or undefined
|
|
362
365
|
(0, common_1.assertParamExists)('getClaimRegulation1', 'code', code);
|
|
363
|
-
localVarPath = "/
|
|
366
|
+
localVarPath = "/v1/claims/regulations/{code}"
|
|
364
367
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
365
368
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
366
369
|
if (configuration) {
|
|
@@ -408,14 +411,14 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
408
411
|
* @param {*} [options] Override http request option.
|
|
409
412
|
* @throws {RequiredError}
|
|
410
413
|
*/
|
|
411
|
-
|
|
414
|
+
listClaimRegulations: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
412
415
|
if (options === void 0) { options = {}; }
|
|
413
416
|
return __awaiter(_this, void 0, void 0, function () {
|
|
414
417
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
415
418
|
return __generator(this, function (_a) {
|
|
416
419
|
switch (_a.label) {
|
|
417
420
|
case 0:
|
|
418
|
-
localVarPath = "/v1/
|
|
421
|
+
localVarPath = "/claimservice/v1/regulations";
|
|
419
422
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
420
423
|
if (configuration) {
|
|
421
424
|
baseOptions = configuration.baseOptions;
|
|
@@ -467,7 +470,7 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
467
470
|
});
|
|
468
471
|
},
|
|
469
472
|
/**
|
|
470
|
-
* Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.regulations.view\"
|
|
473
|
+
* Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
471
474
|
* @summary List claim regulation items
|
|
472
475
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
473
476
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -478,6 +481,7 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
478
481
|
* @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: claim<i>
|
|
479
482
|
* @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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutDetails.payoutType, payoutDetails.payoutStatus, regressDetails.recoveryType, regressDetails.recoveryStatus, reserveDetails.reserveType</i>
|
|
480
483
|
* @param {*} [options] Override http request option.
|
|
484
|
+
* @deprecated
|
|
481
485
|
* @throws {RequiredError}
|
|
482
486
|
*/
|
|
483
487
|
listClaimRegulations1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -487,7 +491,7 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
487
491
|
return __generator(this, function (_a) {
|
|
488
492
|
switch (_a.label) {
|
|
489
493
|
case 0:
|
|
490
|
-
localVarPath = "/
|
|
494
|
+
localVarPath = "/v1/claims/regulations";
|
|
491
495
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
492
496
|
if (configuration) {
|
|
493
497
|
baseOptions = configuration.baseOptions;
|
|
@@ -547,7 +551,7 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
547
551
|
* @param {*} [options] Override http request option.
|
|
548
552
|
* @throws {RequiredError}
|
|
549
553
|
*/
|
|
550
|
-
|
|
554
|
+
updateClaimRegulation: function (code, updateRegulationItemRequestDto, authorization, options) {
|
|
551
555
|
if (options === void 0) { options = {}; }
|
|
552
556
|
return __awaiter(_this, void 0, void 0, function () {
|
|
553
557
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -555,10 +559,10 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
555
559
|
switch (_a.label) {
|
|
556
560
|
case 0:
|
|
557
561
|
// verify required parameter 'code' is not null or undefined
|
|
558
|
-
(0, common_1.assertParamExists)('
|
|
562
|
+
(0, common_1.assertParamExists)('updateClaimRegulation', 'code', code);
|
|
559
563
|
// verify required parameter 'updateRegulationItemRequestDto' is not null or undefined
|
|
560
|
-
(0, common_1.assertParamExists)('
|
|
561
|
-
localVarPath = "/v1/
|
|
564
|
+
(0, common_1.assertParamExists)('updateClaimRegulation', 'updateRegulationItemRequestDto', updateRegulationItemRequestDto);
|
|
565
|
+
localVarPath = "/claimservice/v1/regulations/{code}"
|
|
562
566
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
563
567
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
564
568
|
if (configuration) {
|
|
@@ -592,12 +596,13 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
592
596
|
});
|
|
593
597
|
},
|
|
594
598
|
/**
|
|
595
|
-
* Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created. **Required Permissions** \"claim-management.regulations.update\"
|
|
599
|
+
* Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created. **Required Permissions** \"claim-management.regulations.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
596
600
|
* @summary Update the claim regulation item
|
|
597
601
|
* @param {string} code Unique identifier for the object.
|
|
598
602
|
* @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
|
|
599
603
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
600
604
|
* @param {*} [options] Override http request option.
|
|
605
|
+
* @deprecated
|
|
601
606
|
* @throws {RequiredError}
|
|
602
607
|
*/
|
|
603
608
|
updateClaimRegulation1: function (code, updateRegulationItemRequestDto, authorization, options) {
|
|
@@ -611,7 +616,7 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
611
616
|
(0, common_1.assertParamExists)('updateClaimRegulation1', 'code', code);
|
|
612
617
|
// verify required parameter 'updateRegulationItemRequestDto' is not null or undefined
|
|
613
618
|
(0, common_1.assertParamExists)('updateClaimRegulation1', 'updateRegulationItemRequestDto', updateRegulationItemRequestDto);
|
|
614
|
-
localVarPath = "/
|
|
619
|
+
localVarPath = "/v1/claims/regulations/{code}"
|
|
615
620
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
616
621
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
617
622
|
if (configuration) {
|
|
@@ -662,12 +667,12 @@ var ClaimRegulationsApiFp = function (configuration) {
|
|
|
662
667
|
* @param {*} [options] Override http request option.
|
|
663
668
|
* @throws {RequiredError}
|
|
664
669
|
*/
|
|
665
|
-
|
|
670
|
+
createClaimRegulation: function (createRegulationItemRequestDto, authorization, options) {
|
|
666
671
|
return __awaiter(this, void 0, void 0, function () {
|
|
667
672
|
var localVarAxiosArgs;
|
|
668
673
|
return __generator(this, function (_a) {
|
|
669
674
|
switch (_a.label) {
|
|
670
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
675
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createClaimRegulation(createRegulationItemRequestDto, authorization, options)];
|
|
671
676
|
case 1:
|
|
672
677
|
localVarAxiosArgs = _a.sent();
|
|
673
678
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -676,11 +681,12 @@ var ClaimRegulationsApiFp = function (configuration) {
|
|
|
676
681
|
});
|
|
677
682
|
},
|
|
678
683
|
/**
|
|
679
|
-
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\"
|
|
684
|
+
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
680
685
|
* @summary Create the claim regulation item
|
|
681
686
|
* @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
|
|
682
687
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
683
688
|
* @param {*} [options] Override http request option.
|
|
689
|
+
* @deprecated
|
|
684
690
|
* @throws {RequiredError}
|
|
685
691
|
*/
|
|
686
692
|
createClaimRegulation1: function (createRegulationItemRequestDto, authorization, options) {
|
|
@@ -704,12 +710,12 @@ var ClaimRegulationsApiFp = function (configuration) {
|
|
|
704
710
|
* @param {*} [options] Override http request option.
|
|
705
711
|
* @throws {RequiredError}
|
|
706
712
|
*/
|
|
707
|
-
|
|
713
|
+
deleteClaimRegulations: function (code, authorization, options) {
|
|
708
714
|
return __awaiter(this, void 0, void 0, function () {
|
|
709
715
|
var localVarAxiosArgs;
|
|
710
716
|
return __generator(this, function (_a) {
|
|
711
717
|
switch (_a.label) {
|
|
712
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
718
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteClaimRegulations(code, authorization, options)];
|
|
713
719
|
case 1:
|
|
714
720
|
localVarAxiosArgs = _a.sent();
|
|
715
721
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -718,11 +724,12 @@ var ClaimRegulationsApiFp = function (configuration) {
|
|
|
718
724
|
});
|
|
719
725
|
},
|
|
720
726
|
/**
|
|
721
|
-
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
|
|
727
|
+
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
722
728
|
* @summary Delete the claim regulation item
|
|
723
729
|
* @param {string} code Unique identifier for the object.
|
|
724
730
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
725
731
|
* @param {*} [options] Override http request option.
|
|
732
|
+
* @deprecated
|
|
726
733
|
* @throws {RequiredError}
|
|
727
734
|
*/
|
|
728
735
|
deleteClaimRegulations1: function (code, authorization, options) {
|
|
@@ -747,12 +754,12 @@ var ClaimRegulationsApiFp = function (configuration) {
|
|
|
747
754
|
* @param {*} [options] Override http request option.
|
|
748
755
|
* @throws {RequiredError}
|
|
749
756
|
*/
|
|
750
|
-
|
|
757
|
+
getClaimRegulation: function (code, authorization, expand, options) {
|
|
751
758
|
return __awaiter(this, void 0, void 0, function () {
|
|
752
759
|
var localVarAxiosArgs;
|
|
753
760
|
return __generator(this, function (_a) {
|
|
754
761
|
switch (_a.label) {
|
|
755
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
762
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimRegulation(code, authorization, expand, options)];
|
|
756
763
|
case 1:
|
|
757
764
|
localVarAxiosArgs = _a.sent();
|
|
758
765
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -761,12 +768,13 @@ var ClaimRegulationsApiFp = function (configuration) {
|
|
|
761
768
|
});
|
|
762
769
|
},
|
|
763
770
|
/**
|
|
764
|
-
* Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information. **Required Permissions** \"claim-management.regulations.view\"
|
|
771
|
+
* Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information. **Required Permissions** \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
765
772
|
* @summary Retrieve the claim regulation item
|
|
766
773
|
* @param {string} code
|
|
767
774
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
768
775
|
* @param {'claim'} [expand]
|
|
769
776
|
* @param {*} [options] Override http request option.
|
|
777
|
+
* @deprecated
|
|
770
778
|
* @throws {RequiredError}
|
|
771
779
|
*/
|
|
772
780
|
getClaimRegulation1: function (code, authorization, expand, options) {
|
|
@@ -796,12 +804,12 @@ var ClaimRegulationsApiFp = function (configuration) {
|
|
|
796
804
|
* @param {*} [options] Override http request option.
|
|
797
805
|
* @throws {RequiredError}
|
|
798
806
|
*/
|
|
799
|
-
|
|
807
|
+
listClaimRegulations: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
800
808
|
return __awaiter(this, void 0, void 0, function () {
|
|
801
809
|
var localVarAxiosArgs;
|
|
802
810
|
return __generator(this, function (_a) {
|
|
803
811
|
switch (_a.label) {
|
|
804
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
812
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimRegulations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
805
813
|
case 1:
|
|
806
814
|
localVarAxiosArgs = _a.sent();
|
|
807
815
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -810,7 +818,7 @@ var ClaimRegulationsApiFp = function (configuration) {
|
|
|
810
818
|
});
|
|
811
819
|
},
|
|
812
820
|
/**
|
|
813
|
-
* Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.regulations.view\"
|
|
821
|
+
* Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
814
822
|
* @summary List claim regulation items
|
|
815
823
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
816
824
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -821,6 +829,7 @@ var ClaimRegulationsApiFp = function (configuration) {
|
|
|
821
829
|
* @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: claim<i>
|
|
822
830
|
* @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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutDetails.payoutType, payoutDetails.payoutStatus, regressDetails.recoveryType, regressDetails.recoveryStatus, reserveDetails.reserveType</i>
|
|
823
831
|
* @param {*} [options] Override http request option.
|
|
832
|
+
* @deprecated
|
|
824
833
|
* @throws {RequiredError}
|
|
825
834
|
*/
|
|
826
835
|
listClaimRegulations1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -845,12 +854,12 @@ var ClaimRegulationsApiFp = function (configuration) {
|
|
|
845
854
|
* @param {*} [options] Override http request option.
|
|
846
855
|
* @throws {RequiredError}
|
|
847
856
|
*/
|
|
848
|
-
|
|
857
|
+
updateClaimRegulation: function (code, updateRegulationItemRequestDto, authorization, options) {
|
|
849
858
|
return __awaiter(this, void 0, void 0, function () {
|
|
850
859
|
var localVarAxiosArgs;
|
|
851
860
|
return __generator(this, function (_a) {
|
|
852
861
|
switch (_a.label) {
|
|
853
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
862
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaimRegulation(code, updateRegulationItemRequestDto, authorization, options)];
|
|
854
863
|
case 1:
|
|
855
864
|
localVarAxiosArgs = _a.sent();
|
|
856
865
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -859,12 +868,13 @@ var ClaimRegulationsApiFp = function (configuration) {
|
|
|
859
868
|
});
|
|
860
869
|
},
|
|
861
870
|
/**
|
|
862
|
-
* Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created. **Required Permissions** \"claim-management.regulations.update\"
|
|
871
|
+
* Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created. **Required Permissions** \"claim-management.regulations.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
863
872
|
* @summary Update the claim regulation item
|
|
864
873
|
* @param {string} code Unique identifier for the object.
|
|
865
874
|
* @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
|
|
866
875
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
867
876
|
* @param {*} [options] Override http request option.
|
|
877
|
+
* @deprecated
|
|
868
878
|
* @throws {RequiredError}
|
|
869
879
|
*/
|
|
870
880
|
updateClaimRegulation1: function (code, updateRegulationItemRequestDto, authorization, options) {
|
|
@@ -898,15 +908,16 @@ var ClaimRegulationsApiFactory = function (configuration, basePath, axios) {
|
|
|
898
908
|
* @param {*} [options] Override http request option.
|
|
899
909
|
* @throws {RequiredError}
|
|
900
910
|
*/
|
|
901
|
-
|
|
902
|
-
return localVarFp.
|
|
911
|
+
createClaimRegulation: function (createRegulationItemRequestDto, authorization, options) {
|
|
912
|
+
return localVarFp.createClaimRegulation(createRegulationItemRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
903
913
|
},
|
|
904
914
|
/**
|
|
905
|
-
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\"
|
|
915
|
+
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
906
916
|
* @summary Create the claim regulation item
|
|
907
917
|
* @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
|
|
908
918
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
909
919
|
* @param {*} [options] Override http request option.
|
|
920
|
+
* @deprecated
|
|
910
921
|
* @throws {RequiredError}
|
|
911
922
|
*/
|
|
912
923
|
createClaimRegulation1: function (createRegulationItemRequestDto, authorization, options) {
|
|
@@ -920,15 +931,16 @@ var ClaimRegulationsApiFactory = function (configuration, basePath, axios) {
|
|
|
920
931
|
* @param {*} [options] Override http request option.
|
|
921
932
|
* @throws {RequiredError}
|
|
922
933
|
*/
|
|
923
|
-
|
|
924
|
-
return localVarFp.
|
|
934
|
+
deleteClaimRegulations: function (code, authorization, options) {
|
|
935
|
+
return localVarFp.deleteClaimRegulations(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
925
936
|
},
|
|
926
937
|
/**
|
|
927
|
-
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
|
|
938
|
+
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
928
939
|
* @summary Delete the claim regulation item
|
|
929
940
|
* @param {string} code Unique identifier for the object.
|
|
930
941
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
931
942
|
* @param {*} [options] Override http request option.
|
|
943
|
+
* @deprecated
|
|
932
944
|
* @throws {RequiredError}
|
|
933
945
|
*/
|
|
934
946
|
deleteClaimRegulations1: function (code, authorization, options) {
|
|
@@ -943,16 +955,17 @@ var ClaimRegulationsApiFactory = function (configuration, basePath, axios) {
|
|
|
943
955
|
* @param {*} [options] Override http request option.
|
|
944
956
|
* @throws {RequiredError}
|
|
945
957
|
*/
|
|
946
|
-
|
|
947
|
-
return localVarFp.
|
|
958
|
+
getClaimRegulation: function (code, authorization, expand, options) {
|
|
959
|
+
return localVarFp.getClaimRegulation(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
948
960
|
},
|
|
949
961
|
/**
|
|
950
|
-
* Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information. **Required Permissions** \"claim-management.regulations.view\"
|
|
962
|
+
* Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information. **Required Permissions** \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
951
963
|
* @summary Retrieve the claim regulation item
|
|
952
964
|
* @param {string} code
|
|
953
965
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
954
966
|
* @param {'claim'} [expand]
|
|
955
967
|
* @param {*} [options] Override http request option.
|
|
968
|
+
* @deprecated
|
|
956
969
|
* @throws {RequiredError}
|
|
957
970
|
*/
|
|
958
971
|
getClaimRegulation1: function (code, authorization, expand, options) {
|
|
@@ -972,11 +985,11 @@ var ClaimRegulationsApiFactory = function (configuration, basePath, axios) {
|
|
|
972
985
|
* @param {*} [options] Override http request option.
|
|
973
986
|
* @throws {RequiredError}
|
|
974
987
|
*/
|
|
975
|
-
|
|
976
|
-
return localVarFp.
|
|
988
|
+
listClaimRegulations: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
989
|
+
return localVarFp.listClaimRegulations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
977
990
|
},
|
|
978
991
|
/**
|
|
979
|
-
* Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.regulations.view\"
|
|
992
|
+
* Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
980
993
|
* @summary List claim regulation items
|
|
981
994
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
982
995
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -987,6 +1000,7 @@ var ClaimRegulationsApiFactory = function (configuration, basePath, axios) {
|
|
|
987
1000
|
* @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: claim<i>
|
|
988
1001
|
* @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: code, claimCode, amount, bookingDate, currency, regulationItemType, payoutDetails.payoutType, payoutDetails.payoutStatus, regressDetails.recoveryType, regressDetails.recoveryStatus, reserveDetails.reserveType</i>
|
|
989
1002
|
* @param {*} [options] Override http request option.
|
|
1003
|
+
* @deprecated
|
|
990
1004
|
* @throws {RequiredError}
|
|
991
1005
|
*/
|
|
992
1006
|
listClaimRegulations1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -1001,16 +1015,17 @@ var ClaimRegulationsApiFactory = function (configuration, basePath, axios) {
|
|
|
1001
1015
|
* @param {*} [options] Override http request option.
|
|
1002
1016
|
* @throws {RequiredError}
|
|
1003
1017
|
*/
|
|
1004
|
-
|
|
1005
|
-
return localVarFp.
|
|
1018
|
+
updateClaimRegulation: function (code, updateRegulationItemRequestDto, authorization, options) {
|
|
1019
|
+
return localVarFp.updateClaimRegulation(code, updateRegulationItemRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1006
1020
|
},
|
|
1007
1021
|
/**
|
|
1008
|
-
* Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created. **Required Permissions** \"claim-management.regulations.update\"
|
|
1022
|
+
* Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created. **Required Permissions** \"claim-management.regulations.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1009
1023
|
* @summary Update the claim regulation item
|
|
1010
1024
|
* @param {string} code Unique identifier for the object.
|
|
1011
1025
|
* @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
|
|
1012
1026
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1013
1027
|
* @param {*} [options] Override http request option.
|
|
1028
|
+
* @deprecated
|
|
1014
1029
|
* @throws {RequiredError}
|
|
1015
1030
|
*/
|
|
1016
1031
|
updateClaimRegulation1: function (code, updateRegulationItemRequestDto, authorization, options) {
|
|
@@ -1033,20 +1048,21 @@ var ClaimRegulationsApi = /** @class */ (function (_super) {
|
|
|
1033
1048
|
/**
|
|
1034
1049
|
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\"
|
|
1035
1050
|
* @summary Create the claim regulation item
|
|
1036
|
-
* @param {
|
|
1051
|
+
* @param {ClaimRegulationsApiCreateClaimRegulationRequest} requestParameters Request parameters.
|
|
1037
1052
|
* @param {*} [options] Override http request option.
|
|
1038
1053
|
* @throws {RequiredError}
|
|
1039
1054
|
* @memberof ClaimRegulationsApi
|
|
1040
1055
|
*/
|
|
1041
|
-
ClaimRegulationsApi.prototype.
|
|
1056
|
+
ClaimRegulationsApi.prototype.createClaimRegulation = function (requestParameters, options) {
|
|
1042
1057
|
var _this = this;
|
|
1043
|
-
return (0, exports.ClaimRegulationsApiFp)(this.configuration).
|
|
1058
|
+
return (0, exports.ClaimRegulationsApiFp)(this.configuration).createClaimRegulation(requestParameters.createRegulationItemRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1044
1059
|
};
|
|
1045
1060
|
/**
|
|
1046
|
-
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\"
|
|
1061
|
+
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1047
1062
|
* @summary Create the claim regulation item
|
|
1048
1063
|
* @param {ClaimRegulationsApiCreateClaimRegulation1Request} requestParameters Request parameters.
|
|
1049
1064
|
* @param {*} [options] Override http request option.
|
|
1065
|
+
* @deprecated
|
|
1050
1066
|
* @throws {RequiredError}
|
|
1051
1067
|
* @memberof ClaimRegulationsApi
|
|
1052
1068
|
*/
|
|
@@ -1057,20 +1073,21 @@ var ClaimRegulationsApi = /** @class */ (function (_super) {
|
|
|
1057
1073
|
/**
|
|
1058
1074
|
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
|
|
1059
1075
|
* @summary Delete the claim regulation item
|
|
1060
|
-
* @param {
|
|
1076
|
+
* @param {ClaimRegulationsApiDeleteClaimRegulationsRequest} requestParameters Request parameters.
|
|
1061
1077
|
* @param {*} [options] Override http request option.
|
|
1062
1078
|
* @throws {RequiredError}
|
|
1063
1079
|
* @memberof ClaimRegulationsApi
|
|
1064
1080
|
*/
|
|
1065
|
-
ClaimRegulationsApi.prototype.
|
|
1081
|
+
ClaimRegulationsApi.prototype.deleteClaimRegulations = function (requestParameters, options) {
|
|
1066
1082
|
var _this = this;
|
|
1067
|
-
return (0, exports.ClaimRegulationsApiFp)(this.configuration).
|
|
1083
|
+
return (0, exports.ClaimRegulationsApiFp)(this.configuration).deleteClaimRegulations(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1068
1084
|
};
|
|
1069
1085
|
/**
|
|
1070
|
-
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
|
|
1086
|
+
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1071
1087
|
* @summary Delete the claim regulation item
|
|
1072
1088
|
* @param {ClaimRegulationsApiDeleteClaimRegulations1Request} requestParameters Request parameters.
|
|
1073
1089
|
* @param {*} [options] Override http request option.
|
|
1090
|
+
* @deprecated
|
|
1074
1091
|
* @throws {RequiredError}
|
|
1075
1092
|
* @memberof ClaimRegulationsApi
|
|
1076
1093
|
*/
|
|
@@ -1081,20 +1098,21 @@ var ClaimRegulationsApi = /** @class */ (function (_super) {
|
|
|
1081
1098
|
/**
|
|
1082
1099
|
* Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information. **Required Permissions** \"claim-management.regulations.view\"
|
|
1083
1100
|
* @summary Retrieve the claim regulation item
|
|
1084
|
-
* @param {
|
|
1101
|
+
* @param {ClaimRegulationsApiGetClaimRegulationRequest} requestParameters Request parameters.
|
|
1085
1102
|
* @param {*} [options] Override http request option.
|
|
1086
1103
|
* @throws {RequiredError}
|
|
1087
1104
|
* @memberof ClaimRegulationsApi
|
|
1088
1105
|
*/
|
|
1089
|
-
ClaimRegulationsApi.prototype.
|
|
1106
|
+
ClaimRegulationsApi.prototype.getClaimRegulation = function (requestParameters, options) {
|
|
1090
1107
|
var _this = this;
|
|
1091
|
-
return (0, exports.ClaimRegulationsApiFp)(this.configuration).
|
|
1108
|
+
return (0, exports.ClaimRegulationsApiFp)(this.configuration).getClaimRegulation(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1092
1109
|
};
|
|
1093
1110
|
/**
|
|
1094
|
-
* Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information. **Required Permissions** \"claim-management.regulations.view\"
|
|
1111
|
+
* Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information. **Required Permissions** \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1095
1112
|
* @summary Retrieve the claim regulation item
|
|
1096
1113
|
* @param {ClaimRegulationsApiGetClaimRegulation1Request} requestParameters Request parameters.
|
|
1097
1114
|
* @param {*} [options] Override http request option.
|
|
1115
|
+
* @deprecated
|
|
1098
1116
|
* @throws {RequiredError}
|
|
1099
1117
|
* @memberof ClaimRegulationsApi
|
|
1100
1118
|
*/
|
|
@@ -1105,21 +1123,22 @@ var ClaimRegulationsApi = /** @class */ (function (_super) {
|
|
|
1105
1123
|
/**
|
|
1106
1124
|
* Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.regulations.view\"
|
|
1107
1125
|
* @summary List claim regulation items
|
|
1108
|
-
* @param {
|
|
1126
|
+
* @param {ClaimRegulationsApiListClaimRegulationsRequest} requestParameters Request parameters.
|
|
1109
1127
|
* @param {*} [options] Override http request option.
|
|
1110
1128
|
* @throws {RequiredError}
|
|
1111
1129
|
* @memberof ClaimRegulationsApi
|
|
1112
1130
|
*/
|
|
1113
|
-
ClaimRegulationsApi.prototype.
|
|
1131
|
+
ClaimRegulationsApi.prototype.listClaimRegulations = function (requestParameters, options) {
|
|
1114
1132
|
var _this = this;
|
|
1115
1133
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1116
|
-
return (0, exports.ClaimRegulationsApiFp)(this.configuration).
|
|
1134
|
+
return (0, exports.ClaimRegulationsApiFp)(this.configuration).listClaimRegulations(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); });
|
|
1117
1135
|
};
|
|
1118
1136
|
/**
|
|
1119
|
-
* Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.regulations.view\"
|
|
1137
|
+
* Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1120
1138
|
* @summary List claim regulation items
|
|
1121
1139
|
* @param {ClaimRegulationsApiListClaimRegulations1Request} requestParameters Request parameters.
|
|
1122
1140
|
* @param {*} [options] Override http request option.
|
|
1141
|
+
* @deprecated
|
|
1123
1142
|
* @throws {RequiredError}
|
|
1124
1143
|
* @memberof ClaimRegulationsApi
|
|
1125
1144
|
*/
|
|
@@ -1131,20 +1150,21 @@ var ClaimRegulationsApi = /** @class */ (function (_super) {
|
|
|
1131
1150
|
/**
|
|
1132
1151
|
* Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created. **Required Permissions** \"claim-management.regulations.update\"
|
|
1133
1152
|
* @summary Update the claim regulation item
|
|
1134
|
-
* @param {
|
|
1153
|
+
* @param {ClaimRegulationsApiUpdateClaimRegulationRequest} requestParameters Request parameters.
|
|
1135
1154
|
* @param {*} [options] Override http request option.
|
|
1136
1155
|
* @throws {RequiredError}
|
|
1137
1156
|
* @memberof ClaimRegulationsApi
|
|
1138
1157
|
*/
|
|
1139
|
-
ClaimRegulationsApi.prototype.
|
|
1158
|
+
ClaimRegulationsApi.prototype.updateClaimRegulation = function (requestParameters, options) {
|
|
1140
1159
|
var _this = this;
|
|
1141
|
-
return (0, exports.ClaimRegulationsApiFp)(this.configuration).
|
|
1160
|
+
return (0, exports.ClaimRegulationsApiFp)(this.configuration).updateClaimRegulation(requestParameters.code, requestParameters.updateRegulationItemRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1142
1161
|
};
|
|
1143
1162
|
/**
|
|
1144
|
-
* Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created. **Required Permissions** \"claim-management.regulations.update\"
|
|
1163
|
+
* Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created. **Required Permissions** \"claim-management.regulations.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1145
1164
|
* @summary Update the claim regulation item
|
|
1146
1165
|
* @param {ClaimRegulationsApiUpdateClaimRegulation1Request} requestParameters Request parameters.
|
|
1147
1166
|
* @param {*} [options] Override http request option.
|
|
1167
|
+
* @deprecated
|
|
1148
1168
|
* @throws {RequiredError}
|
|
1149
1169
|
* @memberof ClaimRegulationsApi
|
|
1150
1170
|
*/
|