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