@emilgroup/claim-sdk-node 1.39.0 → 1.39.1-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/.openapi-generator/FILES +15 -0
  2. package/README.md +2 -2
  3. package/api/claim-limit-usages-api.ts +648 -0
  4. package/api/claim-partner-roles-api.ts +627 -0
  5. package/api/claim-partners-api.ts +520 -0
  6. package/api/claim-positions-api.ts +1340 -0
  7. package/api/claim-regulations-api.ts +644 -3
  8. package/api/claim-statuses-api.ts +752 -5
  9. package/api/claims-api.ts +863 -11
  10. package/api/health-check-api.ts +66 -0
  11. package/api/settlements-api.ts +627 -0
  12. package/api.ts +4 -0
  13. package/dist/api/claim-limit-usages-api.d.ts +378 -0
  14. package/dist/api/claim-limit-usages-api.js +585 -0
  15. package/dist/api/claim-partner-roles-api.d.ts +358 -0
  16. package/dist/api/claim-partner-roles-api.js +525 -0
  17. package/dist/api/claim-partners-api.d.ts +299 -0
  18. package/dist/api/claim-partners-api.js +428 -0
  19. package/dist/api/claim-positions-api.d.ts +760 -0
  20. package/dist/api/claim-positions-api.js +1181 -0
  21. package/dist/api/claim-regulations-api.d.ts +367 -0
  22. package/dist/api/claim-regulations-api.js +531 -0
  23. package/dist/api/claim-statuses-api.d.ts +426 -0
  24. package/dist/api/claim-statuses-api.js +642 -14
  25. package/dist/api/claims-api.d.ts +493 -8
  26. package/dist/api/claims-api.js +734 -10
  27. package/dist/api/health-check-api.d.ts +33 -0
  28. package/dist/api/health-check-api.js +73 -0
  29. package/dist/api/settlements-api.d.ts +358 -0
  30. package/dist/api/settlements-api.js +525 -0
  31. package/dist/api.d.ts +2 -0
  32. package/dist/api.js +2 -0
  33. package/dist/models/calculation-step-result-class.d.ts +72 -0
  34. package/dist/models/calculation-step-result-class.js +21 -0
  35. package/dist/models/claim-applied-deductible-class.d.ts +95 -0
  36. package/dist/models/claim-applied-deductible-class.js +20 -0
  37. package/dist/models/claim-class.d.ts +25 -0
  38. package/dist/models/claim-limit-usage-class.d.ts +143 -0
  39. package/dist/models/claim-limit-usage-class.js +30 -0
  40. package/dist/models/claim-limit-usage-result-class.d.ts +48 -0
  41. package/dist/models/claim-limit-usage-result-class.js +21 -0
  42. package/dist/models/claim-position-class.d.ts +151 -0
  43. package/dist/models/claim-position-class.js +20 -0
  44. package/dist/models/create-claim-position-request-dto.d.ts +66 -0
  45. package/dist/models/create-claim-position-request-dto.js +15 -0
  46. package/dist/models/create-claim-position-response-class.d.ts +25 -0
  47. package/dist/models/create-claim-position-response-class.js +15 -0
  48. package/dist/models/create-claim-request-dto.d.ts +6 -0
  49. package/dist/models/create-regulation-item-request-dto.d.ts +26 -3
  50. package/dist/models/create-regulation-item-request-dto.js +5 -1
  51. package/dist/models/get-claim-limit-usage-response-class.d.ts +25 -0
  52. package/dist/models/get-claim-limit-usage-response-class.js +15 -0
  53. package/dist/models/get-claim-position-response-class.d.ts +25 -0
  54. package/dist/models/get-claim-position-response-class.js +15 -0
  55. package/dist/models/index.d.ts +13 -0
  56. package/dist/models/index.js +13 -0
  57. package/dist/models/list-claim-limit-usages-response-class.d.ts +43 -0
  58. package/dist/models/list-claim-limit-usages-response-class.js +15 -0
  59. package/dist/models/list-claim-partner-roles-response-class.d.ts +12 -0
  60. package/dist/models/list-claim-partners-response-class.d.ts +12 -0
  61. package/dist/models/list-claim-positions-response-class.d.ts +43 -0
  62. package/dist/models/list-claim-positions-response-class.js +15 -0
  63. package/dist/models/list-claim-statuses-response-class.d.ts +13 -1
  64. package/dist/models/list-claims-response-class.d.ts +12 -0
  65. package/dist/models/list-regulations-response-class.d.ts +12 -0
  66. package/dist/models/patch-claim-request-dto.d.ts +39 -33
  67. package/dist/models/regulation-item-class.d.ts +35 -0
  68. package/dist/models/regulation-item-class.js +10 -1
  69. package/dist/models/update-claim-position-request-dto.d.ts +60 -0
  70. package/dist/models/update-claim-position-request-dto.js +15 -0
  71. package/dist/models/update-claim-position-response-class.d.ts +25 -0
  72. package/dist/models/update-claim-position-response-class.js +15 -0
  73. package/dist/models/update-claim-request-dto.d.ts +39 -33
  74. package/dist/models/update-regulation-item-request-dto.d.ts +12 -0
  75. package/dist/models/update-regulation-item-request-dto.js +6 -1
  76. package/models/calculation-step-result-class.ts +81 -0
  77. package/models/claim-applied-deductible-class.ts +104 -0
  78. package/models/claim-class.ts +25 -0
  79. package/models/claim-limit-usage-class.ts +154 -0
  80. package/models/claim-limit-usage-result-class.ts +57 -0
  81. package/models/claim-position-class.ts +160 -0
  82. package/models/create-claim-position-request-dto.ts +72 -0
  83. package/models/create-claim-position-response-class.ts +31 -0
  84. package/models/create-claim-request-dto.ts +6 -0
  85. package/models/create-regulation-item-request-dto.ts +27 -3
  86. package/models/get-claim-limit-usage-response-class.ts +31 -0
  87. package/models/get-claim-position-response-class.ts +31 -0
  88. package/models/index.ts +13 -0
  89. package/models/list-claim-limit-usages-response-class.ts +49 -0
  90. package/models/list-claim-partner-roles-response-class.ts +12 -0
  91. package/models/list-claim-partners-response-class.ts +12 -0
  92. package/models/list-claim-positions-response-class.ts +49 -0
  93. package/models/list-claim-statuses-response-class.ts +13 -1
  94. package/models/list-claims-response-class.ts +12 -0
  95. package/models/list-regulations-response-class.ts +12 -0
  96. package/models/patch-claim-request-dto.ts +39 -33
  97. package/models/regulation-item-class.ts +37 -0
  98. package/models/update-claim-position-request-dto.ts +66 -0
  99. package/models/update-claim-position-response-class.ts +31 -0
  100. package/models/update-claim-request-dto.ts +39 -33
  101. package/models/update-regulation-item-request-dto.ts +13 -0
  102. package/package.json +1 -1
