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