@emilgroup/customer-sdk-node 1.40.0 → 1.42.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/.openapi-generator/FILES +7 -0
  2. package/README.md +2 -2
  3. package/api/claims-api.ts +28 -28
  4. package/api/customers-api.ts +28 -28
  5. package/api/documents-api.ts +51 -34
  6. package/api/invoices-api.ts +28 -28
  7. package/api/leads-api.ts +36 -36
  8. package/api/payments-api.ts +23 -6
  9. package/api/policies-api.ts +28 -28
  10. package/api/products-api.ts +28 -28
  11. package/base.ts +14 -23
  12. package/dist/api/claims-api.d.ts +20 -20
  13. package/dist/api/claims-api.js +18 -18
  14. package/dist/api/customers-api.d.ts +20 -20
  15. package/dist/api/customers-api.js +18 -18
  16. package/dist/api/documents-api.d.ts +33 -23
  17. package/dist/api/documents-api.js +31 -24
  18. package/dist/api/invoices-api.d.ts +20 -20
  19. package/dist/api/invoices-api.js +18 -18
  20. package/dist/api/leads-api.d.ts +28 -28
  21. package/dist/api/leads-api.js +26 -26
  22. package/dist/api/payments-api.d.ts +13 -3
  23. package/dist/api/payments-api.js +13 -6
  24. package/dist/api/policies-api.d.ts +20 -20
  25. package/dist/api/policies-api.js +18 -18
  26. package/dist/api/products-api.d.ts +20 -20
  27. package/dist/api/products-api.js +18 -18
  28. package/dist/base.d.ts +3 -4
  29. package/dist/base.js +29 -37
  30. package/dist/models/account-class.d.ts +1 -1
  31. package/dist/models/account-class.js +1 -1
  32. package/dist/models/card-details-dto.d.ts +42 -0
  33. package/dist/models/card-details-dto.js +15 -0
  34. package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +80 -0
  35. package/dist/models/complete-adyen-payment-setup-request-dto.js +15 -0
  36. package/dist/models/complete-payment-setup-psp-request.d.ts +13 -0
  37. package/dist/models/complete-payment-setup-response-class.d.ts +3 -2
  38. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +19 -0
  39. package/dist/models/create-account-request-dto.d.ts +2 -8
  40. package/dist/models/create-account-request-dto.js +1 -1
  41. package/dist/models/customer-product-class.d.ts +2 -2
  42. package/dist/models/index.d.ts +7 -0
  43. package/dist/models/index.js +7 -0
  44. package/dist/models/initiate-adyen-payment-setup-response-class.d.ts +42 -0
  45. package/dist/models/initiate-adyen-payment-setup-response-class.js +15 -0
  46. package/dist/models/initiate-payment-setup-request-dto.d.ts +30 -0
  47. package/dist/models/initiate-payment-setup-request-dto.js +15 -0
  48. package/dist/models/initiate-payment-setup-response-class.d.ts +7 -0
  49. package/dist/models/inline-response200.d.ts +6 -6
  50. package/dist/models/inline-response503.d.ts +6 -6
  51. package/dist/models/lead-class.d.ts +1 -1
  52. package/dist/models/link-lead-partner-request-dto.d.ts +16 -4
  53. package/dist/models/payment-method-class.d.ts +78 -0
  54. package/dist/models/payment-method-class.js +15 -0
  55. package/dist/models/policy-object-dto.d.ts +2 -2
  56. package/dist/models/policy-premium-class.d.ts +2 -2
  57. package/dist/models/sepa-direct-dto.d.ts +24 -0
  58. package/dist/models/sepa-direct-dto.js +15 -0
  59. package/dist/models/update-lead-request-dto.d.ts +1 -1
  60. package/dist/models/upload-account-documents-request-dto.d.ts +46 -0
  61. package/dist/models/upload-account-documents-request-dto.js +19 -0
  62. package/models/account-class.ts +1 -1
  63. package/models/card-details-dto.ts +48 -0
  64. package/models/complete-adyen-payment-setup-request-dto.ts +86 -0
  65. package/models/complete-payment-setup-psp-request.ts +13 -0
  66. package/models/complete-payment-setup-response-class.ts +3 -2
  67. package/models/complete-stripe-payment-setup-request-dto.ts +19 -0
  68. package/models/create-account-request-dto.ts +2 -8
  69. package/models/customer-product-class.ts +2 -2
  70. package/models/index.ts +7 -0
  71. package/models/initiate-adyen-payment-setup-response-class.ts +48 -0
  72. package/models/initiate-payment-setup-request-dto.ts +36 -0
  73. package/models/initiate-payment-setup-response-class.ts +7 -0
  74. package/models/inline-response200.ts +6 -6
  75. package/models/inline-response503.ts +6 -6
  76. package/models/lead-class.ts +1 -1
  77. package/models/link-lead-partner-request-dto.ts +16 -4
  78. package/models/payment-method-class.ts +84 -0
  79. package/models/policy-object-dto.ts +2 -2
  80. package/models/policy-premium-class.ts +2 -2
  81. package/models/sepa-direct-dto.ts +30 -0
  82. package/models/update-lead-request-dto.ts +1 -1
  83. package/models/upload-account-documents-request-dto.ts +55 -0
  84. package/package.json +1 -1
@@ -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=1, your subsequent call can include pageToken=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=xxx in order to fetch the result.
182
+ * @param {any} [search] To search the list by any field, pass search=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=1, your subsequent call can include pageToken=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=xxx in order to fetch the result.
421
+ * @param {any} [search] To search the list by any field, pass search=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=1, your subsequent call can include pageToken=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=xxx in order to fetch the result.
545
+ * @param {any} [search] To search the list by any field, pass search=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.
@@ -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}