@firela/api-types 0.0.0-canary.2b7765ff → 0.0.0-canary.2fbeefe9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1563 -665
- package/dist/index.d.ts +1563 -665
- package/dist/index.js +5 -3
- package/dist/index.mjs +5 -3
- package/package.json +1 -1
- package/src/generated/schemas.gen.ts +1314 -523
- package/src/generated/services.gen.ts +864 -357
- package/src/generated/types.gen.ts +1708 -728
package/dist/index.d.mts
CHANGED
|
@@ -26,10 +26,6 @@ type CreateAccountDto = {
|
|
|
26
26
|
* Account path (hierarchical, colon-separated)
|
|
27
27
|
*/
|
|
28
28
|
path: string;
|
|
29
|
-
/**
|
|
30
|
-
* Display name to distinguish accounts at the same path (default: "")
|
|
31
|
-
*/
|
|
32
|
-
displayName?: string;
|
|
33
29
|
/**
|
|
34
30
|
* Account open date
|
|
35
31
|
*/
|
|
@@ -50,10 +46,6 @@ 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
|
*/
|
|
@@ -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,9 +107,9 @@ 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
|
*/
|
|
@@ -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,10 +168,6 @@ 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
|
*/
|
|
@@ -230,10 +210,6 @@ type AccountStandardResponseDto = {
|
|
|
230
210
|
* Account type in Beancount hierarchy
|
|
231
211
|
*/
|
|
232
212
|
type: 'Assets' | 'Liabilities' | 'Income' | 'Expenses' | 'Equity';
|
|
233
|
-
/**
|
|
234
|
-
* i18n key for localized display name
|
|
235
|
-
*/
|
|
236
|
-
i18nKey: string;
|
|
237
213
|
/**
|
|
238
214
|
* Short localized display name
|
|
239
215
|
*/
|
|
@@ -266,10 +242,6 @@ type AccountStandardListResponseDto = {
|
|
|
266
242
|
region: string;
|
|
267
243
|
};
|
|
268
244
|
type TemplateMetadataDto = {
|
|
269
|
-
/**
|
|
270
|
-
* Whether this path can be extended
|
|
271
|
-
*/
|
|
272
|
-
extendable: boolean;
|
|
273
245
|
/**
|
|
274
246
|
* Root account type
|
|
275
247
|
*/
|
|
@@ -413,6 +385,24 @@ type CreateTransactionDto = {
|
|
|
413
385
|
* Transaction flag: * (cleared), ! (pending)
|
|
414
386
|
*/
|
|
415
387
|
type flag = '*' | '!';
|
|
388
|
+
type CostDetailDto = {
|
|
389
|
+
/**
|
|
390
|
+
* Per-unit cost basis (mirrors engine Cost.number)
|
|
391
|
+
*/
|
|
392
|
+
number?: string;
|
|
393
|
+
/**
|
|
394
|
+
* Cost currency
|
|
395
|
+
*/
|
|
396
|
+
currency?: string;
|
|
397
|
+
/**
|
|
398
|
+
* Lot acquisition date (ISO yyyy-mm-dd)
|
|
399
|
+
*/
|
|
400
|
+
date?: string;
|
|
401
|
+
/**
|
|
402
|
+
* Lot label
|
|
403
|
+
*/
|
|
404
|
+
label?: string;
|
|
405
|
+
};
|
|
416
406
|
type PostingResponseDto = {
|
|
417
407
|
/**
|
|
418
408
|
* Account name
|
|
@@ -426,6 +416,10 @@ type PostingResponseDto = {
|
|
|
426
416
|
* Currency
|
|
427
417
|
*/
|
|
428
418
|
currency?: string;
|
|
419
|
+
/**
|
|
420
|
+
* Booking-resolved cost (mirrors engine Cost). Undefined when the posting has no cost basis.
|
|
421
|
+
*/
|
|
422
|
+
cost?: CostDetailDto;
|
|
429
423
|
};
|
|
430
424
|
type RecurringSuggestionDto = {
|
|
431
425
|
/**
|
|
@@ -646,6 +640,10 @@ type PostingDetailDto = {
|
|
|
646
640
|
* Cost date
|
|
647
641
|
*/
|
|
648
642
|
costDate?: string;
|
|
643
|
+
/**
|
|
644
|
+
* Booking-resolved cost (mirrors engine Cost). Undefined when the posting has no cost basis.
|
|
645
|
+
*/
|
|
646
|
+
cost?: CostDetailDto;
|
|
649
647
|
/**
|
|
650
648
|
* Price amount
|
|
651
649
|
*/
|
|
@@ -753,6 +751,48 @@ type flag2 = 'CLEARED' | 'PENDING' | 'PADDING' | 'SUMMARIZE' | 'TRANSFER' | 'CON
|
|
|
753
751
|
* Transaction status
|
|
754
752
|
*/
|
|
755
753
|
type status2 = 'ACTIVE' | 'VOIDED' | 'SUPERSEDED';
|
|
754
|
+
type BalanceByCurrencyDto = {
|
|
755
|
+
/**
|
|
756
|
+
* ISO 4217 currency code
|
|
757
|
+
*/
|
|
758
|
+
currency: string;
|
|
759
|
+
/**
|
|
760
|
+
* Balance amount
|
|
761
|
+
*/
|
|
762
|
+
balance: string;
|
|
763
|
+
};
|
|
764
|
+
type ExchangeRateWarningDto = {
|
|
765
|
+
/**
|
|
766
|
+
* Warning type
|
|
767
|
+
*/
|
|
768
|
+
type: string;
|
|
769
|
+
/**
|
|
770
|
+
* Currency without exchange rate
|
|
771
|
+
*/
|
|
772
|
+
currency: string;
|
|
773
|
+
/**
|
|
774
|
+
* Total amount affected
|
|
775
|
+
*/
|
|
776
|
+
totalAmount: string;
|
|
777
|
+
};
|
|
778
|
+
type TransactionListSummaryDto = {
|
|
779
|
+
/**
|
|
780
|
+
* 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.
|
|
781
|
+
*/
|
|
782
|
+
totalAmount: string;
|
|
783
|
+
/**
|
|
784
|
+
* Base currency (ISO 4217)
|
|
785
|
+
*/
|
|
786
|
+
currency: string;
|
|
787
|
+
/**
|
|
788
|
+
* Raw (unconverted) balance per currency
|
|
789
|
+
*/
|
|
790
|
+
balanceByCurrency: Array<BalanceByCurrencyDto>;
|
|
791
|
+
/**
|
|
792
|
+
* Currencies missing an FX rate (omitted when empty)
|
|
793
|
+
*/
|
|
794
|
+
warnings?: Array<ExchangeRateWarningDto>;
|
|
795
|
+
};
|
|
756
796
|
type TransactionListResponseDto = {
|
|
757
797
|
/**
|
|
758
798
|
* List of transactions
|
|
@@ -770,6 +810,10 @@ type TransactionListResponseDto = {
|
|
|
770
810
|
* Number of items skipped
|
|
771
811
|
*/
|
|
772
812
|
offset: number;
|
|
813
|
+
/**
|
|
814
|
+
* 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.
|
|
815
|
+
*/
|
|
816
|
+
summary?: TransactionListSummaryDto;
|
|
773
817
|
};
|
|
774
818
|
type TagSuggestionDto = {
|
|
775
819
|
/**
|
|
@@ -1146,17 +1190,17 @@ type ResolveResultDto = {
|
|
|
1146
1190
|
[key: string]: string;
|
|
1147
1191
|
};
|
|
1148
1192
|
/**
|
|
1149
|
-
* Resolution ID for undo
|
|
1193
|
+
* Resolution ID for undo. Absent when the resolver rejected the decision (review stayed PENDING).
|
|
1150
1194
|
*/
|
|
1151
|
-
resolutionId
|
|
1195
|
+
resolutionId?: string;
|
|
1152
1196
|
/**
|
|
1153
1197
|
* Whether this decision can be undone
|
|
1154
1198
|
*/
|
|
1155
|
-
canUndo
|
|
1199
|
+
canUndo?: boolean;
|
|
1156
1200
|
/**
|
|
1157
1201
|
* Deadline for undo (24h from resolution)
|
|
1158
1202
|
*/
|
|
1159
|
-
undoDeadline
|
|
1203
|
+
undoDeadline?: string;
|
|
1160
1204
|
/**
|
|
1161
1205
|
* Rule ID if learning was triggered (ACCEPT_AND_LEARN actions). Use this to deep-link to the rule management page.
|
|
1162
1206
|
*/
|
|
@@ -1616,6 +1660,104 @@ type UpdateCommodityDto = {
|
|
|
1616
1660
|
[key: string]: unknown;
|
|
1617
1661
|
};
|
|
1618
1662
|
};
|
|
1663
|
+
type CreateBeanPriceDto = {
|
|
1664
|
+
/**
|
|
1665
|
+
* Currency being priced (e.g., USD, AAPL, BTC)
|
|
1666
|
+
*/
|
|
1667
|
+
currency: string;
|
|
1668
|
+
/**
|
|
1669
|
+
* Quote currency (pricing currency, e.g., CNY, EUR)
|
|
1670
|
+
*/
|
|
1671
|
+
quoteCurrency: string;
|
|
1672
|
+
/**
|
|
1673
|
+
* Price amount (MUST be >= 0 per Beancount spec, supports up to 15 decimal places). Zero allowed for conversion entries, negative strictly prohibited.
|
|
1674
|
+
*/
|
|
1675
|
+
amount: number;
|
|
1676
|
+
/**
|
|
1677
|
+
* Price date (ISO 8601 format)
|
|
1678
|
+
*/
|
|
1679
|
+
date: string;
|
|
1680
|
+
/**
|
|
1681
|
+
* Metadata (validated by Zod schema, max field lengths enforced)
|
|
1682
|
+
*/
|
|
1683
|
+
metadata?: {
|
|
1684
|
+
[key: string]: unknown;
|
|
1685
|
+
};
|
|
1686
|
+
};
|
|
1687
|
+
type PriceResponseDto = {
|
|
1688
|
+
/**
|
|
1689
|
+
* Unique identifier
|
|
1690
|
+
*/
|
|
1691
|
+
id: string;
|
|
1692
|
+
/**
|
|
1693
|
+
* User ID (owner of the price)
|
|
1694
|
+
*/
|
|
1695
|
+
userId: string;
|
|
1696
|
+
/**
|
|
1697
|
+
* Currency being priced (e.g., USD, AAPL, BTC)
|
|
1698
|
+
*/
|
|
1699
|
+
currency: string;
|
|
1700
|
+
/**
|
|
1701
|
+
* Quote currency (pricing currency, e.g., USD, CNY)
|
|
1702
|
+
*/
|
|
1703
|
+
quoteCurrency: string;
|
|
1704
|
+
/**
|
|
1705
|
+
* Price amount (corresponds to Beancount Amount.number). Supports up to 15 decimal places.
|
|
1706
|
+
*/
|
|
1707
|
+
amount: number;
|
|
1708
|
+
/**
|
|
1709
|
+
* Price date (ISO 8601 format). Represents the date this price was valid.
|
|
1710
|
+
*/
|
|
1711
|
+
date: string;
|
|
1712
|
+
/**
|
|
1713
|
+
* Metadata (corresponds to Beancount meta field). Contains source, confidence, note, etc.
|
|
1714
|
+
*/
|
|
1715
|
+
meta: {
|
|
1716
|
+
[key: string]: unknown;
|
|
1717
|
+
};
|
|
1718
|
+
/**
|
|
1719
|
+
* Creation timestamp
|
|
1720
|
+
*/
|
|
1721
|
+
createdAt: string;
|
|
1722
|
+
/**
|
|
1723
|
+
* Last update timestamp
|
|
1724
|
+
*/
|
|
1725
|
+
updatedAt: string;
|
|
1726
|
+
};
|
|
1727
|
+
type PriceListResponseDto = {
|
|
1728
|
+
/**
|
|
1729
|
+
* List of prices
|
|
1730
|
+
*/
|
|
1731
|
+
items: Array<PriceResponseDto>;
|
|
1732
|
+
/**
|
|
1733
|
+
* Total number of prices
|
|
1734
|
+
*/
|
|
1735
|
+
total: number;
|
|
1736
|
+
};
|
|
1737
|
+
type UpdateBeanPriceDto = {
|
|
1738
|
+
/**
|
|
1739
|
+
* Currency being priced
|
|
1740
|
+
*/
|
|
1741
|
+
currency?: string;
|
|
1742
|
+
/**
|
|
1743
|
+
* Quote currency (pricing currency)
|
|
1744
|
+
*/
|
|
1745
|
+
quoteCurrency?: string;
|
|
1746
|
+
/**
|
|
1747
|
+
* Price amount (MUST be >= 0 per Beancount spec)
|
|
1748
|
+
*/
|
|
1749
|
+
amount?: number;
|
|
1750
|
+
/**
|
|
1751
|
+
* Price date (ISO 8601 format)
|
|
1752
|
+
*/
|
|
1753
|
+
date?: string;
|
|
1754
|
+
/**
|
|
1755
|
+
* Metadata
|
|
1756
|
+
*/
|
|
1757
|
+
metadata?: {
|
|
1758
|
+
[key: string]: unknown;
|
|
1759
|
+
};
|
|
1760
|
+
};
|
|
1619
1761
|
type CreateRecurringRuleDto = {
|
|
1620
1762
|
/**
|
|
1621
1763
|
* Rule name (unique per user)
|
|
@@ -2663,105 +2805,335 @@ type UpdatePropertyDto = {
|
|
|
2663
2805
|
*/
|
|
2664
2806
|
value: string;
|
|
2665
2807
|
};
|
|
2666
|
-
type
|
|
2667
|
-
/**
|
|
2668
|
-
* Bill file to import (CSV, PDF, OFX, etc.)
|
|
2669
|
-
*/
|
|
2670
|
-
file: Blob | File;
|
|
2671
|
-
};
|
|
2672
|
-
type ImportErrorDto = {
|
|
2808
|
+
type CreateBeanEventDto = {
|
|
2673
2809
|
/**
|
|
2674
|
-
*
|
|
2810
|
+
* Life event date (ISO 8601)
|
|
2675
2811
|
*/
|
|
2676
|
-
|
|
2812
|
+
date: string;
|
|
2677
2813
|
/**
|
|
2678
|
-
*
|
|
2814
|
+
* Life event type (e.g., "employer", "location", "marital-status") — user-defined, no enum constraint at engine layer
|
|
2679
2815
|
*/
|
|
2680
|
-
|
|
2681
|
-
};
|
|
2682
|
-
type ReviewItemPreviewDto = {
|
|
2816
|
+
type: string;
|
|
2683
2817
|
/**
|
|
2684
|
-
*
|
|
2818
|
+
* Life event description. Empty string is a VALID value (distinct from absence).
|
|
2685
2819
|
*/
|
|
2686
|
-
|
|
2820
|
+
description: string;
|
|
2687
2821
|
/**
|
|
2688
|
-
*
|
|
2822
|
+
* Product-side metadata (lives in BeanEvent.meta JSON, never in engine Event fields)
|
|
2689
2823
|
*/
|
|
2690
|
-
|
|
2824
|
+
meta?: {
|
|
2825
|
+
[key: string]: unknown;
|
|
2826
|
+
};
|
|
2827
|
+
};
|
|
2828
|
+
type EventResponseDto = {
|
|
2691
2829
|
/**
|
|
2692
|
-
*
|
|
2830
|
+
* Unique identifier
|
|
2693
2831
|
*/
|
|
2694
|
-
|
|
2832
|
+
id: string;
|
|
2695
2833
|
/**
|
|
2696
|
-
*
|
|
2834
|
+
* User ID (owner of the life event)
|
|
2697
2835
|
*/
|
|
2698
|
-
|
|
2836
|
+
userId: string;
|
|
2699
2837
|
/**
|
|
2700
|
-
*
|
|
2838
|
+
* Life event date (ISO 8601 format)
|
|
2701
2839
|
*/
|
|
2702
|
-
|
|
2840
|
+
date: string;
|
|
2703
2841
|
/**
|
|
2704
|
-
*
|
|
2842
|
+
* Life event type (user-defined, e.g., "employer", "location")
|
|
2705
2843
|
*/
|
|
2706
|
-
|
|
2844
|
+
type: string;
|
|
2707
2845
|
/**
|
|
2708
|
-
*
|
|
2846
|
+
* Life event description. May be an empty string (a valid value distinct from absence).
|
|
2709
2847
|
*/
|
|
2710
|
-
|
|
2848
|
+
description: string;
|
|
2711
2849
|
/**
|
|
2712
|
-
*
|
|
2850
|
+
* Product-side metadata (free-form JSON)
|
|
2713
2851
|
*/
|
|
2714
|
-
|
|
2852
|
+
meta: {
|
|
2853
|
+
[key: string]: unknown;
|
|
2854
|
+
};
|
|
2715
2855
|
/**
|
|
2716
|
-
*
|
|
2856
|
+
* Creation timestamp
|
|
2717
2857
|
*/
|
|
2718
|
-
|
|
2858
|
+
createdAt: string;
|
|
2719
2859
|
/**
|
|
2720
|
-
*
|
|
2860
|
+
* Last update timestamp. Also emitted as the ETag response header for If-Match optimistic concurrency.
|
|
2721
2861
|
*/
|
|
2722
|
-
|
|
2862
|
+
updatedAt: string;
|
|
2723
2863
|
};
|
|
2724
|
-
|
|
2725
|
-
* Type of branch requiring review
|
|
2726
|
-
*/
|
|
2727
|
-
type branchType = 'DUPLICATE' | 'PAYEE_MATCH' | 'RULE_MATCH' | 'ACCOUNT_VALIDATION' | 'PIPELINE_ERROR';
|
|
2728
|
-
type ImportResultDto = {
|
|
2864
|
+
type EventListResponseDto = {
|
|
2729
2865
|
/**
|
|
2730
|
-
*
|
|
2731
|
-
*/
|
|
2732
|
-
imported: number;
|
|
2733
|
-
/**
|
|
2734
|
-
* Number of failed transactions
|
|
2866
|
+
* List of life events
|
|
2735
2867
|
*/
|
|
2736
|
-
|
|
2868
|
+
items: Array<EventResponseDto>;
|
|
2737
2869
|
/**
|
|
2738
|
-
*
|
|
2870
|
+
* Total number of life events matching the query
|
|
2739
2871
|
*/
|
|
2740
|
-
|
|
2872
|
+
total: number;
|
|
2873
|
+
};
|
|
2874
|
+
type UpdateBeanEventDto = {
|
|
2741
2875
|
/**
|
|
2742
|
-
*
|
|
2876
|
+
* Life event date (ISO 8601)
|
|
2743
2877
|
*/
|
|
2744
|
-
|
|
2878
|
+
date?: string;
|
|
2745
2879
|
/**
|
|
2746
|
-
*
|
|
2880
|
+
* Life event type (user-defined)
|
|
2747
2881
|
*/
|
|
2748
|
-
|
|
2882
|
+
type?: string;
|
|
2749
2883
|
/**
|
|
2750
|
-
*
|
|
2884
|
+
* Life event description. Empty string is a VALID value (distinct from absence).
|
|
2751
2885
|
*/
|
|
2752
|
-
|
|
2886
|
+
description?: string;
|
|
2753
2887
|
/**
|
|
2754
|
-
*
|
|
2888
|
+
* Product-side metadata (free-form JSON)
|
|
2755
2889
|
*/
|
|
2756
|
-
|
|
2890
|
+
meta?: {
|
|
2757
2891
|
[key: string]: unknown;
|
|
2758
2892
|
};
|
|
2759
2893
|
};
|
|
2760
|
-
type
|
|
2894
|
+
type OnboardingAccountDto = {
|
|
2761
2895
|
/**
|
|
2762
|
-
*
|
|
2896
|
+
* Account path (Assets/Liabilities only; format validated by the account service)
|
|
2763
2897
|
*/
|
|
2764
|
-
|
|
2898
|
+
path: string;
|
|
2899
|
+
/**
|
|
2900
|
+
* ISO 4217 currency code (3 letters)
|
|
2901
|
+
*/
|
|
2902
|
+
currency: string;
|
|
2903
|
+
/**
|
|
2904
|
+
* Opening balance as a non-negative Decimal string (e.g. "1000.00")
|
|
2905
|
+
*/
|
|
2906
|
+
openingBalance?: string;
|
|
2907
|
+
/**
|
|
2908
|
+
* Platform ID to bind the account to (references Platform.id); omit for unbound
|
|
2909
|
+
*/
|
|
2910
|
+
platformId?: string;
|
|
2911
|
+
};
|
|
2912
|
+
type OnboardingDto = {
|
|
2913
|
+
/**
|
|
2914
|
+
* Asset/Liability accounts to register with opening balances
|
|
2915
|
+
*/
|
|
2916
|
+
accounts?: Array<OnboardingAccountDto>;
|
|
2917
|
+
/**
|
|
2918
|
+
* Skip asset registration; only bootstrap the core account set
|
|
2919
|
+
*/
|
|
2920
|
+
skipAssetRegistration?: boolean;
|
|
2921
|
+
};
|
|
2922
|
+
type ActualBalanceDto = {
|
|
2923
|
+
/**
|
|
2924
|
+
* Actual balance amount as a decimal string (preserves precision for tolerance inference).
|
|
2925
|
+
*/
|
|
2926
|
+
amount: string;
|
|
2927
|
+
/**
|
|
2928
|
+
* Currency code (ISO 4217 or commodity ticker).
|
|
2929
|
+
*/
|
|
2930
|
+
ccy: string;
|
|
2931
|
+
};
|
|
2932
|
+
type ComputeReconciliationDto = {
|
|
2933
|
+
/**
|
|
2934
|
+
* BeanAccount id to reconcile.
|
|
2935
|
+
*/
|
|
2936
|
+
accountId: string;
|
|
2937
|
+
/**
|
|
2938
|
+
* Assertion date (ISO 8601, e.g. "2026-07-24").
|
|
2939
|
+
*/
|
|
2940
|
+
asOfDate: string;
|
|
2941
|
+
/**
|
|
2942
|
+
* Actual balance from the external statement.
|
|
2943
|
+
*/
|
|
2944
|
+
actualBalance: ActualBalanceDto;
|
|
2945
|
+
};
|
|
2946
|
+
type ReconciliationComputeResultDto = {
|
|
2947
|
+
accountId: string;
|
|
2948
|
+
asOfDate: string;
|
|
2949
|
+
/**
|
|
2950
|
+
* System-computed book balance (decimal string).
|
|
2951
|
+
*/
|
|
2952
|
+
bookBalance: string;
|
|
2953
|
+
/**
|
|
2954
|
+
* User-entered actual balance (decimal string).
|
|
2955
|
+
*/
|
|
2956
|
+
actualBalance: string;
|
|
2957
|
+
currency: string;
|
|
2958
|
+
/**
|
|
2959
|
+
* Diff = book − actual (decimal string).
|
|
2960
|
+
*/
|
|
2961
|
+
diff: string;
|
|
2962
|
+
/**
|
|
2963
|
+
* Applied tolerance (decimal string).
|
|
2964
|
+
*/
|
|
2965
|
+
tolerance: string;
|
|
2966
|
+
/**
|
|
2967
|
+
* true when |diff| ≤ tolerance.
|
|
2968
|
+
*/
|
|
2969
|
+
withinTolerance: boolean;
|
|
2970
|
+
/**
|
|
2971
|
+
* Suggested next action: assert when within tolerance, pad otherwise.
|
|
2972
|
+
*/
|
|
2973
|
+
suggestedAction: 'assert' | 'pad';
|
|
2974
|
+
};
|
|
2975
|
+
/**
|
|
2976
|
+
* Suggested next action: assert when within tolerance, pad otherwise.
|
|
2977
|
+
*/
|
|
2978
|
+
type suggestedAction = 'assert' | 'pad';
|
|
2979
|
+
type AssertReconciliationDto = {
|
|
2980
|
+
/**
|
|
2981
|
+
* BeanAccount id to reconcile.
|
|
2982
|
+
*/
|
|
2983
|
+
accountId: string;
|
|
2984
|
+
/**
|
|
2985
|
+
* Assertion date (ISO 8601, e.g. "2026-07-24").
|
|
2986
|
+
*/
|
|
2987
|
+
asOfDate: string;
|
|
2988
|
+
/**
|
|
2989
|
+
* Actual balance from the external statement.
|
|
2990
|
+
*/
|
|
2991
|
+
actualBalance: ActualBalanceDto;
|
|
2992
|
+
/**
|
|
2993
|
+
* Optional explicit tolerance override. Omit to infer from amount precision (Beancount default).
|
|
2994
|
+
*/
|
|
2995
|
+
tolerance?: string;
|
|
2996
|
+
};
|
|
2997
|
+
type ReconciliationRecordDto = {
|
|
2998
|
+
id: string;
|
|
2999
|
+
accountId: string;
|
|
3000
|
+
date: string;
|
|
3001
|
+
/**
|
|
3002
|
+
* Asserted (actual) amount.
|
|
3003
|
+
*/
|
|
3004
|
+
amount: string;
|
|
3005
|
+
currency: string;
|
|
3006
|
+
tolerance?: string;
|
|
3007
|
+
/**
|
|
3008
|
+
* book − actual.
|
|
3009
|
+
*/
|
|
3010
|
+
diffAmount?: string;
|
|
3011
|
+
diffCurrency?: string;
|
|
3012
|
+
createdAt: string;
|
|
3013
|
+
};
|
|
3014
|
+
type PadReconciliationDto = {
|
|
3015
|
+
/**
|
|
3016
|
+
* BeanAccount id to reconcile.
|
|
3017
|
+
*/
|
|
3018
|
+
accountId: string;
|
|
3019
|
+
/**
|
|
3020
|
+
* Assertion date (ISO 8601, e.g. "2026-07-24").
|
|
3021
|
+
*/
|
|
3022
|
+
asOfDate: string;
|
|
3023
|
+
/**
|
|
3024
|
+
* Actual balance from the external statement.
|
|
3025
|
+
*/
|
|
3026
|
+
actualBalance: ActualBalanceDto;
|
|
3027
|
+
/**
|
|
3028
|
+
* Pad source account. Defaults to Equity:Opening-Balances (official Beancount convention).
|
|
3029
|
+
*/
|
|
3030
|
+
sourceAccount?: string;
|
|
3031
|
+
};
|
|
3032
|
+
type PadResultDto = {
|
|
3033
|
+
/**
|
|
3034
|
+
* Created pad adjusting transaction id.
|
|
3035
|
+
*/
|
|
3036
|
+
transactionId: string;
|
|
3037
|
+
};
|
|
3038
|
+
type FileImportDto = {
|
|
3039
|
+
/**
|
|
3040
|
+
* Bill file to import (CSV, PDF, OFX, etc.)
|
|
3041
|
+
*/
|
|
3042
|
+
file: Blob | File;
|
|
3043
|
+
};
|
|
3044
|
+
type ImportErrorDto = {
|
|
3045
|
+
/**
|
|
3046
|
+
* Index of failed transaction in the file
|
|
3047
|
+
*/
|
|
3048
|
+
index: number;
|
|
3049
|
+
/**
|
|
3050
|
+
* Error message
|
|
3051
|
+
*/
|
|
3052
|
+
error: string;
|
|
3053
|
+
};
|
|
3054
|
+
type ReviewItemPreviewDto = {
|
|
3055
|
+
/**
|
|
3056
|
+
* Index in the import batch (for tracking)
|
|
3057
|
+
*/
|
|
3058
|
+
index: number;
|
|
3059
|
+
/**
|
|
3060
|
+
* Transaction date (ISO format)
|
|
3061
|
+
*/
|
|
3062
|
+
date: string;
|
|
3063
|
+
/**
|
|
3064
|
+
* Transaction amount (absolute value)
|
|
3065
|
+
*/
|
|
3066
|
+
amount?: number;
|
|
3067
|
+
/**
|
|
3068
|
+
* Currency code
|
|
3069
|
+
*/
|
|
3070
|
+
currency?: string;
|
|
3071
|
+
/**
|
|
3072
|
+
* Transaction narration/description
|
|
3073
|
+
*/
|
|
3074
|
+
narration: string;
|
|
3075
|
+
/**
|
|
3076
|
+
* Payee name
|
|
3077
|
+
*/
|
|
3078
|
+
payee?: string;
|
|
3079
|
+
/**
|
|
3080
|
+
* Inferred category from rule matching
|
|
3081
|
+
*/
|
|
3082
|
+
category?: string;
|
|
3083
|
+
/**
|
|
3084
|
+
* Confidence score for the match (0-1)
|
|
3085
|
+
*/
|
|
3086
|
+
confidence?: number;
|
|
3087
|
+
/**
|
|
3088
|
+
* Type of branch requiring review
|
|
3089
|
+
*/
|
|
3090
|
+
branchType?: 'DUPLICATE' | 'PAYEE_MATCH' | 'RULE_MATCH' | 'ACCOUNT_VALIDATION' | 'PIPELINE_ERROR';
|
|
3091
|
+
/**
|
|
3092
|
+
* Human-readable reasons for requiring review
|
|
3093
|
+
*/
|
|
3094
|
+
reasons?: Array<string>;
|
|
3095
|
+
};
|
|
3096
|
+
/**
|
|
3097
|
+
* Type of branch requiring review
|
|
3098
|
+
*/
|
|
3099
|
+
type branchType = 'DUPLICATE' | 'PAYEE_MATCH' | 'RULE_MATCH' | 'ACCOUNT_VALIDATION' | 'PIPELINE_ERROR';
|
|
3100
|
+
type ImportResultDto = {
|
|
3101
|
+
/**
|
|
3102
|
+
* Number of successfully imported transactions
|
|
3103
|
+
*/
|
|
3104
|
+
imported: number;
|
|
3105
|
+
/**
|
|
3106
|
+
* Number of failed transactions
|
|
3107
|
+
*/
|
|
3108
|
+
failed: number;
|
|
3109
|
+
/**
|
|
3110
|
+
* Number of skipped transactions (high confidence duplicates, auto-skipped)
|
|
3111
|
+
*/
|
|
3112
|
+
skipped: number;
|
|
3113
|
+
/**
|
|
3114
|
+
* Number of transactions pending review (medium confidence duplicates)
|
|
3115
|
+
*/
|
|
3116
|
+
pendingReview: number;
|
|
3117
|
+
/**
|
|
3118
|
+
* Array of error details for failed transactions
|
|
3119
|
+
*/
|
|
3120
|
+
errors: Array<ImportErrorDto>;
|
|
3121
|
+
/**
|
|
3122
|
+
* Array of transactions pending review with preview data. Contains essential information for displaying in the import preview UI.
|
|
3123
|
+
*/
|
|
3124
|
+
reviewItems?: Array<ReviewItemPreviewDto>;
|
|
3125
|
+
/**
|
|
3126
|
+
* Array of imported transactions (optional, for debugging)
|
|
3127
|
+
*/
|
|
3128
|
+
transactions?: {
|
|
3129
|
+
[key: string]: unknown;
|
|
3130
|
+
};
|
|
3131
|
+
};
|
|
3132
|
+
type IdentifyResultDto = {
|
|
3133
|
+
/**
|
|
3134
|
+
* Whether the file was successfully identified
|
|
3135
|
+
*/
|
|
3136
|
+
identified: boolean;
|
|
2765
3137
|
/**
|
|
2766
3138
|
* Name of the importer that can handle this file
|
|
2767
3139
|
*/
|
|
@@ -2907,70 +3279,6 @@ type UpdateImporterConfigDto = {
|
|
|
2907
3279
|
*/
|
|
2908
3280
|
data?: UpdateConfigDataDto;
|
|
2909
3281
|
};
|
|
2910
|
-
type CreatePlatformDto = {
|
|
2911
|
-
/**
|
|
2912
|
-
* Platform name
|
|
2913
|
-
*/
|
|
2914
|
-
name: string;
|
|
2915
|
-
/**
|
|
2916
|
-
* Platform canonical identifier (lowercase, kebab-case)
|
|
2917
|
-
*/
|
|
2918
|
-
canonical: string;
|
|
2919
|
-
/**
|
|
2920
|
-
* Platform aliases (multi-language names for lookup)
|
|
2921
|
-
*/
|
|
2922
|
-
aliases: Array<string>;
|
|
2923
|
-
/**
|
|
2924
|
-
* Platform URL
|
|
2925
|
-
*/
|
|
2926
|
-
url: string;
|
|
2927
|
-
/**
|
|
2928
|
-
* Platform type
|
|
2929
|
-
*/
|
|
2930
|
-
type: 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
|
|
2931
|
-
/**
|
|
2932
|
-
* Platform logo URL
|
|
2933
|
-
*/
|
|
2934
|
-
logoUrl?: string;
|
|
2935
|
-
/**
|
|
2936
|
-
* Whether the platform is active
|
|
2937
|
-
*/
|
|
2938
|
-
isActive?: boolean;
|
|
2939
|
-
};
|
|
2940
|
-
/**
|
|
2941
|
-
* Platform type
|
|
2942
|
-
*/
|
|
2943
|
-
type type3 = 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
|
|
2944
|
-
type UpdatePlatformDto = {
|
|
2945
|
-
/**
|
|
2946
|
-
* Platform name
|
|
2947
|
-
*/
|
|
2948
|
-
name?: string;
|
|
2949
|
-
/**
|
|
2950
|
-
* Platform canonical identifier (lowercase, kebab-case)
|
|
2951
|
-
*/
|
|
2952
|
-
canonical?: string;
|
|
2953
|
-
/**
|
|
2954
|
-
* Platform aliases (multi-language names for lookup)
|
|
2955
|
-
*/
|
|
2956
|
-
aliases?: Array<string>;
|
|
2957
|
-
/**
|
|
2958
|
-
* Platform URL
|
|
2959
|
-
*/
|
|
2960
|
-
url?: string;
|
|
2961
|
-
/**
|
|
2962
|
-
* Platform type
|
|
2963
|
-
*/
|
|
2964
|
-
type?: 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
|
|
2965
|
-
/**
|
|
2966
|
-
* Platform logo URL
|
|
2967
|
-
*/
|
|
2968
|
-
logoUrl?: string;
|
|
2969
|
-
/**
|
|
2970
|
-
* Whether the platform is active
|
|
2971
|
-
*/
|
|
2972
|
-
isActive?: boolean;
|
|
2973
|
-
};
|
|
2974
3282
|
type ProviderSyncConfigDto = {
|
|
2975
3283
|
/**
|
|
2976
3284
|
* Source account for the first posting
|
|
@@ -2992,6 +3300,10 @@ type ProviderSyncConfigDto = {
|
|
|
2992
3300
|
* Filter pending transactions
|
|
2993
3301
|
*/
|
|
2994
3302
|
filterPending?: boolean;
|
|
3303
|
+
/**
|
|
3304
|
+
* External account ID for per-batch providers (e.g. GoCardless). Overrides sourceAccount when an ExternalAccountLink mapping exists.
|
|
3305
|
+
*/
|
|
3306
|
+
externalAccountId?: string;
|
|
2995
3307
|
};
|
|
2996
3308
|
type ProviderSyncDto = {
|
|
2997
3309
|
/**
|
|
@@ -3043,6 +3355,41 @@ type SupportedProvidersResponseDto = {
|
|
|
3043
3355
|
*/
|
|
3044
3356
|
providers: Array<string>;
|
|
3045
3357
|
};
|
|
3358
|
+
type CreateExternalAccountLinkDto = {
|
|
3359
|
+
/**
|
|
3360
|
+
* Open Banking provider (whitelist)
|
|
3361
|
+
*/
|
|
3362
|
+
provider: 'plaid' | 'teller' | 'truelayer' | 'gocardless' | 'simplefin' | 'yodlee' | 'beancount-direct' | 'parsed-bill';
|
|
3363
|
+
/**
|
|
3364
|
+
* External account ID from the provider
|
|
3365
|
+
*/
|
|
3366
|
+
externalAccountId: string;
|
|
3367
|
+
/**
|
|
3368
|
+
* Target BeanAccount ID (must belong to the JWT user)
|
|
3369
|
+
*/
|
|
3370
|
+
beanAccountId: string;
|
|
3371
|
+
};
|
|
3372
|
+
/**
|
|
3373
|
+
* Open Banking provider (whitelist)
|
|
3374
|
+
*/
|
|
3375
|
+
type provider = 'plaid' | 'teller' | 'truelayer' | 'gocardless' | 'simplefin' | 'yodlee' | 'beancount-direct' | 'parsed-bill';
|
|
3376
|
+
type ExternalAccountLinkResponseDto = {
|
|
3377
|
+
id: string;
|
|
3378
|
+
provider: string;
|
|
3379
|
+
externalAccountId: string;
|
|
3380
|
+
beanAccountId: string;
|
|
3381
|
+
isActive: boolean;
|
|
3382
|
+
createdAt: string;
|
|
3383
|
+
updatedAt: string;
|
|
3384
|
+
};
|
|
3385
|
+
type ExternalAccountLinkListResponseDto = {
|
|
3386
|
+
items: Array<ExternalAccountLinkResponseDto>;
|
|
3387
|
+
total: number;
|
|
3388
|
+
/**
|
|
3389
|
+
* Filter by provider (query param)
|
|
3390
|
+
*/
|
|
3391
|
+
provider?: string;
|
|
3392
|
+
};
|
|
3046
3393
|
type ParserTelemetryReportDto = unknown;
|
|
3047
3394
|
type UncoveredFormatMissDto = unknown;
|
|
3048
3395
|
type ProcessNlpDto = {
|
|
@@ -3544,49 +3891,103 @@ type NlpResponseDto = {
|
|
|
3544
3891
|
/**
|
|
3545
3892
|
* Recurring rule creation suggestion (when action is "created"). Contains suggestion to create a recurring rule based on detected patterns. Only present when no existing rule matched and similar historical transactions were found.
|
|
3546
3893
|
*/
|
|
3547
|
-
recurringSuggestion?: RecurringSuggestionDto;
|
|
3894
|
+
recurringSuggestion?: RecurringSuggestionDto;
|
|
3895
|
+
/**
|
|
3896
|
+
* Suggested accounts for this transaction. Contains recommended source and destination accounts based on the detected intent and rules.
|
|
3897
|
+
*/
|
|
3898
|
+
suggestedAccounts?: NlpSuggestedAccountsDto;
|
|
3899
|
+
/**
|
|
3900
|
+
* Default accounts for the user/region. These are fallback accounts used when no specific suggestion is available.
|
|
3901
|
+
*/
|
|
3902
|
+
defaultAccounts?: NlpDefaultAccountsDto;
|
|
3903
|
+
};
|
|
3904
|
+
/**
|
|
3905
|
+
* Response status
|
|
3906
|
+
*/
|
|
3907
|
+
type status4 = 'success' | 'pending' | 'error';
|
|
3908
|
+
/**
|
|
3909
|
+
* Action taken or requested
|
|
3910
|
+
*/
|
|
3911
|
+
type action2 = 'created' | 'ask' | 'confirm' | 'confirm_duplicate' | 'confirm_rule' | 'confirm_account' | 'confirm_payee' | 'cancel';
|
|
3912
|
+
/**
|
|
3913
|
+
* Transaction intent detected by EntityRouter (v6.0: 5 core intents). Frontend uses this to render scenario-specific form fields.
|
|
3914
|
+
*/
|
|
3915
|
+
type intent = 'expense' | 'asset' | 'income' | 'liability' | 'equity';
|
|
3916
|
+
/**
|
|
3917
|
+
* Asset sub-type (only present when intent is "asset"). Determines which asset-related form to render.
|
|
3918
|
+
*/
|
|
3919
|
+
type assetSubType = 'transfer' | 'banking' | 'investment';
|
|
3920
|
+
/**
|
|
3921
|
+
* Liability sub-type (only present when intent is "liability"). borrow: borrowing money (Liabilities → Assets), repay: repaying debt (Assets → Liabilities).
|
|
3922
|
+
*/
|
|
3923
|
+
type liabilitySubType = 'borrow' | 'repay';
|
|
3924
|
+
/**
|
|
3925
|
+
* Equity sub-type (only present when intent is "equity"). opening: account opening balance (Equity → Assets), adjustment: balance correction.
|
|
3926
|
+
*/
|
|
3927
|
+
type equitySubType = 'opening' | 'adjustment';
|
|
3928
|
+
type CreatePlatformDto = {
|
|
3929
|
+
/**
|
|
3930
|
+
* Platform name
|
|
3931
|
+
*/
|
|
3932
|
+
name: string;
|
|
3933
|
+
/**
|
|
3934
|
+
* Platform canonical identifier (lowercase, kebab-case)
|
|
3935
|
+
*/
|
|
3936
|
+
canonical: string;
|
|
3937
|
+
/**
|
|
3938
|
+
* Platform aliases (multi-language names for lookup)
|
|
3939
|
+
*/
|
|
3940
|
+
aliases: Array<string>;
|
|
3941
|
+
/**
|
|
3942
|
+
* Platform URL
|
|
3943
|
+
*/
|
|
3944
|
+
url: string;
|
|
3945
|
+
/**
|
|
3946
|
+
* Platform type
|
|
3947
|
+
*/
|
|
3948
|
+
type: 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
|
|
3949
|
+
/**
|
|
3950
|
+
* Platform logo URL
|
|
3951
|
+
*/
|
|
3952
|
+
logoUrl?: string;
|
|
3953
|
+
/**
|
|
3954
|
+
* Whether the platform is active
|
|
3955
|
+
*/
|
|
3956
|
+
isActive?: boolean;
|
|
3957
|
+
};
|
|
3958
|
+
/**
|
|
3959
|
+
* Platform type
|
|
3960
|
+
*/
|
|
3961
|
+
type type3 = 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
|
|
3962
|
+
type UpdatePlatformDto = {
|
|
3963
|
+
/**
|
|
3964
|
+
* Platform name
|
|
3965
|
+
*/
|
|
3966
|
+
name?: string;
|
|
3967
|
+
/**
|
|
3968
|
+
* Platform canonical identifier (lowercase, kebab-case)
|
|
3969
|
+
*/
|
|
3970
|
+
canonical?: string;
|
|
3971
|
+
/**
|
|
3972
|
+
* Platform aliases (multi-language names for lookup)
|
|
3973
|
+
*/
|
|
3974
|
+
aliases?: Array<string>;
|
|
3548
3975
|
/**
|
|
3549
|
-
*
|
|
3976
|
+
* Platform URL
|
|
3550
3977
|
*/
|
|
3551
|
-
|
|
3978
|
+
url?: string;
|
|
3552
3979
|
/**
|
|
3553
|
-
*
|
|
3980
|
+
* Platform type
|
|
3554
3981
|
*/
|
|
3555
|
-
|
|
3556
|
-
};
|
|
3557
|
-
/**
|
|
3558
|
-
* Response status
|
|
3559
|
-
*/
|
|
3560
|
-
type status4 = 'success' | 'pending' | 'error';
|
|
3561
|
-
/**
|
|
3562
|
-
* Action taken or requested
|
|
3563
|
-
*/
|
|
3564
|
-
type action2 = 'created' | 'ask' | 'confirm' | 'confirm_duplicate' | 'confirm_rule' | 'confirm_account' | 'confirm_payee' | 'cancel';
|
|
3565
|
-
/**
|
|
3566
|
-
* Transaction intent detected by EntityRouter (v6.0: 5 core intents). Frontend uses this to render scenario-specific form fields.
|
|
3567
|
-
*/
|
|
3568
|
-
type intent = 'expense' | 'asset' | 'income' | 'liability' | 'equity';
|
|
3569
|
-
/**
|
|
3570
|
-
* Asset sub-type (only present when intent is "asset"). Determines which asset-related form to render.
|
|
3571
|
-
*/
|
|
3572
|
-
type assetSubType = 'transfer' | 'banking' | 'investment';
|
|
3573
|
-
/**
|
|
3574
|
-
* Liability sub-type (only present when intent is "liability"). borrow: borrowing money (Liabilities → Assets), repay: repaying debt (Assets → Liabilities).
|
|
3575
|
-
*/
|
|
3576
|
-
type liabilitySubType = 'borrow' | 'repay';
|
|
3577
|
-
/**
|
|
3578
|
-
* Equity sub-type (only present when intent is "equity"). opening: account opening balance (Equity → Assets), adjustment: balance correction.
|
|
3579
|
-
*/
|
|
3580
|
-
type equitySubType = 'opening' | 'adjustment';
|
|
3581
|
-
type BalanceByCurrencyDto = {
|
|
3982
|
+
type?: 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
|
|
3582
3983
|
/**
|
|
3583
|
-
*
|
|
3984
|
+
* Platform logo URL
|
|
3584
3985
|
*/
|
|
3585
|
-
|
|
3986
|
+
logoUrl?: string;
|
|
3586
3987
|
/**
|
|
3587
|
-
*
|
|
3988
|
+
* Whether the platform is active
|
|
3588
3989
|
*/
|
|
3589
|
-
|
|
3990
|
+
isActive?: boolean;
|
|
3590
3991
|
};
|
|
3591
3992
|
type NetWorthByCurrencyDto = {
|
|
3592
3993
|
/**
|
|
@@ -3626,20 +4027,6 @@ type ConvertedNetWorthDto = {
|
|
|
3626
4027
|
[key: string]: unknown;
|
|
3627
4028
|
};
|
|
3628
4029
|
};
|
|
3629
|
-
type ExchangeRateWarningDto = {
|
|
3630
|
-
/**
|
|
3631
|
-
* Warning type
|
|
3632
|
-
*/
|
|
3633
|
-
type: string;
|
|
3634
|
-
/**
|
|
3635
|
-
* Currency without exchange rate
|
|
3636
|
-
*/
|
|
3637
|
-
currency: string;
|
|
3638
|
-
/**
|
|
3639
|
-
* Total amount affected
|
|
3640
|
-
*/
|
|
3641
|
-
totalAmount: string;
|
|
3642
|
-
};
|
|
3643
4030
|
type NetWorthResponseDto = {
|
|
3644
4031
|
/**
|
|
3645
4032
|
* Total net worth (assets - liabilities, converted to base currency)
|
|
@@ -3703,6 +4090,10 @@ type AccountItemDto = {
|
|
|
3703
4090
|
* Currency code
|
|
3704
4091
|
*/
|
|
3705
4092
|
currency: string;
|
|
4093
|
+
/**
|
|
4094
|
+
* FX-converted balance in base currency; omitted when not convertible
|
|
4095
|
+
*/
|
|
4096
|
+
convertedBalance?: string;
|
|
3706
4097
|
};
|
|
3707
4098
|
type PlatformGroupDto = {
|
|
3708
4099
|
/**
|
|
@@ -3718,9 +4109,39 @@ type PlatformGroupDto = {
|
|
|
3718
4109
|
*/
|
|
3719
4110
|
accounts: Array<AccountItemDto>;
|
|
3720
4111
|
/**
|
|
3721
|
-
*
|
|
4112
|
+
* FX-converted total balance in base currency
|
|
3722
4113
|
*/
|
|
3723
4114
|
totalBalance: string;
|
|
4115
|
+
/**
|
|
4116
|
+
* Raw (unconverted) balances grouped by currency
|
|
4117
|
+
*/
|
|
4118
|
+
balanceByCurrency: Array<BalanceByCurrencyDto>;
|
|
4119
|
+
/**
|
|
4120
|
+
* Converted balance in base currency (omitted when no currency is convertible)
|
|
4121
|
+
*/
|
|
4122
|
+
convertedBalance?: string;
|
|
4123
|
+
/**
|
|
4124
|
+
* Share of the grand converted total (0-100); 0 when grand total is 0
|
|
4125
|
+
*/
|
|
4126
|
+
sharePct: number;
|
|
4127
|
+
};
|
|
4128
|
+
type AccountExchangeRateWarningDto = {
|
|
4129
|
+
/**
|
|
4130
|
+
* Warning type
|
|
4131
|
+
*/
|
|
4132
|
+
type: string;
|
|
4133
|
+
/**
|
|
4134
|
+
* Currency without exchange rate
|
|
4135
|
+
*/
|
|
4136
|
+
currency: string;
|
|
4137
|
+
/**
|
|
4138
|
+
* Affected account paths
|
|
4139
|
+
*/
|
|
4140
|
+
accounts: Array<string>;
|
|
4141
|
+
/**
|
|
4142
|
+
* Total amount in this currency
|
|
4143
|
+
*/
|
|
4144
|
+
totalAmount: string;
|
|
3724
4145
|
};
|
|
3725
4146
|
type AccountsSummaryDto = {
|
|
3726
4147
|
/**
|
|
@@ -3731,6 +4152,14 @@ type AccountsSummaryDto = {
|
|
|
3731
4152
|
* Total number of platforms
|
|
3732
4153
|
*/
|
|
3733
4154
|
totalPlatforms: number;
|
|
4155
|
+
/**
|
|
4156
|
+
* Base currency for conversion
|
|
4157
|
+
*/
|
|
4158
|
+
baseCurrency: string;
|
|
4159
|
+
/**
|
|
4160
|
+
* Per-account exchange rate warnings
|
|
4161
|
+
*/
|
|
4162
|
+
warnings?: Array<AccountExchangeRateWarningDto>;
|
|
3734
4163
|
};
|
|
3735
4164
|
type AccountsResponseDto = {
|
|
3736
4165
|
/**
|
|
@@ -3763,6 +4192,10 @@ type AccountItemWithAssetClassDto = {
|
|
|
3763
4192
|
* Currency code
|
|
3764
4193
|
*/
|
|
3765
4194
|
currency: string;
|
|
4195
|
+
/**
|
|
4196
|
+
* FX-converted balance in base currency; omitted when not convertible
|
|
4197
|
+
*/
|
|
4198
|
+
convertedBalance?: string;
|
|
3766
4199
|
/**
|
|
3767
4200
|
* Asset class
|
|
3768
4201
|
*/
|
|
@@ -3814,24 +4247,6 @@ type AssetClassGroupDto = {
|
|
|
3814
4247
|
* Asset class name
|
|
3815
4248
|
*/
|
|
3816
4249
|
type assetClass = 'LIQUIDITY' | 'EQUITY' | 'FIXED_INCOME' | 'PRECIOUS_METALS' | 'COMMODITY' | 'INSURANCE' | 'ALTERNATIVE_INVESTMENT' | 'PERSONAL_ASSETS' | 'LIABILITY' | 'REAL_ESTATE' | 'INDEX';
|
|
3817
|
-
type AccountExchangeRateWarningDto = {
|
|
3818
|
-
/**
|
|
3819
|
-
* Warning type
|
|
3820
|
-
*/
|
|
3821
|
-
type: string;
|
|
3822
|
-
/**
|
|
3823
|
-
* Currency without exchange rate
|
|
3824
|
-
*/
|
|
3825
|
-
currency: string;
|
|
3826
|
-
/**
|
|
3827
|
-
* Affected account paths
|
|
3828
|
-
*/
|
|
3829
|
-
accounts: Array<string>;
|
|
3830
|
-
/**
|
|
3831
|
-
* Total amount in this currency
|
|
3832
|
-
*/
|
|
3833
|
-
totalAmount: string;
|
|
3834
|
-
};
|
|
3835
4250
|
type AssetClassSummaryDto = {
|
|
3836
4251
|
/**
|
|
3837
4252
|
* Total number of accounts
|
|
@@ -3990,6 +4405,60 @@ type CashFlowResponseDto = {
|
|
|
3990
4405
|
*/
|
|
3991
4406
|
warnings?: Array<ExchangeRateWarningDto>;
|
|
3992
4407
|
};
|
|
4408
|
+
type CategoryGroupDto = {
|
|
4409
|
+
/**
|
|
4410
|
+
* Functional category (account-path Group segment); regional and universal account paths merge under it
|
|
4411
|
+
*/
|
|
4412
|
+
category: string;
|
|
4413
|
+
/**
|
|
4414
|
+
* Converted total for this category in base currency (expense amount when flow=expense, income amount when flow=income)
|
|
4415
|
+
*/
|
|
4416
|
+
totalExpense: string;
|
|
4417
|
+
/**
|
|
4418
|
+
* Share of grand total (0-100); 0 when grand total is 0
|
|
4419
|
+
*/
|
|
4420
|
+
sharePct: number;
|
|
4421
|
+
/**
|
|
4422
|
+
* Raw (unconverted) expense per currency
|
|
4423
|
+
*/
|
|
4424
|
+
balanceByCurrency: Array<BalanceByCurrencyDto>;
|
|
4425
|
+
/**
|
|
4426
|
+
* Converted total in base currency (omitted when FX missing for all currencies in this category)
|
|
4427
|
+
*/
|
|
4428
|
+
convertedBalance?: string;
|
|
4429
|
+
};
|
|
4430
|
+
type ExpensesByCategorySummaryDto = {
|
|
4431
|
+
/**
|
|
4432
|
+
* Total across all categories, converted (convertible categories only); expense totals when flow=expense, income totals when flow=income
|
|
4433
|
+
*/
|
|
4434
|
+
totalExpense: string;
|
|
4435
|
+
/**
|
|
4436
|
+
* Number of categories
|
|
4437
|
+
*/
|
|
4438
|
+
categoryCount: number;
|
|
4439
|
+
};
|
|
4440
|
+
type ExpensesByCategoryResponseDto = {
|
|
4441
|
+
/**
|
|
4442
|
+
* Period requested
|
|
4443
|
+
*/
|
|
4444
|
+
period: string;
|
|
4445
|
+
/**
|
|
4446
|
+
* Base currency for converted values
|
|
4447
|
+
*/
|
|
4448
|
+
baseCurrency: string;
|
|
4449
|
+
/**
|
|
4450
|
+
* Expense groups by functional category, sorted by converted total desc
|
|
4451
|
+
*/
|
|
4452
|
+
groups: Array<CategoryGroupDto>;
|
|
4453
|
+
/**
|
|
4454
|
+
* Summary statistics
|
|
4455
|
+
*/
|
|
4456
|
+
summary: ExpensesByCategorySummaryDto;
|
|
4457
|
+
/**
|
|
4458
|
+
* Exchange rate warnings (e.g. missing rate for a currency)
|
|
4459
|
+
*/
|
|
4460
|
+
warnings?: Array<ExchangeRateWarningDto>;
|
|
4461
|
+
};
|
|
3993
4462
|
type MonetaryDto = {
|
|
3994
4463
|
/**
|
|
3995
4464
|
* Amount (Decimal string)
|
|
@@ -4147,118 +4616,20 @@ type HoldingPnlWarningDto = {
|
|
|
4147
4616
|
* Warning type
|
|
4148
4617
|
*/
|
|
4149
4618
|
type type4 = 'MISSING_COST_FX_RATE' | 'MISSING_MARKET_FX_RATE' | 'MISSING_SALE_PRICE' | 'MISSING_REALIZED_FX_RATE' | 'OVERSOLD_LOTS' | 'NO_PRICE' | 'MIXED_COST_CURRENCY';
|
|
4150
|
-
type HoldingPnlResponseDto = {
|
|
4151
|
-
asOfDate: string;
|
|
4152
|
-
baseCurrency: string;
|
|
4153
|
-
/**
|
|
4154
|
-
* Realized-P&L lot-matching method (FIFO or average). Unrealized cost basis remains average regardless of this value (#473).
|
|
4155
|
-
*/
|
|
4156
|
-
method: 'average' | 'FIFO';
|
|
4157
|
-
rows: Array<HoldingPnlRowDto>;
|
|
4158
|
-
warnings: Array<HoldingPnlWarningDto>;
|
|
4159
|
-
};
|
|
4160
|
-
/**
|
|
4161
|
-
* Realized-P&L lot-matching method (FIFO or average). Unrealized cost basis remains average regardless of this value (#473).
|
|
4162
|
-
*/
|
|
4163
|
-
type method = 'average' | 'FIFO';
|
|
4164
|
-
type CreateBeanPriceDto = {
|
|
4165
|
-
/**
|
|
4166
|
-
* Currency being priced (e.g., USD, AAPL, BTC)
|
|
4167
|
-
*/
|
|
4168
|
-
currency: string;
|
|
4169
|
-
/**
|
|
4170
|
-
* Quote currency (pricing currency, e.g., CNY, EUR)
|
|
4171
|
-
*/
|
|
4172
|
-
quoteCurrency: string;
|
|
4173
|
-
/**
|
|
4174
|
-
* Price amount (MUST be >= 0 per Beancount spec, supports up to 15 decimal places). Zero allowed for conversion entries, negative strictly prohibited.
|
|
4175
|
-
*/
|
|
4176
|
-
amount: number;
|
|
4177
|
-
/**
|
|
4178
|
-
* Price date (ISO 8601 format)
|
|
4179
|
-
*/
|
|
4180
|
-
date: string;
|
|
4181
|
-
/**
|
|
4182
|
-
* Metadata (validated by Zod schema, max field lengths enforced)
|
|
4183
|
-
*/
|
|
4184
|
-
metadata?: {
|
|
4185
|
-
[key: string]: unknown;
|
|
4186
|
-
};
|
|
4187
|
-
};
|
|
4188
|
-
type PriceResponseDto = {
|
|
4189
|
-
/**
|
|
4190
|
-
* Unique identifier
|
|
4191
|
-
*/
|
|
4192
|
-
id: string;
|
|
4193
|
-
/**
|
|
4194
|
-
* User ID (owner of the price)
|
|
4195
|
-
*/
|
|
4196
|
-
userId: string;
|
|
4197
|
-
/**
|
|
4198
|
-
* Currency being priced (e.g., USD, AAPL, BTC)
|
|
4199
|
-
*/
|
|
4200
|
-
currency: string;
|
|
4201
|
-
/**
|
|
4202
|
-
* Quote currency (pricing currency, e.g., USD, CNY)
|
|
4203
|
-
*/
|
|
4204
|
-
quoteCurrency: string;
|
|
4205
|
-
/**
|
|
4206
|
-
* Price amount (corresponds to Beancount Amount.number). Supports up to 15 decimal places.
|
|
4207
|
-
*/
|
|
4208
|
-
amount: number;
|
|
4209
|
-
/**
|
|
4210
|
-
* Price date (ISO 8601 format). Represents the date this price was valid.
|
|
4211
|
-
*/
|
|
4212
|
-
date: string;
|
|
4213
|
-
/**
|
|
4214
|
-
* Metadata (corresponds to Beancount meta field). Contains source, confidence, note, etc.
|
|
4215
|
-
*/
|
|
4216
|
-
meta: {
|
|
4217
|
-
[key: string]: unknown;
|
|
4218
|
-
};
|
|
4219
|
-
/**
|
|
4220
|
-
* Creation timestamp
|
|
4221
|
-
*/
|
|
4222
|
-
createdAt: string;
|
|
4223
|
-
/**
|
|
4224
|
-
* Last update timestamp
|
|
4225
|
-
*/
|
|
4226
|
-
updatedAt: string;
|
|
4227
|
-
};
|
|
4228
|
-
type PriceListResponseDto = {
|
|
4229
|
-
/**
|
|
4230
|
-
* List of prices
|
|
4231
|
-
*/
|
|
4232
|
-
items: Array<PriceResponseDto>;
|
|
4233
|
-
/**
|
|
4234
|
-
* Total number of prices
|
|
4235
|
-
*/
|
|
4236
|
-
total: number;
|
|
4237
|
-
};
|
|
4238
|
-
type UpdateBeanPriceDto = {
|
|
4239
|
-
/**
|
|
4240
|
-
* Currency being priced
|
|
4241
|
-
*/
|
|
4242
|
-
currency?: string;
|
|
4243
|
-
/**
|
|
4244
|
-
* Quote currency (pricing currency)
|
|
4245
|
-
*/
|
|
4246
|
-
quoteCurrency?: string;
|
|
4247
|
-
/**
|
|
4248
|
-
* Price amount (MUST be >= 0 per Beancount spec)
|
|
4249
|
-
*/
|
|
4250
|
-
amount?: number;
|
|
4251
|
-
/**
|
|
4252
|
-
* Price date (ISO 8601 format)
|
|
4253
|
-
*/
|
|
4254
|
-
date?: string;
|
|
4619
|
+
type HoldingPnlResponseDto = {
|
|
4620
|
+
asOfDate: string;
|
|
4621
|
+
baseCurrency: string;
|
|
4255
4622
|
/**
|
|
4256
|
-
*
|
|
4623
|
+
* Realized-P&L lot-matching method (FIFO or average). Unrealized cost basis remains average regardless of this value (#473).
|
|
4257
4624
|
*/
|
|
4258
|
-
|
|
4259
|
-
|
|
4260
|
-
|
|
4625
|
+
method: 'average' | 'FIFO';
|
|
4626
|
+
rows: Array<HoldingPnlRowDto>;
|
|
4627
|
+
warnings: Array<HoldingPnlWarningDto>;
|
|
4261
4628
|
};
|
|
4629
|
+
/**
|
|
4630
|
+
* Realized-P&L lot-matching method (FIFO or average). Unrealized cost basis remains average regardless of this value (#473).
|
|
4631
|
+
*/
|
|
4632
|
+
type method = 'average' | 'FIFO';
|
|
4262
4633
|
type CurrencyBalanceDto = {
|
|
4263
4634
|
/**
|
|
4264
4635
|
* ISO 4217 currency code
|
|
@@ -4284,6 +4655,14 @@ type TimeSeriesPointDto = {
|
|
|
4284
4655
|
change?: {
|
|
4285
4656
|
[key: string]: unknown;
|
|
4286
4657
|
};
|
|
4658
|
+
/**
|
|
4659
|
+
* Total assets at this date (in base currency)
|
|
4660
|
+
*/
|
|
4661
|
+
assets?: string;
|
|
4662
|
+
/**
|
|
4663
|
+
* Total liabilities at this date (in base currency)
|
|
4664
|
+
*/
|
|
4665
|
+
liabilities?: string;
|
|
4287
4666
|
/**
|
|
4288
4667
|
* Multi-currency breakdown for this point
|
|
4289
4668
|
*/
|
|
@@ -4347,6 +4726,68 @@ type PortfolioTrendsResponseDto = {
|
|
|
4347
4726
|
*/
|
|
4348
4727
|
warnings?: Array<ExchangeRateWarningDto>;
|
|
4349
4728
|
};
|
|
4729
|
+
type CashFlowPointDto = {
|
|
4730
|
+
/**
|
|
4731
|
+
* Month key (YYYY-MM)
|
|
4732
|
+
*/
|
|
4733
|
+
month: string;
|
|
4734
|
+
/**
|
|
4735
|
+
* Income in base currency (absolute, converted)
|
|
4736
|
+
*/
|
|
4737
|
+
income: string;
|
|
4738
|
+
/**
|
|
4739
|
+
* Expense in base currency (absolute, converted)
|
|
4740
|
+
*/
|
|
4741
|
+
expense: string;
|
|
4742
|
+
/**
|
|
4743
|
+
* netSavings = income − expense (savings positive)
|
|
4744
|
+
*/
|
|
4745
|
+
netSavings: string;
|
|
4746
|
+
};
|
|
4747
|
+
type CashFlowTrendSummaryDto = {
|
|
4748
|
+
/**
|
|
4749
|
+
* Total income across the period
|
|
4750
|
+
*/
|
|
4751
|
+
totalIncome: string;
|
|
4752
|
+
/**
|
|
4753
|
+
* Total expense across the period
|
|
4754
|
+
*/
|
|
4755
|
+
totalExpense: string;
|
|
4756
|
+
/**
|
|
4757
|
+
* income − expense across the period
|
|
4758
|
+
*/
|
|
4759
|
+
totalNetSavings: string;
|
|
4760
|
+
/**
|
|
4761
|
+
* totalNetSavings divided by the window length (N months, incl. zero-filled)
|
|
4762
|
+
*/
|
|
4763
|
+
averageMonthlyNetSavings: string;
|
|
4764
|
+
};
|
|
4765
|
+
type CashFlowTrendsResponseDto = {
|
|
4766
|
+
/**
|
|
4767
|
+
* Monthly cash-flow series (fixed N-month window, zero-filled)
|
|
4768
|
+
*/
|
|
4769
|
+
series: Array<CashFlowPointDto>;
|
|
4770
|
+
/**
|
|
4771
|
+
* Period totals
|
|
4772
|
+
*/
|
|
4773
|
+
summary: CashFlowTrendSummaryDto;
|
|
4774
|
+
/**
|
|
4775
|
+
* Period requested
|
|
4776
|
+
*/
|
|
4777
|
+
period: string;
|
|
4778
|
+
/**
|
|
4779
|
+
* Data granularity (v1 returns month buckets)
|
|
4780
|
+
*/
|
|
4781
|
+
granularity: string;
|
|
4782
|
+
/**
|
|
4783
|
+
* Base currency for converted values
|
|
4784
|
+
*/
|
|
4785
|
+
currency: string;
|
|
4786
|
+
/**
|
|
4787
|
+
* Exchange rate warnings (e.g. missing rate for a currency)
|
|
4788
|
+
*/
|
|
4789
|
+
warnings?: Array<ExchangeRateWarningDto>;
|
|
4790
|
+
};
|
|
4350
4791
|
type GenerateSnapshotBody = unknown;
|
|
4351
4792
|
type GenerateSnapshotResponse = unknown;
|
|
4352
4793
|
type BackfillSnapshotsBody = unknown;
|
|
@@ -4383,7 +4824,7 @@ type AccountControllerFindAllData = {
|
|
|
4383
4824
|
*/
|
|
4384
4825
|
region: 'cn' | 'us' | 'de' | 'gb';
|
|
4385
4826
|
/**
|
|
4386
|
-
* Search term for path
|
|
4827
|
+
* Search term for account path
|
|
4387
4828
|
*/
|
|
4388
4829
|
search?: string;
|
|
4389
4830
|
/**
|
|
@@ -4503,6 +4944,10 @@ type TransactionControllerListData = {
|
|
|
4503
4944
|
* Filter by account ID (transactions with postings to this account)
|
|
4504
4945
|
*/
|
|
4505
4946
|
accountId?: string;
|
|
4947
|
+
/**
|
|
4948
|
+
* Filter by ADR-0075 functional category (Group segment); matches any posting to an Expenses/Income account whose derived Group segment equals this value
|
|
4949
|
+
*/
|
|
4950
|
+
category?: string;
|
|
4506
4951
|
/**
|
|
4507
4952
|
* Filter by start date (inclusive), format: YYYY-MM-DD
|
|
4508
4953
|
*/
|
|
@@ -4611,7 +5056,7 @@ type TransactionControllerDeleteData = {
|
|
|
4611
5056
|
type TransactionControllerDeleteResponse = void;
|
|
4612
5057
|
type BalanceControllerGetBalanceData = {
|
|
4613
5058
|
/**
|
|
4614
|
-
* Account name (e.g., "Assets:
|
|
5059
|
+
* Account name (e.g., "Assets:Checking")
|
|
4615
5060
|
*/
|
|
4616
5061
|
account: string;
|
|
4617
5062
|
/**
|
|
@@ -4923,6 +5368,91 @@ type CommodityControllerBulkCreateData = {
|
|
|
4923
5368
|
region: 'cn' | 'us' | 'de' | 'gb';
|
|
4924
5369
|
};
|
|
4925
5370
|
type CommodityControllerBulkCreateResponse = Array<CommodityResponseDto>;
|
|
5371
|
+
type PriceControllerCreateData = {
|
|
5372
|
+
/**
|
|
5373
|
+
* Region code for tenant context
|
|
5374
|
+
*/
|
|
5375
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5376
|
+
requestBody: CreateBeanPriceDto;
|
|
5377
|
+
};
|
|
5378
|
+
type PriceControllerCreateResponse = PriceResponseDto;
|
|
5379
|
+
type PriceControllerFindAllData = {
|
|
5380
|
+
/**
|
|
5381
|
+
* Filter by currency (e.g., BTC, AAPL, USD)
|
|
5382
|
+
*/
|
|
5383
|
+
currency?: string;
|
|
5384
|
+
/**
|
|
5385
|
+
* Filter prices from this date (ISO 8601 format)
|
|
5386
|
+
*/
|
|
5387
|
+
dateFrom?: string;
|
|
5388
|
+
/**
|
|
5389
|
+
* Filter prices to this date (ISO 8601 format)
|
|
5390
|
+
*/
|
|
5391
|
+
dateTo?: string;
|
|
5392
|
+
/**
|
|
5393
|
+
* Number of items per page (default: 20, max: 100)
|
|
5394
|
+
*/
|
|
5395
|
+
limit?: number;
|
|
5396
|
+
/**
|
|
5397
|
+
* Page number for pagination (default: 1)
|
|
5398
|
+
*/
|
|
5399
|
+
page?: number;
|
|
5400
|
+
/**
|
|
5401
|
+
* Filter by quote currency (pricing currency, e.g., USD, CNY)
|
|
5402
|
+
*/
|
|
5403
|
+
quoteCurrency?: string;
|
|
5404
|
+
/**
|
|
5405
|
+
* Region code for tenant context
|
|
5406
|
+
*/
|
|
5407
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5408
|
+
/**
|
|
5409
|
+
* Search term for currency or quoteCurrency (case-insensitive partial match)
|
|
5410
|
+
*/
|
|
5411
|
+
search?: string;
|
|
5412
|
+
};
|
|
5413
|
+
type PriceControllerFindAllResponse = PriceListResponseDto;
|
|
5414
|
+
type PriceControllerFindOneData = {
|
|
5415
|
+
/**
|
|
5416
|
+
* Price ID
|
|
5417
|
+
*/
|
|
5418
|
+
id: string;
|
|
5419
|
+
/**
|
|
5420
|
+
* Region code for tenant context
|
|
5421
|
+
*/
|
|
5422
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5423
|
+
};
|
|
5424
|
+
type PriceControllerFindOneResponse = PriceResponseDto;
|
|
5425
|
+
type PriceControllerUpdateData = {
|
|
5426
|
+
/**
|
|
5427
|
+
* Price ID
|
|
5428
|
+
*/
|
|
5429
|
+
id: string;
|
|
5430
|
+
/**
|
|
5431
|
+
* Region code for tenant context
|
|
5432
|
+
*/
|
|
5433
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5434
|
+
requestBody: UpdateBeanPriceDto;
|
|
5435
|
+
};
|
|
5436
|
+
type PriceControllerUpdateResponse = PriceResponseDto;
|
|
5437
|
+
type PriceControllerDeleteData = {
|
|
5438
|
+
/**
|
|
5439
|
+
* Price ID
|
|
5440
|
+
*/
|
|
5441
|
+
id: string;
|
|
5442
|
+
/**
|
|
5443
|
+
* Region code for tenant context
|
|
5444
|
+
*/
|
|
5445
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5446
|
+
};
|
|
5447
|
+
type PriceControllerDeleteResponse = void;
|
|
5448
|
+
type PriceControllerBulkCreateData = {
|
|
5449
|
+
/**
|
|
5450
|
+
* Region code for tenant context
|
|
5451
|
+
*/
|
|
5452
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5453
|
+
requestBody: Array<string>;
|
|
5454
|
+
};
|
|
5455
|
+
type PriceControllerBulkCreateResponse = Array<PriceResponseDto>;
|
|
4926
5456
|
type RecurringRuleControllerCreateData = {
|
|
4927
5457
|
/**
|
|
4928
5458
|
* Region code for tenant context
|
|
@@ -5300,6 +5830,135 @@ type PropertyControllerDeleteData = {
|
|
|
5300
5830
|
key: string;
|
|
5301
5831
|
};
|
|
5302
5832
|
type PropertyControllerDeleteResponse = void;
|
|
5833
|
+
type EventControllerCreateData = {
|
|
5834
|
+
/**
|
|
5835
|
+
* Region code for tenant context (decorative for life events)
|
|
5836
|
+
*/
|
|
5837
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5838
|
+
requestBody: CreateBeanEventDto;
|
|
5839
|
+
};
|
|
5840
|
+
type EventControllerCreateResponse = EventResponseDto;
|
|
5841
|
+
type EventControllerFindAllData = {
|
|
5842
|
+
/**
|
|
5843
|
+
* Filter life events from this date (ISO 8601 format)
|
|
5844
|
+
*/
|
|
5845
|
+
from?: string;
|
|
5846
|
+
/**
|
|
5847
|
+
* Number of items per page (default: 20, max: 100)
|
|
5848
|
+
*/
|
|
5849
|
+
limit?: number;
|
|
5850
|
+
/**
|
|
5851
|
+
* Page number for pagination (default: 1)
|
|
5852
|
+
*/
|
|
5853
|
+
page?: number;
|
|
5854
|
+
/**
|
|
5855
|
+
* Search term for description (case-insensitive partial match)
|
|
5856
|
+
*/
|
|
5857
|
+
q?: string;
|
|
5858
|
+
/**
|
|
5859
|
+
* Region code for tenant context (decorative for life events)
|
|
5860
|
+
*/
|
|
5861
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5862
|
+
/**
|
|
5863
|
+
* Filter life events to this date (ISO 8601 format)
|
|
5864
|
+
*/
|
|
5865
|
+
to?: string;
|
|
5866
|
+
/**
|
|
5867
|
+
* Filter by life event type (exact match)
|
|
5868
|
+
*/
|
|
5869
|
+
type?: string;
|
|
5870
|
+
};
|
|
5871
|
+
type EventControllerFindAllResponse = EventListResponseDto;
|
|
5872
|
+
type EventControllerFindOneData = {
|
|
5873
|
+
/**
|
|
5874
|
+
* Life event ID
|
|
5875
|
+
*/
|
|
5876
|
+
id: string;
|
|
5877
|
+
/**
|
|
5878
|
+
* Region code for tenant context (decorative for life events)
|
|
5879
|
+
*/
|
|
5880
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5881
|
+
};
|
|
5882
|
+
type EventControllerFindOneResponse = EventResponseDto;
|
|
5883
|
+
type EventControllerUpdateData = {
|
|
5884
|
+
/**
|
|
5885
|
+
* Life event ID
|
|
5886
|
+
*/
|
|
5887
|
+
id: string;
|
|
5888
|
+
/**
|
|
5889
|
+
* Region code for tenant context (decorative for life events)
|
|
5890
|
+
*/
|
|
5891
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5892
|
+
requestBody: UpdateBeanEventDto;
|
|
5893
|
+
};
|
|
5894
|
+
type EventControllerUpdateResponse = EventResponseDto;
|
|
5895
|
+
type EventControllerDeleteData = {
|
|
5896
|
+
/**
|
|
5897
|
+
* Life event ID
|
|
5898
|
+
*/
|
|
5899
|
+
id: string;
|
|
5900
|
+
/**
|
|
5901
|
+
* Region code for tenant context (decorative for life events)
|
|
5902
|
+
*/
|
|
5903
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5904
|
+
};
|
|
5905
|
+
type EventControllerDeleteResponse = void;
|
|
5906
|
+
type EventControllerGetSliceData = {
|
|
5907
|
+
accountPattern: string;
|
|
5908
|
+
granularity: string;
|
|
5909
|
+
/**
|
|
5910
|
+
* Life event ID
|
|
5911
|
+
*/
|
|
5912
|
+
id: string;
|
|
5913
|
+
/**
|
|
5914
|
+
* Region code for tenant context (decorative for life events)
|
|
5915
|
+
*/
|
|
5916
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5917
|
+
};
|
|
5918
|
+
type EventControllerGetSliceResponse = unknown;
|
|
5919
|
+
type OnboardingControllerBootstrapData = {
|
|
5920
|
+
/**
|
|
5921
|
+
* Region code for tenant context
|
|
5922
|
+
*/
|
|
5923
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5924
|
+
requestBody: OnboardingDto;
|
|
5925
|
+
};
|
|
5926
|
+
type OnboardingControllerBootstrapResponse = unknown;
|
|
5927
|
+
type ReconciliationControllerComputeData = {
|
|
5928
|
+
/**
|
|
5929
|
+
* Region code for tenant context (decorative for reconciliation)
|
|
5930
|
+
*/
|
|
5931
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5932
|
+
requestBody: ComputeReconciliationDto;
|
|
5933
|
+
};
|
|
5934
|
+
type ReconciliationControllerComputeResponse = ReconciliationComputeResultDto;
|
|
5935
|
+
type ReconciliationControllerAssertData = {
|
|
5936
|
+
/**
|
|
5937
|
+
* Region code for tenant context (decorative for reconciliation)
|
|
5938
|
+
*/
|
|
5939
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5940
|
+
requestBody: AssertReconciliationDto;
|
|
5941
|
+
};
|
|
5942
|
+
type ReconciliationControllerAssertResponse = ReconciliationRecordDto;
|
|
5943
|
+
type ReconciliationControllerPadData = {
|
|
5944
|
+
/**
|
|
5945
|
+
* Region code for tenant context (decorative for reconciliation)
|
|
5946
|
+
*/
|
|
5947
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5948
|
+
requestBody: PadReconciliationDto;
|
|
5949
|
+
};
|
|
5950
|
+
type ReconciliationControllerPadResponse = PadResultDto;
|
|
5951
|
+
type ReconciliationControllerHistoryData = {
|
|
5952
|
+
/**
|
|
5953
|
+
* BeanAccount id
|
|
5954
|
+
*/
|
|
5955
|
+
accountId: string;
|
|
5956
|
+
/**
|
|
5957
|
+
* Region code for tenant context (decorative for reconciliation)
|
|
5958
|
+
*/
|
|
5959
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5960
|
+
};
|
|
5961
|
+
type ReconciliationControllerHistoryResponse = Array<ReconciliationRecordDto>;
|
|
5303
5962
|
type ExportControllerExportBeancountResponse = unknown;
|
|
5304
5963
|
type FileImportControllerImportFileData = {
|
|
5305
5964
|
/**
|
|
@@ -5367,50 +6026,18 @@ type ImporterConfigControllerUpdateConfigData = {
|
|
|
5367
6026
|
*/
|
|
5368
6027
|
requestBody: UpdateImporterConfigDto;
|
|
5369
6028
|
};
|
|
5370
|
-
type ImporterConfigControllerUpdateConfigResponse = ImporterConfigDto;
|
|
5371
|
-
type ImporterConfigControllerResetConfigData = {
|
|
5372
|
-
/**
|
|
5373
|
-
* Importer identifier. Supported importers: alipay, alipay-web, wechat, boc, boc-credit, ccb, cmb, cmbc, cmbc-credit, icbc, icbc-credit, hsbc-hk-credit, hsbc-hk-debit
|
|
5374
|
-
*/
|
|
5375
|
-
importerId: string;
|
|
5376
|
-
/**
|
|
5377
|
-
* Region code for tenant context
|
|
5378
|
-
*/
|
|
5379
|
-
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5380
|
-
};
|
|
5381
|
-
type ImporterConfigControllerResetConfigResponse = ImporterConfigDto;
|
|
5382
|
-
type PlatformControllerFindAllResponse = unknown;
|
|
5383
|
-
type PlatformControllerCreateData = {
|
|
5384
|
-
requestBody: CreatePlatformDto;
|
|
5385
|
-
};
|
|
5386
|
-
type PlatformControllerCreateResponse = unknown;
|
|
5387
|
-
type PlatformControllerGetPlatformListResponse = unknown;
|
|
5388
|
-
type PlatformControllerMatchPlatformsData = {
|
|
5389
|
-
/**
|
|
5390
|
-
* Search query — Chinese name, English name, or abbreviation
|
|
5391
|
-
*/
|
|
5392
|
-
q: string;
|
|
5393
|
-
/**
|
|
5394
|
-
* Region code for category override lookup
|
|
5395
|
-
*/
|
|
5396
|
-
region?: string;
|
|
5397
|
-
};
|
|
5398
|
-
type PlatformControllerMatchPlatformsResponse = unknown;
|
|
5399
|
-
type PlatformControllerUpdateData = {
|
|
6029
|
+
type ImporterConfigControllerUpdateConfigResponse = ImporterConfigDto;
|
|
6030
|
+
type ImporterConfigControllerResetConfigData = {
|
|
5400
6031
|
/**
|
|
5401
|
-
*
|
|
6032
|
+
* Importer identifier. Supported importers: alipay, alipay-web, wechat, boc, boc-credit, ccb, cmb, cmbc, cmbc-credit, icbc, icbc-credit, hsbc-hk-credit, hsbc-hk-debit
|
|
5402
6033
|
*/
|
|
5403
|
-
|
|
5404
|
-
requestBody: UpdatePlatformDto;
|
|
5405
|
-
};
|
|
5406
|
-
type PlatformControllerUpdateResponse = unknown;
|
|
5407
|
-
type PlatformControllerDeleteData = {
|
|
6034
|
+
importerId: string;
|
|
5408
6035
|
/**
|
|
5409
|
-
*
|
|
6036
|
+
* Region code for tenant context
|
|
5410
6037
|
*/
|
|
5411
|
-
|
|
6038
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5412
6039
|
};
|
|
5413
|
-
type
|
|
6040
|
+
type ImporterConfigControllerResetConfigResponse = ImporterConfigDto;
|
|
5414
6041
|
type ProviderSyncControllerSyncData = {
|
|
5415
6042
|
/**
|
|
5416
6043
|
* Provider name
|
|
@@ -5441,6 +6068,38 @@ type ProviderSyncControllerIsProviderSupportedData = {
|
|
|
5441
6068
|
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5442
6069
|
};
|
|
5443
6070
|
type ProviderSyncControllerIsProviderSupportedResponse = unknown;
|
|
6071
|
+
type ExternalAccountLinkControllerCreateData = {
|
|
6072
|
+
/**
|
|
6073
|
+
* Region code for tenant context
|
|
6074
|
+
*/
|
|
6075
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
6076
|
+
requestBody: CreateExternalAccountLinkDto;
|
|
6077
|
+
};
|
|
6078
|
+
type ExternalAccountLinkControllerCreateResponse = ExternalAccountLinkResponseDto;
|
|
6079
|
+
type ExternalAccountLinkControllerFindAllData = {
|
|
6080
|
+
provider: string;
|
|
6081
|
+
/**
|
|
6082
|
+
* Region code for tenant context
|
|
6083
|
+
*/
|
|
6084
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
6085
|
+
};
|
|
6086
|
+
type ExternalAccountLinkControllerFindAllResponse = ExternalAccountLinkListResponseDto;
|
|
6087
|
+
type ExternalAccountLinkControllerFindOneData = {
|
|
6088
|
+
id: string;
|
|
6089
|
+
/**
|
|
6090
|
+
* Region code for tenant context
|
|
6091
|
+
*/
|
|
6092
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
6093
|
+
};
|
|
6094
|
+
type ExternalAccountLinkControllerFindOneResponse = ExternalAccountLinkResponseDto;
|
|
6095
|
+
type ExternalAccountLinkControllerRemoveData = {
|
|
6096
|
+
id: string;
|
|
6097
|
+
/**
|
|
6098
|
+
* Region code for tenant context
|
|
6099
|
+
*/
|
|
6100
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
6101
|
+
};
|
|
6102
|
+
type ExternalAccountLinkControllerRemoveResponse = void;
|
|
5444
6103
|
type TelemetryControllerReportTelemetryData = {
|
|
5445
6104
|
/**
|
|
5446
6105
|
* Region code for tenant context
|
|
@@ -5501,6 +6160,38 @@ type NlpControllerGetSessionData = {
|
|
|
5501
6160
|
sessionId?: string;
|
|
5502
6161
|
};
|
|
5503
6162
|
type NlpControllerGetSessionResponse = unknown;
|
|
6163
|
+
type PlatformControllerFindAllResponse = unknown;
|
|
6164
|
+
type PlatformControllerCreateData = {
|
|
6165
|
+
requestBody: CreatePlatformDto;
|
|
6166
|
+
};
|
|
6167
|
+
type PlatformControllerCreateResponse = unknown;
|
|
6168
|
+
type PlatformControllerGetPlatformListResponse = unknown;
|
|
6169
|
+
type PlatformControllerMatchPlatformsData = {
|
|
6170
|
+
/**
|
|
6171
|
+
* Search query — Chinese name, English name, or abbreviation
|
|
6172
|
+
*/
|
|
6173
|
+
q: string;
|
|
6174
|
+
/**
|
|
6175
|
+
* Region code for category override lookup
|
|
6176
|
+
*/
|
|
6177
|
+
region?: string;
|
|
6178
|
+
};
|
|
6179
|
+
type PlatformControllerMatchPlatformsResponse = unknown;
|
|
6180
|
+
type PlatformControllerUpdateData = {
|
|
6181
|
+
/**
|
|
6182
|
+
* Platform ID
|
|
6183
|
+
*/
|
|
6184
|
+
id: string;
|
|
6185
|
+
requestBody: UpdatePlatformDto;
|
|
6186
|
+
};
|
|
6187
|
+
type PlatformControllerUpdateResponse = unknown;
|
|
6188
|
+
type PlatformControllerDeleteData = {
|
|
6189
|
+
/**
|
|
6190
|
+
* Platform ID
|
|
6191
|
+
*/
|
|
6192
|
+
id: string;
|
|
6193
|
+
};
|
|
6194
|
+
type PlatformControllerDeleteResponse = void;
|
|
5504
6195
|
type DashboardControllerGetNetWorthData = {
|
|
5505
6196
|
/**
|
|
5506
6197
|
* Date for balance calculation (ISO 8601 format)
|
|
@@ -5542,113 +6233,62 @@ type DashboardControllerGetCashFlowData = {
|
|
|
5542
6233
|
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5543
6234
|
};
|
|
5544
6235
|
type DashboardControllerGetCashFlowResponse = CashFlowResponseDto;
|
|
5545
|
-
type
|
|
5546
|
-
/**
|
|
5547
|
-
* Scope to a single account
|
|
5548
|
-
*/
|
|
5549
|
-
accountId?: string;
|
|
5550
|
-
/**
|
|
5551
|
-
* As-of date (ISO 8601), defaults to today
|
|
5552
|
-
*/
|
|
5553
|
-
asOf?: string;
|
|
5554
|
-
/**
|
|
5555
|
-
* Realized-P&L lot-matching method (default average). Does not affect the average-cost unrealized basis.
|
|
5556
|
-
*/
|
|
5557
|
-
method?: 'FIFO' | 'average';
|
|
5558
|
-
/**
|
|
5559
|
-
* Region code for tenant context
|
|
5560
|
-
*/
|
|
5561
|
-
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5562
|
-
};
|
|
5563
|
-
type HoldingPnlControllerGetHoldingPnlResponse = HoldingPnlResponseDto;
|
|
5564
|
-
type PriceControllerCreateData = {
|
|
5565
|
-
/**
|
|
5566
|
-
* Region code for tenant context
|
|
5567
|
-
*/
|
|
5568
|
-
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5569
|
-
requestBody: CreateBeanPriceDto;
|
|
5570
|
-
};
|
|
5571
|
-
type PriceControllerCreateResponse = PriceResponseDto;
|
|
5572
|
-
type PriceControllerFindAllData = {
|
|
5573
|
-
/**
|
|
5574
|
-
* Filter by currency (e.g., BTC, AAPL, USD)
|
|
5575
|
-
*/
|
|
5576
|
-
currency?: string;
|
|
5577
|
-
/**
|
|
5578
|
-
* Filter prices from this date (ISO 8601 format)
|
|
5579
|
-
*/
|
|
5580
|
-
dateFrom?: string;
|
|
5581
|
-
/**
|
|
5582
|
-
* Filter prices to this date (ISO 8601 format)
|
|
5583
|
-
*/
|
|
5584
|
-
dateTo?: string;
|
|
6236
|
+
type DashboardControllerGetExpensesData = {
|
|
5585
6237
|
/**
|
|
5586
|
-
*
|
|
6238
|
+
* Account root to aggregate (expense → ^Expenses:, income → ^Income:)
|
|
5587
6239
|
*/
|
|
5588
|
-
|
|
6240
|
+
flow?: 'expense' | 'income';
|
|
5589
6241
|
/**
|
|
5590
|
-
*
|
|
6242
|
+
* Grouping strategy
|
|
5591
6243
|
*/
|
|
5592
|
-
|
|
6244
|
+
groupBy?: 'category';
|
|
5593
6245
|
/**
|
|
5594
|
-
*
|
|
6246
|
+
* Time window (1m = current calendar month)
|
|
5595
6247
|
*/
|
|
5596
|
-
|
|
6248
|
+
period?: '1m' | '3m' | '6m' | '1y';
|
|
5597
6249
|
/**
|
|
5598
6250
|
* Region code for tenant context
|
|
5599
6251
|
*/
|
|
5600
6252
|
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5601
|
-
/**
|
|
5602
|
-
* Search term for currency or quoteCurrency (case-insensitive partial match)
|
|
5603
|
-
*/
|
|
5604
|
-
search?: string;
|
|
5605
6253
|
};
|
|
5606
|
-
type
|
|
5607
|
-
type
|
|
6254
|
+
type DashboardControllerGetExpensesResponse = ExpensesByCategoryResponseDto;
|
|
6255
|
+
type HoldingPnlControllerGetHoldingPnlData = {
|
|
5608
6256
|
/**
|
|
5609
|
-
*
|
|
6257
|
+
* Scope to a single account
|
|
5610
6258
|
*/
|
|
5611
|
-
|
|
6259
|
+
accountId?: string;
|
|
5612
6260
|
/**
|
|
5613
|
-
*
|
|
6261
|
+
* As-of date (ISO 8601), defaults to today
|
|
5614
6262
|
*/
|
|
5615
|
-
|
|
5616
|
-
};
|
|
5617
|
-
type PriceControllerFindOneResponse = PriceResponseDto;
|
|
5618
|
-
type PriceControllerUpdateData = {
|
|
6263
|
+
asOf?: string;
|
|
5619
6264
|
/**
|
|
5620
|
-
*
|
|
6265
|
+
* Realized-P&L lot-matching method (default average). Does not affect the average-cost unrealized basis.
|
|
5621
6266
|
*/
|
|
5622
|
-
|
|
6267
|
+
method?: 'FIFO' | 'average';
|
|
5623
6268
|
/**
|
|
5624
6269
|
* Region code for tenant context
|
|
5625
6270
|
*/
|
|
5626
6271
|
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5627
|
-
requestBody: UpdateBeanPriceDto;
|
|
5628
6272
|
};
|
|
5629
|
-
type
|
|
5630
|
-
type
|
|
6273
|
+
type HoldingPnlControllerGetHoldingPnlResponse = HoldingPnlResponseDto;
|
|
6274
|
+
type ReportingControllerGetPortfolioTrendsData = {
|
|
5631
6275
|
/**
|
|
5632
|
-
*
|
|
6276
|
+
* Data granularity
|
|
5633
6277
|
*/
|
|
5634
|
-
|
|
6278
|
+
granularity?: 'day' | 'week' | 'month';
|
|
5635
6279
|
/**
|
|
5636
|
-
*
|
|
6280
|
+
* Time period
|
|
5637
6281
|
*/
|
|
5638
|
-
|
|
5639
|
-
};
|
|
5640
|
-
type PriceControllerDeleteResponse = void;
|
|
5641
|
-
type PriceControllerBulkCreateData = {
|
|
6282
|
+
period?: '1m' | '3m' | '6m' | '1y';
|
|
5642
6283
|
/**
|
|
5643
6284
|
* Region code for tenant context
|
|
5644
6285
|
*/
|
|
5645
6286
|
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5646
|
-
requestBody: Array<string>;
|
|
5647
6287
|
};
|
|
5648
|
-
type
|
|
5649
|
-
type
|
|
6288
|
+
type ReportingControllerGetPortfolioTrendsResponse = PortfolioTrendsResponseDto;
|
|
6289
|
+
type ReportingControllerGetCashFlowTrendsData = {
|
|
5650
6290
|
/**
|
|
5651
|
-
* Data granularity
|
|
6291
|
+
* Data granularity (accepted for API symmetry; v1 returns month buckets)
|
|
5652
6292
|
*/
|
|
5653
6293
|
granularity?: 'day' | 'week' | 'month';
|
|
5654
6294
|
/**
|
|
@@ -5660,7 +6300,7 @@ type ReportingControllerGetPortfolioTrendsData = {
|
|
|
5660
6300
|
*/
|
|
5661
6301
|
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5662
6302
|
};
|
|
5663
|
-
type
|
|
6303
|
+
type ReportingControllerGetCashFlowTrendsResponse = CashFlowTrendsResponseDto;
|
|
5664
6304
|
type ReportingControllerGenerateSnapshotData = {
|
|
5665
6305
|
/**
|
|
5666
6306
|
* Region code for tenant context
|
|
@@ -6365,65 +7005,149 @@ type $OpenApiTs = {
|
|
|
6365
7005
|
req: CommodityControllerFindOneData;
|
|
6366
7006
|
res: {
|
|
6367
7007
|
/**
|
|
6368
|
-
* Commodity retrieved successfully
|
|
7008
|
+
* Commodity retrieved successfully
|
|
7009
|
+
*/
|
|
7010
|
+
200: CommodityResponseDto;
|
|
7011
|
+
/**
|
|
7012
|
+
* Commodity not found
|
|
7013
|
+
*/
|
|
7014
|
+
404: ApiProblemResponseDto;
|
|
7015
|
+
};
|
|
7016
|
+
};
|
|
7017
|
+
put: {
|
|
7018
|
+
req: CommodityControllerUpdateData;
|
|
7019
|
+
res: {
|
|
7020
|
+
/**
|
|
7021
|
+
* Commodity updated successfully
|
|
7022
|
+
*/
|
|
7023
|
+
200: CommodityResponseDto;
|
|
7024
|
+
/**
|
|
7025
|
+
* Invalid input data
|
|
7026
|
+
*/
|
|
7027
|
+
400: ApiProblemResponseDto;
|
|
7028
|
+
/**
|
|
7029
|
+
* Commodity not found
|
|
7030
|
+
*/
|
|
7031
|
+
404: ApiProblemResponseDto;
|
|
7032
|
+
};
|
|
7033
|
+
};
|
|
7034
|
+
delete: {
|
|
7035
|
+
req: CommodityControllerDeleteData;
|
|
7036
|
+
res: {
|
|
7037
|
+
/**
|
|
7038
|
+
* Commodity deleted successfully
|
|
7039
|
+
*/
|
|
7040
|
+
204: void;
|
|
7041
|
+
/**
|
|
7042
|
+
* Commodity not found
|
|
7043
|
+
*/
|
|
7044
|
+
404: ApiProblemResponseDto;
|
|
7045
|
+
};
|
|
7046
|
+
};
|
|
7047
|
+
};
|
|
7048
|
+
'/api/v1/{region}/bean/commodities/{symbol}/ensure': {
|
|
7049
|
+
post: {
|
|
7050
|
+
req: CommodityControllerGetOrCreateData;
|
|
7051
|
+
res: {
|
|
7052
|
+
/**
|
|
7053
|
+
* Commodity retrieved or created
|
|
7054
|
+
*/
|
|
7055
|
+
200: CommodityResponseDto;
|
|
7056
|
+
};
|
|
7057
|
+
};
|
|
7058
|
+
};
|
|
7059
|
+
'/api/v1/{region}/bean/commodities/bulk': {
|
|
7060
|
+
post: {
|
|
7061
|
+
req: CommodityControllerBulkCreateData;
|
|
7062
|
+
res: {
|
|
7063
|
+
/**
|
|
7064
|
+
* Commodities created successfully
|
|
7065
|
+
*/
|
|
7066
|
+
201: Array<CommodityResponseDto>;
|
|
7067
|
+
};
|
|
7068
|
+
};
|
|
7069
|
+
};
|
|
7070
|
+
'/api/v1/{region}/bean/prices': {
|
|
7071
|
+
post: {
|
|
7072
|
+
req: PriceControllerCreateData;
|
|
7073
|
+
res: {
|
|
7074
|
+
/**
|
|
7075
|
+
* Price created successfully
|
|
7076
|
+
*/
|
|
7077
|
+
201: PriceResponseDto;
|
|
7078
|
+
/**
|
|
7079
|
+
* Currency or quoteCurrency commodity not found
|
|
7080
|
+
*/
|
|
7081
|
+
404: unknown;
|
|
7082
|
+
/**
|
|
7083
|
+
* Price already exists for this currency pair and date
|
|
7084
|
+
*/
|
|
7085
|
+
409: unknown;
|
|
7086
|
+
};
|
|
7087
|
+
};
|
|
7088
|
+
get: {
|
|
7089
|
+
req: PriceControllerFindAllData;
|
|
7090
|
+
res: {
|
|
7091
|
+
/**
|
|
7092
|
+
* Prices retrieved successfully
|
|
7093
|
+
*/
|
|
7094
|
+
200: PriceListResponseDto;
|
|
7095
|
+
};
|
|
7096
|
+
};
|
|
7097
|
+
};
|
|
7098
|
+
'/api/v1/{region}/bean/prices/{id}': {
|
|
7099
|
+
get: {
|
|
7100
|
+
req: PriceControllerFindOneData;
|
|
7101
|
+
res: {
|
|
7102
|
+
/**
|
|
7103
|
+
* Price retrieved successfully
|
|
6369
7104
|
*/
|
|
6370
|
-
200:
|
|
7105
|
+
200: PriceResponseDto;
|
|
6371
7106
|
/**
|
|
6372
|
-
*
|
|
7107
|
+
* Price not found
|
|
6373
7108
|
*/
|
|
6374
|
-
404:
|
|
7109
|
+
404: unknown;
|
|
6375
7110
|
};
|
|
6376
7111
|
};
|
|
6377
7112
|
put: {
|
|
6378
|
-
req:
|
|
7113
|
+
req: PriceControllerUpdateData;
|
|
6379
7114
|
res: {
|
|
6380
7115
|
/**
|
|
6381
|
-
*
|
|
7116
|
+
* Price updated successfully
|
|
6382
7117
|
*/
|
|
6383
|
-
200:
|
|
7118
|
+
200: PriceResponseDto;
|
|
6384
7119
|
/**
|
|
6385
|
-
*
|
|
7120
|
+
* Price not found
|
|
6386
7121
|
*/
|
|
6387
|
-
|
|
7122
|
+
404: unknown;
|
|
6388
7123
|
/**
|
|
6389
|
-
*
|
|
7124
|
+
* Updated price conflicts with existing price
|
|
6390
7125
|
*/
|
|
6391
|
-
|
|
7126
|
+
409: unknown;
|
|
6392
7127
|
};
|
|
6393
7128
|
};
|
|
6394
7129
|
delete: {
|
|
6395
|
-
req:
|
|
7130
|
+
req: PriceControllerDeleteData;
|
|
6396
7131
|
res: {
|
|
6397
7132
|
/**
|
|
6398
|
-
*
|
|
7133
|
+
* Price deleted successfully
|
|
6399
7134
|
*/
|
|
6400
7135
|
204: void;
|
|
6401
7136
|
/**
|
|
6402
|
-
*
|
|
6403
|
-
*/
|
|
6404
|
-
404: ApiProblemResponseDto;
|
|
6405
|
-
};
|
|
6406
|
-
};
|
|
6407
|
-
};
|
|
6408
|
-
'/api/v1/{region}/bean/commodities/{symbol}/ensure': {
|
|
6409
|
-
post: {
|
|
6410
|
-
req: CommodityControllerGetOrCreateData;
|
|
6411
|
-
res: {
|
|
6412
|
-
/**
|
|
6413
|
-
* Commodity retrieved or created
|
|
7137
|
+
* Price not found
|
|
6414
7138
|
*/
|
|
6415
|
-
|
|
7139
|
+
404: unknown;
|
|
6416
7140
|
};
|
|
6417
7141
|
};
|
|
6418
7142
|
};
|
|
6419
|
-
'/api/v1/{region}/bean/
|
|
7143
|
+
'/api/v1/{region}/bean/prices/bulk': {
|
|
6420
7144
|
post: {
|
|
6421
|
-
req:
|
|
7145
|
+
req: PriceControllerBulkCreateData;
|
|
6422
7146
|
res: {
|
|
6423
7147
|
/**
|
|
6424
|
-
*
|
|
7148
|
+
* Prices created successfully
|
|
6425
7149
|
*/
|
|
6426
|
-
201: Array<
|
|
7150
|
+
201: Array<PriceResponseDto>;
|
|
6427
7151
|
};
|
|
6428
7152
|
};
|
|
6429
7153
|
};
|
|
@@ -7071,6 +7795,181 @@ type $OpenApiTs = {
|
|
|
7071
7795
|
};
|
|
7072
7796
|
};
|
|
7073
7797
|
};
|
|
7798
|
+
'/api/v1/{region}/bean/events': {
|
|
7799
|
+
post: {
|
|
7800
|
+
req: EventControllerCreateData;
|
|
7801
|
+
res: {
|
|
7802
|
+
/**
|
|
7803
|
+
* Life event created successfully
|
|
7804
|
+
*/
|
|
7805
|
+
201: EventResponseDto;
|
|
7806
|
+
/**
|
|
7807
|
+
* Life event already exists for this (userId, type, date) combination
|
|
7808
|
+
*/
|
|
7809
|
+
409: unknown;
|
|
7810
|
+
};
|
|
7811
|
+
};
|
|
7812
|
+
get: {
|
|
7813
|
+
req: EventControllerFindAllData;
|
|
7814
|
+
res: {
|
|
7815
|
+
/**
|
|
7816
|
+
* Life events retrieved successfully
|
|
7817
|
+
*/
|
|
7818
|
+
200: EventListResponseDto;
|
|
7819
|
+
};
|
|
7820
|
+
};
|
|
7821
|
+
};
|
|
7822
|
+
'/api/v1/{region}/bean/events/{id}': {
|
|
7823
|
+
get: {
|
|
7824
|
+
req: EventControllerFindOneData;
|
|
7825
|
+
res: {
|
|
7826
|
+
/**
|
|
7827
|
+
* Life event retrieved successfully
|
|
7828
|
+
*/
|
|
7829
|
+
200: EventResponseDto;
|
|
7830
|
+
/**
|
|
7831
|
+
* Life event not found
|
|
7832
|
+
*/
|
|
7833
|
+
404: unknown;
|
|
7834
|
+
};
|
|
7835
|
+
};
|
|
7836
|
+
put: {
|
|
7837
|
+
req: EventControllerUpdateData;
|
|
7838
|
+
res: {
|
|
7839
|
+
/**
|
|
7840
|
+
* Life event updated successfully
|
|
7841
|
+
*/
|
|
7842
|
+
200: EventResponseDto;
|
|
7843
|
+
/**
|
|
7844
|
+
* If-Match header is not a valid ISO 8601 date
|
|
7845
|
+
*/
|
|
7846
|
+
400: unknown;
|
|
7847
|
+
/**
|
|
7848
|
+
* Life event not found
|
|
7849
|
+
*/
|
|
7850
|
+
404: unknown;
|
|
7851
|
+
/**
|
|
7852
|
+
* Updated event conflicts with an existing (userId, type, date) combination
|
|
7853
|
+
*/
|
|
7854
|
+
409: unknown;
|
|
7855
|
+
/**
|
|
7856
|
+
* If-Match precondition failed (updatedAt mismatch)
|
|
7857
|
+
*/
|
|
7858
|
+
412: unknown;
|
|
7859
|
+
};
|
|
7860
|
+
};
|
|
7861
|
+
delete: {
|
|
7862
|
+
req: EventControllerDeleteData;
|
|
7863
|
+
res: {
|
|
7864
|
+
/**
|
|
7865
|
+
* Life event deleted successfully
|
|
7866
|
+
*/
|
|
7867
|
+
204: void;
|
|
7868
|
+
/**
|
|
7869
|
+
* Life event not found
|
|
7870
|
+
*/
|
|
7871
|
+
404: unknown;
|
|
7872
|
+
};
|
|
7873
|
+
};
|
|
7874
|
+
};
|
|
7875
|
+
'/api/v1/{region}/bean/events/{id}/slice': {
|
|
7876
|
+
get: {
|
|
7877
|
+
req: EventControllerGetSliceData;
|
|
7878
|
+
res: {
|
|
7879
|
+
/**
|
|
7880
|
+
* Time-series sliced by the life event range
|
|
7881
|
+
*/
|
|
7882
|
+
200: unknown;
|
|
7883
|
+
/**
|
|
7884
|
+
* accountPattern query param is empty
|
|
7885
|
+
*/
|
|
7886
|
+
400: unknown;
|
|
7887
|
+
/**
|
|
7888
|
+
* Life event not found
|
|
7889
|
+
*/
|
|
7890
|
+
404: unknown;
|
|
7891
|
+
};
|
|
7892
|
+
};
|
|
7893
|
+
};
|
|
7894
|
+
'/api/v1/{region}/bean/onboarding': {
|
|
7895
|
+
post: {
|
|
7896
|
+
req: OnboardingControllerBootstrapData;
|
|
7897
|
+
res: {
|
|
7898
|
+
/**
|
|
7899
|
+
* Onboarding bootstrap result.
|
|
7900
|
+
*/
|
|
7901
|
+
201: unknown;
|
|
7902
|
+
/**
|
|
7903
|
+
* Invalid region/account path/duplicate paths.
|
|
7904
|
+
*/
|
|
7905
|
+
422: unknown;
|
|
7906
|
+
};
|
|
7907
|
+
};
|
|
7908
|
+
};
|
|
7909
|
+
'/api/v1/{region}/bean/reconciliations': {
|
|
7910
|
+
post: {
|
|
7911
|
+
req: ReconciliationControllerComputeData;
|
|
7912
|
+
res: {
|
|
7913
|
+
/**
|
|
7914
|
+
* Reconciliation preview
|
|
7915
|
+
*/
|
|
7916
|
+
200: ReconciliationComputeResultDto;
|
|
7917
|
+
/**
|
|
7918
|
+
* Account not found
|
|
7919
|
+
*/
|
|
7920
|
+
404: unknown;
|
|
7921
|
+
};
|
|
7922
|
+
};
|
|
7923
|
+
};
|
|
7924
|
+
'/api/v1/{region}/bean/reconciliations/assert': {
|
|
7925
|
+
post: {
|
|
7926
|
+
req: ReconciliationControllerAssertData;
|
|
7927
|
+
res: {
|
|
7928
|
+
/**
|
|
7929
|
+
* Balance assertion recorded
|
|
7930
|
+
*/
|
|
7931
|
+
201: ReconciliationRecordDto;
|
|
7932
|
+
/**
|
|
7933
|
+
* Account not found
|
|
7934
|
+
*/
|
|
7935
|
+
404: unknown;
|
|
7936
|
+
};
|
|
7937
|
+
};
|
|
7938
|
+
};
|
|
7939
|
+
'/api/v1/{region}/bean/reconciliations/pad': {
|
|
7940
|
+
post: {
|
|
7941
|
+
req: ReconciliationControllerPadData;
|
|
7942
|
+
res: {
|
|
7943
|
+
/**
|
|
7944
|
+
* Pad adjusting entry generated
|
|
7945
|
+
*/
|
|
7946
|
+
201: PadResultDto;
|
|
7947
|
+
/**
|
|
7948
|
+
* Book already within tolerance — no pad needed
|
|
7949
|
+
*/
|
|
7950
|
+
400: unknown;
|
|
7951
|
+
/**
|
|
7952
|
+
* Account not found
|
|
7953
|
+
*/
|
|
7954
|
+
404: unknown;
|
|
7955
|
+
};
|
|
7956
|
+
};
|
|
7957
|
+
};
|
|
7958
|
+
'/api/v1/{region}/bean/accounts/{accountId}/reconciliations': {
|
|
7959
|
+
get: {
|
|
7960
|
+
req: ReconciliationControllerHistoryData;
|
|
7961
|
+
res: {
|
|
7962
|
+
/**
|
|
7963
|
+
* Reconciliation history
|
|
7964
|
+
*/
|
|
7965
|
+
200: Array<ReconciliationRecordDto>;
|
|
7966
|
+
/**
|
|
7967
|
+
* Account not found
|
|
7968
|
+
*/
|
|
7969
|
+
404: unknown;
|
|
7970
|
+
};
|
|
7971
|
+
};
|
|
7972
|
+
};
|
|
7074
7973
|
'/api/v1/{region}/bean/export/beancount': {
|
|
7075
7974
|
get: {
|
|
7076
7975
|
res: {
|
|
@@ -7155,141 +8054,69 @@ type $OpenApiTs = {
|
|
|
7155
8054
|
* Beancount file imported successfully
|
|
7156
8055
|
*/
|
|
7157
8056
|
200: {
|
|
7158
|
-
imported?: number;
|
|
7159
|
-
skipped?: number;
|
|
7160
|
-
failed?: number;
|
|
7161
|
-
accountsCreated?: number;
|
|
7162
|
-
errors?: Array<{
|
|
7163
|
-
[key: string]: unknown;
|
|
7164
|
-
}>;
|
|
7165
|
-
};
|
|
7166
|
-
/**
|
|
7167
|
-
* Bad request - invalid file or no file uploaded
|
|
7168
|
-
*/
|
|
7169
|
-
400: ApiProblemResponseDto;
|
|
7170
|
-
};
|
|
7171
|
-
};
|
|
7172
|
-
};
|
|
7173
|
-
'/api/v1/{region}/bean/import/config/{importerId}': {
|
|
7174
|
-
get: {
|
|
7175
|
-
req: ImporterConfigControllerGetConfigData;
|
|
7176
|
-
res: {
|
|
7177
|
-
/**
|
|
7178
|
-
* Configuration retrieved successfully
|
|
7179
|
-
*/
|
|
7180
|
-
200: ImporterConfigDto;
|
|
7181
|
-
/**
|
|
7182
|
-
* Invalid input - Unsupported importer
|
|
7183
|
-
*/
|
|
7184
|
-
400: ApiProblemResponseDto;
|
|
7185
|
-
/**
|
|
7186
|
-
* Unauthorized - Authentication required
|
|
7187
|
-
*/
|
|
7188
|
-
401: ApiProblemResponseDto;
|
|
7189
|
-
};
|
|
7190
|
-
};
|
|
7191
|
-
put: {
|
|
7192
|
-
req: ImporterConfigControllerUpdateConfigData;
|
|
7193
|
-
res: {
|
|
7194
|
-
/**
|
|
7195
|
-
* Configuration updated successfully
|
|
7196
|
-
*/
|
|
7197
|
-
200: ImporterConfigDto;
|
|
7198
|
-
/**
|
|
7199
|
-
* Invalid input - Validation failed
|
|
7200
|
-
*/
|
|
7201
|
-
400: ApiProblemResponseDto;
|
|
7202
|
-
/**
|
|
7203
|
-
* Configuration not found
|
|
7204
|
-
*/
|
|
7205
|
-
404: ApiProblemResponseDto;
|
|
7206
|
-
};
|
|
7207
|
-
};
|
|
7208
|
-
};
|
|
7209
|
-
'/api/v1/{region}/bean/import/config/{importerId}/reset': {
|
|
7210
|
-
post: {
|
|
7211
|
-
req: ImporterConfigControllerResetConfigData;
|
|
7212
|
-
res: {
|
|
7213
|
-
/**
|
|
7214
|
-
* Configuration reset successfully
|
|
7215
|
-
*/
|
|
7216
|
-
200: ImporterConfigDto;
|
|
7217
|
-
/**
|
|
7218
|
-
* Invalid input - Unsupported importer
|
|
7219
|
-
*/
|
|
7220
|
-
400: ApiProblemResponseDto;
|
|
7221
|
-
};
|
|
7222
|
-
};
|
|
7223
|
-
};
|
|
7224
|
-
'/api/v1/bean/platforms': {
|
|
7225
|
-
get: {
|
|
7226
|
-
res: {
|
|
7227
|
-
/**
|
|
7228
|
-
* List of platforms with binding and account counts
|
|
7229
|
-
*/
|
|
7230
|
-
200: unknown;
|
|
7231
|
-
};
|
|
7232
|
-
};
|
|
7233
|
-
post: {
|
|
7234
|
-
req: PlatformControllerCreateData;
|
|
7235
|
-
res: {
|
|
7236
|
-
/**
|
|
7237
|
-
* Platform created successfully
|
|
7238
|
-
*/
|
|
7239
|
-
201: unknown;
|
|
8057
|
+
imported?: number;
|
|
8058
|
+
skipped?: number;
|
|
8059
|
+
failed?: number;
|
|
8060
|
+
accountsCreated?: number;
|
|
8061
|
+
errors?: Array<{
|
|
8062
|
+
[key: string]: unknown;
|
|
8063
|
+
}>;
|
|
8064
|
+
};
|
|
7240
8065
|
/**
|
|
7241
|
-
*
|
|
8066
|
+
* Bad request - invalid file or no file uploaded
|
|
7242
8067
|
*/
|
|
7243
|
-
|
|
8068
|
+
400: ApiProblemResponseDto;
|
|
7244
8069
|
};
|
|
7245
8070
|
};
|
|
7246
8071
|
};
|
|
7247
|
-
'/api/v1/bean/
|
|
8072
|
+
'/api/v1/{region}/bean/import/config/{importerId}': {
|
|
7248
8073
|
get: {
|
|
8074
|
+
req: ImporterConfigControllerGetConfigData;
|
|
7249
8075
|
res: {
|
|
7250
8076
|
/**
|
|
7251
|
-
*
|
|
8077
|
+
* Configuration retrieved successfully
|
|
7252
8078
|
*/
|
|
7253
|
-
200:
|
|
7254
|
-
};
|
|
7255
|
-
};
|
|
7256
|
-
};
|
|
7257
|
-
'/api/v1/bean/platforms/match': {
|
|
7258
|
-
get: {
|
|
7259
|
-
req: PlatformControllerMatchPlatformsData;
|
|
7260
|
-
res: {
|
|
8079
|
+
200: ImporterConfigDto;
|
|
7261
8080
|
/**
|
|
7262
|
-
*
|
|
8081
|
+
* Invalid input - Unsupported importer
|
|
7263
8082
|
*/
|
|
7264
|
-
|
|
8083
|
+
400: ApiProblemResponseDto;
|
|
8084
|
+
/**
|
|
8085
|
+
* Unauthorized - Authentication required
|
|
8086
|
+
*/
|
|
8087
|
+
401: ApiProblemResponseDto;
|
|
7265
8088
|
};
|
|
7266
8089
|
};
|
|
7267
|
-
};
|
|
7268
|
-
'/api/v1/bean/platforms/{id}': {
|
|
7269
8090
|
put: {
|
|
7270
|
-
req:
|
|
8091
|
+
req: ImporterConfigControllerUpdateConfigData;
|
|
7271
8092
|
res: {
|
|
7272
8093
|
/**
|
|
7273
|
-
*
|
|
8094
|
+
* Configuration updated successfully
|
|
7274
8095
|
*/
|
|
7275
|
-
200:
|
|
8096
|
+
200: ImporterConfigDto;
|
|
7276
8097
|
/**
|
|
7277
|
-
*
|
|
8098
|
+
* Invalid input - Validation failed
|
|
7278
8099
|
*/
|
|
7279
|
-
|
|
8100
|
+
400: ApiProblemResponseDto;
|
|
8101
|
+
/**
|
|
8102
|
+
* Configuration not found
|
|
8103
|
+
*/
|
|
8104
|
+
404: ApiProblemResponseDto;
|
|
7280
8105
|
};
|
|
7281
8106
|
};
|
|
7282
|
-
|
|
7283
|
-
|
|
8107
|
+
};
|
|
8108
|
+
'/api/v1/{region}/bean/import/config/{importerId}/reset': {
|
|
8109
|
+
post: {
|
|
8110
|
+
req: ImporterConfigControllerResetConfigData;
|
|
7284
8111
|
res: {
|
|
7285
8112
|
/**
|
|
7286
|
-
*
|
|
8113
|
+
* Configuration reset successfully
|
|
7287
8114
|
*/
|
|
7288
|
-
|
|
8115
|
+
200: ImporterConfigDto;
|
|
7289
8116
|
/**
|
|
7290
|
-
*
|
|
8117
|
+
* Invalid input - Unsupported importer
|
|
7291
8118
|
*/
|
|
7292
|
-
|
|
8119
|
+
400: ApiProblemResponseDto;
|
|
7293
8120
|
};
|
|
7294
8121
|
};
|
|
7295
8122
|
};
|
|
@@ -7346,6 +8173,54 @@ type $OpenApiTs = {
|
|
|
7346
8173
|
};
|
|
7347
8174
|
};
|
|
7348
8175
|
};
|
|
8176
|
+
'/api/v1/{region}/bean/external-account-links': {
|
|
8177
|
+
post: {
|
|
8178
|
+
req: ExternalAccountLinkControllerCreateData;
|
|
8179
|
+
res: {
|
|
8180
|
+
/**
|
|
8181
|
+
* Link created.
|
|
8182
|
+
*/
|
|
8183
|
+
201: ExternalAccountLinkResponseDto;
|
|
8184
|
+
/**
|
|
8185
|
+
* beanAccountId not owned, or an active link already exists.
|
|
8186
|
+
*/
|
|
8187
|
+
422: unknown;
|
|
8188
|
+
};
|
|
8189
|
+
};
|
|
8190
|
+
get: {
|
|
8191
|
+
req: ExternalAccountLinkControllerFindAllData;
|
|
8192
|
+
res: {
|
|
8193
|
+
/**
|
|
8194
|
+
* Links retrieved.
|
|
8195
|
+
*/
|
|
8196
|
+
200: ExternalAccountLinkListResponseDto;
|
|
8197
|
+
};
|
|
8198
|
+
};
|
|
8199
|
+
};
|
|
8200
|
+
'/api/v1/{region}/bean/external-account-links/{id}': {
|
|
8201
|
+
get: {
|
|
8202
|
+
req: ExternalAccountLinkControllerFindOneData;
|
|
8203
|
+
res: {
|
|
8204
|
+
/**
|
|
8205
|
+
* Link retrieved.
|
|
8206
|
+
*/
|
|
8207
|
+
200: ExternalAccountLinkResponseDto;
|
|
8208
|
+
/**
|
|
8209
|
+
* Link not found or not owned by the user.
|
|
8210
|
+
*/
|
|
8211
|
+
422: unknown;
|
|
8212
|
+
};
|
|
8213
|
+
};
|
|
8214
|
+
delete: {
|
|
8215
|
+
req: ExternalAccountLinkControllerRemoveData;
|
|
8216
|
+
res: {
|
|
8217
|
+
/**
|
|
8218
|
+
* Link soft-deleted; historical transactions are unaffected.
|
|
8219
|
+
*/
|
|
8220
|
+
204: void;
|
|
8221
|
+
};
|
|
8222
|
+
};
|
|
8223
|
+
};
|
|
7349
8224
|
'/api/v1/{region}/bean/import/parser-telemetry': {
|
|
7350
8225
|
post: {
|
|
7351
8226
|
req: TelemetryControllerReportTelemetryData;
|
|
@@ -7434,6 +8309,78 @@ type $OpenApiTs = {
|
|
|
7434
8309
|
};
|
|
7435
8310
|
};
|
|
7436
8311
|
};
|
|
8312
|
+
'/api/v1/bean/platforms': {
|
|
8313
|
+
get: {
|
|
8314
|
+
res: {
|
|
8315
|
+
/**
|
|
8316
|
+
* List of platforms with binding and account counts
|
|
8317
|
+
*/
|
|
8318
|
+
200: unknown;
|
|
8319
|
+
};
|
|
8320
|
+
};
|
|
8321
|
+
post: {
|
|
8322
|
+
req: PlatformControllerCreateData;
|
|
8323
|
+
res: {
|
|
8324
|
+
/**
|
|
8325
|
+
* Platform created successfully
|
|
8326
|
+
*/
|
|
8327
|
+
201: unknown;
|
|
8328
|
+
/**
|
|
8329
|
+
* Platform already exists
|
|
8330
|
+
*/
|
|
8331
|
+
409: unknown;
|
|
8332
|
+
};
|
|
8333
|
+
};
|
|
8334
|
+
};
|
|
8335
|
+
'/api/v1/bean/platforms/list': {
|
|
8336
|
+
get: {
|
|
8337
|
+
res: {
|
|
8338
|
+
/**
|
|
8339
|
+
* List of platforms with user binding status
|
|
8340
|
+
*/
|
|
8341
|
+
200: unknown;
|
|
8342
|
+
};
|
|
8343
|
+
};
|
|
8344
|
+
};
|
|
8345
|
+
'/api/v1/bean/platforms/match': {
|
|
8346
|
+
get: {
|
|
8347
|
+
req: PlatformControllerMatchPlatformsData;
|
|
8348
|
+
res: {
|
|
8349
|
+
/**
|
|
8350
|
+
* List of matching platforms with suggested segment names
|
|
8351
|
+
*/
|
|
8352
|
+
200: unknown;
|
|
8353
|
+
};
|
|
8354
|
+
};
|
|
8355
|
+
};
|
|
8356
|
+
'/api/v1/bean/platforms/{id}': {
|
|
8357
|
+
put: {
|
|
8358
|
+
req: PlatformControllerUpdateData;
|
|
8359
|
+
res: {
|
|
8360
|
+
/**
|
|
8361
|
+
* Platform updated successfully
|
|
8362
|
+
*/
|
|
8363
|
+
200: unknown;
|
|
8364
|
+
/**
|
|
8365
|
+
* Platform not found
|
|
8366
|
+
*/
|
|
8367
|
+
404: unknown;
|
|
8368
|
+
};
|
|
8369
|
+
};
|
|
8370
|
+
delete: {
|
|
8371
|
+
req: PlatformControllerDeleteData;
|
|
8372
|
+
res: {
|
|
8373
|
+
/**
|
|
8374
|
+
* Platform deleted successfully
|
|
8375
|
+
*/
|
|
8376
|
+
204: void;
|
|
8377
|
+
/**
|
|
8378
|
+
* Platform not found
|
|
8379
|
+
*/
|
|
8380
|
+
404: unknown;
|
|
8381
|
+
};
|
|
8382
|
+
};
|
|
8383
|
+
};
|
|
7437
8384
|
'/api/v1/{region}/dashboard/net-worth': {
|
|
7438
8385
|
get: {
|
|
7439
8386
|
req: DashboardControllerGetNetWorthData;
|
|
@@ -7483,16 +8430,16 @@ type $OpenApiTs = {
|
|
|
7483
8430
|
};
|
|
7484
8431
|
};
|
|
7485
8432
|
};
|
|
7486
|
-
'/api/v1/{region}/
|
|
8433
|
+
'/api/v1/{region}/dashboard/expenses': {
|
|
7487
8434
|
get: {
|
|
7488
|
-
req:
|
|
8435
|
+
req: DashboardControllerGetExpensesData;
|
|
7489
8436
|
res: {
|
|
7490
8437
|
/**
|
|
7491
|
-
*
|
|
8438
|
+
* Expenses retrieved successfully
|
|
7492
8439
|
*/
|
|
7493
|
-
200:
|
|
8440
|
+
200: ExpensesByCategoryResponseDto;
|
|
7494
8441
|
/**
|
|
7495
|
-
* Invalid
|
|
8442
|
+
* Invalid groupBy or period
|
|
7496
8443
|
*/
|
|
7497
8444
|
400: unknown;
|
|
7498
8445
|
/**
|
|
@@ -7502,98 +8449,48 @@ type $OpenApiTs = {
|
|
|
7502
8449
|
};
|
|
7503
8450
|
};
|
|
7504
8451
|
};
|
|
7505
|
-
'/api/v1/{region}/
|
|
7506
|
-
|
|
7507
|
-
req:
|
|
8452
|
+
'/api/v1/{region}/investment/holdings/pnl': {
|
|
8453
|
+
get: {
|
|
8454
|
+
req: HoldingPnlControllerGetHoldingPnlData;
|
|
7508
8455
|
res: {
|
|
7509
8456
|
/**
|
|
7510
|
-
*
|
|
7511
|
-
*/
|
|
7512
|
-
201: PriceResponseDto;
|
|
7513
|
-
/**
|
|
7514
|
-
* Currency or quoteCurrency commodity not found
|
|
8457
|
+
* Holding P&L retrieved successfully
|
|
7515
8458
|
*/
|
|
7516
|
-
|
|
8459
|
+
200: HoldingPnlResponseDto;
|
|
7517
8460
|
/**
|
|
7518
|
-
*
|
|
8461
|
+
* Invalid asOf format/value/future date, invalid accountId format, or unsupported method
|
|
7519
8462
|
*/
|
|
7520
|
-
|
|
7521
|
-
};
|
|
7522
|
-
};
|
|
7523
|
-
get: {
|
|
7524
|
-
req: PriceControllerFindAllData;
|
|
7525
|
-
res: {
|
|
8463
|
+
400: unknown;
|
|
7526
8464
|
/**
|
|
7527
|
-
*
|
|
8465
|
+
* User not authenticated
|
|
7528
8466
|
*/
|
|
7529
|
-
|
|
8467
|
+
401: unknown;
|
|
7530
8468
|
};
|
|
7531
8469
|
};
|
|
7532
8470
|
};
|
|
7533
|
-
'/api/v1/{region}/
|
|
8471
|
+
'/api/v1/{region}/reporting/portfolio/trends': {
|
|
7534
8472
|
get: {
|
|
7535
|
-
req:
|
|
7536
|
-
res: {
|
|
7537
|
-
/**
|
|
7538
|
-
* Price retrieved successfully
|
|
7539
|
-
*/
|
|
7540
|
-
200: PriceResponseDto;
|
|
7541
|
-
/**
|
|
7542
|
-
* Price not found
|
|
7543
|
-
*/
|
|
7544
|
-
404: unknown;
|
|
7545
|
-
};
|
|
7546
|
-
};
|
|
7547
|
-
put: {
|
|
7548
|
-
req: PriceControllerUpdateData;
|
|
7549
|
-
res: {
|
|
7550
|
-
/**
|
|
7551
|
-
* Price updated successfully
|
|
7552
|
-
*/
|
|
7553
|
-
200: PriceResponseDto;
|
|
7554
|
-
/**
|
|
7555
|
-
* Price not found
|
|
7556
|
-
*/
|
|
7557
|
-
404: unknown;
|
|
7558
|
-
/**
|
|
7559
|
-
* Updated price conflicts with existing price
|
|
7560
|
-
*/
|
|
7561
|
-
409: unknown;
|
|
7562
|
-
};
|
|
7563
|
-
};
|
|
7564
|
-
delete: {
|
|
7565
|
-
req: PriceControllerDeleteData;
|
|
8473
|
+
req: ReportingControllerGetPortfolioTrendsData;
|
|
7566
8474
|
res: {
|
|
7567
8475
|
/**
|
|
7568
|
-
*
|
|
7569
|
-
*/
|
|
7570
|
-
204: void;
|
|
7571
|
-
/**
|
|
7572
|
-
* Price not found
|
|
8476
|
+
* Trends retrieved successfully
|
|
7573
8477
|
*/
|
|
7574
|
-
|
|
7575
|
-
};
|
|
7576
|
-
};
|
|
7577
|
-
};
|
|
7578
|
-
'/api/v1/{region}/bean/prices/bulk': {
|
|
7579
|
-
post: {
|
|
7580
|
-
req: PriceControllerBulkCreateData;
|
|
7581
|
-
res: {
|
|
8478
|
+
200: PortfolioTrendsResponseDto;
|
|
7582
8479
|
/**
|
|
7583
|
-
*
|
|
8480
|
+
* User not authenticated
|
|
7584
8481
|
*/
|
|
7585
|
-
|
|
8482
|
+
401: unknown;
|
|
7586
8483
|
};
|
|
7587
8484
|
};
|
|
7588
8485
|
};
|
|
7589
|
-
'/api/v1/{region}/reporting/
|
|
8486
|
+
'/api/v1/{region}/reporting/cash-flow/trends': {
|
|
7590
8487
|
get: {
|
|
7591
|
-
req:
|
|
8488
|
+
req: ReportingControllerGetCashFlowTrendsData;
|
|
7592
8489
|
res: {
|
|
7593
8490
|
/**
|
|
7594
|
-
*
|
|
8491
|
+
* Cash-flow trends retrieved successfully
|
|
7595
8492
|
*/
|
|
7596
|
-
200:
|
|
8493
|
+
200: CashFlowTrendsResponseDto;
|
|
7597
8494
|
/**
|
|
7598
8495
|
* User not authenticated
|
|
7599
8496
|
*/
|
|
@@ -7832,7 +8729,7 @@ declare class BeanAccountsService {
|
|
|
7832
8729
|
* @param data.type Filter by account type
|
|
7833
8730
|
* @param data.status Filter by status
|
|
7834
8731
|
* @param data.isCustom Filter by custom (user-created) accounts only
|
|
7835
|
-
* @param data.search Search term for path
|
|
8732
|
+
* @param data.search Search term for account path
|
|
7836
8733
|
* @param data.limit Maximum number of results
|
|
7837
8734
|
* @param data.offset Number of results to skip
|
|
7838
8735
|
* @returns AccountListResponseDto Accounts retrieved successfully
|
|
@@ -7917,6 +8814,7 @@ declare class BeanTransactionsService {
|
|
|
7917
8814
|
* @param data.status Filter by transaction status
|
|
7918
8815
|
* @param data.search Search in narration and payee fields (max 200 chars)
|
|
7919
8816
|
* @param data.accountId Filter by account ID (transactions with postings to this account)
|
|
8817
|
+
* @param data.category Filter by ADR-0075 functional category (Group segment); matches any posting to an Expenses/Income account whose derived Group segment equals this value
|
|
7920
8818
|
* @returns TransactionListResponseDto Transaction list
|
|
7921
8819
|
* @throws ApiError
|
|
7922
8820
|
*/
|
|
@@ -7992,7 +8890,7 @@ declare class BeanBalancesService {
|
|
|
7992
8890
|
* Query account balance
|
|
7993
8891
|
* Calculate account balance at a specific date for a single currency
|
|
7994
8892
|
* @param data The data for the request.
|
|
7995
|
-
* @param data.account Account name (e.g., "Assets:
|
|
8893
|
+
* @param data.account Account name (e.g., "Assets:Checking")
|
|
7996
8894
|
* @param data.region Region code for tenant context
|
|
7997
8895
|
* @param data.date Date to calculate balance at (ISO 8601 format)
|
|
7998
8896
|
* @param data.currency Currency to query (e.g., "USD", "CNY")
|
|
@@ -8222,4 +9120,4 @@ type OpenAPIConfig = {
|
|
|
8222
9120
|
};
|
|
8223
9121
|
declare const OpenAPI: OpenAPIConfig;
|
|
8224
9122
|
|
|
8225
|
-
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 CashFlowResponseDto, 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 CostSpecDto, type CreateAccountDto, 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 DashboardControllerGetNetWorthData, type DashboardControllerGetNetWorthResponse, type DecisionOptionDto, type DeleteOwnUserDto, type EnterNowDto, 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 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 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 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 };
|
|
9123
|
+
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 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 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 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 };
|