@emilgroup/claim-sdk-node 1.17.2-beta.0 → 1.17.2-beta.4

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 (68) hide show
  1. package/.openapi-generator/FILES +9 -1
  2. package/README.md +18 -2
  3. package/api/claim-partner-roles-api.ts +41 -41
  4. package/api/claim-partners-api.ts +55 -55
  5. package/api/claim-regulations-api.ts +689 -0
  6. package/api/claim-statuses-api.ts +39 -39
  7. package/api/claims-api.ts +37 -37
  8. package/api/{default-api.ts → health-check-api.ts} +22 -18
  9. package/api/settlements-api.ts +39 -39
  10. package/api.ts +4 -2
  11. package/dist/api/claim-partner-roles-api.d.ts +41 -41
  12. package/dist/api/claim-partner-roles-api.js +23 -23
  13. package/dist/api/claim-partners-api.d.ts +51 -51
  14. package/dist/api/claim-partners-api.js +32 -32
  15. package/dist/api/claim-regulations-api.d.ts +390 -0
  16. package/dist/api/claim-regulations-api.js +646 -0
  17. package/dist/api/claim-statuses-api.d.ts +39 -39
  18. package/dist/api/claim-statuses-api.js +23 -23
  19. package/dist/api/claims-api.d.ts +37 -37
  20. package/dist/api/claims-api.js +19 -19
  21. package/dist/api/health-check-api.d.ts +70 -0
  22. package/dist/api/{default-api.js → health-check-api.js} +31 -27
  23. package/dist/api/settlements-api.d.ts +39 -39
  24. package/dist/api/settlements-api.js +23 -23
  25. package/dist/api.d.ts +2 -1
  26. package/dist/api.js +2 -1
  27. package/dist/models/create-claim-partner-response-class.d.ts +1 -1
  28. package/dist/models/create-claim-partner-role-response-class.d.ts +1 -1
  29. package/dist/models/create-claim-request-dto.d.ts +17 -17
  30. package/dist/models/create-regulation-item-request-dto.d.ts +68 -0
  31. package/dist/models/create-regulation-item-request-dto.js +34 -0
  32. package/dist/models/get-claim-partner-response-class.d.ts +1 -1
  33. package/dist/models/get-claim-partner-role-response-class.d.ts +1 -1
  34. package/dist/models/index.d.ts +7 -0
  35. package/dist/models/index.js +7 -0
  36. package/dist/models/list-regulations-response-class.d.ts +31 -0
  37. package/dist/models/list-regulations-response-class.js +15 -0
  38. package/dist/models/patch-claim-request-dto.d.ts +18 -18
  39. package/dist/models/payout-details-class.d.ts +90 -0
  40. package/dist/models/payout-details-class.js +26 -0
  41. package/dist/models/regress-details-class.d.ts +81 -0
  42. package/dist/models/regress-details-class.js +29 -0
  43. package/dist/models/regulation-item-class.d.ts +126 -0
  44. package/dist/models/regulation-item-class.js +34 -0
  45. package/dist/models/regulation-item-response-class.d.ts +25 -0
  46. package/dist/models/regulation-item-response-class.js +15 -0
  47. package/dist/models/reserve-details-class.d.ts +59 -0
  48. package/dist/models/reserve-details-class.js +20 -0
  49. package/dist/models/update-claim-partner-role-response-class.d.ts +1 -1
  50. package/dist/models/update-claim-request-dto.d.ts +15 -15
  51. package/models/create-claim-partner-response-class.ts +1 -1
  52. package/models/create-claim-partner-role-response-class.ts +1 -1
  53. package/models/create-claim-request-dto.ts +17 -17
  54. package/models/create-regulation-item-request-dto.ts +78 -0
  55. package/models/get-claim-partner-response-class.ts +1 -1
  56. package/models/get-claim-partner-role-response-class.ts +1 -1
  57. package/models/index.ts +7 -0
  58. package/models/list-regulations-response-class.ts +37 -0
  59. package/models/patch-claim-request-dto.ts +18 -18
  60. package/models/payout-details-class.ts +100 -0
  61. package/models/regress-details-class.ts +91 -0
  62. package/models/regulation-item-class.ts +136 -0
  63. package/models/regulation-item-response-class.ts +31 -0
  64. package/models/reserve-details-class.ts +68 -0
  65. package/models/update-claim-partner-role-response-class.ts +1 -1
  66. package/models/update-claim-request-dto.ts +15 -15
  67. package/package.json +1 -1
  68. package/dist/api/default-api.d.ts +0 -66