@@ -113,6 +113,56 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
113
113
  case 0:
114
114
  // verify required parameter 'createClaimRequestDto' is not null or undefined
115
115
  (0, common_1.assertParamExists)('createClaim', 'createClaimRequestDto', createClaimRequestDto);
116
+ localVarPath = "/claimservice/v1/claims";
117
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
118
+ if (configuration) {
119
+ baseOptions = configuration.baseOptions;
120
+ baseAccessToken = configuration.accessToken;
121
+ }
122
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
123
+ localVarHeaderParameter = {};
124
+ localVarQueryParameter = {};
125
+ // authentication bearer required
126
+ // http bearer authentication required
127
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
128
+ case 1:
129
+ // authentication bearer required
130
+ // http bearer authentication required
131
+ _a.sent();
132
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
133
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
134
+ }
135
+ localVarHeaderParameter['Content-Type'] = 'application/json';
136
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
137
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
138
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
139
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createClaimRequestDto, localVarRequestOptions, configuration);
140
+ return [2 /*return*/, {
141
+ url: (0, common_1.toPathString)(localVarUrlObj),
142
+ options: localVarRequestOptions,
143
+ }];
144
+ }
145
+ });
146
+ });
147
+ },
148
+ /**
149
+ * This will create a claim in the database **Required Permissions** \"claim-management.claims.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
150
+ * @summary Create the claim
151
+ * @param {CreateClaimRequestDto} createClaimRequestDto
152
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
153
+ * @param {*} [options] Override http request option.
154
+ * @deprecated
155
+ * @throws {RequiredError}
156
+ */
157
+ createClaim1: function (createClaimRequestDto, authorization, options) {
158
+ if (options === void 0) { options = {}; }
159
+ return __awaiter(_this, void 0, void 0, function () {
160
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
161
+ return __generator(this, function (_a) {
162
+ switch (_a.label) {
163
+ case 0:
164
+ // verify required parameter 'createClaimRequestDto' is not null or undefined
165
+ (0, common_1.assertParamExists)('createClaim1', 'createClaimRequestDto', createClaimRequestDto);
116
166
  localVarPath = "/v1/claims";
117
167
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
118
168
  if (configuration) {
@@ -162,6 +212,55 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
162
212
  case 0:
163
213
  // verify required parameter 'code' is not null or undefined
164
214
  (0, common_1.assertParamExists)('deleteClaim', 'code', code);
215
+ localVarPath = "/claimservice/v1/claims/{code}"
216
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
217
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
218
+ if (configuration) {
219
+ baseOptions = configuration.baseOptions;
220
+ baseAccessToken = configuration.accessToken;
221
+ }
222
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
223
+ localVarHeaderParameter = {};
224
+ localVarQueryParameter = {};
225
+ // authentication bearer required
226
+ // http bearer authentication required
227
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
228
+ case 1:
229
+ // authentication bearer required
230
+ // http bearer authentication required
231
+ _a.sent();
232
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
233
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
234
+ }
235
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
236
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
237
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
238
+ return [2 /*return*/, {
239
+ url: (0, common_1.toPathString)(localVarUrlObj),
240
+ options: localVarRequestOptions,
241
+ }];
242
+ }
243
+ });
244
+ });
245
+ },
246
+ /**
247
+ * This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
248
+ * @summary Delete the claim
249
+ * @param {string} code
250
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
251
+ * @param {*} [options] Override http request option.
252
+ * @deprecated
253
+ * @throws {RequiredError}
254
+ */
255
+ deleteClaim1: function (code, authorization, options) {
256
+ if (options === void 0) { options = {}; }
257
+ return __awaiter(_this, void 0, void 0, function () {
258
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
259
+ return __generator(this, function (_a) {
260
+ switch (_a.label) {
261
+ case 0:
262
+ // verify required parameter 'code' is not null or undefined
263
+ (0, common_1.assertParamExists)('deleteClaim1', 'code', code);
165
264
  localVarPath = "/v1/claims/{code}"
166
265
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
167
266
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -210,6 +309,55 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
210
309
  case 0:
211
310
  // verify required parameter 'code' is not null or undefined
212
311
  (0, common_1.assertParamExists)('getClaim', 'code', code);
312
+ localVarPath = "/claimservice/v1/claims/{code}"
313
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
314
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
315
+ if (configuration) {
316
+ baseOptions = configuration.baseOptions;
317
+ baseAccessToken = configuration.accessToken;
318
+ }
319
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
320
+ localVarHeaderParameter = {};
321
+ localVarQueryParameter = {};
322
+ // authentication bearer required
323
+ // http bearer authentication required
324
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
325
+ case 1:
326
+ // authentication bearer required
327
+ // http bearer authentication required
328
+ _a.sent();
329
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
330
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
331
+ }
332
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
333
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
334
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
335
+ return [2 /*return*/, {
336
+ url: (0, common_1.toPathString)(localVarUrlObj),
337
+ options: localVarRequestOptions,
338
+ }];
339
+ }
340
+ });
341
+ });
342
+ },
343
+ /**
344
+ * This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
345
+ * @summary Retrieve the claim
346
+ * @param {string} code
347
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
348
+ * @param {*} [options] Override http request option.
349
+ * @deprecated
350
+ * @throws {RequiredError}
351
+ */
352
+ getClaim1: function (code, authorization, options) {
353
+ if (options === void 0) { options = {}; }
354
+ return __awaiter(_this, void 0, void 0, function () {
355
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
356
+ return __generator(this, function (_a) {
357
+ switch (_a.label) {
358
+ case 0:
359
+ // verify required parameter 'code' is not null or undefined
360
+ (0, common_1.assertParamExists)('getClaim1', 'code', code);
213
361
  localVarPath = "/v1/claims/{code}"
214
362
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
215
363
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -258,6 +406,55 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
258
406
  case 0:
259
407
  // verify required parameter 'code' is not null or undefined
260
408
  (0, common_1.assertParamExists)('getClaimRegulationSummary', 'code', code);
409
+ localVarPath = "/claimservice/v1/claims/{code}/regulations/summary"
410
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
411
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
412
+ if (configuration) {
413
+ baseOptions = configuration.baseOptions;
414
+ baseAccessToken = configuration.accessToken;
415
+ }
416
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
417
+ localVarHeaderParameter = {};
418
+ localVarQueryParameter = {};
419
+ // authentication bearer required
420
+ // http bearer authentication required
421
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
422
+ case 1:
423
+ // authentication bearer required
424
+ // http bearer authentication required
425
+ _a.sent();
426
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
427
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
428
+ }
429
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
430
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
431
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
432
+ return [2 /*return*/, {
433
+ url: (0, common_1.toPathString)(localVarUrlObj),
434
+ options: localVarRequestOptions,
435
+ }];
436
+ }
437
+ });
438
+ });
439
+ },
440
+ /**
441
+ * This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
442
+ * @summary Retrieve the claim regulation summary
443
+ * @param {string} code Unique identifier for the object.
444
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
445
+ * @param {*} [options] Override http request option.
446
+ * @deprecated
447
+ * @throws {RequiredError}
448
+ */
449
+ getClaimRegulationSummary1: function (code, authorization, options) {
450
+ if (options === void 0) { options = {}; }
451
+ return __awaiter(_this, void 0, void 0, function () {
452
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
453
+ return __generator(this, function (_a) {
454
+ switch (_a.label) {
455
+ case 0:
456
+ // verify required parameter 'code' is not null or undefined
457
+ (0, common_1.assertParamExists)('getClaimRegulationSummary1', 'code', code);
261
458
  localVarPath = "/v1/claims/{code}/regulations/summary"
262
459
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
263
460
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -295,15 +492,88 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
295
492
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
296
493
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
297
494
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
298
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
495
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
299
496
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, policyCode, accountCode, productName, claimNumber, policyNumber, damageDate, notificationDate, description, status</i>
300
497
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, accountCode, status, claimNumber, policyNumber, damageDate, notificationDate, description, createdAt, updatedAt</i>
301
498
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partners<i>
302
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
499
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
303
500
  * @param {*} [options] Override http request option.
304
501
  * @throws {RequiredError}
305
502
  */
306
503
  listClaims: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
504
+ if (options === void 0) { options = {}; }
505
+ return __awaiter(_this, void 0, void 0, function () {
506
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
507
+ return __generator(this, function (_a) {
508
+ switch (_a.label) {
509
+ case 0:
510
+ localVarPath = "/claimservice/v1/claims";
511
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
512
+ if (configuration) {
513
+ baseOptions = configuration.baseOptions;
514
+ baseAccessToken = configuration.accessToken;
515
+ }
516
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
517
+ localVarHeaderParameter = {};
518
+ localVarQueryParameter = {};
519
+ // authentication bearer required
520
+ // http bearer authentication required
521
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
522
+ case 1:
523
+ // authentication bearer required
524
+ // http bearer authentication required
525
+ _a.sent();
526
+ if (pageSize !== undefined) {
527
+ localVarQueryParameter['pageSize'] = pageSize;
528
+ }
529
+ if (pageToken !== undefined) {
530
+ localVarQueryParameter['pageToken'] = pageToken;
531
+ }
532
+ if (filter !== undefined) {
533
+ localVarQueryParameter['filter'] = filter;
534
+ }
535
+ if (search !== undefined) {
536
+ localVarQueryParameter['search'] = search;
537
+ }
538
+ if (order !== undefined) {
539
+ localVarQueryParameter['order'] = order;
540
+ }
541
+ if (expand !== undefined) {
542
+ localVarQueryParameter['expand'] = expand;
543
+ }
544
+ if (filters !== undefined) {
545
+ localVarQueryParameter['filters'] = filters;
546
+ }
547
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
548
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
549
+ }
550
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
551
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
552
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
553
+ return [2 /*return*/, {
554
+ url: (0, common_1.toPathString)(localVarUrlObj),
555
+ options: localVarRequestOptions,
556
+ }];
557
+ }
558
+ });
559
+ });
560
+ },
561
+ /**
562
+ * Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
563
+ * @summary List claims
564
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
565
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
566
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
567
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
568
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, policyCode, accountCode, productName, claimNumber, policyNumber, damageDate, notificationDate, description, status</i>
569
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, accountCode, status, claimNumber, policyNumber, damageDate, notificationDate, description, createdAt, updatedAt</i>
570
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partners<i>
571
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
572
+ * @param {*} [options] Override http request option.
573
+ * @deprecated
574
+ * @throws {RequiredError}
575
+ */
576
+ listClaims1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
307
577
  if (options === void 0) { options = {}; }
308
578
  return __awaiter(_this, void 0, void 0, function () {
309
579
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -381,6 +651,60 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
381
651
  (0, common_1.assertParamExists)('patchClaim', 'code', code);
382
652
  // verify required parameter 'patchClaimRequestDto' is not null or undefined
383
653
  (0, common_1.assertParamExists)('patchClaim', 'patchClaimRequestDto', patchClaimRequestDto);
654
+ localVarPath = "/claimservice/v1/claims/{code}"
655
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
656
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
657
+ if (configuration) {
658
+ baseOptions = configuration.baseOptions;
659
+ baseAccessToken = configuration.accessToken;
660
+ }
661
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
662
+ localVarHeaderParameter = {};
663
+ localVarQueryParameter = {};
664
+ // authentication bearer required
665
+ // http bearer authentication required
666
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
667
+ case 1:
668
+ // authentication bearer required
669
+ // http bearer authentication required
670
+ _a.sent();
671
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
672
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
673
+ }
674
+ localVarHeaderParameter['Content-Type'] = 'application/json';
675
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
676
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
677
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
678
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchClaimRequestDto, localVarRequestOptions, configuration);
679
+ return [2 /*return*/, {
680
+ url: (0, common_1.toPathString)(localVarUrlObj),
681
+ options: localVarRequestOptions,
682
+ }];
683
+ }
684
+ });
685
+ });
686
+ },
687
+ /**
688
+ * Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
689
+ * @summary Patch the claim
690
+ * @param {string} code
691
+ * @param {PatchClaimRequestDto} patchClaimRequestDto
692
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
693
+ * @param {*} [options] Override http request option.
694
+ * @deprecated
695
+ * @throws {RequiredError}
696
+ */
697
+ patchClaim1: function (code, patchClaimRequestDto, authorization, options) {
698
+ if (options === void 0) { options = {}; }
699
+ return __awaiter(_this, void 0, void 0, function () {
700
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
701
+ return __generator(this, function (_a) {
702
+ switch (_a.label) {
703
+ case 0:
704
+ // verify required parameter 'code' is not null or undefined
705
+ (0, common_1.assertParamExists)('patchClaim1', 'code', code);
706
+ // verify required parameter 'patchClaimRequestDto' is not null or undefined
707
+ (0, common_1.assertParamExists)('patchClaim1', 'patchClaimRequestDto', patchClaimRequestDto);
384
708
  localVarPath = "/v1/claims/{code}"
385
709
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
386
710
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -415,15 +739,69 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
415
739
  });
416
740
  },
417
741
  /**
418
- * This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
742
+ * This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
743
+ * @summary Update the claim
744
+ * @param {string} code
745
+ * @param {UpdateClaimRequestDto} updateClaimRequestDto
746
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
747
+ * @param {*} [options] Override http request option.
748
+ * @throws {RequiredError}
749
+ */
750
+ updateClaim: function (code, updateClaimRequestDto, authorization, options) {
751
+ if (options === void 0) { options = {}; }
752
+ return __awaiter(_this, void 0, void 0, function () {
753
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
754
+ return __generator(this, function (_a) {
755
+ switch (_a.label) {
756
+ case 0:
757
+ // verify required parameter 'code' is not null or undefined
758
+ (0, common_1.assertParamExists)('updateClaim', 'code', code);
759
+ // verify required parameter 'updateClaimRequestDto' is not null or undefined
760
+ (0, common_1.assertParamExists)('updateClaim', 'updateClaimRequestDto', updateClaimRequestDto);
761
+ localVarPath = "/claimservice/v1/claims/{code}"
762
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
763
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
764
+ if (configuration) {
765
+ baseOptions = configuration.baseOptions;
766
+ baseAccessToken = configuration.accessToken;
767
+ }
768
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
769
+ localVarHeaderParameter = {};
770
+ localVarQueryParameter = {};
771
+ // authentication bearer required
772
+ // http bearer authentication required
773
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
774
+ case 1:
775
+ // authentication bearer required
776
+ // http bearer authentication required
777
+ _a.sent();
778
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
779
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
780
+ }
781
+ localVarHeaderParameter['Content-Type'] = 'application/json';
782
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
783
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
784
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
785
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateClaimRequestDto, localVarRequestOptions, configuration);
786
+ return [2 /*return*/, {
787
+ url: (0, common_1.toPathString)(localVarUrlObj),
788
+ options: localVarRequestOptions,
789
+ }];
790
+ }
791
+ });
792
+ });
793
+ },
794
+ /**
795
+ * This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
419
796
  * @summary Update the claim
420
797
  * @param {string} code
421
798
  * @param {UpdateClaimRequestDto} updateClaimRequestDto
422
799
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
423
800
  * @param {*} [options] Override http request option.
801
+ * @deprecated
424
802
  * @throws {RequiredError}
425
803
  */
426
- updateClaim: function (code, updateClaimRequestDto, authorization, options) {
804
+ updateClaim1: function (code, updateClaimRequestDto, authorization, options) {
427
805
  if (options === void 0) { options = {}; }
428
806
  return __awaiter(_this, void 0, void 0, function () {
429
807
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -431,9 +809,9 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
431
809
  switch (_a.label) {
432
810
  case 0:
433
811
  // verify required parameter 'code' is not null or undefined
434
- (0, common_1.assertParamExists)('updateClaim', 'code', code);
812
+ (0, common_1.assertParamExists)('updateClaim1', 'code', code);
435
813
  // verify required parameter 'updateClaimRequestDto' is not null or undefined
436
- (0, common_1.assertParamExists)('updateClaim', 'updateClaimRequestDto', updateClaimRequestDto);
814
+ (0, common_1.assertParamExists)('updateClaim1', 'updateClaimRequestDto', updateClaimRequestDto);
437
815
  localVarPath = "/v1/claims/{code}"
438
816
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
439
817
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -498,6 +876,28 @@ var ClaimsApiFp = function (configuration) {
498
876
  });
499
877
  });
500
878
  },
879
+ /**
880
+ * This will create a claim in the database **Required Permissions** \"claim-management.claims.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
881
+ * @summary Create the claim
882
+ * @param {CreateClaimRequestDto} createClaimRequestDto
883
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
884
+ * @param {*} [options] Override http request option.
885
+ * @deprecated
886
+ * @throws {RequiredError}
887
+ */
888
+ createClaim1: function (createClaimRequestDto, authorization, options) {
889
+ return __awaiter(this, void 0, void 0, function () {
890
+ var localVarAxiosArgs;
891
+ return __generator(this, function (_a) {
892
+ switch (_a.label) {
893
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createClaim1(createClaimRequestDto, authorization, options)];
894
+ case 1:
895
+ localVarAxiosArgs = _a.sent();
896
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
897
+ }
898
+ });
899
+ });
900
+ },
501
901
  /**
502
902
  * This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
503
903
  * @summary Delete the claim
@@ -519,6 +919,28 @@ var ClaimsApiFp = function (configuration) {
519
919
  });
520
920
  });
521
921
  },
922
+ /**
923
+ * This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
924
+ * @summary Delete the claim
925
+ * @param {string} code
926
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
927
+ * @param {*} [options] Override http request option.
928
+ * @deprecated
929
+ * @throws {RequiredError}
930
+ */
931
+ deleteClaim1: function (code, authorization, options) {
932
+ return __awaiter(this, void 0, void 0, function () {
933
+ var localVarAxiosArgs;
934
+ return __generator(this, function (_a) {
935
+ switch (_a.label) {
936
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteClaim1(code, authorization, options)];
937
+ case 1:
938
+ localVarAxiosArgs = _a.sent();
939
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
940
+ }
941
+ });
942
+ });
943
+ },
522
944
  /**
523
945
  * This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
524
946
  * @summary Retrieve the claim
@@ -540,6 +962,28 @@ var ClaimsApiFp = function (configuration) {
540
962
  });
541
963
  });
542
964
  },
965
+ /**
966
+ * This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
967
+ * @summary Retrieve the claim
968
+ * @param {string} code
969
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
970
+ * @param {*} [options] Override http request option.
971
+ * @deprecated
972
+ * @throws {RequiredError}
973
+ */
974
+ getClaim1: function (code, authorization, options) {
975
+ return __awaiter(this, void 0, void 0, function () {
976
+ var localVarAxiosArgs;
977
+ return __generator(this, function (_a) {
978
+ switch (_a.label) {
979
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaim1(code, authorization, options)];
980
+ case 1:
981
+ localVarAxiosArgs = _a.sent();
982
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
983
+ }
984
+ });
985
+ });
986
+ },
543
987
  /**
544
988
  * This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
545
989
  * @summary Retrieve the claim regulation summary
@@ -561,17 +1005,39 @@ var ClaimsApiFp = function (configuration) {
561
1005
  });
562
1006
  });
563
1007
  },
1008
+ /**
1009
+ * This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1010
+ * @summary Retrieve the claim regulation summary
1011
+ * @param {string} code Unique identifier for the object.
1012
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1013
+ * @param {*} [options] Override http request option.
1014
+ * @deprecated
1015
+ * @throws {RequiredError}
1016
+ */
1017
+ getClaimRegulationSummary1: function (code, authorization, options) {
1018
+ return __awaiter(this, void 0, void 0, function () {
1019
+ var localVarAxiosArgs;
1020
+ return __generator(this, function (_a) {
1021
+ switch (_a.label) {
1022
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimRegulationSummary1(code, authorization, options)];
1023
+ case 1:
1024
+ localVarAxiosArgs = _a.sent();
1025
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1026
+ }
1027
+ });
1028
+ });
1029
+ },
564
1030
  /**
565
1031
  * 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\"
566
1032
  * @summary List claims
567
1033
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
568
1034
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
569
1035
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
570
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
1036
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
571
1037
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, policyCode, accountCode, productName, claimNumber, policyNumber, damageDate, notificationDate, description, status</i>
572
1038
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, accountCode, status, claimNumber, policyNumber, damageDate, notificationDate, description, createdAt, updatedAt</i>
573
1039
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partners<i>
574
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
1040
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
575
1041
  * @param {*} [options] Override http request option.
576
1042
  * @throws {RequiredError}
577
1043
  */
