@emilgroup/claim-sdk-node 1.11.0 → 1.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/.openapi-generator/FILES +14 -0
  2. package/README.md +2 -2
  3. package/api/claim-partner-roles-api.ts +681 -0
  4. package/api/claim-partners-api.ts +574 -0
  5. package/api/claim-statuses-api.ts +24 -10
  6. package/api/claims-api.ts +24 -10
  7. package/api/settlements-api.ts +24 -10
  8. package/api.ts +4 -0
  9. package/dist/api/claim-partner-roles-api.d.ts +384 -0
  10. package/dist/api/claim-partner-roles-api.js +640 -0
  11. package/dist/api/claim-partners-api.d.ts +327 -0
  12. package/dist/api/claim-partners-api.js +547 -0
  13. package/dist/api/claim-statuses-api.d.ts +16 -7
  14. package/dist/api/claim-statuses-api.js +15 -9
  15. package/dist/api/claims-api.d.ts +16 -7
  16. package/dist/api/claims-api.js +15 -9
  17. package/dist/api/settlements-api.d.ts +16 -7
  18. package/dist/api/settlements-api.js +15 -9
  19. package/dist/api.d.ts +2 -0
  20. package/dist/api.js +2 -0
  21. package/dist/models/claim-class.d.ts +13 -1
  22. package/dist/models/claim-partner-class.d.ts +61 -0
  23. package/dist/models/claim-partner-class.js +15 -0
  24. package/dist/models/claim-partner-role-class.d.ts +54 -0
  25. package/dist/models/claim-partner-role-class.js +15 -0
  26. package/dist/models/claim-status-class.d.ts +1 -1
  27. package/dist/models/create-claim-partner-request-dto.d.ts +36 -0
  28. package/dist/models/create-claim-partner-request-dto.js +15 -0
  29. package/dist/models/create-claim-partner-response-class.d.ts +25 -0
  30. package/dist/models/create-claim-partner-response-class.js +15 -0
  31. package/dist/models/create-claim-partner-role-request-dto.d.ts +30 -0
  32. package/dist/models/create-claim-partner-role-request-dto.js +15 -0
  33. package/dist/models/create-claim-partner-role-response-class.d.ts +25 -0
  34. package/dist/models/create-claim-partner-role-response-class.js +15 -0
  35. package/dist/models/create-claim-request-dto.d.ts +9 -3
  36. package/dist/models/create-claim-status-request-dto.d.ts +1 -1
  37. package/dist/models/get-claim-partner-response-class.d.ts +25 -0
  38. package/dist/models/get-claim-partner-response-class.js +15 -0
  39. package/dist/models/get-claim-partner-role-response-class.d.ts +25 -0
  40. package/dist/models/get-claim-partner-role-response-class.js +15 -0
  41. package/dist/models/index.d.ts +12 -0
  42. package/dist/models/index.js +12 -0
  43. package/dist/models/inline-response200.d.ts +6 -6
  44. package/dist/models/inline-response503.d.ts +6 -6
  45. package/dist/models/list-claim-partner-roles-response-class.d.ts +31 -0
  46. package/dist/models/list-claim-partner-roles-response-class.js +15 -0
  47. package/dist/models/list-claim-partners-response-class.d.ts +31 -0
  48. package/dist/models/list-claim-partners-response-class.js +15 -0
  49. package/dist/models/patch-claim-request-dto.d.ts +8 -2
  50. package/dist/models/update-claim-partner-role-request-dto.d.ts +36 -0
  51. package/dist/models/update-claim-partner-role-request-dto.js +15 -0
  52. package/dist/models/update-claim-partner-role-response-class.d.ts +25 -0
  53. package/dist/models/update-claim-partner-role-response-class.js +15 -0
  54. package/dist/models/update-claim-request-dto.d.ts +8 -2
  55. package/models/claim-class.ts +13 -1
  56. package/models/claim-partner-class.ts +67 -0
  57. package/models/claim-partner-role-class.ts +60 -0
  58. package/models/claim-status-class.ts +1 -1
  59. package/models/create-claim-partner-request-dto.ts +42 -0
  60. package/models/create-claim-partner-response-class.ts +31 -0
  61. package/models/create-claim-partner-role-request-dto.ts +36 -0
  62. package/models/create-claim-partner-role-response-class.ts +31 -0
  63. package/models/create-claim-request-dto.ts +9 -3
  64. package/models/create-claim-status-request-dto.ts +1 -1
  65. package/models/get-claim-partner-response-class.ts +31 -0
  66. package/models/get-claim-partner-role-response-class.ts +31 -0
  67. package/models/index.ts +12 -0
  68. package/models/inline-response200.ts +6 -6
  69. package/models/inline-response503.ts +6 -6
  70. package/models/list-claim-partner-roles-response-class.ts +37 -0
  71. package/models/list-claim-partners-response-class.ts +37 -0
  72. package/models/patch-claim-request-dto.ts +8 -2
  73. package/models/update-claim-partner-role-request-dto.ts +42 -0
  74. package/models/update-claim-partner-role-response-class.ts +31 -0
  75. package/models/update-claim-request-dto.ts +8 -2
  76. package/package.json +2 -2
