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