@firela/api-types 0.0.0-canary.2b8fcbd8 → 0.0.0-canary.2fbeefe9
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/dist/index.d.mts +1540 -668
- package/dist/index.d.ts +1540 -668
- package/dist/index.js +5 -3
- package/dist/index.mjs +5 -3
- package/package.json +1 -1
- package/src/generated/schemas.gen.ts +1152 -406
- package/src/generated/services.gen.ts +864 -357
- package/src/generated/types.gen.ts +1687 -734
package/dist/index.js
CHANGED
|
@@ -484,7 +484,7 @@ var BeanAccountsService = class {
|
|
|
484
484
|
* @param data.type Filter by account type
|
|
485
485
|
* @param data.status Filter by status
|
|
486
486
|
* @param data.isCustom Filter by custom (user-created) accounts only
|
|
487
|
-
* @param data.search Search term for path
|
|
487
|
+
* @param data.search Search term for account path
|
|
488
488
|
* @param data.limit Maximum number of results
|
|
489
489
|
* @param data.offset Number of results to skip
|
|
490
490
|
* @returns AccountListResponseDto Accounts retrieved successfully
|
|
@@ -670,6 +670,7 @@ var BeanTransactionsService = class {
|
|
|
670
670
|
* @param data.status Filter by transaction status
|
|
671
671
|
* @param data.search Search in narration and payee fields (max 200 chars)
|
|
672
672
|
* @param data.accountId Filter by account ID (transactions with postings to this account)
|
|
673
|
+
* @param data.category Filter by ADR-0075 functional category (Group segment); matches any posting to an Expenses/Income account whose derived Group segment equals this value
|
|
673
674
|
* @returns TransactionListResponseDto Transaction list
|
|
674
675
|
* @throws ApiError
|
|
675
676
|
*/
|
|
@@ -687,7 +688,8 @@ var BeanTransactionsService = class {
|
|
|
687
688
|
dateTo: data.dateTo,
|
|
688
689
|
status: data.status,
|
|
689
690
|
search: data.search,
|
|
690
|
-
accountId: data.accountId
|
|
691
|
+
accountId: data.accountId,
|
|
692
|
+
category: data.category
|
|
691
693
|
},
|
|
692
694
|
errors: {
|
|
693
695
|
400: "Validation failed",
|
|
@@ -856,7 +858,7 @@ var BeanBalancesService = class {
|
|
|
856
858
|
* Query account balance
|
|
857
859
|
* Calculate account balance at a specific date for a single currency
|
|
858
860
|
* @param data The data for the request.
|
|
859
|
-
* @param data.account Account name (e.g., "Assets:
|
|
861
|
+
* @param data.account Account name (e.g., "Assets:Checking")
|
|
860
862
|
* @param data.region Region code for tenant context
|
|
861
863
|
* @param data.date Date to calculate balance at (ISO 8601 format)
|
|
862
864
|
* @param data.currency Currency to query (e.g., "USD", "CNY")
|
package/dist/index.mjs
CHANGED
|
@@ -452,7 +452,7 @@ var BeanAccountsService = class {
|
|
|
452
452
|
* @param data.type Filter by account type
|
|
453
453
|
* @param data.status Filter by status
|
|
454
454
|
* @param data.isCustom Filter by custom (user-created) accounts only
|
|
455
|
-
* @param data.search Search term for path
|
|
455
|
+
* @param data.search Search term for account path
|
|
456
456
|
* @param data.limit Maximum number of results
|
|
457
457
|
* @param data.offset Number of results to skip
|
|
458
458
|
* @returns AccountListResponseDto Accounts retrieved successfully
|
|
@@ -638,6 +638,7 @@ var BeanTransactionsService = class {
|
|
|
638
638
|
* @param data.status Filter by transaction status
|
|
639
639
|
* @param data.search Search in narration and payee fields (max 200 chars)
|
|
640
640
|
* @param data.accountId Filter by account ID (transactions with postings to this account)
|
|
641
|
+
* @param data.category Filter by ADR-0075 functional category (Group segment); matches any posting to an Expenses/Income account whose derived Group segment equals this value
|
|
641
642
|
* @returns TransactionListResponseDto Transaction list
|
|
642
643
|
* @throws ApiError
|
|
643
644
|
*/
|
|
@@ -655,7 +656,8 @@ var BeanTransactionsService = class {
|
|
|
655
656
|
dateTo: data.dateTo,
|
|
656
657
|
status: data.status,
|
|
657
658
|
search: data.search,
|
|
658
|
-
accountId: data.accountId
|
|
659
|
+
accountId: data.accountId,
|
|
660
|
+
category: data.category
|
|
659
661
|
},
|
|
660
662
|
errors: {
|
|
661
663
|
400: "Validation failed",
|
|
@@ -824,7 +826,7 @@ var BeanBalancesService = class {
|
|
|
824
826
|
* Query account balance
|
|
825
827
|
* Calculate account balance at a specific date for a single currency
|
|
826
828
|
* @param data The data for the request.
|
|
827
|
-
* @param data.account Account name (e.g., "Assets:
|
|
829
|
+
* @param data.account Account name (e.g., "Assets:Checking")
|
|
828
830
|
* @param data.region Region code for tenant context
|
|
829
831
|
* @param data.date Date to calculate balance at (ISO 8601 format)
|
|
830
832
|
* @param data.currency Currency to query (e.g., "USD", "CNY")
|