@firela/api-types 0.0.0-canary.486851ea → 0.0.0-canary.4ce4aee8
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 +1398 -1113
- package/dist/index.d.ts +1398 -1113
- package/dist/index.js +5 -3
- package/dist/index.mjs +5 -3
- package/package.json +1 -1
- package/src/generated/schemas.gen.ts +1731 -1120
- package/src/generated/services.gen.ts +605 -537
- package/src/generated/types.gen.ts +1686 -1299
package/dist/index.d.mts
CHANGED
|
@@ -127,9 +127,7 @@ type AccountResponseDto = {
|
|
|
127
127
|
/**
|
|
128
128
|
* Platform ID (null if unbound)
|
|
129
129
|
*/
|
|
130
|
-
platformId?:
|
|
131
|
-
[key: string]: unknown;
|
|
132
|
-
};
|
|
130
|
+
platformId?: string;
|
|
133
131
|
/**
|
|
134
132
|
* Platform details (populated if platformId is set)
|
|
135
133
|
*/
|
|
@@ -239,15 +237,27 @@ type AccountStandardResponseDto = {
|
|
|
239
237
|
*/
|
|
240
238
|
type: 'Assets' | 'Liabilities' | 'Income' | 'Expenses' | 'Equity';
|
|
241
239
|
/**
|
|
242
|
-
* Short
|
|
240
|
+
* Short display name. Universal rows project to the request locale (Accept-Language); regional rows keep the authored native name — mixed-language by design (ADR-0131 class P vs class A).
|
|
243
241
|
*/
|
|
244
242
|
name?: string;
|
|
245
243
|
/**
|
|
246
|
-
*
|
|
244
|
+
* Authored market-language alternative names delivered verbatim (not localized copy, not xlf-managed, not locale-projected). Flat string[] per ADR-0129 D1; ADR-0131 class A.
|
|
245
|
+
*/
|
|
246
|
+
aliases?: Array<string>;
|
|
247
|
+
/**
|
|
248
|
+
* Locale-projected search synonyms (e.g. the zh bank-card / debit-card everyday terms for the checking account). Pure-locale projection — absent when the locale has no seeded synonyms; English fallback rides the authored aliases field. Search-only vocabulary, not the NLP routing corpus (#698, ADR-0131 fourth-class adjudication).
|
|
249
|
+
*/
|
|
250
|
+
searchTerms?: Array<string>;
|
|
251
|
+
/**
|
|
252
|
+
* Product denomination as a 3-letter ISO 4217 code, authored market data delivered verbatim (not localized, not xlf-managed). ADR-0131 class A. Absent = single-currency not asserted — consumers fall back to their own region currency (#714).
|
|
253
|
+
*/
|
|
254
|
+
currency?: string;
|
|
255
|
+
/**
|
|
256
|
+
* Account description (stable semantics only). Mixed-language contract: universal rows project to the request locale via the accountDesc xlf axis with an en fallback (ADR-0131 class P, ADR-0132; unseeded locales falling back to English are expected); regional rows deliver the authored market language (ADR-0131 class A, verbatim, never xlf-managed).
|
|
247
257
|
*/
|
|
248
258
|
description: string;
|
|
249
259
|
/**
|
|
250
|
-
* Account tags for categorization
|
|
260
|
+
* Account tags for categorization — structured metadata delivered verbatim (not localized, not xlf-managed). ADR-0131 class A.
|
|
251
261
|
*/
|
|
252
262
|
tags: Array<string>;
|
|
253
263
|
/**
|
|
@@ -457,7 +467,7 @@ type PostingResponseDto = {
|
|
|
457
467
|
*/
|
|
458
468
|
account: string;
|
|
459
469
|
/**
|
|
460
|
-
* Amount as decimal string. Typed optional but always present in responses: interpolation fills any MISSING posting before it is persisted or returned.
|
|
470
|
+
* Amount as decimal string. Typed optional but always present in responses: interpolation fills any MISSING posting before it is persisted or returned. Carries the raw Beancount sign (credit-normal accounts such as Income post negative — the accounting truth, ADR-0126); renderers must not infer economic semantics from this sign.
|
|
461
471
|
*/
|
|
462
472
|
units?: string;
|
|
463
473
|
/**
|
|
@@ -669,7 +679,7 @@ type PostingDetailDto = {
|
|
|
669
679
|
*/
|
|
670
680
|
account: string;
|
|
671
681
|
/**
|
|
672
|
-
* Amount as decimal string. Typed optional but always present in responses: interpolation fills any MISSING posting before it is persisted or returned.
|
|
682
|
+
* Amount as decimal string. Typed optional but always present in responses: interpolation fills any MISSING posting before it is persisted or returned. Carries the raw Beancount sign (credit-normal accounts such as Income post negative — the accounting truth, ADR-0126); renderers must not infer economic semantics from this sign.
|
|
673
683
|
*/
|
|
674
684
|
units?: string;
|
|
675
685
|
/**
|
|
@@ -799,6 +809,94 @@ type flag2 = 'CLEARED' | 'PENDING' | 'PADDING' | 'SUMMARIZE' | 'TRANSFER' | 'CON
|
|
|
799
809
|
* Transaction status
|
|
800
810
|
*/
|
|
801
811
|
type status2 = 'ACTIVE' | 'VOIDED' | 'SUPERSEDED';
|
|
812
|
+
type TransactionListItemDto = {
|
|
813
|
+
/**
|
|
814
|
+
* Transaction ID
|
|
815
|
+
*/
|
|
816
|
+
id: string;
|
|
817
|
+
/**
|
|
818
|
+
* Transaction date
|
|
819
|
+
*/
|
|
820
|
+
date: string;
|
|
821
|
+
/**
|
|
822
|
+
* Transaction flag
|
|
823
|
+
*/
|
|
824
|
+
flag?: 'CLEARED' | 'PENDING' | 'PADDING' | 'SUMMARIZE' | 'TRANSFER' | 'CONVERSIONS';
|
|
825
|
+
/**
|
|
826
|
+
* Custom flag (if not using standard flags)
|
|
827
|
+
*/
|
|
828
|
+
customFlag?: string;
|
|
829
|
+
/**
|
|
830
|
+
* Payee name
|
|
831
|
+
*/
|
|
832
|
+
payee?: string;
|
|
833
|
+
/**
|
|
834
|
+
* Transaction narration
|
|
835
|
+
*/
|
|
836
|
+
narration: string;
|
|
837
|
+
/**
|
|
838
|
+
* Transaction tags
|
|
839
|
+
*/
|
|
840
|
+
tags: Array<string>;
|
|
841
|
+
/**
|
|
842
|
+
* Transaction links
|
|
843
|
+
*/
|
|
844
|
+
links: Array<string>;
|
|
845
|
+
/**
|
|
846
|
+
* Transaction metadata
|
|
847
|
+
*/
|
|
848
|
+
meta?: {
|
|
849
|
+
[key: string]: unknown;
|
|
850
|
+
};
|
|
851
|
+
/**
|
|
852
|
+
* Transaction status
|
|
853
|
+
*/
|
|
854
|
+
status: 'ACTIVE' | 'VOIDED' | 'SUPERSEDED';
|
|
855
|
+
/**
|
|
856
|
+
* Source type (free-form string from transaction metadata, e.g. import, api)
|
|
857
|
+
*/
|
|
858
|
+
sourceType?: string;
|
|
859
|
+
/**
|
|
860
|
+
* Source platform (e.g., alipay, wechat)
|
|
861
|
+
*/
|
|
862
|
+
sourcePlatform?: string;
|
|
863
|
+
/**
|
|
864
|
+
* Transaction postings
|
|
865
|
+
*/
|
|
866
|
+
postings: Array<PostingDetailDto>;
|
|
867
|
+
/**
|
|
868
|
+
* Created at timestamp
|
|
869
|
+
*/
|
|
870
|
+
createdAt: string;
|
|
871
|
+
/**
|
|
872
|
+
* Voided at timestamp (if voided)
|
|
873
|
+
*/
|
|
874
|
+
voidedAt?: string;
|
|
875
|
+
/**
|
|
876
|
+
* User ID who voided this transaction
|
|
877
|
+
*/
|
|
878
|
+
voidedBy?: string;
|
|
879
|
+
/**
|
|
880
|
+
* Correction reason (if voided or superseded)
|
|
881
|
+
*/
|
|
882
|
+
correctionReason?: string;
|
|
883
|
+
/**
|
|
884
|
+
* ID of the transaction that supersedes this one (set when status=SUPERSEDED)
|
|
885
|
+
*/
|
|
886
|
+
supersededBy?: string;
|
|
887
|
+
/**
|
|
888
|
+
* ID of the transaction this one corrected/replaced (back-link on the replacement)
|
|
889
|
+
*/
|
|
890
|
+
originalTxn?: string;
|
|
891
|
+
/**
|
|
892
|
+
* Row amount under the request viewpoint (ADR-0126). Category viewpoint (category + flow): per-leg sign-normalized sum over the category account set (Income-root legs negated, Expenses-root identity) — positive under normal booking but NOT clamped (explicit negative expense legs and net-flip refund months stay negative). No viewpoint (plain list / search, no accountId): wallet money-flow net = raw-sign sum over cost-less Assets/Liabilities legs (income positive, expenses negative, transfers net ~0); color cue is the wallet sign (net < 0 = wealth-decreasing). Status-orthogonal: audit views match too (ADR-0128 amount-as-matching-key). Omitted under the account viewpoint (incl. dual) and for rows with no wallet leg.
|
|
893
|
+
*/
|
|
894
|
+
viewpointAmount?: string;
|
|
895
|
+
/**
|
|
896
|
+
* Currency of viewpointAmount. A row spanning multiple currencies takes the largest-magnitude currency group (known simplification, ADR-0126).
|
|
897
|
+
*/
|
|
898
|
+
viewpointCurrency?: string;
|
|
899
|
+
};
|
|
802
900
|
type BalanceByCurrencyDto = {
|
|
803
901
|
/**
|
|
804
902
|
* ISO 4217 currency code
|
|
@@ -825,7 +923,7 @@ type ExchangeRateWarningDto = {
|
|
|
825
923
|
};
|
|
826
924
|
type TransactionListSummaryDto = {
|
|
827
925
|
/**
|
|
828
|
-
* Partial converted total in base currency (rated currencies only
|
|
926
|
+
* Partial converted total in base currency (rated currencies only). Sign by viewpoint (ADR-0126): account viewpoint keeps the raw Beancount sign (income negative); category viewpoint is per-leg sign-normalized (Income legs negated, Expenses legs identity — positive under normal booking, not clamped). When warnings is non-empty this excludes currencies missing an FX rate; may be "0.00" if ALL non-base currencies lack a rate. Converted at the dateTo (or current) available rate.
|
|
829
927
|
*/
|
|
830
928
|
totalAmount: string;
|
|
831
929
|
/**
|
|
@@ -841,11 +939,29 @@ type TransactionListSummaryDto = {
|
|
|
841
939
|
*/
|
|
842
940
|
warnings?: Array<ExchangeRateWarningDto>;
|
|
843
941
|
};
|
|
942
|
+
type TransactionListViewpointDto = {
|
|
943
|
+
/**
|
|
944
|
+
* Viewpoint type (only category drill-down carries a viewpoint today)
|
|
945
|
+
*/
|
|
946
|
+
type: 'category';
|
|
947
|
+
/**
|
|
948
|
+
* Flow root the category account set is restricted to
|
|
949
|
+
*/
|
|
950
|
+
flow: 'income' | 'expense';
|
|
951
|
+
};
|
|
952
|
+
/**
|
|
953
|
+
* Viewpoint type (only category drill-down carries a viewpoint today)
|
|
954
|
+
*/
|
|
955
|
+
type type2 = 'category';
|
|
956
|
+
/**
|
|
957
|
+
* Flow root the category account set is restricted to
|
|
958
|
+
*/
|
|
959
|
+
type flow = 'income' | 'expense';
|
|
844
960
|
type TransactionListResponseDto = {
|
|
845
961
|
/**
|
|
846
962
|
* List of transactions
|
|
847
963
|
*/
|
|
848
|
-
data: Array<
|
|
964
|
+
data: Array<TransactionListItemDto>;
|
|
849
965
|
/**
|
|
850
966
|
* Total count of matching transactions
|
|
851
967
|
*/
|
|
@@ -862,6 +978,10 @@ type TransactionListResponseDto = {
|
|
|
862
978
|
* Amount summary for the full filtered set (#514). Present only when the request has a single account OR category viewpoint; omitted for search-only / plain-list / dual-perspective requests.
|
|
863
979
|
*/
|
|
864
980
|
summary?: TransactionListSummaryDto;
|
|
981
|
+
/**
|
|
982
|
+
* Viewpoint metadata (ADR-0126). Present only for a single category filter (category + flow, no accountId); dual-perspective requests are viewpoint-less (raw signs, no viewpointAmount).
|
|
983
|
+
*/
|
|
984
|
+
viewpoint?: TransactionListViewpointDto;
|
|
865
985
|
};
|
|
866
986
|
type TagSuggestionDto = {
|
|
867
987
|
/**
|
|
@@ -1054,7 +1174,7 @@ type ReviewSummaryDto = {
|
|
|
1054
1174
|
/**
|
|
1055
1175
|
* Review type
|
|
1056
1176
|
*/
|
|
1057
|
-
type
|
|
1177
|
+
type type3 = 'DUPLICATE' | 'RULE_MATCH' | 'PAYEE_MATCH' | 'ACCOUNT_VALIDATION' | 'PIPELINE_ERROR';
|
|
1058
1178
|
/**
|
|
1059
1179
|
* Review status
|
|
1060
1180
|
*/
|
|
@@ -1418,7 +1538,7 @@ type UpdatePayeeDto = {
|
|
|
1418
1538
|
*/
|
|
1419
1539
|
customTags?: Array<string>;
|
|
1420
1540
|
/**
|
|
1421
|
-
* Metadata for extended information (location, notes, contact info, etc.)
|
|
1541
|
+
* Metadata for extended information (location, notes, contact info, etc.)
|
|
1422
1542
|
*/
|
|
1423
1543
|
meta?: {
|
|
1424
1544
|
[key: string]: unknown;
|
|
@@ -1708,451 +1828,423 @@ type UpdateCommodityDto = {
|
|
|
1708
1828
|
[key: string]: unknown;
|
|
1709
1829
|
};
|
|
1710
1830
|
};
|
|
1711
|
-
type
|
|
1831
|
+
type CurrencyBalanceDto = {
|
|
1712
1832
|
/**
|
|
1713
|
-
*
|
|
1833
|
+
* ISO 4217 currency code
|
|
1714
1834
|
*/
|
|
1715
1835
|
currency: string;
|
|
1716
1836
|
/**
|
|
1717
|
-
*
|
|
1837
|
+
* Balance amount
|
|
1718
1838
|
*/
|
|
1719
|
-
|
|
1839
|
+
balance: string;
|
|
1840
|
+
};
|
|
1841
|
+
type TimeSeriesPointDto = {
|
|
1720
1842
|
/**
|
|
1721
|
-
*
|
|
1843
|
+
* Date in YYYY-MM-DD format
|
|
1722
1844
|
*/
|
|
1723
|
-
|
|
1845
|
+
date: string;
|
|
1724
1846
|
/**
|
|
1725
|
-
*
|
|
1847
|
+
* Value at this date (in base currency)
|
|
1726
1848
|
*/
|
|
1727
|
-
|
|
1849
|
+
value: string;
|
|
1728
1850
|
/**
|
|
1729
|
-
*
|
|
1851
|
+
* Change from previous point
|
|
1730
1852
|
*/
|
|
1731
|
-
|
|
1732
|
-
[key: string]: unknown;
|
|
1733
|
-
};
|
|
1734
|
-
};
|
|
1735
|
-
type PriceResponseDto = {
|
|
1853
|
+
change?: string;
|
|
1736
1854
|
/**
|
|
1737
|
-
*
|
|
1855
|
+
* Total assets at this date (in base currency)
|
|
1738
1856
|
*/
|
|
1739
|
-
|
|
1857
|
+
assets?: string;
|
|
1740
1858
|
/**
|
|
1741
|
-
*
|
|
1859
|
+
* Total liabilities at this date (in base currency)
|
|
1742
1860
|
*/
|
|
1743
|
-
|
|
1861
|
+
liabilities?: string;
|
|
1744
1862
|
/**
|
|
1745
|
-
*
|
|
1863
|
+
* Multi-currency breakdown for this point
|
|
1746
1864
|
*/
|
|
1747
|
-
|
|
1865
|
+
byCurrency?: Array<CurrencyBalanceDto>;
|
|
1866
|
+
};
|
|
1867
|
+
type TrendSummaryDto = {
|
|
1748
1868
|
/**
|
|
1749
|
-
*
|
|
1869
|
+
* Value at start of period
|
|
1750
1870
|
*/
|
|
1751
|
-
|
|
1871
|
+
startValue: string;
|
|
1752
1872
|
/**
|
|
1753
|
-
*
|
|
1873
|
+
* Value at end of period
|
|
1754
1874
|
*/
|
|
1755
|
-
|
|
1875
|
+
endValue: string;
|
|
1756
1876
|
/**
|
|
1757
|
-
*
|
|
1877
|
+
* Total change over period
|
|
1758
1878
|
*/
|
|
1759
|
-
|
|
1879
|
+
totalChange: string;
|
|
1760
1880
|
/**
|
|
1761
|
-
*
|
|
1881
|
+
* Total change percentage
|
|
1762
1882
|
*/
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1883
|
+
totalChangePercentage: string;
|
|
1884
|
+
};
|
|
1885
|
+
type MultiCurrencyPointDto = {
|
|
1766
1886
|
/**
|
|
1767
|
-
*
|
|
1887
|
+
* Date in YYYY-MM-DD format
|
|
1768
1888
|
*/
|
|
1769
|
-
|
|
1889
|
+
date: string;
|
|
1770
1890
|
/**
|
|
1771
|
-
*
|
|
1891
|
+
* Balances by currency
|
|
1772
1892
|
*/
|
|
1773
|
-
|
|
1893
|
+
byCurrency: Array<CurrencyBalanceDto>;
|
|
1774
1894
|
};
|
|
1775
|
-
type
|
|
1895
|
+
type PortfolioTrendsResponseDto = {
|
|
1776
1896
|
/**
|
|
1777
|
-
*
|
|
1897
|
+
* Time series data points
|
|
1778
1898
|
*/
|
|
1779
|
-
|
|
1899
|
+
series: Array<TimeSeriesPointDto>;
|
|
1780
1900
|
/**
|
|
1781
|
-
*
|
|
1901
|
+
* Period summary
|
|
1782
1902
|
*/
|
|
1783
|
-
|
|
1784
|
-
};
|
|
1785
|
-
type UpdateBeanPriceDto = {
|
|
1903
|
+
summary: TrendSummaryDto;
|
|
1786
1904
|
/**
|
|
1787
|
-
*
|
|
1905
|
+
* Period requested
|
|
1788
1906
|
*/
|
|
1789
|
-
|
|
1907
|
+
period: string;
|
|
1790
1908
|
/**
|
|
1791
|
-
*
|
|
1909
|
+
* Data granularity
|
|
1792
1910
|
*/
|
|
1793
|
-
|
|
1911
|
+
granularity: string;
|
|
1794
1912
|
/**
|
|
1795
|
-
*
|
|
1913
|
+
* Base currency for converted values
|
|
1796
1914
|
*/
|
|
1797
|
-
|
|
1915
|
+
currency: string;
|
|
1798
1916
|
/**
|
|
1799
|
-
*
|
|
1917
|
+
* Multi-currency time series (each point has currency breakdown)
|
|
1800
1918
|
*/
|
|
1801
|
-
|
|
1919
|
+
byCurrency?: Array<MultiCurrencyPointDto>;
|
|
1802
1920
|
/**
|
|
1803
|
-
*
|
|
1921
|
+
* Exchange rate warnings
|
|
1804
1922
|
*/
|
|
1805
|
-
|
|
1806
|
-
[key: string]: unknown;
|
|
1807
|
-
};
|
|
1923
|
+
warnings?: Array<ExchangeRateWarningDto>;
|
|
1808
1924
|
};
|
|
1809
|
-
type
|
|
1925
|
+
type CashFlowPointDto = {
|
|
1810
1926
|
/**
|
|
1811
|
-
*
|
|
1927
|
+
* Month key (YYYY-MM)
|
|
1812
1928
|
*/
|
|
1813
|
-
|
|
1929
|
+
month: string;
|
|
1814
1930
|
/**
|
|
1815
|
-
*
|
|
1931
|
+
* Income in base currency (absolute, converted)
|
|
1816
1932
|
*/
|
|
1817
|
-
|
|
1933
|
+
income: string;
|
|
1818
1934
|
/**
|
|
1819
|
-
*
|
|
1935
|
+
* Expense in base currency (absolute, converted)
|
|
1820
1936
|
*/
|
|
1821
|
-
|
|
1937
|
+
expense: string;
|
|
1822
1938
|
/**
|
|
1823
|
-
*
|
|
1939
|
+
* netSavings = income − expense (savings positive)
|
|
1824
1940
|
*/
|
|
1825
|
-
|
|
1941
|
+
netSavings: string;
|
|
1942
|
+
};
|
|
1943
|
+
type CashFlowTrendSummaryDto = {
|
|
1826
1944
|
/**
|
|
1827
|
-
*
|
|
1945
|
+
* Total income across the period
|
|
1828
1946
|
*/
|
|
1829
|
-
|
|
1947
|
+
totalIncome: string;
|
|
1830
1948
|
/**
|
|
1831
|
-
*
|
|
1949
|
+
* Total expense across the period
|
|
1832
1950
|
*/
|
|
1833
|
-
|
|
1951
|
+
totalExpense: string;
|
|
1834
1952
|
/**
|
|
1835
|
-
*
|
|
1953
|
+
* income − expense across the period
|
|
1836
1954
|
*/
|
|
1837
|
-
|
|
1955
|
+
totalNetSavings: string;
|
|
1838
1956
|
/**
|
|
1839
|
-
*
|
|
1957
|
+
* totalNetSavings divided by the window length (N months, incl. zero-filled)
|
|
1840
1958
|
*/
|
|
1841
|
-
|
|
1959
|
+
averageMonthlyNetSavings: string;
|
|
1960
|
+
};
|
|
1961
|
+
type CashFlowTrendsResponseDto = {
|
|
1842
1962
|
/**
|
|
1843
|
-
*
|
|
1963
|
+
* Monthly cash-flow series (fixed N-month window, zero-filled)
|
|
1844
1964
|
*/
|
|
1845
|
-
|
|
1965
|
+
series: Array<CashFlowPointDto>;
|
|
1846
1966
|
/**
|
|
1847
|
-
*
|
|
1967
|
+
* Period totals
|
|
1848
1968
|
*/
|
|
1849
|
-
|
|
1969
|
+
summary: CashFlowTrendSummaryDto;
|
|
1850
1970
|
/**
|
|
1851
|
-
*
|
|
1971
|
+
* Period requested
|
|
1852
1972
|
*/
|
|
1853
|
-
|
|
1973
|
+
period: string;
|
|
1854
1974
|
/**
|
|
1855
|
-
*
|
|
1975
|
+
* Data granularity (v1 returns month buckets)
|
|
1856
1976
|
*/
|
|
1857
|
-
|
|
1977
|
+
granularity: string;
|
|
1858
1978
|
/**
|
|
1859
|
-
*
|
|
1979
|
+
* Base currency for converted values
|
|
1860
1980
|
*/
|
|
1861
|
-
|
|
1981
|
+
currency: string;
|
|
1862
1982
|
/**
|
|
1863
|
-
*
|
|
1983
|
+
* Exchange rate warnings (e.g. missing rate for a currency)
|
|
1864
1984
|
*/
|
|
1865
|
-
|
|
1985
|
+
warnings?: Array<ExchangeRateWarningDto>;
|
|
1986
|
+
};
|
|
1987
|
+
type GenerateSnapshotBody = unknown;
|
|
1988
|
+
type GenerateSnapshotResponse = unknown;
|
|
1989
|
+
type BackfillSnapshotsBody = unknown;
|
|
1990
|
+
type BackfillSnapshotsResponse = unknown;
|
|
1991
|
+
type CreateBeanPriceDto = {
|
|
1866
1992
|
/**
|
|
1867
|
-
*
|
|
1993
|
+
* Currency being priced (e.g., USD, AAPL, BTC)
|
|
1868
1994
|
*/
|
|
1869
|
-
|
|
1870
|
-
};
|
|
1871
|
-
/**
|
|
1872
|
-
* Recurring frequency
|
|
1873
|
-
*/
|
|
1874
|
-
type frequency = 'WEEKLY' | 'BIWEEKLY' | 'MONTHLY' | 'BIMONTHLY' | 'QUARTERLY' | 'YEARLY' | 'CUSTOM';
|
|
1875
|
-
type RecurringRuleResponseDto = {
|
|
1995
|
+
currency: string;
|
|
1876
1996
|
/**
|
|
1877
|
-
*
|
|
1997
|
+
* Quote currency (pricing currency, e.g., CNY, EUR)
|
|
1878
1998
|
*/
|
|
1879
|
-
|
|
1999
|
+
quoteCurrency: string;
|
|
1880
2000
|
/**
|
|
1881
|
-
*
|
|
2001
|
+
* Price amount (MUST be >= 0 per Beancount spec, supports up to 15 decimal places). Zero allowed for conversion entries, negative strictly prohibited.
|
|
1882
2002
|
*/
|
|
1883
|
-
|
|
2003
|
+
amount: number;
|
|
1884
2004
|
/**
|
|
1885
|
-
*
|
|
2005
|
+
* Price date (ISO 8601 format)
|
|
1886
2006
|
*/
|
|
1887
|
-
|
|
2007
|
+
date: string;
|
|
1888
2008
|
/**
|
|
1889
|
-
*
|
|
2009
|
+
* Metadata (validated by Zod schema, max field lengths enforced)
|
|
1890
2010
|
*/
|
|
1891
|
-
|
|
2011
|
+
metadata?: {
|
|
1892
2012
|
[key: string]: unknown;
|
|
1893
2013
|
};
|
|
2014
|
+
};
|
|
2015
|
+
type PriceResponseDto = {
|
|
1894
2016
|
/**
|
|
1895
|
-
*
|
|
1896
|
-
*/
|
|
1897
|
-
frequency: string;
|
|
1898
|
-
/**
|
|
1899
|
-
* Expected amount
|
|
1900
|
-
*/
|
|
1901
|
-
expectedAmount: number;
|
|
1902
|
-
/**
|
|
1903
|
-
* Expected day of month
|
|
2017
|
+
* Unique identifier
|
|
1904
2018
|
*/
|
|
1905
|
-
|
|
1906
|
-
[key: string]: unknown;
|
|
1907
|
-
};
|
|
2019
|
+
id: string;
|
|
1908
2020
|
/**
|
|
1909
|
-
*
|
|
2021
|
+
* User ID (owner of the price)
|
|
1910
2022
|
*/
|
|
1911
|
-
|
|
1912
|
-
[key: string]: unknown;
|
|
1913
|
-
};
|
|
2023
|
+
userId: string;
|
|
1914
2024
|
/**
|
|
1915
|
-
* Currency
|
|
2025
|
+
* Currency being priced (e.g., USD, AAPL, BTC)
|
|
1916
2026
|
*/
|
|
1917
2027
|
currency: string;
|
|
1918
2028
|
/**
|
|
1919
|
-
*
|
|
2029
|
+
* Quote currency (pricing currency, e.g., USD, CNY)
|
|
1920
2030
|
*/
|
|
1921
|
-
|
|
1922
|
-
[key: string]: unknown;
|
|
1923
|
-
};
|
|
2031
|
+
quoteCurrency: string;
|
|
1924
2032
|
/**
|
|
1925
|
-
* Amount
|
|
2033
|
+
* Price amount (corresponds to Beancount Amount.number). Supports up to 15 decimal places.
|
|
1926
2034
|
*/
|
|
1927
|
-
|
|
2035
|
+
amount: number;
|
|
1928
2036
|
/**
|
|
1929
|
-
*
|
|
2037
|
+
* Price date (ISO 8601 format). Represents the date this price was valid.
|
|
1930
2038
|
*/
|
|
1931
|
-
|
|
1932
|
-
[key: string]: unknown;
|
|
1933
|
-
};
|
|
2039
|
+
date: string;
|
|
1934
2040
|
/**
|
|
1935
|
-
*
|
|
2041
|
+
* Metadata (corresponds to Beancount meta field). Contains source, confidence, note, etc.
|
|
1936
2042
|
*/
|
|
1937
|
-
|
|
2043
|
+
meta: {
|
|
1938
2044
|
[key: string]: unknown;
|
|
1939
2045
|
};
|
|
1940
2046
|
/**
|
|
1941
|
-
*
|
|
2047
|
+
* Creation timestamp
|
|
1942
2048
|
*/
|
|
1943
|
-
|
|
1944
|
-
[key: string]: unknown;
|
|
1945
|
-
};
|
|
2049
|
+
createdAt: string;
|
|
1946
2050
|
/**
|
|
1947
|
-
*
|
|
2051
|
+
* Last update timestamp
|
|
1948
2052
|
*/
|
|
1949
|
-
|
|
2053
|
+
updatedAt: string;
|
|
2054
|
+
};
|
|
2055
|
+
type PriceListResponseDto = {
|
|
1950
2056
|
/**
|
|
1951
|
-
*
|
|
2057
|
+
* List of prices
|
|
1952
2058
|
*/
|
|
1953
|
-
|
|
2059
|
+
items: Array<PriceResponseDto>;
|
|
1954
2060
|
/**
|
|
1955
|
-
*
|
|
2061
|
+
* Total number of prices
|
|
1956
2062
|
*/
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
2063
|
+
total: number;
|
|
2064
|
+
};
|
|
2065
|
+
type UpdateBeanPriceDto = {
|
|
1960
2066
|
/**
|
|
1961
|
-
*
|
|
2067
|
+
* Currency being priced
|
|
1962
2068
|
*/
|
|
1963
|
-
|
|
2069
|
+
currency?: string;
|
|
1964
2070
|
/**
|
|
1965
|
-
*
|
|
2071
|
+
* Quote currency (pricing currency)
|
|
1966
2072
|
*/
|
|
1967
|
-
|
|
1968
|
-
[key: string]: unknown;
|
|
1969
|
-
};
|
|
2073
|
+
quoteCurrency?: string;
|
|
1970
2074
|
/**
|
|
1971
|
-
*
|
|
2075
|
+
* Price amount (MUST be >= 0 per Beancount spec)
|
|
1972
2076
|
*/
|
|
1973
|
-
|
|
2077
|
+
amount?: number;
|
|
1974
2078
|
/**
|
|
1975
|
-
*
|
|
2079
|
+
* Price date (ISO 8601 format)
|
|
1976
2080
|
*/
|
|
1977
|
-
|
|
2081
|
+
date?: string;
|
|
1978
2082
|
/**
|
|
1979
|
-
*
|
|
2083
|
+
* Metadata
|
|
1980
2084
|
*/
|
|
1981
|
-
|
|
2085
|
+
metadata?: {
|
|
2086
|
+
[key: string]: unknown;
|
|
2087
|
+
};
|
|
1982
2088
|
};
|
|
1983
|
-
type
|
|
1984
|
-
/**
|
|
1985
|
-
* Recurring frequency
|
|
1986
|
-
*/
|
|
1987
|
-
frequency: 'WEEKLY' | 'BIWEEKLY' | 'MONTHLY' | 'BIMONTHLY' | 'QUARTERLY' | 'YEARLY' | 'CUSTOM';
|
|
1988
|
-
/**
|
|
1989
|
-
* Optional name override (default: transaction payee)
|
|
1990
|
-
*/
|
|
1991
|
-
name?: string;
|
|
2089
|
+
type DeleteOwnUserDto = {
|
|
1992
2090
|
/**
|
|
1993
|
-
*
|
|
2091
|
+
* Access token for user verification
|
|
1994
2092
|
*/
|
|
1995
|
-
|
|
2093
|
+
accessToken: string;
|
|
1996
2094
|
};
|
|
1997
|
-
type
|
|
2095
|
+
type UserSettingsResponseDto = {
|
|
1998
2096
|
/**
|
|
1999
|
-
*
|
|
2097
|
+
* Stored base currency choice (ISO 4217) for net-worth/report aggregation. null = user never chose; aggregates fall back to the region default at display time (#713).
|
|
2000
2098
|
*/
|
|
2001
|
-
|
|
2099
|
+
baseCurrency: string | null;
|
|
2100
|
+
};
|
|
2101
|
+
type UserResponseDto = {
|
|
2002
2102
|
/**
|
|
2003
2103
|
* User ID
|
|
2004
2104
|
*/
|
|
2005
|
-
|
|
2006
|
-
/**
|
|
2007
|
-
* Rule name
|
|
2008
|
-
*/
|
|
2009
|
-
name: string;
|
|
2105
|
+
id: string;
|
|
2010
2106
|
/**
|
|
2011
|
-
*
|
|
2107
|
+
* Assigned user role
|
|
2012
2108
|
*/
|
|
2013
|
-
|
|
2014
|
-
[key: string]: unknown;
|
|
2015
|
-
};
|
|
2109
|
+
role: string;
|
|
2016
2110
|
/**
|
|
2017
|
-
*
|
|
2111
|
+
* Permission strings
|
|
2018
2112
|
*/
|
|
2019
|
-
|
|
2113
|
+
permissions: Array<string>;
|
|
2020
2114
|
/**
|
|
2021
|
-
*
|
|
2115
|
+
* User settings
|
|
2022
2116
|
*/
|
|
2023
|
-
|
|
2117
|
+
settings: UserSettingsResponseDto;
|
|
2118
|
+
};
|
|
2119
|
+
type SignupDto = {
|
|
2024
2120
|
/**
|
|
2025
|
-
*
|
|
2121
|
+
* Cloudflare Turnstile verification token (optional when Turnstile disabled)
|
|
2026
2122
|
*/
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2123
|
+
turnstileToken?: string;
|
|
2124
|
+
};
|
|
2125
|
+
type SignupResponseDto = {
|
|
2030
2126
|
/**
|
|
2031
|
-
*
|
|
2127
|
+
* JWT auth token
|
|
2032
2128
|
*/
|
|
2033
|
-
|
|
2034
|
-
[key: string]: unknown;
|
|
2035
|
-
};
|
|
2129
|
+
authToken: string;
|
|
2036
2130
|
/**
|
|
2037
|
-
*
|
|
2131
|
+
* Auto-generated access token
|
|
2038
2132
|
*/
|
|
2039
|
-
|
|
2133
|
+
accessToken: string;
|
|
2040
2134
|
/**
|
|
2041
|
-
*
|
|
2135
|
+
* Assigned user role
|
|
2042
2136
|
*/
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2137
|
+
role: 'USER' | 'ADMIN' | 'DEMO' | 'INACTIVE' | 'PAID' | 'OPS';
|
|
2138
|
+
};
|
|
2139
|
+
/**
|
|
2140
|
+
* Assigned user role
|
|
2141
|
+
*/
|
|
2142
|
+
type role = 'USER' | 'ADMIN' | 'DEMO' | 'INACTIVE' | 'PAID' | 'OPS';
|
|
2143
|
+
type UpdateUserSettingDto = {
|
|
2046
2144
|
/**
|
|
2047
|
-
*
|
|
2145
|
+
* Security ID
|
|
2048
2146
|
*/
|
|
2049
|
-
|
|
2147
|
+
secId?: number;
|
|
2050
2148
|
/**
|
|
2051
|
-
*
|
|
2149
|
+
* Annual interest rate
|
|
2052
2150
|
*/
|
|
2053
|
-
|
|
2054
|
-
[key: string]: unknown;
|
|
2055
|
-
};
|
|
2151
|
+
annualInterestRate?: number;
|
|
2056
2152
|
/**
|
|
2057
|
-
*
|
|
2153
|
+
* Currency code
|
|
2058
2154
|
*/
|
|
2059
|
-
|
|
2060
|
-
[key: string]: unknown;
|
|
2061
|
-
};
|
|
2155
|
+
currency?: string;
|
|
2062
2156
|
/**
|
|
2063
|
-
*
|
|
2157
|
+
* Base currency code
|
|
2064
2158
|
*/
|
|
2065
|
-
|
|
2066
|
-
[key: string]: unknown;
|
|
2067
|
-
};
|
|
2159
|
+
baseCurrency?: string;
|
|
2068
2160
|
/**
|
|
2069
|
-
*
|
|
2161
|
+
* Benchmark symbol
|
|
2070
2162
|
*/
|
|
2071
|
-
|
|
2163
|
+
benchmark?: string;
|
|
2072
2164
|
/**
|
|
2073
|
-
*
|
|
2165
|
+
* Color scheme
|
|
2074
2166
|
*/
|
|
2075
|
-
|
|
2167
|
+
colorScheme?: 'DARK' | 'LIGHT';
|
|
2076
2168
|
/**
|
|
2077
|
-
*
|
|
2169
|
+
* Date range filter
|
|
2078
2170
|
*/
|
|
2079
|
-
|
|
2080
|
-
[key: string]: unknown;
|
|
2081
|
-
};
|
|
2171
|
+
dateRange?: string;
|
|
2082
2172
|
/**
|
|
2083
|
-
*
|
|
2173
|
+
* Emergency fund amount
|
|
2084
2174
|
*/
|
|
2085
|
-
|
|
2175
|
+
emergencyFund?: number;
|
|
2086
2176
|
/**
|
|
2087
|
-
*
|
|
2177
|
+
* Account filter IDs
|
|
2088
2178
|
*/
|
|
2089
|
-
|
|
2090
|
-
[key: string]: unknown;
|
|
2091
|
-
};
|
|
2179
|
+
'filters.accounts'?: Array<string>;
|
|
2092
2180
|
/**
|
|
2093
|
-
*
|
|
2181
|
+
* Asset class filters
|
|
2094
2182
|
*/
|
|
2095
|
-
|
|
2183
|
+
'filters.assetClasses'?: Array<string>;
|
|
2096
2184
|
/**
|
|
2097
|
-
*
|
|
2185
|
+
* Data source filter
|
|
2098
2186
|
*/
|
|
2099
|
-
|
|
2187
|
+
'filters.dataSource'?: string;
|
|
2100
2188
|
/**
|
|
2101
|
-
*
|
|
2189
|
+
* Symbol filter
|
|
2102
2190
|
*/
|
|
2103
|
-
|
|
2191
|
+
'filters.symbol'?: string;
|
|
2104
2192
|
/**
|
|
2105
|
-
*
|
|
2193
|
+
* Tag filters
|
|
2106
2194
|
*/
|
|
2107
|
-
|
|
2195
|
+
'filters.tags'?: Array<string>;
|
|
2108
2196
|
/**
|
|
2109
|
-
*
|
|
2197
|
+
* Enable experimental features
|
|
2110
2198
|
*/
|
|
2111
|
-
|
|
2199
|
+
isExperimentalFeatures?: boolean;
|
|
2112
2200
|
/**
|
|
2113
|
-
*
|
|
2201
|
+
* Enable restricted view mode
|
|
2114
2202
|
*/
|
|
2115
|
-
|
|
2116
|
-
[key: string]: unknown;
|
|
2117
|
-
};
|
|
2203
|
+
isRestrictedView?: boolean;
|
|
2118
2204
|
/**
|
|
2119
|
-
*
|
|
2205
|
+
* Language code
|
|
2120
2206
|
*/
|
|
2121
|
-
|
|
2207
|
+
language?: string;
|
|
2122
2208
|
/**
|
|
2123
|
-
*
|
|
2209
|
+
* Locale code
|
|
2124
2210
|
*/
|
|
2125
|
-
|
|
2211
|
+
locale?: string;
|
|
2126
2212
|
/**
|
|
2127
|
-
*
|
|
2213
|
+
* Projected total amount
|
|
2128
2214
|
*/
|
|
2129
|
-
|
|
2215
|
+
projectedTotalAmount?: number;
|
|
2130
2216
|
/**
|
|
2131
|
-
*
|
|
2217
|
+
* Retirement date in ISO 8601 format
|
|
2132
2218
|
*/
|
|
2133
|
-
|
|
2134
|
-
[key: string]: unknown;
|
|
2135
|
-
};
|
|
2219
|
+
retirementDate?: string;
|
|
2136
2220
|
/**
|
|
2137
|
-
*
|
|
2221
|
+
* Savings rate percentage
|
|
2138
2222
|
*/
|
|
2139
|
-
|
|
2140
|
-
[key: string]: unknown;
|
|
2141
|
-
};
|
|
2223
|
+
savingsRate?: number;
|
|
2142
2224
|
/**
|
|
2143
|
-
*
|
|
2225
|
+
* View mode
|
|
2144
2226
|
*/
|
|
2145
|
-
|
|
2227
|
+
viewMode?: 'DEFAULT' | 'ZEN';
|
|
2228
|
+
};
|
|
2229
|
+
/**
|
|
2230
|
+
* Color scheme
|
|
2231
|
+
*/
|
|
2232
|
+
type colorScheme = 'DARK' | 'LIGHT';
|
|
2233
|
+
/**
|
|
2234
|
+
* View mode
|
|
2235
|
+
*/
|
|
2236
|
+
type viewMode = 'DEFAULT' | 'ZEN';
|
|
2237
|
+
type UpdatePropertyDto = {
|
|
2146
2238
|
/**
|
|
2147
|
-
*
|
|
2239
|
+
* Property value
|
|
2148
2240
|
*/
|
|
2149
|
-
|
|
2241
|
+
value: string;
|
|
2150
2242
|
};
|
|
2151
|
-
type
|
|
2243
|
+
type CreateRecurringRuleDto = {
|
|
2152
2244
|
/**
|
|
2153
|
-
* Rule name
|
|
2245
|
+
* Rule name (unique per user)
|
|
2154
2246
|
*/
|
|
2155
|
-
name
|
|
2247
|
+
name: string;
|
|
2156
2248
|
/**
|
|
2157
2249
|
* Icon emoji
|
|
2158
2250
|
*/
|
|
@@ -2160,17 +2252,17 @@ type UpdateRecurringRuleDto = {
|
|
|
2160
2252
|
/**
|
|
2161
2253
|
* Recurring frequency
|
|
2162
2254
|
*/
|
|
2163
|
-
frequency
|
|
2255
|
+
frequency: 'WEEKLY' | 'BIWEEKLY' | 'MONTHLY' | 'BIMONTHLY' | 'QUARTERLY' | 'YEARLY' | 'CUSTOM';
|
|
2164
2256
|
/**
|
|
2165
|
-
* Expected amount
|
|
2257
|
+
* Expected amount (positive number)
|
|
2166
2258
|
*/
|
|
2167
|
-
expectedAmount
|
|
2259
|
+
expectedAmount: number;
|
|
2168
2260
|
/**
|
|
2169
2261
|
* Expected day of month (1-31)
|
|
2170
2262
|
*/
|
|
2171
2263
|
expectedDay?: number;
|
|
2172
2264
|
/**
|
|
2173
|
-
* Custom interval in days
|
|
2265
|
+
* Custom interval in days (required for CUSTOM frequency)
|
|
2174
2266
|
*/
|
|
2175
2267
|
customIntervalDays?: number;
|
|
2176
2268
|
/**
|
|
@@ -2178,109 +2270,123 @@ type UpdateRecurringRuleDto = {
|
|
|
2178
2270
|
*/
|
|
2179
2271
|
currency?: string;
|
|
2180
2272
|
/**
|
|
2181
|
-
* Payee matching pattern
|
|
2273
|
+
* Payee matching pattern (supports wildcards)
|
|
2182
2274
|
*/
|
|
2183
2275
|
matchPayeePattern?: string;
|
|
2184
2276
|
/**
|
|
2185
2277
|
* Amount tolerance percentage (0-1)
|
|
2186
2278
|
*/
|
|
2187
|
-
matchAmountTolerance
|
|
2279
|
+
matchAmountTolerance: number;
|
|
2188
2280
|
/**
|
|
2189
|
-
* Default expense account
|
|
2281
|
+
* Default expense account for auto-create
|
|
2190
2282
|
*/
|
|
2191
2283
|
defaultExpenseAccount?: string;
|
|
2192
2284
|
/**
|
|
2193
|
-
* Default payment account
|
|
2285
|
+
* Default payment account for auto-create
|
|
2194
2286
|
*/
|
|
2195
2287
|
defaultPaymentAccount?: string;
|
|
2196
2288
|
/**
|
|
2197
|
-
* Default payee
|
|
2289
|
+
* Default payee for auto-create
|
|
2198
2290
|
*/
|
|
2199
2291
|
defaultPayee?: string;
|
|
2200
2292
|
/**
|
|
2201
|
-
* Auto-create transaction
|
|
2293
|
+
* Auto-create transaction when expected date arrives
|
|
2202
2294
|
*/
|
|
2203
|
-
autoCreate
|
|
2295
|
+
autoCreate: boolean;
|
|
2204
2296
|
/**
|
|
2205
|
-
* Rule
|
|
2297
|
+
* Rule start date (ISO format)
|
|
2206
2298
|
*/
|
|
2207
|
-
|
|
2299
|
+
startDate?: string;
|
|
2208
2300
|
/**
|
|
2209
2301
|
* Rule end date (ISO format)
|
|
2210
2302
|
*/
|
|
2211
2303
|
endDate?: string;
|
|
2212
2304
|
};
|
|
2213
|
-
|
|
2305
|
+
/**
|
|
2306
|
+
* Recurring frequency
|
|
2307
|
+
*/
|
|
2308
|
+
type frequency = 'WEEKLY' | 'BIWEEKLY' | 'MONTHLY' | 'BIMONTHLY' | 'QUARTERLY' | 'YEARLY' | 'CUSTOM';
|
|
2309
|
+
type RecurringRuleResponseDto = {
|
|
2310
|
+
/**
|
|
2311
|
+
* Rule ID
|
|
2312
|
+
*/
|
|
2313
|
+
id: string;
|
|
2314
|
+
/**
|
|
2315
|
+
* User ID
|
|
2316
|
+
*/
|
|
2317
|
+
userId: string;
|
|
2214
2318
|
/**
|
|
2215
2319
|
* Rule name
|
|
2216
2320
|
*/
|
|
2217
2321
|
name: string;
|
|
2218
2322
|
/**
|
|
2219
|
-
*
|
|
2323
|
+
* Icon emoji
|
|
2220
2324
|
*/
|
|
2221
|
-
icon?:
|
|
2222
|
-
[key: string]: unknown;
|
|
2223
|
-
};
|
|
2325
|
+
icon?: string;
|
|
2224
2326
|
/**
|
|
2225
|
-
*
|
|
2327
|
+
* Recurring frequency
|
|
2226
2328
|
*/
|
|
2227
2329
|
frequency: string;
|
|
2330
|
+
/**
|
|
2331
|
+
* Expected amount
|
|
2332
|
+
*/
|
|
2333
|
+
expectedAmount: number;
|
|
2334
|
+
/**
|
|
2335
|
+
* Expected day of month
|
|
2336
|
+
*/
|
|
2337
|
+
expectedDay?: number;
|
|
2338
|
+
/**
|
|
2339
|
+
* Custom interval in days
|
|
2340
|
+
*/
|
|
2341
|
+
customIntervalDays?: number;
|
|
2228
2342
|
/**
|
|
2229
2343
|
* Currency code
|
|
2230
2344
|
*/
|
|
2231
2345
|
currency: string;
|
|
2232
|
-
};
|
|
2233
|
-
type ExpectedTransactionResponseDto = {
|
|
2234
2346
|
/**
|
|
2235
|
-
*
|
|
2347
|
+
* Payee matching pattern
|
|
2236
2348
|
*/
|
|
2237
|
-
|
|
2349
|
+
matchPayeePattern?: string;
|
|
2238
2350
|
/**
|
|
2239
|
-
*
|
|
2351
|
+
* Amount tolerance percentage
|
|
2240
2352
|
*/
|
|
2241
|
-
|
|
2353
|
+
matchAmountTolerance: number;
|
|
2242
2354
|
/**
|
|
2243
|
-
*
|
|
2355
|
+
* Default expense account
|
|
2244
2356
|
*/
|
|
2245
|
-
|
|
2357
|
+
defaultExpenseAccount?: string;
|
|
2246
2358
|
/**
|
|
2247
|
-
*
|
|
2359
|
+
* Default payment account
|
|
2248
2360
|
*/
|
|
2249
|
-
|
|
2361
|
+
defaultPaymentAccount?: string;
|
|
2250
2362
|
/**
|
|
2251
|
-
*
|
|
2363
|
+
* Default payee
|
|
2252
2364
|
*/
|
|
2253
|
-
|
|
2365
|
+
defaultPayee?: string;
|
|
2254
2366
|
/**
|
|
2255
|
-
*
|
|
2367
|
+
* Whether rule is active
|
|
2256
2368
|
*/
|
|
2257
|
-
|
|
2369
|
+
isActive: boolean;
|
|
2258
2370
|
/**
|
|
2259
|
-
*
|
|
2260
|
-
*/
|
|
2261
|
-
|
|
2262
|
-
[key: string]: unknown;
|
|
2263
|
-
};
|
|
2371
|
+
* Rule start date (YYYY-MM-DD)
|
|
2372
|
+
*/
|
|
2373
|
+
startDate: string;
|
|
2264
2374
|
/**
|
|
2265
|
-
*
|
|
2375
|
+
* Rule end date (YYYY-MM-DD)
|
|
2266
2376
|
*/
|
|
2267
|
-
|
|
2268
|
-
[key: string]: unknown;
|
|
2269
|
-
};
|
|
2377
|
+
endDate?: string;
|
|
2270
2378
|
/**
|
|
2271
|
-
*
|
|
2379
|
+
* Auto-create transaction on expected date
|
|
2272
2380
|
*/
|
|
2273
|
-
|
|
2274
|
-
[key: string]: unknown;
|
|
2275
|
-
};
|
|
2381
|
+
autoCreate: boolean;
|
|
2276
2382
|
/**
|
|
2277
|
-
*
|
|
2383
|
+
* Last matched occurrence date (YYYY-MM-DD)
|
|
2278
2384
|
*/
|
|
2279
|
-
|
|
2385
|
+
lastOccurrence?: string;
|
|
2280
2386
|
/**
|
|
2281
|
-
*
|
|
2387
|
+
* Total matched transactions count
|
|
2282
2388
|
*/
|
|
2283
|
-
|
|
2389
|
+
totalCount: number;
|
|
2284
2390
|
/**
|
|
2285
2391
|
* Created at timestamp
|
|
2286
2392
|
*/
|
|
@@ -2290,434 +2396,396 @@ type ExpectedTransactionResponseDto = {
|
|
|
2290
2396
|
*/
|
|
2291
2397
|
updatedAt: string;
|
|
2292
2398
|
};
|
|
2293
|
-
type
|
|
2294
|
-
items: Array<ExpectedTransactionResponseDto>;
|
|
2295
|
-
/**
|
|
2296
|
-
* Total count
|
|
2297
|
-
*/
|
|
2298
|
-
total: number;
|
|
2299
|
-
};
|
|
2300
|
-
type ConfirmMatchDto = {
|
|
2399
|
+
type CreateRuleFromTransactionDto = {
|
|
2301
2400
|
/**
|
|
2302
|
-
*
|
|
2401
|
+
* Recurring frequency
|
|
2303
2402
|
*/
|
|
2304
|
-
|
|
2305
|
-
};
|
|
2306
|
-
type EnterNowDto = {
|
|
2403
|
+
frequency: 'WEEKLY' | 'BIWEEKLY' | 'MONTHLY' | 'BIMONTHLY' | 'QUARTERLY' | 'YEARLY' | 'CUSTOM';
|
|
2307
2404
|
/**
|
|
2308
|
-
*
|
|
2405
|
+
* Optional name override (default: transaction payee)
|
|
2309
2406
|
*/
|
|
2310
|
-
|
|
2407
|
+
name?: string;
|
|
2311
2408
|
/**
|
|
2312
|
-
*
|
|
2409
|
+
* Optional icon emoji
|
|
2313
2410
|
*/
|
|
2314
|
-
|
|
2411
|
+
icon?: string;
|
|
2412
|
+
};
|
|
2413
|
+
type RecurringRuleWithStatsResponseDto = {
|
|
2315
2414
|
/**
|
|
2316
|
-
*
|
|
2415
|
+
* Rule ID
|
|
2317
2416
|
*/
|
|
2318
|
-
|
|
2417
|
+
id: string;
|
|
2319
2418
|
/**
|
|
2320
|
-
*
|
|
2419
|
+
* User ID
|
|
2321
2420
|
*/
|
|
2322
|
-
|
|
2421
|
+
userId: string;
|
|
2323
2422
|
/**
|
|
2324
|
-
*
|
|
2423
|
+
* Rule name
|
|
2325
2424
|
*/
|
|
2326
|
-
|
|
2327
|
-
};
|
|
2328
|
-
type ForecastItemDto = {
|
|
2425
|
+
name: string;
|
|
2329
2426
|
/**
|
|
2330
|
-
*
|
|
2427
|
+
* Icon emoji
|
|
2331
2428
|
*/
|
|
2332
|
-
|
|
2429
|
+
icon?: string;
|
|
2333
2430
|
/**
|
|
2334
|
-
*
|
|
2431
|
+
* Recurring frequency
|
|
2335
2432
|
*/
|
|
2336
|
-
|
|
2433
|
+
frequency: string;
|
|
2337
2434
|
/**
|
|
2338
2435
|
* Expected amount
|
|
2339
2436
|
*/
|
|
2340
|
-
|
|
2437
|
+
expectedAmount: number;
|
|
2341
2438
|
/**
|
|
2342
|
-
* Expected
|
|
2439
|
+
* Expected day of month
|
|
2343
2440
|
*/
|
|
2344
|
-
|
|
2441
|
+
expectedDay?: number;
|
|
2345
2442
|
/**
|
|
2346
|
-
*
|
|
2443
|
+
* Custom interval in days
|
|
2347
2444
|
*/
|
|
2348
|
-
|
|
2445
|
+
customIntervalDays?: number;
|
|
2349
2446
|
/**
|
|
2350
2447
|
* Currency code
|
|
2351
2448
|
*/
|
|
2352
2449
|
currency: string;
|
|
2353
|
-
};
|
|
2354
|
-
type MonthlyForecastDto = {
|
|
2355
2450
|
/**
|
|
2356
|
-
*
|
|
2451
|
+
* Payee matching pattern
|
|
2357
2452
|
*/
|
|
2358
|
-
|
|
2453
|
+
matchPayeePattern?: string;
|
|
2359
2454
|
/**
|
|
2360
|
-
*
|
|
2455
|
+
* Amount tolerance percentage
|
|
2361
2456
|
*/
|
|
2362
|
-
|
|
2457
|
+
matchAmountTolerance: number;
|
|
2363
2458
|
/**
|
|
2364
|
-
*
|
|
2459
|
+
* Default expense account
|
|
2365
2460
|
*/
|
|
2366
|
-
|
|
2461
|
+
defaultExpenseAccount?: string;
|
|
2367
2462
|
/**
|
|
2368
|
-
*
|
|
2463
|
+
* Default payment account
|
|
2369
2464
|
*/
|
|
2370
|
-
|
|
2371
|
-
[key: string]: unknown;
|
|
2372
|
-
};
|
|
2465
|
+
defaultPaymentAccount?: string;
|
|
2373
2466
|
/**
|
|
2374
|
-
*
|
|
2467
|
+
* Default payee
|
|
2375
2468
|
*/
|
|
2376
|
-
|
|
2377
|
-
};
|
|
2378
|
-
type ForecastResponseDto = {
|
|
2469
|
+
defaultPayee?: string;
|
|
2379
2470
|
/**
|
|
2380
|
-
*
|
|
2471
|
+
* Whether rule is active
|
|
2381
2472
|
*/
|
|
2382
|
-
|
|
2473
|
+
isActive: boolean;
|
|
2383
2474
|
/**
|
|
2384
|
-
*
|
|
2475
|
+
* Rule start date (YYYY-MM-DD)
|
|
2385
2476
|
*/
|
|
2386
|
-
|
|
2477
|
+
startDate: string;
|
|
2387
2478
|
/**
|
|
2388
|
-
*
|
|
2479
|
+
* Rule end date (YYYY-MM-DD)
|
|
2389
2480
|
*/
|
|
2390
|
-
|
|
2391
|
-
[key: string]: unknown;
|
|
2392
|
-
};
|
|
2481
|
+
endDate?: string;
|
|
2393
2482
|
/**
|
|
2394
|
-
*
|
|
2483
|
+
* Auto-create transaction on expected date
|
|
2395
2484
|
*/
|
|
2396
|
-
|
|
2485
|
+
autoCreate: boolean;
|
|
2397
2486
|
/**
|
|
2398
|
-
*
|
|
2487
|
+
* Last matched occurrence date (YYYY-MM-DD)
|
|
2399
2488
|
*/
|
|
2400
|
-
|
|
2489
|
+
lastOccurrence?: string;
|
|
2401
2490
|
/**
|
|
2402
|
-
*
|
|
2491
|
+
* Total matched transactions count
|
|
2403
2492
|
*/
|
|
2404
|
-
|
|
2405
|
-
};
|
|
2406
|
-
type CurrencyBalanceDto = {
|
|
2493
|
+
totalCount: number;
|
|
2407
2494
|
/**
|
|
2408
|
-
*
|
|
2495
|
+
* Created at timestamp
|
|
2409
2496
|
*/
|
|
2410
|
-
|
|
2497
|
+
createdAt: string;
|
|
2411
2498
|
/**
|
|
2412
|
-
*
|
|
2499
|
+
* Updated at timestamp
|
|
2413
2500
|
*/
|
|
2414
|
-
|
|
2415
|
-
};
|
|
2416
|
-
type TimeSeriesPointDto = {
|
|
2501
|
+
updatedAt: string;
|
|
2417
2502
|
/**
|
|
2418
|
-
*
|
|
2503
|
+
* Number of pending expected transactions
|
|
2419
2504
|
*/
|
|
2420
|
-
|
|
2505
|
+
pendingCount: number;
|
|
2421
2506
|
/**
|
|
2422
|
-
*
|
|
2507
|
+
* Number of overdue expected transactions
|
|
2423
2508
|
*/
|
|
2424
|
-
|
|
2509
|
+
overdueCount: number;
|
|
2425
2510
|
/**
|
|
2426
|
-
*
|
|
2511
|
+
* Next expected date (YYYY-MM-DD)
|
|
2427
2512
|
*/
|
|
2428
|
-
|
|
2429
|
-
[key: string]: unknown;
|
|
2430
|
-
};
|
|
2513
|
+
nextExpectedDate?: string;
|
|
2431
2514
|
/**
|
|
2432
|
-
* Total
|
|
2515
|
+
* Total amount of all matched transactions
|
|
2433
2516
|
*/
|
|
2434
|
-
|
|
2517
|
+
totalAmount: number;
|
|
2435
2518
|
/**
|
|
2436
|
-
*
|
|
2519
|
+
* Average amount per transaction
|
|
2437
2520
|
*/
|
|
2438
|
-
|
|
2521
|
+
averageAmount: number;
|
|
2439
2522
|
/**
|
|
2440
|
-
*
|
|
2523
|
+
* Number of matched transactions
|
|
2441
2524
|
*/
|
|
2442
|
-
|
|
2443
|
-
};
|
|
2444
|
-
type TrendSummaryDto = {
|
|
2525
|
+
transactionCount: number;
|
|
2445
2526
|
/**
|
|
2446
|
-
*
|
|
2527
|
+
* First matched transaction date (YYYY-MM-DD)
|
|
2447
2528
|
*/
|
|
2448
|
-
|
|
2529
|
+
firstDate?: string;
|
|
2449
2530
|
/**
|
|
2450
|
-
*
|
|
2531
|
+
* Last matched transaction date (YYYY-MM-DD)
|
|
2451
2532
|
*/
|
|
2452
|
-
|
|
2533
|
+
lastDate?: string;
|
|
2453
2534
|
/**
|
|
2454
|
-
*
|
|
2535
|
+
* Amount variance (standard deviation squared)
|
|
2455
2536
|
*/
|
|
2456
|
-
|
|
2537
|
+
variance: number;
|
|
2457
2538
|
/**
|
|
2458
|
-
*
|
|
2539
|
+
* Number of upcoming expected transactions
|
|
2459
2540
|
*/
|
|
2460
|
-
|
|
2541
|
+
upcomingCount: number;
|
|
2461
2542
|
};
|
|
2462
|
-
type
|
|
2543
|
+
type UpdateRecurringRuleDto = {
|
|
2463
2544
|
/**
|
|
2464
|
-
*
|
|
2545
|
+
* Rule name (unique per user)
|
|
2465
2546
|
*/
|
|
2466
|
-
|
|
2547
|
+
name?: string;
|
|
2467
2548
|
/**
|
|
2468
|
-
*
|
|
2549
|
+
* Icon emoji
|
|
2469
2550
|
*/
|
|
2470
|
-
|
|
2471
|
-
};
|
|
2472
|
-
type PortfolioTrendsResponseDto = {
|
|
2551
|
+
icon?: string;
|
|
2473
2552
|
/**
|
|
2474
|
-
*
|
|
2553
|
+
* Recurring frequency
|
|
2475
2554
|
*/
|
|
2476
|
-
|
|
2555
|
+
frequency?: 'WEEKLY' | 'BIWEEKLY' | 'MONTHLY' | 'BIMONTHLY' | 'QUARTERLY' | 'YEARLY' | 'CUSTOM';
|
|
2477
2556
|
/**
|
|
2478
|
-
*
|
|
2557
|
+
* Expected amount (positive number)
|
|
2479
2558
|
*/
|
|
2480
|
-
|
|
2559
|
+
expectedAmount?: number;
|
|
2481
2560
|
/**
|
|
2482
|
-
*
|
|
2561
|
+
* Expected day of month (1-31)
|
|
2483
2562
|
*/
|
|
2484
|
-
|
|
2563
|
+
expectedDay?: number;
|
|
2485
2564
|
/**
|
|
2486
|
-
*
|
|
2565
|
+
* Currency code
|
|
2487
2566
|
*/
|
|
2488
|
-
|
|
2567
|
+
currency?: string;
|
|
2489
2568
|
/**
|
|
2490
|
-
*
|
|
2569
|
+
* Payee matching pattern (supports wildcards)
|
|
2491
2570
|
*/
|
|
2492
|
-
|
|
2571
|
+
matchPayeePattern?: string;
|
|
2493
2572
|
/**
|
|
2494
|
-
*
|
|
2573
|
+
* Amount tolerance percentage (0-1)
|
|
2495
2574
|
*/
|
|
2496
|
-
|
|
2575
|
+
matchAmountTolerance?: number;
|
|
2497
2576
|
/**
|
|
2498
|
-
*
|
|
2577
|
+
* Default expense account for auto-create
|
|
2499
2578
|
*/
|
|
2500
|
-
|
|
2501
|
-
};
|
|
2502
|
-
type CashFlowPointDto = {
|
|
2579
|
+
defaultExpenseAccount?: string;
|
|
2503
2580
|
/**
|
|
2504
|
-
*
|
|
2581
|
+
* Default payment account for auto-create
|
|
2505
2582
|
*/
|
|
2506
|
-
|
|
2583
|
+
defaultPaymentAccount?: string;
|
|
2507
2584
|
/**
|
|
2508
|
-
*
|
|
2585
|
+
* Default payee for auto-create
|
|
2509
2586
|
*/
|
|
2510
|
-
|
|
2587
|
+
defaultPayee?: string;
|
|
2511
2588
|
/**
|
|
2512
|
-
*
|
|
2589
|
+
* Auto-create transaction when expected date arrives
|
|
2513
2590
|
*/
|
|
2514
|
-
|
|
2591
|
+
autoCreate?: boolean;
|
|
2515
2592
|
/**
|
|
2516
|
-
*
|
|
2593
|
+
* Rule end date (ISO format)
|
|
2517
2594
|
*/
|
|
2518
|
-
|
|
2595
|
+
endDate?: string;
|
|
2596
|
+
/**
|
|
2597
|
+
* Custom interval in days
|
|
2598
|
+
*/
|
|
2599
|
+
customIntervalDays?: number;
|
|
2600
|
+
/**
|
|
2601
|
+
* Rule active status
|
|
2602
|
+
*/
|
|
2603
|
+
isActive?: boolean;
|
|
2519
2604
|
};
|
|
2520
|
-
type
|
|
2605
|
+
type ExpectedTransactionRuleDto = {
|
|
2521
2606
|
/**
|
|
2522
|
-
*
|
|
2607
|
+
* Rule name
|
|
2523
2608
|
*/
|
|
2524
|
-
|
|
2609
|
+
name: string;
|
|
2525
2610
|
/**
|
|
2526
|
-
*
|
|
2611
|
+
* Rule icon
|
|
2527
2612
|
*/
|
|
2528
|
-
|
|
2613
|
+
icon?: string;
|
|
2529
2614
|
/**
|
|
2530
|
-
*
|
|
2615
|
+
* Rule frequency
|
|
2531
2616
|
*/
|
|
2532
|
-
|
|
2617
|
+
frequency: string;
|
|
2533
2618
|
/**
|
|
2534
|
-
*
|
|
2619
|
+
* Currency code
|
|
2535
2620
|
*/
|
|
2536
|
-
|
|
2621
|
+
currency: string;
|
|
2537
2622
|
};
|
|
2538
|
-
type
|
|
2623
|
+
type ExpectedTransactionResponseDto = {
|
|
2539
2624
|
/**
|
|
2540
|
-
*
|
|
2625
|
+
* Expected transaction ID
|
|
2541
2626
|
*/
|
|
2542
|
-
|
|
2627
|
+
id: string;
|
|
2543
2628
|
/**
|
|
2544
|
-
*
|
|
2629
|
+
* User ID
|
|
2545
2630
|
*/
|
|
2546
|
-
|
|
2631
|
+
userId: string;
|
|
2547
2632
|
/**
|
|
2548
|
-
*
|
|
2633
|
+
* Associated rule ID
|
|
2549
2634
|
*/
|
|
2550
|
-
|
|
2635
|
+
ruleId: string;
|
|
2551
2636
|
/**
|
|
2552
|
-
*
|
|
2637
|
+
* Expected date (YYYY-MM-DD)
|
|
2553
2638
|
*/
|
|
2554
|
-
|
|
2639
|
+
expectedDate: string;
|
|
2555
2640
|
/**
|
|
2556
|
-
*
|
|
2641
|
+
* Expected amount
|
|
2557
2642
|
*/
|
|
2558
|
-
|
|
2643
|
+
expectedAmount: number;
|
|
2559
2644
|
/**
|
|
2560
|
-
*
|
|
2645
|
+
* Status (PENDING, COMPLETED, SKIPPED)
|
|
2561
2646
|
*/
|
|
2562
|
-
|
|
2563
|
-
};
|
|
2564
|
-
type GenerateSnapshotBody = unknown;
|
|
2565
|
-
type GenerateSnapshotResponse = unknown;
|
|
2566
|
-
type BackfillSnapshotsBody = unknown;
|
|
2567
|
-
type BackfillSnapshotsResponse = unknown;
|
|
2568
|
-
type DeleteOwnUserDto = {
|
|
2647
|
+
status: string;
|
|
2569
2648
|
/**
|
|
2570
|
-
*
|
|
2649
|
+
* Matched transaction ID
|
|
2571
2650
|
*/
|
|
2572
|
-
|
|
2573
|
-
};
|
|
2574
|
-
type UserSettingsResponseDto = {
|
|
2651
|
+
matchedTransactionId?: string;
|
|
2575
2652
|
/**
|
|
2576
|
-
*
|
|
2653
|
+
* Match timestamp (ISO 8601)
|
|
2577
2654
|
*/
|
|
2578
|
-
|
|
2579
|
-
};
|
|
2580
|
-
type UserResponseDto = {
|
|
2655
|
+
matchedAt?: string;
|
|
2581
2656
|
/**
|
|
2582
|
-
*
|
|
2657
|
+
* Match confidence score (0-1)
|
|
2583
2658
|
*/
|
|
2584
|
-
|
|
2659
|
+
matchConfidence?: number;
|
|
2585
2660
|
/**
|
|
2586
|
-
*
|
|
2661
|
+
* Whether this expected transaction is overdue
|
|
2587
2662
|
*/
|
|
2588
|
-
|
|
2663
|
+
isOverdue: boolean;
|
|
2589
2664
|
/**
|
|
2590
|
-
*
|
|
2665
|
+
* Rule information
|
|
2591
2666
|
*/
|
|
2592
|
-
|
|
2667
|
+
rule: ExpectedTransactionRuleDto;
|
|
2593
2668
|
/**
|
|
2594
|
-
*
|
|
2669
|
+
* Created at timestamp
|
|
2595
2670
|
*/
|
|
2596
|
-
|
|
2597
|
-
};
|
|
2598
|
-
type SignupDto = {
|
|
2671
|
+
createdAt: string;
|
|
2599
2672
|
/**
|
|
2600
|
-
*
|
|
2673
|
+
* Updated at timestamp
|
|
2601
2674
|
*/
|
|
2602
|
-
|
|
2675
|
+
updatedAt: string;
|
|
2603
2676
|
};
|
|
2604
|
-
type
|
|
2605
|
-
|
|
2606
|
-
* JWT auth token
|
|
2607
|
-
*/
|
|
2608
|
-
authToken: string;
|
|
2677
|
+
type ExpectedTransactionListResponseDto = {
|
|
2678
|
+
items: Array<ExpectedTransactionResponseDto>;
|
|
2609
2679
|
/**
|
|
2610
|
-
*
|
|
2680
|
+
* Total count
|
|
2611
2681
|
*/
|
|
2612
|
-
|
|
2682
|
+
total: number;
|
|
2683
|
+
};
|
|
2684
|
+
type ConfirmMatchDto = {
|
|
2613
2685
|
/**
|
|
2614
|
-
*
|
|
2686
|
+
* Transaction ID to match with
|
|
2615
2687
|
*/
|
|
2616
|
-
|
|
2688
|
+
transactionId: string;
|
|
2617
2689
|
};
|
|
2618
|
-
|
|
2619
|
-
* Assigned user role
|
|
2620
|
-
*/
|
|
2621
|
-
type role = 'USER' | 'ADMIN' | 'DEMO' | 'INACTIVE' | 'PAID' | 'OPS';
|
|
2622
|
-
type UpdateUserSettingDto = {
|
|
2690
|
+
type EnterNowDto = {
|
|
2623
2691
|
/**
|
|
2624
|
-
*
|
|
2692
|
+
* Override expense account (uses rule default if not provided)
|
|
2625
2693
|
*/
|
|
2626
|
-
|
|
2694
|
+
expenseAccount?: string;
|
|
2627
2695
|
/**
|
|
2628
|
-
*
|
|
2696
|
+
* Override payment account (uses rule default if not provided)
|
|
2629
2697
|
*/
|
|
2630
|
-
|
|
2698
|
+
paymentAccount?: string;
|
|
2631
2699
|
/**
|
|
2632
|
-
*
|
|
2700
|
+
* Override amount (uses expected amount if not provided)
|
|
2633
2701
|
*/
|
|
2634
|
-
|
|
2702
|
+
amount?: number;
|
|
2635
2703
|
/**
|
|
2636
|
-
*
|
|
2704
|
+
* Override payee (uses rule default if not provided)
|
|
2637
2705
|
*/
|
|
2638
|
-
|
|
2706
|
+
payee?: string;
|
|
2639
2707
|
/**
|
|
2640
|
-
*
|
|
2708
|
+
* Optional narration
|
|
2641
2709
|
*/
|
|
2642
|
-
|
|
2710
|
+
narration?: string;
|
|
2711
|
+
};
|
|
2712
|
+
type ForecastItemDto = {
|
|
2643
2713
|
/**
|
|
2644
|
-
*
|
|
2714
|
+
* Rule name
|
|
2645
2715
|
*/
|
|
2646
|
-
|
|
2716
|
+
rule: string;
|
|
2647
2717
|
/**
|
|
2648
|
-
*
|
|
2718
|
+
* Rule ID
|
|
2649
2719
|
*/
|
|
2650
|
-
|
|
2720
|
+
ruleId: string;
|
|
2651
2721
|
/**
|
|
2652
|
-
*
|
|
2722
|
+
* Expected amount
|
|
2653
2723
|
*/
|
|
2654
|
-
|
|
2724
|
+
amount: number;
|
|
2655
2725
|
/**
|
|
2656
|
-
*
|
|
2726
|
+
* Expected date (YYYY-MM-DD)
|
|
2657
2727
|
*/
|
|
2658
|
-
|
|
2728
|
+
date: string;
|
|
2659
2729
|
/**
|
|
2660
|
-
*
|
|
2730
|
+
* Rule icon emoji
|
|
2661
2731
|
*/
|
|
2662
|
-
|
|
2732
|
+
icon: string | null;
|
|
2663
2733
|
/**
|
|
2664
|
-
*
|
|
2734
|
+
* Currency code
|
|
2665
2735
|
*/
|
|
2666
|
-
|
|
2736
|
+
currency: string;
|
|
2737
|
+
};
|
|
2738
|
+
type MonthlyForecastDto = {
|
|
2667
2739
|
/**
|
|
2668
|
-
*
|
|
2740
|
+
* Month (YYYY-MM)
|
|
2669
2741
|
*/
|
|
2670
|
-
|
|
2742
|
+
month: string;
|
|
2671
2743
|
/**
|
|
2672
|
-
*
|
|
2744
|
+
* Total expected outflow for the month
|
|
2673
2745
|
*/
|
|
2674
|
-
|
|
2746
|
+
expectedOutflow: number;
|
|
2675
2747
|
/**
|
|
2676
|
-
*
|
|
2748
|
+
* Number of expected transactions
|
|
2677
2749
|
*/
|
|
2678
|
-
|
|
2750
|
+
itemCount: number;
|
|
2679
2751
|
/**
|
|
2680
|
-
*
|
|
2752
|
+
* Breakdown by currency
|
|
2681
2753
|
*/
|
|
2682
|
-
|
|
2754
|
+
byCurrency: {
|
|
2755
|
+
[key: string]: unknown;
|
|
2756
|
+
};
|
|
2683
2757
|
/**
|
|
2684
|
-
*
|
|
2758
|
+
* Individual forecast items
|
|
2685
2759
|
*/
|
|
2686
|
-
|
|
2760
|
+
items: Array<ForecastItemDto>;
|
|
2761
|
+
};
|
|
2762
|
+
type ForecastResponseDto = {
|
|
2687
2763
|
/**
|
|
2688
|
-
*
|
|
2764
|
+
* Monthly forecast data
|
|
2689
2765
|
*/
|
|
2690
|
-
|
|
2766
|
+
forecast: Array<MonthlyForecastDto>;
|
|
2691
2767
|
/**
|
|
2692
|
-
*
|
|
2768
|
+
* Total expected outflow across all months
|
|
2693
2769
|
*/
|
|
2694
|
-
|
|
2770
|
+
totalOutflow: number;
|
|
2695
2771
|
/**
|
|
2696
|
-
*
|
|
2772
|
+
* Total by currency across all months
|
|
2697
2773
|
*/
|
|
2698
|
-
|
|
2774
|
+
totalByCurrency: {
|
|
2775
|
+
[key: string]: unknown;
|
|
2776
|
+
};
|
|
2699
2777
|
/**
|
|
2700
|
-
*
|
|
2778
|
+
* Number of active recurring rules included
|
|
2701
2779
|
*/
|
|
2702
|
-
|
|
2780
|
+
rulesCount: number;
|
|
2703
2781
|
/**
|
|
2704
|
-
*
|
|
2782
|
+
* Forecast period start date
|
|
2705
2783
|
*/
|
|
2706
|
-
|
|
2707
|
-
};
|
|
2708
|
-
/**
|
|
2709
|
-
* Color scheme
|
|
2710
|
-
*/
|
|
2711
|
-
type colorScheme = 'DARK' | 'LIGHT';
|
|
2712
|
-
/**
|
|
2713
|
-
* View mode
|
|
2714
|
-
*/
|
|
2715
|
-
type viewMode = 'DEFAULT' | 'ZEN';
|
|
2716
|
-
type UpdatePropertyDto = {
|
|
2784
|
+
periodStart: string;
|
|
2717
2785
|
/**
|
|
2718
|
-
*
|
|
2786
|
+
* Forecast period end date
|
|
2719
2787
|
*/
|
|
2720
|
-
|
|
2788
|
+
periodEnd: string;
|
|
2721
2789
|
};
|
|
2722
2790
|
type CreateTransactionRuleDto = {
|
|
2723
2791
|
name: string;
|
|
@@ -3021,14 +3089,14 @@ type UpdateTransactionRuleDto = {
|
|
|
3021
3089
|
*/
|
|
3022
3090
|
amountMax?: number;
|
|
3023
3091
|
priority?: number;
|
|
3024
|
-
/**
|
|
3025
|
-
* Enable or disable the rule
|
|
3026
|
-
*/
|
|
3027
|
-
enabled?: boolean;
|
|
3028
3092
|
additionalTags?: Array<unknown[]>;
|
|
3029
3093
|
additionalMetadata?: {
|
|
3030
3094
|
[key: string]: unknown;
|
|
3031
3095
|
};
|
|
3096
|
+
/**
|
|
3097
|
+
* Enable or disable the rule
|
|
3098
|
+
*/
|
|
3099
|
+
enabled?: boolean;
|
|
3032
3100
|
};
|
|
3033
3101
|
type TestRuleDto = {
|
|
3034
3102
|
narration: string;
|
|
@@ -3674,12 +3742,82 @@ type ExternalAccountLinkListResponseDto = {
|
|
|
3674
3742
|
items: Array<ExternalAccountLinkResponseDto>;
|
|
3675
3743
|
total: number;
|
|
3676
3744
|
/**
|
|
3677
|
-
* Filter by provider (query param)
|
|
3745
|
+
* Filter by provider (query param)
|
|
3746
|
+
*/
|
|
3747
|
+
provider?: string;
|
|
3748
|
+
};
|
|
3749
|
+
type ParserTelemetryReportDto = unknown;
|
|
3750
|
+
type UncoveredFormatMissDto = unknown;
|
|
3751
|
+
type ClientParsedDataDto = {
|
|
3752
|
+
/**
|
|
3753
|
+
* Transaction amount
|
|
3754
|
+
*/
|
|
3755
|
+
amount?: number;
|
|
3756
|
+
/**
|
|
3757
|
+
* Currency code
|
|
3758
|
+
*/
|
|
3759
|
+
currency?: string;
|
|
3760
|
+
/**
|
|
3761
|
+
* Transaction date (ISO 8601)
|
|
3762
|
+
*/
|
|
3763
|
+
date?: string;
|
|
3764
|
+
/**
|
|
3765
|
+
* Payee/merchant name
|
|
3766
|
+
*/
|
|
3767
|
+
payee?: string;
|
|
3768
|
+
/**
|
|
3769
|
+
* Transaction narration
|
|
3770
|
+
*/
|
|
3771
|
+
narration?: string;
|
|
3772
|
+
/**
|
|
3773
|
+
* Category slug
|
|
3774
|
+
*/
|
|
3775
|
+
category?: string;
|
|
3776
|
+
/**
|
|
3777
|
+
* Income type
|
|
3778
|
+
*/
|
|
3779
|
+
incomeType?: string;
|
|
3780
|
+
/**
|
|
3781
|
+
* Income source
|
|
3782
|
+
*/
|
|
3783
|
+
incomeSource?: string;
|
|
3784
|
+
/**
|
|
3785
|
+
* Security symbol code (e.g., 600519, AAPL)
|
|
3786
|
+
*/
|
|
3787
|
+
symbol?: string;
|
|
3788
|
+
/**
|
|
3789
|
+
* Quantity of shares/units
|
|
3790
|
+
*/
|
|
3791
|
+
quantity?: number;
|
|
3792
|
+
/**
|
|
3793
|
+
* Unit price per share/unit
|
|
3794
|
+
*/
|
|
3795
|
+
price?: number;
|
|
3796
|
+
/**
|
|
3797
|
+
* Investment action
|
|
3798
|
+
*/
|
|
3799
|
+
investmentAction?: 'buy' | 'sell';
|
|
3800
|
+
/**
|
|
3801
|
+
* Payment source: asset (default) or liability (credit card)
|
|
3678
3802
|
*/
|
|
3679
|
-
|
|
3803
|
+
paymentSource?: 'asset' | 'liability';
|
|
3804
|
+
/**
|
|
3805
|
+
* Liability account hint (CreditCard/Huabei/Baitiao)
|
|
3806
|
+
*/
|
|
3807
|
+
liabilityHint?: string;
|
|
3808
|
+
/**
|
|
3809
|
+
* Display-only warning from the prior response; accepted but ignored.
|
|
3810
|
+
*/
|
|
3811
|
+
warning?: string;
|
|
3680
3812
|
};
|
|
3681
|
-
|
|
3682
|
-
|
|
3813
|
+
/**
|
|
3814
|
+
* Investment action
|
|
3815
|
+
*/
|
|
3816
|
+
type investmentAction = 'buy' | 'sell';
|
|
3817
|
+
/**
|
|
3818
|
+
* Payment source: asset (default) or liability (credit card)
|
|
3819
|
+
*/
|
|
3820
|
+
type paymentSource = 'asset' | 'liability';
|
|
3683
3821
|
type ProcessNlpDto = {
|
|
3684
3822
|
/**
|
|
3685
3823
|
* Natural language text describing a transaction. Optional when `confirm` is true (structured confirm); otherwise required.
|
|
@@ -3696,18 +3834,32 @@ type ProcessNlpDto = {
|
|
|
3696
3834
|
/**
|
|
3697
3835
|
* Parsed data from previous NLP response for session recovery. Send back the parsedData received in confirm_payee/confirm responses.
|
|
3698
3836
|
*/
|
|
3699
|
-
parsedData?:
|
|
3700
|
-
[key: string]: unknown;
|
|
3701
|
-
};
|
|
3837
|
+
parsedData?: ClientParsedDataDto;
|
|
3702
3838
|
/**
|
|
3703
3839
|
* confirm_rule echo-back: rule id selected from the prior confirm_rule response (matchedRule.id or alternatives[i].ruleId). Applied directly when the session is confirming_rule — no NL re-parse.
|
|
3704
3840
|
*/
|
|
3705
3841
|
selectedRuleId?: string;
|
|
3706
3842
|
/**
|
|
3707
|
-
* confirm_account echo-back: account path selected from the prior confirm_account response (suggestedAccount, similarAccounts[i], or a typed path). Applied directly when the session is confirming_account — no NL re-parse.
|
|
3843
|
+
* confirm_account echo-back: account path selected from the prior confirm_account response (suggestedAccount, similarAccounts[i].path, or a typed path). Applied directly when the session is confirming_account — no NL re-parse.
|
|
3708
3844
|
*/
|
|
3709
3845
|
selectedAccount?: string;
|
|
3846
|
+
/**
|
|
3847
|
+
* Viewpoint account hint: the beancount path the user drilled into (e.g. from an account drill-down). Tie-break only — never overrides accounts resolved from the text. Must be an owned, OPEN Assets:/Liabilities: account; unresolvable hints are silently ignored.
|
|
3848
|
+
*/
|
|
3849
|
+
viewpointAccount?: string;
|
|
3850
|
+
/**
|
|
3851
|
+
* Viewpoint category hint: the ADR-0075 Group segment the user drilled into (e.g. 'Food'). Resolved to a concrete OPEN account in that group; tie-break only — never overrides a category resolved from the text.
|
|
3852
|
+
*/
|
|
3853
|
+
viewpointCategory?: string;
|
|
3854
|
+
/**
|
|
3855
|
+
* Companion flow root for viewpointCategory ('income' | 'expense'), mirroring the ADR-0126 list-endpoint invariant. Derived from the session's routed intent (multi-turn) when absent; a first-turn flow-less category hint is dropped — send the flow explicitly.
|
|
3856
|
+
*/
|
|
3857
|
+
viewpointFlow?: 'income' | 'expense';
|
|
3710
3858
|
};
|
|
3859
|
+
/**
|
|
3860
|
+
* Companion flow root for viewpointCategory ('income' | 'expense'), mirroring the ADR-0126 list-endpoint invariant. Derived from the session's routed intent (multi-turn) when absent; a first-turn flow-less category hint is dropped — send the flow explicitly.
|
|
3861
|
+
*/
|
|
3862
|
+
type viewpointFlow = 'income' | 'expense';
|
|
3711
3863
|
type NlpTransactionInfoDto = {
|
|
3712
3864
|
/**
|
|
3713
3865
|
* Transaction ID
|
|
@@ -3800,14 +3952,6 @@ type NlpParsedDataDto = {
|
|
|
3800
3952
|
*/
|
|
3801
3953
|
warning?: string;
|
|
3802
3954
|
};
|
|
3803
|
-
/**
|
|
3804
|
-
* Investment action
|
|
3805
|
-
*/
|
|
3806
|
-
type investmentAction = 'buy' | 'sell';
|
|
3807
|
-
/**
|
|
3808
|
-
* Payment source: asset (default) or liability (credit card)
|
|
3809
|
-
*/
|
|
3810
|
-
type paymentSource = 'asset' | 'liability';
|
|
3811
3955
|
type NlpSourceTransactionDto = {
|
|
3812
3956
|
/**
|
|
3813
3957
|
* Transaction date (ISO format)
|
|
@@ -3934,6 +4078,16 @@ type NlpRuleConfirmationDataDto = {
|
|
|
3934
4078
|
*/
|
|
3935
4079
|
reasons: Array<string>;
|
|
3936
4080
|
};
|
|
4081
|
+
type NlpAccountCandidateDto = {
|
|
4082
|
+
/**
|
|
4083
|
+
* Canonical beancount account path (echo back on selection)
|
|
4084
|
+
*/
|
|
4085
|
+
path: string;
|
|
4086
|
+
/**
|
|
4087
|
+
* Localized display name (ADR-0114 read-time projection, user locale)
|
|
4088
|
+
*/
|
|
4089
|
+
name: string;
|
|
4090
|
+
};
|
|
3937
4091
|
type NlpAccountConfirmationDataDto = {
|
|
3938
4092
|
/**
|
|
3939
4093
|
* The invalid account name
|
|
@@ -3944,9 +4098,9 @@ type NlpAccountConfirmationDataDto = {
|
|
|
3944
4098
|
*/
|
|
3945
4099
|
suggestedAccount?: string;
|
|
3946
4100
|
/**
|
|
3947
|
-
* Similar accounts for user selection
|
|
4101
|
+
* Similar accounts for user selection (path + localized name, #680)
|
|
3948
4102
|
*/
|
|
3949
|
-
similarAccounts: Array<
|
|
4103
|
+
similarAccounts: Array<NlpAccountCandidateDto>;
|
|
3950
4104
|
/**
|
|
3951
4105
|
* Error message explaining the issue
|
|
3952
4106
|
*/
|
|
@@ -4112,7 +4266,7 @@ type NlpResponseDto = {
|
|
|
4112
4266
|
/**
|
|
4113
4267
|
* Asset sub-type (only present when intent is "asset"). Determines which asset-related form to render.
|
|
4114
4268
|
*/
|
|
4115
|
-
assetSubType?: 'transfer' | 'banking' | 'investment';
|
|
4269
|
+
assetSubType?: 'transfer' | 'banking' | 'investment' | 'lend' | 'lend_collect';
|
|
4116
4270
|
/**
|
|
4117
4271
|
* Liability sub-type (only present when intent is "liability"). borrow: borrowing money (Liabilities → Assets), repay: repaying debt (Assets → Liabilities).
|
|
4118
4272
|
*/
|
|
@@ -4216,7 +4370,7 @@ type intent = 'expense' | 'asset' | 'income' | 'liability' | 'equity';
|
|
|
4216
4370
|
/**
|
|
4217
4371
|
* Asset sub-type (only present when intent is "asset"). Determines which asset-related form to render.
|
|
4218
4372
|
*/
|
|
4219
|
-
type assetSubType = 'transfer' | 'banking' | 'investment';
|
|
4373
|
+
type assetSubType = 'transfer' | 'banking' | 'investment' | 'lend' | 'lend_collect';
|
|
4220
4374
|
/**
|
|
4221
4375
|
* Liability sub-type (only present when intent is "liability"). borrow: borrowing money (Liabilities → Assets), repay: repaying debt (Assets → Liabilities).
|
|
4222
4376
|
*/
|
|
@@ -4270,7 +4424,7 @@ type PlatformListItemDto = {
|
|
|
4270
4424
|
/**
|
|
4271
4425
|
* Platform type
|
|
4272
4426
|
*/
|
|
4273
|
-
type
|
|
4427
|
+
type type4 = 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
|
|
4274
4428
|
type PlatformMatchResultDto = {
|
|
4275
4429
|
/**
|
|
4276
4430
|
* Global platform ID
|
|
@@ -4335,6 +4489,46 @@ type PlatformMatchResponseDto = {
|
|
|
4335
4489
|
* Overall match quality — top row's tier, or 'none' when no hits
|
|
4336
4490
|
*/
|
|
4337
4491
|
type matchType2 = 'none' | 'exact' | 'prefix' | 'substring';
|
|
4492
|
+
type PlatformStandardsPlatformDto = {
|
|
4493
|
+
/**
|
|
4494
|
+
* Global platform ID
|
|
4495
|
+
*/
|
|
4496
|
+
id: string;
|
|
4497
|
+
/**
|
|
4498
|
+
* Platform name (e.g., "ICBC")
|
|
4499
|
+
*/
|
|
4500
|
+
name: string;
|
|
4501
|
+
/**
|
|
4502
|
+
* Canonical identifier in ACCOUNT_RE format (e.g., "icbc")
|
|
4503
|
+
*/
|
|
4504
|
+
canonical: string;
|
|
4505
|
+
/**
|
|
4506
|
+
* Suggested path segment — canonical PascalCased per hyphen-part, hyphens preserved (e.g. "Apple-Pay")
|
|
4507
|
+
*/
|
|
4508
|
+
suggestedSegment: string;
|
|
4509
|
+
/**
|
|
4510
|
+
* Platform type
|
|
4511
|
+
*/
|
|
4512
|
+
type: 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
|
|
4513
|
+
/**
|
|
4514
|
+
* Region-aware category (institution vocab, e.g. DigitalWallet/Bank) resolved against the final region. null = no region-aware suggestion; fall back to type.
|
|
4515
|
+
*/
|
|
4516
|
+
category: string | null;
|
|
4517
|
+
};
|
|
4518
|
+
type PlatformStandardsResponseDto = {
|
|
4519
|
+
/**
|
|
4520
|
+
* The selected platform (institution lock source)
|
|
4521
|
+
*/
|
|
4522
|
+
platform: PlatformStandardsPlatformDto;
|
|
4523
|
+
/**
|
|
4524
|
+
* Resolved template region (ISO 3166-1 alpha-2, UPPERCASE): the platform's own countryCode when set, else the region query param. For regions without a regional template file the template list falls back to the universal-only catalog while region still echoes the code.
|
|
4525
|
+
*/
|
|
4526
|
+
region: string;
|
|
4527
|
+
/**
|
|
4528
|
+
* Candidate account-standard templates of the resolved region (groupable by productCategory client-side)
|
|
4529
|
+
*/
|
|
4530
|
+
templates: Array<AccountStandardResponseDto>;
|
|
4531
|
+
};
|
|
4338
4532
|
type CreatePlatformDto = {
|
|
4339
4533
|
/**
|
|
4340
4534
|
* Platform name
|
|
@@ -4511,11 +4705,11 @@ type PlatformGroupDto = {
|
|
|
4511
4705
|
*/
|
|
4512
4706
|
platformName: string;
|
|
4513
4707
|
/**
|
|
4514
|
-
* Accounts within this platform
|
|
4708
|
+
* Accounts within this platform (Assets and Liabilities rows, #696)
|
|
4515
4709
|
*/
|
|
4516
4710
|
accounts: Array<AccountItemDto>;
|
|
4517
4711
|
/**
|
|
4518
|
-
* FX-converted total balance in base currency
|
|
4712
|
+
* FX-converted total balance in base currency (nets Assets + Liabilities rows; can be negative)
|
|
4519
4713
|
*/
|
|
4520
4714
|
totalBalance: string;
|
|
4521
4715
|
/**
|
|
@@ -4527,7 +4721,7 @@ type PlatformGroupDto = {
|
|
|
4527
4721
|
*/
|
|
4528
4722
|
convertedBalance?: string;
|
|
4529
4723
|
/**
|
|
4530
|
-
* Share of the grand
|
|
4724
|
+
* Share of the converted asset-side grand total (0-100); liability balances are excluded from the basis; 0 when grand total is 0 (#696)
|
|
4531
4725
|
*/
|
|
4532
4726
|
sharePct: number;
|
|
4533
4727
|
};
|
|
@@ -4551,7 +4745,7 @@ type AccountExchangeRateWarningDto = {
|
|
|
4551
4745
|
};
|
|
4552
4746
|
type AccountsSummaryDto = {
|
|
4553
4747
|
/**
|
|
4554
|
-
* Total number of accounts
|
|
4748
|
+
* Total number of accounts (balance sheet: Assets + Liabilities, #696)
|
|
4555
4749
|
*/
|
|
4556
4750
|
totalAccounts: number;
|
|
4557
4751
|
/**
|
|
@@ -4873,9 +5067,7 @@ type MonetaryDto = {
|
|
|
4873
5067
|
/**
|
|
4874
5068
|
* Converted to user base currency (Decimal string)
|
|
4875
5069
|
*/
|
|
4876
|
-
baseCcyEquivalent?:
|
|
4877
|
-
[key: string]: unknown;
|
|
4878
|
-
} | null;
|
|
5070
|
+
baseCcyEquivalent?: string | null;
|
|
4879
5071
|
};
|
|
4880
5072
|
type CurrentPriceDto = {
|
|
4881
5073
|
/**
|
|
@@ -4923,15 +5115,11 @@ type HoldingPnlRowDto = {
|
|
|
4923
5115
|
/**
|
|
4924
5116
|
* Account settlement currency (ISO 4217), from cost currency
|
|
4925
5117
|
*/
|
|
4926
|
-
accountCcy?:
|
|
4927
|
-
[key: string]: unknown;
|
|
4928
|
-
} | null;
|
|
5118
|
+
accountCcy?: string | null;
|
|
4929
5119
|
/**
|
|
4930
5120
|
* Broker type derived from Platform.type
|
|
4931
5121
|
*/
|
|
4932
|
-
brokerType?:
|
|
4933
|
-
[key: string]: unknown;
|
|
4934
|
-
} | null;
|
|
5122
|
+
brokerType?: string | null;
|
|
4935
5123
|
/**
|
|
4936
5124
|
* Commodity symbol
|
|
4937
5125
|
*/
|
|
@@ -4941,9 +5129,7 @@ type HoldingPnlRowDto = {
|
|
|
4941
5129
|
*/
|
|
4942
5130
|
chartToken: 'equity' | 'fund' | 'bond' | 'cash' | 'other';
|
|
4943
5131
|
assetClass: string;
|
|
4944
|
-
assetSubClass?:
|
|
4945
|
-
[key: string]: unknown;
|
|
4946
|
-
} | null;
|
|
5132
|
+
assetSubClass?: string | null;
|
|
4947
5133
|
/**
|
|
4948
5134
|
* Net held units (Decimal string)
|
|
4949
5135
|
*/
|
|
@@ -4967,15 +5153,11 @@ type HoldingPnlRowDto = {
|
|
|
4967
5153
|
/**
|
|
4968
5154
|
* Unrealized P&L in base currency (Decimal string); null when any FX/price missing
|
|
4969
5155
|
*/
|
|
4970
|
-
unrealizedPnlBase?:
|
|
4971
|
-
[key: string]: unknown;
|
|
4972
|
-
} | null;
|
|
5156
|
+
unrealizedPnlBase?: string | null;
|
|
4973
5157
|
/**
|
|
4974
5158
|
* Unrealized P&L % (Decimal string)
|
|
4975
5159
|
*/
|
|
4976
|
-
unrealizedPnlPct?:
|
|
4977
|
-
[key: string]: unknown;
|
|
4978
|
-
} | null;
|
|
5160
|
+
unrealizedPnlPct?: string | null;
|
|
4979
5161
|
/**
|
|
4980
5162
|
* Historical FX rate applied to cost basis
|
|
4981
5163
|
*/
|
|
@@ -4987,9 +5169,7 @@ type HoldingPnlRowDto = {
|
|
|
4987
5169
|
/**
|
|
4988
5170
|
* Share of invested assets % (Decimal string); only for invested chartTokens
|
|
4989
5171
|
*/
|
|
4990
|
-
pctOfInvestedAssets?:
|
|
4991
|
-
[key: string]: unknown;
|
|
4992
|
-
} | null;
|
|
5172
|
+
pctOfInvestedAssets?: string | null;
|
|
4993
5173
|
/**
|
|
4994
5174
|
* Cumulative realized P&L on sold lots (asOf-date cutoff); null when the method has no applicable sells, a sell lacks a price, or any required FX rate is missing (never-mix). When a sell spans multiple currencies (cross-currency sale), amount and currency reflect the base currency; baseCcyEquivalent is always the authoritative dual-FX figure
|
|
4995
5175
|
*/
|
|
@@ -5004,20 +5184,14 @@ type HoldingPnlWarningDto = {
|
|
|
5004
5184
|
* Warning type
|
|
5005
5185
|
*/
|
|
5006
5186
|
type: 'MISSING_COST_FX_RATE' | 'MISSING_MARKET_FX_RATE' | 'MISSING_SALE_PRICE' | 'MISSING_REALIZED_FX_RATE' | 'OVERSOLD_LOTS' | 'NO_PRICE' | 'MIXED_COST_CURRENCY';
|
|
5007
|
-
symbol?:
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
accountId?: {
|
|
5011
|
-
[key: string]: unknown;
|
|
5012
|
-
} | null;
|
|
5013
|
-
currency?: {
|
|
5014
|
-
[key: string]: unknown;
|
|
5015
|
-
} | null;
|
|
5187
|
+
symbol?: string | null;
|
|
5188
|
+
accountId?: string | null;
|
|
5189
|
+
currency?: string | null;
|
|
5016
5190
|
};
|
|
5017
5191
|
/**
|
|
5018
5192
|
* Warning type
|
|
5019
5193
|
*/
|
|
5020
|
-
type
|
|
5194
|
+
type type5 = 'MISSING_COST_FX_RATE' | 'MISSING_MARKET_FX_RATE' | 'MISSING_SALE_PRICE' | 'MISSING_REALIZED_FX_RATE' | 'OVERSOLD_LOTS' | 'NO_PRICE' | 'MIXED_COST_CURRENCY';
|
|
5021
5195
|
type HoldingPnlResponseDto = {
|
|
5022
5196
|
asOfDate: string;
|
|
5023
5197
|
baseCurrency: string;
|
|
@@ -5044,131 +5218,162 @@ type AnonymousLoginResponseDto = {
|
|
|
5044
5218
|
*/
|
|
5045
5219
|
authToken: string;
|
|
5046
5220
|
};
|
|
5221
|
+
type ParserContributionMetaDto = {
|
|
5222
|
+
/**
|
|
5223
|
+
* Institution slug (lowercase kebab-case)
|
|
5224
|
+
*/
|
|
5225
|
+
institution: string;
|
|
5226
|
+
region: 'cn' | 'us' | 'de' | 'fr' | 'gb' | 'hk' | 'jp' | 'sg' | 'au' | 'ca' | 'other';
|
|
5227
|
+
accountType: 'checking' | 'savings' | 'credit' | 'debit' | 'investment';
|
|
5228
|
+
format: 'csv' | 'xlsx' | 'pdf' | 'ofx' | 'qif';
|
|
5229
|
+
institutionDisplayName?: string;
|
|
5230
|
+
encoding?: string;
|
|
5231
|
+
/**
|
|
5232
|
+
* CSV delimiter character: ",", ";", "\t" or "|"
|
|
5233
|
+
*/
|
|
5234
|
+
delimiter?: string;
|
|
5235
|
+
/**
|
|
5236
|
+
* Header row count; the client omits the field when it is 1
|
|
5237
|
+
*/
|
|
5238
|
+
headerRows?: number;
|
|
5239
|
+
notes?: string;
|
|
5240
|
+
};
|
|
5241
|
+
type region = 'cn' | 'us' | 'de' | 'fr' | 'gb' | 'hk' | 'jp' | 'sg' | 'au' | 'ca' | 'other';
|
|
5242
|
+
type accountType = 'checking' | 'savings' | 'credit' | 'debit' | 'investment';
|
|
5243
|
+
type format = 'csv' | 'xlsx' | 'pdf' | 'ofx' | 'qif';
|
|
5244
|
+
type ParserContributionSamplesDto = {
|
|
5245
|
+
/**
|
|
5246
|
+
* Client-sanitized sample rows (key = column name, value = cell)
|
|
5247
|
+
*/
|
|
5248
|
+
rows: Array<{
|
|
5249
|
+
[key: string]: unknown;
|
|
5250
|
+
}>;
|
|
5251
|
+
rawHeaders?: Array<string>;
|
|
5252
|
+
};
|
|
5253
|
+
type FieldHintDto = {
|
|
5254
|
+
columnName: string;
|
|
5255
|
+
/**
|
|
5256
|
+
* Date format, e.g. yyyy-MM-dd HH:mm
|
|
5257
|
+
*/
|
|
5258
|
+
format?: string;
|
|
5259
|
+
signConvention?: 'negative-expense' | 'positive-expense' | 'separate-columns';
|
|
5260
|
+
creditColumn?: string;
|
|
5261
|
+
debitColumn?: string;
|
|
5262
|
+
};
|
|
5263
|
+
type signConvention = 'negative-expense' | 'positive-expense' | 'separate-columns';
|
|
5264
|
+
type ParserContributionFieldHintsDto = {
|
|
5265
|
+
date: FieldHintDto;
|
|
5266
|
+
amount: FieldHintDto;
|
|
5267
|
+
description?: FieldHintDto;
|
|
5268
|
+
balance?: FieldHintDto;
|
|
5269
|
+
payee?: FieldHintDto;
|
|
5270
|
+
reference?: FieldHintDto;
|
|
5271
|
+
category?: FieldHintDto;
|
|
5272
|
+
};
|
|
5273
|
+
type ExpectedTransactionDto = {
|
|
5274
|
+
date: string;
|
|
5275
|
+
amount: number;
|
|
5276
|
+
description: string;
|
|
5277
|
+
payee?: string;
|
|
5278
|
+
category?: string;
|
|
5279
|
+
};
|
|
5280
|
+
type ParserContributionExamplesDto = {
|
|
5281
|
+
expectedTransactions: Array<ExpectedTransactionDto>;
|
|
5282
|
+
};
|
|
5283
|
+
type ParserContributionRequestDto = {
|
|
5284
|
+
meta: ParserContributionMetaDto;
|
|
5285
|
+
samples: ParserContributionSamplesDto;
|
|
5286
|
+
fieldHints: ParserContributionFieldHintsDto;
|
|
5287
|
+
/**
|
|
5288
|
+
* Omitted entirely by the client when empty
|
|
5289
|
+
*/
|
|
5290
|
+
examples?: ParserContributionExamplesDto;
|
|
5291
|
+
};
|
|
5292
|
+
type ParserContributionRelayResponseDto = {
|
|
5293
|
+
issueUrl: string;
|
|
5294
|
+
issueNumber: number;
|
|
5295
|
+
};
|
|
5047
5296
|
type SymbolSearchResultDto = {
|
|
5048
5297
|
symbol: string;
|
|
5049
|
-
name?:
|
|
5050
|
-
|
|
5051
|
-
} | null;
|
|
5052
|
-
exchange?: {
|
|
5053
|
-
[key: string]: unknown;
|
|
5054
|
-
} | null;
|
|
5298
|
+
name?: string | null;
|
|
5299
|
+
exchange?: string | null;
|
|
5055
5300
|
/**
|
|
5056
5301
|
* OpenBB asset_type (e.g. stock, etf)
|
|
5057
5302
|
*/
|
|
5058
|
-
assetType?:
|
|
5059
|
-
[key: string]: unknown;
|
|
5060
|
-
} | null;
|
|
5303
|
+
assetType?: string | null;
|
|
5061
5304
|
/**
|
|
5062
5305
|
* IGN asset class (region.types.ts ASSET_CLASSES)
|
|
5063
5306
|
*/
|
|
5064
|
-
assetClass?:
|
|
5065
|
-
[key: string]: unknown;
|
|
5066
|
-
} | null;
|
|
5307
|
+
assetClass?: string | null;
|
|
5067
5308
|
/**
|
|
5068
5309
|
* IGN asset sub-class (region.types.ts ASSET_SUB_CLASSES)
|
|
5069
5310
|
*/
|
|
5070
|
-
assetSubClass?:
|
|
5071
|
-
[key: string]: unknown;
|
|
5072
|
-
} | null;
|
|
5311
|
+
assetSubClass?: string | null;
|
|
5073
5312
|
/**
|
|
5074
5313
|
* Trading currency (extra_data or inferred from exchange)
|
|
5075
5314
|
*/
|
|
5076
|
-
currency?:
|
|
5077
|
-
[key: string]: unknown;
|
|
5078
|
-
} | null;
|
|
5315
|
+
currency?: string | null;
|
|
5079
5316
|
};
|
|
5080
5317
|
type SymbolQuoteDto = {
|
|
5081
5318
|
symbol?: string;
|
|
5082
|
-
name?:
|
|
5083
|
-
|
|
5084
|
-
} | null;
|
|
5085
|
-
exchange?: {
|
|
5086
|
-
[key: string]: unknown;
|
|
5087
|
-
} | null;
|
|
5319
|
+
name?: string | null;
|
|
5320
|
+
exchange?: string | null;
|
|
5088
5321
|
/**
|
|
5089
5322
|
* OpenBB asset_type
|
|
5090
5323
|
*/
|
|
5091
|
-
assetType?:
|
|
5092
|
-
[key: string]: unknown;
|
|
5093
|
-
} | null;
|
|
5324
|
+
assetType?: string | null;
|
|
5094
5325
|
/**
|
|
5095
5326
|
* IGN asset class
|
|
5096
5327
|
*/
|
|
5097
|
-
assetClass?:
|
|
5098
|
-
[key: string]: unknown;
|
|
5099
|
-
} | null;
|
|
5328
|
+
assetClass?: string | null;
|
|
5100
5329
|
/**
|
|
5101
5330
|
* IGN asset sub-class
|
|
5102
5331
|
*/
|
|
5103
|
-
assetSubClass?:
|
|
5104
|
-
[key: string]: unknown;
|
|
5105
|
-
} | null;
|
|
5332
|
+
assetSubClass?: string | null;
|
|
5106
5333
|
/**
|
|
5107
5334
|
* Trading currency (extra_data or inferred from exchange)
|
|
5108
5335
|
*/
|
|
5109
|
-
currency?:
|
|
5110
|
-
[key: string]: unknown;
|
|
5111
|
-
} | null;
|
|
5336
|
+
currency?: string | null;
|
|
5112
5337
|
/**
|
|
5113
5338
|
* Latest price (Decimal string)
|
|
5114
5339
|
*/
|
|
5115
|
-
price?:
|
|
5116
|
-
[key: string]: unknown;
|
|
5117
|
-
} | null;
|
|
5340
|
+
price?: string | null;
|
|
5118
5341
|
/**
|
|
5119
5342
|
* Date the price was observed (ISO yyyy-MM-dd)
|
|
5120
5343
|
*/
|
|
5121
|
-
priceDate?:
|
|
5122
|
-
[key: string]: unknown;
|
|
5123
|
-
} | null;
|
|
5344
|
+
priceDate?: string | null;
|
|
5124
5345
|
/**
|
|
5125
5346
|
* Change vs previous close, in percentage points (1.7 == 1.7%). openbb stores change_percent as a normalized decimal; this exposes percentage points for frontend convenience.
|
|
5126
5347
|
*/
|
|
5127
|
-
changePercent?:
|
|
5128
|
-
[key: string]: unknown;
|
|
5129
|
-
} | null;
|
|
5348
|
+
changePercent?: number | null;
|
|
5130
5349
|
/**
|
|
5131
5350
|
* Previous close (Decimal string)
|
|
5132
5351
|
*/
|
|
5133
|
-
prevClose?:
|
|
5134
|
-
[key: string]: unknown;
|
|
5135
|
-
} | null;
|
|
5352
|
+
prevClose?: string | null;
|
|
5136
5353
|
/**
|
|
5137
5354
|
* Day open (Decimal string)
|
|
5138
5355
|
*/
|
|
5139
|
-
open?:
|
|
5140
|
-
[key: string]: unknown;
|
|
5141
|
-
} | null;
|
|
5356
|
+
open?: string | null;
|
|
5142
5357
|
/**
|
|
5143
5358
|
* Day high (Decimal string)
|
|
5144
5359
|
*/
|
|
5145
|
-
high?:
|
|
5146
|
-
[key: string]: unknown;
|
|
5147
|
-
} | null;
|
|
5360
|
+
high?: string | null;
|
|
5148
5361
|
/**
|
|
5149
5362
|
* Day low (Decimal string)
|
|
5150
5363
|
*/
|
|
5151
|
-
low?:
|
|
5152
|
-
[key: string]: unknown;
|
|
5153
|
-
} | null;
|
|
5364
|
+
low?: string | null;
|
|
5154
5365
|
/**
|
|
5155
5366
|
* Day volume (Decimal string)
|
|
5156
5367
|
*/
|
|
5157
|
-
volume?:
|
|
5158
|
-
[key: string]: unknown;
|
|
5159
|
-
} | null;
|
|
5368
|
+
volume?: string | null;
|
|
5160
5369
|
/**
|
|
5161
5370
|
* 52-week high (Decimal string)
|
|
5162
5371
|
*/
|
|
5163
|
-
yearHigh?:
|
|
5164
|
-
[key: string]: unknown;
|
|
5165
|
-
} | null;
|
|
5372
|
+
yearHigh?: string | null;
|
|
5166
5373
|
/**
|
|
5167
5374
|
* 52-week low (Decimal string)
|
|
5168
5375
|
*/
|
|
5169
|
-
yearLow?:
|
|
5170
|
-
[key: string]: unknown;
|
|
5171
|
-
} | null;
|
|
5376
|
+
yearLow?: string | null;
|
|
5172
5377
|
};
|
|
5173
5378
|
type AccountControllerCreateData = {
|
|
5174
5379
|
/**
|
|
@@ -5285,7 +5490,7 @@ type AccountStandardsControllerGetTemplatesData = {
|
|
|
5285
5490
|
*/
|
|
5286
5491
|
region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
|
|
5287
5492
|
/**
|
|
5288
|
-
* Search term for path or
|
|
5493
|
+
* Search term for path, description, aliases, or localized display name
|
|
5289
5494
|
*/
|
|
5290
5495
|
search?: string;
|
|
5291
5496
|
/**
|
|
@@ -5329,7 +5534,7 @@ type TransactionControllerListData = {
|
|
|
5329
5534
|
*/
|
|
5330
5535
|
accountId?: string;
|
|
5331
5536
|
/**
|
|
5332
|
-
* Filter by ADR-0075 functional category (Group segment); matches any posting to an
|
|
5537
|
+
* 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).
|
|
5333
5538
|
*/
|
|
5334
5539
|
category?: string;
|
|
5335
5540
|
/**
|
|
@@ -5340,6 +5545,10 @@ type TransactionControllerListData = {
|
|
|
5340
5545
|
* Filter by end date (inclusive), format: YYYY-MM-DD
|
|
5341
5546
|
*/
|
|
5342
5547
|
dateTo?: string;
|
|
5548
|
+
/**
|
|
5549
|
+
* 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.
|
|
5550
|
+
*/
|
|
5551
|
+
flow?: 'income' | 'expense';
|
|
5343
5552
|
/**
|
|
5344
5553
|
* Number of items per page (1-100, default: 20)
|
|
5345
5554
|
*/
|
|
@@ -5357,9 +5566,9 @@ type TransactionControllerListData = {
|
|
|
5357
5566
|
*/
|
|
5358
5567
|
search?: string;
|
|
5359
5568
|
/**
|
|
5360
|
-
* Filter by transaction status
|
|
5569
|
+
* 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).
|
|
5361
5570
|
*/
|
|
5362
|
-
status?: 'ACTIVE' | 'VOIDED' | 'SUPERSEDED';
|
|
5571
|
+
status?: 'ACTIVE' | 'VOIDED' | 'SUPERSEDED' | 'ALL';
|
|
5363
5572
|
};
|
|
5364
5573
|
type TransactionControllerListResponse = TransactionListResponseDto;
|
|
5365
5574
|
type TransactionControllerCreateBatchData = {
|
|
@@ -5676,7 +5885,7 @@ type PayeeProfileAdminControllerUnverifyData = {
|
|
|
5676
5885
|
*/
|
|
5677
5886
|
id: string;
|
|
5678
5887
|
};
|
|
5679
|
-
type PayeeProfileAdminControllerUnverifyResponse =
|
|
5888
|
+
type PayeeProfileAdminControllerUnverifyResponse = void;
|
|
5680
5889
|
type CommodityControllerCreateData = {
|
|
5681
5890
|
/**
|
|
5682
5891
|
* Region code for tenant context
|
|
@@ -5752,6 +5961,55 @@ type CommodityControllerBulkCreateData = {
|
|
|
5752
5961
|
region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
|
|
5753
5962
|
};
|
|
5754
5963
|
type CommodityControllerBulkCreateResponse = Array<CommodityResponseDto>;
|
|
5964
|
+
type ReportingControllerGetPortfolioTrendsData = {
|
|
5965
|
+
/**
|
|
5966
|
+
* Data granularity
|
|
5967
|
+
*/
|
|
5968
|
+
granularity?: 'day' | 'week' | 'month';
|
|
5969
|
+
/**
|
|
5970
|
+
* Time period
|
|
5971
|
+
*/
|
|
5972
|
+
period?: '1m' | '3m' | '6m' | '1y';
|
|
5973
|
+
/**
|
|
5974
|
+
* Region code for tenant context
|
|
5975
|
+
*/
|
|
5976
|
+
region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
|
|
5977
|
+
};
|
|
5978
|
+
type ReportingControllerGetPortfolioTrendsResponse = PortfolioTrendsResponseDto;
|
|
5979
|
+
type ReportingControllerGetCashFlowTrendsData = {
|
|
5980
|
+
/**
|
|
5981
|
+
* Data granularity (accepted for API symmetry; v1 returns month buckets)
|
|
5982
|
+
*/
|
|
5983
|
+
granularity?: 'day' | 'week' | 'month';
|
|
5984
|
+
/**
|
|
5985
|
+
* Time period
|
|
5986
|
+
*/
|
|
5987
|
+
period?: '1m' | '3m' | '6m' | '1y';
|
|
5988
|
+
/**
|
|
5989
|
+
* Region code for tenant context
|
|
5990
|
+
*/
|
|
5991
|
+
region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
|
|
5992
|
+
};
|
|
5993
|
+
type ReportingControllerGetCashFlowTrendsResponse = CashFlowTrendsResponseDto;
|
|
5994
|
+
type ReportingControllerGenerateSnapshotData = {
|
|
5995
|
+
/**
|
|
5996
|
+
* Region code for tenant context
|
|
5997
|
+
*/
|
|
5998
|
+
region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
|
|
5999
|
+
/**
|
|
6000
|
+
* Optional date (defaults to today)
|
|
6001
|
+
*/
|
|
6002
|
+
requestBody: GenerateSnapshotBody;
|
|
6003
|
+
};
|
|
6004
|
+
type ReportingControllerGenerateSnapshotResponse = GenerateSnapshotResponse;
|
|
6005
|
+
type ReportingControllerBackfillSnapshotsData = {
|
|
6006
|
+
/**
|
|
6007
|
+
* Region code for tenant context
|
|
6008
|
+
*/
|
|
6009
|
+
region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
|
|
6010
|
+
requestBody: BackfillSnapshotsBody;
|
|
6011
|
+
};
|
|
6012
|
+
type ReportingControllerBackfillSnapshotsResponse = BackfillSnapshotsResponse;
|
|
5755
6013
|
type PriceControllerCreateData = {
|
|
5756
6014
|
/**
|
|
5757
6015
|
* Region code for tenant context
|
|
@@ -5826,17 +6084,82 @@ type PriceControllerDeleteData = {
|
|
|
5826
6084
|
/**
|
|
5827
6085
|
* Region code for tenant context
|
|
5828
6086
|
*/
|
|
5829
|
-
region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
|
|
6087
|
+
region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
|
|
6088
|
+
};
|
|
6089
|
+
type PriceControllerDeleteResponse = void;
|
|
6090
|
+
type PriceControllerBulkCreateData = {
|
|
6091
|
+
/**
|
|
6092
|
+
* Region code for tenant context
|
|
6093
|
+
*/
|
|
6094
|
+
region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
|
|
6095
|
+
requestBody: Array<string>;
|
|
6096
|
+
};
|
|
6097
|
+
type PriceControllerBulkCreateResponse = Array<PriceResponseDto>;
|
|
6098
|
+
type UserControllerDeleteOwnUserData = {
|
|
6099
|
+
requestBody: DeleteOwnUserDto;
|
|
6100
|
+
};
|
|
6101
|
+
type UserControllerDeleteOwnUserResponse = void;
|
|
6102
|
+
type UserControllerGetUserData = {
|
|
6103
|
+
acceptLanguage: string;
|
|
6104
|
+
};
|
|
6105
|
+
type UserControllerGetUserResponse = UserResponseDto;
|
|
6106
|
+
type UserControllerSignupUserData = {
|
|
6107
|
+
requestBody: SignupDto;
|
|
6108
|
+
};
|
|
6109
|
+
type UserControllerSignupUserResponse = SignupResponseDto;
|
|
6110
|
+
type UserControllerDeleteUserData = {
|
|
6111
|
+
/**
|
|
6112
|
+
* User ID to delete
|
|
6113
|
+
*/
|
|
6114
|
+
id: string;
|
|
6115
|
+
};
|
|
6116
|
+
type UserControllerDeleteUserResponse = void;
|
|
6117
|
+
type UserControllerGetUserInfoData = {
|
|
6118
|
+
/**
|
|
6119
|
+
* User ID
|
|
6120
|
+
*/
|
|
6121
|
+
id: string;
|
|
6122
|
+
};
|
|
6123
|
+
type UserControllerGetUserInfoResponse = unknown;
|
|
6124
|
+
type UserControllerUpdateUserSettingData = {
|
|
6125
|
+
requestBody: UpdateUserSettingDto;
|
|
6126
|
+
};
|
|
6127
|
+
type UserControllerUpdateUserSettingResponse = unknown;
|
|
6128
|
+
type UserControllerGetAllUserSettingsByPageData = {
|
|
6129
|
+
/**
|
|
6130
|
+
* Page number
|
|
6131
|
+
*/
|
|
6132
|
+
pageNo: number;
|
|
6133
|
+
/**
|
|
6134
|
+
* Page size
|
|
6135
|
+
*/
|
|
6136
|
+
pageSize: number;
|
|
6137
|
+
};
|
|
6138
|
+
type UserControllerGetAllUserSettingsByPageResponse = unknown;
|
|
6139
|
+
type UserControllerGetAssetLiabilitySummaryResponse = unknown;
|
|
6140
|
+
type PropertyControllerGetAllResponse = unknown;
|
|
6141
|
+
type PropertyControllerGetByKeyData = {
|
|
6142
|
+
/**
|
|
6143
|
+
* Property key
|
|
6144
|
+
*/
|
|
6145
|
+
key: string;
|
|
6146
|
+
};
|
|
6147
|
+
type PropertyControllerGetByKeyResponse = unknown;
|
|
6148
|
+
type PropertyControllerUpdateData = {
|
|
6149
|
+
/**
|
|
6150
|
+
* Property key
|
|
6151
|
+
*/
|
|
6152
|
+
key: string;
|
|
6153
|
+
requestBody: UpdatePropertyDto;
|
|
5830
6154
|
};
|
|
5831
|
-
type
|
|
5832
|
-
type
|
|
6155
|
+
type PropertyControllerUpdateResponse = unknown;
|
|
6156
|
+
type PropertyControllerDeleteData = {
|
|
5833
6157
|
/**
|
|
5834
|
-
*
|
|
6158
|
+
* Property key
|
|
5835
6159
|
*/
|
|
5836
|
-
|
|
5837
|
-
requestBody: Array<string>;
|
|
6160
|
+
key: string;
|
|
5838
6161
|
};
|
|
5839
|
-
type
|
|
6162
|
+
type PropertyControllerDeleteResponse = void;
|
|
5840
6163
|
type RecurringRuleControllerCreateData = {
|
|
5841
6164
|
/**
|
|
5842
6165
|
* Region code for tenant context
|
|
@@ -5983,7 +6306,7 @@ type ExpectedTransactionControllerUndoSkipData = {
|
|
|
5983
6306
|
*/
|
|
5984
6307
|
region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
|
|
5985
6308
|
};
|
|
5986
|
-
type ExpectedTransactionControllerUndoSkipResponse =
|
|
6309
|
+
type ExpectedTransactionControllerUndoSkipResponse = void;
|
|
5987
6310
|
type ExpectedTransactionControllerConfirmMatchData = {
|
|
5988
6311
|
/**
|
|
5989
6312
|
* Expected transaction ID
|
|
@@ -6006,7 +6329,7 @@ type ExpectedTransactionControllerUnmatchData = {
|
|
|
6006
6329
|
*/
|
|
6007
6330
|
region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
|
|
6008
6331
|
};
|
|
6009
|
-
type ExpectedTransactionControllerUnmatchResponse =
|
|
6332
|
+
type ExpectedTransactionControllerUnmatchResponse = void;
|
|
6010
6333
|
type ExpectedTransactionControllerEnterNowData = {
|
|
6011
6334
|
/**
|
|
6012
6335
|
* Expected transaction ID
|
|
@@ -6030,120 +6353,6 @@ type ForecastControllerGetForecastData = {
|
|
|
6030
6353
|
region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
|
|
6031
6354
|
};
|
|
6032
6355
|
type ForecastControllerGetForecastResponse = ForecastResponseDto;
|
|
6033
|
-
type ReportingControllerGetPortfolioTrendsData = {
|
|
6034
|
-
/**
|
|
6035
|
-
* Data granularity
|
|
6036
|
-
*/
|
|
6037
|
-
granularity?: 'day' | 'week' | 'month';
|
|
6038
|
-
/**
|
|
6039
|
-
* Time period
|
|
6040
|
-
*/
|
|
6041
|
-
period?: '1m' | '3m' | '6m' | '1y';
|
|
6042
|
-
/**
|
|
6043
|
-
* Region code for tenant context
|
|
6044
|
-
*/
|
|
6045
|
-
region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
|
|
6046
|
-
};
|
|
6047
|
-
type ReportingControllerGetPortfolioTrendsResponse = PortfolioTrendsResponseDto;
|
|
6048
|
-
type ReportingControllerGetCashFlowTrendsData = {
|
|
6049
|
-
/**
|
|
6050
|
-
* Data granularity (accepted for API symmetry; v1 returns month buckets)
|
|
6051
|
-
*/
|
|
6052
|
-
granularity?: 'day' | 'week' | 'month';
|
|
6053
|
-
/**
|
|
6054
|
-
* Time period
|
|
6055
|
-
*/
|
|
6056
|
-
period?: '1m' | '3m' | '6m' | '1y';
|
|
6057
|
-
/**
|
|
6058
|
-
* Region code for tenant context
|
|
6059
|
-
*/
|
|
6060
|
-
region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
|
|
6061
|
-
};
|
|
6062
|
-
type ReportingControllerGetCashFlowTrendsResponse = CashFlowTrendsResponseDto;
|
|
6063
|
-
type ReportingControllerGenerateSnapshotData = {
|
|
6064
|
-
/**
|
|
6065
|
-
* Region code for tenant context
|
|
6066
|
-
*/
|
|
6067
|
-
region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
|
|
6068
|
-
/**
|
|
6069
|
-
* Optional date (defaults to today)
|
|
6070
|
-
*/
|
|
6071
|
-
requestBody: GenerateSnapshotBody;
|
|
6072
|
-
};
|
|
6073
|
-
type ReportingControllerGenerateSnapshotResponse = GenerateSnapshotResponse;
|
|
6074
|
-
type ReportingControllerBackfillSnapshotsData = {
|
|
6075
|
-
/**
|
|
6076
|
-
* Region code for tenant context
|
|
6077
|
-
*/
|
|
6078
|
-
region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
|
|
6079
|
-
requestBody: BackfillSnapshotsBody;
|
|
6080
|
-
};
|
|
6081
|
-
type ReportingControllerBackfillSnapshotsResponse = BackfillSnapshotsResponse;
|
|
6082
|
-
type UserControllerDeleteOwnUserData = {
|
|
6083
|
-
requestBody: DeleteOwnUserDto;
|
|
6084
|
-
};
|
|
6085
|
-
type UserControllerDeleteOwnUserResponse = void;
|
|
6086
|
-
type UserControllerGetUserData = {
|
|
6087
|
-
acceptLanguage: string;
|
|
6088
|
-
};
|
|
6089
|
-
type UserControllerGetUserResponse = UserResponseDto;
|
|
6090
|
-
type UserControllerSignupUserData = {
|
|
6091
|
-
requestBody: SignupDto;
|
|
6092
|
-
};
|
|
6093
|
-
type UserControllerSignupUserResponse = SignupResponseDto;
|
|
6094
|
-
type UserControllerDeleteUserData = {
|
|
6095
|
-
/**
|
|
6096
|
-
* User ID to delete
|
|
6097
|
-
*/
|
|
6098
|
-
id: string;
|
|
6099
|
-
};
|
|
6100
|
-
type UserControllerDeleteUserResponse = void;
|
|
6101
|
-
type UserControllerGetUserInfoData = {
|
|
6102
|
-
/**
|
|
6103
|
-
* User ID
|
|
6104
|
-
*/
|
|
6105
|
-
id: string;
|
|
6106
|
-
};
|
|
6107
|
-
type UserControllerGetUserInfoResponse = unknown;
|
|
6108
|
-
type UserControllerUpdateUserSettingData = {
|
|
6109
|
-
requestBody: UpdateUserSettingDto;
|
|
6110
|
-
};
|
|
6111
|
-
type UserControllerUpdateUserSettingResponse = unknown;
|
|
6112
|
-
type UserControllerGetAllUserSettingsByPageData = {
|
|
6113
|
-
/**
|
|
6114
|
-
* Page number
|
|
6115
|
-
*/
|
|
6116
|
-
pageNo: number;
|
|
6117
|
-
/**
|
|
6118
|
-
* Page size
|
|
6119
|
-
*/
|
|
6120
|
-
pageSize: number;
|
|
6121
|
-
};
|
|
6122
|
-
type UserControllerGetAllUserSettingsByPageResponse = unknown;
|
|
6123
|
-
type UserControllerGetAssetLiabilitySummaryResponse = unknown;
|
|
6124
|
-
type PropertyControllerGetAllResponse = unknown;
|
|
6125
|
-
type PropertyControllerGetByKeyData = {
|
|
6126
|
-
/**
|
|
6127
|
-
* Property key
|
|
6128
|
-
*/
|
|
6129
|
-
key: string;
|
|
6130
|
-
};
|
|
6131
|
-
type PropertyControllerGetByKeyResponse = unknown;
|
|
6132
|
-
type PropertyControllerUpdateData = {
|
|
6133
|
-
/**
|
|
6134
|
-
* Property key
|
|
6135
|
-
*/
|
|
6136
|
-
key: string;
|
|
6137
|
-
requestBody: UpdatePropertyDto;
|
|
6138
|
-
};
|
|
6139
|
-
type PropertyControllerUpdateResponse = unknown;
|
|
6140
|
-
type PropertyControllerDeleteData = {
|
|
6141
|
-
/**
|
|
6142
|
-
* Property key
|
|
6143
|
-
*/
|
|
6144
|
-
key: string;
|
|
6145
|
-
};
|
|
6146
|
-
type PropertyControllerDeleteResponse = void;
|
|
6147
6356
|
type TransactionRuleControllerCreateData = {
|
|
6148
6357
|
/**
|
|
6149
6358
|
* Region code for tenant context
|
|
@@ -6407,7 +6616,7 @@ type ReconciliationControllerHistoryData = {
|
|
|
6407
6616
|
region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
|
|
6408
6617
|
};
|
|
6409
6618
|
type ReconciliationControllerHistoryResponse = Array<ReconciliationRecordDto>;
|
|
6410
|
-
type ExportControllerExportBeancountResponse =
|
|
6619
|
+
type ExportControllerExportBeancountResponse = Blob | File;
|
|
6411
6620
|
type FileImportControllerImportFileData = {
|
|
6412
6621
|
/**
|
|
6413
6622
|
* Bill file to import
|
|
@@ -6631,6 +6840,21 @@ type PlatformControllerMatchPlatformsData = {
|
|
|
6631
6840
|
region?: string;
|
|
6632
6841
|
};
|
|
6633
6842
|
type PlatformControllerMatchPlatformsResponse = PlatformMatchResponseDto;
|
|
6843
|
+
type PlatformControllerGetPlatformStandardsData = {
|
|
6844
|
+
/**
|
|
6845
|
+
* Platform ID (from a match result)
|
|
6846
|
+
*/
|
|
6847
|
+
id: string;
|
|
6848
|
+
/**
|
|
6849
|
+
* Region code (ISO 3166-1 alpha-2, case-insensitive). Required for global platforms (countryCode null) — resolved as their template region; ignored when the platform has its own countryCode.
|
|
6850
|
+
*/
|
|
6851
|
+
region?: string;
|
|
6852
|
+
/**
|
|
6853
|
+
* Filter templates by account type (path first segment)
|
|
6854
|
+
*/
|
|
6855
|
+
type?: 'Assets' | 'Liabilities' | 'Income' | 'Expenses' | 'Equity';
|
|
6856
|
+
};
|
|
6857
|
+
type PlatformControllerGetPlatformStandardsResponse = PlatformStandardsResponseDto;
|
|
6634
6858
|
type PlatformControllerUpdateData = {
|
|
6635
6859
|
/**
|
|
6636
6860
|
* Platform ID
|
|
@@ -6730,6 +6954,14 @@ type AuthControllerAccessTokenLoginData = {
|
|
|
6730
6954
|
requestBody: AnonymousLoginDto;
|
|
6731
6955
|
};
|
|
6732
6956
|
type AuthControllerAccessTokenLoginResponse = AnonymousLoginResponseDto;
|
|
6957
|
+
type ParserContributionControllerCreateData = {
|
|
6958
|
+
/**
|
|
6959
|
+
* Region code for tenant context (routing only; the institution region rides in the payload meta)
|
|
6960
|
+
*/
|
|
6961
|
+
region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
|
|
6962
|
+
requestBody: ParserContributionRequestDto;
|
|
6963
|
+
};
|
|
6964
|
+
type ParserContributionControllerCreateResponse = ParserContributionRelayResponseDto;
|
|
6733
6965
|
type CacheControllerFlushCacheResponse = unknown;
|
|
6734
6966
|
type ExchangeRateControllerGetExchangeRateData = {
|
|
6735
6967
|
/**
|
|
@@ -7407,7 +7639,7 @@ type $OpenApiTs = {
|
|
|
7407
7639
|
/**
|
|
7408
7640
|
* Payee profile unverified successfully
|
|
7409
7641
|
*/
|
|
7410
|
-
|
|
7642
|
+
204: void;
|
|
7411
7643
|
/**
|
|
7412
7644
|
* Admin access required
|
|
7413
7645
|
*/
|
|
@@ -7514,598 +7746,598 @@ type $OpenApiTs = {
|
|
|
7514
7746
|
};
|
|
7515
7747
|
};
|
|
7516
7748
|
};
|
|
7517
|
-
'/api/v1/{region}/
|
|
7518
|
-
|
|
7519
|
-
req:
|
|
7749
|
+
'/api/v1/{region}/reporting/portfolio/trends': {
|
|
7750
|
+
get: {
|
|
7751
|
+
req: ReportingControllerGetPortfolioTrendsData;
|
|
7520
7752
|
res: {
|
|
7521
7753
|
/**
|
|
7522
|
-
*
|
|
7523
|
-
*/
|
|
7524
|
-
201: PriceResponseDto;
|
|
7525
|
-
/**
|
|
7526
|
-
* Currency or quoteCurrency commodity not found
|
|
7527
|
-
*/
|
|
7528
|
-
404: unknown;
|
|
7529
|
-
/**
|
|
7530
|
-
* Price already exists for this currency pair and date
|
|
7754
|
+
* Trends retrieved successfully
|
|
7531
7755
|
*/
|
|
7532
|
-
|
|
7533
|
-
};
|
|
7534
|
-
};
|
|
7535
|
-
get: {
|
|
7536
|
-
req: PriceControllerFindAllData;
|
|
7537
|
-
res: {
|
|
7756
|
+
200: PortfolioTrendsResponseDto;
|
|
7538
7757
|
/**
|
|
7539
|
-
*
|
|
7758
|
+
* User not authenticated
|
|
7540
7759
|
*/
|
|
7541
|
-
|
|
7760
|
+
401: unknown;
|
|
7542
7761
|
};
|
|
7543
7762
|
};
|
|
7544
7763
|
};
|
|
7545
|
-
'/api/v1/{region}/
|
|
7764
|
+
'/api/v1/{region}/reporting/cash-flow/trends': {
|
|
7546
7765
|
get: {
|
|
7547
|
-
req:
|
|
7548
|
-
res: {
|
|
7549
|
-
/**
|
|
7550
|
-
* Price retrieved successfully
|
|
7551
|
-
*/
|
|
7552
|
-
200: PriceResponseDto;
|
|
7553
|
-
/**
|
|
7554
|
-
* Price not found
|
|
7555
|
-
*/
|
|
7556
|
-
404: unknown;
|
|
7557
|
-
};
|
|
7558
|
-
};
|
|
7559
|
-
put: {
|
|
7560
|
-
req: PriceControllerUpdateData;
|
|
7766
|
+
req: ReportingControllerGetCashFlowTrendsData;
|
|
7561
7767
|
res: {
|
|
7562
7768
|
/**
|
|
7563
|
-
*
|
|
7564
|
-
*/
|
|
7565
|
-
200: PriceResponseDto;
|
|
7566
|
-
/**
|
|
7567
|
-
* Price not found
|
|
7769
|
+
* Cash-flow trends retrieved successfully
|
|
7568
7770
|
*/
|
|
7569
|
-
|
|
7771
|
+
200: CashFlowTrendsResponseDto;
|
|
7570
7772
|
/**
|
|
7571
|
-
*
|
|
7773
|
+
* User not authenticated
|
|
7572
7774
|
*/
|
|
7573
|
-
|
|
7775
|
+
401: unknown;
|
|
7574
7776
|
};
|
|
7575
7777
|
};
|
|
7576
|
-
|
|
7577
|
-
|
|
7778
|
+
};
|
|
7779
|
+
'/api/v1/{region}/reporting/snapshots/generate': {
|
|
7780
|
+
post: {
|
|
7781
|
+
req: ReportingControllerGenerateSnapshotData;
|
|
7578
7782
|
res: {
|
|
7579
7783
|
/**
|
|
7580
|
-
*
|
|
7784
|
+
* Snapshot generated successfully
|
|
7581
7785
|
*/
|
|
7582
|
-
|
|
7786
|
+
200: GenerateSnapshotResponse;
|
|
7583
7787
|
/**
|
|
7584
|
-
*
|
|
7788
|
+
* Invalid date format
|
|
7585
7789
|
*/
|
|
7586
|
-
|
|
7587
|
-
};
|
|
7588
|
-
};
|
|
7589
|
-
};
|
|
7590
|
-
'/api/v1/{region}/bean/prices/bulk': {
|
|
7591
|
-
post: {
|
|
7592
|
-
req: PriceControllerBulkCreateData;
|
|
7593
|
-
res: {
|
|
7790
|
+
400: unknown;
|
|
7594
7791
|
/**
|
|
7595
|
-
*
|
|
7792
|
+
* User not authenticated
|
|
7596
7793
|
*/
|
|
7597
|
-
|
|
7794
|
+
401: unknown;
|
|
7598
7795
|
};
|
|
7599
7796
|
};
|
|
7600
7797
|
};
|
|
7601
|
-
'/api/v1/{region}/
|
|
7798
|
+
'/api/v1/{region}/reporting/snapshots/backfill': {
|
|
7602
7799
|
post: {
|
|
7603
|
-
req:
|
|
7800
|
+
req: ReportingControllerBackfillSnapshotsData;
|
|
7604
7801
|
res: {
|
|
7605
7802
|
/**
|
|
7606
|
-
*
|
|
7803
|
+
* Backfill completed successfully
|
|
7607
7804
|
*/
|
|
7608
|
-
|
|
7805
|
+
200: BackfillSnapshotsResponse;
|
|
7609
7806
|
/**
|
|
7610
|
-
* Invalid
|
|
7807
|
+
* Invalid date format or range
|
|
7611
7808
|
*/
|
|
7612
7809
|
400: unknown;
|
|
7613
7810
|
/**
|
|
7614
|
-
*
|
|
7811
|
+
* User not authenticated
|
|
7615
7812
|
*/
|
|
7616
|
-
|
|
7617
|
-
};
|
|
7618
|
-
};
|
|
7619
|
-
get: {
|
|
7620
|
-
req: RecurringRuleControllerFindAllData;
|
|
7621
|
-
res: {
|
|
7813
|
+
401: unknown;
|
|
7622
7814
|
/**
|
|
7623
|
-
*
|
|
7815
|
+
* Backfill already in progress for this user
|
|
7624
7816
|
*/
|
|
7625
|
-
|
|
7817
|
+
409: unknown;
|
|
7626
7818
|
};
|
|
7627
7819
|
};
|
|
7628
7820
|
};
|
|
7629
|
-
'/api/v1/{region}/bean/
|
|
7821
|
+
'/api/v1/{region}/bean/prices': {
|
|
7630
7822
|
post: {
|
|
7631
|
-
req:
|
|
7823
|
+
req: PriceControllerCreateData;
|
|
7632
7824
|
res: {
|
|
7633
7825
|
/**
|
|
7634
|
-
*
|
|
7826
|
+
* Price created successfully
|
|
7827
|
+
*/
|
|
7828
|
+
201: PriceResponseDto;
|
|
7829
|
+
/**
|
|
7830
|
+
* Currency or quoteCurrency commodity not found
|
|
7635
7831
|
*/
|
|
7636
|
-
|
|
7832
|
+
404: unknown;
|
|
7637
7833
|
/**
|
|
7638
|
-
*
|
|
7834
|
+
* Price already exists for this currency pair and date
|
|
7639
7835
|
*/
|
|
7640
|
-
|
|
7836
|
+
409: unknown;
|
|
7837
|
+
};
|
|
7838
|
+
};
|
|
7839
|
+
get: {
|
|
7840
|
+
req: PriceControllerFindAllData;
|
|
7841
|
+
res: {
|
|
7641
7842
|
/**
|
|
7642
|
-
*
|
|
7843
|
+
* Prices retrieved successfully
|
|
7643
7844
|
*/
|
|
7644
|
-
|
|
7845
|
+
200: PriceListResponseDto;
|
|
7645
7846
|
};
|
|
7646
7847
|
};
|
|
7647
7848
|
};
|
|
7648
|
-
'/api/v1/{region}/bean/
|
|
7849
|
+
'/api/v1/{region}/bean/prices/{id}': {
|
|
7649
7850
|
get: {
|
|
7650
|
-
req:
|
|
7851
|
+
req: PriceControllerFindOneData;
|
|
7651
7852
|
res: {
|
|
7652
7853
|
/**
|
|
7653
|
-
*
|
|
7854
|
+
* Price retrieved successfully
|
|
7654
7855
|
*/
|
|
7655
|
-
200:
|
|
7856
|
+
200: PriceResponseDto;
|
|
7656
7857
|
/**
|
|
7657
|
-
*
|
|
7858
|
+
* Price not found
|
|
7658
7859
|
*/
|
|
7659
7860
|
404: unknown;
|
|
7660
7861
|
};
|
|
7661
7862
|
};
|
|
7662
|
-
|
|
7663
|
-
req:
|
|
7863
|
+
put: {
|
|
7864
|
+
req: PriceControllerUpdateData;
|
|
7664
7865
|
res: {
|
|
7665
7866
|
/**
|
|
7666
|
-
*
|
|
7867
|
+
* Price updated successfully
|
|
7667
7868
|
*/
|
|
7668
|
-
200:
|
|
7869
|
+
200: PriceResponseDto;
|
|
7669
7870
|
/**
|
|
7670
|
-
*
|
|
7871
|
+
* Price not found
|
|
7671
7872
|
*/
|
|
7672
|
-
|
|
7873
|
+
404: unknown;
|
|
7673
7874
|
/**
|
|
7674
|
-
*
|
|
7875
|
+
* Updated price conflicts with existing price
|
|
7675
7876
|
*/
|
|
7676
|
-
|
|
7877
|
+
409: unknown;
|
|
7677
7878
|
};
|
|
7678
7879
|
};
|
|
7679
7880
|
delete: {
|
|
7680
|
-
req:
|
|
7881
|
+
req: PriceControllerDeleteData;
|
|
7681
7882
|
res: {
|
|
7682
7883
|
/**
|
|
7683
|
-
*
|
|
7884
|
+
* Price deleted successfully
|
|
7684
7885
|
*/
|
|
7685
7886
|
204: void;
|
|
7686
7887
|
/**
|
|
7687
|
-
*
|
|
7888
|
+
* Price not found
|
|
7688
7889
|
*/
|
|
7689
7890
|
404: unknown;
|
|
7690
7891
|
};
|
|
7691
7892
|
};
|
|
7692
7893
|
};
|
|
7693
|
-
'/api/v1/{region}/bean/
|
|
7694
|
-
|
|
7695
|
-
req:
|
|
7894
|
+
'/api/v1/{region}/bean/prices/bulk': {
|
|
7895
|
+
post: {
|
|
7896
|
+
req: PriceControllerBulkCreateData;
|
|
7696
7897
|
res: {
|
|
7697
7898
|
/**
|
|
7698
|
-
*
|
|
7699
|
-
*/
|
|
7700
|
-
200: RecurringRuleWithStatsResponseDto;
|
|
7701
|
-
/**
|
|
7702
|
-
* Rule not found
|
|
7899
|
+
* Prices created successfully
|
|
7703
7900
|
*/
|
|
7704
|
-
|
|
7901
|
+
201: Array<PriceResponseDto>;
|
|
7705
7902
|
};
|
|
7706
7903
|
};
|
|
7707
7904
|
};
|
|
7708
|
-
'/api/v1/
|
|
7709
|
-
|
|
7710
|
-
req:
|
|
7905
|
+
'/api/v1/users': {
|
|
7906
|
+
delete: {
|
|
7907
|
+
req: UserControllerDeleteOwnUserData;
|
|
7711
7908
|
res: {
|
|
7712
7909
|
/**
|
|
7713
|
-
*
|
|
7910
|
+
* User deleted successfully
|
|
7714
7911
|
*/
|
|
7715
|
-
|
|
7716
|
-
};
|
|
7717
|
-
};
|
|
7718
|
-
};
|
|
7719
|
-
'/api/v1/{region}/bean/expected-transactions/overdue': {
|
|
7720
|
-
get: {
|
|
7721
|
-
req: ExpectedTransactionControllerFindOverdueData;
|
|
7722
|
-
res: {
|
|
7912
|
+
204: void;
|
|
7723
7913
|
/**
|
|
7724
|
-
*
|
|
7914
|
+
* Invalid access token
|
|
7725
7915
|
*/
|
|
7726
|
-
|
|
7916
|
+
403: unknown;
|
|
7727
7917
|
};
|
|
7728
7918
|
};
|
|
7729
|
-
};
|
|
7730
|
-
'/api/v1/{region}/bean/expected-transactions/{id}': {
|
|
7731
7919
|
get: {
|
|
7732
|
-
req:
|
|
7920
|
+
req: UserControllerGetUserData;
|
|
7733
7921
|
res: {
|
|
7734
7922
|
/**
|
|
7735
|
-
*
|
|
7736
|
-
*/
|
|
7737
|
-
200: ExpectedTransactionResponseDto;
|
|
7738
|
-
/**
|
|
7739
|
-
* Expected transaction not found
|
|
7923
|
+
* User retrieved successfully
|
|
7740
7924
|
*/
|
|
7741
|
-
|
|
7925
|
+
200: UserResponseDto;
|
|
7742
7926
|
};
|
|
7743
7927
|
};
|
|
7744
|
-
};
|
|
7745
|
-
'/api/v1/{region}/bean/expected-transactions/{id}/skip': {
|
|
7746
7928
|
post: {
|
|
7747
|
-
req:
|
|
7929
|
+
req: UserControllerSignupUserData;
|
|
7748
7930
|
res: {
|
|
7749
7931
|
/**
|
|
7750
|
-
*
|
|
7932
|
+
* User created successfully
|
|
7751
7933
|
*/
|
|
7752
|
-
|
|
7934
|
+
201: SignupResponseDto;
|
|
7753
7935
|
/**
|
|
7754
|
-
*
|
|
7936
|
+
* Invalid Turnstile token (when Turnstile is enabled)
|
|
7755
7937
|
*/
|
|
7756
7938
|
400: unknown;
|
|
7757
7939
|
/**
|
|
7758
|
-
*
|
|
7940
|
+
* User signup is disabled
|
|
7759
7941
|
*/
|
|
7760
|
-
|
|
7942
|
+
403: unknown;
|
|
7761
7943
|
};
|
|
7762
7944
|
};
|
|
7945
|
+
};
|
|
7946
|
+
'/api/v1/users/{id}': {
|
|
7763
7947
|
delete: {
|
|
7764
|
-
req:
|
|
7948
|
+
req: UserControllerDeleteUserData;
|
|
7765
7949
|
res: {
|
|
7766
7950
|
/**
|
|
7767
|
-
*
|
|
7768
|
-
*/
|
|
7769
|
-
200: ExpectedTransactionResponseDto;
|
|
7770
|
-
/**
|
|
7771
|
-
* Cannot undo - not in SKIPPED status
|
|
7951
|
+
* User deleted successfully
|
|
7772
7952
|
*/
|
|
7773
|
-
|
|
7953
|
+
204: void;
|
|
7774
7954
|
/**
|
|
7775
|
-
*
|
|
7955
|
+
* Cannot delete own account or insufficient permissions
|
|
7776
7956
|
*/
|
|
7777
|
-
|
|
7957
|
+
403: unknown;
|
|
7778
7958
|
};
|
|
7779
7959
|
};
|
|
7780
7960
|
};
|
|
7781
|
-
'/api/v1/
|
|
7782
|
-
|
|
7783
|
-
req:
|
|
7961
|
+
'/api/v1/users/{id}/info': {
|
|
7962
|
+
get: {
|
|
7963
|
+
req: UserControllerGetUserInfoData;
|
|
7784
7964
|
res: {
|
|
7785
7965
|
/**
|
|
7786
|
-
*
|
|
7966
|
+
* User info retrieved successfully
|
|
7787
7967
|
*/
|
|
7788
7968
|
200: unknown;
|
|
7789
7969
|
/**
|
|
7790
|
-
* Cannot
|
|
7791
|
-
*/
|
|
7792
|
-
400: unknown;
|
|
7793
|
-
/**
|
|
7794
|
-
* Expected or actual transaction not found
|
|
7795
|
-
*/
|
|
7796
|
-
404: unknown;
|
|
7797
|
-
/**
|
|
7798
|
-
* Actual transaction already matched to another rule
|
|
7970
|
+
* Cannot access other user info without admin permission
|
|
7799
7971
|
*/
|
|
7800
|
-
|
|
7972
|
+
403: unknown;
|
|
7801
7973
|
};
|
|
7802
7974
|
};
|
|
7803
|
-
|
|
7804
|
-
|
|
7975
|
+
};
|
|
7976
|
+
'/api/v1/users/setting': {
|
|
7977
|
+
put: {
|
|
7978
|
+
req: UserControllerUpdateUserSettingData;
|
|
7805
7979
|
res: {
|
|
7806
7980
|
/**
|
|
7807
|
-
*
|
|
7981
|
+
* Settings updated successfully
|
|
7808
7982
|
*/
|
|
7809
7983
|
200: unknown;
|
|
7810
7984
|
/**
|
|
7811
|
-
*
|
|
7812
|
-
*/
|
|
7813
|
-
400: unknown;
|
|
7814
|
-
/**
|
|
7815
|
-
* Expected transaction not found
|
|
7985
|
+
* Insufficient permissions
|
|
7816
7986
|
*/
|
|
7817
|
-
|
|
7987
|
+
403: unknown;
|
|
7818
7988
|
};
|
|
7819
7989
|
};
|
|
7820
7990
|
};
|
|
7821
|
-
'/api/v1/
|
|
7822
|
-
|
|
7823
|
-
req:
|
|
7991
|
+
'/api/v1/users/settings-by-page': {
|
|
7992
|
+
get: {
|
|
7993
|
+
req: UserControllerGetAllUserSettingsByPageData;
|
|
7824
7994
|
res: {
|
|
7825
7995
|
/**
|
|
7826
|
-
*
|
|
7827
|
-
*/
|
|
7828
|
-
201: unknown;
|
|
7829
|
-
/**
|
|
7830
|
-
* Cannot enter - not in PENDING status or missing accounts
|
|
7831
|
-
*/
|
|
7832
|
-
400: unknown;
|
|
7833
|
-
/**
|
|
7834
|
-
* Expected transaction or accounts not found
|
|
7996
|
+
* Settings list retrieved successfully
|
|
7835
7997
|
*/
|
|
7836
|
-
|
|
7998
|
+
200: unknown;
|
|
7837
7999
|
};
|
|
7838
8000
|
};
|
|
7839
8001
|
};
|
|
7840
|
-
'/api/v1/
|
|
8002
|
+
'/api/v1/users/asset-liability-summary': {
|
|
7841
8003
|
get: {
|
|
7842
|
-
req: ForecastControllerGetForecastData;
|
|
7843
8004
|
res: {
|
|
7844
8005
|
/**
|
|
7845
|
-
*
|
|
8006
|
+
* Summary retrieved successfully
|
|
7846
8007
|
*/
|
|
7847
|
-
200:
|
|
8008
|
+
200: unknown;
|
|
7848
8009
|
};
|
|
7849
8010
|
};
|
|
7850
8011
|
};
|
|
7851
|
-
'/api/v1/
|
|
8012
|
+
'/api/v1/admin/properties': {
|
|
7852
8013
|
get: {
|
|
7853
|
-
req: ReportingControllerGetPortfolioTrendsData;
|
|
7854
8014
|
res: {
|
|
7855
8015
|
/**
|
|
7856
|
-
*
|
|
8016
|
+
* Properties retrieved successfully
|
|
7857
8017
|
*/
|
|
7858
|
-
200:
|
|
8018
|
+
200: unknown;
|
|
7859
8019
|
/**
|
|
7860
|
-
*
|
|
8020
|
+
* Unauthorized
|
|
7861
8021
|
*/
|
|
7862
8022
|
401: unknown;
|
|
8023
|
+
/**
|
|
8024
|
+
* Forbidden - insufficient permissions
|
|
8025
|
+
*/
|
|
8026
|
+
403: unknown;
|
|
7863
8027
|
};
|
|
7864
8028
|
};
|
|
7865
8029
|
};
|
|
7866
|
-
'/api/v1/{
|
|
8030
|
+
'/api/v1/admin/properties/{key}': {
|
|
7867
8031
|
get: {
|
|
7868
|
-
req:
|
|
8032
|
+
req: PropertyControllerGetByKeyData;
|
|
7869
8033
|
res: {
|
|
7870
8034
|
/**
|
|
7871
|
-
*
|
|
8035
|
+
* Property retrieved successfully
|
|
7872
8036
|
*/
|
|
7873
|
-
200:
|
|
8037
|
+
200: unknown;
|
|
7874
8038
|
/**
|
|
7875
|
-
*
|
|
8039
|
+
* Unauthorized
|
|
7876
8040
|
*/
|
|
7877
8041
|
401: unknown;
|
|
8042
|
+
/**
|
|
8043
|
+
* Forbidden - insufficient permissions
|
|
8044
|
+
*/
|
|
8045
|
+
403: unknown;
|
|
8046
|
+
/**
|
|
8047
|
+
* Property not found
|
|
8048
|
+
*/
|
|
8049
|
+
404: unknown;
|
|
7878
8050
|
};
|
|
7879
8051
|
};
|
|
7880
|
-
|
|
7881
|
-
|
|
7882
|
-
post: {
|
|
7883
|
-
req: ReportingControllerGenerateSnapshotData;
|
|
8052
|
+
put: {
|
|
8053
|
+
req: PropertyControllerUpdateData;
|
|
7884
8054
|
res: {
|
|
7885
8055
|
/**
|
|
7886
|
-
*
|
|
8056
|
+
* Property updated successfully
|
|
7887
8057
|
*/
|
|
7888
|
-
200:
|
|
8058
|
+
200: unknown;
|
|
7889
8059
|
/**
|
|
7890
|
-
*
|
|
8060
|
+
* Unauthorized
|
|
7891
8061
|
*/
|
|
7892
|
-
|
|
8062
|
+
401: unknown;
|
|
7893
8063
|
/**
|
|
7894
|
-
*
|
|
8064
|
+
* Forbidden - insufficient permissions
|
|
8065
|
+
*/
|
|
8066
|
+
403: unknown;
|
|
8067
|
+
};
|
|
8068
|
+
};
|
|
8069
|
+
delete: {
|
|
8070
|
+
req: PropertyControllerDeleteData;
|
|
8071
|
+
res: {
|
|
8072
|
+
/**
|
|
8073
|
+
* Property deleted successfully
|
|
8074
|
+
*/
|
|
8075
|
+
204: void;
|
|
8076
|
+
/**
|
|
8077
|
+
* Unauthorized
|
|
7895
8078
|
*/
|
|
7896
8079
|
401: unknown;
|
|
8080
|
+
/**
|
|
8081
|
+
* Forbidden - insufficient permissions
|
|
8082
|
+
*/
|
|
8083
|
+
403: unknown;
|
|
8084
|
+
/**
|
|
8085
|
+
* Property not found
|
|
8086
|
+
*/
|
|
8087
|
+
404: unknown;
|
|
7897
8088
|
};
|
|
7898
8089
|
};
|
|
7899
8090
|
};
|
|
7900
|
-
'/api/v1/{region}/
|
|
8091
|
+
'/api/v1/{region}/bean/recurring-rules': {
|
|
7901
8092
|
post: {
|
|
7902
|
-
req:
|
|
8093
|
+
req: RecurringRuleControllerCreateData;
|
|
7903
8094
|
res: {
|
|
7904
8095
|
/**
|
|
7905
|
-
*
|
|
8096
|
+
* Rule created successfully
|
|
7906
8097
|
*/
|
|
7907
|
-
|
|
8098
|
+
201: RecurringRuleResponseDto;
|
|
7908
8099
|
/**
|
|
7909
|
-
* Invalid
|
|
8100
|
+
* Invalid input data (e.g., autoCreate without accounts)
|
|
7910
8101
|
*/
|
|
7911
8102
|
400: unknown;
|
|
7912
8103
|
/**
|
|
7913
|
-
*
|
|
8104
|
+
* Rule with same name already exists
|
|
7914
8105
|
*/
|
|
7915
|
-
|
|
8106
|
+
409: unknown;
|
|
8107
|
+
};
|
|
8108
|
+
};
|
|
8109
|
+
get: {
|
|
8110
|
+
req: RecurringRuleControllerFindAllData;
|
|
8111
|
+
res: {
|
|
7916
8112
|
/**
|
|
7917
|
-
*
|
|
8113
|
+
* Rules retrieved successfully
|
|
7918
8114
|
*/
|
|
7919
|
-
|
|
8115
|
+
200: Array<RecurringRuleResponseDto>;
|
|
7920
8116
|
};
|
|
7921
8117
|
};
|
|
7922
8118
|
};
|
|
7923
|
-
'/api/v1/
|
|
7924
|
-
|
|
7925
|
-
req:
|
|
8119
|
+
'/api/v1/{region}/bean/recurring-rules/from-transaction/{transactionId}': {
|
|
8120
|
+
post: {
|
|
8121
|
+
req: RecurringRuleControllerCreateFromTransactionData;
|
|
7926
8122
|
res: {
|
|
7927
8123
|
/**
|
|
7928
|
-
*
|
|
8124
|
+
* Rule created successfully
|
|
7929
8125
|
*/
|
|
7930
|
-
|
|
8126
|
+
201: RecurringRuleResponseDto;
|
|
7931
8127
|
/**
|
|
7932
|
-
*
|
|
8128
|
+
* Transaction not found
|
|
7933
8129
|
*/
|
|
7934
|
-
|
|
8130
|
+
404: ApiProblemResponseDto;
|
|
8131
|
+
/**
|
|
8132
|
+
* Rule with same name already exists or transaction already linked
|
|
8133
|
+
*/
|
|
8134
|
+
409: ApiProblemResponseDto;
|
|
7935
8135
|
};
|
|
7936
8136
|
};
|
|
8137
|
+
};
|
|
8138
|
+
'/api/v1/{region}/bean/recurring-rules/{id}': {
|
|
7937
8139
|
get: {
|
|
7938
|
-
req:
|
|
8140
|
+
req: RecurringRuleControllerFindOneData;
|
|
7939
8141
|
res: {
|
|
7940
8142
|
/**
|
|
7941
|
-
*
|
|
8143
|
+
* Rule retrieved successfully
|
|
7942
8144
|
*/
|
|
7943
|
-
200:
|
|
8145
|
+
200: RecurringRuleResponseDto;
|
|
8146
|
+
/**
|
|
8147
|
+
* Rule not found
|
|
8148
|
+
*/
|
|
8149
|
+
404: unknown;
|
|
7944
8150
|
};
|
|
7945
8151
|
};
|
|
7946
|
-
|
|
7947
|
-
req:
|
|
8152
|
+
patch: {
|
|
8153
|
+
req: RecurringRuleControllerUpdateData;
|
|
7948
8154
|
res: {
|
|
7949
8155
|
/**
|
|
7950
|
-
*
|
|
8156
|
+
* Rule updated successfully
|
|
7951
8157
|
*/
|
|
7952
|
-
|
|
8158
|
+
200: RecurringRuleResponseDto;
|
|
7953
8159
|
/**
|
|
7954
|
-
* Invalid
|
|
8160
|
+
* Invalid input data
|
|
7955
8161
|
*/
|
|
7956
8162
|
400: unknown;
|
|
7957
8163
|
/**
|
|
7958
|
-
*
|
|
8164
|
+
* Rule not found
|
|
7959
8165
|
*/
|
|
7960
|
-
|
|
8166
|
+
404: unknown;
|
|
7961
8167
|
};
|
|
7962
8168
|
};
|
|
7963
|
-
};
|
|
7964
|
-
'/api/v1/users/{id}': {
|
|
7965
8169
|
delete: {
|
|
7966
|
-
req:
|
|
8170
|
+
req: RecurringRuleControllerDeleteData;
|
|
7967
8171
|
res: {
|
|
7968
8172
|
/**
|
|
7969
|
-
*
|
|
8173
|
+
* Rule deleted successfully
|
|
7970
8174
|
*/
|
|
7971
8175
|
204: void;
|
|
7972
8176
|
/**
|
|
7973
|
-
*
|
|
8177
|
+
* Rule not found
|
|
7974
8178
|
*/
|
|
7975
|
-
|
|
8179
|
+
404: unknown;
|
|
7976
8180
|
};
|
|
7977
8181
|
};
|
|
7978
8182
|
};
|
|
7979
|
-
'/api/v1/
|
|
8183
|
+
'/api/v1/{region}/bean/recurring-rules/{id}/stats': {
|
|
7980
8184
|
get: {
|
|
7981
|
-
req:
|
|
8185
|
+
req: RecurringRuleControllerGetWithStatsData;
|
|
7982
8186
|
res: {
|
|
7983
8187
|
/**
|
|
7984
|
-
*
|
|
8188
|
+
* Rule with stats retrieved successfully
|
|
7985
8189
|
*/
|
|
7986
|
-
200:
|
|
8190
|
+
200: RecurringRuleWithStatsResponseDto;
|
|
7987
8191
|
/**
|
|
7988
|
-
*
|
|
8192
|
+
* Rule not found
|
|
7989
8193
|
*/
|
|
7990
|
-
|
|
8194
|
+
404: unknown;
|
|
7991
8195
|
};
|
|
7992
8196
|
};
|
|
7993
8197
|
};
|
|
7994
|
-
'/api/v1/
|
|
7995
|
-
|
|
7996
|
-
req:
|
|
8198
|
+
'/api/v1/{region}/bean/expected-transactions': {
|
|
8199
|
+
get: {
|
|
8200
|
+
req: ExpectedTransactionControllerFindAllData;
|
|
7997
8201
|
res: {
|
|
7998
8202
|
/**
|
|
7999
|
-
*
|
|
8000
|
-
*/
|
|
8001
|
-
200: unknown;
|
|
8002
|
-
/**
|
|
8003
|
-
* Insufficient permissions
|
|
8203
|
+
* Expected transactions retrieved successfully
|
|
8004
8204
|
*/
|
|
8005
|
-
|
|
8205
|
+
200: ExpectedTransactionListResponseDto;
|
|
8006
8206
|
};
|
|
8007
8207
|
};
|
|
8008
8208
|
};
|
|
8009
|
-
'/api/v1/
|
|
8209
|
+
'/api/v1/{region}/bean/expected-transactions/overdue': {
|
|
8010
8210
|
get: {
|
|
8011
|
-
req:
|
|
8211
|
+
req: ExpectedTransactionControllerFindOverdueData;
|
|
8012
8212
|
res: {
|
|
8013
8213
|
/**
|
|
8014
|
-
*
|
|
8214
|
+
* Overdue transactions retrieved successfully
|
|
8015
8215
|
*/
|
|
8016
|
-
200:
|
|
8216
|
+
200: ExpectedTransactionListResponseDto;
|
|
8017
8217
|
};
|
|
8018
8218
|
};
|
|
8019
8219
|
};
|
|
8020
|
-
'/api/v1/
|
|
8220
|
+
'/api/v1/{region}/bean/expected-transactions/{id}': {
|
|
8021
8221
|
get: {
|
|
8222
|
+
req: ExpectedTransactionControllerFindOneData;
|
|
8022
8223
|
res: {
|
|
8023
8224
|
/**
|
|
8024
|
-
*
|
|
8225
|
+
* Expected transaction retrieved successfully
|
|
8025
8226
|
*/
|
|
8026
|
-
200:
|
|
8227
|
+
200: ExpectedTransactionResponseDto;
|
|
8228
|
+
/**
|
|
8229
|
+
* Expected transaction not found
|
|
8230
|
+
*/
|
|
8231
|
+
404: unknown;
|
|
8027
8232
|
};
|
|
8028
8233
|
};
|
|
8029
8234
|
};
|
|
8030
|
-
'/api/v1/
|
|
8031
|
-
|
|
8235
|
+
'/api/v1/{region}/bean/expected-transactions/{id}/skip': {
|
|
8236
|
+
post: {
|
|
8237
|
+
req: ExpectedTransactionControllerSkipData;
|
|
8032
8238
|
res: {
|
|
8033
8239
|
/**
|
|
8034
|
-
*
|
|
8240
|
+
* Expected transaction skipped successfully
|
|
8035
8241
|
*/
|
|
8036
|
-
200:
|
|
8242
|
+
200: ExpectedTransactionResponseDto;
|
|
8037
8243
|
/**
|
|
8038
|
-
*
|
|
8244
|
+
* Cannot skip - not in PENDING status
|
|
8039
8245
|
*/
|
|
8040
|
-
|
|
8246
|
+
400: unknown;
|
|
8041
8247
|
/**
|
|
8042
|
-
*
|
|
8248
|
+
* Expected transaction not found
|
|
8043
8249
|
*/
|
|
8044
|
-
|
|
8250
|
+
404: unknown;
|
|
8045
8251
|
};
|
|
8046
8252
|
};
|
|
8047
|
-
|
|
8048
|
-
|
|
8049
|
-
get: {
|
|
8050
|
-
req: PropertyControllerGetByKeyData;
|
|
8253
|
+
delete: {
|
|
8254
|
+
req: ExpectedTransactionControllerUndoSkipData;
|
|
8051
8255
|
res: {
|
|
8052
8256
|
/**
|
|
8053
|
-
*
|
|
8054
|
-
*/
|
|
8055
|
-
200: unknown;
|
|
8056
|
-
/**
|
|
8057
|
-
* Unauthorized
|
|
8257
|
+
* Skip undone successfully
|
|
8058
8258
|
*/
|
|
8059
|
-
|
|
8259
|
+
204: void;
|
|
8060
8260
|
/**
|
|
8061
|
-
*
|
|
8261
|
+
* Cannot undo - not in SKIPPED status
|
|
8062
8262
|
*/
|
|
8063
|
-
|
|
8263
|
+
400: unknown;
|
|
8064
8264
|
/**
|
|
8065
|
-
*
|
|
8265
|
+
* Expected transaction not found
|
|
8066
8266
|
*/
|
|
8067
8267
|
404: unknown;
|
|
8068
8268
|
};
|
|
8069
8269
|
};
|
|
8070
|
-
|
|
8071
|
-
|
|
8270
|
+
};
|
|
8271
|
+
'/api/v1/{region}/bean/expected-transactions/{id}/match': {
|
|
8272
|
+
post: {
|
|
8273
|
+
req: ExpectedTransactionControllerConfirmMatchData;
|
|
8072
8274
|
res: {
|
|
8073
8275
|
/**
|
|
8074
|
-
*
|
|
8276
|
+
* Match confirmed successfully
|
|
8075
8277
|
*/
|
|
8076
8278
|
200: unknown;
|
|
8077
8279
|
/**
|
|
8078
|
-
*
|
|
8280
|
+
* Cannot match - not in PENDING status
|
|
8079
8281
|
*/
|
|
8080
|
-
|
|
8282
|
+
400: unknown;
|
|
8081
8283
|
/**
|
|
8082
|
-
*
|
|
8284
|
+
* Expected or actual transaction not found
|
|
8083
8285
|
*/
|
|
8084
|
-
|
|
8286
|
+
404: unknown;
|
|
8287
|
+
/**
|
|
8288
|
+
* Actual transaction already matched to another rule
|
|
8289
|
+
*/
|
|
8290
|
+
409: unknown;
|
|
8085
8291
|
};
|
|
8086
8292
|
};
|
|
8087
8293
|
delete: {
|
|
8088
|
-
req:
|
|
8294
|
+
req: ExpectedTransactionControllerUnmatchData;
|
|
8089
8295
|
res: {
|
|
8090
8296
|
/**
|
|
8091
|
-
*
|
|
8297
|
+
* Match removed successfully
|
|
8092
8298
|
*/
|
|
8093
8299
|
204: void;
|
|
8094
8300
|
/**
|
|
8095
|
-
*
|
|
8301
|
+
* Cannot unmatch - not in COMPLETED status
|
|
8096
8302
|
*/
|
|
8097
|
-
|
|
8303
|
+
400: unknown;
|
|
8098
8304
|
/**
|
|
8099
|
-
*
|
|
8305
|
+
* Expected transaction not found
|
|
8100
8306
|
*/
|
|
8101
|
-
|
|
8307
|
+
404: unknown;
|
|
8308
|
+
};
|
|
8309
|
+
};
|
|
8310
|
+
};
|
|
8311
|
+
'/api/v1/{region}/bean/expected-transactions/{id}/enter': {
|
|
8312
|
+
post: {
|
|
8313
|
+
req: ExpectedTransactionControllerEnterNowData;
|
|
8314
|
+
res: {
|
|
8102
8315
|
/**
|
|
8103
|
-
*
|
|
8316
|
+
* Transaction created successfully
|
|
8317
|
+
*/
|
|
8318
|
+
201: unknown;
|
|
8319
|
+
/**
|
|
8320
|
+
* Cannot enter - not in PENDING status or missing accounts
|
|
8321
|
+
*/
|
|
8322
|
+
400: unknown;
|
|
8323
|
+
/**
|
|
8324
|
+
* Expected transaction or accounts not found
|
|
8104
8325
|
*/
|
|
8105
8326
|
404: unknown;
|
|
8106
8327
|
};
|
|
8107
8328
|
};
|
|
8108
8329
|
};
|
|
8330
|
+
'/api/v1/{region}/bean/recurring/forecast': {
|
|
8331
|
+
get: {
|
|
8332
|
+
req: ForecastControllerGetForecastData;
|
|
8333
|
+
res: {
|
|
8334
|
+
/**
|
|
8335
|
+
* Forecast retrieved successfully
|
|
8336
|
+
*/
|
|
8337
|
+
200: ForecastResponseDto;
|
|
8338
|
+
};
|
|
8339
|
+
};
|
|
8340
|
+
};
|
|
8109
8341
|
'/api/v1/{region}/bean/transaction-rules': {
|
|
8110
8342
|
post: {
|
|
8111
8343
|
req: TransactionRuleControllerCreateData;
|
|
@@ -8503,7 +8735,10 @@ type $OpenApiTs = {
|
|
|
8503
8735
|
'/api/v1/{region}/bean/export/beancount': {
|
|
8504
8736
|
get: {
|
|
8505
8737
|
res: {
|
|
8506
|
-
|
|
8738
|
+
/**
|
|
8739
|
+
* ZIP archive (application/zip) streamed as an attachment
|
|
8740
|
+
*/
|
|
8741
|
+
200: Blob | File;
|
|
8507
8742
|
};
|
|
8508
8743
|
};
|
|
8509
8744
|
};
|
|
@@ -8884,6 +9119,17 @@ type $OpenApiTs = {
|
|
|
8884
9119
|
};
|
|
8885
9120
|
};
|
|
8886
9121
|
};
|
|
9122
|
+
'/api/v1/bean/platforms/{id}/standards': {
|
|
9123
|
+
get: {
|
|
9124
|
+
req: PlatformControllerGetPlatformStandardsData;
|
|
9125
|
+
res: {
|
|
9126
|
+
/**
|
|
9127
|
+
* Resolved region plus the merged account-standard catalog of that region (groupable by productCategory client-side)
|
|
9128
|
+
*/
|
|
9129
|
+
200: PlatformStandardsResponseDto;
|
|
9130
|
+
};
|
|
9131
|
+
};
|
|
9132
|
+
};
|
|
8887
9133
|
'/api/v1/bean/platforms/{id}': {
|
|
8888
9134
|
put: {
|
|
8889
9135
|
req: PlatformControllerUpdateData;
|
|
@@ -9028,10 +9274,48 @@ type $OpenApiTs = {
|
|
|
9028
9274
|
};
|
|
9029
9275
|
};
|
|
9030
9276
|
};
|
|
9277
|
+
'/api/v1/{region}/community/parser-contributions': {
|
|
9278
|
+
post: {
|
|
9279
|
+
req: ParserContributionControllerCreateData;
|
|
9280
|
+
res: {
|
|
9281
|
+
/**
|
|
9282
|
+
* Issue created by the bot
|
|
9283
|
+
*/
|
|
9284
|
+
201: ParserContributionRelayResponseDto;
|
|
9285
|
+
/**
|
|
9286
|
+
* Unauthorized
|
|
9287
|
+
*/
|
|
9288
|
+
401: ApiProblemResponseDto;
|
|
9289
|
+
/**
|
|
9290
|
+
* Validation failed (institution slug, empty samples, row/cell size limits)
|
|
9291
|
+
*/
|
|
9292
|
+
422: ApiProblemResponseDto;
|
|
9293
|
+
/**
|
|
9294
|
+
* Rate limited (5 submissions per user per hour)
|
|
9295
|
+
*/
|
|
9296
|
+
429: ApiProblemResponseDto;
|
|
9297
|
+
/**
|
|
9298
|
+
* Relay not configured on this deployment — clients fall back to the clipboard flow
|
|
9299
|
+
*/
|
|
9300
|
+
501: ApiProblemResponseDto;
|
|
9301
|
+
/**
|
|
9302
|
+
* GitHub bot failure (upstream), safe to retry
|
|
9303
|
+
*/
|
|
9304
|
+
502: ApiProblemResponseDto;
|
|
9305
|
+
};
|
|
9306
|
+
};
|
|
9307
|
+
};
|
|
9031
9308
|
'/api/v1/cache/flush': {
|
|
9032
9309
|
post: {
|
|
9033
9310
|
res: {
|
|
9034
|
-
|
|
9311
|
+
/**
|
|
9312
|
+
* Cache flushed successfully
|
|
9313
|
+
*/
|
|
9314
|
+
200: unknown;
|
|
9315
|
+
/**
|
|
9316
|
+
* Admin access required
|
|
9317
|
+
*/
|
|
9318
|
+
403: ApiProblemResponseDto;
|
|
9035
9319
|
};
|
|
9036
9320
|
};
|
|
9037
9321
|
};
|
|
@@ -9307,10 +9591,11 @@ declare class BeanTransactionsService {
|
|
|
9307
9591
|
* @param data.offset Number of items to skip (default: 0)
|
|
9308
9592
|
* @param data.dateFrom Filter by start date (inclusive), format: YYYY-MM-DD
|
|
9309
9593
|
* @param data.dateTo Filter by end date (inclusive), format: YYYY-MM-DD
|
|
9310
|
-
* @param data.status Filter by transaction status
|
|
9594
|
+
* @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).
|
|
9311
9595
|
* @param data.search Search in narration and payee fields (max 200 chars)
|
|
9312
9596
|
* @param data.accountId Filter by account ID (transactions with postings to this account)
|
|
9313
|
-
* @param data.category Filter by ADR-0075 functional category (Group segment); matches any posting to an
|
|
9597
|
+
* @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).
|
|
9598
|
+
* @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.
|
|
9314
9599
|
* @returns TransactionListResponseDto Transaction list
|
|
9315
9600
|
* @throws ApiError
|
|
9316
9601
|
*/
|
|
@@ -9616,4 +9901,4 @@ type OpenAPIConfig = {
|
|
|
9616
9901
|
};
|
|
9617
9902
|
declare const OpenAPI: OpenAPIConfig;
|
|
9618
9903
|
|
|
9619
|
-
export { type $OpenApiTs, type AccountControllerAddOpeningBalanceData, type AccountControllerAddOpeningBalanceResponse, type AccountControllerCloseData, type AccountControllerCloseResponse, type AccountControllerCreateData, type AccountControllerCreateResponse, type AccountControllerDeleteData, type AccountControllerDeleteResponse, type AccountControllerFindAllData, type AccountControllerFindAllResponse, type AccountControllerFindOneData, type AccountControllerFindOneResponse, type AccountControllerReopenData, type AccountControllerReopenResponse, type AccountControllerUpdateData, type AccountControllerUpdateResponse, type AccountExchangeRateWarningDto, type AccountItemDto, type AccountItemWithAssetClassDto, type AccountListResponseDto, type AccountResponseDto, type AccountStandardListResponseDto, type AccountStandardResponseDto, type AccountStandardsControllerGetRegionsData, type AccountStandardsControllerGetRegionsResponse, type AccountStandardsControllerGetTemplateMetadataData, type AccountStandardsControllerGetTemplateMetadataResponse, type AccountStandardsControllerGetTemplatesData, type AccountStandardsControllerGetTemplatesResponse, type AccountsResponseDto, type AccountsSummaryDto, type ActualBalanceDto, type AmountDto, type AmountRangeDto, type AnonymousLoginDto, type AnonymousLoginResponseDto, type ApiKeysControllerCreateApiKeyResponse, type ApiProblemResponseDto, type AssertReconciliationDto, type AssetClassAccountsResponseDto, type AssetClassGroupDto, type AssetClassSummaryDto, type AuthControllerAccessTokenLoginData, type AuthControllerAccessTokenLoginResponse, type BackfillSnapshotsBody, type BackfillSnapshotsResponse, type BalanceByCurrencyDto, type BalanceControllerGetBalanceData, type BalanceControllerGetBalanceResponse, type BalanceControllerGetMultiCurrencyBalanceData, type BalanceControllerGetMultiCurrencyBalanceResponse, type BalanceResponseDto, type BatchCreateTransactionDto, type BatchResolveDto, type BatchResolveResultDto, type BatchTransactionErrorDto, type BatchTransactionResponseDto, BeanAccountsService, BeanBalancesService, BeanCommoditiesService, BeanTransactionsService, type BulkCreateRulesDto, type BulkCreateRulesResponseDto, type CacheControllerFlushCacheResponse, type CashFlowByCurrencyDto, type CashFlowPointDto, type CashFlowResponseDto, type CashFlowTrendSummaryDto, type CashFlowTrendsResponseDto, type CategoryCatalogControllerListData, type CategoryCatalogControllerListResponse, type CategoryCatalogEntryDto, type CategoryCatalogListResponseDto, type CategoryGroupDto, type CloseAccountDto, type CommodityControllerBulkCreateData, type CommodityControllerBulkCreateResponse, type CommodityControllerCreateData, type CommodityControllerCreateResponse, type CommodityControllerDeleteData, type CommodityControllerDeleteResponse, type CommodityControllerFindAllData, type CommodityControllerFindAllResponse, type CommodityControllerFindOneData, type CommodityControllerFindOneResponse, type CommodityControllerGetOrCreateData, type CommodityControllerGetOrCreateResponse, type CommodityControllerUpdateData, type CommodityControllerUpdateResponse, type CommodityListResponseDto, type CommodityResponseDto, type ComputeReconciliationDto, type ConfirmMatchDto, type ConvertedCashFlowDto, type ConvertedNetWorthDto, type CorrectTransactionDto, type CostDetailDto, type CostSpecDto, type CreateAccountDto, type CreateBeanEventDto, type CreateBeanPriceDto, type CreateCommodityDto, type CreateExternalAccountLinkDto, type CreateOpeningBalanceDto, type CreatePayeeDto, type CreatePayeeProfileDto, type CreatePlatformDto, type CreatePostingDto, type CreateRecurringRuleDto, type CreateRuleFromTransactionDto, type CreateTransactionDto, type CreateTransactionRuleDto, type CurrencyBalanceDto, type CurrentPriceDto, type DashboardControllerGetAccountsData, type DashboardControllerGetAccountsResponse, type DashboardControllerGetCashFlowData, type DashboardControllerGetCashFlowResponse, type DashboardControllerGetExpensesData, type DashboardControllerGetExpensesResponse, type DashboardControllerGetNetWorthData, type DashboardControllerGetNetWorthResponse, type DecisionOptionDto, type DeleteOwnUserDto, type EnterNowDto, type EventControllerCreateData, type EventControllerCreateResponse, type EventControllerDeleteData, type EventControllerDeleteResponse, type EventControllerFindAllData, type EventControllerFindAllResponse, type EventControllerFindOneData, type EventControllerFindOneResponse, type EventControllerGetSliceData, type EventControllerGetSliceResponse, type EventControllerUpdateData, type EventControllerUpdateResponse, type EventListResponseDto, type EventResponseDto, type ExchangeRateControllerGetExchangeRateData, type ExchangeRateControllerGetExchangeRateResponse, type ExchangeRateWarningDto, type ExpectedTransactionControllerConfirmMatchData, type ExpectedTransactionControllerConfirmMatchResponse, type ExpectedTransactionControllerEnterNowData, type ExpectedTransactionControllerEnterNowResponse, type ExpectedTransactionControllerFindAllData, type ExpectedTransactionControllerFindAllResponse, type ExpectedTransactionControllerFindOneData, type ExpectedTransactionControllerFindOneResponse, type ExpectedTransactionControllerFindOverdueData, type ExpectedTransactionControllerFindOverdueResponse, type ExpectedTransactionControllerSkipData, type ExpectedTransactionControllerSkipResponse, type ExpectedTransactionControllerUndoSkipData, type ExpectedTransactionControllerUndoSkipResponse, type ExpectedTransactionControllerUnmatchData, type ExpectedTransactionControllerUnmatchResponse, type ExpectedTransactionListResponseDto, type ExpectedTransactionResponseDto, type ExpectedTransactionRuleDto, type ExpensesByCategoryResponseDto, type ExpensesByCategorySummaryDto, type ExportControllerExportBeancountResponse, type ExportRulesResponseDto, type ExternalAccountLinkControllerCreateData, type ExternalAccountLinkControllerCreateResponse, type ExternalAccountLinkControllerFindAllData, type ExternalAccountLinkControllerFindAllResponse, type ExternalAccountLinkControllerFindOneData, type ExternalAccountLinkControllerFindOneResponse, type ExternalAccountLinkControllerRemoveData, type ExternalAccountLinkControllerRemoveResponse, type ExternalAccountLinkListResponseDto, type ExternalAccountLinkResponseDto, type FileImportControllerIdentifyFileData, type FileImportControllerIdentifyFileResponse, type FileImportControllerImportBeancountData, type FileImportControllerImportBeancountResponse, type FileImportControllerImportFileData, type FileImportControllerImportFileResponse, type FileImportDto, type ForecastControllerGetForecastData, type ForecastControllerGetForecastResponse, type ForecastItemDto, type ForecastResponseDto, type FxRateDto, type GenerateSnapshotBody, type GenerateSnapshotResponse, type HealthControllerCheckDatabaseResponse, type HealthControllerCheckOpenBbResponse, type HealthControllerCheckRedisResponse, type HealthControllerGetCircuitBreakersHealthResponse, type HealthControllerGetHealthResponse, type HealthControllerGetMetricsResponse, type HealthControllerResetCircuitBreakerData, type HealthControllerResetCircuitBreakerResponse, HealthService, type HoldingAssetClassAccountSliceDto, type HoldingAssetClassCrossAccountResponseDto, type HoldingPnlControllerGetHoldingPnlData, type HoldingPnlControllerGetHoldingPnlResponse, type HoldingPnlResponseDto, type HoldingPnlRowDto, type HoldingPnlWarningDto, type IdentifyResultDto, type ImportErrorDto, type ImportResultDto, type ImporterConfigControllerGetConfigData, type ImporterConfigControllerGetConfigResponse, type ImporterConfigControllerResetConfigData, type ImporterConfigControllerResetConfigResponse, type ImporterConfigControllerUpdateConfigData, type ImporterConfigControllerUpdateConfigResponse, type ImporterConfigDataDto, type ImporterConfigDto, type InfoControllerGetInfoResponse, type MapperDefaultsDto, type MonetaryDto, type MonthlyForecastDto, type MultiCurrencyBalanceResponseDto, type MultiCurrencyPointDto, type NetWorthByCurrencyDto, type NetWorthResponseDto, type NlpAccountConfirmationDataDto, type NlpAlternativePayeeDto, type NlpControllerClearSessionData, type NlpControllerClearSessionResponse, type NlpControllerGetSessionData, type NlpControllerGetSessionResponse, type NlpControllerProcessNaturalLanguageData, type NlpControllerProcessNaturalLanguageResponse, type NlpDefaultAccountsDto, type NlpDuplicateConfirmationDataDto, type NlpParsedDataDto, type NlpPayeeConfirmationDataDto, type NlpResponseDto, type NlpRuleConfirmationDataDto, type NlpSimilarityDto, type NlpSourceTransactionDto, type NlpSuggestedAccountDto, type NlpSuggestedAccountsDto, type NlpSuggestedPayeeDto, type NlpTargetTransactionDto, type NlpTransactionInfoDto, type OnboardingAccountDto, type OnboardingControllerBootstrapData, type OnboardingControllerBootstrapResponse, type OnboardingDto, OpenAPI, type OpenAPIConfig, type OpeningBalanceResultDto, type PadReconciliationDto, type PadResultDto, type ParserTelemetryReportDto, type PayeeAutocompleteResponseDto, type PayeeControllerAutocompleteData, type PayeeControllerAutocompleteResponse, type PayeeControllerCreateData, type PayeeControllerCreateResponse, type PayeeControllerDeleteData, type PayeeControllerDeleteResponse, type PayeeControllerFindAllData, type PayeeControllerFindAllResponse, type PayeeControllerFindOneData, type PayeeControllerFindOneResponse, type PayeeControllerGetTopPayeesData, type PayeeControllerGetTopPayeesResponse, type PayeeControllerUpdateData, type PayeeControllerUpdateResponse, type PayeeListResponseDto, type PayeeProfileAdminControllerCreateData, type PayeeProfileAdminControllerCreateResponse, type PayeeProfileAdminControllerDeleteData, type PayeeProfileAdminControllerDeleteResponse, type PayeeProfileAdminControllerFindAllData, type PayeeProfileAdminControllerFindAllResponse, type PayeeProfileAdminControllerFindOneData, type PayeeProfileAdminControllerFindOneResponse, type PayeeProfileAdminControllerUnverifyData, type PayeeProfileAdminControllerUnverifyResponse, type PayeeProfileAdminControllerUpdateData, type PayeeProfileAdminControllerUpdateResponse, type PayeeProfileAdminControllerVerifyData, type PayeeProfileAdminControllerVerifyResponse, type PayeeProfileListResponseDto, type PayeeProfileResponseDto, type PayeeResponseDto, type PayeeStatsResponseDto, type PlatformControllerCreateData, type PlatformControllerCreateResponse, type PlatformControllerDeleteData, type PlatformControllerDeleteResponse, type PlatformControllerFindAllResponse, type PlatformControllerGetPlatformListData, type PlatformControllerGetPlatformListResponse, type PlatformControllerMatchPlatformsData, type PlatformControllerMatchPlatformsResponse, type PlatformControllerUpdateData, type PlatformControllerUpdateResponse, type PlatformGroupDto, type PlatformListItemDto, type PlatformMatchResponseDto, type PlatformMatchResultDto, type PortfolioTrendsResponseDto, type PostingDetailDto, type PostingResponseDto, type PriceControllerBulkCreateData, type PriceControllerBulkCreateResponse, type PriceControllerCreateData, type PriceControllerCreateResponse, type PriceControllerDeleteData, type PriceControllerDeleteResponse, type PriceControllerFindAllData, type PriceControllerFindAllResponse, type PriceControllerFindOneData, type PriceControllerFindOneResponse, type PriceControllerUpdateData, type PriceControllerUpdateResponse, type PriceListResponseDto, type PriceResponseDto, type ProcessNlpDto, type PropertyControllerDeleteData, type PropertyControllerDeleteResponse, type PropertyControllerGetAllResponse, type PropertyControllerGetByKeyData, type PropertyControllerGetByKeyResponse, type PropertyControllerUpdateData, type PropertyControllerUpdateResponse, type ProviderSyncConfigDto, type ProviderSyncControllerGetSupportedProvidersData, type ProviderSyncControllerGetSupportedProvidersResponse, type ProviderSyncControllerIsProviderSupportedData, type ProviderSyncControllerIsProviderSupportedResponse, type ProviderSyncControllerSyncData, type ProviderSyncControllerSyncResponse, type ProviderSyncDto, type ProviderSyncResponseDto, ProviderSyncService, type ReconciliationComputeResultDto, type ReconciliationControllerAssertData, type ReconciliationControllerAssertResponse, type ReconciliationControllerComputeData, type ReconciliationControllerComputeResponse, type ReconciliationControllerHistoryData, type ReconciliationControllerHistoryResponse, type ReconciliationControllerPadData, type ReconciliationControllerPadResponse, type ReconciliationRecordDto, type RecurringMatchInfoDto, type RecurringRuleControllerCreateData, type RecurringRuleControllerCreateFromTransactionData, type RecurringRuleControllerCreateFromTransactionResponse, type RecurringRuleControllerCreateResponse, type RecurringRuleControllerDeleteData, type RecurringRuleControllerDeleteResponse, type RecurringRuleControllerFindAllData, type RecurringRuleControllerFindAllResponse, type RecurringRuleControllerFindOneData, type RecurringRuleControllerFindOneResponse, type RecurringRuleControllerGetWithStatsData, type RecurringRuleControllerGetWithStatsResponse, type RecurringRuleControllerUpdateData, type RecurringRuleControllerUpdateResponse, type RecurringRuleResponseDto, type RecurringRuleWithStatsResponseDto, type RecurringSuggestionDto, type RegionConfigDto, type RegionInfoDto, type RegionsMetadataResponseDto, type ReopenAccountDto, type ReportingControllerBackfillSnapshotsData, type ReportingControllerBackfillSnapshotsResponse, type ReportingControllerGenerateSnapshotData, type ReportingControllerGenerateSnapshotResponse, type ReportingControllerGetCashFlowTrendsData, type ReportingControllerGetCashFlowTrendsResponse, type ReportingControllerGetPortfolioTrendsData, type ReportingControllerGetPortfolioTrendsResponse, type ResolveResultDto, type ResolveReviewDto, type ReviewControllerBatchResolveData, type ReviewControllerBatchResolveResponse, type ReviewControllerFindAllData, type ReviewControllerFindAllResponse, type ReviewControllerFindOneData, type ReviewControllerFindOneResponse, type ReviewControllerGetStatsData, type ReviewControllerGetStatsResponse, type ReviewControllerResolveData, type ReviewControllerResolveResponse, type ReviewControllerUndoData, type ReviewControllerUndoResponse, type ReviewDetailDto, type ReviewItemPreviewDto, type ReviewListResponseDto, type ReviewStatsDto, type ReviewSummaryDto, type RuleStatisticsResponseDto, type SignupDto, type SignupResponseDto, type SupportedProvidersResponseDto, type SymbolControllerGetQuoteData, type SymbolControllerGetQuoteResponse, type SymbolControllerSearchData, type SymbolControllerSearchResponse, type SymbolQuoteDto, type SymbolSearchResultDto, type TagSuggestionDto, type TagSuggestionsResponseDto, type TelemetryControllerGetCoverageMetricsData, type TelemetryControllerGetCoverageMetricsResponse, type TelemetryControllerReportCoverageMissData, type TelemetryControllerReportCoverageMissResponse, type TelemetryControllerReportTelemetryData, type TelemetryControllerReportTelemetryResponse, type TemplateMetadataDto, type TemplateMetadataResponseDto, type TestRuleDto, type TestRuleResponseDto, type TimeSeriesPointDto, type TransactionControllerCorrectData, type TransactionControllerCorrectResponse, type TransactionControllerCreateBatchData, type TransactionControllerCreateBatchResponse, type TransactionControllerCreateData, type TransactionControllerCreateResponse, type TransactionControllerDeleteData, type TransactionControllerDeleteResponse, type TransactionControllerGetDetailData, type TransactionControllerGetDetailResponse, type TransactionControllerListData, type TransactionControllerListResponse, type TransactionControllerSuggestTagsData, type TransactionControllerSuggestTagsResponse, type TransactionControllerUpdateData, type TransactionControllerUpdateResponse, type TransactionDetailDto, type TransactionListResponseDto, type TransactionListSummaryDto, type TransactionResponseDto, type TransactionRuleControllerBulkCreateData, type TransactionRuleControllerBulkCreateResponse, type TransactionRuleControllerCreateData, type TransactionRuleControllerCreateResponse, type TransactionRuleControllerDeleteData, type TransactionRuleControllerDeleteResponse, type TransactionRuleControllerExportData, type TransactionRuleControllerExportResponse, type TransactionRuleControllerGetDetailData, type TransactionRuleControllerGetDetailResponse, type TransactionRuleControllerGetStatisticsData, type TransactionRuleControllerGetStatisticsResponse, type TransactionRuleControllerListData, type TransactionRuleControllerListResponse, type TransactionRuleControllerTestData, type TransactionRuleControllerTestResponse, type TransactionRuleControllerUpdateData, type TransactionRuleControllerUpdateResponse, type TransactionRuleControllerValidateData, type TransactionRuleControllerValidateResponse, type TransactionRuleListResponseDto, type TransactionRuleResponseDto, type TransactionSummaryDto, type TrendSummaryDto, type UncoveredFormatMissDto, type UndoResultDto, type UpdateAccountDto, type UpdateBeanEventDto, type UpdateBeanPriceDto, type UpdateCommodityDto, type UpdateConfigDataDto, type UpdateImporterConfigDto, type UpdateMapperDefaultsDto, type UpdatePayeeDto, type UpdatePayeeProfileDto, type UpdatePlatformDto, type UpdatePropertyDto, type UpdateRecurringRuleDto, type UpdateTransactionDto, type UpdateTransactionRuleDto, type UpdateUserSettingDto, type UserControllerDeleteOwnUserData, type UserControllerDeleteOwnUserResponse, type UserControllerDeleteUserData, type UserControllerDeleteUserResponse, type UserControllerGetAllUserSettingsByPageData, type UserControllerGetAllUserSettingsByPageResponse, type UserControllerGetAssetLiabilitySummaryResponse, type UserControllerGetUserData, type UserControllerGetUserInfoData, type UserControllerGetUserInfoResponse, type UserControllerGetUserResponse, type UserControllerSignupUserData, type UserControllerSignupUserResponse, type UserControllerUpdateUserSettingData, type UserControllerUpdateUserSettingResponse, type UserResponseDto, type UserSettingsResponseDto, type ValidateRuleDto, type ValidateRuleResponseDto, type VersionedConfigDto, type action, type action2, type assetClass, type assetSubClass, type assetSubType, type bookingMethod, type branchType, type category, type chartToken, type colorScheme, type confidenceLevel, type conflictStrategy, type dataSource, type equitySubType, type flag, type flag2, type frequency, type importerId, type intent, type investmentAction, type learningSource, type liabilitySubType, type matchLogic, type matchType, type matchType2, type method, type mode, type paymentSource, type period, type productCategory, type provider, type role, type scenario, type source, type source2, type source3, type status, type status2, type status3, type status4, type suggestedAction, type suggestedFrequency, type type, type type2, type type3, type type4, type value, type viewMode };
|
|
9904
|
+
export { type $OpenApiTs, type AccountControllerAddOpeningBalanceData, type AccountControllerAddOpeningBalanceResponse, type AccountControllerCloseData, type AccountControllerCloseResponse, type AccountControllerCreateData, type AccountControllerCreateResponse, type AccountControllerDeleteData, type AccountControllerDeleteResponse, type AccountControllerFindAllData, type AccountControllerFindAllResponse, type AccountControllerFindOneData, type AccountControllerFindOneResponse, type AccountControllerReopenData, type AccountControllerReopenResponse, type AccountControllerUpdateData, type AccountControllerUpdateResponse, type AccountExchangeRateWarningDto, type AccountItemDto, type AccountItemWithAssetClassDto, type AccountListResponseDto, type AccountResponseDto, type AccountStandardListResponseDto, type AccountStandardResponseDto, type AccountStandardsControllerGetRegionsData, type AccountStandardsControllerGetRegionsResponse, type AccountStandardsControllerGetTemplateMetadataData, type AccountStandardsControllerGetTemplateMetadataResponse, type AccountStandardsControllerGetTemplatesData, type AccountStandardsControllerGetTemplatesResponse, type AccountsResponseDto, type AccountsSummaryDto, type ActualBalanceDto, type AmountDto, type AmountRangeDto, type AnonymousLoginDto, type AnonymousLoginResponseDto, type ApiKeysControllerCreateApiKeyResponse, type ApiProblemResponseDto, type AssertReconciliationDto, type AssetClassAccountsResponseDto, type AssetClassGroupDto, type AssetClassSummaryDto, type AuthControllerAccessTokenLoginData, type AuthControllerAccessTokenLoginResponse, type BackfillSnapshotsBody, type BackfillSnapshotsResponse, type BalanceByCurrencyDto, type BalanceControllerGetBalanceData, type BalanceControllerGetBalanceResponse, type BalanceControllerGetMultiCurrencyBalanceData, type BalanceControllerGetMultiCurrencyBalanceResponse, type BalanceResponseDto, type BatchCreateTransactionDto, type BatchResolveDto, type BatchResolveResultDto, type BatchTransactionErrorDto, type BatchTransactionResponseDto, BeanAccountsService, BeanBalancesService, BeanCommoditiesService, BeanTransactionsService, type BulkCreateRulesDto, type BulkCreateRulesResponseDto, type CacheControllerFlushCacheResponse, type CashFlowByCurrencyDto, type CashFlowPointDto, type CashFlowResponseDto, type CashFlowTrendSummaryDto, type CashFlowTrendsResponseDto, type CategoryCatalogControllerListData, type CategoryCatalogControllerListResponse, type CategoryCatalogEntryDto, type CategoryCatalogListResponseDto, type CategoryGroupDto, type ClientParsedDataDto, type CloseAccountDto, type CommodityControllerBulkCreateData, type CommodityControllerBulkCreateResponse, type CommodityControllerCreateData, type CommodityControllerCreateResponse, type CommodityControllerDeleteData, type CommodityControllerDeleteResponse, type CommodityControllerFindAllData, type CommodityControllerFindAllResponse, type CommodityControllerFindOneData, type CommodityControllerFindOneResponse, type CommodityControllerGetOrCreateData, type CommodityControllerGetOrCreateResponse, type CommodityControllerUpdateData, type CommodityControllerUpdateResponse, type CommodityListResponseDto, type CommodityResponseDto, type ComputeReconciliationDto, type ConfirmMatchDto, type ConvertedCashFlowDto, type ConvertedNetWorthDto, type CorrectTransactionDto, type CostDetailDto, type CostSpecDto, type CreateAccountDto, type CreateBeanEventDto, type CreateBeanPriceDto, type CreateCommodityDto, type CreateExternalAccountLinkDto, type CreateOpeningBalanceDto, type CreatePayeeDto, type CreatePayeeProfileDto, type CreatePlatformDto, type CreatePostingDto, type CreateRecurringRuleDto, type CreateRuleFromTransactionDto, type CreateTransactionDto, type CreateTransactionRuleDto, type CurrencyBalanceDto, type CurrentPriceDto, type DashboardControllerGetAccountsData, type DashboardControllerGetAccountsResponse, type DashboardControllerGetCashFlowData, type DashboardControllerGetCashFlowResponse, type DashboardControllerGetExpensesData, type DashboardControllerGetExpensesResponse, type DashboardControllerGetNetWorthData, type DashboardControllerGetNetWorthResponse, type DecisionOptionDto, type DeleteOwnUserDto, type EnterNowDto, type EventControllerCreateData, type EventControllerCreateResponse, type EventControllerDeleteData, type EventControllerDeleteResponse, type EventControllerFindAllData, type EventControllerFindAllResponse, type EventControllerFindOneData, type EventControllerFindOneResponse, type EventControllerGetSliceData, type EventControllerGetSliceResponse, type EventControllerUpdateData, type EventControllerUpdateResponse, type EventListResponseDto, type EventResponseDto, type ExchangeRateControllerGetExchangeRateData, type ExchangeRateControllerGetExchangeRateResponse, type ExchangeRateWarningDto, type ExpectedTransactionControllerConfirmMatchData, type ExpectedTransactionControllerConfirmMatchResponse, type ExpectedTransactionControllerEnterNowData, type ExpectedTransactionControllerEnterNowResponse, type ExpectedTransactionControllerFindAllData, type ExpectedTransactionControllerFindAllResponse, type ExpectedTransactionControllerFindOneData, type ExpectedTransactionControllerFindOneResponse, type ExpectedTransactionControllerFindOverdueData, type ExpectedTransactionControllerFindOverdueResponse, type ExpectedTransactionControllerSkipData, type ExpectedTransactionControllerSkipResponse, type ExpectedTransactionControllerUndoSkipData, type ExpectedTransactionControllerUndoSkipResponse, type ExpectedTransactionControllerUnmatchData, type ExpectedTransactionControllerUnmatchResponse, type ExpectedTransactionDto, type ExpectedTransactionListResponseDto, type ExpectedTransactionResponseDto, type ExpectedTransactionRuleDto, type ExpensesByCategoryResponseDto, type ExpensesByCategorySummaryDto, type ExportControllerExportBeancountResponse, type ExportRulesResponseDto, type ExternalAccountLinkControllerCreateData, type ExternalAccountLinkControllerCreateResponse, type ExternalAccountLinkControllerFindAllData, type ExternalAccountLinkControllerFindAllResponse, type ExternalAccountLinkControllerFindOneData, type ExternalAccountLinkControllerFindOneResponse, type ExternalAccountLinkControllerRemoveData, type ExternalAccountLinkControllerRemoveResponse, type ExternalAccountLinkListResponseDto, type ExternalAccountLinkResponseDto, type FieldHintDto, type FileImportControllerIdentifyFileData, type FileImportControllerIdentifyFileResponse, type FileImportControllerImportBeancountData, type FileImportControllerImportBeancountResponse, type FileImportControllerImportFileData, type FileImportControllerImportFileResponse, type FileImportDto, type ForecastControllerGetForecastData, type ForecastControllerGetForecastResponse, type ForecastItemDto, type ForecastResponseDto, type FxRateDto, type GenerateSnapshotBody, type GenerateSnapshotResponse, type HealthControllerCheckDatabaseResponse, type HealthControllerCheckOpenBbResponse, type HealthControllerCheckRedisResponse, type HealthControllerGetCircuitBreakersHealthResponse, type HealthControllerGetHealthResponse, type HealthControllerGetMetricsResponse, type HealthControllerResetCircuitBreakerData, type HealthControllerResetCircuitBreakerResponse, HealthService, type HoldingAssetClassAccountSliceDto, type HoldingAssetClassCrossAccountResponseDto, type HoldingPnlControllerGetHoldingPnlData, type HoldingPnlControllerGetHoldingPnlResponse, type HoldingPnlResponseDto, type HoldingPnlRowDto, type HoldingPnlWarningDto, type IdentifyResultDto, type ImportErrorDto, type ImportResultDto, type ImporterConfigControllerGetConfigData, type ImporterConfigControllerGetConfigResponse, type ImporterConfigControllerResetConfigData, type ImporterConfigControllerResetConfigResponse, type ImporterConfigControllerUpdateConfigData, type ImporterConfigControllerUpdateConfigResponse, type ImporterConfigDataDto, type ImporterConfigDto, type InfoControllerGetInfoResponse, type MapperDefaultsDto, type MonetaryDto, type MonthlyForecastDto, type MultiCurrencyBalanceResponseDto, type MultiCurrencyPointDto, type NetWorthByCurrencyDto, type NetWorthResponseDto, type NlpAccountCandidateDto, type NlpAccountConfirmationDataDto, type NlpAlternativePayeeDto, type NlpControllerClearSessionData, type NlpControllerClearSessionResponse, type NlpControllerGetSessionData, type NlpControllerGetSessionResponse, type NlpControllerProcessNaturalLanguageData, type NlpControllerProcessNaturalLanguageResponse, type NlpDefaultAccountsDto, type NlpDuplicateConfirmationDataDto, type NlpParsedDataDto, type NlpPayeeConfirmationDataDto, type NlpResponseDto, type NlpRuleConfirmationDataDto, type NlpSimilarityDto, type NlpSourceTransactionDto, type NlpSuggestedAccountDto, type NlpSuggestedAccountsDto, type NlpSuggestedPayeeDto, type NlpTargetTransactionDto, type NlpTransactionInfoDto, type OnboardingAccountDto, type OnboardingControllerBootstrapData, type OnboardingControllerBootstrapResponse, type OnboardingDto, OpenAPI, type OpenAPIConfig, type OpeningBalanceResultDto, type PadReconciliationDto, type PadResultDto, type ParserContributionControllerCreateData, type ParserContributionControllerCreateResponse, type ParserContributionExamplesDto, type ParserContributionFieldHintsDto, type ParserContributionMetaDto, type ParserContributionRelayResponseDto, type ParserContributionRequestDto, type ParserContributionSamplesDto, type ParserTelemetryReportDto, type PayeeAutocompleteResponseDto, type PayeeControllerAutocompleteData, type PayeeControllerAutocompleteResponse, type PayeeControllerCreateData, type PayeeControllerCreateResponse, type PayeeControllerDeleteData, type PayeeControllerDeleteResponse, type PayeeControllerFindAllData, type PayeeControllerFindAllResponse, type PayeeControllerFindOneData, type PayeeControllerFindOneResponse, type PayeeControllerGetTopPayeesData, type PayeeControllerGetTopPayeesResponse, type PayeeControllerUpdateData, type PayeeControllerUpdateResponse, type PayeeListResponseDto, type PayeeProfileAdminControllerCreateData, type PayeeProfileAdminControllerCreateResponse, type PayeeProfileAdminControllerDeleteData, type PayeeProfileAdminControllerDeleteResponse, type PayeeProfileAdminControllerFindAllData, type PayeeProfileAdminControllerFindAllResponse, type PayeeProfileAdminControllerFindOneData, type PayeeProfileAdminControllerFindOneResponse, type PayeeProfileAdminControllerUnverifyData, type PayeeProfileAdminControllerUnverifyResponse, type PayeeProfileAdminControllerUpdateData, type PayeeProfileAdminControllerUpdateResponse, type PayeeProfileAdminControllerVerifyData, type PayeeProfileAdminControllerVerifyResponse, type PayeeProfileListResponseDto, type PayeeProfileResponseDto, type PayeeResponseDto, type PayeeStatsResponseDto, type PlatformControllerCreateData, type PlatformControllerCreateResponse, type PlatformControllerDeleteData, type PlatformControllerDeleteResponse, type PlatformControllerFindAllResponse, type PlatformControllerGetPlatformListData, type PlatformControllerGetPlatformListResponse, type PlatformControllerGetPlatformStandardsData, type PlatformControllerGetPlatformStandardsResponse, type PlatformControllerMatchPlatformsData, type PlatformControllerMatchPlatformsResponse, type PlatformControllerUpdateData, type PlatformControllerUpdateResponse, type PlatformGroupDto, type PlatformListItemDto, type PlatformMatchResponseDto, type PlatformMatchResultDto, type PlatformStandardsPlatformDto, type PlatformStandardsResponseDto, type PortfolioTrendsResponseDto, type PostingDetailDto, type PostingResponseDto, type PriceControllerBulkCreateData, type PriceControllerBulkCreateResponse, type PriceControllerCreateData, type PriceControllerCreateResponse, type PriceControllerDeleteData, type PriceControllerDeleteResponse, type PriceControllerFindAllData, type PriceControllerFindAllResponse, type PriceControllerFindOneData, type PriceControllerFindOneResponse, type PriceControllerUpdateData, type PriceControllerUpdateResponse, type PriceListResponseDto, type PriceResponseDto, type ProcessNlpDto, type PropertyControllerDeleteData, type PropertyControllerDeleteResponse, type PropertyControllerGetAllResponse, type PropertyControllerGetByKeyData, type PropertyControllerGetByKeyResponse, type PropertyControllerUpdateData, type PropertyControllerUpdateResponse, type ProviderSyncConfigDto, type ProviderSyncControllerGetSupportedProvidersData, type ProviderSyncControllerGetSupportedProvidersResponse, type ProviderSyncControllerIsProviderSupportedData, type ProviderSyncControllerIsProviderSupportedResponse, type ProviderSyncControllerSyncData, type ProviderSyncControllerSyncResponse, type ProviderSyncDto, type ProviderSyncResponseDto, ProviderSyncService, type ReconciliationComputeResultDto, type ReconciliationControllerAssertData, type ReconciliationControllerAssertResponse, type ReconciliationControllerComputeData, type ReconciliationControllerComputeResponse, type ReconciliationControllerHistoryData, type ReconciliationControllerHistoryResponse, type ReconciliationControllerPadData, type ReconciliationControllerPadResponse, type ReconciliationRecordDto, type RecurringMatchInfoDto, type RecurringRuleControllerCreateData, type RecurringRuleControllerCreateFromTransactionData, type RecurringRuleControllerCreateFromTransactionResponse, type RecurringRuleControllerCreateResponse, type RecurringRuleControllerDeleteData, type RecurringRuleControllerDeleteResponse, type RecurringRuleControllerFindAllData, type RecurringRuleControllerFindAllResponse, type RecurringRuleControllerFindOneData, type RecurringRuleControllerFindOneResponse, type RecurringRuleControllerGetWithStatsData, type RecurringRuleControllerGetWithStatsResponse, type RecurringRuleControllerUpdateData, type RecurringRuleControllerUpdateResponse, type RecurringRuleResponseDto, type RecurringRuleWithStatsResponseDto, type RecurringSuggestionDto, type RegionConfigDto, type RegionInfoDto, type RegionsMetadataResponseDto, type ReopenAccountDto, type ReportingControllerBackfillSnapshotsData, type ReportingControllerBackfillSnapshotsResponse, type ReportingControllerGenerateSnapshotData, type ReportingControllerGenerateSnapshotResponse, type ReportingControllerGetCashFlowTrendsData, type ReportingControllerGetCashFlowTrendsResponse, type ReportingControllerGetPortfolioTrendsData, type ReportingControllerGetPortfolioTrendsResponse, type ResolveResultDto, type ResolveReviewDto, type ReviewControllerBatchResolveData, type ReviewControllerBatchResolveResponse, type ReviewControllerFindAllData, type ReviewControllerFindAllResponse, type ReviewControllerFindOneData, type ReviewControllerFindOneResponse, type ReviewControllerGetStatsData, type ReviewControllerGetStatsResponse, type ReviewControllerResolveData, type ReviewControllerResolveResponse, type ReviewControllerUndoData, type ReviewControllerUndoResponse, type ReviewDetailDto, type ReviewItemPreviewDto, type ReviewListResponseDto, type ReviewStatsDto, type ReviewSummaryDto, type RuleStatisticsResponseDto, type SignupDto, type SignupResponseDto, type SupportedProvidersResponseDto, type SymbolControllerGetQuoteData, type SymbolControllerGetQuoteResponse, type SymbolControllerSearchData, type SymbolControllerSearchResponse, type SymbolQuoteDto, type SymbolSearchResultDto, type TagSuggestionDto, type TagSuggestionsResponseDto, type TelemetryControllerGetCoverageMetricsData, type TelemetryControllerGetCoverageMetricsResponse, type TelemetryControllerReportCoverageMissData, type TelemetryControllerReportCoverageMissResponse, type TelemetryControllerReportTelemetryData, type TelemetryControllerReportTelemetryResponse, type TemplateMetadataDto, type TemplateMetadataResponseDto, type TestRuleDto, type TestRuleResponseDto, type TimeSeriesPointDto, type TransactionControllerCorrectData, type TransactionControllerCorrectResponse, type TransactionControllerCreateBatchData, type TransactionControllerCreateBatchResponse, type TransactionControllerCreateData, type TransactionControllerCreateResponse, type TransactionControllerDeleteData, type TransactionControllerDeleteResponse, type TransactionControllerGetDetailData, type TransactionControllerGetDetailResponse, type TransactionControllerListData, type TransactionControllerListResponse, type TransactionControllerSuggestTagsData, type TransactionControllerSuggestTagsResponse, type TransactionControllerUpdateData, type TransactionControllerUpdateResponse, type TransactionDetailDto, type TransactionListItemDto, type TransactionListResponseDto, type TransactionListSummaryDto, type TransactionListViewpointDto, type TransactionResponseDto, type TransactionRuleControllerBulkCreateData, type TransactionRuleControllerBulkCreateResponse, type TransactionRuleControllerCreateData, type TransactionRuleControllerCreateResponse, type TransactionRuleControllerDeleteData, type TransactionRuleControllerDeleteResponse, type TransactionRuleControllerExportData, type TransactionRuleControllerExportResponse, type TransactionRuleControllerGetDetailData, type TransactionRuleControllerGetDetailResponse, type TransactionRuleControllerGetStatisticsData, type TransactionRuleControllerGetStatisticsResponse, type TransactionRuleControllerListData, type TransactionRuleControllerListResponse, type TransactionRuleControllerTestData, type TransactionRuleControllerTestResponse, type TransactionRuleControllerUpdateData, type TransactionRuleControllerUpdateResponse, type TransactionRuleControllerValidateData, type TransactionRuleControllerValidateResponse, type TransactionRuleListResponseDto, type TransactionRuleResponseDto, type TransactionSummaryDto, type TrendSummaryDto, type UncoveredFormatMissDto, type UndoResultDto, type UpdateAccountDto, type UpdateBeanEventDto, type UpdateBeanPriceDto, type UpdateCommodityDto, type UpdateConfigDataDto, type UpdateImporterConfigDto, type UpdateMapperDefaultsDto, type UpdatePayeeDto, type UpdatePayeeProfileDto, type UpdatePlatformDto, type UpdatePropertyDto, type UpdateRecurringRuleDto, type UpdateTransactionDto, type UpdateTransactionRuleDto, type UpdateUserSettingDto, type UserControllerDeleteOwnUserData, type UserControllerDeleteOwnUserResponse, type UserControllerDeleteUserData, type UserControllerDeleteUserResponse, type UserControllerGetAllUserSettingsByPageData, type UserControllerGetAllUserSettingsByPageResponse, type UserControllerGetAssetLiabilitySummaryResponse, type UserControllerGetUserData, type UserControllerGetUserInfoData, type UserControllerGetUserInfoResponse, type UserControllerGetUserResponse, type UserControllerSignupUserData, type UserControllerSignupUserResponse, type UserControllerUpdateUserSettingData, type UserControllerUpdateUserSettingResponse, type UserResponseDto, type UserSettingsResponseDto, type ValidateRuleDto, type ValidateRuleResponseDto, type VersionedConfigDto, type accountType, type action, type action2, type assetClass, type assetSubClass, type assetSubType, type bookingMethod, type branchType, type category, type chartToken, type colorScheme, type confidenceLevel, type conflictStrategy, type dataSource, type equitySubType, type flag, type flag2, type flow, type format, type frequency, type importerId, type intent, type investmentAction, type learningSource, type liabilitySubType, type matchLogic, type matchType, type matchType2, type method, type mode, type paymentSource, type period, type productCategory, type provider, type region, type role, type scenario, type signConvention, type source, type source2, type source3, type status, type status2, type status3, type status4, type suggestedAction, type suggestedFrequency, type type, type type2, type type3, type type4, type type5, type value, type viewMode, type viewpointFlow };
|