@firela/api-types 0.0.0-canary.8c68ebbe → 0.0.0-canary.9256c41b

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 CHANGED
@@ -27,13 +27,9 @@ type CreateAccountDto = {
27
27
  */
28
28
  path: string;
29
29
  /**
30
- * Display name to distinguish accounts at the same path (default: "")
30
+ * Account open date (server defaults to today)
31
31
  */
32
- displayName?: string;
33
- /**
34
- * Account open date
35
- */
36
- openDate: string;
32
+ openDate?: string;
37
33
  /**
38
34
  * Allowed currencies (null = no restriction)
39
35
  */
@@ -50,18 +46,14 @@ type CreateAccountDto = {
50
46
  * Whether this is a custom (user-created) account
51
47
  */
52
48
  isCustom?: boolean;
53
- /**
54
- * i18n key for display name (overrides template)
55
- */
56
- i18nKey?: string;
57
49
  /**
58
50
  * Icon identifier (overrides template)
59
51
  */
60
52
  icon?: string;
61
53
  /**
62
- * Additional metadata
54
+ * Open directive metadata (NOT an opening-balance amount — use the opening-balance endpoint)
63
55
  */
64
- openMeta?: {
56
+ openDirectiveMeta?: {
65
57
  [key: string]: unknown;
66
58
  };
67
59
  /**
@@ -82,10 +74,6 @@ type AccountResponseDto = {
82
74
  * Account path (hierarchical, colon-separated)
83
75
  */
84
76
  path: string;
85
- /**
86
- * Display name distinguishing multiple accounts at the same path
87
- */
88
- displayName: string;
89
77
  /**
90
78
  * Account type (root segment)
91
79
  */
@@ -119,17 +107,17 @@ type AccountResponseDto = {
119
107
  */
120
108
  isCustom: boolean;
121
109
  /**
122
- * i18n key for display name
110
+ * Localized display name (ADR-0114, read-time projection)
123
111
  */
124
- i18nKey?: string;
112
+ displayName?: string;
125
113
  /**
126
114
  * Icon identifier
127
115
  */
128
116
  icon?: string;
129
117
  /**
130
- * Account metadata
118
+ * Open directive metadata (ADR-0115 Decision 9)
131
119
  */
132
- openMeta?: {
120
+ openDirectiveMeta?: {
133
121
  [key: string]: unknown;
134
122
  };
135
123
  /**
@@ -172,10 +160,6 @@ type AccountListResponseDto = {
172
160
  total: number;
173
161
  };
174
162
  type UpdateAccountDto = {
175
- /**
176
- * Display name to distinguish accounts at the same path
177
- */
178
- displayName?: string;
179
163
  /**
180
164
  * Allowed currencies (null = no restriction)
181
165
  */
@@ -184,18 +168,14 @@ type UpdateAccountDto = {
184
168
  * Booking method for cost basis
185
169
  */
186
170
  bookingMethod?: 'FIFO' | 'LIFO' | 'HIFO' | 'AVERAGE' | 'STRICT' | 'STRICT_WITH_SIZE' | 'NONE';
187
- /**
188
- * i18n key for display name
189
- */
190
- i18nKey?: string;
191
171
  /**
192
172
  * Icon identifier
193
173
  */
194
174
  icon?: string;
195
175
  /**
196
- * Additional metadata (merged with existing)
176
+ * Open directive metadata (merged with existing; NOT an opening-balance amount)
197
177
  */
198
- openMeta?: {
178
+ openDirectiveMeta?: {
199
179
  [key: string]: unknown;
200
180
  };
201
181
  /**
@@ -221,6 +201,26 @@ type ReopenAccountDto = {
221
201
  */
222
202
  reopenDate?: string;
223
203
  };
204
+ type CreateOpeningBalanceDto = {
205
+ /**
206
+ * Opening balance amount (non-negative)
207
+ */
208
+ amount: number;
209
+ /**
210
+ * Currency code
211
+ */
212
+ currency: string;
213
+ /**
214
+ * Opening-balance date (defaults to now)
215
+ */
216
+ date?: string;
217
+ };
218
+ type OpeningBalanceResultDto = {
219
+ /**
220
+ * Created opening-balance transaction id.
221
+ */
222
+ transactionId: string;
223
+ };
224
224
  type AccountStandardResponseDto = {
225
225
  /**
226
226
  * Account path (hierarchical, colon-separated)
@@ -230,10 +230,6 @@ type AccountStandardResponseDto = {
230
230
  * Account type in Beancount hierarchy
231
231
  */
232
232
  type: 'Assets' | 'Liabilities' | 'Income' | 'Expenses' | 'Equity';
233
- /**
234
- * i18n key for localized display name
235
- */
236
- i18nKey: string;
237
233
  /**
238
234
  * Short localized display name
239
235
  */
@@ -266,10 +262,6 @@ type AccountStandardListResponseDto = {
266
262
  region: string;
267
263
  };
268
264
  type TemplateMetadataDto = {
269
- /**
270
- * Whether this path can be extended
271
- */
272
- extendable: boolean;
273
265
  /**
274
266
  * Root account type
275
267
  */
@@ -779,6 +771,48 @@ type flag2 = 'CLEARED' | 'PENDING' | 'PADDING' | 'SUMMARIZE' | 'TRANSFER' | 'CON
779
771
  * Transaction status
780
772
  */
781
773
  type status2 = 'ACTIVE' | 'VOIDED' | 'SUPERSEDED';
774
+ type BalanceByCurrencyDto = {
775
+ /**
776
+ * ISO 4217 currency code
777
+ */
778
+ currency: string;
779
+ /**
780
+ * Balance amount
781
+ */
782
+ balance: string;
783
+ };
784
+ type ExchangeRateWarningDto = {
785
+ /**
786
+ * Warning type
787
+ */
788
+ type: string;
789
+ /**
790
+ * Currency without exchange rate
791
+ */
792
+ currency: string;
793
+ /**
794
+ * Total amount affected
795
+ */
796
+ totalAmount: string;
797
+ };
798
+ type TransactionListSummaryDto = {
799
+ /**
800
+ * Partial converted total in base currency (rated currencies only, raw Beancount sign). When warnings is non-empty this excludes currencies missing an FX rate; may be "0.00" if ALL non-base currencies lack a rate. Converted at the dateTo (or current) available rate.
801
+ */
802
+ totalAmount: string;
803
+ /**
804
+ * Base currency (ISO 4217)
805
+ */
806
+ currency: string;
807
+ /**
808
+ * Raw (unconverted) balance per currency
809
+ */
810
+ balanceByCurrency: Array<BalanceByCurrencyDto>;
811
+ /**
812
+ * Currencies missing an FX rate (omitted when empty)
813
+ */
814
+ warnings?: Array<ExchangeRateWarningDto>;
815
+ };
782
816
  type TransactionListResponseDto = {
783
817
  /**
784
818
  * List of transactions
@@ -796,6 +830,10 @@ type TransactionListResponseDto = {
796
830
  * Number of items skipped
797
831
  */
798
832
  offset: number;
833
+ /**
834
+ * Amount summary for the full filtered set (#514). Present only when the request has a single account OR category viewpoint; omitted for search-only / plain-list / dual-perspective requests.
835
+ */
836
+ summary?: TransactionListSummaryDto;
799
837
  };
800
838
  type TagSuggestionDto = {
801
839
  /**
@@ -1642,6 +1680,104 @@ type UpdateCommodityDto = {
1642
1680
  [key: string]: unknown;
1643
1681
  };
1644
1682
  };
1683
+ type CreateBeanPriceDto = {
1684
+ /**
1685
+ * Currency being priced (e.g., USD, AAPL, BTC)
1686
+ */
1687
+ currency: string;
1688
+ /**
1689
+ * Quote currency (pricing currency, e.g., CNY, EUR)
1690
+ */
1691
+ quoteCurrency: string;
1692
+ /**
1693
+ * Price amount (MUST be >= 0 per Beancount spec, supports up to 15 decimal places). Zero allowed for conversion entries, negative strictly prohibited.
1694
+ */
1695
+ amount: number;
1696
+ /**
1697
+ * Price date (ISO 8601 format)
1698
+ */
1699
+ date: string;
1700
+ /**
1701
+ * Metadata (validated by Zod schema, max field lengths enforced)
1702
+ */
1703
+ metadata?: {
1704
+ [key: string]: unknown;
1705
+ };
1706
+ };
1707
+ type PriceResponseDto = {
1708
+ /**
1709
+ * Unique identifier
1710
+ */
1711
+ id: string;
1712
+ /**
1713
+ * User ID (owner of the price)
1714
+ */
1715
+ userId: string;
1716
+ /**
1717
+ * Currency being priced (e.g., USD, AAPL, BTC)
1718
+ */
1719
+ currency: string;
1720
+ /**
1721
+ * Quote currency (pricing currency, e.g., USD, CNY)
1722
+ */
1723
+ quoteCurrency: string;
1724
+ /**
1725
+ * Price amount (corresponds to Beancount Amount.number). Supports up to 15 decimal places.
1726
+ */
1727
+ amount: number;
1728
+ /**
1729
+ * Price date (ISO 8601 format). Represents the date this price was valid.
1730
+ */
1731
+ date: string;
1732
+ /**
1733
+ * Metadata (corresponds to Beancount meta field). Contains source, confidence, note, etc.
1734
+ */
1735
+ meta: {
1736
+ [key: string]: unknown;
1737
+ };
1738
+ /**
1739
+ * Creation timestamp
1740
+ */
1741
+ createdAt: string;
1742
+ /**
1743
+ * Last update timestamp
1744
+ */
1745
+ updatedAt: string;
1746
+ };
1747
+ type PriceListResponseDto = {
1748
+ /**
1749
+ * List of prices
1750
+ */
1751
+ items: Array<PriceResponseDto>;
1752
+ /**
1753
+ * Total number of prices
1754
+ */
1755
+ total: number;
1756
+ };
1757
+ type UpdateBeanPriceDto = {
1758
+ /**
1759
+ * Currency being priced
1760
+ */
1761
+ currency?: string;
1762
+ /**
1763
+ * Quote currency (pricing currency)
1764
+ */
1765
+ quoteCurrency?: string;
1766
+ /**
1767
+ * Price amount (MUST be >= 0 per Beancount spec)
1768
+ */
1769
+ amount?: number;
1770
+ /**
1771
+ * Price date (ISO 8601 format)
1772
+ */
1773
+ date?: string;
1774
+ /**
1775
+ * Metadata
1776
+ */
1777
+ metadata?: {
1778
+ [key: string]: unknown;
1779
+ };
1780
+ };
1645
1781
  type CreateRecurringRuleDto = {
1646
1782
  /**
1647
1783
  * Rule name (unique per user)
@@ -2589,6 +2725,24 @@ type SignupDto = {
2589
2725
  */
2590
2726
  turnstileToken?: string;
2591
2727
  };
2728
+ type SignupResponseDto = {
2729
+ /**
2730
+ * JWT auth token
2731
+ */
2732
+ authToken: string;
2733
+ /**
2734
+ * Auto-generated access token
2735
+ */
2736
+ accessToken: string;
2737
+ /**
2738
+ * Assigned user role
2739
+ */
2740
+ role: 'USER' | 'ADMIN' | 'DEMO' | 'INACTIVE' | 'PAID' | 'OPS';
2741
+ };
2742
+ /**
2743
+ * Assigned user role
2744
+ */
2745
+ type role = 'USER' | 'ADMIN' | 'DEMO' | 'INACTIVE' | 'PAID' | 'OPS';
2592
2746
  type UpdateUserSettingDto = {
2593
2747
  /**
2594
2748
  * Security ID
@@ -2775,91 +2929,235 @@ type UpdateBeanEventDto = {
2775
2929
  [key: string]: unknown;
2776
2930
  };
2777
2931
  };
2778
- type FileImportDto = {
2932
+ type OnboardingAccountDto = {
2779
2933
  /**
2780
- * Bill file to import (CSV, PDF, OFX, etc.)
2934
+ * Account path (Assets/Liabilities only; format validated by the account service)
2781
2935
  */
2782
- file: Blob | File;
2936
+ path: string;
2937
+ /**
2938
+ * ISO 4217 currency code (3 letters)
2939
+ */
2940
+ currency: string;
2941
+ /**
2942
+ * Opening balance as a non-negative Decimal string (e.g. "1000.00")
2943
+ */
2944
+ openingBalance?: string;
2945
+ /**
2946
+ * Platform ID to bind the account to (references Platform.id); omit for unbound
2947
+ */
2948
+ platformId?: string;
2783
2949
  };
2784
- type ImportErrorDto = {
2950
+ type OnboardingDto = {
2785
2951
  /**
2786
- * Index of failed transaction in the file
2952
+ * Asset/Liability accounts to register with opening balances
2787
2953
  */
2788
- index: number;
2954
+ accounts?: Array<OnboardingAccountDto>;
2789
2955
  /**
2790
- * Error message
2956
+ * Skip asset registration; only bootstrap the core account set
2791
2957
  */
2792
- error: string;
2958
+ skipAssetRegistration?: boolean;
2793
2959
  };
2794
- type ReviewItemPreviewDto = {
2960
+ type ActualBalanceDto = {
2795
2961
  /**
2796
- * Index in the import batch (for tracking)
2962
+ * Actual balance amount as a decimal string (preserves precision for tolerance inference).
2797
2963
  */
2798
- index: number;
2964
+ amount: string;
2799
2965
  /**
2800
- * Transaction date (ISO format)
2966
+ * Currency code (ISO 4217 or commodity ticker).
2801
2967
  */
2802
- date: string;
2968
+ ccy: string;
2969
+ };
2970
+ type ComputeReconciliationDto = {
2803
2971
  /**
2804
- * Transaction amount (absolute value)
2972
+ * BeanAccount id to reconcile.
2805
2973
  */
2806
- amount?: number;
2974
+ accountId: string;
2807
2975
  /**
2808
- * Currency code
2976
+ * Assertion date (ISO 8601, e.g. "2026-07-24").
2809
2977
  */
2810
- currency?: string;
2978
+ asOfDate: string;
2811
2979
  /**
2812
- * Transaction narration/description
2980
+ * Actual balance from the external statement.
2813
2981
  */
2814
- narration: string;
2982
+ actualBalance: ActualBalanceDto;
2983
+ };
2984
+ type ReconciliationComputeResultDto = {
2985
+ accountId: string;
2986
+ asOfDate: string;
2815
2987
  /**
2816
- * Payee name
2988
+ * System-computed book balance (decimal string).
2817
2989
  */
2818
- payee?: string;
2990
+ bookBalance: string;
2819
2991
  /**
2820
- * Inferred category from rule matching
2992
+ * User-entered actual balance (decimal string).
2821
2993
  */
2822
- category?: string;
2994
+ actualBalance: string;
2995
+ currency: string;
2823
2996
  /**
2824
- * Confidence score for the match (0-1)
2997
+ * Diff = book actual (decimal string).
2825
2998
  */
2826
- confidence?: number;
2999
+ diff: string;
2827
3000
  /**
2828
- * Type of branch requiring review
3001
+ * Applied tolerance (decimal string).
2829
3002
  */
2830
- branchType?: 'DUPLICATE' | 'PAYEE_MATCH' | 'RULE_MATCH' | 'ACCOUNT_VALIDATION' | 'PIPELINE_ERROR';
3003
+ tolerance: string;
2831
3004
  /**
2832
- * Human-readable reasons for requiring review
3005
+ * true when |diff| tolerance.
2833
3006
  */
2834
- reasons?: Array<string>;
3007
+ withinTolerance: boolean;
3008
+ /**
3009
+ * Suggested next action: assert when within tolerance, pad otherwise.
3010
+ */
3011
+ suggestedAction: 'assert' | 'pad';
2835
3012
  };
2836
3013
  /**
2837
- * Type of branch requiring review
3014
+ * Suggested next action: assert when within tolerance, pad otherwise.
2838
3015
  */
2839
- type branchType = 'DUPLICATE' | 'PAYEE_MATCH' | 'RULE_MATCH' | 'ACCOUNT_VALIDATION' | 'PIPELINE_ERROR';
2840
- type ImportResultDto = {
3016
+ type suggestedAction = 'assert' | 'pad';
3017
+ type AssertReconciliationDto = {
2841
3018
  /**
2842
- * Number of successfully imported transactions
3019
+ * BeanAccount id to reconcile.
2843
3020
  */
2844
- imported: number;
3021
+ accountId: string;
2845
3022
  /**
2846
- * Number of failed transactions
3023
+ * Assertion date (ISO 8601, e.g. "2026-07-24").
2847
3024
  */
2848
- failed: number;
3025
+ asOfDate: string;
2849
3026
  /**
2850
- * Number of skipped transactions (high confidence duplicates, auto-skipped)
3027
+ * Actual balance from the external statement.
2851
3028
  */
2852
- skipped: number;
3029
+ actualBalance: ActualBalanceDto;
2853
3030
  /**
2854
- * Number of transactions pending review (medium confidence duplicates)
3031
+ * Optional explicit tolerance override. Omit to infer from amount precision (Beancount default).
2855
3032
  */
2856
- pendingReview: number;
3033
+ tolerance?: string;
3034
+ };
3035
+ type ReconciliationRecordDto = {
3036
+ id: string;
3037
+ accountId: string;
3038
+ date: string;
2857
3039
  /**
2858
- * Array of error details for failed transactions
3040
+ * Asserted (actual) amount.
2859
3041
  */
2860
- errors: Array<ImportErrorDto>;
3042
+ amount: string;
3043
+ currency: string;
3044
+ tolerance?: string;
2861
3045
  /**
2862
- * Array of transactions pending review with preview data. Contains essential information for displaying in the import preview UI.
3046
+ * book actual.
3047
+ */
3048
+ diffAmount?: string;
3049
+ diffCurrency?: string;
3050
+ createdAt: string;
3051
+ };
3052
+ type PadReconciliationDto = {
3053
+ /**
3054
+ * BeanAccount id to reconcile.
3055
+ */
3056
+ accountId: string;
3057
+ /**
3058
+ * Assertion date (ISO 8601, e.g. "2026-07-24").
3059
+ */
3060
+ asOfDate: string;
3061
+ /**
3062
+ * Actual balance from the external statement.
3063
+ */
3064
+ actualBalance: ActualBalanceDto;
3065
+ /**
3066
+ * Pad source account. Defaults to Equity:Opening-Balances (official Beancount convention).
3067
+ */
3068
+ sourceAccount?: string;
3069
+ };
3070
+ type PadResultDto = {
3071
+ /**
3072
+ * Created pad adjusting transaction id.
3073
+ */
3074
+ transactionId: string;
3075
+ };
3076
+ type FileImportDto = {
3077
+ /**
3078
+ * Bill file to import (CSV, PDF, OFX, etc.)
3079
+ */
3080
+ file: Blob | File;
3081
+ };
3082
+ type ImportErrorDto = {
3083
+ /**
3084
+ * Index of failed transaction in the file
3085
+ */
3086
+ index: number;
3087
+ /**
3088
+ * Error message
3089
+ */
3090
+ error: string;
3091
+ };
3092
+ type ReviewItemPreviewDto = {
3093
+ /**
3094
+ * Index in the import batch (for tracking)
3095
+ */
3096
+ index: number;
3097
+ /**
3098
+ * Transaction date (ISO format)
3099
+ */
3100
+ date: string;
3101
+ /**
3102
+ * Transaction amount (absolute value)
3103
+ */
3104
+ amount?: number;
3105
+ /**
3106
+ * Currency code
3107
+ */
3108
+ currency?: string;
3109
+ /**
3110
+ * Transaction narration/description
3111
+ */
3112
+ narration: string;
3113
+ /**
3114
+ * Payee name
3115
+ */
3116
+ payee?: string;
3117
+ /**
3118
+ * Inferred category from rule matching
3119
+ */
3120
+ category?: string;
3121
+ /**
3122
+ * Confidence score for the match (0-1)
3123
+ */
3124
+ confidence?: number;
3125
+ /**
3126
+ * Type of branch requiring review
3127
+ */
3128
+ branchType?: 'DUPLICATE' | 'PAYEE_MATCH' | 'RULE_MATCH' | 'ACCOUNT_VALIDATION' | 'PIPELINE_ERROR';
3129
+ /**
3130
+ * Human-readable reasons for requiring review
3131
+ */
3132
+ reasons?: Array<string>;
3133
+ };
3134
+ /**
3135
+ * Type of branch requiring review
3136
+ */
3137
+ type branchType = 'DUPLICATE' | 'PAYEE_MATCH' | 'RULE_MATCH' | 'ACCOUNT_VALIDATION' | 'PIPELINE_ERROR';
3138
+ type ImportResultDto = {
3139
+ /**
3140
+ * Number of successfully imported transactions
3141
+ */
3142
+ imported: number;
3143
+ /**
3144
+ * Number of failed transactions
3145
+ */
3146
+ failed: number;
3147
+ /**
3148
+ * Number of skipped transactions (high confidence duplicates, auto-skipped)
3149
+ */
3150
+ skipped: number;
3151
+ /**
3152
+ * Number of transactions pending review (medium confidence duplicates)
3153
+ */
3154
+ pendingReview: number;
3155
+ /**
3156
+ * Array of error details for failed transactions
3157
+ */
3158
+ errors: Array<ImportErrorDto>;
3159
+ /**
3160
+ * Array of transactions pending review with preview data. Contains essential information for displaying in the import preview UI.
2863
3161
  */
2864
3162
  reviewItems?: Array<ReviewItemPreviewDto>;
2865
3163
  /**
@@ -3019,70 +3317,6 @@ type UpdateImporterConfigDto = {
3019
3317
  */
3020
3318
  data?: UpdateConfigDataDto;
3021
3319
  };
3022
- type CreatePlatformDto = {
3023
- /**
3024
- * Platform name
3025
- */
3026
- name: string;
3027
- /**
3028
- * Platform canonical identifier (lowercase, kebab-case)
3029
- */
3030
- canonical: string;
3031
- /**
3032
- * Platform aliases (multi-language names for lookup)
3033
- */
3034
- aliases: Array<string>;
3035
- /**
3036
- * Platform URL
3037
- */
3038
- url: string;
3039
- /**
3040
- * Platform type
3041
- */
3042
- type: 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
3043
- /**
3044
- * Platform logo URL
3045
- */
3046
- logoUrl?: string;
3047
- /**
3048
- * Whether the platform is active
3049
- */
3050
- isActive?: boolean;
3051
- };
3052
- /**
3053
- * Platform type
3054
- */
3055
- type type3 = 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
3056
- type UpdatePlatformDto = {
3057
- /**
3058
- * Platform name
3059
- */
3060
- name?: string;
3061
- /**
3062
- * Platform canonical identifier (lowercase, kebab-case)
3063
- */
3064
- canonical?: string;
3065
- /**
3066
- * Platform aliases (multi-language names for lookup)
3067
- */
3068
- aliases?: Array<string>;
3069
- /**
3070
- * Platform URL
3071
- */
3072
- url?: string;
3073
- /**
3074
- * Platform type
3075
- */
3076
- type?: 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
3077
- /**
3078
- * Platform logo URL
3079
- */
3080
- logoUrl?: string;
3081
- /**
3082
- * Whether the platform is active
3083
- */
3084
- isActive?: boolean;
3085
- };
3086
3320
  type ProviderSyncConfigDto = {
3087
3321
  /**
3088
3322
  * Source account for the first posting
@@ -3104,6 +3338,10 @@ type ProviderSyncConfigDto = {
3104
3338
  * Filter pending transactions
3105
3339
  */
3106
3340
  filterPending?: boolean;
3341
+ /**
3342
+ * External account ID for per-batch providers (e.g. GoCardless). Overrides sourceAccount when an ExternalAccountLink mapping exists.
3343
+ */
3344
+ externalAccountId?: string;
3107
3345
  };
3108
3346
  type ProviderSyncDto = {
3109
3347
  /**
@@ -3155,6 +3393,41 @@ type SupportedProvidersResponseDto = {
3155
3393
  */
3156
3394
  providers: Array<string>;
3157
3395
  };
3396
+ type CreateExternalAccountLinkDto = {
3397
+ /**
3398
+ * Open Banking provider (whitelist)
3399
+ */
3400
+ provider: 'plaid' | 'teller' | 'truelayer' | 'gocardless' | 'simplefin' | 'yodlee' | 'beancount-direct' | 'parsed-bill';
3401
+ /**
3402
+ * External account ID from the provider
3403
+ */
3404
+ externalAccountId: string;
3405
+ /**
3406
+ * Target BeanAccount ID (must belong to the JWT user)
3407
+ */
3408
+ beanAccountId: string;
3409
+ };
3410
+ /**
3411
+ * Open Banking provider (whitelist)
3412
+ */
3413
+ type provider = 'plaid' | 'teller' | 'truelayer' | 'gocardless' | 'simplefin' | 'yodlee' | 'beancount-direct' | 'parsed-bill';
3414
+ type ExternalAccountLinkResponseDto = {
3415
+ id: string;
3416
+ provider: string;
3417
+ externalAccountId: string;
3418
+ beanAccountId: string;
3419
+ isActive: boolean;
3420
+ createdAt: string;
3421
+ updatedAt: string;
3422
+ };
3423
+ type ExternalAccountLinkListResponseDto = {
3424
+ items: Array<ExternalAccountLinkResponseDto>;
3425
+ total: number;
3426
+ /**
3427
+ * Filter by provider (query param)
3428
+ */
3429
+ provider?: string;
3430
+ };
3158
3431
  type ParserTelemetryReportDto = unknown;
3159
3432
  type UncoveredFormatMissDto = unknown;
3160
3433
  type ProcessNlpDto = {
@@ -3690,83 +3963,213 @@ type liabilitySubType = 'borrow' | 'repay';
3690
3963
  * Equity sub-type (only present when intent is "equity"). opening: account opening balance (Equity → Assets), adjustment: balance correction.
3691
3964
  */
3692
3965
  type equitySubType = 'opening' | 'adjustment';
3693
- type BalanceByCurrencyDto = {
3966
+ type PlatformListItemDto = {
3694
3967
  /**
3695
- * ISO 4217 currency code
3968
+ * Global platform ID
3696
3969
  */
3697
- currency: string;
3970
+ id: string;
3698
3971
  /**
3699
- * Balance amount
3972
+ * Platform name
3700
3973
  */
3701
- balance: string;
3702
- };
3703
- type NetWorthByCurrencyDto = {
3974
+ name: string;
3704
3975
  /**
3705
- * Net worth by currency
3976
+ * Platform URL
3706
3977
  */
3707
- netWorth: Array<BalanceByCurrencyDto>;
3978
+ url: string;
3708
3979
  /**
3709
- * Assets by currency
3980
+ * Platform type
3710
3981
  */
3711
- assets: Array<BalanceByCurrencyDto>;
3982
+ type: 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
3712
3983
  /**
3713
- * Liabilities by currency
3984
+ * Canonical identifier in ACCOUNT_RE format (e.g., "icbc")
3714
3985
  */
3715
- liabilities: Array<BalanceByCurrencyDto>;
3716
- };
3717
- type ConvertedNetWorthDto = {
3986
+ canonical: string;
3718
3987
  /**
3719
- * Base currency for conversion
3988
+ * Suggested path segment — canonical with first char uppercased (ACC_COMP_NAME_RE)
3720
3989
  */
3721
- baseCurrency: string;
3990
+ suggestedSegment: string;
3722
3991
  /**
3723
- * Converted net worth
3992
+ * Logo URL
3724
3993
  */
3725
- netWorth: string;
3994
+ logoUrl: string | null;
3726
3995
  /**
3727
- * Converted assets
3996
+ * Whether user has accounts using this platform
3728
3997
  */
3729
- assets: string;
3998
+ isBound: boolean;
3999
+ };
4000
+ /**
4001
+ * Platform type
4002
+ */
4003
+ type type3 = 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
4004
+ type PlatformMatchResultDto = {
3730
4005
  /**
3731
- * Converted liabilities
4006
+ * Global platform ID
3732
4007
  */
3733
- liabilities: string;
4008
+ id: string;
3734
4009
  /**
3735
- * Exchange rates used for conversion
4010
+ * Platform name (e.g., "ICBC")
3736
4011
  */
3737
- exchangeRates: {
3738
- [key: string]: unknown;
3739
- };
3740
- };
3741
- type ExchangeRateWarningDto = {
4012
+ name: string;
3742
4013
  /**
3743
- * Warning type
4014
+ * Canonical identifier in ACCOUNT_RE format (e.g., "icbc")
3744
4015
  */
3745
- type: string;
4016
+ canonical: string;
3746
4017
  /**
3747
- * Currency without exchange rate
4018
+ * Platform type
3748
4019
  */
3749
- currency: string;
4020
+ type: 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
3750
4021
  /**
3751
- * Total amount affected
4022
+ * Suggested path segment — canonical, already in ACCOUNT_RE format
3752
4023
  */
3753
- totalAmount: string;
3754
- };
3755
- type NetWorthResponseDto = {
4024
+ suggestedSegment: string;
3756
4025
  /**
3757
- * Total net worth (assets - liabilities, converted to base currency)
4026
+ * Logo URL
3758
4027
  */
3759
- netWorth: string;
4028
+ logoUrl: string | null;
3760
4029
  /**
3761
- * Total assets value (converted)
4030
+ * How this row matched: 'exact' > 'prefix' > 'substring'
3762
4031
  */
3763
- assets: string;
4032
+ matchType: 'exact' | 'prefix' | 'substring';
4033
+ };
4034
+ /**
4035
+ * How this row matched: 'exact' > 'prefix' > 'substring'
4036
+ */
4037
+ type matchType = 'exact' | 'prefix' | 'substring';
4038
+ type PlatformMatchResponseDto = {
3764
4039
  /**
3765
- * Total liabilities value (positive number, converted)
4040
+ * Ranked matches, best tier first (at most 10 rows)
3766
4041
  */
3767
- liabilities: string;
4042
+ platforms: Array<PlatformMatchResultDto>;
3768
4043
  /**
3769
- * Monthly return (change from last month)
4044
+ * Overall match quality top row's tier, or 'none' when no hits
4045
+ */
4046
+ matchType: 'none' | 'exact' | 'prefix' | 'substring';
4047
+ /**
4048
+ * Total matches before LIMIT (truncation transparency)
4049
+ */
4050
+ total: number;
4051
+ /**
4052
+ * true when total > platforms.length (more matches exist)
4053
+ */
4054
+ hasMore: boolean;
4055
+ };
4056
+ /**
4057
+ * Overall match quality — top row's tier, or 'none' when no hits
4058
+ */
4059
+ type matchType2 = 'none' | 'exact' | 'prefix' | 'substring';
4060
+ type CreatePlatformDto = {
4061
+ /**
4062
+ * Platform name
4063
+ */
4064
+ name: string;
4065
+ /**
4066
+ * Platform canonical identifier (lowercase, kebab-case)
4067
+ */
4068
+ canonical: string;
4069
+ /**
4070
+ * Platform aliases (multi-language names for lookup)
4071
+ */
4072
+ aliases: Array<string>;
4073
+ /**
4074
+ * Platform URL
4075
+ */
4076
+ url: string;
4077
+ /**
4078
+ * Platform type
4079
+ */
4080
+ type: 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
4081
+ /**
4082
+ * Platform logo URL
4083
+ */
4084
+ logoUrl?: string;
4085
+ /**
4086
+ * Whether the platform is active
4087
+ */
4088
+ isActive?: boolean;
4089
+ };
4090
+ type UpdatePlatformDto = {
4091
+ /**
4092
+ * Platform name
4093
+ */
4094
+ name?: string;
4095
+ /**
4096
+ * Platform canonical identifier (lowercase, kebab-case)
4097
+ */
4098
+ canonical?: string;
4099
+ /**
4100
+ * Platform aliases (multi-language names for lookup)
4101
+ */
4102
+ aliases?: Array<string>;
4103
+ /**
4104
+ * Platform URL
4105
+ */
4106
+ url?: string;
4107
+ /**
4108
+ * Platform type
4109
+ */
4110
+ type?: 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
4111
+ /**
4112
+ * Platform logo URL
4113
+ */
4114
+ logoUrl?: string;
4115
+ /**
4116
+ * Whether the platform is active
4117
+ */
4118
+ isActive?: boolean;
4119
+ };
4120
+ type NetWorthByCurrencyDto = {
4121
+ /**
4122
+ * Net worth by currency
4123
+ */
4124
+ netWorth: Array<BalanceByCurrencyDto>;
4125
+ /**
4126
+ * Assets by currency
4127
+ */
4128
+ assets: Array<BalanceByCurrencyDto>;
4129
+ /**
4130
+ * Liabilities by currency
4131
+ */
4132
+ liabilities: Array<BalanceByCurrencyDto>;
4133
+ };
4134
+ type ConvertedNetWorthDto = {
4135
+ /**
4136
+ * Base currency for conversion
4137
+ */
4138
+ baseCurrency: string;
4139
+ /**
4140
+ * Converted net worth
4141
+ */
4142
+ netWorth: string;
4143
+ /**
4144
+ * Converted assets
4145
+ */
4146
+ assets: string;
4147
+ /**
4148
+ * Converted liabilities
4149
+ */
4150
+ liabilities: string;
4151
+ /**
4152
+ * Exchange rates used for conversion
4153
+ */
4154
+ exchangeRates: {
4155
+ [key: string]: unknown;
4156
+ };
4157
+ };
4158
+ type NetWorthResponseDto = {
4159
+ /**
4160
+ * Total net worth (assets - liabilities, converted to base currency)
4161
+ */
4162
+ netWorth: string;
4163
+ /**
4164
+ * Total assets value (converted)
4165
+ */
4166
+ assets: string;
4167
+ /**
4168
+ * Total liabilities value (positive number, converted)
4169
+ */
4170
+ liabilities: string;
4171
+ /**
4172
+ * Monthly return (change from last month)
3770
4173
  */
3771
4174
  monthlyReturn: string;
3772
4175
  /**
@@ -3815,6 +4218,10 @@ type AccountItemDto = {
3815
4218
  * Currency code
3816
4219
  */
3817
4220
  currency: string;
4221
+ /**
4222
+ * FX-converted balance in base currency; omitted when not convertible
4223
+ */
4224
+ convertedBalance?: string;
3818
4225
  };
3819
4226
  type PlatformGroupDto = {
3820
4227
  /**
@@ -3830,9 +4237,39 @@ type PlatformGroupDto = {
3830
4237
  */
3831
4238
  accounts: Array<AccountItemDto>;
3832
4239
  /**
3833
- * Total balance across all accounts in platform
4240
+ * FX-converted total balance in base currency
3834
4241
  */
3835
4242
  totalBalance: string;
4243
+ /**
4244
+ * Raw (unconverted) balances grouped by currency
4245
+ */
4246
+ balanceByCurrency: Array<BalanceByCurrencyDto>;
4247
+ /**
4248
+ * Converted balance in base currency (omitted when no currency is convertible)
4249
+ */
4250
+ convertedBalance?: string;
4251
+ /**
4252
+ * Share of the grand converted total (0-100); 0 when grand total is 0
4253
+ */
4254
+ sharePct: number;
4255
+ };
4256
+ type AccountExchangeRateWarningDto = {
4257
+ /**
4258
+ * Warning type
4259
+ */
4260
+ type: string;
4261
+ /**
4262
+ * Currency without exchange rate
4263
+ */
4264
+ currency: string;
4265
+ /**
4266
+ * Affected account paths
4267
+ */
4268
+ accounts: Array<string>;
4269
+ /**
4270
+ * Total amount in this currency
4271
+ */
4272
+ totalAmount: string;
3836
4273
  };
3837
4274
  type AccountsSummaryDto = {
3838
4275
  /**
@@ -3843,6 +4280,14 @@ type AccountsSummaryDto = {
3843
4280
  * Total number of platforms
3844
4281
  */
3845
4282
  totalPlatforms: number;
4283
+ /**
4284
+ * Base currency for conversion
4285
+ */
4286
+ baseCurrency: string;
4287
+ /**
4288
+ * Per-account exchange rate warnings
4289
+ */
4290
+ warnings?: Array<AccountExchangeRateWarningDto>;
3846
4291
  };
3847
4292
  type AccountsResponseDto = {
3848
4293
  /**
@@ -3875,6 +4320,10 @@ type AccountItemWithAssetClassDto = {
3875
4320
  * Currency code
3876
4321
  */
3877
4322
  currency: string;
4323
+ /**
4324
+ * FX-converted balance in base currency; omitted when not convertible
4325
+ */
4326
+ convertedBalance?: string;
3878
4327
  /**
3879
4328
  * Asset class
3880
4329
  */
@@ -3926,24 +4375,6 @@ type AssetClassGroupDto = {
3926
4375
  * Asset class name
3927
4376
  */
3928
4377
  type assetClass = 'LIQUIDITY' | 'EQUITY' | 'FIXED_INCOME' | 'PRECIOUS_METALS' | 'COMMODITY' | 'INSURANCE' | 'ALTERNATIVE_INVESTMENT' | 'PERSONAL_ASSETS' | 'LIABILITY' | 'REAL_ESTATE' | 'INDEX';
3929
- type AccountExchangeRateWarningDto = {
3930
- /**
3931
- * Warning type
3932
- */
3933
- type: string;
3934
- /**
3935
- * Currency without exchange rate
3936
- */
3937
- currency: string;
3938
- /**
3939
- * Affected account paths
3940
- */
3941
- accounts: Array<string>;
3942
- /**
3943
- * Total amount in this currency
3944
- */
3945
- totalAmount: string;
3946
- };
3947
4378
  type AssetClassSummaryDto = {
3948
4379
  /**
3949
4380
  * Total number of accounts
@@ -4102,6 +4533,60 @@ type CashFlowResponseDto = {
4102
4533
  */
4103
4534
  warnings?: Array<ExchangeRateWarningDto>;
4104
4535
  };
4536
+ type CategoryGroupDto = {
4537
+ /**
4538
+ * Functional category (account-path Group segment); regional and universal account paths merge under it
4539
+ */
4540
+ category: string;
4541
+ /**
4542
+ * Converted total for this category in base currency (expense amount when flow=expense, income amount when flow=income)
4543
+ */
4544
+ totalExpense: string;
4545
+ /**
4546
+ * Share of grand total (0-100); 0 when grand total is 0
4547
+ */
4548
+ sharePct: number;
4549
+ /**
4550
+ * Raw (unconverted) expense per currency
4551
+ */
4552
+ balanceByCurrency: Array<BalanceByCurrencyDto>;
4553
+ /**
4554
+ * Converted total in base currency (omitted when FX missing for all currencies in this category)
4555
+ */
4556
+ convertedBalance?: string;
4557
+ };
4558
+ type ExpensesByCategorySummaryDto = {
4559
+ /**
4560
+ * Total across all categories, converted (convertible categories only); expense totals when flow=expense, income totals when flow=income
4561
+ */
4562
+ totalExpense: string;
4563
+ /**
4564
+ * Number of categories
4565
+ */
4566
+ categoryCount: number;
4567
+ };
4568
+ type ExpensesByCategoryResponseDto = {
4569
+ /**
4570
+ * Period requested
4571
+ */
4572
+ period: string;
4573
+ /**
4574
+ * Base currency for converted values
4575
+ */
4576
+ baseCurrency: string;
4577
+ /**
4578
+ * Expense groups by functional category, sorted by converted total desc
4579
+ */
4580
+ groups: Array<CategoryGroupDto>;
4581
+ /**
4582
+ * Summary statistics
4583
+ */
4584
+ summary: ExpensesByCategorySummaryDto;
4585
+ /**
4586
+ * Exchange rate warnings (e.g. missing rate for a currency)
4587
+ */
4588
+ warnings?: Array<ExchangeRateWarningDto>;
4589
+ };
4105
4590
  type MonetaryDto = {
4106
4591
  /**
4107
4592
  * Amount (Decimal string)
@@ -4273,104 +4758,6 @@ type HoldingPnlResponseDto = {
4273
4758
  * Realized-P&L lot-matching method (FIFO or average). Unrealized cost basis remains average regardless of this value (#473).
4274
4759
  */
4275
4760
  type method = 'average' | 'FIFO';
4276
- type CreateBeanPriceDto = {
4277
- /**
4278
- * Currency being priced (e.g., USD, AAPL, BTC)
4279
- */
4280
- currency: string;
4281
- /**
4282
- * Quote currency (pricing currency, e.g., CNY, EUR)
4283
- */
4284
- quoteCurrency: string;
4285
- /**
4286
- * Price amount (MUST be >= 0 per Beancount spec, supports up to 15 decimal places). Zero allowed for conversion entries, negative strictly prohibited.
4287
- */
4288
- amount: number;
4289
- /**
4290
- * Price date (ISO 8601 format)
4291
- */
4292
- date: string;
4293
- /**
4294
- * Metadata (validated by Zod schema, max field lengths enforced)
4295
- */
4296
- metadata?: {
4297
- [key: string]: unknown;
4298
- };
4299
- };
4300
- type PriceResponseDto = {
4301
- /**
4302
- * Unique identifier
4303
- */
4304
- id: string;
4305
- /**
4306
- * User ID (owner of the price)
4307
- */
4308
- userId: string;
4309
- /**
4310
- * Currency being priced (e.g., USD, AAPL, BTC)
4311
- */
4312
- currency: string;
4313
- /**
4314
- * Quote currency (pricing currency, e.g., USD, CNY)
4315
- */
4316
- quoteCurrency: string;
4317
- /**
4318
- * Price amount (corresponds to Beancount Amount.number). Supports up to 15 decimal places.
4319
- */
4320
- amount: number;
4321
- /**
4322
- * Price date (ISO 8601 format). Represents the date this price was valid.
4323
- */
4324
- date: string;
4325
- /**
4326
- * Metadata (corresponds to Beancount meta field). Contains source, confidence, note, etc.
4327
- */
4328
- meta: {
4329
- [key: string]: unknown;
4330
- };
4331
- /**
4332
- * Creation timestamp
4333
- */
4334
- createdAt: string;
4335
- /**
4336
- * Last update timestamp
4337
- */
4338
- updatedAt: string;
4339
- };
4340
- type PriceListResponseDto = {
4341
- /**
4342
- * List of prices
4343
- */
4344
- items: Array<PriceResponseDto>;
4345
- /**
4346
- * Total number of prices
4347
- */
4348
- total: number;
4349
- };
4350
- type UpdateBeanPriceDto = {
4351
- /**
4352
- * Currency being priced
4353
- */
4354
- currency?: string;
4355
- /**
4356
- * Quote currency (pricing currency)
4357
- */
4358
- quoteCurrency?: string;
4359
- /**
4360
- * Price amount (MUST be >= 0 per Beancount spec)
4361
- */
4362
- amount?: number;
4363
- /**
4364
- * Price date (ISO 8601 format)
4365
- */
4366
- date?: string;
4367
- /**
4368
- * Metadata
4369
- */
4370
- metadata?: {
4371
- [key: string]: unknown;
4372
- };
4373
- };
4374
4761
  type CurrencyBalanceDto = {
4375
4762
  /**
4376
4763
  * ISO 4217 currency code
@@ -4396,6 +4783,14 @@ type TimeSeriesPointDto = {
4396
4783
  change?: {
4397
4784
  [key: string]: unknown;
4398
4785
  };
4786
+ /**
4787
+ * Total assets at this date (in base currency)
4788
+ */
4789
+ assets?: string;
4790
+ /**
4791
+ * Total liabilities at this date (in base currency)
4792
+ */
4793
+ liabilities?: string;
4399
4794
  /**
4400
4795
  * Multi-currency breakdown for this point
4401
4796
  */
@@ -4459,6 +4854,68 @@ type PortfolioTrendsResponseDto = {
4459
4854
  */
4460
4855
  warnings?: Array<ExchangeRateWarningDto>;
4461
4856
  };
4857
+ type CashFlowPointDto = {
4858
+ /**
4859
+ * Month key (YYYY-MM)
4860
+ */
4861
+ month: string;
4862
+ /**
4863
+ * Income in base currency (absolute, converted)
4864
+ */
4865
+ income: string;
4866
+ /**
4867
+ * Expense in base currency (absolute, converted)
4868
+ */
4869
+ expense: string;
4870
+ /**
4871
+ * netSavings = income − expense (savings positive)
4872
+ */
4873
+ netSavings: string;
4874
+ };
4875
+ type CashFlowTrendSummaryDto = {
4876
+ /**
4877
+ * Total income across the period
4878
+ */
4879
+ totalIncome: string;
4880
+ /**
4881
+ * Total expense across the period
4882
+ */
4883
+ totalExpense: string;
4884
+ /**
4885
+ * income − expense across the period
4886
+ */
4887
+ totalNetSavings: string;
4888
+ /**
4889
+ * totalNetSavings divided by the window length (N months, incl. zero-filled)
4890
+ */
4891
+ averageMonthlyNetSavings: string;
4892
+ };
4893
+ type CashFlowTrendsResponseDto = {
4894
+ /**
4895
+ * Monthly cash-flow series (fixed N-month window, zero-filled)
4896
+ */
4897
+ series: Array<CashFlowPointDto>;
4898
+ /**
4899
+ * Period totals
4900
+ */
4901
+ summary: CashFlowTrendSummaryDto;
4902
+ /**
4903
+ * Period requested
4904
+ */
4905
+ period: string;
4906
+ /**
4907
+ * Data granularity (v1 returns month buckets)
4908
+ */
4909
+ granularity: string;
4910
+ /**
4911
+ * Base currency for converted values
4912
+ */
4913
+ currency: string;
4914
+ /**
4915
+ * Exchange rate warnings (e.g. missing rate for a currency)
4916
+ */
4917
+ warnings?: Array<ExchangeRateWarningDto>;
4918
+ };
4462
4919
  type GenerateSnapshotBody = unknown;
4463
4920
  type GenerateSnapshotResponse = unknown;
4464
4921
  type BackfillSnapshotsBody = unknown;
@@ -4469,6 +4926,12 @@ type AnonymousLoginDto = {
4469
4926
  */
4470
4927
  accessToken: string;
4471
4928
  };
4929
+ type AnonymousLoginResponseDto = {
4930
+ /**
4931
+ * JWT auth token
4932
+ */
4933
+ authToken: string;
4934
+ };
4472
4935
  type AccountControllerCreateData = {
4473
4936
  /**
4474
4937
  * Region code for tenant context
@@ -4495,7 +4958,7 @@ type AccountControllerFindAllData = {
4495
4958
  */
4496
4959
  region: 'cn' | 'us' | 'de' | 'gb';
4497
4960
  /**
4498
- * Search term for path or i18nKey
4961
+ * Search term for account path
4499
4962
  */
4500
4963
  search?: string;
4501
4964
  /**
@@ -4566,6 +5029,18 @@ type AccountControllerReopenData = {
4566
5029
  requestBody: ReopenAccountDto;
4567
5030
  };
4568
5031
  type AccountControllerReopenResponse = AccountResponseDto;
5032
+ type AccountControllerAddOpeningBalanceData = {
5033
+ /**
5034
+ * Account UUID
5035
+ */
5036
+ id: string;
5037
+ /**
5038
+ * Region code for tenant context
5039
+ */
5040
+ region: 'cn' | 'us' | 'de' | 'gb';
5041
+ requestBody: CreateOpeningBalanceDto;
5042
+ };
5043
+ type AccountControllerAddOpeningBalanceResponse = OpeningBalanceResultDto;
4569
5044
  type AccountStandardsControllerGetTemplatesData = {
4570
5045
  /**
4571
5046
  * Region code (cn, us, de)
@@ -4615,6 +5090,10 @@ type TransactionControllerListData = {
4615
5090
  * Filter by account ID (transactions with postings to this account)
4616
5091
  */
4617
5092
  accountId?: string;
5093
+ /**
5094
+ * Filter by ADR-0075 functional category (Group segment); matches any posting to an Expenses/Income account whose derived Group segment equals this value
5095
+ */
5096
+ category?: string;
4618
5097
  /**
4619
5098
  * Filter by start date (inclusive), format: YYYY-MM-DD
4620
5099
  */
@@ -4723,7 +5202,7 @@ type TransactionControllerDeleteData = {
4723
5202
  type TransactionControllerDeleteResponse = void;
4724
5203
  type BalanceControllerGetBalanceData = {
4725
5204
  /**
4726
- * Account name (e.g., "Assets:Bank:Checking")
5205
+ * Account name (e.g., "Assets:Checking")
4727
5206
  */
4728
5207
  account: string;
4729
5208
  /**
@@ -4976,65 +5455,150 @@ type CommodityControllerFindAllData = {
4976
5455
  /**
4977
5456
  * Search term for symbol or metadata fields (partial match). Searches symbol and metadata.name.
4978
5457
  */
4979
- search?: string;
5458
+ search?: string;
5459
+ /**
5460
+ * Filter by exact symbol match
5461
+ */
5462
+ symbol?: string;
5463
+ };
5464
+ type CommodityControllerFindAllResponse = CommodityListResponseDto;
5465
+ type CommodityControllerFindOneData = {
5466
+ /**
5467
+ * Region code for tenant context
5468
+ */
5469
+ region: 'cn' | 'us' | 'de' | 'gb';
5470
+ /**
5471
+ * Commodity symbol
5472
+ */
5473
+ symbol: string;
5474
+ };
5475
+ type CommodityControllerFindOneResponse = CommodityResponseDto;
5476
+ type CommodityControllerUpdateData = {
5477
+ /**
5478
+ * Region code for tenant context
5479
+ */
5480
+ region: 'cn' | 'us' | 'de' | 'gb';
5481
+ requestBody: UpdateCommodityDto;
5482
+ /**
5483
+ * Commodity symbol
5484
+ */
5485
+ symbol: string;
5486
+ };
5487
+ type CommodityControllerUpdateResponse = CommodityResponseDto;
5488
+ type CommodityControllerDeleteData = {
5489
+ /**
5490
+ * Region code for tenant context
5491
+ */
5492
+ region: 'cn' | 'us' | 'de' | 'gb';
5493
+ /**
5494
+ * Commodity symbol
5495
+ */
5496
+ symbol: string;
5497
+ };
5498
+ type CommodityControllerDeleteResponse = void;
5499
+ type CommodityControllerGetOrCreateData = {
5500
+ /**
5501
+ * Region code for tenant context
5502
+ */
5503
+ region: 'cn' | 'us' | 'de' | 'gb';
5504
+ /**
5505
+ * Commodity symbol
5506
+ */
5507
+ symbol: string;
5508
+ };
5509
+ type CommodityControllerGetOrCreateResponse = CommodityResponseDto;
5510
+ type CommodityControllerBulkCreateData = {
5511
+ /**
5512
+ * Region code for tenant context
5513
+ */
5514
+ region: 'cn' | 'us' | 'de' | 'gb';
5515
+ };
5516
+ type CommodityControllerBulkCreateResponse = Array<CommodityResponseDto>;
5517
+ type PriceControllerCreateData = {
5518
+ /**
5519
+ * Region code for tenant context
5520
+ */
5521
+ region: 'cn' | 'us' | 'de' | 'gb';
5522
+ requestBody: CreateBeanPriceDto;
5523
+ };
5524
+ type PriceControllerCreateResponse = PriceResponseDto;
5525
+ type PriceControllerFindAllData = {
5526
+ /**
5527
+ * Filter by currency (e.g., BTC, AAPL, USD)
5528
+ */
5529
+ currency?: string;
5530
+ /**
5531
+ * Filter prices from this date (ISO 8601 format)
5532
+ */
5533
+ dateFrom?: string;
5534
+ /**
5535
+ * Filter prices to this date (ISO 8601 format)
5536
+ */
5537
+ dateTo?: string;
5538
+ /**
5539
+ * Number of items per page (default: 20, max: 100)
5540
+ */
5541
+ limit?: number;
5542
+ /**
5543
+ * Page number for pagination (default: 1)
5544
+ */
5545
+ page?: number;
4980
5546
  /**
4981
- * Filter by exact symbol match
5547
+ * Filter by quote currency (pricing currency, e.g., USD, CNY)
4982
5548
  */
4983
- symbol?: string;
4984
- };
4985
- type CommodityControllerFindAllResponse = CommodityListResponseDto;
4986
- type CommodityControllerFindOneData = {
5549
+ quoteCurrency?: string;
4987
5550
  /**
4988
5551
  * Region code for tenant context
4989
5552
  */
4990
5553
  region: 'cn' | 'us' | 'de' | 'gb';
4991
5554
  /**
4992
- * Commodity symbol
5555
+ * Search term for currency or quoteCurrency (case-insensitive partial match)
4993
5556
  */
4994
- symbol: string;
5557
+ search?: string;
4995
5558
  };
4996
- type CommodityControllerFindOneResponse = CommodityResponseDto;
4997
- type CommodityControllerUpdateData = {
5559
+ type PriceControllerFindAllResponse = PriceListResponseDto;
5560
+ type PriceControllerFindOneData = {
5561
+ /**
5562
+ * Price ID
5563
+ */
5564
+ id: string;
4998
5565
  /**
4999
5566
  * Region code for tenant context
5000
5567
  */
5001
5568
  region: 'cn' | 'us' | 'de' | 'gb';
5002
- requestBody: UpdateCommodityDto;
5569
+ };
5570
+ type PriceControllerFindOneResponse = PriceResponseDto;
5571
+ type PriceControllerUpdateData = {
5003
5572
  /**
5004
- * Commodity symbol
5573
+ * Price ID
5005
5574
  */
5006
- symbol: string;
5007
- };
5008
- type CommodityControllerUpdateResponse = CommodityResponseDto;
5009
- type CommodityControllerDeleteData = {
5575
+ id: string;
5010
5576
  /**
5011
5577
  * Region code for tenant context
5012
5578
  */
5013
5579
  region: 'cn' | 'us' | 'de' | 'gb';
5580
+ requestBody: UpdateBeanPriceDto;
5581
+ };
5582
+ type PriceControllerUpdateResponse = PriceResponseDto;
5583
+ type PriceControllerDeleteData = {
5014
5584
  /**
5015
- * Commodity symbol
5585
+ * Price ID
5016
5586
  */
5017
- symbol: string;
5018
- };
5019
- type CommodityControllerDeleteResponse = void;
5020
- type CommodityControllerGetOrCreateData = {
5587
+ id: string;
5021
5588
  /**
5022
5589
  * Region code for tenant context
5023
5590
  */
5024
5591
  region: 'cn' | 'us' | 'de' | 'gb';
5025
- /**
5026
- * Commodity symbol
5027
- */
5028
- symbol: string;
5029
5592
  };
5030
- type CommodityControllerGetOrCreateResponse = CommodityResponseDto;
5031
- type CommodityControllerBulkCreateData = {
5593
+ type PriceControllerDeleteResponse = void;
5594
+ type PriceControllerBulkCreateData = {
5032
5595
  /**
5033
5596
  * Region code for tenant context
5034
5597
  */
5035
5598
  region: 'cn' | 'us' | 'de' | 'gb';
5599
+ requestBody: Array<string>;
5036
5600
  };
5037
- type CommodityControllerBulkCreateResponse = Array<CommodityResponseDto>;
5601
+ type PriceControllerBulkCreateResponse = Array<PriceResponseDto>;
5038
5602
  type RecurringRuleControllerCreateData = {
5039
5603
  /**
5040
5604
  * Region code for tenant context
@@ -5358,7 +5922,7 @@ type UserControllerGetUserResponse = unknown;
5358
5922
  type UserControllerSignupUserData = {
5359
5923
  requestBody: SignupDto;
5360
5924
  };
5361
- type UserControllerSignupUserResponse = unknown;
5925
+ type UserControllerSignupUserResponse = SignupResponseDto;
5362
5926
  type UserControllerDeleteUserData = {
5363
5927
  /**
5364
5928
  * User ID to delete
@@ -5485,6 +6049,62 @@ type EventControllerDeleteData = {
5485
6049
  region: 'cn' | 'us' | 'de' | 'gb';
5486
6050
  };
5487
6051
  type EventControllerDeleteResponse = void;
6052
+ type EventControllerGetSliceData = {
6053
+ accountPattern: string;
6054
+ granularity: string;
6055
+ /**
6056
+ * Life event ID
6057
+ */
6058
+ id: string;
6059
+ /**
6060
+ * Region code for tenant context (decorative for life events)
6061
+ */
6062
+ region: 'cn' | 'us' | 'de' | 'gb';
6063
+ };
6064
+ type EventControllerGetSliceResponse = unknown;
6065
+ type OnboardingControllerBootstrapData = {
6066
+ /**
6067
+ * Region code for tenant context
6068
+ */
6069
+ region: 'cn' | 'us' | 'de' | 'gb';
6070
+ requestBody: OnboardingDto;
6071
+ };
6072
+ type OnboardingControllerBootstrapResponse = unknown;
6073
+ type ReconciliationControllerComputeData = {
6074
+ /**
6075
+ * Region code for tenant context (decorative for reconciliation)
6076
+ */
6077
+ region: 'cn' | 'us' | 'de' | 'gb';
6078
+ requestBody: ComputeReconciliationDto;
6079
+ };
6080
+ type ReconciliationControllerComputeResponse = ReconciliationComputeResultDto;
6081
+ type ReconciliationControllerAssertData = {
6082
+ /**
6083
+ * Region code for tenant context (decorative for reconciliation)
6084
+ */
6085
+ region: 'cn' | 'us' | 'de' | 'gb';
6086
+ requestBody: AssertReconciliationDto;
6087
+ };
6088
+ type ReconciliationControllerAssertResponse = ReconciliationRecordDto;
6089
+ type ReconciliationControllerPadData = {
6090
+ /**
6091
+ * Region code for tenant context (decorative for reconciliation)
6092
+ */
6093
+ region: 'cn' | 'us' | 'de' | 'gb';
6094
+ requestBody: PadReconciliationDto;
6095
+ };
6096
+ type ReconciliationControllerPadResponse = PadResultDto;
6097
+ type ReconciliationControllerHistoryData = {
6098
+ /**
6099
+ * BeanAccount id
6100
+ */
6101
+ accountId: string;
6102
+ /**
6103
+ * Region code for tenant context (decorative for reconciliation)
6104
+ */
6105
+ region: 'cn' | 'us' | 'de' | 'gb';
6106
+ };
6107
+ type ReconciliationControllerHistoryResponse = Array<ReconciliationRecordDto>;
5488
6108
  type ExportControllerExportBeancountResponse = unknown;
5489
6109
  type FileImportControllerImportFileData = {
5490
6110
  /**
@@ -5564,38 +6184,6 @@ type ImporterConfigControllerResetConfigData = {
5564
6184
  region: 'cn' | 'us' | 'de' | 'gb';
5565
6185
  };
5566
6186
  type ImporterConfigControllerResetConfigResponse = ImporterConfigDto;
5567
- type PlatformControllerFindAllResponse = unknown;
5568
- type PlatformControllerCreateData = {
5569
- requestBody: CreatePlatformDto;
5570
- };
5571
- type PlatformControllerCreateResponse = unknown;
5572
- type PlatformControllerGetPlatformListResponse = unknown;
5573
- type PlatformControllerMatchPlatformsData = {
5574
- /**
5575
- * Search query — Chinese name, English name, or abbreviation
5576
- */
5577
- q: string;
5578
- /**
5579
- * Region code for category override lookup
5580
- */
5581
- region?: string;
5582
- };
5583
- type PlatformControllerMatchPlatformsResponse = unknown;
5584
- type PlatformControllerUpdateData = {
5585
- /**
5586
- * Platform ID
5587
- */
5588
- id: string;
5589
- requestBody: UpdatePlatformDto;
5590
- };
5591
- type PlatformControllerUpdateResponse = unknown;
5592
- type PlatformControllerDeleteData = {
5593
- /**
5594
- * Platform ID
5595
- */
5596
- id: string;
5597
- };
5598
- type PlatformControllerDeleteResponse = void;
5599
6187
  type ProviderSyncControllerSyncData = {
5600
6188
  /**
5601
6189
  * Provider name
@@ -5626,6 +6214,38 @@ type ProviderSyncControllerIsProviderSupportedData = {
5626
6214
  region: 'cn' | 'us' | 'de' | 'gb';
5627
6215
  };
5628
6216
  type ProviderSyncControllerIsProviderSupportedResponse = unknown;
6217
+ type ExternalAccountLinkControllerCreateData = {
6218
+ /**
6219
+ * Region code for tenant context
6220
+ */
6221
+ region: 'cn' | 'us' | 'de' | 'gb';
6222
+ requestBody: CreateExternalAccountLinkDto;
6223
+ };
6224
+ type ExternalAccountLinkControllerCreateResponse = ExternalAccountLinkResponseDto;
6225
+ type ExternalAccountLinkControllerFindAllData = {
6226
+ provider: string;
6227
+ /**
6228
+ * Region code for tenant context
6229
+ */
6230
+ region: 'cn' | 'us' | 'de' | 'gb';
6231
+ };
6232
+ type ExternalAccountLinkControllerFindAllResponse = ExternalAccountLinkListResponseDto;
6233
+ type ExternalAccountLinkControllerFindOneData = {
6234
+ id: string;
6235
+ /**
6236
+ * Region code for tenant context
6237
+ */
6238
+ region: 'cn' | 'us' | 'de' | 'gb';
6239
+ };
6240
+ type ExternalAccountLinkControllerFindOneResponse = ExternalAccountLinkResponseDto;
6241
+ type ExternalAccountLinkControllerRemoveData = {
6242
+ id: string;
6243
+ /**
6244
+ * Region code for tenant context
6245
+ */
6246
+ region: 'cn' | 'us' | 'de' | 'gb';
6247
+ };
6248
+ type ExternalAccountLinkControllerRemoveResponse = void;
5629
6249
  type TelemetryControllerReportTelemetryData = {
5630
6250
  /**
5631
6251
  * Region code for tenant context
@@ -5686,6 +6306,38 @@ type NlpControllerGetSessionData = {
5686
6306
  sessionId?: string;
5687
6307
  };
5688
6308
  type NlpControllerGetSessionResponse = unknown;
6309
+ type PlatformControllerFindAllResponse = unknown;
6310
+ type PlatformControllerCreateData = {
6311
+ requestBody: CreatePlatformDto;
6312
+ };
6313
+ type PlatformControllerCreateResponse = unknown;
6314
+ type PlatformControllerGetPlatformListResponse = Array<PlatformListItemDto>;
6315
+ type PlatformControllerMatchPlatformsData = {
6316
+ /**
6317
+ * Search query — Chinese name, English name, or abbreviation
6318
+ */
6319
+ q: string;
6320
+ /**
6321
+ * Region code for category override lookup
6322
+ */
6323
+ region?: string;
6324
+ };
6325
+ type PlatformControllerMatchPlatformsResponse = PlatformMatchResponseDto;
6326
+ type PlatformControllerUpdateData = {
6327
+ /**
6328
+ * Platform ID
6329
+ */
6330
+ id: string;
6331
+ requestBody: UpdatePlatformDto;
6332
+ };
6333
+ type PlatformControllerUpdateResponse = unknown;
6334
+ type PlatformControllerDeleteData = {
6335
+ /**
6336
+ * Platform ID
6337
+ */
6338
+ id: string;
6339
+ };
6340
+ type PlatformControllerDeleteResponse = void;
5689
6341
  type DashboardControllerGetNetWorthData = {
5690
6342
  /**
5691
6343
  * Date for balance calculation (ISO 8601 format)
@@ -5727,113 +6379,62 @@ type DashboardControllerGetCashFlowData = {
5727
6379
  region: 'cn' | 'us' | 'de' | 'gb';
5728
6380
  };
5729
6381
  type DashboardControllerGetCashFlowResponse = CashFlowResponseDto;
5730
- type HoldingPnlControllerGetHoldingPnlData = {
5731
- /**
5732
- * Scope to a single account
5733
- */
5734
- accountId?: string;
5735
- /**
5736
- * As-of date (ISO 8601), defaults to today
5737
- */
5738
- asOf?: string;
5739
- /**
5740
- * Realized-P&L lot-matching method (default average). Does not affect the average-cost unrealized basis.
5741
- */
5742
- method?: 'FIFO' | 'average';
5743
- /**
5744
- * Region code for tenant context
5745
- */
5746
- region: 'cn' | 'us' | 'de' | 'gb';
5747
- };
5748
- type HoldingPnlControllerGetHoldingPnlResponse = HoldingPnlResponseDto;
5749
- type PriceControllerCreateData = {
5750
- /**
5751
- * Region code for tenant context
5752
- */
5753
- region: 'cn' | 'us' | 'de' | 'gb';
5754
- requestBody: CreateBeanPriceDto;
5755
- };
5756
- type PriceControllerCreateResponse = PriceResponseDto;
5757
- type PriceControllerFindAllData = {
5758
- /**
5759
- * Filter by currency (e.g., BTC, AAPL, USD)
5760
- */
5761
- currency?: string;
5762
- /**
5763
- * Filter prices from this date (ISO 8601 format)
5764
- */
5765
- dateFrom?: string;
5766
- /**
5767
- * Filter prices to this date (ISO 8601 format)
5768
- */
5769
- dateTo?: string;
6382
+ type DashboardControllerGetExpensesData = {
5770
6383
  /**
5771
- * Number of items per page (default: 20, max: 100)
6384
+ * Account root to aggregate (expense ^Expenses:, income → ^Income:)
5772
6385
  */
5773
- limit?: number;
6386
+ flow?: 'expense' | 'income';
5774
6387
  /**
5775
- * Page number for pagination (default: 1)
6388
+ * Grouping strategy
5776
6389
  */
5777
- page?: number;
6390
+ groupBy?: 'category';
5778
6391
  /**
5779
- * Filter by quote currency (pricing currency, e.g., USD, CNY)
6392
+ * Time window (1m = current calendar month)
5780
6393
  */
5781
- quoteCurrency?: string;
6394
+ period?: '1m' | '3m' | '6m' | '1y';
5782
6395
  /**
5783
6396
  * Region code for tenant context
5784
6397
  */
5785
6398
  region: 'cn' | 'us' | 'de' | 'gb';
5786
- /**
5787
- * Search term for currency or quoteCurrency (case-insensitive partial match)
5788
- */
5789
- search?: string;
5790
6399
  };
5791
- type PriceControllerFindAllResponse = PriceListResponseDto;
5792
- type PriceControllerFindOneData = {
6400
+ type DashboardControllerGetExpensesResponse = ExpensesByCategoryResponseDto;
6401
+ type HoldingPnlControllerGetHoldingPnlData = {
5793
6402
  /**
5794
- * Price ID
6403
+ * Scope to a single account
5795
6404
  */
5796
- id: string;
6405
+ accountId?: string;
5797
6406
  /**
5798
- * Region code for tenant context
6407
+ * As-of date (ISO 8601), defaults to today
5799
6408
  */
5800
- region: 'cn' | 'us' | 'de' | 'gb';
5801
- };
5802
- type PriceControllerFindOneResponse = PriceResponseDto;
5803
- type PriceControllerUpdateData = {
6409
+ asOf?: string;
5804
6410
  /**
5805
- * Price ID
6411
+ * Realized-P&L lot-matching method (default average). Does not affect the average-cost unrealized basis.
5806
6412
  */
5807
- id: string;
6413
+ method?: 'FIFO' | 'average';
5808
6414
  /**
5809
6415
  * Region code for tenant context
5810
6416
  */
5811
6417
  region: 'cn' | 'us' | 'de' | 'gb';
5812
- requestBody: UpdateBeanPriceDto;
5813
6418
  };
5814
- type PriceControllerUpdateResponse = PriceResponseDto;
5815
- type PriceControllerDeleteData = {
6419
+ type HoldingPnlControllerGetHoldingPnlResponse = HoldingPnlResponseDto;
6420
+ type ReportingControllerGetPortfolioTrendsData = {
5816
6421
  /**
5817
- * Price ID
6422
+ * Data granularity
5818
6423
  */
5819
- id: string;
6424
+ granularity?: 'day' | 'week' | 'month';
5820
6425
  /**
5821
- * Region code for tenant context
6426
+ * Time period
5822
6427
  */
5823
- region: 'cn' | 'us' | 'de' | 'gb';
5824
- };
5825
- type PriceControllerDeleteResponse = void;
5826
- type PriceControllerBulkCreateData = {
6428
+ period?: '1m' | '3m' | '6m' | '1y';
5827
6429
  /**
5828
6430
  * Region code for tenant context
5829
6431
  */
5830
6432
  region: 'cn' | 'us' | 'de' | 'gb';
5831
- requestBody: Array<string>;
5832
6433
  };
5833
- type PriceControllerBulkCreateResponse = Array<PriceResponseDto>;
5834
- type ReportingControllerGetPortfolioTrendsData = {
6434
+ type ReportingControllerGetPortfolioTrendsResponse = PortfolioTrendsResponseDto;
6435
+ type ReportingControllerGetCashFlowTrendsData = {
5835
6436
  /**
5836
- * Data granularity
6437
+ * Data granularity (accepted for API symmetry; v1 returns month buckets)
5837
6438
  */
5838
6439
  granularity?: 'day' | 'week' | 'month';
5839
6440
  /**
@@ -5845,7 +6446,7 @@ type ReportingControllerGetPortfolioTrendsData = {
5845
6446
  */
5846
6447
  region: 'cn' | 'us' | 'de' | 'gb';
5847
6448
  };
5848
- type ReportingControllerGetPortfolioTrendsResponse = PortfolioTrendsResponseDto;
6449
+ type ReportingControllerGetCashFlowTrendsResponse = CashFlowTrendsResponseDto;
5849
6450
  type ReportingControllerGenerateSnapshotData = {
5850
6451
  /**
5851
6452
  * Region code for tenant context
@@ -5869,7 +6470,7 @@ type ApiKeysControllerCreateApiKeyResponse = unknown;
5869
6470
  type AuthControllerAccessTokenLoginData = {
5870
6471
  requestBody: AnonymousLoginDto;
5871
6472
  };
5872
- type AuthControllerAccessTokenLoginResponse = unknown;
6473
+ type AuthControllerAccessTokenLoginResponse = AnonymousLoginResponseDto;
5873
6474
  type CacheControllerFlushCacheResponse = unknown;
5874
6475
  type ExchangeRateControllerGetExchangeRateData = {
5875
6476
  /**
@@ -6004,6 +6605,25 @@ type $OpenApiTs = {
6004
6605
  };
6005
6606
  };
6006
6607
  };
6608
+ '/api/v1/{region}/bean/accounts/{id}/opening-balance': {
6609
+ post: {
6610
+ req: AccountControllerAddOpeningBalanceData;
6611
+ res: {
6612
+ /**
6613
+ * Opening-balance transaction created
6614
+ */
6615
+ 201: OpeningBalanceResultDto;
6616
+ /**
6617
+ * Account not found
6618
+ */
6619
+ 404: unknown;
6620
+ /**
6621
+ * An opening balance already exists for this account
6622
+ */
6623
+ 409: unknown;
6624
+ };
6625
+ };
6626
+ };
6007
6627
  '/api/v1/{region}/bean/account-standards': {
6008
6628
  get: {
6009
6629
  req: AccountStandardsControllerGetTemplatesData;
@@ -6612,6 +7232,90 @@ type $OpenApiTs = {
6612
7232
  };
6613
7233
  };
6614
7234
  };
7235
+ '/api/v1/{region}/bean/prices': {
7236
+ post: {
7237
+ req: PriceControllerCreateData;
7238
+ res: {
7239
+ /**
7240
+ * Price created successfully
7241
+ */
7242
+ 201: PriceResponseDto;
7243
+ /**
7244
+ * Currency or quoteCurrency commodity not found
7245
+ */
7246
+ 404: unknown;
7247
+ /**
7248
+ * Price already exists for this currency pair and date
7249
+ */
7250
+ 409: unknown;
7251
+ };
7252
+ };
7253
+ get: {
7254
+ req: PriceControllerFindAllData;
7255
+ res: {
7256
+ /**
7257
+ * Prices retrieved successfully
7258
+ */
7259
+ 200: PriceListResponseDto;
7260
+ };
7261
+ };
7262
+ };
7263
+ '/api/v1/{region}/bean/prices/{id}': {
7264
+ get: {
7265
+ req: PriceControllerFindOneData;
7266
+ res: {
7267
+ /**
7268
+ * Price retrieved successfully
7269
+ */
7270
+ 200: PriceResponseDto;
7271
+ /**
7272
+ * Price not found
7273
+ */
7274
+ 404: unknown;
7275
+ };
7276
+ };
7277
+ put: {
7278
+ req: PriceControllerUpdateData;
7279
+ res: {
7280
+ /**
7281
+ * Price updated successfully
7282
+ */
7283
+ 200: PriceResponseDto;
7284
+ /**
7285
+ * Price not found
7286
+ */
7287
+ 404: unknown;
7288
+ /**
7289
+ * Updated price conflicts with existing price
7290
+ */
7291
+ 409: unknown;
7292
+ };
7293
+ };
7294
+ delete: {
7295
+ req: PriceControllerDeleteData;
7296
+ res: {
7297
+ /**
7298
+ * Price deleted successfully
7299
+ */
7300
+ 204: void;
7301
+ /**
7302
+ * Price not found
7303
+ */
7304
+ 404: unknown;
7305
+ };
7306
+ };
7307
+ };
7308
+ '/api/v1/{region}/bean/prices/bulk': {
7309
+ post: {
7310
+ req: PriceControllerBulkCreateData;
7311
+ res: {
7312
+ /**
7313
+ * Prices created successfully
7314
+ */
7315
+ 201: Array<PriceResponseDto>;
7316
+ };
7317
+ };
7318
+ };
6615
7319
  '/api/v1/{region}/bean/recurring-rules': {
6616
7320
  post: {
6617
7321
  req: RecurringRuleControllerCreateData;
@@ -7099,7 +7803,7 @@ type $OpenApiTs = {
7099
7803
  /**
7100
7804
  * User created successfully
7101
7805
  */
7102
- 201: unknown;
7806
+ 201: SignupResponseDto;
7103
7807
  /**
7104
7808
  * Invalid Turnstile token (when Turnstile is enabled)
7105
7809
  */
@@ -7333,6 +8037,104 @@ type $OpenApiTs = {
7333
8037
  };
7334
8038
  };
7335
8039
  };
8040
+ '/api/v1/{region}/bean/events/{id}/slice': {
8041
+ get: {
8042
+ req: EventControllerGetSliceData;
8043
+ res: {
8044
+ /**
8045
+ * Time-series sliced by the life event range
8046
+ */
8047
+ 200: unknown;
8048
+ /**
8049
+ * accountPattern query param is empty
8050
+ */
8051
+ 400: unknown;
8052
+ /**
8053
+ * Life event not found
8054
+ */
8055
+ 404: unknown;
8056
+ };
8057
+ };
8058
+ };
8059
+ '/api/v1/{region}/bean/onboarding': {
8060
+ post: {
8061
+ req: OnboardingControllerBootstrapData;
8062
+ res: {
8063
+ /**
8064
+ * Onboarding bootstrap result.
8065
+ */
8066
+ 201: unknown;
8067
+ /**
8068
+ * Invalid region/account path/duplicate paths.
8069
+ */
8070
+ 422: unknown;
8071
+ };
8072
+ };
8073
+ };
8074
+ '/api/v1/{region}/bean/reconciliations': {
8075
+ post: {
8076
+ req: ReconciliationControllerComputeData;
8077
+ res: {
8078
+ /**
8079
+ * Reconciliation preview
8080
+ */
8081
+ 200: ReconciliationComputeResultDto;
8082
+ /**
8083
+ * Account not found
8084
+ */
8085
+ 404: unknown;
8086
+ };
8087
+ };
8088
+ };
8089
+ '/api/v1/{region}/bean/reconciliations/assert': {
8090
+ post: {
8091
+ req: ReconciliationControllerAssertData;
8092
+ res: {
8093
+ /**
8094
+ * Balance assertion recorded
8095
+ */
8096
+ 201: ReconciliationRecordDto;
8097
+ /**
8098
+ * Account not found
8099
+ */
8100
+ 404: unknown;
8101
+ };
8102
+ };
8103
+ };
8104
+ '/api/v1/{region}/bean/reconciliations/pad': {
8105
+ post: {
8106
+ req: ReconciliationControllerPadData;
8107
+ res: {
8108
+ /**
8109
+ * Pad adjusting entry generated
8110
+ */
8111
+ 201: PadResultDto;
8112
+ /**
8113
+ * Book already within tolerance — no pad needed
8114
+ */
8115
+ 400: unknown;
8116
+ /**
8117
+ * Account not found
8118
+ */
8119
+ 404: unknown;
8120
+ };
8121
+ };
8122
+ };
8123
+ '/api/v1/{region}/bean/accounts/{accountId}/reconciliations': {
8124
+ get: {
8125
+ req: ReconciliationControllerHistoryData;
8126
+ res: {
8127
+ /**
8128
+ * Reconciliation history
8129
+ */
8130
+ 200: Array<ReconciliationRecordDto>;
8131
+ /**
8132
+ * Account not found
8133
+ */
8134
+ 404: unknown;
8135
+ };
8136
+ };
8137
+ };
7336
8138
  '/api/v1/{region}/bean/export/beancount': {
7337
8139
  get: {
7338
8140
  res: {
@@ -7421,137 +8223,65 @@ type $OpenApiTs = {
7421
8223
  skipped?: number;
7422
8224
  failed?: number;
7423
8225
  accountsCreated?: number;
7424
- errors?: Array<{
7425
- [key: string]: unknown;
7426
- }>;
7427
- };
7428
- /**
7429
- * Bad request - invalid file or no file uploaded
7430
- */
7431
- 400: ApiProblemResponseDto;
7432
- };
7433
- };
7434
- };
7435
- '/api/v1/{region}/bean/import/config/{importerId}': {
7436
- get: {
7437
- req: ImporterConfigControllerGetConfigData;
7438
- res: {
7439
- /**
7440
- * Configuration retrieved successfully
7441
- */
7442
- 200: ImporterConfigDto;
7443
- /**
7444
- * Invalid input - Unsupported importer
7445
- */
7446
- 400: ApiProblemResponseDto;
7447
- /**
7448
- * Unauthorized - Authentication required
7449
- */
7450
- 401: ApiProblemResponseDto;
7451
- };
7452
- };
7453
- put: {
7454
- req: ImporterConfigControllerUpdateConfigData;
7455
- res: {
7456
- /**
7457
- * Configuration updated successfully
7458
- */
7459
- 200: ImporterConfigDto;
7460
- /**
7461
- * Invalid input - Validation failed
7462
- */
7463
- 400: ApiProblemResponseDto;
7464
- /**
7465
- * Configuration not found
7466
- */
7467
- 404: ApiProblemResponseDto;
7468
- };
7469
- };
7470
- };
7471
- '/api/v1/{region}/bean/import/config/{importerId}/reset': {
7472
- post: {
7473
- req: ImporterConfigControllerResetConfigData;
7474
- res: {
7475
- /**
7476
- * Configuration reset successfully
7477
- */
7478
- 200: ImporterConfigDto;
7479
- /**
7480
- * Invalid input - Unsupported importer
7481
- */
7482
- 400: ApiProblemResponseDto;
7483
- };
7484
- };
7485
- };
7486
- '/api/v1/bean/platforms': {
7487
- get: {
7488
- res: {
7489
- /**
7490
- * List of platforms with binding and account counts
7491
- */
7492
- 200: unknown;
7493
- };
7494
- };
7495
- post: {
7496
- req: PlatformControllerCreateData;
7497
- res: {
7498
- /**
7499
- * Platform created successfully
7500
- */
7501
- 201: unknown;
8226
+ errors?: Array<{
8227
+ [key: string]: unknown;
8228
+ }>;
8229
+ };
7502
8230
  /**
7503
- * Platform already exists
8231
+ * Bad request - invalid file or no file uploaded
7504
8232
  */
7505
- 409: unknown;
8233
+ 400: ApiProblemResponseDto;
7506
8234
  };
7507
8235
  };
7508
8236
  };
7509
- '/api/v1/bean/platforms/list': {
8237
+ '/api/v1/{region}/bean/import/config/{importerId}': {
7510
8238
  get: {
8239
+ req: ImporterConfigControllerGetConfigData;
7511
8240
  res: {
7512
8241
  /**
7513
- * List of platforms with user binding status
8242
+ * Configuration retrieved successfully
7514
8243
  */
7515
- 200: unknown;
7516
- };
7517
- };
7518
- };
7519
- '/api/v1/bean/platforms/match': {
7520
- get: {
7521
- req: PlatformControllerMatchPlatformsData;
7522
- res: {
8244
+ 200: ImporterConfigDto;
7523
8245
  /**
7524
- * List of matching platforms with suggested segment names
8246
+ * Invalid input - Unsupported importer
7525
8247
  */
7526
- 200: unknown;
8248
+ 400: ApiProblemResponseDto;
8249
+ /**
8250
+ * Unauthorized - Authentication required
8251
+ */
8252
+ 401: ApiProblemResponseDto;
7527
8253
  };
7528
8254
  };
7529
- };
7530
- '/api/v1/bean/platforms/{id}': {
7531
8255
  put: {
7532
- req: PlatformControllerUpdateData;
8256
+ req: ImporterConfigControllerUpdateConfigData;
7533
8257
  res: {
7534
8258
  /**
7535
- * Platform updated successfully
8259
+ * Configuration updated successfully
7536
8260
  */
7537
- 200: unknown;
8261
+ 200: ImporterConfigDto;
7538
8262
  /**
7539
- * Platform not found
8263
+ * Invalid input - Validation failed
7540
8264
  */
7541
- 404: unknown;
8265
+ 400: ApiProblemResponseDto;
8266
+ /**
8267
+ * Configuration not found
8268
+ */
8269
+ 404: ApiProblemResponseDto;
7542
8270
  };
7543
8271
  };
7544
- delete: {
7545
- req: PlatformControllerDeleteData;
8272
+ };
8273
+ '/api/v1/{region}/bean/import/config/{importerId}/reset': {
8274
+ post: {
8275
+ req: ImporterConfigControllerResetConfigData;
7546
8276
  res: {
7547
8277
  /**
7548
- * Platform deleted successfully
8278
+ * Configuration reset successfully
7549
8279
  */
7550
- 204: void;
8280
+ 200: ImporterConfigDto;
7551
8281
  /**
7552
- * Platform not found
8282
+ * Invalid input - Unsupported importer
7553
8283
  */
7554
- 404: unknown;
8284
+ 400: ApiProblemResponseDto;
7555
8285
  };
7556
8286
  };
7557
8287
  };
@@ -7608,6 +8338,54 @@ type $OpenApiTs = {
7608
8338
  };
7609
8339
  };
7610
8340
  };
8341
+ '/api/v1/{region}/bean/external-account-links': {
8342
+ post: {
8343
+ req: ExternalAccountLinkControllerCreateData;
8344
+ res: {
8345
+ /**
8346
+ * Link created.
8347
+ */
8348
+ 201: ExternalAccountLinkResponseDto;
8349
+ /**
8350
+ * beanAccountId not owned, or an active link already exists.
8351
+ */
8352
+ 422: unknown;
8353
+ };
8354
+ };
8355
+ get: {
8356
+ req: ExternalAccountLinkControllerFindAllData;
8357
+ res: {
8358
+ /**
8359
+ * Links retrieved.
8360
+ */
8361
+ 200: ExternalAccountLinkListResponseDto;
8362
+ };
8363
+ };
8364
+ };
8365
+ '/api/v1/{region}/bean/external-account-links/{id}': {
8366
+ get: {
8367
+ req: ExternalAccountLinkControllerFindOneData;
8368
+ res: {
8369
+ /**
8370
+ * Link retrieved.
8371
+ */
8372
+ 200: ExternalAccountLinkResponseDto;
8373
+ /**
8374
+ * Link not found or not owned by the user.
8375
+ */
8376
+ 422: unknown;
8377
+ };
8378
+ };
8379
+ delete: {
8380
+ req: ExternalAccountLinkControllerRemoveData;
8381
+ res: {
8382
+ /**
8383
+ * Link soft-deleted; historical transactions are unaffected.
8384
+ */
8385
+ 204: void;
8386
+ };
8387
+ };
8388
+ };
7611
8389
  '/api/v1/{region}/bean/import/parser-telemetry': {
7612
8390
  post: {
7613
8391
  req: TelemetryControllerReportTelemetryData;
@@ -7696,6 +8474,78 @@ type $OpenApiTs = {
7696
8474
  };
7697
8475
  };
7698
8476
  };
8477
+ '/api/v1/bean/platforms': {
8478
+ get: {
8479
+ res: {
8480
+ /**
8481
+ * List of platforms with binding and account counts
8482
+ */
8483
+ 200: unknown;
8484
+ };
8485
+ };
8486
+ post: {
8487
+ req: PlatformControllerCreateData;
8488
+ res: {
8489
+ /**
8490
+ * Platform created successfully
8491
+ */
8492
+ 201: unknown;
8493
+ /**
8494
+ * Platform already exists
8495
+ */
8496
+ 409: unknown;
8497
+ };
8498
+ };
8499
+ };
8500
+ '/api/v1/bean/platforms/list': {
8501
+ get: {
8502
+ res: {
8503
+ /**
8504
+ * List of platforms with user binding status
8505
+ */
8506
+ 200: Array<PlatformListItemDto>;
8507
+ };
8508
+ };
8509
+ };
8510
+ '/api/v1/bean/platforms/match': {
8511
+ get: {
8512
+ req: PlatformControllerMatchPlatformsData;
8513
+ res: {
8514
+ /**
8515
+ * Matching platforms with overall match type and truncation flag
8516
+ */
8517
+ 200: PlatformMatchResponseDto;
8518
+ };
8519
+ };
8520
+ };
8521
+ '/api/v1/bean/platforms/{id}': {
8522
+ put: {
8523
+ req: PlatformControllerUpdateData;
8524
+ res: {
8525
+ /**
8526
+ * Platform updated successfully
8527
+ */
8528
+ 200: unknown;
8529
+ /**
8530
+ * Platform not found
8531
+ */
8532
+ 404: unknown;
8533
+ };
8534
+ };
8535
+ delete: {
8536
+ req: PlatformControllerDeleteData;
8537
+ res: {
8538
+ /**
8539
+ * Platform deleted successfully
8540
+ */
8541
+ 204: void;
8542
+ /**
8543
+ * Platform not found
8544
+ */
8545
+ 404: unknown;
8546
+ };
8547
+ };
8548
+ };
7699
8549
  '/api/v1/{region}/dashboard/net-worth': {
7700
8550
  get: {
7701
8551
  req: DashboardControllerGetNetWorthData;
@@ -7745,16 +8595,16 @@ type $OpenApiTs = {
7745
8595
  };
7746
8596
  };
7747
8597
  };
7748
- '/api/v1/{region}/investment/holdings/pnl': {
8598
+ '/api/v1/{region}/dashboard/expenses': {
7749
8599
  get: {
7750
- req: HoldingPnlControllerGetHoldingPnlData;
8600
+ req: DashboardControllerGetExpensesData;
7751
8601
  res: {
7752
8602
  /**
7753
- * Holding P&L retrieved successfully
8603
+ * Expenses retrieved successfully
7754
8604
  */
7755
- 200: HoldingPnlResponseDto;
8605
+ 200: ExpensesByCategoryResponseDto;
7756
8606
  /**
7757
- * Invalid asOf format/value/future date, invalid accountId format, or unsupported method
8607
+ * Invalid groupBy or period
7758
8608
  */
7759
8609
  400: unknown;
7760
8610
  /**
@@ -7764,98 +8614,48 @@ type $OpenApiTs = {
7764
8614
  };
7765
8615
  };
7766
8616
  };
7767
- '/api/v1/{region}/bean/prices': {
7768
- post: {
7769
- req: PriceControllerCreateData;
8617
+ '/api/v1/{region}/investment/holdings/pnl': {
8618
+ get: {
8619
+ req: HoldingPnlControllerGetHoldingPnlData;
7770
8620
  res: {
7771
8621
  /**
7772
- * Price created successfully
7773
- */
7774
- 201: PriceResponseDto;
7775
- /**
7776
- * Currency or quoteCurrency commodity not found
8622
+ * Holding P&L retrieved successfully
7777
8623
  */
7778
- 404: unknown;
8624
+ 200: HoldingPnlResponseDto;
7779
8625
  /**
7780
- * Price already exists for this currency pair and date
8626
+ * Invalid asOf format/value/future date, invalid accountId format, or unsupported method
7781
8627
  */
7782
- 409: unknown;
7783
- };
7784
- };
7785
- get: {
7786
- req: PriceControllerFindAllData;
7787
- res: {
8628
+ 400: unknown;
7788
8629
  /**
7789
- * Prices retrieved successfully
8630
+ * User not authenticated
7790
8631
  */
7791
- 200: PriceListResponseDto;
8632
+ 401: unknown;
7792
8633
  };
7793
8634
  };
7794
8635
  };
7795
- '/api/v1/{region}/bean/prices/{id}': {
8636
+ '/api/v1/{region}/reporting/portfolio/trends': {
7796
8637
  get: {
7797
- req: PriceControllerFindOneData;
7798
- res: {
7799
- /**
7800
- * Price retrieved successfully
7801
- */
7802
- 200: PriceResponseDto;
7803
- /**
7804
- * Price not found
7805
- */
7806
- 404: unknown;
7807
- };
7808
- };
7809
- put: {
7810
- req: PriceControllerUpdateData;
7811
- res: {
7812
- /**
7813
- * Price updated successfully
7814
- */
7815
- 200: PriceResponseDto;
7816
- /**
7817
- * Price not found
7818
- */
7819
- 404: unknown;
7820
- /**
7821
- * Updated price conflicts with existing price
7822
- */
7823
- 409: unknown;
7824
- };
7825
- };
7826
- delete: {
7827
- req: PriceControllerDeleteData;
8638
+ req: ReportingControllerGetPortfolioTrendsData;
7828
8639
  res: {
7829
8640
  /**
7830
- * Price deleted successfully
7831
- */
7832
- 204: void;
7833
- /**
7834
- * Price not found
8641
+ * Trends retrieved successfully
7835
8642
  */
7836
- 404: unknown;
7837
- };
7838
- };
7839
- };
7840
- '/api/v1/{region}/bean/prices/bulk': {
7841
- post: {
7842
- req: PriceControllerBulkCreateData;
7843
- res: {
8643
+ 200: PortfolioTrendsResponseDto;
7844
8644
  /**
7845
- * Prices created successfully
8645
+ * User not authenticated
7846
8646
  */
7847
- 201: Array<PriceResponseDto>;
8647
+ 401: unknown;
7848
8648
  };
7849
8649
  };
7850
8650
  };
7851
- '/api/v1/{region}/reporting/portfolio/trends': {
8651
+ '/api/v1/{region}/reporting/cash-flow/trends': {
7852
8652
  get: {
7853
- req: ReportingControllerGetPortfolioTrendsData;
8653
+ req: ReportingControllerGetCashFlowTrendsData;
7854
8654
  res: {
7855
8655
  /**
7856
- * Trends retrieved successfully
8656
+ * Cash-flow trends retrieved successfully
7857
8657
  */
7858
- 200: PortfolioTrendsResponseDto;
8658
+ 200: CashFlowTrendsResponseDto;
7859
8659
  /**
7860
8660
  * User not authenticated
7861
8661
  */
@@ -7926,7 +8726,7 @@ type $OpenApiTs = {
7926
8726
  /**
7927
8727
  * Login successful
7928
8728
  */
7929
- 200: unknown;
8729
+ 200: AnonymousLoginResponseDto;
7930
8730
  /**
7931
8731
  * Invalid access token
7932
8732
  */
@@ -8094,7 +8894,7 @@ declare class BeanAccountsService {
8094
8894
  * @param data.type Filter by account type
8095
8895
  * @param data.status Filter by status
8096
8896
  * @param data.isCustom Filter by custom (user-created) accounts only
8097
- * @param data.search Search term for path or i18nKey
8897
+ * @param data.search Search term for account path
8098
8898
  * @param data.limit Maximum number of results
8099
8899
  * @param data.offset Number of results to skip
8100
8900
  * @returns AccountListResponseDto Accounts retrieved successfully
@@ -8154,6 +8954,17 @@ declare class BeanAccountsService {
8154
8954
  * @throws ApiError
8155
8955
  */
8156
8956
  static accountControllerReopen(data: AccountControllerReopenData): CancelablePromise<AccountControllerReopenResponse>;
8957
+ /**
8958
+ * Post an opening-balance transaction
8959
+ * Posts a double-entry opening-balance transaction against Equity:Opening-Balances for an existing Assets/Liabilities account. At most one active opening balance per account.
8960
+ * @param data The data for the request.
8961
+ * @param data.id Account UUID
8962
+ * @param data.region Region code for tenant context
8963
+ * @param data.requestBody
8964
+ * @returns OpeningBalanceResultDto Opening-balance transaction created
8965
+ * @throws ApiError
8966
+ */
8967
+ static accountControllerAddOpeningBalance(data: AccountControllerAddOpeningBalanceData): CancelablePromise<AccountControllerAddOpeningBalanceResponse>;
8157
8968
  }
8158
8969
  declare class BeanTransactionsService {
8159
8970
  /**
@@ -8179,6 +8990,7 @@ declare class BeanTransactionsService {
8179
8990
  * @param data.status Filter by transaction status
8180
8991
  * @param data.search Search in narration and payee fields (max 200 chars)
8181
8992
  * @param data.accountId Filter by account ID (transactions with postings to this account)
8993
+ * @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
8182
8994
  * @returns TransactionListResponseDto Transaction list
8183
8995
  * @throws ApiError
8184
8996
  */
@@ -8254,7 +9066,7 @@ declare class BeanBalancesService {
8254
9066
  * Query account balance
8255
9067
  * Calculate account balance at a specific date for a single currency
8256
9068
  * @param data The data for the request.
8257
- * @param data.account Account name (e.g., "Assets:Bank:Checking")
9069
+ * @param data.account Account name (e.g., "Assets:Checking")
8258
9070
  * @param data.region Region code for tenant context
8259
9071
  * @param data.date Date to calculate balance at (ISO 8601 format)
8260
9072
  * @param data.currency Currency to query (e.g., "USD", "CNY")
@@ -8484,4 +9296,4 @@ type OpenAPIConfig = {
8484
9296
  };
8485
9297
  declare const OpenAPI: OpenAPIConfig;
8486
9298
 
8487
- 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 CostDetailDto, type CostSpecDto, type CreateAccountDto, type CreateBeanEventDto, type CreateBeanPriceDto, type CreateCommodityDto, type CreatePayeeDto, type CreatePayeeProfileDto, type CreatePlatformDto, type CreatePostingDto, type CreateRecurringRuleDto, type CreateRuleFromTransactionDto, type CreateTransactionDto, type CreateTransactionRuleDto, type CurrencyBalanceDto, type CurrentPriceDto, type DashboardControllerGetAccountsData, type DashboardControllerGetAccountsResponse, type DashboardControllerGetCashFlowData, type DashboardControllerGetCashFlowResponse, type 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 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 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 UpdateBeanEventDto, type UpdateBeanPriceDto, type UpdateCommodityDto, type UpdateConfigDataDto, type UpdateImporterConfigDto, type UpdateMapperDefaultsDto, type UpdatePayeeDto, type UpdatePayeeProfileDto, type UpdatePlatformDto, type UpdatePropertyDto, type UpdateRecurringRuleDto, type UpdateTransactionDto, type UpdateTransactionRuleDto, type UpdateUserSettingDto, type UserControllerDeleteOwnUserData, type UserControllerDeleteOwnUserResponse, type UserControllerDeleteUserData, type UserControllerDeleteUserResponse, type UserControllerGetAllUserSettingsByPageData, type UserControllerGetAllUserSettingsByPageResponse, type UserControllerGetAssetLiabilitySummaryResponse, type UserControllerGetUserData, type UserControllerGetUserInfoData, type UserControllerGetUserInfoResponse, type UserControllerGetUserResponse, type UserControllerSignupUserData, type UserControllerSignupUserResponse, type UserControllerUpdateUserSettingData, type UserControllerUpdateUserSettingResponse, type ValidateRuleDto, type ValidateRuleResponseDto, type VersionedConfigDto, type action, type action2, type assetClass, type assetSubType, type bookingMethod, type branchType, type category, type chartToken, type colorScheme, type confidenceLevel, type conflictStrategy, type dataSource, type equitySubType, type flag, type flag2, type frequency, type importerId, type intent, type investmentAction, type learningSource, type liabilitySubType, type matchLogic, type method, type mode, type paymentSource, type period, type source, type source2, type source3, type status, type status2, type status3, type status4, type suggestedFrequency, type type, type type2, type type3, type type4, type value, type viewMode };
9299
+ export { type $OpenApiTs, type AccountControllerAddOpeningBalanceData, type AccountControllerAddOpeningBalanceResponse, type AccountControllerCloseData, type AccountControllerCloseResponse, type AccountControllerCreateData, type AccountControllerCreateResponse, type AccountControllerDeleteData, type AccountControllerDeleteResponse, type AccountControllerFindAllData, type AccountControllerFindAllResponse, type AccountControllerFindOneData, type AccountControllerFindOneResponse, type AccountControllerReopenData, type AccountControllerReopenResponse, type AccountControllerUpdateData, type AccountControllerUpdateResponse, type AccountExchangeRateWarningDto, type AccountItemDto, type AccountItemWithAssetClassDto, type AccountListResponseDto, type AccountResponseDto, type AccountStandardListResponseDto, type AccountStandardResponseDto, type AccountStandardsControllerGetRegionsData, type AccountStandardsControllerGetRegionsResponse, type AccountStandardsControllerGetTemplateMetadataData, type AccountStandardsControllerGetTemplateMetadataResponse, type AccountStandardsControllerGetTemplatesData, type AccountStandardsControllerGetTemplatesResponse, type AccountsResponseDto, type AccountsSummaryDto, type ActualBalanceDto, type AmountDto, type AmountRangeDto, type AnonymousLoginDto, type AnonymousLoginResponseDto, type ApiKeysControllerCreateApiKeyResponse, type ApiProblemResponseDto, type AssertReconciliationDto, type AssetClassAccountsResponseDto, type AssetClassGroupDto, type AssetClassSummaryDto, type AuthControllerAccessTokenLoginData, type AuthControllerAccessTokenLoginResponse, type BackfillSnapshotsBody, type BackfillSnapshotsResponse, type BalanceByCurrencyDto, type BalanceControllerGetBalanceData, type BalanceControllerGetBalanceResponse, type BalanceControllerGetMultiCurrencyBalanceData, type BalanceControllerGetMultiCurrencyBalanceResponse, type BalanceResponseDto, type BatchCreateTransactionDto, type BatchResolveDto, type BatchResolveResultDto, type BatchTransactionErrorDto, type BatchTransactionResponseDto, BeanAccountsService, BeanBalancesService, BeanCommoditiesService, BeanTransactionsService, type BulkCreateRulesDto, type BulkCreateRulesResponseDto, type CacheControllerFlushCacheResponse, type CashFlowByCurrencyDto, type CashFlowPointDto, type CashFlowResponseDto, type CashFlowTrendSummaryDto, type CashFlowTrendsResponseDto, type CategoryGroupDto, type CloseAccountDto, type CommodityControllerBulkCreateData, type CommodityControllerBulkCreateResponse, type CommodityControllerCreateData, type CommodityControllerCreateResponse, type CommodityControllerDeleteData, type CommodityControllerDeleteResponse, type CommodityControllerFindAllData, type CommodityControllerFindAllResponse, type CommodityControllerFindOneData, type CommodityControllerFindOneResponse, type CommodityControllerGetOrCreateData, type CommodityControllerGetOrCreateResponse, type CommodityControllerUpdateData, type CommodityControllerUpdateResponse, type CommodityListResponseDto, type CommodityResponseDto, type ComputeReconciliationDto, type ConfirmMatchDto, type ConvertedCashFlowDto, type ConvertedNetWorthDto, type CorrectTransactionDto, type CostDetailDto, type CostSpecDto, type CreateAccountDto, type CreateBeanEventDto, type CreateBeanPriceDto, type CreateCommodityDto, type CreateExternalAccountLinkDto, type CreateOpeningBalanceDto, type CreatePayeeDto, type CreatePayeeProfileDto, type CreatePlatformDto, type CreatePostingDto, type CreateRecurringRuleDto, type CreateRuleFromTransactionDto, type CreateTransactionDto, type CreateTransactionRuleDto, type CurrencyBalanceDto, type CurrentPriceDto, type DashboardControllerGetAccountsData, type DashboardControllerGetAccountsResponse, type DashboardControllerGetCashFlowData, type DashboardControllerGetCashFlowResponse, type DashboardControllerGetExpensesData, type DashboardControllerGetExpensesResponse, type DashboardControllerGetNetWorthData, type DashboardControllerGetNetWorthResponse, type DecisionOptionDto, type DeleteOwnUserDto, type EnterNowDto, type EventControllerCreateData, type EventControllerCreateResponse, type EventControllerDeleteData, type EventControllerDeleteResponse, type EventControllerFindAllData, type EventControllerFindAllResponse, type EventControllerFindOneData, type EventControllerFindOneResponse, type EventControllerGetSliceData, type EventControllerGetSliceResponse, type EventControllerUpdateData, type EventControllerUpdateResponse, type EventListResponseDto, type EventResponseDto, type ExchangeRateControllerGetExchangeRateData, type ExchangeRateControllerGetExchangeRateResponse, type ExchangeRateWarningDto, type ExpectedTransactionControllerConfirmMatchData, type ExpectedTransactionControllerConfirmMatchResponse, type ExpectedTransactionControllerEnterNowData, type ExpectedTransactionControllerEnterNowResponse, type ExpectedTransactionControllerFindAllData, type ExpectedTransactionControllerFindAllResponse, type ExpectedTransactionControllerFindOneData, type ExpectedTransactionControllerFindOneResponse, type ExpectedTransactionControllerFindOverdueData, type ExpectedTransactionControllerFindOverdueResponse, type ExpectedTransactionControllerSkipData, type ExpectedTransactionControllerSkipResponse, type ExpectedTransactionControllerUndoSkipData, type ExpectedTransactionControllerUndoSkipResponse, type ExpectedTransactionControllerUnmatchData, type ExpectedTransactionControllerUnmatchResponse, type ExpectedTransactionListResponseDto, type ExpectedTransactionResponseDto, type ExpectedTransactionRuleDto, type ExpensesByCategoryResponseDto, type ExpensesByCategorySummaryDto, type ExportControllerExportBeancountResponse, type ExportRulesResponseDto, type ExternalAccountLinkControllerCreateData, type ExternalAccountLinkControllerCreateResponse, type ExternalAccountLinkControllerFindAllData, type ExternalAccountLinkControllerFindAllResponse, type ExternalAccountLinkControllerFindOneData, type ExternalAccountLinkControllerFindOneResponse, type ExternalAccountLinkControllerRemoveData, type ExternalAccountLinkControllerRemoveResponse, type ExternalAccountLinkListResponseDto, type ExternalAccountLinkResponseDto, type FileImportControllerIdentifyFileData, type FileImportControllerIdentifyFileResponse, type FileImportControllerImportBeancountData, type FileImportControllerImportBeancountResponse, type FileImportControllerImportFileData, type FileImportControllerImportFileResponse, type FileImportDto, type ForecastControllerGetForecastData, type ForecastControllerGetForecastResponse, type ForecastItemDto, type ForecastResponseDto, type FxRateDto, type GenerateSnapshotBody, type GenerateSnapshotResponse, type HealthControllerCheckDatabaseResponse, type HealthControllerCheckOpenBbResponse, type HealthControllerCheckRedisResponse, type HealthControllerGetCircuitBreakersHealthResponse, type HealthControllerGetHealthResponse, type HealthControllerGetMetricsResponse, type HealthControllerResetCircuitBreakerData, type HealthControllerResetCircuitBreakerResponse, HealthService, type HoldingAssetClassAccountSliceDto, type HoldingAssetClassCrossAccountResponseDto, type HoldingPnlControllerGetHoldingPnlData, type HoldingPnlControllerGetHoldingPnlResponse, type HoldingPnlResponseDto, type HoldingPnlRowDto, type HoldingPnlWarningDto, type IdentifyResultDto, type ImportErrorDto, type ImportResultDto, type ImporterConfigControllerGetConfigData, type ImporterConfigControllerGetConfigResponse, type ImporterConfigControllerResetConfigData, type ImporterConfigControllerResetConfigResponse, type ImporterConfigControllerUpdateConfigData, type ImporterConfigControllerUpdateConfigResponse, type ImporterConfigDataDto, type ImporterConfigDto, type InfoControllerGetInfoResponse, type MapperDefaultsDto, type MonetaryDto, type MonthlyForecastDto, type MultiCurrencyBalanceResponseDto, type MultiCurrencyPointDto, type NetWorthByCurrencyDto, type NetWorthResponseDto, type NlpAccountConfirmationDataDto, type NlpAlternativePayeeDto, type NlpControllerClearSessionData, type NlpControllerClearSessionResponse, type NlpControllerGetSessionData, type NlpControllerGetSessionResponse, type NlpControllerProcessNaturalLanguageData, type NlpControllerProcessNaturalLanguageResponse, type NlpDefaultAccountsDto, type NlpDuplicateConfirmationDataDto, type NlpParsedDataDto, type NlpPayeeConfirmationDataDto, type NlpResponseDto, type NlpRuleConfirmationDataDto, type NlpSimilarityDto, type NlpSourceTransactionDto, type NlpSuggestedAccountDto, type NlpSuggestedAccountsDto, type NlpSuggestedPayeeDto, type NlpTargetTransactionDto, type NlpTransactionInfoDto, type OnboardingAccountDto, type OnboardingControllerBootstrapData, type OnboardingControllerBootstrapResponse, type OnboardingDto, OpenAPI, type OpenAPIConfig, type OpeningBalanceResultDto, type PadReconciliationDto, type PadResultDto, type ParserTelemetryReportDto, type PayeeAutocompleteResponseDto, type PayeeControllerAutocompleteData, type PayeeControllerAutocompleteResponse, type PayeeControllerCreateData, type PayeeControllerCreateResponse, type PayeeControllerDeleteData, type PayeeControllerDeleteResponse, type PayeeControllerFindAllData, type PayeeControllerFindAllResponse, type PayeeControllerFindOneData, type PayeeControllerFindOneResponse, type PayeeControllerGetTopPayeesData, type PayeeControllerGetTopPayeesResponse, type PayeeControllerUpdateData, type PayeeControllerUpdateResponse, type PayeeListResponseDto, type PayeeProfileAdminControllerCreateData, type PayeeProfileAdminControllerCreateResponse, type PayeeProfileAdminControllerDeleteData, type PayeeProfileAdminControllerDeleteResponse, type PayeeProfileAdminControllerFindAllData, type PayeeProfileAdminControllerFindAllResponse, type PayeeProfileAdminControllerFindOneData, type PayeeProfileAdminControllerFindOneResponse, type PayeeProfileAdminControllerUnverifyData, type PayeeProfileAdminControllerUnverifyResponse, type PayeeProfileAdminControllerUpdateData, type PayeeProfileAdminControllerUpdateResponse, type PayeeProfileAdminControllerVerifyData, type PayeeProfileAdminControllerVerifyResponse, type PayeeProfileListResponseDto, type PayeeProfileResponseDto, type PayeeResponseDto, type PayeeStatsResponseDto, type PlatformControllerCreateData, type PlatformControllerCreateResponse, type PlatformControllerDeleteData, type PlatformControllerDeleteResponse, type PlatformControllerFindAllResponse, type PlatformControllerGetPlatformListResponse, type PlatformControllerMatchPlatformsData, type PlatformControllerMatchPlatformsResponse, type PlatformControllerUpdateData, type PlatformControllerUpdateResponse, type PlatformGroupDto, type PlatformListItemDto, type PlatformMatchResponseDto, type PlatformMatchResultDto, type PortfolioTrendsResponseDto, type PostingDetailDto, type PostingResponseDto, type PriceControllerBulkCreateData, type PriceControllerBulkCreateResponse, type PriceControllerCreateData, type PriceControllerCreateResponse, type PriceControllerDeleteData, type PriceControllerDeleteResponse, type PriceControllerFindAllData, type PriceControllerFindAllResponse, type PriceControllerFindOneData, type PriceControllerFindOneResponse, type PriceControllerUpdateData, type PriceControllerUpdateResponse, type PriceListResponseDto, type PriceResponseDto, type ProcessNlpDto, type PropertyControllerDeleteData, type PropertyControllerDeleteResponse, type PropertyControllerGetAllResponse, type PropertyControllerGetByKeyData, type PropertyControllerGetByKeyResponse, type PropertyControllerUpdateData, type PropertyControllerUpdateResponse, type ProviderSyncConfigDto, type ProviderSyncControllerGetSupportedProvidersData, type ProviderSyncControllerGetSupportedProvidersResponse, type ProviderSyncControllerIsProviderSupportedData, type ProviderSyncControllerIsProviderSupportedResponse, type ProviderSyncControllerSyncData, type ProviderSyncControllerSyncResponse, type ProviderSyncDto, type ProviderSyncResponseDto, ProviderSyncService, type ReconciliationComputeResultDto, type ReconciliationControllerAssertData, type ReconciliationControllerAssertResponse, type ReconciliationControllerComputeData, type ReconciliationControllerComputeResponse, type ReconciliationControllerHistoryData, type ReconciliationControllerHistoryResponse, type ReconciliationControllerPadData, type ReconciliationControllerPadResponse, type ReconciliationRecordDto, type RecurringMatchInfoDto, type RecurringRuleControllerCreateData, type RecurringRuleControllerCreateFromTransactionData, type RecurringRuleControllerCreateFromTransactionResponse, type RecurringRuleControllerCreateResponse, type RecurringRuleControllerDeleteData, type RecurringRuleControllerDeleteResponse, type RecurringRuleControllerFindAllData, type RecurringRuleControllerFindAllResponse, type RecurringRuleControllerFindOneData, type RecurringRuleControllerFindOneResponse, type RecurringRuleControllerGetWithStatsData, type RecurringRuleControllerGetWithStatsResponse, type RecurringRuleControllerUpdateData, type RecurringRuleControllerUpdateResponse, type RecurringRuleResponseDto, type RecurringRuleWithStatsResponseDto, type RecurringSuggestionDto, type RegionConfigDto, type RegionInfoDto, type RegionsMetadataResponseDto, type ReopenAccountDto, type ReportingControllerBackfillSnapshotsData, type ReportingControllerBackfillSnapshotsResponse, type ReportingControllerGenerateSnapshotData, type ReportingControllerGenerateSnapshotResponse, type ReportingControllerGetCashFlowTrendsData, type ReportingControllerGetCashFlowTrendsResponse, type ReportingControllerGetPortfolioTrendsData, type ReportingControllerGetPortfolioTrendsResponse, type ResolveResultDto, type ResolveReviewDto, type ReviewControllerBatchResolveData, type ReviewControllerBatchResolveResponse, type ReviewControllerFindAllData, type ReviewControllerFindAllResponse, type ReviewControllerFindOneData, type ReviewControllerFindOneResponse, type ReviewControllerGetStatsData, type ReviewControllerGetStatsResponse, type ReviewControllerResolveData, type ReviewControllerResolveResponse, type ReviewControllerUndoData, type ReviewControllerUndoResponse, type ReviewDetailDto, type ReviewItemPreviewDto, type ReviewListResponseDto, type ReviewStatsDto, type ReviewSummaryDto, type RuleStatisticsResponseDto, type SignupDto, type SignupResponseDto, type SupportedProvidersResponseDto, type 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 matchType, type matchType2, type method, type mode, type paymentSource, type period, type provider, type role, 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 };