@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
@@ -245,16 +245,17 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
245
245
  * 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.
246
246
  * @summary List claim statuses
247
247
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
248
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
248
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
249
249
  * @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.
250
250
  * @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.
251
251
  * @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.
252
252
  * @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.
253
253
  * @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.
254
+ * @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.
254
255
  * @param {*} [options] Override http request option.
255
256
  * @throws {RequiredError}
256
257
  */
257
- listClaimStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
258
+ listClaimStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
258
259
  if (options === void 0) { options = {}; }
259
260
  return __awaiter(_this, void 0, void 0, function () {
260
261
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -295,6 +296,9 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
295
296
  if (expand !== undefined) {
296
297
  localVarQueryParameter['expand'] = expand;
297
298
  }
299
+ if (filters !== undefined) {
300
+ localVarQueryParameter['filters'] = filters;
301
+ }
298
302
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
299
303
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
300
304
  }
@@ -386,21 +390,22 @@ var ClaimStatusesApiFp = function (configuration) {
386
390
  * 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.
387
391
  * @summary List claim statuses
388
392
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
389
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
393
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
390
394
  * @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.
391
395
  * @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.
392
396
  * @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.
393
397
  * @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.
394
398
  * @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.
399
+ * @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.
395
400
  * @param {*} [options] Override http request option.
396
401
  * @throws {RequiredError}
397
402
  */
398
- listClaimStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
403
+ listClaimStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
399
404
  return __awaiter(this, void 0, void 0, function () {
400
405
  var localVarAxiosArgs;
401
406
  return __generator(this, function (_a) {
402
407
  switch (_a.label) {
403
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, options)];
408
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
404
409
  case 1:
405
410
  localVarAxiosArgs = _a.sent();
406
411
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -455,17 +460,18 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
455
460
  * 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.
456
461
  * @summary List claim statuses
457
462
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
458
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
463
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
459
464
  * @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.
460
465
  * @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.
461
466
  * @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.
462
467
  * @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.
463
468
  * @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.
469
+ * @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.
464
470
  * @param {*} [options] Override http request option.
465
471
  * @throws {RequiredError}
466
472
  */
467
- listClaimStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
468
- return localVarFp.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
473
+ listClaimStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
474
+ return localVarFp.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
469
475
  },
470
476
  };
471
477
  };
@@ -528,7 +534,7 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
528
534
  ClaimStatusesApi.prototype.listClaimStatuses = function (requestParameters, options) {
529
535
  var _this = this;
530
536
  if (requestParameters === void 0) { requestParameters = {}; }
531
- return (0, exports.ClaimStatusesApiFp)(this.configuration).listClaimStatuses(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
537
+ return (0, exports.ClaimStatusesApiFp)(this.configuration).listClaimStatuses(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
532
538
  };
533
539
  return ClaimStatusesApi;
534
540
  }(base_1.BaseAPI));
@@ -56,16 +56,17 @@ export declare const ClaimsApiAxiosParamCreator: (configuration?: Configuration)
56
56
  * 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.
57
57
  * @summary List claims
58
58
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
59
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
59
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
60
60
  * @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.
61
61
  * @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.
62
62
  * @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.
63
63
  * @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.
64
64
  * @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.
65
+ * @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.
65
66
  * @param {*} [options] Override http request option.
66
67
  * @throws {RequiredError}
67
68
  */
68
- listClaims: (authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode', search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
69
+ listClaims: (authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode', search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
69
70
  /**
70
71
  * Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged.
71
72
  * @summary Patch the claim
@@ -123,16 +124,17 @@ export declare const ClaimsApiFp: (configuration?: Configuration) => {
123
124
  * 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.
124
125
  * @summary List claims
125
126
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
126
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
127
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
127
128
  * @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.
128
129
  * @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.
129
130
  * @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.
130
131
  * @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.
131
132
  * @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.
133
+ * @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.
132
134
  * @param {*} [options] Override http request option.
133
135
  * @throws {RequiredError}
134
136
  */
135
- 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>>;
137
+ 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>>;
136
138
  /**
137
139
  * Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged.
138
140
  * @summary Patch the claim
@@ -190,16 +192,17 @@ export declare const ClaimsApiFactory: (configuration?: Configuration, basePath?
190
192
  * 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.
191
193
  * @summary List claims
192
194
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
193
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
195
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
194
196
  * @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.
195
197
  * @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.
196
198
  * @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.
197
199
  * @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.
198
200
  * @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.
201
+ * @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.
199
202
  * @param {*} [options] Override http request option.
200
203
  * @throws {RequiredError}
201
204
  */
202
- listClaims(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode', search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListClaimsResponseClass>;
205
+ 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>;
203
206
  /**
204
207
  * Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged.
205
208
  * @summary Patch the claim
@@ -291,7 +294,7 @@ export interface ClaimsApiListClaimsRequest {
291
294
  */
292
295
  readonly authorization?: string;
293
296
  /**
294
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
297
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
295
298
  * @type {any}
296
299
  * @memberof ClaimsApiListClaims
297
300
  */
@@ -326,6 +329,12 @@ export interface ClaimsApiListClaimsRequest {
326
329
  * @memberof ClaimsApiListClaims
327
330
  */
328
331
  readonly expand?: any;
332
+ /**
333
+ * 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.
334
+ * @type {any}
335
+ * @memberof ClaimsApiListClaims
336
+ */
337
+ readonly filters?: any;
329
338
  }
330
339
  /**
331
340
  * Request parameters for patchClaim operation in ClaimsApi.
@@ -245,16 +245,17 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
245
245
  * 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.
246
246
  * @summary List claims
247
247
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
248
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
248
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
249
249
  * @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.
250
250
  * @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.
251
251
  * @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.
252
252
  * @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.
253
253
  * @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.
254
+ * @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.
254
255
  * @param {*} [options] Override http request option.
255
256
  * @throws {RequiredError}
256
257
  */
257
- listClaims: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
258
+ listClaims: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
258
259
  if (options === void 0) { options = {}; }
259
260
  return __awaiter(_this, void 0, void 0, function () {
260
261
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -295,6 +296,9 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
295
296
  if (expand !== undefined) {
296
297
  localVarQueryParameter['expand'] = expand;
297
298
  }
299
+ if (filters !== undefined) {
300
+ localVarQueryParameter['filters'] = filters;
301
+ }
298
302
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
299
303
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
300
304
  }
@@ -492,21 +496,22 @@ var ClaimsApiFp = function (configuration) {
492
496
  * Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
493
497
  * @summary List claims
494
498
  * @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.
499
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
496
500
  * @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
501
  * @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
502
  * @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
503
  * @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
504
  * @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.
505
+ * @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
506
  * @param {*} [options] Override http request option.
502
507
  * @throws {RequiredError}
503
508
  */
504
- listClaims: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
509
+ listClaims: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
505
510
  return __awaiter(this, void 0, void 0, function () {
506
511
  var localVarAxiosArgs;
507
512
  return __generator(this, function (_a) {
508
513
  switch (_a.label) {
509
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, options)];
514
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
510
515
  case 1:
511
516
  localVarAxiosArgs = _a.sent();
512
517
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -605,17 +610,18 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
605
610
  * 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.
606
611
  * @summary List claims
607
612
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
608
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
613
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
609
614
  * @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.
610
615
  * @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.
611
616
  * @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.
612
617
  * @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.
613
618
  * @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.
619
+ * @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.
614
620
  * @param {*} [options] Override http request option.
615
621
  * @throws {RequiredError}
616
622
  */
617
- listClaims: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
618
- return localVarFp.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
623
+ listClaims: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
624
+ return localVarFp.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
619
625
  },
620
626
  /**
621
627
  * Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged.
@@ -702,7 +708,7 @@ var ClaimsApi = /** @class */ (function (_super) {
702
708
  ClaimsApi.prototype.listClaims = function (requestParameters, options) {
703
709
  var _this = this;
704
710
  if (requestParameters === void 0) { requestParameters = {}; }
705
- return (0, exports.ClaimsApiFp)(this.configuration).listClaims(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
711
+ return (0, exports.ClaimsApiFp)(this.configuration).listClaims(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
706
712
  };
707
713
  /**
708
714
  * Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged.
@@ -54,16 +54,17 @@ export declare const SettlementsApiAxiosParamCreator: (configuration?: Configura
54
54
  * 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.
55
55
  * @summary List settlements
56
56
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
57
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
57
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
58
58
  * @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.
59
59
  * @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.
60
60
  * @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.
61
61
  * @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.
62
62
  * @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.
63
+ * @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.
63
64
  * @param {*} [options] Override http request option.
64
65
  * @throws {RequiredError}
65
66
  */
66
- listSettlements: (authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'claimCode' | 'InsuredObjectId', search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
+ listSettlements: (authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'claimCode' | 'InsuredObjectId', search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
68
  /**
68
69
  * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
69
70
  * @summary Update the settlement
@@ -111,16 +112,17 @@ export declare const SettlementsApiFp: (configuration?: Configuration) => {
111
112
  * 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.
112
113
  * @summary List settlements
113
114
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
114
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
115
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
115
116
  * @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.
116
117
  * @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.
117
118
  * @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.
118
119
  * @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.
119
120
  * @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.
121
+ * @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.
120
122
  * @param {*} [options] Override http request option.
121
123
  * @throws {RequiredError}
122
124
  */
123
- 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>>;
125
+ 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>>;
124
126
  /**
125
127
  * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
126
128
  * @summary Update the settlement
@@ -168,16 +170,17 @@ export declare const SettlementsApiFactory: (configuration?: Configuration, base
168
170
  * 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.
169
171
  * @summary List settlements
170
172
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
171
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
173
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
172
174
  * @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.
173
175
  * @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.
174
176
  * @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.
175
177
  * @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.
176
178
  * @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.
179
+ * @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.
177
180
  * @param {*} [options] Override http request option.
178
181
  * @throws {RequiredError}
179
182
  */
180
- listSettlements(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'claimCode' | 'InsuredObjectId', search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListSettlementsResponseClass>;
183
+ 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>;
181
184
  /**
182
185
  * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
183
186
  * @summary Update the settlement
@@ -259,7 +262,7 @@ export interface SettlementsApiListSettlementsRequest {
259
262
  */
260
263
  readonly authorization?: string;
261
264
  /**
262
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
265
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
263
266
  * @type {any}
264
267
  * @memberof SettlementsApiListSettlements
265
268
  */
@@ -294,6 +297,12 @@ export interface SettlementsApiListSettlementsRequest {
294
297
  * @memberof SettlementsApiListSettlements
295
298
  */
296
299
  readonly expand?: any;
300
+ /**
301
+ * 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.
302
+ * @type {any}
303
+ * @memberof SettlementsApiListSettlements
304
+ */
305
+ readonly filters?: any;
297
306
  }
298
307
  /**
299
308
  * Request parameters for updateSettlement operation in SettlementsApi.
@@ -245,16 +245,17 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
245
245
  * 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.
246
246
  * @summary List settlements
247
247
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
248
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
248
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
249
249
  * @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.
250
250
  * @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.
251
251
  * @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.
252
252
  * @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.
253
253
  * @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.
254
+ * @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.
254
255
  * @param {*} [options] Override http request option.
255
256
  * @throws {RequiredError}
256
257
  */
257
- listSettlements: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
258
+ listSettlements: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
258
259
  if (options === void 0) { options = {}; }
259
260
  return __awaiter(_this, void 0, void 0, function () {
260
261
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -295,6 +296,9 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
295
296
  if (expand !== undefined) {
296
297
  localVarQueryParameter['expand'] = expand;
297
298
  }
299
+ if (filters !== undefined) {
300
+ localVarQueryParameter['filters'] = filters;
301
+ }
298
302
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
299
303
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
300
304
  }
@@ -439,21 +443,22 @@ var SettlementsApiFp = function (configuration) {
439
443
  * 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.
440
444
  * @summary List settlements
441
445
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
442
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
446
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
443
447
  * @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.
444
448
  * @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.
445
449
  * @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.
446
450
  * @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.
447
451
  * @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.
452
+ * @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.
448
453
  * @param {*} [options] Override http request option.
449
454
  * @throws {RequiredError}
450
455
  */
451
- listSettlements: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
456
+ listSettlements: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
452
457
  return __awaiter(this, void 0, void 0, function () {
453
458
  var localVarAxiosArgs;
454
459
  return __generator(this, function (_a) {
455
460
  switch (_a.label) {
456
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, options)];
461
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
457
462
  case 1:
458
463
  localVarAxiosArgs = _a.sent();
459
464
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -530,17 +535,18 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
530
535
  * 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.
531
536
  * @summary List settlements
532
537
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
533
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
538
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
534
539
  * @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.
535
540
  * @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.
536
541
  * @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.
537
542
  * @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.
538
543
  * @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.
544
+ * @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.
539
545
  * @param {*} [options] Override http request option.
540
546
  * @throws {RequiredError}
541
547
  */
542
- listSettlements: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
543
- return localVarFp.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
548
+ listSettlements: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
549
+ return localVarFp.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
544
550
  },
545
551
  /**
546
552
  * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
@@ -615,7 +621,7 @@ var SettlementsApi = /** @class */ (function (_super) {
615
621
  SettlementsApi.prototype.listSettlements = function (requestParameters, options) {
616
622
  var _this = this;
617
623
  if (requestParameters === void 0) { requestParameters = {}; }
618
- return (0, exports.SettlementsApiFp)(this.configuration).listSettlements(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
624
+ return (0, exports.SettlementsApiFp)(this.configuration).listSettlements(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
619
625
  };
620
626
  /**
621
627
  * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
package/dist/api.d.ts CHANGED
@@ -9,6 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ export * from './api/claim-partner-roles-api';
13
+ export * from './api/claim-partners-api';
12
14
  export * from './api/claim-statuses-api';
13
15
  export * from './api/claims-api';
14
16
  export * from './api/default-api';
package/dist/api.js CHANGED
@@ -27,6 +27,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
27
27
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
28
28
  };
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
+ __exportStar(require("./api/claim-partner-roles-api"), exports);
31
+ __exportStar(require("./api/claim-partners-api"), exports);
30
32
  __exportStar(require("./api/claim-statuses-api"), exports);
31
33
  __exportStar(require("./api/claims-api"), exports);
32
34
  __exportStar(require("./api/default-api"), exports);
@@ -87,6 +87,12 @@ export interface ClaimClass {
87
87
  * @memberof ClaimClass
88
88
  */
89
89
  'insuredObjectId': number;
90
+ /**
91
+ * The policy object code that the claim is made for.
92
+ * @type {string}
93
+ * @memberof ClaimClass
94
+ */
95
+ 'policyObjectCode': string;
90
96
  /**
91
97
  * Claim description.
92
98
  * @type {string}
@@ -94,7 +100,7 @@ export interface ClaimClass {
94
100
  */
95
101
  'description': string;
96
102
  /**
97
- * A claim adjuster investigates insurance claims by interviewing the claimant and witnesses, consulting police and hospital records, and inspecting property damage to determine the extent of the insurance company\'s liability.
103
+ * A claim adjuster investigates insurance claims by interviewing the claimant and witnesses, consulting police and hospital records, and inspecting property damage to determine the extent of the insurance company\'s liability.
98
104
  * @type {string}
99
105
  * @memberof ClaimClass
100
106
  */
@@ -153,4 +159,10 @@ export interface ClaimClass {
153
159
  * @memberof ClaimClass
154
160
  */
155
161
  'ern': string;
162
+ /**
163
+ * Partners related to the claim.
164
+ * @type {Array<string>}
165
+ * @memberof ClaimClass
166
+ */
167
+ 'claimPartners'?: Array<string>;
156
168
  }
@@ -0,0 +1,61 @@
1
+ /**
2
+ * EMIL ClaimService
3
+ * The EMIL ClaimService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { ClaimPartnerRoleClass } from './claim-partner-role-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ClaimPartnerClass
17
+ */
18
+ export interface ClaimPartnerClass {
19
+ /**
20
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
21
+ * @type {number}
22
+ * @memberof ClaimPartnerClass
23
+ */
24
+ 'id': number;
25
+ /**
26
+ * Unique identifier of the partner that this object belongs to.
27
+ * @type {string}
28
+ * @memberof ClaimPartnerClass
29
+ */
30
+ 'partnerCode': string;
31
+ /**
32
+ * Unique identifier of the claim partner role that this object belongs to.
33
+ * @type {string}
34
+ * @memberof ClaimPartnerClass
35
+ */
36
+ 'claimPartnerRoleCode': string;
37
+ /**
38
+ * Unique identifier of the claim that this object belongs to.
39
+ * @type {string}
40
+ * @memberof ClaimPartnerClass
41
+ */
42
+ 'claimCode': string;
43
+ /**
44
+ * Time at which the object was created.
45
+ * @type {string}
46
+ * @memberof ClaimPartnerClass
47
+ */
48
+ 'createdAt': string;
49
+ /**
50
+ * Time at which the object was updated.
51
+ * @type {string}
52
+ * @memberof ClaimPartnerClass
53
+ */
54
+ 'updatedAt': string;
55
+ /**
56
+ * Claim partner role in the relationship.
57
+ * @type {ClaimPartnerRoleClass}
58
+ * @memberof ClaimPartnerClass
59
+ */
60
+ 'claimPartnerRole'?: ClaimPartnerRoleClass;
61
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL ClaimService
6
+ * The EMIL ClaimService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });