@emilgroup/claim-sdk 1.41.1-beta.8 → 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
|
@@ -92,6 +92,220 @@ var base_1 = require("../base");
|
|
|
92
92
|
var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
|
+
/**
|
|
96
|
+
* 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\"
|
|
97
|
+
* @summary Batch upsert claim positions
|
|
98
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
99
|
+
* @param {BatchUpsertClaimPositionsRequestDto} batchUpsertClaimPositionsRequestDto
|
|
100
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
101
|
+
* @param {*} [options] Override http request option.
|
|
102
|
+
* @throws {RequiredError}
|
|
103
|
+
*/
|
|
104
|
+
batchUpsertClaimPositions: function (claimCode, batchUpsertClaimPositionsRequestDto, authorization, options) {
|
|
105
|
+
if (options === void 0) { options = {}; }
|
|
106
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
107
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
108
|
+
return __generator(this, function (_a) {
|
|
109
|
+
switch (_a.label) {
|
|
110
|
+
case 0:
|
|
111
|
+
// verify required parameter 'claimCode' is not null or undefined
|
|
112
|
+
(0, common_1.assertParamExists)('batchUpsertClaimPositions', 'claimCode', claimCode);
|
|
113
|
+
// verify required parameter 'batchUpsertClaimPositionsRequestDto' is not null or undefined
|
|
114
|
+
(0, common_1.assertParamExists)('batchUpsertClaimPositions', 'batchUpsertClaimPositionsRequestDto', batchUpsertClaimPositionsRequestDto);
|
|
115
|
+
localVarPath = "/claimservice/v1/claim-positions/batch/{claimCode}"
|
|
116
|
+
.replace("{".concat("claimCode", "}"), encodeURIComponent(String(claimCode)));
|
|
117
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
118
|
+
if (configuration) {
|
|
119
|
+
baseOptions = configuration.baseOptions;
|
|
120
|
+
baseAccessToken = configuration.accessToken;
|
|
121
|
+
}
|
|
122
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
123
|
+
localVarHeaderParameter = {};
|
|
124
|
+
localVarQueryParameter = {};
|
|
125
|
+
// authentication bearer required
|
|
126
|
+
// http bearer authentication required
|
|
127
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
128
|
+
case 1:
|
|
129
|
+
// authentication bearer required
|
|
130
|
+
// http bearer authentication required
|
|
131
|
+
_a.sent();
|
|
132
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
133
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
134
|
+
}
|
|
135
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
136
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
137
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
138
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
139
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(batchUpsertClaimPositionsRequestDto, localVarRequestOptions, configuration);
|
|
140
|
+
return [2 /*return*/, {
|
|
141
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
142
|
+
options: localVarRequestOptions,
|
|
143
|
+
}];
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
});
|
|
147
|
+
},
|
|
148
|
+
/**
|
|
149
|
+
* 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.
|
|
150
|
+
* @summary Batch upsert claim positions
|
|
151
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
152
|
+
* @param {BatchUpsertClaimPositionsRequestDto} batchUpsertClaimPositionsRequestDto
|
|
153
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
154
|
+
* @param {*} [options] Override http request option.
|
|
155
|
+
* @deprecated
|
|
156
|
+
* @throws {RequiredError}
|
|
157
|
+
*/
|
|
158
|
+
batchUpsertClaimPositions1: function (claimCode, batchUpsertClaimPositionsRequestDto, authorization, options) {
|
|
159
|
+
if (options === void 0) { options = {}; }
|
|
160
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
161
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
162
|
+
return __generator(this, function (_a) {
|
|
163
|
+
switch (_a.label) {
|
|
164
|
+
case 0:
|
|
165
|
+
// verify required parameter 'claimCode' is not null or undefined
|
|
166
|
+
(0, common_1.assertParamExists)('batchUpsertClaimPositions1', 'claimCode', claimCode);
|
|
167
|
+
// verify required parameter 'batchUpsertClaimPositionsRequestDto' is not null or undefined
|
|
168
|
+
(0, common_1.assertParamExists)('batchUpsertClaimPositions1', 'batchUpsertClaimPositionsRequestDto', batchUpsertClaimPositionsRequestDto);
|
|
169
|
+
localVarPath = "/v1/claim-positions/batch/{claimCode}"
|
|
170
|
+
.replace("{".concat("claimCode", "}"), encodeURIComponent(String(claimCode)));
|
|
171
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
172
|
+
if (configuration) {
|
|
173
|
+
baseOptions = configuration.baseOptions;
|
|
174
|
+
baseAccessToken = configuration.accessToken;
|
|
175
|
+
}
|
|
176
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
177
|
+
localVarHeaderParameter = {};
|
|
178
|
+
localVarQueryParameter = {};
|
|
179
|
+
// authentication bearer required
|
|
180
|
+
// http bearer authentication required
|
|
181
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
182
|
+
case 1:
|
|
183
|
+
// authentication bearer required
|
|
184
|
+
// http bearer authentication required
|
|
185
|
+
_a.sent();
|
|
186
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
187
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
188
|
+
}
|
|
189
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
190
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
191
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
192
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
193
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(batchUpsertClaimPositionsRequestDto, localVarRequestOptions, configuration);
|
|
194
|
+
return [2 /*return*/, {
|
|
195
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
196
|
+
options: localVarRequestOptions,
|
|
197
|
+
}];
|
|
198
|
+
}
|
|
199
|
+
});
|
|
200
|
+
});
|
|
201
|
+
},
|
|
202
|
+
/**
|
|
203
|
+
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\"
|
|
204
|
+
* @summary Calculate claim positions
|
|
205
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
206
|
+
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
207
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
208
|
+
* @param {*} [options] Override http request option.
|
|
209
|
+
* @throws {RequiredError}
|
|
210
|
+
*/
|
|
211
|
+
calculateClaimPositions: function (claimCode, calculateClaimPositionsRequestDto, authorization, options) {
|
|
212
|
+
if (options === void 0) { options = {}; }
|
|
213
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
214
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
215
|
+
return __generator(this, function (_a) {
|
|
216
|
+
switch (_a.label) {
|
|
217
|
+
case 0:
|
|
218
|
+
// verify required parameter 'claimCode' is not null or undefined
|
|
219
|
+
(0, common_1.assertParamExists)('calculateClaimPositions', 'claimCode', claimCode);
|
|
220
|
+
// verify required parameter 'calculateClaimPositionsRequestDto' is not null or undefined
|
|
221
|
+
(0, common_1.assertParamExists)('calculateClaimPositions', 'calculateClaimPositionsRequestDto', calculateClaimPositionsRequestDto);
|
|
222
|
+
localVarPath = "/claimservice/v1/claim-positions/calculate/{claimCode}"
|
|
223
|
+
.replace("{".concat("claimCode", "}"), encodeURIComponent(String(claimCode)));
|
|
224
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
225
|
+
if (configuration) {
|
|
226
|
+
baseOptions = configuration.baseOptions;
|
|
227
|
+
baseAccessToken = configuration.accessToken;
|
|
228
|
+
}
|
|
229
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
230
|
+
localVarHeaderParameter = {};
|
|
231
|
+
localVarQueryParameter = {};
|
|
232
|
+
// authentication bearer required
|
|
233
|
+
// http bearer authentication required
|
|
234
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
235
|
+
case 1:
|
|
236
|
+
// authentication bearer required
|
|
237
|
+
// http bearer authentication required
|
|
238
|
+
_a.sent();
|
|
239
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
240
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
241
|
+
}
|
|
242
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
243
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
244
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
245
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
246
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(calculateClaimPositionsRequestDto, localVarRequestOptions, configuration);
|
|
247
|
+
return [2 /*return*/, {
|
|
248
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
249
|
+
options: localVarRequestOptions,
|
|
250
|
+
}];
|
|
251
|
+
}
|
|
252
|
+
});
|
|
253
|
+
});
|
|
254
|
+
},
|
|
255
|
+
/**
|
|
256
|
+
* 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.
|
|
257
|
+
* @summary Calculate claim positions
|
|
258
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
259
|
+
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
260
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
261
|
+
* @param {*} [options] Override http request option.
|
|
262
|
+
* @deprecated
|
|
263
|
+
* @throws {RequiredError}
|
|
264
|
+
*/
|
|
265
|
+
calculateClaimPositions1: function (claimCode, calculateClaimPositionsRequestDto, authorization, options) {
|
|
266
|
+
if (options === void 0) { options = {}; }
|
|
267
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
268
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
269
|
+
return __generator(this, function (_a) {
|
|
270
|
+
switch (_a.label) {
|
|
271
|
+
case 0:
|
|
272
|
+
// verify required parameter 'claimCode' is not null or undefined
|
|
273
|
+
(0, common_1.assertParamExists)('calculateClaimPositions1', 'claimCode', claimCode);
|
|
274
|
+
// verify required parameter 'calculateClaimPositionsRequestDto' is not null or undefined
|
|
275
|
+
(0, common_1.assertParamExists)('calculateClaimPositions1', 'calculateClaimPositionsRequestDto', calculateClaimPositionsRequestDto);
|
|
276
|
+
localVarPath = "/v1/claim-positions/calculate/{claimCode}"
|
|
277
|
+
.replace("{".concat("claimCode", "}"), encodeURIComponent(String(claimCode)));
|
|
278
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
279
|
+
if (configuration) {
|
|
280
|
+
baseOptions = configuration.baseOptions;
|
|
281
|
+
baseAccessToken = configuration.accessToken;
|
|
282
|
+
}
|
|
283
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
284
|
+
localVarHeaderParameter = {};
|
|
285
|
+
localVarQueryParameter = {};
|
|
286
|
+
// authentication bearer required
|
|
287
|
+
// http bearer authentication required
|
|
288
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
289
|
+
case 1:
|
|
290
|
+
// authentication bearer required
|
|
291
|
+
// http bearer authentication required
|
|
292
|
+
_a.sent();
|
|
293
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
294
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
295
|
+
}
|
|
296
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
297
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
298
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
299
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
300
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(calculateClaimPositionsRequestDto, localVarRequestOptions, configuration);
|
|
301
|
+
return [2 /*return*/, {
|
|
302
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
303
|
+
options: localVarRequestOptions,
|
|
304
|
+
}];
|
|
305
|
+
}
|
|
306
|
+
});
|
|
307
|
+
});
|
|
308
|
+
},
|
|
95
309
|
/**
|
|
96
310
|
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
97
311
|
* @summary Create the claim position
|
|
@@ -403,11 +617,11 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
403
617
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
404
618
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
405
619
|
* @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.
|
|
406
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
620
|
+
* @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>
|
|
407
621
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
408
622
|
* @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>
|
|
409
623
|
* @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/>
|
|
410
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
624
|
+
* @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>
|
|
411
625
|
* @param {*} [options] Override http request option.
|
|
412
626
|
* @throws {RequiredError}
|
|
413
627
|
*/
|
|
@@ -475,11 +689,11 @@ var ClaimPositionsApiAxiosParamCreator = function (configuration) {
|
|
|
475
689
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
476
690
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
477
691
|
* @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.
|
|
478
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
692
|
+
* @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>
|
|
479
693
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
480
694
|
* @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>
|
|
481
695
|
* @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/>
|
|
482
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
696
|
+
* @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>
|
|
483
697
|
* @param {*} [options] Override http request option.
|
|
484
698
|
* @deprecated
|
|
485
699
|
* @throws {RequiredError}
|
|
@@ -659,6 +873,96 @@ exports.ClaimPositionsApiAxiosParamCreator = ClaimPositionsApiAxiosParamCreator;
|
|
|
659
873
|
var ClaimPositionsApiFp = function (configuration) {
|
|
660
874
|
var localVarAxiosParamCreator = (0, exports.ClaimPositionsApiAxiosParamCreator)(configuration);
|
|
661
875
|
return {
|
|
876
|
+
/**
|
|
877
|
+
* 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\"
|
|
878
|
+
* @summary Batch upsert claim positions
|
|
879
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
880
|
+
* @param {BatchUpsertClaimPositionsRequestDto} batchUpsertClaimPositionsRequestDto
|
|
881
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
882
|
+
* @param {*} [options] Override http request option.
|
|
883
|
+
* @throws {RequiredError}
|
|
884
|
+
*/
|
|
885
|
+
batchUpsertClaimPositions: function (claimCode, batchUpsertClaimPositionsRequestDto, authorization, options) {
|
|
886
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
887
|
+
var localVarAxiosArgs;
|
|
888
|
+
return __generator(this, function (_a) {
|
|
889
|
+
switch (_a.label) {
|
|
890
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.batchUpsertClaimPositions(claimCode, batchUpsertClaimPositionsRequestDto, authorization, options)];
|
|
891
|
+
case 1:
|
|
892
|
+
localVarAxiosArgs = _a.sent();
|
|
893
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
894
|
+
}
|
|
895
|
+
});
|
|
896
|
+
});
|
|
897
|
+
},
|
|
898
|
+
/**
|
|
899
|
+
* 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.
|
|
900
|
+
* @summary Batch upsert claim positions
|
|
901
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
902
|
+
* @param {BatchUpsertClaimPositionsRequestDto} batchUpsertClaimPositionsRequestDto
|
|
903
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
904
|
+
* @param {*} [options] Override http request option.
|
|
905
|
+
* @deprecated
|
|
906
|
+
* @throws {RequiredError}
|
|
907
|
+
*/
|
|
908
|
+
batchUpsertClaimPositions1: function (claimCode, batchUpsertClaimPositionsRequestDto, authorization, options) {
|
|
909
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
910
|
+
var localVarAxiosArgs;
|
|
911
|
+
return __generator(this, function (_a) {
|
|
912
|
+
switch (_a.label) {
|
|
913
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.batchUpsertClaimPositions1(claimCode, batchUpsertClaimPositionsRequestDto, authorization, options)];
|
|
914
|
+
case 1:
|
|
915
|
+
localVarAxiosArgs = _a.sent();
|
|
916
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
917
|
+
}
|
|
918
|
+
});
|
|
919
|
+
});
|
|
920
|
+
},
|
|
921
|
+
/**
|
|
922
|
+
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\"
|
|
923
|
+
* @summary Calculate claim positions
|
|
924
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
925
|
+
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
926
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
927
|
+
* @param {*} [options] Override http request option.
|
|
928
|
+
* @throws {RequiredError}
|
|
929
|
+
*/
|
|
930
|
+
calculateClaimPositions: function (claimCode, calculateClaimPositionsRequestDto, authorization, options) {
|
|
931
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
932
|
+
var localVarAxiosArgs;
|
|
933
|
+
return __generator(this, function (_a) {
|
|
934
|
+
switch (_a.label) {
|
|
935
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.calculateClaimPositions(claimCode, calculateClaimPositionsRequestDto, authorization, options)];
|
|
936
|
+
case 1:
|
|
937
|
+
localVarAxiosArgs = _a.sent();
|
|
938
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
939
|
+
}
|
|
940
|
+
});
|
|
941
|
+
});
|
|
942
|
+
},
|
|
943
|
+
/**
|
|
944
|
+
* 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.
|
|
945
|
+
* @summary Calculate claim positions
|
|
946
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
947
|
+
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
948
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
949
|
+
* @param {*} [options] Override http request option.
|
|
950
|
+
* @deprecated
|
|
951
|
+
* @throws {RequiredError}
|
|
952
|
+
*/
|
|
953
|
+
calculateClaimPositions1: function (claimCode, calculateClaimPositionsRequestDto, authorization, options) {
|
|
954
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
955
|
+
var localVarAxiosArgs;
|
|
956
|
+
return __generator(this, function (_a) {
|
|
957
|
+
switch (_a.label) {
|
|
958
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.calculateClaimPositions1(claimCode, calculateClaimPositionsRequestDto, authorization, options)];
|
|
959
|
+
case 1:
|
|
960
|
+
localVarAxiosArgs = _a.sent();
|
|
961
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
962
|
+
}
|
|
963
|
+
});
|
|
964
|
+
});
|
|
965
|
+
},
|
|
662
966
|
/**
|
|
663
967
|
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
664
968
|
* @summary Create the claim position
|
|
@@ -796,11 +1100,11 @@ var ClaimPositionsApiFp = function (configuration) {
|
|
|
796
1100
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
797
1101
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
798
1102
|
* @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.
|
|
799
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
1103
|
+
* @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>
|
|
800
1104
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
801
1105
|
* @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>
|
|
802
1106
|
* @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/>
|
|
803
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
1107
|
+
* @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>
|
|
804
1108
|
* @param {*} [options] Override http request option.
|
|
805
1109
|
* @throws {RequiredError}
|
|
806
1110
|
*/
|
|
@@ -823,11 +1127,11 @@ var ClaimPositionsApiFp = function (configuration) {
|
|
|
823
1127
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
824
1128
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
825
1129
|
* @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.
|
|
1130
|
+
* @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
1131
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
828
1132
|
* @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
1133
|
* @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.
|
|
1134
|
+
* @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
1135
|
* @param {*} [options] Override http request option.
|
|
832
1136
|
* @deprecated
|
|
833
1137
|
* @throws {RequiredError}
|
|
@@ -900,6 +1204,56 @@ exports.ClaimPositionsApiFp = ClaimPositionsApiFp;
|
|
|
900
1204
|
var ClaimPositionsApiFactory = function (configuration, basePath, axios) {
|
|
901
1205
|
var localVarFp = (0, exports.ClaimPositionsApiFp)(configuration);
|
|
902
1206
|
return {
|
|
1207
|
+
/**
|
|
1208
|
+
* 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\"
|
|
1209
|
+
* @summary Batch upsert claim positions
|
|
1210
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
1211
|
+
* @param {BatchUpsertClaimPositionsRequestDto} batchUpsertClaimPositionsRequestDto
|
|
1212
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1213
|
+
* @param {*} [options] Override http request option.
|
|
1214
|
+
* @throws {RequiredError}
|
|
1215
|
+
*/
|
|
1216
|
+
batchUpsertClaimPositions: function (claimCode, batchUpsertClaimPositionsRequestDto, authorization, options) {
|
|
1217
|
+
return localVarFp.batchUpsertClaimPositions(claimCode, batchUpsertClaimPositionsRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1218
|
+
},
|
|
1219
|
+
/**
|
|
1220
|
+
* 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.
|
|
1221
|
+
* @summary Batch upsert claim positions
|
|
1222
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
1223
|
+
* @param {BatchUpsertClaimPositionsRequestDto} batchUpsertClaimPositionsRequestDto
|
|
1224
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1225
|
+
* @param {*} [options] Override http request option.
|
|
1226
|
+
* @deprecated
|
|
1227
|
+
* @throws {RequiredError}
|
|
1228
|
+
*/
|
|
1229
|
+
batchUpsertClaimPositions1: function (claimCode, batchUpsertClaimPositionsRequestDto, authorization, options) {
|
|
1230
|
+
return localVarFp.batchUpsertClaimPositions1(claimCode, batchUpsertClaimPositionsRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1231
|
+
},
|
|
1232
|
+
/**
|
|
1233
|
+
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\"
|
|
1234
|
+
* @summary Calculate claim positions
|
|
1235
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
1236
|
+
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
1237
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1238
|
+
* @param {*} [options] Override http request option.
|
|
1239
|
+
* @throws {RequiredError}
|
|
1240
|
+
*/
|
|
1241
|
+
calculateClaimPositions: function (claimCode, calculateClaimPositionsRequestDto, authorization, options) {
|
|
1242
|
+
return localVarFp.calculateClaimPositions(claimCode, calculateClaimPositionsRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1243
|
+
},
|
|
1244
|
+
/**
|
|
1245
|
+
* 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.
|
|
1246
|
+
* @summary Calculate claim positions
|
|
1247
|
+
* @param {string} claimCode Unique identifier for the object.
|
|
1248
|
+
* @param {CalculateClaimPositionsRequestDto} calculateClaimPositionsRequestDto
|
|
1249
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1250
|
+
* @param {*} [options] Override http request option.
|
|
1251
|
+
* @deprecated
|
|
1252
|
+
* @throws {RequiredError}
|
|
1253
|
+
*/
|
|
1254
|
+
calculateClaimPositions1: function (claimCode, calculateClaimPositionsRequestDto, authorization, options) {
|
|
1255
|
+
return localVarFp.calculateClaimPositions1(claimCode, calculateClaimPositionsRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1256
|
+
},
|
|
903
1257
|
/**
|
|
904
1258
|
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
905
1259
|
* @summary Create the claim position
|
|
@@ -977,11 +1331,11 @@ var ClaimPositionsApiFactory = function (configuration, basePath, axios) {
|
|
|
977
1331
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
978
1332
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
979
1333
|
* @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.
|
|
980
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
1334
|
+
* @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>
|
|
981
1335
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
982
1336
|
* @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>
|
|
983
1337
|
* @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/>
|
|
984
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
1338
|
+
* @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>
|
|
985
1339
|
* @param {*} [options] Override http request option.
|
|
986
1340
|
* @throws {RequiredError}
|
|
987
1341
|
*/
|
|
@@ -994,11 +1348,11 @@ var ClaimPositionsApiFactory = function (configuration, basePath, axios) {
|
|
|
994
1348
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
995
1349
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
996
1350
|
* @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.
|
|
997
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
1351
|
+
* @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>
|
|
998
1352
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
999
1353
|
* @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>
|
|
1000
1354
|
* @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/>
|
|
1001
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
1355
|
+
* @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>
|
|
1002
1356
|
* @param {*} [options] Override http request option.
|
|
1003
1357
|
* @deprecated
|
|
1004
1358
|
* @throws {RequiredError}
|
|
@@ -1045,6 +1399,56 @@ var ClaimPositionsApi = /** @class */ (function (_super) {
|
|
|
1045
1399
|
function ClaimPositionsApi() {
|
|
1046
1400
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1047
1401
|
}
|
|
1402
|
+
/**
|
|
1403
|
+
* 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\"
|
|
1404
|
+
* @summary Batch upsert claim positions
|
|
1405
|
+
* @param {ClaimPositionsApiBatchUpsertClaimPositionsRequest} requestParameters Request parameters.
|
|
1406
|
+
* @param {*} [options] Override http request option.
|
|
1407
|
+
* @throws {RequiredError}
|
|
1408
|
+
* @memberof ClaimPositionsApi
|
|
1409
|
+
*/
|
|
1410
|
+
ClaimPositionsApi.prototype.batchUpsertClaimPositions = function (requestParameters, options) {
|
|
1411
|
+
var _this = this;
|
|
1412
|
+
return (0, exports.ClaimPositionsApiFp)(this.configuration).batchUpsertClaimPositions(requestParameters.claimCode, requestParameters.batchUpsertClaimPositionsRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1413
|
+
};
|
|
1414
|
+
/**
|
|
1415
|
+
* 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.
|
|
1416
|
+
* @summary Batch upsert claim positions
|
|
1417
|
+
* @param {ClaimPositionsApiBatchUpsertClaimPositions1Request} requestParameters Request parameters.
|
|
1418
|
+
* @param {*} [options] Override http request option.
|
|
1419
|
+
* @deprecated
|
|
1420
|
+
* @throws {RequiredError}
|
|
1421
|
+
* @memberof ClaimPositionsApi
|
|
1422
|
+
*/
|
|
1423
|
+
ClaimPositionsApi.prototype.batchUpsertClaimPositions1 = function (requestParameters, options) {
|
|
1424
|
+
var _this = this;
|
|
1425
|
+
return (0, exports.ClaimPositionsApiFp)(this.configuration).batchUpsertClaimPositions1(requestParameters.claimCode, requestParameters.batchUpsertClaimPositionsRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1426
|
+
};
|
|
1427
|
+
/**
|
|
1428
|
+
* Calculates the reimbursement amount for all open claim positions in a claim. **Required Permissions** \"claim-management.claims.view\"
|
|
1429
|
+
* @summary Calculate claim positions
|
|
1430
|
+
* @param {ClaimPositionsApiCalculateClaimPositionsRequest} requestParameters Request parameters.
|
|
1431
|
+
* @param {*} [options] Override http request option.
|
|
1432
|
+
* @throws {RequiredError}
|
|
1433
|
+
* @memberof ClaimPositionsApi
|
|
1434
|
+
*/
|
|
1435
|
+
ClaimPositionsApi.prototype.calculateClaimPositions = function (requestParameters, options) {
|
|
1436
|
+
var _this = this;
|
|
1437
|
+
return (0, exports.ClaimPositionsApiFp)(this.configuration).calculateClaimPositions(requestParameters.claimCode, requestParameters.calculateClaimPositionsRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1438
|
+
};
|
|
1439
|
+
/**
|
|
1440
|
+
* 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.
|
|
1441
|
+
* @summary Calculate claim positions
|
|
1442
|
+
* @param {ClaimPositionsApiCalculateClaimPositions1Request} requestParameters Request parameters.
|
|
1443
|
+
* @param {*} [options] Override http request option.
|
|
1444
|
+
* @deprecated
|
|
1445
|
+
* @throws {RequiredError}
|
|
1446
|
+
* @memberof ClaimPositionsApi
|
|
1447
|
+
*/
|
|
1448
|
+
ClaimPositionsApi.prototype.calculateClaimPositions1 = function (requestParameters, options) {
|
|
1449
|
+
var _this = this;
|
|
1450
|
+
return (0, exports.ClaimPositionsApiFp)(this.configuration).calculateClaimPositions1(requestParameters.claimCode, requestParameters.calculateClaimPositionsRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1451
|
+
};
|
|
1048
1452
|
/**
|
|
1049
1453
|
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
1050
1454
|
* @summary Create the claim position
|