@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
package/api/claims-api.ts CHANGED
@@ -59,6 +59,54 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
59
59
  createClaim: async (createClaimRequestDto: CreateClaimRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
60
60
  // verify required parameter 'createClaimRequestDto' is not null or undefined
61
61
  assertParamExists('createClaim', 'createClaimRequestDto', createClaimRequestDto)
62
+ const localVarPath = `/claimservice/v1/claims`;
63
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
64
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
65
+ let baseOptions;
66
+ let baseAccessToken;
67
+ if (configuration) {
68
+ baseOptions = configuration.baseOptions;
69
+ baseAccessToken = configuration.accessToken;
70
+ }
71
+
72
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
73
+ const localVarHeaderParameter = {} as any;
74
+ const localVarQueryParameter = {} as any;
75
+
76
+ // authentication bearer required
77
+ // http bearer authentication required
78
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
79
+
80
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
81
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
82
+ }
83
+
84
+
85
+
86
+ localVarHeaderParameter['Content-Type'] = 'application/json';
87
+
88
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
89
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
90
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
91
+ localVarRequestOptions.data = serializeDataIfNeeded(createClaimRequestDto, localVarRequestOptions, configuration)
92
+
93
+ return {
94
+ url: toPathString(localVarUrlObj),
95
+ options: localVarRequestOptions,
96
+ };
97
+ },
98
+ /**
99
+ * 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.
100
+ * @summary Create the claim
101
+ * @param {CreateClaimRequestDto} createClaimRequestDto
102
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
103
+ * @param {*} [options] Override http request option.
104
+ * @deprecated
105
+ * @throws {RequiredError}
106
+ */
107
+ createClaim1: async (createClaimRequestDto: CreateClaimRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
108
+ // verify required parameter 'createClaimRequestDto' is not null or undefined
109
+ assertParamExists('createClaim1', 'createClaimRequestDto', createClaimRequestDto)
62
110
  const localVarPath = `/v1/claims`;
63
111
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
64
112
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -106,6 +154,52 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
106
154
  deleteClaim: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
107
155
  // verify required parameter 'code' is not null or undefined
108
156
  assertParamExists('deleteClaim', 'code', code)
157
+ const localVarPath = `/claimservice/v1/claims/{code}`
158
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
159
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
160
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
161
+ let baseOptions;
162
+ let baseAccessToken;
163
+ if (configuration) {
164
+ baseOptions = configuration.baseOptions;
165
+ baseAccessToken = configuration.accessToken;
166
+ }
167
+
168
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
169
+ const localVarHeaderParameter = {} as any;
170
+ const localVarQueryParameter = {} as any;
171
+
172
+ // authentication bearer required
173
+ // http bearer authentication required
174
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
175
+
176
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
177
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
178
+ }
179
+
180
+
181
+
182
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
183
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
184
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
185
+
186
+ return {
187
+ url: toPathString(localVarUrlObj),
188
+ options: localVarRequestOptions,
189
+ };
190
+ },
191
+ /**
192
+ * 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.
193
+ * @summary Delete the claim
194
+ * @param {string} code
195
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
196
+ * @param {*} [options] Override http request option.
197
+ * @deprecated
198
+ * @throws {RequiredError}
199
+ */
200
+ deleteClaim1: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
201
+ // verify required parameter 'code' is not null or undefined
202
+ assertParamExists('deleteClaim1', 'code', code)
109
203
  const localVarPath = `/v1/claims/{code}`
110
204
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
111
205
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -151,6 +245,52 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
151
245
  getClaim: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
152
246
  // verify required parameter 'code' is not null or undefined
153
247
  assertParamExists('getClaim', 'code', code)
248
+ const localVarPath = `/claimservice/v1/claims/{code}`
249
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
250
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
251
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
252
+ let baseOptions;
253
+ let baseAccessToken;
254
+ if (configuration) {
255
+ baseOptions = configuration.baseOptions;
256
+ baseAccessToken = configuration.accessToken;
257
+ }
258
+
259
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
260
+ const localVarHeaderParameter = {} as any;
261
+ const localVarQueryParameter = {} as any;
262
+
263
+ // authentication bearer required
264
+ // http bearer authentication required
265
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
266
+
267
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
268
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
269
+ }
270
+
271
+
272
+
273
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
274
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
275
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
276
+
277
+ return {
278
+ url: toPathString(localVarUrlObj),
279
+ options: localVarRequestOptions,
280
+ };
281
+ },
282
+ /**
283
+ * 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.
284
+ * @summary Retrieve the claim
285
+ * @param {string} code
286
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
287
+ * @param {*} [options] Override http request option.
288
+ * @deprecated
289
+ * @throws {RequiredError}
290
+ */
291
+ getClaim1: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
292
+ // verify required parameter 'code' is not null or undefined
293
+ assertParamExists('getClaim1', 'code', code)
154
294
  const localVarPath = `/v1/claims/{code}`
155
295
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
156
296
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -196,6 +336,52 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
196
336
  getClaimRegulationSummary: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
197
337
  // verify required parameter 'code' is not null or undefined
198
338
  assertParamExists('getClaimRegulationSummary', 'code', code)
