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