@emilgroup/claim-sdk-node 1.41.1-beta.0 → 1.41.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api/claim-limit-usages-api.ts +53 -45
- package/api/claim-partner-roles-api.ts +127 -107
- package/api/claim-partners-api.ts +103 -87
- package/api/claim-positions-api.ts +181 -153
- package/api/claim-regulations-api.ts +128 -108
- package/api/claim-statuses-api.ts +153 -129
- package/api/claims-api.ts +177 -149
- package/api/health-check-api.ts +46 -38
- package/api/settlements-api.ts +127 -107
- package/dist/api/claim-limit-usages-api.d.ts +42 -34
- package/dist/api/claim-limit-usages-api.js +37 -29
- package/dist/api/claim-partner-roles-api.d.ts +97 -77
- package/dist/api/claim-partner-roles-api.js +95 -75
- package/dist/api/claim-partners-api.d.ts +79 -63
- package/dist/api/claim-partners-api.js +76 -60
- package/dist/api/claim-positions-api.d.ts +136 -108
- package/dist/api/claim-positions-api.js +136 -108
- package/dist/api/claim-regulations-api.d.ts +98 -78
- package/dist/api/claim-regulations-api.js +95 -75
- package/dist/api/claim-statuses-api.d.ts +116 -92
- package/dist/api/claim-statuses-api.js +115 -91
- package/dist/api/claims-api.d.ts +134 -106
- package/dist/api/claims-api.js +134 -106
- package/dist/api/health-check-api.d.ts +32 -24
- package/dist/api/health-check-api.js +46 -38
- package/dist/api/settlements-api.d.ts +97 -77
- package/dist/api/settlements-api.js +95 -75
- package/package.json +1 -1
|
@@ -104,7 +104,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
104
104
|
* @param {*} [options] Override http request option.
|
|
105
105
|
* @throws {RequiredError}
|
|
106
106
|
*/
|
|
107
|
-
|
|
107
|
+
createClaimStatus: function (createClaimStatusRequestDto, 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 ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
112
112
|
switch (_a.label) {
|
|
113
113
|
case 0:
|
|
114
114
|
// verify required parameter 'createClaimStatusRequestDto' is not null or undefined
|
|
115
|
-
(0, common_1.assertParamExists)('
|
|
116
|
-
localVarPath = "/v1/claim-statuses";
|
|
115
|
+
(0, common_1.assertParamExists)('createClaimStatus', 'createClaimStatusRequestDto', createClaimStatusRequestDto);
|
|
116
|
+
localVarPath = "/claimservice/v1/claim-statuses";
|
|
117
117
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
118
118
|
if (configuration) {
|
|
119
119
|
baseOptions = configuration.baseOptions;
|
|
@@ -146,11 +146,12 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
146
146
|
});
|
|
147
147
|
},
|
|
148
148
|
/**
|
|
149
|
-
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\"
|
|
149
|
+
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
150
150
|
* @summary Create the claim status
|
|
151
151
|
* @param {CreateClaimStatusRequestDto} createClaimStatusRequestDto
|
|
152
152
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
153
153
|
* @param {*} [options] Override http request option.
|
|
154
|
+
* @deprecated
|
|
154
155
|
* @throws {RequiredError}
|
|
155
156
|
*/
|
|
156
157
|
createClaimStatus1: function (createClaimStatusRequestDto, authorization, options) {
|
|
@@ -162,7 +163,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
162
163
|
case 0:
|
|
163
164
|
// verify required parameter 'createClaimStatusRequestDto' is not null or undefined
|
|
164
165
|
(0, common_1.assertParamExists)('createClaimStatus1', 'createClaimStatusRequestDto', createClaimStatusRequestDto);
|
|
165
|
-
localVarPath = "/
|
|
166
|
+
localVarPath = "/v1/claim-statuses";
|
|
166
167
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
167
168
|
if (configuration) {
|
|
168
169
|
baseOptions = configuration.baseOptions;
|
|
@@ -202,7 +203,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
202
203
|
* @param {*} [options] Override http request option.
|
|
203
204
|
* @throws {RequiredError}
|
|
204
205
|
*/
|
|
205
|
-
|
|
206
|
+
deleteClaimStatus: function (id, authorization, options) {
|
|
206
207
|
if (options === void 0) { options = {}; }
|
|
207
208
|
return __awaiter(_this, void 0, void 0, function () {
|
|
208
209
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -210,8 +211,8 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
210
211
|
switch (_a.label) {
|
|
211
212
|
case 0:
|
|
212
213
|
// verify required parameter 'id' is not null or undefined
|
|
213
|
-
(0, common_1.assertParamExists)('
|
|
214
|
-
localVarPath = "/v1/claim-statuses/{id}"
|
|
214
|
+
(0, common_1.assertParamExists)('deleteClaimStatus', 'id', id);
|
|
215
|
+
localVarPath = "/claimservice/v1/claim-statuses/{id}"
|
|
215
216
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
216
217
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
217
218
|
if (configuration) {
|
|
@@ -243,11 +244,12 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
243
244
|
});
|
|
244
245
|
},
|
|
245
246
|
/**
|
|
246
|
-
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\"
|
|
247
|
+
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
247
248
|
* @summary Delete the claim status
|
|
248
249
|
* @param {number} id
|
|
249
250
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
250
251
|
* @param {*} [options] Override http request option.
|
|
252
|
+
* @deprecated
|
|
251
253
|
* @throws {RequiredError}
|
|
252
254
|
*/
|
|
253
255
|
deleteClaimStatus1: function (id, authorization, options) {
|
|
@@ -259,7 +261,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
259
261
|
case 0:
|
|
260
262
|
// verify required parameter 'id' is not null or undefined
|
|
261
263
|
(0, common_1.assertParamExists)('deleteClaimStatus1', 'id', id);
|
|
262
|
-
localVarPath = "/
|
|
264
|
+
localVarPath = "/v1/claim-statuses/{id}"
|
|
263
265
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
264
266
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
265
267
|
if (configuration) {
|
|
@@ -298,7 +300,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
298
300
|
* @param {*} [options] Override http request option.
|
|
299
301
|
* @throws {RequiredError}
|
|
300
302
|
*/
|
|
301
|
-
|
|
303
|
+
getClaimStatus: function (id, authorization, options) {
|
|
302
304
|
if (options === void 0) { options = {}; }
|
|
303
305
|
return __awaiter(_this, void 0, void 0, function () {
|
|
304
306
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -306,8 +308,8 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
306
308
|
switch (_a.label) {
|
|
307
309
|
case 0:
|
|
308
310
|
// verify required parameter 'id' is not null or undefined
|
|
309
|
-
(0, common_1.assertParamExists)('
|
|
310
|
-
localVarPath = "/v1/claim-statuses/{id}"
|
|
311
|
+
(0, common_1.assertParamExists)('getClaimStatus', 'id', id);
|
|
312
|
+
localVarPath = "/claimservice/v1/claim-statuses/{id}"
|
|
311
313
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
312
314
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
313
315
|
if (configuration) {
|
|
@@ -339,11 +341,12 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
339
341
|
});
|
|
340
342
|
},
|
|
341
343
|
/**
|
|
342
|
-
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\"
|
|
344
|
+
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
343
345
|
* @summary Retrieve the claim status
|
|
344
346
|
* @param {number} id
|
|
345
347
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
346
348
|
* @param {*} [options] Override http request option.
|
|
349
|
+
* @deprecated
|
|
347
350
|
* @throws {RequiredError}
|
|
348
351
|
*/
|
|
349
352
|
getClaimStatus1: function (id, authorization, options) {
|
|
@@ -355,7 +358,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
355
358
|
case 0:
|
|
356
359
|
// verify required parameter 'id' is not null or undefined
|
|
357
360
|
(0, common_1.assertParamExists)('getClaimStatus1', 'id', id);
|
|
358
|
-
localVarPath = "/
|
|
361
|
+
localVarPath = "/v1/claim-statuses/{id}"
|
|
359
362
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
360
363
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
361
364
|
if (configuration) {
|
|
@@ -400,14 +403,14 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
400
403
|
* @param {*} [options] Override http request option.
|
|
401
404
|
* @throws {RequiredError}
|
|
402
405
|
*/
|
|
403
|
-
|
|
406
|
+
listClaimStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
404
407
|
if (options === void 0) { options = {}; }
|
|
405
408
|
return __awaiter(_this, void 0, void 0, function () {
|
|
406
409
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
407
410
|
return __generator(this, function (_a) {
|
|
408
411
|
switch (_a.label) {
|
|
409
412
|
case 0:
|
|
410
|
-
localVarPath = "/v1/claim-statuses";
|
|
413
|
+
localVarPath = "/claimservice/v1/claim-statuses";
|
|
411
414
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
412
415
|
if (configuration) {
|
|
413
416
|
baseOptions = configuration.baseOptions;
|
|
@@ -459,7 +462,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
459
462
|
});
|
|
460
463
|
},
|
|
461
464
|
/**
|
|
462
|
-
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\"
|
|
465
|
+
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
463
466
|
* @summary List claim statuses
|
|
464
467
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
465
468
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -470,6 +473,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
470
473
|
* @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/>
|
|
471
474
|
* @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: id, name, productSlug</i>
|
|
472
475
|
* @param {*} [options] Override http request option.
|
|
476
|
+
* @deprecated
|
|
473
477
|
* @throws {RequiredError}
|
|
474
478
|
*/
|
|
475
479
|
listClaimStatuses1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -479,7 +483,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
479
483
|
return __generator(this, function (_a) {
|
|
480
484
|
switch (_a.label) {
|
|
481
485
|
case 0:
|
|
482
|
-
localVarPath = "/
|
|
486
|
+
localVarPath = "/v1/claim-statuses";
|
|
483
487
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
484
488
|
if (configuration) {
|
|
485
489
|
baseOptions = configuration.baseOptions;
|
|
@@ -539,7 +543,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
539
543
|
* @param {*} [options] Override http request option.
|
|
540
544
|
* @throws {RequiredError}
|
|
541
545
|
*/
|
|
542
|
-
|
|
546
|
+
patchClaimStatus: function (id, patchClaimStatusRequestDto, authorization, options) {
|
|
543
547
|
if (options === void 0) { options = {}; }
|
|
544
548
|
return __awaiter(_this, void 0, void 0, function () {
|
|
545
549
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -547,10 +551,10 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
547
551
|
switch (_a.label) {
|
|
548
552
|
case 0:
|
|
549
553
|
// verify required parameter 'id' is not null or undefined
|
|
550
|
-
(0, common_1.assertParamExists)('
|
|
554
|
+
(0, common_1.assertParamExists)('patchClaimStatus', 'id', id);
|
|
551
555
|
// verify required parameter 'patchClaimStatusRequestDto' is not null or undefined
|
|
552
|
-
(0, common_1.assertParamExists)('
|
|
553
|
-
localVarPath = "/v1/claim-statuses/{id}"
|
|
556
|
+
(0, common_1.assertParamExists)('patchClaimStatus', 'patchClaimStatusRequestDto', patchClaimStatusRequestDto);
|
|
557
|
+
localVarPath = "/claimservice/v1/claim-statuses/{id}"
|
|
554
558
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
555
559
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
556
560
|
if (configuration) {
|
|
@@ -584,12 +588,13 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
584
588
|
});
|
|
585
589
|
},
|
|
586
590
|
/**
|
|
587
|
-
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
591
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
588
592
|
* @summary Patch claim status
|
|
589
593
|
* @param {number} id
|
|
590
594
|
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
591
595
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
592
596
|
* @param {*} [options] Override http request option.
|
|
597
|
+
* @deprecated
|
|
593
598
|
* @throws {RequiredError}
|
|
594
599
|
*/
|
|
595
600
|
patchClaimStatus1: function (id, patchClaimStatusRequestDto, authorization, options) {
|
|
@@ -603,7 +608,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
603
608
|
(0, common_1.assertParamExists)('patchClaimStatus1', 'id', id);
|
|
604
609
|
// verify required parameter 'patchClaimStatusRequestDto' is not null or undefined
|
|
605
610
|
(0, common_1.assertParamExists)('patchClaimStatus1', 'patchClaimStatusRequestDto', patchClaimStatusRequestDto);
|
|
606
|
-
localVarPath = "/
|
|
611
|
+
localVarPath = "/v1/claim-statuses/{id}"
|
|
607
612
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
608
613
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
609
614
|
if (configuration) {
|
|
@@ -645,7 +650,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
645
650
|
* @param {*} [options] Override http request option.
|
|
646
651
|
* @throws {RequiredError}
|
|
647
652
|
*/
|
|
648
|
-
|
|
653
|
+
updateClaimStatus: function (id, updateClaimStatusRequestDto, authorization, options) {
|
|
649
654
|
if (options === void 0) { options = {}; }
|
|
650
655
|
return __awaiter(_this, void 0, void 0, function () {
|
|
651
656
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -653,10 +658,10 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
653
658
|
switch (_a.label) {
|
|
654
659
|
case 0:
|
|
655
660
|
// verify required parameter 'id' is not null or undefined
|
|
656
|
-
(0, common_1.assertParamExists)('
|
|
661
|
+
(0, common_1.assertParamExists)('updateClaimStatus', 'id', id);
|
|
657
662
|
// verify required parameter 'updateClaimStatusRequestDto' is not null or undefined
|
|
658
|
-
(0, common_1.assertParamExists)('
|
|
659
|
-
localVarPath = "/v1/claim-statuses/{id}"
|
|
663
|
+
(0, common_1.assertParamExists)('updateClaimStatus', 'updateClaimStatusRequestDto', updateClaimStatusRequestDto);
|
|
664
|
+
localVarPath = "/claimservice/v1/claim-statuses/{id}"
|
|
660
665
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
661
666
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
662
667
|
if (configuration) {
|
|
@@ -690,12 +695,13 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
690
695
|
});
|
|
691
696
|
},
|
|
692
697
|
/**
|
|
693
|
-
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
698
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
694
699
|
* @summary Update the claim status
|
|
695
700
|
* @param {number} id
|
|
696
701
|
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
697
702
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
698
703
|
* @param {*} [options] Override http request option.
|
|
704
|
+
* @deprecated
|
|
699
705
|
* @throws {RequiredError}
|
|
700
706
|
*/
|
|
701
707
|
updateClaimStatus1: function (id, updateClaimStatusRequestDto, authorization, options) {
|
|
@@ -709,7 +715,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
709
715
|
(0, common_1.assertParamExists)('updateClaimStatus1', 'id', id);
|
|
710
716
|
// verify required parameter 'updateClaimStatusRequestDto' is not null or undefined
|
|
711
717
|
(0, common_1.assertParamExists)('updateClaimStatus1', 'updateClaimStatusRequestDto', updateClaimStatusRequestDto);
|
|
712
|
-
localVarPath = "/
|
|
718
|
+
localVarPath = "/v1/claim-statuses/{id}"
|
|
713
719
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
714
720
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
715
721
|
if (configuration) {
|
|
@@ -760,12 +766,12 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
760
766
|
* @param {*} [options] Override http request option.
|
|
761
767
|
* @throws {RequiredError}
|
|
762
768
|
*/
|
|
763
|
-
|
|
769
|
+
createClaimStatus: function (createClaimStatusRequestDto, authorization, options) {
|
|
764
770
|
return __awaiter(this, void 0, void 0, function () {
|
|
765
771
|
var localVarAxiosArgs;
|
|
766
772
|
return __generator(this, function (_a) {
|
|
767
773
|
switch (_a.label) {
|
|
768
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
774
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createClaimStatus(createClaimStatusRequestDto, authorization, options)];
|
|
769
775
|
case 1:
|
|
770
776
|
localVarAxiosArgs = _a.sent();
|
|
771
777
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -774,11 +780,12 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
774
780
|
});
|
|
775
781
|
},
|
|
776
782
|
/**
|
|
777
|
-
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\"
|
|
783
|
+
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
778
784
|
* @summary Create the claim status
|
|
779
785
|
* @param {CreateClaimStatusRequestDto} createClaimStatusRequestDto
|
|
780
786
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
781
787
|
* @param {*} [options] Override http request option.
|
|
788
|
+
* @deprecated
|
|
782
789
|
* @throws {RequiredError}
|
|
783
790
|
*/
|
|
784
791
|
createClaimStatus1: function (createClaimStatusRequestDto, authorization, options) {
|
|
@@ -802,12 +809,12 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
802
809
|
* @param {*} [options] Override http request option.
|
|
803
810
|
* @throws {RequiredError}
|
|
804
811
|
*/
|
|
805
|
-
|
|
812
|
+
deleteClaimStatus: function (id, authorization, options) {
|
|
806
813
|
return __awaiter(this, void 0, void 0, function () {
|
|
807
814
|
var localVarAxiosArgs;
|
|
808
815
|
return __generator(this, function (_a) {
|
|
809
816
|
switch (_a.label) {
|
|
810
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
817
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteClaimStatus(id, authorization, options)];
|
|
811
818
|
case 1:
|
|
812
819
|
localVarAxiosArgs = _a.sent();
|
|
813
820
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -816,11 +823,12 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
816
823
|
});
|
|
817
824
|
},
|
|
818
825
|
/**
|
|
819
|
-
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\"
|
|
826
|
+
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
820
827
|
* @summary Delete the claim status
|
|
821
828
|
* @param {number} id
|
|
822
829
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
823
830
|
* @param {*} [options] Override http request option.
|
|
831
|
+
* @deprecated
|
|
824
832
|
* @throws {RequiredError}
|
|
825
833
|
*/
|
|
826
834
|
deleteClaimStatus1: function (id, authorization, options) {
|
|
@@ -844,12 +852,12 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
844
852
|
* @param {*} [options] Override http request option.
|
|
845
853
|
* @throws {RequiredError}
|
|
846
854
|
*/
|
|
847
|
-
|
|
855
|
+
getClaimStatus: function (id, authorization, options) {
|
|
848
856
|
return __awaiter(this, void 0, void 0, function () {
|
|
849
857
|
var localVarAxiosArgs;
|
|
850
858
|
return __generator(this, function (_a) {
|
|
851
859
|
switch (_a.label) {
|
|
852
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
860
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimStatus(id, authorization, options)];
|
|
853
861
|
case 1:
|
|
854
862
|
localVarAxiosArgs = _a.sent();
|
|
855
863
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -858,11 +866,12 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
858
866
|
});
|
|
859
867
|
},
|
|
860
868
|
/**
|
|
861
|
-
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\"
|
|
869
|
+
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
862
870
|
* @summary Retrieve the claim status
|
|
863
871
|
* @param {number} id
|
|
864
872
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
865
873
|
* @param {*} [options] Override http request option.
|
|
874
|
+
* @deprecated
|
|
866
875
|
* @throws {RequiredError}
|
|
867
876
|
*/
|
|
868
877
|
getClaimStatus1: function (id, authorization, options) {
|
|
@@ -892,12 +901,12 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
892
901
|
* @param {*} [options] Override http request option.
|
|
893
902
|
* @throws {RequiredError}
|
|
894
903
|
*/
|
|
895
|
-
|
|
904
|
+
listClaimStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
896
905
|
return __awaiter(this, void 0, void 0, function () {
|
|
897
906
|
var localVarAxiosArgs;
|
|
898
907
|
return __generator(this, function (_a) {
|
|
899
908
|
switch (_a.label) {
|
|
900
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
909
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
901
910
|
case 1:
|
|
902
911
|
localVarAxiosArgs = _a.sent();
|
|
903
912
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -906,7 +915,7 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
906
915
|
});
|
|
907
916
|
},
|
|
908
917
|
/**
|
|
909
|
-
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\"
|
|
918
|
+
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
910
919
|
* @summary List claim statuses
|
|
911
920
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
912
921
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -917,6 +926,7 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
917
926
|
* @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/>
|
|
918
927
|
* @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: id, name, productSlug</i>
|
|
919
928
|
* @param {*} [options] Override http request option.
|
|
929
|
+
* @deprecated
|
|
920
930
|
* @throws {RequiredError}
|
|
921
931
|
*/
|
|
922
932
|
listClaimStatuses1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -941,12 +951,12 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
941
951
|
* @param {*} [options] Override http request option.
|
|
942
952
|
* @throws {RequiredError}
|
|
943
953
|
*/
|
|
944
|
-
|
|
954
|
+
patchClaimStatus: function (id, patchClaimStatusRequestDto, authorization, options) {
|
|
945
955
|
return __awaiter(this, void 0, void 0, function () {
|
|
946
956
|
var localVarAxiosArgs;
|
|
947
957
|
return __generator(this, function (_a) {
|
|
948
958
|
switch (_a.label) {
|
|
949
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
959
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchClaimStatus(id, patchClaimStatusRequestDto, authorization, options)];
|
|
950
960
|
case 1:
|
|
951
961
|
localVarAxiosArgs = _a.sent();
|
|
952
962
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -955,12 +965,13 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
955
965
|
});
|
|
956
966
|
},
|
|
957
967
|
/**
|
|
958
|
-
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
968
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
959
969
|
* @summary Patch claim status
|
|
960
970
|
* @param {number} id
|
|
961
971
|
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
962
972
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
963
973
|
* @param {*} [options] Override http request option.
|
|
974
|
+
* @deprecated
|
|
964
975
|
* @throws {RequiredError}
|
|
965
976
|
*/
|
|
966
977
|
patchClaimStatus1: function (id, patchClaimStatusRequestDto, authorization, options) {
|
|
@@ -985,12 +996,12 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
985
996
|
* @param {*} [options] Override http request option.
|
|
986
997
|
* @throws {RequiredError}
|
|
987
998
|
*/
|
|
988
|
-
|
|
999
|
+
updateClaimStatus: function (id, updateClaimStatusRequestDto, authorization, options) {
|
|
989
1000
|
return __awaiter(this, void 0, void 0, function () {
|
|
990
1001
|
var localVarAxiosArgs;
|
|
991
1002
|
return __generator(this, function (_a) {
|
|
992
1003
|
switch (_a.label) {
|
|
993
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
1004
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaimStatus(id, updateClaimStatusRequestDto, authorization, options)];
|
|
994
1005
|
case 1:
|
|
995
1006
|
localVarAxiosArgs = _a.sent();
|
|
996
1007
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -999,12 +1010,13 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
999
1010
|
});
|
|
1000
1011
|
},
|
|
1001
1012
|
/**
|
|
1002
|
-
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
1013
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1003
1014
|
* @summary Update the claim status
|
|
1004
1015
|
* @param {number} id
|
|
1005
1016
|
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
1006
1017
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1007
1018
|
* @param {*} [options] Override http request option.
|
|
1019
|
+
* @deprecated
|
|
1008
1020
|
* @throws {RequiredError}
|
|
1009
1021
|
*/
|
|
1010
1022
|
updateClaimStatus1: function (id, updateClaimStatusRequestDto, authorization, options) {
|
|
@@ -1038,15 +1050,16 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
1038
1050
|
* @param {*} [options] Override http request option.
|
|
1039
1051
|
* @throws {RequiredError}
|
|
1040
1052
|
*/
|
|
1041
|
-
|
|
1042
|
-
return localVarFp.
|
|
1053
|
+
createClaimStatus: function (createClaimStatusRequestDto, authorization, options) {
|
|
1054
|
+
return localVarFp.createClaimStatus(createClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1043
1055
|
},
|
|
1044
1056
|
/**
|
|
1045
|
-
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\"
|
|
1057
|
+
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1046
1058
|
* @summary Create the claim status
|
|
1047
1059
|
* @param {CreateClaimStatusRequestDto} createClaimStatusRequestDto
|
|
1048
1060
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1049
1061
|
* @param {*} [options] Override http request option.
|
|
1062
|
+
* @deprecated
|
|
1050
1063
|
* @throws {RequiredError}
|
|
1051
1064
|
*/
|
|
1052
1065
|
createClaimStatus1: function (createClaimStatusRequestDto, authorization, options) {
|
|
@@ -1060,15 +1073,16 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
1060
1073
|
* @param {*} [options] Override http request option.
|
|
1061
1074
|
* @throws {RequiredError}
|
|
1062
1075
|
*/
|
|
1063
|
-
|
|
1064
|
-
return localVarFp.
|
|
1076
|
+
deleteClaimStatus: function (id, authorization, options) {
|
|
1077
|
+
return localVarFp.deleteClaimStatus(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1065
1078
|
},
|
|
1066
1079
|
/**
|
|
1067
|
-
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\"
|
|
1080
|
+
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1068
1081
|
* @summary Delete the claim status
|
|
1069
1082
|
* @param {number} id
|
|
1070
1083
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1071
1084
|
* @param {*} [options] Override http request option.
|
|
1085
|
+
* @deprecated
|
|
1072
1086
|
* @throws {RequiredError}
|
|
1073
1087
|
*/
|
|
1074
1088
|
deleteClaimStatus1: function (id, authorization, options) {
|
|
@@ -1082,15 +1096,16 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
1082
1096
|
* @param {*} [options] Override http request option.
|
|
1083
1097
|
* @throws {RequiredError}
|
|
1084
1098
|
*/
|
|
1085
|
-
|
|
1086
|
-
return localVarFp.
|
|
1099
|
+
getClaimStatus: function (id, authorization, options) {
|
|
1100
|
+
return localVarFp.getClaimStatus(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1087
1101
|
},
|
|
1088
1102
|
/**
|
|
1089
|
-
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\"
|
|
1103
|
+
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1090
1104
|
* @summary Retrieve the claim status
|
|
1091
1105
|
* @param {number} id
|
|
1092
1106
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1093
1107
|
* @param {*} [options] Override http request option.
|
|
1108
|
+
* @deprecated
|
|
1094
1109
|
* @throws {RequiredError}
|
|
1095
1110
|
*/
|
|
1096
1111
|
getClaimStatus1: function (id, authorization, options) {
|
|
@@ -1110,11 +1125,11 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
1110
1125
|
* @param {*} [options] Override http request option.
|
|
1111
1126
|
* @throws {RequiredError}
|
|
1112
1127
|
*/
|
|
1113
|
-
|
|
1114
|
-
return localVarFp.
|
|
1128
|
+
listClaimStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1129
|
+
return localVarFp.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
1115
1130
|
},
|
|
1116
1131
|
/**
|
|
1117
|
-
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\"
|
|
1132
|
+
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1118
1133
|
* @summary List claim statuses
|
|
1119
1134
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1120
1135
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -1125,6 +1140,7 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
1125
1140
|
* @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/>
|
|
1126
1141
|
* @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: id, name, productSlug</i>
|
|
1127
1142
|
* @param {*} [options] Override http request option.
|
|
1143
|
+
* @deprecated
|
|
1128
1144
|
* @throws {RequiredError}
|
|
1129
1145
|
*/
|
|
1130
1146
|
listClaimStatuses1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -1139,16 +1155,17 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
1139
1155
|
* @param {*} [options] Override http request option.
|
|
1140
1156
|
* @throws {RequiredError}
|
|
1141
1157
|
*/
|
|
1142
|
-
|
|
1143
|
-
return localVarFp.
|
|
1158
|
+
patchClaimStatus: function (id, patchClaimStatusRequestDto, authorization, options) {
|
|
1159
|
+
return localVarFp.patchClaimStatus(id, patchClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1144
1160
|
},
|
|
1145
1161
|
/**
|
|
1146
|
-
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
1162
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1147
1163
|
* @summary Patch claim status
|
|
1148
1164
|
* @param {number} id
|
|
1149
1165
|
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
1150
1166
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1151
1167
|
* @param {*} [options] Override http request option.
|
|
1168
|
+
* @deprecated
|
|
1152
1169
|
* @throws {RequiredError}
|
|
1153
1170
|
*/
|
|
1154
1171
|
patchClaimStatus1: function (id, patchClaimStatusRequestDto, authorization, options) {
|
|
@@ -1163,16 +1180,17 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
1163
1180
|
* @param {*} [options] Override http request option.
|
|
1164
1181
|
* @throws {RequiredError}
|
|
1165
1182
|
*/
|
|
1166
|
-
|
|
1167
|
-
return localVarFp.
|
|
1183
|
+
updateClaimStatus: function (id, updateClaimStatusRequestDto, authorization, options) {
|
|
1184
|
+
return localVarFp.updateClaimStatus(id, updateClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1168
1185
|
},
|
|
1169
1186
|
/**
|
|
1170
|
-
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
1187
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1171
1188
|
* @summary Update the claim status
|
|
1172
1189
|
* @param {number} id
|
|
1173
1190
|
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
1174
1191
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1175
1192
|
* @param {*} [options] Override http request option.
|
|
1193
|
+
* @deprecated
|
|
1176
1194
|
* @throws {RequiredError}
|
|
1177
1195
|
*/
|
|
1178
1196
|
updateClaimStatus1: function (id, updateClaimStatusRequestDto, authorization, options) {
|
|
@@ -1195,20 +1213,21 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
|
|
|
1195
1213
|
/**
|
|
1196
1214
|
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\"
|
|
1197
1215
|
* @summary Create the claim status
|
|
1198
|
-
* @param {
|
|
1216
|
+
* @param {ClaimStatusesApiCreateClaimStatusRequest} requestParameters Request parameters.
|
|
1199
1217
|
* @param {*} [options] Override http request option.
|
|
1200
1218
|
* @throws {RequiredError}
|
|
1201
1219
|
* @memberof ClaimStatusesApi
|
|
1202
1220
|
*/
|
|
1203
|
-
ClaimStatusesApi.prototype.
|
|
1221
|
+
ClaimStatusesApi.prototype.createClaimStatus = function (requestParameters, options) {
|
|
1204
1222
|
var _this = this;
|
|
1205
|
-
return (0, exports.ClaimStatusesApiFp)(this.configuration).
|
|
1223
|
+
return (0, exports.ClaimStatusesApiFp)(this.configuration).createClaimStatus(requestParameters.createClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1206
1224
|
};
|
|
1207
1225
|
/**
|
|
1208
|
-
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\"
|
|
1226
|
+
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1209
1227
|
* @summary Create the claim status
|
|
1210
1228
|
* @param {ClaimStatusesApiCreateClaimStatus1Request} requestParameters Request parameters.
|
|
1211
1229
|
* @param {*} [options] Override http request option.
|
|
1230
|
+
* @deprecated
|
|
1212
1231
|
* @throws {RequiredError}
|
|
1213
1232
|
* @memberof ClaimStatusesApi
|
|
1214
1233
|
*/
|
|
@@ -1219,20 +1238,21 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
|
|
|
1219
1238
|
/**
|
|
1220
1239
|
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\"
|
|
1221
1240
|
* @summary Delete the claim status
|
|
1222
|
-
* @param {
|
|
1241
|
+
* @param {ClaimStatusesApiDeleteClaimStatusRequest} requestParameters Request parameters.
|
|
1223
1242
|
* @param {*} [options] Override http request option.
|
|
1224
1243
|
* @throws {RequiredError}
|
|
1225
1244
|
* @memberof ClaimStatusesApi
|
|
1226
1245
|
*/
|
|
1227
|
-
ClaimStatusesApi.prototype.
|
|
1246
|
+
ClaimStatusesApi.prototype.deleteClaimStatus = function (requestParameters, options) {
|
|
1228
1247
|
var _this = this;
|
|
1229
|
-
return (0, exports.ClaimStatusesApiFp)(this.configuration).
|
|
1248
|
+
return (0, exports.ClaimStatusesApiFp)(this.configuration).deleteClaimStatus(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1230
1249
|
};
|
|
1231
1250
|
/**
|
|
1232
|
-
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\"
|
|
1251
|
+
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1233
1252
|
* @summary Delete the claim status
|
|
1234
1253
|
* @param {ClaimStatusesApiDeleteClaimStatus1Request} requestParameters Request parameters.
|
|
1235
1254
|
* @param {*} [options] Override http request option.
|
|
1255
|
+
* @deprecated
|
|
1236
1256
|
* @throws {RequiredError}
|
|
1237
1257
|
* @memberof ClaimStatusesApi
|
|
1238
1258
|
*/
|
|
@@ -1243,20 +1263,21 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
|
|
|
1243
1263
|
/**
|
|
1244
1264
|
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\"
|
|
1245
1265
|
* @summary Retrieve the claim status
|
|
1246
|
-
* @param {
|
|
1266
|
+
* @param {ClaimStatusesApiGetClaimStatusRequest} requestParameters Request parameters.
|
|
1247
1267
|
* @param {*} [options] Override http request option.
|
|
1248
1268
|
* @throws {RequiredError}
|
|
1249
1269
|
* @memberof ClaimStatusesApi
|
|
1250
1270
|
*/
|
|
1251
|
-
ClaimStatusesApi.prototype.
|
|
1271
|
+
ClaimStatusesApi.prototype.getClaimStatus = function (requestParameters, options) {
|
|
1252
1272
|
var _this = this;
|
|
1253
|
-
return (0, exports.ClaimStatusesApiFp)(this.configuration).
|
|
1273
|
+
return (0, exports.ClaimStatusesApiFp)(this.configuration).getClaimStatus(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1254
1274
|
};
|
|
1255
1275
|
/**
|
|
1256
|
-
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\"
|
|
1276
|
+
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1257
1277
|
* @summary Retrieve the claim status
|
|
1258
1278
|
* @param {ClaimStatusesApiGetClaimStatus1Request} requestParameters Request parameters.
|
|
1259
1279
|
* @param {*} [options] Override http request option.
|
|
1280
|
+
* @deprecated
|
|
1260
1281
|
* @throws {RequiredError}
|
|
1261
1282
|
* @memberof ClaimStatusesApi
|
|
1262
1283
|
*/
|
|
@@ -1267,21 +1288,22 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
|
|
|
1267
1288
|
/**
|
|
1268
1289
|
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\"
|
|
1269
1290
|
* @summary List claim statuses
|
|
1270
|
-
* @param {
|
|
1291
|
+
* @param {ClaimStatusesApiListClaimStatusesRequest} requestParameters Request parameters.
|
|
1271
1292
|
* @param {*} [options] Override http request option.
|
|
1272
1293
|
* @throws {RequiredError}
|
|
1273
1294
|
* @memberof ClaimStatusesApi
|
|
1274
1295
|
*/
|
|
1275
|
-
ClaimStatusesApi.prototype.
|
|
1296
|
+
ClaimStatusesApi.prototype.listClaimStatuses = function (requestParameters, options) {
|
|
1276
1297
|
var _this = this;
|
|
1277
1298
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1278
|
-
return (0, exports.ClaimStatusesApiFp)(this.configuration).
|
|
1299
|
+
return (0, exports.ClaimStatusesApiFp)(this.configuration).listClaimStatuses(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); });
|
|
1279
1300
|
};
|
|
1280
1301
|
/**
|
|
1281
|
-
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\"
|
|
1302
|
+
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1282
1303
|
* @summary List claim statuses
|
|
1283
1304
|
* @param {ClaimStatusesApiListClaimStatuses1Request} requestParameters Request parameters.
|
|
1284
1305
|
* @param {*} [options] Override http request option.
|
|
1306
|
+
* @deprecated
|
|
1285
1307
|
* @throws {RequiredError}
|
|
1286
1308
|
* @memberof ClaimStatusesApi
|
|
1287
1309
|
*/
|
|
@@ -1293,20 +1315,21 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
|
|
|
1293
1315
|
/**
|
|
1294
1316
|
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
1295
1317
|
* @summary Patch claim status
|
|
1296
|
-
* @param {
|
|
1318
|
+
* @param {ClaimStatusesApiPatchClaimStatusRequest} requestParameters Request parameters.
|
|
1297
1319
|
* @param {*} [options] Override http request option.
|
|
1298
1320
|
* @throws {RequiredError}
|
|
1299
1321
|
* @memberof ClaimStatusesApi
|
|
1300
1322
|
*/
|
|
1301
|
-
ClaimStatusesApi.prototype.
|
|
1323
|
+
ClaimStatusesApi.prototype.patchClaimStatus = function (requestParameters, options) {
|
|
1302
1324
|
var _this = this;
|
|
1303
|
-
return (0, exports.ClaimStatusesApiFp)(this.configuration).
|
|
1325
|
+
return (0, exports.ClaimStatusesApiFp)(this.configuration).patchClaimStatus(requestParameters.id, requestParameters.patchClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1304
1326
|
};
|
|
1305
1327
|
/**
|
|
1306
|
-
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
1328
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1307
1329
|
* @summary Patch claim status
|
|
1308
1330
|
* @param {ClaimStatusesApiPatchClaimStatus1Request} requestParameters Request parameters.
|
|
1309
1331
|
* @param {*} [options] Override http request option.
|
|
1332
|
+
* @deprecated
|
|
1310
1333
|
* @throws {RequiredError}
|
|
1311
1334
|
* @memberof ClaimStatusesApi
|
|
1312
1335
|
*/
|
|
@@ -1317,20 +1340,21 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
|
|
|
1317
1340
|
/**
|
|
1318
1341
|
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
1319
1342
|
* @summary Update the claim status
|
|
1320
|
-
* @param {
|
|
1343
|
+
* @param {ClaimStatusesApiUpdateClaimStatusRequest} requestParameters Request parameters.
|
|
1321
1344
|
* @param {*} [options] Override http request option.
|
|
1322
1345
|
* @throws {RequiredError}
|
|
1323
1346
|
* @memberof ClaimStatusesApi
|
|
1324
1347
|
*/
|
|
1325
|
-
ClaimStatusesApi.prototype.
|
|
1348
|
+
ClaimStatusesApi.prototype.updateClaimStatus = function (requestParameters, options) {
|
|
1326
1349
|
var _this = this;
|
|
1327
|
-
return (0, exports.ClaimStatusesApiFp)(this.configuration).
|
|
1350
|
+
return (0, exports.ClaimStatusesApiFp)(this.configuration).updateClaimStatus(requestParameters.id, requestParameters.updateClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1328
1351
|
};
|
|
1329
1352
|
/**
|
|
1330
|
-
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
1353
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1331
1354
|
* @summary Update the claim status
|
|
1332
1355
|
* @param {ClaimStatusesApiUpdateClaimStatus1Request} requestParameters Request parameters.
|
|
1333
1356
|
* @param {*} [options] Override http request option.
|
|
1357
|
+
* @deprecated
|
|
1334
1358
|
* @throws {RequiredError}
|
|
1335
1359
|
* @memberof ClaimStatusesApi
|
|
1336
1360
|
*/
|