@emilgroup/claim-sdk 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 (78) hide show
  1. package/.openapi-generator/FILES +14 -0
  2. package/README.md +2 -2
  3. package/api/claim-partner-roles-api.ts +677 -0
  4. package/api/claim-partners-api.ts +570 -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/base.ts +1 -0
  10. package/dist/api/claim-partner-roles-api.d.ts +384 -0
  11. package/dist/api/claim-partner-roles-api.js +636 -0
  12. package/dist/api/claim-partners-api.d.ts +327 -0
  13. package/dist/api/claim-partners-api.js +543 -0
  14. package/dist/api/claim-statuses-api.d.ts +16 -7
  15. package/dist/api/claim-statuses-api.js +15 -9
  16. package/dist/api/claims-api.d.ts +16 -7
  17. package/dist/api/claims-api.js +15 -9
  18. package/dist/api/settlements-api.d.ts +16 -7
  19. package/dist/api/settlements-api.js +15 -9
  20. package/dist/api.d.ts +2 -0
  21. package/dist/api.js +2 -0
  22. package/dist/base.js +1 -0
  23. package/dist/models/claim-class.d.ts +13 -1
  24. package/dist/models/claim-partner-class.d.ts +61 -0
  25. package/dist/models/claim-partner-class.js +15 -0
  26. package/dist/models/claim-partner-role-class.d.ts +54 -0
  27. package/dist/models/claim-partner-role-class.js +15 -0
  28. package/dist/models/claim-status-class.d.ts +1 -1
  29. package/dist/models/create-claim-partner-request-dto.d.ts +36 -0
  30. package/dist/models/create-claim-partner-request-dto.js +15 -0
  31. package/dist/models/create-claim-partner-response-class.d.ts +25 -0
  32. package/dist/models/create-claim-partner-response-class.js +15 -0
  33. package/dist/models/create-claim-partner-role-request-dto.d.ts +30 -0
  34. package/dist/models/create-claim-partner-role-request-dto.js +15 -0
  35. package/dist/models/create-claim-partner-role-response-class.d.ts +25 -0
  36. package/dist/models/create-claim-partner-role-response-class.js +15 -0
  37. package/dist/models/create-claim-request-dto.d.ts +9 -3
  38. package/dist/models/create-claim-status-request-dto.d.ts +1 -1
  39. package/dist/models/get-claim-partner-response-class.d.ts +25 -0
  40. package/dist/models/get-claim-partner-response-class.js +15 -0
  41. package/dist/models/get-claim-partner-role-response-class.d.ts +25 -0
  42. package/dist/models/get-claim-partner-role-response-class.js +15 -0
  43. package/dist/models/index.d.ts +12 -0
  44. package/dist/models/index.js +12 -0
  45. package/dist/models/inline-response200.d.ts +6 -6
  46. package/dist/models/inline-response503.d.ts +6 -6
  47. package/dist/models/list-claim-partner-roles-response-class.d.ts +31 -0
  48. package/dist/models/list-claim-partner-roles-response-class.js +15 -0
  49. package/dist/models/list-claim-partners-response-class.d.ts +31 -0
  50. package/dist/models/list-claim-partners-response-class.js +15 -0
  51. package/dist/models/patch-claim-request-dto.d.ts +8 -2
  52. package/dist/models/update-claim-partner-role-request-dto.d.ts +36 -0
  53. package/dist/models/update-claim-partner-role-request-dto.js +15 -0
  54. package/dist/models/update-claim-partner-role-response-class.d.ts +25 -0
  55. package/dist/models/update-claim-partner-role-response-class.js +15 -0
  56. package/dist/models/update-claim-request-dto.d.ts +8 -2
  57. package/models/claim-class.ts +13 -1
  58. package/models/claim-partner-class.ts +67 -0
  59. package/models/claim-partner-role-class.ts +60 -0
  60. package/models/claim-status-class.ts +1 -1
  61. package/models/create-claim-partner-request-dto.ts +42 -0
  62. package/models/create-claim-partner-response-class.ts +31 -0
  63. package/models/create-claim-partner-role-request-dto.ts +36 -0
  64. package/models/create-claim-partner-role-response-class.ts +31 -0
  65. package/models/create-claim-request-dto.ts +9 -3
  66. package/models/create-claim-status-request-dto.ts +1 -1
  67. package/models/get-claim-partner-response-class.ts +31 -0
  68. package/models/get-claim-partner-role-response-class.ts +31 -0
  69. package/models/index.ts +12 -0
  70. package/models/inline-response200.ts +6 -6
  71. package/models/inline-response503.ts +6 -6
  72. package/models/list-claim-partner-roles-response-class.ts +37 -0
  73. package/models/list-claim-partners-response-class.ts +37 -0
  74. package/models/patch-claim-request-dto.ts +8 -2
  75. package/models/update-claim-partner-role-request-dto.ts +42 -0
  76. package/models/update-claim-partner-role-response-class.ts +31 -0
  77. package/models/update-claim-request-dto.ts +8 -2
  78. package/package.json +1 -2
