@emilgroup/claim-sdk-node 1.41.1-beta.0 → 1.41.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api/claim-limit-usages-api.ts +53 -45
- package/api/claim-partner-roles-api.ts +127 -107
- package/api/claim-partners-api.ts +103 -87
- package/api/claim-positions-api.ts +181 -153
- package/api/claim-regulations-api.ts +128 -108
- package/api/claim-statuses-api.ts +153 -129
- package/api/claims-api.ts +177 -149
- package/api/health-check-api.ts +46 -38
- package/api/settlements-api.ts +127 -107
- package/dist/api/claim-limit-usages-api.d.ts +42 -34
- package/dist/api/claim-limit-usages-api.js +37 -29
- package/dist/api/claim-partner-roles-api.d.ts +97 -77
- package/dist/api/claim-partner-roles-api.js +95 -75
- package/dist/api/claim-partners-api.d.ts +79 -63
- package/dist/api/claim-partners-api.js +76 -60
- package/dist/api/claim-positions-api.d.ts +136 -108
- package/dist/api/claim-positions-api.js +136 -108
- package/dist/api/claim-regulations-api.d.ts +98 -78
- package/dist/api/claim-regulations-api.js +95 -75
- package/dist/api/claim-statuses-api.d.ts +116 -92
- package/dist/api/claim-statuses-api.js +115 -91
- package/dist/api/claims-api.d.ts +134 -106
- package/dist/api/claims-api.js +134 -106
- package/dist/api/health-check-api.d.ts +32 -24
- package/dist/api/health-check-api.js +46 -38
- package/dist/api/settlements-api.d.ts +97 -77
- package/dist/api/settlements-api.js +95 -75
- package/package.json +1 -1
|
@@ -59,12 +59,12 @@ export const ClaimPositionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
59
59
|
* @param {*} [options] Override http request option.
|
|
60
60
|
* @throws {RequiredError}
|
|
61
61
|
*/
|
|
62
|
-
|
|
62
|
+
batchUpsertClaimPositions: async (claimCode: string, batchUpsertClaimPositionsRequestDto: BatchUpsertClaimPositionsRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
63
63
|
// verify required parameter 'claimCode' is not null or undefined
|
|
64
|
-
assertParamExists('
|
|
64
|
+
assertParamExists('batchUpsertClaimPositions', 'claimCode', claimCode)
|
|
65
65
|
// verify required parameter 'batchUpsertClaimPositionsRequestDto' is not null or undefined
|
|
66
|
-
assertParamExists('
|
|
67
|
-
const localVarPath = `/v1/claim-positions/batch/{claimCode}`
|
|
66
|
+
assertParamExists('batchUpsertClaimPositions', 'batchUpsertClaimPositionsRequestDto', batchUpsertClaimPositionsRequestDto)
|
|
67
|
+
const localVarPath = `/claimservice/v1/claim-positions/batch/{claimCode}`
|
|
68
68
|
.replace(`{${"claimCode"}}`, encodeURIComponent(String(claimCode)));
|
|
69
69
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
70
70
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -102,12 +102,13 @@ export const ClaimPositionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
102
102
|
};
|
|
103
103
|
},
|
|
104
104
|
/**
|
|
105
|
-
* 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\"
|
|
105
|
+
* Batch upsert claim positions for a claim. Creates new positions, updates existing ones by code, and deletes positions by code in a single request. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
106
106
|
* @summary Batch upsert claim positions
|
|
107
107
|
* @param {string} claimCode Unique identifier for the object.
|
|
108
108
|
* @param {BatchUpsertClaimPositionsRequestDto} batchUpsertClaimPositionsRequestDto
|
|
109
109
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
110
110
|
* @param {*} [options] Override http request option.
|
|
111
|
+
* @deprecated
|
|
111
112
|
* @throws {RequiredError}
|
|
112
113
|
*/
|
|
113
114
|
batchUpsertClaimPositions1: async (claimCode: string, batchUpsertClaimPositionsRequestDto: BatchUpsertClaimPositionsRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -115,7 +116,7 @@ export const ClaimPositionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
115
116
|
assertParamExists('batchUpsertClaimPositions1', 'claimCode', claimCode)
|
|
116
117
|
// verify required parameter 'batchUpsertClaimPositionsRequestDto' is not null or undefined
|
|
117
118
|
assertParamExists('batchUpsertClaimPositions1', 'batchUpsertClaimPositionsRequestDto', batchUpsertClaimPositionsRequestDto)
|
|
118
|
-
const localVarPath = `/
|
|
119
|
+
const localVarPath = `/v1/claim-positions/batch/{claimCode}`
|
|
119
120
|
.replace(`{${"claimCode"}}`, encodeURIComponent(String(claimCode)));
|
|
120
121
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
121
122
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -161,12 +162,12 @@ export const ClaimPositionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
161
162
|
* @param {*} [options] Override http request option.
|
|
162
163
|
* @throws {RequiredError}
|
|
163
164
|
*/
|
|
164
|
-
|
|
165
|
+
calculateClaimPositions: async (claimCode: string, calculateClaimPositionsRequestDto: CalculateClaimPositionsRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
165
166
|
// verify required parameter 'claimCode' is not null or undefined
|
|
166
|
-
assertParamExists('
|
|
167
|
+
assertParamExists('calculateClaimPositions', 'claimCode', claimCode)
|
|
167
168
|
// verify required parameter 'calculateClaimPositionsRequestDto' is not null or undefined
|
|
168
|
-
assertParamExists('
|
|
169
|
-
const localVarPath = `/v1/claim-positions/calculate/{claimCode}`
|
|
169
|
+
assertParamExists('calculateClaimPositions', 'calculateClaimPositionsRequestDto', calculateClaimPositionsRequestDto)
|
|
170
|
+
const localVarPath = `/claimservice/v1/claim-positions/calculate/{claimCode}`
|
|
170
171
|
.replace(`{${"claimCode"}}`, encodeURIComponent(String(claimCode)));
|
|
171
172
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
172
173
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -204,12 +205,13 @@ export const ClaimPositionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
204
205
|
};
|
|
205
206
|
},
|
|
206
207
|
/**
|
|
207
|
-
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\"
|
|
208
|
+
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
208
209
|
* @summary Calculate claim positions
|
|
209
210
|
* @param {string} claimCode Unique identifier for the object.
|
|
210
211
|
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
211
212
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
212
213
|
* @param {*} [options] Override http request option.
|
|
214
|
+
* @deprecated
|
|
213
215
|
* @throws {RequiredError}
|
|
214
216
|
*/
|
|
215
217
|
calculateClaimPositions1: async (claimCode: string, calculateClaimPositionsRequestDto: CalculateClaimPositionsRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -217,7 +219,7 @@ export const ClaimPositionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
217
219
|
assertParamExists('calculateClaimPositions1', 'claimCode', claimCode)
|
|
218
220
|
// verify required parameter 'calculateClaimPositionsRequestDto' is not null or undefined
|
|
219
221
|
assertParamExists('calculateClaimPositions1', 'calculateClaimPositionsRequestDto', calculateClaimPositionsRequestDto)
|
|
220
|
-
const localVarPath = `/
|
|
222
|
+
const localVarPath = `/v1/claim-positions/calculate/{claimCode}`
|
|
221
223
|
.replace(`{${"claimCode"}}`, encodeURIComponent(String(claimCode)));
|
|
222
224
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
223
225
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -262,10 +264,10 @@ export const ClaimPositionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
262
264
|
* @param {*} [options] Override http request option.
|
|
263
265
|
* @throws {RequiredError}
|
|
264
266
|
*/
|
|
265
|
-
|
|
267
|
+
createClaimPosition: async (createClaimPositionRequestDto: CreateClaimPositionRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
266
268
|
// verify required parameter 'createClaimPositionRequestDto' is not null or undefined
|
|
267
|
-
assertParamExists('
|
|
268
|
-
const localVarPath = `/v1/claim-positions`;
|
|
269
|
+
assertParamExists('createClaimPosition', 'createClaimPositionRequestDto', createClaimPositionRequestDto)
|
|
270
|
+
const localVarPath = `/claimservice/v1/claim-positions`;
|
|
269
271
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
270
272
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
271
273
|
let baseOptions;
|
|
@@ -302,17 +304,18 @@ export const ClaimPositionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
302
304
|
};
|
|
303
305
|
},
|
|
304
306
|
/**
|
|
305
|
-
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
307
|
+
* This will create claim position. **Required Permissions** \"claim-management.claims.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
306
308
|
* @summary Create the claim position
|
|
307
309
|
* @param {CreateClaimPositionRequestDto} createClaimPositionRequestDto
|
|
308
310
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
309
311
|
* @param {*} [options] Override http request option.
|
|
312
|
+
* @deprecated
|
|
310
313
|
* @throws {RequiredError}
|
|
311
314
|
*/
|
|
312
315
|
createClaimPosition1: async (createClaimPositionRequestDto: CreateClaimPositionRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
313
316
|
// verify required parameter 'createClaimPositionRequestDto' is not null or undefined
|
|
314
317
|
assertParamExists('createClaimPosition1', 'createClaimPositionRequestDto', createClaimPositionRequestDto)
|
|
315
|
-
const localVarPath = `/
|
|
318
|
+
const localVarPath = `/v1/claim-positions`;
|
|
316
319
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
317
320
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
318
321
|
let baseOptions;
|
|
@@ -356,10 +359,10 @@ export const ClaimPositionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
356
359
|
* @param {*} [options] Override http request option.
|
|
357
360
|
* @throws {RequiredError}
|
|
358
361
|
*/
|
|
359
|
-
|
|
362
|
+
deleteClaimPosition: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
360
363
|
// verify required parameter 'code' is not null or undefined
|
|
361
|
-
assertParamExists('
|
|
362
|
-
const localVarPath = `/v1/claim-positions/{code}`
|
|
364
|
+
assertParamExists('deleteClaimPosition', 'code', code)
|
|
365
|
+
const localVarPath = `/claimservice/v1/claim-positions/{code}`
|
|
363
366
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
364
367
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
365
368
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -394,17 +397,18 @@ export const ClaimPositionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
394
397
|
};
|
|
395
398
|
},
|
|
396
399
|
/**
|
|
397
|
-
* This will delete claim position. **Required Permissions** \"claim-management.claims.delete\"
|
|
400
|
+
* This will delete claim position. **Required Permissions** \"claim-management.claims.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
398
401
|
* @summary Delete the claim position
|
|
399
402
|
* @param {string} code Unique identifier for the object.
|
|
400
403
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
401
404
|
* @param {*} [options] Override http request option.
|
|
405
|
+
* @deprecated
|
|
402
406
|
* @throws {RequiredError}
|
|
403
407
|
*/
|
|
404
408
|
deleteClaimPosition1: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
405
409
|
// verify required parameter 'code' is not null or undefined
|
|
406
410
|
assertParamExists('deleteClaimPosition1', 'code', code)
|
|
407
|
-
const localVarPath = `/
|
|
411
|
+
const localVarPath = `/v1/claim-positions/{code}`
|
|
408
412
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
409
413
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
410
414
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -447,12 +451,12 @@ export const ClaimPositionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
447
451
|
* @param {*} [options] Override http request option.
|
|
448
452
|
* @throws {RequiredError}
|
|
449
453
|
*/
|
|
450
|
-
|
|
454
|
+
getClaimPosition: async (code: string, expand: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
451
455
|
// verify required parameter 'code' is not null or undefined
|
|
452
|
-
assertParamExists('
|
|
456
|
+
assertParamExists('getClaimPosition', 'code', code)
|
|
453
457
|
// verify required parameter 'expand' is not null or undefined
|
|
454
|
-
assertParamExists('
|
|
455
|
-
const localVarPath = `/v1/claim-positions/{code}`
|
|
458
|
+
assertParamExists('getClaimPosition', 'expand', expand)
|
|
459
|
+
const localVarPath = `/claimservice/v1/claim-positions/{code}`
|
|
456
460
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
457
461
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
458
462
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -491,12 +495,13 @@ export const ClaimPositionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
491
495
|
};
|
|
492
496
|
},
|
|
493
497
|
/**
|
|
494
|
-
* This will get claim position. **Required Permissions** \"claim-management.claims.view\"
|
|
498
|
+
* This will get claim position. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
495
499
|
* @summary Retrieve the claim position
|
|
496
500
|
* @param {string} code
|
|
497
501
|
* @param {string} expand
|
|
498
502
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
499
503
|
* @param {*} [options] Override http request option.
|
|
504
|
+
* @deprecated
|
|
500
505
|
* @throws {RequiredError}
|
|
501
506
|
*/
|
|
502
507
|
getClaimPosition1: async (code: string, expand: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -504,7 +509,7 @@ export const ClaimPositionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
504
509
|
assertParamExists('getClaimPosition1', 'code', code)
|
|
505
510
|
// verify required parameter 'expand' is not null or undefined
|
|
506
511
|
assertParamExists('getClaimPosition1', 'expand', expand)
|
|
507
|
-
const localVarPath = `/
|
|
512
|
+
const localVarPath = `/v1/claim-positions/{code}`
|
|
508
513
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
509
514
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
510
515
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -556,8 +561,8 @@ export const ClaimPositionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
556
561
|
* @param {*} [options] Override http request option.
|
|
557
562
|
* @throws {RequiredError}
|
|
558
563
|
*/
|
|
559
|
-
|
|
560
|
-
const localVarPath = `/v1/claim-positions`;
|
|
564
|
+
listClaimPositions: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
565
|
+
const localVarPath = `/claimservice/v1/claim-positions`;
|
|
561
566
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
562
567
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
563
568
|
let baseOptions;
|
|
@@ -619,7 +624,7 @@ export const ClaimPositionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
619
624
|
};
|
|
620
625
|
},
|
|
621
626
|
/**
|
|
622
|
-
* Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\"
|
|
627
|
+
* Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
623
628
|
* @summary List claim positions
|
|
624
629
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
625
630
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -630,10 +635,11 @@ export const ClaimPositionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
630
635
|
* @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/>
|
|
631
636
|
* @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>
|
|
632
637
|
* @param {*} [options] Override http request option.
|
|
638
|
+
* @deprecated
|
|
633
639
|
* @throws {RequiredError}
|
|
634
640
|
*/
|
|
635
641
|
listClaimPositions1: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
636
|
-
const localVarPath = `/
|
|
642
|
+
const localVarPath = `/v1/claim-positions`;
|
|
637
643
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
638
644
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
639
645
|
let baseOptions;
|
|
@@ -703,12 +709,12 @@ export const ClaimPositionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
703
709
|
* @param {*} [options] Override http request option.
|
|
704
710
|
* @throws {RequiredError}
|
|
705
711
|
*/
|
|
706
|
-
|
|
712
|
+
updateClaimPosition: async (code: string, updateClaimPositionRequestDto: UpdateClaimPositionRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
707
713
|
// verify required parameter 'code' is not null or undefined
|
|
708
|
-
assertParamExists('
|
|
714
|
+
assertParamExists('updateClaimPosition', 'code', code)
|
|
709
715
|
// verify required parameter 'updateClaimPositionRequestDto' is not null or undefined
|
|
710
|
-
assertParamExists('
|
|
711
|
-
const localVarPath = `/v1/claim-positions/{code}`
|
|
716
|
+
assertParamExists('updateClaimPosition', 'updateClaimPositionRequestDto', updateClaimPositionRequestDto)
|
|
717
|
+
const localVarPath = `/claimservice/v1/claim-positions/{code}`
|
|
712
718
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
713
719
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
714
720
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -746,12 +752,13 @@ export const ClaimPositionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
746
752
|
};
|
|
747
753
|
},
|
|
748
754
|
/**
|
|
749
|
-
* This will update claim position. **Required Permissions** \"claim-management.claims.update\"
|
|
755
|
+
* This will update claim position. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
750
756
|
* @summary Update the claim position
|
|
751
757
|
* @param {string} code
|
|
752
758
|
* @param {UpdateClaimPositionRequestDto} updateClaimPositionRequestDto
|
|
753
759
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
754
760
|
* @param {*} [options] Override http request option.
|
|
761
|
+
* @deprecated
|
|
755
762
|
* @throws {RequiredError}
|
|
756
763
|
*/
|
|
757
764
|
updateClaimPosition1: async (code: string, updateClaimPositionRequestDto: UpdateClaimPositionRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -759,7 +766,7 @@ export const ClaimPositionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
759
766
|
assertParamExists('updateClaimPosition1', 'code', code)
|
|
760
767
|
// verify required parameter 'updateClaimPositionRequestDto' is not null or undefined
|
|
761
768
|
assertParamExists('updateClaimPosition1', 'updateClaimPositionRequestDto', updateClaimPositionRequestDto)
|
|
762
|
-
const localVarPath = `/
|
|
769
|
+
const localVarPath = `/v1/claim-positions/{code}`
|
|
763
770
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
764
771
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
765
772
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -815,17 +822,18 @@ export const ClaimPositionsApiFp = function(configuration?: Configuration) {
|
|
|
815
822
|
* @param {*} [options] Override http request option.
|
|
816
823
|
* @throws {RequiredError}
|
|
817
824
|
*/
|
|
818
|
-
async
|
|
819
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
825
|
+
async batchUpsertClaimPositions(claimCode: string, batchUpsertClaimPositionsRequestDto: BatchUpsertClaimPositionsRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BatchUpsertClaimPositionsResponseClass>> {
|
|
826
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.batchUpsertClaimPositions(claimCode, batchUpsertClaimPositionsRequestDto, authorization, options);
|
|
820
827
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
821
828
|
},
|
|
822
829
|
/**
|
|
823
|
-
* 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\"
|
|
830
|
+
* Batch upsert claim positions for a claim. Creates new positions, updates existing ones by code, and deletes positions by code in a single request. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
824
831
|
* @summary Batch upsert claim positions
|
|
825
832
|
* @param {string} claimCode Unique identifier for the object.
|
|
826
833
|
* @param {BatchUpsertClaimPositionsRequestDto} batchUpsertClaimPositionsRequestDto
|
|
827
834
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
828
835
|
* @param {*} [options] Override http request option.
|
|
836
|
+
* @deprecated
|
|
829
837
|
* @throws {RequiredError}
|
|
830
838
|
*/
|
|
831
839
|
async batchUpsertClaimPositions1(claimCode: string, batchUpsertClaimPositionsRequestDto: BatchUpsertClaimPositionsRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BatchUpsertClaimPositionsResponseClass>> {
|
|
@@ -841,17 +849,18 @@ export const ClaimPositionsApiFp = function(configuration?: Configuration) {
|
|
|
841
849
|
* @param {*} [options] Override http request option.
|
|
842
850
|
* @throws {RequiredError}
|
|
843
851
|
*/
|
|
844
|
-
async
|
|
845
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
852
|
+
async calculateClaimPositions(claimCode: string, calculateClaimPositionsRequestDto: CalculateClaimPositionsRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalculateClaimPositionsResponseClass>> {
|
|
853
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.calculateClaimPositions(claimCode, calculateClaimPositionsRequestDto, authorization, options);
|
|
846
854
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
847
855
|
},
|
|
848
856
|
/**
|
|
849
|
-
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\"
|
|
857
|
+
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
850
858
|
* @summary Calculate claim positions
|
|
851
859
|
* @param {string} claimCode Unique identifier for the object.
|
|
852
860
|
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
853
861
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
854
862
|
* @param {*} [options] Override http request option.
|
|
863
|
+
* @deprecated
|
|
855
864
|
* @throws {RequiredError}
|
|
856
865
|
*/
|
|
857
866
|
async calculateClaimPositions1(claimCode: string, calculateClaimPositionsRequestDto: CalculateClaimPositionsRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalculateClaimPositionsResponseClass>> {
|
|
@@ -866,16 +875,17 @@ export const ClaimPositionsApiFp = function(configuration?: Configuration) {
|
|
|
866
875
|
* @param {*} [options] Override http request option.
|
|
867
876
|
* @throws {RequiredError}
|
|
868
877
|
*/
|
|
869
|
-
async
|
|
870
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
878
|
+
async createClaimPosition(createClaimPositionRequestDto: CreateClaimPositionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateClaimPositionResponseClass>> {
|
|
879
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createClaimPosition(createClaimPositionRequestDto, authorization, options);
|
|
871
880
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
872
881
|
},
|
|
873
882
|
/**
|
|
874
|
-
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
883
|
+
* This will create claim position. **Required Permissions** \"claim-management.claims.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
875
884
|
* @summary Create the claim position
|
|
876
885
|
* @param {CreateClaimPositionRequestDto} createClaimPositionRequestDto
|
|
877
886
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
878
887
|
* @param {*} [options] Override http request option.
|
|
888
|
+
* @deprecated
|
|
879
889
|
* @throws {RequiredError}
|
|
880
890
|
*/
|
|
881
891
|
async createClaimPosition1(createClaimPositionRequestDto: CreateClaimPositionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateClaimPositionResponseClass>> {
|
|
@@ -890,16 +900,17 @@ export const ClaimPositionsApiFp = function(configuration?: Configuration) {
|
|
|
890
900
|
* @param {*} [options] Override http request option.
|
|
891
901
|
* @throws {RequiredError}
|
|
892
902
|
*/
|
|
893
|
-
async
|
|
894
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
903
|
+
async deleteClaimPosition(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
904
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimPosition(code, authorization, options);
|
|
895
905
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
896
906
|
},
|
|
897
907
|
/**
|
|
898
|
-
* This will delete claim position. **Required Permissions** \"claim-management.claims.delete\"
|
|
908
|
+
* This will delete claim position. **Required Permissions** \"claim-management.claims.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
899
909
|
* @summary Delete the claim position
|
|
900
910
|
* @param {string} code Unique identifier for the object.
|
|
901
911
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
902
912
|
* @param {*} [options] Override http request option.
|
|
913
|
+
* @deprecated
|
|
903
914
|
* @throws {RequiredError}
|
|
904
915
|
*/
|
|
905
916
|
async deleteClaimPosition1(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
@@ -915,17 +926,18 @@ export const ClaimPositionsApiFp = function(configuration?: Configuration) {
|
|
|
915
926
|
* @param {*} [options] Override http request option.
|
|
916
927
|
* @throws {RequiredError}
|
|
917
928
|
*/
|
|
918
|
-
async
|
|
919
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
929
|
+
async getClaimPosition(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimPositionResponseClass>> {
|
|
930
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimPosition(code, expand, authorization, options);
|
|
920
931
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
921
932
|
},
|
|
922
933
|
/**
|
|
923
|
-
* This will get claim position. **Required Permissions** \"claim-management.claims.view\"
|
|
934
|
+
* This will get claim position. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
924
935
|
* @summary Retrieve the claim position
|
|
925
936
|
* @param {string} code
|
|
926
937
|
* @param {string} expand
|
|
927
938
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
928
939
|
* @param {*} [options] Override http request option.
|
|
940
|
+
* @deprecated
|
|
929
941
|
* @throws {RequiredError}
|
|
930
942
|
*/
|
|
931
943
|
async getClaimPosition1(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimPositionResponseClass>> {
|
|
@@ -946,12 +958,12 @@ export const ClaimPositionsApiFp = function(configuration?: Configuration) {
|
|
|
946
958
|
* @param {*} [options] Override http request option.
|
|
947
959
|
* @throws {RequiredError}
|
|
948
960
|
*/
|
|
949
|
-
async
|
|
950
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
961
|
+
async listClaimPositions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimPositionsResponseClass>> {
|
|
962
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimPositions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
951
963
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
952
964
|
},
|
|
953
965
|
/**
|
|
954
|
-
* Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\"
|
|
966
|
+
* Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
955
967
|
* @summary List claim positions
|
|
956
968
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
957
969
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -962,6 +974,7 @@ export const ClaimPositionsApiFp = function(configuration?: Configuration) {
|
|
|
962
974
|
* @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/>
|
|
963
975
|
* @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>
|
|
964
976
|
* @param {*} [options] Override http request option.
|
|
977
|
+
* @deprecated
|
|
965
978
|
* @throws {RequiredError}
|
|
966
979
|
*/
|
|
967
980
|
async listClaimPositions1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimPositionsResponseClass>> {
|
|
@@ -977,17 +990,18 @@ export const ClaimPositionsApiFp = function(configuration?: Configuration) {
|
|
|
977
990
|
* @param {*} [options] Override http request option.
|
|
978
991
|
* @throws {RequiredError}
|
|
979
992
|
*/
|
|
980
|
-
async
|
|
981
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
993
|
+
async updateClaimPosition(code: string, updateClaimPositionRequestDto: UpdateClaimPositionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateClaimPositionResponseClass>> {
|
|
994
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimPosition(code, updateClaimPositionRequestDto, authorization, options);
|
|
982
995
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
983
996
|
},
|
|
984
997
|
/**
|
|
985
|
-
* This will update claim position. **Required Permissions** \"claim-management.claims.update\"
|
|
998
|
+
* This will update claim position. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
986
999
|
* @summary Update the claim position
|
|
987
1000
|
* @param {string} code
|
|
988
1001
|
* @param {UpdateClaimPositionRequestDto} updateClaimPositionRequestDto
|
|
989
1002
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
990
1003
|
* @param {*} [options] Override http request option.
|
|
1004
|
+
* @deprecated
|
|
991
1005
|
* @throws {RequiredError}
|
|
992
1006
|
*/
|
|
993
1007
|
async updateClaimPosition1(code: string, updateClaimPositionRequestDto: UpdateClaimPositionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateClaimPositionResponseClass>> {
|
|
@@ -1013,16 +1027,17 @@ export const ClaimPositionsApiFactory = function (configuration?: Configuration,
|
|
|
1013
1027
|
* @param {*} [options] Override http request option.
|
|
1014
1028
|
* @throws {RequiredError}
|
|
1015
1029
|
*/
|
|
1016
|
-
|
|
1017
|
-
return localVarFp.
|
|
1030
|
+
batchUpsertClaimPositions(claimCode: string, batchUpsertClaimPositionsRequestDto: BatchUpsertClaimPositionsRequestDto, authorization?: string, options?: any): AxiosPromise<BatchUpsertClaimPositionsResponseClass> {
|
|
1031
|
+
return localVarFp.batchUpsertClaimPositions(claimCode, batchUpsertClaimPositionsRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
1018
1032
|
},
|
|
1019
1033
|
/**
|
|
1020
|
-
* 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\"
|
|
1034
|
+
* Batch upsert claim positions for a claim. Creates new positions, updates existing ones by code, and deletes positions by code in a single request. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1021
1035
|
* @summary Batch upsert claim positions
|
|
1022
1036
|
* @param {string} claimCode Unique identifier for the object.
|
|
1023
1037
|
* @param {BatchUpsertClaimPositionsRequestDto} batchUpsertClaimPositionsRequestDto
|
|
1024
1038
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1025
1039
|
* @param {*} [options] Override http request option.
|
|
1040
|
+
* @deprecated
|
|
1026
1041
|
* @throws {RequiredError}
|
|
1027
1042
|
*/
|
|
1028
1043
|
batchUpsertClaimPositions1(claimCode: string, batchUpsertClaimPositionsRequestDto: BatchUpsertClaimPositionsRequestDto, authorization?: string, options?: any): AxiosPromise<BatchUpsertClaimPositionsResponseClass> {
|
|
@@ -1037,16 +1052,17 @@ export const ClaimPositionsApiFactory = function (configuration?: Configuration,
|
|
|
1037
1052
|
* @param {*} [options] Override http request option.
|
|
1038
1053
|
* @throws {RequiredError}
|
|
1039
1054
|
*/
|
|
1040
|
-
|
|
1041
|
-
return localVarFp.
|
|
1055
|
+
calculateClaimPositions(claimCode: string, calculateClaimPositionsRequestDto: CalculateClaimPositionsRequestDto, authorization?: string, options?: any): AxiosPromise<CalculateClaimPositionsResponseClass> {
|
|
1056
|
+
return localVarFp.calculateClaimPositions(claimCode, calculateClaimPositionsRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
1042
1057
|
},
|
|
1043
1058
|
/**
|
|
1044
|
-
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\"
|
|
1059
|
+
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1045
1060
|
* @summary Calculate claim positions
|
|
1046
1061
|
* @param {string} claimCode Unique identifier for the object.
|
|
1047
1062
|
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
1048
1063
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1049
1064
|
* @param {*} [options] Override http request option.
|
|
1065
|
+
* @deprecated
|
|
1050
1066
|
* @throws {RequiredError}
|
|
1051
1067
|
*/
|
|
1052
1068
|
calculateClaimPositions1(claimCode: string, calculateClaimPositionsRequestDto: CalculateClaimPositionsRequestDto, authorization?: string, options?: any): AxiosPromise<CalculateClaimPositionsResponseClass> {
|
|
@@ -1060,15 +1076,16 @@ export const ClaimPositionsApiFactory = function (configuration?: Configuration,
|
|
|
1060
1076
|
* @param {*} [options] Override http request option.
|
|
1061
1077
|
* @throws {RequiredError}
|
|
1062
1078
|
*/
|
|
1063
|
-
|
|
1064
|
-
return localVarFp.
|
|
1079
|
+
createClaimPosition(createClaimPositionRequestDto: CreateClaimPositionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimPositionResponseClass> {
|
|
1080
|
+
return localVarFp.createClaimPosition(createClaimPositionRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
1065
1081
|
},
|
|
1066
1082
|
/**
|
|
1067
|
-
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
1083
|
+
* This will create claim position. **Required Permissions** \"claim-management.claims.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1068
1084
|
* @summary Create the claim position
|
|
1069
1085
|
* @param {CreateClaimPositionRequestDto} createClaimPositionRequestDto
|
|
1070
1086
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1071
1087
|
* @param {*} [options] Override http request option.
|
|
1088
|
+
* @deprecated
|
|
1072
1089
|
* @throws {RequiredError}
|
|
1073
1090
|
*/
|
|
1074
1091
|
createClaimPosition1(createClaimPositionRequestDto: CreateClaimPositionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimPositionResponseClass> {
|
|
@@ -1082,15 +1099,16 @@ export const ClaimPositionsApiFactory = function (configuration?: Configuration,
|
|
|
1082
1099
|
* @param {*} [options] Override http request option.
|
|
1083
1100
|
* @throws {RequiredError}
|
|
1084
1101
|
*/
|
|
1085
|
-
|
|
1086
|
-
return localVarFp.
|
|
1102
|
+
deleteClaimPosition(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
1103
|
+
return localVarFp.deleteClaimPosition(code, authorization, options).then((request) => request(axios, basePath));
|
|
1087
1104
|
},
|
|
1088
1105
|
/**
|
|
1089
|
-
* This will delete claim position. **Required Permissions** \"claim-management.claims.delete\"
|
|
1106
|
+
* This will delete claim position. **Required Permissions** \"claim-management.claims.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1090
1107
|
* @summary Delete the claim position
|
|
1091
1108
|
* @param {string} code Unique identifier for the object.
|
|
1092
1109
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1093
1110
|
* @param {*} [options] Override http request option.
|
|
1111
|
+
* @deprecated
|
|
1094
1112
|
* @throws {RequiredError}
|
|
1095
1113
|
*/
|
|
1096
1114
|
deleteClaimPosition1(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
@@ -1105,16 +1123,17 @@ export const ClaimPositionsApiFactory = function (configuration?: Configuration,
|
|
|
1105
1123
|
* @param {*} [options] Override http request option.
|
|
1106
1124
|
* @throws {RequiredError}
|
|
1107
1125
|
*/
|
|
1108
|
-
|
|
1109
|
-
return localVarFp.
|
|
1126
|
+
getClaimPosition(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetClaimPositionResponseClass> {
|
|
1127
|
+
return localVarFp.getClaimPosition(code, expand, authorization, options).then((request) => request(axios, basePath));
|
|
1110
1128
|
},
|
|
1111
1129
|
/**
|
|
1112
|
-
* This will get claim position. **Required Permissions** \"claim-management.claims.view\"
|
|
1130
|
+
* This will get claim position. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1113
1131
|
* @summary Retrieve the claim position
|
|
1114
1132
|
* @param {string} code
|
|
1115
1133
|
* @param {string} expand
|
|
1116
1134
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1117
1135
|
* @param {*} [options] Override http request option.
|
|
1136
|
+
* @deprecated
|
|
1118
1137
|
* @throws {RequiredError}
|
|
1119
1138
|
*/
|
|
1120
1139
|
getClaimPosition1(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetClaimPositionResponseClass> {
|
|
@@ -1134,11 +1153,11 @@ export const ClaimPositionsApiFactory = function (configuration?: Configuration,
|
|
|
1134
1153
|
* @param {*} [options] Override http request option.
|
|
1135
1154
|
* @throws {RequiredError}
|
|
1136
1155
|
*/
|
|
1137
|
-
|
|
1138
|
-
return localVarFp.
|
|
1156
|
+
listClaimPositions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimPositionsResponseClass> {
|
|
1157
|
+
return localVarFp.listClaimPositions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
1139
1158
|
},
|
|
1140
1159
|
/**
|
|
1141
|
-
* Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\"
|
|
1160
|
+
* Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1142
1161
|
* @summary List claim positions
|
|
1143
1162
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1144
1163
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -1149,6 +1168,7 @@ export const ClaimPositionsApiFactory = function (configuration?: Configuration,
|
|
|
1149
1168
|
* @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/>
|
|
1150
1169
|
* @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>
|
|
1151
1170
|
* @param {*} [options] Override http request option.
|
|
1171
|
+
* @deprecated
|
|
1152
1172
|
* @throws {RequiredError}
|
|
1153
1173
|
*/
|
|
1154
1174
|
listClaimPositions1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimPositionsResponseClass> {
|
|
@@ -1163,16 +1183,17 @@ export const ClaimPositionsApiFactory = function (configuration?: Configuration,
|
|
|
1163
1183
|
* @param {*} [options] Override http request option.
|
|
1164
1184
|
* @throws {RequiredError}
|
|
1165
1185
|
*/
|
|
1166
|
-
|
|
1167
|
-
return localVarFp.
|
|
1186
|
+
updateClaimPosition(code: string, updateClaimPositionRequestDto: UpdateClaimPositionRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateClaimPositionResponseClass> {
|
|
1187
|
+
return localVarFp.updateClaimPosition(code, updateClaimPositionRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
1168
1188
|
},
|
|
1169
1189
|
/**
|
|
1170
|
-
* This will update claim position. **Required Permissions** \"claim-management.claims.update\"
|
|
1190
|
+
* This will update claim position. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1171
1191
|
* @summary Update the claim position
|
|
1172
1192
|
* @param {string} code
|
|
1173
1193
|
* @param {UpdateClaimPositionRequestDto} updateClaimPositionRequestDto
|
|
1174
1194
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1175
1195
|
* @param {*} [options] Override http request option.
|
|
1196
|
+
* @deprecated
|
|
1176
1197
|
* @throws {RequiredError}
|
|
1177
1198
|
*/
|
|
1178
1199
|
updateClaimPosition1(code: string, updateClaimPositionRequestDto: UpdateClaimPositionRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateClaimPositionResponseClass> {
|
|
@@ -1182,29 +1203,29 @@ export const ClaimPositionsApiFactory = function (configuration?: Configuration,
|
|
|
1182
1203
|
};
|
|
1183
1204
|
|
|
1184
1205
|
/**
|
|
1185
|
-
* Request parameters for
|
|
1206
|
+
* Request parameters for batchUpsertClaimPositions operation in ClaimPositionsApi.
|
|
1186
1207
|
* @export
|
|
1187
|
-
* @interface
|
|
1208
|
+
* @interface ClaimPositionsApiBatchUpsertClaimPositionsRequest
|
|
1188
1209
|
*/
|
|
1189
|
-
export interface
|
|
1210
|
+
export interface ClaimPositionsApiBatchUpsertClaimPositionsRequest {
|
|
1190
1211
|
/**
|
|
1191
1212
|
* Unique identifier for the object.
|
|
1192
1213
|
* @type {string}
|
|
1193
|
-
* @memberof
|
|
1214
|
+
* @memberof ClaimPositionsApiBatchUpsertClaimPositions
|
|
1194
1215
|
*/
|
|
1195
1216
|
readonly claimCode: string
|
|
1196
1217
|
|
|
1197
1218
|
/**
|
|
1198
1219
|
*
|
|
1199
1220
|
* @type {BatchUpsertClaimPositionsRequestDto}
|
|
1200
|
-
* @memberof
|
|
1221
|
+
* @memberof ClaimPositionsApiBatchUpsertClaimPositions
|
|
1201
1222
|
*/
|
|
1202
1223
|
readonly batchUpsertClaimPositionsRequestDto: BatchUpsertClaimPositionsRequestDto
|
|
1203
1224
|
|
|
1204
1225
|
/**
|
|
1205
1226
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1206
1227
|
* @type {string}
|
|
1207
|
-
* @memberof
|
|
1228
|
+
* @memberof ClaimPositionsApiBatchUpsertClaimPositions
|
|
1208
1229
|
*/
|
|
1209
1230
|
readonly authorization?: string
|
|
1210
1231
|
}
|
|
@@ -1238,29 +1259,29 @@ export interface ClaimPositionsApiBatchUpsertClaimPositions1Request {
|
|
|
1238
1259
|
}
|
|
1239
1260
|
|
|
1240
1261
|
/**
|
|
1241
|
-
* Request parameters for
|
|
1262
|
+
* Request parameters for calculateClaimPositions operation in ClaimPositionsApi.
|
|
1242
1263
|
* @export
|
|
1243
|
-
* @interface
|
|
1264
|
+
* @interface ClaimPositionsApiCalculateClaimPositionsRequest
|
|
1244
1265
|
*/
|
|
1245
|
-
export interface
|
|
1266
|
+
export interface ClaimPositionsApiCalculateClaimPositionsRequest {
|
|
1246
1267
|
/**
|
|
1247
1268
|
* Unique identifier for the object.
|
|
1248
1269
|
* @type {string}
|
|
1249
|
-
* @memberof
|
|
1270
|
+
* @memberof ClaimPositionsApiCalculateClaimPositions
|
|
1250
1271
|
*/
|
|
1251
1272
|
readonly claimCode: string
|
|
1252
1273
|
|
|
1253
1274
|
/**
|
|
1254
1275
|
*
|
|
1255
1276
|
* @type {CalculateClaimPositionsRequestDto}
|
|
1256
|
-
* @memberof
|
|
1277
|
+
* @memberof ClaimPositionsApiCalculateClaimPositions
|
|
1257
1278
|
*/
|
|
1258
1279
|
readonly calculateClaimPositionsRequestDto: CalculateClaimPositionsRequestDto
|
|
1259
1280
|
|
|
1260
1281
|
/**
|
|
1261
1282
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1262
1283
|
* @type {string}
|
|
1263
|
-
* @memberof
|
|
1284
|
+
* @memberof ClaimPositionsApiCalculateClaimPositions
|
|
1264
1285
|
*/
|
|
1265
1286
|
readonly authorization?: string
|
|
1266
1287
|
}
|
|
@@ -1294,22 +1315,22 @@ export interface ClaimPositionsApiCalculateClaimPositions1Request {
|
|
|
1294
1315
|
}
|
|
1295
1316
|
|
|
1296
1317
|
/**
|
|
1297
|
-
* Request parameters for
|
|
1318
|
+
* Request parameters for createClaimPosition operation in ClaimPositionsApi.
|
|
1298
1319
|
* @export
|
|
1299
|
-
* @interface
|
|
1320
|
+
* @interface ClaimPositionsApiCreateClaimPositionRequest
|
|
1300
1321
|
*/
|
|
1301
|
-
export interface
|
|
1322
|
+
export interface ClaimPositionsApiCreateClaimPositionRequest {
|
|
1302
1323
|
/**
|
|
1303
1324
|
*
|
|
1304
1325
|
* @type {CreateClaimPositionRequestDto}
|
|
1305
|
-
* @memberof
|
|
1326
|
+
* @memberof ClaimPositionsApiCreateClaimPosition
|
|
1306
1327
|
*/
|
|
1307
1328
|
readonly createClaimPositionRequestDto: CreateClaimPositionRequestDto
|
|
1308
1329
|
|
|
1309
1330
|
/**
|
|
1310
1331
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1311
1332
|
* @type {string}
|
|
1312
|
-
* @memberof
|
|
1333
|
+
* @memberof ClaimPositionsApiCreateClaimPosition
|
|
1313
1334
|
*/
|
|
1314
1335
|
readonly authorization?: string
|
|
1315
1336
|
}
|
|
@@ -1336,22 +1357,22 @@ export interface ClaimPositionsApiCreateClaimPosition1Request {
|
|
|
1336
1357
|
}
|
|
1337
1358
|
|
|
1338
1359
|
/**
|
|
1339
|
-
* Request parameters for
|
|
1360
|
+
* Request parameters for deleteClaimPosition operation in ClaimPositionsApi.
|
|
1340
1361
|
* @export
|
|
1341
|
-
* @interface
|
|
1362
|
+
* @interface ClaimPositionsApiDeleteClaimPositionRequest
|
|
1342
1363
|
*/
|
|
1343
|
-
export interface
|
|
1364
|
+
export interface ClaimPositionsApiDeleteClaimPositionRequest {
|
|
1344
1365
|
/**
|
|
1345
1366
|
* Unique identifier for the object.
|
|
1346
1367
|
* @type {string}
|
|
1347
|
-
* @memberof
|
|
1368
|
+
* @memberof ClaimPositionsApiDeleteClaimPosition
|
|
1348
1369
|
*/
|
|
1349
1370
|
readonly code: string
|
|
1350
1371
|
|
|
1351
1372
|
/**
|
|
1352
1373
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1353
1374
|
* @type {string}
|
|
1354
|
-
* @memberof
|
|
1375
|
+
* @memberof ClaimPositionsApiDeleteClaimPosition
|
|
1355
1376
|
*/
|
|
1356
1377
|
readonly authorization?: string
|
|
1357
1378
|
}
|
|
@@ -1378,29 +1399,29 @@ export interface ClaimPositionsApiDeleteClaimPosition1Request {
|
|
|
1378
1399
|
}
|
|
1379
1400
|
|
|
1380
1401
|
/**
|
|
1381
|
-
* Request parameters for
|
|
1402
|
+
* Request parameters for getClaimPosition operation in ClaimPositionsApi.
|
|
1382
1403
|
* @export
|
|
1383
|
-
* @interface
|
|
1404
|
+
* @interface ClaimPositionsApiGetClaimPositionRequest
|
|
1384
1405
|
*/
|
|
1385
|
-
export interface
|
|
1406
|
+
export interface ClaimPositionsApiGetClaimPositionRequest {
|
|
1386
1407
|
/**
|
|
1387
1408
|
*
|
|
1388
1409
|
* @type {string}
|
|
1389
|
-
* @memberof
|
|
1410
|
+
* @memberof ClaimPositionsApiGetClaimPosition
|
|
1390
1411
|
*/
|
|
1391
1412
|
readonly code: string
|
|
1392
1413
|
|
|
1393
1414
|
/**
|
|
1394
1415
|
*
|
|
1395
1416
|
* @type {string}
|
|
1396
|
-
* @memberof
|
|
1417
|
+
* @memberof ClaimPositionsApiGetClaimPosition
|
|
1397
1418
|
*/
|
|
1398
1419
|
readonly expand: string
|
|
1399
1420
|
|
|
1400
1421
|
/**
|
|
1401
1422
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1402
1423
|
* @type {string}
|
|
1403
|
-
* @memberof
|
|
1424
|
+
* @memberof ClaimPositionsApiGetClaimPosition
|
|
1404
1425
|
*/
|
|
1405
1426
|
readonly authorization?: string
|
|
1406
1427
|
}
|
|
@@ -1434,64 +1455,64 @@ export interface ClaimPositionsApiGetClaimPosition1Request {
|
|
|
1434
1455
|
}
|
|
1435
1456
|
|
|
1436
1457
|
/**
|
|
1437
|
-
* Request parameters for
|
|
1458
|
+
* Request parameters for listClaimPositions operation in ClaimPositionsApi.
|
|
1438
1459
|
* @export
|
|
1439
|
-
* @interface
|
|
1460
|
+
* @interface ClaimPositionsApiListClaimPositionsRequest
|
|
1440
1461
|
*/
|
|
1441
|
-
export interface
|
|
1462
|
+
export interface ClaimPositionsApiListClaimPositionsRequest {
|
|
1442
1463
|
/**
|
|
1443
1464
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1444
1465
|
* @type {string}
|
|
1445
|
-
* @memberof
|
|
1466
|
+
* @memberof ClaimPositionsApiListClaimPositions
|
|
1446
1467
|
*/
|
|
1447
1468
|
readonly authorization?: string
|
|
1448
1469
|
|
|
1449
1470
|
/**
|
|
1450
1471
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1451
1472
|
* @type {number}
|
|
1452
|
-
* @memberof
|
|
1473
|
+
* @memberof ClaimPositionsApiListClaimPositions
|
|
1453
1474
|
*/
|
|
1454
1475
|
readonly pageSize?: number
|
|
1455
1476
|
|
|
1456
1477
|
/**
|
|
1457
1478
|
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
1458
1479
|
* @type {string}
|
|
1459
|
-
* @memberof
|
|
1480
|
+
* @memberof ClaimPositionsApiListClaimPositions
|
|
1460
1481
|
*/
|
|
1461
1482
|
readonly pageToken?: string
|
|
1462
1483
|
|
|
1463
1484
|
/**
|
|
1464
1485
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
1465
1486
|
* @type {string}
|
|
1466
|
-
* @memberof
|
|
1487
|
+
* @memberof ClaimPositionsApiListClaimPositions
|
|
1467
1488
|
*/
|
|
1468
1489
|
readonly filter?: string
|
|
1469
1490
|
|
|
1470
1491
|
/**
|
|
1471
1492
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
1472
1493
|
* @type {string}
|
|
1473
|
-
* @memberof
|
|
1494
|
+
* @memberof ClaimPositionsApiListClaimPositions
|
|
1474
1495
|
*/
|
|
1475
1496
|
readonly search?: string
|
|
1476
1497
|
|
|
1477
1498
|
/**
|
|
1478
1499
|
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, order, createdAt, updatedAt, procedureDate</i>
|
|
1479
1500
|
* @type {string}
|
|
1480
|
-
* @memberof
|
|
1501
|
+
* @memberof ClaimPositionsApiListClaimPositions
|
|
1481
1502
|
*/
|
|
1482
1503
|
readonly order?: string
|
|
1483
1504
|
|
|
1484
1505
|
/**
|
|
1485
1506
|
* 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/>
|
|
1486
1507
|
* @type {string}
|
|
1487
|
-
* @memberof
|
|
1508
|
+
* @memberof ClaimPositionsApiListClaimPositions
|
|
1488
1509
|
*/
|
|
1489
1510
|
readonly expand?: string
|
|
1490
1511
|
|
|
1491
1512
|
/**
|
|
1492
1513
|
* 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>
|
|
1493
1514
|
* @type {string}
|
|
1494
|
-
* @memberof
|
|
1515
|
+
* @memberof ClaimPositionsApiListClaimPositions
|
|
1495
1516
|
*/
|
|
1496
1517
|
readonly filters?: string
|
|
1497
1518
|
}
|
|
@@ -1560,29 +1581,29 @@ export interface ClaimPositionsApiListClaimPositions1Request {
|
|
|
1560
1581
|
}
|
|
1561
1582
|
|
|
1562
1583
|
/**
|
|
1563
|
-
* Request parameters for
|
|
1584
|
+
* Request parameters for updateClaimPosition operation in ClaimPositionsApi.
|
|
1564
1585
|
* @export
|
|
1565
|
-
* @interface
|
|
1586
|
+
* @interface ClaimPositionsApiUpdateClaimPositionRequest
|
|
1566
1587
|
*/
|
|
1567
|
-
export interface
|
|
1588
|
+
export interface ClaimPositionsApiUpdateClaimPositionRequest {
|
|
1568
1589
|
/**
|
|
1569
1590
|
*
|
|
1570
1591
|
* @type {string}
|
|
1571
|
-
* @memberof
|
|
1592
|
+
* @memberof ClaimPositionsApiUpdateClaimPosition
|
|
1572
1593
|
*/
|
|
1573
1594
|
readonly code: string
|
|
1574
1595
|
|
|
1575
1596
|
/**
|
|
1576
1597
|
*
|
|
1577
1598
|
* @type {UpdateClaimPositionRequestDto}
|
|
1578
|
-
* @memberof
|
|
1599
|
+
* @memberof ClaimPositionsApiUpdateClaimPosition
|
|
1579
1600
|
*/
|
|
1580
1601
|
readonly updateClaimPositionRequestDto: UpdateClaimPositionRequestDto
|
|
1581
1602
|
|
|
1582
1603
|
/**
|
|
1583
1604
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1584
1605
|
* @type {string}
|
|
1585
|
-
* @memberof
|
|
1606
|
+
* @memberof ClaimPositionsApiUpdateClaimPosition
|
|
1586
1607
|
*/
|
|
1587
1608
|
readonly authorization?: string
|
|
1588
1609
|
}
|
|
@@ -1625,20 +1646,21 @@ export class ClaimPositionsApi extends BaseAPI {
|
|
|
1625
1646
|
/**
|
|
1626
1647
|
* 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\"
|
|
1627
1648
|
* @summary Batch upsert claim positions
|
|
1628
|
-
* @param {
|
|
1649
|
+
* @param {ClaimPositionsApiBatchUpsertClaimPositionsRequest} requestParameters Request parameters.
|
|
1629
1650
|
* @param {*} [options] Override http request option.
|
|
1630
1651
|
* @throws {RequiredError}
|
|
1631
1652
|
* @memberof ClaimPositionsApi
|
|
1632
1653
|
*/
|
|
1633
|
-
public
|
|
1634
|
-
return ClaimPositionsApiFp(this.configuration).
|
|
1654
|
+
public batchUpsertClaimPositions(requestParameters: ClaimPositionsApiBatchUpsertClaimPositionsRequest, options?: AxiosRequestConfig) {
|
|
1655
|
+
return ClaimPositionsApiFp(this.configuration).batchUpsertClaimPositions(requestParameters.claimCode, requestParameters.batchUpsertClaimPositionsRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1635
1656
|
}
|
|
1636
1657
|
|
|
1637
1658
|
/**
|
|
1638
|
-
* 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\"
|
|
1659
|
+
* Batch upsert claim positions for a claim. Creates new positions, updates existing ones by code, and deletes positions by code in a single request. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1639
1660
|
* @summary Batch upsert claim positions
|
|
1640
1661
|
* @param {ClaimPositionsApiBatchUpsertClaimPositions1Request} requestParameters Request parameters.
|
|
1641
1662
|
* @param {*} [options] Override http request option.
|
|
1663
|
+
* @deprecated
|
|
1642
1664
|
* @throws {RequiredError}
|
|
1643
1665
|
* @memberof ClaimPositionsApi
|
|
1644
1666
|
*/
|
|
@@ -1649,20 +1671,21 @@ export class ClaimPositionsApi extends BaseAPI {
|
|
|
1649
1671
|
/**
|
|
1650
1672
|
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\"
|
|
1651
1673
|
* @summary Calculate claim positions
|
|
1652
|
-
* @param {
|
|
1674
|
+
* @param {ClaimPositionsApiCalculateClaimPositionsRequest} requestParameters Request parameters.
|
|
1653
1675
|
* @param {*} [options] Override http request option.
|
|
1654
1676
|
* @throws {RequiredError}
|
|
1655
1677
|
* @memberof ClaimPositionsApi
|
|
1656
1678
|
*/
|
|
1657
|
-
public
|
|
1658
|
-
return ClaimPositionsApiFp(this.configuration).
|
|
1679
|
+
public calculateClaimPositions(requestParameters: ClaimPositionsApiCalculateClaimPositionsRequest, options?: AxiosRequestConfig) {
|
|
1680
|
+
return ClaimPositionsApiFp(this.configuration).calculateClaimPositions(requestParameters.claimCode, requestParameters.calculateClaimPositionsRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1659
1681
|
}
|
|
1660
1682
|
|
|
1661
1683
|
/**
|
|
1662
|
-
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\"
|
|
1684
|
+
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1663
1685
|
* @summary Calculate claim positions
|
|
1664
1686
|
* @param {ClaimPositionsApiCalculateClaimPositions1Request} requestParameters Request parameters.
|
|
1665
1687
|
* @param {*} [options] Override http request option.
|
|
1688
|
+
* @deprecated
|
|
1666
1689
|
* @throws {RequiredError}
|
|
1667
1690
|
* @memberof ClaimPositionsApi
|
|
1668
1691
|
*/
|
|
@@ -1673,20 +1696,21 @@ export class ClaimPositionsApi extends BaseAPI {
|
|
|
1673
1696
|
/**
|
|
1674
1697
|
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
1675
1698
|
* @summary Create the claim position
|
|
1676
|
-
* @param {
|
|
1699
|
+
* @param {ClaimPositionsApiCreateClaimPositionRequest} requestParameters Request parameters.
|
|
1677
1700
|
* @param {*} [options] Override http request option.
|
|
1678
1701
|
* @throws {RequiredError}
|
|
1679
1702
|
* @memberof ClaimPositionsApi
|
|
1680
1703
|
*/
|
|
1681
|
-
public
|
|
1682
|
-
return ClaimPositionsApiFp(this.configuration).
|
|
1704
|
+
public createClaimPosition(requestParameters: ClaimPositionsApiCreateClaimPositionRequest, options?: AxiosRequestConfig) {
|
|
1705
|
+
return ClaimPositionsApiFp(this.configuration).createClaimPosition(requestParameters.createClaimPositionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1683
1706
|
}
|
|
1684
1707
|
|
|
1685
1708
|
/**
|
|
1686
|
-
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
1709
|
+
* This will create claim position. **Required Permissions** \"claim-management.claims.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1687
1710
|
* @summary Create the claim position
|
|
1688
1711
|
* @param {ClaimPositionsApiCreateClaimPosition1Request} requestParameters Request parameters.
|
|
1689
1712
|
* @param {*} [options] Override http request option.
|
|
1713
|
+
* @deprecated
|
|
1690
1714
|
* @throws {RequiredError}
|
|
1691
1715
|
* @memberof ClaimPositionsApi
|
|
1692
1716
|
*/
|
|
@@ -1697,20 +1721,21 @@ export class ClaimPositionsApi extends BaseAPI {
|
|
|
1697
1721
|
/**
|
|
1698
1722
|
* This will delete claim position. **Required Permissions** \"claim-management.claims.delete\"
|
|
1699
1723
|
* @summary Delete the claim position
|
|
1700
|
-
* @param {
|
|
1724
|
+
* @param {ClaimPositionsApiDeleteClaimPositionRequest} requestParameters Request parameters.
|
|
1701
1725
|
* @param {*} [options] Override http request option.
|
|
1702
1726
|
* @throws {RequiredError}
|
|
1703
1727
|
* @memberof ClaimPositionsApi
|
|
1704
1728
|
*/
|
|
1705
|
-
public
|
|
1706
|
-
return ClaimPositionsApiFp(this.configuration).
|
|
1729
|
+
public deleteClaimPosition(requestParameters: ClaimPositionsApiDeleteClaimPositionRequest, options?: AxiosRequestConfig) {
|
|
1730
|
+
return ClaimPositionsApiFp(this.configuration).deleteClaimPosition(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1707
1731
|
}
|
|
1708
1732
|
|
|
1709
1733
|
/**
|
|
1710
|
-
* This will delete claim position. **Required Permissions** \"claim-management.claims.delete\"
|
|
1734
|
+
* This will delete claim position. **Required Permissions** \"claim-management.claims.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1711
1735
|
* @summary Delete the claim position
|
|
1712
1736
|
* @param {ClaimPositionsApiDeleteClaimPosition1Request} requestParameters Request parameters.
|
|
1713
1737
|
* @param {*} [options] Override http request option.
|
|
1738
|
+
* @deprecated
|
|
1714
1739
|
* @throws {RequiredError}
|
|
1715
1740
|
* @memberof ClaimPositionsApi
|
|
1716
1741
|
*/
|
|
@@ -1721,20 +1746,21 @@ export class ClaimPositionsApi extends BaseAPI {
|
|
|
1721
1746
|
/**
|
|
1722
1747
|
* This will get claim position. **Required Permissions** \"claim-management.claims.view\"
|
|
1723
1748
|
* @summary Retrieve the claim position
|
|
1724
|
-
* @param {
|
|
1749
|
+
* @param {ClaimPositionsApiGetClaimPositionRequest} requestParameters Request parameters.
|
|
1725
1750
|
* @param {*} [options] Override http request option.
|
|
1726
1751
|
* @throws {RequiredError}
|
|
1727
1752
|
* @memberof ClaimPositionsApi
|
|
1728
1753
|
*/
|
|
1729
|
-
public
|
|
1730
|
-
return ClaimPositionsApiFp(this.configuration).
|
|
1754
|
+
public getClaimPosition(requestParameters: ClaimPositionsApiGetClaimPositionRequest, options?: AxiosRequestConfig) {
|
|
1755
|
+
return ClaimPositionsApiFp(this.configuration).getClaimPosition(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1731
1756
|
}
|
|
1732
1757
|
|
|
1733
1758
|
/**
|
|
1734
|
-
* This will get claim position. **Required Permissions** \"claim-management.claims.view\"
|
|
1759
|
+
* This will get claim position. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1735
1760
|
* @summary Retrieve the claim position
|
|
1736
1761
|
* @param {ClaimPositionsApiGetClaimPosition1Request} requestParameters Request parameters.
|
|
1737
1762
|
* @param {*} [options] Override http request option.
|
|
1763
|
+
* @deprecated
|
|
1738
1764
|
* @throws {RequiredError}
|
|
1739
1765
|
* @memberof ClaimPositionsApi
|
|
1740
1766
|
*/
|
|
@@ -1745,20 +1771,21 @@ export class ClaimPositionsApi extends BaseAPI {
|
|
|
1745
1771
|
/**
|
|
1746
1772
|
* Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\"
|
|
1747
1773
|
* @summary List claim positions
|
|
1748
|
-
* @param {
|
|
1774
|
+
* @param {ClaimPositionsApiListClaimPositionsRequest} requestParameters Request parameters.
|
|
1749
1775
|
* @param {*} [options] Override http request option.
|
|
1750
1776
|
* @throws {RequiredError}
|
|
1751
1777
|
* @memberof ClaimPositionsApi
|
|
1752
1778
|
*/
|
|
1753
|
-
public
|
|
1754
|
-
return ClaimPositionsApiFp(this.configuration).
|
|
1779
|
+
public listClaimPositions(requestParameters: ClaimPositionsApiListClaimPositionsRequest = {}, options?: AxiosRequestConfig) {
|
|
1780
|
+
return ClaimPositionsApiFp(this.configuration).listClaimPositions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
1755
1781
|
}
|
|
1756
1782
|
|
|
1757
1783
|
/**
|
|
1758
|
-
* Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\"
|
|
1784
|
+
* Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1759
1785
|
* @summary List claim positions
|
|
1760
1786
|
* @param {ClaimPositionsApiListClaimPositions1Request} requestParameters Request parameters.
|
|
1761
1787
|
* @param {*} [options] Override http request option.
|
|
1788
|
+
* @deprecated
|
|
1762
1789
|
* @throws {RequiredError}
|
|
1763
1790
|
* @memberof ClaimPositionsApi
|
|
1764
1791
|
*/
|
|
@@ -1769,20 +1796,21 @@ export class ClaimPositionsApi extends BaseAPI {
|
|
|
1769
1796
|
/**
|
|
1770
1797
|
* This will update claim position. **Required Permissions** \"claim-management.claims.update\"
|
|
1771
1798
|
* @summary Update the claim position
|
|
1772
|
-
* @param {
|
|
1799
|
+
* @param {ClaimPositionsApiUpdateClaimPositionRequest} requestParameters Request parameters.
|
|
1773
1800
|
* @param {*} [options] Override http request option.
|
|
1774
1801
|
* @throws {RequiredError}
|
|
1775
1802
|
* @memberof ClaimPositionsApi
|
|
1776
1803
|
*/
|
|
1777
|
-
public
|
|
1778
|
-
return ClaimPositionsApiFp(this.configuration).
|
|
1804
|
+
public updateClaimPosition(requestParameters: ClaimPositionsApiUpdateClaimPositionRequest, options?: AxiosRequestConfig) {
|
|
1805
|
+
return ClaimPositionsApiFp(this.configuration).updateClaimPosition(requestParameters.code, requestParameters.updateClaimPositionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1779
1806
|
}
|
|
1780
1807
|
|
|
1781
1808
|
/**
|
|
1782
|
-
* This will update claim position. **Required Permissions** \"claim-management.claims.update\"
|
|
1809
|
+
* This will update claim position. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1783
1810
|
* @summary Update the claim position
|
|
1784
1811
|
* @param {ClaimPositionsApiUpdateClaimPosition1Request} requestParameters Request parameters.
|
|
1785
1812
|
* @param {*} [options] Override http request option.
|
|
1813
|
+
* @deprecated
|
|
1786
1814
|
* @throws {RequiredError}
|
|
1787
1815
|
* @memberof ClaimPositionsApi
|
|
1788
1816
|
*/
|