@emilgroup/claim-sdk 1.40.1-beta.7 → 1.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/.openapi-generator/FILES +0 -10
  2. package/README.md +2 -2
  3. package/api/claim-partner-roles-api.ts +6 -613
  4. package/api/claim-partners-api.ts +0 -504
  5. package/api/claim-regulations-api.ts +3 -624
  6. package/api/claim-statuses-api.ts +5 -728
  7. package/api/claims-api.ts +4 -828
  8. package/api/health-check-api.ts +0 -62
  9. package/api/settlements-api.ts +6 -613
  10. package/api.ts +0 -2
  11. package/dist/api/claim-partner-roles-api.d.ts +0 -338
  12. package/dist/api/claim-partner-roles-api.js +0 -505
  13. package/dist/api/claim-partners-api.d.ts +0 -283
  14. package/dist/api/claim-partners-api.js +0 -412
  15. package/dist/api/claim-regulations-api.d.ts +0 -347
  16. package/dist/api/claim-regulations-api.js +0 -511
  17. package/dist/api/claim-statuses-api.d.ts +0 -402
  18. package/dist/api/claim-statuses-api.js +11 -615
  19. package/dist/api/claims-api.d.ts +0 -457
  20. package/dist/api/claims-api.js +30 -726
  21. package/dist/api/health-check-api.d.ts +0 -29
  22. package/dist/api/health-check-api.js +0 -69
  23. package/dist/api/settlements-api.d.ts +0 -338
  24. package/dist/api/settlements-api.js +0 -505
  25. package/dist/api.d.ts +0 -1
  26. package/dist/api.js +0 -1
  27. package/dist/models/claim-class.d.ts +0 -6
  28. package/dist/models/index.d.ts +0 -9
  29. package/dist/models/index.js +0 -9
  30. package/dist/models/list-claim-partner-roles-response-class.d.ts +0 -12
  31. package/dist/models/list-claim-partners-response-class.d.ts +0 -12
  32. package/dist/models/list-claim-statuses-response-class.d.ts +1 -13
  33. package/dist/models/list-claims-response-class.d.ts +0 -12
  34. package/dist/models/list-regulations-response-class.d.ts +0 -12
  35. package/models/claim-class.ts +0 -6
  36. package/models/index.ts +0 -9
  37. package/models/list-claim-partner-roles-response-class.ts +0 -12
  38. package/models/list-claim-partners-response-class.ts +0 -12
  39. package/models/list-claim-statuses-response-class.ts +1 -13
  40. package/models/list-claims-response-class.ts +0 -12
  41. package/models/list-regulations-response-class.ts +0 -12
  42. package/package.json +1 -1
  43. package/api/claim-positions-api.ts +0 -1316
  44. package/dist/api/claim-positions-api.d.ts +0 -740
  45. package/dist/api/claim-positions-api.js +0 -1157
  46. package/dist/models/claim-position-class.d.ts +0 -121
  47. package/dist/models/claim-position-class.js +0 -15
  48. package/dist/models/coverage-class.d.ts +0 -72
  49. package/dist/models/coverage-class.js +0 -21
  50. package/dist/models/coverage-request-dto.d.ts +0 -41
  51. package/dist/models/coverage-request-dto.js +0 -20
  52. package/dist/models/create-claim-position-request-dto.d.ts +0 -73
  53. package/dist/models/create-claim-position-request-dto.js +0 -15
  54. package/dist/models/create-claim-position-response-class.d.ts +0 -25
  55. package/dist/models/create-claim-position-response-class.js +0 -15
  56. package/dist/models/get-claim-position-response-class.d.ts +0 -25
  57. package/dist/models/get-claim-position-response-class.js +0 -15
  58. package/dist/models/list-claim-positions-response-class.d.ts +0 -43
  59. package/dist/models/list-claim-positions-response-class.js +0 -15
  60. package/dist/models/update-claim-position-request-dto.d.ts +0 -73
  61. package/dist/models/update-claim-position-request-dto.js +0 -15
  62. package/dist/models/update-claim-position-response-class.d.ts +0 -25
  63. package/dist/models/update-claim-position-response-class.js +0 -15
  64. package/models/claim-position-class.ts +0 -127
  65. package/models/coverage-class.ts +0 -81
  66. package/models/coverage-request-dto.ts +0 -50
  67. package/models/create-claim-position-request-dto.ts +0 -79
  68. package/models/create-claim-position-response-class.ts +0 -31
  69. package/models/get-claim-position-response-class.ts +0 -31
  70. package/models/list-claim-positions-response-class.ts +0 -49
  71. package/models/update-claim-position-request-dto.ts +0 -79
  72. package/models/update-claim-position-response-class.ts +0 -31
package/api/claims-api.ts CHANGED
@@ -79,53 +79,6 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
79
79
 
80
80
 
81
81
 
