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