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