@@ -131,7 +131,7 @@ export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
131
131
  };
132
132
  },
133
133
  /**
134
- * Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information.
134
+ * Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information.
135
135
  * @summary Retrieve the claim status
136
136
  * @param {number} id
137
137
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -176,20 +176,20 @@ export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
176
176
  };
177
177
  },
178
178
  /**
179
- * Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
179
+ * Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
180
180
  * @summary List claim statuses
181
181
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
182
182
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
183
183
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
184
- * @param {'id' | 'name' | 'productSlug'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
185
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
186
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
187
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
188
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
184
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, name, productSlug</i>
185
+ * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
186
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id</i>
187
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
188
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, name, productSlug</i>
189
189
  * @param {*} [options] Override http request option.
190
190
  * @throws {RequiredError}
191
191
  */
192
- listClaimStatuses: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: 'id' | 'name' | 'productSlug', search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
192
+ listClaimStatuses: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
193
193
  const localVarPath = `/v1/claim-statuses`;
194
194
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
195
195
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -286,7 +286,7 @@ export const ClaimStatusesApiFp = function(configuration?: Configuration) {
286
286
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
287
287
  },
288
288
  /**
289
- * Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information.
289
+ * Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information.
290
290
  * @summary Retrieve the claim status
291
291
  * @param {number} id
292
292
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -298,20 +298,20 @@ export const ClaimStatusesApiFp = function(configuration?: Configuration) {
298
298
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
299
299
  },
300
300
  /**
301
- * Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
301
+ * Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
302
302
  * @summary List claim statuses
303
303
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
304
304
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
305
305
  * @param {any} [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.
306
- * @param {'id' | 'name' | 'productSlug'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
307
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
308
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
309
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
310
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
306
+ * @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, name, productSlug&lt;/i&gt;
307
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
308
+ * @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&lt;/i&gt;
309
+ * @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: .&lt;i&gt;
310
+ * @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, name, productSlug&lt;/i&gt;
311
311
  * @param {*} [options] Override http request option.
312
312
  * @throws {RequiredError}
313
313
  */
314
- async listClaimStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'id' | 'name' | 'productSlug', search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimStatusesResponseClass>> {
314
+ async listClaimStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimStatusesResponseClass>> {
315
315
  const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
316
316
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
317
317
  },
@@ -348,7 +348,7 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
348
348
  return localVarFp.deleteClaimStatus(id, authorization, options).then((request) => request(axios, basePath));
349
349
  },
350
350
  /**
351
- * Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information.
351
+ * Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information.
352
352
  * @summary Retrieve the claim status
353
353
  * @param {number} id
354
354
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -359,20 +359,20 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
359
359
  return localVarFp.getClaimStatus(id, authorization, options).then((request) => request(axios, basePath));
360
360
  },
361
361
  /**
362
- * Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
362
+ * Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
363
363
  * @summary List claim statuses
364
364
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
365
365
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
366
366
  * @param {any} [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.
367
- * @param {'id' | 'name' | 'productSlug'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
368
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
369
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
370
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
371
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
367
+ * @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, name, productSlug&lt;/i&gt;
368
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
369
+ * @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&lt;/i&gt;
370
+ * @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: .&lt;i&gt;
371
+ * @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, name, productSlug&lt;/i&gt;
372
372
  * @param {*} [options] Override http request option.
373
373
  * @throws {RequiredError}
374
374
  */
375
- listClaimStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'id' | 'name' | 'productSlug', search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListClaimStatusesResponseClass> {
375
+ listClaimStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimStatusesResponseClass> {
376
376
  return localVarFp.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
377
377
  },
378
378
  };
@@ -469,39 +469,39 @@ export interface ClaimStatusesApiListClaimStatusesRequest {
469
469
  readonly pageToken?: any
470
470
 
471
471
  /**
472
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
473
- * @type {'id' | 'name' | 'productSlug'}
472
+ * 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, name, productSlug&lt;/i&gt;
473
+ * @type {string}
474
474
  * @memberof ClaimStatusesApiListClaimStatuses
475
475
  */
476
- readonly filter?: 'id' | 'name' | 'productSlug'
476
+ readonly filter?: string
477
477
 
478
478
  /**
479
- * Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
479
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
480
480
  * @type {any}
481
481
  * @memberof ClaimStatusesApiListClaimStatuses
482
482
  */
483
483
  readonly search?: any
484
484
 
485
485
  /**
486
- * The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
487
- * @type {any}
486
+ * 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&lt;/i&gt;
487
+ * @type {string}
488
488
  * @memberof ClaimStatusesApiListClaimStatuses
489
489
  */
490
- readonly order?: any
490
+ readonly order?: string
491
491
 
492
492
  /**
493
- * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
494
- * @type {any}
493
+ * 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: .&lt;i&gt;
494
+ * @type {string}
495
495
  * @memberof ClaimStatusesApiListClaimStatuses
496
496
  */
497
- readonly expand?: any
497
+ readonly expand?: string
498
498
 
499
499
  /**
500
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
501
- * @type {any}
500
+ * 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, name, productSlug&lt;/i&gt;
501
+ * @type {string}
502
502
  * @memberof ClaimStatusesApiListClaimStatuses
503
503
  */
504
- readonly filters?: any
504
+ readonly filters?: string
505
505
  }