339
+ const localVarPath = `/claimservice/v1/claims/{code}/regulations/summary`
340
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
341
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
342
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
343
+ let baseOptions;
344
+ let baseAccessToken;
345
+ if (configuration) {
346
+ baseOptions = configuration.baseOptions;
347
+ baseAccessToken = configuration.accessToken;
348
+ }
349
+
350
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
351
+ const localVarHeaderParameter = {} as any;
352
+ const localVarQueryParameter = {} as any;
353
+
354
+ // authentication bearer required
355
+ // http bearer authentication required
356
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
357
+
358
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
359
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
360
+ }
361
+
362
+
363
+
364
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
365
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
366
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
367
+
368
+ return {
369
+ url: toPathString(localVarUrlObj),
370
+ options: localVarRequestOptions,
371
+ };
372
+ },
373
+ /**
374
+ * 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.
375
+ * @summary Retrieve the claim regulation summary
376
+ * @param {string} code Unique identifier for the object.
377
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
378
+ * @param {*} [options] Override http request option.
379
+ * @deprecated
380
+ * @throws {RequiredError}
381
+ */
382
+ getClaimRegulationSummary1: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
383
+ // verify required parameter 'code' is not null or undefined
384
+ assertParamExists('getClaimRegulationSummary1', 'code', code)
199
385
  const localVarPath = `/v1/claims/{code}/regulations/summary`
200
386
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
201
387
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -236,15 +422,92 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
236
422
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
237
423
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
238
424
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
239
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyNumber, productId, accountCode, insuredObjectId, policyCode&lt;/i&gt;
425
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, policyNumber, productId, accountCode, insuredObjectId, policyCode&lt;/i&gt;
240
426
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, policyCode, accountCode, productName, claimNumber, policyNumber, damageDate, notificationDate, description, status&lt;/i&gt;
241
427
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, accountCode, status, claimNumber, policyNumber, damageDate, notificationDate, description, createdAt, updatedAt&lt;/i&gt;
242
428
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: partners&lt;i&gt;
243
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyNumber, productId, accountCode, insuredObjectId, policyCode&lt;/i&gt;
429
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, policyNumber, productId, accountCode, insuredObjectId, policyCode&lt;/i&gt;
244
430
  * @param {*} [options] Override http request option.
245
431
  * @throws {RequiredError}
246
432
  */
247
433
  listClaims: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
434
+ const localVarPath = `/claimservice/v1/claims`;
435
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
436
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
437
+ let baseOptions;
438
+ let baseAccessToken;
439
+ if (configuration) {
440
+ baseOptions = configuration.baseOptions;
441
+ baseAccessToken = configuration.accessToken;
442
+ }
443
+
444
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
445
+ const localVarHeaderParameter = {} as any;
446
+ const localVarQueryParameter = {} as any;
447
+
448
+ // authentication bearer required
449
+ // http bearer authentication required
450
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
451
+
452
+ if (pageSize !== undefined) {
453
+ localVarQueryParameter['pageSize'] = pageSize;
454
+ }
455
+
456
+ if (pageToken !== undefined) {
457
+ localVarQueryParameter['pageToken'] = pageToken;
458
+ }
459
+
460
+ if (filter !== undefined) {
461
+ localVarQueryParameter['filter'] = filter;
462
+ }
463
+
464
+ if (search !== undefined) {
465
+ localVarQueryParameter['search'] = search;
466
+ }
467
+
468
+ if (order !== undefined) {
469
+ localVarQueryParameter['order'] = order;
470
+ }
471
+
472
+ if (expand !== undefined) {
473
+ localVarQueryParameter['expand'] = expand;
474
+ }
475
+
476
+ if (filters !== undefined) {
477
+ localVarQueryParameter['filters'] = filters;
478
+ }
479
+
480
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
481
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
482
+ }
483
+
484
+
485
+
486
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
487
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
488
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
489
+
490
+ return {
491
+ url: toPathString(localVarUrlObj),
492
+ options: localVarRequestOptions,
493
+ };
494
+ },
495
+ /**
496
+ * 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.
497
+ * @summary List claims
498
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
499
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
500
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
501
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, policyNumber, productId, accountCode, insuredObjectId, policyCode&lt;/i&gt;
502
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, policyCode, accountCode, productName, claimNumber, policyNumber, damageDate, notificationDate, description, status&lt;/i&gt;
503
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, accountCode, status, claimNumber, policyNumber, damageDate, notificationDate, description, createdAt, updatedAt&lt;/i&gt;
504
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: partners&lt;i&gt;
505
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, policyNumber, productId, accountCode, insuredObjectId, policyCode&lt;/i&gt;
506
+ * @param {*} [options] Override http request option.
507
+ * @deprecated
508
+ * @throws {RequiredError}
509
+ */
510
+ listClaims1: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
248
511
  const localVarPath = `/v1/claims`;
249
512
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
250
513
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -320,6 +583,58 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
320
583
  assertParamExists('patchClaim', 'code', code)
321
584
  // verify required parameter 'patchClaimRequestDto' is not null or undefined
322
585
  assertParamExists('patchClaim', 'patchClaimRequestDto', patchClaimRequestDto)
