@firela/api-types 0.0.0-canary.2b8fcbd8 → 0.0.0-canary.2fbeefe9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -26,10 +26,6 @@ type CreateAccountDto = {
26
26
  * Account path (hierarchical, colon-separated)
27
27
  */
28
28
  path: string;
29
- /**
30
- * Display name to distinguish accounts at the same path (default: "")
31
- */
32
- displayName?: string;
33
29
  /**
34
30
  * Account open date
35
31
  */
@@ -50,10 +46,6 @@ type CreateAccountDto = {
50
46
  * Whether this is a custom (user-created) account
51
47
  */
52
48
  isCustom?: boolean;
53
- /**
54
- * i18n key for display name (overrides template)
55
- */
56
- i18nKey?: string;
57
49
  /**
58
50
  * Icon identifier (overrides template)
59
51
  */
@@ -82,10 +74,6 @@ type AccountResponseDto = {
82
74
  * Account path (hierarchical, colon-separated)
83
75
  */
84
76
  path: string;
85
- /**
86
- * Display name distinguishing multiple accounts at the same path
87
- */
88
- displayName: string;
89
77
  /**
90
78
  * Account type (root segment)
91
79
  */
@@ -119,9 +107,9 @@ type AccountResponseDto = {
119
107
  */
120
108
  isCustom: boolean;
121
109
  /**
122
- * 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
  */
@@ -172,10 +160,6 @@ type AccountListResponseDto = {
172
160
  total: number;
173
161
  };
174
162
  type UpdateAccountDto = {
175
- /**
176
- * Display name to distinguish accounts at the same path
177
- */
178
- displayName?: string;
179
163
  /**
180
164
  * Allowed currencies (null = no restriction)
181
165
  */
@@ -184,10 +168,6 @@ type UpdateAccountDto = {
184
168
  * Booking method for cost basis
185
169
  */
186
170
  bookingMethod?: 'FIFO' | 'LIFO' | 'HIFO' | 'AVERAGE' | 'STRICT' | 'STRICT_WITH_SIZE' | 'NONE';
187
- /**
188
- * i18n key for display name
189
- */
190
- i18nKey?: string;
191
171
  /**
192
172
  * Icon identifier
193
173
  */
@@ -230,10 +210,6 @@ type AccountStandardResponseDto = {
230
210
  * Account type in Beancount hierarchy
231
211
  */
232
212
  type: 'Assets' | 'Liabilities' | 'Income' | 'Expenses' | 'Equity';
233
- /**
234
- * i18n key for localized display name
235
- */
236
- i18nKey: string;
237
213
  /**
238
214
  * Short localized display name
239
215
  */
@@ -266,10 +242,6 @@ type AccountStandardListResponseDto = {
266
242
  region: string;
267
243
  };
268
244
  type TemplateMetadataDto = {
269
- /**
270
- * Whether this path can be extended
271
- */
272
- extendable: boolean;
273
245
  /**
274
246
  * Root account type
275
247
  */
@@ -779,6 +751,48 @@ type flag2 = 'CLEARED' | 'PENDING' | 'PADDING' | 'SUMMARIZE' | 'TRANSFER' | 'CON
779
751
  * Transaction status
780
752
  */
781
753
  type status2 = 'ACTIVE' | 'VOIDED' | 'SUPERSEDED';
754
+ type BalanceByCurrencyDto = {
755
+ /**
756
+ * ISO 4217 currency code
757
+ */
758
+ currency: string;
759
+ /**
760
+ * Balance amount
761
+ */
762
+ balance: string;
763
+ };
764
+ type ExchangeRateWarningDto = {
765
+ /**
766
+ * Warning type
767
+ */
768
+ type: string;
769
+ /**
770
+ * Currency without exchange rate
771
+ */
772
+ currency: string;
773
+ /**
774
+ * Total amount affected
775
+ */
776
+ totalAmount: string;
777
+ };
778
+ type TransactionListSummaryDto = {
779
+ /**
780
+ * Partial converted total in base currency (rated currencies only, raw Beancount sign). When warnings is non-empty this excludes currencies missing an FX rate; may be "0.00" if ALL non-base currencies lack a rate. Converted at the dateTo (or current) available rate.
781
+ */
782
+ totalAmount: string;
783
+ /**
784
+ * Base currency (ISO 4217)
785
+ */
786
+ currency: string;
787
+ /**
788
+ * Raw (unconverted) balance per currency
789
+ */
790
+ balanceByCurrency: Array<BalanceByCurrencyDto>;
791
+ /**
792
+ * Currencies missing an FX rate (omitted when empty)
793
+ */
794
+ warnings?: Array<ExchangeRateWarningDto>;
795
+ };
782
796
  type TransactionListResponseDto = {
783
797
  /**
784
798
  * List of transactions
@@ -796,6 +810,10 @@ type TransactionListResponseDto = {
796
810
  * Number of items skipped
797
811
  */
798
812
  offset: number;
813
+ /**
814
+ * Amount summary for the full filtered set (#514). Present only when the request has a single account OR category viewpoint; omitted for search-only / plain-list / dual-perspective requests.
815
+ */
816
+ summary?: TransactionListSummaryDto;
799
817
  };
800
818
  type TagSuggestionDto = {
801
819
  /**
@@ -1642,6 +1660,104 @@ type UpdateCommodityDto = {
1642
1660
  [key: string]: unknown;
1643
1661
  };
1644
1662
  };
1663
+ type CreateBeanPriceDto = {
1664
+ /**
1665
+ * Currency being priced (e.g., USD, AAPL, BTC)
1666
+ */
1667
+ currency: string;
1668
+ /**
1669
+ * Quote currency (pricing currency, e.g., CNY, EUR)
1670
+ */
1671
+ quoteCurrency: string;
1672
+ /**
1673
+ * Price amount (MUST be >= 0 per Beancount spec, supports up to 15 decimal places). Zero allowed for conversion entries, negative strictly prohibited.
1674
+ */
1675
+ amount: number;
1676
+ /**
1677
+ * Price date (ISO 8601 format)
1678
+ */
1679
+ date: string;
1680
+ /**
1681
+ * Metadata (validated by Zod schema, max field lengths enforced)
1682
+ */
1683
+ metadata?: {
1684
+ [key: string]: unknown;
1685
+ };
1686
+ };
1687
+ type PriceResponseDto = {
1688
+ /**
1689
+ * Unique identifier
1690
+ */
1691
+ id: string;
1692
+ /**
1693
+ * User ID (owner of the price)
1694
+ */
1695
+ userId: string;
1696
+ /**
1697
+ * Currency being priced (e.g., USD, AAPL, BTC)
1698
+ */
1699
+ currency: string;
1700
+ /**
1701
+ * Quote currency (pricing currency, e.g., USD, CNY)
1702
+ */
1703
+ quoteCurrency: string;
1704
+ /**
1705
+ * Price amount (corresponds to Beancount Amount.number). Supports up to 15 decimal places.
1706
+ */
1707
+ amount: number;
1708
+ /**
1709
+ * Price date (ISO 8601 format). Represents the date this price was valid.
1710
+ */
1711
+ date: string;
1712
+ /**
1713
+ * Metadata (corresponds to Beancount meta field). Contains source, confidence, note, etc.
1714
+ */
1715
+ meta: {
1716
+ [key: string]: unknown;
1717
+ };
1718
+ /**
1719
+ * Creation timestamp
1720
+ */
1721
+ createdAt: string;
1722
+ /**
1723
+ * Last update timestamp
1724
+ */
1725
+ updatedAt: string;
1726
+ };
1727
+ type PriceListResponseDto = {
1728
+ /**
1729
+ * List of prices
1730
+ */
1731
+ items: Array<PriceResponseDto>;
1732
+ /**
1733
+ * Total number of prices
1734
+ */
1735
+ total: number;
1736
+ };
1737
+ type UpdateBeanPriceDto = {
1738
+ /**
1739
+ * Currency being priced
1740
+ */
1741
+ currency?: string;
1742
+ /**
1743
+ * Quote currency (pricing currency)
1744
+ */
1745
+ quoteCurrency?: string;
1746
+ /**
1747
+ * Price amount (MUST be >= 0 per Beancount spec)
1748
+ */
1749
+ amount?: number;
1750
+ /**
1751
+ * Price date (ISO 8601 format)
1752
+ */
1753
+ date?: string;
1754
+ /**
1755
+ * Metadata
1756
+ */
1757
+ metadata?: {
1758
+ [key: string]: unknown;
1759
+ };
1760
+ };
1645
1761
  type CreateRecurringRuleDto = {
1646
1762
  /**
1647
1763
  * Rule name (unique per user)
@@ -2689,123 +2805,353 @@ type UpdatePropertyDto = {
2689
2805
  */
2690
2806
  value: string;
2691
2807
  };
2692
- type FileImportDto = {
2808
+ type CreateBeanEventDto = {
2693
2809
  /**
2694
- * Bill file to import (CSV, PDF, OFX, etc.)
2810
+ * Life event date (ISO 8601)
2695
2811
  */
2696
- file: Blob | File;
2697
- };
2698
- type ImportErrorDto = {
2812
+ date: string;
2699
2813
  /**
2700
- * Index of failed transaction in the file
2814
+ * Life event type (e.g., "employer", "location", "marital-status") — user-defined, no enum constraint at engine layer
2701
2815
  */
2702
- index: number;
2816
+ type: string;
2703
2817
  /**
2704
- * Error message
2818
+ * Life event description. Empty string is a VALID value (distinct from absence).
2705
2819
  */
2706
- error: string;
2820
+ description: string;
2821
+ /**
2822
+ * Product-side metadata (lives in BeanEvent.meta JSON, never in engine Event fields)
2823
+ */
2824
+ meta?: {
2825
+ [key: string]: unknown;
2826
+ };
2707
2827
  };
2708
- type ReviewItemPreviewDto = {
2828
+ type EventResponseDto = {
2709
2829
  /**
2710
- * Index in the import batch (for tracking)
2830
+ * Unique identifier
2711
2831
  */
2712
- index: number;
2832
+ id: string;
2713
2833
  /**
2714
- * Transaction date (ISO format)
2834
+ * User ID (owner of the life event)
2715
2835
  */
2716
- date: string;
2836
+ userId: string;
2717
2837
  /**
2718
- * Transaction amount (absolute value)
2838
+ * Life event date (ISO 8601 format)
2719
2839
  */
2720
- amount?: number;
2840
+ date: string;
2721
2841
  /**
2722
- * Currency code
2842
+ * Life event type (user-defined, e.g., "employer", "location")
2723
2843
  */
2724
- currency?: string;
2844
+ type: string;
2725
2845
  /**
2726
- * Transaction narration/description
2846
+ * Life event description. May be an empty string (a valid value distinct from absence).
2727
2847
  */
2728
- narration: string;
2848
+ description: string;
2729
2849
  /**
2730
- * Payee name
2850
+ * Product-side metadata (free-form JSON)
2731
2851
  */
2732
- payee?: string;
2852
+ meta: {
2853
+ [key: string]: unknown;
2854
+ };
2733
2855
  /**
2734
- * Inferred category from rule matching
2856
+ * Creation timestamp
2735
2857
  */
2736
- category?: string;
2858
+ createdAt: string;
2737
2859
  /**
2738
- * Confidence score for the match (0-1)
2860
+ * Last update timestamp. Also emitted as the ETag response header for If-Match optimistic concurrency.
2739
2861
  */
2740
- confidence?: number;
2862
+ updatedAt: string;
2863
+ };
2864
+ type EventListResponseDto = {
2741
2865
  /**
2742
- * Type of branch requiring review
2866
+ * List of life events
2743
2867
  */
2744
- branchType?: 'DUPLICATE' | 'PAYEE_MATCH' | 'RULE_MATCH' | 'ACCOUNT_VALIDATION' | 'PIPELINE_ERROR';
2868
+ items: Array<EventResponseDto>;
2745
2869
  /**
2746
- * Human-readable reasons for requiring review
2870
+ * Total number of life events matching the query
2747
2871
  */
2748
- reasons?: Array<string>;
2872
+ total: number;
2749
2873
  };
2750
- /**
2751
- * Type of branch requiring review
2752
- */
2753
- type branchType = 'DUPLICATE' | 'PAYEE_MATCH' | 'RULE_MATCH' | 'ACCOUNT_VALIDATION' | 'PIPELINE_ERROR';
2754
- type ImportResultDto = {
2874
+ type UpdateBeanEventDto = {
2755
2875
  /**
2756
- * Number of successfully imported transactions
2876
+ * Life event date (ISO 8601)
2757
2877
  */
2758
- imported: number;
2878
+ date?: string;
2759
2879
  /**
2760
- * Number of failed transactions
2880
+ * Life event type (user-defined)
2761
2881
  */
2762
- failed: number;
2882
+ type?: string;
2763
2883
  /**
2764
- * Number of skipped transactions (high confidence duplicates, auto-skipped)
2884
+ * Life event description. Empty string is a VALID value (distinct from absence).
2765
2885
  */
2766
- skipped: number;
2886
+ description?: string;
2767
2887
  /**
2768
- * Number of transactions pending review (medium confidence duplicates)
2888
+ * Product-side metadata (free-form JSON)
2769
2889
  */
2770
- pendingReview: number;
2890
+ meta?: {
2891
+ [key: string]: unknown;
2892
+ };
2893
+ };
2894
+ type OnboardingAccountDto = {
2771
2895
  /**
2772
- * Array of error details for failed transactions
2896
+ * Account path (Assets/Liabilities only; format validated by the account service)
2773
2897
  */
2774
- errors: Array<ImportErrorDto>;
2898
+ path: string;
2775
2899
  /**
2776
- * Array of transactions pending review with preview data. Contains essential information for displaying in the import preview UI.
2900
+ * ISO 4217 currency code (3 letters)
2777
2901
  */
2778
- reviewItems?: Array<ReviewItemPreviewDto>;
2902
+ currency: string;
2779
2903
  /**
2780
- * Array of imported transactions (optional, for debugging)
2904
+ * Opening balance as a non-negative Decimal string (e.g. "1000.00")
2781
2905
  */
2782
- transactions?: {
2783
- [key: string]: unknown;
2784
- };
2785
- };
2786
- type IdentifyResultDto = {
2906
+ openingBalance?: string;
2787
2907
  /**
2788
- * Whether the file was successfully identified
2908
+ * Platform ID to bind the account to (references Platform.id); omit for unbound
2789
2909
  */
2790
- identified: boolean;
2910
+ platformId?: string;
2911
+ };
2912
+ type OnboardingDto = {
2791
2913
  /**
2792
- * Name of the importer that can handle this file
2914
+ * Asset/Liability accounts to register with opening balances
2793
2915
  */
2794
- importerName?: string;
2916
+ accounts?: Array<OnboardingAccountDto>;
2795
2917
  /**
2796
- * Unique identifier of the importer
2918
+ * Skip asset registration; only bootstrap the core account set
2797
2919
  */
2798
- importerId?: string;
2920
+ skipAssetRegistration?: boolean;
2921
+ };
2922
+ type ActualBalanceDto = {
2799
2923
  /**
2800
- * Default account used by this importer
2924
+ * Actual balance amount as a decimal string (preserves precision for tolerance inference).
2801
2925
  */
2802
- account?: string;
2926
+ amount: string;
2803
2927
  /**
2804
- * Message when file cannot be identified
2928
+ * Currency code (ISO 4217 or commodity ticker).
2805
2929
  */
2806
- message?: string;
2930
+ ccy: string;
2807
2931
  };
2808
- type MapperDefaultsDto = {
2932
+ type ComputeReconciliationDto = {
2933
+ /**
2934
+ * BeanAccount id to reconcile.
2935
+ */
2936
+ accountId: string;
2937
+ /**
2938
+ * Assertion date (ISO 8601, e.g. "2026-07-24").
2939
+ */
2940
+ asOfDate: string;
2941
+ /**
2942
+ * Actual balance from the external statement.
2943
+ */
2944
+ actualBalance: ActualBalanceDto;
2945
+ };
2946
+ type ReconciliationComputeResultDto = {
2947
+ accountId: string;
2948
+ asOfDate: string;
2949
+ /**
2950
+ * System-computed book balance (decimal string).
2951
+ */
2952
+ bookBalance: string;
2953
+ /**
2954
+ * User-entered actual balance (decimal string).
2955
+ */
2956
+ actualBalance: string;
2957
+ currency: string;
2958
+ /**
2959
+ * Diff = book − actual (decimal string).
2960
+ */
2961
+ diff: string;
2962
+ /**
2963
+ * Applied tolerance (decimal string).
2964
+ */
2965
+ tolerance: string;
2966
+ /**
2967
+ * true when |diff| ≤ tolerance.
2968
+ */
2969
+ withinTolerance: boolean;
2970
+ /**
2971
+ * Suggested next action: assert when within tolerance, pad otherwise.
2972
+ */
2973
+ suggestedAction: 'assert' | 'pad';
2974
+ };
2975
+ /**
2976
+ * Suggested next action: assert when within tolerance, pad otherwise.
2977
+ */
2978
+ type suggestedAction = 'assert' | 'pad';
2979
+ type AssertReconciliationDto = {
2980
+ /**
2981
+ * BeanAccount id to reconcile.
2982
+ */
2983
+ accountId: string;
2984
+ /**
2985
+ * Assertion date (ISO 8601, e.g. "2026-07-24").
2986
+ */
2987
+ asOfDate: string;
2988
+ /**
2989
+ * Actual balance from the external statement.
2990
+ */
2991
+ actualBalance: ActualBalanceDto;
2992
+ /**
2993
+ * Optional explicit tolerance override. Omit to infer from amount precision (Beancount default).
2994
+ */
2995
+ tolerance?: string;
2996
+ };
2997
+ type ReconciliationRecordDto = {
2998
+ id: string;
2999
+ accountId: string;
3000
+ date: string;
3001
+ /**
3002
+ * Asserted (actual) amount.
3003
+ */
3004
+ amount: string;
3005
+ currency: string;
3006
+ tolerance?: string;
3007
+ /**
3008
+ * book − actual.
3009
+ */
3010
+ diffAmount?: string;
3011
+ diffCurrency?: string;
3012
+ createdAt: string;
3013
+ };
3014
+ type PadReconciliationDto = {
3015
+ /**
3016
+ * BeanAccount id to reconcile.
3017
+ */
3018
+ accountId: string;
3019
+ /**
3020
+ * Assertion date (ISO 8601, e.g. "2026-07-24").
3021
+ */
3022
+ asOfDate: string;
3023
+ /**
3024
+ * Actual balance from the external statement.
3025
+ */
3026
+ actualBalance: ActualBalanceDto;
3027
+ /**
3028
+ * Pad source account. Defaults to Equity:Opening-Balances (official Beancount convention).
3029
+ */
3030
+ sourceAccount?: string;
3031
+ };
3032
+ type PadResultDto = {
3033
+ /**
3034
+ * Created pad adjusting transaction id.
3035
+ */
3036
+ transactionId: string;
3037
+ };
3038
+ type FileImportDto = {
3039
+ /**
3040
+ * Bill file to import (CSV, PDF, OFX, etc.)
3041
+ */
3042
+ file: Blob | File;
3043
+ };
3044
+ type ImportErrorDto = {
3045
+ /**
3046
+ * Index of failed transaction in the file
3047
+ */
3048
+ index: number;
3049
+ /**
3050
+ * Error message
3051
+ */
3052
+ error: string;
3053
+ };
3054
+ type ReviewItemPreviewDto = {
3055
+ /**
3056
+ * Index in the import batch (for tracking)
3057
+ */
3058
+ index: number;
3059
+ /**
3060
+ * Transaction date (ISO format)
3061
+ */
3062
+ date: string;
3063
+ /**
3064
+ * Transaction amount (absolute value)
3065
+ */
3066
+ amount?: number;
3067
+ /**
3068
+ * Currency code
3069
+ */
3070
+ currency?: string;
3071
+ /**
3072
+ * Transaction narration/description
3073
+ */
3074
+ narration: string;
3075
+ /**
3076
+ * Payee name
3077
+ */
3078
+ payee?: string;
3079
+ /**
3080
+ * Inferred category from rule matching
3081
+ */
3082
+ category?: string;
3083
+ /**
3084
+ * Confidence score for the match (0-1)
3085
+ */
3086
+ confidence?: number;
3087
+ /**
3088
+ * Type of branch requiring review
3089
+ */
3090
+ branchType?: 'DUPLICATE' | 'PAYEE_MATCH' | 'RULE_MATCH' | 'ACCOUNT_VALIDATION' | 'PIPELINE_ERROR';
3091
+ /**
3092
+ * Human-readable reasons for requiring review
3093
+ */
3094
+ reasons?: Array<string>;
3095
+ };
3096
+ /**
3097
+ * Type of branch requiring review
3098
+ */
3099
+ type branchType = 'DUPLICATE' | 'PAYEE_MATCH' | 'RULE_MATCH' | 'ACCOUNT_VALIDATION' | 'PIPELINE_ERROR';
3100
+ type ImportResultDto = {
3101
+ /**
3102
+ * Number of successfully imported transactions
3103
+ */
3104
+ imported: number;
3105
+ /**
3106
+ * Number of failed transactions
3107
+ */
3108
+ failed: number;
3109
+ /**
3110
+ * Number of skipped transactions (high confidence duplicates, auto-skipped)
3111
+ */
3112
+ skipped: number;
3113
+ /**
3114
+ * Number of transactions pending review (medium confidence duplicates)
3115
+ */
3116
+ pendingReview: number;
3117
+ /**
3118
+ * Array of error details for failed transactions
3119
+ */
3120
+ errors: Array<ImportErrorDto>;
3121
+ /**
3122
+ * Array of transactions pending review with preview data. Contains essential information for displaying in the import preview UI.
3123
+ */
3124
+ reviewItems?: Array<ReviewItemPreviewDto>;
3125
+ /**
3126
+ * Array of imported transactions (optional, for debugging)
3127
+ */
3128
+ transactions?: {
3129
+ [key: string]: unknown;
3130
+ };
3131
+ };
3132
+ type IdentifyResultDto = {
3133
+ /**
3134
+ * Whether the file was successfully identified
3135
+ */
3136
+ identified: boolean;
3137
+ /**
3138
+ * Name of the importer that can handle this file
3139
+ */
3140
+ importerName?: string;
3141
+ /**
3142
+ * Unique identifier of the importer
3143
+ */
3144
+ importerId?: string;
3145
+ /**
3146
+ * Default account used by this importer
3147
+ */
3148
+ account?: string;
3149
+ /**
3150
+ * Message when file cannot be identified
3151
+ */
3152
+ message?: string;
3153
+ };
3154
+ type MapperDefaultsDto = {
2809
3155
  /**
2810
3156
  * Source account for transactions (Beancount format)
2811
3157
  */
@@ -2933,70 +3279,6 @@ type UpdateImporterConfigDto = {
2933
3279
  */
2934
3280
  data?: UpdateConfigDataDto;
2935
3281
  };
2936
- type CreatePlatformDto = {
2937
- /**
2938
- * Platform name
2939
- */
2940
- name: string;
2941
- /**
2942
- * Platform canonical identifier (lowercase, kebab-case)
2943
- */
2944
- canonical: string;
2945
- /**
2946
- * Platform aliases (multi-language names for lookup)
2947
- */
2948
- aliases: Array<string>;
2949
- /**
2950
- * Platform URL
2951
- */
2952
- url: string;
2953
- /**
2954
- * Platform type
2955
- */
2956
- type: 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
2957
- /**
2958
- * Platform logo URL
2959
- */
2960
- logoUrl?: string;
2961
- /**
2962
- * Whether the platform is active
2963
- */
2964
- isActive?: boolean;
2965
- };
2966
- /**
2967
- * Platform type
2968
- */
2969
- type type3 = 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
2970
- type UpdatePlatformDto = {
2971
- /**
2972
- * Platform name
2973
- */
2974
- name?: string;
2975
- /**
2976
- * Platform canonical identifier (lowercase, kebab-case)
2977
- */
2978
- canonical?: string;
2979
- /**
2980
- * Platform aliases (multi-language names for lookup)
2981
- */
2982
- aliases?: Array<string>;
2983
- /**
2984
- * Platform URL
2985
- */
2986
- url?: string;
2987
- /**
2988
- * Platform type
2989
- */
2990
- type?: 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
2991
- /**
2992
- * Platform logo URL
2993
- */
2994
- logoUrl?: string;
2995
- /**
2996
- * Whether the platform is active
2997
- */
2998
- isActive?: boolean;
2999
- };
3000
3282
  type ProviderSyncConfigDto = {
3001
3283
  /**
3002
3284
  * Source account for the first posting
@@ -3018,6 +3300,10 @@ type ProviderSyncConfigDto = {
3018
3300
  * Filter pending transactions
3019
3301
  */
3020
3302
  filterPending?: boolean;
3303
+ /**
3304
+ * External account ID for per-batch providers (e.g. GoCardless). Overrides sourceAccount when an ExternalAccountLink mapping exists.
3305
+ */
3306
+ externalAccountId?: string;
3021
3307
  };
3022
3308
  type ProviderSyncDto = {
3023
3309
  /**
@@ -3069,6 +3355,41 @@ type SupportedProvidersResponseDto = {
3069
3355
  */
3070
3356
  providers: Array<string>;
3071
3357
  };
3358
+ type CreateExternalAccountLinkDto = {
3359
+ /**
3360
+ * Open Banking provider (whitelist)
3361
+ */
3362
+ provider: 'plaid' | 'teller' | 'truelayer' | 'gocardless' | 'simplefin' | 'yodlee' | 'beancount-direct' | 'parsed-bill';
3363
+ /**
3364
+ * External account ID from the provider
3365
+ */
3366
+ externalAccountId: string;
3367
+ /**
3368
+ * Target BeanAccount ID (must belong to the JWT user)
3369
+ */
3370
+ beanAccountId: string;
3371
+ };
3372
+ /**
3373
+ * Open Banking provider (whitelist)
3374
+ */
3375
+ type provider = 'plaid' | 'teller' | 'truelayer' | 'gocardless' | 'simplefin' | 'yodlee' | 'beancount-direct' | 'parsed-bill';
3376
+ type ExternalAccountLinkResponseDto = {
3377
+ id: string;
3378
+ provider: string;
3379
+ externalAccountId: string;
3380
+ beanAccountId: string;
3381
+ isActive: boolean;
3382
+ createdAt: string;
3383
+ updatedAt: string;
3384
+ };
3385
+ type ExternalAccountLinkListResponseDto = {
3386
+ items: Array<ExternalAccountLinkResponseDto>;
3387
+ total: number;
3388
+ /**
3389
+ * Filter by provider (query param)
3390
+ */
3391
+ provider?: string;
3392
+ };
3072
3393
  type ParserTelemetryReportDto = unknown;
3073
3394
  type UncoveredFormatMissDto = unknown;
3074
3395
  type ProcessNlpDto = {
@@ -3570,49 +3891,103 @@ type NlpResponseDto = {
3570
3891
  /**
3571
3892
  * Recurring rule creation suggestion (when action is "created"). Contains suggestion to create a recurring rule based on detected patterns. Only present when no existing rule matched and similar historical transactions were found.
3572
3893
  */
3573
- recurringSuggestion?: RecurringSuggestionDto;
3894
+ recurringSuggestion?: RecurringSuggestionDto;
3895
+ /**
3896
+ * Suggested accounts for this transaction. Contains recommended source and destination accounts based on the detected intent and rules.
3897
+ */
3898
+ suggestedAccounts?: NlpSuggestedAccountsDto;
3899
+ /**
3900
+ * Default accounts for the user/region. These are fallback accounts used when no specific suggestion is available.
3901
+ */
3902
+ defaultAccounts?: NlpDefaultAccountsDto;
3903
+ };
3904
+ /**
3905
+ * Response status
3906
+ */
3907
+ type status4 = 'success' | 'pending' | 'error';
3908
+ /**
3909
+ * Action taken or requested
3910
+ */
3911
+ type action2 = 'created' | 'ask' | 'confirm' | 'confirm_duplicate' | 'confirm_rule' | 'confirm_account' | 'confirm_payee' | 'cancel';
3912
+ /**
3913
+ * Transaction intent detected by EntityRouter (v6.0: 5 core intents). Frontend uses this to render scenario-specific form fields.
3914
+ */
3915
+ type intent = 'expense' | 'asset' | 'income' | 'liability' | 'equity';
3916
+ /**
3917
+ * Asset sub-type (only present when intent is "asset"). Determines which asset-related form to render.
3918
+ */
3919
+ type assetSubType = 'transfer' | 'banking' | 'investment';
3920
+ /**
3921
+ * Liability sub-type (only present when intent is "liability"). borrow: borrowing money (Liabilities → Assets), repay: repaying debt (Assets → Liabilities).
3922
+ */
3923
+ type liabilitySubType = 'borrow' | 'repay';
3924
+ /**
3925
+ * Equity sub-type (only present when intent is "equity"). opening: account opening balance (Equity → Assets), adjustment: balance correction.
3926
+ */
3927
+ type equitySubType = 'opening' | 'adjustment';
3928
+ type CreatePlatformDto = {
3929
+ /**
3930
+ * Platform name
3931
+ */
3932
+ name: string;
3933
+ /**
3934
+ * Platform canonical identifier (lowercase, kebab-case)
3935
+ */
3936
+ canonical: string;
3937
+ /**
3938
+ * Platform aliases (multi-language names for lookup)
3939
+ */
3940
+ aliases: Array<string>;
3941
+ /**
3942
+ * Platform URL
3943
+ */
3944
+ url: string;
3945
+ /**
3946
+ * Platform type
3947
+ */
3948
+ type: 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
3949
+ /**
3950
+ * Platform logo URL
3951
+ */
3952
+ logoUrl?: string;
3953
+ /**
3954
+ * Whether the platform is active
3955
+ */
3956
+ isActive?: boolean;
3957
+ };
3958
+ /**
3959
+ * Platform type
3960
+ */
3961
+ type type3 = 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
3962
+ type UpdatePlatformDto = {
3963
+ /**
3964
+ * Platform name
3965
+ */
3966
+ name?: string;
3967
+ /**
3968
+ * Platform canonical identifier (lowercase, kebab-case)
3969
+ */
3970
+ canonical?: string;
3971
+ /**
3972
+ * Platform aliases (multi-language names for lookup)
3973
+ */
3974
+ aliases?: Array<string>;
3574
3975
  /**
3575
- * Suggested accounts for this transaction. Contains recommended source and destination accounts based on the detected intent and rules.
3976
+ * Platform URL
3576
3977
  */
3577
- suggestedAccounts?: NlpSuggestedAccountsDto;
3978
+ url?: string;
3578
3979
  /**
3579
- * Default accounts for the user/region. These are fallback accounts used when no specific suggestion is available.
3980
+ * Platform type
3580
3981
  */
3581
- defaultAccounts?: NlpDefaultAccountsDto;
3582
- };
3583
- /**
3584
- * Response status
3585
- */
3586
- type status4 = 'success' | 'pending' | 'error';
3587
- /**
3588
- * Action taken or requested
3589
- */
3590
- type action2 = 'created' | 'ask' | 'confirm' | 'confirm_duplicate' | 'confirm_rule' | 'confirm_account' | 'confirm_payee' | 'cancel';
3591
- /**
3592
- * Transaction intent detected by EntityRouter (v6.0: 5 core intents). Frontend uses this to render scenario-specific form fields.
3593
- */
3594
- type intent = 'expense' | 'asset' | 'income' | 'liability' | 'equity';
3595
- /**
3596
- * Asset sub-type (only present when intent is "asset"). Determines which asset-related form to render.
3597
- */
3598
- type assetSubType = 'transfer' | 'banking' | 'investment';
3599
- /**
3600
- * Liability sub-type (only present when intent is "liability"). borrow: borrowing money (Liabilities → Assets), repay: repaying debt (Assets → Liabilities).
3601
- */
3602
- type liabilitySubType = 'borrow' | 'repay';
3603
- /**
3604
- * Equity sub-type (only present when intent is "equity"). opening: account opening balance (Equity → Assets), adjustment: balance correction.
3605
- */
3606
- type equitySubType = 'opening' | 'adjustment';
3607
- type BalanceByCurrencyDto = {
3982
+ type?: 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
3608
3983
  /**
3609
- * ISO 4217 currency code
3984
+ * Platform logo URL
3610
3985
  */
3611
- currency: string;
3986
+ logoUrl?: string;
3612
3987
  /**
3613
- * Balance amount
3988
+ * Whether the platform is active
3614
3989
  */
3615
- balance: string;
3990
+ isActive?: boolean;
3616
3991
  };
3617
3992
  type NetWorthByCurrencyDto = {
3618
3993
  /**
@@ -3652,20 +4027,6 @@ type ConvertedNetWorthDto = {
3652
4027
  [key: string]: unknown;
3653
4028
  };
3654
4029
  };
3655
- type ExchangeRateWarningDto = {
3656
- /**
3657
- * Warning type
3658
- */
3659
- type: string;
3660
- /**
3661
- * Currency without exchange rate
3662
- */
3663
- currency: string;
3664
- /**
3665
- * Total amount affected
3666
- */
3667
- totalAmount: string;
3668
- };
3669
4030
  type NetWorthResponseDto = {
3670
4031
  /**
3671
4032
  * Total net worth (assets - liabilities, converted to base currency)
@@ -3729,6 +4090,10 @@ type AccountItemDto = {
3729
4090
  * Currency code
3730
4091
  */
3731
4092
  currency: string;
4093
+ /**
4094
+ * FX-converted balance in base currency; omitted when not convertible
4095
+ */
4096
+ convertedBalance?: string;
3732
4097
  };
3733
4098
  type PlatformGroupDto = {
3734
4099
  /**
@@ -3744,9 +4109,39 @@ type PlatformGroupDto = {
3744
4109
  */
3745
4110
  accounts: Array<AccountItemDto>;
3746
4111
  /**
3747
- * Total balance across all accounts in platform
4112
+ * FX-converted total balance in base currency
3748
4113
  */
3749
4114
  totalBalance: string;
4115
+ /**
4116
+ * Raw (unconverted) balances grouped by currency
4117
+ */
4118
+ balanceByCurrency: Array<BalanceByCurrencyDto>;
4119
+ /**
4120
+ * Converted balance in base currency (omitted when no currency is convertible)
4121
+ */
4122
+ convertedBalance?: string;
4123
+ /**
4124
+ * Share of the grand converted total (0-100); 0 when grand total is 0
4125
+ */
4126
+ sharePct: number;
4127
+ };
4128
+ type AccountExchangeRateWarningDto = {
4129
+ /**
4130
+ * Warning type
4131
+ */
4132
+ type: string;
4133
+ /**
4134
+ * Currency without exchange rate
4135
+ */
4136
+ currency: string;
4137
+ /**
4138
+ * Affected account paths
4139
+ */
4140
+ accounts: Array<string>;
4141
+ /**
4142
+ * Total amount in this currency
4143
+ */
4144
+ totalAmount: string;
3750
4145
  };
3751
4146
  type AccountsSummaryDto = {
3752
4147
  /**
@@ -3757,6 +4152,14 @@ type AccountsSummaryDto = {
3757
4152
  * Total number of platforms
3758
4153
  */
3759
4154
  totalPlatforms: number;
4155
+ /**
4156
+ * Base currency for conversion
4157
+ */
4158
+ baseCurrency: string;
4159
+ /**
4160
+ * Per-account exchange rate warnings
4161
+ */
4162
+ warnings?: Array<AccountExchangeRateWarningDto>;
3760
4163
  };
3761
4164
  type AccountsResponseDto = {
3762
4165
  /**
@@ -3789,6 +4192,10 @@ type AccountItemWithAssetClassDto = {
3789
4192
  * Currency code
3790
4193
  */
3791
4194
  currency: string;
4195
+ /**
4196
+ * FX-converted balance in base currency; omitted when not convertible
4197
+ */
4198
+ convertedBalance?: string;
3792
4199
  /**
3793
4200
  * Asset class
3794
4201
  */
@@ -3840,24 +4247,6 @@ type AssetClassGroupDto = {
3840
4247
  * Asset class name
3841
4248
  */
3842
4249
  type assetClass = 'LIQUIDITY' | 'EQUITY' | 'FIXED_INCOME' | 'PRECIOUS_METALS' | 'COMMODITY' | 'INSURANCE' | 'ALTERNATIVE_INVESTMENT' | 'PERSONAL_ASSETS' | 'LIABILITY' | 'REAL_ESTATE' | 'INDEX';
3843
- type AccountExchangeRateWarningDto = {
3844
- /**
3845
- * Warning type
3846
- */
3847
- type: string;
3848
- /**
3849
- * Currency without exchange rate
3850
- */
3851
- currency: string;
3852
- /**
3853
- * Affected account paths
3854
- */
3855
- accounts: Array<string>;
3856
- /**
3857
- * Total amount in this currency
3858
- */
3859
- totalAmount: string;
3860
- };
3861
4250
  type AssetClassSummaryDto = {
3862
4251
  /**
3863
4252
  * Total number of accounts
@@ -4016,6 +4405,60 @@ type CashFlowResponseDto = {
4016
4405
  */
4017
4406
  warnings?: Array<ExchangeRateWarningDto>;
4018
4407
  };
4408
+ type CategoryGroupDto = {
4409
+ /**
4410
+ * Functional category (account-path Group segment); regional and universal account paths merge under it
4411
+ */
4412
+ category: string;
4413
+ /**
4414
+ * Converted total for this category in base currency (expense amount when flow=expense, income amount when flow=income)
4415
+ */
4416
+ totalExpense: string;
4417
+ /**
4418
+ * Share of grand total (0-100); 0 when grand total is 0
4419
+ */
4420
+ sharePct: number;
4421
+ /**
4422
+ * Raw (unconverted) expense per currency
4423
+ */
4424
+ balanceByCurrency: Array<BalanceByCurrencyDto>;
4425
+ /**
4426
+ * Converted total in base currency (omitted when FX missing for all currencies in this category)
4427
+ */
4428
+ convertedBalance?: string;
4429
+ };
4430
+ type ExpensesByCategorySummaryDto = {
4431
+ /**
4432
+ * Total across all categories, converted (convertible categories only); expense totals when flow=expense, income totals when flow=income
4433
+ */
4434
+ totalExpense: string;
4435
+ /**
4436
+ * Number of categories
4437
+ */
4438
+ categoryCount: number;
4439
+ };
4440
+ type ExpensesByCategoryResponseDto = {
4441
+ /**
4442
+ * Period requested
4443
+ */
4444
+ period: string;
4445
+ /**
4446
+ * Base currency for converted values
4447
+ */
4448
+ baseCurrency: string;
4449
+ /**
4450
+ * Expense groups by functional category, sorted by converted total desc
4451
+ */
4452
+ groups: Array<CategoryGroupDto>;
4453
+ /**
4454
+ * Summary statistics
4455
+ */
4456
+ summary: ExpensesByCategorySummaryDto;
4457
+ /**
4458
+ * Exchange rate warnings (e.g. missing rate for a currency)
4459
+ */
4460
+ warnings?: Array<ExchangeRateWarningDto>;
4461
+ };
4019
4462
  type MonetaryDto = {
4020
4463
  /**
4021
4464
  * Amount (Decimal string)
@@ -4173,118 +4616,20 @@ type HoldingPnlWarningDto = {
4173
4616
  * Warning type
4174
4617
  */
4175
4618
  type type4 = 'MISSING_COST_FX_RATE' | 'MISSING_MARKET_FX_RATE' | 'MISSING_SALE_PRICE' | 'MISSING_REALIZED_FX_RATE' | 'OVERSOLD_LOTS' | 'NO_PRICE' | 'MIXED_COST_CURRENCY';
4176
- type HoldingPnlResponseDto = {
4177
- asOfDate: string;
4178
- baseCurrency: string;
4179
- /**
4180
- * Realized-P&L lot-matching method (FIFO or average). Unrealized cost basis remains average regardless of this value (#473).
4181
- */
4182
- method: 'average' | 'FIFO';
4183
- rows: Array<HoldingPnlRowDto>;
4184
- warnings: Array<HoldingPnlWarningDto>;
4185
- };
4186
- /**
4187
- * Realized-P&L lot-matching method (FIFO or average). Unrealized cost basis remains average regardless of this value (#473).
4188
- */
4189
- type method = 'average' | 'FIFO';
4190
- type CreateBeanPriceDto = {
4191
- /**
4192
- * Currency being priced (e.g., USD, AAPL, BTC)
4193
- */
4194
- currency: string;
4195
- /**
4196
- * Quote currency (pricing currency, e.g., CNY, EUR)
4197
- */
4198
- quoteCurrency: string;
4199
- /**
4200
- * Price amount (MUST be >= 0 per Beancount spec, supports up to 15 decimal places). Zero allowed for conversion entries, negative strictly prohibited.
4201
- */
4202
- amount: number;
4203
- /**
4204
- * Price date (ISO 8601 format)
4205
- */
4206
- date: string;
4207
- /**
4208
- * Metadata (validated by Zod schema, max field lengths enforced)
4209
- */
4210
- metadata?: {
4211
- [key: string]: unknown;
4212
- };
4213
- };
4214
- type PriceResponseDto = {
4215
- /**
4216
- * Unique identifier
4217
- */
4218
- id: string;
4219
- /**
4220
- * User ID (owner of the price)
4221
- */
4222
- userId: string;
4223
- /**
4224
- * Currency being priced (e.g., USD, AAPL, BTC)
4225
- */
4226
- currency: string;
4227
- /**
4228
- * Quote currency (pricing currency, e.g., USD, CNY)
4229
- */
4230
- quoteCurrency: string;
4231
- /**
4232
- * Price amount (corresponds to Beancount Amount.number). Supports up to 15 decimal places.
4233
- */
4234
- amount: number;
4235
- /**
4236
- * Price date (ISO 8601 format). Represents the date this price was valid.
4237
- */
4238
- date: string;
4239
- /**
4240
- * Metadata (corresponds to Beancount meta field). Contains source, confidence, note, etc.
4241
- */
4242
- meta: {
4243
- [key: string]: unknown;
4244
- };
4245
- /**
4246
- * Creation timestamp
4247
- */
4248
- createdAt: string;
4249
- /**
4250
- * Last update timestamp
4251
- */
4252
- updatedAt: string;
4253
- };
4254
- type PriceListResponseDto = {
4255
- /**
4256
- * List of prices
4257
- */
4258
- items: Array<PriceResponseDto>;
4259
- /**
4260
- * Total number of prices
4261
- */
4262
- total: number;
4263
- };
4264
- type UpdateBeanPriceDto = {
4265
- /**
4266
- * Currency being priced
4267
- */
4268
- currency?: string;
4269
- /**
4270
- * Quote currency (pricing currency)
4271
- */
4272
- quoteCurrency?: string;
4273
- /**
4274
- * Price amount (MUST be >= 0 per Beancount spec)
4275
- */
4276
- amount?: number;
4277
- /**
4278
- * Price date (ISO 8601 format)
4279
- */
4280
- date?: string;
4619
+ type HoldingPnlResponseDto = {
4620
+ asOfDate: string;
4621
+ baseCurrency: string;
4281
4622
  /**
4282
- * Metadata
4623
+ * Realized-P&L lot-matching method (FIFO or average). Unrealized cost basis remains average regardless of this value (#473).
4283
4624
  */
4284
- metadata?: {
4285
- [key: string]: unknown;
4286
- };
4625
+ method: 'average' | 'FIFO';
4626
+ rows: Array<HoldingPnlRowDto>;
4627
+ warnings: Array<HoldingPnlWarningDto>;
4287
4628
  };
4629
+ /**
4630
+ * Realized-P&L lot-matching method (FIFO or average). Unrealized cost basis remains average regardless of this value (#473).
4631
+ */
4632
+ type method = 'average' | 'FIFO';
4288
4633
  type CurrencyBalanceDto = {
4289
4634
  /**
4290
4635
  * ISO 4217 currency code
@@ -4310,6 +4655,14 @@ type TimeSeriesPointDto = {
4310
4655
  change?: {
4311
4656
  [key: string]: unknown;
4312
4657
  };
4658
+ /**
4659
+ * Total assets at this date (in base currency)
4660
+ */
4661
+ assets?: string;
4662
+ /**
4663
+ * Total liabilities at this date (in base currency)
4664
+ */
4665
+ liabilities?: string;
4313
4666
  /**
4314
4667
  * Multi-currency breakdown for this point
4315
4668
  */
@@ -4373,6 +4726,68 @@ type PortfolioTrendsResponseDto = {
4373
4726
  */
4374
4727
  warnings?: Array<ExchangeRateWarningDto>;
4375
4728
  };
4729
+ type CashFlowPointDto = {
4730
+ /**
4731
+ * Month key (YYYY-MM)
4732
+ */
4733
+ month: string;
4734
+ /**
4735
+ * Income in base currency (absolute, converted)
4736
+ */
4737
+ income: string;
4738
+ /**
4739
+ * Expense in base currency (absolute, converted)
4740
+ */
4741
+ expense: string;
4742
+ /**
4743
+ * netSavings = income − expense (savings positive)
4744
+ */
4745
+ netSavings: string;
4746
+ };
4747
+ type CashFlowTrendSummaryDto = {
4748
+ /**
4749
+ * Total income across the period
4750
+ */
4751
+ totalIncome: string;
4752
+ /**
4753
+ * Total expense across the period
4754
+ */
4755
+ totalExpense: string;
4756
+ /**
4757
+ * income − expense across the period
4758
+ */
4759
+ totalNetSavings: string;
4760
+ /**
4761
+ * totalNetSavings divided by the window length (N months, incl. zero-filled)
4762
+ */
4763
+ averageMonthlyNetSavings: string;
4764
+ };
4765
+ type CashFlowTrendsResponseDto = {
4766
+ /**
4767
+ * Monthly cash-flow series (fixed N-month window, zero-filled)
4768
+ */
4769
+ series: Array<CashFlowPointDto>;
4770
+ /**
4771
+ * Period totals
4772
+ */
4773
+ summary: CashFlowTrendSummaryDto;
4774
+ /**
4775
+ * Period requested
4776
+ */
4777
+ period: string;
4778
+ /**
4779
+ * Data granularity (v1 returns month buckets)
4780
+ */
4781
+ granularity: string;
4782
+ /**
4783
+ * Base currency for converted values
4784
+ */
4785
+ currency: string;
4786
+ /**
4787
+ * Exchange rate warnings (e.g. missing rate for a currency)
4788
+ */
4789
+ warnings?: Array<ExchangeRateWarningDto>;
4790
+ };
4376
4791
  type GenerateSnapshotBody = unknown;
4377
4792
  type GenerateSnapshotResponse = unknown;
4378
4793
  type BackfillSnapshotsBody = unknown;
@@ -4409,7 +4824,7 @@ type AccountControllerFindAllData = {
4409
4824
  */
4410
4825
  region: 'cn' | 'us' | 'de' | 'gb';
4411
4826
  /**
4412
- * Search term for path or i18nKey
4827
+ * Search term for account path
4413
4828
  */
4414
4829
  search?: string;
4415
4830
  /**
@@ -4529,6 +4944,10 @@ type TransactionControllerListData = {
4529
4944
  * Filter by account ID (transactions with postings to this account)
4530
4945
  */
4531
4946
  accountId?: string;
4947
+ /**
4948
+ * Filter by ADR-0075 functional category (Group segment); matches any posting to an Expenses/Income account whose derived Group segment equals this value
4949
+ */
4950
+ category?: string;
4532
4951
  /**
4533
4952
  * Filter by start date (inclusive), format: YYYY-MM-DD
4534
4953
  */
@@ -4637,7 +5056,7 @@ type TransactionControllerDeleteData = {
4637
5056
  type TransactionControllerDeleteResponse = void;
4638
5057
  type BalanceControllerGetBalanceData = {
4639
5058
  /**
4640
- * Account name (e.g., "Assets:Bank:Checking")
5059
+ * Account name (e.g., "Assets:Checking")
4641
5060
  */
4642
5061
  account: string;
4643
5062
  /**
@@ -4949,6 +5368,91 @@ type CommodityControllerBulkCreateData = {
4949
5368
  region: 'cn' | 'us' | 'de' | 'gb';
4950
5369
  };
4951
5370
  type CommodityControllerBulkCreateResponse = Array<CommodityResponseDto>;
5371
+ type PriceControllerCreateData = {
5372
+ /**
5373
+ * Region code for tenant context
5374
+ */
5375
+ region: 'cn' | 'us' | 'de' | 'gb';
5376
+ requestBody: CreateBeanPriceDto;
5377
+ };
5378
+ type PriceControllerCreateResponse = PriceResponseDto;
5379
+ type PriceControllerFindAllData = {
5380
+ /**
5381
+ * Filter by currency (e.g., BTC, AAPL, USD)
5382
+ */
5383
+ currency?: string;
5384
+ /**
5385
+ * Filter prices from this date (ISO 8601 format)
5386
+ */
5387
+ dateFrom?: string;
5388
+ /**
5389
+ * Filter prices to this date (ISO 8601 format)
5390
+ */
5391
+ dateTo?: string;
5392
+ /**
5393
+ * Number of items per page (default: 20, max: 100)
5394
+ */
5395
+ limit?: number;
5396
+ /**
5397
+ * Page number for pagination (default: 1)
5398
+ */
5399
+ page?: number;
5400
+ /**
5401
+ * Filter by quote currency (pricing currency, e.g., USD, CNY)
5402
+ */
5403
+ quoteCurrency?: string;
5404
+ /**
5405
+ * Region code for tenant context
5406
+ */
5407
+ region: 'cn' | 'us' | 'de' | 'gb';
5408
+ /**
5409
+ * Search term for currency or quoteCurrency (case-insensitive partial match)
5410
+ */
5411
+ search?: string;
5412
+ };
5413
+ type PriceControllerFindAllResponse = PriceListResponseDto;
5414
+ type PriceControllerFindOneData = {
5415
+ /**
5416
+ * Price ID
5417
+ */
5418
+ id: string;
5419
+ /**
5420
+ * Region code for tenant context
5421
+ */
5422
+ region: 'cn' | 'us' | 'de' | 'gb';
5423
+ };
5424
+ type PriceControllerFindOneResponse = PriceResponseDto;
5425
+ type PriceControllerUpdateData = {
5426
+ /**
5427
+ * Price ID
5428
+ */
5429
+ id: string;
5430
+ /**
5431
+ * Region code for tenant context
5432
+ */
5433
+ region: 'cn' | 'us' | 'de' | 'gb';
5434
+ requestBody: UpdateBeanPriceDto;
5435
+ };
5436
+ type PriceControllerUpdateResponse = PriceResponseDto;
5437
+ type PriceControllerDeleteData = {
5438
+ /**
5439
+ * Price ID
5440
+ */
5441
+ id: string;
5442
+ /**
5443
+ * Region code for tenant context
5444
+ */
5445
+ region: 'cn' | 'us' | 'de' | 'gb';
5446
+ };
5447
+ type PriceControllerDeleteResponse = void;
5448
+ type PriceControllerBulkCreateData = {
5449
+ /**
5450
+ * Region code for tenant context
5451
+ */
5452
+ region: 'cn' | 'us' | 'de' | 'gb';
5453
+ requestBody: Array<string>;
5454
+ };
5455
+ type PriceControllerBulkCreateResponse = Array<PriceResponseDto>;
4952
5456
  type RecurringRuleControllerCreateData = {
4953
5457
  /**
4954
5458
  * Region code for tenant context
@@ -5326,6 +5830,135 @@ type PropertyControllerDeleteData = {
5326
5830
  key: string;
5327
5831
  };
5328
5832
  type PropertyControllerDeleteResponse = void;
5833
+ type EventControllerCreateData = {
5834
+ /**
5835
+ * Region code for tenant context (decorative for life events)
5836
+ */
5837
+ region: 'cn' | 'us' | 'de' | 'gb';
5838
+ requestBody: CreateBeanEventDto;
5839
+ };
5840
+ type EventControllerCreateResponse = EventResponseDto;
5841
+ type EventControllerFindAllData = {
5842
+ /**
5843
+ * Filter life events from this date (ISO 8601 format)
5844
+ */
5845
+ from?: string;
5846
+ /**
5847
+ * Number of items per page (default: 20, max: 100)
5848
+ */
5849
+ limit?: number;
5850
+ /**
5851
+ * Page number for pagination (default: 1)
5852
+ */
5853
+ page?: number;
5854
+ /**
5855
+ * Search term for description (case-insensitive partial match)
5856
+ */
5857
+ q?: string;
5858
+ /**
5859
+ * Region code for tenant context (decorative for life events)
5860
+ */
5861
+ region: 'cn' | 'us' | 'de' | 'gb';
5862
+ /**
5863
+ * Filter life events to this date (ISO 8601 format)
5864
+ */
5865
+ to?: string;
5866
+ /**
5867
+ * Filter by life event type (exact match)
5868
+ */
5869
+ type?: string;
5870
+ };
5871
+ type EventControllerFindAllResponse = EventListResponseDto;
5872
+ type EventControllerFindOneData = {
5873
+ /**
5874
+ * Life event ID
5875
+ */
5876
+ id: string;
5877
+ /**
5878
+ * Region code for tenant context (decorative for life events)
5879
+ */
5880
+ region: 'cn' | 'us' | 'de' | 'gb';
5881
+ };
5882
+ type EventControllerFindOneResponse = EventResponseDto;
5883
+ type EventControllerUpdateData = {
5884
+ /**
5885
+ * Life event ID
5886
+ */
5887
+ id: string;
5888
+ /**
5889
+ * Region code for tenant context (decorative for life events)
5890
+ */
5891
+ region: 'cn' | 'us' | 'de' | 'gb';
5892
+ requestBody: UpdateBeanEventDto;
5893
+ };
5894
+ type EventControllerUpdateResponse = EventResponseDto;
5895
+ type EventControllerDeleteData = {
5896
+ /**
5897
+ * Life event ID
5898
+ */
5899
+ id: string;
5900
+ /**
5901
+ * Region code for tenant context (decorative for life events)
5902
+ */
5903
+ region: 'cn' | 'us' | 'de' | 'gb';
5904
+ };
5905
+ type EventControllerDeleteResponse = void;
5906
+ type EventControllerGetSliceData = {
5907
+ accountPattern: string;
5908
+ granularity: string;
5909
+ /**
5910
+ * Life event ID
5911
+ */
5912
+ id: string;
5913
+ /**
5914
+ * Region code for tenant context (decorative for life events)
5915
+ */
5916
+ region: 'cn' | 'us' | 'de' | 'gb';
5917
+ };
5918
+ type EventControllerGetSliceResponse = unknown;
5919
+ type OnboardingControllerBootstrapData = {
5920
+ /**
5921
+ * Region code for tenant context
5922
+ */
5923
+ region: 'cn' | 'us' | 'de' | 'gb';
5924
+ requestBody: OnboardingDto;
5925
+ };
5926
+ type OnboardingControllerBootstrapResponse = unknown;
5927
+ type ReconciliationControllerComputeData = {
5928
+ /**
5929
+ * Region code for tenant context (decorative for reconciliation)
5930
+ */
5931
+ region: 'cn' | 'us' | 'de' | 'gb';
5932
+ requestBody: ComputeReconciliationDto;
5933
+ };
5934
+ type ReconciliationControllerComputeResponse = ReconciliationComputeResultDto;
5935
+ type ReconciliationControllerAssertData = {
5936
+ /**
5937
+ * Region code for tenant context (decorative for reconciliation)
5938
+ */
5939
+ region: 'cn' | 'us' | 'de' | 'gb';
5940
+ requestBody: AssertReconciliationDto;
5941
+ };
5942
+ type ReconciliationControllerAssertResponse = ReconciliationRecordDto;
5943
+ type ReconciliationControllerPadData = {
5944
+ /**
5945
+ * Region code for tenant context (decorative for reconciliation)
5946
+ */
5947
+ region: 'cn' | 'us' | 'de' | 'gb';
5948
+ requestBody: PadReconciliationDto;
5949
+ };
5950
+ type ReconciliationControllerPadResponse = PadResultDto;
5951
+ type ReconciliationControllerHistoryData = {
5952
+ /**
5953
+ * BeanAccount id
5954
+ */
5955
+ accountId: string;
5956
+ /**
5957
+ * Region code for tenant context (decorative for reconciliation)
5958
+ */
5959
+ region: 'cn' | 'us' | 'de' | 'gb';
5960
+ };
5961
+ type ReconciliationControllerHistoryResponse = Array<ReconciliationRecordDto>;
5329
5962
  type ExportControllerExportBeancountResponse = unknown;
5330
5963
  type FileImportControllerImportFileData = {
5331
5964
  /**
@@ -5393,50 +6026,18 @@ type ImporterConfigControllerUpdateConfigData = {
5393
6026
  */
5394
6027
  requestBody: UpdateImporterConfigDto;
5395
6028
  };
5396
- type ImporterConfigControllerUpdateConfigResponse = ImporterConfigDto;
5397
- type ImporterConfigControllerResetConfigData = {
5398
- /**
5399
- * Importer identifier. Supported importers: alipay, alipay-web, wechat, boc, boc-credit, ccb, cmb, cmbc, cmbc-credit, icbc, icbc-credit, hsbc-hk-credit, hsbc-hk-debit
5400
- */
5401
- importerId: string;
5402
- /**
5403
- * Region code for tenant context
5404
- */
5405
- region: 'cn' | 'us' | 'de' | 'gb';
5406
- };
5407
- type ImporterConfigControllerResetConfigResponse = ImporterConfigDto;
5408
- type PlatformControllerFindAllResponse = unknown;
5409
- type PlatformControllerCreateData = {
5410
- requestBody: CreatePlatformDto;
5411
- };
5412
- type PlatformControllerCreateResponse = unknown;
5413
- type PlatformControllerGetPlatformListResponse = unknown;
5414
- type PlatformControllerMatchPlatformsData = {
5415
- /**
5416
- * Search query — Chinese name, English name, or abbreviation
5417
- */
5418
- q: string;
5419
- /**
5420
- * Region code for category override lookup
5421
- */
5422
- region?: string;
5423
- };
5424
- type PlatformControllerMatchPlatformsResponse = unknown;
5425
- type PlatformControllerUpdateData = {
6029
+ type ImporterConfigControllerUpdateConfigResponse = ImporterConfigDto;
6030
+ type ImporterConfigControllerResetConfigData = {
5426
6031
  /**
5427
- * Platform ID
6032
+ * Importer identifier. Supported importers: alipay, alipay-web, wechat, boc, boc-credit, ccb, cmb, cmbc, cmbc-credit, icbc, icbc-credit, hsbc-hk-credit, hsbc-hk-debit
5428
6033
  */
5429
- id: string;
5430
- requestBody: UpdatePlatformDto;
5431
- };
5432
- type PlatformControllerUpdateResponse = unknown;
5433
- type PlatformControllerDeleteData = {
6034
+ importerId: string;
5434
6035
  /**
5435
- * Platform ID
6036
+ * Region code for tenant context
5436
6037
  */
5437
- id: string;
6038
+ region: 'cn' | 'us' | 'de' | 'gb';
5438
6039
  };
5439
- type PlatformControllerDeleteResponse = void;
6040
+ type ImporterConfigControllerResetConfigResponse = ImporterConfigDto;
5440
6041
  type ProviderSyncControllerSyncData = {
5441
6042
  /**
5442
6043
  * Provider name
@@ -5467,6 +6068,38 @@ type ProviderSyncControllerIsProviderSupportedData = {
5467
6068
  region: 'cn' | 'us' | 'de' | 'gb';
5468
6069
  };
5469
6070
  type ProviderSyncControllerIsProviderSupportedResponse = unknown;
6071
+ type ExternalAccountLinkControllerCreateData = {
6072
+ /**
6073
+ * Region code for tenant context
6074
+ */
6075
+ region: 'cn' | 'us' | 'de' | 'gb';
6076
+ requestBody: CreateExternalAccountLinkDto;
6077
+ };
6078
+ type ExternalAccountLinkControllerCreateResponse = ExternalAccountLinkResponseDto;
6079
+ type ExternalAccountLinkControllerFindAllData = {
6080
+ provider: string;
6081
+ /**
6082
+ * Region code for tenant context
6083
+ */
6084
+ region: 'cn' | 'us' | 'de' | 'gb';
6085
+ };
6086
+ type ExternalAccountLinkControllerFindAllResponse = ExternalAccountLinkListResponseDto;
6087
+ type ExternalAccountLinkControllerFindOneData = {
6088
+ id: string;
6089
+ /**
6090
+ * Region code for tenant context
6091
+ */
6092
+ region: 'cn' | 'us' | 'de' | 'gb';
6093
+ };
6094
+ type ExternalAccountLinkControllerFindOneResponse = ExternalAccountLinkResponseDto;
6095
+ type ExternalAccountLinkControllerRemoveData = {
6096
+ id: string;
6097
+ /**
6098
+ * Region code for tenant context
6099
+ */
6100
+ region: 'cn' | 'us' | 'de' | 'gb';
6101
+ };
6102
+ type ExternalAccountLinkControllerRemoveResponse = void;
5470
6103
  type TelemetryControllerReportTelemetryData = {
5471
6104
  /**
5472
6105
  * Region code for tenant context
@@ -5527,6 +6160,38 @@ type NlpControllerGetSessionData = {
5527
6160
  sessionId?: string;
5528
6161
  };
5529
6162
  type NlpControllerGetSessionResponse = unknown;
6163
+ type PlatformControllerFindAllResponse = unknown;
6164
+ type PlatformControllerCreateData = {
6165
+ requestBody: CreatePlatformDto;
6166
+ };
6167
+ type PlatformControllerCreateResponse = unknown;
6168
+ type PlatformControllerGetPlatformListResponse = unknown;
6169
+ type PlatformControllerMatchPlatformsData = {
6170
+ /**
6171
+ * Search query — Chinese name, English name, or abbreviation
6172
+ */
6173
+ q: string;
6174
+ /**
6175
+ * Region code for category override lookup
6176
+ */
6177
+ region?: string;
6178
+ };
6179
+ type PlatformControllerMatchPlatformsResponse = unknown;
6180
+ type PlatformControllerUpdateData = {
6181
+ /**
6182
+ * Platform ID
6183
+ */
6184
+ id: string;
6185
+ requestBody: UpdatePlatformDto;
6186
+ };
6187
+ type PlatformControllerUpdateResponse = unknown;
6188
+ type PlatformControllerDeleteData = {
6189
+ /**
6190
+ * Platform ID
6191
+ */
6192
+ id: string;
6193
+ };
6194
+ type PlatformControllerDeleteResponse = void;
5530
6195
  type DashboardControllerGetNetWorthData = {
5531
6196
  /**
5532
6197
  * Date for balance calculation (ISO 8601 format)
@@ -5568,113 +6233,62 @@ type DashboardControllerGetCashFlowData = {
5568
6233
  region: 'cn' | 'us' | 'de' | 'gb';
5569
6234
  };
5570
6235
  type DashboardControllerGetCashFlowResponse = CashFlowResponseDto;
5571
- type HoldingPnlControllerGetHoldingPnlData = {
5572
- /**
5573
- * Scope to a single account
5574
- */
5575
- accountId?: string;
5576
- /**
5577
- * As-of date (ISO 8601), defaults to today
5578
- */
5579
- asOf?: string;
5580
- /**
5581
- * Realized-P&L lot-matching method (default average). Does not affect the average-cost unrealized basis.
5582
- */
5583
- method?: 'FIFO' | 'average';
5584
- /**
5585
- * Region code for tenant context
5586
- */
5587
- region: 'cn' | 'us' | 'de' | 'gb';
5588
- };
5589
- type HoldingPnlControllerGetHoldingPnlResponse = HoldingPnlResponseDto;
5590
- type PriceControllerCreateData = {
5591
- /**
5592
- * Region code for tenant context
5593
- */
5594
- region: 'cn' | 'us' | 'de' | 'gb';
5595
- requestBody: CreateBeanPriceDto;
5596
- };
5597
- type PriceControllerCreateResponse = PriceResponseDto;
5598
- type PriceControllerFindAllData = {
5599
- /**
5600
- * Filter by currency (e.g., BTC, AAPL, USD)
5601
- */
5602
- currency?: string;
5603
- /**
5604
- * Filter prices from this date (ISO 8601 format)
5605
- */
5606
- dateFrom?: string;
5607
- /**
5608
- * Filter prices to this date (ISO 8601 format)
5609
- */
5610
- dateTo?: string;
6236
+ type DashboardControllerGetExpensesData = {
5611
6237
  /**
5612
- * Number of items per page (default: 20, max: 100)
6238
+ * Account root to aggregate (expense ^Expenses:, income → ^Income:)
5613
6239
  */
5614
- limit?: number;
6240
+ flow?: 'expense' | 'income';
5615
6241
  /**
5616
- * Page number for pagination (default: 1)
6242
+ * Grouping strategy
5617
6243
  */
5618
- page?: number;
6244
+ groupBy?: 'category';
5619
6245
  /**
5620
- * Filter by quote currency (pricing currency, e.g., USD, CNY)
6246
+ * Time window (1m = current calendar month)
5621
6247
  */
5622
- quoteCurrency?: string;
6248
+ period?: '1m' | '3m' | '6m' | '1y';
5623
6249
  /**
5624
6250
  * Region code for tenant context
5625
6251
  */
5626
6252
  region: 'cn' | 'us' | 'de' | 'gb';
5627
- /**
5628
- * Search term for currency or quoteCurrency (case-insensitive partial match)
5629
- */
5630
- search?: string;
5631
6253
  };
5632
- type PriceControllerFindAllResponse = PriceListResponseDto;
5633
- type PriceControllerFindOneData = {
6254
+ type DashboardControllerGetExpensesResponse = ExpensesByCategoryResponseDto;
6255
+ type HoldingPnlControllerGetHoldingPnlData = {
5634
6256
  /**
5635
- * Price ID
6257
+ * Scope to a single account
5636
6258
  */
5637
- id: string;
6259
+ accountId?: string;
5638
6260
  /**
5639
- * Region code for tenant context
6261
+ * As-of date (ISO 8601), defaults to today
5640
6262
  */
5641
- region: 'cn' | 'us' | 'de' | 'gb';
5642
- };
5643
- type PriceControllerFindOneResponse = PriceResponseDto;
5644
- type PriceControllerUpdateData = {
6263
+ asOf?: string;
5645
6264
  /**
5646
- * Price ID
6265
+ * Realized-P&L lot-matching method (default average). Does not affect the average-cost unrealized basis.
5647
6266
  */
5648
- id: string;
6267
+ method?: 'FIFO' | 'average';
5649
6268
  /**
5650
6269
  * Region code for tenant context
5651
6270
  */
5652
6271
  region: 'cn' | 'us' | 'de' | 'gb';
5653
- requestBody: UpdateBeanPriceDto;
5654
6272
  };
5655
- type PriceControllerUpdateResponse = PriceResponseDto;
5656
- type PriceControllerDeleteData = {
6273
+ type HoldingPnlControllerGetHoldingPnlResponse = HoldingPnlResponseDto;
6274
+ type ReportingControllerGetPortfolioTrendsData = {
5657
6275
  /**
5658
- * Price ID
6276
+ * Data granularity
5659
6277
  */
5660
- id: string;
6278
+ granularity?: 'day' | 'week' | 'month';
5661
6279
  /**
5662
- * Region code for tenant context
6280
+ * Time period
5663
6281
  */
5664
- region: 'cn' | 'us' | 'de' | 'gb';
5665
- };
5666
- type PriceControllerDeleteResponse = void;
5667
- type PriceControllerBulkCreateData = {
6282
+ period?: '1m' | '3m' | '6m' | '1y';
5668
6283
  /**
5669
6284
  * Region code for tenant context
5670
6285
  */
5671
6286
  region: 'cn' | 'us' | 'de' | 'gb';
5672
- requestBody: Array<string>;
5673
6287
  };
5674
- type PriceControllerBulkCreateResponse = Array<PriceResponseDto>;
5675
- type ReportingControllerGetPortfolioTrendsData = {
6288
+ type ReportingControllerGetPortfolioTrendsResponse = PortfolioTrendsResponseDto;
6289
+ type ReportingControllerGetCashFlowTrendsData = {
5676
6290
  /**
5677
- * Data granularity
6291
+ * Data granularity (accepted for API symmetry; v1 returns month buckets)
5678
6292
  */
5679
6293
  granularity?: 'day' | 'week' | 'month';
5680
6294
  /**
@@ -5686,7 +6300,7 @@ type ReportingControllerGetPortfolioTrendsData = {
5686
6300
  */
5687
6301
  region: 'cn' | 'us' | 'de' | 'gb';
5688
6302
  };
5689
- type ReportingControllerGetPortfolioTrendsResponse = PortfolioTrendsResponseDto;
6303
+ type ReportingControllerGetCashFlowTrendsResponse = CashFlowTrendsResponseDto;
5690
6304
  type ReportingControllerGenerateSnapshotData = {
5691
6305
  /**
5692
6306
  * Region code for tenant context
@@ -6391,65 +7005,149 @@ type $OpenApiTs = {
6391
7005
  req: CommodityControllerFindOneData;
6392
7006
  res: {
6393
7007
  /**
6394
- * Commodity retrieved successfully
7008
+ * Commodity retrieved successfully
7009
+ */
7010
+ 200: CommodityResponseDto;
7011
+ /**
7012
+ * Commodity not found
7013
+ */
7014
+ 404: ApiProblemResponseDto;
7015
+ };
7016
+ };
7017
+ put: {
7018
+ req: CommodityControllerUpdateData;
7019
+ res: {
7020
+ /**
7021
+ * Commodity updated successfully
7022
+ */
7023
+ 200: CommodityResponseDto;
7024
+ /**
7025
+ * Invalid input data
7026
+ */
7027
+ 400: ApiProblemResponseDto;
7028
+ /**
7029
+ * Commodity not found
7030
+ */
7031
+ 404: ApiProblemResponseDto;
7032
+ };
7033
+ };
7034
+ delete: {
7035
+ req: CommodityControllerDeleteData;
7036
+ res: {
7037
+ /**
7038
+ * Commodity deleted successfully
7039
+ */
7040
+ 204: void;
7041
+ /**
7042
+ * Commodity not found
7043
+ */
7044
+ 404: ApiProblemResponseDto;
7045
+ };
7046
+ };
7047
+ };
7048
+ '/api/v1/{region}/bean/commodities/{symbol}/ensure': {
7049
+ post: {
7050
+ req: CommodityControllerGetOrCreateData;
7051
+ res: {
7052
+ /**
7053
+ * Commodity retrieved or created
7054
+ */
7055
+ 200: CommodityResponseDto;
7056
+ };
7057
+ };
7058
+ };
7059
+ '/api/v1/{region}/bean/commodities/bulk': {
7060
+ post: {
7061
+ req: CommodityControllerBulkCreateData;
7062
+ res: {
7063
+ /**
7064
+ * Commodities created successfully
7065
+ */
7066
+ 201: Array<CommodityResponseDto>;
7067
+ };
7068
+ };
7069
+ };
7070
+ '/api/v1/{region}/bean/prices': {
7071
+ post: {
7072
+ req: PriceControllerCreateData;
7073
+ res: {
7074
+ /**
7075
+ * Price created successfully
7076
+ */
7077
+ 201: PriceResponseDto;
7078
+ /**
7079
+ * Currency or quoteCurrency commodity not found
7080
+ */
7081
+ 404: unknown;
7082
+ /**
7083
+ * Price already exists for this currency pair and date
7084
+ */
7085
+ 409: unknown;
7086
+ };
7087
+ };
7088
+ get: {
7089
+ req: PriceControllerFindAllData;
7090
+ res: {
7091
+ /**
7092
+ * Prices retrieved successfully
7093
+ */
7094
+ 200: PriceListResponseDto;
7095
+ };
7096
+ };
7097
+ };
7098
+ '/api/v1/{region}/bean/prices/{id}': {
7099
+ get: {
7100
+ req: PriceControllerFindOneData;
7101
+ res: {
7102
+ /**
7103
+ * Price retrieved successfully
6395
7104
  */
6396
- 200: CommodityResponseDto;
7105
+ 200: PriceResponseDto;
6397
7106
  /**
6398
- * Commodity not found
7107
+ * Price not found
6399
7108
  */
6400
- 404: ApiProblemResponseDto;
7109
+ 404: unknown;
6401
7110
  };
6402
7111
  };
6403
7112
  put: {
6404
- req: CommodityControllerUpdateData;
7113
+ req: PriceControllerUpdateData;
6405
7114
  res: {
6406
7115
  /**
6407
- * Commodity updated successfully
7116
+ * Price updated successfully
6408
7117
  */
6409
- 200: CommodityResponseDto;
7118
+ 200: PriceResponseDto;
6410
7119
  /**
6411
- * Invalid input data
7120
+ * Price not found
6412
7121
  */
6413
- 400: ApiProblemResponseDto;
7122
+ 404: unknown;
6414
7123
  /**
6415
- * Commodity not found
7124
+ * Updated price conflicts with existing price
6416
7125
  */
6417
- 404: ApiProblemResponseDto;
7126
+ 409: unknown;
6418
7127
  };
6419
7128
  };
6420
7129
  delete: {
6421
- req: CommodityControllerDeleteData;
7130
+ req: PriceControllerDeleteData;
6422
7131
  res: {
6423
7132
  /**
6424
- * Commodity deleted successfully
7133
+ * Price deleted successfully
6425
7134
  */
6426
7135
  204: void;
6427
7136
  /**
6428
- * Commodity not found
6429
- */
6430
- 404: ApiProblemResponseDto;
6431
- };
6432
- };
6433
- };
6434
- '/api/v1/{region}/bean/commodities/{symbol}/ensure': {
6435
- post: {
6436
- req: CommodityControllerGetOrCreateData;
6437
- res: {
6438
- /**
6439
- * Commodity retrieved or created
7137
+ * Price not found
6440
7138
  */
6441
- 200: CommodityResponseDto;
7139
+ 404: unknown;
6442
7140
  };
6443
7141
  };
6444
7142
  };
6445
- '/api/v1/{region}/bean/commodities/bulk': {
7143
+ '/api/v1/{region}/bean/prices/bulk': {
6446
7144
  post: {
6447
- req: CommodityControllerBulkCreateData;
7145
+ req: PriceControllerBulkCreateData;
6448
7146
  res: {
6449
7147
  /**
6450
- * Commodities created successfully
7148
+ * Prices created successfully
6451
7149
  */
6452
- 201: Array<CommodityResponseDto>;
7150
+ 201: Array<PriceResponseDto>;
6453
7151
  };
6454
7152
  };
6455
7153
  };
@@ -7097,6 +7795,181 @@ type $OpenApiTs = {
7097
7795
  };
7098
7796
  };
7099
7797
  };
7798
+ '/api/v1/{region}/bean/events': {
7799
+ post: {
7800
+ req: EventControllerCreateData;
7801
+ res: {
7802
+ /**
7803
+ * Life event created successfully
7804
+ */
7805
+ 201: EventResponseDto;
7806
+ /**
7807
+ * Life event already exists for this (userId, type, date) combination
7808
+ */
7809
+ 409: unknown;
7810
+ };
7811
+ };
7812
+ get: {
7813
+ req: EventControllerFindAllData;
7814
+ res: {
7815
+ /**
7816
+ * Life events retrieved successfully
7817
+ */
7818
+ 200: EventListResponseDto;
7819
+ };
7820
+ };
7821
+ };
7822
+ '/api/v1/{region}/bean/events/{id}': {
7823
+ get: {
7824
+ req: EventControllerFindOneData;
7825
+ res: {
7826
+ /**
7827
+ * Life event retrieved successfully
7828
+ */
7829
+ 200: EventResponseDto;
7830
+ /**
7831
+ * Life event not found
7832
+ */
7833
+ 404: unknown;
7834
+ };
7835
+ };
7836
+ put: {
7837
+ req: EventControllerUpdateData;
7838
+ res: {
7839
+ /**
7840
+ * Life event updated successfully
7841
+ */
7842
+ 200: EventResponseDto;
7843
+ /**
7844
+ * If-Match header is not a valid ISO 8601 date
7845
+ */
7846
+ 400: unknown;
7847
+ /**
7848
+ * Life event not found
7849
+ */
7850
+ 404: unknown;
7851
+ /**
7852
+ * Updated event conflicts with an existing (userId, type, date) combination
7853
+ */
7854
+ 409: unknown;
7855
+ /**
7856
+ * If-Match precondition failed (updatedAt mismatch)
7857
+ */
7858
+ 412: unknown;
7859
+ };
7860
+ };
7861
+ delete: {
7862
+ req: EventControllerDeleteData;
7863
+ res: {
7864
+ /**
7865
+ * Life event deleted successfully
7866
+ */
7867
+ 204: void;
7868
+ /**
7869
+ * Life event not found
7870
+ */
7871
+ 404: unknown;
7872
+ };
7873
+ };
7874
+ };
7875
+ '/api/v1/{region}/bean/events/{id}/slice': {
7876
+ get: {
7877
+ req: EventControllerGetSliceData;
7878
+ res: {
7879
+ /**
7880
+ * Time-series sliced by the life event range
7881
+ */
7882
+ 200: unknown;
7883
+ /**
7884
+ * accountPattern query param is empty
7885
+ */
7886
+ 400: unknown;
7887
+ /**
7888
+ * Life event not found
7889
+ */
7890
+ 404: unknown;
7891
+ };
7892
+ };
7893
+ };
7894
+ '/api/v1/{region}/bean/onboarding': {
7895
+ post: {
7896
+ req: OnboardingControllerBootstrapData;
7897
+ res: {
7898
+ /**
7899
+ * Onboarding bootstrap result.
7900
+ */
7901
+ 201: unknown;
7902
+ /**
7903
+ * Invalid region/account path/duplicate paths.
7904
+ */
7905
+ 422: unknown;
7906
+ };
7907
+ };
7908
+ };
7909
+ '/api/v1/{region}/bean/reconciliations': {
7910
+ post: {
7911
+ req: ReconciliationControllerComputeData;
7912
+ res: {
7913
+ /**
7914
+ * Reconciliation preview
7915
+ */
7916
+ 200: ReconciliationComputeResultDto;
7917
+ /**
7918
+ * Account not found
7919
+ */
7920
+ 404: unknown;
7921
+ };
7922
+ };
7923
+ };
7924
+ '/api/v1/{region}/bean/reconciliations/assert': {
7925
+ post: {
7926
+ req: ReconciliationControllerAssertData;
7927
+ res: {
7928
+ /**
7929
+ * Balance assertion recorded
7930
+ */
7931
+ 201: ReconciliationRecordDto;
7932
+ /**
7933
+ * Account not found
7934
+ */
7935
+ 404: unknown;
7936
+ };
7937
+ };
7938
+ };
7939
+ '/api/v1/{region}/bean/reconciliations/pad': {
7940
+ post: {
7941
+ req: ReconciliationControllerPadData;
7942
+ res: {
7943
+ /**
7944
+ * Pad adjusting entry generated
7945
+ */
7946
+ 201: PadResultDto;
7947
+ /**
7948
+ * Book already within tolerance — no pad needed
7949
+ */
7950
+ 400: unknown;
7951
+ /**
7952
+ * Account not found
7953
+ */
7954
+ 404: unknown;
7955
+ };
7956
+ };
7957
+ };
7958
+ '/api/v1/{region}/bean/accounts/{accountId}/reconciliations': {
7959
+ get: {
7960
+ req: ReconciliationControllerHistoryData;
7961
+ res: {
7962
+ /**
7963
+ * Reconciliation history
7964
+ */
7965
+ 200: Array<ReconciliationRecordDto>;
7966
+ /**
7967
+ * Account not found
7968
+ */
7969
+ 404: unknown;
7970
+ };
7971
+ };
7972
+ };
7100
7973
  '/api/v1/{region}/bean/export/beancount': {
7101
7974
  get: {
7102
7975
  res: {
@@ -7181,141 +8054,69 @@ type $OpenApiTs = {
7181
8054
  * Beancount file imported successfully
7182
8055
  */
7183
8056
  200: {
7184
- imported?: number;
7185
- skipped?: number;
7186
- failed?: number;
7187
- accountsCreated?: number;
7188
- errors?: Array<{
7189
- [key: string]: unknown;
7190
- }>;
7191
- };
7192
- /**
7193
- * Bad request - invalid file or no file uploaded
7194
- */
7195
- 400: ApiProblemResponseDto;
7196
- };
7197
- };
7198
- };
7199
- '/api/v1/{region}/bean/import/config/{importerId}': {
7200
- get: {
7201
- req: ImporterConfigControllerGetConfigData;
7202
- res: {
7203
- /**
7204
- * Configuration retrieved successfully
7205
- */
7206
- 200: ImporterConfigDto;
7207
- /**
7208
- * Invalid input - Unsupported importer
7209
- */
7210
- 400: ApiProblemResponseDto;
7211
- /**
7212
- * Unauthorized - Authentication required
7213
- */
7214
- 401: ApiProblemResponseDto;
7215
- };
7216
- };
7217
- put: {
7218
- req: ImporterConfigControllerUpdateConfigData;
7219
- res: {
7220
- /**
7221
- * Configuration updated successfully
7222
- */
7223
- 200: ImporterConfigDto;
7224
- /**
7225
- * Invalid input - Validation failed
7226
- */
7227
- 400: ApiProblemResponseDto;
7228
- /**
7229
- * Configuration not found
7230
- */
7231
- 404: ApiProblemResponseDto;
7232
- };
7233
- };
7234
- };
7235
- '/api/v1/{region}/bean/import/config/{importerId}/reset': {
7236
- post: {
7237
- req: ImporterConfigControllerResetConfigData;
7238
- res: {
7239
- /**
7240
- * Configuration reset successfully
7241
- */
7242
- 200: ImporterConfigDto;
7243
- /**
7244
- * Invalid input - Unsupported importer
7245
- */
7246
- 400: ApiProblemResponseDto;
7247
- };
7248
- };
7249
- };
7250
- '/api/v1/bean/platforms': {
7251
- get: {
7252
- res: {
7253
- /**
7254
- * List of platforms with binding and account counts
7255
- */
7256
- 200: unknown;
7257
- };
7258
- };
7259
- post: {
7260
- req: PlatformControllerCreateData;
7261
- res: {
7262
- /**
7263
- * Platform created successfully
7264
- */
7265
- 201: unknown;
8057
+ imported?: number;
8058
+ skipped?: number;
8059
+ failed?: number;
8060
+ accountsCreated?: number;
8061
+ errors?: Array<{
8062
+ [key: string]: unknown;
8063
+ }>;
8064
+ };
7266
8065
  /**
7267
- * Platform already exists
8066
+ * Bad request - invalid file or no file uploaded
7268
8067
  */
7269
- 409: unknown;
8068
+ 400: ApiProblemResponseDto;
7270
8069
  };
7271
8070
  };
7272
8071
  };
7273
- '/api/v1/bean/platforms/list': {
8072
+ '/api/v1/{region}/bean/import/config/{importerId}': {
7274
8073
  get: {
8074
+ req: ImporterConfigControllerGetConfigData;
7275
8075
  res: {
7276
8076
  /**
7277
- * List of platforms with user binding status
8077
+ * Configuration retrieved successfully
7278
8078
  */
7279
- 200: unknown;
7280
- };
7281
- };
7282
- };
7283
- '/api/v1/bean/platforms/match': {
7284
- get: {
7285
- req: PlatformControllerMatchPlatformsData;
7286
- res: {
8079
+ 200: ImporterConfigDto;
7287
8080
  /**
7288
- * List of matching platforms with suggested segment names
8081
+ * Invalid input - Unsupported importer
7289
8082
  */
7290
- 200: unknown;
8083
+ 400: ApiProblemResponseDto;
8084
+ /**
8085
+ * Unauthorized - Authentication required
8086
+ */
8087
+ 401: ApiProblemResponseDto;
7291
8088
  };
7292
8089
  };
7293
- };
7294
- '/api/v1/bean/platforms/{id}': {
7295
8090
  put: {
7296
- req: PlatformControllerUpdateData;
8091
+ req: ImporterConfigControllerUpdateConfigData;
7297
8092
  res: {
7298
8093
  /**
7299
- * Platform updated successfully
8094
+ * Configuration updated successfully
7300
8095
  */
7301
- 200: unknown;
8096
+ 200: ImporterConfigDto;
7302
8097
  /**
7303
- * Platform not found
8098
+ * Invalid input - Validation failed
7304
8099
  */
7305
- 404: unknown;
8100
+ 400: ApiProblemResponseDto;
8101
+ /**
8102
+ * Configuration not found
8103
+ */
8104
+ 404: ApiProblemResponseDto;
7306
8105
  };
7307
8106
  };
7308
- delete: {
7309
- req: PlatformControllerDeleteData;
8107
+ };
8108
+ '/api/v1/{region}/bean/import/config/{importerId}/reset': {
8109
+ post: {
8110
+ req: ImporterConfigControllerResetConfigData;
7310
8111
  res: {
7311
8112
  /**
7312
- * Platform deleted successfully
8113
+ * Configuration reset successfully
7313
8114
  */
7314
- 204: void;
8115
+ 200: ImporterConfigDto;
7315
8116
  /**
7316
- * Platform not found
8117
+ * Invalid input - Unsupported importer
7317
8118
  */
7318
- 404: unknown;
8119
+ 400: ApiProblemResponseDto;
7319
8120
  };
7320
8121
  };
7321
8122
  };
@@ -7372,6 +8173,54 @@ type $OpenApiTs = {
7372
8173
  };
7373
8174
  };
7374
8175
  };
8176
+ '/api/v1/{region}/bean/external-account-links': {
8177
+ post: {
8178
+ req: ExternalAccountLinkControllerCreateData;
8179
+ res: {
8180
+ /**
8181
+ * Link created.
8182
+ */
8183
+ 201: ExternalAccountLinkResponseDto;
8184
+ /**
8185
+ * beanAccountId not owned, or an active link already exists.
8186
+ */
8187
+ 422: unknown;
8188
+ };
8189
+ };
8190
+ get: {
8191
+ req: ExternalAccountLinkControllerFindAllData;
8192
+ res: {
8193
+ /**
8194
+ * Links retrieved.
8195
+ */
8196
+ 200: ExternalAccountLinkListResponseDto;
8197
+ };
8198
+ };
8199
+ };
8200
+ '/api/v1/{region}/bean/external-account-links/{id}': {
8201
+ get: {
8202
+ req: ExternalAccountLinkControllerFindOneData;
8203
+ res: {
8204
+ /**
8205
+ * Link retrieved.
8206
+ */
8207
+ 200: ExternalAccountLinkResponseDto;
8208
+ /**
8209
+ * Link not found or not owned by the user.
8210
+ */
8211
+ 422: unknown;
8212
+ };
8213
+ };
8214
+ delete: {
8215
+ req: ExternalAccountLinkControllerRemoveData;
8216
+ res: {
8217
+ /**
8218
+ * Link soft-deleted; historical transactions are unaffected.
8219
+ */
8220
+ 204: void;
8221
+ };
8222
+ };
8223
+ };
7375
8224
  '/api/v1/{region}/bean/import/parser-telemetry': {
7376
8225
  post: {
7377
8226
  req: TelemetryControllerReportTelemetryData;
@@ -7460,6 +8309,78 @@ type $OpenApiTs = {
7460
8309
  };
7461
8310
  };
7462
8311
  };
8312
+ '/api/v1/bean/platforms': {
8313
+ get: {
8314
+ res: {
8315
+ /**
8316
+ * List of platforms with binding and account counts
8317
+ */
8318
+ 200: unknown;
8319
+ };
8320
+ };
8321
+ post: {
8322
+ req: PlatformControllerCreateData;
8323
+ res: {
8324
+ /**
8325
+ * Platform created successfully
8326
+ */
8327
+ 201: unknown;
8328
+ /**
8329
+ * Platform already exists
8330
+ */
8331
+ 409: unknown;
8332
+ };
8333
+ };
8334
+ };
8335
+ '/api/v1/bean/platforms/list': {
8336
+ get: {
8337
+ res: {
8338
+ /**
8339
+ * List of platforms with user binding status
8340
+ */
8341
+ 200: unknown;
8342
+ };
8343
+ };
8344
+ };
8345
+ '/api/v1/bean/platforms/match': {
8346
+ get: {
8347
+ req: PlatformControllerMatchPlatformsData;
8348
+ res: {
8349
+ /**
8350
+ * List of matching platforms with suggested segment names
8351
+ */
8352
+ 200: unknown;
8353
+ };
8354
+ };
8355
+ };
8356
+ '/api/v1/bean/platforms/{id}': {
8357
+ put: {
8358
+ req: PlatformControllerUpdateData;
8359
+ res: {
8360
+ /**
8361
+ * Platform updated successfully
8362
+ */
8363
+ 200: unknown;
8364
+ /**
8365
+ * Platform not found
8366
+ */
8367
+ 404: unknown;
8368
+ };
8369
+ };
8370
+ delete: {
8371
+ req: PlatformControllerDeleteData;
8372
+ res: {
8373
+ /**
8374
+ * Platform deleted successfully
8375
+ */
8376
+ 204: void;
8377
+ /**
8378
+ * Platform not found
8379
+ */
8380
+ 404: unknown;
8381
+ };
8382
+ };
8383
+ };
7463
8384
  '/api/v1/{region}/dashboard/net-worth': {
7464
8385
  get: {
7465
8386
  req: DashboardControllerGetNetWorthData;
@@ -7509,16 +8430,16 @@ type $OpenApiTs = {
7509
8430
  };
7510
8431
  };
7511
8432
  };
7512
- '/api/v1/{region}/investment/holdings/pnl': {
8433
+ '/api/v1/{region}/dashboard/expenses': {
7513
8434
  get: {
7514
- req: HoldingPnlControllerGetHoldingPnlData;
8435
+ req: DashboardControllerGetExpensesData;
7515
8436
  res: {
7516
8437
  /**
7517
- * Holding P&L retrieved successfully
8438
+ * Expenses retrieved successfully
7518
8439
  */
7519
- 200: HoldingPnlResponseDto;
8440
+ 200: ExpensesByCategoryResponseDto;
7520
8441
  /**
7521
- * Invalid asOf format/value/future date, invalid accountId format, or unsupported method
8442
+ * Invalid groupBy or period
7522
8443
  */
7523
8444
  400: unknown;
7524
8445
  /**
@@ -7528,98 +8449,48 @@ type $OpenApiTs = {
7528
8449
  };
7529
8450
  };
7530
8451
  };
7531
- '/api/v1/{region}/bean/prices': {
7532
- post: {
7533
- req: PriceControllerCreateData;
8452
+ '/api/v1/{region}/investment/holdings/pnl': {
8453
+ get: {
8454
+ req: HoldingPnlControllerGetHoldingPnlData;
7534
8455
  res: {
7535
8456
  /**
7536
- * Price created successfully
7537
- */
7538
- 201: PriceResponseDto;
7539
- /**
7540
- * Currency or quoteCurrency commodity not found
8457
+ * Holding P&L retrieved successfully
7541
8458
  */
7542
- 404: unknown;
8459
+ 200: HoldingPnlResponseDto;
7543
8460
  /**
7544
- * Price already exists for this currency pair and date
8461
+ * Invalid asOf format/value/future date, invalid accountId format, or unsupported method
7545
8462
  */
7546
- 409: unknown;
7547
- };
7548
- };
7549
- get: {
7550
- req: PriceControllerFindAllData;
7551
- res: {
8463
+ 400: unknown;
7552
8464
  /**
7553
- * Prices retrieved successfully
8465
+ * User not authenticated
7554
8466
  */
7555
- 200: PriceListResponseDto;
8467
+ 401: unknown;
7556
8468
  };
7557
8469
  };
7558
8470
  };
7559
- '/api/v1/{region}/bean/prices/{id}': {
8471
+ '/api/v1/{region}/reporting/portfolio/trends': {
7560
8472
  get: {
7561
- req: PriceControllerFindOneData;
7562
- res: {
7563
- /**
7564
- * Price retrieved successfully
7565
- */
7566
- 200: PriceResponseDto;
7567
- /**
7568
- * Price not found
7569
- */
7570
- 404: unknown;
7571
- };
7572
- };
7573
- put: {
7574
- req: PriceControllerUpdateData;
7575
- res: {
7576
- /**
7577
- * Price updated successfully
7578
- */
7579
- 200: PriceResponseDto;
7580
- /**
7581
- * Price not found
7582
- */
7583
- 404: unknown;
7584
- /**
7585
- * Updated price conflicts with existing price
7586
- */
7587
- 409: unknown;
7588
- };
7589
- };
7590
- delete: {
7591
- req: PriceControllerDeleteData;
8473
+ req: ReportingControllerGetPortfolioTrendsData;
7592
8474
  res: {
7593
8475
  /**
7594
- * Price deleted successfully
7595
- */
7596
- 204: void;
7597
- /**
7598
- * Price not found
8476
+ * Trends retrieved successfully
7599
8477
  */
7600
- 404: unknown;
7601
- };
7602
- };
7603
- };
7604
- '/api/v1/{region}/bean/prices/bulk': {
7605
- post: {
7606
- req: PriceControllerBulkCreateData;
7607
- res: {
8478
+ 200: PortfolioTrendsResponseDto;
7608
8479
  /**
7609
- * Prices created successfully
8480
+ * User not authenticated
7610
8481
  */
7611
- 201: Array<PriceResponseDto>;
8482
+ 401: unknown;
7612
8483
  };
7613
8484
  };
7614
8485
  };
7615
- '/api/v1/{region}/reporting/portfolio/trends': {
8486
+ '/api/v1/{region}/reporting/cash-flow/trends': {
7616
8487
  get: {
7617
- req: ReportingControllerGetPortfolioTrendsData;
8488
+ req: ReportingControllerGetCashFlowTrendsData;
7618
8489
  res: {
7619
8490
  /**
7620
- * Trends retrieved successfully
8491
+ * Cash-flow trends retrieved successfully
7621
8492
  */
7622
- 200: PortfolioTrendsResponseDto;
8493
+ 200: CashFlowTrendsResponseDto;
7623
8494
  /**
7624
8495
  * User not authenticated
7625
8496
  */
@@ -7858,7 +8729,7 @@ declare class BeanAccountsService {
7858
8729
  * @param data.type Filter by account type
7859
8730
  * @param data.status Filter by status
7860
8731
  * @param data.isCustom Filter by custom (user-created) accounts only
7861
- * @param data.search Search term for path or i18nKey
8732
+ * @param data.search Search term for account path
7862
8733
  * @param data.limit Maximum number of results
7863
8734
  * @param data.offset Number of results to skip
7864
8735
  * @returns AccountListResponseDto Accounts retrieved successfully
@@ -7943,6 +8814,7 @@ declare class BeanTransactionsService {
7943
8814
  * @param data.status Filter by transaction status
7944
8815
  * @param data.search Search in narration and payee fields (max 200 chars)
7945
8816
  * @param data.accountId Filter by account ID (transactions with postings to this account)
8817
+ * @param data.category Filter by ADR-0075 functional category (Group segment); matches any posting to an Expenses/Income account whose derived Group segment equals this value
7946
8818
  * @returns TransactionListResponseDto Transaction list
7947
8819
  * @throws ApiError
7948
8820
  */
@@ -8018,7 +8890,7 @@ declare class BeanBalancesService {
8018
8890
  * Query account balance
8019
8891
  * Calculate account balance at a specific date for a single currency
8020
8892
  * @param data The data for the request.
8021
- * @param data.account Account name (e.g., "Assets:Bank:Checking")
8893
+ * @param data.account Account name (e.g., "Assets:Checking")
8022
8894
  * @param data.region Region code for tenant context
8023
8895
  * @param data.date Date to calculate balance at (ISO 8601 format)
8024
8896
  * @param data.currency Currency to query (e.g., "USD", "CNY")
@@ -8248,4 +9120,4 @@ type OpenAPIConfig = {
8248
9120
  };
8249
9121
  declare const OpenAPI: OpenAPIConfig;
8250
9122
 
8251
- 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 CreateBeanPriceDto, type CreateCommodityDto, type CreatePayeeDto, type CreatePayeeProfileDto, type CreatePlatformDto, type CreatePostingDto, type CreateRecurringRuleDto, type CreateRuleFromTransactionDto, type CreateTransactionDto, type CreateTransactionRuleDto, type CurrencyBalanceDto, type CurrentPriceDto, type DashboardControllerGetAccountsData, type DashboardControllerGetAccountsResponse, type DashboardControllerGetCashFlowData, type DashboardControllerGetCashFlowResponse, type DashboardControllerGetNetWorthData, type DashboardControllerGetNetWorthResponse, type DecisionOptionDto, type DeleteOwnUserDto, type EnterNowDto, type ExchangeRateControllerGetExchangeRateData, type ExchangeRateControllerGetExchangeRateResponse, type ExchangeRateWarningDto, type ExpectedTransactionControllerConfirmMatchData, type ExpectedTransactionControllerConfirmMatchResponse, type ExpectedTransactionControllerEnterNowData, type ExpectedTransactionControllerEnterNowResponse, type ExpectedTransactionControllerFindAllData, type ExpectedTransactionControllerFindAllResponse, type ExpectedTransactionControllerFindOneData, type ExpectedTransactionControllerFindOneResponse, type ExpectedTransactionControllerFindOverdueData, type ExpectedTransactionControllerFindOverdueResponse, type ExpectedTransactionControllerSkipData, type ExpectedTransactionControllerSkipResponse, type ExpectedTransactionControllerUndoSkipData, type ExpectedTransactionControllerUndoSkipResponse, type ExpectedTransactionControllerUnmatchData, type ExpectedTransactionControllerUnmatchResponse, type ExpectedTransactionListResponseDto, type ExpectedTransactionResponseDto, type ExpectedTransactionRuleDto, type ExportControllerExportBeancountResponse, type ExportRulesResponseDto, type FileImportControllerIdentifyFileData, type FileImportControllerIdentifyFileResponse, type FileImportControllerImportBeancountData, type FileImportControllerImportBeancountResponse, type FileImportControllerImportFileData, type FileImportControllerImportFileResponse, type FileImportDto, type ForecastControllerGetForecastData, type ForecastControllerGetForecastResponse, type ForecastItemDto, type ForecastResponseDto, type FxRateDto, type GenerateSnapshotBody, type GenerateSnapshotResponse, type HealthControllerCheckDatabaseResponse, type HealthControllerCheckOpenBbResponse, type HealthControllerCheckRedisResponse, type HealthControllerGetCircuitBreakersHealthResponse, type HealthControllerGetHealthResponse, type HealthControllerGetMetricsResponse, type HealthControllerResetCircuitBreakerData, type HealthControllerResetCircuitBreakerResponse, HealthService, type HoldingAssetClassAccountSliceDto, type HoldingAssetClassCrossAccountResponseDto, type HoldingPnlControllerGetHoldingPnlData, type HoldingPnlControllerGetHoldingPnlResponse, type HoldingPnlResponseDto, type HoldingPnlRowDto, type HoldingPnlWarningDto, type IdentifyResultDto, type ImportErrorDto, type ImportResultDto, type ImporterConfigControllerGetConfigData, type ImporterConfigControllerGetConfigResponse, type ImporterConfigControllerResetConfigData, type ImporterConfigControllerResetConfigResponse, type ImporterConfigControllerUpdateConfigData, type ImporterConfigControllerUpdateConfigResponse, type ImporterConfigDataDto, type ImporterConfigDto, type InfoControllerGetInfoResponse, type MapperDefaultsDto, type MonetaryDto, type MonthlyForecastDto, type MultiCurrencyBalanceResponseDto, type MultiCurrencyPointDto, type NetWorthByCurrencyDto, type NetWorthResponseDto, type NlpAccountConfirmationDataDto, type NlpAlternativePayeeDto, type NlpControllerClearSessionData, type NlpControllerClearSessionResponse, type NlpControllerGetSessionData, type NlpControllerGetSessionResponse, type NlpControllerProcessNaturalLanguageData, type NlpControllerProcessNaturalLanguageResponse, type NlpDefaultAccountsDto, type NlpDuplicateConfirmationDataDto, type NlpParsedDataDto, type NlpPayeeConfirmationDataDto, type NlpResponseDto, type NlpRuleConfirmationDataDto, type NlpSimilarityDto, type NlpSourceTransactionDto, type NlpSuggestedAccountDto, type NlpSuggestedAccountsDto, type NlpSuggestedPayeeDto, type NlpTargetTransactionDto, type NlpTransactionInfoDto, OpenAPI, type OpenAPIConfig, type ParserTelemetryReportDto, type PayeeAutocompleteResponseDto, type PayeeControllerAutocompleteData, type PayeeControllerAutocompleteResponse, type PayeeControllerCreateData, type PayeeControllerCreateResponse, type PayeeControllerDeleteData, type PayeeControllerDeleteResponse, type PayeeControllerFindAllData, type PayeeControllerFindAllResponse, type PayeeControllerFindOneData, type PayeeControllerFindOneResponse, type PayeeControllerGetTopPayeesData, type PayeeControllerGetTopPayeesResponse, type PayeeControllerUpdateData, type PayeeControllerUpdateResponse, type PayeeListResponseDto, type PayeeProfileAdminControllerCreateData, type PayeeProfileAdminControllerCreateResponse, type PayeeProfileAdminControllerDeleteData, type PayeeProfileAdminControllerDeleteResponse, type PayeeProfileAdminControllerFindAllData, type PayeeProfileAdminControllerFindAllResponse, type PayeeProfileAdminControllerFindOneData, type PayeeProfileAdminControllerFindOneResponse, type PayeeProfileAdminControllerUnverifyData, type PayeeProfileAdminControllerUnverifyResponse, type PayeeProfileAdminControllerUpdateData, type PayeeProfileAdminControllerUpdateResponse, type PayeeProfileAdminControllerVerifyData, type PayeeProfileAdminControllerVerifyResponse, type PayeeProfileListResponseDto, type PayeeProfileResponseDto, type PayeeResponseDto, type PayeeStatsResponseDto, type PlatformControllerCreateData, type PlatformControllerCreateResponse, type PlatformControllerDeleteData, type PlatformControllerDeleteResponse, type PlatformControllerFindAllResponse, type PlatformControllerGetPlatformListResponse, type PlatformControllerMatchPlatformsData, type PlatformControllerMatchPlatformsResponse, type PlatformControllerUpdateData, type PlatformControllerUpdateResponse, type PlatformGroupDto, type PortfolioTrendsResponseDto, type PostingDetailDto, type PostingResponseDto, type PriceControllerBulkCreateData, type PriceControllerBulkCreateResponse, type PriceControllerCreateData, type PriceControllerCreateResponse, type PriceControllerDeleteData, type PriceControllerDeleteResponse, type PriceControllerFindAllData, type PriceControllerFindAllResponse, type PriceControllerFindOneData, type PriceControllerFindOneResponse, type PriceControllerUpdateData, type PriceControllerUpdateResponse, type PriceListResponseDto, type PriceResponseDto, type ProcessNlpDto, type PropertyControllerDeleteData, type PropertyControllerDeleteResponse, type PropertyControllerGetAllResponse, type PropertyControllerGetByKeyData, type PropertyControllerGetByKeyResponse, type PropertyControllerUpdateData, type PropertyControllerUpdateResponse, type ProviderSyncConfigDto, type ProviderSyncControllerGetSupportedProvidersData, type ProviderSyncControllerGetSupportedProvidersResponse, type ProviderSyncControllerIsProviderSupportedData, type ProviderSyncControllerIsProviderSupportedResponse, type ProviderSyncControllerSyncData, type ProviderSyncControllerSyncResponse, type ProviderSyncDto, type ProviderSyncResponseDto, ProviderSyncService, type RecurringMatchInfoDto, type RecurringRuleControllerCreateData, type RecurringRuleControllerCreateFromTransactionData, type RecurringRuleControllerCreateFromTransactionResponse, type RecurringRuleControllerCreateResponse, type RecurringRuleControllerDeleteData, type RecurringRuleControllerDeleteResponse, type RecurringRuleControllerFindAllData, type RecurringRuleControllerFindAllResponse, type RecurringRuleControllerFindOneData, type RecurringRuleControllerFindOneResponse, type RecurringRuleControllerGetWithStatsData, type RecurringRuleControllerGetWithStatsResponse, type RecurringRuleControllerUpdateData, type RecurringRuleControllerUpdateResponse, type RecurringRuleResponseDto, type RecurringRuleWithStatsResponseDto, type RecurringSuggestionDto, type RegionConfigDto, type RegionInfoDto, type RegionsMetadataResponseDto, type ReopenAccountDto, type ReportingControllerBackfillSnapshotsData, type ReportingControllerBackfillSnapshotsResponse, type ReportingControllerGenerateSnapshotData, type ReportingControllerGenerateSnapshotResponse, type ReportingControllerGetPortfolioTrendsData, type ReportingControllerGetPortfolioTrendsResponse, type ResolveResultDto, type ResolveReviewDto, type ReviewControllerBatchResolveData, type ReviewControllerBatchResolveResponse, type ReviewControllerFindAllData, type ReviewControllerFindAllResponse, type ReviewControllerFindOneData, type ReviewControllerFindOneResponse, type ReviewControllerGetStatsData, type ReviewControllerGetStatsResponse, type ReviewControllerResolveData, type ReviewControllerResolveResponse, type ReviewControllerUndoData, type ReviewControllerUndoResponse, type ReviewDetailDto, type ReviewItemPreviewDto, type ReviewListResponseDto, type ReviewStatsDto, type ReviewSummaryDto, type RuleStatisticsResponseDto, type SignupDto, type SupportedProvidersResponseDto, type TagSuggestionDto, type TagSuggestionsResponseDto, type TelemetryControllerGetCoverageMetricsData, type TelemetryControllerGetCoverageMetricsResponse, type TelemetryControllerReportCoverageMissData, type TelemetryControllerReportCoverageMissResponse, type TelemetryControllerReportTelemetryData, type TelemetryControllerReportTelemetryResponse, type TemplateMetadataDto, type TemplateMetadataResponseDto, type TestRuleDto, type TestRuleResponseDto, type TimeSeriesPointDto, type TransactionControllerCorrectData, type TransactionControllerCorrectResponse, type TransactionControllerCreateBatchData, type TransactionControllerCreateBatchResponse, type TransactionControllerCreateData, type TransactionControllerCreateResponse, type TransactionControllerDeleteData, type TransactionControllerDeleteResponse, type TransactionControllerGetDetailData, type TransactionControllerGetDetailResponse, type TransactionControllerListData, type TransactionControllerListResponse, type TransactionControllerSuggestTagsData, type TransactionControllerSuggestTagsResponse, type TransactionControllerUpdateData, type TransactionControllerUpdateResponse, type TransactionDetailDto, type TransactionListResponseDto, type TransactionResponseDto, type TransactionRuleControllerBulkCreateData, type TransactionRuleControllerBulkCreateResponse, type TransactionRuleControllerCreateData, type TransactionRuleControllerCreateResponse, type TransactionRuleControllerDeleteData, type TransactionRuleControllerDeleteResponse, type TransactionRuleControllerExportData, type TransactionRuleControllerExportResponse, type TransactionRuleControllerGetDetailData, type TransactionRuleControllerGetDetailResponse, type TransactionRuleControllerGetStatisticsData, type TransactionRuleControllerGetStatisticsResponse, type TransactionRuleControllerListData, type TransactionRuleControllerListResponse, type TransactionRuleControllerTestData, type TransactionRuleControllerTestResponse, type TransactionRuleControllerUpdateData, type TransactionRuleControllerUpdateResponse, type TransactionRuleControllerValidateData, type TransactionRuleControllerValidateResponse, type TransactionRuleListResponseDto, type TransactionRuleResponseDto, type TransactionSummaryDto, type TrendSummaryDto, type UncoveredFormatMissDto, type UndoResultDto, type UpdateAccountDto, type UpdateBeanPriceDto, type UpdateCommodityDto, type UpdateConfigDataDto, type UpdateImporterConfigDto, type UpdateMapperDefaultsDto, type UpdatePayeeDto, type UpdatePayeeProfileDto, type UpdatePlatformDto, type UpdatePropertyDto, type UpdateRecurringRuleDto, type UpdateTransactionDto, type UpdateTransactionRuleDto, type UpdateUserSettingDto, type UserControllerDeleteOwnUserData, type UserControllerDeleteOwnUserResponse, type UserControllerDeleteUserData, type UserControllerDeleteUserResponse, type UserControllerGetAllUserSettingsByPageData, type UserControllerGetAllUserSettingsByPageResponse, type UserControllerGetAssetLiabilitySummaryResponse, type UserControllerGetUserData, type UserControllerGetUserInfoData, type UserControllerGetUserInfoResponse, type UserControllerGetUserResponse, type UserControllerSignupUserData, type UserControllerSignupUserResponse, type UserControllerUpdateUserSettingData, type UserControllerUpdateUserSettingResponse, type ValidateRuleDto, type ValidateRuleResponseDto, type VersionedConfigDto, type action, type action2, type assetClass, type assetSubType, type bookingMethod, type branchType, type category, type chartToken, type colorScheme, type confidenceLevel, type conflictStrategy, type dataSource, type equitySubType, type flag, type flag2, type frequency, type importerId, type intent, type investmentAction, type learningSource, type liabilitySubType, type matchLogic, type method, type mode, type paymentSource, type period, type source, type source2, type source3, type status, type status2, type status3, type status4, type suggestedFrequency, type type, type type2, type type3, type type4, type value, type viewMode };
9123
+ export { type $OpenApiTs, type AccountControllerCloseData, type AccountControllerCloseResponse, type AccountControllerCreateData, type AccountControllerCreateResponse, type AccountControllerDeleteData, type AccountControllerDeleteResponse, type AccountControllerFindAllData, type AccountControllerFindAllResponse, type AccountControllerFindOneData, type AccountControllerFindOneResponse, type AccountControllerReopenData, type AccountControllerReopenResponse, type AccountControllerUpdateData, type AccountControllerUpdateResponse, type AccountExchangeRateWarningDto, type AccountItemDto, type AccountItemWithAssetClassDto, type AccountListResponseDto, type AccountResponseDto, type AccountStandardListResponseDto, type AccountStandardResponseDto, type AccountStandardsControllerGetRegionsData, type AccountStandardsControllerGetRegionsResponse, type AccountStandardsControllerGetTemplateMetadataData, type AccountStandardsControllerGetTemplateMetadataResponse, type AccountStandardsControllerGetTemplatesData, type AccountStandardsControllerGetTemplatesResponse, type AccountsResponseDto, type AccountsSummaryDto, type ActualBalanceDto, type AmountDto, type AmountRangeDto, type AnonymousLoginDto, type ApiKeysControllerCreateApiKeyResponse, type ApiProblemResponseDto, type AssertReconciliationDto, type AssetClassAccountsResponseDto, type AssetClassGroupDto, type AssetClassSummaryDto, type AuthControllerAccessTokenLoginData, type AuthControllerAccessTokenLoginResponse, type BackfillSnapshotsBody, type BackfillSnapshotsResponse, type BalanceByCurrencyDto, type BalanceControllerGetBalanceData, type BalanceControllerGetBalanceResponse, type BalanceControllerGetMultiCurrencyBalanceData, type BalanceControllerGetMultiCurrencyBalanceResponse, type BalanceResponseDto, type BatchCreateTransactionDto, type BatchResolveDto, type BatchResolveResultDto, type BatchTransactionErrorDto, type BatchTransactionResponseDto, BeanAccountsService, BeanBalancesService, BeanCommoditiesService, BeanTransactionsService, type BulkCreateRulesDto, type BulkCreateRulesResponseDto, type CacheControllerFlushCacheResponse, type CashFlowByCurrencyDto, type CashFlowPointDto, type CashFlowResponseDto, type CashFlowTrendSummaryDto, type CashFlowTrendsResponseDto, type CategoryGroupDto, type CloseAccountDto, type CommodityControllerBulkCreateData, type CommodityControllerBulkCreateResponse, type CommodityControllerCreateData, type CommodityControllerCreateResponse, type CommodityControllerDeleteData, type CommodityControllerDeleteResponse, type CommodityControllerFindAllData, type CommodityControllerFindAllResponse, type CommodityControllerFindOneData, type CommodityControllerFindOneResponse, type CommodityControllerGetOrCreateData, type CommodityControllerGetOrCreateResponse, type CommodityControllerUpdateData, type CommodityControllerUpdateResponse, type CommodityListResponseDto, type CommodityResponseDto, type ComputeReconciliationDto, type ConfirmMatchDto, type ConvertedCashFlowDto, type ConvertedNetWorthDto, type CorrectTransactionDto, type CostDetailDto, type CostSpecDto, type CreateAccountDto, type CreateBeanEventDto, type CreateBeanPriceDto, type CreateCommodityDto, type CreateExternalAccountLinkDto, type CreatePayeeDto, type CreatePayeeProfileDto, type CreatePlatformDto, type CreatePostingDto, type CreateRecurringRuleDto, type CreateRuleFromTransactionDto, type CreateTransactionDto, type CreateTransactionRuleDto, type CurrencyBalanceDto, type CurrentPriceDto, type DashboardControllerGetAccountsData, type DashboardControllerGetAccountsResponse, type DashboardControllerGetCashFlowData, type DashboardControllerGetCashFlowResponse, type DashboardControllerGetExpensesData, type DashboardControllerGetExpensesResponse, type DashboardControllerGetNetWorthData, type DashboardControllerGetNetWorthResponse, type DecisionOptionDto, type DeleteOwnUserDto, type EnterNowDto, type EventControllerCreateData, type EventControllerCreateResponse, type EventControllerDeleteData, type EventControllerDeleteResponse, type EventControllerFindAllData, type EventControllerFindAllResponse, type EventControllerFindOneData, type EventControllerFindOneResponse, type EventControllerGetSliceData, type EventControllerGetSliceResponse, type EventControllerUpdateData, type EventControllerUpdateResponse, type EventListResponseDto, type EventResponseDto, type ExchangeRateControllerGetExchangeRateData, type ExchangeRateControllerGetExchangeRateResponse, type ExchangeRateWarningDto, type ExpectedTransactionControllerConfirmMatchData, type ExpectedTransactionControllerConfirmMatchResponse, type ExpectedTransactionControllerEnterNowData, type ExpectedTransactionControllerEnterNowResponse, type ExpectedTransactionControllerFindAllData, type ExpectedTransactionControllerFindAllResponse, type ExpectedTransactionControllerFindOneData, type ExpectedTransactionControllerFindOneResponse, type ExpectedTransactionControllerFindOverdueData, type ExpectedTransactionControllerFindOverdueResponse, type ExpectedTransactionControllerSkipData, type ExpectedTransactionControllerSkipResponse, type ExpectedTransactionControllerUndoSkipData, type ExpectedTransactionControllerUndoSkipResponse, type ExpectedTransactionControllerUnmatchData, type ExpectedTransactionControllerUnmatchResponse, type ExpectedTransactionListResponseDto, type ExpectedTransactionResponseDto, type ExpectedTransactionRuleDto, type ExpensesByCategoryResponseDto, type ExpensesByCategorySummaryDto, type ExportControllerExportBeancountResponse, type ExportRulesResponseDto, type ExternalAccountLinkControllerCreateData, type ExternalAccountLinkControllerCreateResponse, type ExternalAccountLinkControllerFindAllData, type ExternalAccountLinkControllerFindAllResponse, type ExternalAccountLinkControllerFindOneData, type ExternalAccountLinkControllerFindOneResponse, type ExternalAccountLinkControllerRemoveData, type ExternalAccountLinkControllerRemoveResponse, type ExternalAccountLinkListResponseDto, type ExternalAccountLinkResponseDto, type FileImportControllerIdentifyFileData, type FileImportControllerIdentifyFileResponse, type FileImportControllerImportBeancountData, type FileImportControllerImportBeancountResponse, type FileImportControllerImportFileData, type FileImportControllerImportFileResponse, type FileImportDto, type ForecastControllerGetForecastData, type ForecastControllerGetForecastResponse, type ForecastItemDto, type ForecastResponseDto, type FxRateDto, type GenerateSnapshotBody, type GenerateSnapshotResponse, type HealthControllerCheckDatabaseResponse, type HealthControllerCheckOpenBbResponse, type HealthControllerCheckRedisResponse, type HealthControllerGetCircuitBreakersHealthResponse, type HealthControllerGetHealthResponse, type HealthControllerGetMetricsResponse, type HealthControllerResetCircuitBreakerData, type HealthControllerResetCircuitBreakerResponse, HealthService, type HoldingAssetClassAccountSliceDto, type HoldingAssetClassCrossAccountResponseDto, type HoldingPnlControllerGetHoldingPnlData, type HoldingPnlControllerGetHoldingPnlResponse, type HoldingPnlResponseDto, type HoldingPnlRowDto, type HoldingPnlWarningDto, type IdentifyResultDto, type ImportErrorDto, type ImportResultDto, type ImporterConfigControllerGetConfigData, type ImporterConfigControllerGetConfigResponse, type ImporterConfigControllerResetConfigData, type ImporterConfigControllerResetConfigResponse, type ImporterConfigControllerUpdateConfigData, type ImporterConfigControllerUpdateConfigResponse, type ImporterConfigDataDto, type ImporterConfigDto, type InfoControllerGetInfoResponse, type MapperDefaultsDto, type MonetaryDto, type MonthlyForecastDto, type MultiCurrencyBalanceResponseDto, type MultiCurrencyPointDto, type NetWorthByCurrencyDto, type NetWorthResponseDto, type NlpAccountConfirmationDataDto, type NlpAlternativePayeeDto, type NlpControllerClearSessionData, type NlpControllerClearSessionResponse, type NlpControllerGetSessionData, type NlpControllerGetSessionResponse, type NlpControllerProcessNaturalLanguageData, type NlpControllerProcessNaturalLanguageResponse, type NlpDefaultAccountsDto, type NlpDuplicateConfirmationDataDto, type NlpParsedDataDto, type NlpPayeeConfirmationDataDto, type NlpResponseDto, type NlpRuleConfirmationDataDto, type NlpSimilarityDto, type NlpSourceTransactionDto, type NlpSuggestedAccountDto, type NlpSuggestedAccountsDto, type NlpSuggestedPayeeDto, type NlpTargetTransactionDto, type NlpTransactionInfoDto, type OnboardingAccountDto, type OnboardingControllerBootstrapData, type OnboardingControllerBootstrapResponse, type OnboardingDto, OpenAPI, type OpenAPIConfig, type PadReconciliationDto, type PadResultDto, type ParserTelemetryReportDto, type PayeeAutocompleteResponseDto, type PayeeControllerAutocompleteData, type PayeeControllerAutocompleteResponse, type PayeeControllerCreateData, type PayeeControllerCreateResponse, type PayeeControllerDeleteData, type PayeeControllerDeleteResponse, type PayeeControllerFindAllData, type PayeeControllerFindAllResponse, type PayeeControllerFindOneData, type PayeeControllerFindOneResponse, type PayeeControllerGetTopPayeesData, type PayeeControllerGetTopPayeesResponse, type PayeeControllerUpdateData, type PayeeControllerUpdateResponse, type PayeeListResponseDto, type PayeeProfileAdminControllerCreateData, type PayeeProfileAdminControllerCreateResponse, type PayeeProfileAdminControllerDeleteData, type PayeeProfileAdminControllerDeleteResponse, type PayeeProfileAdminControllerFindAllData, type PayeeProfileAdminControllerFindAllResponse, type PayeeProfileAdminControllerFindOneData, type PayeeProfileAdminControllerFindOneResponse, type PayeeProfileAdminControllerUnverifyData, type PayeeProfileAdminControllerUnverifyResponse, type PayeeProfileAdminControllerUpdateData, type PayeeProfileAdminControllerUpdateResponse, type PayeeProfileAdminControllerVerifyData, type PayeeProfileAdminControllerVerifyResponse, type PayeeProfileListResponseDto, type PayeeProfileResponseDto, type PayeeResponseDto, type PayeeStatsResponseDto, type PlatformControllerCreateData, type PlatformControllerCreateResponse, type PlatformControllerDeleteData, type PlatformControllerDeleteResponse, type PlatformControllerFindAllResponse, type PlatformControllerGetPlatformListResponse, type PlatformControllerMatchPlatformsData, type PlatformControllerMatchPlatformsResponse, type PlatformControllerUpdateData, type PlatformControllerUpdateResponse, type PlatformGroupDto, type PortfolioTrendsResponseDto, type PostingDetailDto, type PostingResponseDto, type PriceControllerBulkCreateData, type PriceControllerBulkCreateResponse, type PriceControllerCreateData, type PriceControllerCreateResponse, type PriceControllerDeleteData, type PriceControllerDeleteResponse, type PriceControllerFindAllData, type PriceControllerFindAllResponse, type PriceControllerFindOneData, type PriceControllerFindOneResponse, type PriceControllerUpdateData, type PriceControllerUpdateResponse, type PriceListResponseDto, type PriceResponseDto, type ProcessNlpDto, type PropertyControllerDeleteData, type PropertyControllerDeleteResponse, type PropertyControllerGetAllResponse, type PropertyControllerGetByKeyData, type PropertyControllerGetByKeyResponse, type PropertyControllerUpdateData, type PropertyControllerUpdateResponse, type ProviderSyncConfigDto, type ProviderSyncControllerGetSupportedProvidersData, type ProviderSyncControllerGetSupportedProvidersResponse, type ProviderSyncControllerIsProviderSupportedData, type ProviderSyncControllerIsProviderSupportedResponse, type ProviderSyncControllerSyncData, type ProviderSyncControllerSyncResponse, type ProviderSyncDto, type ProviderSyncResponseDto, ProviderSyncService, type ReconciliationComputeResultDto, type ReconciliationControllerAssertData, type ReconciliationControllerAssertResponse, type ReconciliationControllerComputeData, type ReconciliationControllerComputeResponse, type ReconciliationControllerHistoryData, type ReconciliationControllerHistoryResponse, type ReconciliationControllerPadData, type ReconciliationControllerPadResponse, type ReconciliationRecordDto, type RecurringMatchInfoDto, type RecurringRuleControllerCreateData, type RecurringRuleControllerCreateFromTransactionData, type RecurringRuleControllerCreateFromTransactionResponse, type RecurringRuleControllerCreateResponse, type RecurringRuleControllerDeleteData, type RecurringRuleControllerDeleteResponse, type RecurringRuleControllerFindAllData, type RecurringRuleControllerFindAllResponse, type RecurringRuleControllerFindOneData, type RecurringRuleControllerFindOneResponse, type RecurringRuleControllerGetWithStatsData, type RecurringRuleControllerGetWithStatsResponse, type RecurringRuleControllerUpdateData, type RecurringRuleControllerUpdateResponse, type RecurringRuleResponseDto, type RecurringRuleWithStatsResponseDto, type RecurringSuggestionDto, type RegionConfigDto, type RegionInfoDto, type RegionsMetadataResponseDto, type ReopenAccountDto, type ReportingControllerBackfillSnapshotsData, type ReportingControllerBackfillSnapshotsResponse, type ReportingControllerGenerateSnapshotData, type ReportingControllerGenerateSnapshotResponse, type ReportingControllerGetCashFlowTrendsData, type ReportingControllerGetCashFlowTrendsResponse, type ReportingControllerGetPortfolioTrendsData, type ReportingControllerGetPortfolioTrendsResponse, type ResolveResultDto, type ResolveReviewDto, type ReviewControllerBatchResolveData, type ReviewControllerBatchResolveResponse, type ReviewControllerFindAllData, type ReviewControllerFindAllResponse, type ReviewControllerFindOneData, type ReviewControllerFindOneResponse, type ReviewControllerGetStatsData, type ReviewControllerGetStatsResponse, type ReviewControllerResolveData, type ReviewControllerResolveResponse, type ReviewControllerUndoData, type ReviewControllerUndoResponse, type ReviewDetailDto, type ReviewItemPreviewDto, type ReviewListResponseDto, type ReviewStatsDto, type ReviewSummaryDto, type RuleStatisticsResponseDto, type SignupDto, type SupportedProvidersResponseDto, type TagSuggestionDto, type TagSuggestionsResponseDto, type TelemetryControllerGetCoverageMetricsData, type TelemetryControllerGetCoverageMetricsResponse, type TelemetryControllerReportCoverageMissData, type TelemetryControllerReportCoverageMissResponse, type TelemetryControllerReportTelemetryData, type TelemetryControllerReportTelemetryResponse, type TemplateMetadataDto, type TemplateMetadataResponseDto, type TestRuleDto, type TestRuleResponseDto, type TimeSeriesPointDto, type TransactionControllerCorrectData, type TransactionControllerCorrectResponse, type TransactionControllerCreateBatchData, type TransactionControllerCreateBatchResponse, type TransactionControllerCreateData, type TransactionControllerCreateResponse, type TransactionControllerDeleteData, type TransactionControllerDeleteResponse, type TransactionControllerGetDetailData, type TransactionControllerGetDetailResponse, type TransactionControllerListData, type TransactionControllerListResponse, type TransactionControllerSuggestTagsData, type TransactionControllerSuggestTagsResponse, type TransactionControllerUpdateData, type TransactionControllerUpdateResponse, type TransactionDetailDto, type TransactionListResponseDto, type TransactionListSummaryDto, type TransactionResponseDto, type TransactionRuleControllerBulkCreateData, type TransactionRuleControllerBulkCreateResponse, type TransactionRuleControllerCreateData, type TransactionRuleControllerCreateResponse, type TransactionRuleControllerDeleteData, type TransactionRuleControllerDeleteResponse, type TransactionRuleControllerExportData, type TransactionRuleControllerExportResponse, type TransactionRuleControllerGetDetailData, type TransactionRuleControllerGetDetailResponse, type TransactionRuleControllerGetStatisticsData, type TransactionRuleControllerGetStatisticsResponse, type TransactionRuleControllerListData, type TransactionRuleControllerListResponse, type TransactionRuleControllerTestData, type TransactionRuleControllerTestResponse, type TransactionRuleControllerUpdateData, type TransactionRuleControllerUpdateResponse, type TransactionRuleControllerValidateData, type TransactionRuleControllerValidateResponse, type TransactionRuleListResponseDto, type TransactionRuleResponseDto, type TransactionSummaryDto, type TrendSummaryDto, type UncoveredFormatMissDto, type UndoResultDto, type UpdateAccountDto, type UpdateBeanEventDto, type UpdateBeanPriceDto, type UpdateCommodityDto, type UpdateConfigDataDto, type UpdateImporterConfigDto, type UpdateMapperDefaultsDto, type UpdatePayeeDto, type UpdatePayeeProfileDto, type UpdatePlatformDto, type UpdatePropertyDto, type UpdateRecurringRuleDto, type UpdateTransactionDto, type UpdateTransactionRuleDto, type UpdateUserSettingDto, type UserControllerDeleteOwnUserData, type UserControllerDeleteOwnUserResponse, type UserControllerDeleteUserData, type UserControllerDeleteUserResponse, type UserControllerGetAllUserSettingsByPageData, type UserControllerGetAllUserSettingsByPageResponse, type UserControllerGetAssetLiabilitySummaryResponse, type UserControllerGetUserData, type UserControllerGetUserInfoData, type UserControllerGetUserInfoResponse, type UserControllerGetUserResponse, type UserControllerSignupUserData, type UserControllerSignupUserResponse, type UserControllerUpdateUserSettingData, type UserControllerUpdateUserSettingResponse, type ValidateRuleDto, type ValidateRuleResponseDto, type VersionedConfigDto, type action, type action2, type assetClass, type assetSubType, type bookingMethod, type branchType, type category, type chartToken, type colorScheme, type confidenceLevel, type conflictStrategy, type dataSource, type equitySubType, type flag, type flag2, type frequency, type importerId, type intent, type investmentAction, type learningSource, type liabilitySubType, type matchLogic, type method, type mode, type paymentSource, type period, type provider, type source, type source2, type source3, type status, type status2, type status3, type status4, type suggestedAction, type suggestedFrequency, type type, type type2, type type3, type type4, type value, type viewMode };