506
506
 
507
507
  /**
@@ -536,7 +536,7 @@ export class ClaimStatusesApi extends BaseAPI {
536
536
  }
537
537
 
538
538
  /**
539
- * Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information.
539
+ * Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information.
540
540
  * @summary Retrieve the claim status
541
541
  * @param {ClaimStatusesApiGetClaimStatusRequest} requestParameters Request parameters.
542
542
  * @param {*} [options] Override http request option.
@@ -548,7 +548,7 @@ export class ClaimStatusesApi extends BaseAPI {
548
548
  }
549
549
 
550
550
  /**
551
- * Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
551
+ * Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
552
552
  * @summary List claim statuses
553
553
  * @param {ClaimStatusesApiListClaimStatusesRequest} requestParameters Request parameters.
554
554
  * @param {*} [options] Override http request option.
package/api/claims-api.ts CHANGED
@@ -184,20 +184,20 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
184
184
  };
185
185
  },
186
186
  /**
187
- * 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.
187
+ * 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.
188
188
  * @summary List claims
189
189
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
190
190
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
191
191
  * @param {any} [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.
192
- * @param {'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
193
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
194
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
195
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
196
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
192
+ * @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;
193
+ * @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;
194
+ * @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;
195
+ * @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;
196
+ * @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;
197
197
  * @param {*} [options] Override http request option.
198
198
  * @throws {RequiredError}
199
199
  */
200
- listClaims: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode', search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
200
+ listClaims: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
201
201
  const localVarPath = `/v1/claims`;
202
202
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
203
203
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -408,20 +408,20 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
408
408
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
409
409
  },
410
410
  /**
411
- * 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.
411
+ * 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.
412
412
  * @summary List claims
413
413
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
414
414
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
415
415
  * @param {any} [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.
416
- * @param {'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
417
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
418
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
419
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
420
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
416
+ * @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;
417
+ * @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;
418
+ * @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;
419
+ * @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;
420
+ * @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;
421
421
  * @param {*} [options] Override http request option.
422
422
  * @throws {RequiredError}
423
423
  */
