@emilgroup/customer-sdk-node 1.40.0 → 1.42.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 (84) hide show
  1. package/.openapi-generator/FILES +7 -0
  2. package/README.md +2 -2
  3. package/api/claims-api.ts +28 -28
  4. package/api/customers-api.ts +28 -28
  5. package/api/documents-api.ts +51 -34
  6. package/api/invoices-api.ts +28 -28
  7. package/api/leads-api.ts +36 -36
  8. package/api/payments-api.ts +23 -6
  9. package/api/policies-api.ts +28 -28
  10. package/api/products-api.ts +28 -28
  11. package/base.ts +14 -23
  12. package/dist/api/claims-api.d.ts +20 -20
  13. package/dist/api/claims-api.js +18 -18
  14. package/dist/api/customers-api.d.ts +20 -20
  15. package/dist/api/customers-api.js +18 -18
  16. package/dist/api/documents-api.d.ts +33 -23
  17. package/dist/api/documents-api.js +31 -24
  18. package/dist/api/invoices-api.d.ts +20 -20
  19. package/dist/api/invoices-api.js +18 -18
  20. package/dist/api/leads-api.d.ts +28 -28
  21. package/dist/api/leads-api.js +26 -26
  22. package/dist/api/payments-api.d.ts +13 -3
  23. package/dist/api/payments-api.js +13 -6
  24. package/dist/api/policies-api.d.ts +20 -20
  25. package/dist/api/policies-api.js +18 -18
  26. package/dist/api/products-api.d.ts +20 -20
  27. package/dist/api/products-api.js +18 -18
  28. package/dist/base.d.ts +3 -4
  29. package/dist/base.js +29 -37
  30. package/dist/models/account-class.d.ts +1 -1
  31. package/dist/models/account-class.js +1 -1
  32. package/dist/models/card-details-dto.d.ts +42 -0
  33. package/dist/models/card-details-dto.js +15 -0
  34. package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +80 -0
  35. package/dist/models/complete-adyen-payment-setup-request-dto.js +15 -0
  36. package/dist/models/complete-payment-setup-psp-request.d.ts +13 -0
  37. package/dist/models/complete-payment-setup-response-class.d.ts +3 -2
  38. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +19 -0
  39. package/dist/models/create-account-request-dto.d.ts +2 -8
  40. package/dist/models/create-account-request-dto.js +1 -1
  41. package/dist/models/customer-product-class.d.ts +2 -2
  42. package/dist/models/index.d.ts +7 -0
  43. package/dist/models/index.js +7 -0
  44. package/dist/models/initiate-adyen-payment-setup-response-class.d.ts +42 -0
  45. package/dist/models/initiate-adyen-payment-setup-response-class.js +15 -0
  46. package/dist/models/initiate-payment-setup-request-dto.d.ts +30 -0
  47. package/dist/models/initiate-payment-setup-request-dto.js +15 -0
  48. package/dist/models/initiate-payment-setup-response-class.d.ts +7 -0
  49. package/dist/models/inline-response200.d.ts +6 -6
  50. package/dist/models/inline-response503.d.ts +6 -6
  51. package/dist/models/lead-class.d.ts +1 -1
  52. package/dist/models/link-lead-partner-request-dto.d.ts +16 -4
  53. package/dist/models/payment-method-class.d.ts +78 -0
  54. package/dist/models/payment-method-class.js +15 -0
  55. package/dist/models/policy-object-dto.d.ts +2 -2
  56. package/dist/models/policy-premium-class.d.ts +2 -2
  57. package/dist/models/sepa-direct-dto.d.ts +24 -0
  58. package/dist/models/sepa-direct-dto.js +15 -0
  59. package/dist/models/update-lead-request-dto.d.ts +1 -1
  60. package/dist/models/upload-account-documents-request-dto.d.ts +46 -0
  61. package/dist/models/upload-account-documents-request-dto.js +19 -0
  62. package/models/account-class.ts +1 -1
  63. package/models/card-details-dto.ts +48 -0
  64. package/models/complete-adyen-payment-setup-request-dto.ts +86 -0
  65. package/models/complete-payment-setup-psp-request.ts +13 -0
  66. package/models/complete-payment-setup-response-class.ts +3 -2
  67. package/models/complete-stripe-payment-setup-request-dto.ts +19 -0
  68. package/models/create-account-request-dto.ts +2 -8
  69. package/models/customer-product-class.ts +2 -2
  70. package/models/index.ts +7 -0
  71. package/models/initiate-adyen-payment-setup-response-class.ts +48 -0
  72. package/models/initiate-payment-setup-request-dto.ts +36 -0
  73. package/models/initiate-payment-setup-response-class.ts +7 -0
  74. package/models/inline-response200.ts +6 -6
  75. package/models/inline-response503.ts +6 -6
  76. package/models/lead-class.ts +1 -1
  77. package/models/link-lead-partner-request-dto.ts +16 -4
  78. package/models/payment-method-class.ts +84 -0
  79. package/models/policy-object-dto.ts +2 -2
  80. package/models/policy-premium-class.ts +2 -2
  81. package/models/sepa-direct-dto.ts +30 -0
  82. package/models/update-lead-request-dto.ts +1 -1
  83. package/models/upload-account-documents-request-dto.ts +55 -0
  84. package/package.json +1 -1
