@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
@@ -15,6 +15,7 @@ import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreatePresignedPostResponseClass } from '../models';
16
16
  import { GetCustomerDocumentDownloadUrlResponseClass } from '../models';
17
17
  import { ListDocumentsResponseClass } from '../models';
18
+ import { UploadAccountDocumentsRequestDto } from '../models';
18
19
  /**
19
20
  * DocumentsApi - axios parameter creator
20
21
  * @export
@@ -35,26 +36,27 @@ export declare const DocumentsApiAxiosParamCreator: (configuration?: Configurati
35
36
  * List all the documents of a customer.
36
37
  * @summary List documents of a customer
37
38
  * @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
38
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
39
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
39
40
  * @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.
40
41
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
41
- * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
42
- * @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.
42
+ * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
43
43
  * @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.
44
44
  * @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.
45
+ * @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.
45
46
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
46
47
  * @param {*} [options] Override http request option.
47
48
  * @throws {RequiredError}
48
49
  */
49
- listDocuments: (customerCode: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
50
+ listDocuments: (customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
50
51
  /**
51
52
  * API to upload and attach documents to an account.
52
53
  * @summary Upload account documents
53
54
  * @param {string} customerCode
55
+ * @param {UploadAccountDocumentsRequestDto} uploadAccountDocumentsRequestDto
54
56
  * @param {*} [options] Override http request option.
55
57
  * @throws {RequiredError}
56
58
  */
57
- uploadAccountDocuments: (customerCode: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
59
+ uploadAccountDocuments: (customerCode: string, uploadAccountDocumentsRequestDto: UploadAccountDocumentsRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
58
60
  };
59
61
  /**
60
62
  * DocumentsApi - functional programming interface
@@ -76,26 +78,27 @@ export declare const DocumentsApiFp: (configuration?: Configuration) => {
76
78
  * List all the documents of a customer.
77
79
  * @summary List documents of a customer
78
80
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
79
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
81
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
80
82
  * @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.
81
83
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
82
- * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
83
- * @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.
84
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
84
85
  * @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.
85
86
  * @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.
87
+ * @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.
86
88
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
87
89
  * @param {*} [options] Override http request option.
88
90
  * @throws {RequiredError}
89
91
  */
90
- listDocuments(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDocumentsResponseClass>>;
92
+ listDocuments(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<ListDocumentsResponseClass>>;
91
93
  /**
92
94
  * API to upload and attach documents to an account.
93
95
  * @summary Upload account documents
94
96
  * @param {string} customerCode
97
+ * @param {UploadAccountDocumentsRequestDto} uploadAccountDocumentsRequestDto
95
98
  * @param {*} [options] Override http request option.
96
99
  * @throws {RequiredError}
97
100
  */
98
- uploadAccountDocuments(customerCode: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePresignedPostResponseClass>>;
101
+ uploadAccountDocuments(customerCode: string, uploadAccountDocumentsRequestDto: UploadAccountDocumentsRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePresignedPostResponseClass>>;
99
102
  };
100
103
  /**
101
104
  * DocumentsApi - factory interface
@@ -117,26 +120,27 @@ export declare const DocumentsApiFactory: (configuration?: Configuration, basePa
117
120
  * List all the documents of a customer.
118
121
  * @summary List documents of a customer
119
122
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
120
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
123
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
121
124
  * @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.
122
125
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
123
- * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
124
- * @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.
126
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
125
127
  * @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.
126
128
  * @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.
129
+ * @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.
127
130
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
128
131
  * @param {*} [options] Override http request option.
129
132
  * @throws {RequiredError}
130
133
  */
131
- listDocuments(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: any): AxiosPromise<ListDocumentsResponseClass>;
134
+ listDocuments(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, authorization?: string, options?: any): AxiosPromise<ListDocumentsResponseClass>;
132
135
  /**
133
136
  * API to upload and attach documents to an account.
134
137
  * @summary Upload account documents
135
138
  * @param {string} customerCode
139
+ * @param {UploadAccountDocumentsRequestDto} uploadAccountDocumentsRequestDto
136
140
  * @param {*} [options] Override http request option.
137
141
  * @throws {RequiredError}
138
142
  */
139
- uploadAccountDocuments(customerCode: string, options?: any): AxiosPromise<CreatePresignedPostResponseClass>;
143
+ uploadAccountDocuments(customerCode: string, uploadAccountDocumentsRequestDto: UploadAccountDocumentsRequestDto, options?: any): AxiosPromise<CreatePresignedPostResponseClass>;
140
144
  };
141
145
  /**
142
146
  * Request parameters for getCustomerDocumentDownloadUrl operation in DocumentsApi.
@@ -182,7 +186,7 @@ export interface DocumentsApiListDocumentsRequest {
182
186
  */
183
187
  readonly customerCode: string;
184
188
  /**
185
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
189
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
186
190
  * @type {any}
187
191
  * @memberof DocumentsApiListDocuments
188
192
  */
@@ -200,13 +204,7 @@ export interface DocumentsApiListDocumentsRequest {
200
204
  */
201
205
  readonly filter?: any;
202
206
  /**
203
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
204
- * @type {any}
205
- * @memberof DocumentsApiListDocuments
206
- */
207
- readonly filters?: any;
208
- /**
209
- * 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.
207
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
210
208
  * @type {any}
211
209
  * @memberof DocumentsApiListDocuments
212
210
  */
@@ -223,6 +221,12 @@ export interface DocumentsApiListDocumentsRequest {
223
221
  * @memberof DocumentsApiListDocuments
224
222
  */
225
223
  readonly expand?: any;
224
+ /**
225
+ * 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.
226
+ * @type {any}
227
+ * @memberof DocumentsApiListDocuments
228
+ */
229
+ readonly filters?: any;
226
230
  /**
227
231
  * Bearer Token: provided by the login endpoint under the name accessToken.
228
232
  * @type {string}
@@ -242,6 +246,12 @@ export interface DocumentsApiUploadAccountDocumentsRequest {
242
246
  * @memberof DocumentsApiUploadAccountDocuments
243
247
  */
244
248
  readonly customerCode: string;
249
+ /**
250
+ *
251
+ * @type {UploadAccountDocumentsRequestDto}
252
+ * @memberof DocumentsApiUploadAccountDocuments
253
+ */
254
+ readonly uploadAccountDocumentsRequestDto: UploadAccountDocumentsRequestDto;
245
255
  }
246
256
  /**
247
257
  * DocumentsApi - object-oriented interface
@@ -146,18 +146,18 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
146
146
  * List all the documents of a customer.
147
147
  * @summary List documents of a customer
148
148
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
149
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
149
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
150
150
  * @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.
151
151
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
152
- * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
153
- * @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.
152
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
154
153
  * @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.
155
154
  * @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.
155
+ * @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.
156
156
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
157
157
  * @param {*} [options] Override http request option.
158
158
  * @throws {RequiredError}
159
159
  */
160
- listDocuments: function (customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options) {
160
+ listDocuments: function (customerCode, pageSize, pageToken, filter, search, order, expand, filters, authorization, options) {
161
161
  if (options === void 0) { options = {}; }
162
162
  return __awaiter(_this, void 0, void 0, function () {
163
163
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -183,9 +183,6 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
183
183
  if (filter !== undefined) {
184
184
  localVarQueryParameter['filter'] = filter;
185
185
  }
186
- if (filters !== undefined) {
187
- localVarQueryParameter['filters'] = filters;
188
- }
189
186
  if (search !== undefined) {
190
187
  localVarQueryParameter['search'] = search;
191
188
  }
@@ -195,6 +192,9 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
195
192
  if (expand !== undefined) {
196
193
  localVarQueryParameter['expand'] = expand;
197
194
  }
195
+ if (filters !== undefined) {
196
+ localVarQueryParameter['filters'] = filters;
197
+ }
198
198
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
199
199
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
200
200
  }
@@ -212,16 +212,19 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
212
212
  * API to upload and attach documents to an account.
213
213
  * @summary Upload account documents
214
214
  * @param {string} customerCode
215
+ * @param {UploadAccountDocumentsRequestDto} uploadAccountDocumentsRequestDto
215
216
  * @param {*} [options] Override http request option.
216
217
  * @throws {RequiredError}
217
218
  */
218
- uploadAccountDocuments: function (customerCode, options) {
219
+ uploadAccountDocuments: function (customerCode, uploadAccountDocumentsRequestDto, options) {
219
220
  if (options === void 0) { options = {}; }
220
221
  return __awaiter(_this, void 0, void 0, function () {
221
222
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
222
223
  return __generator(this, function (_a) {
223
224
  // verify required parameter 'customerCode' is not null or undefined
224
225
  (0, common_1.assertParamExists)('uploadAccountDocuments', 'customerCode', customerCode);
226
+ // verify required parameter 'uploadAccountDocumentsRequestDto' is not null or undefined
227
+ (0, common_1.assertParamExists)('uploadAccountDocuments', 'uploadAccountDocumentsRequestDto', uploadAccountDocumentsRequestDto);
225
228
  localVarPath = "/v1/customers/{customerCode}/documents"
226
229
  .replace("{".concat("customerCode", "}"), encodeURIComponent(String(customerCode)));
227
230
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -232,9 +235,11 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
232
235
  localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
233
236
  localVarHeaderParameter = {};
234
237
  localVarQueryParameter = {};
238
+ localVarHeaderParameter['Content-Type'] = 'application/json';
235
239
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
236
240
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
237
241
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
242
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(uploadAccountDocumentsRequestDto, localVarRequestOptions, configuration);
238
243
  return [2 /*return*/, {
239
244
  url: (0, common_1.toPathString)(localVarUrlObj),
240
245
  options: localVarRequestOptions,
@@ -279,23 +284,23 @@ var DocumentsApiFp = function (configuration) {
279
284
  * List all the documents of a customer.
280
285
  * @summary List documents of a customer
281
286
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
282
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
287
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
283
288
  * @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.
284
289
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
285
- * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
286
- * @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.
290
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
287
291
  * @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.
288
292
  * @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.
293
+ * @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.
289
294
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
290
295
  * @param {*} [options] Override http request option.
291
296
  * @throws {RequiredError}
292
297
  */
293
- listDocuments: function (customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options) {
298
+ listDocuments: function (customerCode, pageSize, pageToken, filter, search, order, expand, filters, authorization, options) {
294
299
  return __awaiter(this, void 0, void 0, function () {
295
300
  var localVarAxiosArgs;
296
301
  return __generator(this, function (_a) {
297
302
  switch (_a.label) {
298
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listDocuments(customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options)];
303
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listDocuments(customerCode, pageSize, pageToken, filter, search, order, expand, filters, authorization, options)];
299
304
  case 1:
300
305
  localVarAxiosArgs = _a.sent();
301
306
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -307,15 +312,16 @@ var DocumentsApiFp = function (configuration) {
307
312
  * API to upload and attach documents to an account.
308
313
  * @summary Upload account documents
309
314
  * @param {string} customerCode
315
+ * @param {UploadAccountDocumentsRequestDto} uploadAccountDocumentsRequestDto
310
316
  * @param {*} [options] Override http request option.
311
317
  * @throws {RequiredError}
312
318
  */
313
- uploadAccountDocuments: function (customerCode, options) {
319
+ uploadAccountDocuments: function (customerCode, uploadAccountDocumentsRequestDto, options) {
314
320
  return __awaiter(this, void 0, void 0, function () {
315
321
  var localVarAxiosArgs;
316
322
  return __generator(this, function (_a) {
317
323
  switch (_a.label) {
318
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.uploadAccountDocuments(customerCode, options)];
324
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.uploadAccountDocuments(customerCode, uploadAccountDocumentsRequestDto, options)];
319
325
  case 1:
320
326
  localVarAxiosArgs = _a.sent();
321
327
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -350,29 +356,30 @@ var DocumentsApiFactory = function (configuration, basePath, axios) {
350
356
  * List all the documents of a customer.
351
357
  * @summary List documents of a customer
352
358
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
353
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
359
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
354
360
  * @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.
355
361
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
356
- * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
357
- * @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.
362
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
358
363
  * @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.
359
364
  * @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.
365
+ * @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.
360
366
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
361
367
  * @param {*} [options] Override http request option.
362
368
  * @throws {RequiredError}
363
369
  */
364
- listDocuments: function (customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options) {
365
- return localVarFp.listDocuments(customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options).then(function (request) { return request(axios, basePath); });
370
+ listDocuments: function (customerCode, pageSize, pageToken, filter, search, order, expand, filters, authorization, options) {
371
+ return localVarFp.listDocuments(customerCode, pageSize, pageToken, filter, search, order, expand, filters, authorization, options).then(function (request) { return request(axios, basePath); });
366
372
  },
367
373
  /**
368
374
  * API to upload and attach documents to an account.
369
375
  * @summary Upload account documents
370
376
  * @param {string} customerCode
377
+ * @param {UploadAccountDocumentsRequestDto} uploadAccountDocumentsRequestDto
371
378
  * @param {*} [options] Override http request option.
372
379
  * @throws {RequiredError}
373
380
  */
374
- uploadAccountDocuments: function (customerCode, options) {
375
- return localVarFp.uploadAccountDocuments(customerCode, options).then(function (request) { return request(axios, basePath); });
381
+ uploadAccountDocuments: function (customerCode, uploadAccountDocumentsRequestDto, options) {
382
+ return localVarFp.uploadAccountDocuments(customerCode, uploadAccountDocumentsRequestDto, options).then(function (request) { return request(axios, basePath); });
376
383
  },
377
384
  };
378
385
  };
@@ -410,7 +417,7 @@ var DocumentsApi = /** @class */ (function (_super) {
410
417
  */
411
418
  DocumentsApi.prototype.listDocuments = function (requestParameters, options) {
412
419
  var _this = this;
413
- return (0, exports.DocumentsApiFp)(this.configuration).listDocuments(requestParameters.customerCode, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
420
+ return (0, exports.DocumentsApiFp)(this.configuration).listDocuments(requestParameters.customerCode, 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); });
414
421
  };
415
422
  /**
416
423
  * API to upload and attach documents to an account.
@@ -422,7 +429,7 @@ var DocumentsApi = /** @class */ (function (_super) {
422
429
  */
423
430
  DocumentsApi.prototype.uploadAccountDocuments = function (requestParameters, options) {
424
431
  var _this = this;
425
- return (0, exports.DocumentsApiFp)(this.configuration).uploadAccountDocuments(requestParameters.customerCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
432
+ return (0, exports.DocumentsApiFp)(this.configuration).uploadAccountDocuments(requestParameters.customerCode, requestParameters.uploadAccountDocumentsRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
426
433
  };
427
434
  return DocumentsApi;
428
435
  }(base_1.BaseAPI));
@@ -22,18 +22,18 @@ export declare const InvoicesApiAxiosParamCreator: (configuration?: Configuratio
22
22
  * List all the invoices of a customer.
23
23
  * @summary List invoices of a customer
24
24
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
25
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
25
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
26
26
  * @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.
27
27
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
28
- * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
29
- * @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.
28
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
30
29
  * @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.
31
30
  * @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.
31
+ * @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.
32
32
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
33
33
  * @param {*} [options] Override http request option.
34
34
  * @throws {RequiredError}
35
35
  */
36
- listInvoices: (customerCode: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36
+ listInvoices: (customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37
37
  };
38
38
  /**
39
39
  * InvoicesApi - functional programming interface
@@ -44,18 +44,18 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
44
44
  * List all the invoices of a customer.
45
45
  * @summary List invoices of a customer
46
46
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
47
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
47
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
48
48
  * @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.
49
49
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
50
- * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
51
- * @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.
50
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
52
51
  * @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.
53
52
  * @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.
53
+ * @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.
54
54
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
55
55
  * @param {*} [options] Override http request option.
56
56
  * @throws {RequiredError}
57
57
  */
58
- listInvoices(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<ListInvoicesResponseClass>>;
58
+ listInvoices(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<ListInvoicesResponseClass>>;
59
59
  };
60
60
  /**
61
61
  * InvoicesApi - factory interface
@@ -66,18 +66,18 @@ export declare const InvoicesApiFactory: (configuration?: Configuration, basePat
66
66
  * List all the invoices of a customer.
67
67
  * @summary List invoices of a customer
68
68
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
69
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
69
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
70
70
  * @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.
71
71
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
72
- * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
73
- * @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.
72
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
74
73
  * @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.
75
74
  * @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.
75
+ * @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.
76
76
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
77
77
  * @param {*} [options] Override http request option.
78
78
  * @throws {RequiredError}
79
79
  */
80
- listInvoices(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, filters?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: any): AxiosPromise<ListInvoicesResponseClass>;
80
+ listInvoices(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, authorization?: string, options?: any): AxiosPromise<ListInvoicesResponseClass>;
81
81
  };
82
82
  /**
83
83
  * Request parameters for listInvoices operation in InvoicesApi.
@@ -92,7 +92,7 @@ export interface InvoicesApiListInvoicesRequest {
92
92
  */
93
93
  readonly customerCode: string;
94
94
  /**
95
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
95
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
96
96
  * @type {any}
97
97
  * @memberof InvoicesApiListInvoices
98
98
  */
@@ -110,13 +110,7 @@ export interface InvoicesApiListInvoicesRequest {
110
110
  */
111
111
  readonly filter?: any;
112
112
  /**
113
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
114
- * @type {any}
115
- * @memberof InvoicesApiListInvoices
116
- */
117
- readonly filters?: any;
118
- /**
119
- * 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.
113
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
120
114
  * @type {any}
121
115
  * @memberof InvoicesApiListInvoices
122
116
  */
@@ -133,6 +127,12 @@ export interface InvoicesApiListInvoicesRequest {
133
127
  * @memberof InvoicesApiListInvoices
134
128
  */
135
129
  readonly expand?: any;
130
+ /**
131
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
132
+ * @type {any}
133
+ * @memberof InvoicesApiListInvoices
134
+ */
135
+ readonly filters?: any;
136
136
  /**
137
137
  * Bearer Token: provided by the login endpoint under the name accessToken.
138
138
  * @type {string}
@@ -100,18 +100,18 @@ var InvoicesApiAxiosParamCreator = function (configuration) {
100
100
  * List all the invoices of a customer.
101
101
  * @summary List invoices of a customer
102
102
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
103
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
103
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
104
104
  * @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.
105
105
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
106
- * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
107
- * @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.
106
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
108
107
  * @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.
109
108
  * @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.
109
+ * @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.
110
110
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
111
111
  * @param {*} [options] Override http request option.
112
112
  * @throws {RequiredError}
113
113
  */
114
- listInvoices: function (customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options) {
114
+ listInvoices: function (customerCode, pageSize, pageToken, filter, search, order, expand, filters, authorization, options) {
115
115
  if (options === void 0) { options = {}; }
116
116
  return __awaiter(_this, void 0, void 0, function () {
117
117
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -137,9 +137,6 @@ var InvoicesApiAxiosParamCreator = function (configuration) {
137
137
  if (filter !== undefined) {
138
138
  localVarQueryParameter['filter'] = filter;
139
139
  }
140
- if (filters !== undefined) {
141
- localVarQueryParameter['filters'] = filters;
142
- }
143
140
  if (search !== undefined) {
144
141
  localVarQueryParameter['search'] = search;
145
142
  }
@@ -149,6 +146,9 @@ var InvoicesApiAxiosParamCreator = function (configuration) {
149
146
  if (expand !== undefined) {
150
147
  localVarQueryParameter['expand'] = expand;
151
148
  }
149
+ if (filters !== undefined) {
150
+ localVarQueryParameter['filters'] = filters;
151
+ }
152
152
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
153
153
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
154
154
  }
@@ -176,23 +176,23 @@ var InvoicesApiFp = function (configuration) {
176
176
  * List all the invoices of a customer.
177
177
  * @summary List invoices of a customer
178
178
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
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
- listInvoices: function (customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options) {
190
+ listInvoices: function (customerCode, pageSize, pageToken, filter, search, order, expand, filters, authorization, options) {
191
191
  return __awaiter(this, void 0, void 0, function () {
192
192
  var localVarAxiosArgs;
193
193
  return __generator(this, function (_a) {
194
194
  switch (_a.label) {
195
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listInvoices(customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options)];
195
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listInvoices(customerCode, pageSize, pageToken, filter, search, order, expand, filters, authorization, options)];
196
196
  case 1:
197
197
  localVarAxiosArgs = _a.sent();
198
198
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -214,19 +214,19 @@ var InvoicesApiFactory = function (configuration, basePath, axios) {
214
214
  * List all the invoices of a customer.
215
215
  * @summary List invoices of a customer
216
216
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
217
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
217
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
218
218
  * @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.
219
219
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
220
- * @param {any} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
221
- * @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.
220
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
222
221
  * @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.
223
222
  * @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.
223
+ * @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.
224
224
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
225
225
  * @param {*} [options] Override http request option.
226
226
  * @throws {RequiredError}
227
227
  */
228
- listInvoices: function (customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options) {
229
- return localVarFp.listInvoices(customerCode, pageSize, pageToken, filter, filters, search, order, expand, authorization, options).then(function (request) { return request(axios, basePath); });
228
+ listInvoices: function (customerCode, pageSize, pageToken, filter, search, order, expand, filters, authorization, options) {
229
+ return localVarFp.listInvoices(customerCode, pageSize, pageToken, filter, search, order, expand, filters, authorization, options).then(function (request) { return request(axios, basePath); });
230
230
  },
231
231
  };
232
232
  };
@@ -252,7 +252,7 @@ var InvoicesApi = /** @class */ (function (_super) {
252
252
  */
253
253
  InvoicesApi.prototype.listInvoices = function (requestParameters, options) {
254
254
  var _this = this;
255
- return (0, exports.InvoicesApiFp)(this.configuration).listInvoices(requestParameters.customerCode, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
255
+ return (0, exports.InvoicesApiFp)(this.configuration).listInvoices(requestParameters.customerCode, 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); });
256
256
  };
257
257
  return InvoicesApi;
258
258
  }(base_1.BaseAPI));