@@ -241,16 +241,17 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
241
241
  * 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.
242
242
  * @summary List claim statuses
243
243
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
244
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
244
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
245
245
  * @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.
246
246
  * @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.
247
247
  * @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.
248
248
  * @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.
249
249
  * @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.
250
+ * @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.
250
251
  * @param {*} [options] Override http request option.
251
252
  * @throws {RequiredError}
252
253
  */
253
- listClaimStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
254
+ listClaimStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
254
255
  if (options === void 0) { options = {}; }
255
256
  return __awaiter(_this, void 0, void 0, function () {
256
257
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -291,6 +292,9 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
291
292
  if (expand !== undefined) {
292
293
  localVarQueryParameter['expand'] = expand;
293
294
  }
295
+ if (filters !== undefined) {
296
+ localVarQueryParameter['filters'] = filters;
297
+ }
294
298
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
295
299
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
296
300
  }
@@ -382,21 +386,22 @@ var ClaimStatusesApiFp = function (configuration) {
382
386
  * 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.
383
387
  * @summary List claim statuses
384
388
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
385
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
389
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
386
390
  * @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.
387
391
  * @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.
388
392
  * @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.
389
393
  * @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.
390
394
  * @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.
395
+ * @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.
391
396
  * @param {*} [options] Override http request option.
392
397
  * @throws {RequiredError}
393
398
  */
394
- listClaimStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
399
+ listClaimStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
395
400
  return __awaiter(this, void 0, void 0, function () {
396
401
  var localVarAxiosArgs;
397
402
  return __generator(this, function (_a) {
398
403
  switch (_a.label) {
399
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, options)];
404
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
400
405
  case 1:
401
406
  localVarAxiosArgs = _a.sent();
402
407
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -451,17 +456,18 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
451
456
  * 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.
452
457
  * @summary List claim statuses
453
458
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
454
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
459
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
455
460
  * @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.
456
461
  * @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.
457
462
  * @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.
458
463
  * @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.
459
464
  * @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.
465
+ * @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.
460
466
  * @param {*} [options] Override http request option.
461
467
  * @throws {RequiredError}
462
468
  */
463
- listClaimStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
464
- return localVarFp.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
469
+ listClaimStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
470
+ return localVarFp.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
465
471
  },
466
472
  };
467
473
  };
@@ -524,7 +530,7 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
524
530
  ClaimStatusesApi.prototype.listClaimStatuses = function (requestParameters, options) {
525
531
  var _this = this;
526
532
  if (requestParameters === void 0) { requestParameters = {}; }
527
- 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); });
533
+ 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); });
528
534
  };
529
535
  return ClaimStatusesApi;