@@ -83,18 +83,18 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
83
83
  * List all the products that a customer can insure, the products can be filtered by product code, product number.
84
84
  * @summary List available products
85
85
  * @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
86
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
86
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. 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.
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.
89
+ * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
91
90
  * @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.
92
91
  * @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.
92
+ * @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.
93
93
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
94
94
  * @param {*} [options] Override http request option.
95
95
  * @throws {RequiredError}
96
96
  */
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
+ listProducts: async (customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
98
98
  // verify required parameter 'customerCode' is not null or undefined
99
99
  assertParamExists('listProducts', 'customerCode', customerCode)
100
100
  const localVarPath = `/v1/customers/{customerCode}/products`
@@ -124,10 +124,6 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
124
124
  localVarQueryParameter['filter'] = filter;
125
125
  }
126
126
 
127
- if (filters !== undefined) {
128
- localVarQueryParameter['filters'] = filters;
129
- }
130
-
131
127
  if (search !== undefined) {
132
128
  localVarQueryParameter['search'] = search;
133
129
  }
@@ -140,6 +136,10 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
140
136
  localVarQueryParameter['expand'] = expand;
141
137
  }
142
138
 
139
+ if (filters !== undefined) {
140
+ localVarQueryParameter['filters'] = filters;
141
+ }
142
+
143
143
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
144
144
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
145
145
  }
@@ -182,19 +182,19 @@ export const ProductsApiFp = function(configuration?: Configuration) {
182
182
  * List all the products that a customer can insure, the products can be filtered by product code, product number.
183
183
  * @summary List available products
184
184
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
185
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
185
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
186
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.
187
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.
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.
188
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
190
189
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
191
190
  * @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.
191
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
192
192
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
193
193
  * @param {*} [options] Override http request option.
194
194
  * @throws {RequiredError}
195
195
  */
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);
196
+ async listProducts(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductsResponseClass>> {
197
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listProducts(customerCode, pageSize, pageToken, filter, search, order, expand, filters, authorization, options);
198
198
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
199
199
  },
200
200
  }
@@ -223,19 +223,19 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
223
223
  * List all the products that a customer can insure, the products can be filtered by product code, product number.
224
224
  * @summary List available products
225
225
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
226
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
226
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
227
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.
228
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.
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.
229
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
231
230
  * @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.
232
231
  * @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.
232
+ * @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.
233
233
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
234
234
  * @param {*} [options] Override http request option.
235
235
  * @throws {RequiredError}
236
236
  */
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));
237
+ listProducts(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, authorization?: string, options?: any): AxiosPromise<ListProductsResponseClass> {
238
+ return localVarFp.listProducts(customerCode, pageSize, pageToken, filter, search, order, expand, filters, authorization, options).then((request) => request(axios, basePath));
239
239
  },
