@firela/api-types 0.0.0-canary.fb3ac1dd → 0.0.0-canary.fcd7d276
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 +1667 -1214
- package/dist/index.d.ts +1667 -1214
- package/dist/index.js +6 -4
- package/dist/index.mjs +6 -4
- package/package.json +1 -1
- package/src/generated/schemas.gen.ts +1904 -1055
- package/src/generated/services.gen.ts +653 -547
- package/src/generated/types.gen.ts +19855 -1485
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
|
|
487
|
+
* @param data.search Search term matched against account path and user-set display name (case-insensitive)
|
|
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
|
|
@@ -693,10 +693,11 @@ var BeanTransactionsService = class {
|
|
|
693
693
|
* @param data.offset Number of items to skip (default: 0)
|
|
694
694
|
* @param data.dateFrom Filter by start date (inclusive), format: YYYY-MM-DD
|
|
695
695
|
* @param data.dateTo Filter by end date (inclusive), format: YYYY-MM-DD
|
|
696
|
-
* @param data.status Filter by transaction status
|
|
696
|
+
* @param data.status Filter by transaction status: single value, comma-separated multi-value (e.g. VOIDED,SUPERSEDED), or ALL to include audit rows. Defaults to ACTIVE-only (ADR-0128; previously unfiltered — breaking change).
|
|
697
697
|
* @param data.search Search in narration and payee fields (max 200 chars)
|
|
698
698
|
* @param data.accountId Filter by account ID (transactions with postings to this account)
|
|
699
|
-
* @param data.category Filter by ADR-0075 functional category (Group segment); matches any posting to an
|
|
699
|
+
* @param data.category Filter by ADR-0075 functional category (Group segment); matches any posting to an account whose derived Group segment equals this value. Must be accompanied by flow (ADR-0126).
|
|
700
|
+
* @param data.flow Required when category is present (400 otherwise) and vice versa (ADR-0126). Restricts the category account set to the flow root (income → Income:, expense → Expenses:) and drives the per-leg sign normalization of row viewpointAmount and the summary. OpenAPI cannot express conditional requiredness — the pairing is enforced at runtime.
|
|
700
701
|
* @returns TransactionListResponseDto Transaction list
|
|
701
702
|
* @throws ApiError
|
|
702
703
|
*/
|
|
@@ -715,7 +716,8 @@ var BeanTransactionsService = class {
|
|
|
715
716
|
status: data.status,
|
|
716
717
|
search: data.search,
|
|
717
718
|
accountId: data.accountId,
|
|
718
|
-
category: data.category
|
|
719
|
+
category: data.category,
|
|
720
|
+
flow: data.flow
|
|
719
721
|
},
|
|
720
722
|
errors: {
|
|
721
723
|
400: "Validation failed",
|
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
|
|
455
|
+
* @param data.search Search term matched against account path and user-set display name (case-insensitive)
|
|
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
|
|
@@ -661,10 +661,11 @@ var BeanTransactionsService = class {
|
|
|
661
661
|
* @param data.offset Number of items to skip (default: 0)
|
|
662
662
|
* @param data.dateFrom Filter by start date (inclusive), format: YYYY-MM-DD
|
|
663
663
|
* @param data.dateTo Filter by end date (inclusive), format: YYYY-MM-DD
|
|
664
|
-
* @param data.status Filter by transaction status
|
|
664
|
+
* @param data.status Filter by transaction status: single value, comma-separated multi-value (e.g. VOIDED,SUPERSEDED), or ALL to include audit rows. Defaults to ACTIVE-only (ADR-0128; previously unfiltered — breaking change).
|
|
665
665
|
* @param data.search Search in narration and payee fields (max 200 chars)
|
|
666
666
|
* @param data.accountId Filter by account ID (transactions with postings to this account)
|
|
667
|
-
* @param data.category Filter by ADR-0075 functional category (Group segment); matches any posting to an
|
|
667
|
+
* @param data.category Filter by ADR-0075 functional category (Group segment); matches any posting to an account whose derived Group segment equals this value. Must be accompanied by flow (ADR-0126).
|
|
668
|
+
* @param data.flow Required when category is present (400 otherwise) and vice versa (ADR-0126). Restricts the category account set to the flow root (income → Income:, expense → Expenses:) and drives the per-leg sign normalization of row viewpointAmount and the summary. OpenAPI cannot express conditional requiredness — the pairing is enforced at runtime.
|
|
668
669
|
* @returns TransactionListResponseDto Transaction list
|
|
669
670
|
* @throws ApiError
|
|
670
671
|
*/
|
|
@@ -683,7 +684,8 @@ var BeanTransactionsService = class {
|
|
|
683
684
|
status: data.status,
|
|
684
685
|
search: data.search,
|
|
685
686
|
accountId: data.accountId,
|
|
686
|
-
category: data.category
|
|
687
|
+
category: data.category,
|
|
688
|
+
flow: data.flow
|
|
687
689
|
},
|
|
688
690
|
errors: {
|
|
689
691
|
400: "Validation failed",
|