586
+ const localVarPath = `/claimservice/v1/claims/{code}`
587
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
588
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
589
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
590
+ let baseOptions;
591
+ let baseAccessToken;
592
+ if (configuration) {
593
+ baseOptions = configuration.baseOptions;
594
+ baseAccessToken = configuration.accessToken;
595
+ }
596
+
597
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
598
+ const localVarHeaderParameter = {} as any;
599
+ const localVarQueryParameter = {} as any;
600
+
601
+ // authentication bearer required
602
+ // http bearer authentication required
603
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
604
+
605
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
606
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
607
+ }
608
+
609
+
610
+
611
+ localVarHeaderParameter['Content-Type'] = 'application/json';
612
+
613
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
614
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
615
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
616
+ localVarRequestOptions.data = serializeDataIfNeeded(patchClaimRequestDto, localVarRequestOptions, configuration)
617
+
618
+ return {
619
+ url: toPathString(localVarUrlObj),
620
+ options: localVarRequestOptions,
621
+ };
622
+ },
623
+ /**
624
+ * 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.
625
+ * @summary Patch the claim
626
+ * @param {string} code
627
+ * @param {PatchClaimRequestDto} patchClaimRequestDto
628
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
629
+ * @param {*} [options] Override http request option.
630
+ * @deprecated
631
+ * @throws {RequiredError}
632
+ */
633
+ patchClaim1: async (code: string, patchClaimRequestDto: PatchClaimRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
634
+ // verify required parameter 'code' is not null or undefined
635
+ assertParamExists('patchClaim1', 'code', code)
636
+ // verify required parameter 'patchClaimRequestDto' is not null or undefined
637
+ assertParamExists('patchClaim1', 'patchClaimRequestDto', patchClaimRequestDto)
323
638
  const localVarPath = `/v1/claims/{code}`
324
639
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
325
640
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -371,6 +686,58 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
371
686
  assertParamExists('updateClaim', 'code', code)
372
687
  // verify required parameter 'updateClaimRequestDto' is not null or undefined
373
688
  assertParamExists('updateClaim', 'updateClaimRequestDto', updateClaimRequestDto)
689
+ const localVarPath = `/claimservice/v1/claims/{code}`
690
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
691
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
692
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
693
+ let baseOptions;
694
+ let baseAccessToken;
695
+ if (configuration) {
696
+ baseOptions = configuration.baseOptions;
697
+ baseAccessToken = configuration.accessToken;
698
+ }
699
+
700
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
701
+ const localVarHeaderParameter = {} as any;
702
+ const localVarQueryParameter = {} as any;
703
+
704
+ // authentication bearer required
705
+ // http bearer authentication required
706
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
707
+
708
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
709
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
710
+ }
711
+
712
+
713
+
714
+ localVarHeaderParameter['Content-Type'] = 'application/json';
715
+
716
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
717
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
718
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
719
+ localVarRequestOptions.data = serializeDataIfNeeded(updateClaimRequestDto, localVarRequestOptions, configuration)
720
+
721
+ return {
722
+ url: toPathString(localVarUrlObj),
723
+ options: localVarRequestOptions,
724
+ };
725
+ },
726
+ /**
727
+ * 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.
728
+ * @summary Update the claim
729
+ * @param {string} code
730
+ * @param {UpdateClaimRequestDto} updateClaimRequestDto
731
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
732
+ * @param {*} [options] Override http request option.
733
+ * @deprecated
734
+ * @throws {RequiredError}
735
+ */
736
+ updateClaim1: async (code: string, updateClaimRequestDto: UpdateClaimRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
737
+ // verify required parameter 'code' is not null or undefined
738
+ assertParamExists('updateClaim1', 'code', code)
739
+ // verify required parameter 'updateClaimRequestDto' is not null or undefined
740
+ assertParamExists('updateClaim1', 'updateClaimRequestDto', updateClaimRequestDto)
374
741
  const localVarPath = `/v1/claims/{code}`
375
742
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
376
743
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -430,6 +797,19 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
430
797
  const localVarAxiosArgs = await localVarAxiosParamCreator.createClaim(createClaimRequestDto, authorization, options);
431
798
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
432
799
  },