@@ -588,6 +1054,34 @@ var ClaimsApiFp = function (configuration) {
588
1054
  });
589
1055
  });
590
1056
  },
1057
+ /**
1058
+ * Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1059
+ * @summary List claims
1060
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1061
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1062
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
1063
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
1064
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, policyCode, accountCode, productName, claimNumber, policyNumber, damageDate, notificationDate, description, status</i>
1065
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, accountCode, status, claimNumber, policyNumber, damageDate, notificationDate, description, createdAt, updatedAt</i>
1066
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partners<i>
1067
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
1068
+ * @param {*} [options] Override http request option.
1069
+ * @deprecated
1070
+ * @throws {RequiredError}
1071
+ */
1072
+ listClaims1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
1073
+ return __awaiter(this, void 0, void 0, function () {
1074
+ var localVarAxiosArgs;
1075
+ return __generator(this, function (_a) {
1076
+ switch (_a.label) {
1077
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaims1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
1078
+ case 1:
1079
+ localVarAxiosArgs = _a.sent();
1080
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1081
+ }
1082
+ });
1083
+ });
1084
+ },
591
1085
  /**
592
1086
  * 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\"
593
1087
  * @summary Patch the claim
@@ -610,6 +1104,29 @@ var ClaimsApiFp = function (configuration) {
610
1104
  });
611
1105
  });
612
1106
  },
1107
+ /**
1108
+ * Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1109
+ * @summary Patch the claim
1110
+ * @param {string} code
1111
+ * @param {PatchClaimRequestDto} patchClaimRequestDto
1112
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1113
+ * @param {*} [options] Override http request option.
1114
+ * @deprecated
1115
+ * @throws {RequiredError}
1116
+ */
1117
+ patchClaim1: function (code, patchClaimRequestDto, authorization, options) {
1118
+ return __awaiter(this, void 0, void 0, function () {
1119
+ var localVarAxiosArgs;
1120
+ return __generator(this, function (_a) {
1121
+ switch (_a.label) {
1122
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchClaim1(code, patchClaimRequestDto, authorization, options)];
1123
+ case 1:
1124
+ localVarAxiosArgs = _a.sent();
1125
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1126
+ }
1127
+ });
1128
+ });
1129
+ },
613
1130
  /**
614
1131
  * This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
615
1132
  * @summary Update the claim
@@ -632,6 +1149,29 @@ var ClaimsApiFp = function (configuration) {
632
1149
  });
633
1150
  });
634
1151
  },
1152
+ /**
1153
+ * This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1154
+ * @summary Update the claim
1155
+ * @param {string} code
1156
+ * @param {UpdateClaimRequestDto} updateClaimRequestDto
1157
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1158
+ * @param {*} [options] Override http request option.
1159
+ * @deprecated
1160
+ * @throws {RequiredError}
1161
+ */
1162
+ updateClaim1: function (code, updateClaimRequestDto, authorization, options) {
1163
+ return __awaiter(this, void 0, void 0, function () {
1164
+ var localVarAxiosArgs;
1165
+ return __generator(this, function (_a) {
1166
+ switch (_a.label) {
1167
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaim1(code, updateClaimRequestDto, authorization, options)];
1168
+ case 1:
1169
+ localVarAxiosArgs = _a.sent();
1170
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
1171
+ }
1172
+ });
1173
+ });
1174
+ },
635
1175
  };
