@emilgroup/customer-sdk-node 1.32.0 → 1.33.1-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/.openapi-generator/FILES +1 -0
  2. package/README.md +2 -2
  3. package/api/claims-api.ts +20 -6
  4. package/api/customers-api.ts +20 -6
  5. package/api/documents-api.ts +20 -6
  6. package/api/invoices-api.ts +20 -6
  7. package/api/leads-api.ts +20 -6
  8. package/api/policies-api.ts +20 -6
  9. package/api/products-api.ts +20 -6
  10. package/dist/api/claims-api.d.ts +12 -3
  11. package/dist/api/claims-api.js +12 -6
  12. package/dist/api/customers-api.d.ts +12 -3
  13. package/dist/api/customers-api.js +12 -6
  14. package/dist/api/documents-api.d.ts +12 -3
  15. package/dist/api/documents-api.js +12 -6
  16. package/dist/api/invoices-api.d.ts +12 -3
  17. package/dist/api/invoices-api.js +12 -6
  18. package/dist/api/leads-api.d.ts +12 -3
  19. package/dist/api/leads-api.js +12 -6
  20. package/dist/api/policies-api.d.ts +12 -3
  21. package/dist/api/policies-api.js +12 -6
  22. package/dist/api/products-api.d.ts +12 -3
  23. package/dist/api/products-api.js +12 -6
  24. package/dist/models/create-bank-account-request-dto.d.ts +6 -0
  25. package/dist/models/index.d.ts +1 -0
  26. package/dist/models/index.js +1 -0
  27. package/dist/models/lead-bank-account-class.d.ts +6 -0
  28. package/dist/models/lead-class.d.ts +7 -0
  29. package/dist/models/partner-link-class.d.ts +72 -0
  30. package/dist/models/partner-link-class.js +15 -0
  31. package/dist/models/policy-class.d.ts +6 -0
  32. package/models/create-bank-account-request-dto.ts +6 -0
  33. package/models/index.ts +1 -0
  34. package/models/lead-bank-account-class.ts +6 -0
  35. package/models/lead-class.ts +7 -0
  36. package/models/partner-link-class.ts +78 -0
  37. package/models/policy-class.ts +6 -0
  38. package/package.json +1 -1
@@ -86,6 +86,7 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
86
86
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
87
87
  * @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.
88
88
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
89
+ * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
89
90
  * @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.
90
91
  * @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.
91
92
  * @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.
@@ -93,7 +94,7 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
93
94
  * @param {*} [options] Override http request option.
94
95
  * @throws {RequiredError}
95
96
  */