800
+ /**
801
+ * 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.
802
+ * @summary Create the claim
803
+ * @param {CreateClaimRequestDto} createClaimRequestDto
804
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
805
+ * @param {*} [options] Override http request option.
806
+ * @deprecated
807
+ * @throws {RequiredError}
808
+ */
809
+ async createClaim1(createClaimRequestDto: CreateClaimRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateClaimResponseClass>> {
810
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createClaim1(createClaimRequestDto, authorization, options);
811
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
812
+ },
433
813
  /**
434
814
  * This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
435
815
  * @summary Delete the claim
@@ -442,6 +822,19 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
442
822
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaim(code, authorization, options);
443
823
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
444
824
  },
825
+ /**
826
+ * 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.
827
+ * @summary Delete the claim
828
+ * @param {string} code
829
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
830
+ * @param {*} [options] Override http request option.
831
+ * @deprecated
832
+ * @throws {RequiredError}
833
+ */
834
+ async deleteClaim1(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
835
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaim1(code, authorization, options);
836
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
837
+ },
445
838
  /**
446
839
  * This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
447
840
  * @summary Retrieve the claim
@@ -454,6 +847,19 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
454
847
  const localVarAxiosArgs = await localVarAxiosParamCreator.getClaim(code, authorization, options);
455
848
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
456
849
  },
850
+ /**
851
+ * 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.
852
+ * @summary Retrieve the claim
853
+ * @param {string} code
854
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
855
+ * @param {*} [options] Override http request option.
856
+ * @deprecated
857
+ * @throws {RequiredError}
858
+ */
859
+ async getClaim1(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimResponseClass>> {
860
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClaim1(code, authorization, options);
861
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
862
+ },
457
863
  /**
458
864
  * This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
459
865
  * @summary Retrieve the claim regulation summary
@@ -466,17 +872,30 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
466
872
  const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimRegulationSummary(code, authorization, options);
467
873
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
468
874
  },
875
+ /**
876
+ * 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.
877
+ * @summary Retrieve the claim regulation summary
878
+ * @param {string} code Unique identifier for the object.
879
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
880
+ * @param {*} [options] Override http request option.
881
+ * @deprecated
882
+ * @throws {RequiredError}
883
+ */
884
+ async getClaimRegulationSummary1(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationSummaryResponseClass>> {
885
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimRegulationSummary1(code, authorization, options);
886
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
887
+ },
469
888
  /**
470
889
  * 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\"
471
890
  * @summary List claims
472
891
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
473
892
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
474
893
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
475
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyNumber, productId, accountCode, insuredObjectId, policyCode&lt;/i&gt;
894
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, policyNumber, productId, accountCode, insuredObjectId, policyCode&lt;/i&gt;
476
895
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, policyCode, accountCode, productName, claimNumber, policyNumber, damageDate, notificationDate, description, status&lt;/i&gt;
477
896
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, accountCode, status, claimNumber, policyNumber, damageDate, notificationDate, description, createdAt, updatedAt&lt;/i&gt;
478
897
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: partners&lt;i&gt;
479
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyNumber, productId, accountCode, insuredObjectId, policyCode&lt;/i&gt;
898
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, policyNumber, productId, accountCode, insuredObjectId, policyCode&lt;/i&gt;
480
899
  * @param {*} [options] Override http request option.
481
900
  * @throws {RequiredError}
482
901
  */
@@ -484,6 +903,25 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
484
903
  const localVarAxiosArgs = await localVarAxiosParamCreator.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
485
904
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
486
905
  },
906
+ /**
907
+ * 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.
908
+ * @summary List claims
909
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
910
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
911
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
912
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, policyNumber, productId, accountCode, insuredObjectId, policyCode&lt;/i&gt;
913
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, policyCode, accountCode, productName, claimNumber, policyNumber, damageDate, notificationDate, description, status&lt;/i&gt;
914
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, accountCode, status, claimNumber, policyNumber, damageDate, notificationDate, description, createdAt, updatedAt&lt;/i&gt;
915
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: partners&lt;i&gt;
916
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, policyNumber, productId, accountCode, insuredObjectId, policyCode&lt;/i&gt;
917
+ * @param {*} [options] Override http request option.
918
+ * @deprecated
919
+ * @throws {RequiredError}
920
+ */
921
+ async listClaims1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimsResponseClass>> {
922
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listClaims1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
923
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
924
+ },
487
925
  /**
488
926
  * 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\"
489
927
  * @summary Patch the claim
@@ -497,6 +935,20 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
497
935
  const localVarAxiosArgs = await localVarAxiosParamCreator.patchClaim(code, patchClaimRequestDto, authorization, options);
498
936
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
499
937
  },
938
+ /**
939
+ * 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.
940
+ * @summary Patch the claim
941
+ * @param {string} code
942
+ * @param {PatchClaimRequestDto} patchClaimRequestDto
943
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
944
+ * @param {*} [options] Override http request option.
945
+ * @deprecated
946
+ * @throws {RequiredError}
947
+ */
948
+ async patchClaim1(code: string, patchClaimRequestDto: PatchClaimRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchClaimResponseClass>> {
949
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchClaim1(code, patchClaimRequestDto, authorization, options);
950
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
951
+ },
500
952
  /**
501
953
  * This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
502
954
  * @summary Update the claim
@@ -510,6 +962,20 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
510
962
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaim(code, updateClaimRequestDto, authorization, options);
511
963
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
512
964
  },
965
+ /**
966
+ * 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.
967
+ * @summary Update the claim
968
+ * @param {string} code
969
+ * @param {UpdateClaimRequestDto} updateClaimRequestDto
970
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
971
+ * @param {*} [options] Override http request option.
972
+ * @deprecated
973
+ * @throws {RequiredError}
974
+ */
975
+ async updateClaim1(code: string, updateClaimRequestDto: UpdateClaimRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateClaimResponseClass>> {
976
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaim1(code, updateClaimRequestDto, authorization, options);
977
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
978
+ },
513
979
  }
514
980
  };
515
981
 
@@ -531,6 +997,18 @@ export const ClaimsApiFactory = function (configuration?: Configuration, basePat
531
997
  createClaim(createClaimRequestDto: CreateClaimRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimResponseClass> {
532
998
  return localVarFp.createClaim(createClaimRequestDto, authorization, options).then((request) => request(axios, basePath));
533
999
  },
1000
+ /**
1001
+ * 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.
1002
+ * @summary Create the claim
1003
+ * @param {CreateClaimRequestDto} createClaimRequestDto
1004
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1005
+ * @param {*} [options] Override http request option.
1006
+ * @deprecated
1007
+ * @throws {RequiredError}
1008
+ */
1009
+ createClaim1(createClaimRequestDto: CreateClaimRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimResponseClass> {
1010
+ return localVarFp.createClaim1(createClaimRequestDto, authorization, options).then((request) => request(axios, basePath));
1011
+ },
534
1012
  /**
535
1013
  * This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
536
1014
  * @summary Delete the claim
@@ -543,15 +1021,39 @@ export const ClaimsApiFactory = function (configuration?: Configuration, basePat
543
1021
  return localVarFp.deleteClaim(code, authorization, options).then((request) => request(axios, basePath));
544
1022
  },
545
1023
  /**
546
- * This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
1024
+ * 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.
1025
+ * @summary Delete the claim
1026
+ * @param {string} code
1027
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1028
+ * @param {*} [options] Override http request option.
1029
+ * @deprecated
1030
+ * @throws {RequiredError}
1031
+ */
1032
+ deleteClaim1(code: string, authorization?: string, options?: any): AxiosPromise<void> {
1033
+ return localVarFp.deleteClaim1(code, authorization, options).then((request) => request(axios, basePath));
1034
+ },
1035
+ /**
1036
+ * This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
1037
+ * @summary Retrieve the claim
1038
+ * @param {string} code
1039
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1040
+ * @param {*} [options] Override http request option.
1041
+ * @throws {RequiredError}
1042
+ */
1043
+ getClaim(code: string, authorization?: string, options?: any): AxiosPromise<GetClaimResponseClass> {
1044
+ return localVarFp.getClaim(code, authorization, options).then((request) => request(axios, basePath));
1045
+ },
1046
+ /**
1047
+ * 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.
547
1048
  * @summary Retrieve the claim
548
1049
  * @param {string} code
549
1050
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
550
1051
  * @param {*} [options] Override http request option.
1052
+ * @deprecated
551
1053
  * @throws {RequiredError}
552
1054
  */
553
- getClaim(code: string, authorization?: string, options?: any): AxiosPromise<GetClaimResponseClass> {
554
- return localVarFp.getClaim(code, authorization, options).then((request) => request(axios, basePath));
1055
+ getClaim1(code: string, authorization?: string, options?: any): AxiosPromise<GetClaimResponseClass> {
1056
+ return localVarFp.getClaim1(code, authorization, options).then((request) => request(axios, basePath));
555
1057
  },
556
1058
  /**
557
1059
  * This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
@@ -564,23 +1066,53 @@ export const ClaimsApiFactory = function (configuration?: Configuration, basePat
564
1066
  getClaimRegulationSummary(code: string, authorization?: string, options?: any): AxiosPromise<RegulationSummaryResponseClass> {
565
1067
  return localVarFp.getClaimRegulationSummary(code, authorization, options).then((request) => request(axios, basePath));
566
1068
  },
1069
+ /**
1070
+ * 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.
1071
+ * @summary Retrieve the claim regulation summary
1072
+ * @param {string} code Unique identifier for the object.
1073
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1074
+ * @param {*} [options] Override http request option.
1075
+ * @deprecated
1076
+ * @throws {RequiredError}
1077
+ */
1078
+ getClaimRegulationSummary1(code: string, authorization?: string, options?: any): AxiosPromise<RegulationSummaryResponseClass> {
1079
+ return localVarFp.getClaimRegulationSummary1(code, authorization, options).then((request) => request(axios, basePath));
1080
+ },
567
1081
  /**
568
1082
  * 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\"
569
1083
  * @summary List claims
570
1084
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
571
1085
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
572
1086
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
573
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyNumber, productId, accountCode, insuredObjectId, policyCode&lt;/i&gt;
1087
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, policyNumber, productId, accountCode, insuredObjectId, policyCode&lt;/i&gt;
574
1088
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, policyCode, accountCode, productName, claimNumber, policyNumber, damageDate, notificationDate, description, status&lt;/i&gt;
575
1089
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, accountCode, status, claimNumber, policyNumber, damageDate, notificationDate, description, createdAt, updatedAt&lt;/i&gt;
576
1090
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: partners&lt;i&gt;
577
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyNumber, productId, accountCode, insuredObjectId, policyCode&lt;/i&gt;
1091
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, policyNumber, productId, accountCode, insuredObjectId, policyCode&lt;/i&gt;
578
1092
  * @param {*} [options] Override http request option.
579
1093
  * @throws {RequiredError}
580
1094
  */
581
1095
  listClaims(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimsResponseClass> {
582
1096
  return localVarFp.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
583
1097
  },
1098
+ /**
1099
+ * 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.
1100
+ * @summary List claims
1101
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1102
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1103
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
1104
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, policyNumber, productId, accountCode, insuredObjectId, policyCode&lt;/i&gt;
1105
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, policyCode, accountCode, productName, claimNumber, policyNumber, damageDate, notificationDate, description, status&lt;/i&gt;
1106
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, accountCode, status, claimNumber, policyNumber, damageDate, notificationDate, description, createdAt, updatedAt&lt;/i&gt;
1107
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: partners&lt;i&gt;
1108
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, policyNumber, productId, accountCode, insuredObjectId, policyCode&lt;/i&gt;
1109
+ * @param {*} [options] Override http request option.
1110
+ * @deprecated
1111
+ * @throws {RequiredError}
1112
+ */
1113
+ listClaims1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimsResponseClass> {
1114
+ return localVarFp.listClaims1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
1115
+ },
584
1116
  /**
585
1117
  * 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\"
586
1118
  * @summary Patch the claim
@@ -593,6 +1125,19 @@ export const ClaimsApiFactory = function (configuration?: Configuration, basePat
593
1125
  patchClaim(code: string, patchClaimRequestDto: PatchClaimRequestDto, authorization?: string, options?: any): AxiosPromise<PatchClaimResponseClass> {
594
1126
  return localVarFp.patchClaim(code, patchClaimRequestDto, authorization, options).then((request) => request(axios, basePath));
595
1127
  },
1128
+ /**
1129
+ * 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.
1130
+ * @summary Patch the claim
1131
+ * @param {string} code
1132
+ * @param {PatchClaimRequestDto} patchClaimRequestDto
1133
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1134
+ * @param {*} [options] Override http request option.
1135
+ * @deprecated
1136
+ * @throws {RequiredError}
1137
+ */
1138
+ patchClaim1(code: string, patchClaimRequestDto: PatchClaimRequestDto, authorization?: string, options?: any): AxiosPromise<PatchClaimResponseClass> {
1139
+ return localVarFp.patchClaim1(code, patchClaimRequestDto, authorization, options).then((request) => request(axios, basePath));
1140
+ },
596
1141
  /**
597
1142
  * This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
598
1143
  * @summary Update the claim
@@ -605,6 +1150,19 @@ export const ClaimsApiFactory = function (configuration?: Configuration, basePat
605
1150
  updateClaim(code: string, updateClaimRequestDto: UpdateClaimRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateClaimResponseClass> {
606
1151
  return localVarFp.updateClaim(code, updateClaimRequestDto, authorization, options).then((request) => request(axios, basePath));
607
1152
  },
1153
+ /**
1154
+ * 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.
1155
+ * @summary Update the claim
1156
+ * @param {string} code
1157
+ * @param {UpdateClaimRequestDto} updateClaimRequestDto
1158
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1159
+ * @param {*} [options] Override http request option.
1160
+ * @deprecated
1161
+ * @throws {RequiredError}
1162
+ */
1163
+ updateClaim1(code: string, updateClaimRequestDto: UpdateClaimRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateClaimResponseClass> {
1164
+ return localVarFp.updateClaim1(code, updateClaimRequestDto, authorization, options).then((request) => request(axios, basePath));
1165
+ },
608
1166
  };
609
1167
  };
610
1168
 
@@ -629,6 +1187,27 @@ export interface ClaimsApiCreateClaimRequest {
629
1187
  readonly authorization?: string
630
1188
  }
631
1189
 
1190
+ /**
1191
+ * Request parameters for createClaim1 operation in ClaimsApi.
1192
+ * @export
1193
+ * @interface ClaimsApiCreateClaim1Request
1194
+ */
1195
+ export interface ClaimsApiCreateClaim1Request {
1196
+ /**
1197
+ *
1198
+ * @type {CreateClaimRequestDto}
1199
+ * @memberof ClaimsApiCreateClaim1
1200
+ */
1201
+ readonly createClaimRequestDto: CreateClaimRequestDto
1202
+
1203
+ /**
1204
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1205
+ * @type {string}
1206
+ * @memberof ClaimsApiCreateClaim1
1207
+ */
1208
+ readonly authorization?: string
1209
+ }
1210
+
632
1211
  /**
633
1212
  * Request parameters for deleteClaim operation in ClaimsApi.
634
1213
  * @export
@@ -650,6 +1229,27 @@ export interface ClaimsApiDeleteClaimRequest {
650
1229
  readonly authorization?: string
651
1230
  }
652
1231
 
1232
+ /**
1233
+ * Request parameters for deleteClaim1 operation in ClaimsApi.
1234
+ * @export
1235
+ * @interface ClaimsApiDeleteClaim1Request
1236
+ */
1237
+ export interface ClaimsApiDeleteClaim1Request {
1238
+ /**
1239
+ *
1240
+ * @type {string}
1241
+ * @memberof ClaimsApiDeleteClaim1
1242
+ */
1243
+ readonly code: string
1244
+
1245
+ /**
1246
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1247
+ * @type {string}
1248
+ * @memberof ClaimsApiDeleteClaim1
1249
+ */
1250
+ readonly authorization?: string
1251
+ }
1252
+
653
1253
  /**
654
1254
  * Request parameters for getClaim operation in ClaimsApi.
655
1255
  * @export
@@ -671,6 +1271,27 @@ export interface ClaimsApiGetClaimRequest {
671
1271
  readonly authorization?: string
672
1272
  }
673
1273
 
1274
+ /**
1275
+ * Request parameters for getClaim1 operation in ClaimsApi.
1276
+ * @export
1277
+ * @interface ClaimsApiGetClaim1Request
1278
+ */
1279
+ export interface ClaimsApiGetClaim1Request {
1280
+ /**
1281
+ *
1282
+ * @type {string}
1283
+ * @memberof ClaimsApiGetClaim1
1284
+ */
1285
+ readonly code: string
1286
+
1287
+ /**
1288
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1289
+ * @type {string}
1290
+ * @memberof ClaimsApiGetClaim1
1291
+ */
1292
+ readonly authorization?: string
1293
+ }
1294
+
674
1295
  /**
675
1296
  * Request parameters for getClaimRegulationSummary operation in ClaimsApi.
676
1297
  * @export
@@ -692,6 +1313,27 @@ export interface ClaimsApiGetClaimRegulationSummaryRequest {
692
1313
  readonly authorization?: string
693
1314
  }
694
1315
 
1316
+ /**
1317
+ * Request parameters for getClaimRegulationSummary1 operation in ClaimsApi.
1318
+ * @export
1319
+ * @interface ClaimsApiGetClaimRegulationSummary1Request
1320
+ */
1321
+ export interface ClaimsApiGetClaimRegulationSummary1Request {
1322
+ /**
1323
+ * Unique identifier for the object.
1324
+ * @type {string}
1325
+ * @memberof ClaimsApiGetClaimRegulationSummary1
1326
+ */
1327
+ readonly code: string
1328
+
1329
+ /**
1330
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1331
+ * @type {string}
1332
+ * @memberof ClaimsApiGetClaimRegulationSummary1
1333
+ */
1334
+ readonly authorization?: string
1335
+ }
1336
+
695
1337
  /**
696
1338
  * Request parameters for listClaims operation in ClaimsApi.
697
1339
  * @export
@@ -720,7 +1362,7 @@ export interface ClaimsApiListClaimsRequest {
720
1362
  readonly pageToken?: string
721
1363
 
722
1364
  /**
723
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyNumber, productId, accountCode, insuredObjectId, policyCode&lt;/i&gt;
1365
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, policyNumber, productId, accountCode, insuredObjectId, policyCode&lt;/i&gt;
724
1366
  * @type {string}
725
1367
  * @memberof ClaimsApiListClaims
726
1368
  */
@@ -748,13 +1390,76 @@ export interface ClaimsApiListClaimsRequest {
748
1390
  readonly expand?: string
749
1391
 
750
1392
  /**
751
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyNumber, productId, accountCode, insuredObjectId, policyCode&lt;/i&gt;
1393
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, policyNumber, productId, accountCode, insuredObjectId, policyCode&lt;/i&gt;
752
1394
  * @type {string}
753
1395
  * @memberof ClaimsApiListClaims
754
1396
  */
755
1397
  readonly filters?: string
756
1398
  }
757
1399
 
1400
+ /**
1401
+ * Request parameters for listClaims1 operation in ClaimsApi.
1402
+ * @export
1403
+ * @interface ClaimsApiListClaims1Request
1404
+ */
1405
+ export interface ClaimsApiListClaims1Request {
1406
+ /**
1407
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1408
+ * @type {string}
1409
+ * @memberof ClaimsApiListClaims1
1410
+ */
1411
+ readonly authorization?: string
1412
+
1413
+ /**
1414
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1415
+ * @type {number}
1416
+ * @memberof ClaimsApiListClaims1
1417
+ */
1418
+ readonly pageSize?: number
1419
+
1420
+ /**
1421
+ * 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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
1422
+ * @type {string}
1423
+ * @memberof ClaimsApiListClaims1
1424
+ */
1425
+ readonly pageToken?: string
1426
+
1427
+ /**
1428
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, policyNumber, productId, accountCode, insuredObjectId, policyCode&lt;/i&gt;
1429
+ * @type {string}
1430
+ * @memberof ClaimsApiListClaims1
1431
+ */
1432
+ readonly filter?: string
1433
+
1434
+ /**
1435
+ * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, policyCode, accountCode, productName, claimNumber, policyNumber, damageDate, notificationDate, description, status&lt;/i&gt;
1436
+ * @type {string}
1437
+ * @memberof ClaimsApiListClaims1
1438
+ */
1439
+ readonly search?: string
1440
+
1441
+ /**
1442
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, accountCode, status, claimNumber, policyNumber, damageDate, notificationDate, description, createdAt, updatedAt&lt;/i&gt;
1443
+ * @type {string}
1444
+ * @memberof ClaimsApiListClaims1
1445
+ */
1446
+ readonly order?: string
1447
+
1448
+ /**
1449
+ * 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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: partners&lt;i&gt;
1450
+ * @type {string}
1451
+ * @memberof ClaimsApiListClaims1
1452
+ */
1453
+ readonly expand?: string
1454
+
1455
+ /**
1456
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, policyNumber, productId, accountCode, insuredObjectId, policyCode&lt;/i&gt;
1457
+ * @type {string}
1458
+ * @memberof ClaimsApiListClaims1
1459
+ */
1460
+ readonly filters?: string
1461
+ }
1462
+
758
1463
  /**
759
1464
  * Request parameters for patchClaim operation in ClaimsApi.
760
1465
  * @export
@@ -783,6 +1488,34 @@ export interface ClaimsApiPatchClaimRequest {
783
1488
  readonly authorization?: string
784
1489
  }
785
1490
 
1491
+ /**
1492
+ * Request parameters for patchClaim1 operation in ClaimsApi.
1493
+ * @export
1494
+ * @interface ClaimsApiPatchClaim1Request
1495
+ */
1496
+ export interface ClaimsApiPatchClaim1Request {
1497
+ /**
1498
+ *
1499
+ * @type {string}
1500
+ * @memberof ClaimsApiPatchClaim1
1501
+ */
1502
+ readonly code: string
1503
+
1504
+ /**
1505
+ *
1506
+ * @type {PatchClaimRequestDto}
1507
+ * @memberof ClaimsApiPatchClaim1
1508
+ */
1509
+ readonly patchClaimRequestDto: PatchClaimRequestDto
1510
+
1511
+ /**
1512
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1513
+ * @type {string}
1514
+ * @memberof ClaimsApiPatchClaim1
1515
+ */
1516
+ readonly authorization?: string
1517
+ }
1518
+
786
1519
  /**
787
1520
  * Request parameters for updateClaim operation in ClaimsApi.
788
1521
  * @export
@@ -811,6 +1544,34 @@ export interface ClaimsApiUpdateClaimRequest {
811
1544
  readonly authorization?: string
812
1545
  }
813
1546
 
1547
+ /**
1548
+ * Request parameters for updateClaim1 operation in ClaimsApi.
1549
+ * @export
1550
+ * @interface ClaimsApiUpdateClaim1Request
1551
+ */
1552
+ export interface ClaimsApiUpdateClaim1Request {
1553
+ /**
1554
+ *
1555
+ * @type {string}
1556
+ * @memberof ClaimsApiUpdateClaim1
1557
+ */
1558
+ readonly code: string
1559
+
1560
+ /**
1561
+ *
1562
+ * @type {UpdateClaimRequestDto}
1563
+ * @memberof ClaimsApiUpdateClaim1
1564
+ */
1565
+ readonly updateClaimRequestDto: UpdateClaimRequestDto
1566
+
1567
+ /**
1568
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1569
+ * @type {string}
1570
+ * @memberof ClaimsApiUpdateClaim1
1571
+ */
1572
+ readonly authorization?: string
1573
+ }
1574
+
814
1575
  /**
815
1576
  * ClaimsApi - object-oriented interface
816
1577
  * @export
@@ -830,6 +1591,19 @@ export class ClaimsApi extends BaseAPI {
830
1591
  return ClaimsApiFp(this.configuration).createClaim(requestParameters.createClaimRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
831
1592
  }
832
1593
 
1594
+ /**
1595
+ * 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.
1596
+ * @summary Create the claim
1597
+ * @param {ClaimsApiCreateClaim1Request} requestParameters Request parameters.
1598
+ * @param {*} [options] Override http request option.
1599
+ * @deprecated
1600
+ * @throws {RequiredError}
1601
+ * @memberof ClaimsApi
1602
+ */
1603
+ public createClaim1(requestParameters: ClaimsApiCreateClaim1Request, options?: AxiosRequestConfig) {
1604
+ return ClaimsApiFp(this.configuration).createClaim1(requestParameters.createClaimRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1605
+ }
1606
+
833
1607
  /**
834
1608
  * This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
835
1609
  * @summary Delete the claim
@@ -842,6 +1616,19 @@ export class ClaimsApi extends BaseAPI {
842
1616
  return ClaimsApiFp(this.configuration).deleteClaim(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
843
1617
  }
844
1618
 
1619
+ /**
1620
+ * 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.
1621
+ * @summary Delete the claim
1622
+ * @param {ClaimsApiDeleteClaim1Request} requestParameters Request parameters.
1623
+ * @param {*} [options] Override http request option.
1624
+ * @deprecated
1625
+ * @throws {RequiredError}
1626
+ * @memberof ClaimsApi
1627
+ */
1628
+ public deleteClaim1(requestParameters: ClaimsApiDeleteClaim1Request, options?: AxiosRequestConfig) {
1629
+ return ClaimsApiFp(this.configuration).deleteClaim1(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1630
+ }
1631
+
845
1632
  /**
846
1633
  * This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
847
1634
  * @summary Retrieve the claim
@@ -854,6 +1641,19 @@ export class ClaimsApi extends BaseAPI {
854
1641
  return ClaimsApiFp(this.configuration).getClaim(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
855
1642
  }
856
1643
 
1644
+ /**
1645
+ * 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.
1646
+ * @summary Retrieve the claim
1647
+ * @param {ClaimsApiGetClaim1Request} requestParameters Request parameters.
1648
+ * @param {*} [options] Override http request option.
1649
+ * @deprecated
1650
+ * @throws {RequiredError}
1651
+ * @memberof ClaimsApi
1652
+ */
1653
+ public getClaim1(requestParameters: ClaimsApiGetClaim1Request, options?: AxiosRequestConfig) {
1654
+ return ClaimsApiFp(this.configuration).getClaim1(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1655
+ }
1656
+
857
1657
  /**
858
1658
  * This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
859
1659
  * @summary Retrieve the claim regulation summary
@@ -866,6 +1666,19 @@ export class ClaimsApi extends BaseAPI {
866
1666
  return ClaimsApiFp(this.configuration).getClaimRegulationSummary(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
867
1667
  }
868
1668
 
1669
+ /**
1670
+ * 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.
1671
+ * @summary Retrieve the claim regulation summary
1672
+ * @param {ClaimsApiGetClaimRegulationSummary1Request} requestParameters Request parameters.
1673
+ * @param {*} [options] Override http request option.
1674
+ * @deprecated
1675
+ * @throws {RequiredError}
1676
+ * @memberof ClaimsApi
1677
+ */
1678
+ public getClaimRegulationSummary1(requestParameters: ClaimsApiGetClaimRegulationSummary1Request, options?: AxiosRequestConfig) {
1679
+ return ClaimsApiFp(this.configuration).getClaimRegulationSummary1(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1680
+ }
1681
+
869
1682
  /**
870
1683
  * 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\"
871
1684
  * @summary List claims
@@ -878,6 +1691,19 @@ export class ClaimsApi extends BaseAPI {
878
1691
  return ClaimsApiFp(this.configuration).listClaims(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
879
1692
  }
880
1693
 
1694
+ /**
1695
+ * 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.
1696
+ * @summary List claims
1697
+ * @param {ClaimsApiListClaims1Request} requestParameters Request parameters.
1698
+ * @param {*} [options] Override http request option.
1699
+ * @deprecated
1700
+ * @throws {RequiredError}
1701
+ * @memberof ClaimsApi
1702
+ */
1703
+ public listClaims1(requestParameters: ClaimsApiListClaims1Request = {}, options?: AxiosRequestConfig) {
1704
+ return ClaimsApiFp(this.configuration).listClaims1(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
1705
+ }
1706
+
881
1707
  /**
882
1708
  * 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\"
883
1709
  * @summary Patch the claim
@@ -890,6 +1716,19 @@ export class ClaimsApi extends BaseAPI {
890
1716
  return ClaimsApiFp(this.configuration).patchClaim(requestParameters.code, requestParameters.patchClaimRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
891
1717
  }
892
1718
 
1719
+ /**
1720
+ * 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.
1721
+ * @summary Patch the claim
1722
+ * @param {ClaimsApiPatchClaim1Request} requestParameters Request parameters.
1723
+ * @param {*} [options] Override http request option.
1724
+ * @deprecated
1725
+ * @throws {RequiredError}
1726
+ * @memberof ClaimsApi
1727
+ */
1728
+ public patchClaim1(requestParameters: ClaimsApiPatchClaim1Request, options?: AxiosRequestConfig) {
1729
+ return ClaimsApiFp(this.configuration).patchClaim1(requestParameters.code, requestParameters.patchClaimRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1730
+ }
1731
+
893
1732
  /**
894
1733
  * This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
895
1734
  * @summary Update the claim
@@ -901,4 +1740,17 @@ export class ClaimsApi extends BaseAPI {
901
1740
  public updateClaim(requestParameters: ClaimsApiUpdateClaimRequest, options?: AxiosRequestConfig) {
902
1741
  return ClaimsApiFp(this.configuration).updateClaim(requestParameters.code, requestParameters.updateClaimRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
903
1742
  }
1743
+
1744
+ /**
1745
+ * 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.
1746
+ * @summary Update the claim
1747
+ * @param {ClaimsApiUpdateClaim1Request} requestParameters Request parameters.
1748
+ * @param {*} [options] Override http request option.
1749
+ * @deprecated
1750
+ * @throws {RequiredError}
1751
+ * @memberof ClaimsApi
1752
+ */
1753
+ public updateClaim1(requestParameters: ClaimsApiUpdateClaim1Request, options?: AxiosRequestConfig) {
1754
+ return ClaimsApiFp(this.configuration).updateClaim1(requestParameters.code, requestParameters.updateClaimRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1755
+ }
904
1756
  }