@emilgroup/claim-sdk 1.41.0 → 1.41.1-beta.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 +15 -0
- package/README.md +2 -2
- package/api/claim-limit-usages-api.ts +644 -0
- package/api/claim-partner-roles-api.ts +627 -0
- package/api/claim-partners-api.ts +520 -0
- package/api/claim-positions-api.ts +1336 -0
- package/api/claim-regulations-api.ts +644 -3
- package/api/claim-statuses-api.ts +752 -5
- package/api/claims-api.ts +863 -11
- package/api/health-check-api.ts +66 -0
- package/api/settlements-api.ts +627 -0
- package/api.ts +4 -0
- package/dist/api/claim-limit-usages-api.d.ts +378 -0
- package/dist/api/claim-limit-usages-api.js +581 -0
- package/dist/api/claim-partner-roles-api.d.ts +358 -0
- package/dist/api/claim-partner-roles-api.js +525 -0
- package/dist/api/claim-partners-api.d.ts +299 -0
- package/dist/api/claim-partners-api.js +428 -0
- package/dist/api/claim-positions-api.d.ts +760 -0
- package/dist/api/claim-positions-api.js +1177 -0
- package/dist/api/claim-regulations-api.d.ts +367 -0
- package/dist/api/claim-regulations-api.js +531 -0
- package/dist/api/claim-statuses-api.d.ts +426 -0
- package/dist/api/claim-statuses-api.js +642 -14
- package/dist/api/claims-api.d.ts +493 -8
- package/dist/api/claims-api.js +734 -10
- package/dist/api/health-check-api.d.ts +33 -0
- package/dist/api/health-check-api.js +73 -0
- package/dist/api/settlements-api.d.ts +358 -0
- package/dist/api/settlements-api.js +525 -0
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/models/calculation-step-result-class.d.ts +72 -0
- package/dist/models/calculation-step-result-class.js +21 -0
- package/dist/models/claim-applied-deductible-class.d.ts +95 -0
- package/dist/models/claim-applied-deductible-class.js +20 -0
- package/dist/models/claim-class.d.ts +25 -0
- package/dist/models/claim-limit-usage-class.d.ts +143 -0
- package/dist/models/claim-limit-usage-class.js +30 -0
- package/dist/models/claim-limit-usage-result-class.d.ts +48 -0
- package/dist/models/claim-limit-usage-result-class.js +21 -0
- package/dist/models/claim-position-class.d.ts +151 -0
- package/dist/models/claim-position-class.js +20 -0
- package/dist/models/create-claim-position-request-dto.d.ts +66 -0
- package/dist/models/create-claim-position-request-dto.js +15 -0
- package/dist/models/create-claim-position-response-class.d.ts +25 -0
- package/dist/models/create-claim-position-response-class.js +15 -0
- package/dist/models/create-claim-request-dto.d.ts +6 -0
- package/dist/models/create-regulation-item-request-dto.d.ts +26 -3
- package/dist/models/create-regulation-item-request-dto.js +5 -1
- package/dist/models/get-claim-limit-usage-response-class.d.ts +25 -0
- package/dist/models/get-claim-limit-usage-response-class.js +15 -0
- package/dist/models/get-claim-position-response-class.d.ts +25 -0
- package/dist/models/get-claim-position-response-class.js +15 -0
- package/dist/models/index.d.ts +13 -0
- package/dist/models/index.js +13 -0
- package/dist/models/list-claim-limit-usages-response-class.d.ts +43 -0
- package/dist/models/list-claim-limit-usages-response-class.js +15 -0
- package/dist/models/list-claim-partner-roles-response-class.d.ts +12 -0
- package/dist/models/list-claim-partners-response-class.d.ts +12 -0
- package/dist/models/list-claim-positions-response-class.d.ts +43 -0
- package/dist/models/list-claim-positions-response-class.js +15 -0
- package/dist/models/list-claim-statuses-response-class.d.ts +13 -1
- package/dist/models/list-claims-response-class.d.ts +12 -0
- package/dist/models/list-regulations-response-class.d.ts +12 -0
- package/dist/models/patch-claim-request-dto.d.ts +39 -33
- package/dist/models/regulation-item-class.d.ts +35 -0
- package/dist/models/regulation-item-class.js +10 -1
- package/dist/models/update-claim-position-request-dto.d.ts +60 -0
- package/dist/models/update-claim-position-request-dto.js +15 -0
- package/dist/models/update-claim-position-response-class.d.ts +25 -0
- package/dist/models/update-claim-position-response-class.js +15 -0
- package/dist/models/update-claim-request-dto.d.ts +39 -33
- package/dist/models/update-regulation-item-request-dto.d.ts +12 -0
- package/dist/models/update-regulation-item-request-dto.js +6 -1
- package/models/calculation-step-result-class.ts +81 -0
- package/models/claim-applied-deductible-class.ts +104 -0
- package/models/claim-class.ts +25 -0
- package/models/claim-limit-usage-class.ts +154 -0
- package/models/claim-limit-usage-result-class.ts +57 -0
- package/models/claim-position-class.ts +160 -0
- package/models/create-claim-position-request-dto.ts +72 -0
- package/models/create-claim-position-response-class.ts +31 -0
- package/models/create-claim-request-dto.ts +6 -0
- package/models/create-regulation-item-request-dto.ts +27 -3
- package/models/get-claim-limit-usage-response-class.ts +31 -0
- package/models/get-claim-position-response-class.ts +31 -0
- package/models/index.ts +13 -0
- package/models/list-claim-limit-usages-response-class.ts +49 -0
- package/models/list-claim-partner-roles-response-class.ts +12 -0
- package/models/list-claim-partners-response-class.ts +12 -0
- package/models/list-claim-positions-response-class.ts +49 -0
- package/models/list-claim-statuses-response-class.ts +13 -1
- package/models/list-claims-response-class.ts +12 -0
- package/models/list-regulations-response-class.ts +12 -0
- package/models/patch-claim-request-dto.ts +39 -33
- package/models/regulation-item-class.ts +37 -0
- package/models/update-claim-position-request-dto.ts +66 -0
- package/models/update-claim-position-response-class.ts +31 -0
- package/models/update-claim-request-dto.ts +39 -33
- package/models/update-regulation-item-request-dto.ts +13 -0
- package/package.json +1 -1
package/dist/api/claims-api.js
CHANGED
|
@@ -109,6 +109,56 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
109
109
|
case 0:
|
|
110
110
|
// verify required parameter 'createClaimRequestDto' is not null or undefined
|
|
111
111
|
(0, common_1.assertParamExists)('createClaim', 'createClaimRequestDto', createClaimRequestDto);
|
|
112
|
+
localVarPath = "/claimservice/v1/claims";
|
|
113
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
114
|
+
if (configuration) {
|
|
115
|
+
baseOptions = configuration.baseOptions;
|
|
116
|
+
baseAccessToken = configuration.accessToken;
|
|
117
|
+
}
|
|
118
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
119
|
+
localVarHeaderParameter = {};
|
|
120
|
+
localVarQueryParameter = {};
|
|
121
|
+
// authentication bearer required
|
|
122
|
+
// http bearer authentication required
|
|
123
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
124
|
+
case 1:
|
|
125
|
+
// authentication bearer required
|
|
126
|
+
// http bearer authentication required
|
|
127
|
+
_a.sent();
|
|
128
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
129
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
130
|
+
}
|
|
131
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
132
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
133
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
134
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
135
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createClaimRequestDto, localVarRequestOptions, configuration);
|
|
136
|
+
return [2 /*return*/, {
|
|
137
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
138
|
+
options: localVarRequestOptions,
|
|
139
|
+
}];
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
});
|
|
143
|
+
},
|
|
144
|
+
/**
|
|
145
|
+
* This will create a claim in the database **Required Permissions** \"claim-management.claims.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
146
|
+
* @summary Create the claim
|
|
147
|
+
* @param {CreateClaimRequestDto} createClaimRequestDto
|
|
148
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
149
|
+
* @param {*} [options] Override http request option.
|
|
150
|
+
* @deprecated
|
|
151
|
+
* @throws {RequiredError}
|
|
152
|
+
*/
|
|
153
|
+
createClaim1: function (createClaimRequestDto, authorization, options) {
|
|
154
|
+
if (options === void 0) { options = {}; }
|
|
155
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
156
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
157
|
+
return __generator(this, function (_a) {
|
|
158
|
+
switch (_a.label) {
|
|
159
|
+
case 0:
|
|
160
|
+
// verify required parameter 'createClaimRequestDto' is not null or undefined
|
|
161
|
+
(0, common_1.assertParamExists)('createClaim1', 'createClaimRequestDto', createClaimRequestDto);
|
|
112
162
|
localVarPath = "/v1/claims";
|
|
113
163
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
114
164
|
if (configuration) {
|
|
@@ -158,6 +208,55 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
158
208
|
case 0:
|
|
159
209
|
// verify required parameter 'code' is not null or undefined
|
|
160
210
|
(0, common_1.assertParamExists)('deleteClaim', 'code', code);
|
|
211
|
+
localVarPath = "/claimservice/v1/claims/{code}"
|
|
212
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
213
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
214
|
+
if (configuration) {
|
|
215
|
+
baseOptions = configuration.baseOptions;
|
|
216
|
+
baseAccessToken = configuration.accessToken;
|
|
217
|
+
}
|
|
218
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
219
|
+
localVarHeaderParameter = {};
|
|
220
|
+
localVarQueryParameter = {};
|
|
221
|
+
// authentication bearer required
|
|
222
|
+
// http bearer authentication required
|
|
223
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
224
|
+
case 1:
|
|
225
|
+
// authentication bearer required
|
|
226
|
+
// http bearer authentication required
|
|
227
|
+
_a.sent();
|
|
228
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
229
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
230
|
+
}
|
|
231
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
232
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
233
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
234
|
+
return [2 /*return*/, {
|
|
235
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
236
|
+
options: localVarRequestOptions,
|
|
237
|
+
}];
|
|
238
|
+
}
|
|
239
|
+
});
|
|
240
|
+
});
|
|
241
|
+
},
|
|
242
|
+
/**
|
|
243
|
+
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
244
|
+
* @summary Delete the claim
|
|
245
|
+
* @param {string} code
|
|
246
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
247
|
+
* @param {*} [options] Override http request option.
|
|
248
|
+
* @deprecated
|
|
249
|
+
* @throws {RequiredError}
|
|
250
|
+
*/
|
|
251
|
+
deleteClaim1: function (code, authorization, options) {
|
|
252
|
+
if (options === void 0) { options = {}; }
|
|
253
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
254
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
255
|
+
return __generator(this, function (_a) {
|
|
256
|
+
switch (_a.label) {
|
|
257
|
+
case 0:
|
|
258
|
+
// verify required parameter 'code' is not null or undefined
|
|
259
|
+
(0, common_1.assertParamExists)('deleteClaim1', 'code', code);
|
|
161
260
|
localVarPath = "/v1/claims/{code}"
|
|
162
261
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
163
262
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -206,6 +305,55 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
206
305
|
case 0:
|
|
207
306
|
// verify required parameter 'code' is not null or undefined
|
|
208
307
|
(0, common_1.assertParamExists)('getClaim', 'code', code);
|
|
308
|
+
localVarPath = "/claimservice/v1/claims/{code}"
|
|
309
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
310
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
311
|
+
if (configuration) {
|
|
312
|
+
baseOptions = configuration.baseOptions;
|
|
313
|
+
baseAccessToken = configuration.accessToken;
|
|
314
|
+
}
|
|
315
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
316
|
+
localVarHeaderParameter = {};
|
|
317
|
+
localVarQueryParameter = {};
|
|
318
|
+
// authentication bearer required
|
|
319
|
+
// http bearer authentication required
|
|
320
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
321
|
+
case 1:
|
|
322
|
+
// authentication bearer required
|
|
323
|
+
// http bearer authentication required
|
|
324
|
+
_a.sent();
|
|
325
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
326
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
327
|
+
}
|
|
328
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
329
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
330
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
331
|
+
return [2 /*return*/, {
|
|
332
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
333
|
+
options: localVarRequestOptions,
|
|
334
|
+
}];
|
|
335
|
+
}
|
|
336
|
+
});
|
|
337
|
+
});
|
|
338
|
+
},
|
|
339
|
+
/**
|
|
340
|
+
* This will fetch the identified claim from the database by code **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.
|
|
341
|
+
* @summary Retrieve the claim
|
|
342
|
+
* @param {string} code
|
|
343
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
344
|
+
* @param {*} [options] Override http request option.
|
|
345
|
+
* @deprecated
|
|
346
|
+
* @throws {RequiredError}
|
|
347
|
+
*/
|
|
348
|
+
getClaim1: function (code, authorization, options) {
|
|
349
|
+
if (options === void 0) { options = {}; }
|
|
350
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
351
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
352
|
+
return __generator(this, function (_a) {
|
|
353
|
+
switch (_a.label) {
|
|
354
|
+
case 0:
|
|
355
|
+
// verify required parameter 'code' is not null or undefined
|
|
356
|
+
(0, common_1.assertParamExists)('getClaim1', 'code', code);
|
|
209
357
|
localVarPath = "/v1/claims/{code}"
|
|
210
358
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
211
359
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -254,6 +402,55 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
254
402
|
case 0:
|
|
255
403
|
// verify required parameter 'code' is not null or undefined
|
|
256
404
|
(0, common_1.assertParamExists)('getClaimRegulationSummary', 'code', code);
|
|
405
|
+
localVarPath = "/claimservice/v1/claims/{code}/regulations/summary"
|
|
406
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
407
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
408
|
+
if (configuration) {
|
|
409
|
+
baseOptions = configuration.baseOptions;
|
|
410
|
+
baseAccessToken = configuration.accessToken;
|
|
411
|
+
}
|
|
412
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
413
|
+
localVarHeaderParameter = {};
|
|
414
|
+
localVarQueryParameter = {};
|
|
415
|
+
// authentication bearer required
|
|
416
|
+
// http bearer authentication required
|
|
417
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
418
|
+
case 1:
|
|
419
|
+
// authentication bearer required
|
|
420
|
+
// http bearer authentication required
|
|
421
|
+
_a.sent();
|
|
422
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
423
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
424
|
+
}
|
|
425
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
426
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
427
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
428
|
+
return [2 /*return*/, {
|
|
429
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
430
|
+
options: localVarRequestOptions,
|
|
431
|
+
}];
|
|
432
|
+
}
|
|
433
|
+
});
|
|
434
|
+
});
|
|
435
|
+
},
|
|
436
|
+
/**
|
|
437
|
+
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
438
|
+
* @summary Retrieve the claim regulation summary
|
|
439
|
+
* @param {string} code Unique identifier for the object.
|
|
440
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
441
|
+
* @param {*} [options] Override http request option.
|
|
442
|
+
* @deprecated
|
|
443
|
+
* @throws {RequiredError}
|
|
444
|
+
*/
|
|
445
|
+
getClaimRegulationSummary1: function (code, authorization, options) {
|
|
446
|
+
if (options === void 0) { options = {}; }
|
|
447
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
448
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
449
|
+
return __generator(this, function (_a) {
|
|
450
|
+
switch (_a.label) {
|
|
451
|
+
case 0:
|
|
452
|
+
// verify required parameter 'code' is not null or undefined
|
|
453
|
+
(0, common_1.assertParamExists)('getClaimRegulationSummary1', 'code', code);
|
|
257
454
|
localVarPath = "/v1/claims/{code}/regulations/summary"
|
|
258
455
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
259
456
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -291,15 +488,88 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
291
488
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
292
489
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
293
490
|
* @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.
|
|
294
|
-
* @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: policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
491
|
+
* @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, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
295
492
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, policyCode, accountCode, productName, claimNumber, policyNumber, damageDate, notificationDate, description, status</i>
|
|
296
493
|
* @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, accountCode, status, claimNumber, policyNumber, damageDate, notificationDate, description, createdAt, updatedAt</i>
|
|
297
494
|
* @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/> <i>Allowed values: partners<i>
|
|
298
|
-
* @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: policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
495
|
+
* @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, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
299
496
|
* @param {*} [options] Override http request option.
|
|
300
497
|
* @throws {RequiredError}
|
|
301
498
|
*/
|
|
302
499
|
listClaims: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
500
|
+
if (options === void 0) { options = {}; }
|
|
501
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
502
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
503
|
+
return __generator(this, function (_a) {
|
|
504
|
+
switch (_a.label) {
|
|
505
|
+
case 0:
|
|
506
|
+
localVarPath = "/claimservice/v1/claims";
|
|
507
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
508
|
+
if (configuration) {
|
|
509
|
+
baseOptions = configuration.baseOptions;
|
|
510
|
+
baseAccessToken = configuration.accessToken;
|
|
511
|
+
}
|
|
512
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
513
|
+
localVarHeaderParameter = {};
|
|
514
|
+
localVarQueryParameter = {};
|
|
515
|
+
// authentication bearer required
|
|
516
|
+
// http bearer authentication required
|
|
517
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
518
|
+
case 1:
|
|
519
|
+
// authentication bearer required
|
|
520
|
+
// http bearer authentication required
|
|
521
|
+
_a.sent();
|
|
522
|
+
if (pageSize !== undefined) {
|
|
523
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
524
|
+
}
|
|
525
|
+
if (pageToken !== undefined) {
|
|
526
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
527
|
+
}
|
|
528
|
+
if (filter !== undefined) {
|
|
529
|
+
localVarQueryParameter['filter'] = filter;
|
|
530
|
+
}
|
|
531
|
+
if (search !== undefined) {
|
|
532
|
+
localVarQueryParameter['search'] = search;
|
|
533
|
+
}
|
|
534
|
+
if (order !== undefined) {
|
|
535
|
+
localVarQueryParameter['order'] = order;
|
|
536
|
+
}
|
|
537
|
+
if (expand !== undefined) {
|
|
538
|
+
localVarQueryParameter['expand'] = expand;
|
|
539
|
+
}
|
|
540
|
+
if (filters !== undefined) {
|
|
541
|
+
localVarQueryParameter['filters'] = filters;
|
|
542
|
+
}
|
|
543
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
544
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
545
|
+
}
|
|
546
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
547
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
548
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
549
|
+
return [2 /*return*/, {
|
|
550
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
551
|
+
options: localVarRequestOptions,
|
|
552
|
+
}];
|
|
553
|
+
}
|
|
554
|
+
});
|
|
555
|
+
});
|
|
556
|
+
},
|
|
557
|
+
/**
|
|
558
|
+
* Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **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.
|
|
559
|
+
* @summary List claims
|
|
560
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
561
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
562
|
+
* @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.
|
|
563
|
+
* @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, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
564
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, policyCode, accountCode, productName, claimNumber, policyNumber, damageDate, notificationDate, description, status</i>
|
|
565
|
+
* @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, accountCode, status, claimNumber, policyNumber, damageDate, notificationDate, description, createdAt, updatedAt</i>
|
|
566
|
+
* @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/> <i>Allowed values: partners<i>
|
|
567
|
+
* @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, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
568
|
+
* @param {*} [options] Override http request option.
|
|
569
|
+
* @deprecated
|
|
570
|
+
* @throws {RequiredError}
|
|
571
|
+
*/
|
|
572
|
+
listClaims1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
303
573
|
if (options === void 0) { options = {}; }
|
|
304
574
|
return __awaiter(_this, void 0, void 0, function () {
|
|
305
575
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -377,6 +647,60 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
377
647
|
(0, common_1.assertParamExists)('patchClaim', 'code', code);
|
|
378
648
|
// verify required parameter 'patchClaimRequestDto' is not null or undefined
|
|
379
649
|
(0, common_1.assertParamExists)('patchClaim', 'patchClaimRequestDto', patchClaimRequestDto);
|
|
650
|
+
localVarPath = "/claimservice/v1/claims/{code}"
|
|
651
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
652
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
653
|
+
if (configuration) {
|
|
654
|
+
baseOptions = configuration.baseOptions;
|
|
655
|
+
baseAccessToken = configuration.accessToken;
|
|
656
|
+
}
|
|
657
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
658
|
+
localVarHeaderParameter = {};
|
|
659
|
+
localVarQueryParameter = {};
|
|
660
|
+
// authentication bearer required
|
|
661
|
+
// http bearer authentication required
|
|
662
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
663
|
+
case 1:
|
|
664
|
+
// authentication bearer required
|
|
665
|
+
// http bearer authentication required
|
|
666
|
+
_a.sent();
|
|
667
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
668
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
669
|
+
}
|
|
670
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
671
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
672
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
673
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
674
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchClaimRequestDto, localVarRequestOptions, configuration);
|
|
675
|
+
return [2 /*return*/, {
|
|
676
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
677
|
+
options: localVarRequestOptions,
|
|
678
|
+
}];
|
|
679
|
+
}
|
|
680
|
+
});
|
|
681
|
+
});
|
|
682
|
+
},
|
|
683
|
+
/**
|
|
684
|
+
* Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged. **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.
|
|
685
|
+
* @summary Patch the claim
|
|
686
|
+
* @param {string} code
|
|
687
|
+
* @param {PatchClaimRequestDto} patchClaimRequestDto
|
|
688
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
689
|
+
* @param {*} [options] Override http request option.
|
|
690
|
+
* @deprecated
|
|
691
|
+
* @throws {RequiredError}
|
|
692
|
+
*/
|
|
693
|
+
patchClaim1: function (code, patchClaimRequestDto, authorization, options) {
|
|
694
|
+
if (options === void 0) { options = {}; }
|
|
695
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
696
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
697
|
+
return __generator(this, function (_a) {
|
|
698
|
+
switch (_a.label) {
|
|
699
|
+
case 0:
|
|
700
|
+
// verify required parameter 'code' is not null or undefined
|
|
701
|
+
(0, common_1.assertParamExists)('patchClaim1', 'code', code);
|
|
702
|
+
// verify required parameter 'patchClaimRequestDto' is not null or undefined
|
|
703
|
+
(0, common_1.assertParamExists)('patchClaim1', 'patchClaimRequestDto', patchClaimRequestDto);
|
|
380
704
|
localVarPath = "/v1/claims/{code}"
|
|
381
705
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
382
706
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -411,15 +735,69 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
411
735
|
});
|
|
412
736
|
},
|
|
413
737
|
/**
|
|
414
|
-
* This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
|
|
738
|
+
* This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
|
|
739
|
+
* @summary Update the claim
|
|
740
|
+
* @param {string} code
|
|
741
|
+
* @param {UpdateClaimRequestDto} updateClaimRequestDto
|
|
742
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
743
|
+
* @param {*} [options] Override http request option.
|
|
744
|
+
* @throws {RequiredError}
|
|
745
|
+
*/
|
|
746
|
+
updateClaim: function (code, updateClaimRequestDto, authorization, options) {
|
|
747
|
+
if (options === void 0) { options = {}; }
|
|
748
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
749
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
750
|
+
return __generator(this, function (_a) {
|
|
751
|
+
switch (_a.label) {
|
|
752
|
+
case 0:
|
|
753
|
+
// verify required parameter 'code' is not null or undefined
|
|
754
|
+
(0, common_1.assertParamExists)('updateClaim', 'code', code);
|
|
755
|
+
// verify required parameter 'updateClaimRequestDto' is not null or undefined
|
|
756
|
+
(0, common_1.assertParamExists)('updateClaim', 'updateClaimRequestDto', updateClaimRequestDto);
|
|
757
|
+
localVarPath = "/claimservice/v1/claims/{code}"
|
|
758
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
759
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
760
|
+
if (configuration) {
|
|
761
|
+
baseOptions = configuration.baseOptions;
|
|
762
|
+
baseAccessToken = configuration.accessToken;
|
|
763
|
+
}
|
|
764
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
765
|
+
localVarHeaderParameter = {};
|
|
766
|
+
localVarQueryParameter = {};
|
|
767
|
+
// authentication bearer required
|
|
768
|
+
// http bearer authentication required
|
|
769
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
770
|
+
case 1:
|
|
771
|
+
// authentication bearer required
|
|
772
|
+
// http bearer authentication required
|
|
773
|
+
_a.sent();
|
|
774
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
775
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
776
|
+
}
|
|
777
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
778
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
779
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
780
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
781
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateClaimRequestDto, localVarRequestOptions, configuration);
|
|
782
|
+
return [2 /*return*/, {
|
|
783
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
784
|
+
options: localVarRequestOptions,
|
|
785
|
+
}];
|
|
786
|
+
}
|
|
787
|
+
});
|
|
788
|
+
});
|
|
789
|
+
},
|
|
790
|
+
/**
|
|
791
|
+
* This will update the identified claim in the database **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.
|
|
415
792
|
* @summary Update the claim
|
|
416
793
|
* @param {string} code
|
|
417
794
|
* @param {UpdateClaimRequestDto} updateClaimRequestDto
|
|
418
795
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
419
796
|
* @param {*} [options] Override http request option.
|
|
797
|
+
* @deprecated
|
|
420
798
|
* @throws {RequiredError}
|
|
421
799
|
*/
|
|
422
|
-
|
|
800
|
+
updateClaim1: function (code, updateClaimRequestDto, authorization, options) {
|
|
423
801
|
if (options === void 0) { options = {}; }
|
|
424
802
|
return __awaiter(_this, void 0, void 0, function () {
|
|
425
803
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -427,9 +805,9 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
427
805
|
switch (_a.label) {
|
|
428
806
|
case 0:
|
|
429
807
|
// verify required parameter 'code' is not null or undefined
|
|
430
|
-
(0, common_1.assertParamExists)('
|
|
808
|
+
(0, common_1.assertParamExists)('updateClaim1', 'code', code);
|
|
431
809
|
// verify required parameter 'updateClaimRequestDto' is not null or undefined
|
|
432
|
-
(0, common_1.assertParamExists)('
|
|
810
|
+
(0, common_1.assertParamExists)('updateClaim1', 'updateClaimRequestDto', updateClaimRequestDto);
|
|
433
811
|
localVarPath = "/v1/claims/{code}"
|
|
434
812
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
435
813
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -494,6 +872,28 @@ var ClaimsApiFp = function (configuration) {
|
|
|
494
872
|
});
|
|
495
873
|
});
|
|
496
874
|
},
|
|
875
|
+
/**
|
|
876
|
+
* This will create a claim in the database **Required Permissions** \"claim-management.claims.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
877
|
+
* @summary Create the claim
|
|
878
|
+
* @param {CreateClaimRequestDto} createClaimRequestDto
|
|
879
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
880
|
+
* @param {*} [options] Override http request option.
|
|
881
|
+
* @deprecated
|
|
882
|
+
* @throws {RequiredError}
|
|
883
|
+
*/
|
|
884
|
+
createClaim1: function (createClaimRequestDto, authorization, options) {
|
|
885
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
886
|
+
var localVarAxiosArgs;
|
|
887
|
+
return __generator(this, function (_a) {
|
|
888
|
+
switch (_a.label) {
|
|
889
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createClaim1(createClaimRequestDto, authorization, options)];
|
|
890
|
+
case 1:
|
|
891
|
+
localVarAxiosArgs = _a.sent();
|
|
892
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
893
|
+
}
|
|
894
|
+
});
|
|
895
|
+
});
|
|
896
|
+
},
|
|
497
897
|
/**
|
|
498
898
|
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
499
899
|
* @summary Delete the claim
|
|
@@ -515,6 +915,28 @@ var ClaimsApiFp = function (configuration) {
|
|
|
515
915
|
});
|
|
516
916
|
});
|
|
517
917
|
},
|
|
918
|
+
/**
|
|
919
|
+
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
920
|
+
* @summary Delete the claim
|
|
921
|
+
* @param {string} code
|
|
922
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
923
|
+
* @param {*} [options] Override http request option.
|
|
924
|
+
* @deprecated
|
|
925
|
+
* @throws {RequiredError}
|
|
926
|
+
*/
|
|
927
|
+
deleteClaim1: function (code, authorization, options) {
|
|
928
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
929
|
+
var localVarAxiosArgs;
|
|
930
|
+
return __generator(this, function (_a) {
|
|
931
|
+
switch (_a.label) {
|
|
932
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteClaim1(code, authorization, options)];
|
|
933
|
+
case 1:
|
|
934
|
+
localVarAxiosArgs = _a.sent();
|
|
935
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
936
|
+
}
|
|
937
|
+
});
|
|
938
|
+
});
|
|
939
|
+
},
|
|
518
940
|
/**
|
|
519
941
|
* This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
|
|
520
942
|
* @summary Retrieve the claim
|
|
@@ -536,6 +958,28 @@ var ClaimsApiFp = function (configuration) {
|
|
|
536
958
|
});
|
|
537
959
|
});
|
|
538
960
|
},
|
|
961
|
+
/**
|
|
962
|
+
* This will fetch the identified claim from the database by code **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.
|
|
963
|
+
* @summary Retrieve the claim
|
|
964
|
+
* @param {string} code
|
|
965
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
966
|
+
* @param {*} [options] Override http request option.
|
|
967
|
+
* @deprecated
|
|
968
|
+
* @throws {RequiredError}
|
|
969
|
+
*/
|
|
970
|
+
getClaim1: function (code, authorization, options) {
|
|
971
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
972
|
+
var localVarAxiosArgs;
|
|
973
|
+
return __generator(this, function (_a) {
|
|
974
|
+
switch (_a.label) {
|
|
975
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaim1(code, authorization, options)];
|
|
976
|
+
case 1:
|
|
977
|
+
localVarAxiosArgs = _a.sent();
|
|
978
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
979
|
+
}
|
|
980
|
+
});
|
|
981
|
+
});
|
|
982
|
+
},
|
|
539
983
|
/**
|
|
540
984
|
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
|
|
541
985
|
* @summary Retrieve the claim regulation summary
|
|
@@ -557,17 +1001,39 @@ var ClaimsApiFp = function (configuration) {
|
|
|
557
1001
|
});
|
|
558
1002
|
});
|
|
559
1003
|
},
|
|
1004
|
+
/**
|
|
1005
|
+
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1006
|
+
* @summary Retrieve the claim regulation summary
|
|
1007
|
+
* @param {string} code Unique identifier for the object.
|
|
1008
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1009
|
+
* @param {*} [options] Override http request option.
|
|
1010
|
+
* @deprecated
|
|
1011
|
+
* @throws {RequiredError}
|
|
1012
|
+
*/
|
|
1013
|
+
getClaimRegulationSummary1: function (code, authorization, options) {
|
|
1014
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1015
|
+
var localVarAxiosArgs;
|
|
1016
|
+
return __generator(this, function (_a) {
|
|
1017
|
+
switch (_a.label) {
|
|
1018
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimRegulationSummary1(code, authorization, options)];
|
|
1019
|
+
case 1:
|
|
1020
|
+
localVarAxiosArgs = _a.sent();
|
|
1021
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1022
|
+
}
|
|
1023
|
+
});
|
|
1024
|
+
});
|
|
1025
|
+
},
|
|
560
1026
|
/**
|
|
561
1027
|
* Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
|
|
562
1028
|
* @summary List claims
|
|
563
1029
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
564
1030
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
565
1031
|
* @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.
|
|
566
|
-
* @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: policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
1032
|
+
* @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, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
567
1033
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, policyCode, accountCode, productName, claimNumber, policyNumber, damageDate, notificationDate, description, status</i>
|
|
568
1034
|
* @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, accountCode, status, claimNumber, policyNumber, damageDate, notificationDate, description, createdAt, updatedAt</i>
|
|
569
1035
|
* @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/> <i>Allowed values: partners<i>
|
|
570
|
-
* @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: policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
1036
|
+
* @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, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
571
1037
|
* @param {*} [options] Override http request option.
|
|
572
1038
|
* @throws {RequiredError}
|
|
573
1039
|
*/
|
|
@@ -584,6 +1050,34 @@ var ClaimsApiFp = function (configuration) {
|
|
|
584
1050
|
});
|
|
585
1051
|
});
|
|
586
1052
|
},
|
|
1053
|
+
/**
|
|
1054
|
+
* Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **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.
|
|
1055
|
+
* @summary List claims
|
|
1056
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1057
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1058
|
+
* @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.
|
|
1059
|
+
* @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, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
1060
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, policyCode, accountCode, productName, claimNumber, policyNumber, damageDate, notificationDate, description, status</i>
|
|
1061
|
+
* @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, accountCode, status, claimNumber, policyNumber, damageDate, notificationDate, description, createdAt, updatedAt</i>
|
|
1062
|
+
* @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/> <i>Allowed values: partners<i>
|
|
1063
|
+
* @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, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
1064
|
+
* @param {*} [options] Override http request option.
|
|
1065
|
+
* @deprecated
|
|
1066
|
+
* @throws {RequiredError}
|
|
1067
|
+
*/
|
|
1068
|
+
listClaims1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1069
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1070
|
+
var localVarAxiosArgs;
|
|
1071
|
+
return __generator(this, function (_a) {
|
|
1072
|
+
switch (_a.label) {
|
|
1073
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaims1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
1074
|
+
case 1:
|
|
1075
|
+
localVarAxiosArgs = _a.sent();
|
|
1076
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1077
|
+
}
|
|
1078
|
+
});
|
|
1079
|
+
});
|
|
1080
|
+
},
|
|
587
1081
|
/**
|
|
588
1082
|
* Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
|
|
589
1083
|
* @summary Patch the claim
|
|
@@ -606,6 +1100,29 @@ var ClaimsApiFp = function (configuration) {
|
|
|
606
1100
|
});
|
|
607
1101
|
});
|
|
608
1102
|
},
|
|
1103
|
+
/**
|
|
1104
|
+
* Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged. **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.
|
|
1105
|
+
* @summary Patch the claim
|
|
1106
|
+
* @param {string} code
|
|
1107
|
+
* @param {PatchClaimRequestDto} patchClaimRequestDto
|
|
1108
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1109
|
+
* @param {*} [options] Override http request option.
|
|
1110
|
+
* @deprecated
|
|
1111
|
+
* @throws {RequiredError}
|
|
1112
|
+
*/
|
|
1113
|
+
patchClaim1: function (code, patchClaimRequestDto, authorization, options) {
|
|
1114
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1115
|
+
var localVarAxiosArgs;
|
|
1116
|
+
return __generator(this, function (_a) {
|
|
1117
|
+
switch (_a.label) {
|
|
1118
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchClaim1(code, patchClaimRequestDto, authorization, options)];
|
|
1119
|
+
case 1:
|
|
1120
|
+
localVarAxiosArgs = _a.sent();
|
|
1121
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1122
|
+
}
|
|
1123
|
+
});
|
|
1124
|
+
});
|
|
1125
|
+
},
|
|
609
1126
|
/**
|
|
610
1127
|
* This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
|
|
611
1128
|
* @summary Update the claim
|
|
@@ -628,6 +1145,29 @@ var ClaimsApiFp = function (configuration) {
|
|
|
628
1145
|
});
|
|
629
1146
|
});
|
|
630
1147
|
},
|
|
1148
|
+
/**
|
|
1149
|
+
* This will update the identified claim in the database **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.
|
|
1150
|
+
* @summary Update the claim
|
|
1151
|
+
* @param {string} code
|
|
1152
|
+
* @param {UpdateClaimRequestDto} updateClaimRequestDto
|
|
1153
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1154
|
+
* @param {*} [options] Override http request option.
|
|
1155
|
+
* @deprecated
|
|
1156
|
+
* @throws {RequiredError}
|
|
1157
|
+
*/
|
|
1158
|
+
updateClaim1: function (code, updateClaimRequestDto, authorization, options) {
|
|
1159
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1160
|
+
var localVarAxiosArgs;
|
|
1161
|
+
return __generator(this, function (_a) {
|
|
1162
|
+
switch (_a.label) {
|
|
1163
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaim1(code, updateClaimRequestDto, authorization, options)];
|
|
1164
|
+
case 1:
|
|
1165
|
+
localVarAxiosArgs = _a.sent();
|
|
1166
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1167
|
+
}
|
|
1168
|
+
});
|
|
1169
|
+
});
|
|
1170
|
+
},
|
|
631
1171
|
};
|
|
632
1172
|
};
|
|
633
1173
|
exports.ClaimsApiFp = ClaimsApiFp;
|
|
@@ -649,6 +1189,18 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
649
1189
|
createClaim: function (createClaimRequestDto, authorization, options) {
|
|
650
1190
|
return localVarFp.createClaim(createClaimRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
651
1191
|
},
|
|
1192
|
+
/**
|
|
1193
|
+
* This will create a claim in the database **Required Permissions** \"claim-management.claims.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1194
|
+
* @summary Create the claim
|
|
1195
|
+
* @param {CreateClaimRequestDto} createClaimRequestDto
|
|
1196
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1197
|
+
* @param {*} [options] Override http request option.
|
|
1198
|
+
* @deprecated
|
|
1199
|
+
* @throws {RequiredError}
|
|
1200
|
+
*/
|
|
1201
|
+
createClaim1: function (createClaimRequestDto, authorization, options) {
|
|
1202
|
+
return localVarFp.createClaim1(createClaimRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1203
|
+
},
|
|
652
1204
|
/**
|
|
653
1205
|
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
654
1206
|
* @summary Delete the claim
|
|
@@ -660,6 +1212,18 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
660
1212
|
deleteClaim: function (code, authorization, options) {
|
|
661
1213
|
return localVarFp.deleteClaim(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
662
1214
|
},
|
|
1215
|
+
/**
|
|
1216
|
+
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1217
|
+
* @summary Delete the claim
|
|
1218
|
+
* @param {string} code
|
|
1219
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1220
|
+
* @param {*} [options] Override http request option.
|
|
1221
|
+
* @deprecated
|
|
1222
|
+
* @throws {RequiredError}
|
|
1223
|
+
*/
|
|
1224
|
+
deleteClaim1: function (code, authorization, options) {
|
|
1225
|
+
return localVarFp.deleteClaim1(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1226
|
+
},
|
|
663
1227
|
/**
|
|
664
1228
|
* This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
|
|
665
1229
|
* @summary Retrieve the claim
|
|
@@ -671,6 +1235,18 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
671
1235
|
getClaim: function (code, authorization, options) {
|
|
672
1236
|
return localVarFp.getClaim(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
673
1237
|
},
|
|
1238
|
+
/**
|
|
1239
|
+
* This will fetch the identified claim from the database by code **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.
|
|
1240
|
+
* @summary Retrieve the claim
|
|
1241
|
+
* @param {string} code
|
|
1242
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1243
|
+
* @param {*} [options] Override http request option.
|
|
1244
|
+
* @deprecated
|
|
1245
|
+
* @throws {RequiredError}
|
|
1246
|
+
*/
|
|
1247
|
+
getClaim1: function (code, authorization, options) {
|
|
1248
|
+
return localVarFp.getClaim1(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1249
|
+
},
|
|
674
1250
|
/**
|
|
675
1251
|
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
|
|
676
1252
|
* @summary Retrieve the claim regulation summary
|
|
@@ -682,23 +1258,53 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
682
1258
|
getClaimRegulationSummary: function (code, authorization, options) {
|
|
683
1259
|
return localVarFp.getClaimRegulationSummary(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
684
1260
|
},
|
|
1261
|
+
/**
|
|
1262
|
+
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1263
|
+
* @summary Retrieve the claim regulation summary
|
|
1264
|
+
* @param {string} code Unique identifier for the object.
|
|
1265
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1266
|
+
* @param {*} [options] Override http request option.
|
|
1267
|
+
* @deprecated
|
|
1268
|
+
* @throws {RequiredError}
|
|
1269
|
+
*/
|
|
1270
|
+
getClaimRegulationSummary1: function (code, authorization, options) {
|
|
1271
|
+
return localVarFp.getClaimRegulationSummary1(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1272
|
+
},
|
|
685
1273
|
/**
|
|
686
1274
|
* Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
|
|
687
1275
|
* @summary List claims
|
|
688
1276
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
689
1277
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
690
1278
|
* @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.
|
|
691
|
-
* @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: policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
1279
|
+
* @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, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
692
1280
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, policyCode, accountCode, productName, claimNumber, policyNumber, damageDate, notificationDate, description, status</i>
|
|
693
1281
|
* @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, accountCode, status, claimNumber, policyNumber, damageDate, notificationDate, description, createdAt, updatedAt</i>
|
|
694
1282
|
* @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/> <i>Allowed values: partners<i>
|
|
695
|
-
* @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: policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
1283
|
+
* @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, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
696
1284
|
* @param {*} [options] Override http request option.
|
|
697
1285
|
* @throws {RequiredError}
|
|
698
1286
|
*/
|
|
699
1287
|
listClaims: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
700
1288
|
return localVarFp.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
701
1289
|
},
|
|
1290
|
+
/**
|
|
1291
|
+
* Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **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.
|
|
1292
|
+
* @summary List claims
|
|
1293
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1294
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1295
|
+
* @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.
|
|
1296
|
+
* @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, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
1297
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, policyCode, accountCode, productName, claimNumber, policyNumber, damageDate, notificationDate, description, status</i>
|
|
1298
|
+
* @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, accountCode, status, claimNumber, policyNumber, damageDate, notificationDate, description, createdAt, updatedAt</i>
|
|
1299
|
+
* @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/> <i>Allowed values: partners<i>
|
|
1300
|
+
* @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, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
1301
|
+
* @param {*} [options] Override http request option.
|
|
1302
|
+
* @deprecated
|
|
1303
|
+
* @throws {RequiredError}
|
|
1304
|
+
*/
|
|
1305
|
+
listClaims1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1306
|
+
return localVarFp.listClaims1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
1307
|
+
},
|
|
702
1308
|
/**
|
|
703
1309
|
* Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
|
|
704
1310
|
* @summary Patch the claim
|
|
@@ -711,6 +1317,19 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
711
1317
|
patchClaim: function (code, patchClaimRequestDto, authorization, options) {
|
|
712
1318
|
return localVarFp.patchClaim(code, patchClaimRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
713
1319
|
},
|
|
1320
|
+
/**
|
|
1321
|
+
* Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged. **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.
|
|
1322
|
+
* @summary Patch the claim
|
|
1323
|
+
* @param {string} code
|
|
1324
|
+
* @param {PatchClaimRequestDto} patchClaimRequestDto
|
|
1325
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1326
|
+
* @param {*} [options] Override http request option.
|
|
1327
|
+
* @deprecated
|
|
1328
|
+
* @throws {RequiredError}
|
|
1329
|
+
*/
|
|
1330
|
+
patchClaim1: function (code, patchClaimRequestDto, authorization, options) {
|
|
1331
|
+
return localVarFp.patchClaim1(code, patchClaimRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1332
|
+
},
|
|
714
1333
|
/**
|
|
715
1334
|
* This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
|
|
716
1335
|
* @summary Update the claim
|
|
@@ -723,6 +1342,19 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
723
1342
|
updateClaim: function (code, updateClaimRequestDto, authorization, options) {
|
|
724
1343
|
return localVarFp.updateClaim(code, updateClaimRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
725
1344
|
},
|
|
1345
|
+
/**
|
|
1346
|
+
* This will update the identified claim in the database **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.
|
|
1347
|
+
* @summary Update the claim
|
|
1348
|
+
* @param {string} code
|
|
1349
|
+
* @param {UpdateClaimRequestDto} updateClaimRequestDto
|
|
1350
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1351
|
+
* @param {*} [options] Override http request option.
|
|
1352
|
+
* @deprecated
|
|
1353
|
+
* @throws {RequiredError}
|
|
1354
|
+
*/
|
|
1355
|
+
updateClaim1: function (code, updateClaimRequestDto, authorization, options) {
|
|
1356
|
+
return localVarFp.updateClaim1(code, updateClaimRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1357
|
+
},
|
|
726
1358
|
};
|
|
727
1359
|
};
|
|
728
1360
|
exports.ClaimsApiFactory = ClaimsApiFactory;
|
|
@@ -749,6 +1381,19 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
749
1381
|
var _this = this;
|
|
750
1382
|
return (0, exports.ClaimsApiFp)(this.configuration).createClaim(requestParameters.createClaimRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
751
1383
|
};
|
|
1384
|
+
/**
|
|
1385
|
+
* This will create a claim in the database **Required Permissions** \"claim-management.claims.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1386
|
+
* @summary Create the claim
|
|
1387
|
+
* @param {ClaimsApiCreateClaim1Request} requestParameters Request parameters.
|
|
1388
|
+
* @param {*} [options] Override http request option.
|
|
1389
|
+
* @deprecated
|
|
1390
|
+
* @throws {RequiredError}
|
|
1391
|
+
* @memberof ClaimsApi
|
|
1392
|
+
*/
|
|
1393
|
+
ClaimsApi.prototype.createClaim1 = function (requestParameters, options) {
|
|
1394
|
+
var _this = this;
|
|
1395
|
+
return (0, exports.ClaimsApiFp)(this.configuration).createClaim1(requestParameters.createClaimRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1396
|
+
};
|
|
752
1397
|
/**
|
|
753
1398
|
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
754
1399
|
* @summary Delete the claim
|
|
@@ -761,6 +1406,19 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
761
1406
|
var _this = this;
|
|
762
1407
|
return (0, exports.ClaimsApiFp)(this.configuration).deleteClaim(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
763
1408
|
};
|
|
1409
|
+
/**
|
|
1410
|
+
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1411
|
+
* @summary Delete the claim
|
|
1412
|
+
* @param {ClaimsApiDeleteClaim1Request} requestParameters Request parameters.
|
|
1413
|
+
* @param {*} [options] Override http request option.
|
|
1414
|
+
* @deprecated
|
|
1415
|
+
* @throws {RequiredError}
|
|
1416
|
+
* @memberof ClaimsApi
|
|
1417
|
+
*/
|
|
1418
|
+
ClaimsApi.prototype.deleteClaim1 = function (requestParameters, options) {
|
|
1419
|
+
var _this = this;
|
|
1420
|
+
return (0, exports.ClaimsApiFp)(this.configuration).deleteClaim1(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1421
|
+
};
|
|
764
1422
|
/**
|
|
765
1423
|
* This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
|
|
766
1424
|
* @summary Retrieve the claim
|
|
@@ -773,6 +1431,19 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
773
1431
|
var _this = this;
|
|
774
1432
|
return (0, exports.ClaimsApiFp)(this.configuration).getClaim(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
775
1433
|
};
|
|
1434
|
+
/**
|
|
1435
|
+
* This will fetch the identified claim from the database by code **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.
|
|
1436
|
+
* @summary Retrieve the claim
|
|
1437
|
+
* @param {ClaimsApiGetClaim1Request} requestParameters Request parameters.
|
|
1438
|
+
* @param {*} [options] Override http request option.
|
|
1439
|
+
* @deprecated
|
|
1440
|
+
* @throws {RequiredError}
|
|
1441
|
+
* @memberof ClaimsApi
|
|
1442
|
+
*/
|
|
1443
|
+
ClaimsApi.prototype.getClaim1 = function (requestParameters, options) {
|
|
1444
|
+
var _this = this;
|
|
1445
|
+
return (0, exports.ClaimsApiFp)(this.configuration).getClaim1(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1446
|
+
};
|
|
776
1447
|
/**
|
|
777
1448
|
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
|
|
778
1449
|
* @summary Retrieve the claim regulation summary
|
|
@@ -785,6 +1456,19 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
785
1456
|
var _this = this;
|
|
786
1457
|
return (0, exports.ClaimsApiFp)(this.configuration).getClaimRegulationSummary(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
787
1458
|
};
|
|
1459
|
+
/**
|
|
1460
|
+
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1461
|
+
* @summary Retrieve the claim regulation summary
|
|
1462
|
+
* @param {ClaimsApiGetClaimRegulationSummary1Request} requestParameters Request parameters.
|
|
1463
|
+
* @param {*} [options] Override http request option.
|
|
1464
|
+
* @deprecated
|
|
1465
|
+
* @throws {RequiredError}
|
|
1466
|
+
* @memberof ClaimsApi
|
|
1467
|
+
*/
|
|
1468
|
+
ClaimsApi.prototype.getClaimRegulationSummary1 = function (requestParameters, options) {
|
|
1469
|
+
var _this = this;
|
|
1470
|
+
return (0, exports.ClaimsApiFp)(this.configuration).getClaimRegulationSummary1(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1471
|
+
};
|
|
788
1472
|
/**
|
|
789
1473
|
* Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
|
|
790
1474
|
* @summary List claims
|
|
@@ -798,6 +1482,20 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
798
1482
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
799
1483
|
return (0, exports.ClaimsApiFp)(this.configuration).listClaims(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
800
1484
|
};
|
|
1485
|
+
/**
|
|
1486
|
+
* Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **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.
|
|
1487
|
+
* @summary List claims
|
|
1488
|
+
* @param {ClaimsApiListClaims1Request} requestParameters Request parameters.
|
|
1489
|
+
* @param {*} [options] Override http request option.
|
|
1490
|
+
* @deprecated
|
|
1491
|
+
* @throws {RequiredError}
|
|
1492
|
+
* @memberof ClaimsApi
|
|
1493
|
+
*/
|
|
1494
|
+
ClaimsApi.prototype.listClaims1 = function (requestParameters, options) {
|
|
1495
|
+
var _this = this;
|
|
1496
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1497
|
+
return (0, exports.ClaimsApiFp)(this.configuration).listClaims1(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1498
|
+
};
|
|
801
1499
|
/**
|
|
802
1500
|
* Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
|
|
803
1501
|
* @summary Patch the claim
|
|
@@ -810,6 +1508,19 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
810
1508
|
var _this = this;
|
|
811
1509
|
return (0, exports.ClaimsApiFp)(this.configuration).patchClaim(requestParameters.code, requestParameters.patchClaimRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
812
1510
|
};
|
|
1511
|
+
/**
|
|
1512
|
+
* Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged. **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.
|
|
1513
|
+
* @summary Patch the claim
|
|
1514
|
+
* @param {ClaimsApiPatchClaim1Request} requestParameters Request parameters.
|
|
1515
|
+
* @param {*} [options] Override http request option.
|
|
1516
|
+
* @deprecated
|
|
1517
|
+
* @throws {RequiredError}
|
|
1518
|
+
* @memberof ClaimsApi
|
|
1519
|
+
*/
|
|
1520
|
+
ClaimsApi.prototype.patchClaim1 = function (requestParameters, options) {
|
|
1521
|
+
var _this = this;
|
|
1522
|
+
return (0, exports.ClaimsApiFp)(this.configuration).patchClaim1(requestParameters.code, requestParameters.patchClaimRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1523
|
+
};
|
|
813
1524
|
/**
|
|
814
1525
|
* This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
|
|
815
1526
|
* @summary Update the claim
|
|
@@ -822,6 +1533,19 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
822
1533
|
var _this = this;
|
|
823
1534
|
return (0, exports.ClaimsApiFp)(this.configuration).updateClaim(requestParameters.code, requestParameters.updateClaimRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
824
1535
|
};
|
|
1536
|
+
/**
|
|
1537
|
+
* This will update the identified claim in the database **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.
|
|
1538
|
+
* @summary Update the claim
|
|
1539
|
+
* @param {ClaimsApiUpdateClaim1Request} requestParameters Request parameters.
|
|
1540
|
+
* @param {*} [options] Override http request option.
|
|
1541
|
+
* @deprecated
|
|
1542
|
+
* @throws {RequiredError}
|
|
1543
|
+
* @memberof ClaimsApi
|
|
1544
|
+
*/
|
|
1545
|
+
ClaimsApi.prototype.updateClaim1 = function (requestParameters, options) {
|
|
1546
|
+
var _this = this;
|
|
1547
|
+
return (0, exports.ClaimsApiFp)(this.configuration).updateClaim1(requestParameters.code, requestParameters.updateClaimRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1548
|
+
};
|
|
825
1549
|
return ClaimsApi;
|
|
826
1550
|
}(base_1.BaseAPI));
|
|
827
1551
|
exports.ClaimsApi = ClaimsApi;
|