82
- localVarHeaderParameter['Content-Type'] = 'application/json';
83
-
84
- setSearchParams(localVarUrlObj, localVarQueryParameter);
85
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
86
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
87
- localVarRequestOptions.data = serializeDataIfNeeded(createClaimRequestDto, localVarRequestOptions, configuration)
88
-
89
- return {
90
- url: toPathString(localVarUrlObj),
91
- options: localVarRequestOptions,
92
- };
93
- },
94
- /**
95
- * This will create a claim in the database **Required Permissions** \"claim-management.claims.create\"
96
- * @summary Create the claim
97
- * @param {CreateClaimRequestDto} createClaimRequestDto
98
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
99
- * @param {*} [options] Override http request option.
100
- * @throws {RequiredError}
101
- */
102
- createClaim1: async (createClaimRequestDto: CreateClaimRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
103
- // verify required parameter 'createClaimRequestDto' is not null or undefined
104
- assertParamExists('createClaim1', 'createClaimRequestDto', createClaimRequestDto)
105
- const localVarPath = `/claimservice/v1/claims`;
106
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
107
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
108
- let baseOptions;
109
- let baseAccessToken;
110
- if (configuration) {
111
- baseOptions = configuration.baseOptions;
112
- baseAccessToken = configuration.accessToken;
113
- }
114
-
115
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
116
- const localVarHeaderParameter = {} as any;
117
- const localVarQueryParameter = {} as any;
118
-
119
- // authentication bearer required
120
- // http bearer authentication required
121
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
122
-
123
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
124
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
125
- }
126
-
127
-
128
-
129
82
  localVarHeaderParameter['Content-Type'] = 'application/json';
130
83
 
131
84
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -174,51 +127,6 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
174
127
 
175
128
 
176
129
 
177
- setSearchParams(localVarUrlObj, localVarQueryParameter);
178
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
179
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
180
-
181
- return {
182
- url: toPathString(localVarUrlObj),
183
- options: localVarRequestOptions,
184
- };
185
- },
186
- /**
187
- * This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
188
- * @summary Delete the claim
189
- * @param {string} code
190
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
191
- * @param {*} [options] Override http request option.
192
- * @throws {RequiredError}
193
- */
194
- deleteClaim1: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
195
- // verify required parameter 'code' is not null or undefined
196
- assertParamExists('deleteClaim1', 'code', code)
197
- const localVarPath = `/claimservice/v1/claims/{code}`
198
- .replace(`{${"code"}}`, encodeURIComponent(String(code)));
199
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
200
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
201
- let baseOptions;
202
- let baseAccessToken;
203
- if (configuration) {
204
- baseOptions = configuration.baseOptions;
205
- baseAccessToken = configuration.accessToken;
206
- }
207
-
208
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
209
- const localVarHeaderParameter = {} as any;
210
- const localVarQueryParameter = {} as any;
211
-
212
- // authentication bearer required
213
- // http bearer authentication required
214
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
215
-
216
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
217
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
218
- }
219
-
220
-
221
-
222
130
  setSearchParams(localVarUrlObj, localVarQueryParameter);
223
131
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
224
132
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -264,51 +172,6 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
264
172
 
265
173
 
266
174
 
267
- setSearchParams(localVarUrlObj, localVarQueryParameter);
268
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
269
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
270
-
271
- return {
272
- url: toPathString(localVarUrlObj),
273
- options: localVarRequestOptions,
274
- };
275
- },
276
- /**
277
- * This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
278
- * @summary Retrieve the claim
279
- * @param {string} code
280
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
281
- * @param {*} [options] Override http request option.
282
- * @throws {RequiredError}
283
- */
284
- getClaim1: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
285
- // verify required parameter 'code' is not null or undefined
286
- assertParamExists('getClaim1', 'code', code)
287
- const localVarPath = `/claimservice/v1/claims/{code}`
288
- .replace(`{${"code"}}`, encodeURIComponent(String(code)));
289
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
290
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
291
- let baseOptions;
292
- let baseAccessToken;
293
- if (configuration) {
294
- baseOptions = configuration.baseOptions;
295
- baseAccessToken = configuration.accessToken;
296
- }
297
-
298
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
299
- const localVarHeaderParameter = {} as any;
300
- const localVarQueryParameter = {} as any;
301
-
302
- // authentication bearer required
303
- // http bearer authentication required
304
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
305
-
306
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
307
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
308
- }
309
-
310
-
311
-
312
175
  setSearchParams(localVarUrlObj, localVarQueryParameter);
313
176
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
314
177
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -354,51 +217,6 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
354
217
 
355
218
 
356
219
 
357
- setSearchParams(localVarUrlObj, localVarQueryParameter);
358
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
359
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
360
-
361
- return {
362
- url: toPathString(localVarUrlObj),
363
- options: localVarRequestOptions,
364
- };
365
- },
366
- /**
367
- * This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
368
- * @summary Retrieve the claim regulation summary
369
- * @param {string} code Unique identifier for the object.
370
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
371
- * @param {*} [options] Override http request option.
372
- * @throws {RequiredError}
373
- */
374
- getClaimRegulationSummary1: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
375
- // verify required parameter 'code' is not null or undefined
376
- assertParamExists('getClaimRegulationSummary1', 'code', code)
377
- const localVarPath = `/claimservice/v1/claims/{code}/regulations/summary`
378
- .replace(`{${"code"}}`, encodeURIComponent(String(code)));
379
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
380
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
381
- let baseOptions;
382
- let baseAccessToken;
383
- if (configuration) {
384
- baseOptions = configuration.baseOptions;
385
- baseAccessToken = configuration.accessToken;
386
- }
387
-
388
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
389
- const localVarHeaderParameter = {} as any;
390
- const localVarQueryParameter = {} as any;
391
-
392
- // authentication bearer required
393
- // http bearer authentication required
394
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
395
-
396
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
397
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
398
- }
399
-
400
-
401
-
402
220
  setSearchParams(localVarUrlObj, localVarQueryParameter);
403
221
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
404
222
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -475,82 +293,6 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
475
293
 
476
294
 
477
295
 
