@emilgroup/claim-sdk-node 1.41.1-beta.0 → 1.41.1-beta.1
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/README.md +2 -2
- package/api/claim-limit-usages-api.ts +53 -45
- package/api/claim-partner-roles-api.ts +127 -107
- package/api/claim-partners-api.ts +103 -87
- package/api/claim-positions-api.ts +181 -153
- package/api/claim-regulations-api.ts +128 -108
- package/api/claim-statuses-api.ts +153 -129
- package/api/claims-api.ts +177 -149
- package/api/health-check-api.ts +46 -38
- package/api/settlements-api.ts +127 -107
- package/dist/api/claim-limit-usages-api.d.ts +42 -34
- package/dist/api/claim-limit-usages-api.js +37 -29
- package/dist/api/claim-partner-roles-api.d.ts +97 -77
- package/dist/api/claim-partner-roles-api.js +95 -75
- package/dist/api/claim-partners-api.d.ts +79 -63
- package/dist/api/claim-partners-api.js +76 -60
- package/dist/api/claim-positions-api.d.ts +136 -108
- package/dist/api/claim-positions-api.js +136 -108
- package/dist/api/claim-regulations-api.d.ts +98 -78
- package/dist/api/claim-regulations-api.js +95 -75
- package/dist/api/claim-statuses-api.d.ts +116 -92
- package/dist/api/claim-statuses-api.js +115 -91
- package/dist/api/claims-api.d.ts +134 -106
- package/dist/api/claims-api.js +134 -106
- package/dist/api/health-check-api.d.ts +32 -24
- package/dist/api/health-check-api.js +46 -38
- package/dist/api/settlements-api.d.ts +97 -77
- package/dist/api/settlements-api.js +95 -75
- package/package.json +1 -1
package/dist/api/claims-api.js
CHANGED
|
@@ -104,7 +104,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
104
104
|
* @param {*} [options] Override http request option.
|
|
105
105
|
* @throws {RequiredError}
|
|
106
106
|
*/
|
|
107
|
-
|
|
107
|
+
createClaim: function (createClaimRequestDto, authorization, options) {
|
|
108
108
|
if (options === void 0) { options = {}; }
|
|
109
109
|
return __awaiter(_this, void 0, void 0, function () {
|
|
110
110
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -112,8 +112,8 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
112
112
|
switch (_a.label) {
|
|
113
113
|
case 0:
|
|
114
114
|
// verify required parameter 'createClaimRequestDto' is not null or undefined
|
|
115
|
-
(0, common_1.assertParamExists)('
|
|
116
|
-
localVarPath = "/v1/claims";
|
|
115
|
+
(0, common_1.assertParamExists)('createClaim', 'createClaimRequestDto', createClaimRequestDto);
|
|
116
|
+
localVarPath = "/claimservice/v1/claims";
|
|
117
117
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
118
118
|
if (configuration) {
|
|
119
119
|
baseOptions = configuration.baseOptions;
|
|
@@ -146,11 +146,12 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
146
146
|
});
|
|
147
147
|
},
|
|
148
148
|
/**
|
|
149
|
-
* This will create a claim in the database **Required Permissions** \"claim-management.claims.create\"
|
|
149
|
+
* 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.
|
|
150
150
|
* @summary Create the claim
|
|
151
151
|
* @param {CreateClaimRequestDto} createClaimRequestDto
|
|
152
152
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
153
153
|
* @param {*} [options] Override http request option.
|
|
154
|
+
* @deprecated
|
|
154
155
|
* @throws {RequiredError}
|
|
155
156
|
*/
|
|
156
157
|
createClaim1: function (createClaimRequestDto, authorization, options) {
|
|
@@ -162,7 +163,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
162
163
|
case 0:
|
|
163
164
|
// verify required parameter 'createClaimRequestDto' is not null or undefined
|
|
164
165
|
(0, common_1.assertParamExists)('createClaim1', 'createClaimRequestDto', createClaimRequestDto);
|
|
165
|
-
localVarPath = "/
|
|
166
|
+
localVarPath = "/v1/claims";
|
|
166
167
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
167
168
|
if (configuration) {
|
|
168
169
|
baseOptions = configuration.baseOptions;
|
|
@@ -202,7 +203,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
202
203
|
* @param {*} [options] Override http request option.
|
|
203
204
|
* @throws {RequiredError}
|
|
204
205
|
*/
|
|
205
|
-
|
|
206
|
+
deleteClaim: function (code, authorization, options) {
|
|
206
207
|
if (options === void 0) { options = {}; }
|
|
207
208
|
return __awaiter(_this, void 0, void 0, function () {
|
|
208
209
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -210,8 +211,8 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
210
211
|
switch (_a.label) {
|
|
211
212
|
case 0:
|
|
212
213
|
// verify required parameter 'code' is not null or undefined
|
|
213
|
-
(0, common_1.assertParamExists)('
|
|
214
|
-
localVarPath = "/v1/claims/{code}"
|
|
214
|
+
(0, common_1.assertParamExists)('deleteClaim', 'code', code);
|
|
215
|
+
localVarPath = "/claimservice/v1/claims/{code}"
|
|
215
216
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
216
217
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
217
218
|
if (configuration) {
|
|
@@ -243,11 +244,12 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
243
244
|
});
|
|
244
245
|
},
|
|
245
246
|
/**
|
|
246
|
-
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
247
|
+
* 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.
|
|
247
248
|
* @summary Delete the claim
|
|
248
249
|
* @param {string} code
|
|
249
250
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
250
251
|
* @param {*} [options] Override http request option.
|
|
252
|
+
* @deprecated
|
|
251
253
|
* @throws {RequiredError}
|
|
252
254
|
*/
|
|
253
255
|
deleteClaim1: function (code, authorization, options) {
|
|
@@ -259,7 +261,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
259
261
|
case 0:
|
|
260
262
|
// verify required parameter 'code' is not null or undefined
|
|
261
263
|
(0, common_1.assertParamExists)('deleteClaim1', 'code', code);
|
|
262
|
-
localVarPath = "/
|
|
264
|
+
localVarPath = "/v1/claims/{code}"
|
|
263
265
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
264
266
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
265
267
|
if (configuration) {
|
|
@@ -298,7 +300,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
298
300
|
* @param {*} [options] Override http request option.
|
|
299
301
|
* @throws {RequiredError}
|
|
300
302
|
*/
|
|
301
|
-
|
|
303
|
+
getClaim: function (code, authorization, options) {
|
|
302
304
|
if (options === void 0) { options = {}; }
|
|
303
305
|
return __awaiter(_this, void 0, void 0, function () {
|
|
304
306
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -306,8 +308,8 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
306
308
|
switch (_a.label) {
|
|
307
309
|
case 0:
|
|
308
310
|
// verify required parameter 'code' is not null or undefined
|
|
309
|
-
(0, common_1.assertParamExists)('
|
|
310
|
-
localVarPath = "/v1/claims/{code}"
|
|
311
|
+
(0, common_1.assertParamExists)('getClaim', 'code', code);
|
|
312
|
+
localVarPath = "/claimservice/v1/claims/{code}"
|
|
311
313
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
312
314
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
313
315
|
if (configuration) {
|
|
@@ -339,11 +341,12 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
339
341
|
});
|
|
340
342
|
},
|
|
341
343
|
/**
|
|
342
|
-
* This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
|
|
344
|
+
* 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.
|
|
343
345
|
* @summary Retrieve the claim
|
|
344
346
|
* @param {string} code
|
|
345
347
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
346
348
|
* @param {*} [options] Override http request option.
|
|
349
|
+
* @deprecated
|
|
347
350
|
* @throws {RequiredError}
|
|
348
351
|
*/
|
|
349
352
|
getClaim1: function (code, authorization, options) {
|
|
@@ -355,7 +358,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
355
358
|
case 0:
|
|
356
359
|
// verify required parameter 'code' is not null or undefined
|
|
357
360
|
(0, common_1.assertParamExists)('getClaim1', 'code', code);
|
|
358
|
-
localVarPath = "/
|
|
361
|
+
localVarPath = "/v1/claims/{code}"
|
|
359
362
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
360
363
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
361
364
|
if (configuration) {
|
|
@@ -394,7 +397,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
394
397
|
* @param {*} [options] Override http request option.
|
|
395
398
|
* @throws {RequiredError}
|
|
396
399
|
*/
|
|
397
|
-
|
|
400
|
+
getClaimRegulationSummary: function (code, authorization, options) {
|
|
398
401
|
if (options === void 0) { options = {}; }
|
|
399
402
|
return __awaiter(_this, void 0, void 0, function () {
|
|
400
403
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -402,8 +405,8 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
402
405
|
switch (_a.label) {
|
|
403
406
|
case 0:
|
|
404
407
|
// verify required parameter 'code' is not null or undefined
|
|
405
|
-
(0, common_1.assertParamExists)('
|
|
406
|
-
localVarPath = "/v1/claims/{code}/regulations/summary"
|
|
408
|
+
(0, common_1.assertParamExists)('getClaimRegulationSummary', 'code', code);
|
|
409
|
+
localVarPath = "/claimservice/v1/claims/{code}/regulations/summary"
|
|
407
410
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
408
411
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
409
412
|
if (configuration) {
|
|
@@ -435,11 +438,12 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
435
438
|
});
|
|
436
439
|
},
|
|
437
440
|
/**
|
|
438
|
-
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
|
|
441
|
+
* 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.
|
|
439
442
|
* @summary Retrieve the claim regulation summary
|
|
440
443
|
* @param {string} code Unique identifier for the object.
|
|
441
444
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
442
445
|
* @param {*} [options] Override http request option.
|
|
446
|
+
* @deprecated
|
|
443
447
|
* @throws {RequiredError}
|
|
444
448
|
*/
|
|
445
449
|
getClaimRegulationSummary1: function (code, authorization, options) {
|
|
@@ -451,7 +455,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
451
455
|
case 0:
|
|
452
456
|
// verify required parameter 'code' is not null or undefined
|
|
453
457
|
(0, common_1.assertParamExists)('getClaimRegulationSummary1', 'code', code);
|
|
454
|
-
localVarPath = "/
|
|
458
|
+
localVarPath = "/v1/claims/{code}/regulations/summary"
|
|
455
459
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
456
460
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
457
461
|
if (configuration) {
|
|
@@ -496,14 +500,14 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
496
500
|
* @param {*} [options] Override http request option.
|
|
497
501
|
* @throws {RequiredError}
|
|
498
502
|
*/
|
|
499
|
-
|
|
503
|
+
listClaims: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
500
504
|
if (options === void 0) { options = {}; }
|
|
501
505
|
return __awaiter(_this, void 0, void 0, function () {
|
|
502
506
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
503
507
|
return __generator(this, function (_a) {
|
|
504
508
|
switch (_a.label) {
|
|
505
509
|
case 0:
|
|
506
|
-
localVarPath = "/v1/claims";
|
|
510
|
+
localVarPath = "/claimservice/v1/claims";
|
|
507
511
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
508
512
|
if (configuration) {
|
|
509
513
|
baseOptions = configuration.baseOptions;
|
|
@@ -555,7 +559,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
555
559
|
});
|
|
556
560
|
},
|
|
557
561
|
/**
|
|
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\"
|
|
562
|
+
* 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
563
|
* @summary List claims
|
|
560
564
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
561
565
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -566,6 +570,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
566
570
|
* @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, appliedDeductibles<i>
|
|
567
571
|
* @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, adjuster, adjusterCode, damageDate, notificationDate, status, claimType</i>
|
|
568
572
|
* @param {*} [options] Override http request option.
|
|
573
|
+
* @deprecated
|
|
569
574
|
* @throws {RequiredError}
|
|
570
575
|
*/
|
|
571
576
|
listClaims1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -575,7 +580,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
575
580
|
return __generator(this, function (_a) {
|
|
576
581
|
switch (_a.label) {
|
|
577
582
|
case 0:
|
|
578
|
-
localVarPath = "/
|
|
583
|
+
localVarPath = "/v1/claims";
|
|
579
584
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
580
585
|
if (configuration) {
|
|
581
586
|
baseOptions = configuration.baseOptions;
|
|
@@ -635,7 +640,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
635
640
|
* @param {*} [options] Override http request option.
|
|
636
641
|
* @throws {RequiredError}
|
|
637
642
|
*/
|
|
638
|
-
|
|
643
|
+
patchClaim: function (code, patchClaimRequestDto, authorization, options) {
|
|
639
644
|
if (options === void 0) { options = {}; }
|
|
640
645
|
return __awaiter(_this, void 0, void 0, function () {
|
|
641
646
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -643,10 +648,10 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
643
648
|
switch (_a.label) {
|
|
644
649
|
case 0:
|
|
645
650
|
// verify required parameter 'code' is not null or undefined
|
|
646
|
-
(0, common_1.assertParamExists)('
|
|
651
|
+
(0, common_1.assertParamExists)('patchClaim', 'code', code);
|
|
647
652
|
// verify required parameter 'patchClaimRequestDto' is not null or undefined
|
|
648
|
-
(0, common_1.assertParamExists)('
|
|
649
|
-
localVarPath = "/v1/claims/{code}"
|
|
653
|
+
(0, common_1.assertParamExists)('patchClaim', 'patchClaimRequestDto', patchClaimRequestDto);
|
|
654
|
+
localVarPath = "/claimservice/v1/claims/{code}"
|
|
650
655
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
651
656
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
652
657
|
if (configuration) {
|
|
@@ -680,12 +685,13 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
680
685
|
});
|
|
681
686
|
},
|
|
682
687
|
/**
|
|
683
|
-
* 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\"
|
|
688
|
+
* 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.
|
|
684
689
|
* @summary Patch the claim
|
|
685
690
|
* @param {string} code
|
|
686
691
|
* @param {PatchClaimRequestDto} patchClaimRequestDto
|
|
687
692
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
688
693
|
* @param {*} [options] Override http request option.
|
|
694
|
+
* @deprecated
|
|
689
695
|
* @throws {RequiredError}
|
|
690
696
|
*/
|
|
691
697
|
patchClaim1: function (code, patchClaimRequestDto, authorization, options) {
|
|
@@ -699,7 +705,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
699
705
|
(0, common_1.assertParamExists)('patchClaim1', 'code', code);
|
|
700
706
|
// verify required parameter 'patchClaimRequestDto' is not null or undefined
|
|
701
707
|
(0, common_1.assertParamExists)('patchClaim1', 'patchClaimRequestDto', patchClaimRequestDto);
|
|
702
|
-
localVarPath = "/
|
|
708
|
+
localVarPath = "/v1/claims/{code}"
|
|
703
709
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
704
710
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
705
711
|
if (configuration) {
|
|
@@ -741,7 +747,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
741
747
|
* @param {*} [options] Override http request option.
|
|
742
748
|
* @throws {RequiredError}
|
|
743
749
|
*/
|
|
744
|
-
|
|
750
|
+
updateClaim: function (code, updateClaimRequestDto, authorization, options) {
|
|
745
751
|
if (options === void 0) { options = {}; }
|
|
746
752
|
return __awaiter(_this, void 0, void 0, function () {
|
|
747
753
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -749,10 +755,10 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
749
755
|
switch (_a.label) {
|
|
750
756
|
case 0:
|
|
751
757
|
// verify required parameter 'code' is not null or undefined
|
|
752
|
-
(0, common_1.assertParamExists)('
|
|
758
|
+
(0, common_1.assertParamExists)('updateClaim', 'code', code);
|
|
753
759
|
// verify required parameter 'updateClaimRequestDto' is not null or undefined
|
|
754
|
-
(0, common_1.assertParamExists)('
|
|
755
|
-
localVarPath = "/v1/claims/{code}"
|
|
760
|
+
(0, common_1.assertParamExists)('updateClaim', 'updateClaimRequestDto', updateClaimRequestDto);
|
|
761
|
+
localVarPath = "/claimservice/v1/claims/{code}"
|
|
756
762
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
757
763
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
758
764
|
if (configuration) {
|
|
@@ -786,12 +792,13 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
786
792
|
});
|
|
787
793
|
},
|
|
788
794
|
/**
|
|
789
|
-
* This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
|
|
795
|
+
* 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.
|
|
790
796
|
* @summary Update the claim
|
|
791
797
|
* @param {string} code
|
|
792
798
|
* @param {UpdateClaimRequestDto} updateClaimRequestDto
|
|
793
799
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
794
800
|
* @param {*} [options] Override http request option.
|
|
801
|
+
* @deprecated
|
|
795
802
|
* @throws {RequiredError}
|
|
796
803
|
*/
|
|
797
804
|
updateClaim1: function (code, updateClaimRequestDto, authorization, options) {
|
|
@@ -805,7 +812,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
805
812
|
(0, common_1.assertParamExists)('updateClaim1', 'code', code);
|
|
806
813
|
// verify required parameter 'updateClaimRequestDto' is not null or undefined
|
|
807
814
|
(0, common_1.assertParamExists)('updateClaim1', 'updateClaimRequestDto', updateClaimRequestDto);
|
|
808
|
-
localVarPath = "/
|
|
815
|
+
localVarPath = "/v1/claims/{code}"
|
|
809
816
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
810
817
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
811
818
|
if (configuration) {
|
|
@@ -856,12 +863,12 @@ var ClaimsApiFp = function (configuration) {
|
|
|
856
863
|
* @param {*} [options] Override http request option.
|
|
857
864
|
* @throws {RequiredError}
|
|
858
865
|
*/
|
|
859
|
-
|
|
866
|
+
createClaim: function (createClaimRequestDto, authorization, options) {
|
|
860
867
|
return __awaiter(this, void 0, void 0, function () {
|
|
861
868
|
var localVarAxiosArgs;
|
|
862
869
|
return __generator(this, function (_a) {
|
|
863
870
|
switch (_a.label) {
|
|
864
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
871
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createClaim(createClaimRequestDto, authorization, options)];
|
|
865
872
|
case 1:
|
|
866
873
|
localVarAxiosArgs = _a.sent();
|
|
867
874
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -870,11 +877,12 @@ var ClaimsApiFp = function (configuration) {
|
|
|
870
877
|
});
|
|
871
878
|
},
|
|
872
879
|
/**
|
|
873
|
-
* This will create a claim in the database **Required Permissions** \"claim-management.claims.create\"
|
|
880
|
+
* 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.
|
|
874
881
|
* @summary Create the claim
|
|
875
882
|
* @param {CreateClaimRequestDto} createClaimRequestDto
|
|
876
883
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
877
884
|
* @param {*} [options] Override http request option.
|
|
885
|
+
* @deprecated
|
|
878
886
|
* @throws {RequiredError}
|
|
879
887
|
*/
|
|
880
888
|
createClaim1: function (createClaimRequestDto, authorization, options) {
|
|
@@ -898,12 +906,12 @@ var ClaimsApiFp = function (configuration) {
|
|
|
898
906
|
* @param {*} [options] Override http request option.
|
|
899
907
|
* @throws {RequiredError}
|
|
900
908
|
*/
|
|
901
|
-
|
|
909
|
+
deleteClaim: function (code, authorization, options) {
|
|
902
910
|
return __awaiter(this, void 0, void 0, function () {
|
|
903
911
|
var localVarAxiosArgs;
|
|
904
912
|
return __generator(this, function (_a) {
|
|
905
913
|
switch (_a.label) {
|
|
906
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
914
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteClaim(code, authorization, options)];
|
|
907
915
|
case 1:
|
|
908
916
|
localVarAxiosArgs = _a.sent();
|
|
909
917
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -912,11 +920,12 @@ var ClaimsApiFp = function (configuration) {
|
|
|
912
920
|
});
|
|
913
921
|
},
|
|
914
922
|
/**
|
|
915
|
-
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
923
|
+
* 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.
|
|
916
924
|
* @summary Delete the claim
|
|
917
925
|
* @param {string} code
|
|
918
926
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
919
927
|
* @param {*} [options] Override http request option.
|
|
928
|
+
* @deprecated
|
|
920
929
|
* @throws {RequiredError}
|
|
921
930
|
*/
|
|
922
931
|
deleteClaim1: function (code, authorization, options) {
|
|
@@ -940,12 +949,12 @@ var ClaimsApiFp = function (configuration) {
|
|
|
940
949
|
* @param {*} [options] Override http request option.
|
|
941
950
|
* @throws {RequiredError}
|
|
942
951
|
*/
|
|
943
|
-
|
|
952
|
+
getClaim: function (code, authorization, options) {
|
|
944
953
|
return __awaiter(this, void 0, void 0, function () {
|
|
945
954
|
var localVarAxiosArgs;
|
|
946
955
|
return __generator(this, function (_a) {
|
|
947
956
|
switch (_a.label) {
|
|
948
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
957
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaim(code, authorization, options)];
|
|
949
958
|
case 1:
|
|
950
959
|
localVarAxiosArgs = _a.sent();
|
|
951
960
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -954,11 +963,12 @@ var ClaimsApiFp = function (configuration) {
|
|
|
954
963
|
});
|
|
955
964
|
},
|
|
956
965
|
/**
|
|
957
|
-
* This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
|
|
966
|
+
* 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.
|
|
958
967
|
* @summary Retrieve the claim
|
|
959
968
|
* @param {string} code
|
|
960
969
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
961
970
|
* @param {*} [options] Override http request option.
|
|
971
|
+
* @deprecated
|
|
962
972
|
* @throws {RequiredError}
|
|
963
973
|
*/
|
|
964
974
|
getClaim1: function (code, authorization, options) {
|
|
@@ -982,12 +992,12 @@ var ClaimsApiFp = function (configuration) {
|
|
|
982
992
|
* @param {*} [options] Override http request option.
|
|
983
993
|
* @throws {RequiredError}
|
|
984
994
|
*/
|
|
985
|
-
|
|
995
|
+
getClaimRegulationSummary: function (code, authorization, options) {
|
|
986
996
|
return __awaiter(this, void 0, void 0, function () {
|
|
987
997
|
var localVarAxiosArgs;
|
|
988
998
|
return __generator(this, function (_a) {
|
|
989
999
|
switch (_a.label) {
|
|
990
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
1000
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimRegulationSummary(code, authorization, options)];
|
|
991
1001
|
case 1:
|
|
992
1002
|
localVarAxiosArgs = _a.sent();
|
|
993
1003
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -996,11 +1006,12 @@ var ClaimsApiFp = function (configuration) {
|
|
|
996
1006
|
});
|
|
997
1007
|
},
|
|
998
1008
|
/**
|
|
999
|
-
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
|
|
1009
|
+
* 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.
|
|
1000
1010
|
* @summary Retrieve the claim regulation summary
|
|
1001
1011
|
* @param {string} code Unique identifier for the object.
|
|
1002
1012
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1003
1013
|
* @param {*} [options] Override http request option.
|
|
1014
|
+
* @deprecated
|
|
1004
1015
|
* @throws {RequiredError}
|
|
1005
1016
|
*/
|
|
1006
1017
|
getClaimRegulationSummary1: function (code, authorization, options) {
|
|
@@ -1030,12 +1041,12 @@ var ClaimsApiFp = function (configuration) {
|
|
|
1030
1041
|
* @param {*} [options] Override http request option.
|
|
1031
1042
|
* @throws {RequiredError}
|
|
1032
1043
|
*/
|
|
1033
|
-
|
|
1044
|
+
listClaims: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1034
1045
|
return __awaiter(this, void 0, void 0, function () {
|
|
1035
1046
|
var localVarAxiosArgs;
|
|
1036
1047
|
return __generator(this, function (_a) {
|
|
1037
1048
|
switch (_a.label) {
|
|
1038
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
1049
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
1039
1050
|
case 1:
|
|
1040
1051
|
localVarAxiosArgs = _a.sent();
|
|
1041
1052
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -1044,7 +1055,7 @@ var ClaimsApiFp = function (configuration) {
|
|
|
1044
1055
|
});
|
|
1045
1056
|
},
|
|
1046
1057
|
/**
|
|
1047
|
-
* 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\"
|
|
1058
|
+
* 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.
|
|
1048
1059
|
* @summary List claims
|
|
1049
1060
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1050
1061
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -1055,6 +1066,7 @@ var ClaimsApiFp = function (configuration) {
|
|
|
1055
1066
|
* @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, appliedDeductibles<i>
|
|
1056
1067
|
* @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, adjuster, adjusterCode, damageDate, notificationDate, status, claimType</i>
|
|
1057
1068
|
* @param {*} [options] Override http request option.
|
|
1069
|
+
* @deprecated
|
|
1058
1070
|
* @throws {RequiredError}
|
|
1059
1071
|
*/
|
|
1060
1072
|
listClaims1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -1079,12 +1091,12 @@ var ClaimsApiFp = function (configuration) {
|
|
|
1079
1091
|
* @param {*} [options] Override http request option.
|
|
1080
1092
|
* @throws {RequiredError}
|
|
1081
1093
|
*/
|
|
1082
|
-
|
|
1094
|
+
patchClaim: function (code, patchClaimRequestDto, authorization, options) {
|
|
1083
1095
|
return __awaiter(this, void 0, void 0, function () {
|
|
1084
1096
|
var localVarAxiosArgs;
|
|
1085
1097
|
return __generator(this, function (_a) {
|
|
1086
1098
|
switch (_a.label) {
|
|
1087
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
1099
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchClaim(code, patchClaimRequestDto, authorization, options)];
|
|
1088
1100
|
case 1:
|
|
1089
1101
|
localVarAxiosArgs = _a.sent();
|
|
1090
1102
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -1093,12 +1105,13 @@ var ClaimsApiFp = function (configuration) {
|
|
|
1093
1105
|
});
|
|
1094
1106
|
},
|
|
1095
1107
|
/**
|
|
1096
|
-
* 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\"
|
|
1108
|
+
* 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.
|
|
1097
1109
|
* @summary Patch the claim
|
|
1098
1110
|
* @param {string} code
|
|
1099
1111
|
* @param {PatchClaimRequestDto} patchClaimRequestDto
|
|
1100
1112
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1101
1113
|
* @param {*} [options] Override http request option.
|
|
1114
|
+
* @deprecated
|
|
1102
1115
|
* @throws {RequiredError}
|
|
1103
1116
|
*/
|
|
1104
1117
|
patchClaim1: function (code, patchClaimRequestDto, authorization, options) {
|
|
@@ -1123,12 +1136,12 @@ var ClaimsApiFp = function (configuration) {
|
|
|
1123
1136
|
* @param {*} [options] Override http request option.
|
|
1124
1137
|
* @throws {RequiredError}
|
|
1125
1138
|
*/
|
|
1126
|
-
|
|
1139
|
+
updateClaim: function (code, updateClaimRequestDto, authorization, options) {
|
|
1127
1140
|
return __awaiter(this, void 0, void 0, function () {
|
|
1128
1141
|
var localVarAxiosArgs;
|
|
1129
1142
|
return __generator(this, function (_a) {
|
|
1130
1143
|
switch (_a.label) {
|
|
1131
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
1144
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaim(code, updateClaimRequestDto, authorization, options)];
|
|
1132
1145
|
case 1:
|
|
1133
1146
|
localVarAxiosArgs = _a.sent();
|
|
1134
1147
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -1137,12 +1150,13 @@ var ClaimsApiFp = function (configuration) {
|
|
|
1137
1150
|
});
|
|
1138
1151
|
},
|
|
1139
1152
|
/**
|
|
1140
|
-
* This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
|
|
1153
|
+
* 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.
|
|
1141
1154
|
* @summary Update the claim
|
|
1142
1155
|
* @param {string} code
|
|
1143
1156
|
* @param {UpdateClaimRequestDto} updateClaimRequestDto
|
|
1144
1157
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1145
1158
|
* @param {*} [options] Override http request option.
|
|
1159
|
+
* @deprecated
|
|
1146
1160
|
* @throws {RequiredError}
|
|
1147
1161
|
*/
|
|
1148
1162
|
updateClaim1: function (code, updateClaimRequestDto, authorization, options) {
|
|
@@ -1176,15 +1190,16 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
1176
1190
|
* @param {*} [options] Override http request option.
|
|
1177
1191
|
* @throws {RequiredError}
|
|
1178
1192
|
*/
|
|
1179
|
-
|
|
1180
|
-
return localVarFp.
|
|
1193
|
+
createClaim: function (createClaimRequestDto, authorization, options) {
|
|
1194
|
+
return localVarFp.createClaim(createClaimRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1181
1195
|
},
|
|
1182
1196
|
/**
|
|
1183
|
-
* This will create a claim in the database **Required Permissions** \"claim-management.claims.create\"
|
|
1197
|
+
* 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.
|
|
1184
1198
|
* @summary Create the claim
|
|
1185
1199
|
* @param {CreateClaimRequestDto} createClaimRequestDto
|
|
1186
1200
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1187
1201
|
* @param {*} [options] Override http request option.
|
|
1202
|
+
* @deprecated
|
|
1188
1203
|
* @throws {RequiredError}
|
|
1189
1204
|
*/
|
|
1190
1205
|
createClaim1: function (createClaimRequestDto, authorization, options) {
|
|
@@ -1198,15 +1213,16 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
1198
1213
|
* @param {*} [options] Override http request option.
|
|
1199
1214
|
* @throws {RequiredError}
|
|
1200
1215
|
*/
|
|
1201
|
-
|
|
1202
|
-
return localVarFp.
|
|
1216
|
+
deleteClaim: function (code, authorization, options) {
|
|
1217
|
+
return localVarFp.deleteClaim(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1203
1218
|
},
|
|
1204
1219
|
/**
|
|
1205
|
-
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
1220
|
+
* 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.
|
|
1206
1221
|
* @summary Delete the claim
|
|
1207
1222
|
* @param {string} code
|
|
1208
1223
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1209
1224
|
* @param {*} [options] Override http request option.
|
|
1225
|
+
* @deprecated
|
|
1210
1226
|
* @throws {RequiredError}
|
|
1211
1227
|
*/
|
|
1212
1228
|
deleteClaim1: function (code, authorization, options) {
|
|
@@ -1220,15 +1236,16 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
1220
1236
|
* @param {*} [options] Override http request option.
|
|
1221
1237
|
* @throws {RequiredError}
|
|
1222
1238
|
*/
|
|
1223
|
-
|
|
1224
|
-
return localVarFp.
|
|
1239
|
+
getClaim: function (code, authorization, options) {
|
|
1240
|
+
return localVarFp.getClaim(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1225
1241
|
},
|
|
1226
1242
|
/**
|
|
1227
|
-
* This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
|
|
1243
|
+
* 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.
|
|
1228
1244
|
* @summary Retrieve the claim
|
|
1229
1245
|
* @param {string} code
|
|
1230
1246
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1231
1247
|
* @param {*} [options] Override http request option.
|
|
1248
|
+
* @deprecated
|
|
1232
1249
|
* @throws {RequiredError}
|
|
1233
1250
|
*/
|
|
1234
1251
|
getClaim1: function (code, authorization, options) {
|
|
@@ -1242,15 +1259,16 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
1242
1259
|
* @param {*} [options] Override http request option.
|
|
1243
1260
|
* @throws {RequiredError}
|
|
1244
1261
|
*/
|
|
1245
|
-
|
|
1246
|
-
return localVarFp.
|
|
1262
|
+
getClaimRegulationSummary: function (code, authorization, options) {
|
|
1263
|
+
return localVarFp.getClaimRegulationSummary(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1247
1264
|
},
|
|
1248
1265
|
/**
|
|
1249
|
-
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
|
|
1266
|
+
* 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.
|
|
1250
1267
|
* @summary Retrieve the claim regulation summary
|
|
1251
1268
|
* @param {string} code Unique identifier for the object.
|
|
1252
1269
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1253
1270
|
* @param {*} [options] Override http request option.
|
|
1271
|
+
* @deprecated
|
|
1254
1272
|
* @throws {RequiredError}
|
|
1255
1273
|
*/
|
|
1256
1274
|
getClaimRegulationSummary1: function (code, authorization, options) {
|
|
@@ -1270,11 +1288,11 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
1270
1288
|
* @param {*} [options] Override http request option.
|
|
1271
1289
|
* @throws {RequiredError}
|
|
1272
1290
|
*/
|
|
1273
|
-
|
|
1274
|
-
return localVarFp.
|
|
1291
|
+
listClaims: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1292
|
+
return localVarFp.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
1275
1293
|
},
|
|
1276
1294
|
/**
|
|
1277
|
-
* 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\"
|
|
1295
|
+
* 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.
|
|
1278
1296
|
* @summary List claims
|
|
1279
1297
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1280
1298
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -1285,6 +1303,7 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
1285
1303
|
* @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, appliedDeductibles<i>
|
|
1286
1304
|
* @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, adjuster, adjusterCode, damageDate, notificationDate, status, claimType</i>
|
|
1287
1305
|
* @param {*} [options] Override http request option.
|
|
1306
|
+
* @deprecated
|
|
1288
1307
|
* @throws {RequiredError}
|
|
1289
1308
|
*/
|
|
1290
1309
|
listClaims1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -1299,16 +1318,17 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
1299
1318
|
* @param {*} [options] Override http request option.
|
|
1300
1319
|
* @throws {RequiredError}
|
|
1301
1320
|
*/
|
|
1302
|
-
|
|
1303
|
-
return localVarFp.
|
|
1321
|
+
patchClaim: function (code, patchClaimRequestDto, authorization, options) {
|
|
1322
|
+
return localVarFp.patchClaim(code, patchClaimRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1304
1323
|
},
|
|
1305
1324
|
/**
|
|
1306
|
-
* 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\"
|
|
1325
|
+
* 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.
|
|
1307
1326
|
* @summary Patch the claim
|
|
1308
1327
|
* @param {string} code
|
|
1309
1328
|
* @param {PatchClaimRequestDto} patchClaimRequestDto
|
|
1310
1329
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1311
1330
|
* @param {*} [options] Override http request option.
|
|
1331
|
+
* @deprecated
|
|
1312
1332
|
* @throws {RequiredError}
|
|
1313
1333
|
*/
|
|
1314
1334
|
patchClaim1: function (code, patchClaimRequestDto, authorization, options) {
|
|
@@ -1323,16 +1343,17 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
1323
1343
|
* @param {*} [options] Override http request option.
|
|
1324
1344
|
* @throws {RequiredError}
|
|
1325
1345
|
*/
|
|
1326
|
-
|
|
1327
|
-
return localVarFp.
|
|
1346
|
+
updateClaim: function (code, updateClaimRequestDto, authorization, options) {
|
|
1347
|
+
return localVarFp.updateClaim(code, updateClaimRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1328
1348
|
},
|
|
1329
1349
|
/**
|
|
1330
|
-
* This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
|
|
1350
|
+
* 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.
|
|
1331
1351
|
* @summary Update the claim
|
|
1332
1352
|
* @param {string} code
|
|
1333
1353
|
* @param {UpdateClaimRequestDto} updateClaimRequestDto
|
|
1334
1354
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1335
1355
|
* @param {*} [options] Override http request option.
|
|
1356
|
+
* @deprecated
|
|
1336
1357
|
* @throws {RequiredError}
|
|
1337
1358
|
*/
|
|
1338
1359
|
updateClaim1: function (code, updateClaimRequestDto, authorization, options) {
|
|
@@ -1355,20 +1376,21 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
1355
1376
|
/**
|
|
1356
1377
|
* This will create a claim in the database **Required Permissions** \"claim-management.claims.create\"
|
|
1357
1378
|
* @summary Create the claim
|
|
1358
|
-
* @param {
|
|
1379
|
+
* @param {ClaimsApiCreateClaimRequest} requestParameters Request parameters.
|
|
1359
1380
|
* @param {*} [options] Override http request option.
|
|
1360
1381
|
* @throws {RequiredError}
|
|
1361
1382
|
* @memberof ClaimsApi
|
|
1362
1383
|
*/
|
|
1363
|
-
ClaimsApi.prototype.
|
|
1384
|
+
ClaimsApi.prototype.createClaim = function (requestParameters, options) {
|
|
1364
1385
|
var _this = this;
|
|
1365
|
-
return (0, exports.ClaimsApiFp)(this.configuration).
|
|
1386
|
+
return (0, exports.ClaimsApiFp)(this.configuration).createClaim(requestParameters.createClaimRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1366
1387
|
};
|
|
1367
1388
|
/**
|
|
1368
|
-
* This will create a claim in the database **Required Permissions** \"claim-management.claims.create\"
|
|
1389
|
+
* 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.
|
|
1369
1390
|
* @summary Create the claim
|
|
1370
1391
|
* @param {ClaimsApiCreateClaim1Request} requestParameters Request parameters.
|
|
1371
1392
|
* @param {*} [options] Override http request option.
|
|
1393
|
+
* @deprecated
|
|
1372
1394
|
* @throws {RequiredError}
|
|
1373
1395
|
* @memberof ClaimsApi
|
|
1374
1396
|
*/
|
|
@@ -1379,20 +1401,21 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
1379
1401
|
/**
|
|
1380
1402
|
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
1381
1403
|
* @summary Delete the claim
|
|
1382
|
-
* @param {
|
|
1404
|
+
* @param {ClaimsApiDeleteClaimRequest} requestParameters Request parameters.
|
|
1383
1405
|
* @param {*} [options] Override http request option.
|
|
1384
1406
|
* @throws {RequiredError}
|
|
1385
1407
|
* @memberof ClaimsApi
|
|
1386
1408
|
*/
|
|
1387
|
-
ClaimsApi.prototype.
|
|
1409
|
+
ClaimsApi.prototype.deleteClaim = function (requestParameters, options) {
|
|
1388
1410
|
var _this = this;
|
|
1389
|
-
return (0, exports.ClaimsApiFp)(this.configuration).
|
|
1411
|
+
return (0, exports.ClaimsApiFp)(this.configuration).deleteClaim(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1390
1412
|
};
|
|
1391
1413
|
/**
|
|
1392
|
-
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
1414
|
+
* 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.
|
|
1393
1415
|
* @summary Delete the claim
|
|
1394
1416
|
* @param {ClaimsApiDeleteClaim1Request} requestParameters Request parameters.
|
|
1395
1417
|
* @param {*} [options] Override http request option.
|
|
1418
|
+
* @deprecated
|
|
1396
1419
|
* @throws {RequiredError}
|
|
1397
1420
|
* @memberof ClaimsApi
|
|
1398
1421
|
*/
|
|
@@ -1403,20 +1426,21 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
1403
1426
|
/**
|
|
1404
1427
|
* This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
|
|
1405
1428
|
* @summary Retrieve the claim
|
|
1406
|
-
* @param {
|
|
1429
|
+
* @param {ClaimsApiGetClaimRequest} requestParameters Request parameters.
|
|
1407
1430
|
* @param {*} [options] Override http request option.
|
|
1408
1431
|
* @throws {RequiredError}
|
|
1409
1432
|
* @memberof ClaimsApi
|
|
1410
1433
|
*/
|
|
1411
|
-
ClaimsApi.prototype.
|
|
1434
|
+
ClaimsApi.prototype.getClaim = function (requestParameters, options) {
|
|
1412
1435
|
var _this = this;
|
|
1413
|
-
return (0, exports.ClaimsApiFp)(this.configuration).
|
|
1436
|
+
return (0, exports.ClaimsApiFp)(this.configuration).getClaim(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1414
1437
|
};
|
|
1415
1438
|
/**
|
|
1416
|
-
* This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
|
|
1439
|
+
* 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.
|
|
1417
1440
|
* @summary Retrieve the claim
|
|
1418
1441
|
* @param {ClaimsApiGetClaim1Request} requestParameters Request parameters.
|
|
1419
1442
|
* @param {*} [options] Override http request option.
|
|
1443
|
+
* @deprecated
|
|
1420
1444
|
* @throws {RequiredError}
|
|
1421
1445
|
* @memberof ClaimsApi
|
|
1422
1446
|
*/
|
|
@@ -1427,20 +1451,21 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
1427
1451
|
/**
|
|
1428
1452
|
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
|
|
1429
1453
|
* @summary Retrieve the claim regulation summary
|
|
1430
|
-
* @param {
|
|
1454
|
+
* @param {ClaimsApiGetClaimRegulationSummaryRequest} requestParameters Request parameters.
|
|
1431
1455
|
* @param {*} [options] Override http request option.
|
|
1432
1456
|
* @throws {RequiredError}
|
|
1433
1457
|
* @memberof ClaimsApi
|
|
1434
1458
|
*/
|
|
1435
|
-
ClaimsApi.prototype.
|
|
1459
|
+
ClaimsApi.prototype.getClaimRegulationSummary = function (requestParameters, options) {
|
|
1436
1460
|
var _this = this;
|
|
1437
|
-
return (0, exports.ClaimsApiFp)(this.configuration).
|
|
1461
|
+
return (0, exports.ClaimsApiFp)(this.configuration).getClaimRegulationSummary(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1438
1462
|
};
|
|
1439
1463
|
/**
|
|
1440
|
-
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
|
|
1464
|
+
* 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.
|
|
1441
1465
|
* @summary Retrieve the claim regulation summary
|
|
1442
1466
|
* @param {ClaimsApiGetClaimRegulationSummary1Request} requestParameters Request parameters.
|
|
1443
1467
|
* @param {*} [options] Override http request option.
|
|
1468
|
+
* @deprecated
|
|
1444
1469
|
* @throws {RequiredError}
|
|
1445
1470
|
* @memberof ClaimsApi
|
|
1446
1471
|
*/
|
|
@@ -1451,21 +1476,22 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
1451
1476
|
/**
|
|
1452
1477
|
* 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\"
|
|
1453
1478
|
* @summary List claims
|
|
1454
|
-
* @param {
|
|
1479
|
+
* @param {ClaimsApiListClaimsRequest} requestParameters Request parameters.
|
|
1455
1480
|
* @param {*} [options] Override http request option.
|
|
1456
1481
|
* @throws {RequiredError}
|
|
1457
1482
|
* @memberof ClaimsApi
|
|
1458
1483
|
*/
|
|
1459
|
-
ClaimsApi.prototype.
|
|
1484
|
+
ClaimsApi.prototype.listClaims = function (requestParameters, options) {
|
|
1460
1485
|
var _this = this;
|
|
1461
1486
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1462
|
-
return (0, exports.ClaimsApiFp)(this.configuration).
|
|
1487
|
+
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); });
|
|
1463
1488
|
};
|
|
1464
1489
|
/**
|
|
1465
|
-
* 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\"
|
|
1490
|
+
* 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.
|
|
1466
1491
|
* @summary List claims
|
|
1467
1492
|
* @param {ClaimsApiListClaims1Request} requestParameters Request parameters.
|
|
1468
1493
|
* @param {*} [options] Override http request option.
|
|
1494
|
+
* @deprecated
|
|
1469
1495
|
* @throws {RequiredError}
|
|
1470
1496
|
* @memberof ClaimsApi
|
|
1471
1497
|
*/
|
|
@@ -1477,20 +1503,21 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
1477
1503
|
/**
|
|
1478
1504
|
* 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\"
|
|
1479
1505
|
* @summary Patch the claim
|
|
1480
|
-
* @param {
|
|
1506
|
+
* @param {ClaimsApiPatchClaimRequest} requestParameters Request parameters.
|
|
1481
1507
|
* @param {*} [options] Override http request option.
|
|
1482
1508
|
* @throws {RequiredError}
|
|
1483
1509
|
* @memberof ClaimsApi
|
|
1484
1510
|
*/
|
|
1485
|
-
ClaimsApi.prototype.
|
|
1511
|
+
ClaimsApi.prototype.patchClaim = function (requestParameters, options) {
|
|
1486
1512
|
var _this = this;
|
|
1487
|
-
return (0, exports.ClaimsApiFp)(this.configuration).
|
|
1513
|
+
return (0, exports.ClaimsApiFp)(this.configuration).patchClaim(requestParameters.code, requestParameters.patchClaimRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1488
1514
|
};
|
|
1489
1515
|
/**
|
|
1490
|
-
* 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\"
|
|
1516
|
+
* 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.
|
|
1491
1517
|
* @summary Patch the claim
|
|
1492
1518
|
* @param {ClaimsApiPatchClaim1Request} requestParameters Request parameters.
|
|
1493
1519
|
* @param {*} [options] Override http request option.
|
|
1520
|
+
* @deprecated
|
|
1494
1521
|
* @throws {RequiredError}
|
|
1495
1522
|
* @memberof ClaimsApi
|
|
1496
1523
|
*/
|
|
@@ -1501,20 +1528,21 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
1501
1528
|
/**
|
|
1502
1529
|
* This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
|
|
1503
1530
|
* @summary Update the claim
|
|
1504
|
-
* @param {
|
|
1531
|
+
* @param {ClaimsApiUpdateClaimRequest} requestParameters Request parameters.
|
|
1505
1532
|
* @param {*} [options] Override http request option.
|
|
1506
1533
|
* @throws {RequiredError}
|
|
1507
1534
|
* @memberof ClaimsApi
|
|
1508
1535
|
*/
|
|
1509
|
-
ClaimsApi.prototype.
|
|
1536
|
+
ClaimsApi.prototype.updateClaim = function (requestParameters, options) {
|
|
1510
1537
|
var _this = this;
|
|
1511
|
-
return (0, exports.ClaimsApiFp)(this.configuration).
|
|
1538
|
+
return (0, exports.ClaimsApiFp)(this.configuration).updateClaim(requestParameters.code, requestParameters.updateClaimRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1512
1539
|
};
|
|
1513
1540
|
/**
|
|
1514
|
-
* This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
|
|
1541
|
+
* 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.
|
|
1515
1542
|
* @summary Update the claim
|
|
1516
1543
|
* @param {ClaimsApiUpdateClaim1Request} requestParameters Request parameters.
|
|
1517
1544
|
* @param {*} [options] Override http request option.
|
|
1545
|
+
* @deprecated
|
|
1518
1546
|
* @throws {RequiredError}
|
|
1519
1547
|
* @memberof ClaimsApi
|
|
1520
1548
|
*/
|