@emilgroup/claim-sdk 1.43.1-beta.0 → 1.43.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api/claim-limit-usages-api.ts +53 -45
- package/api/claim-partner-roles-api.ts +127 -107
- package/api/claim-partners-api.ts +103 -87
- package/api/claim-positions-api.ts +181 -153
- package/api/claim-regulations-api.ts +128 -108
- package/api/claim-statuses-api.ts +153 -129
- package/api/claims-api.ts +177 -149
- package/api/health-check-api.ts +46 -38
- package/api/settlements-api.ts +127 -107
- package/dist/api/claim-limit-usages-api.d.ts +42 -34
- package/dist/api/claim-limit-usages-api.js +37 -29
- package/dist/api/claim-partner-roles-api.d.ts +97 -77
- package/dist/api/claim-partner-roles-api.js +95 -75
- package/dist/api/claim-partners-api.d.ts +79 -63
- package/dist/api/claim-partners-api.js +76 -60
- package/dist/api/claim-positions-api.d.ts +136 -108
- package/dist/api/claim-positions-api.js +136 -108
- package/dist/api/claim-regulations-api.d.ts +98 -78
- package/dist/api/claim-regulations-api.js +95 -75
- package/dist/api/claim-statuses-api.d.ts +116 -92
- package/dist/api/claim-statuses-api.js +115 -91
- package/dist/api/claims-api.d.ts +134 -106
- package/dist/api/claims-api.js +134 -106
- package/dist/api/health-check-api.d.ts +32 -24
- package/dist/api/health-check-api.js +46 -38
- package/dist/api/settlements-api.d.ts +97 -77
- package/dist/api/settlements-api.js +95 -75
- package/package.json +1 -1
|
@@ -100,7 +100,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
100
100
|
* @param {*} [options] Override http request option.
|
|
101
101
|
* @throws {RequiredError}
|
|
102
102
|
*/
|
|
103
|
-
|
|
103
|
+
createClaimStatus: function (createClaimStatusRequestDto, authorization, options) {
|
|
104
104
|
if (options === void 0) { options = {}; }
|
|
105
105
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
106
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -108,8 +108,8 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
108
108
|
switch (_a.label) {
|
|
109
109
|
case 0:
|
|
110
110
|
// verify required parameter 'createClaimStatusRequestDto' is not null or undefined
|
|
111
|
-
(0, common_1.assertParamExists)('
|
|
112
|
-
localVarPath = "/v1/claim-statuses";
|
|
111
|
+
(0, common_1.assertParamExists)('createClaimStatus', 'createClaimStatusRequestDto', createClaimStatusRequestDto);
|
|
112
|
+
localVarPath = "/claimservice/v1/claim-statuses";
|
|
113
113
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
114
114
|
if (configuration) {
|
|
115
115
|
baseOptions = configuration.baseOptions;
|
|
@@ -142,11 +142,12 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
142
142
|
});
|
|
143
143
|
},
|
|
144
144
|
/**
|
|
145
|
-
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\"
|
|
145
|
+
* 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.
|
|
146
146
|
* @summary Create the claim status
|
|
147
147
|
* @param {CreateClaimStatusRequestDto} createClaimStatusRequestDto
|
|
148
148
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
149
149
|
* @param {*} [options] Override http request option.
|
|
150
|
+
* @deprecated
|
|
150
151
|
* @throws {RequiredError}
|
|
151
152
|
*/
|
|
152
153
|
createClaimStatus1: function (createClaimStatusRequestDto, authorization, options) {
|
|
@@ -158,7 +159,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
158
159
|
case 0:
|
|
159
160
|
// verify required parameter 'createClaimStatusRequestDto' is not null or undefined
|
|
160
161
|
(0, common_1.assertParamExists)('createClaimStatus1', 'createClaimStatusRequestDto', createClaimStatusRequestDto);
|
|
161
|
-
localVarPath = "/
|
|
162
|
+
localVarPath = "/v1/claim-statuses";
|
|
162
163
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
163
164
|
if (configuration) {
|
|
164
165
|
baseOptions = configuration.baseOptions;
|
|
@@ -198,7 +199,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
198
199
|
* @param {*} [options] Override http request option.
|
|
199
200
|
* @throws {RequiredError}
|
|
200
201
|
*/
|
|
201
|
-
|
|
202
|
+
deleteClaimStatus: function (id, authorization, options) {
|
|
202
203
|
if (options === void 0) { options = {}; }
|
|
203
204
|
return __awaiter(_this, void 0, void 0, function () {
|
|
204
205
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -206,8 +207,8 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
206
207
|
switch (_a.label) {
|
|
207
208
|
case 0:
|
|
208
209
|
// verify required parameter 'id' is not null or undefined
|
|
209
|
-
(0, common_1.assertParamExists)('
|
|
210
|
-
localVarPath = "/v1/claim-statuses/{id}"
|
|
210
|
+
(0, common_1.assertParamExists)('deleteClaimStatus', 'id', id);
|
|
211
|
+
localVarPath = "/claimservice/v1/claim-statuses/{id}"
|
|
211
212
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
212
213
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
213
214
|
if (configuration) {
|
|
@@ -239,11 +240,12 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
239
240
|
});
|
|
240
241
|
},
|
|
241
242
|
/**
|
|
242
|
-
* 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\"
|
|
243
|
+
* 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.
|
|
243
244
|
* @summary Delete the claim status
|
|
244
245
|
* @param {number} id
|
|
245
246
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
246
247
|
* @param {*} [options] Override http request option.
|
|
248
|
+
* @deprecated
|
|
247
249
|
* @throws {RequiredError}
|
|
248
250
|
*/
|
|
249
251
|
deleteClaimStatus1: function (id, authorization, options) {
|
|
@@ -255,7 +257,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
255
257
|
case 0:
|
|
256
258
|
// verify required parameter 'id' is not null or undefined
|
|
257
259
|
(0, common_1.assertParamExists)('deleteClaimStatus1', 'id', id);
|
|
258
|
-
localVarPath = "/
|
|
260
|
+
localVarPath = "/v1/claim-statuses/{id}"
|
|
259
261
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
260
262
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
261
263
|
if (configuration) {
|
|
@@ -294,7 +296,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
294
296
|
* @param {*} [options] Override http request option.
|
|
295
297
|
* @throws {RequiredError}
|
|
296
298
|
*/
|
|
297
|
-
|
|
299
|
+
getClaimStatus: function (id, authorization, options) {
|
|
298
300
|
if (options === void 0) { options = {}; }
|
|
299
301
|
return __awaiter(_this, void 0, void 0, function () {
|
|
300
302
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -302,8 +304,8 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
302
304
|
switch (_a.label) {
|
|
303
305
|
case 0:
|
|
304
306
|
// verify required parameter 'id' is not null or undefined
|
|
305
|
-
(0, common_1.assertParamExists)('
|
|
306
|
-
localVarPath = "/v1/claim-statuses/{id}"
|
|
307
|
+
(0, common_1.assertParamExists)('getClaimStatus', 'id', id);
|
|
308
|
+
localVarPath = "/claimservice/v1/claim-statuses/{id}"
|
|
307
309
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
308
310
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
309
311
|
if (configuration) {
|
|
@@ -335,11 +337,12 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
335
337
|
});
|
|
336
338
|
},
|
|
337
339
|
/**
|
|
338
|
-
* 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\"
|
|
340
|
+
* 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.
|
|
339
341
|
* @summary Retrieve the claim status
|
|
340
342
|
* @param {number} id
|
|
341
343
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
342
344
|
* @param {*} [options] Override http request option.
|
|
345
|
+
* @deprecated
|
|
343
346
|
* @throws {RequiredError}
|
|
344
347
|
*/
|
|
345
348
|
getClaimStatus1: function (id, authorization, options) {
|
|
@@ -351,7 +354,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
351
354
|
case 0:
|
|
352
355
|
// verify required parameter 'id' is not null or undefined
|
|
353
356
|
(0, common_1.assertParamExists)('getClaimStatus1', 'id', id);
|
|
354
|
-
localVarPath = "/
|
|
357
|
+
localVarPath = "/v1/claim-statuses/{id}"
|
|
355
358
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
356
359
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
357
360
|
if (configuration) {
|
|
@@ -396,14 +399,14 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
396
399
|
* @param {*} [options] Override http request option.
|
|
397
400
|
* @throws {RequiredError}
|
|
398
401
|
*/
|
|
399
|
-
|
|
402
|
+
listClaimStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
400
403
|
if (options === void 0) { options = {}; }
|
|
401
404
|
return __awaiter(_this, void 0, void 0, function () {
|
|
402
405
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
403
406
|
return __generator(this, function (_a) {
|
|
404
407
|
switch (_a.label) {
|
|
405
408
|
case 0:
|
|
406
|
-
localVarPath = "/v1/claim-statuses";
|
|
409
|
+
localVarPath = "/claimservice/v1/claim-statuses";
|
|
407
410
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
408
411
|
if (configuration) {
|
|
409
412
|
baseOptions = configuration.baseOptions;
|
|
@@ -455,7 +458,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
455
458
|
});
|
|
456
459
|
},
|
|
457
460
|
/**
|
|
458
|
-
* 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\"
|
|
461
|
+
* 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.
|
|
459
462
|
* @summary List claim statuses
|
|
460
463
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
461
464
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -466,6 +469,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
466
469
|
* @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/>
|
|
467
470
|
* @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>
|
|
468
471
|
* @param {*} [options] Override http request option.
|
|
472
|
+
* @deprecated
|
|
469
473
|
* @throws {RequiredError}
|
|
470
474
|
*/
|
|
471
475
|
listClaimStatuses1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -475,7 +479,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
475
479
|
return __generator(this, function (_a) {
|
|
476
480
|
switch (_a.label) {
|
|
477
481
|
case 0:
|
|
478
|
-
localVarPath = "/
|
|
482
|
+
localVarPath = "/v1/claim-statuses";
|
|
479
483
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
480
484
|
if (configuration) {
|
|
481
485
|
baseOptions = configuration.baseOptions;
|
|
@@ -535,7 +539,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
535
539
|
* @param {*} [options] Override http request option.
|
|
536
540
|
* @throws {RequiredError}
|
|
537
541
|
*/
|
|
538
|
-
|
|
542
|
+
patchClaimStatus: function (id, patchClaimStatusRequestDto, authorization, options) {
|
|
539
543
|
if (options === void 0) { options = {}; }
|
|
540
544
|
return __awaiter(_this, void 0, void 0, function () {
|
|
541
545
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -543,10 +547,10 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
543
547
|
switch (_a.label) {
|
|
544
548
|
case 0:
|
|
545
549
|
// verify required parameter 'id' is not null or undefined
|
|
546
|
-
(0, common_1.assertParamExists)('
|
|
550
|
+
(0, common_1.assertParamExists)('patchClaimStatus', 'id', id);
|
|
547
551
|
// verify required parameter 'patchClaimStatusRequestDto' is not null or undefined
|
|
548
|
-
(0, common_1.assertParamExists)('
|
|
549
|
-
localVarPath = "/v1/claim-statuses/{id}"
|
|
552
|
+
(0, common_1.assertParamExists)('patchClaimStatus', 'patchClaimStatusRequestDto', patchClaimStatusRequestDto);
|
|
553
|
+
localVarPath = "/claimservice/v1/claim-statuses/{id}"
|
|
550
554
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
551
555
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
552
556
|
if (configuration) {
|
|
@@ -580,12 +584,13 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
580
584
|
});
|
|
581
585
|
},
|
|
582
586
|
/**
|
|
583
|
-
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
587
|
+
* 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.
|
|
584
588
|
* @summary Patch claim status
|
|
585
589
|
* @param {number} id
|
|
586
590
|
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
587
591
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
588
592
|
* @param {*} [options] Override http request option.
|
|
593
|
+
* @deprecated
|
|
589
594
|
* @throws {RequiredError}
|
|
590
595
|
*/
|
|
591
596
|
patchClaimStatus1: function (id, patchClaimStatusRequestDto, authorization, options) {
|
|
@@ -599,7 +604,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
599
604
|
(0, common_1.assertParamExists)('patchClaimStatus1', 'id', id);
|
|
600
605
|
// verify required parameter 'patchClaimStatusRequestDto' is not null or undefined
|
|
601
606
|
(0, common_1.assertParamExists)('patchClaimStatus1', 'patchClaimStatusRequestDto', patchClaimStatusRequestDto);
|
|
602
|
-
localVarPath = "/
|
|
607
|
+
localVarPath = "/v1/claim-statuses/{id}"
|
|
603
608
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
604
609
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
605
610
|
if (configuration) {
|
|
@@ -641,7 +646,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
641
646
|
* @param {*} [options] Override http request option.
|
|
642
647
|
* @throws {RequiredError}
|
|
643
648
|
*/
|
|
644
|
-
|
|
649
|
+
updateClaimStatus: function (id, updateClaimStatusRequestDto, authorization, options) {
|
|
645
650
|
if (options === void 0) { options = {}; }
|
|
646
651
|
return __awaiter(_this, void 0, void 0, function () {
|
|
647
652
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -649,10 +654,10 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
649
654
|
switch (_a.label) {
|
|
650
655
|
case 0:
|
|
651
656
|
// verify required parameter 'id' is not null or undefined
|
|
652
|
-
(0, common_1.assertParamExists)('
|
|
657
|
+
(0, common_1.assertParamExists)('updateClaimStatus', 'id', id);
|
|
653
658
|
// verify required parameter 'updateClaimStatusRequestDto' is not null or undefined
|
|
654
|
-
(0, common_1.assertParamExists)('
|
|
655
|
-
localVarPath = "/v1/claim-statuses/{id}"
|
|
659
|
+
(0, common_1.assertParamExists)('updateClaimStatus', 'updateClaimStatusRequestDto', updateClaimStatusRequestDto);
|
|
660
|
+
localVarPath = "/claimservice/v1/claim-statuses/{id}"
|
|
656
661
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
657
662
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
658
663
|
if (configuration) {
|
|
@@ -686,12 +691,13 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
686
691
|
});
|
|
687
692
|
},
|
|
688
693
|
/**
|
|
689
|
-
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
694
|
+
* 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.
|
|
690
695
|
* @summary Update the claim status
|
|
691
696
|
* @param {number} id
|
|
692
697
|
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
693
698
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
694
699
|
* @param {*} [options] Override http request option.
|
|
700
|
+
* @deprecated
|
|
695
701
|
* @throws {RequiredError}
|
|
696
702
|
*/
|
|
697
703
|
updateClaimStatus1: function (id, updateClaimStatusRequestDto, authorization, options) {
|
|
@@ -705,7 +711,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
705
711
|
(0, common_1.assertParamExists)('updateClaimStatus1', 'id', id);
|
|
706
712
|
// verify required parameter 'updateClaimStatusRequestDto' is not null or undefined
|
|
707
713
|
(0, common_1.assertParamExists)('updateClaimStatus1', 'updateClaimStatusRequestDto', updateClaimStatusRequestDto);
|
|
708
|
-
localVarPath = "/
|
|
714
|
+
localVarPath = "/v1/claim-statuses/{id}"
|
|
709
715
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
710
716
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
711
717
|
if (configuration) {
|
|
@@ -756,12 +762,12 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
756
762
|
* @param {*} [options] Override http request option.
|
|
757
763
|
* @throws {RequiredError}
|
|
758
764
|
*/
|
|
759
|
-
|
|
765
|
+
createClaimStatus: function (createClaimStatusRequestDto, authorization, options) {
|
|
760
766
|
return __awaiter(this, void 0, void 0, function () {
|
|
761
767
|
var localVarAxiosArgs;
|
|
762
768
|
return __generator(this, function (_a) {
|
|
763
769
|
switch (_a.label) {
|
|
764
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
770
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createClaimStatus(createClaimStatusRequestDto, authorization, options)];
|
|
765
771
|
case 1:
|
|
766
772
|
localVarAxiosArgs = _a.sent();
|
|
767
773
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -770,11 +776,12 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
770
776
|
});
|
|
771
777
|
},
|
|
772
778
|
/**
|
|
773
|
-
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\"
|
|
779
|
+
* 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.
|
|
774
780
|
* @summary Create the claim status
|
|
775
781
|
* @param {CreateClaimStatusRequestDto} createClaimStatusRequestDto
|
|
776
782
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
777
783
|
* @param {*} [options] Override http request option.
|
|
784
|
+
* @deprecated
|
|
778
785
|
* @throws {RequiredError}
|
|
779
786
|
*/
|
|
780
787
|
createClaimStatus1: function (createClaimStatusRequestDto, authorization, options) {
|
|
@@ -798,12 +805,12 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
798
805
|
* @param {*} [options] Override http request option.
|
|
799
806
|
* @throws {RequiredError}
|
|
800
807
|
*/
|
|
801
|
-
|
|
808
|
+
deleteClaimStatus: function (id, authorization, options) {
|
|
802
809
|
return __awaiter(this, void 0, void 0, function () {
|
|
803
810
|
var localVarAxiosArgs;
|
|
804
811
|
return __generator(this, function (_a) {
|
|
805
812
|
switch (_a.label) {
|
|
806
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
813
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteClaimStatus(id, authorization, options)];
|
|
807
814
|
case 1:
|
|
808
815
|
localVarAxiosArgs = _a.sent();
|
|
809
816
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -812,11 +819,12 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
812
819
|
});
|
|
813
820
|
},
|
|
814
821
|
/**
|
|
815
|
-
* 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\"
|
|
822
|
+
* 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.
|
|
816
823
|
* @summary Delete the claim status
|
|
817
824
|
* @param {number} id
|
|
818
825
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
819
826
|
* @param {*} [options] Override http request option.
|
|
827
|
+
* @deprecated
|
|
820
828
|
* @throws {RequiredError}
|
|
821
829
|
*/
|
|
822
830
|
deleteClaimStatus1: function (id, authorization, options) {
|
|
@@ -840,12 +848,12 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
840
848
|
* @param {*} [options] Override http request option.
|
|
841
849
|
* @throws {RequiredError}
|
|
842
850
|
*/
|
|
843
|
-
|
|
851
|
+
getClaimStatus: function (id, authorization, options) {
|
|
844
852
|
return __awaiter(this, void 0, void 0, function () {
|
|
845
853
|
var localVarAxiosArgs;
|
|
846
854
|
return __generator(this, function (_a) {
|
|
847
855
|
switch (_a.label) {
|
|
848
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
856
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimStatus(id, authorization, options)];
|
|
849
857
|
case 1:
|
|
850
858
|
localVarAxiosArgs = _a.sent();
|
|
851
859
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -854,11 +862,12 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
854
862
|
});
|
|
855
863
|
},
|
|
856
864
|
/**
|
|
857
|
-
* 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\"
|
|
865
|
+
* 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.
|
|
858
866
|
* @summary Retrieve the claim status
|
|
859
867
|
* @param {number} id
|
|
860
868
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
861
869
|
* @param {*} [options] Override http request option.
|
|
870
|
+
* @deprecated
|
|
862
871
|
* @throws {RequiredError}
|
|
863
872
|
*/
|
|
864
873
|
getClaimStatus1: function (id, authorization, options) {
|
|
@@ -888,12 +897,12 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
888
897
|
* @param {*} [options] Override http request option.
|
|
889
898
|
* @throws {RequiredError}
|
|
890
899
|
*/
|
|
891
|
-
|
|
900
|
+
listClaimStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
892
901
|
return __awaiter(this, void 0, void 0, function () {
|
|
893
902
|
var localVarAxiosArgs;
|
|
894
903
|
return __generator(this, function (_a) {
|
|
895
904
|
switch (_a.label) {
|
|
896
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
905
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
897
906
|
case 1:
|
|
898
907
|
localVarAxiosArgs = _a.sent();
|
|
899
908
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -902,7 +911,7 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
902
911
|
});
|
|
903
912
|
},
|
|
904
913
|
/**
|
|
905
|
-
* 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\"
|
|
914
|
+
* 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.
|
|
906
915
|
* @summary List claim statuses
|
|
907
916
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
908
917
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -913,6 +922,7 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
913
922
|
* @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/>
|
|
914
923
|
* @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>
|
|
915
924
|
* @param {*} [options] Override http request option.
|
|
925
|
+
* @deprecated
|
|
916
926
|
* @throws {RequiredError}
|
|
917
927
|
*/
|
|
918
928
|
listClaimStatuses1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -937,12 +947,12 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
937
947
|
* @param {*} [options] Override http request option.
|
|
938
948
|
* @throws {RequiredError}
|
|
939
949
|
*/
|
|
940
|
-
|
|
950
|
+
patchClaimStatus: function (id, patchClaimStatusRequestDto, authorization, options) {
|
|
941
951
|
return __awaiter(this, void 0, void 0, function () {
|
|
942
952
|
var localVarAxiosArgs;
|
|
943
953
|
return __generator(this, function (_a) {
|
|
944
954
|
switch (_a.label) {
|
|
945
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
955
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchClaimStatus(id, patchClaimStatusRequestDto, authorization, options)];
|
|
946
956
|
case 1:
|
|
947
957
|
localVarAxiosArgs = _a.sent();
|
|
948
958
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -951,12 +961,13 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
951
961
|
});
|
|
952
962
|
},
|
|
953
963
|
/**
|
|
954
|
-
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
964
|
+
* 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.
|
|
955
965
|
* @summary Patch claim status
|
|
956
966
|
* @param {number} id
|
|
957
967
|
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
958
968
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
959
969
|
* @param {*} [options] Override http request option.
|
|
970
|
+
* @deprecated
|
|
960
971
|
* @throws {RequiredError}
|
|
961
972
|
*/
|
|
962
973
|
patchClaimStatus1: function (id, patchClaimStatusRequestDto, authorization, options) {
|
|
@@ -981,12 +992,12 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
981
992
|
* @param {*} [options] Override http request option.
|
|
982
993
|
* @throws {RequiredError}
|
|
983
994
|
*/
|
|
984
|
-
|
|
995
|
+
updateClaimStatus: function (id, updateClaimStatusRequestDto, authorization, options) {
|
|
985
996
|
return __awaiter(this, void 0, void 0, function () {
|
|
986
997
|
var localVarAxiosArgs;
|
|
987
998
|
return __generator(this, function (_a) {
|
|
988
999
|
switch (_a.label) {
|
|
989
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
1000
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaimStatus(id, updateClaimStatusRequestDto, authorization, options)];
|
|
990
1001
|
case 1:
|
|
991
1002
|
localVarAxiosArgs = _a.sent();
|
|
992
1003
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -995,12 +1006,13 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
995
1006
|
});
|
|
996
1007
|
},
|
|
997
1008
|
/**
|
|
998
|
-
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
1009
|
+
* 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.
|
|
999
1010
|
* @summary Update the claim status
|
|
1000
1011
|
* @param {number} id
|
|
1001
1012
|
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
1002
1013
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1003
1014
|
* @param {*} [options] Override http request option.
|
|
1015
|
+
* @deprecated
|
|
1004
1016
|
* @throws {RequiredError}
|
|
1005
1017
|
*/
|
|
1006
1018
|
updateClaimStatus1: function (id, updateClaimStatusRequestDto, authorization, options) {
|
|
@@ -1034,15 +1046,16 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
1034
1046
|
* @param {*} [options] Override http request option.
|
|
1035
1047
|
* @throws {RequiredError}
|
|
1036
1048
|
*/
|
|
1037
|
-
|
|
1038
|
-
return localVarFp.
|
|
1049
|
+
createClaimStatus: function (createClaimStatusRequestDto, authorization, options) {
|
|
1050
|
+
return localVarFp.createClaimStatus(createClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1039
1051
|
},
|
|
1040
1052
|
/**
|
|
1041
|
-
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\"
|
|
1053
|
+
* 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.
|
|
1042
1054
|
* @summary Create the claim status
|
|
1043
1055
|
* @param {CreateClaimStatusRequestDto} createClaimStatusRequestDto
|
|
1044
1056
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1045
1057
|
* @param {*} [options] Override http request option.
|
|
1058
|
+
* @deprecated
|
|
1046
1059
|
* @throws {RequiredError}
|
|
1047
1060
|
*/
|
|
1048
1061
|
createClaimStatus1: function (createClaimStatusRequestDto, authorization, options) {
|
|
@@ -1056,15 +1069,16 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
1056
1069
|
* @param {*} [options] Override http request option.
|
|
1057
1070
|
* @throws {RequiredError}
|
|
1058
1071
|
*/
|
|
1059
|
-
|
|
1060
|
-
return localVarFp.
|
|
1072
|
+
deleteClaimStatus: function (id, authorization, options) {
|
|
1073
|
+
return localVarFp.deleteClaimStatus(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1061
1074
|
},
|
|
1062
1075
|
/**
|
|
1063
|
-
* 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\"
|
|
1076
|
+
* 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.
|
|
1064
1077
|
* @summary Delete the claim status
|
|
1065
1078
|
* @param {number} id
|
|
1066
1079
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1067
1080
|
* @param {*} [options] Override http request option.
|
|
1081
|
+
* @deprecated
|
|
1068
1082
|
* @throws {RequiredError}
|
|
1069
1083
|
*/
|
|
1070
1084
|
deleteClaimStatus1: function (id, authorization, options) {
|
|
@@ -1078,15 +1092,16 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
1078
1092
|
* @param {*} [options] Override http request option.
|
|
1079
1093
|
* @throws {RequiredError}
|
|
1080
1094
|
*/
|
|
1081
|
-
|
|
1082
|
-
return localVarFp.
|
|
1095
|
+
getClaimStatus: function (id, authorization, options) {
|
|
1096
|
+
return localVarFp.getClaimStatus(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1083
1097
|
},
|
|
1084
1098
|
/**
|
|
1085
|
-
* 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\"
|
|
1099
|
+
* 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.
|
|
1086
1100
|
* @summary Retrieve the claim status
|
|
1087
1101
|
* @param {number} id
|
|
1088
1102
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1089
1103
|
* @param {*} [options] Override http request option.
|
|
1104
|
+
* @deprecated
|
|
1090
1105
|
* @throws {RequiredError}
|
|
1091
1106
|
*/
|
|
1092
1107
|
getClaimStatus1: function (id, authorization, options) {
|
|
@@ -1106,11 +1121,11 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
1106
1121
|
* @param {*} [options] Override http request option.
|
|
1107
1122
|
* @throws {RequiredError}
|
|
1108
1123
|
*/
|
|
1109
|
-
|
|
1110
|
-
return localVarFp.
|
|
1124
|
+
listClaimStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1125
|
+
return localVarFp.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
1111
1126
|
},
|
|
1112
1127
|
/**
|
|
1113
|
-
* 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\"
|
|
1128
|
+
* 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.
|
|
1114
1129
|
* @summary List claim statuses
|
|
1115
1130
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1116
1131
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -1121,6 +1136,7 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
1121
1136
|
* @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/>
|
|
1122
1137
|
* @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>
|
|
1123
1138
|
* @param {*} [options] Override http request option.
|
|
1139
|
+
* @deprecated
|
|
1124
1140
|
* @throws {RequiredError}
|
|
1125
1141
|
*/
|
|
1126
1142
|
listClaimStatuses1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -1135,16 +1151,17 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
1135
1151
|
* @param {*} [options] Override http request option.
|
|
1136
1152
|
* @throws {RequiredError}
|
|
1137
1153
|
*/
|
|
1138
|
-
|
|
1139
|
-
return localVarFp.
|
|
1154
|
+
patchClaimStatus: function (id, patchClaimStatusRequestDto, authorization, options) {
|
|
1155
|
+
return localVarFp.patchClaimStatus(id, patchClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1140
1156
|
},
|
|
1141
1157
|
/**
|
|
1142
|
-
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
1158
|
+
* 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.
|
|
1143
1159
|
* @summary Patch claim status
|
|
1144
1160
|
* @param {number} id
|
|
1145
1161
|
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
1146
1162
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1147
1163
|
* @param {*} [options] Override http request option.
|
|
1164
|
+
* @deprecated
|
|
1148
1165
|
* @throws {RequiredError}
|
|
1149
1166
|
*/
|
|
1150
1167
|
patchClaimStatus1: function (id, patchClaimStatusRequestDto, authorization, options) {
|
|
@@ -1159,16 +1176,17 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
1159
1176
|
* @param {*} [options] Override http request option.
|
|
1160
1177
|
* @throws {RequiredError}
|
|
1161
1178
|
*/
|
|
1162
|
-
|
|
1163
|
-
return localVarFp.
|
|
1179
|
+
updateClaimStatus: function (id, updateClaimStatusRequestDto, authorization, options) {
|
|
1180
|
+
return localVarFp.updateClaimStatus(id, updateClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1164
1181
|
},
|
|
1165
1182
|
/**
|
|
1166
|
-
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
1183
|
+
* 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.
|
|
1167
1184
|
* @summary Update the claim status
|
|
1168
1185
|
* @param {number} id
|
|
1169
1186
|
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
1170
1187
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1171
1188
|
* @param {*} [options] Override http request option.
|
|
1189
|
+
* @deprecated
|
|
1172
1190
|
* @throws {RequiredError}
|
|
1173
1191
|
*/
|
|
1174
1192
|
updateClaimStatus1: function (id, updateClaimStatusRequestDto, authorization, options) {
|
|
@@ -1191,20 +1209,21 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
|
|
|
1191
1209
|
/**
|
|
1192
1210
|
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\"
|
|
1193
1211
|
* @summary Create the claim status
|
|
1194
|
-
* @param {
|
|
1212
|
+
* @param {ClaimStatusesApiCreateClaimStatusRequest} requestParameters Request parameters.
|
|
1195
1213
|
* @param {*} [options] Override http request option.
|
|
1196
1214
|
* @throws {RequiredError}
|
|
1197
1215
|
* @memberof ClaimStatusesApi
|
|
1198
1216
|
*/
|
|
1199
|
-
ClaimStatusesApi.prototype.
|
|
1217
|
+
ClaimStatusesApi.prototype.createClaimStatus = function (requestParameters, options) {
|
|
1200
1218
|
var _this = this;
|
|
1201
|
-
return (0, exports.ClaimStatusesApiFp)(this.configuration).
|
|
1219
|
+
return (0, exports.ClaimStatusesApiFp)(this.configuration).createClaimStatus(requestParameters.createClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1202
1220
|
};
|
|
1203
1221
|
/**
|
|
1204
|
-
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\"
|
|
1222
|
+
* 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.
|
|
1205
1223
|
* @summary Create the claim status
|
|
1206
1224
|
* @param {ClaimStatusesApiCreateClaimStatus1Request} requestParameters Request parameters.
|
|
1207
1225
|
* @param {*} [options] Override http request option.
|
|
1226
|
+
* @deprecated
|
|
1208
1227
|
* @throws {RequiredError}
|
|
1209
1228
|
* @memberof ClaimStatusesApi
|
|
1210
1229
|
*/
|
|
@@ -1215,20 +1234,21 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
|
|
|
1215
1234
|
/**
|
|
1216
1235
|
* 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\"
|
|
1217
1236
|
* @summary Delete the claim status
|
|
1218
|
-
* @param {
|
|
1237
|
+
* @param {ClaimStatusesApiDeleteClaimStatusRequest} requestParameters Request parameters.
|
|
1219
1238
|
* @param {*} [options] Override http request option.
|
|
1220
1239
|
* @throws {RequiredError}
|
|
1221
1240
|
* @memberof ClaimStatusesApi
|
|
1222
1241
|
*/
|
|
1223
|
-
ClaimStatusesApi.prototype.
|
|
1242
|
+
ClaimStatusesApi.prototype.deleteClaimStatus = function (requestParameters, options) {
|
|
1224
1243
|
var _this = this;
|
|
1225
|
-
return (0, exports.ClaimStatusesApiFp)(this.configuration).
|
|
1244
|
+
return (0, exports.ClaimStatusesApiFp)(this.configuration).deleteClaimStatus(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1226
1245
|
};
|
|
1227
1246
|
/**
|
|
1228
|
-
* 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\"
|
|
1247
|
+
* 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.
|
|
1229
1248
|
* @summary Delete the claim status
|
|
1230
1249
|
* @param {ClaimStatusesApiDeleteClaimStatus1Request} requestParameters Request parameters.
|
|
1231
1250
|
* @param {*} [options] Override http request option.
|
|
1251
|
+
* @deprecated
|
|
1232
1252
|
* @throws {RequiredError}
|
|
1233
1253
|
* @memberof ClaimStatusesApi
|
|
1234
1254
|
*/
|
|
@@ -1239,20 +1259,21 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
|
|
|
1239
1259
|
/**
|
|
1240
1260
|
* 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\"
|
|
1241
1261
|
* @summary Retrieve the claim status
|
|
1242
|
-
* @param {
|
|
1262
|
+
* @param {ClaimStatusesApiGetClaimStatusRequest} requestParameters Request parameters.
|
|
1243
1263
|
* @param {*} [options] Override http request option.
|
|
1244
1264
|
* @throws {RequiredError}
|
|
1245
1265
|
* @memberof ClaimStatusesApi
|
|
1246
1266
|
*/
|
|
1247
|
-
ClaimStatusesApi.prototype.
|
|
1267
|
+
ClaimStatusesApi.prototype.getClaimStatus = function (requestParameters, options) {
|
|
1248
1268
|
var _this = this;
|
|
1249
|
-
return (0, exports.ClaimStatusesApiFp)(this.configuration).
|
|
1269
|
+
return (0, exports.ClaimStatusesApiFp)(this.configuration).getClaimStatus(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1250
1270
|
};
|
|
1251
1271
|
/**
|
|
1252
|
-
* 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\"
|
|
1272
|
+
* 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.
|
|
1253
1273
|
* @summary Retrieve the claim status
|
|
1254
1274
|
* @param {ClaimStatusesApiGetClaimStatus1Request} requestParameters Request parameters.
|
|
1255
1275
|
* @param {*} [options] Override http request option.
|
|
1276
|
+
* @deprecated
|
|
1256
1277
|
* @throws {RequiredError}
|
|
1257
1278
|
* @memberof ClaimStatusesApi
|
|
1258
1279
|
*/
|
|
@@ -1263,21 +1284,22 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
|
|
|
1263
1284
|
/**
|
|
1264
1285
|
* 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\"
|
|
1265
1286
|
* @summary List claim statuses
|
|
1266
|
-
* @param {
|
|
1287
|
+
* @param {ClaimStatusesApiListClaimStatusesRequest} requestParameters Request parameters.
|
|
1267
1288
|
* @param {*} [options] Override http request option.
|
|
1268
1289
|
* @throws {RequiredError}
|
|
1269
1290
|
* @memberof ClaimStatusesApi
|
|
1270
1291
|
*/
|
|
1271
|
-
ClaimStatusesApi.prototype.
|
|
1292
|
+
ClaimStatusesApi.prototype.listClaimStatuses = function (requestParameters, options) {
|
|
1272
1293
|
var _this = this;
|
|
1273
1294
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1274
|
-
return (0, exports.ClaimStatusesApiFp)(this.configuration).
|
|
1295
|
+
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); });
|
|
1275
1296
|
};
|
|
1276
1297
|
/**
|
|
1277
|
-
* 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\"
|
|
1298
|
+
* 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.
|
|
1278
1299
|
* @summary List claim statuses
|
|
1279
1300
|
* @param {ClaimStatusesApiListClaimStatuses1Request} requestParameters Request parameters.
|
|
1280
1301
|
* @param {*} [options] Override http request option.
|
|
1302
|
+
* @deprecated
|
|
1281
1303
|
* @throws {RequiredError}
|
|
1282
1304
|
* @memberof ClaimStatusesApi
|
|
1283
1305
|
*/
|
|
@@ -1289,20 +1311,21 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
|
|
|
1289
1311
|
/**
|
|
1290
1312
|
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
1291
1313
|
* @summary Patch claim status
|
|
1292
|
-
* @param {
|
|
1314
|
+
* @param {ClaimStatusesApiPatchClaimStatusRequest} requestParameters Request parameters.
|
|
1293
1315
|
* @param {*} [options] Override http request option.
|
|
1294
1316
|
* @throws {RequiredError}
|
|
1295
1317
|
* @memberof ClaimStatusesApi
|
|
1296
1318
|
*/
|
|
1297
|
-
ClaimStatusesApi.prototype.
|
|
1319
|
+
ClaimStatusesApi.prototype.patchClaimStatus = function (requestParameters, options) {
|
|
1298
1320
|
var _this = this;
|
|
1299
|
-
return (0, exports.ClaimStatusesApiFp)(this.configuration).
|
|
1321
|
+
return (0, exports.ClaimStatusesApiFp)(this.configuration).patchClaimStatus(requestParameters.id, requestParameters.patchClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1300
1322
|
};
|
|
1301
1323
|
/**
|
|
1302
|
-
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
1324
|
+
* 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.
|
|
1303
1325
|
* @summary Patch claim status
|
|
1304
1326
|
* @param {ClaimStatusesApiPatchClaimStatus1Request} requestParameters Request parameters.
|
|
1305
1327
|
* @param {*} [options] Override http request option.
|
|
1328
|
+
* @deprecated
|
|
1306
1329
|
* @throws {RequiredError}
|
|
1307
1330
|
* @memberof ClaimStatusesApi
|
|
1308
1331
|
*/
|
|
@@ -1313,20 +1336,21 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
|
|
|
1313
1336
|
/**
|
|
1314
1337
|
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
1315
1338
|
* @summary Update the claim status
|
|
1316
|
-
* @param {
|
|
1339
|
+
* @param {ClaimStatusesApiUpdateClaimStatusRequest} requestParameters Request parameters.
|
|
1317
1340
|
* @param {*} [options] Override http request option.
|
|
1318
1341
|
* @throws {RequiredError}
|
|
1319
1342
|
* @memberof ClaimStatusesApi
|
|
1320
1343
|
*/
|
|
1321
|
-
ClaimStatusesApi.prototype.
|
|
1344
|
+
ClaimStatusesApi.prototype.updateClaimStatus = function (requestParameters, options) {
|
|
1322
1345
|
var _this = this;
|
|
1323
|
-
return (0, exports.ClaimStatusesApiFp)(this.configuration).
|
|
1346
|
+
return (0, exports.ClaimStatusesApiFp)(this.configuration).updateClaimStatus(requestParameters.id, requestParameters.updateClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1324
1347
|
};
|
|
1325
1348
|
/**
|
|
1326
|
-
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
1349
|
+
* 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.
|
|
1327
1350
|
* @summary Update the claim status
|
|
1328
1351
|
* @param {ClaimStatusesApiUpdateClaimStatus1Request} requestParameters Request parameters.
|
|
1329
1352
|
* @param {*} [options] Override http request option.
|
|
1353
|
+
* @deprecated
|
|
1330
1354
|
* @throws {RequiredError}
|
|
1331
1355
|
* @memberof ClaimStatusesApi
|
|
1332
1356
|
*/
|