@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 ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
100
100
|
* @param {*} [options] Override http request option.
|
|
101
101
|
* @throws {RequiredError}
|
|
102
102
|
*/
|
|
103
|
-
|
|
103
|
+
createClaimRegulation: function (createRegulationItemRequestDto, 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 ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
108
108
|
switch (_a.label) {
|
|
109
109
|
case 0:
|
|
110
110
|
// verify required parameter 'createRegulationItemRequestDto' is not null or undefined
|
|
111
|
-
(0, common_1.assertParamExists)('
|
|
112
|
-
localVarPath = "/v1/
|
|
111
|
+
(0, common_1.assertParamExists)('createClaimRegulation', 'createRegulationItemRequestDto', createRegulationItemRequestDto);
|
|
112
|
+
localVarPath = "/claimservice/v1/regulations";
|
|
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 ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
142
142
|
});
|
|
143
143
|
},
|
|
144
144
|
/**
|
|
145
|
-
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\"
|
|
145
|
+
* 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.
|
|
146
146
|
* @summary Create the claim regulation item
|
|
147
147
|
* @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
|
|
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
|
createClaimRegulation1: function (createRegulationItemRequestDto, authorization, options) {
|
|
@@ -158,7 +159,7 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
158
159
|
case 0:
|
|
159
160
|
// verify required parameter 'createRegulationItemRequestDto' is not null or undefined
|
|
160
161
|
(0, common_1.assertParamExists)('createClaimRegulation1', 'createRegulationItemRequestDto', createRegulationItemRequestDto);
|
|
161
|
-
localVarPath = "/
|
|
162
|
+
localVarPath = "/v1/claims/regulations";
|
|
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 ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
198
199
|
* @param {*} [options] Override http request option.
|
|
199
200
|
* @throws {RequiredError}
|
|
200
201
|
*/
|
|
201
|
-
|
|
202
|
+
deleteClaimRegulations: 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 ClaimRegulationsApiAxiosParamCreator = 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/
|
|
210
|
+
(0, common_1.assertParamExists)('deleteClaimRegulations', 'code', code);
|
|
211
|
+
localVarPath = "/claimservice/v1/regulations/{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 ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
239
240
|
});
|
|
240
241
|
},
|
|
241
242
|
/**
|
|
242
|
-
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
|
|
243
|
+
* 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.
|
|
243
244
|
* @summary Delete the claim regulation item
|
|
244
245
|
* @param {string} code Unique identifier for the object.
|
|
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
|
deleteClaimRegulations1: function (code, authorization, options) {
|
|
@@ -255,7 +257,7 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
255
257
|
case 0:
|
|
256
258
|
// verify required parameter 'code' is not null or undefined
|
|
257
259
|
(0, common_1.assertParamExists)('deleteClaimRegulations1', 'code', code);
|
|
258
|
-
localVarPath = "/
|
|
260
|
+
localVarPath = "/v1/claims/regulations/{code}"
|
|
259
261
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
260
262
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
261
263
|
if (configuration) {
|
|
@@ -295,7 +297,7 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
295
297
|
* @param {*} [options] Override http request option.
|
|
296
298
|
* @throws {RequiredError}
|
|
297
299
|
*/
|
|
298
|
-
|
|
300
|
+
getClaimRegulation: function (code, authorization, expand, options) {
|
|
299
301
|
if (options === void 0) { options = {}; }
|
|
300
302
|
return __awaiter(_this, void 0, void 0, function () {
|
|
301
303
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -303,8 +305,8 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
303
305
|
switch (_a.label) {
|
|
304
306
|
case 0:
|
|
305
307
|
// verify required parameter 'code' is not null or undefined
|
|
306
|
-
(0, common_1.assertParamExists)('
|
|
307
|
-
localVarPath = "/v1/
|
|
308
|
+
(0, common_1.assertParamExists)('getClaimRegulation', 'code', code);
|
|
309
|
+
localVarPath = "/claimservice/v1/regulations/{code}"
|
|
308
310
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
309
311
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
310
312
|
if (configuration) {
|
|
@@ -339,12 +341,13 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
339
341
|
});
|
|
340
342
|
},
|
|
341
343
|
/**
|
|
342
|
-
* 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\"
|
|
344
|
+
* 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.
|
|
343
345
|
* @summary Retrieve the claim regulation item
|
|
344
346
|
* @param {string} code
|
|
345
347
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
346
348
|
* @param {'claim'} [expand]
|
|
347
349
|
* @param {*} [options] Override http request option.
|
|
350
|
+
* @deprecated
|
|
348
351
|
* @throws {RequiredError}
|
|
349
352
|
*/
|
|
350
353
|
getClaimRegulation1: function (code, authorization, expand, options) {
|
|
@@ -356,7 +359,7 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
356
359
|
case 0:
|
|
357
360
|
// verify required parameter 'code' is not null or undefined
|
|
358
361
|
(0, common_1.assertParamExists)('getClaimRegulation1', 'code', code);
|
|
359
|
-
localVarPath = "/
|
|
362
|
+
localVarPath = "/v1/claims/regulations/{code}"
|
|
360
363
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
361
364
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
362
365
|
if (configuration) {
|
|
@@ -404,14 +407,14 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
404
407
|
* @param {*} [options] Override http request option.
|
|
405
408
|
* @throws {RequiredError}
|
|
406
409
|
*/
|
|
407
|
-
|
|
410
|
+
listClaimRegulations: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
408
411
|
if (options === void 0) { options = {}; }
|
|
409
412
|
return __awaiter(_this, void 0, void 0, function () {
|
|
410
413
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
411
414
|
return __generator(this, function (_a) {
|
|
412
415
|
switch (_a.label) {
|
|
413
416
|
case 0:
|
|
414
|
-
localVarPath = "/v1/
|
|
417
|
+
localVarPath = "/claimservice/v1/regulations";
|
|
415
418
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
416
419
|
if (configuration) {
|
|
417
420
|
baseOptions = configuration.baseOptions;
|
|
@@ -463,7 +466,7 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
463
466
|
});
|
|
464
467
|
},
|
|
465
468
|
/**
|
|
466
|
-
* 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\"
|
|
469
|
+
* 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.
|
|
467
470
|
* @summary List claim regulation items
|
|
468
471
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
469
472
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -474,6 +477,7 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
474
477
|
* @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>
|
|
475
478
|
* @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>
|
|
476
479
|
* @param {*} [options] Override http request option.
|
|
480
|
+
* @deprecated
|
|
477
481
|
* @throws {RequiredError}
|
|
478
482
|
*/
|
|
479
483
|
listClaimRegulations1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -483,7 +487,7 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
483
487
|
return __generator(this, function (_a) {
|
|
484
488
|
switch (_a.label) {
|
|
485
489
|
case 0:
|
|
486
|
-
localVarPath = "/
|
|
490
|
+
localVarPath = "/v1/claims/regulations";
|
|
487
491
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
488
492
|
if (configuration) {
|
|
489
493
|
baseOptions = configuration.baseOptions;
|
|
@@ -543,7 +547,7 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
543
547
|
* @param {*} [options] Override http request option.
|
|
544
548
|
* @throws {RequiredError}
|
|
545
549
|
*/
|
|
546
|
-
|
|
550
|
+
updateClaimRegulation: function (code, updateRegulationItemRequestDto, authorization, options) {
|
|
547
551
|
if (options === void 0) { options = {}; }
|
|
548
552
|
return __awaiter(_this, void 0, void 0, function () {
|
|
549
553
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -551,10 +555,10 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
551
555
|
switch (_a.label) {
|
|
552
556
|
case 0:
|
|
553
557
|
// verify required parameter 'code' is not null or undefined
|
|
554
|
-
(0, common_1.assertParamExists)('
|
|
558
|
+
(0, common_1.assertParamExists)('updateClaimRegulation', 'code', code);
|
|
555
559
|
// verify required parameter 'updateRegulationItemRequestDto' is not null or undefined
|
|
556
|
-
(0, common_1.assertParamExists)('
|
|
557
|
-
localVarPath = "/v1/
|
|
560
|
+
(0, common_1.assertParamExists)('updateClaimRegulation', 'updateRegulationItemRequestDto', updateRegulationItemRequestDto);
|
|
561
|
+
localVarPath = "/claimservice/v1/regulations/{code}"
|
|
558
562
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
559
563
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
560
564
|
if (configuration) {
|
|
@@ -588,12 +592,13 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
588
592
|
});
|
|
589
593
|
},
|
|
590
594
|
/**
|
|
591
|
-
* 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\"
|
|
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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
592
596
|
* @summary Update the claim regulation item
|
|
593
597
|
* @param {string} code Unique identifier for the object.
|
|
594
598
|
* @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
|
|
595
599
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
596
600
|
* @param {*} [options] Override http request option.
|
|
601
|
+
* @deprecated
|
|
597
602
|
* @throws {RequiredError}
|
|
598
603
|
*/
|
|
599
604
|
updateClaimRegulation1: function (code, updateRegulationItemRequestDto, authorization, options) {
|
|
@@ -607,7 +612,7 @@ var ClaimRegulationsApiAxiosParamCreator = function (configuration) {
|
|
|
607
612
|
(0, common_1.assertParamExists)('updateClaimRegulation1', 'code', code);
|
|
608
613
|
// verify required parameter 'updateRegulationItemRequestDto' is not null or undefined
|
|
609
614
|
(0, common_1.assertParamExists)('updateClaimRegulation1', 'updateRegulationItemRequestDto', updateRegulationItemRequestDto);
|
|
610
|
-
localVarPath = "/
|
|
615
|
+
localVarPath = "/v1/claims/regulations/{code}"
|
|
611
616
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
612
617
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
613
618
|
if (configuration) {
|
|
@@ -658,12 +663,12 @@ var ClaimRegulationsApiFp = function (configuration) {
|
|
|
658
663
|
* @param {*} [options] Override http request option.
|
|
659
664
|
* @throws {RequiredError}
|
|
660
665
|
*/
|
|
661
|
-
|
|
666
|
+
createClaimRegulation: function (createRegulationItemRequestDto, authorization, options) {
|
|
662
667
|
return __awaiter(this, void 0, void 0, function () {
|
|
663
668
|
var localVarAxiosArgs;
|
|
664
669
|
return __generator(this, function (_a) {
|
|
665
670
|
switch (_a.label) {
|
|
666
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
671
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createClaimRegulation(createRegulationItemRequestDto, authorization, options)];
|
|
667
672
|
case 1:
|
|
668
673
|
localVarAxiosArgs = _a.sent();
|
|
669
674
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -672,11 +677,12 @@ var ClaimRegulationsApiFp = function (configuration) {
|
|
|
672
677
|
});
|
|
673
678
|
},
|
|
674
679
|
/**
|
|
675
|
-
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\"
|
|
680
|
+
* 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.
|
|
676
681
|
* @summary Create the claim regulation item
|
|
677
682
|
* @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
|
|
678
683
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
679
684
|
* @param {*} [options] Override http request option.
|
|
685
|
+
* @deprecated
|
|
680
686
|
* @throws {RequiredError}
|
|
681
687
|
*/
|
|
682
688
|
createClaimRegulation1: function (createRegulationItemRequestDto, authorization, options) {
|
|
@@ -700,12 +706,12 @@ var ClaimRegulationsApiFp = function (configuration) {
|
|
|
700
706
|
* @param {*} [options] Override http request option.
|
|
701
707
|
* @throws {RequiredError}
|
|
702
708
|
*/
|
|
703
|
-
|
|
709
|
+
deleteClaimRegulations: function (code, authorization, options) {
|
|
704
710
|
return __awaiter(this, void 0, void 0, function () {
|
|
705
711
|
var localVarAxiosArgs;
|
|
706
712
|
return __generator(this, function (_a) {
|
|
707
713
|
switch (_a.label) {
|
|
708
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
714
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteClaimRegulations(code, authorization, options)];
|
|
709
715
|
case 1:
|
|
710
716
|
localVarAxiosArgs = _a.sent();
|
|
711
717
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -714,11 +720,12 @@ var ClaimRegulationsApiFp = function (configuration) {
|
|
|
714
720
|
});
|
|
715
721
|
},
|
|
716
722
|
/**
|
|
717
|
-
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
|
|
723
|
+
* 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.
|
|
718
724
|
* @summary Delete the claim regulation item
|
|
719
725
|
* @param {string} code Unique identifier for the object.
|
|
720
726
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
721
727
|
* @param {*} [options] Override http request option.
|
|
728
|
+
* @deprecated
|
|
722
729
|
* @throws {RequiredError}
|
|
723
730
|
*/
|
|
724
731
|
deleteClaimRegulations1: function (code, authorization, options) {
|
|
@@ -743,12 +750,12 @@ var ClaimRegulationsApiFp = function (configuration) {
|
|
|
743
750
|
* @param {*} [options] Override http request option.
|
|
744
751
|
* @throws {RequiredError}
|
|
745
752
|
*/
|
|
746
|
-
|
|
753
|
+
getClaimRegulation: function (code, authorization, expand, options) {
|
|
747
754
|
return __awaiter(this, void 0, void 0, function () {
|
|
748
755
|
var localVarAxiosArgs;
|
|
749
756
|
return __generator(this, function (_a) {
|
|
750
757
|
switch (_a.label) {
|
|
751
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
758
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimRegulation(code, authorization, expand, options)];
|
|
752
759
|
case 1:
|
|
753
760
|
localVarAxiosArgs = _a.sent();
|
|
754
761
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -757,12 +764,13 @@ var ClaimRegulationsApiFp = function (configuration) {
|
|
|
757
764
|
});
|
|
758
765
|
},
|
|
759
766
|
/**
|
|
760
|
-
* 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\"
|
|
767
|
+
* 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.
|
|
761
768
|
* @summary Retrieve the claim regulation item
|
|
762
769
|
* @param {string} code
|
|
763
770
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
764
771
|
* @param {'claim'} [expand]
|
|
765
772
|
* @param {*} [options] Override http request option.
|
|
773
|
+
* @deprecated
|
|
766
774
|
* @throws {RequiredError}
|
|
767
775
|
*/
|
|
768
776
|
getClaimRegulation1: function (code, authorization, expand, options) {
|
|
@@ -792,12 +800,12 @@ var ClaimRegulationsApiFp = function (configuration) {
|
|
|
792
800
|
* @param {*} [options] Override http request option.
|
|
793
801
|
* @throws {RequiredError}
|
|
794
802
|
*/
|
|
795
|
-
|
|
803
|
+
listClaimRegulations: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
796
804
|
return __awaiter(this, void 0, void 0, function () {
|
|
797
805
|
var localVarAxiosArgs;
|
|
798
806
|
return __generator(this, function (_a) {
|
|
799
807
|
switch (_a.label) {
|
|
800
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
808
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimRegulations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
801
809
|
case 1:
|
|
802
810
|
localVarAxiosArgs = _a.sent();
|
|
803
811
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -806,7 +814,7 @@ var ClaimRegulationsApiFp = function (configuration) {
|
|
|
806
814
|
});
|
|
807
815
|
},
|
|
808
816
|
/**
|
|
809
|
-
* 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\"
|
|
817
|
+
* 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.
|
|
810
818
|
* @summary List claim regulation items
|
|
811
819
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
812
820
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -817,6 +825,7 @@ var ClaimRegulationsApiFp = function (configuration) {
|
|
|
817
825
|
* @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>
|
|
818
826
|
* @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>
|
|
819
827
|
* @param {*} [options] Override http request option.
|
|
828
|
+
* @deprecated
|
|
820
829
|
* @throws {RequiredError}
|
|
821
830
|
*/
|
|
822
831
|
listClaimRegulations1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -841,12 +850,12 @@ var ClaimRegulationsApiFp = function (configuration) {
|
|
|
841
850
|
* @param {*} [options] Override http request option.
|
|
842
851
|
* @throws {RequiredError}
|
|
843
852
|
*/
|
|
844
|
-
|
|
853
|
+
updateClaimRegulation: function (code, updateRegulationItemRequestDto, authorization, options) {
|
|
845
854
|
return __awaiter(this, void 0, void 0, function () {
|
|
846
855
|
var localVarAxiosArgs;
|
|
847
856
|
return __generator(this, function (_a) {
|
|
848
857
|
switch (_a.label) {
|
|
849
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
858
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaimRegulation(code, updateRegulationItemRequestDto, authorization, options)];
|
|
850
859
|
case 1:
|
|
851
860
|
localVarAxiosArgs = _a.sent();
|
|
852
861
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -855,12 +864,13 @@ var ClaimRegulationsApiFp = function (configuration) {
|
|
|
855
864
|
});
|
|
856
865
|
},
|
|
857
866
|
/**
|
|
858
|
-
* 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\"
|
|
867
|
+
* 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.
|
|
859
868
|
* @summary Update the claim regulation item
|
|
860
869
|
* @param {string} code Unique identifier for the object.
|
|
861
870
|
* @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
|
|
862
871
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
863
872
|
* @param {*} [options] Override http request option.
|
|
873
|
+
* @deprecated
|
|
864
874
|
* @throws {RequiredError}
|
|
865
875
|
*/
|
|
866
876
|
updateClaimRegulation1: function (code, updateRegulationItemRequestDto, authorization, options) {
|
|
@@ -894,15 +904,16 @@ var ClaimRegulationsApiFactory = function (configuration, basePath, axios) {
|
|
|
894
904
|
* @param {*} [options] Override http request option.
|
|
895
905
|
* @throws {RequiredError}
|
|
896
906
|
*/
|
|
897
|
-
|
|
898
|
-
return localVarFp.
|
|
907
|
+
createClaimRegulation: function (createRegulationItemRequestDto, authorization, options) {
|
|
908
|
+
return localVarFp.createClaimRegulation(createRegulationItemRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
899
909
|
},
|
|
900
910
|
/**
|
|
901
|
-
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\"
|
|
911
|
+
* 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.
|
|
902
912
|
* @summary Create the claim regulation item
|
|
903
913
|
* @param {CreateRegulationItemRequestDto} createRegulationItemRequestDto
|
|
904
914
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
905
915
|
* @param {*} [options] Override http request option.
|
|
916
|
+
* @deprecated
|
|
906
917
|
* @throws {RequiredError}
|
|
907
918
|
*/
|
|
908
919
|
createClaimRegulation1: function (createRegulationItemRequestDto, authorization, options) {
|
|
@@ -916,15 +927,16 @@ var ClaimRegulationsApiFactory = function (configuration, basePath, axios) {
|
|
|
916
927
|
* @param {*} [options] Override http request option.
|
|
917
928
|
* @throws {RequiredError}
|
|
918
929
|
*/
|
|
919
|
-
|
|
920
|
-
return localVarFp.
|
|
930
|
+
deleteClaimRegulations: function (code, authorization, options) {
|
|
931
|
+
return localVarFp.deleteClaimRegulations(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
921
932
|
},
|
|
922
933
|
/**
|
|
923
|
-
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
|
|
934
|
+
* 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.
|
|
924
935
|
* @summary Delete the claim regulation item
|
|
925
936
|
* @param {string} code Unique identifier for the object.
|
|
926
937
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
927
938
|
* @param {*} [options] Override http request option.
|
|
939
|
+
* @deprecated
|
|
928
940
|
* @throws {RequiredError}
|
|
929
941
|
*/
|
|
930
942
|
deleteClaimRegulations1: function (code, authorization, options) {
|
|
@@ -939,16 +951,17 @@ var ClaimRegulationsApiFactory = function (configuration, basePath, axios) {
|
|
|
939
951
|
* @param {*} [options] Override http request option.
|
|
940
952
|
* @throws {RequiredError}
|
|
941
953
|
*/
|
|
942
|
-
|
|
943
|
-
return localVarFp.
|
|
954
|
+
getClaimRegulation: function (code, authorization, expand, options) {
|
|
955
|
+
return localVarFp.getClaimRegulation(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
944
956
|
},
|
|
945
957
|
/**
|
|
946
|
-
* 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\"
|
|
958
|
+
* 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.
|
|
947
959
|
* @summary Retrieve the claim regulation item
|
|
948
960
|
* @param {string} code
|
|
949
961
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
950
962
|
* @param {'claim'} [expand]
|
|
951
963
|
* @param {*} [options] Override http request option.
|
|
964
|
+
* @deprecated
|
|
952
965
|
* @throws {RequiredError}
|
|
953
966
|
*/
|
|
954
967
|
getClaimRegulation1: function (code, authorization, expand, options) {
|
|
@@ -968,11 +981,11 @@ var ClaimRegulationsApiFactory = function (configuration, basePath, axios) {
|
|
|
968
981
|
* @param {*} [options] Override http request option.
|
|
969
982
|
* @throws {RequiredError}
|
|
970
983
|
*/
|
|
971
|
-
|
|
972
|
-
return localVarFp.
|
|
984
|
+
listClaimRegulations: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
985
|
+
return localVarFp.listClaimRegulations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
973
986
|
},
|
|
974
987
|
/**
|
|
975
|
-
* 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\"
|
|
988
|
+
* 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.
|
|
976
989
|
* @summary List claim regulation items
|
|
977
990
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
978
991
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -983,6 +996,7 @@ var ClaimRegulationsApiFactory = function (configuration, basePath, axios) {
|
|
|
983
996
|
* @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>
|
|
984
997
|
* @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>
|
|
985
998
|
* @param {*} [options] Override http request option.
|
|
999
|
+
* @deprecated
|
|
986
1000
|
* @throws {RequiredError}
|
|
987
1001
|
*/
|
|
988
1002
|
listClaimRegulations1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -997,16 +1011,17 @@ var ClaimRegulationsApiFactory = function (configuration, basePath, axios) {
|
|
|
997
1011
|
* @param {*} [options] Override http request option.
|
|
998
1012
|
* @throws {RequiredError}
|
|
999
1013
|
*/
|
|
1000
|
-
|
|
1001
|
-
return localVarFp.
|
|
1014
|
+
updateClaimRegulation: function (code, updateRegulationItemRequestDto, authorization, options) {
|
|
1015
|
+
return localVarFp.updateClaimRegulation(code, updateRegulationItemRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1002
1016
|
},
|
|
1003
1017
|
/**
|
|
1004
|
-
* 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\"
|
|
1018
|
+
* 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.
|
|
1005
1019
|
* @summary Update the claim regulation item
|
|
1006
1020
|
* @param {string} code Unique identifier for the object.
|
|
1007
1021
|
* @param {UpdateRegulationItemRequestDto} updateRegulationItemRequestDto
|
|
1008
1022
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1009
1023
|
* @param {*} [options] Override http request option.
|
|
1024
|
+
* @deprecated
|
|
1010
1025
|
* @throws {RequiredError}
|
|
1011
1026
|
*/
|
|
1012
1027
|
updateClaimRegulation1: function (code, updateRegulationItemRequestDto, authorization, options) {
|
|
@@ -1029,20 +1044,21 @@ var ClaimRegulationsApi = /** @class */ (function (_super) {
|
|
|
1029
1044
|
/**
|
|
1030
1045
|
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\"
|
|
1031
1046
|
* @summary Create the claim regulation item
|
|
1032
|
-
* @param {
|
|
1047
|
+
* @param {ClaimRegulationsApiCreateClaimRegulationRequest} requestParameters Request parameters.
|
|
1033
1048
|
* @param {*} [options] Override http request option.
|
|
1034
1049
|
* @throws {RequiredError}
|
|
1035
1050
|
* @memberof ClaimRegulationsApi
|
|
1036
1051
|
*/
|
|
1037
|
-
ClaimRegulationsApi.prototype.
|
|
1052
|
+
ClaimRegulationsApi.prototype.createClaimRegulation = function (requestParameters, options) {
|
|
1038
1053
|
var _this = this;
|
|
1039
|
-
return (0, exports.ClaimRegulationsApiFp)(this.configuration).
|
|
1054
|
+
return (0, exports.ClaimRegulationsApiFp)(this.configuration).createClaimRegulation(requestParameters.createRegulationItemRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1040
1055
|
};
|
|
1041
1056
|
/**
|
|
1042
|
-
* This endpoint will create a new regulation item for a claim **Required Permissions** \"claim-management.regulations.create\"
|
|
1057
|
+
* 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.
|
|
1043
1058
|
* @summary Create the claim regulation item
|
|
1044
1059
|
* @param {ClaimRegulationsApiCreateClaimRegulation1Request} requestParameters Request parameters.
|
|
1045
1060
|
* @param {*} [options] Override http request option.
|
|
1061
|
+
* @deprecated
|
|
1046
1062
|
* @throws {RequiredError}
|
|
1047
1063
|
* @memberof ClaimRegulationsApi
|
|
1048
1064
|
*/
|
|
@@ -1053,20 +1069,21 @@ var ClaimRegulationsApi = /** @class */ (function (_super) {
|
|
|
1053
1069
|
/**
|
|
1054
1070
|
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
|
|
1055
1071
|
* @summary Delete the claim regulation item
|
|
1056
|
-
* @param {
|
|
1072
|
+
* @param {ClaimRegulationsApiDeleteClaimRegulationsRequest} requestParameters Request parameters.
|
|
1057
1073
|
* @param {*} [options] Override http request option.
|
|
1058
1074
|
* @throws {RequiredError}
|
|
1059
1075
|
* @memberof ClaimRegulationsApi
|
|
1060
1076
|
*/
|
|
1061
|
-
ClaimRegulationsApi.prototype.
|
|
1077
|
+
ClaimRegulationsApi.prototype.deleteClaimRegulations = function (requestParameters, options) {
|
|
1062
1078
|
var _this = this;
|
|
1063
|
-
return (0, exports.ClaimRegulationsApiFp)(this.configuration).
|
|
1079
|
+
return (0, exports.ClaimRegulationsApiFp)(this.configuration).deleteClaimRegulations(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1064
1080
|
};
|
|
1065
1081
|
/**
|
|
1066
|
-
* This will delete the regulation item identified by the code. **Required Permissions** \"claim-management.regulations.delete\"
|
|
1082
|
+
* 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.
|
|
1067
1083
|
* @summary Delete the claim regulation item
|
|
1068
1084
|
* @param {ClaimRegulationsApiDeleteClaimRegulations1Request} requestParameters Request parameters.
|
|
1069
1085
|
* @param {*} [options] Override http request option.
|
|
1086
|
+
* @deprecated
|
|
1070
1087
|
* @throws {RequiredError}
|
|
1071
1088
|
* @memberof ClaimRegulationsApi
|
|
1072
1089
|
*/
|
|
@@ -1077,20 +1094,21 @@ var ClaimRegulationsApi = /** @class */ (function (_super) {
|
|
|
1077
1094
|
/**
|
|
1078
1095
|
* 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\"
|
|
1079
1096
|
* @summary Retrieve the claim regulation item
|
|
1080
|
-
* @param {
|
|
1097
|
+
* @param {ClaimRegulationsApiGetClaimRegulationRequest} requestParameters Request parameters.
|
|
1081
1098
|
* @param {*} [options] Override http request option.
|
|
1082
1099
|
* @throws {RequiredError}
|
|
1083
1100
|
* @memberof ClaimRegulationsApi
|
|
1084
1101
|
*/
|
|
1085
|
-
ClaimRegulationsApi.prototype.
|
|
1102
|
+
ClaimRegulationsApi.prototype.getClaimRegulation = function (requestParameters, options) {
|
|
1086
1103
|
var _this = this;
|
|
1087
|
-
return (0, exports.ClaimRegulationsApiFp)(this.configuration).
|
|
1104
|
+
return (0, exports.ClaimRegulationsApiFp)(this.configuration).getClaimRegulation(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1088
1105
|
};
|
|
1089
1106
|
/**
|
|
1090
|
-
* 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\"
|
|
1107
|
+
* 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.
|
|
1091
1108
|
* @summary Retrieve the claim regulation item
|
|
1092
1109
|
* @param {ClaimRegulationsApiGetClaimRegulation1Request} requestParameters Request parameters.
|
|
1093
1110
|
* @param {*} [options] Override http request option.
|
|
1111
|
+
* @deprecated
|
|
1094
1112
|
* @throws {RequiredError}
|
|
1095
1113
|
* @memberof ClaimRegulationsApi
|
|
1096
1114
|
*/
|
|
@@ -1101,21 +1119,22 @@ var ClaimRegulationsApi = /** @class */ (function (_super) {
|
|
|
1101
1119
|
/**
|
|
1102
1120
|
* 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\"
|
|
1103
1121
|
* @summary List claim regulation items
|
|
1104
|
-
* @param {
|
|
1122
|
+
* @param {ClaimRegulationsApiListClaimRegulationsRequest} requestParameters Request parameters.
|
|
1105
1123
|
* @param {*} [options] Override http request option.
|
|
1106
1124
|
* @throws {RequiredError}
|
|
1107
1125
|
* @memberof ClaimRegulationsApi
|
|
1108
1126
|
*/
|
|
1109
|
-
ClaimRegulationsApi.prototype.
|
|
1127
|
+
ClaimRegulationsApi.prototype.listClaimRegulations = function (requestParameters, options) {
|
|
1110
1128
|
var _this = this;
|
|
1111
1129
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1112
|
-
return (0, exports.ClaimRegulationsApiFp)(this.configuration).
|
|
1130
|
+
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); });
|
|
1113
1131
|
};
|
|
1114
1132
|
/**
|
|
1115
|
-
* 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\"
|
|
1133
|
+
* 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.
|
|
1116
1134
|
* @summary List claim regulation items
|
|
1117
1135
|
* @param {ClaimRegulationsApiListClaimRegulations1Request} requestParameters Request parameters.
|
|
1118
1136
|
* @param {*} [options] Override http request option.
|
|
1137
|
+
* @deprecated
|
|
1119
1138
|
* @throws {RequiredError}
|
|
1120
1139
|
* @memberof ClaimRegulationsApi
|
|
1121
1140
|
*/
|
|
@@ -1127,20 +1146,21 @@ var ClaimRegulationsApi = /** @class */ (function (_super) {
|
|
|
1127
1146
|
/**
|
|
1128
1147
|
* 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\"
|
|
1129
1148
|
* @summary Update the claim regulation item
|
|
1130
|
-
* @param {
|
|
1149
|
+
* @param {ClaimRegulationsApiUpdateClaimRegulationRequest} requestParameters Request parameters.
|
|
1131
1150
|
* @param {*} [options] Override http request option.
|
|
1132
1151
|
* @throws {RequiredError}
|
|
1133
1152
|
* @memberof ClaimRegulationsApi
|
|
1134
1153
|
*/
|
|
1135
|
-
ClaimRegulationsApi.prototype.
|
|
1154
|
+
ClaimRegulationsApi.prototype.updateClaimRegulation = function (requestParameters, options) {
|
|
1136
1155
|
var _this = this;
|
|
1137
|
-
return (0, exports.ClaimRegulationsApiFp)(this.configuration).
|
|
1156
|
+
return (0, exports.ClaimRegulationsApiFp)(this.configuration).updateClaimRegulation(requestParameters.code, requestParameters.updateRegulationItemRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1138
1157
|
};
|
|
1139
1158
|
/**
|
|
1140
|
-
* 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\"
|
|
1159
|
+
* 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.
|
|
1141
1160
|
* @summary Update the claim regulation item
|
|
1142
1161
|
* @param {ClaimRegulationsApiUpdateClaimRegulation1Request} requestParameters Request parameters.
|
|
1143
1162
|
* @param {*} [options] Override http request option.
|
|
1163
|
+
* @deprecated
|
|
1144
1164
|
* @throws {RequiredError}
|
|
1145
1165
|
* @memberof ClaimRegulationsApi
|
|
1146
1166
|
*/
|