478
- setSearchParams(localVarUrlObj, localVarQueryParameter);
479
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
480
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
481
-
482
- return {
483
- url: toPathString(localVarUrlObj),
484
- options: localVarRequestOptions,
485
- };
486
- },
487
- /**
488
- * 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\"
489
- * @summary List claims
490
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
491
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
492
- * @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.
493
- * @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;
494
- * @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;
495
- * @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;
496
- * @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;
497
- * @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;
498
- * @param {*} [options] Override http request option.
499
- * @throws {RequiredError}
500
- */
501
- listClaims1: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
502
- const localVarPath = `/claimservice/v1/claims`;
503
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
504
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
505
- let baseOptions;
506
- let baseAccessToken;
507
- if (configuration) {
508
- baseOptions = configuration.baseOptions;
509
- baseAccessToken = configuration.accessToken;
510
- }
511
-
512
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
513
- const localVarHeaderParameter = {} as any;
514
- const localVarQueryParameter = {} as any;
515
-
516
- // authentication bearer required
517
- // http bearer authentication required
518
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
519
-
520
- if (pageSize !== undefined) {
521
- localVarQueryParameter['pageSize'] = pageSize;
522
- }
523
-
524
- if (pageToken !== undefined) {
525
- localVarQueryParameter['pageToken'] = pageToken;
526
- }
527
-
528
- if (filter !== undefined) {
529
- localVarQueryParameter['filter'] = filter;
530
- }
531
-
532
- if (search !== undefined) {
533
- localVarQueryParameter['search'] = search;
534
- }
535
-
536
- if (order !== undefined) {
537
- localVarQueryParameter['order'] = order;
538
- }
539
-
540
- if (expand !== undefined) {
541
- localVarQueryParameter['expand'] = expand;
542
- }
543
-
544
- if (filters !== undefined) {
545
- localVarQueryParameter['filters'] = filters;
546
- }
547
-
548
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
549
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
550
- }
551
-
552
-
553
-
554
296
  setSearchParams(localVarUrlObj, localVarQueryParameter);
555
297
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
556
298
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -599,57 +341,6 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
599
341
 
600
342
 
601
343
 
602
- localVarHeaderParameter['Content-Type'] = 'application/json';
603
-
604
- setSearchParams(localVarUrlObj, localVarQueryParameter);
605
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
606
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
607
- localVarRequestOptions.data = serializeDataIfNeeded(patchClaimRequestDto, localVarRequestOptions, configuration)
608
-
609
- return {
610
- url: toPathString(localVarUrlObj),
611
- options: localVarRequestOptions,
612
- };
613
- },
614
- /**
615
- * 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\"
616
- * @summary Patch the claim
617
- * @param {string} code
618
- * @param {PatchClaimRequestDto} patchClaimRequestDto
619
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
620
- * @param {*} [options] Override http request option.
621
- * @throws {RequiredError}
622
- */
623
- patchClaim1: async (code: string, patchClaimRequestDto: PatchClaimRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
624
- // verify required parameter 'code' is not null or undefined
625
- assertParamExists('patchClaim1', 'code', code)
626
- // verify required parameter 'patchClaimRequestDto' is not null or undefined
627
- assertParamExists('patchClaim1', 'patchClaimRequestDto', patchClaimRequestDto)
628
- const localVarPath = `/claimservice/v1/claims/{code}`
629
- .replace(`{${"code"}}`, encodeURIComponent(String(code)));
630
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
631
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
632
- let baseOptions;
633
- let baseAccessToken;
634
- if (configuration) {
635
- baseOptions = configuration.baseOptions;
636
- baseAccessToken = configuration.accessToken;
637
- }
638
-
639
- const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
640
- const localVarHeaderParameter = {} as any;
641
- const localVarQueryParameter = {} as any;
642
-
643
- // authentication bearer required
644
- // http bearer authentication required
645
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
646
-
647
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
648
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
649
- }
650
-
651
-
652
-
653
344
  localVarHeaderParameter['Content-Type'] = 'application/json';
654
345
 
655
346
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -701,57 +392,6 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
701
392
 
702
393
 
703
394
 
704
- localVarHeaderParameter['Content-Type'] = 'application/json';
705
-
706
- setSearchParams(localVarUrlObj, localVarQueryParameter);
707
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
708
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
709
- localVarRequestOptions.data = serializeDataIfNeeded(updateClaimRequestDto, localVarRequestOptions, configuration)
710
-
711
- return {
712
- url: toPathString(localVarUrlObj),
713
- options: localVarRequestOptions,
714
- };
715
- },
716
- /**
717
- * This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
718
- * @summary Update the claim
719
- * @param {string} code
720
- * @param {UpdateClaimRequestDto} updateClaimRequestDto
721
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
722
- * @param {*} [options] Override http request option.
723
- * @throws {RequiredError}
724
- */
725
- updateClaim1: async (code: string, updateClaimRequestDto: UpdateClaimRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
726
- // verify required parameter 'code' is not null or undefined
727
- assertParamExists('updateClaim1', 'code', code)
728
- // verify required parameter 'updateClaimRequestDto' is not null or undefined
729
- assertParamExists('updateClaim1', 'updateClaimRequestDto', updateClaimRequestDto)
730
- const localVarPath = `/claimservice/v1/claims/{code}`
731
- .replace(`{${"code"}}`, encodeURIComponent(String(code)));
732
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
733
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
734
- let baseOptions;
735
- let baseAccessToken;
736
- if (configuration) {
737
- baseOptions = configuration.baseOptions;
738
- baseAccessToken = configuration.accessToken;
739
- }
740
-
741
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
742
- const localVarHeaderParameter = {} as any;
743
- const localVarQueryParameter = {} as any;
744
-
745
- // authentication bearer required
746
- // http bearer authentication required
747
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
748
-
749
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
750
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
751
- }
752
-
753
-
754
-
755
395
  localVarHeaderParameter['Content-Type'] = 'application/json';
