@firela/api-types 0.0.0-canary.feeae929 → 0.0.0-canary.ffdf0021
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 +432 -30
- package/dist/index.d.ts +432 -30
- package/dist/index.js +4 -2
- package/dist/index.mjs +4 -2
- package/package.json +1 -1
- package/src/generated/schemas.gen.ts +629 -16
- package/src/generated/services.gen.ts +80 -6
- package/src/generated/types.gen.ts +574 -30
package/dist/index.js
CHANGED
|
@@ -696,7 +696,8 @@ var BeanTransactionsService = class {
|
|
|
696
696
|
* @param data.status Filter by transaction status
|
|
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
|
@@ -664,7 +664,8 @@ var BeanTransactionsService = class {
|
|
|
664
664
|
* @param data.status Filter by transaction status
|
|
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",
|