@emilgroup/accounting-sdk 1.17.1-beta.3 → 1.18.1-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -182,17 +182,17 @@ export const PersonalAccountsApiAxiosParamCreator = function (configuration?: Co
182
182
  * Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.accounts.view\"
183
183
  * @summary List Personal Accounts
184
184
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
185
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
186
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
185
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
186
+ * @param {string} [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.
187
187
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, personalAccountNumber, createdAt, partnerNumber, type</i>
188
- * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
188
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
189
189
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, name, personalAccountNumber</i>
190
190
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
191
191
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, personalAccountNumber, createdAt, partnerNumber, type</i>
192
192
  * @param {*} [options] Override http request option.
193
193
  * @throws {RequiredError}
194
194
  */
195
- listPersonalAccounts: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
195
+ listPersonalAccounts: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
196
196
  const localVarPath = `/accountingservice/v1/personal-accounts`;
197
197
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
198
198
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -305,17 +305,17 @@ export const PersonalAccountsApiFp = function(configuration?: Configuration) {
305
305
  * Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.accounts.view\"
306
306
  * @summary List Personal Accounts
307
307
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
308
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
309
- * @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.
308
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
309
+ * @param {string} [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.
310
310
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, personalAccountNumber, createdAt, partnerNumber, type&lt;/i&gt;
311
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
311
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
312
312
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, name, personalAccountNumber&lt;/i&gt;
313
313
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
314
314
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, personalAccountNumber, createdAt, partnerNumber, type&lt;/i&gt;
315
315
  * @param {*} [options] Override http request option.
316
316
  * @throws {RequiredError}
317
317
  */
318
- async listPersonalAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPersonalAccountsResponseClass>> {
318
+ async listPersonalAccounts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPersonalAccountsResponseClass>> {
319
319
  const localVarAxiosArgs = await localVarAxiosParamCreator.listPersonalAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
320
320
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
321
321
  },
@@ -367,17 +367,17 @@ export const PersonalAccountsApiFactory = function (configuration?: Configuratio
367
367
  * Returns a list of Personal Accounts you have previously created. The Personal Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.accounts.view\"
368
368
  * @summary List Personal Accounts
369
369
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
370
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
371
- * @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.
370
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
371
+ * @param {string} [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.
372
372
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, personalAccountNumber, createdAt, partnerNumber, type&lt;/i&gt;
373
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
373
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
374
374
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, name, personalAccountNumber&lt;/i&gt;
375
375
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
376
376
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, personalAccountNumber, createdAt, partnerNumber, type&lt;/i&gt;
377
377
  * @param {*} [options] Override http request option.
378
378
  * @throws {RequiredError}
379
379
  */
380
- listPersonalAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPersonalAccountsResponseClass> {
380
+ listPersonalAccounts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPersonalAccountsResponseClass> {
381
381
  return localVarFp.listPersonalAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
382
382
  },
383
383
  };
@@ -468,17 +468,17 @@ export interface PersonalAccountsApiListPersonalAccountsRequest {
468
468
 
469
469
  /**
470
470
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
471
- * @type {any}
471
+ * @type {number}
472
472
  * @memberof PersonalAccountsApiListPersonalAccounts
473
473
  */
474
- readonly pageSize?: any
474
+ readonly pageSize?: number
475
475
 
476
476
  /**
477
- * 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.
478
- * @type {any}
477
+ * 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.
478
+ * @type {string}
479
479
  * @memberof PersonalAccountsApiListPersonalAccounts
480
480
  */
481
- readonly pageToken?: any
481
+ readonly pageToken?: string
482
482
 
483
483
  /**
484
484
  * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, personalAccountNumber, createdAt, partnerNumber, type&lt;/i&gt;
@@ -489,10 +489,10 @@ export interface PersonalAccountsApiListPersonalAccountsRequest {
489
489
 
490
490
  /**
491
491
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
492
- * @type {any}
492
+ * @type {string}
493
493
  * @memberof PersonalAccountsApiListPersonalAccounts
494
494
  */
495
- readonly search?: any
495
+ readonly search?: string
496
496
 
497
497
  /**
498
498
  * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, name, personalAccountNumber&lt;/i&gt;
package/common.ts CHANGED
@@ -65,7 +65,7 @@ export const setBearerAuthToObject = async function (object: any, configuration?
65
65
  const accessToken = typeof configuration.accessToken === 'function'
66
66
  ? await configuration.accessToken()
67
67
  : await configuration.accessToken;
68
- object["Authorization"] = "Bearer " + accessToken;
68
+ object["Authorization"] = configuration.getBearerToken(accessToken);
69
69
  }
70
70
  }
71
71
 
@@ -78,7 +78,7 @@ export const setOAuthToObject = async function (object: any, name: string, scope
78
78
  const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
79
79
  ? await configuration.accessToken(name, scopes)
80
80
  : await configuration.accessToken;
81
- object["Authorization"] = "Bearer " + localVarAccessTokenValue;
81
+ object["Authorization"] = configuration.getBearerToken(localVarAccessTokenValue);
82
82
  }
83
83
  }
84
84
 
package/configuration.ts CHANGED
@@ -98,4 +98,13 @@ export class Configuration {
98
98
  const jsonMime: RegExp = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
99
99
  return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
100
100
  }
101
+
102
+ /**
103
+ * Returns "Bearer" token.
104
+ * @param token - access token.
105
+ * @return Bearer token.
106
+ */
107
+ public getBearerToken(token?: string): string {
108
+ return ('' + token).startsWith("Bearer") ? token : "Bearer " + token;
109
+ }
101
110
  }
@@ -44,17 +44,17 @@ export declare const BookingEntriesApiAxiosParamCreator: (configuration?: Config
44
44
  * This endpoint gets booking entries. **Required Permissions** \"accounting-management.accounts.view\"
45
45
  * @summary List booking entries
46
46
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
47
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
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
- * @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} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
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.
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.
47
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
48
+ * @param {string} [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
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
50
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
51
+ * @param {string} [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.
52
+ * @param {string} [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 {string} [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 {*} [options] Override http request option.
55
55
  * @throws {RequiredError}
56
56
  */
57
- listBookingEntries: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
57
+ listBookingEntries: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
58
58
  };
59
59
  /**
60
60
  * BookingEntriesApi - functional programming interface
@@ -84,17 +84,17 @@ export declare const BookingEntriesApiFp: (configuration?: Configuration) => {
84
84
  * This endpoint gets booking entries. **Required Permissions** \"accounting-management.accounts.view\"
85
85
  * @summary List booking entries
86
86
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
87
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
88
- * @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.
89
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
90
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
91
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
92
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
93
- * @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.
87
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
88
+ * @param {string} [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.
89
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
90
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
91
+ * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
92
+ * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
93
+ * @param {string} [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.
94
94
  * @param {*} [options] Override http request option.
95
95
  * @throws {RequiredError}
96
96
  */
97
- listBookingEntries(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBookingEntriesResponseClass>>;
97
+ listBookingEntries(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBookingEntriesResponseClass>>;
98
98
  };
99
99
  /**
100
100
  * BookingEntriesApi - factory interface
@@ -124,17 +124,17 @@ export declare const BookingEntriesApiFactory: (configuration?: Configuration, b
124
124
  * This endpoint gets booking entries. **Required Permissions** \"accounting-management.accounts.view\"
125
125
  * @summary List booking entries
126
126
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
127
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
128
- * @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.
129
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
130
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
131
- * @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.
132
- * @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.
133
- * @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
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
128
+ * @param {string} [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.
129
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
130
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
131
+ * @param {string} [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.
132
+ * @param {string} [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.
133
+ * @param {string} [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.
134
134
  * @param {*} [options] Override http request option.
135
135
  * @throws {RequiredError}
136
136
  */
137
- listBookingEntries(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListBookingEntriesResponseClass>;
137
+ listBookingEntries(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBookingEntriesResponseClass>;
138
138
  };
139
139
  /**
140
140
  * Request parameters for createBookingEntry operation in BookingEntriesApi.
@@ -194,46 +194,46 @@ export interface BookingEntriesApiListBookingEntriesRequest {
194
194
  readonly authorization?: string;
195
195
  /**
196
196
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
197
- * @type {any}
197
+ * @type {number}
198
198
  * @memberof BookingEntriesApiListBookingEntries
199
199
  */
200
- readonly pageSize?: any;
200
+ readonly pageSize?: number;
201
201
  /**
202
- * 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.
203
- * @type {any}
202
+ * 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.
203
+ * @type {string}
204
204
  * @memberof BookingEntriesApiListBookingEntries
205
205
  */
206
- readonly pageToken?: any;
206
+ readonly pageToken?: string;
207
207
  /**
208
208
  * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
209
- * @type {any}
209
+ * @type {string}
210
210
  * @memberof BookingEntriesApiListBookingEntries
211
211
  */
212
- readonly filter?: any;
212
+ readonly filter?: string;
213
213
  /**
214
214
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
215
- * @type {any}
215
+ * @type {string}
216
216
  * @memberof BookingEntriesApiListBookingEntries
217
217
  */
218
- readonly search?: any;
218
+ readonly search?: string;
219
219
  /**
220
220
  * 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.
221
- * @type {any}
221
+ * @type {string}
222
222
  * @memberof BookingEntriesApiListBookingEntries
223
223
  */
224
- readonly order?: any;
224
+ readonly order?: string;
225
225
  /**
226
- * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
227
- * @type {any}
226
+ * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
227
+ * @type {string}
228
228
  * @memberof BookingEntriesApiListBookingEntries
229
229
  */
230
- readonly expand?: any;
230
+ readonly expand?: string;
231
231
  /**
232
232
  * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
233
- * @type {any}
233
+ * @type {string}
234
234
  * @memberof BookingEntriesApiListBookingEntries
235
235
  */
236
- readonly filters?: any;
236
+ readonly filters?: string;
237
237
  }
238
238
  /**
239
239
  * BookingEntriesApi - object-oriented interface
@@ -199,13 +199,13 @@ var BookingEntriesApiAxiosParamCreator = function (configuration) {
199
199
  * This endpoint gets booking entries. **Required Permissions** \"accounting-management.accounts.view\"
200
200
  * @summary List booking entries
201
201
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
202
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
203
- * @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.
204
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
205
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
206
- * @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.
207
- * @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.
208
- * @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.
202
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
203
+ * @param {string} [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.
204
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
205
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
206
+ * @param {string} [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.
207
+ * @param {string} [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.
208
+ * @param {string} [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.
209
209
  * @param {*} [options] Override http request option.
210
210
  * @throws {RequiredError}
211
211
  */
@@ -324,13 +324,13 @@ var BookingEntriesApiFp = function (configuration) {
324
324
  * This endpoint gets booking entries. **Required Permissions** \"accounting-management.accounts.view\"
325
325
  * @summary List booking entries
326
326
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
327
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
328
- * @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.
329
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
330
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
331
- * @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.
332
- * @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.
333
- * @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.
327
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
328
+ * @param {string} [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.
329
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
330
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
331
+ * @param {string} [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.
332
+ * @param {string} [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.
333
+ * @param {string} [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.
334
334
  * @param {*} [options] Override http request option.
335
335
  * @throws {RequiredError}
336
336
  */
@@ -384,13 +384,13 @@ var BookingEntriesApiFactory = function (configuration, basePath, axios) {
384
384
  * This endpoint gets booking entries. **Required Permissions** \"accounting-management.accounts.view\"
385
385
  * @summary List booking entries
386
386
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
387
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
388
- * @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.
389
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
390
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
391
- * @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.
392
- * @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.
393
- * @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.
387
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
388
+ * @param {string} [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.
389
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
390
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
391
+ * @param {string} [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.
392
+ * @param {string} [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.
393
+ * @param {string} [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.
394
394
  * @param {*} [options] Override http request option.
395
395
  * @throws {RequiredError}
396
396
  */
@@ -53,17 +53,17 @@ export declare const FinancialAccountsApiAxiosParamCreator: (configuration?: Con
53
53
  * Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.accounts.view\"
54
54
  * @summary List Financial Accounts
55
55
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
56
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
57
- * @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.
56
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
57
+ * @param {string} [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.
58
58
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type&lt;/i&gt;
59
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
59
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
60
60
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, name, financialAccountNumber&lt;/i&gt;
61
61
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
62
62
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type&lt;/i&gt;
63
63
  * @param {*} [options] Override http request option.
64
64
  * @throws {RequiredError}
65
65
  */
66
- listFinancialAccounts: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
66
+ listFinancialAccounts: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
67
  };
68
68
  /**
69
69
  * FinancialAccountsApi - functional programming interface
@@ -102,17 +102,17 @@ export declare const FinancialAccountsApiFp: (configuration?: Configuration) =>
102
102
  * Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.accounts.view\"
103
103
  * @summary List Financial Accounts
104
104
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
105
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
106
- * @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
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
106
+ * @param {string} [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.
107
107
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type&lt;/i&gt;
108
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
108
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
109
109
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, name, financialAccountNumber&lt;/i&gt;
110
110
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
111
111
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type&lt;/i&gt;
112
112
  * @param {*} [options] Override http request option.
113
113
  * @throws {RequiredError}
114
114
  */
115
- listFinancialAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFinancialAccountsResponseClass>>;
115
+ listFinancialAccounts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFinancialAccountsResponseClass>>;
116
116
  };
117
117
  /**
118
118
  * FinancialAccountsApi - factory interface
@@ -151,17 +151,17 @@ export declare const FinancialAccountsApiFactory: (configuration?: Configuration
151
151
  * Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.accounts.view\"
152
152
  * @summary List Financial Accounts
153
153
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
154
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
155
- * @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.
154
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
155
+ * @param {string} [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.
156
156
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type&lt;/i&gt;
157
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
157
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
158
158
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, name, financialAccountNumber&lt;/i&gt;
159
159
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
160
160
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type&lt;/i&gt;
161
161
  * @param {*} [options] Override http request option.
162
162
  * @throws {RequiredError}
163
163
  */
164
- listFinancialAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListFinancialAccountsResponseClass>;
164
+ listFinancialAccounts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListFinancialAccountsResponseClass>;
165
165
  };
166
166
  /**
167
167
  * Request parameters for createFinancialAccount operation in FinancialAccountsApi.
@@ -240,16 +240,16 @@ export interface FinancialAccountsApiListFinancialAccountsRequest {
240
240
  readonly authorization?: string;
241
241
  /**
242
242
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
243
- * @type {any}
243
+ * @type {number}
244
244
  * @memberof FinancialAccountsApiListFinancialAccounts
245
245
  */
246
- readonly pageSize?: any;
246
+ readonly pageSize?: number;
247
247
  /**
248
- * 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.
249
- * @type {any}
248
+ * 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.
249
+ * @type {string}
250
250
  * @memberof FinancialAccountsApiListFinancialAccounts
251
251
  */
252
- readonly pageToken?: any;
252
+ readonly pageToken?: string;
253
253
  /**
254
254
  * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type&lt;/i&gt;
255
255
  * @type {string}
@@ -258,10 +258,10 @@ export interface FinancialAccountsApiListFinancialAccountsRequest {
258
258
  readonly filter?: string;
259
259
  /**
260
260
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
261
- * @type {any}
261
+ * @type {string}
262
262
  * @memberof FinancialAccountsApiListFinancialAccounts
263
263
  */
264
- readonly search?: any;
264
+ readonly search?: string;
265
265
  /**
266
266
  * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, name, financialAccountNumber&lt;/i&gt;
267
267
  * @type {string}
@@ -247,10 +247,10 @@ var FinancialAccountsApiAxiosParamCreator = function (configuration) {
247
247
  * Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.accounts.view\"
248
248
  * @summary List Financial Accounts
249
249
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
250
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
251
- * @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.
250
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
251
+ * @param {string} [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.
252
252
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type&lt;/i&gt;
253
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
253
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
254
254
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, name, financialAccountNumber&lt;/i&gt;
255
255
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
256
256
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type&lt;/i&gt;
@@ -393,10 +393,10 @@ var FinancialAccountsApiFp = function (configuration) {
393
393
  * Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.accounts.view\"
394
394
  * @summary List Financial Accounts
395
395
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
396
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
397
- * @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.
396
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
397
+ * @param {string} [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.
398
398
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type&lt;/i&gt;
399
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
399
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
400
400
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, name, financialAccountNumber&lt;/i&gt;
401
401
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
402
402
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type&lt;/i&gt;
@@ -464,10 +464,10 @@ var FinancialAccountsApiFactory = function (configuration, basePath, axios) {
464
464
  * Returns a list of Financial Accounts you have previously created. The Financial Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"accounting-management.accounts.view\"
465
465
  * @summary List Financial Accounts
466
466
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
467
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
468
- * @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.
467
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
468
+ * @param {string} [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.
469
469
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type&lt;/i&gt;
470
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
470
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
471
471
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, name, financialAccountNumber&lt;/i&gt;
472
472
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
473
473
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type&lt;/i&gt;