@emilgroup/customer-sdk-node 1.41.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 (55) hide show
  1. package/.openapi-generator/FILES +1 -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 +32 -32
  8. package/api/policies-api.ts +28 -28
  9. package/api/products-api.ts +28 -28
  10. package/base.ts +1 -0
  11. package/dist/api/claims-api.d.ts +20 -20
  12. package/dist/api/claims-api.js +18 -18
  13. package/dist/api/customers-api.d.ts +20 -20
  14. package/dist/api/customers-api.js +18 -18
  15. package/dist/api/documents-api.d.ts +33 -23
  16. package/dist/api/documents-api.js +31 -24
  17. package/dist/api/invoices-api.d.ts +20 -20
  18. package/dist/api/invoices-api.js +18 -18
  19. package/dist/api/leads-api.d.ts +24 -24
  20. package/dist/api/leads-api.js +22 -22
  21. package/dist/api/policies-api.d.ts +20 -20
  22. package/dist/api/policies-api.js +18 -18
  23. package/dist/api/products-api.d.ts +20 -20
  24. package/dist/api/products-api.js +18 -18
  25. package/dist/base.d.ts +1 -0
  26. package/dist/base.js +1 -0
  27. package/dist/models/account-class.d.ts +1 -1
  28. package/dist/models/account-class.js +1 -1
  29. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +19 -0
  30. package/dist/models/create-account-request-dto.d.ts +2 -8
  31. package/dist/models/create-account-request-dto.js +1 -1
  32. package/dist/models/customer-product-class.d.ts +2 -2
  33. package/dist/models/index.d.ts +1 -0
  34. package/dist/models/index.js +1 -0
  35. package/dist/models/inline-response200.d.ts +6 -6
  36. package/dist/models/inline-response503.d.ts +6 -6
  37. package/dist/models/link-lead-partner-request-dto.d.ts +16 -4
  38. package/dist/models/policy-object-dto.d.ts +2 -2
  39. package/dist/models/policy-premium-class.d.ts +2 -2
  40. package/dist/models/update-lead-request-dto.d.ts +1 -1
  41. package/dist/models/upload-account-documents-request-dto.d.ts +46 -0
  42. package/dist/models/upload-account-documents-request-dto.js +19 -0
  43. package/models/account-class.ts +1 -1
  44. package/models/complete-stripe-payment-setup-request-dto.ts +19 -0
  45. package/models/create-account-request-dto.ts +2 -8
  46. package/models/customer-product-class.ts +2 -2
  47. package/models/index.ts +1 -0
  48. package/models/inline-response200.ts +6 -6
  49. package/models/inline-response503.ts +6 -6
  50. package/models/link-lead-partner-request-dto.ts +16 -4
  51. package/models/policy-object-dto.ts +2 -2
  52. package/models/policy-premium-class.ts +2 -2
  53. package/models/update-lead-request-dto.ts +1 -1
  54. package/models/upload-account-documents-request-dto.ts +55 -0
  55. 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
  }
@@ -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}
@@ -176,18 +176,18 @@ var CustomersApiAxiosParamCreator = function (configuration) {
176
176
  /**
177
177
  * Get customer list.
178
178
  * @summary Get customers list
179
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
179
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
180
180
  * @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
181
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
182
- * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
183
- * @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.
182
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
184
183
  * @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
184
  * @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
+ * @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.
186
186
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
187
187
  * @param {*} [options] Override http request option.
188
188
  * @throws {RequiredError}
189
189
  */
190
- listCustomers: function (pageSize, pageToken, filter, filters, search, order, expand, authorization, options) {
190
+ listCustomers: function (pageSize, pageToken, filter, search, order, expand, filters, authorization, options) {
191
191
  if (options === void 0) { options = {}; }
192
192
  return __awaiter(_this, void 0, void 0, function () {
193
193
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -210,9 +210,6 @@ var CustomersApiAxiosParamCreator = function (configuration) {
210
210
  if (filter !== undefined) {
211
211
  localVarQueryParameter['filter'] = filter;
212
212
  }
213
- if (filters !== undefined) {
214
- localVarQueryParameter['filters'] = filters;
215
- }
216
213
  if (search !== undefined) {
217
214
  localVarQueryParameter['search'] = search;
218
215
  }
@@ -222,6 +219,9 @@ var CustomersApiAxiosParamCreator = function (configuration) {
222
219
  if (expand !== undefined) {
223
220
  localVarQueryParameter['expand'] = expand;
224
221
  }
222
+ if (filters !== undefined) {
223
+ localVarQueryParameter['filters'] = filters;
224
+ }
225
225
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
226
226
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
227
227
  }
@@ -415,23 +415,23 @@ var CustomersApiFp = function (configuration) {
415
415
  /**
416
416
  * Get customer list.
417
417
  * @summary Get customers list
418
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
418
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
419
419
  * @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.
420
420
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
421
- * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
422
- * @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.
421
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
423
422
  * @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.
424
423
  * @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.
424
+ * @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.
425
425
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
426
426
  * @param {*} [options] Override http request option.
427
427
  * @throws {RequiredError}
428
428
  */
429
- listCustomers: function (pageSize, pageToken, filter, filters, search, order, expand, authorization, options) {
429
+ listCustomers: function (pageSize, pageToken, filter, search, order, expand, filters, authorization, options) {
430
430
  return __awaiter(this, void 0, void 0, function () {
431
431
  var localVarAxiosArgs;
432
432
  return __generator(this, function (_a) {
433
433
  switch (_a.label) {
434
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCustomers(pageSize, pageToken, filter, filters, search, order, expand, authorization, options)];
434
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCustomers(pageSize, pageToken, filter, search, order, expand, filters, authorization, options)];
435
435
  case 1:
436
436
  localVarAxiosArgs = _a.sent();
437
437
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -539,19 +539,19 @@ var CustomersApiFactory = function (configuration, basePath, axios) {
539
539
  /**
540
540
  * Get customer list.
541
541
  * @summary Get customers list
542
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
542
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
543
543
  * @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.
544
544
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
545
- * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
546
- * @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.
545
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
547
546
  * @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.
548
547
  * @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.
548
+ * @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.
549
549
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
550
550
  * @param {*} [options] Override http request option.
551
551
  * @throws {RequiredError}
552
552
  */
553
- listCustomers: function (pageSize, pageToken, filter, filters, search, order, expand, authorization, options) {
554
- return localVarFp.listCustomers(pageSize, pageToken, filter, filters, search, order, expand, authorization, options).then(function (request) { return request(axios, basePath); });
553
+ listCustomers: function (pageSize, pageToken, filter, search, order, expand, filters, authorization, options) {
554
+ return localVarFp.listCustomers(pageSize, pageToken, filter, search, order, expand, filters, authorization, options).then(function (request) { return request(axios, basePath); });
555
555
  },
556
556
  /**
557
557
  * Request a token to change the email address for the customer.
@@ -637,7 +637,7 @@ var CustomersApi = /** @class */ (function (_super) {
637
637
  CustomersApi.prototype.listCustomers = function (requestParameters, options) {
638
638
  var _this = this;
639
639
  if (requestParameters === void 0) { requestParameters = {}; }
640
- 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); });
640
+ return (0, exports.CustomersApiFp)(this.configuration).listCustomers(requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
641
641
  };
642
642
  /**
643
643
  * Request a token to change the email address for the customer.