@emilgroup/claim-sdk 1.41.1-beta.13 → 1.41.1-beta.15
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 +4 -0
- package/README.md +2 -2
- package/api/claim-positions-api.ts +240 -0
- package/dist/api/claim-positions-api.d.ts +134 -0
- package/dist/api/claim-positions-api.js +202 -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/claim-position-calculation-input-dto.d.ts +48 -0
- package/dist/models/claim-position-calculation-input-dto.js +15 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/models/update-regulation-item-request-dto.d.ts +11 -0
- package/dist/models/update-regulation-item-request-dto.js +5 -1
- 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/claim-position-calculation-input-dto.ts +54 -0
- package/models/index.ts +4 -0
- package/models/update-regulation-item-request-dto.ts +12 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -20,6 +20,9 @@ index.ts
|
|
|
20
20
|
models/batch-upsert-claim-position-input-dto.ts
|
|
21
21
|
models/batch-upsert-claim-positions-request-dto.ts
|
|
22
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
|
|
23
26
|
models/calculation-step-result-class.ts
|
|
24
27
|
models/calculation-totals-class.ts
|
|
25
28
|
models/claim-applied-deductible-class.ts
|
|
@@ -28,6 +31,7 @@ models/claim-limit-usage-class.ts
|
|
|
28
31
|
models/claim-limit-usage-result-class.ts
|
|
29
32
|
models/claim-partner-class.ts
|
|
30
33
|
models/claim-partner-role-class.ts
|
|
34
|
+
models/claim-position-calculation-input-dto.ts
|
|
31
35
|
models/claim-position-class.ts
|
|
32
36
|
models/claim-status-class.ts
|
|
33
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.15 --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.15
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `ClaimsApi`.
|
|
@@ -25,6 +25,10 @@ import { BatchUpsertClaimPositionsRequestDto } from '../models';
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { BatchUpsertClaimPositionsResponseClass } from '../models';
|
|
27
27
|
// @ts-ignore
|
|
28
|
+
import { CalculateClaimPositionsRequestDto } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { CalculateClaimPositionsResponseClass } from '../models';
|
|
31
|
+
// @ts-ignore
|
|
28
32
|
import { CreateClaimPositionRequestDto } from '../models';
|
|
29
33
|
// @ts-ignore
|
|
30
34
|
import { CreateClaimPositionResponseClass } from '../models';
|
|
@@ -145,6 +149,109 @@ export const ClaimPositionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
145
149
|
options: localVarRequestOptions,
|
|
146
150
|
};
|
|
147
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
|
+
},
|
|
148
255
|
/**
|
|
149
256
|
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
150
257
|
* @summary Create the claim position
|
|
@@ -729,6 +836,33 @@ export const ClaimPositionsApiFp = function(configuration?: Configuration) {
|
|
|
729
836
|
const localVarAxiosArgs = await localVarAxiosParamCreator.batchUpsertClaimPositions1(claimCode, batchUpsertClaimPositionsRequestDto, authorization, options);
|
|
730
837
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
731
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
|
+
},
|
|
732
866
|
/**
|
|
733
867
|
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
734
868
|
* @summary Create the claim position
|
|
@@ -905,6 +1039,31 @@ export const ClaimPositionsApiFactory = function (configuration?: Configuration,
|
|
|
905
1039
|
batchUpsertClaimPositions1(claimCode: string, batchUpsertClaimPositionsRequestDto: BatchUpsertClaimPositionsRequestDto, authorization?: string, options?: any): AxiosPromise<BatchUpsertClaimPositionsResponseClass> {
|
|
906
1040
|
return localVarFp.batchUpsertClaimPositions1(claimCode, batchUpsertClaimPositionsRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
907
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
|
+
},
|
|
908
1067
|
/**
|
|
909
1068
|
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
910
1069
|
* @summary Create the claim position
|
|
@@ -1095,6 +1254,62 @@ export interface ClaimPositionsApiBatchUpsertClaimPositions1Request {
|
|
|
1095
1254
|
readonly authorization?: string
|
|
1096
1255
|
}
|
|
1097
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
|
+
|
|
1098
1313
|
/**
|
|
1099
1314
|
* Request parameters for createClaimPosition operation in ClaimPositionsApi.
|
|
1100
1315
|
* @export
|
|
@@ -1449,6 +1664,31 @@ export class ClaimPositionsApi extends BaseAPI {
|
|
|
1449
1664
|
return ClaimPositionsApiFp(this.configuration).batchUpsertClaimPositions1(requestParameters.claimCode, requestParameters.batchUpsertClaimPositionsRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1450
1665
|
}
|
|
1451
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
|
+
|
|
1452
1692
|
/**
|
|
1453
1693
|
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
1454
1694
|
* @summary Create the claim position
|
|
@@ -14,6 +14,8 @@ import { Configuration } from '../configuration';
|
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { BatchUpsertClaimPositionsRequestDto } from '../models';
|
|
16
16
|
import { BatchUpsertClaimPositionsResponseClass } from '../models';
|
|
17
|
+
import { CalculateClaimPositionsRequestDto } from '../models';
|
|
18
|
+
import { CalculateClaimPositionsResponseClass } from '../models';
|
|
17
19
|
import { CreateClaimPositionRequestDto } from '../models';
|
|
18
20
|
import { CreateClaimPositionResponseClass } from '../models';
|
|
19
21
|
import { GetClaimPositionResponseClass } from '../models';
|
|
@@ -46,6 +48,27 @@ export declare const ClaimPositionsApiAxiosParamCreator: (configuration?: Config
|
|
|
46
48
|
* @throws {RequiredError}
|
|
47
49
|
*/
|
|
48
50
|
batchUpsertClaimPositions1: (claimCode: string, batchUpsertClaimPositionsRequestDto: BatchUpsertClaimPositionsRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
|
+
/**
|
|
52
|
+
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\"
|
|
53
|
+
* @summary Calculate claim positions
|
|
54
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
55
|
+
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
56
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
57
|
+
* @param {*} [options] Override http request option.
|
|
58
|
+
* @throws {RequiredError}
|
|
59
|
+
*/
|
|
60
|
+
calculateClaimPositions: (claimCode: string, calculateClaimPositionsRequestDto: CalculateClaimPositionsRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
|
+
/**
|
|
62
|
+
* 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.
|
|
63
|
+
* @summary Calculate claim positions
|
|
64
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
65
|
+
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
66
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
67
|
+
* @param {*} [options] Override http request option.
|
|
68
|
+
* @deprecated
|
|
69
|
+
* @throws {RequiredError}
|
|
70
|
+
*/
|
|
71
|
+
calculateClaimPositions1: (claimCode: string, calculateClaimPositionsRequestDto: CalculateClaimPositionsRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
49
72
|
/**
|
|
50
73
|
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
51
74
|
* @summary Create the claim position
|
|
@@ -184,6 +207,27 @@ export declare const ClaimPositionsApiFp: (configuration?: Configuration) => {
|
|
|
184
207
|
* @throws {RequiredError}
|
|
185
208
|
*/
|
|
186
209
|
batchUpsertClaimPositions1(claimCode: string, batchUpsertClaimPositionsRequestDto: BatchUpsertClaimPositionsRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BatchUpsertClaimPositionsResponseClass>>;
|
|
210
|
+
/**
|
|
211
|
+
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\"
|
|
212
|
+
* @summary Calculate claim positions
|
|
213
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
214
|
+
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
215
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
216
|
+
* @param {*} [options] Override http request option.
|
|
217
|
+
* @throws {RequiredError}
|
|
218
|
+
*/
|
|
219
|
+
calculateClaimPositions(claimCode: string, calculateClaimPositionsRequestDto: CalculateClaimPositionsRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalculateClaimPositionsResponseClass>>;
|
|
220
|
+
/**
|
|
221
|
+
* 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.
|
|
222
|
+
* @summary Calculate claim positions
|
|
223
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
224
|
+
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
225
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
226
|
+
* @param {*} [options] Override http request option.
|
|
227
|
+
* @deprecated
|
|
228
|
+
* @throws {RequiredError}
|
|
229
|
+
*/
|
|
230
|
+
calculateClaimPositions1(claimCode: string, calculateClaimPositionsRequestDto: CalculateClaimPositionsRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalculateClaimPositionsResponseClass>>;
|
|
187
231
|
/**
|
|
188
232
|
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
189
233
|
* @summary Create the claim position
|
|
@@ -322,6 +366,27 @@ export declare const ClaimPositionsApiFactory: (configuration?: Configuration, b
|
|
|
322
366
|
* @throws {RequiredError}
|
|
323
367
|
*/
|
|
324
368
|
batchUpsertClaimPositions1(claimCode: string, batchUpsertClaimPositionsRequestDto: BatchUpsertClaimPositionsRequestDto, authorization?: string, options?: any): AxiosPromise<BatchUpsertClaimPositionsResponseClass>;
|
|
369
|
+
/**
|
|
370
|
+
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\"
|
|
371
|
+
* @summary Calculate claim positions
|
|
372
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
373
|
+
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
374
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
375
|
+
* @param {*} [options] Override http request option.
|
|
376
|
+
* @throws {RequiredError}
|
|
377
|
+
*/
|
|
378
|
+
calculateClaimPositions(claimCode: string, calculateClaimPositionsRequestDto: CalculateClaimPositionsRequestDto, authorization?: string, options?: any): AxiosPromise<CalculateClaimPositionsResponseClass>;
|
|
379
|
+
/**
|
|
380
|
+
* 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.
|
|
381
|
+
* @summary Calculate claim positions
|
|
382
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
383
|
+
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
384
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
385
|
+
* @param {*} [options] Override http request option.
|
|
386
|
+
* @deprecated
|
|
387
|
+
* @throws {RequiredError}
|
|
388
|
+
*/
|
|
389
|
+
calculateClaimPositions1(claimCode: string, calculateClaimPositionsRequestDto: CalculateClaimPositionsRequestDto, authorization?: string, options?: any): AxiosPromise<CalculateClaimPositionsResponseClass>;
|
|
325
390
|
/**
|
|
326
391
|
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
327
392
|
* @summary Create the claim position
|
|
@@ -484,6 +549,56 @@ export interface ClaimPositionsApiBatchUpsertClaimPositions1Request {
|
|
|
484
549
|
*/
|
|
485
550
|
readonly authorization?: string;
|
|
486
551
|
}
|
|
552
|
+
/**
|
|
553
|
+
* Request parameters for calculateClaimPositions operation in ClaimPositionsApi.
|
|
554
|
+
* @export
|
|
555
|
+
* @interface ClaimPositionsApiCalculateClaimPositionsRequest
|
|
556
|
+
*/
|
|
557
|
+
export interface ClaimPositionsApiCalculateClaimPositionsRequest {
|
|
558
|
+
/**
|
|
559
|
+
* Unique identifier for the object.
|
|
560
|
+
* @type {string}
|
|
561
|
+
* @memberof ClaimPositionsApiCalculateClaimPositions
|
|
562
|
+
*/
|
|
563
|
+
readonly claimCode: string;
|
|
564
|
+
/**
|
|
565
|
+
*
|
|
566
|
+
* @type {CalculateClaimPositionsRequestDto}
|
|
567
|
+
* @memberof ClaimPositionsApiCalculateClaimPositions
|
|
568
|
+
*/
|
|
569
|
+
readonly calculateClaimPositionsRequestDto: CalculateClaimPositionsRequestDto;
|
|
570
|
+
/**
|
|
571
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
572
|
+
* @type {string}
|
|
573
|
+
* @memberof ClaimPositionsApiCalculateClaimPositions
|
|
574
|
+
*/
|
|
575
|
+
readonly authorization?: string;
|
|
576
|
+
}
|
|
577
|
+
/**
|
|
578
|
+
* Request parameters for calculateClaimPositions1 operation in ClaimPositionsApi.
|
|
579
|
+
* @export
|
|
580
|
+
* @interface ClaimPositionsApiCalculateClaimPositions1Request
|
|
581
|
+
*/
|
|
582
|
+
export interface ClaimPositionsApiCalculateClaimPositions1Request {
|
|
583
|
+
/**
|
|
584
|
+
* Unique identifier for the object.
|
|
585
|
+
* @type {string}
|
|
586
|
+
* @memberof ClaimPositionsApiCalculateClaimPositions1
|
|
587
|
+
*/
|
|
588
|
+
readonly claimCode: string;
|
|
589
|
+
/**
|
|
590
|
+
*
|
|
591
|
+
* @type {CalculateClaimPositionsRequestDto}
|
|
592
|
+
* @memberof ClaimPositionsApiCalculateClaimPositions1
|
|
593
|
+
*/
|
|
594
|
+
readonly calculateClaimPositionsRequestDto: CalculateClaimPositionsRequestDto;
|
|
595
|
+
/**
|
|
596
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
597
|
+
* @type {string}
|
|
598
|
+
* @memberof ClaimPositionsApiCalculateClaimPositions1
|
|
599
|
+
*/
|
|
600
|
+
readonly authorization?: string;
|
|
601
|
+
}
|
|
487
602
|
/**
|
|
488
603
|
* Request parameters for createClaimPosition operation in ClaimPositionsApi.
|
|
489
604
|
* @export
|
|
@@ -796,6 +911,25 @@ export declare class ClaimPositionsApi extends BaseAPI {
|
|
|
796
911
|
* @memberof ClaimPositionsApi
|
|
797
912
|
*/
|
|
798
913
|
batchUpsertClaimPositions1(requestParameters: ClaimPositionsApiBatchUpsertClaimPositions1Request, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BatchUpsertClaimPositionsResponseClass, any, {}>>;
|
|
914
|
+
/**
|
|
915
|
+
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\"
|
|
916
|
+
* @summary Calculate claim positions
|
|
917
|
+
* @param {ClaimPositionsApiCalculateClaimPositionsRequest} requestParameters Request parameters.
|
|
918
|
+
* @param {*} [options] Override http request option.
|
|
919
|
+
* @throws {RequiredError}
|
|
920
|
+
* @memberof ClaimPositionsApi
|
|
921
|
+
*/
|
|
922
|
+
calculateClaimPositions(requestParameters: ClaimPositionsApiCalculateClaimPositionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CalculateClaimPositionsResponseClass, any, {}>>;
|
|
923
|
+
/**
|
|
924
|
+
* 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.
|
|
925
|
+
* @summary Calculate claim positions
|
|
926
|
+
* @param {ClaimPositionsApiCalculateClaimPositions1Request} requestParameters Request parameters.
|
|
927
|
+
* @param {*} [options] Override http request option.
|
|
928
|
+
* @deprecated
|
|
929
|
+
* @throws {RequiredError}
|
|
930
|
+
* @memberof ClaimPositionsApi
|
|
931
|
+
*/
|
|
932
|
+
calculateClaimPositions1(requestParameters: ClaimPositionsApiCalculateClaimPositions1Request, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CalculateClaimPositionsResponseClass, any, {}>>;
|
|
799
933
|
/**
|
|
800
934
|
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
801
935
|
* @summary Create the claim position
|