@emilgroup/claim-sdk-node 1.39.1-beta.9 → 1.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +8 -0
- package/README.md +2 -2
- package/api/claim-limit-usages-api.ts +24 -24
- package/api/claim-partner-roles-api.ts +24 -24
- package/api/claim-partners-api.ts +24 -24
- package/api/claim-positions-api.ts +496 -16
- package/api/claim-regulations-api.ts +24 -24
- package/api/claim-statuses-api.ts +24 -24
- package/api/claims-api.ts +48 -48
- package/api/settlements-api.ts +24 -24
- package/dist/api/claim-limit-usages-api.d.ts +24 -24
- package/dist/api/claim-limit-usages-api.js +18 -18
- package/dist/api/claim-partner-roles-api.d.ts +24 -24
- package/dist/api/claim-partner-roles-api.js +20 -20
- package/dist/api/claim-partners-api.d.ts +24 -24
- package/dist/api/claim-partners-api.js +20 -20
- package/dist/api/claim-positions-api.d.ts +284 -16
- package/dist/api/claim-positions-api.js +416 -12
- package/dist/api/claim-regulations-api.d.ts +24 -24
- package/dist/api/claim-regulations-api.js +20 -20
- package/dist/api/claim-statuses-api.d.ts +24 -24
- package/dist/api/claim-statuses-api.js +20 -20
- package/dist/api/claims-api.d.ts +48 -48
- package/dist/api/claims-api.js +38 -38
- package/dist/api/settlements-api.d.ts +24 -24
- package/dist/api/settlements-api.js +20 -20
- package/dist/models/batch-upsert-claim-position-input-dto.d.ts +72 -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-applied-deductible-class.d.ts +1 -1
- package/dist/models/claim-class.d.ts +24 -0
- package/dist/models/claim-limit-usage-class.d.ts +8 -0
- package/dist/models/claim-limit-usage-class.js +2 -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/claim-position-class.d.ts +8 -1
- package/dist/models/claim-position-class.js +3 -2
- package/dist/models/create-claim-position-response-class.d.ts +1 -1
- package/dist/models/create-claim-request-dto.d.ts +12 -0
- package/dist/models/create-regulation-item-request-dto.d.ts +4 -3
- 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/patch-claim-request-dto.d.ts +12 -0
- package/dist/models/regulation-item-class.d.ts +6 -0
- package/dist/models/update-claim-position-request-dto.d.ts +6 -0
- package/dist/models/update-claim-position-response-class.d.ts +1 -1
- package/dist/models/update-claim-request-dto.d.ts +12 -0
- package/dist/models/update-regulation-item-request-dto.d.ts +24 -0
- package/dist/models/update-regulation-item-request-dto.js +5 -1
- package/models/batch-upsert-claim-position-input-dto.ts +78 -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-applied-deductible-class.ts +1 -1
- package/models/claim-class.ts +24 -0
- package/models/claim-limit-usage-class.ts +8 -0
- package/models/claim-position-calculation-input-dto.ts +54 -0
- package/models/claim-position-class.ts +9 -2
- package/models/create-claim-position-response-class.ts +1 -1
- package/models/create-claim-request-dto.ts +12 -0
- package/models/create-regulation-item-request-dto.ts +4 -3
- 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/patch-claim-request-dto.ts +12 -0
- package/models/regulation-item-class.ts +6 -0
- package/models/update-claim-position-request-dto.ts +6 -0
- package/models/update-claim-position-response-class.ts +1 -1
- package/models/update-claim-request-dto.ts +12 -0
- package/models/update-regulation-item-request-dto.ts +25 -0
- package/package.json +1 -1
|
@@ -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';
|
|
@@ -42,6 +50,212 @@ const FormData = require('form-data');
|
|
|
42
50
|
*/
|
|
43
51
|
export const ClaimPositionsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
44
52
|
return {
|
|
53
|
+
/**
|
|
54
|
+
* 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\"
|
|
55
|
+
* @summary Batch upsert claim positions
|
|
56
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
57
|
+
* @param {BatchUpsertClaimPositionsRequestDto} batchUpsertClaimPositionsRequestDto
|
|
58
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
59
|
+
* @param {*} [options] Override http request option.
|
|
60
|
+
* @throws {RequiredError}
|
|
61
|
+
*/
|
|
62
|
+
batchUpsertClaimPositions: async (claimCode: string, batchUpsertClaimPositionsRequestDto: BatchUpsertClaimPositionsRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
63
|
+
// verify required parameter 'claimCode' is not null or undefined
|
|
64
|
+
assertParamExists('batchUpsertClaimPositions', 'claimCode', claimCode)
|
|
65
|
+
// verify required parameter 'batchUpsertClaimPositionsRequestDto' is not null or undefined
|
|
66
|
+
assertParamExists('batchUpsertClaimPositions', 'batchUpsertClaimPositionsRequestDto', batchUpsertClaimPositionsRequestDto)
|
|
67
|
+
const localVarPath = `/claimservice/v1/claim-positions/batch/{claimCode}`
|
|
68
|
+
.replace(`{${"claimCode"}}`, encodeURIComponent(String(claimCode)));
|
|
69
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
70
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
71
|
+
let baseOptions;
|
|
72
|
+
let baseAccessToken;
|
|
73
|
+
if (configuration) {
|
|
74
|
+
baseOptions = configuration.baseOptions;
|
|
75
|
+
baseAccessToken = configuration.accessToken;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
79
|
+
const localVarHeaderParameter = {} as any;
|
|
80
|
+
const localVarQueryParameter = {} as any;
|
|
81
|
+
|
|
82
|
+
// authentication bearer required
|
|
83
|
+
// http bearer authentication required
|
|
84
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
85
|
+
|
|
86
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
87
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
93
|
+
|
|
94
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
95
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
96
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
97
|
+
localVarRequestOptions.data = serializeDataIfNeeded(batchUpsertClaimPositionsRequestDto, localVarRequestOptions, configuration)
|
|
98
|
+
|
|
99
|
+
return {
|
|
100
|
+
url: toPathString(localVarUrlObj),
|
|
101
|
+
options: localVarRequestOptions,
|
|
102
|
+
};
|
|
103
|
+
},
|
|
104
|
+
/**
|
|
105
|
+
* Batch upsert claim positions for a claim. Creates new positions, updates existing ones by code, and deletes positions by code in a single request. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
106
|
+
* @summary Batch upsert claim positions
|
|
107
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
108
|
+
* @param {BatchUpsertClaimPositionsRequestDto} batchUpsertClaimPositionsRequestDto
|
|
109
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
110
|
+
* @param {*} [options] Override http request option.
|
|
111
|
+
* @deprecated
|
|
112
|
+
* @throws {RequiredError}
|
|
113
|
+
*/
|
|
114
|
+
batchUpsertClaimPositions1: async (claimCode: string, batchUpsertClaimPositionsRequestDto: BatchUpsertClaimPositionsRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
115
|
+
// verify required parameter 'claimCode' is not null or undefined
|
|
116
|
+
assertParamExists('batchUpsertClaimPositions1', 'claimCode', claimCode)
|
|
117
|
+
// verify required parameter 'batchUpsertClaimPositionsRequestDto' is not null or undefined
|
|
118
|
+
assertParamExists('batchUpsertClaimPositions1', 'batchUpsertClaimPositionsRequestDto', batchUpsertClaimPositionsRequestDto)
|
|
119
|
+
const localVarPath = `/v1/claim-positions/batch/{claimCode}`
|
|
120
|
+
.replace(`{${"claimCode"}}`, encodeURIComponent(String(claimCode)));
|
|
121
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
122
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
123
|
+
let baseOptions;
|
|
124
|
+
let baseAccessToken;
|
|
125
|
+
if (configuration) {
|
|
126
|
+
baseOptions = configuration.baseOptions;
|
|
127
|
+
baseAccessToken = configuration.accessToken;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
131
|
+
const localVarHeaderParameter = {} as any;
|
|
132
|
+
const localVarQueryParameter = {} as any;
|
|
133
|
+
|
|
134
|
+
// authentication bearer required
|
|
135
|
+
// http bearer authentication required
|
|
136
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
137
|
+
|
|
138
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
139
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
145
|
+
|
|
146
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
147
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
148
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
149
|
+
localVarRequestOptions.data = serializeDataIfNeeded(batchUpsertClaimPositionsRequestDto, localVarRequestOptions, configuration)
|
|
150
|
+
|
|
151
|
+
return {
|
|
152
|
+
url: toPathString(localVarUrlObj),
|
|
153
|
+
options: localVarRequestOptions,
|
|
154
|
+
};
|
|
155
|
+
},
|
|
156
|
+
/**
|
|
157
|
+
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\"
|
|
158
|
+
* @summary Calculate claim positions
|
|
159
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
160
|
+
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
161
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
162
|
+
* @param {*} [options] Override http request option.
|
|
163
|
+
* @throws {RequiredError}
|
|
164
|
+
*/
|
|
165
|
+
calculateClaimPositions: async (claimCode: string, calculateClaimPositionsRequestDto: CalculateClaimPositionsRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
166
|
+
// verify required parameter 'claimCode' is not null or undefined
|
|
167
|
+
assertParamExists('calculateClaimPositions', 'claimCode', claimCode)
|
|
168
|
+
// verify required parameter 'calculateClaimPositionsRequestDto' is not null or undefined
|
|
169
|
+
assertParamExists('calculateClaimPositions', 'calculateClaimPositionsRequestDto', calculateClaimPositionsRequestDto)
|
|
170
|
+
const localVarPath = `/claimservice/v1/claim-positions/calculate/{claimCode}`
|
|
171
|
+
.replace(`{${"claimCode"}}`, encodeURIComponent(String(claimCode)));
|
|
172
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
173
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
174
|
+
let baseOptions;
|
|
175
|
+
let baseAccessToken;
|
|
176
|
+
if (configuration) {
|
|
177
|
+
baseOptions = configuration.baseOptions;
|
|
178
|
+
baseAccessToken = configuration.accessToken;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
182
|
+
const localVarHeaderParameter = {} as any;
|
|
183
|
+
const localVarQueryParameter = {} as any;
|
|
184
|
+
|
|
185
|
+
// authentication bearer required
|
|
186
|
+
// http bearer authentication required
|
|
187
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
188
|
+
|
|
189
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
190
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
196
|
+
|
|
197
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
198
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
199
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
200
|
+
localVarRequestOptions.data = serializeDataIfNeeded(calculateClaimPositionsRequestDto, localVarRequestOptions, configuration)
|
|
201
|
+
|
|
202
|
+
return {
|
|
203
|
+
url: toPathString(localVarUrlObj),
|
|
204
|
+
options: localVarRequestOptions,
|
|
205
|
+
};
|
|
206
|
+
},
|
|
207
|
+
/**
|
|
208
|
+
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
209
|
+
* @summary Calculate claim positions
|
|
210
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
211
|
+
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
212
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
213
|
+
* @param {*} [options] Override http request option.
|
|
214
|
+
* @deprecated
|
|
215
|
+
* @throws {RequiredError}
|
|
216
|
+
*/
|
|
217
|
+
calculateClaimPositions1: async (claimCode: string, calculateClaimPositionsRequestDto: CalculateClaimPositionsRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
218
|
+
// verify required parameter 'claimCode' is not null or undefined
|
|
219
|
+
assertParamExists('calculateClaimPositions1', 'claimCode', claimCode)
|
|
220
|
+
// verify required parameter 'calculateClaimPositionsRequestDto' is not null or undefined
|
|
221
|
+
assertParamExists('calculateClaimPositions1', 'calculateClaimPositionsRequestDto', calculateClaimPositionsRequestDto)
|
|
222
|
+
const localVarPath = `/v1/claim-positions/calculate/{claimCode}`
|
|
223
|
+
.replace(`{${"claimCode"}}`, encodeURIComponent(String(claimCode)));
|
|
224
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
225
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
226
|
+
let baseOptions;
|
|
227
|
+
let baseAccessToken;
|
|
228
|
+
if (configuration) {
|
|
229
|
+
baseOptions = configuration.baseOptions;
|
|
230
|
+
baseAccessToken = configuration.accessToken;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
234
|
+
const localVarHeaderParameter = {} as any;
|
|
235
|
+
const localVarQueryParameter = {} as any;
|
|
236
|
+
|
|
237
|
+
// authentication bearer required
|
|
238
|
+
// http bearer authentication required
|
|
239
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
240
|
+
|
|
241
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
242
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
248
|
+
|
|
249
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
250
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
251
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
252
|
+
localVarRequestOptions.data = serializeDataIfNeeded(calculateClaimPositionsRequestDto, localVarRequestOptions, configuration)
|
|
253
|
+
|
|
254
|
+
return {
|
|
255
|
+
url: toPathString(localVarUrlObj),
|
|
256
|
+
options: localVarRequestOptions,
|
|
257
|
+
};
|
|
258
|
+
},
|
|
45
259
|
/**
|
|
46
260
|
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
47
261
|
* @summary Create the claim position
|
|
@@ -339,11 +553,11 @@ export const ClaimPositionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
339
553
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
340
554
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
341
555
|
* @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.
|
|
342
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
556
|
+
* @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, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
343
557
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
344
558
|
* @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, order, createdAt, updatedAt, procedureDate</i>
|
|
345
559
|
* @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/>
|
|
346
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
560
|
+
* @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>
|
|
347
561
|
* @param {*} [options] Override http request option.
|
|
348
562
|
* @throws {RequiredError}
|
|
349
563
|
*/
|
|
@@ -415,11 +629,11 @@ export const ClaimPositionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
415
629
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
416
630
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
417
631
|
* @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.
|
|
418
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
632
|
+
* @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, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
419
633
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
420
634
|
* @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, order, createdAt, updatedAt, procedureDate</i>
|
|
421
635
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
422
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
636
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
423
637
|
* @param {*} [options] Override http request option.
|
|
424
638
|
* @deprecated
|
|
425
639
|
* @throws {RequiredError}
|
|
@@ -599,6 +813,60 @@ export const ClaimPositionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
599
813
|
export const ClaimPositionsApiFp = function(configuration?: Configuration) {
|
|
600
814
|
const localVarAxiosParamCreator = ClaimPositionsApiAxiosParamCreator(configuration)
|
|
601
815
|
return {
|
|
816
|
+
/**
|
|
817
|
+
* 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\"
|
|
818
|
+
* @summary Batch upsert claim positions
|
|
819
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
820
|
+
* @param {BatchUpsertClaimPositionsRequestDto} batchUpsertClaimPositionsRequestDto
|
|
821
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
822
|
+
* @param {*} [options] Override http request option.
|
|
823
|
+
* @throws {RequiredError}
|
|
824
|
+
*/
|
|
825
|
+
async batchUpsertClaimPositions(claimCode: string, batchUpsertClaimPositionsRequestDto: BatchUpsertClaimPositionsRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BatchUpsertClaimPositionsResponseClass>> {
|
|
826
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.batchUpsertClaimPositions(claimCode, batchUpsertClaimPositionsRequestDto, authorization, options);
|
|
827
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
828
|
+
},
|
|
829
|
+
/**
|
|
830
|
+
* Batch upsert claim positions for a claim. Creates new positions, updates existing ones by code, and deletes positions by code in a single request. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
831
|
+
* @summary Batch upsert claim positions
|
|
832
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
833
|
+
* @param {BatchUpsertClaimPositionsRequestDto} batchUpsertClaimPositionsRequestDto
|
|
834
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
835
|
+
* @param {*} [options] Override http request option.
|
|
836
|
+
* @deprecated
|
|
837
|
+
* @throws {RequiredError}
|
|
838
|
+
*/
|
|
839
|
+
async batchUpsertClaimPositions1(claimCode: string, batchUpsertClaimPositionsRequestDto: BatchUpsertClaimPositionsRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BatchUpsertClaimPositionsResponseClass>> {
|
|
840
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.batchUpsertClaimPositions1(claimCode, batchUpsertClaimPositionsRequestDto, authorization, options);
|
|
841
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
842
|
+
},
|
|
843
|
+
/**
|
|
844
|
+
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\"
|
|
845
|
+
* @summary Calculate claim positions
|
|
846
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
847
|
+
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
848
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
849
|
+
* @param {*} [options] Override http request option.
|
|
850
|
+
* @throws {RequiredError}
|
|
851
|
+
*/
|
|
852
|
+
async calculateClaimPositions(claimCode: string, calculateClaimPositionsRequestDto: CalculateClaimPositionsRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalculateClaimPositionsResponseClass>> {
|
|
853
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.calculateClaimPositions(claimCode, calculateClaimPositionsRequestDto, authorization, options);
|
|
854
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
855
|
+
},
|
|
856
|
+
/**
|
|
857
|
+
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
858
|
+
* @summary Calculate claim positions
|
|
859
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
860
|
+
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
861
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
862
|
+
* @param {*} [options] Override http request option.
|
|
863
|
+
* @deprecated
|
|
864
|
+
* @throws {RequiredError}
|
|
865
|
+
*/
|
|
866
|
+
async calculateClaimPositions1(claimCode: string, calculateClaimPositionsRequestDto: CalculateClaimPositionsRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalculateClaimPositionsResponseClass>> {
|
|
867
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.calculateClaimPositions1(claimCode, calculateClaimPositionsRequestDto, authorization, options);
|
|
868
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
869
|
+
},
|
|
602
870
|
/**
|
|
603
871
|
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
604
872
|
* @summary Create the claim position
|
|
@@ -682,11 +950,11 @@ export const ClaimPositionsApiFp = function(configuration?: Configuration) {
|
|
|
682
950
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
683
951
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
684
952
|
* @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.
|
|
685
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
953
|
+
* @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, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
686
954
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
687
955
|
* @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, order, createdAt, updatedAt, procedureDate</i>
|
|
688
956
|
* @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/>
|
|
689
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
957
|
+
* @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>
|
|
690
958
|
* @param {*} [options] Override http request option.
|
|
691
959
|
* @throws {RequiredError}
|
|
692
960
|
*/
|
|
@@ -700,11 +968,11 @@ export const ClaimPositionsApiFp = function(configuration?: Configuration) {
|
|
|
700
968
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
701
969
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
702
970
|
* @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.
|
|
703
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
971
|
+
* @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, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
704
972
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
705
973
|
* @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, order, createdAt, updatedAt, procedureDate</i>
|
|
706
974
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
707
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
975
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
708
976
|
* @param {*} [options] Override http request option.
|
|
709
977
|
* @deprecated
|
|
710
978
|
* @throws {RequiredError}
|
|
@@ -750,6 +1018,56 @@ export const ClaimPositionsApiFp = function(configuration?: Configuration) {
|
|
|
750
1018
|
export const ClaimPositionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
751
1019
|
const localVarFp = ClaimPositionsApiFp(configuration)
|
|
752
1020
|
return {
|
|
1021
|
+
/**
|
|
1022
|
+
* 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\"
|
|
1023
|
+
* @summary Batch upsert claim positions
|
|
1024
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
1025
|
+
* @param {BatchUpsertClaimPositionsRequestDto} batchUpsertClaimPositionsRequestDto
|
|
1026
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1027
|
+
* @param {*} [options] Override http request option.
|
|
1028
|
+
* @throws {RequiredError}
|
|
1029
|
+
*/
|
|
1030
|
+
batchUpsertClaimPositions(claimCode: string, batchUpsertClaimPositionsRequestDto: BatchUpsertClaimPositionsRequestDto, authorization?: string, options?: any): AxiosPromise<BatchUpsertClaimPositionsResponseClass> {
|
|
1031
|
+
return localVarFp.batchUpsertClaimPositions(claimCode, batchUpsertClaimPositionsRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
1032
|
+
},
|
|
1033
|
+
/**
|
|
1034
|
+
* Batch upsert claim positions for a claim. Creates new positions, updates existing ones by code, and deletes positions by code in a single request. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1035
|
+
* @summary Batch upsert claim positions
|
|
1036
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
1037
|
+
* @param {BatchUpsertClaimPositionsRequestDto} batchUpsertClaimPositionsRequestDto
|
|
1038
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1039
|
+
* @param {*} [options] Override http request option.
|
|
1040
|
+
* @deprecated
|
|
1041
|
+
* @throws {RequiredError}
|
|
1042
|
+
*/
|
|
1043
|
+
batchUpsertClaimPositions1(claimCode: string, batchUpsertClaimPositionsRequestDto: BatchUpsertClaimPositionsRequestDto, authorization?: string, options?: any): AxiosPromise<BatchUpsertClaimPositionsResponseClass> {
|
|
1044
|
+
return localVarFp.batchUpsertClaimPositions1(claimCode, batchUpsertClaimPositionsRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
1045
|
+
},
|
|
1046
|
+
/**
|
|
1047
|
+
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\"
|
|
1048
|
+
* @summary Calculate claim positions
|
|
1049
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
1050
|
+
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
1051
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1052
|
+
* @param {*} [options] Override http request option.
|
|
1053
|
+
* @throws {RequiredError}
|
|
1054
|
+
*/
|
|
1055
|
+
calculateClaimPositions(claimCode: string, calculateClaimPositionsRequestDto: CalculateClaimPositionsRequestDto, authorization?: string, options?: any): AxiosPromise<CalculateClaimPositionsResponseClass> {
|
|
1056
|
+
return localVarFp.calculateClaimPositions(claimCode, calculateClaimPositionsRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
1057
|
+
},
|
|
1058
|
+
/**
|
|
1059
|
+
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1060
|
+
* @summary Calculate claim positions
|
|
1061
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
1062
|
+
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
1063
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1064
|
+
* @param {*} [options] Override http request option.
|
|
1065
|
+
* @deprecated
|
|
1066
|
+
* @throws {RequiredError}
|
|
1067
|
+
*/
|
|
1068
|
+
calculateClaimPositions1(claimCode: string, calculateClaimPositionsRequestDto: CalculateClaimPositionsRequestDto, authorization?: string, options?: any): AxiosPromise<CalculateClaimPositionsResponseClass> {
|
|
1069
|
+
return localVarFp.calculateClaimPositions1(claimCode, calculateClaimPositionsRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
1070
|
+
},
|
|
753
1071
|
/**
|
|
754
1072
|
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
755
1073
|
* @summary Create the claim position
|
|
@@ -827,11 +1145,11 @@ export const ClaimPositionsApiFactory = function (configuration?: Configuration,
|
|
|
827
1145
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
828
1146
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
829
1147
|
* @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.
|
|
830
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
1148
|
+
* @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, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
831
1149
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
832
1150
|
* @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, order, createdAt, updatedAt, procedureDate</i>
|
|
833
1151
|
* @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/>
|
|
834
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
1152
|
+
* @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>
|
|
835
1153
|
* @param {*} [options] Override http request option.
|
|
836
1154
|
* @throws {RequiredError}
|
|
837
1155
|
*/
|
|
@@ -844,11 +1162,11 @@ export const ClaimPositionsApiFactory = function (configuration?: Configuration,
|
|
|
844
1162
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
845
1163
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
846
1164
|
* @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.
|
|
847
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
1165
|
+
* @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, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
848
1166
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
849
1167
|
* @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, order, createdAt, updatedAt, procedureDate</i>
|
|
850
1168
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
851
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
1169
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
852
1170
|
* @param {*} [options] Override http request option.
|
|
853
1171
|
* @deprecated
|
|
854
1172
|
* @throws {RequiredError}
|
|
@@ -884,6 +1202,118 @@ export const ClaimPositionsApiFactory = function (configuration?: Configuration,
|
|
|
884
1202
|
};
|
|
885
1203
|
};
|
|
886
1204
|
|
|
1205
|
+
/**
|
|
1206
|
+
* Request parameters for batchUpsertClaimPositions operation in ClaimPositionsApi.
|
|
1207
|
+
* @export
|
|
1208
|
+
* @interface ClaimPositionsApiBatchUpsertClaimPositionsRequest
|
|
1209
|
+
*/
|
|
1210
|
+
export interface ClaimPositionsApiBatchUpsertClaimPositionsRequest {
|
|
1211
|
+
/**
|
|
1212
|
+
* Unique identifier for the object.
|
|
1213
|
+
* @type {string}
|
|
1214
|
+
* @memberof ClaimPositionsApiBatchUpsertClaimPositions
|
|
1215
|
+
*/
|
|
1216
|
+
readonly claimCode: string
|
|
1217
|
+
|
|
1218
|
+
/**
|
|
1219
|
+
*
|
|
1220
|
+
* @type {BatchUpsertClaimPositionsRequestDto}
|
|
1221
|
+
* @memberof ClaimPositionsApiBatchUpsertClaimPositions
|
|
1222
|
+
*/
|
|
1223
|
+
readonly batchUpsertClaimPositionsRequestDto: BatchUpsertClaimPositionsRequestDto
|
|
1224
|
+
|
|
1225
|
+
/**
|
|
1226
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1227
|
+
* @type {string}
|
|
1228
|
+
* @memberof ClaimPositionsApiBatchUpsertClaimPositions
|
|
1229
|
+
*/
|
|
1230
|
+
readonly authorization?: string
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
/**
|
|
1234
|
+
* Request parameters for batchUpsertClaimPositions1 operation in ClaimPositionsApi.
|
|
1235
|
+
* @export
|
|
1236
|
+
* @interface ClaimPositionsApiBatchUpsertClaimPositions1Request
|
|
1237
|
+
*/
|
|
1238
|
+
export interface ClaimPositionsApiBatchUpsertClaimPositions1Request {
|
|
1239
|
+
/**
|
|
1240
|
+
* Unique identifier for the object.
|
|
1241
|
+
* @type {string}
|
|
1242
|
+
* @memberof ClaimPositionsApiBatchUpsertClaimPositions1
|
|
1243
|
+
*/
|
|
1244
|
+
readonly claimCode: string
|
|
1245
|
+
|
|
1246
|
+
/**
|
|
1247
|
+
*
|
|
1248
|
+
* @type {BatchUpsertClaimPositionsRequestDto}
|
|
1249
|
+
* @memberof ClaimPositionsApiBatchUpsertClaimPositions1
|
|
1250
|
+
*/
|
|
1251
|
+
readonly batchUpsertClaimPositionsRequestDto: BatchUpsertClaimPositionsRequestDto
|
|
1252
|
+
|
|
1253
|
+
/**
|
|
1254
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1255
|
+
* @type {string}
|
|
1256
|
+
* @memberof ClaimPositionsApiBatchUpsertClaimPositions1
|
|
1257
|
+
*/
|
|
1258
|
+
readonly authorization?: string
|
|
1259
|
+
}
|
|
1260
|
+
|
|
1261
|
+
/**
|
|
1262
|
+
* Request parameters for calculateClaimPositions operation in ClaimPositionsApi.
|
|
1263
|
+
* @export
|
|
1264
|
+
* @interface ClaimPositionsApiCalculateClaimPositionsRequest
|
|
1265
|
+
*/
|
|
1266
|
+
export interface ClaimPositionsApiCalculateClaimPositionsRequest {
|
|
1267
|
+
/**
|
|
1268
|
+
* Unique identifier for the object.
|
|
1269
|
+
* @type {string}
|
|
1270
|
+
* @memberof ClaimPositionsApiCalculateClaimPositions
|
|
1271
|
+
*/
|
|
1272
|
+
readonly claimCode: string
|
|
1273
|
+
|
|
1274
|
+
/**
|
|
1275
|
+
*
|
|
1276
|
+
* @type {CalculateClaimPositionsRequestDto}
|
|
1277
|
+
* @memberof ClaimPositionsApiCalculateClaimPositions
|
|
1278
|
+
*/
|
|
1279
|
+
readonly calculateClaimPositionsRequestDto: CalculateClaimPositionsRequestDto
|
|
1280
|
+
|
|
1281
|
+
/**
|
|
1282
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1283
|
+
* @type {string}
|
|
1284
|
+
* @memberof ClaimPositionsApiCalculateClaimPositions
|
|
1285
|
+
*/
|
|
1286
|
+
readonly authorization?: string
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
|
+
/**
|
|
1290
|
+
* Request parameters for calculateClaimPositions1 operation in ClaimPositionsApi.
|
|
1291
|
+
* @export
|
|
1292
|
+
* @interface ClaimPositionsApiCalculateClaimPositions1Request
|
|
1293
|
+
*/
|
|
1294
|
+
export interface ClaimPositionsApiCalculateClaimPositions1Request {
|
|
1295
|
+
/**
|
|
1296
|
+
* Unique identifier for the object.
|
|
1297
|
+
* @type {string}
|
|
1298
|
+
* @memberof ClaimPositionsApiCalculateClaimPositions1
|
|
1299
|
+
*/
|
|
1300
|
+
readonly claimCode: string
|
|
1301
|
+
|
|
1302
|
+
/**
|
|
1303
|
+
*
|
|
1304
|
+
* @type {CalculateClaimPositionsRequestDto}
|
|
1305
|
+
* @memberof ClaimPositionsApiCalculateClaimPositions1
|
|
1306
|
+
*/
|
|
1307
|
+
readonly calculateClaimPositionsRequestDto: CalculateClaimPositionsRequestDto
|
|
1308
|
+
|
|
1309
|
+
/**
|
|
1310
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1311
|
+
* @type {string}
|
|
1312
|
+
* @memberof ClaimPositionsApiCalculateClaimPositions1
|
|
1313
|
+
*/
|
|
1314
|
+
readonly authorization?: string
|
|
1315
|
+
}
|
|
1316
|
+
|
|
887
1317
|
/**
|
|
888
1318
|
* Request parameters for createClaimPosition operation in ClaimPositionsApi.
|
|
889
1319
|
* @export
|
|
@@ -1052,7 +1482,7 @@ export interface ClaimPositionsApiListClaimPositionsRequest {
|
|
|
1052
1482
|
readonly pageToken?: string
|
|
1053
1483
|
|
|
1054
1484
|
/**
|
|
1055
|
-
* Filter the response by one or multiple fields.
|
|
1485
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
1056
1486
|
* @type {string}
|
|
1057
1487
|
* @memberof ClaimPositionsApiListClaimPositions
|
|
1058
1488
|
*/
|
|
@@ -1080,7 +1510,7 @@ export interface ClaimPositionsApiListClaimPositionsRequest {
|
|
|
1080
1510
|
readonly expand?: string
|
|
1081
1511
|
|
|
1082
1512
|
/**
|
|
1083
|
-
* Filters the response by one or multiple fields.
|
|
1513
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
1084
1514
|
* @type {string}
|
|
1085
1515
|
* @memberof ClaimPositionsApiListClaimPositions
|
|
1086
1516
|
*/
|
|
@@ -1115,7 +1545,7 @@ export interface ClaimPositionsApiListClaimPositions1Request {
|
|
|
1115
1545
|
readonly pageToken?: string
|
|
1116
1546
|
|
|
1117
1547
|
/**
|
|
1118
|
-
* Filter the response by one or multiple fields.
|
|
1548
|
+
* 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>
|
|
1119
1549
|
* @type {string}
|
|
1120
1550
|
* @memberof ClaimPositionsApiListClaimPositions1
|
|
1121
1551
|
*/
|
|
@@ -1143,7 +1573,7 @@ export interface ClaimPositionsApiListClaimPositions1Request {
|
|
|
1143
1573
|
readonly expand?: string
|
|
1144
1574
|
|
|
1145
1575
|
/**
|
|
1146
|
-
* Filters the response by one or multiple fields.
|
|
1576
|
+
* 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
1577
|
* @type {string}
|
|
1148
1578
|
* @memberof ClaimPositionsApiListClaimPositions1
|
|
1149
1579
|
*/
|
|
@@ -1213,6 +1643,56 @@ export interface ClaimPositionsApiUpdateClaimPosition1Request {
|
|
|
1213
1643
|
* @extends {BaseAPI}
|
|
1214
1644
|
*/
|
|
1215
1645
|
export class ClaimPositionsApi extends BaseAPI {
|
|
1646
|
+
/**
|
|
1647
|
+
* Batch upsert claim positions for a claim. Creates new positions, updates existing ones by code, and deletes positions by code in a single request. **Required Permissions** \"claim-management.claims.update\"
|
|
1648
|
+
* @summary Batch upsert claim positions
|
|
1649
|
+
* @param {ClaimPositionsApiBatchUpsertClaimPositionsRequest} requestParameters Request parameters.
|
|
1650
|
+
* @param {*} [options] Override http request option.
|
|
1651
|
+
* @throws {RequiredError}
|
|
1652
|
+
* @memberof ClaimPositionsApi
|
|
1653
|
+
*/
|
|
1654
|
+
public batchUpsertClaimPositions(requestParameters: ClaimPositionsApiBatchUpsertClaimPositionsRequest, options?: AxiosRequestConfig) {
|
|
1655
|
+
return ClaimPositionsApiFp(this.configuration).batchUpsertClaimPositions(requestParameters.claimCode, requestParameters.batchUpsertClaimPositionsRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1656
|
+
}
|
|
1657
|
+
|
|
1658
|
+
/**
|
|
1659
|
+
* Batch upsert claim positions for a claim. Creates new positions, updates existing ones by code, and deletes positions by code in a single request. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1660
|
+
* @summary Batch upsert claim positions
|
|
1661
|
+
* @param {ClaimPositionsApiBatchUpsertClaimPositions1Request} requestParameters Request parameters.
|
|
1662
|
+
* @param {*} [options] Override http request option.
|
|
1663
|
+
* @deprecated
|
|
1664
|
+
* @throws {RequiredError}
|
|
1665
|
+
* @memberof ClaimPositionsApi
|
|
1666
|
+
*/
|
|
1667
|
+
public batchUpsertClaimPositions1(requestParameters: ClaimPositionsApiBatchUpsertClaimPositions1Request, options?: AxiosRequestConfig) {
|
|
1668
|
+
return ClaimPositionsApiFp(this.configuration).batchUpsertClaimPositions1(requestParameters.claimCode, requestParameters.batchUpsertClaimPositionsRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1669
|
+
}
|
|
1670
|
+
|
|
1671
|
+
/**
|
|
1672
|
+
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\"
|
|
1673
|
+
* @summary Calculate claim positions
|
|
1674
|
+
* @param {ClaimPositionsApiCalculateClaimPositionsRequest} requestParameters Request parameters.
|
|
1675
|
+
* @param {*} [options] Override http request option.
|
|
1676
|
+
* @throws {RequiredError}
|
|
1677
|
+
* @memberof ClaimPositionsApi
|
|
1678
|
+
*/
|
|
1679
|
+
public calculateClaimPositions(requestParameters: ClaimPositionsApiCalculateClaimPositionsRequest, options?: AxiosRequestConfig) {
|
|
1680
|
+
return ClaimPositionsApiFp(this.configuration).calculateClaimPositions(requestParameters.claimCode, requestParameters.calculateClaimPositionsRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1681
|
+
}
|
|
1682
|
+
|
|
1683
|
+
/**
|
|
1684
|
+
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1685
|
+
* @summary Calculate claim positions
|
|
1686
|
+
* @param {ClaimPositionsApiCalculateClaimPositions1Request} requestParameters Request parameters.
|
|
1687
|
+
* @param {*} [options] Override http request option.
|
|
1688
|
+
* @deprecated
|
|
1689
|
+
* @throws {RequiredError}
|
|
1690
|
+
* @memberof ClaimPositionsApi
|
|
1691
|
+
*/
|
|
1692
|
+
public calculateClaimPositions1(requestParameters: ClaimPositionsApiCalculateClaimPositions1Request, options?: AxiosRequestConfig) {
|
|
1693
|
+
return ClaimPositionsApiFp(this.configuration).calculateClaimPositions1(requestParameters.claimCode, requestParameters.calculateClaimPositionsRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1694
|
+
}
|
|
1695
|
+
|
|
1216
1696
|
/**
|
|
1217
1697
|
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
1218
1698
|
* @summary Create the claim position
|