@@ -179,16 +179,17 @@ export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
179
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
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
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
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
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
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
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.
188
189
  * @param {*} [options] Override http request option.
189
190
  * @throws {RequiredError}
190
191
  */
191
- listClaimStatuses: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: 'id' | 'name' | 'productSlug', search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
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
193
  const localVarPath = `/v1/claim-statuses`;
193
194
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
194
195
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -231,6 +232,10 @@ export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
231
232
  localVarQueryParameter['expand'] = expand;
232
233
  }
233
234
 
235
+ if (filters !== undefined) {
236
+ localVarQueryParameter['filters'] = filters;
237
+ }
238
+
234
239
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
235
240
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
236
241
  }
@@ -296,17 +301,18 @@ export const ClaimStatusesApiFp = function(configuration?: Configuration) {
296
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.
297
302
  * @summary List claim statuses
298
303
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
299
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
304
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
300
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.
301
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.
302
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.
303
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.
304
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.
305
311
  * @param {*} [options] Override http request option.
306
312
  * @throws {RequiredError}
307
313
  */
308
- async listClaimStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'id' | 'name' | 'productSlug', search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimStatusesResponseClass>> {
309
- const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, options);
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>> {
315
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
310
316
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
311
317
  },
312
318
  }
@@ -356,17 +362,18 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
356
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.
357
363
  * @summary List claim statuses
358
364
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
359
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
365
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
360
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.
361
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.
362
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.
363
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.
364
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.
365
372
  * @param {*} [options] Override http request option.
366
373
  * @throws {RequiredError}
367
374
  */
368
- listClaimStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'id' | 'name' | 'productSlug', search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListClaimStatusesResponseClass> {
369
- return localVarFp.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
375
+ listClaimStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'id' | 'name' | 'productSlug', search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListClaimStatusesResponseClass> {
376
+ return localVarFp.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
370
377
  },
371
378
  };
372
379
  };
@@ -448,7 +455,7 @@ export interface ClaimStatusesApiListClaimStatusesRequest {
448
455
  readonly authorization?: string
449
456
 
450
457
  /**
451
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
458
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
452
459
  * @type {any}
453
460
  * @memberof ClaimStatusesApiListClaimStatuses
454
461
  */
@@ -488,6 +495,13 @@ export interface ClaimStatusesApiListClaimStatusesRequest {
488
495
  * @memberof ClaimStatusesApiListClaimStatuses
489
496
  */
490
497
  readonly expand?: any
498
+
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}
502
+ * @memberof ClaimStatusesApiListClaimStatuses
503
+ */
504
+ readonly filters?: any
491
505
  }
492
506
 
493
507
  /**
@@ -542,6 +556,6 @@ export class ClaimStatusesApi extends BaseAPI {
542
556
  * @memberof ClaimStatusesApi
543
557
  */