756
396
 
757
397
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -786,18 +426,6 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
786
426
  const localVarAxiosArgs = await localVarAxiosParamCreator.createClaim(createClaimRequestDto, authorization, options);
787
427
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
788
428
  },
789
- /**
790
- * This will create a claim in the database **Required Permissions** \"claim-management.claims.create\"
791
- * @summary Create the claim
792
- * @param {CreateClaimRequestDto} createClaimRequestDto
793
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
794
- * @param {*} [options] Override http request option.
795
- * @throws {RequiredError}
796
- */
797
- async createClaim1(createClaimRequestDto: CreateClaimRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateClaimResponseClass>> {
798
- const localVarAxiosArgs = await localVarAxiosParamCreator.createClaim1(createClaimRequestDto, authorization, options);
799
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
800
- },
801
429
  /**
802
430
  * This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
803
431
  * @summary Delete the claim
@@ -810,18 +438,6 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
810
438
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaim(code, authorization, options);
811
439
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
812
440
  },
813
- /**
814
- * This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
815
- * @summary Delete the claim
816
- * @param {string} code
817
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
818
- * @param {*} [options] Override http request option.
819
- * @throws {RequiredError}
820
- */
821
- async deleteClaim1(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
822
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaim1(code, authorization, options);
823
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
824
- },
825
441
  /**
826
442
  * This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
827
443
  * @summary Retrieve the claim
@@ -834,18 +450,6 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
834
450
  const localVarAxiosArgs = await localVarAxiosParamCreator.getClaim(code, authorization, options);
835
451
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
836
452
  },
837
- /**
838
- * This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
839
- * @summary Retrieve the claim
840
- * @param {string} code
841
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
842
- * @param {*} [options] Override http request option.
843
- * @throws {RequiredError}
844
- */
845
- async getClaim1(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimResponseClass>> {
846
- const localVarAxiosArgs = await localVarAxiosParamCreator.getClaim1(code, authorization, options);
847
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
848
- },
849
453
  /**
850
454
  * This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
851
455
  * @summary Retrieve the claim regulation summary
@@ -858,18 +462,6 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
858
462
  const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimRegulationSummary(code, authorization, options);
859
463
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
860
464
  },
861
- /**
862
- * This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
863
- * @summary Retrieve the claim regulation summary
864
- * @param {string} code Unique identifier for the object.
865
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
866
- * @param {*} [options] Override http request option.
867
- * @throws {RequiredError}
868
- */
869
- async getClaimRegulationSummary1(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationSummaryResponseClass>> {
870
- const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimRegulationSummary1(code, authorization, options);
871
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
872
- },
873
465
  /**
874
466
  * 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\"
875
467
  * @summary List claims
@@ -888,24 +480,6 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
888
480
  const localVarAxiosArgs = await localVarAxiosParamCreator.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
889
481
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
890
482
  },
891
- /**
892
- * 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\"
893
- * @summary List claims
894
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
895
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
896
- * @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.
897
- * @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;
898
- * @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;
899
- * @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;
900
- * @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;
901
- * @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;
902
- * @param {*} [options] Override http request option.
903
- * @throws {RequiredError}
904
- */
905
- 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>> {
906
- const localVarAxiosArgs = await localVarAxiosParamCreator.listClaims1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
907
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
908
- },
909
483
  /**
910
484
  * 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\"
911
485
  * @summary Patch the claim
@@ -919,19 +493,6 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
919
493
  const localVarAxiosArgs = await localVarAxiosParamCreator.patchClaim(code, patchClaimRequestDto, authorization, options);
920
494
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
921
495
  },
922
- /**
923
- * 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\"
924
- * @summary Patch the claim
925
- * @param {string} code
926
- * @param {PatchClaimRequestDto} patchClaimRequestDto
927
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
928
- * @param {*} [options] Override http request option.
929
- * @throws {RequiredError}
930
- */
931
- async patchClaim1(code: string, patchClaimRequestDto: PatchClaimRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchClaimResponseClass>> {
932
- const localVarAxiosArgs = await localVarAxiosParamCreator.patchClaim1(code, patchClaimRequestDto, authorization, options);
933
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
934
- },
935
496
  /**
936
497
  * This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
937
498
  * @summary Update the claim
@@ -945,19 +506,6 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
945
506
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaim(code, updateClaimRequestDto, authorization, options);
946
507
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
947
508
  },
948
- /**
949
- * This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
950
- * @summary Update the claim
951
- * @param {string} code
952
- * @param {UpdateClaimRequestDto} updateClaimRequestDto
953
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
954
- * @param {*} [options] Override http request option.
955
- * @throws {RequiredError}
956
- */
957
- async updateClaim1(code: string, updateClaimRequestDto: UpdateClaimRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateClaimResponseClass>> {
958
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaim1(code, updateClaimRequestDto, authorization, options);
959
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
960
- },
961
509
  }
962
510
  };
963
511
 
@@ -979,17 +527,6 @@ export const ClaimsApiFactory = function (configuration?: Configuration, basePat
979
527
  createClaim(createClaimRequestDto: CreateClaimRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimResponseClass> {
980
528
  return localVarFp.createClaim(createClaimRequestDto, authorization, options).then((request) => request(axios, basePath));
981
529
  },
982
- /**
983
- * This will create a claim in the database **Required Permissions** \"claim-management.claims.create\"
984
- * @summary Create the claim
985
- * @param {CreateClaimRequestDto} createClaimRequestDto
986
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
987
- * @param {*} [options] Override http request option.
988
- * @throws {RequiredError}
989
- */
990
- createClaim1(createClaimRequestDto: CreateClaimRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimResponseClass> {
991
- return localVarFp.createClaim1(createClaimRequestDto, authorization, options).then((request) => request(axios, basePath));
992
- },
993
530
  /**
994
531
  * This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
995
532
  * @summary Delete the claim
@@ -1001,17 +538,6 @@ export const ClaimsApiFactory = function (configuration?: Configuration, basePat
1001
538
  deleteClaim(code: string, authorization?: string, options?: any): AxiosPromise<void> {
1002
539
  return localVarFp.deleteClaim(code, authorization, options).then((request) => request(axios, basePath));
1003
540
  },
1004
- /**
1005
- * This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
1006
- * @summary Delete the claim
1007
- * @param {string} code
1008
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1009
- * @param {*} [options] Override http request option.
1010
- * @throws {RequiredError}
1011
- */
1012
- deleteClaim1(code: string, authorization?: string, options?: any): AxiosPromise<void> {
1013
- return localVarFp.deleteClaim1(code, authorization, options).then((request) => request(axios, basePath));
1014
- },
1015
541
  /**
1016
542
  * This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
1017
543
  * @summary Retrieve the claim
@@ -1023,28 +549,6 @@ export const ClaimsApiFactory = function (configuration?: Configuration, basePat
1023
549
  getClaim(code: string, authorization?: string, options?: any): AxiosPromise<GetClaimResponseClass> {
1024
550
  return localVarFp.getClaim(code, authorization, options).then((request) => request(axios, basePath));
1025
551
  },
1026
- /**
1027
- * This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
1028
- * @summary Retrieve the claim
1029
- * @param {string} code
1030
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1031
- * @param {*} [options] Override http request option.
1032
- * @throws {RequiredError}
1033
- */
1034
- getClaim1(code: string, authorization?: string, options?: any): AxiosPromise<GetClaimResponseClass> {
1035
- return localVarFp.getClaim1(code, authorization, options).then((request) => request(axios, basePath));
1036
- },
1037
- /**
1038
- * This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
1039
- * @summary Retrieve the claim regulation summary
1040
- * @param {string} code Unique identifier for the object.
1041
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1042
- * @param {*} [options] Override http request option.
1043
- * @throws {RequiredError}
1044
- */
1045
- getClaimRegulationSummary(code: string, authorization?: string, options?: any): AxiosPromise<RegulationSummaryResponseClass> {
1046
- return localVarFp.getClaimRegulationSummary(code, authorization, options).then((request) => request(axios, basePath));
1047
- },
1048
552
  /**
1049
553
  * This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
1050
554
  * @summary Retrieve the claim regulation summary
@@ -1053,25 +557,8 @@ export const ClaimsApiFactory = function (configuration?: Configuration, basePat
1053
557
  * @param {*} [options] Override http request option.
1054
558
  * @throws {RequiredError}
1055
559
  */
1056
- getClaimRegulationSummary1(code: string, authorization?: string, options?: any): AxiosPromise<RegulationSummaryResponseClass> {
1057
- return localVarFp.getClaimRegulationSummary1(code, authorization, options).then((request) => request(axios, basePath));
1058
- },
1059
- /**
1060
- * 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\"
1061
- * @summary List claims
1062
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1063
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1064
- * @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.
1065
- * @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;
1066
- * @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;
1067
- * @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;
1068
- * @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;
1069
- * @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;
1070
- * @param {*} [options] Override http request option.
1071
- * @throws {RequiredError}
1072
- */
1073
- listClaims(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimsResponseClass> {
1074
- return localVarFp.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
560
+ getClaimRegulationSummary(code: string, authorization?: string, options?: any): AxiosPromise<RegulationSummaryResponseClass> {
561
+ return localVarFp.getClaimRegulationSummary(code, authorization, options).then((request) => request(axios, basePath));
1075
562
  },
1076
563
  /**
1077
564
  * 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\"
@@ -1087,8 +574,8 @@ export const ClaimsApiFactory = function (configuration?: Configuration, basePat
1087
574
  * @param {*} [options] Override http request option.
1088
575
  * @throws {RequiredError}
1089
576
  */
1090
- listClaims1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimsResponseClass> {
1091
- return localVarFp.listClaims1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
577
+ listClaims(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimsResponseClass> {
578
+ return localVarFp.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
1092
579
  },
1093
580
  /**
1094
581
  * 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\"
@@ -1102,18 +589,6 @@ export const ClaimsApiFactory = function (configuration?: Configuration, basePat
1102
589
  patchClaim(code: string, patchClaimRequestDto: PatchClaimRequestDto, authorization?: string, options?: any): AxiosPromise<PatchClaimResponseClass> {
1103
590
  return localVarFp.patchClaim(code, patchClaimRequestDto, authorization, options).then((request) => request(axios, basePath));
1104
591
  },
1105
- /**
1106
- * 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\"
1107
- * @summary Patch the claim
1108
- * @param {string} code
1109
- * @param {PatchClaimRequestDto} patchClaimRequestDto
1110
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1111
- * @param {*} [options] Override http request option.
1112
- * @throws {RequiredError}
1113
- */
1114
- patchClaim1(code: string, patchClaimRequestDto: PatchClaimRequestDto, authorization?: string, options?: any): AxiosPromise<PatchClaimResponseClass> {
1115
- return localVarFp.patchClaim1(code, patchClaimRequestDto, authorization, options).then((request) => request(axios, basePath));
1116
- },
1117
592
  /**
1118
593
  * This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
1119
594
  * @summary Update the claim
@@ -1126,18 +601,6 @@ export const ClaimsApiFactory = function (configuration?: Configuration, basePat
1126
601
  updateClaim(code: string, updateClaimRequestDto: UpdateClaimRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateClaimResponseClass> {
1127
602
  return localVarFp.updateClaim(code, updateClaimRequestDto, authorization, options).then((request) => request(axios, basePath));
1128
603
  },
1129
- /**
1130
- * This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
1131
- * @summary Update the claim
1132
- * @param {string} code
1133
- * @param {UpdateClaimRequestDto} updateClaimRequestDto
1134
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1135
- * @param {*} [options] Override http request option.
1136
- * @throws {RequiredError}
1137
- */
1138
- updateClaim1(code: string, updateClaimRequestDto: UpdateClaimRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateClaimResponseClass> {
1139
- return localVarFp.updateClaim1(code, updateClaimRequestDto, authorization, options).then((request) => request(axios, basePath));
1140
- },
1141
604
  };
1142
605
  };
1143
606
 
@@ -1162,27 +625,6 @@ export interface ClaimsApiCreateClaimRequest {
1162
625
  readonly authorization?: string
1163
626
  }
1164
627
 
1165
- /**
1166
- * Request parameters for createClaim1 operation in ClaimsApi.
1167
- * @export
1168
- * @interface ClaimsApiCreateClaim1Request
1169
- */
1170
- export interface ClaimsApiCreateClaim1Request {
1171
- /**
1172
- *
1173
- * @type {CreateClaimRequestDto}
1174
- * @memberof ClaimsApiCreateClaim1
1175
- */
1176
- readonly createClaimRequestDto: CreateClaimRequestDto
1177
-
1178
- /**
1179
- * Bearer Token: provided by the login endpoint under the name accessToken.
1180
- * @type {string}
1181
- * @memberof ClaimsApiCreateClaim1
1182
- */
1183
- readonly authorization?: string
1184
- }
1185
-
1186
628
  /**
1187
629
  * Request parameters for deleteClaim operation in ClaimsApi.
1188
630
  * @export
@@ -1204,27 +646,6 @@ export interface ClaimsApiDeleteClaimRequest {
1204
646
  readonly authorization?: string
1205
647
  }
1206
648
 
1207
- /**
1208
- * Request parameters for deleteClaim1 operation in ClaimsApi.
1209
- * @export
1210
- * @interface ClaimsApiDeleteClaim1Request
1211
- */
1212
- export interface ClaimsApiDeleteClaim1Request {
1213
- /**
1214
- *
1215
- * @type {string}
1216
- * @memberof ClaimsApiDeleteClaim1
1217
- */
1218
- readonly code: string
1219
-
1220
- /**
1221
- * Bearer Token: provided by the login endpoint under the name accessToken.
1222
- * @type {string}
1223
- * @memberof ClaimsApiDeleteClaim1
1224
- */
1225
- readonly authorization?: string
1226
- }
1227
-
1228
649
  /**
1229
650
  * Request parameters for getClaim operation in ClaimsApi.
1230
651
  * @export
@@ -1246,27 +667,6 @@ export interface ClaimsApiGetClaimRequest {
1246
667
  readonly authorization?: string
1247
668
  }
1248
669
 
1249
- /**
1250
- * Request parameters for getClaim1 operation in ClaimsApi.
1251
- * @export
1252
- * @interface ClaimsApiGetClaim1Request
1253
- */
1254
- export interface ClaimsApiGetClaim1Request {
1255
- /**
1256
- *
1257
- * @type {string}
1258
- * @memberof ClaimsApiGetClaim1
1259
- */
1260
- readonly code: string
1261
-
1262
- /**
1263
- * Bearer Token: provided by the login endpoint under the name accessToken.
1264
- * @type {string}
1265
- * @memberof ClaimsApiGetClaim1
1266
- */
1267
- readonly authorization?: string
1268
- }
1269
-
1270
670
  /**
1271
671
  * Request parameters for getClaimRegulationSummary operation in ClaimsApi.
1272
672
  * @export
@@ -1288,27 +688,6 @@ export interface ClaimsApiGetClaimRegulationSummaryRequest {
1288
688
  readonly authorization?: string
1289
689
  }
1290
690
 
1291
- /**
1292
- * Request parameters for getClaimRegulationSummary1 operation in ClaimsApi.
1293
- * @export
1294
- * @interface ClaimsApiGetClaimRegulationSummary1Request
1295
- */
1296
- export interface ClaimsApiGetClaimRegulationSummary1Request {
1297
- /**
1298
- * Unique identifier for the object.
1299
- * @type {string}
1300
- * @memberof ClaimsApiGetClaimRegulationSummary1
1301
- */
1302
- readonly code: string
1303
-
1304
- /**
1305
- * Bearer Token: provided by the login endpoint under the name accessToken.
1306
- * @type {string}
1307
- * @memberof ClaimsApiGetClaimRegulationSummary1
1308
- */
1309
- readonly authorization?: string
1310
- }
1311
-
1312
691
  /**
1313
692
  * Request parameters for listClaims operation in ClaimsApi.
1314
693
  * @export
@@ -1372,69 +751,6 @@ export interface ClaimsApiListClaimsRequest {
1372
751
  readonly filters?: string
1373
752
  }
1374
753
 
1375
- /**
1376
- * Request parameters for listClaims1 operation in ClaimsApi.
1377
- * @export
1378
- * @interface ClaimsApiListClaims1Request
1379
- */
1380
- export interface ClaimsApiListClaims1Request {
1381
- /**
1382
- * Bearer Token: provided by the login endpoint under the name accessToken.
1383
- * @type {string}
1384
- * @memberof ClaimsApiListClaims1
1385
- */
1386
- readonly authorization?: string
1387
-
1388
- /**
1389
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1390
- * @type {number}
1391
- * @memberof ClaimsApiListClaims1
1392
- */
1393
- readonly pageSize?: number
1394
-
1395
- /**
1396
- * 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.
1397
- * @type {string}
1398
- * @memberof ClaimsApiListClaims1
1399
- */
1400
- readonly pageToken?: string
1401
-
1402
- /**
1403
- * 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;
1404
- * @type {string}
1405
- * @memberof ClaimsApiListClaims1
1406
- */
1407
- readonly filter?: string
1408
-
1409
- /**
1410
- * 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;
1411
- * @type {string}
1412
- * @memberof ClaimsApiListClaims1
1413
- */
1414
- readonly search?: string
1415
-
1416
- /**
1417
- * 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;
1418
- * @type {string}
1419
- * @memberof ClaimsApiListClaims1
1420
- */
1421
- readonly order?: string
1422
-
1423
- /**
1424
- * 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;
1425
- * @type {string}
1426
- * @memberof ClaimsApiListClaims1
1427
- */
1428
- readonly expand?: string
1429
-
1430
- /**
1431
- * 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;
1432
- * @type {string}
1433
- * @memberof ClaimsApiListClaims1
1434
- */
1435
- readonly filters?: string
1436
- }
1437
-
1438
754
  /**
1439
755
  * Request parameters for patchClaim operation in ClaimsApi.
1440
756
  * @export
@@ -1463,34 +779,6 @@ export interface ClaimsApiPatchClaimRequest {
1463
779
  readonly authorization?: string
1464
780
  }
1465
781
 
1466
- /**
1467
- * Request parameters for patchClaim1 operation in ClaimsApi.
1468
- * @export
1469
- * @interface ClaimsApiPatchClaim1Request
1470
- */
1471
- export interface ClaimsApiPatchClaim1Request {
1472
- /**
1473
- *
1474
- * @type {string}
1475
- * @memberof ClaimsApiPatchClaim1
1476
- */
1477
- readonly code: string
1478
-
1479
- /**
1480
- *
1481
- * @type {PatchClaimRequestDto}
1482
- * @memberof ClaimsApiPatchClaim1
1483
- */
1484
- readonly patchClaimRequestDto: PatchClaimRequestDto
1485
-
1486
- /**
1487
- * Bearer Token: provided by the login endpoint under the name accessToken.
1488
- * @type {string}
1489
- * @memberof ClaimsApiPatchClaim1
1490
- */
1491
- readonly authorization?: string
1492
- }
1493
-
1494
782
  /**
1495
783
  * Request parameters for updateClaim operation in ClaimsApi.
1496
784
  * @export
@@ -1519,34 +807,6 @@ export interface ClaimsApiUpdateClaimRequest {
1519
807
  readonly authorization?: string
1520
808
  }
1521
809
 
1522
- /**
1523
- * Request parameters for updateClaim1 operation in ClaimsApi.
1524
- * @export
1525
- * @interface ClaimsApiUpdateClaim1Request
1526
- */
1527
- export interface ClaimsApiUpdateClaim1Request {
1528
- /**
1529
- *
1530
- * @type {string}
1531
- * @memberof ClaimsApiUpdateClaim1
1532
- */
1533
- readonly code: string
1534
-
1535
- /**
1536
- *
1537
- * @type {UpdateClaimRequestDto}
1538
- * @memberof ClaimsApiUpdateClaim1
1539
- */
1540
- readonly updateClaimRequestDto: UpdateClaimRequestDto
1541
-
1542
- /**
1543
- * Bearer Token: provided by the login endpoint under the name accessToken.
1544
- * @type {string}
1545
- * @memberof ClaimsApiUpdateClaim1
1546
- */
1547
- readonly authorization?: string
1548
- }
1549
-
1550
810
  /**
1551
811
  * ClaimsApi - object-oriented interface
1552
812
  * @export
@@ -1566,18 +826,6 @@ export class ClaimsApi extends BaseAPI {
1566
826
  return ClaimsApiFp(this.configuration).createClaim(requestParameters.createClaimRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1567
827
  }
1568
828
 
1569
- /**
1570
- * This will create a claim in the database **Required Permissions** \"claim-management.claims.create\"
1571
- * @summary Create the claim
1572
- * @param {ClaimsApiCreateClaim1Request} requestParameters Request parameters.
1573
- * @param {*} [options] Override http request option.
1574
- * @throws {RequiredError}
1575
- * @memberof ClaimsApi
1576
- */
1577
- public createClaim1(requestParameters: ClaimsApiCreateClaim1Request, options?: AxiosRequestConfig) {
1578
- return ClaimsApiFp(this.configuration).createClaim1(requestParameters.createClaimRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1579
- }
1580
-
1581
829
  /**
1582
830
  * This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
1583
831
  * @summary Delete the claim
@@ -1590,18 +838,6 @@ export class ClaimsApi extends BaseAPI {
1590
838
  return ClaimsApiFp(this.configuration).deleteClaim(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1591
839
  }
1592
840
 
1593
- /**
1594
- * This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
1595
- * @summary Delete the claim
1596
- * @param {ClaimsApiDeleteClaim1Request} requestParameters Request parameters.
1597
- * @param {*} [options] Override http request option.
1598
- * @throws {RequiredError}
1599
- * @memberof ClaimsApi
1600
- */
1601
- public deleteClaim1(requestParameters: ClaimsApiDeleteClaim1Request, options?: AxiosRequestConfig) {
1602
- return ClaimsApiFp(this.configuration).deleteClaim1(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1603
- }
1604
-
1605
841
  /**
1606
842
  * This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
1607
843
  * @summary Retrieve the claim
@@ -1614,18 +850,6 @@ export class ClaimsApi extends BaseAPI {
1614
850
  return ClaimsApiFp(this.configuration).getClaim(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1615
851
  }
1616
852
 
1617
- /**
1618
- * This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
1619
- * @summary Retrieve the claim
1620
- * @param {ClaimsApiGetClaim1Request} requestParameters Request parameters.
1621
- * @param {*} [options] Override http request option.
1622
- * @throws {RequiredError}
1623
- * @memberof ClaimsApi
1624
- */
1625
- public getClaim1(requestParameters: ClaimsApiGetClaim1Request, options?: AxiosRequestConfig) {
1626
- return ClaimsApiFp(this.configuration).getClaim1(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1627
- }
1628
-
1629
853
  /**
1630
854
  * This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
1631
855
  * @summary Retrieve the claim regulation summary
@@ -1638,18 +862,6 @@ export class ClaimsApi extends BaseAPI {
1638
862
  return ClaimsApiFp(this.configuration).getClaimRegulationSummary(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1639
863
  }
1640
864
 
1641
- /**
1642
- * This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
1643
- * @summary Retrieve the claim regulation summary
1644
- * @param {ClaimsApiGetClaimRegulationSummary1Request} requestParameters Request parameters.
1645
- * @param {*} [options] Override http request option.
1646
- * @throws {RequiredError}
1647
- * @memberof ClaimsApi
1648
- */
1649
- public getClaimRegulationSummary1(requestParameters: ClaimsApiGetClaimRegulationSummary1Request, options?: AxiosRequestConfig) {
1650
- return ClaimsApiFp(this.configuration).getClaimRegulationSummary1(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1651
- }
1652
-
1653
865
  /**
1654
866
  * 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\"
1655
867
  * @summary List claims
@@ -1662,18 +874,6 @@ export class ClaimsApi extends BaseAPI {
1662
874
  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));
1663
875
  }
1664
876
 
1665
- /**
1666
- * 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\"
1667
- * @summary List claims
1668
- * @param {ClaimsApiListClaims1Request} requestParameters Request parameters.
1669
- * @param {*} [options] Override http request option.
1670
- * @throws {RequiredError}
1671
- * @memberof ClaimsApi
1672
- */
1673
- public listClaims1(requestParameters: ClaimsApiListClaims1Request = {}, options?: AxiosRequestConfig) {
1674
- 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));
1675
- }
1676
-
1677
877
  /**
1678
878
  * 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\"
1679
879
  * @summary Patch the claim
@@ -1686,18 +886,6 @@ export class ClaimsApi extends BaseAPI {
1686
886
  return ClaimsApiFp(this.configuration).patchClaim(requestParameters.code, requestParameters.patchClaimRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1687
887
  }
1688
888
 
1689
- /**
1690
- * 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\"
1691
- * @summary Patch the claim
1692
- * @param {ClaimsApiPatchClaim1Request} requestParameters Request parameters.
1693
- * @param {*} [options] Override http request option.
1694
- * @throws {RequiredError}
1695
- * @memberof ClaimsApi
1696
- */
1697
- public patchClaim1(requestParameters: ClaimsApiPatchClaim1Request, options?: AxiosRequestConfig) {
1698
- return ClaimsApiFp(this.configuration).patchClaim1(requestParameters.code, requestParameters.patchClaimRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1699
- }
1700
-
1701
889
  /**
1702
890
  * This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
1703
891
  * @summary Update the claim
@@ -1709,16 +897,4 @@ export class ClaimsApi extends BaseAPI {
1709
897
  public updateClaim(requestParameters: ClaimsApiUpdateClaimRequest, options?: AxiosRequestConfig) {
1710
898
  return ClaimsApiFp(this.configuration).updateClaim(requestParameters.code, requestParameters.updateClaimRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1711
899
  }
1712
-
1713
- /**
1714
- * This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
1715
- * @summary Update the claim
1716
- * @param {ClaimsApiUpdateClaim1Request} requestParameters Request parameters.
1717
- * @param {*} [options] Override http request option.
1718
- * @throws {RequiredError}
1719
- * @memberof ClaimsApi
1720
- */
1721
- public updateClaim1(requestParameters: ClaimsApiUpdateClaim1Request, options?: AxiosRequestConfig) {
1722
- return ClaimsApiFp(this.configuration).updateClaim1(requestParameters.code, requestParameters.updateClaimRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1723
- }
1724
900
  }