@emilgroup/claim-sdk 1.43.1-beta.0 → 1.43.1-beta.2
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
|
@@ -100,7 +100,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
100
100
|
* @param {*} [options] Override http request option.
|
|
101
101
|
* @throws {RequiredError}
|
|
102
102
|
*/
|
|
103
|
-
|
|
103
|
+
createClaim: function (createClaimRequestDto, authorization, options) {
|
|
104
104
|
if (options === void 0) { options = {}; }
|
|
105
105
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
106
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -108,8 +108,8 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
108
108
|
switch (_a.label) {
|
|
109
109
|
case 0:
|
|
110
110
|
// verify required parameter 'createClaimRequestDto' is not null or undefined
|
|
111
|
-
(0, common_1.assertParamExists)('
|
|
112
|
-
localVarPath = "/v1/claims";
|
|
111
|
+
(0, common_1.assertParamExists)('createClaim', 'createClaimRequestDto', createClaimRequestDto);
|
|
112
|
+
localVarPath = "/claimservice/v1/claims";
|
|
113
113
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
114
114
|
if (configuration) {
|
|
115
115
|
baseOptions = configuration.baseOptions;
|
|
@@ -142,11 +142,12 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
142
142
|
});
|
|
143
143
|
},
|
|
144
144
|
/**
|
|
145
|
-
* This will create a claim in the database **Required Permissions** \"claim-management.claims.create\"
|
|
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
146
|
* @summary Create the claim
|
|
147
147
|
* @param {CreateClaimRequestDto} createClaimRequestDto
|
|
148
148
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
149
149
|
* @param {*} [options] Override http request option.
|
|
150
|
+
* @deprecated
|
|
150
151
|
* @throws {RequiredError}
|
|
151
152
|
*/
|
|
152
153
|
createClaim1: function (createClaimRequestDto, authorization, options) {
|
|
@@ -158,7 +159,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
158
159
|
case 0:
|
|
159
160
|
// verify required parameter 'createClaimRequestDto' is not null or undefined
|
|
160
161
|
(0, common_1.assertParamExists)('createClaim1', 'createClaimRequestDto', createClaimRequestDto);
|
|
161
|
-
localVarPath = "/
|
|
162
|
+
localVarPath = "/v1/claims";
|
|
162
163
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
163
164
|
if (configuration) {
|
|
164
165
|
baseOptions = configuration.baseOptions;
|
|
@@ -198,7 +199,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
198
199
|
* @param {*} [options] Override http request option.
|
|
199
200
|
* @throws {RequiredError}
|
|
200
201
|
*/
|
|
201
|
-
|
|
202
|
+
deleteClaim: function (code, authorization, options) {
|
|
202
203
|
if (options === void 0) { options = {}; }
|
|
203
204
|
return __awaiter(_this, void 0, void 0, function () {
|
|
204
205
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -206,8 +207,8 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
206
207
|
switch (_a.label) {
|
|
207
208
|
case 0:
|
|
208
209
|
// verify required parameter 'code' is not null or undefined
|
|
209
|
-
(0, common_1.assertParamExists)('
|
|
210
|
-
localVarPath = "/v1/claims/{code}"
|
|
210
|
+
(0, common_1.assertParamExists)('deleteClaim', 'code', code);
|
|
211
|
+
localVarPath = "/claimservice/v1/claims/{code}"
|
|
211
212
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
212
213
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
213
214
|
if (configuration) {
|
|
@@ -239,11 +240,12 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
239
240
|
});
|
|
240
241
|
},
|
|
241
242
|
/**
|
|
242
|
-
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
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.
|
|
243
244
|
* @summary Delete the claim
|
|
244
245
|
* @param {string} code
|
|
245
246
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
246
247
|
* @param {*} [options] Override http request option.
|
|
248
|
+
* @deprecated
|
|
247
249
|
* @throws {RequiredError}
|
|
248
250
|
*/
|
|
249
251
|
deleteClaim1: function (code, authorization, options) {
|
|
@@ -255,7 +257,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
255
257
|
case 0:
|
|
256
258
|
// verify required parameter 'code' is not null or undefined
|
|
257
259
|
(0, common_1.assertParamExists)('deleteClaim1', 'code', code);
|
|
258
|
-
localVarPath = "/
|
|
260
|
+
localVarPath = "/v1/claims/{code}"
|
|
259
261
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
260
262
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
261
263
|
if (configuration) {
|
|
@@ -294,7 +296,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
294
296
|
* @param {*} [options] Override http request option.
|
|
295
297
|
* @throws {RequiredError}
|
|
296
298
|
*/
|
|
297
|
-
|
|
299
|
+
getClaim: function (code, authorization, options) {
|
|
298
300
|
if (options === void 0) { options = {}; }
|
|
299
301
|
return __awaiter(_this, void 0, void 0, function () {
|
|
300
302
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -302,8 +304,8 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
302
304
|
switch (_a.label) {
|
|
303
305
|
case 0:
|
|
304
306
|
// verify required parameter 'code' is not null or undefined
|
|
305
|
-
(0, common_1.assertParamExists)('
|
|
306
|
-
localVarPath = "/v1/claims/{code}"
|
|
307
|
+
(0, common_1.assertParamExists)('getClaim', 'code', code);
|
|
308
|
+
localVarPath = "/claimservice/v1/claims/{code}"
|
|
307
309
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
308
310
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
309
311
|
if (configuration) {
|
|
@@ -335,11 +337,12 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
335
337
|
});
|
|
336
338
|
},
|
|
337
339
|
/**
|
|
338
|
-
* This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
|
|
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.
|
|
339
341
|
* @summary Retrieve the claim
|
|
340
342
|
* @param {string} code
|
|
341
343
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
342
344
|
* @param {*} [options] Override http request option.
|
|
345
|
+
* @deprecated
|
|
343
346
|
* @throws {RequiredError}
|
|
344
347
|
*/
|
|
345
348
|
getClaim1: function (code, authorization, options) {
|
|
@@ -351,7 +354,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
351
354
|
case 0:
|
|
352
355
|
// verify required parameter 'code' is not null or undefined
|
|
353
356
|
(0, common_1.assertParamExists)('getClaim1', 'code', code);
|
|
354
|
-
localVarPath = "/
|
|
357
|
+
localVarPath = "/v1/claims/{code}"
|
|
355
358
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
356
359
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
357
360
|
if (configuration) {
|
|
@@ -390,7 +393,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
390
393
|
* @param {*} [options] Override http request option.
|
|
391
394
|
* @throws {RequiredError}
|
|
392
395
|
*/
|
|
393
|
-
|
|
396
|
+
getClaimRegulationSummary: function (code, authorization, options) {
|
|
394
397
|
if (options === void 0) { options = {}; }
|
|
395
398
|
return __awaiter(_this, void 0, void 0, function () {
|
|
396
399
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -398,8 +401,8 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
398
401
|
switch (_a.label) {
|
|
399
402
|
case 0:
|
|
400
403
|
// verify required parameter 'code' is not null or undefined
|
|
401
|
-
(0, common_1.assertParamExists)('
|
|
402
|
-
localVarPath = "/v1/claims/{code}/regulations/summary"
|
|
404
|
+
(0, common_1.assertParamExists)('getClaimRegulationSummary', 'code', code);
|
|
405
|
+
localVarPath = "/claimservice/v1/claims/{code}/regulations/summary"
|
|
403
406
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
404
407
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
405
408
|
if (configuration) {
|
|
@@ -431,11 +434,12 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
431
434
|
});
|
|
432
435
|
},
|
|
433
436
|
/**
|
|
434
|
-
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
|
|
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.
|
|
435
438
|
* @summary Retrieve the claim regulation summary
|
|
436
439
|
* @param {string} code Unique identifier for the object.
|
|
437
440
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
438
441
|
* @param {*} [options] Override http request option.
|
|
442
|
+
* @deprecated
|
|
439
443
|
* @throws {RequiredError}
|
|
440
444
|
*/
|
|
441
445
|
getClaimRegulationSummary1: function (code, authorization, options) {
|
|
@@ -447,7 +451,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
447
451
|
case 0:
|
|
448
452
|
// verify required parameter 'code' is not null or undefined
|
|
449
453
|
(0, common_1.assertParamExists)('getClaimRegulationSummary1', 'code', code);
|
|
450
|
-
localVarPath = "/
|
|
454
|
+
localVarPath = "/v1/claims/{code}/regulations/summary"
|
|
451
455
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
452
456
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
453
457
|
if (configuration) {
|
|
@@ -492,14 +496,14 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
492
496
|
* @param {*} [options] Override http request option.
|
|
493
497
|
* @throws {RequiredError}
|
|
494
498
|
*/
|
|
495
|
-
|
|
499
|
+
listClaims: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
496
500
|
if (options === void 0) { options = {}; }
|
|
497
501
|
return __awaiter(_this, void 0, void 0, function () {
|
|
498
502
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
499
503
|
return __generator(this, function (_a) {
|
|
500
504
|
switch (_a.label) {
|
|
501
505
|
case 0:
|
|
502
|
-
localVarPath = "/v1/claims";
|
|
506
|
+
localVarPath = "/claimservice/v1/claims";
|
|
503
507
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
504
508
|
if (configuration) {
|
|
505
509
|
baseOptions = configuration.baseOptions;
|
|
@@ -551,7 +555,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
551
555
|
});
|
|
552
556
|
},
|
|
553
557
|
/**
|
|
554
|
-
* 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\"
|
|
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.
|
|
555
559
|
* @summary List claims
|
|
556
560
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
557
561
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -562,6 +566,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
562
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, appliedDeductibles<i>
|
|
563
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, adjuster, adjusterCode, damageDate, notificationDate, status, claimType</i>
|
|
564
568
|
* @param {*} [options] Override http request option.
|
|
569
|
+
* @deprecated
|
|
565
570
|
* @throws {RequiredError}
|
|
566
571
|
*/
|
|
567
572
|
listClaims1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -571,7 +576,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
571
576
|
return __generator(this, function (_a) {
|
|
572
577
|
switch (_a.label) {
|
|
573
578
|
case 0:
|
|
574
|
-
localVarPath = "/
|
|
579
|
+
localVarPath = "/v1/claims";
|
|
575
580
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
576
581
|
if (configuration) {
|
|
577
582
|
baseOptions = configuration.baseOptions;
|
|
@@ -631,7 +636,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
631
636
|
* @param {*} [options] Override http request option.
|
|
632
637
|
* @throws {RequiredError}
|
|
633
638
|
*/
|
|
634
|
-
|
|
639
|
+
patchClaim: function (code, patchClaimRequestDto, authorization, options) {
|
|
635
640
|
if (options === void 0) { options = {}; }
|
|
636
641
|
return __awaiter(_this, void 0, void 0, function () {
|
|
637
642
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -639,10 +644,10 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
639
644
|
switch (_a.label) {
|
|
640
645
|
case 0:
|
|
641
646
|
// verify required parameter 'code' is not null or undefined
|
|
642
|
-
(0, common_1.assertParamExists)('
|
|
647
|
+
(0, common_1.assertParamExists)('patchClaim', 'code', code);
|
|
643
648
|
// verify required parameter 'patchClaimRequestDto' is not null or undefined
|
|
644
|
-
(0, common_1.assertParamExists)('
|
|
645
|
-
localVarPath = "/v1/claims/{code}"
|
|
649
|
+
(0, common_1.assertParamExists)('patchClaim', 'patchClaimRequestDto', patchClaimRequestDto);
|
|
650
|
+
localVarPath = "/claimservice/v1/claims/{code}"
|
|
646
651
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
647
652
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
648
653
|
if (configuration) {
|
|
@@ -676,12 +681,13 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
676
681
|
});
|
|
677
682
|
},
|
|
678
683
|
/**
|
|
679
|
-
* 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\"
|
|
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.
|
|
680
685
|
* @summary Patch the claim
|
|
681
686
|
* @param {string} code
|
|
682
687
|
* @param {PatchClaimRequestDto} patchClaimRequestDto
|
|
683
688
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
684
689
|
* @param {*} [options] Override http request option.
|
|
690
|
+
* @deprecated
|
|
685
691
|
* @throws {RequiredError}
|
|
686
692
|
*/
|
|
687
693
|
patchClaim1: function (code, patchClaimRequestDto, authorization, options) {
|
|
@@ -695,7 +701,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
695
701
|
(0, common_1.assertParamExists)('patchClaim1', 'code', code);
|
|
696
702
|
// verify required parameter 'patchClaimRequestDto' is not null or undefined
|
|
697
703
|
(0, common_1.assertParamExists)('patchClaim1', 'patchClaimRequestDto', patchClaimRequestDto);
|
|
698
|
-
localVarPath = "/
|
|
704
|
+
localVarPath = "/v1/claims/{code}"
|
|
699
705
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
700
706
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
701
707
|
if (configuration) {
|
|
@@ -737,7 +743,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
737
743
|
* @param {*} [options] Override http request option.
|
|
738
744
|
* @throws {RequiredError}
|
|
739
745
|
*/
|
|
740
|
-
|
|
746
|
+
updateClaim: function (code, updateClaimRequestDto, authorization, options) {
|
|
741
747
|
if (options === void 0) { options = {}; }
|
|
742
748
|
return __awaiter(_this, void 0, void 0, function () {
|
|
743
749
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -745,10 +751,10 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
745
751
|
switch (_a.label) {
|
|
746
752
|
case 0:
|
|
747
753
|
// verify required parameter 'code' is not null or undefined
|
|
748
|
-
(0, common_1.assertParamExists)('
|
|
754
|
+
(0, common_1.assertParamExists)('updateClaim', 'code', code);
|
|
749
755
|
// verify required parameter 'updateClaimRequestDto' is not null or undefined
|
|
750
|
-
(0, common_1.assertParamExists)('
|
|
751
|
-
localVarPath = "/v1/claims/{code}"
|
|
756
|
+
(0, common_1.assertParamExists)('updateClaim', 'updateClaimRequestDto', updateClaimRequestDto);
|
|
757
|
+
localVarPath = "/claimservice/v1/claims/{code}"
|
|
752
758
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
753
759
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
754
760
|
if (configuration) {
|
|
@@ -782,12 +788,13 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
782
788
|
});
|
|
783
789
|
},
|
|
784
790
|
/**
|
|
785
|
-
* This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
|
|
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.
|
|
786
792
|
* @summary Update the claim
|
|
787
793
|
* @param {string} code
|
|
788
794
|
* @param {UpdateClaimRequestDto} updateClaimRequestDto
|
|
789
795
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
790
796
|
* @param {*} [options] Override http request option.
|
|
797
|
+
* @deprecated
|
|
791
798
|
* @throws {RequiredError}
|
|
792
799
|
*/
|
|
793
800
|
updateClaim1: function (code, updateClaimRequestDto, authorization, options) {
|
|
@@ -801,7 +808,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
|
|
|
801
808
|
(0, common_1.assertParamExists)('updateClaim1', 'code', code);
|
|
802
809
|
// verify required parameter 'updateClaimRequestDto' is not null or undefined
|
|
803
810
|
(0, common_1.assertParamExists)('updateClaim1', 'updateClaimRequestDto', updateClaimRequestDto);
|
|
804
|
-
localVarPath = "/
|
|
811
|
+
localVarPath = "/v1/claims/{code}"
|
|
805
812
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
806
813
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
807
814
|
if (configuration) {
|
|
@@ -852,12 +859,12 @@ var ClaimsApiFp = function (configuration) {
|
|
|
852
859
|
* @param {*} [options] Override http request option.
|
|
853
860
|
* @throws {RequiredError}
|
|
854
861
|
*/
|
|
855
|
-
|
|
862
|
+
createClaim: function (createClaimRequestDto, authorization, options) {
|
|
856
863
|
return __awaiter(this, void 0, void 0, function () {
|
|
857
864
|
var localVarAxiosArgs;
|
|
858
865
|
return __generator(this, function (_a) {
|
|
859
866
|
switch (_a.label) {
|
|
860
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
867
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createClaim(createClaimRequestDto, authorization, options)];
|
|
861
868
|
case 1:
|
|
862
869
|
localVarAxiosArgs = _a.sent();
|
|
863
870
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -866,11 +873,12 @@ var ClaimsApiFp = function (configuration) {
|
|
|
866
873
|
});
|
|
867
874
|
},
|
|
868
875
|
/**
|
|
869
|
-
* This will create a claim in the database **Required Permissions** \"claim-management.claims.create\"
|
|
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.
|
|
870
877
|
* @summary Create the claim
|
|
871
878
|
* @param {CreateClaimRequestDto} createClaimRequestDto
|
|
872
879
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
873
880
|
* @param {*} [options] Override http request option.
|
|
881
|
+
* @deprecated
|
|
874
882
|
* @throws {RequiredError}
|
|
875
883
|
*/
|
|
876
884
|
createClaim1: function (createClaimRequestDto, authorization, options) {
|
|
@@ -894,12 +902,12 @@ var ClaimsApiFp = function (configuration) {
|
|
|
894
902
|
* @param {*} [options] Override http request option.
|
|
895
903
|
* @throws {RequiredError}
|
|
896
904
|
*/
|
|
897
|
-
|
|
905
|
+
deleteClaim: function (code, authorization, options) {
|
|
898
906
|
return __awaiter(this, void 0, void 0, function () {
|
|
899
907
|
var localVarAxiosArgs;
|
|
900
908
|
return __generator(this, function (_a) {
|
|
901
909
|
switch (_a.label) {
|
|
902
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
910
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteClaim(code, authorization, options)];
|
|
903
911
|
case 1:
|
|
904
912
|
localVarAxiosArgs = _a.sent();
|
|
905
913
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -908,11 +916,12 @@ var ClaimsApiFp = function (configuration) {
|
|
|
908
916
|
});
|
|
909
917
|
},
|
|
910
918
|
/**
|
|
911
|
-
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
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.
|
|
912
920
|
* @summary Delete the claim
|
|
913
921
|
* @param {string} code
|
|
914
922
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
915
923
|
* @param {*} [options] Override http request option.
|
|
924
|
+
* @deprecated
|
|
916
925
|
* @throws {RequiredError}
|
|
917
926
|
*/
|
|
918
927
|
deleteClaim1: function (code, authorization, options) {
|
|
@@ -936,12 +945,12 @@ var ClaimsApiFp = function (configuration) {
|
|
|
936
945
|
* @param {*} [options] Override http request option.
|
|
937
946
|
* @throws {RequiredError}
|
|
938
947
|
*/
|
|
939
|
-
|
|
948
|
+
getClaim: function (code, authorization, options) {
|
|
940
949
|
return __awaiter(this, void 0, void 0, function () {
|
|
941
950
|
var localVarAxiosArgs;
|
|
942
951
|
return __generator(this, function (_a) {
|
|
943
952
|
switch (_a.label) {
|
|
944
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
953
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaim(code, authorization, options)];
|
|
945
954
|
case 1:
|
|
946
955
|
localVarAxiosArgs = _a.sent();
|
|
947
956
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -950,11 +959,12 @@ var ClaimsApiFp = function (configuration) {
|
|
|
950
959
|
});
|
|
951
960
|
},
|
|
952
961
|
/**
|
|
953
|
-
* This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
|
|
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.
|
|
954
963
|
* @summary Retrieve the claim
|
|
955
964
|
* @param {string} code
|
|
956
965
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
957
966
|
* @param {*} [options] Override http request option.
|
|
967
|
+
* @deprecated
|
|
958
968
|
* @throws {RequiredError}
|
|
959
969
|
*/
|
|
960
970
|
getClaim1: function (code, authorization, options) {
|
|
@@ -978,12 +988,12 @@ var ClaimsApiFp = function (configuration) {
|
|
|
978
988
|
* @param {*} [options] Override http request option.
|
|
979
989
|
* @throws {RequiredError}
|
|
980
990
|
*/
|
|
981
|
-
|
|
991
|
+
getClaimRegulationSummary: function (code, authorization, options) {
|
|
982
992
|
return __awaiter(this, void 0, void 0, function () {
|
|
983
993
|
var localVarAxiosArgs;
|
|
984
994
|
return __generator(this, function (_a) {
|
|
985
995
|
switch (_a.label) {
|
|
986
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
996
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimRegulationSummary(code, authorization, options)];
|
|
987
997
|
case 1:
|
|
988
998
|
localVarAxiosArgs = _a.sent();
|
|
989
999
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -992,11 +1002,12 @@ var ClaimsApiFp = function (configuration) {
|
|
|
992
1002
|
});
|
|
993
1003
|
},
|
|
994
1004
|
/**
|
|
995
|
-
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
|
|
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.
|
|
996
1006
|
* @summary Retrieve the claim regulation summary
|
|
997
1007
|
* @param {string} code Unique identifier for the object.
|
|
998
1008
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
999
1009
|
* @param {*} [options] Override http request option.
|
|
1010
|
+
* @deprecated
|
|
1000
1011
|
* @throws {RequiredError}
|
|
1001
1012
|
*/
|
|
1002
1013
|
getClaimRegulationSummary1: function (code, authorization, options) {
|
|
@@ -1026,12 +1037,12 @@ var ClaimsApiFp = function (configuration) {
|
|
|
1026
1037
|
* @param {*} [options] Override http request option.
|
|
1027
1038
|
* @throws {RequiredError}
|
|
1028
1039
|
*/
|
|
1029
|
-
|
|
1040
|
+
listClaims: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1030
1041
|
return __awaiter(this, void 0, void 0, function () {
|
|
1031
1042
|
var localVarAxiosArgs;
|
|
1032
1043
|
return __generator(this, function (_a) {
|
|
1033
1044
|
switch (_a.label) {
|
|
1034
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
1045
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
1035
1046
|
case 1:
|
|
1036
1047
|
localVarAxiosArgs = _a.sent();
|
|
1037
1048
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -1040,7 +1051,7 @@ var ClaimsApiFp = function (configuration) {
|
|
|
1040
1051
|
});
|
|
1041
1052
|
},
|
|
1042
1053
|
/**
|
|
1043
|
-
* 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\"
|
|
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.
|
|
1044
1055
|
* @summary List claims
|
|
1045
1056
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1046
1057
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -1051,6 +1062,7 @@ var ClaimsApiFp = function (configuration) {
|
|
|
1051
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, appliedDeductibles<i>
|
|
1052
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, adjuster, adjusterCode, damageDate, notificationDate, status, claimType</i>
|
|
1053
1064
|
* @param {*} [options] Override http request option.
|
|
1065
|
+
* @deprecated
|
|
1054
1066
|
* @throws {RequiredError}
|
|
1055
1067
|
*/
|
|
1056
1068
|
listClaims1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -1075,12 +1087,12 @@ var ClaimsApiFp = function (configuration) {
|
|
|
1075
1087
|
* @param {*} [options] Override http request option.
|
|
1076
1088
|
* @throws {RequiredError}
|
|
1077
1089
|
*/
|
|
1078
|
-
|
|
1090
|
+
patchClaim: function (code, patchClaimRequestDto, authorization, options) {
|
|
1079
1091
|
return __awaiter(this, void 0, void 0, function () {
|
|
1080
1092
|
var localVarAxiosArgs;
|
|
1081
1093
|
return __generator(this, function (_a) {
|
|
1082
1094
|
switch (_a.label) {
|
|
1083
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
1095
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchClaim(code, patchClaimRequestDto, authorization, options)];
|
|
1084
1096
|
case 1:
|
|
1085
1097
|
localVarAxiosArgs = _a.sent();
|
|
1086
1098
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -1089,12 +1101,13 @@ var ClaimsApiFp = function (configuration) {
|
|
|
1089
1101
|
});
|
|
1090
1102
|
},
|
|
1091
1103
|
/**
|
|
1092
|
-
* 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\"
|
|
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.
|
|
1093
1105
|
* @summary Patch the claim
|
|
1094
1106
|
* @param {string} code
|
|
1095
1107
|
* @param {PatchClaimRequestDto} patchClaimRequestDto
|
|
1096
1108
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1097
1109
|
* @param {*} [options] Override http request option.
|
|
1110
|
+
* @deprecated
|
|
1098
1111
|
* @throws {RequiredError}
|
|
1099
1112
|
*/
|
|
1100
1113
|
patchClaim1: function (code, patchClaimRequestDto, authorization, options) {
|
|
@@ -1119,12 +1132,12 @@ var ClaimsApiFp = function (configuration) {
|
|
|
1119
1132
|
* @param {*} [options] Override http request option.
|
|
1120
1133
|
* @throws {RequiredError}
|
|
1121
1134
|
*/
|
|
1122
|
-
|
|
1135
|
+
updateClaim: function (code, updateClaimRequestDto, authorization, options) {
|
|
1123
1136
|
return __awaiter(this, void 0, void 0, function () {
|
|
1124
1137
|
var localVarAxiosArgs;
|
|
1125
1138
|
return __generator(this, function (_a) {
|
|
1126
1139
|
switch (_a.label) {
|
|
1127
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
1140
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaim(code, updateClaimRequestDto, authorization, options)];
|
|
1128
1141
|
case 1:
|
|
1129
1142
|
localVarAxiosArgs = _a.sent();
|
|
1130
1143
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -1133,12 +1146,13 @@ var ClaimsApiFp = function (configuration) {
|
|
|
1133
1146
|
});
|
|
1134
1147
|
},
|
|
1135
1148
|
/**
|
|
1136
|
-
* This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
|
|
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.
|
|
1137
1150
|
* @summary Update the claim
|
|
1138
1151
|
* @param {string} code
|
|
1139
1152
|
* @param {UpdateClaimRequestDto} updateClaimRequestDto
|
|
1140
1153
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1141
1154
|
* @param {*} [options] Override http request option.
|
|
1155
|
+
* @deprecated
|
|
1142
1156
|
* @throws {RequiredError}
|
|
1143
1157
|
*/
|
|
1144
1158
|
updateClaim1: function (code, updateClaimRequestDto, authorization, options) {
|
|
@@ -1172,15 +1186,16 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
1172
1186
|
* @param {*} [options] Override http request option.
|
|
1173
1187
|
* @throws {RequiredError}
|
|
1174
1188
|
*/
|
|
1175
|
-
|
|
1176
|
-
return localVarFp.
|
|
1189
|
+
createClaim: function (createClaimRequestDto, authorization, options) {
|
|
1190
|
+
return localVarFp.createClaim(createClaimRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1177
1191
|
},
|
|
1178
1192
|
/**
|
|
1179
|
-
* This will create a claim in the database **Required Permissions** \"claim-management.claims.create\"
|
|
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.
|
|
1180
1194
|
* @summary Create the claim
|
|
1181
1195
|
* @param {CreateClaimRequestDto} createClaimRequestDto
|
|
1182
1196
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1183
1197
|
* @param {*} [options] Override http request option.
|
|
1198
|
+
* @deprecated
|
|
1184
1199
|
* @throws {RequiredError}
|
|
1185
1200
|
*/
|
|
1186
1201
|
createClaim1: function (createClaimRequestDto, authorization, options) {
|
|
@@ -1194,15 +1209,16 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
1194
1209
|
* @param {*} [options] Override http request option.
|
|
1195
1210
|
* @throws {RequiredError}
|
|
1196
1211
|
*/
|
|
1197
|
-
|
|
1198
|
-
return localVarFp.
|
|
1212
|
+
deleteClaim: function (code, authorization, options) {
|
|
1213
|
+
return localVarFp.deleteClaim(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1199
1214
|
},
|
|
1200
1215
|
/**
|
|
1201
|
-
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
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.
|
|
1202
1217
|
* @summary Delete the claim
|
|
1203
1218
|
* @param {string} code
|
|
1204
1219
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1205
1220
|
* @param {*} [options] Override http request option.
|
|
1221
|
+
* @deprecated
|
|
1206
1222
|
* @throws {RequiredError}
|
|
1207
1223
|
*/
|
|
1208
1224
|
deleteClaim1: function (code, authorization, options) {
|
|
@@ -1216,15 +1232,16 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
1216
1232
|
* @param {*} [options] Override http request option.
|
|
1217
1233
|
* @throws {RequiredError}
|
|
1218
1234
|
*/
|
|
1219
|
-
|
|
1220
|
-
return localVarFp.
|
|
1235
|
+
getClaim: function (code, authorization, options) {
|
|
1236
|
+
return localVarFp.getClaim(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1221
1237
|
},
|
|
1222
1238
|
/**
|
|
1223
|
-
* This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
|
|
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.
|
|
1224
1240
|
* @summary Retrieve the claim
|
|
1225
1241
|
* @param {string} code
|
|
1226
1242
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1227
1243
|
* @param {*} [options] Override http request option.
|
|
1244
|
+
* @deprecated
|
|
1228
1245
|
* @throws {RequiredError}
|
|
1229
1246
|
*/
|
|
1230
1247
|
getClaim1: function (code, authorization, options) {
|
|
@@ -1238,15 +1255,16 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
1238
1255
|
* @param {*} [options] Override http request option.
|
|
1239
1256
|
* @throws {RequiredError}
|
|
1240
1257
|
*/
|
|
1241
|
-
|
|
1242
|
-
return localVarFp.
|
|
1258
|
+
getClaimRegulationSummary: function (code, authorization, options) {
|
|
1259
|
+
return localVarFp.getClaimRegulationSummary(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1243
1260
|
},
|
|
1244
1261
|
/**
|
|
1245
|
-
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
|
|
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.
|
|
1246
1263
|
* @summary Retrieve the claim regulation summary
|
|
1247
1264
|
* @param {string} code Unique identifier for the object.
|
|
1248
1265
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1249
1266
|
* @param {*} [options] Override http request option.
|
|
1267
|
+
* @deprecated
|
|
1250
1268
|
* @throws {RequiredError}
|
|
1251
1269
|
*/
|
|
1252
1270
|
getClaimRegulationSummary1: function (code, authorization, options) {
|
|
@@ -1266,11 +1284,11 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
1266
1284
|
* @param {*} [options] Override http request option.
|
|
1267
1285
|
* @throws {RequiredError}
|
|
1268
1286
|
*/
|
|
1269
|
-
|
|
1270
|
-
return localVarFp.
|
|
1287
|
+
listClaims: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
1288
|
+
return localVarFp.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
1271
1289
|
},
|
|
1272
1290
|
/**
|
|
1273
|
-
* 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\"
|
|
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.
|
|
1274
1292
|
* @summary List claims
|
|
1275
1293
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1276
1294
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
@@ -1281,6 +1299,7 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
1281
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, appliedDeductibles<i>
|
|
1282
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, adjuster, adjusterCode, damageDate, notificationDate, status, claimType</i>
|
|
1283
1301
|
* @param {*} [options] Override http request option.
|
|
1302
|
+
* @deprecated
|
|
1284
1303
|
* @throws {RequiredError}
|
|
1285
1304
|
*/
|
|
1286
1305
|
listClaims1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -1295,16 +1314,17 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
1295
1314
|
* @param {*} [options] Override http request option.
|
|
1296
1315
|
* @throws {RequiredError}
|
|
1297
1316
|
*/
|
|
1298
|
-
|
|
1299
|
-
return localVarFp.
|
|
1317
|
+
patchClaim: function (code, patchClaimRequestDto, authorization, options) {
|
|
1318
|
+
return localVarFp.patchClaim(code, patchClaimRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1300
1319
|
},
|
|
1301
1320
|
/**
|
|
1302
|
-
* 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\"
|
|
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.
|
|
1303
1322
|
* @summary Patch the claim
|
|
1304
1323
|
* @param {string} code
|
|
1305
1324
|
* @param {PatchClaimRequestDto} patchClaimRequestDto
|
|
1306
1325
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1307
1326
|
* @param {*} [options] Override http request option.
|
|
1327
|
+
* @deprecated
|
|
1308
1328
|
* @throws {RequiredError}
|
|
1309
1329
|
*/
|
|
1310
1330
|
patchClaim1: function (code, patchClaimRequestDto, authorization, options) {
|
|
@@ -1319,16 +1339,17 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
|
|
|
1319
1339
|
* @param {*} [options] Override http request option.
|
|
1320
1340
|
* @throws {RequiredError}
|
|
1321
1341
|
*/
|
|
1322
|
-
|
|
1323
|
-
return localVarFp.
|
|
1342
|
+
updateClaim: function (code, updateClaimRequestDto, authorization, options) {
|
|
1343
|
+
return localVarFp.updateClaim(code, updateClaimRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
1324
1344
|
},
|
|
1325
1345
|
/**
|
|
1326
|
-
* This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
|
|
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.
|
|
1327
1347
|
* @summary Update the claim
|
|
1328
1348
|
* @param {string} code
|
|
1329
1349
|
* @param {UpdateClaimRequestDto} updateClaimRequestDto
|
|
1330
1350
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1331
1351
|
* @param {*} [options] Override http request option.
|
|
1352
|
+
* @deprecated
|
|
1332
1353
|
* @throws {RequiredError}
|
|
1333
1354
|
*/
|
|
1334
1355
|
updateClaim1: function (code, updateClaimRequestDto, authorization, options) {
|
|
@@ -1351,20 +1372,21 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
1351
1372
|
/**
|
|
1352
1373
|
* This will create a claim in the database **Required Permissions** \"claim-management.claims.create\"
|
|
1353
1374
|
* @summary Create the claim
|
|
1354
|
-
* @param {
|
|
1375
|
+
* @param {ClaimsApiCreateClaimRequest} requestParameters Request parameters.
|
|
1355
1376
|
* @param {*} [options] Override http request option.
|
|
1356
1377
|
* @throws {RequiredError}
|
|
1357
1378
|
* @memberof ClaimsApi
|
|
1358
1379
|
*/
|
|
1359
|
-
ClaimsApi.prototype.
|
|
1380
|
+
ClaimsApi.prototype.createClaim = function (requestParameters, options) {
|
|
1360
1381
|
var _this = this;
|
|
1361
|
-
return (0, exports.ClaimsApiFp)(this.configuration).
|
|
1382
|
+
return (0, exports.ClaimsApiFp)(this.configuration).createClaim(requestParameters.createClaimRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1362
1383
|
};
|
|
1363
1384
|
/**
|
|
1364
|
-
* This will create a claim in the database **Required Permissions** \"claim-management.claims.create\"
|
|
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.
|
|
1365
1386
|
* @summary Create the claim
|
|
1366
1387
|
* @param {ClaimsApiCreateClaim1Request} requestParameters Request parameters.
|
|
1367
1388
|
* @param {*} [options] Override http request option.
|
|
1389
|
+
* @deprecated
|
|
1368
1390
|
* @throws {RequiredError}
|
|
1369
1391
|
* @memberof ClaimsApi
|
|
1370
1392
|
*/
|
|
@@ -1375,20 +1397,21 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
1375
1397
|
/**
|
|
1376
1398
|
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
1377
1399
|
* @summary Delete the claim
|
|
1378
|
-
* @param {
|
|
1400
|
+
* @param {ClaimsApiDeleteClaimRequest} requestParameters Request parameters.
|
|
1379
1401
|
* @param {*} [options] Override http request option.
|
|
1380
1402
|
* @throws {RequiredError}
|
|
1381
1403
|
* @memberof ClaimsApi
|
|
1382
1404
|
*/
|
|
1383
|
-
ClaimsApi.prototype.
|
|
1405
|
+
ClaimsApi.prototype.deleteClaim = function (requestParameters, options) {
|
|
1384
1406
|
var _this = this;
|
|
1385
|
-
return (0, exports.ClaimsApiFp)(this.configuration).
|
|
1407
|
+
return (0, exports.ClaimsApiFp)(this.configuration).deleteClaim(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1386
1408
|
};
|
|
1387
1409
|
/**
|
|
1388
|
-
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
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.
|
|
1389
1411
|
* @summary Delete the claim
|
|
1390
1412
|
* @param {ClaimsApiDeleteClaim1Request} requestParameters Request parameters.
|
|
1391
1413
|
* @param {*} [options] Override http request option.
|
|
1414
|
+
* @deprecated
|
|
1392
1415
|
* @throws {RequiredError}
|
|
1393
1416
|
* @memberof ClaimsApi
|
|
1394
1417
|
*/
|
|
@@ -1399,20 +1422,21 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
1399
1422
|
/**
|
|
1400
1423
|
* This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
|
|
1401
1424
|
* @summary Retrieve the claim
|
|
1402
|
-
* @param {
|
|
1425
|
+
* @param {ClaimsApiGetClaimRequest} requestParameters Request parameters.
|
|
1403
1426
|
* @param {*} [options] Override http request option.
|
|
1404
1427
|
* @throws {RequiredError}
|
|
1405
1428
|
* @memberof ClaimsApi
|
|
1406
1429
|
*/
|
|
1407
|
-
ClaimsApi.prototype.
|
|
1430
|
+
ClaimsApi.prototype.getClaim = function (requestParameters, options) {
|
|
1408
1431
|
var _this = this;
|
|
1409
|
-
return (0, exports.ClaimsApiFp)(this.configuration).
|
|
1432
|
+
return (0, exports.ClaimsApiFp)(this.configuration).getClaim(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1410
1433
|
};
|
|
1411
1434
|
/**
|
|
1412
|
-
* This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
|
|
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.
|
|
1413
1436
|
* @summary Retrieve the claim
|
|
1414
1437
|
* @param {ClaimsApiGetClaim1Request} requestParameters Request parameters.
|
|
1415
1438
|
* @param {*} [options] Override http request option.
|
|
1439
|
+
* @deprecated
|
|
1416
1440
|
* @throws {RequiredError}
|
|
1417
1441
|
* @memberof ClaimsApi
|
|
1418
1442
|
*/
|
|
@@ -1423,20 +1447,21 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
1423
1447
|
/**
|
|
1424
1448
|
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
|
|
1425
1449
|
* @summary Retrieve the claim regulation summary
|
|
1426
|
-
* @param {
|
|
1450
|
+
* @param {ClaimsApiGetClaimRegulationSummaryRequest} requestParameters Request parameters.
|
|
1427
1451
|
* @param {*} [options] Override http request option.
|
|
1428
1452
|
* @throws {RequiredError}
|
|
1429
1453
|
* @memberof ClaimsApi
|
|
1430
1454
|
*/
|
|
1431
|
-
ClaimsApi.prototype.
|
|
1455
|
+
ClaimsApi.prototype.getClaimRegulationSummary = function (requestParameters, options) {
|
|
1432
1456
|
var _this = this;
|
|
1433
|
-
return (0, exports.ClaimsApiFp)(this.configuration).
|
|
1457
|
+
return (0, exports.ClaimsApiFp)(this.configuration).getClaimRegulationSummary(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1434
1458
|
};
|
|
1435
1459
|
/**
|
|
1436
|
-
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
|
|
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.
|
|
1437
1461
|
* @summary Retrieve the claim regulation summary
|
|
1438
1462
|
* @param {ClaimsApiGetClaimRegulationSummary1Request} requestParameters Request parameters.
|
|
1439
1463
|
* @param {*} [options] Override http request option.
|
|
1464
|
+
* @deprecated
|
|
1440
1465
|
* @throws {RequiredError}
|
|
1441
1466
|
* @memberof ClaimsApi
|
|
1442
1467
|
*/
|
|
@@ -1447,21 +1472,22 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
1447
1472
|
/**
|
|
1448
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\"
|
|
1449
1474
|
* @summary List claims
|
|
1450
|
-
* @param {
|
|
1475
|
+
* @param {ClaimsApiListClaimsRequest} requestParameters Request parameters.
|
|
1451
1476
|
* @param {*} [options] Override http request option.
|
|
1452
1477
|
* @throws {RequiredError}
|
|
1453
1478
|
* @memberof ClaimsApi
|
|
1454
1479
|
*/
|
|
1455
|
-
ClaimsApi.prototype.
|
|
1480
|
+
ClaimsApi.prototype.listClaims = function (requestParameters, options) {
|
|
1456
1481
|
var _this = this;
|
|
1457
1482
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
1458
|
-
return (0, exports.ClaimsApiFp)(this.configuration).
|
|
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); });
|
|
1459
1484
|
};
|
|
1460
1485
|
/**
|
|
1461
|
-
* 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\"
|
|
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.
|
|
1462
1487
|
* @summary List claims
|
|
1463
1488
|
* @param {ClaimsApiListClaims1Request} requestParameters Request parameters.
|
|
1464
1489
|
* @param {*} [options] Override http request option.
|
|
1490
|
+
* @deprecated
|
|
1465
1491
|
* @throws {RequiredError}
|
|
1466
1492
|
* @memberof ClaimsApi
|
|
1467
1493
|
*/
|
|
@@ -1473,20 +1499,21 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
1473
1499
|
/**
|
|
1474
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\"
|
|
1475
1501
|
* @summary Patch the claim
|
|
1476
|
-
* @param {
|
|
1502
|
+
* @param {ClaimsApiPatchClaimRequest} requestParameters Request parameters.
|
|
1477
1503
|
* @param {*} [options] Override http request option.
|
|
1478
1504
|
* @throws {RequiredError}
|
|
1479
1505
|
* @memberof ClaimsApi
|
|
1480
1506
|
*/
|
|
1481
|
-
ClaimsApi.prototype.
|
|
1507
|
+
ClaimsApi.prototype.patchClaim = function (requestParameters, options) {
|
|
1482
1508
|
var _this = this;
|
|
1483
|
-
return (0, exports.ClaimsApiFp)(this.configuration).
|
|
1509
|
+
return (0, exports.ClaimsApiFp)(this.configuration).patchClaim(requestParameters.code, requestParameters.patchClaimRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1484
1510
|
};
|
|
1485
1511
|
/**
|
|
1486
|
-
* 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\"
|
|
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.
|
|
1487
1513
|
* @summary Patch the claim
|
|
1488
1514
|
* @param {ClaimsApiPatchClaim1Request} requestParameters Request parameters.
|
|
1489
1515
|
* @param {*} [options] Override http request option.
|
|
1516
|
+
* @deprecated
|
|
1490
1517
|
* @throws {RequiredError}
|
|
1491
1518
|
* @memberof ClaimsApi
|
|
1492
1519
|
*/
|
|
@@ -1497,20 +1524,21 @@ var ClaimsApi = /** @class */ (function (_super) {
|
|
|
1497
1524
|
/**
|
|
1498
1525
|
* This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
|
|
1499
1526
|
* @summary Update the claim
|
|
1500
|
-
* @param {
|
|
1527
|
+
* @param {ClaimsApiUpdateClaimRequest} requestParameters Request parameters.
|
|
1501
1528
|
* @param {*} [options] Override http request option.
|
|
1502
1529
|
* @throws {RequiredError}
|
|
1503
1530
|
* @memberof ClaimsApi
|
|
1504
1531
|
*/
|
|
1505
|
-
ClaimsApi.prototype.
|
|
1532
|
+
ClaimsApi.prototype.updateClaim = function (requestParameters, options) {
|
|
1506
1533
|
var _this = this;
|
|
1507
|
-
return (0, exports.ClaimsApiFp)(this.configuration).
|
|
1534
|
+
return (0, exports.ClaimsApiFp)(this.configuration).updateClaim(requestParameters.code, requestParameters.updateClaimRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1508
1535
|
};
|
|
1509
1536
|
/**
|
|
1510
|
-
* This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
|
|
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.
|
|
1511
1538
|
* @summary Update the claim
|
|
1512
1539
|
* @param {ClaimsApiUpdateClaim1Request} requestParameters Request parameters.
|
|
1513
1540
|
* @param {*} [options] Override http request option.
|
|
1541
|
+
* @deprecated
|
|
1514
1542
|
* @throws {RequiredError}
|
|
1515
1543
|
* @memberof ClaimsApi
|
|
1516
1544
|
*/
|