544
558
  public listClaimStatuses(requestParameters: ClaimStatusesApiListClaimStatusesRequest = {}, options?: AxiosRequestConfig) {
545
- return ClaimStatusesApiFp(this.configuration).listClaimStatuses(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
559
+ return ClaimStatusesApiFp(this.configuration).listClaimStatuses(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
546
560
  }
547
561
  }
package/api/claims-api.ts CHANGED
@@ -187,16 +187,17 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
187
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
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
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
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
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
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
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.
196
197
  * @param {*} [options] Override http request option.
197
198
  * @throws {RequiredError}
198
199
  */
199
- listClaims: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode', search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
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
201
  const localVarPath = `/v1/claims`;
201
202
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
202
203
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -239,6 +240,10 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
239
240
  localVarQueryParameter['expand'] = expand;
240
241
  }
241
242
 
243
+ if (filters !== undefined) {
244
+ localVarQueryParameter['filters'] = filters;
245
+ }
246
+
242
247
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
243
248
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
244
249
  }
@@ -406,17 +411,18 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
406
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.
407
412
  * @summary List claims
408
413
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
409
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
414
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
410
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.
411
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.
412
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.
413
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.
414
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.
415
421
  * @param {*} [options] Override http request option.
416
422
  * @throws {RequiredError}
417
423
  */
418
- async listClaims(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode', search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimsResponseClass>> {
419
- const localVarAxiosArgs = await localVarAxiosParamCreator.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, options);
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>> {
425
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
420
426
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
421
427
  },
422
428
  /**
@@ -492,17 +498,18 @@ export const ClaimsApiFactory = function (configuration?: Configuration, basePat
492
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.
493
499
  * @summary List claims
494
500
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
495
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
501
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
496
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.
497
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.
498
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.
499
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.
500
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.
501
508
  * @param {*} [options] Override http request option.
502
509
  * @throws {RequiredError}
503
510
  */
504
- listClaims(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode', search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListClaimsResponseClass> {
505
- return localVarFp.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
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> {
512
+ return localVarFp.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
506
513
  },
507
514
  /**
508
515
  * Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged.
@@ -608,7 +615,7 @@ export interface ClaimsApiListClaimsRequest {
608
615
  readonly authorization?: string
609
616
 
610
617
  /**
611
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
618
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
612
619
  * @type {any}
613
620
  * @memberof ClaimsApiListClaims
614
621
  */
@@ -648,6 +655,13 @@ export interface ClaimsApiListClaimsRequest {
648
655
  * @memberof ClaimsApiListClaims
649
656
  */
650
657
  readonly expand?: any
658
+
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}
662
+ * @memberof ClaimsApiListClaims
663
+ */
664
+ readonly filters?: any
651
665
  }
652
666
 
653
667
  /**
@@ -758,7 +772,7 @@ export class ClaimsApi extends BaseAPI {
758
772
  * @memberof ClaimsApi
759
773
  */
760
774
  public listClaims(requestParameters: ClaimsApiListClaimsRequest = {}, options?: AxiosRequestConfig) {
761
- return ClaimsApiFp(this.configuration).listClaims(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
775
+ 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));
762
776
  }
763
777
 
764
778
  /**
@@ -183,16 +183,17 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
183
183
  * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
184
184
  * @summary List settlements
185
185
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
186
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
186
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
187
187
  * @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.
188
188
  * @param {'policyNumber' | 'productId' | 'accountCode' | 'claimCode' | 'InsuredObjectId'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
189
189
  * @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.
190
190
  * @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.
191
191
  * @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.
192
+ * @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
193
  * @param {*} [options] Override http request option.
193
194
  * @throws {RequiredError}
194
195
  */
195
- listSettlements: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'claimCode' | 'InsuredObjectId', search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
196
+ listSettlements: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'claimCode' | 'InsuredObjectId', search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
196
197
  const localVarPath = `/v1/settlements`;
