@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.
- package/README.md +2 -2
- package/api/booking-entries-api.ts +40 -40
- package/api/financial-accounts-api.ts +19 -19
- package/api/financial-transactions-api.ts +40 -40
- package/api/number-ranges-api.ts +19 -19
- package/api/personal-accounts-api.ts +19 -19
- package/common.ts +2 -2
- package/configuration.ts +9 -0
- package/dist/api/booking-entries-api.d.ts +40 -40
- package/dist/api/booking-entries-api.js +21 -21
- package/dist/api/financial-accounts-api.d.ts +19 -19
- package/dist/api/financial-accounts-api.js +9 -9
- package/dist/api/financial-transactions-api.d.ts +40 -40
- package/dist/api/financial-transactions-api.js +21 -21
- package/dist/api/number-ranges-api.d.ts +19 -19
- package/dist/api/number-ranges-api.js +9 -9
- package/dist/api/personal-accounts-api.d.ts +19 -19
- package/dist/api/personal-accounts-api.js +9 -9
- package/dist/common.js +2 -2
- package/dist/configuration.d.ts +6 -0
- package/dist/configuration.js +8 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/accounting-sdk@1.
|
|
20
|
+
npm install @emilgroup/accounting-sdk@1.18.1-beta.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/accounting-sdk@1.
|
|
24
|
+
yarn add @emilgroup/accounting-sdk@1.18.1-beta.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `FinancialAccountsApi`.
|
|
@@ -137,17 +137,17 @@ export const BookingEntriesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
137
137
|
* This endpoint gets booking entries. **Required Permissions** \"accounting-management.accounts.view\"
|
|
138
138
|
* @summary List booking entries
|
|
139
139
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
140
|
-
* @param {
|
|
141
|
-
* @param {
|
|
142
|
-
* @param {
|
|
143
|
-
* @param {
|
|
144
|
-
* @param {
|
|
145
|
-
* @param {
|
|
146
|
-
* @param {
|
|
140
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
141
|
+
* @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.
|
|
142
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
143
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
144
|
+
* @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.
|
|
145
|
+
* @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.
|
|
146
|
+
* @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.
|
|
147
147
|
* @param {*} [options] Override http request option.
|
|
148
148
|
* @throws {RequiredError}
|
|
149
149
|
*/
|
|
150
|
-
listBookingEntries: async (authorization?: string, pageSize?:
|
|
150
|
+
listBookingEntries: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
151
151
|
const localVarPath = `/accountingservice/v1/booking-entries`;
|
|
152
152
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
153
153
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -248,17 +248,17 @@ export const BookingEntriesApiFp = function(configuration?: Configuration) {
|
|
|
248
248
|
* This endpoint gets booking entries. **Required Permissions** \"accounting-management.accounts.view\"
|
|
249
249
|
* @summary List booking entries
|
|
250
250
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
251
|
-
* @param {
|
|
252
|
-
* @param {
|
|
253
|
-
* @param {
|
|
254
|
-
* @param {
|
|
255
|
-
* @param {
|
|
256
|
-
* @param {
|
|
257
|
-
* @param {
|
|
251
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
252
|
+
* @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.
|
|
253
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
254
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
255
|
+
* @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.
|
|
256
|
+
* @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.
|
|
257
|
+
* @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.
|
|
258
258
|
* @param {*} [options] Override http request option.
|
|
259
259
|
* @throws {RequiredError}
|
|
260
260
|
*/
|
|
261
|
-
async listBookingEntries(authorization?: string, pageSize?:
|
|
261
|
+
async 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>> {
|
|
262
262
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listBookingEntries(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
263
263
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
264
264
|
},
|
|
@@ -299,17 +299,17 @@ export const BookingEntriesApiFactory = function (configuration?: Configuration,
|
|
|
299
299
|
* This endpoint gets booking entries. **Required Permissions** \"accounting-management.accounts.view\"
|
|
300
300
|
* @summary List booking entries
|
|
301
301
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
302
|
-
* @param {
|
|
303
|
-
* @param {
|
|
304
|
-
* @param {
|
|
305
|
-
* @param {
|
|
306
|
-
* @param {
|
|
307
|
-
* @param {
|
|
308
|
-
* @param {
|
|
302
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
303
|
+
* @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.
|
|
304
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
305
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
306
|
+
* @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.
|
|
307
|
+
* @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.
|
|
308
|
+
* @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.
|
|
309
309
|
* @param {*} [options] Override http request option.
|
|
310
310
|
* @throws {RequiredError}
|
|
311
311
|
*/
|
|
312
|
-
listBookingEntries(authorization?: string, pageSize?:
|
|
312
|
+
listBookingEntries(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListBookingEntriesResponseClass> {
|
|
313
313
|
return localVarFp.listBookingEntries(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
314
314
|
},
|
|
315
315
|
};
|
|
@@ -379,52 +379,52 @@ export interface BookingEntriesApiListBookingEntriesRequest {
|
|
|
379
379
|
|
|
380
380
|
/**
|
|
381
381
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
382
|
-
* @type {
|
|
382
|
+
* @type {number}
|
|
383
383
|
* @memberof BookingEntriesApiListBookingEntries
|
|
384
384
|
*/
|
|
385
|
-
readonly pageSize?:
|
|
385
|
+
readonly pageSize?: number
|
|
386
386
|
|
|
387
387
|
/**
|
|
388
|
-
* 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,
|
|
389
|
-
* @type {
|
|
388
|
+
* 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.
|
|
389
|
+
* @type {string}
|
|
390
390
|
* @memberof BookingEntriesApiListBookingEntries
|
|
391
391
|
*/
|
|
392
|
-
readonly pageToken?:
|
|
392
|
+
readonly pageToken?: string
|
|
393
393
|
|
|
394
394
|
/**
|
|
395
395
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
396
|
-
* @type {
|
|
396
|
+
* @type {string}
|
|
397
397
|
* @memberof BookingEntriesApiListBookingEntries
|
|
398
398
|
*/
|
|
399
|
-
readonly filter?:
|
|
399
|
+
readonly filter?: string
|
|
400
400
|
|
|
401
401
|
/**
|
|
402
402
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
403
|
-
* @type {
|
|
403
|
+
* @type {string}
|
|
404
404
|
* @memberof BookingEntriesApiListBookingEntries
|
|
405
405
|
*/
|
|
406
|
-
readonly search?:
|
|
406
|
+
readonly search?: string
|
|
407
407
|
|
|
408
408
|
/**
|
|
409
409
|
* 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.
|
|
410
|
-
* @type {
|
|
410
|
+
* @type {string}
|
|
411
411
|
* @memberof BookingEntriesApiListBookingEntries
|
|
412
412
|
*/
|
|
413
|
-
readonly order?:
|
|
413
|
+
readonly order?: string
|
|
414
414
|
|
|
415
415
|
/**
|
|
416
|
-
* 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
|
|
417
|
-
* @type {
|
|
416
|
+
* 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.
|
|
417
|
+
* @type {string}
|
|
418
418
|
* @memberof BookingEntriesApiListBookingEntries
|
|
419
419
|
*/
|
|
420
|
-
readonly expand?:
|
|
420
|
+
readonly expand?: string
|
|
421
421
|
|
|
422
422
|
/**
|
|
423
423
|
* 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.
|
|
424
|
-
* @type {
|
|
424
|
+
* @type {string}
|
|
425
425
|
* @memberof BookingEntriesApiListBookingEntries
|
|
426
426
|
*/
|
|
427
|
-
readonly filters?:
|
|
427
|
+
readonly filters?: string
|
|
428
428
|
}
|
|
429
429
|
|
|
430
430
|
/**
|
|
@@ -182,17 +182,17 @@ export const FinancialAccountsApiAxiosParamCreator = function (configuration?: C
|
|
|
182
182
|
* 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\"
|
|
183
183
|
* @summary List Financial Accounts
|
|
184
184
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
185
|
-
* @param {
|
|
186
|
-
* @param {
|
|
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, createdAt, entityCode, type</i>
|
|
188
|
-
* @param {
|
|
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, financialAccountNumber</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, createdAt, entityCode, type</i>
|
|
192
192
|
* @param {*} [options] Override http request option.
|
|
193
193
|
* @throws {RequiredError}
|
|
194
194
|
*/
|
|
195
|
-
listFinancialAccounts: async (authorization?: string, pageSize?:
|
|
195
|
+
listFinancialAccounts: 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/financial-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 FinancialAccountsApiFp = function(configuration?: Configuration) {
|
|
|
305
305
|
* 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\"
|
|
306
306
|
* @summary List Financial Accounts
|
|
307
307
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
308
|
-
* @param {
|
|
309
|
-
* @param {
|
|
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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type</i>
|
|
311
|
-
* @param {
|
|
311
|
+
* @param {string} [search] To search the list by any field, pass search=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.<br/> <br/> <i>Allowed values: id, createdAt, name, financialAccountNumber</i>
|
|
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.<br/> <br/>
|
|
314
314
|
* @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, createdAt, entityCode, type</i>
|
|
315
315
|
* @param {*} [options] Override http request option.
|
|
316
316
|
* @throws {RequiredError}
|
|
317
317
|
*/
|
|
318
|
-
async listFinancialAccounts(authorization?: string, pageSize?:
|
|
318
|
+
async 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>> {
|
|
319
319
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listFinancialAccounts(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 FinancialAccountsApiFactory = function (configuration?: Configurati
|
|
|
367
367
|
* 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\"
|
|
368
368
|
* @summary List Financial Accounts
|
|
369
369
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
370
|
-
* @param {
|
|
371
|
-
* @param {
|
|
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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type</i>
|
|
373
|
-
* @param {
|
|
373
|
+
* @param {string} [search] To search the list by any field, pass search=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.<br/> <br/> <i>Allowed values: id, createdAt, name, financialAccountNumber</i>
|
|
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.<br/> <br/>
|
|
376
376
|
* @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, createdAt, entityCode, type</i>
|
|
377
377
|
* @param {*} [options] Override http request option.
|
|
378
378
|
* @throws {RequiredError}
|
|
379
379
|
*/
|
|
380
|
-
listFinancialAccounts(authorization?: string, pageSize?:
|
|
380
|
+
listFinancialAccounts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListFinancialAccountsResponseClass> {
|
|
381
381
|
return localVarFp.listFinancialAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
382
382
|
},
|
|
383
383
|
};
|
|
@@ -468,17 +468,17 @@ export interface FinancialAccountsApiListFinancialAccountsRequest {
|
|
|
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 {
|
|
471
|
+
* @type {number}
|
|
472
472
|
* @memberof FinancialAccountsApiListFinancialAccounts
|
|
473
473
|
*/
|
|
474
|
-
readonly pageSize?:
|
|
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=1,
|
|
478
|
-
* @type {
|
|
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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
478
|
+
* @type {string}
|
|
479
479
|
* @memberof FinancialAccountsApiListFinancialAccounts
|
|
480
480
|
*/
|
|
481
|
-
readonly pageToken?:
|
|
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.<br/> <br/> <i>Allowed values: code, name, financialAccountNumber, createdAt, entityCode, type</i>
|
|
@@ -489,10 +489,10 @@ export interface FinancialAccountsApiListFinancialAccountsRequest {
|
|
|
489
489
|
|
|
490
490
|
/**
|
|
491
491
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
492
|
-
* @type {
|
|
492
|
+
* @type {string}
|
|
493
493
|
* @memberof FinancialAccountsApiListFinancialAccounts
|
|
494
494
|
*/
|
|
495
|
-
readonly search?:
|
|
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.<br/> <br/> <i>Allowed values: id, createdAt, name, financialAccountNumber</i>
|
|
@@ -86,17 +86,17 @@ export const FinancialTransactionsApiAxiosParamCreator = function (configuration
|
|
|
86
86
|
* This endpoint list financial transactions. **Required Permissions** \"accounting-management.accounts.view\"
|
|
87
87
|
* @summary List financial transactions
|
|
88
88
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
89
|
-
* @param {
|
|
90
|
-
* @param {
|
|
91
|
-
* @param {
|
|
92
|
-
* @param {
|
|
93
|
-
* @param {
|
|
94
|
-
* @param {
|
|
95
|
-
* @param {
|
|
89
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
90
|
+
* @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.
|
|
91
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
92
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
93
|
+
* @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.
|
|
94
|
+
* @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.
|
|
95
|
+
* @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.
|
|
96
96
|
* @param {*} [options] Override http request option.
|
|
97
97
|
* @throws {RequiredError}
|
|
98
98
|
*/
|
|
99
|
-
listFinancialTransactions: async (authorization?: string, pageSize?:
|
|
99
|
+
listFinancialTransactions: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
100
100
|
const localVarPath = `/accountingservice/v1/financial-transactions`;
|
|
101
101
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
102
102
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -185,17 +185,17 @@ export const FinancialTransactionsApiFp = function(configuration?: Configuration
|
|
|
185
185
|
* This endpoint list financial transactions. **Required Permissions** \"accounting-management.accounts.view\"
|
|
186
186
|
* @summary List financial transactions
|
|
187
187
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
188
|
-
* @param {
|
|
189
|
-
* @param {
|
|
190
|
-
* @param {
|
|
191
|
-
* @param {
|
|
192
|
-
* @param {
|
|
193
|
-
* @param {
|
|
194
|
-
* @param {
|
|
188
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
189
|
+
* @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.
|
|
190
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
191
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
192
|
+
* @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.
|
|
193
|
+
* @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.
|
|
194
|
+
* @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.
|
|
195
195
|
* @param {*} [options] Override http request option.
|
|
196
196
|
* @throws {RequiredError}
|
|
197
197
|
*/
|
|
198
|
-
async listFinancialTransactions(authorization?: string, pageSize?:
|
|
198
|
+
async listFinancialTransactions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFinancialTransactionsResponseClass>> {
|
|
199
199
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listFinancialTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
200
200
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
201
201
|
},
|
|
@@ -225,17 +225,17 @@ export const FinancialTransactionsApiFactory = function (configuration?: Configu
|
|
|
225
225
|
* This endpoint list financial transactions. **Required Permissions** \"accounting-management.accounts.view\"
|
|
226
226
|
* @summary List financial transactions
|
|
227
227
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
228
|
-
* @param {
|
|
229
|
-
* @param {
|
|
230
|
-
* @param {
|
|
231
|
-
* @param {
|
|
232
|
-
* @param {
|
|
233
|
-
* @param {
|
|
234
|
-
* @param {
|
|
228
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
229
|
+
* @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.
|
|
230
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
231
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
232
|
+
* @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.
|
|
233
|
+
* @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.
|
|
234
|
+
* @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.
|
|
235
235
|
* @param {*} [options] Override http request option.
|
|
236
236
|
* @throws {RequiredError}
|
|
237
237
|
*/
|
|
238
|
-
listFinancialTransactions(authorization?: string, pageSize?:
|
|
238
|
+
listFinancialTransactions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListFinancialTransactionsResponseClass> {
|
|
239
239
|
return localVarFp.listFinancialTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
240
240
|
},
|
|
241
241
|
};
|
|
@@ -284,52 +284,52 @@ export interface FinancialTransactionsApiListFinancialTransactionsRequest {
|
|
|
284
284
|
|
|
285
285
|
/**
|
|
286
286
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
287
|
-
* @type {
|
|
287
|
+
* @type {number}
|
|
288
288
|
* @memberof FinancialTransactionsApiListFinancialTransactions
|
|
289
289
|
*/
|
|
290
|
-
readonly pageSize?:
|
|
290
|
+
readonly pageSize?: number
|
|
291
291
|
|
|
292
292
|
/**
|
|
293
|
-
* 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,
|
|
294
|
-
* @type {
|
|
293
|
+
* 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.
|
|
294
|
+
* @type {string}
|
|
295
295
|
* @memberof FinancialTransactionsApiListFinancialTransactions
|
|
296
296
|
*/
|
|
297
|
-
readonly pageToken?:
|
|
297
|
+
readonly pageToken?: string
|
|
298
298
|
|
|
299
299
|
/**
|
|
300
300
|
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
301
|
-
* @type {
|
|
301
|
+
* @type {string}
|
|
302
302
|
* @memberof FinancialTransactionsApiListFinancialTransactions
|
|
303
303
|
*/
|
|
304
|
-
readonly filter?:
|
|
304
|
+
readonly filter?: string
|
|
305
305
|
|
|
306
306
|
/**
|
|
307
307
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
308
|
-
* @type {
|
|
308
|
+
* @type {string}
|
|
309
309
|
* @memberof FinancialTransactionsApiListFinancialTransactions
|
|
310
310
|
*/
|
|
311
|
-
readonly search?:
|
|
311
|
+
readonly search?: string
|
|
312
312
|
|
|
313
313
|
/**
|
|
314
314
|
* 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.
|
|
315
|
-
* @type {
|
|
315
|
+
* @type {string}
|
|
316
316
|
* @memberof FinancialTransactionsApiListFinancialTransactions
|
|
317
317
|
*/
|
|
318
|
-
readonly order?:
|
|
318
|
+
readonly order?: string
|
|
319
319
|
|
|
320
320
|
/**
|
|
321
|
-
* 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
|
|
322
|
-
* @type {
|
|
321
|
+
* 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.
|
|
322
|
+
* @type {string}
|
|
323
323
|
* @memberof FinancialTransactionsApiListFinancialTransactions
|
|
324
324
|
*/
|
|
325
|
-
readonly expand?:
|
|
325
|
+
readonly expand?: string
|
|
326
326
|
|
|
327
327
|
/**
|
|
328
328
|
* 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.
|
|
329
|
-
* @type {
|
|
329
|
+
* @type {string}
|
|
330
330
|
* @memberof FinancialTransactionsApiListFinancialTransactions
|
|
331
331
|
*/
|
|
332
|
-
readonly filters?:
|
|
332
|
+
readonly filters?: string
|
|
333
333
|
}
|
|
334
334
|
|
|
335
335
|
/**
|
package/api/number-ranges-api.ts
CHANGED
|
@@ -182,17 +182,17 @@ export const NumberRangesApiAxiosParamCreator = function (configuration?: Config
|
|
|
182
182
|
* 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\"
|
|
183
183
|
* @summary List Financial Accounts
|
|
184
184
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
185
|
-
* @param {
|
|
186
|
-
* @param {
|
|
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: slug, createdAt, accountType</i>
|
|
188
|
-
* @param {
|
|
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, slug, accountType</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: slug, createdAt, accountType</i>
|
|
192
192
|
* @param {*} [options] Override http request option.
|
|
193
193
|
* @throws {RequiredError}
|
|
194
194
|
*/
|
|
195
|
-
listNumberRanges: async (authorization?: string, pageSize?:
|
|
195
|
+
listNumberRanges: 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/number-ranges`;
|
|
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 NumberRangesApiFp = function(configuration?: Configuration) {
|
|
|
305
305
|
* 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\"
|
|
306
306
|
* @summary List Financial Accounts
|
|
307
307
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
308
|
-
* @param {
|
|
309
|
-
* @param {
|
|
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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: slug, createdAt, accountType</i>
|
|
311
|
-
* @param {
|
|
311
|
+
* @param {string} [search] To search the list by any field, pass search=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.<br/> <br/> <i>Allowed values: id, createdAt, slug, accountType</i>
|
|
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.<br/> <br/>
|
|
314
314
|
* @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: slug, createdAt, accountType</i>
|
|
315
315
|
* @param {*} [options] Override http request option.
|
|
316
316
|
* @throws {RequiredError}
|
|
317
317
|
*/
|
|
318
|
-
async listNumberRanges(authorization?: string, pageSize?:
|
|
318
|
+
async listNumberRanges(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListNumberRangeResponseClass>> {
|
|
319
319
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listNumberRanges(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 NumberRangesApiFactory = function (configuration?: Configuration, b
|
|
|
367
367
|
* 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\"
|
|
368
368
|
* @summary List Financial Accounts
|
|
369
369
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
370
|
-
* @param {
|
|
371
|
-
* @param {
|
|
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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: slug, createdAt, accountType</i>
|
|
373
|
-
* @param {
|
|
373
|
+
* @param {string} [search] To search the list by any field, pass search=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.<br/> <br/> <i>Allowed values: id, createdAt, slug, accountType</i>
|
|
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.<br/> <br/>
|
|
376
376
|
* @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: slug, createdAt, accountType</i>
|
|
377
377
|
* @param {*} [options] Override http request option.
|
|
378
378
|
* @throws {RequiredError}
|
|
379
379
|
*/
|
|
380
|
-
listNumberRanges(authorization?: string, pageSize?:
|
|
380
|
+
listNumberRanges(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListNumberRangeResponseClass> {
|
|
381
381
|
return localVarFp.listNumberRanges(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
382
382
|
},
|
|
383
383
|
};
|
|
@@ -468,17 +468,17 @@ export interface NumberRangesApiListNumberRangesRequest {
|
|
|
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 {
|
|
471
|
+
* @type {number}
|
|
472
472
|
* @memberof NumberRangesApiListNumberRanges
|
|
473
473
|
*/
|
|
474
|
-
readonly pageSize?:
|
|
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=1,
|
|
478
|
-
* @type {
|
|
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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
478
|
+
* @type {string}
|
|
479
479
|
* @memberof NumberRangesApiListNumberRanges
|
|
480
480
|
*/
|
|
481
|
-
readonly pageToken?:
|
|
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.<br/> <br/> <i>Allowed values: slug, createdAt, accountType</i>
|
|
@@ -489,10 +489,10 @@ export interface NumberRangesApiListNumberRangesRequest {
|
|
|
489
489
|
|
|
490
490
|
/**
|
|
491
491
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
492
|
-
* @type {
|
|
492
|
+
* @type {string}
|
|
493
493
|
* @memberof NumberRangesApiListNumberRanges
|
|
494
494
|
*/
|
|
495
|
-
readonly search?:
|
|
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.<br/> <br/> <i>Allowed values: id, createdAt, slug, accountType</i>
|