424
- async listClaims(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode', search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimsResponseClass>> {
424
+ async listClaims(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimsResponseClass>> {
425
425
  const localVarAxiosArgs = await localVarAxiosParamCreator.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
426
426
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
427
427
  },
@@ -495,20 +495,20 @@ export const ClaimsApiFactory = function (configuration?: Configuration, basePat
495
495
  return localVarFp.getClaim(code, authorization, options).then((request) => request(axios, basePath));
496
496
  },
497
497
  /**
498
- * 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.
498
+ * 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.
499
499
  * @summary List claims
500
500
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
501
501
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
502
502
  * @param {any} [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.
503
- * @param {'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
504
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
505
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
506
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
507
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
503
+ * @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;
504
+ * @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;
505
+ * @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;
506
+ * @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;
507
+ * @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;
508
508
  * @param {*} [options] Override http request option.
509
509
  * @throws {RequiredError}
510
510
  */
511
- listClaims(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode', search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListClaimsResponseClass> {
511
+ listClaims(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimsResponseClass> {
512
512
  return localVarFp.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
513
513
  },
514
514
  /**
@@ -629,39 +629,39 @@ export interface ClaimsApiListClaimsRequest {
629
629
  readonly pageToken?: any
630
630
 
631
631
  /**
632
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
633
- * @type {'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode'}
632
+ * 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;
633
+ * @type {string}
634
634
  * @memberof ClaimsApiListClaims
635
635
  */
636
- readonly filter?: 'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode'
636
+ readonly filter?: string
637
637
 
638
638
  /**
639
- * Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
640
- * @type {any}
639
+ * 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;
640
+ * @type {string}
641
641
  * @memberof ClaimsApiListClaims
642
642
  */
643
- readonly search?: any
643
+ readonly search?: string
644
644
 
645
645
  /**
646
- * The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
647
- * @type {any}
646
+ * 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;
647
+ * @type {string}
648
648
  * @memberof ClaimsApiListClaims
649
649
  */
650
- readonly order?: any
650
+ readonly order?: string
651
651
 
652
652
  /**
653
- * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
654
- * @type {any}
653
+ * 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;
654
+ * @type {string}
655
655
  * @memberof ClaimsApiListClaims
656
656
  */
657
- readonly expand?: any
657
+ readonly expand?: string
658
658
 
659
659
  /**
660
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
661
- * @type {any}
660
+ * 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;
661
+ * @type {string}
662
662
  * @memberof ClaimsApiListClaims
663
663
  */
664
- readonly filters?: any
664
+ readonly filters?: string
665
665
  }
666
666
 
667
667
  /**
@@ -764,7 +764,7 @@ export class ClaimsApi extends BaseAPI {
764
764
  }
765
765
 
766
766
  /**
767
- * 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.
767
+ * 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.
768
768
  * @summary List claims
769
769
  * @param {ClaimsApiListClaimsRequest} requestParameters Request parameters.
770
770
  * @param {*} [options] Override http request option.
@@ -29,18 +29,19 @@ import { InlineResponse503 } from '../models';
29
29
  import { URL, URLSearchParams } from 'url';
30
30
  const FormData = require('form-data');
31
31
  /**
32
- * DefaultApi - axios parameter creator
32
+ * HealthCheckApi - axios parameter creator
33
33
  * @export
34
34
  */
35
- export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
35
+ export const HealthCheckApiAxiosParamCreator = function (configuration?: Configuration) {
36
36
  return {
37
37
  /**
38
- *
38
+ * Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
39
+ * @summary Health Check
39
40
  * @param {*} [options] Override http request option.
40
41
  * @throws {RequiredError}
41
42
  */
42
43
  check: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
43
- const localVarPath = `/claimservice/health`;
44
+ const localVarPath = `/v1/claims/health`;
44
45
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
45
46
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
46
47
  let baseOptions;
@@ -69,14 +70,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
69
70
  };
70
71
 
71
72
  /**
72
- * DefaultApi - functional programming interface
73
+ * HealthCheckApi - functional programming interface
73
74
  * @export
74
75
  */
75
- export const DefaultApiFp = function(configuration?: Configuration) {
76
- const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
76
+ export const HealthCheckApiFp = function(configuration?: Configuration) {
77
+ const localVarAxiosParamCreator = HealthCheckApiAxiosParamCreator(configuration)
77
78
  return {
78
79
  /**
79
- *
80
+ * Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
81
+ * @summary Health Check
80
82
  * @param {*} [options] Override http request option.
81
83
  * @throws {RequiredError}
82
84
  */
@@ -88,14 +90,15 @@ export const DefaultApiFp = function(configuration?: Configuration) {
88
90
  };
89
91
 
90
92
  /**
91
- * DefaultApi - factory interface
93
+ * HealthCheckApi - factory interface
92
94
  * @export
93
95
  */
94
- export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
95
- const localVarFp = DefaultApiFp(configuration)
96
+ export const HealthCheckApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
97
+ const localVarFp = HealthCheckApiFp(configuration)
96
98
  return {
97
99
  /**
98
- *
100
+ * Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
101
+ * @summary Health Check
99
102
  * @param {*} [options] Override http request option.
100
103
  * @throws {RequiredError}
101
104
  */
@@ -106,19 +109,20 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
106
109
  };
107
110
 
108
111
  /**
109
- * DefaultApi - object-oriented interface
112
+ * HealthCheckApi - object-oriented interface
110
113
  * @export
111
- * @class DefaultApi
114
+ * @class HealthCheckApi
112
115
  * @extends {BaseAPI}
113
116
  */
114
- export class DefaultApi extends BaseAPI {
117
+ export class HealthCheckApi extends BaseAPI {
115
118
  /**
116
- *
119
+ * Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
120
+ * @summary Health Check
117
121
  * @param {*} [options] Override http request option.
118
122
  * @throws {RequiredError}
119
- * @memberof DefaultApi
123
+ * @memberof HealthCheckApi
120
124
  */
121
125
  public check(options?: AxiosRequestConfig) {
122
- return DefaultApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
126
+ return HealthCheckApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
123
127
  }
124
128
  }