@emilgroup/claim-sdk 1.41.1-beta.3 → 1.41.1-beta.30
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/.openapi-generator/FILES +8 -0
- package/README.md +2 -2
- package/api/claim-limit-usages-api.ts +8 -8
- package/api/claim-positions-api.ts +480 -0
- package/api/claims-api.ts +40 -40
- package/dist/api/claim-limit-usages-api.d.ts +8 -8
- package/dist/api/claim-limit-usages-api.js +6 -6
- package/dist/api/claim-positions-api.d.ts +268 -0
- package/dist/api/claim-positions-api.js +404 -0
- package/dist/api/claims-api.d.ts +40 -40
- package/dist/api/claims-api.js +30 -30
- package/dist/models/batch-upsert-claim-position-input-dto.d.ts +66 -0
- package/dist/models/batch-upsert-claim-position-input-dto.js +15 -0
- package/dist/models/batch-upsert-claim-positions-request-dto.d.ts +31 -0
- package/dist/models/batch-upsert-claim-positions-request-dto.js +15 -0
- package/dist/models/batch-upsert-claim-positions-response-class.d.ts +32 -0
- package/dist/models/batch-upsert-claim-positions-response-class.js +15 -0
- package/dist/models/calculate-claim-positions-request-dto.d.ts +31 -0
- package/dist/models/calculate-claim-positions-request-dto.js +15 -0
- package/dist/models/calculate-claim-positions-response-class.d.ts +32 -0
- package/dist/models/calculate-claim-positions-response-class.js +15 -0
- package/dist/models/calculated-claim-position-class.d.ts +74 -0
- package/dist/models/calculated-claim-position-class.js +15 -0
- package/dist/models/calculation-totals-class.d.ts +30 -0
- package/dist/models/calculation-totals-class.js +15 -0
- package/dist/models/claim-limit-usage-class.d.ts +6 -0
- package/dist/models/claim-position-calculation-input-dto.d.ts +48 -0
- package/dist/models/claim-position-calculation-input-dto.js +15 -0
- package/dist/models/create-claim-position-response-class.d.ts +1 -1
- package/dist/models/create-regulation-item-request-dto.d.ts +1 -1
- package/dist/models/get-claim-position-response-class.d.ts +1 -1
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/dist/models/list-claim-positions-response-class.d.ts +1 -1
- package/dist/models/regulation-item-class.d.ts +6 -0
- package/dist/models/update-claim-position-response-class.d.ts +1 -1
- package/dist/models/update-regulation-item-request-dto.d.ts +23 -0
- package/dist/models/update-regulation-item-request-dto.js +5 -1
- package/models/batch-upsert-claim-position-input-dto.ts +72 -0
- package/models/batch-upsert-claim-positions-request-dto.ts +37 -0
- package/models/batch-upsert-claim-positions-response-class.ts +38 -0
- package/models/calculate-claim-positions-request-dto.ts +37 -0
- package/models/calculate-claim-positions-response-class.ts +38 -0
- package/models/calculated-claim-position-class.ts +80 -0
- package/models/calculation-totals-class.ts +36 -0
- package/models/claim-limit-usage-class.ts +6 -0
- package/models/claim-position-calculation-input-dto.ts +54 -0
- package/models/create-claim-position-response-class.ts +1 -1
- package/models/create-regulation-item-request-dto.ts +1 -1
- package/models/get-claim-position-response-class.ts +1 -1
- package/models/index.ts +8 -0
- package/models/list-claim-positions-response-class.ts +1 -1
- package/models/regulation-item-class.ts +6 -0
- package/models/update-claim-position-response-class.ts +1 -1
- package/models/update-regulation-item-request-dto.ts +24 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -17,13 +17,21 @@ common.ts
|
|
|
17
17
|
configuration.ts
|
|
18
18
|
git_push.sh
|
|
19
19
|
index.ts
|
|
20
|
+
models/batch-upsert-claim-position-input-dto.ts
|
|
21
|
+
models/batch-upsert-claim-positions-request-dto.ts
|
|
22
|
+
models/batch-upsert-claim-positions-response-class.ts
|
|
23
|
+
models/calculate-claim-positions-request-dto.ts
|
|
24
|
+
models/calculate-claim-positions-response-class.ts
|
|
25
|
+
models/calculated-claim-position-class.ts
|
|
20
26
|
models/calculation-step-result-class.ts
|
|
27
|
+
models/calculation-totals-class.ts
|
|
21
28
|
models/claim-applied-deductible-class.ts
|
|
22
29
|
models/claim-class.ts
|
|
23
30
|
models/claim-limit-usage-class.ts
|
|
24
31
|
models/claim-limit-usage-result-class.ts
|
|
25
32
|
models/claim-partner-class.ts
|
|
26
33
|
models/claim-partner-role-class.ts
|
|
34
|
+
models/claim-position-calculation-input-dto.ts
|
|
27
35
|
models/claim-position-class.ts
|
|
28
36
|
models/claim-status-class.ts
|
|
29
37
|
models/create-claim-partner-request-dto.ts
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/claim-sdk@1.41.1-beta.
|
|
20
|
+
npm install @emilgroup/claim-sdk@1.41.1-beta.30 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/claim-sdk@1.41.1-beta.
|
|
24
|
+
yarn add @emilgroup/claim-sdk@1.41.1-beta.30
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `ClaimsApi`.
|
|
@@ -129,7 +129,7 @@ export const ClaimLimitUsagesApiAxiosParamCreator = function (configuration?: Co
|
|
|
129
129
|
* @param {string} [pageToken] 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.
|
|
130
130
|
* @param {string} [filter] 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, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
131
131
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
132
|
-
* @param {string} [order] 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, createdAt, updatedAt, periodStart, periodEnd, remainingAmount</i>
|
|
132
|
+
* @param {string} [order] 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, createdAt, updatedAt, periodStart, periodEnd, remainingAmount, initialAmount</i>
|
|
133
133
|
* @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/>
|
|
134
134
|
* @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, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
135
135
|
* @param {*} [options] Override http request option.
|
|
@@ -205,7 +205,7 @@ export const ClaimLimitUsagesApiAxiosParamCreator = function (configuration?: Co
|
|
|
205
205
|
* @param {string} [pageToken] 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.
|
|
206
206
|
* @param {string} [filter] 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, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
207
207
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
208
|
-
* @param {string} [order] 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, createdAt, updatedAt, periodStart, periodEnd, remainingAmount</i>
|
|
208
|
+
* @param {string} [order] 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, createdAt, updatedAt, periodStart, periodEnd, remainingAmount, initialAmount</i>
|
|
209
209
|
* @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/>
|
|
210
210
|
* @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, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
211
211
|
* @param {*} [options] Override http request option.
|
|
@@ -317,7 +317,7 @@ export const ClaimLimitUsagesApiFp = function(configuration?: Configuration) {
|
|
|
317
317
|
* @param {string} [pageToken] 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.
|
|
318
318
|
* @param {string} [filter] 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, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
319
319
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
320
|
-
* @param {string} [order] 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, createdAt, updatedAt, periodStart, periodEnd, remainingAmount</i>
|
|
320
|
+
* @param {string} [order] 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, createdAt, updatedAt, periodStart, periodEnd, remainingAmount, initialAmount</i>
|
|
321
321
|
* @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/>
|
|
322
322
|
* @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, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
323
323
|
* @param {*} [options] Override http request option.
|
|
@@ -335,7 +335,7 @@ export const ClaimLimitUsagesApiFp = function(configuration?: Configuration) {
|
|
|
335
335
|
* @param {string} [pageToken] 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.
|
|
336
336
|
* @param {string} [filter] 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, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
337
337
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
338
|
-
* @param {string} [order] 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, createdAt, updatedAt, periodStart, periodEnd, remainingAmount</i>
|
|
338
|
+
* @param {string} [order] 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, createdAt, updatedAt, periodStart, periodEnd, remainingAmount, initialAmount</i>
|
|
339
339
|
* @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/>
|
|
340
340
|
* @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, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
341
341
|
* @param {*} [options] Override http request option.
|
|
@@ -387,7 +387,7 @@ export const ClaimLimitUsagesApiFactory = function (configuration?: Configuratio
|
|
|
387
387
|
* @param {string} [pageToken] 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.
|
|
388
388
|
* @param {string} [filter] 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, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
389
389
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
390
|
-
* @param {string} [order] 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, createdAt, updatedAt, periodStart, periodEnd, remainingAmount</i>
|
|
390
|
+
* @param {string} [order] 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, createdAt, updatedAt, periodStart, periodEnd, remainingAmount, initialAmount</i>
|
|
391
391
|
* @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/>
|
|
392
392
|
* @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, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
393
393
|
* @param {*} [options] Override http request option.
|
|
@@ -404,7 +404,7 @@ export const ClaimLimitUsagesApiFactory = function (configuration?: Configuratio
|
|
|
404
404
|
* @param {string} [pageToken] 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.
|
|
405
405
|
* @param {string} [filter] 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, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
406
406
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
407
|
-
* @param {string} [order] 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, createdAt, updatedAt, periodStart, periodEnd, remainingAmount</i>
|
|
407
|
+
* @param {string} [order] 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, createdAt, updatedAt, periodStart, periodEnd, remainingAmount, initialAmount</i>
|
|
408
408
|
* @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/>
|
|
409
409
|
* @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, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
410
410
|
* @param {*} [options] Override http request option.
|
|
@@ -501,7 +501,7 @@ export interface ClaimLimitUsagesApiListClaimLimitUsagesRequest {
|
|
|
501
501
|
readonly search?: string
|
|
502
502
|
|
|
503
503
|
/**
|
|
504
|
-
* 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, createdAt, updatedAt, periodStart, periodEnd, remainingAmount</i>
|
|
504
|
+
* 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, createdAt, updatedAt, periodStart, periodEnd, remainingAmount, initialAmount</i>
|
|
505
505
|
* @type {string}
|
|
506
506
|
* @memberof ClaimLimitUsagesApiListClaimLimitUsages
|
|
507
507
|
*/
|
|
@@ -564,7 +564,7 @@ export interface ClaimLimitUsagesApiListClaimLimitUsages1Request {
|
|
|
564
564
|
readonly search?: string
|
|
565
565
|
|
|
566
566
|
/**
|
|
567
|
-
* 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, createdAt, updatedAt, periodStart, periodEnd, remainingAmount</i>
|
|
567
|
+
* 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, createdAt, updatedAt, periodStart, periodEnd, remainingAmount, initialAmount</i>
|
|
568
568
|
* @type {string}
|
|
569
569
|
* @memberof ClaimLimitUsagesApiListClaimLimitUsages1
|
|
570
570
|
*/
|
|
@@ -21,6 +21,14 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
|
+
import { BatchUpsertClaimPositionsRequestDto } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { BatchUpsertClaimPositionsResponseClass } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { CalculateClaimPositionsRequestDto } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { CalculateClaimPositionsResponseClass } from '../models';
|
|
31
|
+
// @ts-ignore
|
|
24
32
|
import { CreateClaimPositionRequestDto } from '../models';
|
|
25
33
|
// @ts-ignore
|
|
26
34
|
import { CreateClaimPositionResponseClass } from '../models';
|
|
@@ -38,6 +46,212 @@ import { UpdateClaimPositionResponseClass } from '../models';
|
|
|
38
46
|
*/
|
|
39
47
|
export const ClaimPositionsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40
48
|
return {
|
|
49
|
+
/**
|
|
50
|
+
* 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\"
|
|
51
|
+
* @summary Batch upsert claim positions
|
|
52
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
53
|
+
* @param {BatchUpsertClaimPositionsRequestDto} batchUpsertClaimPositionsRequestDto
|
|
54
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
55
|
+
* @param {*} [options] Override http request option.
|
|
56
|
+
* @throws {RequiredError}
|
|
57
|
+
*/
|
|
58
|
+
batchUpsertClaimPositions: async (claimCode: string, batchUpsertClaimPositionsRequestDto: BatchUpsertClaimPositionsRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
59
|
+
// verify required parameter 'claimCode' is not null or undefined
|
|
60
|
+
assertParamExists('batchUpsertClaimPositions', 'claimCode', claimCode)
|
|
61
|
+
// verify required parameter 'batchUpsertClaimPositionsRequestDto' is not null or undefined
|
|
62
|
+
assertParamExists('batchUpsertClaimPositions', 'batchUpsertClaimPositionsRequestDto', batchUpsertClaimPositionsRequestDto)
|
|
63
|
+
const localVarPath = `/claimservice/v1/claim-positions/batch/{claimCode}`
|
|
64
|
+
.replace(`{${"claimCode"}}`, encodeURIComponent(String(claimCode)));
|
|
65
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
66
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
67
|
+
let baseOptions;
|
|
68
|
+
let baseAccessToken;
|
|
69
|
+
if (configuration) {
|
|
70
|
+
baseOptions = configuration.baseOptions;
|
|
71
|
+
baseAccessToken = configuration.accessToken;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
75
|
+
const localVarHeaderParameter = {} as any;
|
|
76
|
+
const localVarQueryParameter = {} as any;
|
|
77
|
+
|
|
78
|
+
// authentication bearer required
|
|
79
|
+
// http bearer authentication required
|
|
80
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
81
|
+
|
|
82
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
83
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
89
|
+
|
|
90
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
91
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
92
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
93
|
+
localVarRequestOptions.data = serializeDataIfNeeded(batchUpsertClaimPositionsRequestDto, localVarRequestOptions, configuration)
|
|
94
|
+
|
|
95
|
+
return {
|
|
96
|
+
url: toPathString(localVarUrlObj),
|
|
97
|
+
options: localVarRequestOptions,
|
|
98
|
+
};
|
|
99
|
+
},
|
|
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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
102
|
+
* @summary Batch upsert claim positions
|
|
103
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
104
|
+
* @param {BatchUpsertClaimPositionsRequestDto} batchUpsertClaimPositionsRequestDto
|
|
105
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
106
|
+
* @param {*} [options] Override http request option.
|
|
107
|
+
* @deprecated
|
|
108
|
+
* @throws {RequiredError}
|
|
109
|
+
*/
|
|
110
|
+
batchUpsertClaimPositions1: async (claimCode: string, batchUpsertClaimPositionsRequestDto: BatchUpsertClaimPositionsRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
111
|
+
// verify required parameter 'claimCode' is not null or undefined
|
|
112
|
+
assertParamExists('batchUpsertClaimPositions1', 'claimCode', claimCode)
|
|
113
|
+
// verify required parameter 'batchUpsertClaimPositionsRequestDto' is not null or undefined
|
|
114
|
+
assertParamExists('batchUpsertClaimPositions1', 'batchUpsertClaimPositionsRequestDto', batchUpsertClaimPositionsRequestDto)
|
|
115
|
+
const localVarPath = `/v1/claim-positions/batch/{claimCode}`
|
|
116
|
+
.replace(`{${"claimCode"}}`, encodeURIComponent(String(claimCode)));
|
|
117
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
118
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
119
|
+
let baseOptions;
|
|
120
|
+
let baseAccessToken;
|
|
121
|
+
if (configuration) {
|
|
122
|
+
baseOptions = configuration.baseOptions;
|
|
123
|
+
baseAccessToken = configuration.accessToken;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
127
|
+
const localVarHeaderParameter = {} as any;
|
|
128
|
+
const localVarQueryParameter = {} as any;
|
|
129
|
+
|
|
130
|
+
// authentication bearer required
|
|
131
|
+
// http bearer authentication required
|
|
132
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
133
|
+
|
|
134
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
135
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
141
|
+
|
|
142
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
143
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
144
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
145
|
+
localVarRequestOptions.data = serializeDataIfNeeded(batchUpsertClaimPositionsRequestDto, localVarRequestOptions, configuration)
|
|
146
|
+
|
|
147
|
+
return {
|
|
148
|
+
url: toPathString(localVarUrlObj),
|
|
149
|
+
options: localVarRequestOptions,
|
|
150
|
+
};
|
|
151
|
+
},
|
|
152
|
+
/**
|
|
153
|
+
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\"
|
|
154
|
+
* @summary Calculate claim positions
|
|
155
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
156
|
+
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
157
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
158
|
+
* @param {*} [options] Override http request option.
|
|
159
|
+
* @throws {RequiredError}
|
|
160
|
+
*/
|
|
161
|
+
calculateClaimPositions: async (claimCode: string, calculateClaimPositionsRequestDto: CalculateClaimPositionsRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
162
|
+
// verify required parameter 'claimCode' is not null or undefined
|
|
163
|
+
assertParamExists('calculateClaimPositions', 'claimCode', claimCode)
|
|
164
|
+
// verify required parameter 'calculateClaimPositionsRequestDto' is not null or undefined
|
|
165
|
+
assertParamExists('calculateClaimPositions', 'calculateClaimPositionsRequestDto', calculateClaimPositionsRequestDto)
|
|
166
|
+
const localVarPath = `/claimservice/v1/claim-positions/calculate/{claimCode}`
|
|
167
|
+
.replace(`{${"claimCode"}}`, encodeURIComponent(String(claimCode)));
|
|
168
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
169
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
170
|
+
let baseOptions;
|
|
171
|
+
let baseAccessToken;
|
|
172
|
+
if (configuration) {
|
|
173
|
+
baseOptions = configuration.baseOptions;
|
|
174
|
+
baseAccessToken = configuration.accessToken;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
178
|
+
const localVarHeaderParameter = {} as any;
|
|
179
|
+
const localVarQueryParameter = {} as any;
|
|
180
|
+
|
|
181
|
+
// authentication bearer required
|
|
182
|
+
// http bearer authentication required
|
|
183
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
184
|
+
|
|
185
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
186
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
192
|
+
|
|
193
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
194
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
195
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
196
|
+
localVarRequestOptions.data = serializeDataIfNeeded(calculateClaimPositionsRequestDto, localVarRequestOptions, configuration)
|
|
197
|
+
|
|
198
|
+
return {
|
|
199
|
+
url: toPathString(localVarUrlObj),
|
|
200
|
+
options: localVarRequestOptions,
|
|
201
|
+
};
|
|
202
|
+
},
|
|
203
|
+
/**
|
|
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.
|
|
205
|
+
* @summary Calculate claim positions
|
|
206
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
207
|
+
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
208
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
209
|
+
* @param {*} [options] Override http request option.
|
|
210
|
+
* @deprecated
|
|
211
|
+
* @throws {RequiredError}
|
|
212
|
+
*/
|
|
213
|
+
calculateClaimPositions1: async (claimCode: string, calculateClaimPositionsRequestDto: CalculateClaimPositionsRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
214
|
+
// verify required parameter 'claimCode' is not null or undefined
|
|
215
|
+
assertParamExists('calculateClaimPositions1', 'claimCode', claimCode)
|
|
216
|
+
// verify required parameter 'calculateClaimPositionsRequestDto' is not null or undefined
|
|
217
|
+
assertParamExists('calculateClaimPositions1', 'calculateClaimPositionsRequestDto', calculateClaimPositionsRequestDto)
|
|
218
|
+
const localVarPath = `/v1/claim-positions/calculate/{claimCode}`
|
|
219
|
+
.replace(`{${"claimCode"}}`, encodeURIComponent(String(claimCode)));
|
|
220
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
221
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
222
|
+
let baseOptions;
|
|
223
|
+
let baseAccessToken;
|
|
224
|
+
if (configuration) {
|
|
225
|
+
baseOptions = configuration.baseOptions;
|
|
226
|
+
baseAccessToken = configuration.accessToken;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
230
|
+
const localVarHeaderParameter = {} as any;
|
|
231
|
+
const localVarQueryParameter = {} as any;
|
|
232
|
+
|
|
233
|
+
// authentication bearer required
|
|
234
|
+
// http bearer authentication required
|
|
235
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
236
|
+
|
|
237
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
238
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
244
|
+
|
|
245
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
246
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
247
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
248
|
+
localVarRequestOptions.data = serializeDataIfNeeded(calculateClaimPositionsRequestDto, localVarRequestOptions, configuration)
|
|
249
|
+
|
|
250
|
+
return {
|
|
251
|
+
url: toPathString(localVarUrlObj),
|
|
252
|
+
options: localVarRequestOptions,
|
|
253
|
+
};
|
|
254
|
+
},
|
|
41
255
|
/**
|
|
42
256
|
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
43
257
|
* @summary Create the claim position
|
|
@@ -595,6 +809,60 @@ export const ClaimPositionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
595
809
|
export const ClaimPositionsApiFp = function(configuration?: Configuration) {
|
|
596
810
|
const localVarAxiosParamCreator = ClaimPositionsApiAxiosParamCreator(configuration)
|
|
597
811
|
return {
|
|
812
|
+
/**
|
|
813
|
+
* 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\"
|
|
814
|
+
* @summary Batch upsert claim positions
|
|
815
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
816
|
+
* @param {BatchUpsertClaimPositionsRequestDto} batchUpsertClaimPositionsRequestDto
|
|
817
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
818
|
+
* @param {*} [options] Override http request option.
|
|
819
|
+
* @throws {RequiredError}
|
|
820
|
+
*/
|
|
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);
|
|
823
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
824
|
+
},
|
|
825
|
+
/**
|
|
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.
|
|
827
|
+
* @summary Batch upsert claim positions
|
|
828
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
829
|
+
* @param {BatchUpsertClaimPositionsRequestDto} batchUpsertClaimPositionsRequestDto
|
|
830
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
831
|
+
* @param {*} [options] Override http request option.
|
|
832
|
+
* @deprecated
|
|
833
|
+
* @throws {RequiredError}
|
|
834
|
+
*/
|
|
835
|
+
async batchUpsertClaimPositions1(claimCode: string, batchUpsertClaimPositionsRequestDto: BatchUpsertClaimPositionsRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BatchUpsertClaimPositionsResponseClass>> {
|
|
836
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.batchUpsertClaimPositions1(claimCode, batchUpsertClaimPositionsRequestDto, authorization, options);
|
|
837
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
838
|
+
},
|
|
839
|
+
/**
|
|
840
|
+
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\"
|
|
841
|
+
* @summary Calculate claim positions
|
|
842
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
843
|
+
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
844
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
845
|
+
* @param {*} [options] Override http request option.
|
|
846
|
+
* @throws {RequiredError}
|
|
847
|
+
*/
|
|
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);
|
|
850
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
851
|
+
},
|
|
852
|
+
/**
|
|
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.
|
|
854
|
+
* @summary Calculate claim positions
|
|
855
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
856
|
+
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
857
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
858
|
+
* @param {*} [options] Override http request option.
|
|
859
|
+
* @deprecated
|
|
860
|
+
* @throws {RequiredError}
|
|
861
|
+
*/
|
|
862
|
+
async calculateClaimPositions1(claimCode: string, calculateClaimPositionsRequestDto: CalculateClaimPositionsRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalculateClaimPositionsResponseClass>> {
|
|
863
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.calculateClaimPositions1(claimCode, calculateClaimPositionsRequestDto, authorization, options);
|
|
864
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
865
|
+
},
|
|
598
866
|
/**
|
|
599
867
|
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
600
868
|
* @summary Create the claim position
|
|
@@ -746,6 +1014,56 @@ export const ClaimPositionsApiFp = function(configuration?: Configuration) {
|
|
|
746
1014
|
export const ClaimPositionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
747
1015
|
const localVarFp = ClaimPositionsApiFp(configuration)
|
|
748
1016
|
return {
|
|
1017
|
+
/**
|
|
1018
|
+
* 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\"
|
|
1019
|
+
* @summary Batch upsert claim positions
|
|
1020
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
1021
|
+
* @param {BatchUpsertClaimPositionsRequestDto} batchUpsertClaimPositionsRequestDto
|
|
1022
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1023
|
+
* @param {*} [options] Override http request option.
|
|
1024
|
+
* @throws {RequiredError}
|
|
1025
|
+
*/
|
|
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));
|
|
1028
|
+
},
|
|
1029
|
+
/**
|
|
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.
|
|
1031
|
+
* @summary Batch upsert claim positions
|
|
1032
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
1033
|
+
* @param {BatchUpsertClaimPositionsRequestDto} batchUpsertClaimPositionsRequestDto
|
|
1034
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1035
|
+
* @param {*} [options] Override http request option.
|
|
1036
|
+
* @deprecated
|
|
1037
|
+
* @throws {RequiredError}
|
|
1038
|
+
*/
|
|
1039
|
+
batchUpsertClaimPositions1(claimCode: string, batchUpsertClaimPositionsRequestDto: BatchUpsertClaimPositionsRequestDto, authorization?: string, options?: any): AxiosPromise<BatchUpsertClaimPositionsResponseClass> {
|
|
1040
|
+
return localVarFp.batchUpsertClaimPositions1(claimCode, batchUpsertClaimPositionsRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
1041
|
+
},
|
|
1042
|
+
/**
|
|
1043
|
+
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\"
|
|
1044
|
+
* @summary Calculate claim positions
|
|
1045
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
1046
|
+
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
1047
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1048
|
+
* @param {*} [options] Override http request option.
|
|
1049
|
+
* @throws {RequiredError}
|
|
1050
|
+
*/
|
|
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));
|
|
1053
|
+
},
|
|
1054
|
+
/**
|
|
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.
|
|
1056
|
+
* @summary Calculate claim positions
|
|
1057
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
1058
|
+
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
1059
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1060
|
+
* @param {*} [options] Override http request option.
|
|
1061
|
+
* @deprecated
|
|
1062
|
+
* @throws {RequiredError}
|
|
1063
|
+
*/
|
|
1064
|
+
calculateClaimPositions1(claimCode: string, calculateClaimPositionsRequestDto: CalculateClaimPositionsRequestDto, authorization?: string, options?: any): AxiosPromise<CalculateClaimPositionsResponseClass> {
|
|
1065
|
+
return localVarFp.calculateClaimPositions1(claimCode, calculateClaimPositionsRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
1066
|
+
},
|
|
749
1067
|
/**
|
|
750
1068
|
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
751
1069
|
* @summary Create the claim position
|
|
@@ -880,6 +1198,118 @@ export const ClaimPositionsApiFactory = function (configuration?: Configuration,
|
|
|
880
1198
|
};
|
|
881
1199
|
};
|
|
882
1200
|
|
|
1201
|
+
/**
|
|
1202
|
+
* Request parameters for batchUpsertClaimPositions operation in ClaimPositionsApi.
|
|
1203
|
+
* @export
|
|
1204
|
+
* @interface ClaimPositionsApiBatchUpsertClaimPositionsRequest
|
|
1205
|
+
*/
|
|
1206
|
+
export interface ClaimPositionsApiBatchUpsertClaimPositionsRequest {
|
|
1207
|
+
/**
|
|
1208
|
+
* Unique identifier for the object.
|
|
1209
|
+
* @type {string}
|
|
1210
|
+
* @memberof ClaimPositionsApiBatchUpsertClaimPositions
|
|
1211
|
+
*/
|
|
1212
|
+
readonly claimCode: string
|
|
1213
|
+
|
|
1214
|
+
/**
|
|
1215
|
+
*
|
|
1216
|
+
* @type {BatchUpsertClaimPositionsRequestDto}
|
|
1217
|
+
* @memberof ClaimPositionsApiBatchUpsertClaimPositions
|
|
1218
|
+
*/
|
|
1219
|
+
readonly batchUpsertClaimPositionsRequestDto: BatchUpsertClaimPositionsRequestDto
|
|
1220
|
+
|
|
1221
|
+
/**
|
|
1222
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1223
|
+
* @type {string}
|
|
1224
|
+
* @memberof ClaimPositionsApiBatchUpsertClaimPositions
|
|
1225
|
+
*/
|
|
1226
|
+
readonly authorization?: string
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
/**
|
|
1230
|
+
* Request parameters for batchUpsertClaimPositions1 operation in ClaimPositionsApi.
|
|
1231
|
+
* @export
|
|
1232
|
+
* @interface ClaimPositionsApiBatchUpsertClaimPositions1Request
|
|
1233
|
+
*/
|
|
1234
|
+
export interface ClaimPositionsApiBatchUpsertClaimPositions1Request {
|
|
1235
|
+
/**
|
|
1236
|
+
* Unique identifier for the object.
|
|
1237
|
+
* @type {string}
|
|
1238
|
+
* @memberof ClaimPositionsApiBatchUpsertClaimPositions1
|
|
1239
|
+
*/
|
|
1240
|
+
readonly claimCode: string
|
|
1241
|
+
|
|
1242
|
+
/**
|
|
1243
|
+
*
|
|
1244
|
+
* @type {BatchUpsertClaimPositionsRequestDto}
|
|
1245
|
+
* @memberof ClaimPositionsApiBatchUpsertClaimPositions1
|
|
1246
|
+
*/
|
|
1247
|
+
readonly batchUpsertClaimPositionsRequestDto: BatchUpsertClaimPositionsRequestDto
|
|
1248
|
+
|
|
1249
|
+
/**
|
|
1250
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1251
|
+
* @type {string}
|
|
1252
|
+
* @memberof ClaimPositionsApiBatchUpsertClaimPositions1
|
|
1253
|
+
*/
|
|
1254
|
+
readonly authorization?: string
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
/**
|
|
1258
|
+
* Request parameters for calculateClaimPositions operation in ClaimPositionsApi.
|
|
1259
|
+
* @export
|
|
1260
|
+
* @interface ClaimPositionsApiCalculateClaimPositionsRequest
|
|
1261
|
+
*/
|
|
1262
|
+
export interface ClaimPositionsApiCalculateClaimPositionsRequest {
|
|
1263
|
+
/**
|
|
1264
|
+
* Unique identifier for the object.
|
|
1265
|
+
* @type {string}
|
|
1266
|
+
* @memberof ClaimPositionsApiCalculateClaimPositions
|
|
1267
|
+
*/
|
|
1268
|
+
readonly claimCode: string
|
|
1269
|
+
|
|
1270
|
+
/**
|
|
1271
|
+
*
|
|
1272
|
+
* @type {CalculateClaimPositionsRequestDto}
|
|
1273
|
+
* @memberof ClaimPositionsApiCalculateClaimPositions
|
|
1274
|
+
*/
|
|
1275
|
+
readonly calculateClaimPositionsRequestDto: CalculateClaimPositionsRequestDto
|
|
1276
|
+
|
|
1277
|
+
/**
|
|
1278
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1279
|
+
* @type {string}
|
|
1280
|
+
* @memberof ClaimPositionsApiCalculateClaimPositions
|
|
1281
|
+
*/
|
|
1282
|
+
readonly authorization?: string
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
/**
|
|
1286
|
+
* Request parameters for calculateClaimPositions1 operation in ClaimPositionsApi.
|
|
1287
|
+
* @export
|
|
1288
|
+
* @interface ClaimPositionsApiCalculateClaimPositions1Request
|
|
1289
|
+
*/
|
|
1290
|
+
export interface ClaimPositionsApiCalculateClaimPositions1Request {
|
|
1291
|
+
/**
|
|
1292
|
+
* Unique identifier for the object.
|
|
1293
|
+
* @type {string}
|
|
1294
|
+
* @memberof ClaimPositionsApiCalculateClaimPositions1
|
|
1295
|
+
*/
|
|
1296
|
+
readonly claimCode: string
|
|
1297
|
+
|
|
1298
|
+
/**
|
|
1299
|
+
*
|
|
1300
|
+
* @type {CalculateClaimPositionsRequestDto}
|
|
1301
|
+
* @memberof ClaimPositionsApiCalculateClaimPositions1
|
|
1302
|
+
*/
|
|
1303
|
+
readonly calculateClaimPositionsRequestDto: CalculateClaimPositionsRequestDto
|
|
1304
|
+
|
|
1305
|
+
/**
|
|
1306
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1307
|
+
* @type {string}
|
|
1308
|
+
* @memberof ClaimPositionsApiCalculateClaimPositions1
|
|
1309
|
+
*/
|
|
1310
|
+
readonly authorization?: string
|
|
1311
|
+
}
|
|
1312
|
+
|
|
883
1313
|
/**
|
|
884
1314
|
* Request parameters for createClaimPosition operation in ClaimPositionsApi.
|
|
885
1315
|
* @export
|
|
@@ -1209,6 +1639,56 @@ export interface ClaimPositionsApiUpdateClaimPosition1Request {
|
|
|
1209
1639
|
* @extends {BaseAPI}
|
|
1210
1640
|
*/
|
|
1211
1641
|
export class ClaimPositionsApi extends BaseAPI {
|
|
1642
|
+
/**
|
|
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\"
|
|
1644
|
+
* @summary Batch upsert claim positions
|
|
1645
|
+
* @param {ClaimPositionsApiBatchUpsertClaimPositionsRequest} requestParameters Request parameters.
|
|
1646
|
+
* @param {*} [options] Override http request option.
|
|
1647
|
+
* @throws {RequiredError}
|
|
1648
|
+
* @memberof ClaimPositionsApi
|
|
1649
|
+
*/
|
|
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));
|
|
1652
|
+
}
|
|
1653
|
+
|
|
1654
|
+
/**
|
|
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.
|
|
1656
|
+
* @summary Batch upsert claim positions
|
|
1657
|
+
* @param {ClaimPositionsApiBatchUpsertClaimPositions1Request} requestParameters Request parameters.
|
|
1658
|
+
* @param {*} [options] Override http request option.
|
|
1659
|
+
* @deprecated
|
|
1660
|
+
* @throws {RequiredError}
|
|
1661
|
+
* @memberof ClaimPositionsApi
|
|
1662
|
+
*/
|
|
1663
|
+
public batchUpsertClaimPositions1(requestParameters: ClaimPositionsApiBatchUpsertClaimPositions1Request, options?: AxiosRequestConfig) {
|
|
1664
|
+
return ClaimPositionsApiFp(this.configuration).batchUpsertClaimPositions1(requestParameters.claimCode, requestParameters.batchUpsertClaimPositionsRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1665
|
+
}
|
|
1666
|
+
|
|
1667
|
+
/**
|
|
1668
|
+
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\"
|
|
1669
|
+
* @summary Calculate claim positions
|
|
1670
|
+
* @param {ClaimPositionsApiCalculateClaimPositionsRequest} requestParameters Request parameters.
|
|
1671
|
+
* @param {*} [options] Override http request option.
|
|
1672
|
+
* @throws {RequiredError}
|
|
1673
|
+
* @memberof ClaimPositionsApi
|
|
1674
|
+
*/
|
|
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));
|
|
1677
|
+
}
|
|
1678
|
+
|
|
1679
|
+
/**
|
|
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.
|
|
1681
|
+
* @summary Calculate claim positions
|
|
1682
|
+
* @param {ClaimPositionsApiCalculateClaimPositions1Request} requestParameters Request parameters.
|
|
1683
|
+
* @param {*} [options] Override http request option.
|
|
1684
|
+
* @deprecated
|
|
1685
|
+
* @throws {RequiredError}
|
|
1686
|
+
* @memberof ClaimPositionsApi
|
|
1687
|
+
*/
|
|
1688
|
+
public calculateClaimPositions1(requestParameters: ClaimPositionsApiCalculateClaimPositions1Request, options?: AxiosRequestConfig) {
|
|
1689
|
+
return ClaimPositionsApiFp(this.configuration).calculateClaimPositions1(requestParameters.claimCode, requestParameters.calculateClaimPositionsRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1690
|
+
}
|
|
1691
|
+
|
|
1212
1692
|
/**
|
|
1213
1693
|
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
1214
1694
|
* @summary Create the claim position
|