@emilgroup/claim-sdk-node 1.41.1-beta.0 → 1.41.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api/claim-limit-usages-api.ts +53 -45
- package/api/claim-partner-roles-api.ts +127 -107
- package/api/claim-partners-api.ts +103 -87
- package/api/claim-positions-api.ts +181 -153
- package/api/claim-regulations-api.ts +128 -108
- package/api/claim-statuses-api.ts +153 -129
- package/api/claims-api.ts +177 -149
- package/api/health-check-api.ts +46 -38
- package/api/settlements-api.ts +127 -107
- package/dist/api/claim-limit-usages-api.d.ts +42 -34
- package/dist/api/claim-limit-usages-api.js +37 -29
- package/dist/api/claim-partner-roles-api.d.ts +97 -77
- package/dist/api/claim-partner-roles-api.js +95 -75
- package/dist/api/claim-partners-api.d.ts +79 -63
- package/dist/api/claim-partners-api.js +76 -60
- package/dist/api/claim-positions-api.d.ts +136 -108
- package/dist/api/claim-positions-api.js +136 -108
- package/dist/api/claim-regulations-api.d.ts +98 -78
- package/dist/api/claim-regulations-api.js +95 -75
- package/dist/api/claim-statuses-api.d.ts +116 -92
- package/dist/api/claim-statuses-api.js +115 -91
- package/dist/api/claims-api.d.ts +134 -106
- package/dist/api/claims-api.js +134 -106
- package/dist/api/health-check-api.d.ts +32 -24
- package/dist/api/health-check-api.js +46 -38
- package/dist/api/settlements-api.d.ts +97 -77
- package/dist/api/settlements-api.js +95 -75
- package/package.json +1 -1
|
@@ -105,7 +105,7 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
105
105
|
* @param {*} [options] Override http request option.
|
|
106
106
|
* @throws {RequiredError}
|
|
107
107
|
*/
|
|
108
|
-
|
|
108
|
+
batchUpsertClaimPositions: function (claimCode, batchUpsertClaimPositionsRequestDto, authorization, options) {
|
|
109
109
|
if (options === void 0) { options = {}; }
|
|
110
110
|
return __awaiter(_this, void 0, void 0, function () {
|
|
111
111
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -113,10 +113,10 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
113
113
|
switch (_a.label) {
|
|
114
114
|
case 0:
|
|
115
115
|
// verify required parameter 'claimCode' is not null or undefined
|
|
116
|
-
(0, common_1.assertParamExists)('
|
|
116
|
+
(0, common_1.assertParamExists)('batchUpsertClaimPositions', 'claimCode', claimCode);
|
|
117
117
|
// verify required parameter 'batchUpsertClaimPositionsRequestDto' is not null or undefined
|
|
118
|
-
(0, common_1.assertParamExists)('
|
|
119
|
-
localVarPath = "/v1/claim-positions/batch/{claimCode}"
|
|
118
|
+
(0, common_1.assertParamExists)('batchUpsertClaimPositions', 'batchUpsertClaimPositionsRequestDto', batchUpsertClaimPositionsRequestDto);
|
|
119
|
+
localVarPath = "/claimservice/v1/claim-positions/batch/{claimCode}"
|
|
120
120
|
.replace("{".concat("claimCode", "}"), encodeURIComponent(String(claimCode)));
|
|
121
121
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
122
122
|
if (configuration) {
|
|
@@ -150,12 +150,13 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
150
150
|
});
|
|
151
151
|
},
|
|
152
152
|
/**
|
|
153
|
-
* Batch upsert claim positions for a claim. Creates new positions, updates existing ones by code, and deletes positions by code in a single request. **Required Permissions** \"claim-management.claims.update\"
|
|
153
|
+
* Batch upsert claim positions for a claim. Creates new positions, updates existing ones by code, and deletes positions by code in a single request. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
154
154
|
* @summary Batch upsert claim positions
|
|
155
155
|
* @param {string} claimCode Unique identifier for the object.
|
|
156
156
|
* @param {BatchUpsertClaimPositionsRequestDto} batchUpsertClaimPositionsRequestDto
|
|
157
157
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
158
158
|
* @param {*} [options] Override http request option.
|
|
159
|
+
* @deprecated
|
|
159
160
|
* @throws {RequiredError}
|
|
160
161
|
*/
|
|
161
162
|
batchUpsertClaimPositions1: function (claimCode, batchUpsertClaimPositionsRequestDto, authorization, options) {
|
|
@@ -169,7 +170,7 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
169
170
|
(0, common_1.assertParamExists)('batchUpsertClaimPositions1', 'claimCode', claimCode);
|
|
170
171
|
// verify required parameter 'batchUpsertClaimPositionsRequestDto' is not null or undefined
|
|
171
172
|
(0, common_1.assertParamExists)('batchUpsertClaimPositions1', 'batchUpsertClaimPositionsRequestDto', batchUpsertClaimPositionsRequestDto);
|
|
172
|
-
localVarPath = "/
|
|
173
|
+
localVarPath = "/v1/claim-positions/batch/{claimCode}"
|
|
173
174
|
.replace("{".concat("claimCode", "}"), encodeURIComponent(String(claimCode)));
|
|
174
175
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
175
176
|
if (configuration) {
|
|
@@ -211,7 +212,7 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
211
212
|
* @param {*} [options] Override http request option.
|
|
212
213
|
* @throws {RequiredError}
|
|
213
214
|
*/
|
|
214
|
-
|
|
215
|
+
calculateClaimPositions: function (claimCode, calculateClaimPositionsRequestDto, authorization, options) {
|
|
215
216
|
if (options === void 0) { options = {}; }
|
|
216
217
|
return __awaiter(_this, void 0, void 0, function () {
|
|
217
218
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -219,10 +220,10 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
219
220
|
switch (_a.label) {
|
|
220
221
|
case 0:
|
|
221
222
|
// verify required parameter 'claimCode' is not null or undefined
|
|
222
|
-
(0, common_1.assertParamExists)('
|
|
223
|
+
(0, common_1.assertParamExists)('calculateClaimPositions', 'claimCode', claimCode);
|
|
223
224
|
// verify required parameter 'calculateClaimPositionsRequestDto' is not null or undefined
|
|
224
|
-
(0, common_1.assertParamExists)('
|
|
225
|
-
localVarPath = "/v1/claim-positions/calculate/{claimCode}"
|
|
225
|
+
(0, common_1.assertParamExists)('calculateClaimPositions', 'calculateClaimPositionsRequestDto', calculateClaimPositionsRequestDto);
|
|
226
|
+
localVarPath = "/claimservice/v1/claim-positions/calculate/{claimCode}"
|
|
226
227
|
.replace("{".concat("claimCode", "}"), encodeURIComponent(String(claimCode)));
|
|
227
228
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
228
229
|
if (configuration) {
|
|
@@ -256,12 +257,13 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
256
257
|
});
|
|
257
258
|
},
|
|
258
259
|
/**
|
|
259
|
-
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\"
|
|
260
|
+
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
260
261
|
* @summary Calculate claim positions
|
|
261
262
|
* @param {string} claimCode Unique identifier for the object.
|
|
262
263
|
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
263
264
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
264
265
|
* @param {*} [options] Override http request option.
|
|
266
|
+
* @deprecated
|
|
265
267
|
* @throws {RequiredError}
|
|
266
268
|
*/
|
|
267
269
|
calculateClaimPositions1: function (claimCode, calculateClaimPositionsRequestDto, authorization, options) {
|
|
@@ -275,7 +277,7 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
275
277
|
(0, common_1.assertParamExists)('calculateClaimPositions1', 'claimCode', claimCode);
|
|
276
278
|
// verify required parameter 'calculateClaimPositionsRequestDto' is not null or undefined
|
|
277
279
|
(0, common_1.assertParamExists)('calculateClaimPositions1', 'calculateClaimPositionsRequestDto', calculateClaimPositionsRequestDto);
|
|
278
|
-
localVarPath = "/
|
|
280
|
+
localVarPath = "/v1/claim-positions/calculate/{claimCode}"
|
|
279
281
|
.replace("{".concat("claimCode", "}"), encodeURIComponent(String(claimCode)));
|
|
280
282
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
281
283
|
if (configuration) {
|
|
@@ -316,7 +318,7 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
316
318
|
* @param {*} [options] Override http request option.
|
|
317
319
|
* @throws {RequiredError}
|
|
318
320
|
*/
|
|
319
|
-
|
|
321
|
+
createClaimPosition: function (createClaimPositionRequestDto, authorization, options) {
|
|
320
322
|
if (options === void 0) { options = {}; }
|
|
321
323
|
return __awaiter(_this, void 0, void 0, function () {
|
|
322
324
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -324,8 +326,8 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
324
326
|
switch (_a.label) {
|
|
325
327
|
case 0:
|
|
326
328
|
// verify required parameter 'createClaimPositionRequestDto' is not null or undefined
|
|
327
|
-
(0, common_1.assertParamExists)('
|
|
328
|
-
localVarPath = "/v1/claim-positions";
|
|
329
|
+
(0, common_1.assertParamExists)('createClaimPosition', 'createClaimPositionRequestDto', createClaimPositionRequestDto);
|
|
330
|
+
localVarPath = "/claimservice/v1/claim-positions";
|
|
329
331
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
330
332
|
if (configuration) {
|
|
331
333
|
baseOptions = configuration.baseOptions;
|
|
@@ -358,11 +360,12 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
358
360
|
});
|
|
359
361
|
},
|
|
360
362
|
/**
|
|
361
|
-
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
363
|
+
* This will create claim position. **Required Permissions** \"claim-management.claims.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
362
364
|
* @summary Create the claim position
|
|
363
365
|
* @param {CreateClaimPositionRequestDto} createClaimPositionRequestDto
|
|
364
366
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
365
367
|
* @param {*} [options] Override http request option.
|
|
368
|
+
* @deprecated
|
|
366
369
|
* @throws {RequiredError}
|
|
367
370
|
*/
|
|
368
371
|
createClaimPosition1: function (createClaimPositionRequestDto, authorization, options) {
|
|
@@ -374,7 +377,7 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
374
377
|
case 0:
|
|
375
378
|
// verify required parameter 'createClaimPositionRequestDto' is not null or undefined
|
|
376
379
|
(0, common_1.assertParamExists)('createClaimPosition1', 'createClaimPositionRequestDto', createClaimPositionRequestDto);
|
|
377
|
-
localVarPath = "/
|
|
380
|
+
localVarPath = "/v1/claim-positions";
|
|
378
381
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
379
382
|
if (configuration) {
|
|
380
383
|
baseOptions = configuration.baseOptions;
|
|
@@ -414,7 +417,7 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
414
417
|
* @param {*} [options] Override http request option.
|
|
415
418
|
* @throws {RequiredError}
|
|
416
419
|
*/
|
|
417
|
-
|
|
420
|
+
deleteClaimPosition: function (code, authorization, options) {
|
|
418
421
|
if (options === void 0) { options = {}; }
|
|
419
422
|
return __awaiter(_this, void 0, void 0, function () {
|
|
420
423
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -422,8 +425,8 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
422
425
|
switch (_a.label) {
|
|
423
426
|
case 0:
|
|
424
427
|
// verify required parameter 'code' is not null or undefined
|
|
425
|
-
(0, common_1.assertParamExists)('
|
|
426
|
-
localVarPath = "/v1/claim-positions/{code}"
|
|
428
|
+
(0, common_1.assertParamExists)('deleteClaimPosition', 'code', code);
|
|
429
|
+
localVarPath = "/claimservice/v1/claim-positions/{code}"
|
|
427
430
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
428
431
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
429
432
|
if (configuration) {
|
|
@@ -455,11 +458,12 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
455
458
|
});
|
|
456
459
|
},
|
|
457
460
|
/**
|
|
458
|
-
* This will delete claim position. **Required Permissions** \"claim-management.claims.delete\"
|
|
461
|
+
* This will delete claim position. **Required Permissions** \"claim-management.claims.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
459
462
|
* @summary Delete the claim position
|
|
460
463
|
* @param {string} code Unique identifier for the object.
|
|
461
464
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
462
465
|
* @param {*} [options] Override http request option.
|
|
466
|
+
* @deprecated
|
|
463
467
|
* @throws {RequiredError}
|
|
464
468
|
*/
|
|
465
469
|
deleteClaimPosition1: function (code, authorization, options) {
|
|
@@ -471,7 +475,7 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
471
475
|
case 0:
|
|
472
476
|
// verify required parameter 'code' is not null or undefined
|
|
473
477
|
(0, common_1.assertParamExists)('deleteClaimPosition1', 'code', code);
|
|
474
|
-
localVarPath = "/
|
|
478
|
+
localVarPath = "/v1/claim-positions/{code}"
|
|
475
479
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
476
480
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
477
481
|
if (configuration) {
|
|
@@ -511,7 +515,7 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
511
515
|
* @param {*} [options] Override http request option.
|
|
512
516
|
* @throws {RequiredError}
|
|
513
517
|
*/
|
|
514
|
-
|
|
518
|
+
getClaimPosition: function (code, expand, authorization, options) {
|
|
515
519
|
if (options === void 0) { options = {}; }
|
|
516
520
|
return __awaiter(_this, void 0, void 0, function () {
|
|
517
521
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -519,10 +523,10 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
519
523
|
switch (_a.label) {
|
|
520
524
|
case 0:
|
|
521
525
|
// verify required parameter 'code' is not null or undefined
|
|
522
|
-
(0, common_1.assertParamExists)('
|
|
526
|
+
(0, common_1.assertParamExists)('getClaimPosition', 'code', code);
|
|
523
527
|
// verify required parameter 'expand' is not null or undefined
|
|
524
|
-
(0, common_1.assertParamExists)('
|
|
525
|
-
localVarPath = "/v1/claim-positions/{code}"
|
|
528
|
+
(0, common_1.assertParamExists)('getClaimPosition', 'expand', expand);
|
|
529
|
+
localVarPath = "/claimservice/v1/claim-positions/{code}"
|
|
526
530
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
527
531
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
528
532
|
if (configuration) {
|
|
@@ -557,12 +561,13 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
557
561
|
});
|
|
558
562
|
},
|
|
559
563
|
/**
|
|
560
|
-
* This will get claim position. **Required Permissions** \"claim-management.claims.view\"
|
|
564
|
+
* This will get claim position. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
561
565
|
* @summary Retrieve the claim position
|
|
562
566
|
* @param {string} code
|
|
563
567
|
* @param {string} expand
|
|
564
568
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
565
569
|
* @param {*} [options] Override http request option.
|
|
570
|
+
* @deprecated
|
|
566
571
|
* @throws {RequiredError}
|
|
567
572
|
*/
|
|
568
573
|
getClaimPosition1: function (code, expand, authorization, options) {
|
|
@@ -576,7 +581,7 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
576
581
|
(0, common_1.assertParamExists)('getClaimPosition1', 'code', code);
|
|
577
582
|
// verify required parameter 'expand' is not null or undefined
|
|
578
583
|
(0, common_1.assertParamExists)('getClaimPosition1', 'expand', expand);
|
|
579
|
-
localVarPath = "/
|
|
584
|
+
localVarPath = "/v1/claim-positions/{code}"
|
|
580
585
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
581
586
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
582
587
|
if (configuration) {
|
|
@@ -624,14 +629,14 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
624
629
|
* @param {*} [options] Override http request option.
|
|
625
630
|
* @throws {RequiredError}
|
|
626
631
|
*/
|
|
627
|
-
|
|
632
|
+
listClaimPositions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
628
633
|
if (options === void 0) { options = {}; }
|
|
629
634
|
return __awaiter(_this, void 0, void 0, function () {
|
|
630
635
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
631
636
|
return __generator(this, function (_a) {
|
|
632
637
|
switch (_a.label) {
|
|
633
638
|
case 0:
|
|
634
|
-
localVarPath = "/v1/claim-positions";
|
|
639
|
+
localVarPath = "/claimservice/v1/claim-positions";
|
|
635
640
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
636
641
|
if (configuration) {
|
|
637
642
|
baseOptions = configuration.baseOptions;
|
|
@@ -683,7 +688,7 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
683
688
|
});
|
|
684
689
|
},
|
|
685
690
|
/**
|
|
686
|
-
* Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\"
|
|
691
|
+
* Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
687
692
|
* @summary List claim positions
|
|
688
693
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
689
694
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -694,6 +699,7 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
694
699
|
* @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/>
|
|
695
700
|
* @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, code, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
696
701
|
* @param {*} [options] Override http request option.
|
|
702
|
+
* @deprecated
|
|
697
703
|
* @throws {RequiredError}
|
|
698
704
|
*/
|
|
699
705
|
listClaimPositions1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -703,7 +709,7 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
703
709
|
return __generator(this, function (_a) {
|
|
704
710
|
switch (_a.label) {
|
|
705
711
|
case 0:
|
|
706
|
-
localVarPath = "/
|
|
712
|
+
localVarPath = "/v1/claim-positions";
|
|
707
713
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
708
714
|
if (configuration) {
|
|
709
715
|
baseOptions = configuration.baseOptions;
|
|
@@ -763,7 +769,7 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
763
769
|
* @param {*} [options] Override http request option.
|
|
764
770
|
* @throws {RequiredError}
|
|
765
771
|
*/
|
|
766
|
-
|
|
772
|
+
updateClaimPosition: function (code, updateClaimPositionRequestDto, authorization, options) {
|
|
767
773
|
if (options === void 0) { options = {}; }
|
|
768
774
|
return __awaiter(_this, void 0, void 0, function () {
|
|
769
775
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -771,10 +777,10 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
771
777
|
switch (_a.label) {
|
|
772
778
|
case 0:
|
|
773
779
|
// verify required parameter 'code' is not null or undefined
|
|
774
|
-
(0, common_1.assertParamExists)('
|
|
780
|
+
(0, common_1.assertParamExists)('updateClaimPosition', 'code', code);
|
|
775
781
|
// verify required parameter 'updateClaimPositionRequestDto' is not null or undefined
|
|
776
|
-
(0, common_1.assertParamExists)('
|
|
777
|
-
localVarPath = "/v1/claim-positions/{code}"
|
|
782
|
+
(0, common_1.assertParamExists)('updateClaimPosition', 'updateClaimPositionRequestDto', updateClaimPositionRequestDto);
|
|
783
|
+
localVarPath = "/claimservice/v1/claim-positions/{code}"
|
|
778
784
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
779
785
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
780
786
|
if (configuration) {
|
|
@@ -808,12 +814,13 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
808
814
|
});
|
|
809
815
|
},
|
|
810
816
|
/**
|
|
811
|
-
* This will update claim position. **Required Permissions** \"claim-management.claims.update\"
|
|
817
|
+
* This will update claim position. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
812
818
|
* @summary Update the claim position
|
|
813
819
|
* @param {string} code
|
|
814
820
|
* @param {UpdateClaimPositionRequestDto} updateClaimPositionRequestDto
|
|
815
821
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
816
822
|
* @param {*} [options] Override http request option.
|
|
823
|
+
* @deprecated
|
|
817
824
|
* @throws {RequiredError}
|
|
818
825
|
*/
|
|
819
826
|
updateClaimPosition1: function (code, updateClaimPositionRequestDto, authorization, options) {
|
|
@@ -827,7 +834,7 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
827
834
|
(0, common_1.assertParamExists)('updateClaimPosition1', 'code', code);
|
|
828
835
|
// verify required parameter 'updateClaimPositionRequestDto' is not null or undefined
|
|
829
836
|
(0, common_1.assertParamExists)('updateClaimPosition1', 'updateClaimPositionRequestDto', updateClaimPositionRequestDto);
|
|
830
|
-
localVarPath = "/
|
|
837
|
+
localVarPath = "/v1/claim-positions/{code}"
|
|
831
838
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
832
839
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
833
840
|
if (configuration) {
|
|
@@ -879,12 +886,12 @@ var ClaimPositionsApiFp = function (configuration) {
|
|
|
879
886
|
* @param {*} [options] Override http request option.
|
|
880
887
|
* @throws {RequiredError}
|
|
881
888
|
*/
|
|
882
|
-
|
|
889
|
+
batchUpsertClaimPositions: function (claimCode, batchUpsertClaimPositionsRequestDto, authorization, options) {
|
|
883
890
|
return __awaiter(this, void 0, void 0, function () {
|
|
884
891
|
var localVarAxiosArgs;
|
|
885
892
|
return __generator(this, function (_a) {
|
|
886
893
|
switch (_a.label) {
|
|
887
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
894
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.batchUpsertClaimPositions(claimCode, batchUpsertClaimPositionsRequestDto, authorization, options)];
|
|
888
895
|
case 1:
|
|
889
896
|
localVarAxiosArgs = _a.sent();
|
|
890
897
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -893,12 +900,13 @@ var ClaimPositionsApiFp = function (configuration) {
|
|
|
893
900
|
});
|
|
894
901
|
},
|
|
895
902
|
/**
|
|
896
|
-
* Batch upsert claim positions for a claim. Creates new positions, updates existing ones by code, and deletes positions by code in a single request. **Required Permissions** \"claim-management.claims.update\"
|
|
903
|
+
* Batch upsert claim positions for a claim. Creates new positions, updates existing ones by code, and deletes positions by code in a single request. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
897
904
|
* @summary Batch upsert claim positions
|
|
898
905
|
* @param {string} claimCode Unique identifier for the object.
|
|
899
906
|
* @param {BatchUpsertClaimPositionsRequestDto} batchUpsertClaimPositionsRequestDto
|
|
900
907
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
901
908
|
* @param {*} [options] Override http request option.
|
|
909
|
+
* @deprecated
|
|
902
910
|
* @throws {RequiredError}
|
|
903
911
|
*/
|
|
904
912
|
batchUpsertClaimPositions1: function (claimCode, batchUpsertClaimPositionsRequestDto, authorization, options) {
|
|
@@ -923,12 +931,12 @@ var ClaimPositionsApiFp = function (configuration) {
|
|
|
923
931
|
* @param {*} [options] Override http request option.
|
|
924
932
|
* @throws {RequiredError}
|
|
925
933
|
*/
|
|
926
|
-
|
|
934
|
+
calculateClaimPositions: function (claimCode, calculateClaimPositionsRequestDto, authorization, options) {
|
|
927
935
|
return __awaiter(this, void 0, void 0, function () {
|
|
928
936
|
var localVarAxiosArgs;
|
|
929
937
|
return __generator(this, function (_a) {
|
|
930
938
|
switch (_a.label) {
|
|
931
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
939
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.calculateClaimPositions(claimCode, calculateClaimPositionsRequestDto, authorization, options)];
|
|
932
940
|
case 1:
|
|
933
941
|
localVarAxiosArgs = _a.sent();
|
|
934
942
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -937,12 +945,13 @@ var ClaimPositionsApiFp = function (configuration) {
|
|
|
937
945
|
});
|
|
938
946
|
},
|
|
939
947
|
/**
|
|
940
|
-
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\"
|
|
948
|
+
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
941
949
|
* @summary Calculate claim positions
|
|
942
950
|
* @param {string} claimCode Unique identifier for the object.
|
|
943
951
|
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
944
952
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
945
953
|
* @param {*} [options] Override http request option.
|
|
954
|
+
* @deprecated
|
|
946
955
|
* @throws {RequiredError}
|
|
947
956
|
*/
|
|
948
957
|
calculateClaimPositions1: function (claimCode, calculateClaimPositionsRequestDto, authorization, options) {
|
|
@@ -966,12 +975,12 @@ var ClaimPositionsApiFp = function (configuration) {
|
|
|
966
975
|
* @param {*} [options] Override http request option.
|
|
967
976
|
* @throws {RequiredError}
|
|
968
977
|
*/
|
|
969
|
-
|
|
978
|
+
createClaimPosition: function (createClaimPositionRequestDto, authorization, options) {
|
|
970
979
|
return __awaiter(this, void 0, void 0, function () {
|
|
971
980
|
var localVarAxiosArgs;
|
|
972
981
|
return __generator(this, function (_a) {
|
|
973
982
|
switch (_a.label) {
|
|
974
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
983
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createClaimPosition(createClaimPositionRequestDto, authorization, options)];
|
|
975
984
|
case 1:
|
|
976
985
|
localVarAxiosArgs = _a.sent();
|
|
977
986
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -980,11 +989,12 @@ var ClaimPositionsApiFp = function (configuration) {
|
|
|
980
989
|
});
|
|
981
990
|
},
|
|
982
991
|
/**
|
|
983
|
-
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
992
|
+
* This will create claim position. **Required Permissions** \"claim-management.claims.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
984
993
|
* @summary Create the claim position
|
|
985
994
|
* @param {CreateClaimPositionRequestDto} createClaimPositionRequestDto
|
|
986
995
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
987
996
|
* @param {*} [options] Override http request option.
|
|
997
|
+
* @deprecated
|
|
988
998
|
* @throws {RequiredError}
|
|
989
999
|
*/
|
|
990
1000
|
createClaimPosition1: function (createClaimPositionRequestDto, authorization, options) {
|
|
@@ -1008,12 +1018,12 @@ var ClaimPositionsApiFp = function (configuration) {
|
|
|
1008
1018
|
* @param {*} [options] Override http request option.
|
|
1009
1019
|
* @throws {RequiredError}
|
|
1010
1020
|
*/
|
|
1011
|
-
|
|
1021
|
+
deleteClaimPosition: function (code, authorization, options) {
|
|
1012
1022
|
return __awaiter(this, void 0, void 0, function () {
|
|
1013
1023
|
var localVarAxiosArgs;
|
|
1014
1024
|
return __generator(this, function (_a) {
|
|
1015
1025
|
switch (_a.label) {
|
|
1016
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
1026
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteClaimPosition(code, authorization, options)];
|
|
1017
1027
|
case 1:
|
|
1018
1028
|
localVarAxiosArgs = _a.sent();
|
|
1019
1029
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -1022,11 +1032,12 @@ var ClaimPositionsApiFp = function (configuration) {
|
|
|
1022
1032
|
});
|
|
1023
1033
|
},
|
|
1024
1034
|
/**
|
|
1025
|
-
* This will delete claim position. **Required Permissions** \"claim-management.claims.delete\"
|
|
1035
|
+
* This will delete claim position. **Required Permissions** \"claim-management.claims.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1026
1036
|
* @summary Delete the claim position
|
|
1027
1037
|
* @param {string} code Unique identifier for the object.
|
|
1028
1038
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1029
1039
|
* @param {*} [options] Override http request option.
|
|
1040
|
+
* @deprecated
|
|
1030
1041
|
* @throws {RequiredError}
|
|
1031
1042
|
*/
|
|
1032
1043
|
deleteClaimPosition1: function (code, authorization, options) {
|
|
@@ -1051,12 +1062,12 @@ var ClaimPositionsApiFp = function (configuration) {
|
|
|
1051
1062
|
* @param {*} [options] Override http request option.
|
|
1052
1063
|
* @throws {RequiredError}
|
|
1053
1064
|
*/
|
|
1054
|
-
|
|
1065
|
+
getClaimPosition: function (code, expand, authorization, options) {
|
|
1055
1066
|
return __awaiter(this, void 0, void 0, function () {
|
|
1056
1067
|
var localVarAxiosArgs;
|
|
1057
1068
|
return __generator(this, function (_a) {
|
|
1058
1069
|
switch (_a.label) {
|
|
1059
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
1070
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimPosition(code, expand, authorization, options)];
|
|
1060
1071
|
case 1:
|
|
1061
1072
|
localVarAxiosArgs = _a.sent();
|
|
1062
1073
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -1065,12 +1076,13 @@ var ClaimPositionsApiFp = function (configuration) {
|
|
|
1065
1076
|
});
|
|
1066
1077
|
},
|
|
1067
1078
|
/**
|
|
1068
|
-
* This will get claim position. **Required Permissions** \"claim-management.claims.view\"
|
|
1079
|
+
* This will get claim position. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1069
1080
|
* @summary Retrieve the claim position
|
|
1070
1081
|
* @param {string} code
|
|
1071
1082
|
* @param {string} expand
|
|
1072
1083
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1073
1084
|
* @param {*} [options] Override http request option.
|
|
1085
|
+
* @deprecated
|
|
1074
1086
|
* @throws {RequiredError}
|
|
1075
1087
|
*/
|
|
1076
1088
|
getClaimPosition1: function (code, expand, authorization, options) {
|
|
@@ -1100,12 +1112,12 @@ var ClaimPositionsApiFp = function (configuration) {
|
|
|
1100
1112
|
* @param {*} [options] Override http request option.
|
|
1101
1113
|
* @throws {RequiredError}
|
|
1102
1114
|
*/
|
|
1103
|
-
|
|
1115
|
+
listClaimPositions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1104
1116
|
return __awaiter(this, void 0, void 0, function () {
|
|
1105
1117
|
var localVarAxiosArgs;
|
|
1106
1118
|
return __generator(this, function (_a) {
|
|
1107
1119
|
switch (_a.label) {
|
|
1108
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
1120
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimPositions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
1109
1121
|
case 1:
|
|
1110
1122
|
localVarAxiosArgs = _a.sent();
|
|
1111
1123
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -1114,7 +1126,7 @@ var ClaimPositionsApiFp = function (configuration) {
|
|
|
1114
1126
|
});
|
|
1115
1127
|
},
|
|
1116
1128
|
/**
|
|
1117
|
-
* Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\"
|
|
1129
|
+
* Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1118
1130
|
* @summary List claim positions
|
|
1119
1131
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1120
1132
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -1125,6 +1137,7 @@ var ClaimPositionsApiFp = function (configuration) {
|
|
|
1125
1137
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
1126
1138
|
* @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, code, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
1127
1139
|
* @param {*} [options] Override http request option.
|
|
1140
|
+
* @deprecated
|
|
1128
1141
|
* @throws {RequiredError}
|
|
1129
1142
|
*/
|
|
1130
1143
|
listClaimPositions1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -1149,12 +1162,12 @@ var ClaimPositionsApiFp = function (configuration) {
|
|
|
1149
1162
|
* @param {*} [options] Override http request option.
|
|
1150
1163
|
* @throws {RequiredError}
|
|
1151
1164
|
*/
|
|
1152
|
-
|
|
1165
|
+
updateClaimPosition: function (code, updateClaimPositionRequestDto, authorization, options) {
|
|
1153
1166
|
return __awaiter(this, void 0, void 0, function () {
|
|
1154
1167
|
var localVarAxiosArgs;
|
|
1155
1168
|
return __generator(this, function (_a) {
|
|
1156
1169
|
switch (_a.label) {
|
|
1157
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
1170
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaimPosition(code, updateClaimPositionRequestDto, authorization, options)];
|
|
1158
1171
|
case 1:
|
|
1159
1172
|
localVarAxiosArgs = _a.sent();
|
|
1160
1173
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -1163,12 +1176,13 @@ var ClaimPositionsApiFp = function (configuration) {
|
|
|
1163
1176
|
});
|
|
1164
1177
|
},
|
|
1165
1178
|
/**
|
|
1166
|
-
* This will update claim position. **Required Permissions** \"claim-management.claims.update\"
|
|
1179
|
+
* This will update claim position. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1167
1180
|
* @summary Update the claim position
|
|
1168
1181
|
* @param {string} code
|
|
1169
1182
|
* @param {UpdateClaimPositionRequestDto} updateClaimPositionRequestDto
|
|
1170
1183
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1171
1184
|
* @param {*} [options] Override http request option.
|
|
1185
|
+
* @deprecated
|
|
1172
1186
|
* @throws {RequiredError}
|
|
1173
1187
|
*/
|
|
1174
1188
|
updateClaimPosition1: function (code, updateClaimPositionRequestDto, authorization, options) {
|
|
@@ -1203,16 +1217,17 @@ var ClaimPositionsApiFactory = function (configuration, basePath, axios) {
|
|
|
1203
1217
|
* @param {*} [options] Override http request option.
|
|
1204
1218
|
* @throws {RequiredError}
|
|
1205
1219
|
*/
|
|
1206
|
-
|
|
1207
|
-
return localVarFp.
|
|
1220
|
+
batchUpsertClaimPositions: function (claimCode, batchUpsertClaimPositionsRequestDto, authorization, options) {
|
|
1221
|
+
return localVarFp.batchUpsertClaimPositions(claimCode, batchUpsertClaimPositionsRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1208
1222
|
},
|
|
1209
1223
|
/**
|
|
1210
|
-
* Batch upsert claim positions for a claim. Creates new positions, updates existing ones by code, and deletes positions by code in a single request. **Required Permissions** \"claim-management.claims.update\"
|
|
1224
|
+
* Batch upsert claim positions for a claim. Creates new positions, updates existing ones by code, and deletes positions by code in a single request. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1211
1225
|
* @summary Batch upsert claim positions
|
|
1212
1226
|
* @param {string} claimCode Unique identifier for the object.
|
|
1213
1227
|
* @param {BatchUpsertClaimPositionsRequestDto} batchUpsertClaimPositionsRequestDto
|
|
1214
1228
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1215
1229
|
* @param {*} [options] Override http request option.
|
|
1230
|
+
* @deprecated
|
|
1216
1231
|
* @throws {RequiredError}
|
|
1217
1232
|
*/
|
|
1218
1233
|
batchUpsertClaimPositions1: function (claimCode, batchUpsertClaimPositionsRequestDto, authorization, options) {
|
|
@@ -1227,16 +1242,17 @@ var ClaimPositionsApiFactory = function (configuration, basePath, axios) {
|
|
|
1227
1242
|
* @param {*} [options] Override http request option.
|
|
1228
1243
|
* @throws {RequiredError}
|
|
1229
1244
|
*/
|
|
1230
|
-
|
|
1231
|
-
return localVarFp.
|
|
1245
|
+
calculateClaimPositions: function (claimCode, calculateClaimPositionsRequestDto, authorization, options) {
|
|
1246
|
+
return localVarFp.calculateClaimPositions(claimCode, calculateClaimPositionsRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1232
1247
|
},
|
|
1233
1248
|
/**
|
|
1234
|
-
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\"
|
|
1249
|
+
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1235
1250
|
* @summary Calculate claim positions
|
|
1236
1251
|
* @param {string} claimCode Unique identifier for the object.
|
|
1237
1252
|
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
1238
1253
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1239
1254
|
* @param {*} [options] Override http request option.
|
|
1255
|
+
* @deprecated
|
|
1240
1256
|
* @throws {RequiredError}
|
|
1241
1257
|
*/
|
|
1242
1258
|
calculateClaimPositions1: function (claimCode, calculateClaimPositionsRequestDto, authorization, options) {
|
|
@@ -1250,15 +1266,16 @@ var ClaimPositionsApiFactory = function (configuration, basePath, axios) {
|
|
|
1250
1266
|
* @param {*} [options] Override http request option.
|
|
1251
1267
|
* @throws {RequiredError}
|
|
1252
1268
|
*/
|
|
1253
|
-
|
|
1254
|
-
return localVarFp.
|
|
1269
|
+
createClaimPosition: function (createClaimPositionRequestDto, authorization, options) {
|
|
1270
|
+
return localVarFp.createClaimPosition(createClaimPositionRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1255
1271
|
},
|
|
1256
1272
|
/**
|
|
1257
|
-
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
1273
|
+
* This will create claim position. **Required Permissions** \"claim-management.claims.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1258
1274
|
* @summary Create the claim position
|
|
1259
1275
|
* @param {CreateClaimPositionRequestDto} createClaimPositionRequestDto
|
|
1260
1276
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1261
1277
|
* @param {*} [options] Override http request option.
|
|
1278
|
+
* @deprecated
|
|
1262
1279
|
* @throws {RequiredError}
|
|
1263
1280
|
*/
|
|
1264
1281
|
createClaimPosition1: function (createClaimPositionRequestDto, authorization, options) {
|
|
@@ -1272,15 +1289,16 @@ var ClaimPositionsApiFactory = function (configuration, basePath, axios) {
|
|
|
1272
1289
|
* @param {*} [options] Override http request option.
|
|
1273
1290
|
* @throws {RequiredError}
|
|
1274
1291
|
*/
|
|
1275
|
-
|
|
1276
|
-
return localVarFp.
|
|
1292
|
+
deleteClaimPosition: function (code, authorization, options) {
|
|
1293
|
+
return localVarFp.deleteClaimPosition(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1277
1294
|
},
|
|
1278
1295
|
/**
|
|
1279
|
-
* This will delete claim position. **Required Permissions** \"claim-management.claims.delete\"
|
|
1296
|
+
* This will delete claim position. **Required Permissions** \"claim-management.claims.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1280
1297
|
* @summary Delete the claim position
|
|
1281
1298
|
* @param {string} code Unique identifier for the object.
|
|
1282
1299
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1283
1300
|
* @param {*} [options] Override http request option.
|
|
1301
|
+
* @deprecated
|
|
1284
1302
|
* @throws {RequiredError}
|
|
1285
1303
|
*/
|
|
1286
1304
|
deleteClaimPosition1: function (code, authorization, options) {
|
|
@@ -1295,16 +1313,17 @@ var ClaimPositionsApiFactory = function (configuration, basePath, axios) {
|
|
|
1295
1313
|
* @param {*} [options] Override http request option.
|
|
1296
1314
|
* @throws {RequiredError}
|
|
1297
1315
|
*/
|
|
1298
|
-
|
|
1299
|
-
return localVarFp.
|
|
1316
|
+
getClaimPosition: function (code, expand, authorization, options) {
|
|
1317
|
+
return localVarFp.getClaimPosition(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1300
1318
|
},
|
|
1301
1319
|
/**
|
|
1302
|
-
* This will get claim position. **Required Permissions** \"claim-management.claims.view\"
|
|
1320
|
+
* This will get claim position. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1303
1321
|
* @summary Retrieve the claim position
|
|
1304
1322
|
* @param {string} code
|
|
1305
1323
|
* @param {string} expand
|
|
1306
1324
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1307
1325
|
* @param {*} [options] Override http request option.
|
|
1326
|
+
* @deprecated
|
|
1308
1327
|
* @throws {RequiredError}
|
|
1309
1328
|
*/
|
|
1310
1329
|
getClaimPosition1: function (code, expand, authorization, options) {
|
|
@@ -1324,11 +1343,11 @@ var ClaimPositionsApiFactory = function (configuration, basePath, axios) {
|
|
|
1324
1343
|
* @param {*} [options] Override http request option.
|
|
1325
1344
|
* @throws {RequiredError}
|
|
1326
1345
|
*/
|
|
1327
|
-
|
|
1328
|
-
return localVarFp.
|
|
1346
|
+
listClaimPositions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1347
|
+
return localVarFp.listClaimPositions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
1329
1348
|
},
|
|
1330
1349
|
/**
|
|
1331
|
-
* Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\"
|
|
1350
|
+
* Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1332
1351
|
* @summary List claim positions
|
|
1333
1352
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1334
1353
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -1339,6 +1358,7 @@ var ClaimPositionsApiFactory = function (configuration, basePath, axios) {
|
|
|
1339
1358
|
* @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/>
|
|
1340
1359
|
* @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, code, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
1341
1360
|
* @param {*} [options] Override http request option.
|
|
1361
|
+
* @deprecated
|
|
1342
1362
|
* @throws {RequiredError}
|
|
1343
1363
|
*/
|
|
1344
1364
|
listClaimPositions1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -1353,16 +1373,17 @@ var ClaimPositionsApiFactory = function (configuration, basePath, axios) {
|
|
|
1353
1373
|
* @param {*} [options] Override http request option.
|
|
1354
1374
|
* @throws {RequiredError}
|
|
1355
1375
|
*/
|
|
1356
|
-
|
|
1357
|
-
return localVarFp.
|
|
1376
|
+
updateClaimPosition: function (code, updateClaimPositionRequestDto, authorization, options) {
|
|
1377
|
+
return localVarFp.updateClaimPosition(code, updateClaimPositionRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1358
1378
|
},
|
|
1359
1379
|
/**
|
|
1360
|
-
* This will update claim position. **Required Permissions** \"claim-management.claims.update\"
|
|
1380
|
+
* This will update claim position. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1361
1381
|
* @summary Update the claim position
|
|
1362
1382
|
* @param {string} code
|
|
1363
1383
|
* @param {UpdateClaimPositionRequestDto} updateClaimPositionRequestDto
|
|
1364
1384
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1365
1385
|
* @param {*} [options] Override http request option.
|
|
1386
|
+
* @deprecated
|
|
1366
1387
|
* @throws {RequiredError}
|
|
1367
1388
|
*/
|
|
1368
1389
|
updateClaimPosition1: function (code, updateClaimPositionRequestDto, authorization, options) {
|
|
@@ -1385,20 +1406,21 @@ var ClaimPositionsApi = /** @class */ (function (_super) {
|
|
|
1385
1406
|
/**
|
|
1386
1407
|
* Batch upsert claim positions for a claim. Creates new positions, updates existing ones by code, and deletes positions by code in a single request. **Required Permissions** \"claim-management.claims.update\"
|
|
1387
1408
|
* @summary Batch upsert claim positions
|
|
1388
|
-
* @param {
|
|
1409
|
+
* @param {ClaimPositionsApiBatchUpsertClaimPositionsRequest} requestParameters Request parameters.
|
|
1389
1410
|
* @param {*} [options] Override http request option.
|
|
1390
1411
|
* @throws {RequiredError}
|
|
1391
1412
|
* @memberof ClaimPositionsApi
|
|
1392
1413
|
*/
|
|
1393
|
-
ClaimPositionsApi.prototype.
|
|
1414
|
+
ClaimPositionsApi.prototype.batchUpsertClaimPositions = function (requestParameters, options) {
|
|
1394
1415
|
var _this = this;
|
|
1395
|
-
return (0, exports.ClaimPositionsApiFp)(this.configuration).
|
|
1416
|
+
return (0, exports.ClaimPositionsApiFp)(this.configuration).batchUpsertClaimPositions(requestParameters.claimCode, requestParameters.batchUpsertClaimPositionsRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1396
1417
|
};
|
|
1397
1418
|
/**
|
|
1398
|
-
* Batch upsert claim positions for a claim. Creates new positions, updates existing ones by code, and deletes positions by code in a single request. **Required Permissions** \"claim-management.claims.update\"
|
|
1419
|
+
* Batch upsert claim positions for a claim. Creates new positions, updates existing ones by code, and deletes positions by code in a single request. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1399
1420
|
* @summary Batch upsert claim positions
|
|
1400
1421
|
* @param {ClaimPositionsApiBatchUpsertClaimPositions1Request} requestParameters Request parameters.
|
|
1401
1422
|
* @param {*} [options] Override http request option.
|
|
1423
|
+
* @deprecated
|
|
1402
1424
|
* @throws {RequiredError}
|
|
1403
1425
|
* @memberof ClaimPositionsApi
|
|
1404
1426
|
*/
|
|
@@ -1409,20 +1431,21 @@ var ClaimPositionsApi = /** @class */ (function (_super) {
|
|
|
1409
1431
|
/**
|
|
1410
1432
|
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\"
|
|
1411
1433
|
* @summary Calculate claim positions
|
|
1412
|
-
* @param {
|
|
1434
|
+
* @param {ClaimPositionsApiCalculateClaimPositionsRequest} requestParameters Request parameters.
|
|
1413
1435
|
* @param {*} [options] Override http request option.
|
|
1414
1436
|
* @throws {RequiredError}
|
|
1415
1437
|
* @memberof ClaimPositionsApi
|
|
1416
1438
|
*/
|
|
1417
|
-
ClaimPositionsApi.prototype.
|
|
1439
|
+
ClaimPositionsApi.prototype.calculateClaimPositions = function (requestParameters, options) {
|
|
1418
1440
|
var _this = this;
|
|
1419
|
-
return (0, exports.ClaimPositionsApiFp)(this.configuration).
|
|
1441
|
+
return (0, exports.ClaimPositionsApiFp)(this.configuration).calculateClaimPositions(requestParameters.claimCode, requestParameters.calculateClaimPositionsRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1420
1442
|
};
|
|
1421
1443
|
/**
|
|
1422
|
-
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\"
|
|
1444
|
+
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1423
1445
|
* @summary Calculate claim positions
|
|
1424
1446
|
* @param {ClaimPositionsApiCalculateClaimPositions1Request} requestParameters Request parameters.
|
|
1425
1447
|
* @param {*} [options] Override http request option.
|
|
1448
|
+
* @deprecated
|
|
1426
1449
|
* @throws {RequiredError}
|
|
1427
1450
|
* @memberof ClaimPositionsApi
|
|
1428
1451
|
*/
|
|
@@ -1433,20 +1456,21 @@ var ClaimPositionsApi = /** @class */ (function (_super) {
|
|
|
1433
1456
|
/**
|
|
1434
1457
|
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
1435
1458
|
* @summary Create the claim position
|
|
1436
|
-
* @param {
|
|
1459
|
+
* @param {ClaimPositionsApiCreateClaimPositionRequest} requestParameters Request parameters.
|
|
1437
1460
|
* @param {*} [options] Override http request option.
|
|
1438
1461
|
* @throws {RequiredError}
|
|
1439
1462
|
* @memberof ClaimPositionsApi
|
|
1440
1463
|
*/
|
|
1441
|
-
ClaimPositionsApi.prototype.
|
|
1464
|
+
ClaimPositionsApi.prototype.createClaimPosition = function (requestParameters, options) {
|
|
1442
1465
|
var _this = this;
|
|
1443
|
-
return (0, exports.ClaimPositionsApiFp)(this.configuration).
|
|
1466
|
+
return (0, exports.ClaimPositionsApiFp)(this.configuration).createClaimPosition(requestParameters.createClaimPositionRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1444
1467
|
};
|
|
1445
1468
|
/**
|
|
1446
|
-
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
1469
|
+
* This will create claim position. **Required Permissions** \"claim-management.claims.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1447
1470
|
* @summary Create the claim position
|
|
1448
1471
|
* @param {ClaimPositionsApiCreateClaimPosition1Request} requestParameters Request parameters.
|
|
1449
1472
|
* @param {*} [options] Override http request option.
|
|
1473
|
+
* @deprecated
|
|
1450
1474
|
* @throws {RequiredError}
|
|
1451
1475
|
* @memberof ClaimPositionsApi
|
|
1452
1476
|
*/
|
|
@@ -1457,20 +1481,21 @@ var ClaimPositionsApi = /** @class */ (function (_super) {
|
|
|
1457
1481
|
/**
|
|
1458
1482
|
* This will delete claim position. **Required Permissions** \"claim-management.claims.delete\"
|
|
1459
1483
|
* @summary Delete the claim position
|
|
1460
|
-
* @param {
|
|
1484
|
+
* @param {ClaimPositionsApiDeleteClaimPositionRequest} requestParameters Request parameters.
|
|
1461
1485
|
* @param {*} [options] Override http request option.
|
|
1462
1486
|
* @throws {RequiredError}
|
|
1463
1487
|
* @memberof ClaimPositionsApi
|
|
1464
1488
|
*/
|
|
1465
|
-
ClaimPositionsApi.prototype.
|
|
1489
|
+
ClaimPositionsApi.prototype.deleteClaimPosition = function (requestParameters, options) {
|
|
1466
1490
|
var _this = this;
|
|
1467
|
-
return (0, exports.ClaimPositionsApiFp)(this.configuration).
|
|
1491
|
+
return (0, exports.ClaimPositionsApiFp)(this.configuration).deleteClaimPosition(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1468
1492
|
};
|
|
1469
1493
|
/**
|
|
1470
|
-
* This will delete claim position. **Required Permissions** \"claim-management.claims.delete\"
|
|
1494
|
+
* This will delete claim position. **Required Permissions** \"claim-management.claims.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1471
1495
|
* @summary Delete the claim position
|
|
1472
1496
|
* @param {ClaimPositionsApiDeleteClaimPosition1Request} requestParameters Request parameters.
|
|
1473
1497
|
* @param {*} [options] Override http request option.
|
|
1498
|
+
* @deprecated
|
|
1474
1499
|
* @throws {RequiredError}
|
|
1475
1500
|
* @memberof ClaimPositionsApi
|
|
1476
1501
|
*/
|
|
@@ -1481,20 +1506,21 @@ var ClaimPositionsApi = /** @class */ (function (_super) {
|
|
|
1481
1506
|
/**
|
|
1482
1507
|
* This will get claim position. **Required Permissions** \"claim-management.claims.view\"
|
|
1483
1508
|
* @summary Retrieve the claim position
|
|
1484
|
-
* @param {
|
|
1509
|
+
* @param {ClaimPositionsApiGetClaimPositionRequest} requestParameters Request parameters.
|
|
1485
1510
|
* @param {*} [options] Override http request option.
|
|
1486
1511
|
* @throws {RequiredError}
|
|
1487
1512
|
* @memberof ClaimPositionsApi
|
|
1488
1513
|
*/
|
|
1489
|
-
ClaimPositionsApi.prototype.
|
|
1514
|
+
ClaimPositionsApi.prototype.getClaimPosition = function (requestParameters, options) {
|
|
1490
1515
|
var _this = this;
|
|
1491
|
-
return (0, exports.ClaimPositionsApiFp)(this.configuration).
|
|
1516
|
+
return (0, exports.ClaimPositionsApiFp)(this.configuration).getClaimPosition(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1492
1517
|
};
|
|
1493
1518
|
/**
|
|
1494
|
-
* This will get claim position. **Required Permissions** \"claim-management.claims.view\"
|
|
1519
|
+
* This will get claim position. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1495
1520
|
* @summary Retrieve the claim position
|
|
1496
1521
|
* @param {ClaimPositionsApiGetClaimPosition1Request} requestParameters Request parameters.
|
|
1497
1522
|
* @param {*} [options] Override http request option.
|
|
1523
|
+
* @deprecated
|
|
1498
1524
|
* @throws {RequiredError}
|
|
1499
1525
|
* @memberof ClaimPositionsApi
|
|
1500
1526
|
*/
|
|
@@ -1505,21 +1531,22 @@ var ClaimPositionsApi = /** @class */ (function (_super) {
|
|
|
1505
1531
|
/**
|
|
1506
1532
|
* Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\"
|
|
1507
1533
|
* @summary List claim positions
|
|
1508
|
-
* @param {
|
|
1534
|
+
* @param {ClaimPositionsApiListClaimPositionsRequest} requestParameters Request parameters.
|
|
1509
1535
|
* @param {*} [options] Override http request option.
|
|
1510
1536
|
* @throws {RequiredError}
|
|
1511
1537
|
* @memberof ClaimPositionsApi
|
|
1512
1538
|
*/
|
|
1513
|
-
ClaimPositionsApi.prototype.
|
|
1539
|
+
ClaimPositionsApi.prototype.listClaimPositions = function (requestParameters, options) {
|
|
1514
1540
|
var _this = this;
|
|
1515
1541
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1516
|
-
return (0, exports.ClaimPositionsApiFp)(this.configuration).
|
|
1542
|
+
return (0, exports.ClaimPositionsApiFp)(this.configuration).listClaimPositions(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); });
|
|
1517
1543
|
};
|
|
1518
1544
|
/**
|
|
1519
|
-
* Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\"
|
|
1545
|
+
* Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1520
1546
|
* @summary List claim positions
|
|
1521
1547
|
* @param {ClaimPositionsApiListClaimPositions1Request} requestParameters Request parameters.
|
|
1522
1548
|
* @param {*} [options] Override http request option.
|
|
1549
|
+
* @deprecated
|
|
1523
1550
|
* @throws {RequiredError}
|
|
1524
1551
|
* @memberof ClaimPositionsApi
|
|
1525
1552
|
*/
|
|
@@ -1531,20 +1558,21 @@ var ClaimPositionsApi = /** @class */ (function (_super) {
|
|
|
1531
1558
|
/**
|
|
1532
1559
|
* This will update claim position. **Required Permissions** \"claim-management.claims.update\"
|
|
1533
1560
|
* @summary Update the claim position
|
|
1534
|
-
* @param {
|
|
1561
|
+
* @param {ClaimPositionsApiUpdateClaimPositionRequest} requestParameters Request parameters.
|
|
1535
1562
|
* @param {*} [options] Override http request option.
|
|
1536
1563
|
* @throws {RequiredError}
|
|
1537
1564
|
* @memberof ClaimPositionsApi
|
|
1538
1565
|
*/
|
|
1539
|
-
ClaimPositionsApi.prototype.
|
|
1566
|
+
ClaimPositionsApi.prototype.updateClaimPosition = function (requestParameters, options) {
|
|
1540
1567
|
var _this = this;
|
|
1541
|
-
return (0, exports.ClaimPositionsApiFp)(this.configuration).
|
|
1568
|
+
return (0, exports.ClaimPositionsApiFp)(this.configuration).updateClaimPosition(requestParameters.code, requestParameters.updateClaimPositionRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1542
1569
|
};
|
|
1543
1570
|
/**
|
|
1544
|
-
* This will update claim position. **Required Permissions** \"claim-management.claims.update\"
|
|
1571
|
+
* This will update claim position. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1545
1572
|
* @summary Update the claim position
|
|
1546
1573
|
* @param {ClaimPositionsApiUpdateClaimPosition1Request} requestParameters Request parameters.
|
|
1547
1574
|
* @param {*} [options] Override http request option.
|
|
1575
|
+
* @deprecated
|
|
1548
1576
|
* @throws {RequiredError}
|
|
1549
1577
|
* @memberof ClaimPositionsApi
|
|
1550
1578
|
*/
|