530
536
  }(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.
@@ -241,16 +241,17 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
241
241
  * 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.
242
242
  * @summary List claims
243
243
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
244
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
244
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
245
245
  * @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.
246
246
  * @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.
247
247
  * @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.
248
248
  * @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.
249
249
  * @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.
250
+ * @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.
250
251
  * @param {*} [options] Override http request option.
251
252
  * @throws {RequiredError}
252
253
  */
253
- listClaims: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
254
+ listClaims: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
254
255
  if (options === void 0) { options = {}; }
255
256
  return __awaiter(_this, void 0, void 0, function () {
256
257
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -291,6 +292,9 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
291
292
  if (expand !== undefined) {
292
293
  localVarQueryParameter['expand'] = expand;
293
294
  }
295
+ if (filters !== undefined) {
296
+ localVarQueryParameter['filters'] = filters;
297
+ }
294
298
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
295
299
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
296
300
  }
@@ -488,21 +492,22 @@ var ClaimsApiFp = function (configuration) {
488
492
  * 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.
489
493
  * @summary List claims
490
494
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
491
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
495
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
492
496
  * @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.
493
497
  * @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.
494
498
  * @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.
495
499
  * @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.
496
500
  * @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.
501
+ * @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.
497
502
  * @param {*} [options] Override http request option.
498
503
  * @throws {RequiredError}
499
504
  */
500
- listClaims: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
505
+ listClaims: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
501
506
  return __awaiter(this, void 0, void 0, function () {
502
507
  var localVarAxiosArgs;
503
508
  return __generator(this, function (_a) {
504
509
  switch (_a.label) {
505
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, options)];
510
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
506
511
  case 1:
507
512
  localVarAxiosArgs = _a.sent();
508
513
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -601,17 +606,18 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
601
606
  * 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.
602
607
  * @summary List claims
603
608
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
604
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
609
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
605
610
  * @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.
606
611
  * @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.
607
612
  * @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.
608
613
  * @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.
609
614
  * @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.
615
+ * @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.
610
616
  * @param {*} [options] Override http request option.
611
617
  * @throws {RequiredError}
612
618
  */
613
- listClaims: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
614
- return localVarFp.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
619
+ listClaims: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
620
+ return localVarFp.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
615
621
  },
616
622
  /**
617
623
  * Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged.
@@ -698,7 +704,7 @@ var ClaimsApi = /** @class */ (function (_super) {
698
704
  ClaimsApi.prototype.listClaims = function (requestParameters, options) {
699
705
  var _this = this;
700
706
  if (requestParameters === void 0) { requestParameters = {}; }
701
- 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); });
707
+ 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); });
702
708
  };
703
709
  /**
704
710
  * 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.
@@ -241,16 +241,17 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
241
241
  * 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.
242
242
  * @summary List settlements
243
243
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
244
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
244
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
245
245
  * @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.
246
246
  * @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.
247
247
  * @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.
248
248
  * @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.
249
249
  * @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.
250
+ * @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.
250
251
  * @param {*} [options] Override http request option.
251
252
  * @throws {RequiredError}
252
253
  */
253
- listSettlements: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
254
+ listSettlements: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
254
255
  if (options === void 0) { options = {}; }
255
256
  return __awaiter(_this, void 0, void 0, function () {
256
257
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -291,6 +292,9 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
291
292
  if (expand !== undefined) {
292
293
  localVarQueryParameter['expand'] = expand;
293
294
  }
295
+ if (filters !== undefined) {
296
+ localVarQueryParameter['filters'] = filters;
297
+ }
294
298
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
295
299
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
296
300
  }
@@ -435,21 +439,22 @@ var SettlementsApiFp = function (configuration) {
435
439
  * 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.
436
440
  * @summary List settlements
437
441
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
438
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
442
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
439
443
  * @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.
440
444
  * @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.
441
445
  * @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.
442
446
  * @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.
443
447
  * @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.
448
+ * @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.
444
449
  * @param {*} [options] Override http request option.
445
450
  * @throws {RequiredError}
446
451
  */
447
- listSettlements: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
452
+ listSettlements: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
448
453
  return __awaiter(this, void 0, void 0, function () {
449
454
  var localVarAxiosArgs;
450
455
  return __generator(this, function (_a) {
451
456
  switch (_a.label) {
452
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, options)];
457
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
453
458
  case 1:
454
459
  localVarAxiosArgs = _a.sent();
455
460
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -526,17 +531,18 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
526
531
  * 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.
527
532
  * @summary List settlements
528
533
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
529
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
534
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
530
535
  * @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.
531
536
  * @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.
532
537
  * @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.
533
538
  * @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.
534
539
  * @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.
540
+ * @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.
535
541
  * @param {*} [options] Override http request option.
536
542
  * @throws {RequiredError}
537
543
  */
538
- listSettlements: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
539
- return localVarFp.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
544
+ listSettlements: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
545
+ return localVarFp.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
540
546
  },
541
547
  /**
542
548
  * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
@@ -611,7 +617,7 @@ var SettlementsApi = /** @class */ (function (_super) {
611
617
  SettlementsApi.prototype.listSettlements = function (requestParameters, options) {
612
618
  var _this = this;
613
619
  if (requestParameters === void 0) { requestParameters = {}; }
614
- 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); });
620
+ 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); });
615
621
  };
616
622
  /**
617
623
  * 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);
package/dist/base.js CHANGED
@@ -125,6 +125,7 @@ var BaseAPI = /** @class */ (function () {
125
125
  if (configuration) {
126
126
  this.configuration = configuration;
127
127
  this.basePath = configuration.basePath || this.basePath;
128
+ this.configuration.accessToken = this.tokenData.accessToken ? "Bearer ".concat(this.tokenData.accessToken) : '';
128
129
  }
129
130
  else {
130
131
  var _a = this.tokenData, accessToken = _a.accessToken, username = _a.username;
@@ -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 });