@emilgroup/claim-sdk 1.43.1-beta.0 → 1.43.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api/claim-limit-usages-api.ts +53 -45
- package/api/claim-partner-roles-api.ts +127 -107
- package/api/claim-partners-api.ts +103 -87
- package/api/claim-positions-api.ts +181 -153
- package/api/claim-regulations-api.ts +128 -108
- package/api/claim-statuses-api.ts +153 -129
- package/api/claims-api.ts +177 -149
- package/api/health-check-api.ts +46 -38
- package/api/settlements-api.ts +127 -107
- package/dist/api/claim-limit-usages-api.d.ts +42 -34
- package/dist/api/claim-limit-usages-api.js +37 -29
- package/dist/api/claim-partner-roles-api.d.ts +97 -77
- package/dist/api/claim-partner-roles-api.js +95 -75
- package/dist/api/claim-partners-api.d.ts +79 -63
- package/dist/api/claim-partners-api.js +76 -60
- package/dist/api/claim-positions-api.d.ts +136 -108
- package/dist/api/claim-positions-api.js +136 -108
- package/dist/api/claim-regulations-api.d.ts +98 -78
- package/dist/api/claim-regulations-api.js +95 -75
- package/dist/api/claim-statuses-api.d.ts +116 -92
- package/dist/api/claim-statuses-api.js +115 -91
- package/dist/api/claims-api.d.ts +134 -106
- package/dist/api/claims-api.js +134 -106
- package/dist/api/health-check-api.d.ts +32 -24
- package/dist/api/health-check-api.js +46 -38
- package/dist/api/settlements-api.d.ts +97 -77
- package/dist/api/settlements-api.js +95 -75
- package/package.json +1 -1
|
@@ -101,7 +101,7 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
101
101
|
* @param {*} [options] Override http request option.
|
|
102
102
|
* @throws {RequiredError}
|
|
103
103
|
*/
|
|
104
|
-
|
|
104
|
+
batchUpsertClaimPositions: function (claimCode, batchUpsertClaimPositionsRequestDto, authorization, options) {
|
|
105
105
|
if (options === void 0) { options = {}; }
|
|
106
106
|
return __awaiter(_this, void 0, void 0, function () {
|
|
107
107
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -109,10 +109,10 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
109
109
|
switch (_a.label) {
|
|
110
110
|
case 0:
|
|
111
111
|
// verify required parameter 'claimCode' is not null or undefined
|
|
112
|
-
(0, common_1.assertParamExists)('
|
|
112
|
+
(0, common_1.assertParamExists)('batchUpsertClaimPositions', 'claimCode', claimCode);
|
|
113
113
|
// verify required parameter 'batchUpsertClaimPositionsRequestDto' is not null or undefined
|
|
114
|
-
(0, common_1.assertParamExists)('
|
|
115
|
-
localVarPath = "/v1/claim-positions/batch/{claimCode}"
|
|
114
|
+
(0, common_1.assertParamExists)('batchUpsertClaimPositions', 'batchUpsertClaimPositionsRequestDto', batchUpsertClaimPositionsRequestDto);
|
|
115
|
+
localVarPath = "/claimservice/v1/claim-positions/batch/{claimCode}"
|
|
116
116
|
.replace("{".concat("claimCode", "}"), encodeURIComponent(String(claimCode)));
|
|
117
117
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
118
118
|
if (configuration) {
|
|
@@ -146,12 +146,13 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
146
146
|
});
|
|
147
147
|
},
|
|
148
148
|
/**
|
|
149
|
-
* 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\"
|
|
149
|
+
* 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.
|
|
150
150
|
* @summary Batch upsert claim positions
|
|
151
151
|
* @param {string} claimCode Unique identifier for the object.
|
|
152
152
|
* @param {BatchUpsertClaimPositionsRequestDto} batchUpsertClaimPositionsRequestDto
|
|
153
153
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
154
154
|
* @param {*} [options] Override http request option.
|
|
155
|
+
* @deprecated
|
|
155
156
|
* @throws {RequiredError}
|
|
156
157
|
*/
|
|
157
158
|
batchUpsertClaimPositions1: function (claimCode, batchUpsertClaimPositionsRequestDto, authorization, options) {
|
|
@@ -165,7 +166,7 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
165
166
|
(0, common_1.assertParamExists)('batchUpsertClaimPositions1', 'claimCode', claimCode);
|
|
166
167
|
// verify required parameter 'batchUpsertClaimPositionsRequestDto' is not null or undefined
|
|
167
168
|
(0, common_1.assertParamExists)('batchUpsertClaimPositions1', 'batchUpsertClaimPositionsRequestDto', batchUpsertClaimPositionsRequestDto);
|
|
168
|
-
localVarPath = "/
|
|
169
|
+
localVarPath = "/v1/claim-positions/batch/{claimCode}"
|
|
169
170
|
.replace("{".concat("claimCode", "}"), encodeURIComponent(String(claimCode)));
|
|
170
171
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
171
172
|
if (configuration) {
|
|
@@ -207,7 +208,7 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
207
208
|
* @param {*} [options] Override http request option.
|
|
208
209
|
* @throws {RequiredError}
|
|
209
210
|
*/
|
|
210
|
-
|
|
211
|
+
calculateClaimPositions: function (claimCode, calculateClaimPositionsRequestDto, authorization, options) {
|
|
211
212
|
if (options === void 0) { options = {}; }
|
|
212
213
|
return __awaiter(_this, void 0, void 0, function () {
|
|
213
214
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -215,10 +216,10 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
215
216
|
switch (_a.label) {
|
|
216
217
|
case 0:
|
|
217
218
|
// verify required parameter 'claimCode' is not null or undefined
|
|
218
|
-
(0, common_1.assertParamExists)('
|
|
219
|
+
(0, common_1.assertParamExists)('calculateClaimPositions', 'claimCode', claimCode);
|
|
219
220
|
// verify required parameter 'calculateClaimPositionsRequestDto' is not null or undefined
|
|
220
|
-
(0, common_1.assertParamExists)('
|
|
221
|
-
localVarPath = "/v1/claim-positions/calculate/{claimCode}"
|
|
221
|
+
(0, common_1.assertParamExists)('calculateClaimPositions', 'calculateClaimPositionsRequestDto', calculateClaimPositionsRequestDto);
|
|
222
|
+
localVarPath = "/claimservice/v1/claim-positions/calculate/{claimCode}"
|
|
222
223
|
.replace("{".concat("claimCode", "}"), encodeURIComponent(String(claimCode)));
|
|
223
224
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
224
225
|
if (configuration) {
|
|
@@ -252,12 +253,13 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
252
253
|
});
|
|
253
254
|
},
|
|
254
255
|
/**
|
|
255
|
-
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\"
|
|
256
|
+
* 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.
|
|
256
257
|
* @summary Calculate claim positions
|
|
257
258
|
* @param {string} claimCode Unique identifier for the object.
|
|
258
259
|
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
259
260
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
260
261
|
* @param {*} [options] Override http request option.
|
|
262
|
+
* @deprecated
|
|
261
263
|
* @throws {RequiredError}
|
|
262
264
|
*/
|
|
263
265
|
calculateClaimPositions1: function (claimCode, calculateClaimPositionsRequestDto, authorization, options) {
|
|
@@ -271,7 +273,7 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
271
273
|
(0, common_1.assertParamExists)('calculateClaimPositions1', 'claimCode', claimCode);
|
|
272
274
|
// verify required parameter 'calculateClaimPositionsRequestDto' is not null or undefined
|
|
273
275
|
(0, common_1.assertParamExists)('calculateClaimPositions1', 'calculateClaimPositionsRequestDto', calculateClaimPositionsRequestDto);
|
|
274
|
-
localVarPath = "/
|
|
276
|
+
localVarPath = "/v1/claim-positions/calculate/{claimCode}"
|
|
275
277
|
.replace("{".concat("claimCode", "}"), encodeURIComponent(String(claimCode)));
|
|
276
278
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
277
279
|
if (configuration) {
|
|
@@ -312,7 +314,7 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
312
314
|
* @param {*} [options] Override http request option.
|
|
313
315
|
* @throws {RequiredError}
|
|
314
316
|
*/
|
|
315
|
-
|
|
317
|
+
createClaimPosition: function (createClaimPositionRequestDto, authorization, options) {
|
|
316
318
|
if (options === void 0) { options = {}; }
|
|
317
319
|
return __awaiter(_this, void 0, void 0, function () {
|
|
318
320
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -320,8 +322,8 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
320
322
|
switch (_a.label) {
|
|
321
323
|
case 0:
|
|
322
324
|
// verify required parameter 'createClaimPositionRequestDto' is not null or undefined
|
|
323
|
-
(0, common_1.assertParamExists)('
|
|
324
|
-
localVarPath = "/v1/claim-positions";
|
|
325
|
+
(0, common_1.assertParamExists)('createClaimPosition', 'createClaimPositionRequestDto', createClaimPositionRequestDto);
|
|
326
|
+
localVarPath = "/claimservice/v1/claim-positions";
|
|
325
327
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
326
328
|
if (configuration) {
|
|
327
329
|
baseOptions = configuration.baseOptions;
|
|
@@ -354,11 +356,12 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
354
356
|
});
|
|
355
357
|
},
|
|
356
358
|
/**
|
|
357
|
-
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
359
|
+
* 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.
|
|
358
360
|
* @summary Create the claim position
|
|
359
361
|
* @param {CreateClaimPositionRequestDto} createClaimPositionRequestDto
|
|
360
362
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
361
363
|
* @param {*} [options] Override http request option.
|
|
364
|
+
* @deprecated
|
|
362
365
|
* @throws {RequiredError}
|
|
363
366
|
*/
|
|
364
367
|
createClaimPosition1: function (createClaimPositionRequestDto, authorization, options) {
|
|
@@ -370,7 +373,7 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
370
373
|
case 0:
|
|
371
374
|
// verify required parameter 'createClaimPositionRequestDto' is not null or undefined
|
|
372
375
|
(0, common_1.assertParamExists)('createClaimPosition1', 'createClaimPositionRequestDto', createClaimPositionRequestDto);
|
|
373
|
-
localVarPath = "/
|
|
376
|
+
localVarPath = "/v1/claim-positions";
|
|
374
377
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
375
378
|
if (configuration) {
|
|
376
379
|
baseOptions = configuration.baseOptions;
|
|
@@ -410,7 +413,7 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
410
413
|
* @param {*} [options] Override http request option.
|
|
411
414
|
* @throws {RequiredError}
|
|
412
415
|
*/
|
|
413
|
-
|
|
416
|
+
deleteClaimPosition: function (code, authorization, options) {
|
|
414
417
|
if (options === void 0) { options = {}; }
|
|
415
418
|
return __awaiter(_this, void 0, void 0, function () {
|
|
416
419
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -418,8 +421,8 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
418
421
|
switch (_a.label) {
|
|
419
422
|
case 0:
|
|
420
423
|
// verify required parameter 'code' is not null or undefined
|
|
421
|
-
(0, common_1.assertParamExists)('
|
|
422
|
-
localVarPath = "/v1/claim-positions/{code}"
|
|
424
|
+
(0, common_1.assertParamExists)('deleteClaimPosition', 'code', code);
|
|
425
|
+
localVarPath = "/claimservice/v1/claim-positions/{code}"
|
|
423
426
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
424
427
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
425
428
|
if (configuration) {
|
|
@@ -451,11 +454,12 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
451
454
|
});
|
|
452
455
|
},
|
|
453
456
|
/**
|
|
454
|
-
* This will delete claim position. **Required Permissions** \"claim-management.claims.delete\"
|
|
457
|
+
* 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.
|
|
455
458
|
* @summary Delete the claim position
|
|
456
459
|
* @param {string} code Unique identifier for the object.
|
|
457
460
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
458
461
|
* @param {*} [options] Override http request option.
|
|
462
|
+
* @deprecated
|
|
459
463
|
* @throws {RequiredError}
|
|
460
464
|
*/
|
|
461
465
|
deleteClaimPosition1: function (code, authorization, options) {
|
|
@@ -467,7 +471,7 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
467
471
|
case 0:
|
|
468
472
|
// verify required parameter 'code' is not null or undefined
|
|
469
473
|
(0, common_1.assertParamExists)('deleteClaimPosition1', 'code', code);
|
|
470
|
-
localVarPath = "/
|
|
474
|
+
localVarPath = "/v1/claim-positions/{code}"
|
|
471
475
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
472
476
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
473
477
|
if (configuration) {
|
|
@@ -507,7 +511,7 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
507
511
|
* @param {*} [options] Override http request option.
|
|
508
512
|
* @throws {RequiredError}
|
|
509
513
|
*/
|
|
510
|
-
|
|
514
|
+
getClaimPosition: function (code, expand, authorization, options) {
|
|
511
515
|
if (options === void 0) { options = {}; }
|
|
512
516
|
return __awaiter(_this, void 0, void 0, function () {
|
|
513
517
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -515,10 +519,10 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
515
519
|
switch (_a.label) {
|
|
516
520
|
case 0:
|
|
517
521
|
// verify required parameter 'code' is not null or undefined
|
|
518
|
-
(0, common_1.assertParamExists)('
|
|
522
|
+
(0, common_1.assertParamExists)('getClaimPosition', 'code', code);
|
|
519
523
|
// verify required parameter 'expand' is not null or undefined
|
|
520
|
-
(0, common_1.assertParamExists)('
|
|
521
|
-
localVarPath = "/v1/claim-positions/{code}"
|
|
524
|
+
(0, common_1.assertParamExists)('getClaimPosition', 'expand', expand);
|
|
525
|
+
localVarPath = "/claimservice/v1/claim-positions/{code}"
|
|
522
526
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
523
527
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
524
528
|
if (configuration) {
|
|
@@ -553,12 +557,13 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
553
557
|
});
|
|
554
558
|
},
|
|
555
559
|
/**
|
|
556
|
-
* This will get claim position. **Required Permissions** \"claim-management.claims.view\"
|
|
560
|
+
* 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.
|
|
557
561
|
* @summary Retrieve the claim position
|
|
558
562
|
* @param {string} code
|
|
559
563
|
* @param {string} expand
|
|
560
564
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
561
565
|
* @param {*} [options] Override http request option.
|
|
566
|
+
* @deprecated
|
|
562
567
|
* @throws {RequiredError}
|
|
563
568
|
*/
|
|
564
569
|
getClaimPosition1: function (code, expand, authorization, options) {
|
|
@@ -572,7 +577,7 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
572
577
|
(0, common_1.assertParamExists)('getClaimPosition1', 'code', code);
|
|
573
578
|
// verify required parameter 'expand' is not null or undefined
|
|
574
579
|
(0, common_1.assertParamExists)('getClaimPosition1', 'expand', expand);
|
|
575
|
-
localVarPath = "/
|
|
580
|
+
localVarPath = "/v1/claim-positions/{code}"
|
|
576
581
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
577
582
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
578
583
|
if (configuration) {
|
|
@@ -620,14 +625,14 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
620
625
|
* @param {*} [options] Override http request option.
|
|
621
626
|
* @throws {RequiredError}
|
|
622
627
|
*/
|
|
623
|
-
|
|
628
|
+
listClaimPositions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
624
629
|
if (options === void 0) { options = {}; }
|
|
625
630
|
return __awaiter(_this, void 0, void 0, function () {
|
|
626
631
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
627
632
|
return __generator(this, function (_a) {
|
|
628
633
|
switch (_a.label) {
|
|
629
634
|
case 0:
|
|
630
|
-
localVarPath = "/v1/claim-positions";
|
|
635
|
+
localVarPath = "/claimservice/v1/claim-positions";
|
|
631
636
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
632
637
|
if (configuration) {
|
|
633
638
|
baseOptions = configuration.baseOptions;
|
|
@@ -679,7 +684,7 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
679
684
|
});
|
|
680
685
|
},
|
|
681
686
|
/**
|
|
682
|
-
* Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\"
|
|
687
|
+
* 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.
|
|
683
688
|
* @summary List claim positions
|
|
684
689
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
685
690
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -690,6 +695,7 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
690
695
|
* @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/>
|
|
691
696
|
* @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>
|
|
692
697
|
* @param {*} [options] Override http request option.
|
|
698
|
+
* @deprecated
|
|
693
699
|
* @throws {RequiredError}
|
|
694
700
|
*/
|
|
695
701
|
listClaimPositions1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -699,7 +705,7 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
699
705
|
return __generator(this, function (_a) {
|
|
700
706
|
switch (_a.label) {
|
|
701
707
|
case 0:
|
|
702
|
-
localVarPath = "/
|
|
708
|
+
localVarPath = "/v1/claim-positions";
|
|
703
709
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
704
710
|
if (configuration) {
|
|
705
711
|
baseOptions = configuration.baseOptions;
|
|
@@ -759,7 +765,7 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
759
765
|
* @param {*} [options] Override http request option.
|
|
760
766
|
* @throws {RequiredError}
|
|
761
767
|
*/
|
|
762
|
-
|
|
768
|
+
updateClaimPosition: function (code, updateClaimPositionRequestDto, authorization, options) {
|
|
763
769
|
if (options === void 0) { options = {}; }
|
|
764
770
|
return __awaiter(_this, void 0, void 0, function () {
|
|
765
771
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -767,10 +773,10 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
767
773
|
switch (_a.label) {
|
|
768
774
|
case 0:
|
|
769
775
|
// verify required parameter 'code' is not null or undefined
|
|
770
|
-
(0, common_1.assertParamExists)('
|
|
776
|
+
(0, common_1.assertParamExists)('updateClaimPosition', 'code', code);
|
|
771
777
|
// verify required parameter 'updateClaimPositionRequestDto' is not null or undefined
|
|
772
|
-
(0, common_1.assertParamExists)('
|
|
773
|
-
localVarPath = "/v1/claim-positions/{code}"
|
|
778
|
+
(0, common_1.assertParamExists)('updateClaimPosition', 'updateClaimPositionRequestDto', updateClaimPositionRequestDto);
|
|
779
|
+
localVarPath = "/claimservice/v1/claim-positions/{code}"
|
|
774
780
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
775
781
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
776
782
|
if (configuration) {
|
|
@@ -804,12 +810,13 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
804
810
|
});
|
|
805
811
|
},
|
|
806
812
|
/**
|
|
807
|
-
* This will update claim position. **Required Permissions** \"claim-management.claims.update\"
|
|
813
|
+
* 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.
|
|
808
814
|
* @summary Update the claim position
|
|
809
815
|
* @param {string} code
|
|
810
816
|
* @param {UpdateClaimPositionRequestDto} updateClaimPositionRequestDto
|
|
811
817
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
812
818
|
* @param {*} [options] Override http request option.
|
|
819
|
+
* @deprecated
|
|
813
820
|
* @throws {RequiredError}
|
|
814
821
|
*/
|
|
815
822
|
updateClaimPosition1: function (code, updateClaimPositionRequestDto, authorization, options) {
|
|
@@ -823,7 +830,7 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
823
830
|
(0, common_1.assertParamExists)('updateClaimPosition1', 'code', code);
|
|
824
831
|
// verify required parameter 'updateClaimPositionRequestDto' is not null or undefined
|
|
825
832
|
(0, common_1.assertParamExists)('updateClaimPosition1', 'updateClaimPositionRequestDto', updateClaimPositionRequestDto);
|
|
826
|
-
localVarPath = "/
|
|
833
|
+
localVarPath = "/v1/claim-positions/{code}"
|
|
827
834
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
828
835
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
829
836
|
if (configuration) {
|
|
@@ -875,12 +882,12 @@ var ClaimPositionsApiFp = function (configuration) {
|
|
|
875
882
|
* @param {*} [options] Override http request option.
|
|
876
883
|
* @throws {RequiredError}
|
|
877
884
|
*/
|
|
878
|
-
|
|
885
|
+
batchUpsertClaimPositions: function (claimCode, batchUpsertClaimPositionsRequestDto, authorization, options) {
|
|
879
886
|
return __awaiter(this, void 0, void 0, function () {
|
|
880
887
|
var localVarAxiosArgs;
|
|
881
888
|
return __generator(this, function (_a) {
|
|
882
889
|
switch (_a.label) {
|
|
883
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
890
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.batchUpsertClaimPositions(claimCode, batchUpsertClaimPositionsRequestDto, authorization, options)];
|
|
884
891
|
case 1:
|
|
885
892
|
localVarAxiosArgs = _a.sent();
|
|
886
893
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -889,12 +896,13 @@ var ClaimPositionsApiFp = function (configuration) {
|
|
|
889
896
|
});
|
|
890
897
|
},
|
|
891
898
|
/**
|
|
892
|
-
* 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\"
|
|
899
|
+
* 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.
|
|
893
900
|
* @summary Batch upsert claim positions
|
|
894
901
|
* @param {string} claimCode Unique identifier for the object.
|
|
895
902
|
* @param {BatchUpsertClaimPositionsRequestDto} batchUpsertClaimPositionsRequestDto
|
|
896
903
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
897
904
|
* @param {*} [options] Override http request option.
|
|
905
|
+
* @deprecated
|
|
898
906
|
* @throws {RequiredError}
|
|
899
907
|
*/
|
|
900
908
|
batchUpsertClaimPositions1: function (claimCode, batchUpsertClaimPositionsRequestDto, authorization, options) {
|
|
@@ -919,12 +927,12 @@ var ClaimPositionsApiFp = function (configuration) {
|
|
|
919
927
|
* @param {*} [options] Override http request option.
|
|
920
928
|
* @throws {RequiredError}
|
|
921
929
|
*/
|
|
922
|
-
|
|
930
|
+
calculateClaimPositions: function (claimCode, calculateClaimPositionsRequestDto, authorization, options) {
|
|
923
931
|
return __awaiter(this, void 0, void 0, function () {
|
|
924
932
|
var localVarAxiosArgs;
|
|
925
933
|
return __generator(this, function (_a) {
|
|
926
934
|
switch (_a.label) {
|
|
927
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
935
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.calculateClaimPositions(claimCode, calculateClaimPositionsRequestDto, authorization, options)];
|
|
928
936
|
case 1:
|
|
929
937
|
localVarAxiosArgs = _a.sent();
|
|
930
938
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -933,12 +941,13 @@ var ClaimPositionsApiFp = function (configuration) {
|
|
|
933
941
|
});
|
|
934
942
|
},
|
|
935
943
|
/**
|
|
936
|
-
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\"
|
|
944
|
+
* 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.
|
|
937
945
|
* @summary Calculate claim positions
|
|
938
946
|
* @param {string} claimCode Unique identifier for the object.
|
|
939
947
|
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
940
948
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
941
949
|
* @param {*} [options] Override http request option.
|
|
950
|
+
* @deprecated
|
|
942
951
|
* @throws {RequiredError}
|
|
943
952
|
*/
|
|
944
953
|
calculateClaimPositions1: function (claimCode, calculateClaimPositionsRequestDto, authorization, options) {
|
|
@@ -962,12 +971,12 @@ var ClaimPositionsApiFp = function (configuration) {
|
|
|
962
971
|
* @param {*} [options] Override http request option.
|
|
963
972
|
* @throws {RequiredError}
|
|
964
973
|
*/
|
|
965
|
-
|
|
974
|
+
createClaimPosition: function (createClaimPositionRequestDto, authorization, options) {
|
|
966
975
|
return __awaiter(this, void 0, void 0, function () {
|
|
967
976
|
var localVarAxiosArgs;
|
|
968
977
|
return __generator(this, function (_a) {
|
|
969
978
|
switch (_a.label) {
|
|
970
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
979
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createClaimPosition(createClaimPositionRequestDto, authorization, options)];
|
|
971
980
|
case 1:
|
|
972
981
|
localVarAxiosArgs = _a.sent();
|
|
973
982
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -976,11 +985,12 @@ var ClaimPositionsApiFp = function (configuration) {
|
|
|
976
985
|
});
|
|
977
986
|
},
|
|
978
987
|
/**
|
|
979
|
-
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
988
|
+
* 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.
|
|
980
989
|
* @summary Create the claim position
|
|
981
990
|
* @param {CreateClaimPositionRequestDto} createClaimPositionRequestDto
|
|
982
991
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
983
992
|
* @param {*} [options] Override http request option.
|
|
993
|
+
* @deprecated
|
|
984
994
|
* @throws {RequiredError}
|
|
985
995
|
*/
|
|
986
996
|
createClaimPosition1: function (createClaimPositionRequestDto, authorization, options) {
|
|
@@ -1004,12 +1014,12 @@ var ClaimPositionsApiFp = function (configuration) {
|
|
|
1004
1014
|
* @param {*} [options] Override http request option.
|
|
1005
1015
|
* @throws {RequiredError}
|
|
1006
1016
|
*/
|
|
1007
|
-
|
|
1017
|
+
deleteClaimPosition: function (code, authorization, options) {
|
|
1008
1018
|
return __awaiter(this, void 0, void 0, function () {
|
|
1009
1019
|
var localVarAxiosArgs;
|
|
1010
1020
|
return __generator(this, function (_a) {
|
|
1011
1021
|
switch (_a.label) {
|
|
1012
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
1022
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteClaimPosition(code, authorization, options)];
|
|
1013
1023
|
case 1:
|
|
1014
1024
|
localVarAxiosArgs = _a.sent();
|
|
1015
1025
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -1018,11 +1028,12 @@ var ClaimPositionsApiFp = function (configuration) {
|
|
|
1018
1028
|
});
|
|
1019
1029
|
},
|
|
1020
1030
|
/**
|
|
1021
|
-
* This will delete claim position. **Required Permissions** \"claim-management.claims.delete\"
|
|
1031
|
+
* 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.
|
|
1022
1032
|
* @summary Delete the claim position
|
|
1023
1033
|
* @param {string} code Unique identifier for the object.
|
|
1024
1034
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1025
1035
|
* @param {*} [options] Override http request option.
|
|
1036
|
+
* @deprecated
|
|
1026
1037
|
* @throws {RequiredError}
|
|
1027
1038
|
*/
|
|
1028
1039
|
deleteClaimPosition1: function (code, authorization, options) {
|
|
@@ -1047,12 +1058,12 @@ var ClaimPositionsApiFp = function (configuration) {
|
|
|
1047
1058
|
* @param {*} [options] Override http request option.
|
|
1048
1059
|
* @throws {RequiredError}
|
|
1049
1060
|
*/
|
|
1050
|
-
|
|
1061
|
+
getClaimPosition: function (code, expand, authorization, options) {
|
|
1051
1062
|
return __awaiter(this, void 0, void 0, function () {
|
|
1052
1063
|
var localVarAxiosArgs;
|
|
1053
1064
|
return __generator(this, function (_a) {
|
|
1054
1065
|
switch (_a.label) {
|
|
1055
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
1066
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimPosition(code, expand, authorization, options)];
|
|
1056
1067
|
case 1:
|
|
1057
1068
|
localVarAxiosArgs = _a.sent();
|
|
1058
1069
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -1061,12 +1072,13 @@ var ClaimPositionsApiFp = function (configuration) {
|
|
|
1061
1072
|
});
|
|
1062
1073
|
},
|
|
1063
1074
|
/**
|
|
1064
|
-
* This will get claim position. **Required Permissions** \"claim-management.claims.view\"
|
|
1075
|
+
* 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.
|
|
1065
1076
|
* @summary Retrieve the claim position
|
|
1066
1077
|
* @param {string} code
|
|
1067
1078
|
* @param {string} expand
|
|
1068
1079
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1069
1080
|
* @param {*} [options] Override http request option.
|
|
1081
|
+
* @deprecated
|
|
1070
1082
|
* @throws {RequiredError}
|
|
1071
1083
|
*/
|
|
1072
1084
|
getClaimPosition1: function (code, expand, authorization, options) {
|
|
@@ -1096,12 +1108,12 @@ var ClaimPositionsApiFp = function (configuration) {
|
|
|
1096
1108
|
* @param {*} [options] Override http request option.
|
|
1097
1109
|
* @throws {RequiredError}
|
|
1098
1110
|
*/
|
|
1099
|
-
|
|
1111
|
+
listClaimPositions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1100
1112
|
return __awaiter(this, void 0, void 0, function () {
|
|
1101
1113
|
var localVarAxiosArgs;
|
|
1102
1114
|
return __generator(this, function (_a) {
|
|
1103
1115
|
switch (_a.label) {
|
|
1104
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
1116
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimPositions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
1105
1117
|
case 1:
|
|
1106
1118
|
localVarAxiosArgs = _a.sent();
|
|
1107
1119
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -1110,7 +1122,7 @@ var ClaimPositionsApiFp = function (configuration) {
|
|
|
1110
1122
|
});
|
|
1111
1123
|
},
|
|
1112
1124
|
/**
|
|
1113
|
-
* Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\"
|
|
1125
|
+
* 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.
|
|
1114
1126
|
* @summary List claim positions
|
|
1115
1127
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1116
1128
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -1121,6 +1133,7 @@ var ClaimPositionsApiFp = function (configuration) {
|
|
|
1121
1133
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
1122
1134
|
* @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>
|
|
1123
1135
|
* @param {*} [options] Override http request option.
|
|
1136
|
+
* @deprecated
|
|
1124
1137
|
* @throws {RequiredError}
|
|
1125
1138
|
*/
|
|
1126
1139
|
listClaimPositions1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -1145,12 +1158,12 @@ var ClaimPositionsApiFp = function (configuration) {
|
|
|
1145
1158
|
* @param {*} [options] Override http request option.
|
|
1146
1159
|
* @throws {RequiredError}
|
|
1147
1160
|
*/
|
|
1148
|
-
|
|
1161
|
+
updateClaimPosition: function (code, updateClaimPositionRequestDto, authorization, options) {
|
|
1149
1162
|
return __awaiter(this, void 0, void 0, function () {
|
|
1150
1163
|
var localVarAxiosArgs;
|
|
1151
1164
|
return __generator(this, function (_a) {
|
|
1152
1165
|
switch (_a.label) {
|
|
1153
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
1166
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaimPosition(code, updateClaimPositionRequestDto, authorization, options)];
|
|
1154
1167
|
case 1:
|
|
1155
1168
|
localVarAxiosArgs = _a.sent();
|
|
1156
1169
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -1159,12 +1172,13 @@ var ClaimPositionsApiFp = function (configuration) {
|
|
|
1159
1172
|
});
|
|
1160
1173
|
},
|
|
1161
1174
|
/**
|
|
1162
|
-
* This will update claim position. **Required Permissions** \"claim-management.claims.update\"
|
|
1175
|
+
* 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.
|
|
1163
1176
|
* @summary Update the claim position
|
|
1164
1177
|
* @param {string} code
|
|
1165
1178
|
* @param {UpdateClaimPositionRequestDto} updateClaimPositionRequestDto
|
|
1166
1179
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1167
1180
|
* @param {*} [options] Override http request option.
|
|
1181
|
+
* @deprecated
|
|
1168
1182
|
* @throws {RequiredError}
|
|
1169
1183
|
*/
|
|
1170
1184
|
updateClaimPosition1: function (code, updateClaimPositionRequestDto, authorization, options) {
|
|
@@ -1199,16 +1213,17 @@ var ClaimPositionsApiFactory = function (configuration, basePath, axios) {
|
|
|
1199
1213
|
* @param {*} [options] Override http request option.
|
|
1200
1214
|
* @throws {RequiredError}
|
|
1201
1215
|
*/
|
|
1202
|
-
|
|
1203
|
-
return localVarFp.
|
|
1216
|
+
batchUpsertClaimPositions: function (claimCode, batchUpsertClaimPositionsRequestDto, authorization, options) {
|
|
1217
|
+
return localVarFp.batchUpsertClaimPositions(claimCode, batchUpsertClaimPositionsRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1204
1218
|
},
|
|
1205
1219
|
/**
|
|
1206
|
-
* 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\"
|
|
1220
|
+
* 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.
|
|
1207
1221
|
* @summary Batch upsert claim positions
|
|
1208
1222
|
* @param {string} claimCode Unique identifier for the object.
|
|
1209
1223
|
* @param {BatchUpsertClaimPositionsRequestDto} batchUpsertClaimPositionsRequestDto
|
|
1210
1224
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1211
1225
|
* @param {*} [options] Override http request option.
|
|
1226
|
+
* @deprecated
|
|
1212
1227
|
* @throws {RequiredError}
|
|
1213
1228
|
*/
|
|
1214
1229
|
batchUpsertClaimPositions1: function (claimCode, batchUpsertClaimPositionsRequestDto, authorization, options) {
|
|
@@ -1223,16 +1238,17 @@ var ClaimPositionsApiFactory = function (configuration, basePath, axios) {
|
|
|
1223
1238
|
* @param {*} [options] Override http request option.
|
|
1224
1239
|
* @throws {RequiredError}
|
|
1225
1240
|
*/
|
|
1226
|
-
|
|
1227
|
-
return localVarFp.
|
|
1241
|
+
calculateClaimPositions: function (claimCode, calculateClaimPositionsRequestDto, authorization, options) {
|
|
1242
|
+
return localVarFp.calculateClaimPositions(claimCode, calculateClaimPositionsRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1228
1243
|
},
|
|
1229
1244
|
/**
|
|
1230
|
-
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\"
|
|
1245
|
+
* 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.
|
|
1231
1246
|
* @summary Calculate claim positions
|
|
1232
1247
|
* @param {string} claimCode Unique identifier for the object.
|
|
1233
1248
|
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
1234
1249
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1235
1250
|
* @param {*} [options] Override http request option.
|
|
1251
|
+
* @deprecated
|
|
1236
1252
|
* @throws {RequiredError}
|
|
1237
1253
|
*/
|
|
1238
1254
|
calculateClaimPositions1: function (claimCode, calculateClaimPositionsRequestDto, authorization, options) {
|
|
@@ -1246,15 +1262,16 @@ var ClaimPositionsApiFactory = function (configuration, basePath, axios) {
|
|
|
1246
1262
|
* @param {*} [options] Override http request option.
|
|
1247
1263
|
* @throws {RequiredError}
|
|
1248
1264
|
*/
|
|
1249
|
-
|
|
1250
|
-
return localVarFp.
|
|
1265
|
+
createClaimPosition: function (createClaimPositionRequestDto, authorization, options) {
|
|
1266
|
+
return localVarFp.createClaimPosition(createClaimPositionRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1251
1267
|
},
|
|
1252
1268
|
/**
|
|
1253
|
-
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
1269
|
+
* 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.
|
|
1254
1270
|
* @summary Create the claim position
|
|
1255
1271
|
* @param {CreateClaimPositionRequestDto} createClaimPositionRequestDto
|
|
1256
1272
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1257
1273
|
* @param {*} [options] Override http request option.
|
|
1274
|
+
* @deprecated
|
|
1258
1275
|
* @throws {RequiredError}
|
|
1259
1276
|
*/
|
|
1260
1277
|
createClaimPosition1: function (createClaimPositionRequestDto, authorization, options) {
|
|
@@ -1268,15 +1285,16 @@ var ClaimPositionsApiFactory = function (configuration, basePath, axios) {
|
|
|
1268
1285
|
* @param {*} [options] Override http request option.
|
|
1269
1286
|
* @throws {RequiredError}
|
|
1270
1287
|
*/
|
|
1271
|
-
|
|
1272
|
-
return localVarFp.
|
|
1288
|
+
deleteClaimPosition: function (code, authorization, options) {
|
|
1289
|
+
return localVarFp.deleteClaimPosition(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1273
1290
|
},
|
|
1274
1291
|
/**
|
|
1275
|
-
* This will delete claim position. **Required Permissions** \"claim-management.claims.delete\"
|
|
1292
|
+
* 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.
|
|
1276
1293
|
* @summary Delete the claim position
|
|
1277
1294
|
* @param {string} code Unique identifier for the object.
|
|
1278
1295
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1279
1296
|
* @param {*} [options] Override http request option.
|
|
1297
|
+
* @deprecated
|
|
1280
1298
|
* @throws {RequiredError}
|
|
1281
1299
|
*/
|
|
1282
1300
|
deleteClaimPosition1: function (code, authorization, options) {
|
|
@@ -1291,16 +1309,17 @@ var ClaimPositionsApiFactory = function (configuration, basePath, axios) {
|
|
|
1291
1309
|
* @param {*} [options] Override http request option.
|
|
1292
1310
|
* @throws {RequiredError}
|
|
1293
1311
|
*/
|
|
1294
|
-
|
|
1295
|
-
return localVarFp.
|
|
1312
|
+
getClaimPosition: function (code, expand, authorization, options) {
|
|
1313
|
+
return localVarFp.getClaimPosition(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1296
1314
|
},
|
|
1297
1315
|
/**
|
|
1298
|
-
* This will get claim position. **Required Permissions** \"claim-management.claims.view\"
|
|
1316
|
+
* 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.
|
|
1299
1317
|
* @summary Retrieve the claim position
|
|
1300
1318
|
* @param {string} code
|
|
1301
1319
|
* @param {string} expand
|
|
1302
1320
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1303
1321
|
* @param {*} [options] Override http request option.
|
|
1322
|
+
* @deprecated
|
|
1304
1323
|
* @throws {RequiredError}
|
|
1305
1324
|
*/
|
|
1306
1325
|
getClaimPosition1: function (code, expand, authorization, options) {
|
|
@@ -1320,11 +1339,11 @@ var ClaimPositionsApiFactory = function (configuration, basePath, axios) {
|
|
|
1320
1339
|
* @param {*} [options] Override http request option.
|
|
1321
1340
|
* @throws {RequiredError}
|
|
1322
1341
|
*/
|
|
1323
|
-
|
|
1324
|
-
return localVarFp.
|
|
1342
|
+
listClaimPositions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1343
|
+
return localVarFp.listClaimPositions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
1325
1344
|
},
|
|
1326
1345
|
/**
|
|
1327
|
-
* Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\"
|
|
1346
|
+
* 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.
|
|
1328
1347
|
* @summary List claim positions
|
|
1329
1348
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1330
1349
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -1335,6 +1354,7 @@ var ClaimPositionsApiFactory = function (configuration, basePath, axios) {
|
|
|
1335
1354
|
* @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/>
|
|
1336
1355
|
* @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>
|
|
1337
1356
|
* @param {*} [options] Override http request option.
|
|
1357
|
+
* @deprecated
|
|
1338
1358
|
* @throws {RequiredError}
|
|
1339
1359
|
*/
|
|
1340
1360
|
listClaimPositions1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -1349,16 +1369,17 @@ var ClaimPositionsApiFactory = function (configuration, basePath, axios) {
|
|
|
1349
1369
|
* @param {*} [options] Override http request option.
|
|
1350
1370
|
* @throws {RequiredError}
|
|
1351
1371
|
*/
|
|
1352
|
-
|
|
1353
|
-
return localVarFp.
|
|
1372
|
+
updateClaimPosition: function (code, updateClaimPositionRequestDto, authorization, options) {
|
|
1373
|
+
return localVarFp.updateClaimPosition(code, updateClaimPositionRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1354
1374
|
},
|
|
1355
1375
|
/**
|
|
1356
|
-
* This will update claim position. **Required Permissions** \"claim-management.claims.update\"
|
|
1376
|
+
* 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.
|
|
1357
1377
|
* @summary Update the claim position
|
|
1358
1378
|
* @param {string} code
|
|
1359
1379
|
* @param {UpdateClaimPositionRequestDto} updateClaimPositionRequestDto
|
|
1360
1380
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1361
1381
|
* @param {*} [options] Override http request option.
|
|
1382
|
+
* @deprecated
|
|
1362
1383
|
* @throws {RequiredError}
|
|
1363
1384
|
*/
|
|
1364
1385
|
updateClaimPosition1: function (code, updateClaimPositionRequestDto, authorization, options) {
|
|
@@ -1381,20 +1402,21 @@ var ClaimPositionsApi = /** @class */ (function (_super) {
|
|
|
1381
1402
|
/**
|
|
1382
1403
|
* 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\"
|
|
1383
1404
|
* @summary Batch upsert claim positions
|
|
1384
|
-
* @param {
|
|
1405
|
+
* @param {ClaimPositionsApiBatchUpsertClaimPositionsRequest} requestParameters Request parameters.
|
|
1385
1406
|
* @param {*} [options] Override http request option.
|
|
1386
1407
|
* @throws {RequiredError}
|
|
1387
1408
|
* @memberof ClaimPositionsApi
|
|
1388
1409
|
*/
|
|
1389
|
-
ClaimPositionsApi.prototype.
|
|
1410
|
+
ClaimPositionsApi.prototype.batchUpsertClaimPositions = function (requestParameters, options) {
|
|
1390
1411
|
var _this = this;
|
|
1391
|
-
return (0, exports.ClaimPositionsApiFp)(this.configuration).
|
|
1412
|
+
return (0, exports.ClaimPositionsApiFp)(this.configuration).batchUpsertClaimPositions(requestParameters.claimCode, requestParameters.batchUpsertClaimPositionsRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1392
1413
|
};
|
|
1393
1414
|
/**
|
|
1394
|
-
* 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\"
|
|
1415
|
+
* 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.
|
|
1395
1416
|
* @summary Batch upsert claim positions
|
|
1396
1417
|
* @param {ClaimPositionsApiBatchUpsertClaimPositions1Request} requestParameters Request parameters.
|
|
1397
1418
|
* @param {*} [options] Override http request option.
|
|
1419
|
+
* @deprecated
|
|
1398
1420
|
* @throws {RequiredError}
|
|
1399
1421
|
* @memberof ClaimPositionsApi
|
|
1400
1422
|
*/
|
|
@@ -1405,20 +1427,21 @@ var ClaimPositionsApi = /** @class */ (function (_super) {
|
|
|
1405
1427
|
/**
|
|
1406
1428
|
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\"
|
|
1407
1429
|
* @summary Calculate claim positions
|
|
1408
|
-
* @param {
|
|
1430
|
+
* @param {ClaimPositionsApiCalculateClaimPositionsRequest} requestParameters Request parameters.
|
|
1409
1431
|
* @param {*} [options] Override http request option.
|
|
1410
1432
|
* @throws {RequiredError}
|
|
1411
1433
|
* @memberof ClaimPositionsApi
|
|
1412
1434
|
*/
|
|
1413
|
-
ClaimPositionsApi.prototype.
|
|
1435
|
+
ClaimPositionsApi.prototype.calculateClaimPositions = function (requestParameters, options) {
|
|
1414
1436
|
var _this = this;
|
|
1415
|
-
return (0, exports.ClaimPositionsApiFp)(this.configuration).
|
|
1437
|
+
return (0, exports.ClaimPositionsApiFp)(this.configuration).calculateClaimPositions(requestParameters.claimCode, requestParameters.calculateClaimPositionsRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1416
1438
|
};
|
|
1417
1439
|
/**
|
|
1418
|
-
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\"
|
|
1440
|
+
* 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.
|
|
1419
1441
|
* @summary Calculate claim positions
|
|
1420
1442
|
* @param {ClaimPositionsApiCalculateClaimPositions1Request} requestParameters Request parameters.
|
|
1421
1443
|
* @param {*} [options] Override http request option.
|
|
1444
|
+
* @deprecated
|
|
1422
1445
|
* @throws {RequiredError}
|
|
1423
1446
|
* @memberof ClaimPositionsApi
|
|
1424
1447
|
*/
|
|
@@ -1429,20 +1452,21 @@ var ClaimPositionsApi = /** @class */ (function (_super) {
|
|
|
1429
1452
|
/**
|
|
1430
1453
|
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
1431
1454
|
* @summary Create the claim position
|
|
1432
|
-
* @param {
|
|
1455
|
+
* @param {ClaimPositionsApiCreateClaimPositionRequest} requestParameters Request parameters.
|
|
1433
1456
|
* @param {*} [options] Override http request option.
|
|
1434
1457
|
* @throws {RequiredError}
|
|
1435
1458
|
* @memberof ClaimPositionsApi
|
|
1436
1459
|
*/
|
|
1437
|
-
ClaimPositionsApi.prototype.
|
|
1460
|
+
ClaimPositionsApi.prototype.createClaimPosition = function (requestParameters, options) {
|
|
1438
1461
|
var _this = this;
|
|
1439
|
-
return (0, exports.ClaimPositionsApiFp)(this.configuration).
|
|
1462
|
+
return (0, exports.ClaimPositionsApiFp)(this.configuration).createClaimPosition(requestParameters.createClaimPositionRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1440
1463
|
};
|
|
1441
1464
|
/**
|
|
1442
|
-
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
1465
|
+
* 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.
|
|
1443
1466
|
* @summary Create the claim position
|
|
1444
1467
|
* @param {ClaimPositionsApiCreateClaimPosition1Request} requestParameters Request parameters.
|
|
1445
1468
|
* @param {*} [options] Override http request option.
|
|
1469
|
+
* @deprecated
|
|
1446
1470
|
* @throws {RequiredError}
|
|
1447
1471
|
* @memberof ClaimPositionsApi
|
|
1448
1472
|
*/
|
|
@@ -1453,20 +1477,21 @@ var ClaimPositionsApi = /** @class */ (function (_super) {
|
|
|
1453
1477
|
/**
|
|
1454
1478
|
* This will delete claim position. **Required Permissions** \"claim-management.claims.delete\"
|
|
1455
1479
|
* @summary Delete the claim position
|
|
1456
|
-
* @param {
|
|
1480
|
+
* @param {ClaimPositionsApiDeleteClaimPositionRequest} requestParameters Request parameters.
|
|
1457
1481
|
* @param {*} [options] Override http request option.
|
|
1458
1482
|
* @throws {RequiredError}
|
|
1459
1483
|
* @memberof ClaimPositionsApi
|
|
1460
1484
|
*/
|
|
1461
|
-
ClaimPositionsApi.prototype.
|
|
1485
|
+
ClaimPositionsApi.prototype.deleteClaimPosition = function (requestParameters, options) {
|
|
1462
1486
|
var _this = this;
|
|
1463
|
-
return (0, exports.ClaimPositionsApiFp)(this.configuration).
|
|
1487
|
+
return (0, exports.ClaimPositionsApiFp)(this.configuration).deleteClaimPosition(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1464
1488
|
};
|
|
1465
1489
|
/**
|
|
1466
|
-
* This will delete claim position. **Required Permissions** \"claim-management.claims.delete\"
|
|
1490
|
+
* 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.
|
|
1467
1491
|
* @summary Delete the claim position
|
|
1468
1492
|
* @param {ClaimPositionsApiDeleteClaimPosition1Request} requestParameters Request parameters.
|
|
1469
1493
|
* @param {*} [options] Override http request option.
|
|
1494
|
+
* @deprecated
|
|
1470
1495
|
* @throws {RequiredError}
|
|
1471
1496
|
* @memberof ClaimPositionsApi
|
|
1472
1497
|
*/
|
|
@@ -1477,20 +1502,21 @@ var ClaimPositionsApi = /** @class */ (function (_super) {
|
|
|
1477
1502
|
/**
|
|
1478
1503
|
* This will get claim position. **Required Permissions** \"claim-management.claims.view\"
|
|
1479
1504
|
* @summary Retrieve the claim position
|
|
1480
|
-
* @param {
|
|
1505
|
+
* @param {ClaimPositionsApiGetClaimPositionRequest} requestParameters Request parameters.
|
|
1481
1506
|
* @param {*} [options] Override http request option.
|
|
1482
1507
|
* @throws {RequiredError}
|
|
1483
1508
|
* @memberof ClaimPositionsApi
|
|
1484
1509
|
*/
|
|
1485
|
-
ClaimPositionsApi.prototype.
|
|
1510
|
+
ClaimPositionsApi.prototype.getClaimPosition = function (requestParameters, options) {
|
|
1486
1511
|
var _this = this;
|
|
1487
|
-
return (0, exports.ClaimPositionsApiFp)(this.configuration).
|
|
1512
|
+
return (0, exports.ClaimPositionsApiFp)(this.configuration).getClaimPosition(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1488
1513
|
};
|
|
1489
1514
|
/**
|
|
1490
|
-
* This will get claim position. **Required Permissions** \"claim-management.claims.view\"
|
|
1515
|
+
* 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.
|
|
1491
1516
|
* @summary Retrieve the claim position
|
|
1492
1517
|
* @param {ClaimPositionsApiGetClaimPosition1Request} requestParameters Request parameters.
|
|
1493
1518
|
* @param {*} [options] Override http request option.
|
|
1519
|
+
* @deprecated
|
|
1494
1520
|
* @throws {RequiredError}
|
|
1495
1521
|
* @memberof ClaimPositionsApi
|
|
1496
1522
|
*/
|
|
@@ -1501,21 +1527,22 @@ var ClaimPositionsApi = /** @class */ (function (_super) {
|
|
|
1501
1527
|
/**
|
|
1502
1528
|
* Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\"
|
|
1503
1529
|
* @summary List claim positions
|
|
1504
|
-
* @param {
|
|
1530
|
+
* @param {ClaimPositionsApiListClaimPositionsRequest} requestParameters Request parameters.
|
|
1505
1531
|
* @param {*} [options] Override http request option.
|
|
1506
1532
|
* @throws {RequiredError}
|
|
1507
1533
|
* @memberof ClaimPositionsApi
|
|
1508
1534
|
*/
|
|
1509
|
-
ClaimPositionsApi.prototype.
|
|
1535
|
+
ClaimPositionsApi.prototype.listClaimPositions = function (requestParameters, options) {
|
|
1510
1536
|
var _this = this;
|
|
1511
1537
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1512
|
-
return (0, exports.ClaimPositionsApiFp)(this.configuration).
|
|
1538
|
+
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); });
|
|
1513
1539
|
};
|
|
1514
1540
|
/**
|
|
1515
|
-
* Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\"
|
|
1541
|
+
* 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.
|
|
1516
1542
|
* @summary List claim positions
|
|
1517
1543
|
* @param {ClaimPositionsApiListClaimPositions1Request} requestParameters Request parameters.
|
|
1518
1544
|
* @param {*} [options] Override http request option.
|
|
1545
|
+
* @deprecated
|
|
1519
1546
|
* @throws {RequiredError}
|
|
1520
1547
|
* @memberof ClaimPositionsApi
|
|
1521
1548
|
*/
|
|
@@ -1527,20 +1554,21 @@ var ClaimPositionsApi = /** @class */ (function (_super) {
|
|
|
1527
1554
|
/**
|
|
1528
1555
|
* This will update claim position. **Required Permissions** \"claim-management.claims.update\"
|
|
1529
1556
|
* @summary Update the claim position
|
|
1530
|
-
* @param {
|
|
1557
|
+
* @param {ClaimPositionsApiUpdateClaimPositionRequest} requestParameters Request parameters.
|
|
1531
1558
|
* @param {*} [options] Override http request option.
|
|
1532
1559
|
* @throws {RequiredError}
|
|
1533
1560
|
* @memberof ClaimPositionsApi
|
|
1534
1561
|
*/
|
|
1535
|
-
ClaimPositionsApi.prototype.
|
|
1562
|
+
ClaimPositionsApi.prototype.updateClaimPosition = function (requestParameters, options) {
|
|
1536
1563
|
var _this = this;
|
|
1537
|
-
return (0, exports.ClaimPositionsApiFp)(this.configuration).
|
|
1564
|
+
return (0, exports.ClaimPositionsApiFp)(this.configuration).updateClaimPosition(requestParameters.code, requestParameters.updateClaimPositionRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1538
1565
|
};
|
|
1539
1566
|
/**
|
|
1540
|
-
* This will update claim position. **Required Permissions** \"claim-management.claims.update\"
|
|
1567
|
+
* 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.
|
|
1541
1568
|
* @summary Update the claim position
|
|
1542
1569
|
* @param {ClaimPositionsApiUpdateClaimPosition1Request} requestParameters Request parameters.
|
|
1543
1570
|
* @param {*} [options] Override http request option.
|
|
1571
|
+
* @deprecated
|
|
1544
1572
|
* @throws {RequiredError}
|
|
1545
1573
|
* @memberof ClaimPositionsApi
|
|
1546
1574
|
*/
|