636
1176
  };
637
1177
  exports.ClaimsApiFp = ClaimsApiFp;
@@ -653,6 +1193,18 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
653
1193
  createClaim: function (createClaimRequestDto, authorization, options) {
654
1194
  return localVarFp.createClaim(createClaimRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
655
1195
  },
1196
+ /**
1197
+ * This will create a claim in the database **Required Permissions** \"claim-management.claims.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1198
+ * @summary Create the claim
1199
+ * @param {CreateClaimRequestDto} createClaimRequestDto
1200
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1201
+ * @param {*} [options] Override http request option.
1202
+ * @deprecated
1203
+ * @throws {RequiredError}
1204
+ */
1205
+ createClaim1: function (createClaimRequestDto, authorization, options) {
1206
+ return localVarFp.createClaim1(createClaimRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1207
+ },
656
1208
  /**
657
1209
  * This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
658
1210
  * @summary Delete the claim
@@ -664,6 +1216,18 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
664
1216
  deleteClaim: function (code, authorization, options) {
665
1217
  return localVarFp.deleteClaim(code, authorization, options).then(function (request) { return request(axios, basePath); });
666
1218
  },
1219
+ /**
1220
+ * This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1221
+ * @summary Delete the claim
1222
+ * @param {string} code
1223
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1224
+ * @param {*} [options] Override http request option.
1225
+ * @deprecated
1226
+ * @throws {RequiredError}
1227
+ */
1228
+ deleteClaim1: function (code, authorization, options) {
1229
+ return localVarFp.deleteClaim1(code, authorization, options).then(function (request) { return request(axios, basePath); });
1230
+ },
667
1231
  /**
668
1232
  * This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
669
1233
  * @summary Retrieve the claim
@@ -675,6 +1239,18 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
675
1239
  getClaim: function (code, authorization, options) {
676
1240
  return localVarFp.getClaim(code, authorization, options).then(function (request) { return request(axios, basePath); });
677
1241
  },
1242
+ /**
1243
+ * This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1244
+ * @summary Retrieve the claim
1245
+ * @param {string} code
1246
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1247
+ * @param {*} [options] Override http request option.
1248
+ * @deprecated
1249
+ * @throws {RequiredError}
1250
+ */
1251
+ getClaim1: function (code, authorization, options) {
1252
+ return localVarFp.getClaim1(code, authorization, options).then(function (request) { return request(axios, basePath); });
1253
+ },
678
1254
  /**
679
1255
  * This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
680
1256
  * @summary Retrieve the claim regulation summary
@@ -686,23 +1262,53 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
686
1262
  getClaimRegulationSummary: function (code, authorization, options) {
687
1263
  return localVarFp.getClaimRegulationSummary(code, authorization, options).then(function (request) { return request(axios, basePath); });
688
1264
  },
1265
+ /**
1266
+ * This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1267
+ * @summary Retrieve the claim regulation summary
1268
+ * @param {string} code Unique identifier for the object.
1269
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1270
+ * @param {*} [options] Override http request option.
1271
+ * @deprecated
1272
+ * @throws {RequiredError}
1273
+ */
1274
+ getClaimRegulationSummary1: function (code, authorization, options) {
1275
+ return localVarFp.getClaimRegulationSummary1(code, authorization, options).then(function (request) { return request(axios, basePath); });
1276
+ },
689
1277
  /**
690
1278
  * 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\"
691
1279
  * @summary List claims
692
1280
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
693
1281
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
694
1282
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
695
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
1283
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
696
1284
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, policyCode, accountCode, productName, claimNumber, policyNumber, damageDate, notificationDate, description, status</i>
697
1285
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, accountCode, status, claimNumber, policyNumber, damageDate, notificationDate, description, createdAt, updatedAt</i>
698
1286
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partners<i>
699
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
1287
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
700
1288
  * @param {*} [options] Override http request option.
701
1289
  * @throws {RequiredError}
702
1290
  */
703
1291
  listClaims: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
704
1292
  return localVarFp.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
705
1293
  },
1294
+ /**
1295
+ * Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1296
+ * @summary List claims
1297
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1298
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1299
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
1300
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
1301
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, policyCode, accountCode, productName, claimNumber, policyNumber, damageDate, notificationDate, description, status</i>
1302
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, accountCode, status, claimNumber, policyNumber, damageDate, notificationDate, description, createdAt, updatedAt</i>
1303
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: partners<i>
1304
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
1305
+ * @param {*} [options] Override http request option.
1306
+ * @deprecated
1307
+ * @throws {RequiredError}
1308
+ */
1309
+ listClaims1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
1310
+ return localVarFp.listClaims1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
1311
+ },
706
1312
  /**
707
1313
  * 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\"
708
1314
  * @summary Patch the claim
@@ -715,6 +1321,19 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
715
1321
  patchClaim: function (code, patchClaimRequestDto, authorization, options) {
716
1322
  return localVarFp.patchClaim(code, patchClaimRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
717
1323
  },
1324
+ /**
1325
+ * Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1326
+ * @summary Patch the claim
1327
+ * @param {string} code
1328
+ * @param {PatchClaimRequestDto} patchClaimRequestDto
1329
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1330
+ * @param {*} [options] Override http request option.
1331
+ * @deprecated
1332
+ * @throws {RequiredError}
1333
+ */
1334
+ patchClaim1: function (code, patchClaimRequestDto, authorization, options) {
1335
+ return localVarFp.patchClaim1(code, patchClaimRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1336
+ },
718
1337
  /**
719
1338
  * This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
720
1339
  * @summary Update the claim
@@ -727,6 +1346,19 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
727
1346
  updateClaim: function (code, updateClaimRequestDto, authorization, options) {
728
1347
  return localVarFp.updateClaim(code, updateClaimRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
729
1348
  },
1349
+ /**
1350
+ * This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1351
+ * @summary Update the claim
1352
+ * @param {string} code
1353
+ * @param {UpdateClaimRequestDto} updateClaimRequestDto
1354
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1355
+ * @param {*} [options] Override http request option.
1356
+ * @deprecated
1357
+ * @throws {RequiredError}
1358
+ */
1359
+ updateClaim1: function (code, updateClaimRequestDto, authorization, options) {
1360
+ return localVarFp.updateClaim1(code, updateClaimRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1361
+ },
730
1362
  };
731
1363
  };
