@emilgroup/accounting-sdk 1.18.1-beta.1 → 1.18.1-beta.3

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.
@@ -35,7 +35,7 @@ import { ListPersonalAccountsResponseClass } from '../models';
35
35
  export const PersonalAccountsApiAxiosParamCreator = function (configuration?: Configuration) {
36
36
  return {
37
37
  /**
38
- * This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number.
38
+ * This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.accounts.create\"
39
39
  * @summary Create the Personal Account
40
40
  * @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
41
41
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -82,7 +82,7 @@ export const PersonalAccountsApiAxiosParamCreator = function (configuration?: Co
82
82
  };
83
83
  },
84
84
  /**
85
- * Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it.
85
+ * Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.accounts.delete\"
86
86
  * @summary Delete the Personal Account
87
87
  * @param {string} code Unique identifier for the object.
88
88
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -127,7 +127,7 @@ export const PersonalAccountsApiAxiosParamCreator = function (configuration?: Co
127
127
  };
128
128
  },
129
129
  /**
130
- * Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information.
130
+ * Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.accounts.view\"
131
131
  * @summary Retrieve the Personal Account
132
132
  * @param {string} code Unique identifier for the object.
133
133
  * @param {string} expand
@@ -179,20 +179,20 @@ export const PersonalAccountsApiAxiosParamCreator = function (configuration?: Co
179
179
  };
180
180
  },
181
181
  /**
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.
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);
@@ -265,7 +265,7 @@ export const PersonalAccountsApiFp = function(configuration?: Configuration) {
265
265
  const localVarAxiosParamCreator = PersonalAccountsApiAxiosParamCreator(configuration)
266
266
  return {
267
267
  /**
268
- * This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number.
268
+ * This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.accounts.create\"
269
269
  * @summary Create the Personal Account
270
270
  * @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
271
271
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -277,7 +277,7 @@ export const PersonalAccountsApiFp = function(configuration?: Configuration) {
277
277
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
278
278
  },
279
279
  /**
280
- * Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it.
280
+ * Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.accounts.delete\"
281
281
  * @summary Delete the Personal Account
282
282
  * @param {string} code Unique identifier for the object.
283
283
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -289,7 +289,7 @@ export const PersonalAccountsApiFp = function(configuration?: Configuration) {
289
289
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
290
290
  },
291
291
  /**
292
- * Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information.
292
+ * Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.accounts.view\"
293
293
  * @summary Retrieve the Personal Account
294
294
  * @param {string} code Unique identifier for the object.
295
295
  * @param {string} expand
@@ -302,20 +302,20 @@ export const PersonalAccountsApiFp = function(configuration?: Configuration) {
302
302
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
303
303
  },
304
304
  /**
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.
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
  },
@@ -330,7 +330,7 @@ export const PersonalAccountsApiFactory = function (configuration?: Configuratio
330
330
  const localVarFp = PersonalAccountsApiFp(configuration)
331
331
  return {
332
332
  /**
333
- * This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number.
333
+ * This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.accounts.create\"
334
334
  * @summary Create the Personal Account
335
335
  * @param {CreatePersonalAccountRequestDto} createPersonalAccountRequestDto
336
336
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -341,7 +341,7 @@ export const PersonalAccountsApiFactory = function (configuration?: Configuratio
341
341
  return localVarFp.createPersonalAccount(createPersonalAccountRequestDto, authorization, options).then((request) => request(axios, basePath));
342
342
  },
343
343
  /**
344
- * Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it.
344
+ * Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.accounts.delete\"
345
345
  * @summary Delete the Personal Account
346
346
  * @param {string} code Unique identifier for the object.
347
347
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -352,7 +352,7 @@ export const PersonalAccountsApiFactory = function (configuration?: Configuratio
352
352
  return localVarFp.deletePersonalAccount(code, authorization, options).then((request) => request(axios, basePath));
353
353
  },
354
354
  /**
355
- * Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information.
355
+ * Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.accounts.view\"
356
356
  * @summary Retrieve the Personal Account
357
357
  * @param {string} code Unique identifier for the object.
358
358
  * @param {string} expand
@@ -364,20 +364,20 @@ export const PersonalAccountsApiFactory = function (configuration?: Configuratio
364
364
  return localVarFp.getPersonalAccount(code, expand, authorization, options).then((request) => request(axios, basePath));
365
365
  },
366
366
  /**
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.
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;
@@ -524,7 +524,7 @@ export interface PersonalAccountsApiListPersonalAccountsRequest {
524
524
  */
525
525
  export class PersonalAccountsApi extends BaseAPI {
526
526
  /**
527
- * This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number.
527
+ * This will create an personal account in the database. The personal account will be created with the provided name, type, and account number. personal account should be created with a financial account number. **Required Permissions** \"accounting-management.accounts.create\"
528
528
  * @summary Create the Personal Account
529
529
  * @param {PersonalAccountsApiCreatePersonalAccountRequest} requestParameters Request parameters.
530
530
  * @param {*} [options] Override http request option.
@@ -536,7 +536,7 @@ export class PersonalAccountsApi extends BaseAPI {
536
536
  }
537
537
 
538
538
  /**
539
- * Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it.
539
+ * Permanently deletes the Personal Account. Supply the unique code that was returned when you created the Personal Account and this will delete it. **Required Permissions** \"accounting-management.accounts.delete\"
540
540
  * @summary Delete the Personal Account
541
541
  * @param {PersonalAccountsApiDeletePersonalAccountRequest} requestParameters Request parameters.
542
542
  * @param {*} [options] Override http request option.
@@ -548,7 +548,7 @@ export class PersonalAccountsApi extends BaseAPI {
548
548
  }
549
549
 
550
550
  /**
551
- * Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information.
551
+ * Retrieves the details of the Personal Account that was previously created. Supply the unique Personal Account code that was returned when you created it and Emil Api will return the corresponding Personal Account information. **Required Permissions** \"accounting-management.accounts.view\"
552
552
  * @summary Retrieve the Personal Account
553
553
  * @param {PersonalAccountsApiGetPersonalAccountRequest} requestParameters Request parameters.
554
554
  * @param {*} [options] Override http request option.
@@ -560,7 +560,7 @@ export class PersonalAccountsApi extends BaseAPI {
560
560
  }
561
561
 
562
562
  /**
563
- * 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.
563
+ * 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\"
564
564
  * @summary List Personal Accounts
565
565
  * @param {PersonalAccountsApiListPersonalAccountsRequest} requestParameters Request parameters.
566
566
  * @param {*} [options] Override http request option.
@@ -22,7 +22,7 @@ import { ListBookingEntriesResponseClass } from '../models';
22
22
  */
23
23
  export declare const BookingEntriesApiAxiosParamCreator: (configuration?: Configuration) => {
24
24
  /**
25
- * This endpoint creates a new booking entry.
25
+ * This endpoint creates a new booking entry. **Required Permissions** \"accounting-management.accounts.create\"
26
26
  * @summary Create the booking entry
27
27
  * @param {CreateBookingEntryRequestDto} createBookingEntryRequestDto
28
28
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -31,7 +31,7 @@ export declare const BookingEntriesApiAxiosParamCreator: (configuration?: Config
31
31
  */
32
32
  createBookingEntry: (createBookingEntryRequestDto: CreateBookingEntryRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
33
33
  /**
34
- * This endpoint gets a booking entry.
34
+ * This endpoint gets a booking entry. **Required Permissions** \"accounting-management.accounts.view\"
35
35
  * @summary Retrieve the booking entry
36
36
  * @param {string} code
37
37
  * @param {string} expand
@@ -41,20 +41,20 @@ export declare const BookingEntriesApiAxiosParamCreator: (configuration?: Config
41
41
  */
42
42
  getBookingEntry: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
43
43
  /**
44
- * This endpoint gets booking entries.
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
@@ -62,7 +62,7 @@ export declare const BookingEntriesApiAxiosParamCreator: (configuration?: Config
62
62
  */
63
63
  export declare const BookingEntriesApiFp: (configuration?: Configuration) => {
64
64
  /**
65
- * This endpoint creates a new booking entry.
65
+ * This endpoint creates a new booking entry. **Required Permissions** \"accounting-management.accounts.create\"
66
66
  * @summary Create the booking entry
67
67
  * @param {CreateBookingEntryRequestDto} createBookingEntryRequestDto
68
68
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -71,7 +71,7 @@ export declare const BookingEntriesApiFp: (configuration?: Configuration) => {
71
71
  */
72
72
  createBookingEntry(createBookingEntryRequestDto: CreateBookingEntryRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateBookingEntryResponseClass>>;
73
73
  /**
74
- * This endpoint gets a booking entry.
74
+ * This endpoint gets a booking entry. **Required Permissions** \"accounting-management.accounts.view\"
75
75
  * @summary Retrieve the booking entry
76
76
  * @param {string} code
77
77
  * @param {string} expand
@@ -81,20 +81,20 @@ export declare const BookingEntriesApiFp: (configuration?: Configuration) => {
81
81
  */
82
82
  getBookingEntry(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBookingEntryResponseClass>>;
83
83
  /**
84
- * This endpoint gets booking entries.
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
@@ -102,7 +102,7 @@ export declare const BookingEntriesApiFp: (configuration?: Configuration) => {
102
102
  */
103
103
  export declare const BookingEntriesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
104
104
  /**
105
- * This endpoint creates a new booking entry.
105
+ * This endpoint creates a new booking entry. **Required Permissions** \"accounting-management.accounts.create\"
106
106
  * @summary Create the booking entry
107
107
  * @param {CreateBookingEntryRequestDto} createBookingEntryRequestDto
108
108
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -111,7 +111,7 @@ export declare const BookingEntriesApiFactory: (configuration?: Configuration, b
111
111
  */
112
112
  createBookingEntry(createBookingEntryRequestDto: CreateBookingEntryRequestDto, authorization?: string, options?: any): AxiosPromise<CreateBookingEntryResponseClass>;
113
113
  /**
114
- * This endpoint gets a booking entry.
114
+ * This endpoint gets a booking entry. **Required Permissions** \"accounting-management.accounts.view\"
115
115
  * @summary Retrieve the booking entry
116
116
  * @param {string} code
117
117
  * @param {string} expand
@@ -121,20 +121,20 @@ export declare const BookingEntriesApiFactory: (configuration?: Configuration, b
121
121
  */
122
122
  getBookingEntry(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetBookingEntryResponseClass>;
123
123
  /**
124
- * This endpoint gets booking entries.
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
@@ -243,7 +243,7 @@ export interface BookingEntriesApiListBookingEntriesRequest {
243
243
  */
244
244
  export declare class BookingEntriesApi extends BaseAPI {
245
245
  /**
246
- * This endpoint creates a new booking entry.
246
+ * This endpoint creates a new booking entry. **Required Permissions** \"accounting-management.accounts.create\"
247
247
  * @summary Create the booking entry
248
248
  * @param {BookingEntriesApiCreateBookingEntryRequest} requestParameters Request parameters.
249
249
  * @param {*} [options] Override http request option.
@@ -252,7 +252,7 @@ export declare class BookingEntriesApi extends BaseAPI {
252
252
  */
253
253
  createBookingEntry(requestParameters: BookingEntriesApiCreateBookingEntryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBookingEntryResponseClass, any>>;
254
254
  /**
255
- * This endpoint gets a booking entry.
255
+ * This endpoint gets a booking entry. **Required Permissions** \"accounting-management.accounts.view\"
256
256
  * @summary Retrieve the booking entry
257
257
  * @param {BookingEntriesApiGetBookingEntryRequest} requestParameters Request parameters.
258
258
  * @param {*} [options] Override http request option.
@@ -261,7 +261,7 @@ export declare class BookingEntriesApi extends BaseAPI {
261
261
  */
262
262
  getBookingEntry(requestParameters: BookingEntriesApiGetBookingEntryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBookingEntryResponseClass, any>>;
263
263
  /**
264
- * This endpoint gets booking entries.
264
+ * This endpoint gets booking entries. **Required Permissions** \"accounting-management.accounts.view\"
265
265
  * @summary List booking entries
266
266
  * @param {BookingEntriesApiListBookingEntriesRequest} requestParameters Request parameters.
267
267
  * @param {*} [options] Override http request option.