@emilgroup/claim-sdk 1.41.1-beta.9 → 1.42.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';
|
|
@@ -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
|
|
@@ -335,11 +549,11 @@ export const ClaimPositionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
335
549
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
336
550
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
337
551
|
* @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.
|
|
338
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
552
|
+
* @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>
|
|
339
553
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
340
554
|
* @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>
|
|
341
555
|
* @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/>
|
|
342
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
556
|
+
* @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>
|
|
343
557
|
* @param {*} [options] Override http request option.
|
|
344
558
|
* @throws {RequiredError}
|
|
345
559
|
*/
|
|
@@ -411,11 +625,11 @@ export const ClaimPositionsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
411
625
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
412
626
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
413
627
|
* @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.
|
|
414
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
628
|
+
* @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>
|
|
415
629
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
416
630
|
* @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>
|
|
417
631
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
418
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
632
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
419
633
|
* @param {*} [options] Override http request option.
|
|
420
634
|
* @deprecated
|
|
421
635
|
* @throws {RequiredError}
|
|
@@ -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
|
|
@@ -678,11 +946,11 @@ export const ClaimPositionsApiFp = function(configuration?: Configuration) {
|
|
|
678
946
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
679
947
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
680
948
|
* @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.
|
|
681
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
949
|
+
* @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>
|
|
682
950
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
683
951
|
* @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>
|
|
684
952
|
* @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/>
|
|
685
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
953
|
+
* @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>
|
|
686
954
|
* @param {*} [options] Override http request option.
|
|
687
955
|
* @throws {RequiredError}
|
|
688
956
|
*/
|
|
@@ -696,11 +964,11 @@ export const ClaimPositionsApiFp = function(configuration?: Configuration) {
|
|
|
696
964
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
697
965
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
698
966
|
* @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.
|
|
699
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
967
|
+
* @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>
|
|
700
968
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
701
969
|
* @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>
|
|
702
970
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
703
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
971
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
704
972
|
* @param {*} [options] Override http request option.
|
|
705
973
|
* @deprecated
|
|
706
974
|
* @throws {RequiredError}
|
|
@@ -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
|
|
@@ -823,11 +1141,11 @@ export const ClaimPositionsApiFactory = function (configuration?: Configuration,
|
|
|
823
1141
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
824
1142
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
825
1143
|
* @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.
|
|
826
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
1144
|
+
* @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>
|
|
827
1145
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
828
1146
|
* @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>
|
|
829
1147
|
* @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/>
|
|
830
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
1148
|
+
* @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>
|
|
831
1149
|
* @param {*} [options] Override http request option.
|
|
832
1150
|
* @throws {RequiredError}
|
|
833
1151
|
*/
|
|
@@ -840,11 +1158,11 @@ export const ClaimPositionsApiFactory = function (configuration?: Configuration,
|
|
|
840
1158
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
841
1159
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
842
1160
|
* @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.
|
|
843
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
1161
|
+
* @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>
|
|
844
1162
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
845
1163
|
* @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>
|
|
846
1164
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
847
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
1165
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
848
1166
|
* @param {*} [options] Override http request option.
|
|
849
1167
|
* @deprecated
|
|
850
1168
|
* @throws {RequiredError}
|
|
@@ -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
|
|
@@ -1048,7 +1478,7 @@ export interface ClaimPositionsApiListClaimPositionsRequest {
|
|
|
1048
1478
|
readonly pageToken?: string
|
|
1049
1479
|
|
|
1050
1480
|
/**
|
|
1051
|
-
* Filter the response by one or multiple fields.
|
|
1481
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
1052
1482
|
* @type {string}
|
|
1053
1483
|
* @memberof ClaimPositionsApiListClaimPositions
|
|
1054
1484
|
*/
|
|
@@ -1076,7 +1506,7 @@ export interface ClaimPositionsApiListClaimPositionsRequest {
|
|
|
1076
1506
|
readonly expand?: string
|
|
1077
1507
|
|
|
1078
1508
|
/**
|
|
1079
|
-
* Filters the response by one or multiple fields.
|
|
1509
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
1080
1510
|
* @type {string}
|
|
1081
1511
|
* @memberof ClaimPositionsApiListClaimPositions
|
|
1082
1512
|
*/
|
|
@@ -1111,7 +1541,7 @@ export interface ClaimPositionsApiListClaimPositions1Request {
|
|
|
1111
1541
|
readonly pageToken?: string
|
|
1112
1542
|
|
|
1113
1543
|
/**
|
|
1114
|
-
* Filter the response by one or multiple fields.
|
|
1544
|
+
* 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>
|
|
1115
1545
|
* @type {string}
|
|
1116
1546
|
* @memberof ClaimPositionsApiListClaimPositions1
|
|
1117
1547
|
*/
|
|
@@ -1139,7 +1569,7 @@ export interface ClaimPositionsApiListClaimPositions1Request {
|
|
|
1139
1569
|
readonly expand?: string
|
|
1140
1570
|
|
|
1141
1571
|
/**
|
|
1142
|
-
* Filters the response by one or multiple fields.
|
|
1572
|
+
* 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>
|
|
1143
1573
|
* @type {string}
|
|
1144
1574
|
* @memberof ClaimPositionsApiListClaimPositions1
|
|
1145
1575
|
*/
|
|
@@ -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
|