96
- listProducts: async (customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
97
+ listProducts: async (customerCode: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
97
98
  // verify required parameter 'customerCode' is not null or undefined
98
99
  assertParamExists('listProducts', 'customerCode', customerCode)
99
100
  const localVarPath = `/v1/customers/{customerCode}/products`
@@ -123,6 +124,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
123
124
  localVarQueryParameter['filter'] = filter;
124
125
  }
125
126
 
127
+ if (filters !== undefined) {
128
+ localVarQueryParameter['filters'] = filters;
129
+ }
130
+
126
131
  if (search !== undefined) {
127
132
  localVarQueryParameter['search'] = search;
128
133
  }
@@ -180,6 +185,7 @@ export const ProductsApiFp = function(configuration?: Configuration) {
180
185
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
181
186
  * @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.
182
187
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
188
+ * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
183
189
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
184
190
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
185
191
  * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
@@ -187,8 +193,8 @@ export const ProductsApiFp = function(configuration?: Configuration) {
187
193
  * @param {*} [options] Override http request option.
188
194
  * @throws {RequiredError}
189
195
  */
190
- async listProducts(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductsResponseClass>> {
191
- const localVarAxiosArgs = await localVarAxiosParamCreator.listProducts(customerCode, pageSize, pageToken, filter, search, order, expand, authorization, options);
196
+ async listProducts(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductsResponseClass>> {
197
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listProducts(customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options);
192
198
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
193
199
  },
194
200
  }
@@ -220,6 +226,7 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
220
226
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
221
227
  * @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.
222
228
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
229
+ * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
223
230
  * @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.
224
231
  * @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.
225
232
  * @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.
@@ -227,8 +234,8 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
227
234
  * @param {*} [options] Override http request option.
228
235
  * @throws {RequiredError}
229
236
  */
230
- listProducts(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: any): AxiosPromise<ListProductsResponseClass> {
231
- return localVarFp.listProducts(customerCode, pageSize, pageToken, filter, search, order, expand, authorization, options).then((request) => request(axios, basePath));
237
+ listProducts(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: any): AxiosPromise<ListProductsResponseClass> {
238
+ return localVarFp.listProducts(customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options).then((request) => request(axios, basePath));
232
239
  },
233
240
  };
234
241
  };
@@ -295,6 +302,13 @@ export interface ProductsApiListProductsRequest {
295
302
  */
296
303
  readonly filter?: any
297
304
 
305
+ /**
306
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
307
+ * @type {any}
308
+ * @memberof ProductsApiListProducts
309
+ */
310
+ readonly filters?: any
311
+
298
312
  /**
299
313
  * 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.
300
314
  * @type {any}
@@ -352,6 +366,6 @@ export class ProductsApi extends BaseAPI {
352
366
  * @memberof ProductsApi
353
367
  */
354
368
  public listProducts(requestParameters: ProductsApiListProductsRequest, options?: AxiosRequestConfig) {
355
- return ProductsApiFp(this.configuration).listProducts(requestParameters.customerCode, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
369
+ return ProductsApiFp(this.configuration).listProducts(requestParameters.customerCode, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
356
370
  }
357
371
  }
@@ -53,13 +53,14 @@ export declare const ClaimsApiAxiosParamCreator: (configuration?: Configuration)
53
53
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
54
54
  * @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.
55
55
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
56
+ * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
56
57
  * @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.
57
58
  * @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.
58
59
  * @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.
59
60
  * @param {*} [options] Override http request option.
60
61
  * @throws {RequiredError}
61
62
  */
62
- listCustomerClaims: (customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
63
+ listCustomerClaims: (customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
63
64
  /**
64
65
  * Update claim for customer.
65
66
  * @summary Update claim
@@ -116,13 +117,14 @@ export declare const ClaimsApiFp: (configuration?: Configuration) => {
116
117
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
117
118
  * @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.
118
119
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
120
+ * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
119
121
  * @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.
120
122
  * @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.
121
123
  * @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.
122
124
  * @param {*} [options] Override http request option.
123
125
  * @throws {RequiredError}
124
126
  */
125
- listCustomerClaims(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCustomerClaimsResponseClass>>;
127
+ listCustomerClaims(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCustomerClaimsResponseClass>>;
126
128
  /**
127
129
  * Update claim for customer.
128
130
  * @summary Update claim
@@ -179,13 +181,14 @@ export declare const ClaimsApiFactory: (configuration?: Configuration, basePath?
179
181
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
180
182
  * @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.
181
183
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
184
+ * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
182
185
  * @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.
183
186
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
184
187
  * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
185
188
  * @param {*} [options] Override http request option.
186
189
  * @throws {RequiredError}
187
190
  */
188
- listCustomerClaims(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListCustomerClaimsResponseClass>;
191
+ listCustomerClaims(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListCustomerClaimsResponseClass>;
189
192
  /**
190
193
  * Update claim for customer.
191
194
  * @summary Update claim
@@ -295,6 +298,12 @@ export interface ClaimsApiListCustomerClaimsRequest {
295
298
  * @memberof ClaimsApiListCustomerClaims
296
299
  */
297
300
  readonly filter?: any;
301
+ /**
302
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
303
+ * @type {any}
304
+ * @memberof ClaimsApiListCustomerClaims
305
+ */
306
+ readonly filters?: any;
298
307
  /**
299
308
  * 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.
300
309
  * @type {any}
@@ -209,13 +209,14 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
209
209
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
210
210
  * @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.
211
211
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
212
+ * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
212
213
  * @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.
213
214
  * @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.
214
215
  * @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.
215
216
  * @param {*} [options] Override http request option.
216
217
  * @throws {RequiredError}
217
218
  */
218
- listCustomerClaims: function (customerCode, authorization, pageSize, pageToken, filter, search, order, expand, options) {
219
+ listCustomerClaims: function (customerCode, authorization, pageSize, pageToken, filter, filters, search, order, expand, options) {
219
220
  if (options === void 0) { options = {}; }
220
221
  return __awaiter(_this, void 0, void 0, function () {
221
222
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -250,6 +251,9 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
250
251
  if (filter !== undefined) {
251
252
  localVarQueryParameter['filter'] = filter;
252
253
  }
254
+ if (filters !== undefined) {
255
+ localVarQueryParameter['filters'] = filters;
256
+ }
253
257
  if (search !== undefined) {
254
258
  localVarQueryParameter['search'] = search;
255
259
  }
@@ -449,18 +453,19 @@ var ClaimsApiFp = function (configuration) {
449
453
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
450
454
  * @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.
451
455
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
456
+ * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
452
457
  * @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.
453
458
  * @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.
454
459
  * @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.
455
460
  * @param {*} [options] Override http request option.
456
461
  * @throws {RequiredError}
457
462
  */
458
- listCustomerClaims: function (customerCode, authorization, pageSize, pageToken, filter, search, order, expand, options) {
463
+ listCustomerClaims: function (customerCode, authorization, pageSize, pageToken, filter, filters, search, order, expand, options) {
459
464
  return __awaiter(this, void 0, void 0, function () {
460
465
  var localVarAxiosArgs;
461
466
  return __generator(this, function (_a) {
462
467
  switch (_a.label) {
463
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCustomerClaims(customerCode, authorization, pageSize, pageToken, filter, search, order, expand, options)];
468
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCustomerClaims(customerCode, authorization, pageSize, pageToken, filter, filters, search, order, expand, options)];
464
469
  case 1:
465
470
  localVarAxiosArgs = _a.sent();
466
471
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -556,14 +561,15 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
556
561
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
557
562
  * @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.
558
563
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
564
+ * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
559
565
  * @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.
560
566
  * @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.
561
567
  * @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.
562
568
  * @param {*} [options] Override http request option.
563
569
  * @throws {RequiredError}
564
570
  */
565
- listCustomerClaims: function (customerCode, authorization, pageSize, pageToken, filter, search, order, expand, options) {
566
- return localVarFp.listCustomerClaims(customerCode, authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
571
+ listCustomerClaims: function (customerCode, authorization, pageSize, pageToken, filter, filters, search, order, expand, options) {
572
+ return localVarFp.listCustomerClaims(customerCode, authorization, pageSize, pageToken, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); });
567
573
  },
568
574
  /**
569
575
  * Update claim for customer.
@@ -639,7 +645,7 @@ var ClaimsApi = /** @class */ (function (_super) {
639
645
  */
640
646
  ClaimsApi.prototype.listCustomerClaims = function (requestParameters, options) {
641
647
  var _this = this;
642
- return (0, exports.ClaimsApiFp)(this.configuration).listCustomerClaims(requestParameters.customerCode, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
648
+ return (0, exports.ClaimsApiFp)(this.configuration).listCustomerClaims(requestParameters.customerCode, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
643
649
  };
644
650
  /**
645
651
  * Update claim for customer.
@@ -36,6 +36,7 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
36
36
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
37
37
  * @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.
38
38
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
39
+ * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
39
40
  * @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.
40
41
  * @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.
41
42
  * @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.
@@ -43,7 +44,7 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
43
44
  * @param {*} [options] Override http request option.
44
45
  * @throws {RequiredError}
45
46
  */
46
- listCustomers: (pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
47
+ listCustomers: (pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
47
48
  /**
48
49
  * Update customer details like phone, email, names, addresses etc.
49
50
  * @summary Update customer details
@@ -76,6 +77,7 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
76
77
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
77
78
  * @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.
78
79
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
80
+ * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
79
81
  * @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.
80
82
  * @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.
81
83
  * @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.
@@ -83,7 +85,7 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
83
85
  * @param {*} [options] Override http request option.
84
86
  * @throws {RequiredError}
85
87
  */
86
- listCustomers(pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
88
+ listCustomers(pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
87
89
  /**
88
90
  * Update customer details like phone, email, names, addresses etc.
89
91
  * @summary Update customer details
@@ -116,6 +118,7 @@ export declare const CustomersApiFactory: (configuration?: Configuration, basePa
116
118
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
117
119
  * @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.
118
120
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
121
+ * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
119
122
  * @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.
120
123
  * @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.
121
124
  * @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.
@@ -123,7 +126,7 @@ export declare const CustomersApiFactory: (configuration?: Configuration, basePa
123
126
  * @param {*} [options] Override http request option.
124
127
  * @throws {RequiredError}
125
128
  */
126
- listCustomers(pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: any): AxiosPromise<object>;
129
+ listCustomers(pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: any): AxiosPromise<object>;
127
130
  /**
128
131
  * Update customer details like phone, email, names, addresses etc.
129
132
  * @summary Update customer details
@@ -184,6 +187,12 @@ export interface CustomersApiListCustomersRequest {
184
187
  * @memberof CustomersApiListCustomers
185
188
  */
186
189
  readonly filter?: any;
190
+ /**
191
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
192
+ * @type {any}
193
+ * @memberof CustomersApiListCustomers
194
+ */
195
+ readonly filters?: any;
187
196
  /**
188
197
  * 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.
189
198
  * @type {any}
@@ -144,6 +144,7 @@ var CustomersApiAxiosParamCreator = function (configuration) {
144
144
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
145
145
  * @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.
146
146
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
147
+ * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
147
148
  * @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.
148
149
  * @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.
149
150
  * @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.
@@ -151,7 +152,7 @@ var CustomersApiAxiosParamCreator = function (configuration) {
151
152
  * @param {*} [options] Override http request option.
152
153
  * @throws {RequiredError}
153
154
  */
154
- listCustomers: function (pageSize, pageToken, filter, search, order, expand, authorization, options) {
155
+ listCustomers: function (pageSize, pageToken, filter, filters, search, order, expand, authorization, options) {
155
156
  if (options === void 0) { options = {}; }
156
157
  return __awaiter(_this, void 0, void 0, function () {
157
158
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -174,6 +175,9 @@ var CustomersApiAxiosParamCreator = function (configuration) {
174
175
  if (filter !== undefined) {
175
176
  localVarQueryParameter['filter'] = filter;
176
177
  }
178
+ if (filters !== undefined) {
179
+ localVarQueryParameter['filters'] = filters;
180
+ }
177
181
  if (search !== undefined) {
178
182
  localVarQueryParameter['search'] = search;
179
183
  }
@@ -277,6 +281,7 @@ var CustomersApiFp = function (configuration) {
277
281
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
278
282
  * @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.
279
283
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
284
+ * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
280
285
  * @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.
281
286
  * @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.
282
287
  * @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.
@@ -284,12 +289,12 @@ var CustomersApiFp = function (configuration) {
284
289
  * @param {*} [options] Override http request option.
285
290
  * @throws {RequiredError}
286
291
  */
287
- listCustomers: function (pageSize, pageToken, filter, search, order, expand, authorization, options) {
292
+ listCustomers: function (pageSize, pageToken, filter, filters, search, order, expand, authorization, options) {
288
293
  return __awaiter(this, void 0, void 0, function () {
289
294
  var localVarAxiosArgs;
290
295
  return __generator(this, function (_a) {
291
296
  switch (_a.label) {
292
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCustomers(pageSize, pageToken, filter, search, order, expand, authorization, options)];
297
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCustomers(pageSize, pageToken, filter, filters, search, order, expand, authorization, options)];
293
298
  case 1:
294
299
  localVarAxiosArgs = _a.sent();
295
300
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -347,6 +352,7 @@ var CustomersApiFactory = function (configuration, basePath, axios) {
347
352
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
348
353
  * @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.
349
354
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
355
+ * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
350
356
  * @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.
351
357
  * @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.
352
358
  * @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.
@@ -354,8 +360,8 @@ var CustomersApiFactory = function (configuration, basePath, axios) {
354
360
  * @param {*} [options] Override http request option.
355
361
  * @throws {RequiredError}
356
362
  */
357
- listCustomers: function (pageSize, pageToken, filter, search, order, expand, authorization, options) {
358
- return localVarFp.listCustomers(pageSize, pageToken, filter, search, order, expand, authorization, options).then(function (request) { return request(axios, basePath); });
363
+ listCustomers: function (pageSize, pageToken, filter, filters, search, order, expand, authorization, options) {
364
+ return localVarFp.listCustomers(pageSize, pageToken, filter, filters, search, order, expand, authorization, options).then(function (request) { return request(axios, basePath); });
359
365
  },
360
366
  /**
361
367
  * Update customer details like phone, email, names, addresses etc.
@@ -406,7 +412,7 @@ var CustomersApi = /** @class */ (function (_super) {
406
412
  CustomersApi.prototype.listCustomers = function (requestParameters, options) {
407
413
  var _this = this;
408
414
  if (requestParameters === void 0) { requestParameters = {}; }
409
- return (0, exports.CustomersApiFp)(this.configuration).listCustomers(requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
415
+ return (0, exports.CustomersApiFp)(this.configuration).listCustomers(requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
410
416
  };
411
417
  /**
412
418
  * Update customer details like phone, email, names, addresses etc.
@@ -37,6 +37,7 @@ export declare const DocumentsApiAxiosParamCreator: (configuration?: Configurati
37
37
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
38
38
  * @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.
39
39
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
40
+ * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
40
41
  * @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.
41
42
  * @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.
42
43
  * @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.
@@ -44,7 +45,7 @@ export declare const DocumentsApiAxiosParamCreator: (configuration?: Configurati
44
45
  * @param {*} [options] Override http request option.
45
46
  * @throws {RequiredError}
46
47
  */
47
- listDocuments: (customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
48
+ listDocuments: (customerCode: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
48
49
  /**
49
50
  * API to upload and attach documents to an account.
50
51
  * @summary Upload account documents
@@ -76,6 +77,7 @@ export declare const DocumentsApiFp: (configuration?: Configuration) => {
76
77
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
77
78
  * @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.
78
79
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
80
+ * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
79
81
  * @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.
80
82
  * @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.
81
83
  * @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.
@@ -83,7 +85,7 @@ export declare const DocumentsApiFp: (configuration?: Configuration) => {
83
85
  * @param {*} [options] Override http request option.
84
86
  * @throws {RequiredError}
85
87
  */
86
- listDocuments(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDocumentsResponseClass>>;
88
+ listDocuments(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDocumentsResponseClass>>;
87
89
  /**
88
90
  * API to upload and attach documents to an account.
89
91
  * @summary Upload account documents
@@ -115,6 +117,7 @@ export declare const DocumentsApiFactory: (configuration?: Configuration, basePa
115
117
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
116
118
  * @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.
117
119
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
120
+ * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
118
121
  * @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.
119
122
  * @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.
120
123
  * @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.
@@ -122,7 +125,7 @@ export declare const DocumentsApiFactory: (configuration?: Configuration, basePa
122
125
  * @param {*} [options] Override http request option.
123
126
  * @throws {RequiredError}
124
127
  */
125
- listDocuments(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: any): AxiosPromise<ListDocumentsResponseClass>;
128
+ listDocuments(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: any): AxiosPromise<ListDocumentsResponseClass>;
126
129
  /**
127
130
  * API to upload and attach documents to an account.
128
131
  * @summary Upload account documents
@@ -187,6 +190,12 @@ export interface DocumentsApiListDocumentsRequest {
187
190
  * @memberof DocumentsApiListDocuments
188
191
  */
189
192
  readonly filter?: any;
193
+ /**
194
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
195
+ * @type {any}
196
+ * @memberof DocumentsApiListDocuments
197
+ */
198
+ readonly filters?: any;
190
199
  /**
191
200
  * 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.
192
201
  * @type {any}
@@ -145,6 +145,7 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
145
145
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
146
146
  * @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.
147
147
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
148
+ * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
148
149
  * @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.
149
150
  * @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.
150
151
  * @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.
@@ -152,7 +153,7 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
152
153
  * @param {*} [options] Override http request option.
153
154
  * @throws {RequiredError}
154
155
  */
155
- listDocuments: function (customerCode, pageSize, pageToken, filter, search, order, expand, authorization, options) {
156
+ listDocuments: function (customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options) {
156
157
  if (options === void 0) { options = {}; }
157
158
  return __awaiter(_this, void 0, void 0, function () {
158
159
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -178,6 +179,9 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
178
179
  if (filter !== undefined) {
179
180
  localVarQueryParameter['filter'] = filter;
180
181
  }
182
+ if (filters !== undefined) {
183
+ localVarQueryParameter['filters'] = filters;
184
+ }
181
185
  if (search !== undefined) {
182
186
  localVarQueryParameter['search'] = search;
183
187
  }
@@ -273,6 +277,7 @@ var DocumentsApiFp = function (configuration) {
273
277
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
274
278
  * @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.
275
279
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
280
+ * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
276
281
  * @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.
277
282
  * @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.
278
283
  * @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.
@@ -280,12 +285,12 @@ var DocumentsApiFp = function (configuration) {
280
285
  * @param {*} [options] Override http request option.
281
286
  * @throws {RequiredError}
282
287
  */
283
- listDocuments: function (customerCode, pageSize, pageToken, filter, search, order, expand, authorization, options) {
288
+ listDocuments: function (customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options) {
284
289
  return __awaiter(this, void 0, void 0, function () {
285
290
  var localVarAxiosArgs;
286
291
  return __generator(this, function (_a) {
287
292
  switch (_a.label) {
288
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listDocuments(customerCode, pageSize, pageToken, filter, search, order, expand, authorization, options)];
293
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listDocuments(customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options)];
289
294
  case 1:
290
295
  localVarAxiosArgs = _a.sent();
291
296
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -342,6 +347,7 @@ var DocumentsApiFactory = function (configuration, basePath, axios) {
342
347
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
343
348
  * @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.
344
349
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
350
+ * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
345
351
  * @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.
346
352
  * @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.
347
353
  * @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.
@@ -349,8 +355,8 @@ var DocumentsApiFactory = function (configuration, basePath, axios) {
349
355
  * @param {*} [options] Override http request option.
350
356
  * @throws {RequiredError}
351
357
  */
352
- listDocuments: function (customerCode, pageSize, pageToken, filter, search, order, expand, authorization, options) {
353
- return localVarFp.listDocuments(customerCode, pageSize, pageToken, filter, search, order, expand, authorization, options).then(function (request) { return request(axios, basePath); });
358
+ listDocuments: function (customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options) {
359
+ return localVarFp.listDocuments(customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options).then(function (request) { return request(axios, basePath); });
354
360
  },
355
361
  /**
356
362
  * API to upload and attach documents to an account.
@@ -398,7 +404,7 @@ var DocumentsApi = /** @class */ (function (_super) {
398
404
  */
399
405
  DocumentsApi.prototype.listDocuments = function (requestParameters, options) {
400
406
  var _this = this;
401
- return (0, exports.DocumentsApiFp)(this.configuration).listDocuments(requestParameters.customerCode, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
407
+ return (0, exports.DocumentsApiFp)(this.configuration).listDocuments(requestParameters.customerCode, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
402
408
  };
403
409
  /**
404
410
  * API to upload and attach documents to an account.