@firela/api-types 0.0.0-canary.45a6cc23 → 0.0.0-canary.505aa62c
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 +1104 -631
- package/dist/index.d.ts +1104 -631
- package/dist/index.js +28 -2
- package/dist/index.mjs +28 -2
- package/package.json +1 -1
- package/src/generated/schemas.gen.ts +955 -520
- package/src/generated/services.gen.ts +645 -366
- package/src/generated/types.gen.ts +1212 -691
package/dist/index.d.mts
CHANGED
|
@@ -27,13 +27,9 @@ type CreateAccountDto = {
|
|
|
27
27
|
*/
|
|
28
28
|
path: string;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Account open date (server defaults to today)
|
|
31
31
|
*/
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Account open date
|
|
35
|
-
*/
|
|
36
|
-
openDate: string;
|
|
32
|
+
openDate?: string;
|
|
37
33
|
/**
|
|
38
34
|
* Allowed currencies (null = no restriction)
|
|
39
35
|
*/
|
|
@@ -50,18 +46,14 @@ type CreateAccountDto = {
|
|
|
50
46
|
* Whether this is a custom (user-created) account
|
|
51
47
|
*/
|
|
52
48
|
isCustom?: boolean;
|
|
53
|
-
/**
|
|
54
|
-
* i18n key for display name (overrides template)
|
|
55
|
-
*/
|
|
56
|
-
i18nKey?: string;
|
|
57
49
|
/**
|
|
58
50
|
* Icon identifier (overrides template)
|
|
59
51
|
*/
|
|
60
52
|
icon?: string;
|
|
61
53
|
/**
|
|
62
|
-
*
|
|
54
|
+
* Open directive metadata (NOT an opening-balance amount — use the opening-balance endpoint)
|
|
63
55
|
*/
|
|
64
|
-
|
|
56
|
+
openDirectiveMeta?: {
|
|
65
57
|
[key: string]: unknown;
|
|
66
58
|
};
|
|
67
59
|
/**
|
|
@@ -82,10 +74,6 @@ type AccountResponseDto = {
|
|
|
82
74
|
* Account path (hierarchical, colon-separated)
|
|
83
75
|
*/
|
|
84
76
|
path: string;
|
|
85
|
-
/**
|
|
86
|
-
* Display name distinguishing multiple accounts at the same path
|
|
87
|
-
*/
|
|
88
|
-
displayName: string;
|
|
89
77
|
/**
|
|
90
78
|
* Account type (root segment)
|
|
91
79
|
*/
|
|
@@ -119,17 +107,17 @@ type AccountResponseDto = {
|
|
|
119
107
|
*/
|
|
120
108
|
isCustom: boolean;
|
|
121
109
|
/**
|
|
122
|
-
*
|
|
110
|
+
* Localized display name (ADR-0114, read-time projection)
|
|
123
111
|
*/
|
|
124
|
-
|
|
112
|
+
displayName?: string;
|
|
125
113
|
/**
|
|
126
114
|
* Icon identifier
|
|
127
115
|
*/
|
|
128
116
|
icon?: string;
|
|
129
117
|
/**
|
|
130
|
-
*
|
|
118
|
+
* Open directive metadata (ADR-0115 Decision 9)
|
|
131
119
|
*/
|
|
132
|
-
|
|
120
|
+
openDirectiveMeta?: {
|
|
133
121
|
[key: string]: unknown;
|
|
134
122
|
};
|
|
135
123
|
/**
|
|
@@ -172,10 +160,6 @@ type AccountListResponseDto = {
|
|
|
172
160
|
total: number;
|
|
173
161
|
};
|
|
174
162
|
type UpdateAccountDto = {
|
|
175
|
-
/**
|
|
176
|
-
* Display name to distinguish accounts at the same path
|
|
177
|
-
*/
|
|
178
|
-
displayName?: string;
|
|
179
163
|
/**
|
|
180
164
|
* Allowed currencies (null = no restriction)
|
|
181
165
|
*/
|
|
@@ -184,18 +168,14 @@ type UpdateAccountDto = {
|
|
|
184
168
|
* Booking method for cost basis
|
|
185
169
|
*/
|
|
186
170
|
bookingMethod?: 'FIFO' | 'LIFO' | 'HIFO' | 'AVERAGE' | 'STRICT' | 'STRICT_WITH_SIZE' | 'NONE';
|
|
187
|
-
/**
|
|
188
|
-
* i18n key for display name
|
|
189
|
-
*/
|
|
190
|
-
i18nKey?: string;
|
|
191
171
|
/**
|
|
192
172
|
* Icon identifier
|
|
193
173
|
*/
|
|
194
174
|
icon?: string;
|
|
195
175
|
/**
|
|
196
|
-
*
|
|
176
|
+
* Open directive metadata (merged with existing; NOT an opening-balance amount)
|
|
197
177
|
*/
|
|
198
|
-
|
|
178
|
+
openDirectiveMeta?: {
|
|
199
179
|
[key: string]: unknown;
|
|
200
180
|
};
|
|
201
181
|
/**
|
|
@@ -221,6 +201,26 @@ type ReopenAccountDto = {
|
|
|
221
201
|
*/
|
|
222
202
|
reopenDate?: string;
|
|
223
203
|
};
|
|
204
|
+
type CreateOpeningBalanceDto = {
|
|
205
|
+
/**
|
|
206
|
+
* Opening balance amount (non-negative)
|
|
207
|
+
*/
|
|
208
|
+
amount: number;
|
|
209
|
+
/**
|
|
210
|
+
* Currency code
|
|
211
|
+
*/
|
|
212
|
+
currency: string;
|
|
213
|
+
/**
|
|
214
|
+
* Opening-balance date (defaults to now)
|
|
215
|
+
*/
|
|
216
|
+
date?: string;
|
|
217
|
+
};
|
|
218
|
+
type OpeningBalanceResultDto = {
|
|
219
|
+
/**
|
|
220
|
+
* Created opening-balance transaction id.
|
|
221
|
+
*/
|
|
222
|
+
transactionId: string;
|
|
223
|
+
};
|
|
224
224
|
type AccountStandardResponseDto = {
|
|
225
225
|
/**
|
|
226
226
|
* Account path (hierarchical, colon-separated)
|
|
@@ -230,10 +230,6 @@ type AccountStandardResponseDto = {
|
|
|
230
230
|
* Account type in Beancount hierarchy
|
|
231
231
|
*/
|
|
232
232
|
type: 'Assets' | 'Liabilities' | 'Income' | 'Expenses' | 'Equity';
|
|
233
|
-
/**
|
|
234
|
-
* i18n key for localized display name
|
|
235
|
-
*/
|
|
236
|
-
i18nKey: string;
|
|
237
233
|
/**
|
|
238
234
|
* Short localized display name
|
|
239
235
|
*/
|
|
@@ -266,10 +262,6 @@ type AccountStandardListResponseDto = {
|
|
|
266
262
|
region: string;
|
|
267
263
|
};
|
|
268
264
|
type TemplateMetadataDto = {
|
|
269
|
-
/**
|
|
270
|
-
* Whether this path can be extended
|
|
271
|
-
*/
|
|
272
|
-
extendable: boolean;
|
|
273
265
|
/**
|
|
274
266
|
* Root account type
|
|
275
267
|
*/
|
|
@@ -779,6 +771,48 @@ type flag2 = 'CLEARED' | 'PENDING' | 'PADDING' | 'SUMMARIZE' | 'TRANSFER' | 'CON
|
|
|
779
771
|
* Transaction status
|
|
780
772
|
*/
|
|
781
773
|
type status2 = 'ACTIVE' | 'VOIDED' | 'SUPERSEDED';
|
|
774
|
+
type BalanceByCurrencyDto = {
|
|
775
|
+
/**
|
|
776
|
+
* ISO 4217 currency code
|
|
777
|
+
*/
|
|
778
|
+
currency: string;
|
|
779
|
+
/**
|
|
780
|
+
* Balance amount
|
|
781
|
+
*/
|
|
782
|
+
balance: string;
|
|
783
|
+
};
|
|
784
|
+
type ExchangeRateWarningDto = {
|
|
785
|
+
/**
|
|
786
|
+
* Warning type
|
|
787
|
+
*/
|
|
788
|
+
type: string;
|
|
789
|
+
/**
|
|
790
|
+
* Currency without exchange rate
|
|
791
|
+
*/
|
|
792
|
+
currency: string;
|
|
793
|
+
/**
|
|
794
|
+
* Total amount affected
|
|
795
|
+
*/
|
|
796
|
+
totalAmount: string;
|
|
797
|
+
};
|
|
798
|
+
type TransactionListSummaryDto = {
|
|
799
|
+
/**
|
|
800
|
+
* Partial converted total in base currency (rated currencies only, raw Beancount sign). 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.
|
|
801
|
+
*/
|
|
802
|
+
totalAmount: string;
|
|
803
|
+
/**
|
|
804
|
+
* Base currency (ISO 4217)
|
|
805
|
+
*/
|
|
806
|
+
currency: string;
|
|
807
|
+
/**
|
|
808
|
+
* Raw (unconverted) balance per currency
|
|
809
|
+
*/
|
|
810
|
+
balanceByCurrency: Array<BalanceByCurrencyDto>;
|
|
811
|
+
/**
|
|
812
|
+
* Currencies missing an FX rate (omitted when empty)
|
|
813
|
+
*/
|
|
814
|
+
warnings?: Array<ExchangeRateWarningDto>;
|
|
815
|
+
};
|
|
782
816
|
type TransactionListResponseDto = {
|
|
783
817
|
/**
|
|
784
818
|
* List of transactions
|
|
@@ -796,6 +830,10 @@ type TransactionListResponseDto = {
|
|
|
796
830
|
* Number of items skipped
|
|
797
831
|
*/
|
|
798
832
|
offset: number;
|
|
833
|
+
/**
|
|
834
|
+
* 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.
|
|
835
|
+
*/
|
|
836
|
+
summary?: TransactionListSummaryDto;
|
|
799
837
|
};
|
|
800
838
|
type TagSuggestionDto = {
|
|
801
839
|
/**
|
|
@@ -1642,6 +1680,104 @@ type UpdateCommodityDto = {
|
|
|
1642
1680
|
[key: string]: unknown;
|
|
1643
1681
|
};
|
|
1644
1682
|
};
|
|
1683
|
+
type CreateBeanPriceDto = {
|
|
1684
|
+
/**
|
|
1685
|
+
* Currency being priced (e.g., USD, AAPL, BTC)
|
|
1686
|
+
*/
|
|
1687
|
+
currency: string;
|
|
1688
|
+
/**
|
|
1689
|
+
* Quote currency (pricing currency, e.g., CNY, EUR)
|
|
1690
|
+
*/
|
|
1691
|
+
quoteCurrency: string;
|
|
1692
|
+
/**
|
|
1693
|
+
* Price amount (MUST be >= 0 per Beancount spec, supports up to 15 decimal places). Zero allowed for conversion entries, negative strictly prohibited.
|
|
1694
|
+
*/
|
|
1695
|
+
amount: number;
|
|
1696
|
+
/**
|
|
1697
|
+
* Price date (ISO 8601 format)
|
|
1698
|
+
*/
|
|
1699
|
+
date: string;
|
|
1700
|
+
/**
|
|
1701
|
+
* Metadata (validated by Zod schema, max field lengths enforced)
|
|
1702
|
+
*/
|
|
1703
|
+
metadata?: {
|
|
1704
|
+
[key: string]: unknown;
|
|
1705
|
+
};
|
|
1706
|
+
};
|
|
1707
|
+
type PriceResponseDto = {
|
|
1708
|
+
/**
|
|
1709
|
+
* Unique identifier
|
|
1710
|
+
*/
|
|
1711
|
+
id: string;
|
|
1712
|
+
/**
|
|
1713
|
+
* User ID (owner of the price)
|
|
1714
|
+
*/
|
|
1715
|
+
userId: string;
|
|
1716
|
+
/**
|
|
1717
|
+
* Currency being priced (e.g., USD, AAPL, BTC)
|
|
1718
|
+
*/
|
|
1719
|
+
currency: string;
|
|
1720
|
+
/**
|
|
1721
|
+
* Quote currency (pricing currency, e.g., USD, CNY)
|
|
1722
|
+
*/
|
|
1723
|
+
quoteCurrency: string;
|
|
1724
|
+
/**
|
|
1725
|
+
* Price amount (corresponds to Beancount Amount.number). Supports up to 15 decimal places.
|
|
1726
|
+
*/
|
|
1727
|
+
amount: number;
|
|
1728
|
+
/**
|
|
1729
|
+
* Price date (ISO 8601 format). Represents the date this price was valid.
|
|
1730
|
+
*/
|
|
1731
|
+
date: string;
|
|
1732
|
+
/**
|
|
1733
|
+
* Metadata (corresponds to Beancount meta field). Contains source, confidence, note, etc.
|
|
1734
|
+
*/
|
|
1735
|
+
meta: {
|
|
1736
|
+
[key: string]: unknown;
|
|
1737
|
+
};
|
|
1738
|
+
/**
|
|
1739
|
+
* Creation timestamp
|
|
1740
|
+
*/
|
|
1741
|
+
createdAt: string;
|
|
1742
|
+
/**
|
|
1743
|
+
* Last update timestamp
|
|
1744
|
+
*/
|
|
1745
|
+
updatedAt: string;
|
|
1746
|
+
};
|
|
1747
|
+
type PriceListResponseDto = {
|
|
1748
|
+
/**
|
|
1749
|
+
* List of prices
|
|
1750
|
+
*/
|
|
1751
|
+
items: Array<PriceResponseDto>;
|
|
1752
|
+
/**
|
|
1753
|
+
* Total number of prices
|
|
1754
|
+
*/
|
|
1755
|
+
total: number;
|
|
1756
|
+
};
|
|
1757
|
+
type UpdateBeanPriceDto = {
|
|
1758
|
+
/**
|
|
1759
|
+
* Currency being priced
|
|
1760
|
+
*/
|
|
1761
|
+
currency?: string;
|
|
1762
|
+
/**
|
|
1763
|
+
* Quote currency (pricing currency)
|
|
1764
|
+
*/
|
|
1765
|
+
quoteCurrency?: string;
|
|
1766
|
+
/**
|
|
1767
|
+
* Price amount (MUST be >= 0 per Beancount spec)
|
|
1768
|
+
*/
|
|
1769
|
+
amount?: number;
|
|
1770
|
+
/**
|
|
1771
|
+
* Price date (ISO 8601 format)
|
|
1772
|
+
*/
|
|
1773
|
+
date?: string;
|
|
1774
|
+
/**
|
|
1775
|
+
* Metadata
|
|
1776
|
+
*/
|
|
1777
|
+
metadata?: {
|
|
1778
|
+
[key: string]: unknown;
|
|
1779
|
+
};
|
|
1780
|
+
};
|
|
1645
1781
|
type CreateRecurringRuleDto = {
|
|
1646
1782
|
/**
|
|
1647
1783
|
* Rule name (unique per user)
|
|
@@ -2775,107 +2911,251 @@ type UpdateBeanEventDto = {
|
|
|
2775
2911
|
[key: string]: unknown;
|
|
2776
2912
|
};
|
|
2777
2913
|
};
|
|
2778
|
-
type
|
|
2914
|
+
type OnboardingAccountDto = {
|
|
2779
2915
|
/**
|
|
2780
|
-
*
|
|
2916
|
+
* Account path (Assets/Liabilities only; format validated by the account service)
|
|
2781
2917
|
*/
|
|
2782
|
-
|
|
2783
|
-
};
|
|
2784
|
-
type ImportErrorDto = {
|
|
2918
|
+
path: string;
|
|
2785
2919
|
/**
|
|
2786
|
-
*
|
|
2920
|
+
* ISO 4217 currency code (3 letters)
|
|
2787
2921
|
*/
|
|
2788
|
-
|
|
2922
|
+
currency: string;
|
|
2789
2923
|
/**
|
|
2790
|
-
*
|
|
2924
|
+
* Opening balance as a non-negative Decimal string (e.g. "1000.00")
|
|
2791
2925
|
*/
|
|
2792
|
-
|
|
2926
|
+
openingBalance?: string;
|
|
2927
|
+
/**
|
|
2928
|
+
* Platform ID to bind the account to (references Platform.id); omit for unbound
|
|
2929
|
+
*/
|
|
2930
|
+
platformId?: string;
|
|
2793
2931
|
};
|
|
2794
|
-
type
|
|
2932
|
+
type OnboardingDto = {
|
|
2795
2933
|
/**
|
|
2796
|
-
*
|
|
2934
|
+
* Asset/Liability accounts to register with opening balances
|
|
2797
2935
|
*/
|
|
2798
|
-
|
|
2936
|
+
accounts?: Array<OnboardingAccountDto>;
|
|
2799
2937
|
/**
|
|
2800
|
-
*
|
|
2938
|
+
* Skip asset registration; only bootstrap the core account set
|
|
2801
2939
|
*/
|
|
2802
|
-
|
|
2940
|
+
skipAssetRegistration?: boolean;
|
|
2941
|
+
};
|
|
2942
|
+
type ActualBalanceDto = {
|
|
2803
2943
|
/**
|
|
2804
|
-
*
|
|
2944
|
+
* Actual balance amount as a decimal string (preserves precision for tolerance inference).
|
|
2805
2945
|
*/
|
|
2806
|
-
amount
|
|
2946
|
+
amount: string;
|
|
2807
2947
|
/**
|
|
2808
|
-
* Currency code
|
|
2948
|
+
* Currency code (ISO 4217 or commodity ticker).
|
|
2809
2949
|
*/
|
|
2810
|
-
|
|
2950
|
+
ccy: string;
|
|
2951
|
+
};
|
|
2952
|
+
type ComputeReconciliationDto = {
|
|
2811
2953
|
/**
|
|
2812
|
-
*
|
|
2954
|
+
* BeanAccount id to reconcile.
|
|
2813
2955
|
*/
|
|
2814
|
-
|
|
2956
|
+
accountId: string;
|
|
2815
2957
|
/**
|
|
2816
|
-
*
|
|
2958
|
+
* Assertion date (ISO 8601, e.g. "2026-07-24").
|
|
2817
2959
|
*/
|
|
2818
|
-
|
|
2960
|
+
asOfDate: string;
|
|
2819
2961
|
/**
|
|
2820
|
-
*
|
|
2962
|
+
* Actual balance from the external statement.
|
|
2821
2963
|
*/
|
|
2822
|
-
|
|
2964
|
+
actualBalance: ActualBalanceDto;
|
|
2965
|
+
};
|
|
2966
|
+
type ReconciliationComputeResultDto = {
|
|
2967
|
+
accountId: string;
|
|
2968
|
+
asOfDate: string;
|
|
2823
2969
|
/**
|
|
2824
|
-
*
|
|
2970
|
+
* System-computed book balance (decimal string).
|
|
2825
2971
|
*/
|
|
2826
|
-
|
|
2972
|
+
bookBalance: string;
|
|
2827
2973
|
/**
|
|
2828
|
-
*
|
|
2974
|
+
* User-entered actual balance (decimal string).
|
|
2829
2975
|
*/
|
|
2830
|
-
|
|
2976
|
+
actualBalance: string;
|
|
2977
|
+
currency: string;
|
|
2831
2978
|
/**
|
|
2832
|
-
*
|
|
2979
|
+
* Diff = book − actual (decimal string).
|
|
2833
2980
|
*/
|
|
2834
|
-
|
|
2835
|
-
};
|
|
2836
|
-
/**
|
|
2837
|
-
* Type of branch requiring review
|
|
2838
|
-
*/
|
|
2839
|
-
type branchType = 'DUPLICATE' | 'PAYEE_MATCH' | 'RULE_MATCH' | 'ACCOUNT_VALIDATION' | 'PIPELINE_ERROR';
|
|
2840
|
-
type ImportResultDto = {
|
|
2981
|
+
diff: string;
|
|
2841
2982
|
/**
|
|
2842
|
-
*
|
|
2983
|
+
* Applied tolerance (decimal string).
|
|
2843
2984
|
*/
|
|
2844
|
-
|
|
2985
|
+
tolerance: string;
|
|
2845
2986
|
/**
|
|
2846
|
-
*
|
|
2987
|
+
* true when |diff| ≤ tolerance.
|
|
2847
2988
|
*/
|
|
2848
|
-
|
|
2989
|
+
withinTolerance: boolean;
|
|
2849
2990
|
/**
|
|
2850
|
-
*
|
|
2991
|
+
* Suggested next action: assert when within tolerance, pad otherwise.
|
|
2851
2992
|
*/
|
|
2852
|
-
|
|
2993
|
+
suggestedAction: 'assert' | 'pad';
|
|
2994
|
+
};
|
|
2995
|
+
/**
|
|
2996
|
+
* Suggested next action: assert when within tolerance, pad otherwise.
|
|
2997
|
+
*/
|
|
2998
|
+
type suggestedAction = 'assert' | 'pad';
|
|
2999
|
+
type AssertReconciliationDto = {
|
|
2853
3000
|
/**
|
|
2854
|
-
*
|
|
3001
|
+
* BeanAccount id to reconcile.
|
|
2855
3002
|
*/
|
|
2856
|
-
|
|
3003
|
+
accountId: string;
|
|
2857
3004
|
/**
|
|
2858
|
-
*
|
|
3005
|
+
* Assertion date (ISO 8601, e.g. "2026-07-24").
|
|
2859
3006
|
*/
|
|
2860
|
-
|
|
3007
|
+
asOfDate: string;
|
|
2861
3008
|
/**
|
|
2862
|
-
*
|
|
3009
|
+
* Actual balance from the external statement.
|
|
2863
3010
|
*/
|
|
2864
|
-
|
|
3011
|
+
actualBalance: ActualBalanceDto;
|
|
2865
3012
|
/**
|
|
2866
|
-
*
|
|
3013
|
+
* Optional explicit tolerance override. Omit to infer from amount precision (Beancount default).
|
|
2867
3014
|
*/
|
|
2868
|
-
|
|
2869
|
-
[key: string]: unknown;
|
|
2870
|
-
};
|
|
3015
|
+
tolerance?: string;
|
|
2871
3016
|
};
|
|
2872
|
-
type
|
|
3017
|
+
type ReconciliationRecordDto = {
|
|
3018
|
+
id: string;
|
|
3019
|
+
accountId: string;
|
|
3020
|
+
date: string;
|
|
2873
3021
|
/**
|
|
2874
|
-
*
|
|
3022
|
+
* Asserted (actual) amount.
|
|
2875
3023
|
*/
|
|
2876
|
-
|
|
3024
|
+
amount: string;
|
|
3025
|
+
currency: string;
|
|
3026
|
+
tolerance?: string;
|
|
2877
3027
|
/**
|
|
2878
|
-
*
|
|
3028
|
+
* book − actual.
|
|
3029
|
+
*/
|
|
3030
|
+
diffAmount?: string;
|
|
3031
|
+
diffCurrency?: string;
|
|
3032
|
+
createdAt: string;
|
|
3033
|
+
};
|
|
3034
|
+
type PadReconciliationDto = {
|
|
3035
|
+
/**
|
|
3036
|
+
* BeanAccount id to reconcile.
|
|
3037
|
+
*/
|
|
3038
|
+
accountId: string;
|
|
3039
|
+
/**
|
|
3040
|
+
* Assertion date (ISO 8601, e.g. "2026-07-24").
|
|
3041
|
+
*/
|
|
3042
|
+
asOfDate: string;
|
|
3043
|
+
/**
|
|
3044
|
+
* Actual balance from the external statement.
|
|
3045
|
+
*/
|
|
3046
|
+
actualBalance: ActualBalanceDto;
|
|
3047
|
+
/**
|
|
3048
|
+
* Pad source account. Defaults to Equity:Opening-Balances (official Beancount convention).
|
|
3049
|
+
*/
|
|
3050
|
+
sourceAccount?: string;
|
|
3051
|
+
};
|
|
3052
|
+
type PadResultDto = {
|
|
3053
|
+
/**
|
|
3054
|
+
* Created pad adjusting transaction id.
|
|
3055
|
+
*/
|
|
3056
|
+
transactionId: string;
|
|
3057
|
+
};
|
|
3058
|
+
type FileImportDto = {
|
|
3059
|
+
/**
|
|
3060
|
+
* Bill file to import (CSV, PDF, OFX, etc.)
|
|
3061
|
+
*/
|
|
3062
|
+
file: Blob | File;
|
|
3063
|
+
};
|
|
3064
|
+
type ImportErrorDto = {
|
|
3065
|
+
/**
|
|
3066
|
+
* Index of failed transaction in the file
|
|
3067
|
+
*/
|
|
3068
|
+
index: number;
|
|
3069
|
+
/**
|
|
3070
|
+
* Error message
|
|
3071
|
+
*/
|
|
3072
|
+
error: string;
|
|
3073
|
+
};
|
|
3074
|
+
type ReviewItemPreviewDto = {
|
|
3075
|
+
/**
|
|
3076
|
+
* Index in the import batch (for tracking)
|
|
3077
|
+
*/
|
|
3078
|
+
index: number;
|
|
3079
|
+
/**
|
|
3080
|
+
* Transaction date (ISO format)
|
|
3081
|
+
*/
|
|
3082
|
+
date: string;
|
|
3083
|
+
/**
|
|
3084
|
+
* Transaction amount (absolute value)
|
|
3085
|
+
*/
|
|
3086
|
+
amount?: number;
|
|
3087
|
+
/**
|
|
3088
|
+
* Currency code
|
|
3089
|
+
*/
|
|
3090
|
+
currency?: string;
|
|
3091
|
+
/**
|
|
3092
|
+
* Transaction narration/description
|
|
3093
|
+
*/
|
|
3094
|
+
narration: string;
|
|
3095
|
+
/**
|
|
3096
|
+
* Payee name
|
|
3097
|
+
*/
|
|
3098
|
+
payee?: string;
|
|
3099
|
+
/**
|
|
3100
|
+
* Inferred category from rule matching
|
|
3101
|
+
*/
|
|
3102
|
+
category?: string;
|
|
3103
|
+
/**
|
|
3104
|
+
* Confidence score for the match (0-1)
|
|
3105
|
+
*/
|
|
3106
|
+
confidence?: number;
|
|
3107
|
+
/**
|
|
3108
|
+
* Type of branch requiring review
|
|
3109
|
+
*/
|
|
3110
|
+
branchType?: 'DUPLICATE' | 'PAYEE_MATCH' | 'RULE_MATCH' | 'ACCOUNT_VALIDATION' | 'PIPELINE_ERROR';
|
|
3111
|
+
/**
|
|
3112
|
+
* Human-readable reasons for requiring review
|
|
3113
|
+
*/
|
|
3114
|
+
reasons?: Array<string>;
|
|
3115
|
+
};
|
|
3116
|
+
/**
|
|
3117
|
+
* Type of branch requiring review
|
|
3118
|
+
*/
|
|
3119
|
+
type branchType = 'DUPLICATE' | 'PAYEE_MATCH' | 'RULE_MATCH' | 'ACCOUNT_VALIDATION' | 'PIPELINE_ERROR';
|
|
3120
|
+
type ImportResultDto = {
|
|
3121
|
+
/**
|
|
3122
|
+
* Number of successfully imported transactions
|
|
3123
|
+
*/
|
|
3124
|
+
imported: number;
|
|
3125
|
+
/**
|
|
3126
|
+
* Number of failed transactions
|
|
3127
|
+
*/
|
|
3128
|
+
failed: number;
|
|
3129
|
+
/**
|
|
3130
|
+
* Number of skipped transactions (high confidence duplicates, auto-skipped)
|
|
3131
|
+
*/
|
|
3132
|
+
skipped: number;
|
|
3133
|
+
/**
|
|
3134
|
+
* Number of transactions pending review (medium confidence duplicates)
|
|
3135
|
+
*/
|
|
3136
|
+
pendingReview: number;
|
|
3137
|
+
/**
|
|
3138
|
+
* Array of error details for failed transactions
|
|
3139
|
+
*/
|
|
3140
|
+
errors: Array<ImportErrorDto>;
|
|
3141
|
+
/**
|
|
3142
|
+
* Array of transactions pending review with preview data. Contains essential information for displaying in the import preview UI.
|
|
3143
|
+
*/
|
|
3144
|
+
reviewItems?: Array<ReviewItemPreviewDto>;
|
|
3145
|
+
/**
|
|
3146
|
+
* Array of imported transactions (optional, for debugging)
|
|
3147
|
+
*/
|
|
3148
|
+
transactions?: {
|
|
3149
|
+
[key: string]: unknown;
|
|
3150
|
+
};
|
|
3151
|
+
};
|
|
3152
|
+
type IdentifyResultDto = {
|
|
3153
|
+
/**
|
|
3154
|
+
* Whether the file was successfully identified
|
|
3155
|
+
*/
|
|
3156
|
+
identified: boolean;
|
|
3157
|
+
/**
|
|
3158
|
+
* Name of the importer that can handle this file
|
|
2879
3159
|
*/
|
|
2880
3160
|
importerName?: string;
|
|
2881
3161
|
/**
|
|
@@ -3019,70 +3299,6 @@ type UpdateImporterConfigDto = {
|
|
|
3019
3299
|
*/
|
|
3020
3300
|
data?: UpdateConfigDataDto;
|
|
3021
3301
|
};
|
|
3022
|
-
type CreatePlatformDto = {
|
|
3023
|
-
/**
|
|
3024
|
-
* Platform name
|
|
3025
|
-
*/
|
|
3026
|
-
name: string;
|
|
3027
|
-
/**
|
|
3028
|
-
* Platform canonical identifier (lowercase, kebab-case)
|
|
3029
|
-
*/
|
|
3030
|
-
canonical: string;
|
|
3031
|
-
/**
|
|
3032
|
-
* Platform aliases (multi-language names for lookup)
|
|
3033
|
-
*/
|
|
3034
|
-
aliases: Array<string>;
|
|
3035
|
-
/**
|
|
3036
|
-
* Platform URL
|
|
3037
|
-
*/
|
|
3038
|
-
url: string;
|
|
3039
|
-
/**
|
|
3040
|
-
* Platform type
|
|
3041
|
-
*/
|
|
3042
|
-
type: 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
|
|
3043
|
-
/**
|
|
3044
|
-
* Platform logo URL
|
|
3045
|
-
*/
|
|
3046
|
-
logoUrl?: string;
|
|
3047
|
-
/**
|
|
3048
|
-
* Whether the platform is active
|
|
3049
|
-
*/
|
|
3050
|
-
isActive?: boolean;
|
|
3051
|
-
};
|
|
3052
|
-
/**
|
|
3053
|
-
* Platform type
|
|
3054
|
-
*/
|
|
3055
|
-
type type3 = 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
|
|
3056
|
-
type UpdatePlatformDto = {
|
|
3057
|
-
/**
|
|
3058
|
-
* Platform name
|
|
3059
|
-
*/
|
|
3060
|
-
name?: string;
|
|
3061
|
-
/**
|
|
3062
|
-
* Platform canonical identifier (lowercase, kebab-case)
|
|
3063
|
-
*/
|
|
3064
|
-
canonical?: string;
|
|
3065
|
-
/**
|
|
3066
|
-
* Platform aliases (multi-language names for lookup)
|
|
3067
|
-
*/
|
|
3068
|
-
aliases?: Array<string>;
|
|
3069
|
-
/**
|
|
3070
|
-
* Platform URL
|
|
3071
|
-
*/
|
|
3072
|
-
url?: string;
|
|
3073
|
-
/**
|
|
3074
|
-
* Platform type
|
|
3075
|
-
*/
|
|
3076
|
-
type?: 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
|
|
3077
|
-
/**
|
|
3078
|
-
* Platform logo URL
|
|
3079
|
-
*/
|
|
3080
|
-
logoUrl?: string;
|
|
3081
|
-
/**
|
|
3082
|
-
* Whether the platform is active
|
|
3083
|
-
*/
|
|
3084
|
-
isActive?: boolean;
|
|
3085
|
-
};
|
|
3086
3302
|
type ProviderSyncConfigDto = {
|
|
3087
3303
|
/**
|
|
3088
3304
|
* Source account for the first posting
|
|
@@ -3104,6 +3320,10 @@ type ProviderSyncConfigDto = {
|
|
|
3104
3320
|
* Filter pending transactions
|
|
3105
3321
|
*/
|
|
3106
3322
|
filterPending?: boolean;
|
|
3323
|
+
/**
|
|
3324
|
+
* External account ID for per-batch providers (e.g. GoCardless). Overrides sourceAccount when an ExternalAccountLink mapping exists.
|
|
3325
|
+
*/
|
|
3326
|
+
externalAccountId?: string;
|
|
3107
3327
|
};
|
|
3108
3328
|
type ProviderSyncDto = {
|
|
3109
3329
|
/**
|
|
@@ -3155,6 +3375,41 @@ type SupportedProvidersResponseDto = {
|
|
|
3155
3375
|
*/
|
|
3156
3376
|
providers: Array<string>;
|
|
3157
3377
|
};
|
|
3378
|
+
type CreateExternalAccountLinkDto = {
|
|
3379
|
+
/**
|
|
3380
|
+
* Open Banking provider (whitelist)
|
|
3381
|
+
*/
|
|
3382
|
+
provider: 'plaid' | 'teller' | 'truelayer' | 'gocardless' | 'simplefin' | 'yodlee' | 'beancount-direct' | 'parsed-bill';
|
|
3383
|
+
/**
|
|
3384
|
+
* External account ID from the provider
|
|
3385
|
+
*/
|
|
3386
|
+
externalAccountId: string;
|
|
3387
|
+
/**
|
|
3388
|
+
* Target BeanAccount ID (must belong to the JWT user)
|
|
3389
|
+
*/
|
|
3390
|
+
beanAccountId: string;
|
|
3391
|
+
};
|
|
3392
|
+
/**
|
|
3393
|
+
* Open Banking provider (whitelist)
|
|
3394
|
+
*/
|
|
3395
|
+
type provider = 'plaid' | 'teller' | 'truelayer' | 'gocardless' | 'simplefin' | 'yodlee' | 'beancount-direct' | 'parsed-bill';
|
|
3396
|
+
type ExternalAccountLinkResponseDto = {
|
|
3397
|
+
id: string;
|
|
3398
|
+
provider: string;
|
|
3399
|
+
externalAccountId: string;
|
|
3400
|
+
beanAccountId: string;
|
|
3401
|
+
isActive: boolean;
|
|
3402
|
+
createdAt: string;
|
|
3403
|
+
updatedAt: string;
|
|
3404
|
+
};
|
|
3405
|
+
type ExternalAccountLinkListResponseDto = {
|
|
3406
|
+
items: Array<ExternalAccountLinkResponseDto>;
|
|
3407
|
+
total: number;
|
|
3408
|
+
/**
|
|
3409
|
+
* Filter by provider (query param)
|
|
3410
|
+
*/
|
|
3411
|
+
provider?: string;
|
|
3412
|
+
};
|
|
3158
3413
|
type ParserTelemetryReportDto = unknown;
|
|
3159
3414
|
type UncoveredFormatMissDto = unknown;
|
|
3160
3415
|
type ProcessNlpDto = {
|
|
@@ -3690,67 +3945,107 @@ type liabilitySubType = 'borrow' | 'repay';
|
|
|
3690
3945
|
* Equity sub-type (only present when intent is "equity"). opening: account opening balance (Equity → Assets), adjustment: balance correction.
|
|
3691
3946
|
*/
|
|
3692
3947
|
type equitySubType = 'opening' | 'adjustment';
|
|
3693
|
-
type
|
|
3948
|
+
type CreatePlatformDto = {
|
|
3694
3949
|
/**
|
|
3695
|
-
*
|
|
3950
|
+
* Platform name
|
|
3696
3951
|
*/
|
|
3697
|
-
|
|
3952
|
+
name: string;
|
|
3698
3953
|
/**
|
|
3699
|
-
*
|
|
3954
|
+
* Platform canonical identifier (lowercase, kebab-case)
|
|
3700
3955
|
*/
|
|
3701
|
-
|
|
3702
|
-
};
|
|
3703
|
-
type NetWorthByCurrencyDto = {
|
|
3956
|
+
canonical: string;
|
|
3704
3957
|
/**
|
|
3705
|
-
*
|
|
3958
|
+
* Platform aliases (multi-language names for lookup)
|
|
3706
3959
|
*/
|
|
3707
|
-
|
|
3960
|
+
aliases: Array<string>;
|
|
3708
3961
|
/**
|
|
3709
|
-
*
|
|
3962
|
+
* Platform URL
|
|
3710
3963
|
*/
|
|
3711
|
-
|
|
3964
|
+
url: string;
|
|
3712
3965
|
/**
|
|
3713
|
-
*
|
|
3966
|
+
* Platform type
|
|
3714
3967
|
*/
|
|
3715
|
-
|
|
3716
|
-
};
|
|
3717
|
-
type ConvertedNetWorthDto = {
|
|
3968
|
+
type: 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
|
|
3718
3969
|
/**
|
|
3719
|
-
*
|
|
3970
|
+
* Platform logo URL
|
|
3720
3971
|
*/
|
|
3721
|
-
|
|
3972
|
+
logoUrl?: string;
|
|
3722
3973
|
/**
|
|
3723
|
-
*
|
|
3974
|
+
* Whether the platform is active
|
|
3724
3975
|
*/
|
|
3725
|
-
|
|
3976
|
+
isActive?: boolean;
|
|
3977
|
+
};
|
|
3978
|
+
/**
|
|
3979
|
+
* Platform type
|
|
3980
|
+
*/
|
|
3981
|
+
type type3 = 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
|
|
3982
|
+
type UpdatePlatformDto = {
|
|
3726
3983
|
/**
|
|
3727
|
-
*
|
|
3984
|
+
* Platform name
|
|
3728
3985
|
*/
|
|
3729
|
-
|
|
3986
|
+
name?: string;
|
|
3730
3987
|
/**
|
|
3731
|
-
*
|
|
3988
|
+
* Platform canonical identifier (lowercase, kebab-case)
|
|
3732
3989
|
*/
|
|
3733
|
-
|
|
3990
|
+
canonical?: string;
|
|
3734
3991
|
/**
|
|
3735
|
-
*
|
|
3992
|
+
* Platform aliases (multi-language names for lookup)
|
|
3736
3993
|
*/
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3994
|
+
aliases?: Array<string>;
|
|
3995
|
+
/**
|
|
3996
|
+
* Platform URL
|
|
3997
|
+
*/
|
|
3998
|
+
url?: string;
|
|
3999
|
+
/**
|
|
4000
|
+
* Platform type
|
|
4001
|
+
*/
|
|
4002
|
+
type?: 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
|
|
4003
|
+
/**
|
|
4004
|
+
* Platform logo URL
|
|
4005
|
+
*/
|
|
4006
|
+
logoUrl?: string;
|
|
4007
|
+
/**
|
|
4008
|
+
* Whether the platform is active
|
|
4009
|
+
*/
|
|
4010
|
+
isActive?: boolean;
|
|
3740
4011
|
};
|
|
3741
|
-
type
|
|
4012
|
+
type NetWorthByCurrencyDto = {
|
|
3742
4013
|
/**
|
|
3743
|
-
*
|
|
4014
|
+
* Net worth by currency
|
|
3744
4015
|
*/
|
|
3745
|
-
|
|
4016
|
+
netWorth: Array<BalanceByCurrencyDto>;
|
|
3746
4017
|
/**
|
|
3747
|
-
*
|
|
4018
|
+
* Assets by currency
|
|
3748
4019
|
*/
|
|
3749
|
-
|
|
4020
|
+
assets: Array<BalanceByCurrencyDto>;
|
|
3750
4021
|
/**
|
|
3751
|
-
*
|
|
4022
|
+
* Liabilities by currency
|
|
3752
4023
|
*/
|
|
3753
|
-
|
|
4024
|
+
liabilities: Array<BalanceByCurrencyDto>;
|
|
4025
|
+
};
|
|
4026
|
+
type ConvertedNetWorthDto = {
|
|
4027
|
+
/**
|
|
4028
|
+
* Base currency for conversion
|
|
4029
|
+
*/
|
|
4030
|
+
baseCurrency: string;
|
|
4031
|
+
/**
|
|
4032
|
+
* Converted net worth
|
|
4033
|
+
*/
|
|
4034
|
+
netWorth: string;
|
|
4035
|
+
/**
|
|
4036
|
+
* Converted assets
|
|
4037
|
+
*/
|
|
4038
|
+
assets: string;
|
|
4039
|
+
/**
|
|
4040
|
+
* Converted liabilities
|
|
4041
|
+
*/
|
|
4042
|
+
liabilities: string;
|
|
4043
|
+
/**
|
|
4044
|
+
* Exchange rates used for conversion
|
|
4045
|
+
*/
|
|
4046
|
+
exchangeRates: {
|
|
4047
|
+
[key: string]: unknown;
|
|
4048
|
+
};
|
|
3754
4049
|
};
|
|
3755
4050
|
type NetWorthResponseDto = {
|
|
3756
4051
|
/**
|
|
@@ -3815,6 +4110,10 @@ type AccountItemDto = {
|
|
|
3815
4110
|
* Currency code
|
|
3816
4111
|
*/
|
|
3817
4112
|
currency: string;
|
|
4113
|
+
/**
|
|
4114
|
+
* FX-converted balance in base currency; omitted when not convertible
|
|
4115
|
+
*/
|
|
4116
|
+
convertedBalance?: string;
|
|
3818
4117
|
};
|
|
3819
4118
|
type PlatformGroupDto = {
|
|
3820
4119
|
/**
|
|
@@ -3830,9 +4129,39 @@ type PlatformGroupDto = {
|
|
|
3830
4129
|
*/
|
|
3831
4130
|
accounts: Array<AccountItemDto>;
|
|
3832
4131
|
/**
|
|
3833
|
-
*
|
|
4132
|
+
* FX-converted total balance in base currency
|
|
3834
4133
|
*/
|
|
3835
4134
|
totalBalance: string;
|
|
4135
|
+
/**
|
|
4136
|
+
* Raw (unconverted) balances grouped by currency
|
|
4137
|
+
*/
|
|
4138
|
+
balanceByCurrency: Array<BalanceByCurrencyDto>;
|
|
4139
|
+
/**
|
|
4140
|
+
* Converted balance in base currency (omitted when no currency is convertible)
|
|
4141
|
+
*/
|
|
4142
|
+
convertedBalance?: string;
|
|
4143
|
+
/**
|
|
4144
|
+
* Share of the grand converted total (0-100); 0 when grand total is 0
|
|
4145
|
+
*/
|
|
4146
|
+
sharePct: number;
|
|
4147
|
+
};
|
|
4148
|
+
type AccountExchangeRateWarningDto = {
|
|
4149
|
+
/**
|
|
4150
|
+
* Warning type
|
|
4151
|
+
*/
|
|
4152
|
+
type: string;
|
|
4153
|
+
/**
|
|
4154
|
+
* Currency without exchange rate
|
|
4155
|
+
*/
|
|
4156
|
+
currency: string;
|
|
4157
|
+
/**
|
|
4158
|
+
* Affected account paths
|
|
4159
|
+
*/
|
|
4160
|
+
accounts: Array<string>;
|
|
4161
|
+
/**
|
|
4162
|
+
* Total amount in this currency
|
|
4163
|
+
*/
|
|
4164
|
+
totalAmount: string;
|
|
3836
4165
|
};
|
|
3837
4166
|
type AccountsSummaryDto = {
|
|
3838
4167
|
/**
|
|
@@ -3843,6 +4172,14 @@ type AccountsSummaryDto = {
|
|
|
3843
4172
|
* Total number of platforms
|
|
3844
4173
|
*/
|
|
3845
4174
|
totalPlatforms: number;
|
|
4175
|
+
/**
|
|
4176
|
+
* Base currency for conversion
|
|
4177
|
+
*/
|
|
4178
|
+
baseCurrency: string;
|
|
4179
|
+
/**
|
|
4180
|
+
* Per-account exchange rate warnings
|
|
4181
|
+
*/
|
|
4182
|
+
warnings?: Array<AccountExchangeRateWarningDto>;
|
|
3846
4183
|
};
|
|
3847
4184
|
type AccountsResponseDto = {
|
|
3848
4185
|
/**
|
|
@@ -3875,6 +4212,10 @@ type AccountItemWithAssetClassDto = {
|
|
|
3875
4212
|
* Currency code
|
|
3876
4213
|
*/
|
|
3877
4214
|
currency: string;
|
|
4215
|
+
/**
|
|
4216
|
+
* FX-converted balance in base currency; omitted when not convertible
|
|
4217
|
+
*/
|
|
4218
|
+
convertedBalance?: string;
|
|
3878
4219
|
/**
|
|
3879
4220
|
* Asset class
|
|
3880
4221
|
*/
|
|
@@ -3926,24 +4267,6 @@ type AssetClassGroupDto = {
|
|
|
3926
4267
|
* Asset class name
|
|
3927
4268
|
*/
|
|
3928
4269
|
type assetClass = 'LIQUIDITY' | 'EQUITY' | 'FIXED_INCOME' | 'PRECIOUS_METALS' | 'COMMODITY' | 'INSURANCE' | 'ALTERNATIVE_INVESTMENT' | 'PERSONAL_ASSETS' | 'LIABILITY' | 'REAL_ESTATE' | 'INDEX';
|
|
3929
|
-
type AccountExchangeRateWarningDto = {
|
|
3930
|
-
/**
|
|
3931
|
-
* Warning type
|
|
3932
|
-
*/
|
|
3933
|
-
type: string;
|
|
3934
|
-
/**
|
|
3935
|
-
* Currency without exchange rate
|
|
3936
|
-
*/
|
|
3937
|
-
currency: string;
|
|
3938
|
-
/**
|
|
3939
|
-
* Affected account paths
|
|
3940
|
-
*/
|
|
3941
|
-
accounts: Array<string>;
|
|
3942
|
-
/**
|
|
3943
|
-
* Total amount in this currency
|
|
3944
|
-
*/
|
|
3945
|
-
totalAmount: string;
|
|
3946
|
-
};
|
|
3947
4270
|
type AssetClassSummaryDto = {
|
|
3948
4271
|
/**
|
|
3949
4272
|
* Total number of accounts
|
|
@@ -4108,7 +4431,7 @@ type CategoryGroupDto = {
|
|
|
4108
4431
|
*/
|
|
4109
4432
|
category: string;
|
|
4110
4433
|
/**
|
|
4111
|
-
* Converted total
|
|
4434
|
+
* Converted total for this category in base currency (expense amount when flow=expense, income amount when flow=income)
|
|
4112
4435
|
*/
|
|
4113
4436
|
totalExpense: string;
|
|
4114
4437
|
/**
|
|
@@ -4126,7 +4449,7 @@ type CategoryGroupDto = {
|
|
|
4126
4449
|
};
|
|
4127
4450
|
type ExpensesByCategorySummaryDto = {
|
|
4128
4451
|
/**
|
|
4129
|
-
* Total
|
|
4452
|
+
* Total across all categories, converted (convertible categories only); expense totals when flow=expense, income totals when flow=income
|
|
4130
4453
|
*/
|
|
4131
4454
|
totalExpense: string;
|
|
4132
4455
|
/**
|
|
@@ -4327,104 +4650,6 @@ type HoldingPnlResponseDto = {
|
|
|
4327
4650
|
* Realized-P&L lot-matching method (FIFO or average). Unrealized cost basis remains average regardless of this value (#473).
|
|
4328
4651
|
*/
|
|
4329
4652
|
type method = 'average' | 'FIFO';
|
|
4330
|
-
type CreateBeanPriceDto = {
|
|
4331
|
-
/**
|
|
4332
|
-
* Currency being priced (e.g., USD, AAPL, BTC)
|
|
4333
|
-
*/
|
|
4334
|
-
currency: string;
|
|
4335
|
-
/**
|
|
4336
|
-
* Quote currency (pricing currency, e.g., CNY, EUR)
|
|
4337
|
-
*/
|
|
4338
|
-
quoteCurrency: string;
|
|
4339
|
-
/**
|
|
4340
|
-
* Price amount (MUST be >= 0 per Beancount spec, supports up to 15 decimal places). Zero allowed for conversion entries, negative strictly prohibited.
|
|
4341
|
-
*/
|
|
4342
|
-
amount: number;
|
|
4343
|
-
/**
|
|
4344
|
-
* Price date (ISO 8601 format)
|
|
4345
|
-
*/
|
|
4346
|
-
date: string;
|
|
4347
|
-
/**
|
|
4348
|
-
* Metadata (validated by Zod schema, max field lengths enforced)
|
|
4349
|
-
*/
|
|
4350
|
-
metadata?: {
|
|
4351
|
-
[key: string]: unknown;
|
|
4352
|
-
};
|
|
4353
|
-
};
|
|
4354
|
-
type PriceResponseDto = {
|
|
4355
|
-
/**
|
|
4356
|
-
* Unique identifier
|
|
4357
|
-
*/
|
|
4358
|
-
id: string;
|
|
4359
|
-
/**
|
|
4360
|
-
* User ID (owner of the price)
|
|
4361
|
-
*/
|
|
4362
|
-
userId: string;
|
|
4363
|
-
/**
|
|
4364
|
-
* Currency being priced (e.g., USD, AAPL, BTC)
|
|
4365
|
-
*/
|
|
4366
|
-
currency: string;
|
|
4367
|
-
/**
|
|
4368
|
-
* Quote currency (pricing currency, e.g., USD, CNY)
|
|
4369
|
-
*/
|
|
4370
|
-
quoteCurrency: string;
|
|
4371
|
-
/**
|
|
4372
|
-
* Price amount (corresponds to Beancount Amount.number). Supports up to 15 decimal places.
|
|
4373
|
-
*/
|
|
4374
|
-
amount: number;
|
|
4375
|
-
/**
|
|
4376
|
-
* Price date (ISO 8601 format). Represents the date this price was valid.
|
|
4377
|
-
*/
|
|
4378
|
-
date: string;
|
|
4379
|
-
/**
|
|
4380
|
-
* Metadata (corresponds to Beancount meta field). Contains source, confidence, note, etc.
|
|
4381
|
-
*/
|
|
4382
|
-
meta: {
|
|
4383
|
-
[key: string]: unknown;
|
|
4384
|
-
};
|
|
4385
|
-
/**
|
|
4386
|
-
* Creation timestamp
|
|
4387
|
-
*/
|
|
4388
|
-
createdAt: string;
|
|
4389
|
-
/**
|
|
4390
|
-
* Last update timestamp
|
|
4391
|
-
*/
|
|
4392
|
-
updatedAt: string;
|
|
4393
|
-
};
|
|
4394
|
-
type PriceListResponseDto = {
|
|
4395
|
-
/**
|
|
4396
|
-
* List of prices
|
|
4397
|
-
*/
|
|
4398
|
-
items: Array<PriceResponseDto>;
|
|
4399
|
-
/**
|
|
4400
|
-
* Total number of prices
|
|
4401
|
-
*/
|
|
4402
|
-
total: number;
|
|
4403
|
-
};
|
|
4404
|
-
type UpdateBeanPriceDto = {
|
|
4405
|
-
/**
|
|
4406
|
-
* Currency being priced
|
|
4407
|
-
*/
|
|
4408
|
-
currency?: string;
|
|
4409
|
-
/**
|
|
4410
|
-
* Quote currency (pricing currency)
|
|
4411
|
-
*/
|
|
4412
|
-
quoteCurrency?: string;
|
|
4413
|
-
/**
|
|
4414
|
-
* Price amount (MUST be >= 0 per Beancount spec)
|
|
4415
|
-
*/
|
|
4416
|
-
amount?: number;
|
|
4417
|
-
/**
|
|
4418
|
-
* Price date (ISO 8601 format)
|
|
4419
|
-
*/
|
|
4420
|
-
date?: string;
|
|
4421
|
-
/**
|
|
4422
|
-
* Metadata
|
|
4423
|
-
*/
|
|
4424
|
-
metadata?: {
|
|
4425
|
-
[key: string]: unknown;
|
|
4426
|
-
};
|
|
4427
|
-
};
|
|
4428
4653
|
type CurrencyBalanceDto = {
|
|
4429
4654
|
/**
|
|
4430
4655
|
* ISO 4217 currency code
|
|
@@ -4619,7 +4844,7 @@ type AccountControllerFindAllData = {
|
|
|
4619
4844
|
*/
|
|
4620
4845
|
region: 'cn' | 'us' | 'de' | 'gb';
|
|
4621
4846
|
/**
|
|
4622
|
-
* Search term for path
|
|
4847
|
+
* Search term for account path
|
|
4623
4848
|
*/
|
|
4624
4849
|
search?: string;
|
|
4625
4850
|
/**
|
|
@@ -4690,6 +4915,18 @@ type AccountControllerReopenData = {
|
|
|
4690
4915
|
requestBody: ReopenAccountDto;
|
|
4691
4916
|
};
|
|
4692
4917
|
type AccountControllerReopenResponse = AccountResponseDto;
|
|
4918
|
+
type AccountControllerAddOpeningBalanceData = {
|
|
4919
|
+
/**
|
|
4920
|
+
* Account UUID
|
|
4921
|
+
*/
|
|
4922
|
+
id: string;
|
|
4923
|
+
/**
|
|
4924
|
+
* Region code for tenant context
|
|
4925
|
+
*/
|
|
4926
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
4927
|
+
requestBody: CreateOpeningBalanceDto;
|
|
4928
|
+
};
|
|
4929
|
+
type AccountControllerAddOpeningBalanceResponse = OpeningBalanceResultDto;
|
|
4693
4930
|
type AccountStandardsControllerGetTemplatesData = {
|
|
4694
4931
|
/**
|
|
4695
4932
|
* Region code (cn, us, de)
|
|
@@ -4851,7 +5088,7 @@ type TransactionControllerDeleteData = {
|
|
|
4851
5088
|
type TransactionControllerDeleteResponse = void;
|
|
4852
5089
|
type BalanceControllerGetBalanceData = {
|
|
4853
5090
|
/**
|
|
4854
|
-
* Account name (e.g., "Assets:
|
|
5091
|
+
* Account name (e.g., "Assets:Checking")
|
|
4855
5092
|
*/
|
|
4856
5093
|
account: string;
|
|
4857
5094
|
/**
|
|
@@ -5163,41 +5400,126 @@ type CommodityControllerBulkCreateData = {
|
|
|
5163
5400
|
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5164
5401
|
};
|
|
5165
5402
|
type CommodityControllerBulkCreateResponse = Array<CommodityResponseDto>;
|
|
5166
|
-
type
|
|
5403
|
+
type PriceControllerCreateData = {
|
|
5167
5404
|
/**
|
|
5168
5405
|
* Region code for tenant context
|
|
5169
5406
|
*/
|
|
5170
5407
|
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5171
|
-
requestBody:
|
|
5408
|
+
requestBody: CreateBeanPriceDto;
|
|
5172
5409
|
};
|
|
5173
|
-
type
|
|
5174
|
-
type
|
|
5410
|
+
type PriceControllerCreateResponse = PriceResponseDto;
|
|
5411
|
+
type PriceControllerFindAllData = {
|
|
5175
5412
|
/**
|
|
5176
|
-
* Filter by
|
|
5413
|
+
* Filter by currency (e.g., BTC, AAPL, USD)
|
|
5177
5414
|
*/
|
|
5178
|
-
|
|
5415
|
+
currency?: string;
|
|
5179
5416
|
/**
|
|
5180
|
-
* Filter
|
|
5417
|
+
* Filter prices from this date (ISO 8601 format)
|
|
5181
5418
|
*/
|
|
5182
|
-
|
|
5419
|
+
dateFrom?: string;
|
|
5183
5420
|
/**
|
|
5184
|
-
* Filter
|
|
5421
|
+
* Filter prices to this date (ISO 8601 format)
|
|
5185
5422
|
*/
|
|
5186
|
-
|
|
5423
|
+
dateTo?: string;
|
|
5187
5424
|
/**
|
|
5188
|
-
*
|
|
5425
|
+
* Number of items per page (default: 20, max: 100)
|
|
5189
5426
|
*/
|
|
5190
|
-
|
|
5191
|
-
};
|
|
5192
|
-
type RecurringRuleControllerFindAllResponse = Array<RecurringRuleResponseDto>;
|
|
5193
|
-
type RecurringRuleControllerCreateFromTransactionData = {
|
|
5427
|
+
limit?: number;
|
|
5194
5428
|
/**
|
|
5195
|
-
*
|
|
5429
|
+
* Page number for pagination (default: 1)
|
|
5196
5430
|
*/
|
|
5197
|
-
|
|
5198
|
-
requestBody: CreateRuleFromTransactionDto;
|
|
5431
|
+
page?: number;
|
|
5199
5432
|
/**
|
|
5200
|
-
*
|
|
5433
|
+
* Filter by quote currency (pricing currency, e.g., USD, CNY)
|
|
5434
|
+
*/
|
|
5435
|
+
quoteCurrency?: string;
|
|
5436
|
+
/**
|
|
5437
|
+
* Region code for tenant context
|
|
5438
|
+
*/
|
|
5439
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5440
|
+
/**
|
|
5441
|
+
* Search term for currency or quoteCurrency (case-insensitive partial match)
|
|
5442
|
+
*/
|
|
5443
|
+
search?: string;
|
|
5444
|
+
};
|
|
5445
|
+
type PriceControllerFindAllResponse = PriceListResponseDto;
|
|
5446
|
+
type PriceControllerFindOneData = {
|
|
5447
|
+
/**
|
|
5448
|
+
* Price ID
|
|
5449
|
+
*/
|
|
5450
|
+
id: string;
|
|
5451
|
+
/**
|
|
5452
|
+
* Region code for tenant context
|
|
5453
|
+
*/
|
|
5454
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5455
|
+
};
|
|
5456
|
+
type PriceControllerFindOneResponse = PriceResponseDto;
|
|
5457
|
+
type PriceControllerUpdateData = {
|
|
5458
|
+
/**
|
|
5459
|
+
* Price ID
|
|
5460
|
+
*/
|
|
5461
|
+
id: string;
|
|
5462
|
+
/**
|
|
5463
|
+
* Region code for tenant context
|
|
5464
|
+
*/
|
|
5465
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5466
|
+
requestBody: UpdateBeanPriceDto;
|
|
5467
|
+
};
|
|
5468
|
+
type PriceControllerUpdateResponse = PriceResponseDto;
|
|
5469
|
+
type PriceControllerDeleteData = {
|
|
5470
|
+
/**
|
|
5471
|
+
* Price ID
|
|
5472
|
+
*/
|
|
5473
|
+
id: string;
|
|
5474
|
+
/**
|
|
5475
|
+
* Region code for tenant context
|
|
5476
|
+
*/
|
|
5477
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5478
|
+
};
|
|
5479
|
+
type PriceControllerDeleteResponse = void;
|
|
5480
|
+
type PriceControllerBulkCreateData = {
|
|
5481
|
+
/**
|
|
5482
|
+
* Region code for tenant context
|
|
5483
|
+
*/
|
|
5484
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5485
|
+
requestBody: Array<string>;
|
|
5486
|
+
};
|
|
5487
|
+
type PriceControllerBulkCreateResponse = Array<PriceResponseDto>;
|
|
5488
|
+
type RecurringRuleControllerCreateData = {
|
|
5489
|
+
/**
|
|
5490
|
+
* Region code for tenant context
|
|
5491
|
+
*/
|
|
5492
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5493
|
+
requestBody: CreateRecurringRuleDto;
|
|
5494
|
+
};
|
|
5495
|
+
type RecurringRuleControllerCreateResponse = RecurringRuleResponseDto;
|
|
5496
|
+
type RecurringRuleControllerFindAllData = {
|
|
5497
|
+
/**
|
|
5498
|
+
* Filter by frequency (WEEKLY, MONTHLY, etc.)
|
|
5499
|
+
*/
|
|
5500
|
+
frequency?: string;
|
|
5501
|
+
/**
|
|
5502
|
+
* Filter by autoCreate enabled
|
|
5503
|
+
*/
|
|
5504
|
+
hasAutoCreate?: boolean;
|
|
5505
|
+
/**
|
|
5506
|
+
* Filter by active status
|
|
5507
|
+
*/
|
|
5508
|
+
isActive?: boolean;
|
|
5509
|
+
/**
|
|
5510
|
+
* Region code for tenant context
|
|
5511
|
+
*/
|
|
5512
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5513
|
+
};
|
|
5514
|
+
type RecurringRuleControllerFindAllResponse = Array<RecurringRuleResponseDto>;
|
|
5515
|
+
type RecurringRuleControllerCreateFromTransactionData = {
|
|
5516
|
+
/**
|
|
5517
|
+
* Region code for tenant context
|
|
5518
|
+
*/
|
|
5519
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5520
|
+
requestBody: CreateRuleFromTransactionDto;
|
|
5521
|
+
/**
|
|
5522
|
+
* Source transaction ID
|
|
5201
5523
|
*/
|
|
5202
5524
|
transactionId: string;
|
|
5203
5525
|
};
|
|
@@ -5626,6 +5948,49 @@ type EventControllerGetSliceData = {
|
|
|
5626
5948
|
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5627
5949
|
};
|
|
5628
5950
|
type EventControllerGetSliceResponse = unknown;
|
|
5951
|
+
type OnboardingControllerBootstrapData = {
|
|
5952
|
+
/**
|
|
5953
|
+
* Region code for tenant context
|
|
5954
|
+
*/
|
|
5955
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5956
|
+
requestBody: OnboardingDto;
|
|
5957
|
+
};
|
|
5958
|
+
type OnboardingControllerBootstrapResponse = unknown;
|
|
5959
|
+
type ReconciliationControllerComputeData = {
|
|
5960
|
+
/**
|
|
5961
|
+
* Region code for tenant context (decorative for reconciliation)
|
|
5962
|
+
*/
|
|
5963
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5964
|
+
requestBody: ComputeReconciliationDto;
|
|
5965
|
+
};
|
|
5966
|
+
type ReconciliationControllerComputeResponse = ReconciliationComputeResultDto;
|
|
5967
|
+
type ReconciliationControllerAssertData = {
|
|
5968
|
+
/**
|
|
5969
|
+
* Region code for tenant context (decorative for reconciliation)
|
|
5970
|
+
*/
|
|
5971
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5972
|
+
requestBody: AssertReconciliationDto;
|
|
5973
|
+
};
|
|
5974
|
+
type ReconciliationControllerAssertResponse = ReconciliationRecordDto;
|
|
5975
|
+
type ReconciliationControllerPadData = {
|
|
5976
|
+
/**
|
|
5977
|
+
* Region code for tenant context (decorative for reconciliation)
|
|
5978
|
+
*/
|
|
5979
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5980
|
+
requestBody: PadReconciliationDto;
|
|
5981
|
+
};
|
|
5982
|
+
type ReconciliationControllerPadResponse = PadResultDto;
|
|
5983
|
+
type ReconciliationControllerHistoryData = {
|
|
5984
|
+
/**
|
|
5985
|
+
* BeanAccount id
|
|
5986
|
+
*/
|
|
5987
|
+
accountId: string;
|
|
5988
|
+
/**
|
|
5989
|
+
* Region code for tenant context (decorative for reconciliation)
|
|
5990
|
+
*/
|
|
5991
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5992
|
+
};
|
|
5993
|
+
type ReconciliationControllerHistoryResponse = Array<ReconciliationRecordDto>;
|
|
5629
5994
|
type ExportControllerExportBeancountResponse = unknown;
|
|
5630
5995
|
type FileImportControllerImportFileData = {
|
|
5631
5996
|
/**
|
|
@@ -5705,38 +6070,6 @@ type ImporterConfigControllerResetConfigData = {
|
|
|
5705
6070
|
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5706
6071
|
};
|
|
5707
6072
|
type ImporterConfigControllerResetConfigResponse = ImporterConfigDto;
|
|
5708
|
-
type PlatformControllerFindAllResponse = unknown;
|
|
5709
|
-
type PlatformControllerCreateData = {
|
|
5710
|
-
requestBody: CreatePlatformDto;
|
|
5711
|
-
};
|
|
5712
|
-
type PlatformControllerCreateResponse = unknown;
|
|
5713
|
-
type PlatformControllerGetPlatformListResponse = unknown;
|
|
5714
|
-
type PlatformControllerMatchPlatformsData = {
|
|
5715
|
-
/**
|
|
5716
|
-
* Search query — Chinese name, English name, or abbreviation
|
|
5717
|
-
*/
|
|
5718
|
-
q: string;
|
|
5719
|
-
/**
|
|
5720
|
-
* Region code for category override lookup
|
|
5721
|
-
*/
|
|
5722
|
-
region?: string;
|
|
5723
|
-
};
|
|
5724
|
-
type PlatformControllerMatchPlatformsResponse = unknown;
|
|
5725
|
-
type PlatformControllerUpdateData = {
|
|
5726
|
-
/**
|
|
5727
|
-
* Platform ID
|
|
5728
|
-
*/
|
|
5729
|
-
id: string;
|
|
5730
|
-
requestBody: UpdatePlatformDto;
|
|
5731
|
-
};
|
|
5732
|
-
type PlatformControllerUpdateResponse = unknown;
|
|
5733
|
-
type PlatformControllerDeleteData = {
|
|
5734
|
-
/**
|
|
5735
|
-
* Platform ID
|
|
5736
|
-
*/
|
|
5737
|
-
id: string;
|
|
5738
|
-
};
|
|
5739
|
-
type PlatformControllerDeleteResponse = void;
|
|
5740
6073
|
type ProviderSyncControllerSyncData = {
|
|
5741
6074
|
/**
|
|
5742
6075
|
* Provider name
|
|
@@ -5767,6 +6100,38 @@ type ProviderSyncControllerIsProviderSupportedData = {
|
|
|
5767
6100
|
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5768
6101
|
};
|
|
5769
6102
|
type ProviderSyncControllerIsProviderSupportedResponse = unknown;
|
|
6103
|
+
type ExternalAccountLinkControllerCreateData = {
|
|
6104
|
+
/**
|
|
6105
|
+
* Region code for tenant context
|
|
6106
|
+
*/
|
|
6107
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
6108
|
+
requestBody: CreateExternalAccountLinkDto;
|
|
6109
|
+
};
|
|
6110
|
+
type ExternalAccountLinkControllerCreateResponse = ExternalAccountLinkResponseDto;
|
|
6111
|
+
type ExternalAccountLinkControllerFindAllData = {
|
|
6112
|
+
provider: string;
|
|
6113
|
+
/**
|
|
6114
|
+
* Region code for tenant context
|
|
6115
|
+
*/
|
|
6116
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
6117
|
+
};
|
|
6118
|
+
type ExternalAccountLinkControllerFindAllResponse = ExternalAccountLinkListResponseDto;
|
|
6119
|
+
type ExternalAccountLinkControllerFindOneData = {
|
|
6120
|
+
id: string;
|
|
6121
|
+
/**
|
|
6122
|
+
* Region code for tenant context
|
|
6123
|
+
*/
|
|
6124
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
6125
|
+
};
|
|
6126
|
+
type ExternalAccountLinkControllerFindOneResponse = ExternalAccountLinkResponseDto;
|
|
6127
|
+
type ExternalAccountLinkControllerRemoveData = {
|
|
6128
|
+
id: string;
|
|
6129
|
+
/**
|
|
6130
|
+
* Region code for tenant context
|
|
6131
|
+
*/
|
|
6132
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
6133
|
+
};
|
|
6134
|
+
type ExternalAccountLinkControllerRemoveResponse = void;
|
|
5770
6135
|
type TelemetryControllerReportTelemetryData = {
|
|
5771
6136
|
/**
|
|
5772
6137
|
* Region code for tenant context
|
|
@@ -5827,6 +6192,38 @@ type NlpControllerGetSessionData = {
|
|
|
5827
6192
|
sessionId?: string;
|
|
5828
6193
|
};
|
|
5829
6194
|
type NlpControllerGetSessionResponse = unknown;
|
|
6195
|
+
type PlatformControllerFindAllResponse = unknown;
|
|
6196
|
+
type PlatformControllerCreateData = {
|
|
6197
|
+
requestBody: CreatePlatformDto;
|
|
6198
|
+
};
|
|
6199
|
+
type PlatformControllerCreateResponse = unknown;
|
|
6200
|
+
type PlatformControllerGetPlatformListResponse = unknown;
|
|
6201
|
+
type PlatformControllerMatchPlatformsData = {
|
|
6202
|
+
/**
|
|
6203
|
+
* Search query — Chinese name, English name, or abbreviation
|
|
6204
|
+
*/
|
|
6205
|
+
q: string;
|
|
6206
|
+
/**
|
|
6207
|
+
* Region code for category override lookup
|
|
6208
|
+
*/
|
|
6209
|
+
region?: string;
|
|
6210
|
+
};
|
|
6211
|
+
type PlatformControllerMatchPlatformsResponse = unknown;
|
|
6212
|
+
type PlatformControllerUpdateData = {
|
|
6213
|
+
/**
|
|
6214
|
+
* Platform ID
|
|
6215
|
+
*/
|
|
6216
|
+
id: string;
|
|
6217
|
+
requestBody: UpdatePlatformDto;
|
|
6218
|
+
};
|
|
6219
|
+
type PlatformControllerUpdateResponse = unknown;
|
|
6220
|
+
type PlatformControllerDeleteData = {
|
|
6221
|
+
/**
|
|
6222
|
+
* Platform ID
|
|
6223
|
+
*/
|
|
6224
|
+
id: string;
|
|
6225
|
+
};
|
|
6226
|
+
type PlatformControllerDeleteResponse = void;
|
|
5830
6227
|
type DashboardControllerGetNetWorthData = {
|
|
5831
6228
|
/**
|
|
5832
6229
|
* Date for balance calculation (ISO 8601 format)
|
|
@@ -5869,6 +6266,10 @@ type DashboardControllerGetCashFlowData = {
|
|
|
5869
6266
|
};
|
|
5870
6267
|
type DashboardControllerGetCashFlowResponse = CashFlowResponseDto;
|
|
5871
6268
|
type DashboardControllerGetExpensesData = {
|
|
6269
|
+
/**
|
|
6270
|
+
* Account root to aggregate (expense → ^Expenses:, income → ^Income:)
|
|
6271
|
+
*/
|
|
6272
|
+
flow?: 'expense' | 'income';
|
|
5872
6273
|
/**
|
|
5873
6274
|
* Grouping strategy
|
|
5874
6275
|
*/
|
|
@@ -5902,138 +6303,53 @@ type HoldingPnlControllerGetHoldingPnlData = {
|
|
|
5902
6303
|
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5903
6304
|
};
|
|
5904
6305
|
type HoldingPnlControllerGetHoldingPnlResponse = HoldingPnlResponseDto;
|
|
5905
|
-
type
|
|
5906
|
-
/**
|
|
5907
|
-
* Region code for tenant context
|
|
5908
|
-
*/
|
|
5909
|
-
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5910
|
-
requestBody: CreateBeanPriceDto;
|
|
5911
|
-
};
|
|
5912
|
-
type PriceControllerCreateResponse = PriceResponseDto;
|
|
5913
|
-
type PriceControllerFindAllData = {
|
|
6306
|
+
type ReportingControllerGetPortfolioTrendsData = {
|
|
5914
6307
|
/**
|
|
5915
|
-
*
|
|
6308
|
+
* Data granularity
|
|
5916
6309
|
*/
|
|
5917
|
-
|
|
6310
|
+
granularity?: 'day' | 'week' | 'month';
|
|
5918
6311
|
/**
|
|
5919
|
-
*
|
|
6312
|
+
* Time period
|
|
5920
6313
|
*/
|
|
5921
|
-
|
|
6314
|
+
period?: '1m' | '3m' | '6m' | '1y';
|
|
5922
6315
|
/**
|
|
5923
|
-
*
|
|
6316
|
+
* Region code for tenant context
|
|
5924
6317
|
*/
|
|
5925
|
-
|
|
6318
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
6319
|
+
};
|
|
6320
|
+
type ReportingControllerGetPortfolioTrendsResponse = PortfolioTrendsResponseDto;
|
|
6321
|
+
type ReportingControllerGetCashFlowTrendsData = {
|
|
5926
6322
|
/**
|
|
5927
|
-
*
|
|
6323
|
+
* Data granularity (accepted for API symmetry; v1 returns month buckets)
|
|
5928
6324
|
*/
|
|
5929
|
-
|
|
6325
|
+
granularity?: 'day' | 'week' | 'month';
|
|
5930
6326
|
/**
|
|
5931
|
-
*
|
|
6327
|
+
* Time period
|
|
5932
6328
|
*/
|
|
5933
|
-
|
|
6329
|
+
period?: '1m' | '3m' | '6m' | '1y';
|
|
5934
6330
|
/**
|
|
5935
|
-
*
|
|
6331
|
+
* Region code for tenant context
|
|
5936
6332
|
*/
|
|
5937
|
-
|
|
6333
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
6334
|
+
};
|
|
6335
|
+
type ReportingControllerGetCashFlowTrendsResponse = CashFlowTrendsResponseDto;
|
|
6336
|
+
type ReportingControllerGenerateSnapshotData = {
|
|
5938
6337
|
/**
|
|
5939
6338
|
* Region code for tenant context
|
|
5940
6339
|
*/
|
|
5941
6340
|
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5942
6341
|
/**
|
|
5943
|
-
*
|
|
6342
|
+
* Optional date (defaults to today)
|
|
5944
6343
|
*/
|
|
5945
|
-
|
|
6344
|
+
requestBody: GenerateSnapshotBody;
|
|
5946
6345
|
};
|
|
5947
|
-
type
|
|
5948
|
-
type
|
|
5949
|
-
/**
|
|
5950
|
-
* Price ID
|
|
5951
|
-
*/
|
|
5952
|
-
id: string;
|
|
6346
|
+
type ReportingControllerGenerateSnapshotResponse = GenerateSnapshotResponse;
|
|
6347
|
+
type ReportingControllerBackfillSnapshotsData = {
|
|
5953
6348
|
/**
|
|
5954
6349
|
* Region code for tenant context
|
|
5955
6350
|
*/
|
|
5956
6351
|
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5957
|
-
|
|
5958
|
-
type PriceControllerFindOneResponse = PriceResponseDto;
|
|
5959
|
-
type PriceControllerUpdateData = {
|
|
5960
|
-
/**
|
|
5961
|
-
* Price ID
|
|
5962
|
-
*/
|
|
5963
|
-
id: string;
|
|
5964
|
-
/**
|
|
5965
|
-
* Region code for tenant context
|
|
5966
|
-
*/
|
|
5967
|
-
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5968
|
-
requestBody: UpdateBeanPriceDto;
|
|
5969
|
-
};
|
|
5970
|
-
type PriceControllerUpdateResponse = PriceResponseDto;
|
|
5971
|
-
type PriceControllerDeleteData = {
|
|
5972
|
-
/**
|
|
5973
|
-
* Price ID
|
|
5974
|
-
*/
|
|
5975
|
-
id: string;
|
|
5976
|
-
/**
|
|
5977
|
-
* Region code for tenant context
|
|
5978
|
-
*/
|
|
5979
|
-
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5980
|
-
};
|
|
5981
|
-
type PriceControllerDeleteResponse = void;
|
|
5982
|
-
type PriceControllerBulkCreateData = {
|
|
5983
|
-
/**
|
|
5984
|
-
* Region code for tenant context
|
|
5985
|
-
*/
|
|
5986
|
-
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5987
|
-
requestBody: Array<string>;
|
|
5988
|
-
};
|
|
5989
|
-
type PriceControllerBulkCreateResponse = Array<PriceResponseDto>;
|
|
5990
|
-
type ReportingControllerGetPortfolioTrendsData = {
|
|
5991
|
-
/**
|
|
5992
|
-
* Data granularity
|
|
5993
|
-
*/
|
|
5994
|
-
granularity?: 'day' | 'week' | 'month';
|
|
5995
|
-
/**
|
|
5996
|
-
* Time period
|
|
5997
|
-
*/
|
|
5998
|
-
period?: '1m' | '3m' | '6m' | '1y';
|
|
5999
|
-
/**
|
|
6000
|
-
* Region code for tenant context
|
|
6001
|
-
*/
|
|
6002
|
-
region: 'cn' | 'us' | 'de' | 'gb';
|
|
6003
|
-
};
|
|
6004
|
-
type ReportingControllerGetPortfolioTrendsResponse = PortfolioTrendsResponseDto;
|
|
6005
|
-
type ReportingControllerGetCashFlowTrendsData = {
|
|
6006
|
-
/**
|
|
6007
|
-
* Data granularity (accepted for API symmetry; v1 returns month buckets)
|
|
6008
|
-
*/
|
|
6009
|
-
granularity?: 'day' | 'week' | 'month';
|
|
6010
|
-
/**
|
|
6011
|
-
* Time period
|
|
6012
|
-
*/
|
|
6013
|
-
period?: '1m' | '3m' | '6m' | '1y';
|
|
6014
|
-
/**
|
|
6015
|
-
* Region code for tenant context
|
|
6016
|
-
*/
|
|
6017
|
-
region: 'cn' | 'us' | 'de' | 'gb';
|
|
6018
|
-
};
|
|
6019
|
-
type ReportingControllerGetCashFlowTrendsResponse = CashFlowTrendsResponseDto;
|
|
6020
|
-
type ReportingControllerGenerateSnapshotData = {
|
|
6021
|
-
/**
|
|
6022
|
-
* Region code for tenant context
|
|
6023
|
-
*/
|
|
6024
|
-
region: 'cn' | 'us' | 'de' | 'gb';
|
|
6025
|
-
/**
|
|
6026
|
-
* Optional date (defaults to today)
|
|
6027
|
-
*/
|
|
6028
|
-
requestBody: GenerateSnapshotBody;
|
|
6029
|
-
};
|
|
6030
|
-
type ReportingControllerGenerateSnapshotResponse = GenerateSnapshotResponse;
|
|
6031
|
-
type ReportingControllerBackfillSnapshotsData = {
|
|
6032
|
-
/**
|
|
6033
|
-
* Region code for tenant context
|
|
6034
|
-
*/
|
|
6035
|
-
region: 'cn' | 'us' | 'de' | 'gb';
|
|
6036
|
-
requestBody: BackfillSnapshotsBody;
|
|
6352
|
+
requestBody: BackfillSnapshotsBody;
|
|
6037
6353
|
};
|
|
6038
6354
|
type ReportingControllerBackfillSnapshotsResponse = BackfillSnapshotsResponse;
|
|
6039
6355
|
type ApiKeysControllerCreateApiKeyResponse = unknown;
|
|
@@ -6175,6 +6491,25 @@ type $OpenApiTs = {
|
|
|
6175
6491
|
};
|
|
6176
6492
|
};
|
|
6177
6493
|
};
|
|
6494
|
+
'/api/v1/{region}/bean/accounts/{id}/opening-balance': {
|
|
6495
|
+
post: {
|
|
6496
|
+
req: AccountControllerAddOpeningBalanceData;
|
|
6497
|
+
res: {
|
|
6498
|
+
/**
|
|
6499
|
+
* Opening-balance transaction created
|
|
6500
|
+
*/
|
|
6501
|
+
201: OpeningBalanceResultDto;
|
|
6502
|
+
/**
|
|
6503
|
+
* Account not found
|
|
6504
|
+
*/
|
|
6505
|
+
404: unknown;
|
|
6506
|
+
/**
|
|
6507
|
+
* An opening balance already exists for this account
|
|
6508
|
+
*/
|
|
6509
|
+
409: unknown;
|
|
6510
|
+
};
|
|
6511
|
+
};
|
|
6512
|
+
};
|
|
6178
6513
|
'/api/v1/{region}/bean/account-standards': {
|
|
6179
6514
|
get: {
|
|
6180
6515
|
req: AccountStandardsControllerGetTemplatesData;
|
|
@@ -6783,6 +7118,90 @@ type $OpenApiTs = {
|
|
|
6783
7118
|
};
|
|
6784
7119
|
};
|
|
6785
7120
|
};
|
|
7121
|
+
'/api/v1/{region}/bean/prices': {
|
|
7122
|
+
post: {
|
|
7123
|
+
req: PriceControllerCreateData;
|
|
7124
|
+
res: {
|
|
7125
|
+
/**
|
|
7126
|
+
* Price created successfully
|
|
7127
|
+
*/
|
|
7128
|
+
201: PriceResponseDto;
|
|
7129
|
+
/**
|
|
7130
|
+
* Currency or quoteCurrency commodity not found
|
|
7131
|
+
*/
|
|
7132
|
+
404: unknown;
|
|
7133
|
+
/**
|
|
7134
|
+
* Price already exists for this currency pair and date
|
|
7135
|
+
*/
|
|
7136
|
+
409: unknown;
|
|
7137
|
+
};
|
|
7138
|
+
};
|
|
7139
|
+
get: {
|
|
7140
|
+
req: PriceControllerFindAllData;
|
|
7141
|
+
res: {
|
|
7142
|
+
/**
|
|
7143
|
+
* Prices retrieved successfully
|
|
7144
|
+
*/
|
|
7145
|
+
200: PriceListResponseDto;
|
|
7146
|
+
};
|
|
7147
|
+
};
|
|
7148
|
+
};
|
|
7149
|
+
'/api/v1/{region}/bean/prices/{id}': {
|
|
7150
|
+
get: {
|
|
7151
|
+
req: PriceControllerFindOneData;
|
|
7152
|
+
res: {
|
|
7153
|
+
/**
|
|
7154
|
+
* Price retrieved successfully
|
|
7155
|
+
*/
|
|
7156
|
+
200: PriceResponseDto;
|
|
7157
|
+
/**
|
|
7158
|
+
* Price not found
|
|
7159
|
+
*/
|
|
7160
|
+
404: unknown;
|
|
7161
|
+
};
|
|
7162
|
+
};
|
|
7163
|
+
put: {
|
|
7164
|
+
req: PriceControllerUpdateData;
|
|
7165
|
+
res: {
|
|
7166
|
+
/**
|
|
7167
|
+
* Price updated successfully
|
|
7168
|
+
*/
|
|
7169
|
+
200: PriceResponseDto;
|
|
7170
|
+
/**
|
|
7171
|
+
* Price not found
|
|
7172
|
+
*/
|
|
7173
|
+
404: unknown;
|
|
7174
|
+
/**
|
|
7175
|
+
* Updated price conflicts with existing price
|
|
7176
|
+
*/
|
|
7177
|
+
409: unknown;
|
|
7178
|
+
};
|
|
7179
|
+
};
|
|
7180
|
+
delete: {
|
|
7181
|
+
req: PriceControllerDeleteData;
|
|
7182
|
+
res: {
|
|
7183
|
+
/**
|
|
7184
|
+
* Price deleted successfully
|
|
7185
|
+
*/
|
|
7186
|
+
204: void;
|
|
7187
|
+
/**
|
|
7188
|
+
* Price not found
|
|
7189
|
+
*/
|
|
7190
|
+
404: unknown;
|
|
7191
|
+
};
|
|
7192
|
+
};
|
|
7193
|
+
};
|
|
7194
|
+
'/api/v1/{region}/bean/prices/bulk': {
|
|
7195
|
+
post: {
|
|
7196
|
+
req: PriceControllerBulkCreateData;
|
|
7197
|
+
res: {
|
|
7198
|
+
/**
|
|
7199
|
+
* Prices created successfully
|
|
7200
|
+
*/
|
|
7201
|
+
201: Array<PriceResponseDto>;
|
|
7202
|
+
};
|
|
7203
|
+
};
|
|
7204
|
+
};
|
|
6786
7205
|
'/api/v1/{region}/bean/recurring-rules': {
|
|
6787
7206
|
post: {
|
|
6788
7207
|
req: RecurringRuleControllerCreateData;
|
|
@@ -7523,6 +7942,85 @@ type $OpenApiTs = {
|
|
|
7523
7942
|
};
|
|
7524
7943
|
};
|
|
7525
7944
|
};
|
|
7945
|
+
'/api/v1/{region}/bean/onboarding': {
|
|
7946
|
+
post: {
|
|
7947
|
+
req: OnboardingControllerBootstrapData;
|
|
7948
|
+
res: {
|
|
7949
|
+
/**
|
|
7950
|
+
* Onboarding bootstrap result.
|
|
7951
|
+
*/
|
|
7952
|
+
201: unknown;
|
|
7953
|
+
/**
|
|
7954
|
+
* Invalid region/account path/duplicate paths.
|
|
7955
|
+
*/
|
|
7956
|
+
422: unknown;
|
|
7957
|
+
};
|
|
7958
|
+
};
|
|
7959
|
+
};
|
|
7960
|
+
'/api/v1/{region}/bean/reconciliations': {
|
|
7961
|
+
post: {
|
|
7962
|
+
req: ReconciliationControllerComputeData;
|
|
7963
|
+
res: {
|
|
7964
|
+
/**
|
|
7965
|
+
* Reconciliation preview
|
|
7966
|
+
*/
|
|
7967
|
+
200: ReconciliationComputeResultDto;
|
|
7968
|
+
/**
|
|
7969
|
+
* Account not found
|
|
7970
|
+
*/
|
|
7971
|
+
404: unknown;
|
|
7972
|
+
};
|
|
7973
|
+
};
|
|
7974
|
+
};
|
|
7975
|
+
'/api/v1/{region}/bean/reconciliations/assert': {
|
|
7976
|
+
post: {
|
|
7977
|
+
req: ReconciliationControllerAssertData;
|
|
7978
|
+
res: {
|
|
7979
|
+
/**
|
|
7980
|
+
* Balance assertion recorded
|
|
7981
|
+
*/
|
|
7982
|
+
201: ReconciliationRecordDto;
|
|
7983
|
+
/**
|
|
7984
|
+
* Account not found
|
|
7985
|
+
*/
|
|
7986
|
+
404: unknown;
|
|
7987
|
+
};
|
|
7988
|
+
};
|
|
7989
|
+
};
|
|
7990
|
+
'/api/v1/{region}/bean/reconciliations/pad': {
|
|
7991
|
+
post: {
|
|
7992
|
+
req: ReconciliationControllerPadData;
|
|
7993
|
+
res: {
|
|
7994
|
+
/**
|
|
7995
|
+
* Pad adjusting entry generated
|
|
7996
|
+
*/
|
|
7997
|
+
201: PadResultDto;
|
|
7998
|
+
/**
|
|
7999
|
+
* Book already within tolerance — no pad needed
|
|
8000
|
+
*/
|
|
8001
|
+
400: unknown;
|
|
8002
|
+
/**
|
|
8003
|
+
* Account not found
|
|
8004
|
+
*/
|
|
8005
|
+
404: unknown;
|
|
8006
|
+
};
|
|
8007
|
+
};
|
|
8008
|
+
};
|
|
8009
|
+
'/api/v1/{region}/bean/accounts/{accountId}/reconciliations': {
|
|
8010
|
+
get: {
|
|
8011
|
+
req: ReconciliationControllerHistoryData;
|
|
8012
|
+
res: {
|
|
8013
|
+
/**
|
|
8014
|
+
* Reconciliation history
|
|
8015
|
+
*/
|
|
8016
|
+
200: Array<ReconciliationRecordDto>;
|
|
8017
|
+
/**
|
|
8018
|
+
* Account not found
|
|
8019
|
+
*/
|
|
8020
|
+
404: unknown;
|
|
8021
|
+
};
|
|
8022
|
+
};
|
|
8023
|
+
};
|
|
7526
8024
|
'/api/v1/{region}/bean/export/beancount': {
|
|
7527
8025
|
get: {
|
|
7528
8026
|
res: {
|
|
@@ -7673,128 +8171,104 @@ type $OpenApiTs = {
|
|
|
7673
8171
|
};
|
|
7674
8172
|
};
|
|
7675
8173
|
};
|
|
7676
|
-
'/api/v1/bean/
|
|
7677
|
-
|
|
8174
|
+
'/api/v1/{region}/bean/import/provider/{providerName}/sync': {
|
|
8175
|
+
post: {
|
|
8176
|
+
req: ProviderSyncControllerSyncData;
|
|
7678
8177
|
res: {
|
|
7679
8178
|
/**
|
|
7680
|
-
*
|
|
8179
|
+
* Sync completed successfully
|
|
7681
8180
|
*/
|
|
7682
|
-
200:
|
|
7683
|
-
};
|
|
7684
|
-
};
|
|
7685
|
-
post: {
|
|
7686
|
-
req: PlatformControllerCreateData;
|
|
7687
|
-
res: {
|
|
8181
|
+
200: ProviderSyncResponseDto;
|
|
7688
8182
|
/**
|
|
7689
|
-
*
|
|
8183
|
+
* Invalid request data
|
|
7690
8184
|
*/
|
|
7691
|
-
|
|
8185
|
+
400: unknown;
|
|
7692
8186
|
/**
|
|
7693
|
-
*
|
|
8187
|
+
* Missing or invalid authentication
|
|
7694
8188
|
*/
|
|
7695
|
-
|
|
7696
|
-
};
|
|
7697
|
-
};
|
|
7698
|
-
};
|
|
7699
|
-
'/api/v1/bean/platforms/list': {
|
|
7700
|
-
get: {
|
|
7701
|
-
res: {
|
|
8189
|
+
401: unknown;
|
|
7702
8190
|
/**
|
|
7703
|
-
*
|
|
8191
|
+
* Provider not supported
|
|
7704
8192
|
*/
|
|
7705
|
-
|
|
8193
|
+
404: unknown;
|
|
7706
8194
|
};
|
|
7707
8195
|
};
|
|
7708
8196
|
};
|
|
7709
|
-
'/api/v1/bean/
|
|
8197
|
+
'/api/v1/{region}/bean/import/provider/supported': {
|
|
7710
8198
|
get: {
|
|
7711
|
-
req:
|
|
8199
|
+
req: ProviderSyncControllerGetSupportedProvidersData;
|
|
7712
8200
|
res: {
|
|
7713
8201
|
/**
|
|
7714
|
-
* List of
|
|
8202
|
+
* List of supported providers
|
|
7715
8203
|
*/
|
|
7716
|
-
200:
|
|
8204
|
+
200: SupportedProvidersResponseDto;
|
|
8205
|
+
/**
|
|
8206
|
+
* Missing or invalid authentication
|
|
8207
|
+
*/
|
|
8208
|
+
401: unknown;
|
|
7717
8209
|
};
|
|
7718
8210
|
};
|
|
7719
8211
|
};
|
|
7720
|
-
'/api/v1/bean/
|
|
7721
|
-
|
|
7722
|
-
req:
|
|
8212
|
+
'/api/v1/{region}/bean/import/provider/{providerName}/supported': {
|
|
8213
|
+
get: {
|
|
8214
|
+
req: ProviderSyncControllerIsProviderSupportedData;
|
|
7723
8215
|
res: {
|
|
7724
8216
|
/**
|
|
7725
|
-
*
|
|
8217
|
+
* Provider support status
|
|
7726
8218
|
*/
|
|
7727
8219
|
200: unknown;
|
|
7728
8220
|
/**
|
|
7729
|
-
*
|
|
8221
|
+
* Missing or invalid authentication
|
|
7730
8222
|
*/
|
|
7731
|
-
|
|
8223
|
+
401: unknown;
|
|
7732
8224
|
};
|
|
7733
8225
|
};
|
|
7734
|
-
|
|
7735
|
-
|
|
8226
|
+
};
|
|
8227
|
+
'/api/v1/{region}/bean/external-account-links': {
|
|
8228
|
+
post: {
|
|
8229
|
+
req: ExternalAccountLinkControllerCreateData;
|
|
7736
8230
|
res: {
|
|
7737
8231
|
/**
|
|
7738
|
-
*
|
|
8232
|
+
* Link created.
|
|
7739
8233
|
*/
|
|
7740
|
-
|
|
8234
|
+
201: ExternalAccountLinkResponseDto;
|
|
7741
8235
|
/**
|
|
7742
|
-
*
|
|
8236
|
+
* beanAccountId not owned, or an active link already exists.
|
|
7743
8237
|
*/
|
|
7744
|
-
|
|
8238
|
+
422: unknown;
|
|
7745
8239
|
};
|
|
7746
8240
|
};
|
|
7747
|
-
|
|
7748
|
-
|
|
7749
|
-
post: {
|
|
7750
|
-
req: ProviderSyncControllerSyncData;
|
|
8241
|
+
get: {
|
|
8242
|
+
req: ExternalAccountLinkControllerFindAllData;
|
|
7751
8243
|
res: {
|
|
7752
8244
|
/**
|
|
7753
|
-
*
|
|
7754
|
-
*/
|
|
7755
|
-
200: ProviderSyncResponseDto;
|
|
7756
|
-
/**
|
|
7757
|
-
* Invalid request data
|
|
7758
|
-
*/
|
|
7759
|
-
400: unknown;
|
|
7760
|
-
/**
|
|
7761
|
-
* Missing or invalid authentication
|
|
7762
|
-
*/
|
|
7763
|
-
401: unknown;
|
|
7764
|
-
/**
|
|
7765
|
-
* Provider not supported
|
|
8245
|
+
* Links retrieved.
|
|
7766
8246
|
*/
|
|
7767
|
-
|
|
8247
|
+
200: ExternalAccountLinkListResponseDto;
|
|
7768
8248
|
};
|
|
7769
8249
|
};
|
|
7770
8250
|
};
|
|
7771
|
-
'/api/v1/{region}/bean/
|
|
8251
|
+
'/api/v1/{region}/bean/external-account-links/{id}': {
|
|
7772
8252
|
get: {
|
|
7773
|
-
req:
|
|
8253
|
+
req: ExternalAccountLinkControllerFindOneData;
|
|
7774
8254
|
res: {
|
|
7775
8255
|
/**
|
|
7776
|
-
*
|
|
8256
|
+
* Link retrieved.
|
|
7777
8257
|
*/
|
|
7778
|
-
200:
|
|
8258
|
+
200: ExternalAccountLinkResponseDto;
|
|
7779
8259
|
/**
|
|
7780
|
-
*
|
|
8260
|
+
* Link not found or not owned by the user.
|
|
7781
8261
|
*/
|
|
7782
|
-
|
|
8262
|
+
422: unknown;
|
|
7783
8263
|
};
|
|
7784
8264
|
};
|
|
7785
|
-
|
|
7786
|
-
|
|
7787
|
-
get: {
|
|
7788
|
-
req: ProviderSyncControllerIsProviderSupportedData;
|
|
8265
|
+
delete: {
|
|
8266
|
+
req: ExternalAccountLinkControllerRemoveData;
|
|
7789
8267
|
res: {
|
|
7790
8268
|
/**
|
|
7791
|
-
*
|
|
7792
|
-
*/
|
|
7793
|
-
200: unknown;
|
|
7794
|
-
/**
|
|
7795
|
-
* Missing or invalid authentication
|
|
8269
|
+
* Link soft-deleted; historical transactions are unaffected.
|
|
7796
8270
|
*/
|
|
7797
|
-
|
|
8271
|
+
204: void;
|
|
7798
8272
|
};
|
|
7799
8273
|
};
|
|
7800
8274
|
};
|
|
@@ -7886,6 +8360,78 @@ type $OpenApiTs = {
|
|
|
7886
8360
|
};
|
|
7887
8361
|
};
|
|
7888
8362
|
};
|
|
8363
|
+
'/api/v1/bean/platforms': {
|
|
8364
|
+
get: {
|
|
8365
|
+
res: {
|
|
8366
|
+
/**
|
|
8367
|
+
* List of platforms with binding and account counts
|
|
8368
|
+
*/
|
|
8369
|
+
200: unknown;
|
|
8370
|
+
};
|
|
8371
|
+
};
|
|
8372
|
+
post: {
|
|
8373
|
+
req: PlatformControllerCreateData;
|
|
8374
|
+
res: {
|
|
8375
|
+
/**
|
|
8376
|
+
* Platform created successfully
|
|
8377
|
+
*/
|
|
8378
|
+
201: unknown;
|
|
8379
|
+
/**
|
|
8380
|
+
* Platform already exists
|
|
8381
|
+
*/
|
|
8382
|
+
409: unknown;
|
|
8383
|
+
};
|
|
8384
|
+
};
|
|
8385
|
+
};
|
|
8386
|
+
'/api/v1/bean/platforms/list': {
|
|
8387
|
+
get: {
|
|
8388
|
+
res: {
|
|
8389
|
+
/**
|
|
8390
|
+
* List of platforms with user binding status
|
|
8391
|
+
*/
|
|
8392
|
+
200: unknown;
|
|
8393
|
+
};
|
|
8394
|
+
};
|
|
8395
|
+
};
|
|
8396
|
+
'/api/v1/bean/platforms/match': {
|
|
8397
|
+
get: {
|
|
8398
|
+
req: PlatformControllerMatchPlatformsData;
|
|
8399
|
+
res: {
|
|
8400
|
+
/**
|
|
8401
|
+
* List of matching platforms with suggested segment names
|
|
8402
|
+
*/
|
|
8403
|
+
200: unknown;
|
|
8404
|
+
};
|
|
8405
|
+
};
|
|
8406
|
+
};
|
|
8407
|
+
'/api/v1/bean/platforms/{id}': {
|
|
8408
|
+
put: {
|
|
8409
|
+
req: PlatformControllerUpdateData;
|
|
8410
|
+
res: {
|
|
8411
|
+
/**
|
|
8412
|
+
* Platform updated successfully
|
|
8413
|
+
*/
|
|
8414
|
+
200: unknown;
|
|
8415
|
+
/**
|
|
8416
|
+
* Platform not found
|
|
8417
|
+
*/
|
|
8418
|
+
404: unknown;
|
|
8419
|
+
};
|
|
8420
|
+
};
|
|
8421
|
+
delete: {
|
|
8422
|
+
req: PlatformControllerDeleteData;
|
|
8423
|
+
res: {
|
|
8424
|
+
/**
|
|
8425
|
+
* Platform deleted successfully
|
|
8426
|
+
*/
|
|
8427
|
+
204: void;
|
|
8428
|
+
/**
|
|
8429
|
+
* Platform not found
|
|
8430
|
+
*/
|
|
8431
|
+
404: unknown;
|
|
8432
|
+
};
|
|
8433
|
+
};
|
|
8434
|
+
};
|
|
7889
8435
|
'/api/v1/{region}/dashboard/net-worth': {
|
|
7890
8436
|
get: {
|
|
7891
8437
|
req: DashboardControllerGetNetWorthData;
|
|
@@ -7973,90 +8519,6 @@ type $OpenApiTs = {
|
|
|
7973
8519
|
};
|
|
7974
8520
|
};
|
|
7975
8521
|
};
|
|
7976
|
-
'/api/v1/{region}/bean/prices': {
|
|
7977
|
-
post: {
|
|
7978
|
-
req: PriceControllerCreateData;
|
|
7979
|
-
res: {
|
|
7980
|
-
/**
|
|
7981
|
-
* Price created successfully
|
|
7982
|
-
*/
|
|
7983
|
-
201: PriceResponseDto;
|
|
7984
|
-
/**
|
|
7985
|
-
* Currency or quoteCurrency commodity not found
|
|
7986
|
-
*/
|
|
7987
|
-
404: unknown;
|
|
7988
|
-
/**
|
|
7989
|
-
* Price already exists for this currency pair and date
|
|
7990
|
-
*/
|
|
7991
|
-
409: unknown;
|
|
7992
|
-
};
|
|
7993
|
-
};
|
|
7994
|
-
get: {
|
|
7995
|
-
req: PriceControllerFindAllData;
|
|
7996
|
-
res: {
|
|
7997
|
-
/**
|
|
7998
|
-
* Prices retrieved successfully
|
|
7999
|
-
*/
|
|
8000
|
-
200: PriceListResponseDto;
|
|
8001
|
-
};
|
|
8002
|
-
};
|
|
8003
|
-
};
|
|
8004
|
-
'/api/v1/{region}/bean/prices/{id}': {
|
|
8005
|
-
get: {
|
|
8006
|
-
req: PriceControllerFindOneData;
|
|
8007
|
-
res: {
|
|
8008
|
-
/**
|
|
8009
|
-
* Price retrieved successfully
|
|
8010
|
-
*/
|
|
8011
|
-
200: PriceResponseDto;
|
|
8012
|
-
/**
|
|
8013
|
-
* Price not found
|
|
8014
|
-
*/
|
|
8015
|
-
404: unknown;
|
|
8016
|
-
};
|
|
8017
|
-
};
|
|
8018
|
-
put: {
|
|
8019
|
-
req: PriceControllerUpdateData;
|
|
8020
|
-
res: {
|
|
8021
|
-
/**
|
|
8022
|
-
* Price updated successfully
|
|
8023
|
-
*/
|
|
8024
|
-
200: PriceResponseDto;
|
|
8025
|
-
/**
|
|
8026
|
-
* Price not found
|
|
8027
|
-
*/
|
|
8028
|
-
404: unknown;
|
|
8029
|
-
/**
|
|
8030
|
-
* Updated price conflicts with existing price
|
|
8031
|
-
*/
|
|
8032
|
-
409: unknown;
|
|
8033
|
-
};
|
|
8034
|
-
};
|
|
8035
|
-
delete: {
|
|
8036
|
-
req: PriceControllerDeleteData;
|
|
8037
|
-
res: {
|
|
8038
|
-
/**
|
|
8039
|
-
* Price deleted successfully
|
|
8040
|
-
*/
|
|
8041
|
-
204: void;
|
|
8042
|
-
/**
|
|
8043
|
-
* Price not found
|
|
8044
|
-
*/
|
|
8045
|
-
404: unknown;
|
|
8046
|
-
};
|
|
8047
|
-
};
|
|
8048
|
-
};
|
|
8049
|
-
'/api/v1/{region}/bean/prices/bulk': {
|
|
8050
|
-
post: {
|
|
8051
|
-
req: PriceControllerBulkCreateData;
|
|
8052
|
-
res: {
|
|
8053
|
-
/**
|
|
8054
|
-
* Prices created successfully
|
|
8055
|
-
*/
|
|
8056
|
-
201: Array<PriceResponseDto>;
|
|
8057
|
-
};
|
|
8058
|
-
};
|
|
8059
|
-
};
|
|
8060
8522
|
'/api/v1/{region}/reporting/portfolio/trends': {
|
|
8061
8523
|
get: {
|
|
8062
8524
|
req: ReportingControllerGetPortfolioTrendsData;
|
|
@@ -8318,7 +8780,7 @@ declare class BeanAccountsService {
|
|
|
8318
8780
|
* @param data.type Filter by account type
|
|
8319
8781
|
* @param data.status Filter by status
|
|
8320
8782
|
* @param data.isCustom Filter by custom (user-created) accounts only
|
|
8321
|
-
* @param data.search Search term for path
|
|
8783
|
+
* @param data.search Search term for account path
|
|
8322
8784
|
* @param data.limit Maximum number of results
|
|
8323
8785
|
* @param data.offset Number of results to skip
|
|
8324
8786
|
* @returns AccountListResponseDto Accounts retrieved successfully
|
|
@@ -8378,6 +8840,17 @@ declare class BeanAccountsService {
|
|
|
8378
8840
|
* @throws ApiError
|
|
8379
8841
|
*/
|
|
8380
8842
|
static accountControllerReopen(data: AccountControllerReopenData): CancelablePromise<AccountControllerReopenResponse>;
|
|
8843
|
+
/**
|
|
8844
|
+
* Post an opening-balance transaction
|
|
8845
|
+
* Posts a double-entry opening-balance transaction against Equity:Opening-Balances for an existing Assets/Liabilities account. At most one active opening balance per account.
|
|
8846
|
+
* @param data The data for the request.
|
|
8847
|
+
* @param data.id Account UUID
|
|
8848
|
+
* @param data.region Region code for tenant context
|
|
8849
|
+
* @param data.requestBody
|
|
8850
|
+
* @returns OpeningBalanceResultDto Opening-balance transaction created
|
|
8851
|
+
* @throws ApiError
|
|
8852
|
+
*/
|
|
8853
|
+
static accountControllerAddOpeningBalance(data: AccountControllerAddOpeningBalanceData): CancelablePromise<AccountControllerAddOpeningBalanceResponse>;
|
|
8381
8854
|
}
|
|
8382
8855
|
declare class BeanTransactionsService {
|
|
8383
8856
|
/**
|
|
@@ -8479,7 +8952,7 @@ declare class BeanBalancesService {
|
|
|
8479
8952
|
* Query account balance
|
|
8480
8953
|
* Calculate account balance at a specific date for a single currency
|
|
8481
8954
|
* @param data The data for the request.
|
|
8482
|
-
* @param data.account Account name (e.g., "Assets:
|
|
8955
|
+
* @param data.account Account name (e.g., "Assets:Checking")
|
|
8483
8956
|
* @param data.region Region code for tenant context
|
|
8484
8957
|
* @param data.date Date to calculate balance at (ISO 8601 format)
|
|
8485
8958
|
* @param data.currency Currency to query (e.g., "USD", "CNY")
|
|
@@ -8709,4 +9182,4 @@ type OpenAPIConfig = {
|
|
|
8709
9182
|
};
|
|
8710
9183
|
declare const OpenAPI: OpenAPIConfig;
|
|
8711
9184
|
|
|
8712
|
-
export { type $OpenApiTs, 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 AmountDto, type AmountRangeDto, type AnonymousLoginDto, type ApiKeysControllerCreateApiKeyResponse, type ApiProblemResponseDto, 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 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 ConfirmMatchDto, type ConvertedCashFlowDto, type ConvertedNetWorthDto, type CorrectTransactionDto, type CostDetailDto, type CostSpecDto, type CreateAccountDto, type CreateBeanEventDto, type CreateBeanPriceDto, type CreateCommodityDto, 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 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, OpenAPI, type OpenAPIConfig, 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 PlatformControllerGetPlatformListResponse, type PlatformControllerMatchPlatformsData, type PlatformControllerMatchPlatformsResponse, type PlatformControllerUpdateData, type PlatformControllerUpdateResponse, type PlatformGroupDto, 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 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 SupportedProvidersResponseDto, 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 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 ValidateRuleDto, type ValidateRuleResponseDto, type VersionedConfigDto, type action, type action2, type assetClass, 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 method, type mode, type paymentSource, type period, type source, type source2, type source3, type status, type status2, type status3, type status4, type suggestedFrequency, type type, type type2, type type3, type type4, type value, type viewMode };
|
|
9185
|
+
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 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 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 PlatformControllerGetPlatformListResponse, type PlatformControllerMatchPlatformsData, type PlatformControllerMatchPlatformsResponse, type PlatformControllerUpdateData, type PlatformControllerUpdateResponse, type PlatformGroupDto, 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 SupportedProvidersResponseDto, 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 ValidateRuleDto, type ValidateRuleResponseDto, type VersionedConfigDto, type action, type action2, type assetClass, 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 method, type mode, type paymentSource, type period, type provider, 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 };
|