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