240
240
  };
241
241
  };
@@ -282,7 +282,7 @@ export interface ProductsApiListProductsRequest {
282
282
  readonly customerCode: string
283
283
 
284
284
  /**
285
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
285
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
286
286
  * @type {any}
287
287
  * @memberof ProductsApiListProducts
288
288
  */
@@ -303,14 +303,7 @@ export interface ProductsApiListProductsRequest {
303
303
  readonly filter?: any
304
304
 
305
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
-
312
- /**
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.
306
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
314
307
  * @type {any}
315
308
  * @memberof ProductsApiListProducts
316
309
  */
@@ -330,6 +323,13 @@ export interface ProductsApiListProductsRequest {
330
323
  */
331
324
  readonly expand?: any
332
325
 
326
+ /**
327
+ * 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.
328
+ * @type {any}
329
+ * @memberof ProductsApiListProducts
330
+ */
331
+ readonly filters?: any
332
+
333
333
  /**
334
334
  * Bearer Token: provided by the login endpoint under the name accessToken.
335
335
  * @type {string}
@@ -366,6 +366,6 @@ export class ProductsApi extends BaseAPI {
366
366
  * @memberof ProductsApi
367
367
  */
368
368
  public listProducts(requestParameters: ProductsApiListProductsRequest, options?: AxiosRequestConfig) {
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));
369
+ return ProductsApiFp(this.configuration).listProducts(requestParameters.customerCode, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
370
370
  }
371
371
  }
package/base.ts CHANGED
@@ -48,6 +48,7 @@ export interface LoginClass {
48
48
  export enum Environment {
49
49
  Production = 'https://apiv2.emil.de',
50
50
  Test = 'https://apiv2-test.emil.de',
51
+ Staging = 'https://apiv2-staging.emil.de',
51
52
  Development = 'https://apiv2-dev.emil.de',
52
53
  ProductionZurich = 'https://eu-central-2.apiv2.emil.de',
53
54
  }
@@ -81,7 +82,6 @@ export class BaseAPI {
81
82
  private username?: string;
82
83
  private password?: string;
83
84
  private isCustomerToken = false;
84
- private permissions?: string;
85
85
 
86
86
  constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) {
87
87
  if (configuration) {
@@ -152,10 +152,6 @@ export class BaseAPI {
152
152
  this.configuration.basePath = env;
153
153
  }
154
154
 
155
- getPermissions(): Array<string> {
156
- return this.permissions.split(',');
157
- }
158
-
159
155
  async authorize(username: string, password: string): Promise<void> {
160
156
  const options: AxiosRequestConfig = {
161
157
  method: 'POST',
@@ -170,10 +166,9 @@ export class BaseAPI {
170
166
 
171
167
  const response = await globalAxios.request<LoginClass>(options);
172
168
 
173
- const { data: { accessToken, permissions } } = response;
169
+ const { data: { accessToken } } = response;
174
170
  this.configuration.username = username;
175
171
  this.configuration.accessToken = `Bearer ${accessToken}`;
176
- this.permissions = permissions;
177
172
 
178
173
  const refreshToken = this.extractRefreshToken(response);
179
174
  this.configuration.refreshToken = refreshToken;
@@ -240,12 +235,12 @@ export class BaseAPI {
240
235
  return response;
241
236
  }
242
237
 
243
- async refreshTokenTenant(): Promise<LoginClass> {
238
+ async refreshTokenTenant(): Promise<string> {
244
239
  const { username, refreshToken } = this.configuration;
245
240
 
246
241
 
247
242
  if (!username || !refreshToken) {
248
- throw new Error('Failed to refresh token.');
243
+ return '';
249
244
  }
250
245
 
251
246
  const options: AxiosRequestConfig = {
@@ -259,16 +254,16 @@ export class BaseAPI {
259
254
  withCredentials: true,
260
255
  };
261
256
 
262
- const response = await globalAxios.request<LoginClass>(options);
257
+ const { data: { accessToken } } = await globalAxios.request<LoginClass>(options);
263
258
 
264
- return response.data;
259
+ return accessToken;
265
260
  }
266
261
 
267
- async refreshTokenCustomer(): Promise<LoginClass> {
262
+ async refreshTokenCustomer(): Promise<string> {
268
263
  const { username, refreshToken, tenantSlug } = this.configuration;
269
264
 
270
265
  if (!username || !refreshToken) {
271
- throw new Error('Failed to refresh token.');
266
+ return '';
272
267
  }
273
268
 
274
269
  const options: AxiosRequestConfig = {
@@ -282,9 +277,9 @@ export class BaseAPI {
282
277
  withCredentials: true,
283
278
  };
284
279
 
285
- const response = await globalAxios.request<LoginClass>(options);
280
+ const { data: { accessToken } } = await globalAxios.request<LoginClass>(options);
286
281
 
287
- return response.data;
282
+ return accessToken;
288
283
  }
289
284
 
290
285
  private extractRefreshToken(response: AxiosResponse): string {
@@ -310,14 +305,12 @@ export class BaseAPI {
310
305
  originalConfig._retry = true;
311
306
  try {
312
307
  let tokenString: string;
313
- let permissions: string;
314
308
  if (this.isCustomerToken) {
315
- ({ accessToken: tokenString, permissions } = await this.refreshTokenCustomer());
309
+ tokenString = await this.refreshTokenCustomer();
316
310
  } else {
317
- ({ accessToken: tokenString, permissions } = await this.refreshTokenTenant());
311
+ tokenString = await this.refreshTokenTenant();
318
312
  }
319
313
  const accessToken = `Bearer ${tokenString}`;
320
- this.permissions = permissions;
321
314
 
322
315
  delete originalConfig.headers['Authorization']
323
316
 
@@ -344,14 +337,12 @@ export class BaseAPI {
344
337
  _retry_count++;
345
338
  try {
346
339
  let tokenString: string;
347
- let permissions: string;
348
340
  if (this.isCustomerToken) {
349
- ({ accessToken: tokenString, permissions } = await this.refreshTokenCustomer());
341
+ tokenString = await this.refreshTokenCustomer();
350
342
  } else {
351
- ({ accessToken: tokenString, permissions } = await this.refreshTokenTenant());
343
+ tokenString = await this.refreshTokenTenant();
352
344
  }
353
345
  const accessToken = `Bearer ${tokenString}`;
354
- this.permissions = permissions;
355
346
 
356
347
  _retry = true;
357
348
  originalConfig.headers['Authorization'] = accessToken;
@@ -50,17 +50,17 @@ export declare const ClaimsApiAxiosParamCreator: (configuration?: Configuration)
50
50
  * @summary List claims
51
51
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
52
52
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
53
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
53
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. 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.
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.
56
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
58
57
  * @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.
59
58
  * @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
+ * @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.
60
60
  * @param {*} [options] Override http request option.
61
61
  * @throws {RequiredError}
62
62
  */
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
+ listCustomerClaims: (customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
64
64
  /**
65
65
  * Update claim for customer.
66
66
  * @summary Update claim
@@ -114,17 +114,17 @@ export declare const ClaimsApiFp: (configuration?: Configuration) => {
114
114
  * @summary List claims
115
115
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
116
116
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
117
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
117
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
118
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.
119
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.
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
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
122
121
  * @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.
123
122
  * @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
+ * @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.
124
124
  * @param {*} [options] Override http request option.
125
125
  * @throws {RequiredError}
126
126
  */
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>>;
127
+ listCustomerClaims(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCustomerClaimsResponseClass>>;
128
128
  /**
129
129
  * Update claim for customer.
130
130
  * @summary Update claim
@@ -178,17 +178,17 @@ export declare const ClaimsApiFactory: (configuration?: Configuration, basePath?
178
178
  * @summary List claims
179
179
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
180
180
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
181
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
181
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
182
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.
183
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.
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.
184
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
186
185
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
187
186
  * @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
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
188
188
  * @param {*} [options] Override http request option.
189
189
  * @throws {RequiredError}
190
190
  */
191
- listCustomerClaims(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListCustomerClaimsResponseClass>;
191
+ listCustomerClaims(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListCustomerClaimsResponseClass>;
192
192
  /**
193
193
  * Update claim for customer.
194
194
  * @summary Update claim
@@ -281,7 +281,7 @@ export interface ClaimsApiListCustomerClaimsRequest {
281
281
  */
282
282
  readonly authorization?: string;
283
283
  /**
284
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
284
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
285
285
  * @type {any}
286
286
  * @memberof ClaimsApiListCustomerClaims
287
287
  */
@@ -299,13 +299,7 @@ export interface ClaimsApiListCustomerClaimsRequest {
299
299
  */
300
300
  readonly filter?: any;
301
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;
307
- /**
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.
302
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
309
303
  * @type {any}
310
304
  * @memberof ClaimsApiListCustomerClaims
311
305
  */
@@ -322,6 +316,12 @@ export interface ClaimsApiListCustomerClaimsRequest {
322
316
  * @memberof ClaimsApiListCustomerClaims
323
317
  */
324
318
  readonly expand?: any;
319
+ /**
320
+ * 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.
321
+ * @type {any}
322
+ * @memberof ClaimsApiListCustomerClaims
323
+ */
324
+ readonly filters?: any;
325
325
  }
326
326
  /**
327
327
  * Request parameters for updateCustomerClaim operation in ClaimsApi.
@@ -206,17 +206,17 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
206
206
  * @summary List claims
207
207
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
208
208
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
209
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
209
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. 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.
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.
212
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
214
213
  * @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.
215
214
  * @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
+ * @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.
216
216
  * @param {*} [options] Override http request option.
217
217
  * @throws {RequiredError}
218
218
  */
219
- listCustomerClaims: function (customerCode, authorization, pageSize, pageToken, filter, filters, search, order, expand, options) {
219
+ listCustomerClaims: function (customerCode, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
220
220
  if (options === void 0) { options = {}; }
221
221
  return __awaiter(_this, void 0, void 0, function () {
222
222
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -251,9 +251,6 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
251
251
  if (filter !== undefined) {
252
252
  localVarQueryParameter['filter'] = filter;
253
253
  }
254
- if (filters !== undefined) {
255
- localVarQueryParameter['filters'] = filters;
256
- }
257
254
  if (search !== undefined) {
258
255
  localVarQueryParameter['search'] = search;
259
256
  }
@@ -263,6 +260,9 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
263
260
  if (expand !== undefined) {
264
261
  localVarQueryParameter['expand'] = expand;
265
262
  }
263
+ if (filters !== undefined) {
264
+ localVarQueryParameter['filters'] = filters;
265
+ }
266
266
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
267
267
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
268
268
  }
@@ -450,22 +450,22 @@ var ClaimsApiFp = function (configuration) {
450
450
  * @summary List claims
451
451
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
452
452
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
453
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
453
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
454
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.
455
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.
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.
456
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
458
457
  * @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
458
  * @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.
459
+ * @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
460
  * @param {*} [options] Override http request option.
461
461
  * @throws {RequiredError}
462
462
  */
463
- listCustomerClaims: function (customerCode, authorization, pageSize, pageToken, filter, filters, search, order, expand, options) {
463
+ listCustomerClaims: function (customerCode, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
464
464
  return __awaiter(this, void 0, void 0, function () {
465
465
  var localVarAxiosArgs;
466
466
  return __generator(this, function (_a) {
467
467
  switch (_a.label) {
468
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCustomerClaims(customerCode, authorization, pageSize, pageToken, filter, filters, search, order, expand, options)];
468
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCustomerClaims(customerCode, authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
469
469
  case 1:
470
470
  localVarAxiosArgs = _a.sent();
471
471
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -558,18 +558,18 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
558
558
  * @summary List claims
559
559
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
560
560
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
561
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
561
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
562
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.
563
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.
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.
564
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
566
565
  * @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.
567
566
  * @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.
567
+ * @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.
568
568
  * @param {*} [options] Override http request option.
569
569
  * @throws {RequiredError}
570
570
  */
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); });
571
+ listCustomerClaims: function (customerCode, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
572
+ return localVarFp.listCustomerClaims(customerCode, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
573
573
  },
574
574
  /**
575
575
  * Update claim for customer.
@@ -645,7 +645,7 @@ var ClaimsApi = /** @class */ (function (_super) {
645
645
  */
646
646
  ClaimsApi.prototype.listCustomerClaims = function (requestParameters, options) {
647
647
  var _this = this;
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); });
648
+ return (0, exports.ClaimsApiFp)(this.configuration).listCustomerClaims(requestParameters.customerCode, 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); });
649
649
  };
650
650
  /**
651
651
  * Update claim for customer.
@@ -46,18 +46,18 @@ export declare const CustomersApiAxiosParamCreator: (configuration?: Configurati
46
46
  /**
47
47
  * Get customer list.
48
48
  * @summary Get customers list
49
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
49
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
50
50
  * @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.
51
51
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
52
- * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
53
- * @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.
52
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
54
53
  * @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.
55
54
  * @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.
55
+ * @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.
56
56
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
57
57
  * @param {*} [options] Override http request option.
58
58
  * @throws {RequiredError}
59
59
  */
60
- listCustomers: (pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
60
+ listCustomers: (pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
61
61
  /**
62
62
  * Request a token to change the email address for the customer.
63
63
  * @summary Request customer email change
@@ -114,18 +114,18 @@ export declare const CustomersApiFp: (configuration?: Configuration) => {
114
114
  /**
115
115
  * Get customer list.
116
116
  * @summary Get customers list
117
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
117
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
118
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.
119
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.
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
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
122
121
  * @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.
123
122
  * @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
+ * @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.
124
124
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
125
125
  * @param {*} [options] Override http request option.
126
126
  * @throws {RequiredError}
127
127
  */
128
- 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>>;
128
+ listCustomers(pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
129
129
  /**
130
130
  * Request a token to change the email address for the customer.
131
131
  * @summary Request customer email change
@@ -182,18 +182,18 @@ export declare const CustomersApiFactory: (configuration?: Configuration, basePa
182
182
  /**
183
183
  * Get customer list.
184
184
  * @summary Get customers list
185
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
185
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
186
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.
187
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.
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.
188
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
190
189
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
191
190
  * @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.
191
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
192
192
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
193
193
  * @param {*} [options] Override http request option.
194
194
  * @throws {RequiredError}
195
195
  */
196
- listCustomers(pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: any): AxiosPromise<object>;
196
+ listCustomers(pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, authorization?: string, options?: any): AxiosPromise<object>;
197
197
  /**
198
198
  * Request a token to change the email address for the customer.
199
199
  * @summary Request customer email change
@@ -269,7 +269,7 @@ export interface CustomersApiGetCustomerRequest {
269
269
  */
270
270
  export interface CustomersApiListCustomersRequest {
271
271
  /**
272
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
272
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
273
273
  * @type {any}
274
274
  * @memberof CustomersApiListCustomers
275
275
  */
@@ -287,13 +287,7 @@ export interface CustomersApiListCustomersRequest {
287
287
  */
288
288
  readonly filter?: any;
289
289
  /**
290
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
291
- * @type {any}
292
- * @memberof CustomersApiListCustomers
293
- */
294
- readonly filters?: any;
295
- /**
296
- * 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.
290
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
297
291
  * @type {any}
298
292
  * @memberof CustomersApiListCustomers
299
293
  */
@@ -310,6 +304,12 @@ export interface CustomersApiListCustomersRequest {
310
304
  * @memberof CustomersApiListCustomers
311
305
  */
312
306
  readonly expand?: any;
307
+ /**
308
+ * 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.
309
+ * @type {any}
310
+ * @memberof CustomersApiListCustomers
311
+ */
312
+ readonly filters?: any;
313
313
  /**
314
314
  * Bearer Token: provided by the login endpoint under the name accessToken.
315
315
  * @type {string}