732
1364
  exports.ClaimsApiFactory = ClaimsApiFactory;
@@ -753,6 +1385,19 @@ var ClaimsApi = /** @class */ (function (_super) {
753
1385
  var _this = this;
754
1386
  return (0, exports.ClaimsApiFp)(this.configuration).createClaim(requestParameters.createClaimRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
755
1387
  };
1388
+ /**
1389
+ * This will create a claim in the database **Required Permissions** \"claim-management.claims.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1390
+ * @summary Create the claim
1391
+ * @param {ClaimsApiCreateClaim1Request} requestParameters Request parameters.
1392
+ * @param {*} [options] Override http request option.
1393
+ * @deprecated
1394
+ * @throws {RequiredError}
1395
+ * @memberof ClaimsApi
1396
+ */
1397
+ ClaimsApi.prototype.createClaim1 = function (requestParameters, options) {
1398
+ var _this = this;
1399
+ return (0, exports.ClaimsApiFp)(this.configuration).createClaim1(requestParameters.createClaimRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1400
+ };
756
1401
  /**
757
1402
  * This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
758
1403
  * @summary Delete the claim
@@ -765,6 +1410,19 @@ var ClaimsApi = /** @class */ (function (_super) {
765
1410
  var _this = this;
766
1411
  return (0, exports.ClaimsApiFp)(this.configuration).deleteClaim(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
767
1412
  };
1413
+ /**
1414
+ * This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1415
+ * @summary Delete the claim
1416
+ * @param {ClaimsApiDeleteClaim1Request} requestParameters Request parameters.
1417
+ * @param {*} [options] Override http request option.
1418
+ * @deprecated
1419
+ * @throws {RequiredError}
1420
+ * @memberof ClaimsApi
1421
+ */
1422
+ ClaimsApi.prototype.deleteClaim1 = function (requestParameters, options) {
1423
+ var _this = this;
1424
+ return (0, exports.ClaimsApiFp)(this.configuration).deleteClaim1(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1425
+ };
768
1426
  /**
769
1427
  * This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
770
1428
  * @summary Retrieve the claim
@@ -777,6 +1435,19 @@ var ClaimsApi = /** @class */ (function (_super) {
777
1435
  var _this = this;
778
1436
  return (0, exports.ClaimsApiFp)(this.configuration).getClaim(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
779
1437
  };
1438
+ /**
1439
+ * This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1440
+ * @summary Retrieve the claim
1441
+ * @param {ClaimsApiGetClaim1Request} requestParameters Request parameters.
1442
+ * @param {*} [options] Override http request option.
1443
+ * @deprecated
1444
+ * @throws {RequiredError}
1445
+ * @memberof ClaimsApi
1446
+ */
1447
+ ClaimsApi.prototype.getClaim1 = function (requestParameters, options) {
1448
+ var _this = this;
1449
+ return (0, exports.ClaimsApiFp)(this.configuration).getClaim1(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1450
+ };
780
1451
  /**
781
1452
  * This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
782
1453
  * @summary Retrieve the claim regulation summary
@@ -789,6 +1460,19 @@ var ClaimsApi = /** @class */ (function (_super) {
789
1460
  var _this = this;
790
1461
  return (0, exports.ClaimsApiFp)(this.configuration).getClaimRegulationSummary(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
791
1462
  };
1463
+ /**
1464
+ * This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1465
+ * @summary Retrieve the claim regulation summary
1466
+ * @param {ClaimsApiGetClaimRegulationSummary1Request} requestParameters Request parameters.
1467
+ * @param {*} [options] Override http request option.
1468
+ * @deprecated
1469
+ * @throws {RequiredError}
1470
+ * @memberof ClaimsApi
1471
+ */
1472
+ ClaimsApi.prototype.getClaimRegulationSummary1 = function (requestParameters, options) {
1473
+ var _this = this;
1474
+ return (0, exports.ClaimsApiFp)(this.configuration).getClaimRegulationSummary1(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1475
+ };
792
1476
  /**
793
1477
  * Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
794
1478
  * @summary List claims
@@ -802,6 +1486,20 @@ var ClaimsApi = /** @class */ (function (_super) {
802
1486
  if (requestParameters === void 0) { requestParameters = {}; }
803
1487
  return (0, exports.ClaimsApiFp)(this.configuration).listClaims(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
804
1488
  };
1489
+ /**
1490
+ * Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1491
+ * @summary List claims
1492
+ * @param {ClaimsApiListClaims1Request} requestParameters Request parameters.
1493
+ * @param {*} [options] Override http request option.
1494
+ * @deprecated
1495
+ * @throws {RequiredError}
1496
+ * @memberof ClaimsApi
1497
+ */
1498
+ ClaimsApi.prototype.listClaims1 = function (requestParameters, options) {
1499
+ var _this = this;
1500
+ if (requestParameters === void 0) { requestParameters = {}; }
1501
+ return (0, exports.ClaimsApiFp)(this.configuration).listClaims1(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
1502
+ };
805
1503
  /**
806
1504
  * Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
807
1505
  * @summary Patch the claim
@@ -814,6 +1512,19 @@ var ClaimsApi = /** @class */ (function (_super) {
814
1512
  var _this = this;
815
1513
  return (0, exports.ClaimsApiFp)(this.configuration).patchClaim(requestParameters.code, requestParameters.patchClaimRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
816
1514
  };
1515
+ /**
1516
+ * Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1517
+ * @summary Patch the claim
1518
+ * @param {ClaimsApiPatchClaim1Request} requestParameters Request parameters.
1519
+ * @param {*} [options] Override http request option.
1520
+ * @deprecated
1521
+ * @throws {RequiredError}
1522
+ * @memberof ClaimsApi
1523
+ */
1524
+ ClaimsApi.prototype.patchClaim1 = function (requestParameters, options) {
1525
+ var _this = this;
1526
+ return (0, exports.ClaimsApiFp)(this.configuration).patchClaim1(requestParameters.code, requestParameters.patchClaimRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1527
+ };
817
1528
  /**
818
1529
  * This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
819
1530
  * @summary Update the claim
@@ -826,6 +1537,19 @@ var ClaimsApi = /** @class */ (function (_super) {
826
1537
  var _this = this;
827
1538
  return (0, exports.ClaimsApiFp)(this.configuration).updateClaim(requestParameters.code, requestParameters.updateClaimRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
828
1539
  };
1540
+ /**
1541
+ * This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1542
+ * @summary Update the claim
1543
+ * @param {ClaimsApiUpdateClaim1Request} requestParameters Request parameters.
1544
+ * @param {*} [options] Override http request option.
1545
+ * @deprecated
1546
+ * @throws {RequiredError}
1547
+ * @memberof ClaimsApi
1548
+ */
1549
+ ClaimsApi.prototype.updateClaim1 = function (requestParameters, options) {
1550
+ var _this = this;
1551
+ return (0, exports.ClaimsApiFp)(this.configuration).updateClaim1(requestParameters.code, requestParameters.updateClaimRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1552
+ };
829
1553
  return ClaimsApi;
830
1554
  }(base_1.BaseAPI));
831
1555
  exports.ClaimsApi = ClaimsApi;