197
198
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
198
199
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -235,6 +236,10 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
235
236
  localVarQueryParameter['expand'] = expand;
236
237
  }
237
238
 
239
+ if (filters !== undefined) {
240
+ localVarQueryParameter['filters'] = filters;
241
+ }
242
+
238
243
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
239
244
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
240
245
  }
@@ -351,17 +356,18 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
351
356
  * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
352
357
  * @summary List settlements
353
358
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
354
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
359
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
355
360
  * @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.
356
361
  * @param {'policyNumber' | 'productId' | 'accountCode' | 'claimCode' | 'InsuredObjectId'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
357
362
  * @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.
358
363
  * @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.
359
364
  * @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.
365
+ * @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.
360
366
  * @param {*} [options] Override http request option.
361
367
  * @throws {RequiredError}
362
368
  */
363
- async listSettlements(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'claimCode' | 'InsuredObjectId', search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSettlementsResponseClass>> {
364
- const localVarAxiosArgs = await localVarAxiosParamCreator.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, options);
369
+ async listSettlements(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'claimCode' | 'InsuredObjectId', search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSettlementsResponseClass>> {
370
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
365
371
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
366
372
  },
367
373
  /**
@@ -424,17 +430,18 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
424
430
  * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
425
431
  * @summary List settlements
426
432
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
427
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
433
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
428
434
  * @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.
429
435
  * @param {'policyNumber' | 'productId' | 'accountCode' | 'claimCode' | 'InsuredObjectId'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
430
436
  * @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.
431
437
  * @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.
432
438
  * @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.
439
+ * @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.
433
440
  * @param {*} [options] Override http request option.
434
441
  * @throws {RequiredError}
435
442
  */
436
- listSettlements(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'claimCode' | 'InsuredObjectId', search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListSettlementsResponseClass> {
437
- return localVarFp.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
443
+ listSettlements(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'claimCode' | 'InsuredObjectId', search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListSettlementsResponseClass> {
444
+ return localVarFp.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
438
445
  },
439
446
  /**
440
447
  * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
@@ -528,7 +535,7 @@ export interface SettlementsApiListSettlementsRequest {
528
535
  readonly authorization?: string
529
536
 
530
537
  /**
531
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
538
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
532
539
  * @type {any}
533
540
  * @memberof SettlementsApiListSettlements
534
541
  */
@@ -568,6 +575,13 @@ export interface SettlementsApiListSettlementsRequest {
568
575
  * @memberof SettlementsApiListSettlements
569
576
  */
570
577
  readonly expand?: any
578
+
579
+ /**
580
+ * 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.
581
+ * @type {any}
582
+ * @memberof SettlementsApiListSettlements
583
+ */
584
+ readonly filters?: any
571
585
  }
572
586
 
573
587
  /**
@@ -650,7 +664,7 @@ export class SettlementsApi extends BaseAPI {
650
664
  * @memberof SettlementsApi
651
665
  */
652
666
  public listSettlements(requestParameters: SettlementsApiListSettlementsRequest = {}, options?: AxiosRequestConfig) {
653
- return SettlementsApiFp(this.configuration).listSettlements(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
667
+ return SettlementsApiFp(this.configuration).listSettlements(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
654
668
  }
655
669
 
656
670
  /**
package/api.ts CHANGED
@@ -24,12 +24,16 @@ import FormData from 'form-data'
24
24
  import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
25
25
  // @ts-ignore
26
26
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
27
+ import { ClaimPartnerRolesApi } from './api';
28
+ import { ClaimPartnersApi } from './api';
27
29
  import { ClaimStatusesApi } from './api';
28
30
  import { ClaimsApi } from './api';
29
31
  import { DefaultApi } from './api';
30
32
  import { SettlementsApi } from './api';
31
33
 
32
34
 
35
+ export * from './api/claim-partner-roles-api';
36
+ export * from './api/claim-partners-api';
33
37
  export * from './api/claim-statuses-api';
34
38
  export * from './api/claims-api';
35
39
  export * from './api/default-api';