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