@firela/api-types 0.0.0-canary.20a48f30 → 0.0.0-canary.294433f8

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
@@ -2375,6 +2375,298 @@ type ForecastResponseDto = {
2375
2375
  */
2376
2376
  periodEnd: string;
2377
2377
  };
2378
+ type CurrencyBalanceDto = {
2379
+ /**
2380
+ * ISO 4217 currency code
2381
+ */
2382
+ currency: string;
2383
+ /**
2384
+ * Balance amount
2385
+ */
2386
+ balance: string;
2387
+ };
2388
+ type TimeSeriesPointDto = {
2389
+ /**
2390
+ * Date in YYYY-MM-DD format
2391
+ */
2392
+ date: string;
2393
+ /**
2394
+ * Value at this date (in base currency)
2395
+ */
2396
+ value: string;
2397
+ /**
2398
+ * Change from previous point
2399
+ */
2400
+ change?: {
2401
+ [key: string]: unknown;
2402
+ };
2403
+ /**
2404
+ * Total assets at this date (in base currency)
2405
+ */
2406
+ assets?: string;
2407
+ /**
2408
+ * Total liabilities at this date (in base currency)
2409
+ */
2410
+ liabilities?: string;
2411
+ /**
2412
+ * Multi-currency breakdown for this point
2413
+ */
2414
+ byCurrency?: Array<CurrencyBalanceDto>;
2415
+ };
2416
+ type TrendSummaryDto = {
2417
+ /**
2418
+ * Value at start of period
2419
+ */
2420
+ startValue: string;
2421
+ /**
2422
+ * Value at end of period
2423
+ */
2424
+ endValue: string;
2425
+ /**
2426
+ * Total change over period
2427
+ */
2428
+ totalChange: string;
2429
+ /**
2430
+ * Total change percentage
2431
+ */
2432
+ totalChangePercentage: string;
2433
+ };
2434
+ type MultiCurrencyPointDto = {
2435
+ /**
2436
+ * Date in YYYY-MM-DD format
2437
+ */
2438
+ date: string;
2439
+ /**
2440
+ * Balances by currency
2441
+ */
2442
+ byCurrency: Array<CurrencyBalanceDto>;
2443
+ };
2444
+ type PortfolioTrendsResponseDto = {
2445
+ /**
2446
+ * Time series data points
2447
+ */
2448
+ series: Array<TimeSeriesPointDto>;
2449
+ /**
2450
+ * Period summary
2451
+ */
2452
+ summary: TrendSummaryDto;
2453
+ /**
2454
+ * Period requested
2455
+ */
2456
+ period: string;
2457
+ /**
2458
+ * Data granularity
2459
+ */
2460
+ granularity: string;
2461
+ /**
2462
+ * Base currency for converted values
2463
+ */
2464
+ currency: string;
2465
+ /**
2466
+ * Multi-currency time series (each point has currency breakdown)
2467
+ */
2468
+ byCurrency?: Array<MultiCurrencyPointDto>;
2469
+ /**
2470
+ * Exchange rate warnings
2471
+ */
2472
+ warnings?: Array<ExchangeRateWarningDto>;
2473
+ };
2474
+ type CashFlowPointDto = {
2475
+ /**
2476
+ * Month key (YYYY-MM)
2477
+ */
2478
+ month: string;
2479
+ /**
2480
+ * Income in base currency (absolute, converted)
2481
+ */
2482
+ income: string;
2483
+ /**
2484
+ * Expense in base currency (absolute, converted)
2485
+ */
2486
+ expense: string;
2487
+ /**
2488
+ * netSavings = income − expense (savings positive)
2489
+ */
2490
+ netSavings: string;
2491
+ };
2492
+ type CashFlowTrendSummaryDto = {
2493
+ /**
2494
+ * Total income across the period
2495
+ */
2496
+ totalIncome: string;
2497
+ /**
2498
+ * Total expense across the period
2499
+ */
2500
+ totalExpense: string;
2501
+ /**
2502
+ * income − expense across the period
2503
+ */
2504
+ totalNetSavings: string;
2505
+ /**
2506
+ * totalNetSavings divided by the window length (N months, incl. zero-filled)
2507
+ */
2508
+ averageMonthlyNetSavings: string;
2509
+ };
2510
+ type CashFlowTrendsResponseDto = {
2511
+ /**
2512
+ * Monthly cash-flow series (fixed N-month window, zero-filled)
2513
+ */
2514
+ series: Array<CashFlowPointDto>;
2515
+ /**
2516
+ * Period totals
2517
+ */
2518
+ summary: CashFlowTrendSummaryDto;
2519
+ /**
2520
+ * Period requested
2521
+ */
2522
+ period: string;
2523
+ /**
2524
+ * Data granularity (v1 returns month buckets)
2525
+ */
2526
+ granularity: string;
2527
+ /**
2528
+ * Base currency for converted values
2529
+ */
2530
+ currency: string;
2531
+ /**
2532
+ * Exchange rate warnings (e.g. missing rate for a currency)
2533
+ */
2534
+ warnings?: Array<ExchangeRateWarningDto>;
2535
+ };
2536
+ type GenerateSnapshotBody = unknown;
2537
+ type GenerateSnapshotResponse = unknown;
2538
+ type BackfillSnapshotsBody = unknown;
2539
+ type BackfillSnapshotsResponse = unknown;
2540
+ type DeleteOwnUserDto = {
2541
+ /**
2542
+ * Access token for user verification
2543
+ */
2544
+ accessToken: string;
2545
+ };
2546
+ type SignupDto = {
2547
+ /**
2548
+ * Cloudflare Turnstile verification token (optional when Turnstile disabled)
2549
+ */
2550
+ turnstileToken?: string;
2551
+ };
2552
+ type SignupResponseDto = {
2553
+ /**
2554
+ * JWT auth token
2555
+ */
2556
+ authToken: string;
2557
+ /**
2558
+ * Auto-generated access token
2559
+ */
2560
+ accessToken: string;
2561
+ /**
2562
+ * Assigned user role
2563
+ */
2564
+ role: 'USER' | 'ADMIN' | 'DEMO' | 'INACTIVE' | 'PAID' | 'OPS';
2565
+ };
2566
+ /**
2567
+ * Assigned user role
2568
+ */
2569
+ type role = 'USER' | 'ADMIN' | 'DEMO' | 'INACTIVE' | 'PAID' | 'OPS';
2570
+ type UpdateUserSettingDto = {
2571
+ /**
2572
+ * Security ID
2573
+ */
2574
+ secId?: number;
2575
+ /**
2576
+ * Annual interest rate
2577
+ */
2578
+ annualInterestRate?: number;
2579
+ /**
2580
+ * Currency code
2581
+ */
2582
+ currency?: string;
2583
+ /**
2584
+ * Base currency code
2585
+ */
2586
+ baseCurrency?: string;
2587
+ /**
2588
+ * Benchmark symbol
2589
+ */
2590
+ benchmark?: string;
2591
+ /**
2592
+ * Color scheme
2593
+ */
2594
+ colorScheme?: 'DARK' | 'LIGHT';
2595
+ /**
2596
+ * Date range filter
2597
+ */
2598
+ dateRange?: string;
2599
+ /**
2600
+ * Emergency fund amount
2601
+ */
2602
+ emergencyFund?: number;
2603
+ /**
2604
+ * Account filter IDs
2605
+ */
2606
+ 'filters.accounts'?: Array<string>;
2607
+ /**
2608
+ * Asset class filters
2609
+ */
2610
+ 'filters.assetClasses'?: Array<string>;
2611
+ /**
2612
+ * Data source filter
2613
+ */
2614
+ 'filters.dataSource'?: string;
2615
+ /**
2616
+ * Symbol filter
2617
+ */
2618
+ 'filters.symbol'?: string;
2619
+ /**
2620
+ * Tag filters
2621
+ */
2622
+ 'filters.tags'?: Array<string>;
2623
+ /**
2624
+ * Enable experimental features
2625
+ */
2626
+ isExperimentalFeatures?: boolean;
2627
+ /**
2628
+ * Enable restricted view mode
2629
+ */
2630
+ isRestrictedView?: boolean;
2631
+ /**
2632
+ * Language code
2633
+ */
2634
+ language?: string;
2635
+ /**
2636
+ * Locale code
2637
+ */
2638
+ locale?: string;
2639
+ /**
2640
+ * Projected total amount
2641
+ */
2642
+ projectedTotalAmount?: number;
2643
+ /**
2644
+ * Retirement date in ISO 8601 format
2645
+ */
2646
+ retirementDate?: string;
2647
+ /**
2648
+ * Savings rate percentage
2649
+ */
2650
+ savingsRate?: number;
2651
+ /**
2652
+ * View mode
2653
+ */
2654
+ viewMode?: 'DEFAULT' | 'ZEN';
2655
+ };
2656
+ /**
2657
+ * Color scheme
2658
+ */
2659
+ type colorScheme = 'DARK' | 'LIGHT';
2660
+ /**
2661
+ * View mode
2662
+ */
2663
+ type viewMode = 'DEFAULT' | 'ZEN';
2664
+ type UpdatePropertyDto = {
2665
+ /**
2666
+ * Property value
2667
+ */
2668
+ value: string;
2669
+ };
2378
2670
  type CreateTransactionRuleDto = {
2379
2671
  name: string;
2380
2672
  description?: string;
@@ -2713,118 +3005,6 @@ type TestRuleResponseDto = {
2713
3005
  [key: string]: unknown;
2714
3006
  };
2715
3007
  };
2716
- type DeleteOwnUserDto = {
2717
- /**
2718
- * Access token for user verification
2719
- */
2720
- accessToken: string;
2721
- };
2722
- type SignupDto = {
2723
- /**
2724
- * Cloudflare Turnstile verification token (optional when Turnstile disabled)
2725
- */
2726
- turnstileToken?: string;
2727
- };
2728
- type UpdateUserSettingDto = {
2729
- /**
2730
- * Security ID
2731
- */
2732
- secId?: number;
2733
- /**
2734
- * Annual interest rate
2735
- */
2736
- annualInterestRate?: number;
2737
- /**
2738
- * Currency code
2739
- */
2740
- currency?: string;
2741
- /**
2742
- * Base currency code
2743
- */
2744
- baseCurrency?: string;
2745
- /**
2746
- * Benchmark symbol
2747
- */
2748
- benchmark?: string;
2749
- /**
2750
- * Color scheme
2751
- */
2752
- colorScheme?: 'DARK' | 'LIGHT';
2753
- /**
2754
- * Date range filter
2755
- */
2756
- dateRange?: string;
2757
- /**
2758
- * Emergency fund amount
2759
- */
2760
- emergencyFund?: number;
2761
- /**
2762
- * Account filter IDs
2763
- */
2764
- 'filters.accounts'?: Array<string>;
2765
- /**
2766
- * Asset class filters
2767
- */
2768
- 'filters.assetClasses'?: Array<string>;
2769
- /**
2770
- * Data source filter
2771
- */
2772
- 'filters.dataSource'?: string;
2773
- /**
2774
- * Symbol filter
2775
- */
2776
- 'filters.symbol'?: string;
2777
- /**
2778
- * Tag filters
2779
- */
2780
- 'filters.tags'?: Array<string>;
2781
- /**
2782
- * Enable experimental features
2783
- */
2784
- isExperimentalFeatures?: boolean;
2785
- /**
2786
- * Enable restricted view mode
2787
- */
2788
- isRestrictedView?: boolean;
2789
- /**
2790
- * Language code
2791
- */
2792
- language?: string;
2793
- /**
2794
- * Locale code
2795
- */
2796
- locale?: string;
2797
- /**
2798
- * Projected total amount
2799
- */
2800
- projectedTotalAmount?: number;
2801
- /**
2802
- * Retirement date in ISO 8601 format
2803
- */
2804
- retirementDate?: string;
2805
- /**
2806
- * Savings rate percentage
2807
- */
2808
- savingsRate?: number;
2809
- /**
2810
- * View mode
2811
- */
2812
- viewMode?: 'DEFAULT' | 'ZEN';
2813
- };
2814
- /**
2815
- * Color scheme
2816
- */
2817
- type colorScheme = 'DARK' | 'LIGHT';
2818
- /**
2819
- * View mode
2820
- */
2821
- type viewMode = 'DEFAULT' | 'ZEN';
2822
- type UpdatePropertyDto = {
2823
- /**
2824
- * Property value
2825
- */
2826
- value: string;
2827
- };
2828
3008
  type CreateBeanEventDto = {
2829
3009
  /**
2830
3010
  * Life event date (ISO 8601)
@@ -3885,66 +4065,160 @@ type NlpResponseDto = {
3885
4065
  */
3886
4066
  duplicateData?: NlpDuplicateConfirmationDataDto;
3887
4067
  /**
3888
- * Rule match data (when action is "confirm_rule"). Contains information about medium-confidence rule match for user confirmation.
4068
+ * Rule match data (when action is "confirm_rule"). Contains information about medium-confidence rule match for user confirmation.
4069
+ */
4070
+ ruleData?: NlpRuleConfirmationDataDto;
4071
+ /**
4072
+ * Account validation data (when action is "confirm_account"). Contains information about invalid account for user correction.
4073
+ */
4074
+ accountData?: NlpAccountConfirmationDataDto;
4075
+ /**
4076
+ * Payee confirmation data (when action is "confirm_payee"). Contains information about medium/low confidence payee match for user confirmation.
4077
+ */
4078
+ payeeData?: NlpPayeeConfirmationDataDto;
4079
+ /**
4080
+ * Overall confidence score (0-1)
4081
+ */
4082
+ confidence?: number;
4083
+ /**
4084
+ * Confidence threshold for automatic creation (default: 0.75). When confidence < threshold, action will be "confirm" requiring user verification.
4085
+ */
4086
+ confidenceThreshold?: number;
4087
+ /**
4088
+ * Recurring transaction match info (when action is "created"). Contains match details when transaction matches a pending expected transaction.
4089
+ */
4090
+ recurringMatch?: RecurringMatchInfoDto;
4091
+ /**
4092
+ * 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.
4093
+ */
4094
+ recurringSuggestion?: RecurringSuggestionDto;
4095
+ /**
4096
+ * Suggested accounts for this transaction. Contains recommended source and destination accounts based on the detected intent and rules.
4097
+ */
4098
+ suggestedAccounts?: NlpSuggestedAccountsDto;
4099
+ /**
4100
+ * Default accounts for the user/region. These are fallback accounts used when no specific suggestion is available.
4101
+ */
4102
+ defaultAccounts?: NlpDefaultAccountsDto;
4103
+ };
4104
+ /**
4105
+ * Response status
4106
+ */
4107
+ type status4 = 'success' | 'pending' | 'error';
4108
+ /**
4109
+ * Action taken or requested
4110
+ */
4111
+ type action2 = 'created' | 'ask' | 'confirm' | 'confirm_duplicate' | 'confirm_rule' | 'confirm_account' | 'confirm_payee' | 'cancel';
4112
+ /**
4113
+ * Transaction intent detected by EntityRouter (v6.0: 5 core intents). Frontend uses this to render scenario-specific form fields.
4114
+ */
4115
+ type intent = 'expense' | 'asset' | 'income' | 'liability' | 'equity';
4116
+ /**
4117
+ * Asset sub-type (only present when intent is "asset"). Determines which asset-related form to render.
4118
+ */
4119
+ type assetSubType = 'transfer' | 'banking' | 'investment';
4120
+ /**
4121
+ * Liability sub-type (only present when intent is "liability"). borrow: borrowing money (Liabilities → Assets), repay: repaying debt (Assets → Liabilities).
4122
+ */
4123
+ type liabilitySubType = 'borrow' | 'repay';
4124
+ /**
4125
+ * Equity sub-type (only present when intent is "equity"). opening: account opening balance (Equity → Assets), adjustment: balance correction.
4126
+ */
4127
+ type equitySubType = 'opening' | 'adjustment';
4128
+ type PlatformListItemDto = {
4129
+ /**
4130
+ * Global platform ID
4131
+ */
4132
+ id: string;
4133
+ /**
4134
+ * Platform name
4135
+ */
4136
+ name: string;
4137
+ /**
4138
+ * Platform URL
4139
+ */
4140
+ url: string;
4141
+ /**
4142
+ * Platform type
4143
+ */
4144
+ type: 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
4145
+ /**
4146
+ * Canonical identifier in ACCOUNT_RE format (e.g., "icbc")
4147
+ */
4148
+ canonical: string;
4149
+ /**
4150
+ * Suggested path segment — canonical with first char uppercased (ACC_COMP_NAME_RE)
4151
+ */
4152
+ suggestedSegment: string;
4153
+ /**
4154
+ * Logo URL
4155
+ */
4156
+ logoUrl: string | null;
4157
+ /**
4158
+ * Whether user has accounts using this platform
4159
+ */
4160
+ isBound: boolean;
4161
+ };
4162
+ /**
4163
+ * Platform type
4164
+ */
4165
+ type type3 = 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
4166
+ type PlatformMatchResultDto = {
4167
+ /**
4168
+ * Global platform ID
4169
+ */
4170
+ id: string;
4171
+ /**
4172
+ * Platform name (e.g., "ICBC")
4173
+ */
4174
+ name: string;
4175
+ /**
4176
+ * Canonical identifier in ACCOUNT_RE format (e.g., "icbc")
3889
4177
  */
3890
- ruleData?: NlpRuleConfirmationDataDto;
4178
+ canonical: string;
3891
4179
  /**
3892
- * Account validation data (when action is "confirm_account"). Contains information about invalid account for user correction.
4180
+ * Platform type
3893
4181
  */
3894
- accountData?: NlpAccountConfirmationDataDto;
4182
+ type: 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
3895
4183
  /**
3896
- * Payee confirmation data (when action is "confirm_payee"). Contains information about medium/low confidence payee match for user confirmation.
4184
+ * Suggested path segment — canonical, already in ACCOUNT_RE format
3897
4185
  */
3898
- payeeData?: NlpPayeeConfirmationDataDto;
4186
+ suggestedSegment: string;
3899
4187
  /**
3900
- * Overall confidence score (0-1)
4188
+ * Logo URL
3901
4189
  */
3902
- confidence?: number;
4190
+ logoUrl: string | null;
3903
4191
  /**
3904
- * Confidence threshold for automatic creation (default: 0.75). When confidence < threshold, action will be "confirm" requiring user verification.
4192
+ * How this row matched: 'exact' > 'prefix' > 'substring'
3905
4193
  */
3906
- confidenceThreshold?: number;
4194
+ matchType: 'exact' | 'prefix' | 'substring';
4195
+ };
4196
+ /**
4197
+ * How this row matched: 'exact' > 'prefix' > 'substring'
4198
+ */
4199
+ type matchType = 'exact' | 'prefix' | 'substring';
4200
+ type PlatformMatchResponseDto = {
3907
4201
  /**
3908
- * Recurring transaction match info (when action is "created"). Contains match details when transaction matches a pending expected transaction.
4202
+ * Ranked matches, best tier first (at most 10 rows)
3909
4203
  */
3910
- recurringMatch?: RecurringMatchInfoDto;
4204
+ platforms: Array<PlatformMatchResultDto>;
3911
4205
  /**
3912
- * 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.
4206
+ * Overall match quality — top row's tier, or 'none' when no hits
3913
4207
  */
3914
- recurringSuggestion?: RecurringSuggestionDto;
4208
+ matchType: 'none' | 'exact' | 'prefix' | 'substring';
3915
4209
  /**
3916
- * Suggested accounts for this transaction. Contains recommended source and destination accounts based on the detected intent and rules.
4210
+ * Total matches before LIMIT (truncation transparency)
3917
4211
  */
3918
- suggestedAccounts?: NlpSuggestedAccountsDto;
4212
+ total: number;
3919
4213
  /**
3920
- * Default accounts for the user/region. These are fallback accounts used when no specific suggestion is available.
4214
+ * true when total > platforms.length (more matches exist)
3921
4215
  */
3922
- defaultAccounts?: NlpDefaultAccountsDto;
4216
+ hasMore: boolean;
3923
4217
  };
3924
4218
  /**
3925
- * Response status
3926
- */
3927
- type status4 = 'success' | 'pending' | 'error';
3928
- /**
3929
- * Action taken or requested
3930
- */
3931
- type action2 = 'created' | 'ask' | 'confirm' | 'confirm_duplicate' | 'confirm_rule' | 'confirm_account' | 'confirm_payee' | 'cancel';
3932
- /**
3933
- * Transaction intent detected by EntityRouter (v6.0: 5 core intents). Frontend uses this to render scenario-specific form fields.
3934
- */
3935
- type intent = 'expense' | 'asset' | 'income' | 'liability' | 'equity';
3936
- /**
3937
- * Asset sub-type (only present when intent is "asset"). Determines which asset-related form to render.
3938
- */
3939
- type assetSubType = 'transfer' | 'banking' | 'investment';
3940
- /**
3941
- * Liability sub-type (only present when intent is "liability"). borrow: borrowing money (Liabilities → Assets), repay: repaying debt (Assets → Liabilities).
3942
- */
3943
- type liabilitySubType = 'borrow' | 'repay';
3944
- /**
3945
- * Equity sub-type (only present when intent is "equity"). opening: account opening balance (Equity → Assets), adjustment: balance correction.
4219
+ * Overall match quality — top row's tier, or 'none' when no hits
3946
4220
  */
3947
- type equitySubType = 'opening' | 'adjustment';
4221
+ type matchType2 = 'none' | 'exact' | 'prefix' | 'substring';
3948
4222
  type CreatePlatformDto = {
3949
4223
  /**
3950
4224
  * Platform name
@@ -3975,10 +4249,6 @@ type CreatePlatformDto = {
3975
4249
  */
3976
4250
  isActive?: boolean;
3977
4251
  };
3978
- /**
3979
- * Platform type
3980
- */
3981
- type type3 = 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
3982
4252
  type UpdatePlatformDto = {
3983
4253
  /**
3984
4254
  * Platform name
@@ -4514,310 +4784,154 @@ type CurrentPriceDto = {
4514
4784
  source: 'USER_OVERRIDE' | 'OPENBB_EQUITY' | 'OPENBB_CURRENCY';
4515
4785
  };
4516
4786
  /**
4517
- * Price source
4518
- */
4519
- type source3 = 'USER_OVERRIDE' | 'OPENBB_EQUITY' | 'OPENBB_CURRENCY';
4520
- type FxRateDto = {
4521
- from: string;
4522
- to: string;
4523
- /**
4524
- * FX rate (Decimal string)
4525
- */
4526
- rate: string;
4527
- /**
4528
- * Rate date (ISO 8601)
4529
- */
4530
- date: string;
4531
- };
4532
- type HoldingPnlRowDto = {
4533
- /**
4534
- * Account UUID
4535
- */
4536
- accountId: string;
4537
- /**
4538
- * Full account path
4539
- */
4540
- accountPath: string;
4541
- /**
4542
- * Account settlement currency (ISO 4217), from cost currency
4543
- */
4544
- accountCcy?: {
4545
- [key: string]: unknown;
4546
- } | null;
4547
- /**
4548
- * Broker type derived from Platform.type
4549
- */
4550
- brokerType?: {
4551
- [key: string]: unknown;
4552
- } | null;
4553
- /**
4554
- * Commodity symbol
4555
- */
4556
- symbol: string;
4557
- /**
4558
- * Chart segment token (libs/common resolver)
4559
- */
4560
- chartToken: 'equity' | 'fund' | 'bond' | 'cash' | 'other';
4561
- assetClass: string;
4562
- assetSubClass?: {
4563
- [key: string]: unknown;
4564
- } | null;
4565
- /**
4566
- * Net held units (Decimal string)
4567
- */
4568
- units: string;
4569
- /**
4570
- * Average cost per unit; null when cost currency conflicts or no cost
4571
- */
4572
- averageCostPerUnit?: MonetaryDto | null;
4573
- /**
4574
- * Cost basis of held units
4575
- */
4576
- costBasis?: MonetaryDto | null;
4577
- /**
4578
- * Market value at asOf price
4579
- */
4580
- marketValue?: MonetaryDto | null;
4581
- /**
4582
- * Price used for market value
4583
- */
4584
- currentPrice?: CurrentPriceDto | null;
4585
- /**
4586
- * Unrealized P&L in base currency (Decimal string); null when any FX/price missing
4587
- */
4588
- unrealizedPnlBase?: {
4589
- [key: string]: unknown;
4590
- } | null;
4591
- /**
4592
- * Unrealized P&L % (Decimal string)
4593
- */
4594
- unrealizedPnlPct?: {
4595
- [key: string]: unknown;
4596
- } | null;
4597
- /**
4598
- * Historical FX rate applied to cost basis
4599
- */
4600
- costFxRate?: FxRateDto | null;
4601
- /**
4602
- * FX rate applied to market value
4603
- */
4604
- marketFxRate?: FxRateDto | null;
4605
- /**
4606
- * Share of invested assets % (Decimal string); only for invested chartTokens
4607
- */
4608
- pctOfInvestedAssets?: {
4609
- [key: string]: unknown;
4610
- } | null;
4611
- /**
4612
- * Cumulative realized P&L on sold lots (asOf-date cutoff); null when the method has no applicable sells, a sell lacks a price, or any required FX rate is missing (never-mix). When a sell spans multiple currencies (cross-currency sale), amount and currency reflect the base currency; baseCcyEquivalent is always the authoritative dual-FX figure
4613
- */
4614
- realizedPnl?: MonetaryDto | null;
4615
- };
4616
- /**
4617
- * Chart segment token (libs/common resolver)
4618
- */
4619
- type chartToken = 'equity' | 'fund' | 'bond' | 'cash' | 'other';
4620
- type HoldingPnlWarningDto = {
4621
- /**
4622
- * Warning type
4623
- */
4624
- type: 'MISSING_COST_FX_RATE' | 'MISSING_MARKET_FX_RATE' | 'MISSING_SALE_PRICE' | 'MISSING_REALIZED_FX_RATE' | 'OVERSOLD_LOTS' | 'NO_PRICE' | 'MIXED_COST_CURRENCY';
4625
- symbol?: {
4626
- [key: string]: unknown;
4627
- } | null;
4628
- accountId?: {
4629
- [key: string]: unknown;
4630
- } | null;
4631
- currency?: {
4632
- [key: string]: unknown;
4633
- } | null;
4634
- };
4635
- /**
4636
- * Warning type
4637
- */
4638
- type type4 = 'MISSING_COST_FX_RATE' | 'MISSING_MARKET_FX_RATE' | 'MISSING_SALE_PRICE' | 'MISSING_REALIZED_FX_RATE' | 'OVERSOLD_LOTS' | 'NO_PRICE' | 'MIXED_COST_CURRENCY';
4639
- type HoldingPnlResponseDto = {
4640
- asOfDate: string;
4641
- baseCurrency: string;
4642
- /**
4643
- * Realized-P&L lot-matching method (FIFO or average). Unrealized cost basis remains average regardless of this value (#473).
4644
- */
4645
- method: 'average' | 'FIFO';
4646
- rows: Array<HoldingPnlRowDto>;
4647
- warnings: Array<HoldingPnlWarningDto>;
4648
- };
4649
- /**
4650
- * Realized-P&L lot-matching method (FIFO or average). Unrealized cost basis remains average regardless of this value (#473).
4651
- */
4652
- type method = 'average' | 'FIFO';
4653
- type CurrencyBalanceDto = {
4654
- /**
4655
- * ISO 4217 currency code
4656
- */
4657
- currency: string;
4658
- /**
4659
- * Balance amount
4660
- */
4661
- balance: string;
4662
- };
4663
- type TimeSeriesPointDto = {
4664
- /**
4665
- * Date in YYYY-MM-DD format
4666
- */
4667
- date: string;
4668
- /**
4669
- * Value at this date (in base currency)
4670
- */
4671
- value: string;
4672
- /**
4673
- * Change from previous point
4674
- */
4675
- change?: {
4676
- [key: string]: unknown;
4677
- };
4678
- /**
4679
- * Total assets at this date (in base currency)
4680
- */
4681
- assets?: string;
4682
- /**
4683
- * Total liabilities at this date (in base currency)
4684
- */
4685
- liabilities?: string;
4686
- /**
4687
- * Multi-currency breakdown for this point
4688
- */
4689
- byCurrency?: Array<CurrencyBalanceDto>;
4690
- };
4691
- type TrendSummaryDto = {
4692
- /**
4693
- * Value at start of period
4694
- */
4695
- startValue: string;
4696
- /**
4697
- * Value at end of period
4698
- */
4699
- endValue: string;
4700
- /**
4701
- * Total change over period
4702
- */
4703
- totalChange: string;
4704
- /**
4705
- * Total change percentage
4706
- */
4707
- totalChangePercentage: string;
4708
- };
4709
- type MultiCurrencyPointDto = {
4710
- /**
4711
- * Date in YYYY-MM-DD format
4712
- */
4713
- date: string;
4714
- /**
4715
- * Balances by currency
4716
- */
4717
- byCurrency: Array<CurrencyBalanceDto>;
4718
- };
4719
- type PortfolioTrendsResponseDto = {
4787
+ * Price source
4788
+ */
4789
+ type source3 = 'USER_OVERRIDE' | 'OPENBB_EQUITY' | 'OPENBB_CURRENCY';
4790
+ type FxRateDto = {
4791
+ from: string;
4792
+ to: string;
4720
4793
  /**
4721
- * Time series data points
4794
+ * FX rate (Decimal string)
4722
4795
  */
4723
- series: Array<TimeSeriesPointDto>;
4796
+ rate: string;
4724
4797
  /**
4725
- * Period summary
4798
+ * Rate date (ISO 8601)
4726
4799
  */
4727
- summary: TrendSummaryDto;
4800
+ date: string;
4801
+ };
4802
+ type HoldingPnlRowDto = {
4728
4803
  /**
4729
- * Period requested
4804
+ * Account UUID
4730
4805
  */
4731
- period: string;
4806
+ accountId: string;
4732
4807
  /**
4733
- * Data granularity
4808
+ * Full account path
4734
4809
  */
4735
- granularity: string;
4810
+ accountPath: string;
4736
4811
  /**
4737
- * Base currency for converted values
4812
+ * Account settlement currency (ISO 4217), from cost currency
4738
4813
  */
4739
- currency: string;
4814
+ accountCcy?: {
4815
+ [key: string]: unknown;
4816
+ } | null;
4740
4817
  /**
4741
- * Multi-currency time series (each point has currency breakdown)
4818
+ * Broker type derived from Platform.type
4742
4819
  */
4743
- byCurrency?: Array<MultiCurrencyPointDto>;
4820
+ brokerType?: {
4821
+ [key: string]: unknown;
4822
+ } | null;
4744
4823
  /**
4745
- * Exchange rate warnings
4824
+ * Commodity symbol
4746
4825
  */
4747
- warnings?: Array<ExchangeRateWarningDto>;
4748
- };
4749
- type CashFlowPointDto = {
4826
+ symbol: string;
4750
4827
  /**
4751
- * Month key (YYYY-MM)
4828
+ * Chart segment token (libs/common resolver)
4752
4829
  */
4753
- month: string;
4830
+ chartToken: 'equity' | 'fund' | 'bond' | 'cash' | 'other';
4831
+ assetClass: string;
4832
+ assetSubClass?: {
4833
+ [key: string]: unknown;
4834
+ } | null;
4754
4835
  /**
4755
- * Income in base currency (absolute, converted)
4836
+ * Net held units (Decimal string)
4756
4837
  */
4757
- income: string;
4838
+ units: string;
4758
4839
  /**
4759
- * Expense in base currency (absolute, converted)
4840
+ * Average cost per unit; null when cost currency conflicts or no cost
4760
4841
  */
4761
- expense: string;
4842
+ averageCostPerUnit?: MonetaryDto | null;
4762
4843
  /**
4763
- * netSavings = income − expense (savings positive)
4844
+ * Cost basis of held units
4764
4845
  */
4765
- netSavings: string;
4766
- };
4767
- type CashFlowTrendSummaryDto = {
4846
+ costBasis?: MonetaryDto | null;
4768
4847
  /**
4769
- * Total income across the period
4848
+ * Market value at asOf price
4770
4849
  */
4771
- totalIncome: string;
4850
+ marketValue?: MonetaryDto | null;
4772
4851
  /**
4773
- * Total expense across the period
4852
+ * Price used for market value
4774
4853
  */
4775
- totalExpense: string;
4854
+ currentPrice?: CurrentPriceDto | null;
4776
4855
  /**
4777
- * income − expense across the period
4856
+ * Unrealized P&L in base currency (Decimal string); null when any FX/price missing
4778
4857
  */
4779
- totalNetSavings: string;
4858
+ unrealizedPnlBase?: {
4859
+ [key: string]: unknown;
4860
+ } | null;
4780
4861
  /**
4781
- * totalNetSavings divided by the window length (N months, incl. zero-filled)
4862
+ * Unrealized P&L % (Decimal string)
4782
4863
  */
4783
- averageMonthlyNetSavings: string;
4784
- };
4785
- type CashFlowTrendsResponseDto = {
4864
+ unrealizedPnlPct?: {
4865
+ [key: string]: unknown;
4866
+ } | null;
4786
4867
  /**
4787
- * Monthly cash-flow series (fixed N-month window, zero-filled)
4868
+ * Historical FX rate applied to cost basis
4788
4869
  */
4789
- series: Array<CashFlowPointDto>;
4870
+ costFxRate?: FxRateDto | null;
4790
4871
  /**
4791
- * Period totals
4872
+ * FX rate applied to market value
4792
4873
  */
4793
- summary: CashFlowTrendSummaryDto;
4874
+ marketFxRate?: FxRateDto | null;
4794
4875
  /**
4795
- * Period requested
4876
+ * Share of invested assets % (Decimal string); only for invested chartTokens
4796
4877
  */
4797
- period: string;
4878
+ pctOfInvestedAssets?: {
4879
+ [key: string]: unknown;
4880
+ } | null;
4798
4881
  /**
4799
- * Data granularity (v1 returns month buckets)
4882
+ * Cumulative realized P&L on sold lots (asOf-date cutoff); null when the method has no applicable sells, a sell lacks a price, or any required FX rate is missing (never-mix). When a sell spans multiple currencies (cross-currency sale), amount and currency reflect the base currency; baseCcyEquivalent is always the authoritative dual-FX figure
4800
4883
  */
4801
- granularity: string;
4884
+ realizedPnl?: MonetaryDto | null;
4885
+ };
4886
+ /**
4887
+ * Chart segment token (libs/common resolver)
4888
+ */
4889
+ type chartToken = 'equity' | 'fund' | 'bond' | 'cash' | 'other';
4890
+ type HoldingPnlWarningDto = {
4802
4891
  /**
4803
- * Base currency for converted values
4892
+ * Warning type
4804
4893
  */
4805
- currency: string;
4894
+ type: 'MISSING_COST_FX_RATE' | 'MISSING_MARKET_FX_RATE' | 'MISSING_SALE_PRICE' | 'MISSING_REALIZED_FX_RATE' | 'OVERSOLD_LOTS' | 'NO_PRICE' | 'MIXED_COST_CURRENCY';
4895
+ symbol?: {
4896
+ [key: string]: unknown;
4897
+ } | null;
4898
+ accountId?: {
4899
+ [key: string]: unknown;
4900
+ } | null;
4901
+ currency?: {
4902
+ [key: string]: unknown;
4903
+ } | null;
4904
+ };
4905
+ /**
4906
+ * Warning type
4907
+ */
4908
+ type type4 = 'MISSING_COST_FX_RATE' | 'MISSING_MARKET_FX_RATE' | 'MISSING_SALE_PRICE' | 'MISSING_REALIZED_FX_RATE' | 'OVERSOLD_LOTS' | 'NO_PRICE' | 'MIXED_COST_CURRENCY';
4909
+ type HoldingPnlResponseDto = {
4910
+ asOfDate: string;
4911
+ baseCurrency: string;
4806
4912
  /**
4807
- * Exchange rate warnings (e.g. missing rate for a currency)
4913
+ * Realized-P&L lot-matching method (FIFO or average). Unrealized cost basis remains average regardless of this value (#473).
4808
4914
  */
4809
- warnings?: Array<ExchangeRateWarningDto>;
4915
+ method: 'average' | 'FIFO';
4916
+ rows: Array<HoldingPnlRowDto>;
4917
+ warnings: Array<HoldingPnlWarningDto>;
4810
4918
  };
4811
- type GenerateSnapshotBody = unknown;
4812
- type GenerateSnapshotResponse = unknown;
4813
- type BackfillSnapshotsBody = unknown;
4814
- type BackfillSnapshotsResponse = unknown;
4919
+ /**
4920
+ * Realized-P&L lot-matching method (FIFO or average). Unrealized cost basis remains average regardless of this value (#473).
4921
+ */
4922
+ type method = 'average' | 'FIFO';
4815
4923
  type AnonymousLoginDto = {
4816
4924
  /**
4817
4925
  * Access token for anonymous login
4818
4926
  */
4819
4927
  accessToken: string;
4820
4928
  };
4929
+ type AnonymousLoginResponseDto = {
4930
+ /**
4931
+ * JWT auth token
4932
+ */
4933
+ authToken: string;
4934
+ };
4821
4935
  type AccountControllerCreateData = {
4822
4936
  /**
4823
4937
  * Region code for tenant context
@@ -5661,23 +5775,137 @@ type ExpectedTransactionControllerEnterNowData = {
5661
5775
  */
5662
5776
  id: string;
5663
5777
  /**
5664
- * Region code for tenant context
5778
+ * Region code for tenant context
5779
+ */
5780
+ region: 'cn' | 'us' | 'de' | 'gb';
5781
+ requestBody: EnterNowDto;
5782
+ };
5783
+ type ExpectedTransactionControllerEnterNowResponse = unknown;
5784
+ type ForecastControllerGetForecastData = {
5785
+ /**
5786
+ * Number of months to forecast (1-12, default 3)
5787
+ */
5788
+ months?: number;
5789
+ /**
5790
+ * Region code for tenant context
5791
+ */
5792
+ region: 'cn' | 'us' | 'de' | 'gb';
5793
+ };
5794
+ type ForecastControllerGetForecastResponse = ForecastResponseDto;
5795
+ type ReportingControllerGetPortfolioTrendsData = {
5796
+ /**
5797
+ * Data granularity
5798
+ */
5799
+ granularity?: 'day' | 'week' | 'month';
5800
+ /**
5801
+ * Time period
5802
+ */
5803
+ period?: '1m' | '3m' | '6m' | '1y';
5804
+ /**
5805
+ * Region code for tenant context
5806
+ */
5807
+ region: 'cn' | 'us' | 'de' | 'gb';
5808
+ };
5809
+ type ReportingControllerGetPortfolioTrendsResponse = PortfolioTrendsResponseDto;
5810
+ type ReportingControllerGetCashFlowTrendsData = {
5811
+ /**
5812
+ * Data granularity (accepted for API symmetry; v1 returns month buckets)
5813
+ */
5814
+ granularity?: 'day' | 'week' | 'month';
5815
+ /**
5816
+ * Time period
5817
+ */
5818
+ period?: '1m' | '3m' | '6m' | '1y';
5819
+ /**
5820
+ * Region code for tenant context
5821
+ */
5822
+ region: 'cn' | 'us' | 'de' | 'gb';
5823
+ };
5824
+ type ReportingControllerGetCashFlowTrendsResponse = CashFlowTrendsResponseDto;
5825
+ type ReportingControllerGenerateSnapshotData = {
5826
+ /**
5827
+ * Region code for tenant context
5828
+ */
5829
+ region: 'cn' | 'us' | 'de' | 'gb';
5830
+ /**
5831
+ * Optional date (defaults to today)
5832
+ */
5833
+ requestBody: GenerateSnapshotBody;
5834
+ };
5835
+ type ReportingControllerGenerateSnapshotResponse = GenerateSnapshotResponse;
5836
+ type ReportingControllerBackfillSnapshotsData = {
5837
+ /**
5838
+ * Region code for tenant context
5839
+ */
5840
+ region: 'cn' | 'us' | 'de' | 'gb';
5841
+ requestBody: BackfillSnapshotsBody;
5842
+ };
5843
+ type ReportingControllerBackfillSnapshotsResponse = BackfillSnapshotsResponse;
5844
+ type UserControllerDeleteOwnUserData = {
5845
+ requestBody: DeleteOwnUserDto;
5846
+ };
5847
+ type UserControllerDeleteOwnUserResponse = void;
5848
+ type UserControllerGetUserData = {
5849
+ acceptLanguage: string;
5850
+ };
5851
+ type UserControllerGetUserResponse = unknown;
5852
+ type UserControllerSignupUserData = {
5853
+ requestBody: SignupDto;
5854
+ };
5855
+ type UserControllerSignupUserResponse = SignupResponseDto;
5856
+ type UserControllerDeleteUserData = {
5857
+ /**
5858
+ * User ID to delete
5859
+ */
5860
+ id: string;
5861
+ };
5862
+ type UserControllerDeleteUserResponse = void;
5863
+ type UserControllerGetUserInfoData = {
5864
+ /**
5865
+ * User ID
5866
+ */
5867
+ id: string;
5868
+ };
5869
+ type UserControllerGetUserInfoResponse = unknown;
5870
+ type UserControllerUpdateUserSettingData = {
5871
+ requestBody: UpdateUserSettingDto;
5872
+ };
5873
+ type UserControllerUpdateUserSettingResponse = unknown;
5874
+ type UserControllerGetAllUserSettingsByPageData = {
5875
+ /**
5876
+ * Page number
5877
+ */
5878
+ pageNo: number;
5879
+ /**
5880
+ * Page size
5881
+ */
5882
+ pageSize: number;
5883
+ };
5884
+ type UserControllerGetAllUserSettingsByPageResponse = unknown;
5885
+ type UserControllerGetAssetLiabilitySummaryResponse = unknown;
5886
+ type PropertyControllerGetAllResponse = unknown;
5887
+ type PropertyControllerGetByKeyData = {
5888
+ /**
5889
+ * Property key
5665
5890
  */
5666
- region: 'cn' | 'us' | 'de' | 'gb';
5667
- requestBody: EnterNowDto;
5891
+ key: string;
5668
5892
  };
5669
- type ExpectedTransactionControllerEnterNowResponse = unknown;
5670
- type ForecastControllerGetForecastData = {
5893
+ type PropertyControllerGetByKeyResponse = unknown;
5894
+ type PropertyControllerUpdateData = {
5671
5895
  /**
5672
- * Number of months to forecast (1-12, default 3)
5896
+ * Property key
5673
5897
  */
5674
- months?: number;
5898
+ key: string;
5899
+ requestBody: UpdatePropertyDto;
5900
+ };
5901
+ type PropertyControllerUpdateResponse = unknown;
5902
+ type PropertyControllerDeleteData = {
5675
5903
  /**
5676
- * Region code for tenant context
5904
+ * Property key
5677
5905
  */
5678
- region: 'cn' | 'us' | 'de' | 'gb';
5906
+ key: string;
5679
5907
  };
5680
- type ForecastControllerGetForecastResponse = ForecastResponseDto;
5908
+ type PropertyControllerDeleteResponse = void;
5681
5909
  type TransactionRuleControllerCreateData = {
5682
5910
  /**
5683
5911
  * Region code for tenant context
@@ -5797,71 +6025,6 @@ type TransactionRuleControllerTestData = {
5797
6025
  ruleId: string;
5798
6026
  };
5799
6027
  type TransactionRuleControllerTestResponse = TestRuleResponseDto;
5800
- type UserControllerDeleteOwnUserData = {
5801
- requestBody: DeleteOwnUserDto;
5802
- };
5803
- type UserControllerDeleteOwnUserResponse = void;
5804
- type UserControllerGetUserData = {
5805
- acceptLanguage: string;
5806
- };
5807
- type UserControllerGetUserResponse = unknown;
5808
- type UserControllerSignupUserData = {
5809
- requestBody: SignupDto;
5810
- };
5811
- type UserControllerSignupUserResponse = unknown;
5812
- type UserControllerDeleteUserData = {
5813
- /**
5814
- * User ID to delete
5815
- */
5816
- id: string;
5817
- };
5818
- type UserControllerDeleteUserResponse = void;
5819
- type UserControllerGetUserInfoData = {
5820
- /**
5821
- * User ID
5822
- */
5823
- id: string;
5824
- };
5825
- type UserControllerGetUserInfoResponse = unknown;
5826
- type UserControllerUpdateUserSettingData = {
5827
- requestBody: UpdateUserSettingDto;
5828
- };
5829
- type UserControllerUpdateUserSettingResponse = unknown;
5830
- type UserControllerGetAllUserSettingsByPageData = {
5831
- /**
5832
- * Page number
5833
- */
5834
- pageNo: number;
5835
- /**
5836
- * Page size
5837
- */
5838
- pageSize: number;
5839
- };
5840
- type UserControllerGetAllUserSettingsByPageResponse = unknown;
5841
- type UserControllerGetAssetLiabilitySummaryResponse = unknown;
5842
- type PropertyControllerGetAllResponse = unknown;
5843
- type PropertyControllerGetByKeyData = {
5844
- /**
5845
- * Property key
5846
- */
5847
- key: string;
5848
- };
5849
- type PropertyControllerGetByKeyResponse = unknown;
5850
- type PropertyControllerUpdateData = {
5851
- /**
5852
- * Property key
5853
- */
5854
- key: string;
5855
- requestBody: UpdatePropertyDto;
5856
- };
5857
- type PropertyControllerUpdateResponse = unknown;
5858
- type PropertyControllerDeleteData = {
5859
- /**
5860
- * Property key
5861
- */
5862
- key: string;
5863
- };
5864
- type PropertyControllerDeleteResponse = void;
5865
6028
  type EventControllerCreateData = {
5866
6029
  /**
5867
6030
  * Region code for tenant context (decorative for life events)
@@ -6197,7 +6360,7 @@ type PlatformControllerCreateData = {
6197
6360
  requestBody: CreatePlatformDto;
6198
6361
  };
6199
6362
  type PlatformControllerCreateResponse = unknown;
6200
- type PlatformControllerGetPlatformListResponse = unknown;
6363
+ type PlatformControllerGetPlatformListResponse = Array<PlatformListItemDto>;
6201
6364
  type PlatformControllerMatchPlatformsData = {
6202
6365
  /**
6203
6366
  * Search query — Chinese name, English name, or abbreviation
@@ -6208,7 +6371,7 @@ type PlatformControllerMatchPlatformsData = {
6208
6371
  */
6209
6372
  region?: string;
6210
6373
  };
6211
- type PlatformControllerMatchPlatformsResponse = unknown;
6374
+ type PlatformControllerMatchPlatformsResponse = PlatformMatchResponseDto;
6212
6375
  type PlatformControllerUpdateData = {
6213
6376
  /**
6214
6377
  * Platform ID
@@ -6303,60 +6466,11 @@ type HoldingPnlControllerGetHoldingPnlData = {
6303
6466
  region: 'cn' | 'us' | 'de' | 'gb';
6304
6467
  };
6305
6468
  type HoldingPnlControllerGetHoldingPnlResponse = HoldingPnlResponseDto;
6306
- type ReportingControllerGetPortfolioTrendsData = {
6307
- /**
6308
- * Data granularity
6309
- */
6310
- granularity?: 'day' | 'week' | 'month';
6311
- /**
6312
- * Time period
6313
- */
6314
- period?: '1m' | '3m' | '6m' | '1y';
6315
- /**
6316
- * Region code for tenant context
6317
- */
6318
- region: 'cn' | 'us' | 'de' | 'gb';
6319
- };
6320
- type ReportingControllerGetPortfolioTrendsResponse = PortfolioTrendsResponseDto;
6321
- type ReportingControllerGetCashFlowTrendsData = {
6322
- /**
6323
- * Data granularity (accepted for API symmetry; v1 returns month buckets)
6324
- */
6325
- granularity?: 'day' | 'week' | 'month';
6326
- /**
6327
- * Time period
6328
- */
6329
- period?: '1m' | '3m' | '6m' | '1y';
6330
- /**
6331
- * Region code for tenant context
6332
- */
6333
- region: 'cn' | 'us' | 'de' | 'gb';
6334
- };
6335
- type ReportingControllerGetCashFlowTrendsResponse = CashFlowTrendsResponseDto;
6336
- type ReportingControllerGenerateSnapshotData = {
6337
- /**
6338
- * Region code for tenant context
6339
- */
6340
- region: 'cn' | 'us' | 'de' | 'gb';
6341
- /**
6342
- * Optional date (defaults to today)
6343
- */
6344
- requestBody: GenerateSnapshotBody;
6345
- };
6346
- type ReportingControllerGenerateSnapshotResponse = GenerateSnapshotResponse;
6347
- type ReportingControllerBackfillSnapshotsData = {
6348
- /**
6349
- * Region code for tenant context
6350
- */
6351
- region: 'cn' | 'us' | 'de' | 'gb';
6352
- requestBody: BackfillSnapshotsBody;
6353
- };
6354
- type ReportingControllerBackfillSnapshotsResponse = BackfillSnapshotsResponse;
6355
6469
  type ApiKeysControllerCreateApiKeyResponse = unknown;
6356
6470
  type AuthControllerAccessTokenLoginData = {
6357
6471
  requestBody: AnonymousLoginDto;
6358
6472
  };
6359
- type AuthControllerAccessTokenLoginResponse = unknown;
6473
+ type AuthControllerAccessTokenLoginResponse = AnonymousLoginResponseDto;
6360
6474
  type CacheControllerFlushCacheResponse = unknown;
6361
6475
  type ExchangeRateControllerGetExchangeRateData = {
6362
6476
  /**
@@ -7372,477 +7486,549 @@ type $OpenApiTs = {
7372
7486
  */
7373
7487
  200: ExpectedTransactionResponseDto;
7374
7488
  /**
7375
- * Cannot undo - not in SKIPPED status
7489
+ * Cannot undo - not in SKIPPED status
7490
+ */
7491
+ 400: unknown;
7492
+ /**
7493
+ * Expected transaction not found
7494
+ */
7495
+ 404: unknown;
7496
+ };
7497
+ };
7498
+ };
7499
+ '/api/v1/{region}/bean/expected-transactions/{id}/match': {
7500
+ post: {
7501
+ req: ExpectedTransactionControllerConfirmMatchData;
7502
+ res: {
7503
+ /**
7504
+ * Match confirmed successfully
7505
+ */
7506
+ 200: unknown;
7507
+ /**
7508
+ * Cannot match - not in PENDING status
7509
+ */
7510
+ 400: unknown;
7511
+ /**
7512
+ * Expected or actual transaction not found
7513
+ */
7514
+ 404: unknown;
7515
+ /**
7516
+ * Actual transaction already matched to another rule
7517
+ */
7518
+ 409: unknown;
7519
+ };
7520
+ };
7521
+ delete: {
7522
+ req: ExpectedTransactionControllerUnmatchData;
7523
+ res: {
7524
+ /**
7525
+ * Match removed successfully
7526
+ */
7527
+ 200: unknown;
7528
+ /**
7529
+ * Cannot unmatch - not in COMPLETED status
7530
+ */
7531
+ 400: unknown;
7532
+ /**
7533
+ * Expected transaction not found
7534
+ */
7535
+ 404: unknown;
7536
+ };
7537
+ };
7538
+ };
7539
+ '/api/v1/{region}/bean/expected-transactions/{id}/enter': {
7540
+ post: {
7541
+ req: ExpectedTransactionControllerEnterNowData;
7542
+ res: {
7543
+ /**
7544
+ * Transaction created successfully
7545
+ */
7546
+ 201: unknown;
7547
+ /**
7548
+ * Cannot enter - not in PENDING status or missing accounts
7549
+ */
7550
+ 400: unknown;
7551
+ /**
7552
+ * Expected transaction or accounts not found
7553
+ */
7554
+ 404: unknown;
7555
+ };
7556
+ };
7557
+ };
7558
+ '/api/v1/{region}/bean/recurring/forecast': {
7559
+ get: {
7560
+ req: ForecastControllerGetForecastData;
7561
+ res: {
7562
+ /**
7563
+ * Forecast retrieved successfully
7564
+ */
7565
+ 200: ForecastResponseDto;
7566
+ };
7567
+ };
7568
+ };
7569
+ '/api/v1/{region}/reporting/portfolio/trends': {
7570
+ get: {
7571
+ req: ReportingControllerGetPortfolioTrendsData;
7572
+ res: {
7573
+ /**
7574
+ * Trends retrieved successfully
7575
+ */
7576
+ 200: PortfolioTrendsResponseDto;
7577
+ /**
7578
+ * User not authenticated
7579
+ */
7580
+ 401: unknown;
7581
+ };
7582
+ };
7583
+ };
7584
+ '/api/v1/{region}/reporting/cash-flow/trends': {
7585
+ get: {
7586
+ req: ReportingControllerGetCashFlowTrendsData;
7587
+ res: {
7588
+ /**
7589
+ * Cash-flow trends retrieved successfully
7590
+ */
7591
+ 200: CashFlowTrendsResponseDto;
7592
+ /**
7593
+ * User not authenticated
7594
+ */
7595
+ 401: unknown;
7596
+ };
7597
+ };
7598
+ };
7599
+ '/api/v1/{region}/reporting/snapshots/generate': {
7600
+ post: {
7601
+ req: ReportingControllerGenerateSnapshotData;
7602
+ res: {
7603
+ /**
7604
+ * Snapshot generated successfully
7605
+ */
7606
+ 200: GenerateSnapshotResponse;
7607
+ /**
7608
+ * Invalid date format
7376
7609
  */
7377
7610
  400: unknown;
7378
7611
  /**
7379
- * Expected transaction not found
7612
+ * User not authenticated
7380
7613
  */
7381
- 404: unknown;
7614
+ 401: unknown;
7382
7615
  };
7383
7616
  };
7384
7617
  };
7385
- '/api/v1/{region}/bean/expected-transactions/{id}/match': {
7618
+ '/api/v1/{region}/reporting/snapshots/backfill': {
7386
7619
  post: {
7387
- req: ExpectedTransactionControllerConfirmMatchData;
7620
+ req: ReportingControllerBackfillSnapshotsData;
7388
7621
  res: {
7389
7622
  /**
7390
- * Match confirmed successfully
7623
+ * Backfill completed successfully
7391
7624
  */
7392
- 200: unknown;
7625
+ 200: BackfillSnapshotsResponse;
7393
7626
  /**
7394
- * Cannot match - not in PENDING status
7627
+ * Invalid date format or range
7395
7628
  */
7396
7629
  400: unknown;
7397
7630
  /**
7398
- * Expected or actual transaction not found
7631
+ * User not authenticated
7399
7632
  */
7400
- 404: unknown;
7633
+ 401: unknown;
7401
7634
  /**
7402
- * Actual transaction already matched to another rule
7635
+ * Backfill already in progress for this user
7403
7636
  */
7404
7637
  409: unknown;
7405
7638
  };
7406
7639
  };
7640
+ };
7641
+ '/api/v1/users': {
7407
7642
  delete: {
7408
- req: ExpectedTransactionControllerUnmatchData;
7643
+ req: UserControllerDeleteOwnUserData;
7409
7644
  res: {
7410
7645
  /**
7411
- * Match removed successfully
7646
+ * User deleted successfully
7412
7647
  */
7413
- 200: unknown;
7648
+ 204: void;
7414
7649
  /**
7415
- * Cannot unmatch - not in COMPLETED status
7650
+ * Invalid access token
7416
7651
  */
7417
- 400: unknown;
7652
+ 403: unknown;
7653
+ };
7654
+ };
7655
+ get: {
7656
+ req: UserControllerGetUserData;
7657
+ res: {
7418
7658
  /**
7419
- * Expected transaction not found
7659
+ * User retrieved successfully
7420
7660
  */
7421
- 404: unknown;
7661
+ 200: unknown;
7422
7662
  };
7423
7663
  };
7424
- };
7425
- '/api/v1/{region}/bean/expected-transactions/{id}/enter': {
7426
7664
  post: {
7427
- req: ExpectedTransactionControllerEnterNowData;
7665
+ req: UserControllerSignupUserData;
7428
7666
  res: {
7429
7667
  /**
7430
- * Transaction created successfully
7668
+ * User created successfully
7431
7669
  */
7432
- 201: unknown;
7670
+ 201: SignupResponseDto;
7433
7671
  /**
7434
- * Cannot enter - not in PENDING status or missing accounts
7672
+ * Invalid Turnstile token (when Turnstile is enabled)
7435
7673
  */
7436
7674
  400: unknown;
7437
7675
  /**
7438
- * Expected transaction or accounts not found
7439
- */
7440
- 404: unknown;
7441
- };
7442
- };
7443
- };
7444
- '/api/v1/{region}/bean/recurring/forecast': {
7445
- get: {
7446
- req: ForecastControllerGetForecastData;
7447
- res: {
7448
- /**
7449
- * Forecast retrieved successfully
7676
+ * User signup is disabled
7450
7677
  */
7451
- 200: ForecastResponseDto;
7678
+ 403: unknown;
7452
7679
  };
7453
7680
  };
7454
7681
  };
7455
- '/api/v1/{region}/bean/transaction-rules': {
7456
- post: {
7457
- req: TransactionRuleControllerCreateData;
7682
+ '/api/v1/users/{id}': {
7683
+ delete: {
7684
+ req: UserControllerDeleteUserData;
7458
7685
  res: {
7459
7686
  /**
7460
- * Rule updated successfully (upsert mode)
7461
- */
7462
- 200: TransactionRuleResponseDto;
7463
- /**
7464
- * Validation failed
7465
- */
7466
- 400: ApiProblemResponseDto;
7467
- /**
7468
- * Unauthorized
7687
+ * User deleted successfully
7469
7688
  */
7470
- 401: ApiProblemResponseDto;
7689
+ 204: void;
7471
7690
  /**
7472
- * Resource conflict - another process is updating this rule
7691
+ * Cannot delete own account or insufficient permissions
7473
7692
  */
7474
- 409: ApiProblemResponseDto;
7693
+ 403: unknown;
7475
7694
  };
7476
7695
  };
7696
+ };
7697
+ '/api/v1/users/{id}/info': {
7477
7698
  get: {
7478
- req: TransactionRuleControllerListData;
7699
+ req: UserControllerGetUserInfoData;
7479
7700
  res: {
7480
7701
  /**
7481
- * List of rules
7702
+ * User info retrieved successfully
7482
7703
  */
7483
- 200: TransactionRuleListResponseDto;
7704
+ 200: unknown;
7484
7705
  /**
7485
- * Unauthorized
7706
+ * Cannot access other user info without admin permission
7486
7707
  */
7487
- 401: ApiProblemResponseDto;
7708
+ 403: unknown;
7488
7709
  };
7489
7710
  };
7490
7711
  };
7491
- '/api/v1/{region}/bean/transaction-rules/validate': {
7492
- post: {
7493
- req: TransactionRuleControllerValidateData;
7712
+ '/api/v1/users/setting': {
7713
+ put: {
7714
+ req: UserControllerUpdateUserSettingData;
7494
7715
  res: {
7495
7716
  /**
7496
- * Validation result
7497
- */
7498
- 200: ValidateRuleResponseDto;
7499
- /**
7500
- * Validation failed
7717
+ * Settings updated successfully
7501
7718
  */
7502
- 400: ApiProblemResponseDto;
7719
+ 200: unknown;
7503
7720
  /**
7504
- * Unauthorized
7721
+ * Insufficient permissions
7505
7722
  */
7506
- 401: ApiProblemResponseDto;
7723
+ 403: unknown;
7507
7724
  };
7508
7725
  };
7509
7726
  };
7510
- '/api/v1/{region}/bean/transaction-rules/bulk': {
7511
- post: {
7512
- req: TransactionRuleControllerBulkCreateData;
7727
+ '/api/v1/users/settings-by-page': {
7728
+ get: {
7729
+ req: UserControllerGetAllUserSettingsByPageData;
7513
7730
  res: {
7514
7731
  /**
7515
- * Bulk create completed
7516
- */
7517
- 201: BulkCreateRulesResponseDto;
7518
- /**
7519
- * Invalid bulk create data
7520
- */
7521
- 400: ApiProblemResponseDto;
7522
- /**
7523
- * Unauthorized
7732
+ * Settings list retrieved successfully
7524
7733
  */
7525
- 401: ApiProblemResponseDto;
7734
+ 200: unknown;
7526
7735
  };
7527
7736
  };
7528
7737
  };
7529
- '/api/v1/{region}/bean/transaction-rules/export/{format}': {
7738
+ '/api/v1/users/asset-liability-summary': {
7530
7739
  get: {
7531
- req: TransactionRuleControllerExportData;
7532
7740
  res: {
7533
7741
  /**
7534
- * Exported rules
7535
- */
7536
- 200: ExportRulesResponseDto;
7537
- /**
7538
- * Unsupported format
7539
- */
7540
- 400: ApiProblemResponseDto;
7541
- /**
7542
- * Unauthorized
7742
+ * Summary retrieved successfully
7543
7743
  */
7544
- 401: ApiProblemResponseDto;
7744
+ 200: unknown;
7545
7745
  };
7546
7746
  };
7547
7747
  };
7548
- '/api/v1/{region}/bean/transaction-rules/statistics/{period}': {
7748
+ '/api/v1/admin/properties': {
7549
7749
  get: {
7550
- req: TransactionRuleControllerGetStatisticsData;
7551
7750
  res: {
7552
7751
  /**
7553
- * Rule statistics
7752
+ * Properties retrieved successfully
7554
7753
  */
7555
- 200: RuleStatisticsResponseDto;
7754
+ 200: unknown;
7556
7755
  /**
7557
7756
  * Unauthorized
7558
7757
  */
7559
- 401: ApiProblemResponseDto;
7758
+ 401: unknown;
7759
+ /**
7760
+ * Forbidden - insufficient permissions
7761
+ */
7762
+ 403: unknown;
7560
7763
  };
7561
7764
  };
7562
7765
  };
7563
- '/api/v1/{region}/bean/transaction-rules/{ruleId}': {
7766
+ '/api/v1/admin/properties/{key}': {
7564
7767
  get: {
7565
- req: TransactionRuleControllerGetDetailData;
7768
+ req: PropertyControllerGetByKeyData;
7566
7769
  res: {
7567
7770
  /**
7568
- * Rule details
7771
+ * Property retrieved successfully
7569
7772
  */
7570
- 200: TransactionRuleResponseDto;
7773
+ 200: unknown;
7571
7774
  /**
7572
7775
  * Unauthorized
7573
7776
  */
7574
- 401: ApiProblemResponseDto;
7777
+ 401: unknown;
7575
7778
  /**
7576
- * Forbidden - not owner of rule
7779
+ * Forbidden - insufficient permissions
7577
7780
  */
7578
- 403: ApiProblemResponseDto;
7781
+ 403: unknown;
7579
7782
  /**
7580
- * Rule not found
7783
+ * Property not found
7581
7784
  */
7582
- 404: ApiProblemResponseDto;
7785
+ 404: unknown;
7583
7786
  };
7584
7787
  };
7585
7788
  put: {
7586
- req: TransactionRuleControllerUpdateData;
7789
+ req: PropertyControllerUpdateData;
7587
7790
  res: {
7588
7791
  /**
7589
- * Rule updated successfully
7590
- */
7591
- 200: TransactionRuleResponseDto;
7592
- /**
7593
- * Validation failed
7792
+ * Property updated successfully
7594
7793
  */
7595
- 400: ApiProblemResponseDto;
7794
+ 200: unknown;
7596
7795
  /**
7597
7796
  * Unauthorized
7598
7797
  */
7599
- 401: ApiProblemResponseDto;
7600
- /**
7601
- * Forbidden - not owner of rule
7602
- */
7603
- 403: ApiProblemResponseDto;
7604
- /**
7605
- * Rule not found
7606
- */
7607
- 404: ApiProblemResponseDto;
7798
+ 401: unknown;
7608
7799
  /**
7609
- * Resource conflict - rule is being modified by another process
7800
+ * Forbidden - insufficient permissions
7610
7801
  */
7611
- 409: ApiProblemResponseDto;
7802
+ 403: unknown;
7612
7803
  };
7613
7804
  };
7614
7805
  delete: {
7615
- req: TransactionRuleControllerDeleteData;
7806
+ req: PropertyControllerDeleteData;
7616
7807
  res: {
7617
7808
  /**
7618
- * Rule deleted successfully
7809
+ * Property deleted successfully
7619
7810
  */
7620
7811
  204: void;
7621
7812
  /**
7622
7813
  * Unauthorized
7623
7814
  */
7624
- 401: ApiProblemResponseDto;
7625
- /**
7626
- * Forbidden - not owner of rule
7627
- */
7628
- 403: ApiProblemResponseDto;
7815
+ 401: unknown;
7629
7816
  /**
7630
- * Rule not found
7817
+ * Forbidden - insufficient permissions
7631
7818
  */
7632
- 404: ApiProblemResponseDto;
7819
+ 403: unknown;
7633
7820
  /**
7634
- * Resource conflict - rule is being modified by another process
7821
+ * Property not found
7635
7822
  */
7636
- 409: ApiProblemResponseDto;
7823
+ 404: unknown;
7637
7824
  };
7638
7825
  };
7639
7826
  };
7640
- '/api/v1/{region}/bean/transaction-rules/{ruleId}/test': {
7827
+ '/api/v1/{region}/bean/transaction-rules': {
7641
7828
  post: {
7642
- req: TransactionRuleControllerTestData;
7829
+ req: TransactionRuleControllerCreateData;
7643
7830
  res: {
7644
7831
  /**
7645
- * Test result
7646
- */
7647
- 200: TestRuleResponseDto;
7648
- /**
7649
- * Unauthorized
7650
- */
7651
- 401: ApiProblemResponseDto;
7652
- /**
7653
- * Forbidden - not owner of rule
7832
+ * Rule updated successfully (upsert mode)
7654
7833
  */
7655
- 403: ApiProblemResponseDto;
7834
+ 200: TransactionRuleResponseDto;
7656
7835
  /**
7657
- * Rule not found
7836
+ * Validation failed
7658
7837
  */
7659
- 404: ApiProblemResponseDto;
7660
- };
7661
- };
7662
- };
7663
- '/api/v1/users': {
7664
- delete: {
7665
- req: UserControllerDeleteOwnUserData;
7666
- res: {
7838
+ 400: ApiProblemResponseDto;
7667
7839
  /**
7668
- * User deleted successfully
7840
+ * Unauthorized
7669
7841
  */
7670
- 204: void;
7842
+ 401: ApiProblemResponseDto;
7671
7843
  /**
7672
- * Invalid access token
7844
+ * Resource conflict - another process is updating this rule
7673
7845
  */
7674
- 403: unknown;
7846
+ 409: ApiProblemResponseDto;
7675
7847
  };
7676
7848
  };
7677
7849
  get: {
7678
- req: UserControllerGetUserData;
7850
+ req: TransactionRuleControllerListData;
7679
7851
  res: {
7680
7852
  /**
7681
- * User retrieved successfully
7853
+ * List of rules
7682
7854
  */
7683
- 200: unknown;
7855
+ 200: TransactionRuleListResponseDto;
7856
+ /**
7857
+ * Unauthorized
7858
+ */
7859
+ 401: ApiProblemResponseDto;
7684
7860
  };
7685
7861
  };
7862
+ };
7863
+ '/api/v1/{region}/bean/transaction-rules/validate': {
7686
7864
  post: {
7687
- req: UserControllerSignupUserData;
7865
+ req: TransactionRuleControllerValidateData;
7688
7866
  res: {
7689
7867
  /**
7690
- * User created successfully
7868
+ * Validation result
7691
7869
  */
7692
- 201: unknown;
7870
+ 200: ValidateRuleResponseDto;
7693
7871
  /**
7694
- * Invalid Turnstile token (when Turnstile is enabled)
7872
+ * Validation failed
7695
7873
  */
7696
- 400: unknown;
7874
+ 400: ApiProblemResponseDto;
7697
7875
  /**
7698
- * User signup is disabled
7876
+ * Unauthorized
7699
7877
  */
7700
- 403: unknown;
7878
+ 401: ApiProblemResponseDto;
7701
7879
  };
7702
7880
  };
7703
7881
  };
7704
- '/api/v1/users/{id}': {
7705
- delete: {
7706
- req: UserControllerDeleteUserData;
7882
+ '/api/v1/{region}/bean/transaction-rules/bulk': {
7883
+ post: {
7884
+ req: TransactionRuleControllerBulkCreateData;
7707
7885
  res: {
7708
7886
  /**
7709
- * User deleted successfully
7887
+ * Bulk create completed
7710
7888
  */
7711
- 204: void;
7889
+ 201: BulkCreateRulesResponseDto;
7712
7890
  /**
7713
- * Cannot delete own account or insufficient permissions
7891
+ * Invalid bulk create data
7714
7892
  */
7715
- 403: unknown;
7893
+ 400: ApiProblemResponseDto;
7894
+ /**
7895
+ * Unauthorized
7896
+ */
7897
+ 401: ApiProblemResponseDto;
7716
7898
  };
7717
7899
  };
7718
7900
  };
7719
- '/api/v1/users/{id}/info': {
7901
+ '/api/v1/{region}/bean/transaction-rules/export/{format}': {
7720
7902
  get: {
7721
- req: UserControllerGetUserInfoData;
7903
+ req: TransactionRuleControllerExportData;
7722
7904
  res: {
7723
7905
  /**
7724
- * User info retrieved successfully
7725
- */
7726
- 200: unknown;
7727
- /**
7728
- * Cannot access other user info without admin permission
7906
+ * Exported rules
7729
7907
  */
7730
- 403: unknown;
7731
- };
7732
- };
7733
- };
7734
- '/api/v1/users/setting': {
7735
- put: {
7736
- req: UserControllerUpdateUserSettingData;
7737
- res: {
7908
+ 200: ExportRulesResponseDto;
7738
7909
  /**
7739
- * Settings updated successfully
7910
+ * Unsupported format
7740
7911
  */
7741
- 200: unknown;
7912
+ 400: ApiProblemResponseDto;
7742
7913
  /**
7743
- * Insufficient permissions
7914
+ * Unauthorized
7744
7915
  */
7745
- 403: unknown;
7916
+ 401: ApiProblemResponseDto;
7746
7917
  };
7747
7918
  };
7748
7919
  };
7749
- '/api/v1/users/settings-by-page': {
7920
+ '/api/v1/{region}/bean/transaction-rules/statistics/{period}': {
7750
7921
  get: {
7751
- req: UserControllerGetAllUserSettingsByPageData;
7922
+ req: TransactionRuleControllerGetStatisticsData;
7752
7923
  res: {
7753
7924
  /**
7754
- * Settings list retrieved successfully
7925
+ * Rule statistics
7755
7926
  */
7756
- 200: unknown;
7757
- };
7758
- };
7759
- };
7760
- '/api/v1/users/asset-liability-summary': {
7761
- get: {
7762
- res: {
7927
+ 200: RuleStatisticsResponseDto;
7763
7928
  /**
7764
- * Summary retrieved successfully
7929
+ * Unauthorized
7765
7930
  */
7766
- 200: unknown;
7931
+ 401: ApiProblemResponseDto;
7767
7932
  };
7768
7933
  };
7769
7934
  };
7770
- '/api/v1/admin/properties': {
7935
+ '/api/v1/{region}/bean/transaction-rules/{ruleId}': {
7771
7936
  get: {
7937
+ req: TransactionRuleControllerGetDetailData;
7772
7938
  res: {
7773
7939
  /**
7774
- * Properties retrieved successfully
7940
+ * Rule details
7775
7941
  */
7776
- 200: unknown;
7942
+ 200: TransactionRuleResponseDto;
7777
7943
  /**
7778
7944
  * Unauthorized
7779
7945
  */
7780
- 401: unknown;
7946
+ 401: ApiProblemResponseDto;
7781
7947
  /**
7782
- * Forbidden - insufficient permissions
7948
+ * Forbidden - not owner of rule
7783
7949
  */
7784
- 403: unknown;
7950
+ 403: ApiProblemResponseDto;
7951
+ /**
7952
+ * Rule not found
7953
+ */
7954
+ 404: ApiProblemResponseDto;
7785
7955
  };
7786
7956
  };
7787
- };
7788
- '/api/v1/admin/properties/{key}': {
7789
- get: {
7790
- req: PropertyControllerGetByKeyData;
7957
+ put: {
7958
+ req: TransactionRuleControllerUpdateData;
7791
7959
  res: {
7792
7960
  /**
7793
- * Property retrieved successfully
7961
+ * Rule updated successfully
7794
7962
  */
7795
- 200: unknown;
7963
+ 200: TransactionRuleResponseDto;
7964
+ /**
7965
+ * Validation failed
7966
+ */
7967
+ 400: ApiProblemResponseDto;
7796
7968
  /**
7797
7969
  * Unauthorized
7798
7970
  */
7799
- 401: unknown;
7971
+ 401: ApiProblemResponseDto;
7800
7972
  /**
7801
- * Forbidden - insufficient permissions
7973
+ * Forbidden - not owner of rule
7802
7974
  */
7803
- 403: unknown;
7975
+ 403: ApiProblemResponseDto;
7804
7976
  /**
7805
- * Property not found
7977
+ * Rule not found
7806
7978
  */
7807
- 404: unknown;
7979
+ 404: ApiProblemResponseDto;
7980
+ /**
7981
+ * Resource conflict - rule is being modified by another process
7982
+ */
7983
+ 409: ApiProblemResponseDto;
7808
7984
  };
7809
7985
  };
7810
- put: {
7811
- req: PropertyControllerUpdateData;
7986
+ delete: {
7987
+ req: TransactionRuleControllerDeleteData;
7812
7988
  res: {
7813
7989
  /**
7814
- * Property updated successfully
7990
+ * Rule deleted successfully
7815
7991
  */
7816
- 200: unknown;
7992
+ 204: void;
7817
7993
  /**
7818
7994
  * Unauthorized
7819
7995
  */
7820
- 401: unknown;
7996
+ 401: ApiProblemResponseDto;
7821
7997
  /**
7822
- * Forbidden - insufficient permissions
7998
+ * Forbidden - not owner of rule
7823
7999
  */
7824
- 403: unknown;
8000
+ 403: ApiProblemResponseDto;
8001
+ /**
8002
+ * Rule not found
8003
+ */
8004
+ 404: ApiProblemResponseDto;
8005
+ /**
8006
+ * Resource conflict - rule is being modified by another process
8007
+ */
8008
+ 409: ApiProblemResponseDto;
7825
8009
  };
7826
8010
  };
7827
- delete: {
7828
- req: PropertyControllerDeleteData;
8011
+ };
8012
+ '/api/v1/{region}/bean/transaction-rules/{ruleId}/test': {
8013
+ post: {
8014
+ req: TransactionRuleControllerTestData;
7829
8015
  res: {
7830
8016
  /**
7831
- * Property deleted successfully
8017
+ * Test result
7832
8018
  */
7833
- 204: void;
8019
+ 200: TestRuleResponseDto;
7834
8020
  /**
7835
8021
  * Unauthorized
7836
8022
  */
7837
- 401: unknown;
8023
+ 401: ApiProblemResponseDto;
7838
8024
  /**
7839
- * Forbidden - insufficient permissions
8025
+ * Forbidden - not owner of rule
7840
8026
  */
7841
- 403: unknown;
8027
+ 403: ApiProblemResponseDto;
7842
8028
  /**
7843
- * Property not found
8029
+ * Rule not found
7844
8030
  */
7845
- 404: unknown;
8031
+ 404: ApiProblemResponseDto;
7846
8032
  };
7847
8033
  };
7848
8034
  };
@@ -8389,7 +8575,7 @@ type $OpenApiTs = {
8389
8575
  /**
8390
8576
  * List of platforms with user binding status
8391
8577
  */
8392
- 200: unknown;
8578
+ 200: Array<PlatformListItemDto>;
8393
8579
  };
8394
8580
  };
8395
8581
  };
@@ -8398,9 +8584,9 @@ type $OpenApiTs = {
8398
8584
  req: PlatformControllerMatchPlatformsData;
8399
8585
  res: {
8400
8586
  /**
8401
- * List of matching platforms with suggested segment names
8587
+ * Matching platforms with overall match type and truncation flag
8402
8588
  */
8403
- 200: unknown;
8589
+ 200: PlatformMatchResponseDto;
8404
8590
  };
8405
8591
  };
8406
8592
  };
@@ -8519,78 +8705,6 @@ type $OpenApiTs = {
8519
8705
  };
8520
8706
  };
8521
8707
  };
8522
- '/api/v1/{region}/reporting/portfolio/trends': {
8523
- get: {
8524
- req: ReportingControllerGetPortfolioTrendsData;
8525
- res: {
8526
- /**
8527
- * Trends retrieved successfully
8528
- */
8529
- 200: PortfolioTrendsResponseDto;
8530
- /**
8531
- * User not authenticated
8532
- */
8533
- 401: unknown;
8534
- };
8535
- };
8536
- };
8537
- '/api/v1/{region}/reporting/cash-flow/trends': {
8538
- get: {
8539
- req: ReportingControllerGetCashFlowTrendsData;
8540
- res: {
8541
- /**
8542
- * Cash-flow trends retrieved successfully
8543
- */
8544
- 200: CashFlowTrendsResponseDto;
8545
- /**
8546
- * User not authenticated
8547
- */
8548
- 401: unknown;
8549
- };
8550
- };
8551
- };
8552
- '/api/v1/{region}/reporting/snapshots/generate': {
8553
- post: {
8554
- req: ReportingControllerGenerateSnapshotData;
8555
- res: {
8556
- /**
8557
- * Snapshot generated successfully
8558
- */
8559
- 200: GenerateSnapshotResponse;
8560
- /**
8561
- * Invalid date format
8562
- */
8563
- 400: unknown;
8564
- /**
8565
- * User not authenticated
8566
- */
8567
- 401: unknown;
8568
- };
8569
- };
8570
- };
8571
- '/api/v1/{region}/reporting/snapshots/backfill': {
8572
- post: {
8573
- req: ReportingControllerBackfillSnapshotsData;
8574
- res: {
8575
- /**
8576
- * Backfill completed successfully
8577
- */
8578
- 200: BackfillSnapshotsResponse;
8579
- /**
8580
- * Invalid date format or range
8581
- */
8582
- 400: unknown;
8583
- /**
8584
- * User not authenticated
8585
- */
8586
- 401: unknown;
8587
- /**
8588
- * Backfill already in progress for this user
8589
- */
8590
- 409: unknown;
8591
- };
8592
- };
8593
- };
8594
8708
  '/api/v1/auth/api-keys': {
8595
8709
  post: {
8596
8710
  res: {
@@ -8612,7 +8726,7 @@ type $OpenApiTs = {
8612
8726
  /**
8613
8727
  * Login successful
8614
8728
  */
8615
- 200: unknown;
8729
+ 200: AnonymousLoginResponseDto;
8616
8730
  /**
8617
8731
  * Invalid access token
8618
8732
  */
@@ -9182,4 +9296,4 @@ type OpenAPIConfig = {
9182
9296
  };
9183
9297
  declare const OpenAPI: OpenAPIConfig;
9184
9298
 
9185
- export { type $OpenApiTs, type AccountControllerAddOpeningBalanceData, type AccountControllerAddOpeningBalanceResponse, type AccountControllerCloseData, type AccountControllerCloseResponse, type AccountControllerCreateData, type AccountControllerCreateResponse, type AccountControllerDeleteData, type AccountControllerDeleteResponse, type AccountControllerFindAllData, type AccountControllerFindAllResponse, type AccountControllerFindOneData, type AccountControllerFindOneResponse, type AccountControllerReopenData, type AccountControllerReopenResponse, type AccountControllerUpdateData, type AccountControllerUpdateResponse, type AccountExchangeRateWarningDto, type AccountItemDto, type AccountItemWithAssetClassDto, type AccountListResponseDto, type AccountResponseDto, type AccountStandardListResponseDto, type AccountStandardResponseDto, type AccountStandardsControllerGetRegionsData, type AccountStandardsControllerGetRegionsResponse, type AccountStandardsControllerGetTemplateMetadataData, type AccountStandardsControllerGetTemplateMetadataResponse, type AccountStandardsControllerGetTemplatesData, type AccountStandardsControllerGetTemplatesResponse, type AccountsResponseDto, type AccountsSummaryDto, type ActualBalanceDto, type AmountDto, type AmountRangeDto, type AnonymousLoginDto, type ApiKeysControllerCreateApiKeyResponse, type ApiProblemResponseDto, type AssertReconciliationDto, type AssetClassAccountsResponseDto, type AssetClassGroupDto, type AssetClassSummaryDto, type AuthControllerAccessTokenLoginData, type AuthControllerAccessTokenLoginResponse, type BackfillSnapshotsBody, type BackfillSnapshotsResponse, type BalanceByCurrencyDto, type BalanceControllerGetBalanceData, type BalanceControllerGetBalanceResponse, type BalanceControllerGetMultiCurrencyBalanceData, type BalanceControllerGetMultiCurrencyBalanceResponse, type BalanceResponseDto, type BatchCreateTransactionDto, type BatchResolveDto, type BatchResolveResultDto, type BatchTransactionErrorDto, type BatchTransactionResponseDto, BeanAccountsService, BeanBalancesService, BeanCommoditiesService, BeanTransactionsService, type BulkCreateRulesDto, type BulkCreateRulesResponseDto, type CacheControllerFlushCacheResponse, type CashFlowByCurrencyDto, type CashFlowPointDto, type CashFlowResponseDto, type CashFlowTrendSummaryDto, type CashFlowTrendsResponseDto, type CategoryGroupDto, type CloseAccountDto, type CommodityControllerBulkCreateData, type CommodityControllerBulkCreateResponse, type CommodityControllerCreateData, type CommodityControllerCreateResponse, type CommodityControllerDeleteData, type CommodityControllerDeleteResponse, type CommodityControllerFindAllData, type CommodityControllerFindAllResponse, type CommodityControllerFindOneData, type CommodityControllerFindOneResponse, type CommodityControllerGetOrCreateData, type CommodityControllerGetOrCreateResponse, type CommodityControllerUpdateData, type CommodityControllerUpdateResponse, type CommodityListResponseDto, type CommodityResponseDto, type ComputeReconciliationDto, type ConfirmMatchDto, type ConvertedCashFlowDto, type ConvertedNetWorthDto, type CorrectTransactionDto, type CostDetailDto, type CostSpecDto, type CreateAccountDto, type CreateBeanEventDto, type CreateBeanPriceDto, type CreateCommodityDto, type CreateExternalAccountLinkDto, type CreateOpeningBalanceDto, type CreatePayeeDto, type CreatePayeeProfileDto, type CreatePlatformDto, type CreatePostingDto, type CreateRecurringRuleDto, type CreateRuleFromTransactionDto, type CreateTransactionDto, type CreateTransactionRuleDto, type CurrencyBalanceDto, type CurrentPriceDto, type DashboardControllerGetAccountsData, type DashboardControllerGetAccountsResponse, type DashboardControllerGetCashFlowData, type DashboardControllerGetCashFlowResponse, type DashboardControllerGetExpensesData, type DashboardControllerGetExpensesResponse, type DashboardControllerGetNetWorthData, type DashboardControllerGetNetWorthResponse, type DecisionOptionDto, type DeleteOwnUserDto, type EnterNowDto, type EventControllerCreateData, type EventControllerCreateResponse, type EventControllerDeleteData, type EventControllerDeleteResponse, type EventControllerFindAllData, type EventControllerFindAllResponse, type EventControllerFindOneData, type EventControllerFindOneResponse, type EventControllerGetSliceData, type EventControllerGetSliceResponse, type EventControllerUpdateData, type EventControllerUpdateResponse, type EventListResponseDto, type EventResponseDto, type ExchangeRateControllerGetExchangeRateData, type ExchangeRateControllerGetExchangeRateResponse, type ExchangeRateWarningDto, type ExpectedTransactionControllerConfirmMatchData, type ExpectedTransactionControllerConfirmMatchResponse, type ExpectedTransactionControllerEnterNowData, type ExpectedTransactionControllerEnterNowResponse, type ExpectedTransactionControllerFindAllData, type ExpectedTransactionControllerFindAllResponse, type ExpectedTransactionControllerFindOneData, type ExpectedTransactionControllerFindOneResponse, type ExpectedTransactionControllerFindOverdueData, type ExpectedTransactionControllerFindOverdueResponse, type ExpectedTransactionControllerSkipData, type ExpectedTransactionControllerSkipResponse, type ExpectedTransactionControllerUndoSkipData, type ExpectedTransactionControllerUndoSkipResponse, type ExpectedTransactionControllerUnmatchData, type ExpectedTransactionControllerUnmatchResponse, type ExpectedTransactionListResponseDto, type ExpectedTransactionResponseDto, type ExpectedTransactionRuleDto, type ExpensesByCategoryResponseDto, type ExpensesByCategorySummaryDto, type ExportControllerExportBeancountResponse, type ExportRulesResponseDto, type ExternalAccountLinkControllerCreateData, type ExternalAccountLinkControllerCreateResponse, type ExternalAccountLinkControllerFindAllData, type ExternalAccountLinkControllerFindAllResponse, type ExternalAccountLinkControllerFindOneData, type ExternalAccountLinkControllerFindOneResponse, type ExternalAccountLinkControllerRemoveData, type ExternalAccountLinkControllerRemoveResponse, type ExternalAccountLinkListResponseDto, type ExternalAccountLinkResponseDto, type FileImportControllerIdentifyFileData, type FileImportControllerIdentifyFileResponse, type FileImportControllerImportBeancountData, type FileImportControllerImportBeancountResponse, type FileImportControllerImportFileData, type FileImportControllerImportFileResponse, type FileImportDto, type ForecastControllerGetForecastData, type ForecastControllerGetForecastResponse, type ForecastItemDto, type ForecastResponseDto, type FxRateDto, type GenerateSnapshotBody, type GenerateSnapshotResponse, type HealthControllerCheckDatabaseResponse, type HealthControllerCheckOpenBbResponse, type HealthControllerCheckRedisResponse, type HealthControllerGetCircuitBreakersHealthResponse, type HealthControllerGetHealthResponse, type HealthControllerGetMetricsResponse, type HealthControllerResetCircuitBreakerData, type HealthControllerResetCircuitBreakerResponse, HealthService, type HoldingAssetClassAccountSliceDto, type HoldingAssetClassCrossAccountResponseDto, type HoldingPnlControllerGetHoldingPnlData, type HoldingPnlControllerGetHoldingPnlResponse, type HoldingPnlResponseDto, type HoldingPnlRowDto, type HoldingPnlWarningDto, type IdentifyResultDto, type ImportErrorDto, type ImportResultDto, type ImporterConfigControllerGetConfigData, type ImporterConfigControllerGetConfigResponse, type ImporterConfigControllerResetConfigData, type ImporterConfigControllerResetConfigResponse, type ImporterConfigControllerUpdateConfigData, type ImporterConfigControllerUpdateConfigResponse, type ImporterConfigDataDto, type ImporterConfigDto, type InfoControllerGetInfoResponse, type MapperDefaultsDto, type MonetaryDto, type MonthlyForecastDto, type MultiCurrencyBalanceResponseDto, type MultiCurrencyPointDto, type NetWorthByCurrencyDto, type NetWorthResponseDto, type NlpAccountConfirmationDataDto, type NlpAlternativePayeeDto, type NlpControllerClearSessionData, type NlpControllerClearSessionResponse, type NlpControllerGetSessionData, type NlpControllerGetSessionResponse, type NlpControllerProcessNaturalLanguageData, type NlpControllerProcessNaturalLanguageResponse, type NlpDefaultAccountsDto, type NlpDuplicateConfirmationDataDto, type NlpParsedDataDto, type NlpPayeeConfirmationDataDto, type NlpResponseDto, type NlpRuleConfirmationDataDto, type NlpSimilarityDto, type NlpSourceTransactionDto, type NlpSuggestedAccountDto, type NlpSuggestedAccountsDto, type NlpSuggestedPayeeDto, type NlpTargetTransactionDto, type NlpTransactionInfoDto, type OnboardingAccountDto, type OnboardingControllerBootstrapData, type OnboardingControllerBootstrapResponse, type OnboardingDto, OpenAPI, type OpenAPIConfig, type OpeningBalanceResultDto, type PadReconciliationDto, type PadResultDto, type ParserTelemetryReportDto, type PayeeAutocompleteResponseDto, type PayeeControllerAutocompleteData, type PayeeControllerAutocompleteResponse, type PayeeControllerCreateData, type PayeeControllerCreateResponse, type PayeeControllerDeleteData, type PayeeControllerDeleteResponse, type PayeeControllerFindAllData, type PayeeControllerFindAllResponse, type PayeeControllerFindOneData, type PayeeControllerFindOneResponse, type PayeeControllerGetTopPayeesData, type PayeeControllerGetTopPayeesResponse, type PayeeControllerUpdateData, type PayeeControllerUpdateResponse, type PayeeListResponseDto, type PayeeProfileAdminControllerCreateData, type PayeeProfileAdminControllerCreateResponse, type PayeeProfileAdminControllerDeleteData, type PayeeProfileAdminControllerDeleteResponse, type PayeeProfileAdminControllerFindAllData, type PayeeProfileAdminControllerFindAllResponse, type PayeeProfileAdminControllerFindOneData, type PayeeProfileAdminControllerFindOneResponse, type PayeeProfileAdminControllerUnverifyData, type PayeeProfileAdminControllerUnverifyResponse, type PayeeProfileAdminControllerUpdateData, type PayeeProfileAdminControllerUpdateResponse, type PayeeProfileAdminControllerVerifyData, type PayeeProfileAdminControllerVerifyResponse, type PayeeProfileListResponseDto, type PayeeProfileResponseDto, type PayeeResponseDto, type PayeeStatsResponseDto, type PlatformControllerCreateData, type PlatformControllerCreateResponse, type PlatformControllerDeleteData, type PlatformControllerDeleteResponse, type PlatformControllerFindAllResponse, type PlatformControllerGetPlatformListResponse, type PlatformControllerMatchPlatformsData, type PlatformControllerMatchPlatformsResponse, type PlatformControllerUpdateData, type PlatformControllerUpdateResponse, type PlatformGroupDto, type PortfolioTrendsResponseDto, type PostingDetailDto, type PostingResponseDto, type PriceControllerBulkCreateData, type PriceControllerBulkCreateResponse, type PriceControllerCreateData, type PriceControllerCreateResponse, type PriceControllerDeleteData, type PriceControllerDeleteResponse, type PriceControllerFindAllData, type PriceControllerFindAllResponse, type PriceControllerFindOneData, type PriceControllerFindOneResponse, type PriceControllerUpdateData, type PriceControllerUpdateResponse, type PriceListResponseDto, type PriceResponseDto, type ProcessNlpDto, type PropertyControllerDeleteData, type PropertyControllerDeleteResponse, type PropertyControllerGetAllResponse, type PropertyControllerGetByKeyData, type PropertyControllerGetByKeyResponse, type PropertyControllerUpdateData, type PropertyControllerUpdateResponse, type ProviderSyncConfigDto, type ProviderSyncControllerGetSupportedProvidersData, type ProviderSyncControllerGetSupportedProvidersResponse, type ProviderSyncControllerIsProviderSupportedData, type ProviderSyncControllerIsProviderSupportedResponse, type ProviderSyncControllerSyncData, type ProviderSyncControllerSyncResponse, type ProviderSyncDto, type ProviderSyncResponseDto, ProviderSyncService, type ReconciliationComputeResultDto, type ReconciliationControllerAssertData, type ReconciliationControllerAssertResponse, type ReconciliationControllerComputeData, type ReconciliationControllerComputeResponse, type ReconciliationControllerHistoryData, type ReconciliationControllerHistoryResponse, type ReconciliationControllerPadData, type ReconciliationControllerPadResponse, type ReconciliationRecordDto, type RecurringMatchInfoDto, type RecurringRuleControllerCreateData, type RecurringRuleControllerCreateFromTransactionData, type RecurringRuleControllerCreateFromTransactionResponse, type RecurringRuleControllerCreateResponse, type RecurringRuleControllerDeleteData, type RecurringRuleControllerDeleteResponse, type RecurringRuleControllerFindAllData, type RecurringRuleControllerFindAllResponse, type RecurringRuleControllerFindOneData, type RecurringRuleControllerFindOneResponse, type RecurringRuleControllerGetWithStatsData, type RecurringRuleControllerGetWithStatsResponse, type RecurringRuleControllerUpdateData, type RecurringRuleControllerUpdateResponse, type RecurringRuleResponseDto, type RecurringRuleWithStatsResponseDto, type RecurringSuggestionDto, type RegionConfigDto, type RegionInfoDto, type RegionsMetadataResponseDto, type ReopenAccountDto, type ReportingControllerBackfillSnapshotsData, type ReportingControllerBackfillSnapshotsResponse, type ReportingControllerGenerateSnapshotData, type ReportingControllerGenerateSnapshotResponse, type ReportingControllerGetCashFlowTrendsData, type ReportingControllerGetCashFlowTrendsResponse, type ReportingControllerGetPortfolioTrendsData, type ReportingControllerGetPortfolioTrendsResponse, type ResolveResultDto, type ResolveReviewDto, type ReviewControllerBatchResolveData, type ReviewControllerBatchResolveResponse, type ReviewControllerFindAllData, type ReviewControllerFindAllResponse, type ReviewControllerFindOneData, type ReviewControllerFindOneResponse, type ReviewControllerGetStatsData, type ReviewControllerGetStatsResponse, type ReviewControllerResolveData, type ReviewControllerResolveResponse, type ReviewControllerUndoData, type ReviewControllerUndoResponse, type ReviewDetailDto, type ReviewItemPreviewDto, type ReviewListResponseDto, type ReviewStatsDto, type ReviewSummaryDto, type RuleStatisticsResponseDto, type SignupDto, type SupportedProvidersResponseDto, type TagSuggestionDto, type TagSuggestionsResponseDto, type TelemetryControllerGetCoverageMetricsData, type TelemetryControllerGetCoverageMetricsResponse, type TelemetryControllerReportCoverageMissData, type TelemetryControllerReportCoverageMissResponse, type TelemetryControllerReportTelemetryData, type TelemetryControllerReportTelemetryResponse, type TemplateMetadataDto, type TemplateMetadataResponseDto, type TestRuleDto, type TestRuleResponseDto, type TimeSeriesPointDto, type TransactionControllerCorrectData, type TransactionControllerCorrectResponse, type TransactionControllerCreateBatchData, type TransactionControllerCreateBatchResponse, type TransactionControllerCreateData, type TransactionControllerCreateResponse, type TransactionControllerDeleteData, type TransactionControllerDeleteResponse, type TransactionControllerGetDetailData, type TransactionControllerGetDetailResponse, type TransactionControllerListData, type TransactionControllerListResponse, type TransactionControllerSuggestTagsData, type TransactionControllerSuggestTagsResponse, type TransactionControllerUpdateData, type TransactionControllerUpdateResponse, type TransactionDetailDto, type TransactionListResponseDto, type TransactionListSummaryDto, type TransactionResponseDto, type TransactionRuleControllerBulkCreateData, type TransactionRuleControllerBulkCreateResponse, type TransactionRuleControllerCreateData, type TransactionRuleControllerCreateResponse, type TransactionRuleControllerDeleteData, type TransactionRuleControllerDeleteResponse, type TransactionRuleControllerExportData, type TransactionRuleControllerExportResponse, type TransactionRuleControllerGetDetailData, type TransactionRuleControllerGetDetailResponse, type TransactionRuleControllerGetStatisticsData, type TransactionRuleControllerGetStatisticsResponse, type TransactionRuleControllerListData, type TransactionRuleControllerListResponse, type TransactionRuleControllerTestData, type TransactionRuleControllerTestResponse, type TransactionRuleControllerUpdateData, type TransactionRuleControllerUpdateResponse, type TransactionRuleControllerValidateData, type TransactionRuleControllerValidateResponse, type TransactionRuleListResponseDto, type TransactionRuleResponseDto, type TransactionSummaryDto, type TrendSummaryDto, type UncoveredFormatMissDto, type UndoResultDto, type UpdateAccountDto, type UpdateBeanEventDto, type UpdateBeanPriceDto, type UpdateCommodityDto, type UpdateConfigDataDto, type UpdateImporterConfigDto, type UpdateMapperDefaultsDto, type UpdatePayeeDto, type UpdatePayeeProfileDto, type UpdatePlatformDto, type UpdatePropertyDto, type UpdateRecurringRuleDto, type UpdateTransactionDto, type UpdateTransactionRuleDto, type UpdateUserSettingDto, type UserControllerDeleteOwnUserData, type UserControllerDeleteOwnUserResponse, type UserControllerDeleteUserData, type UserControllerDeleteUserResponse, type UserControllerGetAllUserSettingsByPageData, type UserControllerGetAllUserSettingsByPageResponse, type UserControllerGetAssetLiabilitySummaryResponse, type UserControllerGetUserData, type UserControllerGetUserInfoData, type UserControllerGetUserInfoResponse, type UserControllerGetUserResponse, type UserControllerSignupUserData, type UserControllerSignupUserResponse, type UserControllerUpdateUserSettingData, type UserControllerUpdateUserSettingResponse, type ValidateRuleDto, type ValidateRuleResponseDto, type VersionedConfigDto, type action, type action2, type assetClass, type assetSubType, type bookingMethod, type branchType, type category, type chartToken, type colorScheme, type confidenceLevel, type conflictStrategy, type dataSource, type equitySubType, type flag, type flag2, type frequency, type importerId, type intent, type investmentAction, type learningSource, type liabilitySubType, type matchLogic, type method, type mode, type paymentSource, type period, type provider, type source, type source2, type source3, type status, type status2, type status3, type status4, type suggestedAction, type suggestedFrequency, type type, type type2, type type3, type type4, type value, type viewMode };
9299
+ export { type $OpenApiTs, type AccountControllerAddOpeningBalanceData, type AccountControllerAddOpeningBalanceResponse, type AccountControllerCloseData, type AccountControllerCloseResponse, type AccountControllerCreateData, type AccountControllerCreateResponse, type AccountControllerDeleteData, type AccountControllerDeleteResponse, type AccountControllerFindAllData, type AccountControllerFindAllResponse, type AccountControllerFindOneData, type AccountControllerFindOneResponse, type AccountControllerReopenData, type AccountControllerReopenResponse, type AccountControllerUpdateData, type AccountControllerUpdateResponse, type AccountExchangeRateWarningDto, type AccountItemDto, type AccountItemWithAssetClassDto, type AccountListResponseDto, type AccountResponseDto, type AccountStandardListResponseDto, type AccountStandardResponseDto, type AccountStandardsControllerGetRegionsData, type AccountStandardsControllerGetRegionsResponse, type AccountStandardsControllerGetTemplateMetadataData, type AccountStandardsControllerGetTemplateMetadataResponse, type AccountStandardsControllerGetTemplatesData, type AccountStandardsControllerGetTemplatesResponse, type AccountsResponseDto, type AccountsSummaryDto, type ActualBalanceDto, type AmountDto, type AmountRangeDto, type AnonymousLoginDto, type AnonymousLoginResponseDto, type ApiKeysControllerCreateApiKeyResponse, type ApiProblemResponseDto, type AssertReconciliationDto, type AssetClassAccountsResponseDto, type AssetClassGroupDto, type AssetClassSummaryDto, type AuthControllerAccessTokenLoginData, type AuthControllerAccessTokenLoginResponse, type BackfillSnapshotsBody, type BackfillSnapshotsResponse, type BalanceByCurrencyDto, type BalanceControllerGetBalanceData, type BalanceControllerGetBalanceResponse, type BalanceControllerGetMultiCurrencyBalanceData, type BalanceControllerGetMultiCurrencyBalanceResponse, type BalanceResponseDto, type BatchCreateTransactionDto, type BatchResolveDto, type BatchResolveResultDto, type BatchTransactionErrorDto, type BatchTransactionResponseDto, BeanAccountsService, BeanBalancesService, BeanCommoditiesService, BeanTransactionsService, type BulkCreateRulesDto, type BulkCreateRulesResponseDto, type CacheControllerFlushCacheResponse, type CashFlowByCurrencyDto, type CashFlowPointDto, type CashFlowResponseDto, type CashFlowTrendSummaryDto, type CashFlowTrendsResponseDto, type CategoryGroupDto, type CloseAccountDto, type CommodityControllerBulkCreateData, type CommodityControllerBulkCreateResponse, type CommodityControllerCreateData, type CommodityControllerCreateResponse, type CommodityControllerDeleteData, type CommodityControllerDeleteResponse, type CommodityControllerFindAllData, type CommodityControllerFindAllResponse, type CommodityControllerFindOneData, type CommodityControllerFindOneResponse, type CommodityControllerGetOrCreateData, type CommodityControllerGetOrCreateResponse, type CommodityControllerUpdateData, type CommodityControllerUpdateResponse, type CommodityListResponseDto, type CommodityResponseDto, type ComputeReconciliationDto, type ConfirmMatchDto, type ConvertedCashFlowDto, type ConvertedNetWorthDto, type CorrectTransactionDto, type CostDetailDto, type CostSpecDto, type CreateAccountDto, type CreateBeanEventDto, type CreateBeanPriceDto, type CreateCommodityDto, type CreateExternalAccountLinkDto, type CreateOpeningBalanceDto, type CreatePayeeDto, type CreatePayeeProfileDto, type CreatePlatformDto, type CreatePostingDto, type CreateRecurringRuleDto, type CreateRuleFromTransactionDto, type CreateTransactionDto, type CreateTransactionRuleDto, type CurrencyBalanceDto, type CurrentPriceDto, type DashboardControllerGetAccountsData, type DashboardControllerGetAccountsResponse, type DashboardControllerGetCashFlowData, type DashboardControllerGetCashFlowResponse, type DashboardControllerGetExpensesData, type DashboardControllerGetExpensesResponse, type DashboardControllerGetNetWorthData, type DashboardControllerGetNetWorthResponse, type DecisionOptionDto, type DeleteOwnUserDto, type EnterNowDto, type EventControllerCreateData, type EventControllerCreateResponse, type EventControllerDeleteData, type EventControllerDeleteResponse, type EventControllerFindAllData, type EventControllerFindAllResponse, type EventControllerFindOneData, type EventControllerFindOneResponse, type EventControllerGetSliceData, type EventControllerGetSliceResponse, type EventControllerUpdateData, type EventControllerUpdateResponse, type EventListResponseDto, type EventResponseDto, type ExchangeRateControllerGetExchangeRateData, type ExchangeRateControllerGetExchangeRateResponse, type ExchangeRateWarningDto, type ExpectedTransactionControllerConfirmMatchData, type ExpectedTransactionControllerConfirmMatchResponse, type ExpectedTransactionControllerEnterNowData, type ExpectedTransactionControllerEnterNowResponse, type ExpectedTransactionControllerFindAllData, type ExpectedTransactionControllerFindAllResponse, type ExpectedTransactionControllerFindOneData, type ExpectedTransactionControllerFindOneResponse, type ExpectedTransactionControllerFindOverdueData, type ExpectedTransactionControllerFindOverdueResponse, type ExpectedTransactionControllerSkipData, type ExpectedTransactionControllerSkipResponse, type ExpectedTransactionControllerUndoSkipData, type ExpectedTransactionControllerUndoSkipResponse, type ExpectedTransactionControllerUnmatchData, type ExpectedTransactionControllerUnmatchResponse, type ExpectedTransactionListResponseDto, type ExpectedTransactionResponseDto, type ExpectedTransactionRuleDto, type ExpensesByCategoryResponseDto, type ExpensesByCategorySummaryDto, type ExportControllerExportBeancountResponse, type ExportRulesResponseDto, type ExternalAccountLinkControllerCreateData, type ExternalAccountLinkControllerCreateResponse, type ExternalAccountLinkControllerFindAllData, type ExternalAccountLinkControllerFindAllResponse, type ExternalAccountLinkControllerFindOneData, type ExternalAccountLinkControllerFindOneResponse, type ExternalAccountLinkControllerRemoveData, type ExternalAccountLinkControllerRemoveResponse, type ExternalAccountLinkListResponseDto, type ExternalAccountLinkResponseDto, type FileImportControllerIdentifyFileData, type FileImportControllerIdentifyFileResponse, type FileImportControllerImportBeancountData, type FileImportControllerImportBeancountResponse, type FileImportControllerImportFileData, type FileImportControllerImportFileResponse, type FileImportDto, type ForecastControllerGetForecastData, type ForecastControllerGetForecastResponse, type ForecastItemDto, type ForecastResponseDto, type FxRateDto, type GenerateSnapshotBody, type GenerateSnapshotResponse, type HealthControllerCheckDatabaseResponse, type HealthControllerCheckOpenBbResponse, type HealthControllerCheckRedisResponse, type HealthControllerGetCircuitBreakersHealthResponse, type HealthControllerGetHealthResponse, type HealthControllerGetMetricsResponse, type HealthControllerResetCircuitBreakerData, type HealthControllerResetCircuitBreakerResponse, HealthService, type HoldingAssetClassAccountSliceDto, type HoldingAssetClassCrossAccountResponseDto, type HoldingPnlControllerGetHoldingPnlData, type HoldingPnlControllerGetHoldingPnlResponse, type HoldingPnlResponseDto, type HoldingPnlRowDto, type HoldingPnlWarningDto, type IdentifyResultDto, type ImportErrorDto, type ImportResultDto, type ImporterConfigControllerGetConfigData, type ImporterConfigControllerGetConfigResponse, type ImporterConfigControllerResetConfigData, type ImporterConfigControllerResetConfigResponse, type ImporterConfigControllerUpdateConfigData, type ImporterConfigControllerUpdateConfigResponse, type ImporterConfigDataDto, type ImporterConfigDto, type InfoControllerGetInfoResponse, type MapperDefaultsDto, type MonetaryDto, type MonthlyForecastDto, type MultiCurrencyBalanceResponseDto, type MultiCurrencyPointDto, type NetWorthByCurrencyDto, type NetWorthResponseDto, type NlpAccountConfirmationDataDto, type NlpAlternativePayeeDto, type NlpControllerClearSessionData, type NlpControllerClearSessionResponse, type NlpControllerGetSessionData, type NlpControllerGetSessionResponse, type NlpControllerProcessNaturalLanguageData, type NlpControllerProcessNaturalLanguageResponse, type NlpDefaultAccountsDto, type NlpDuplicateConfirmationDataDto, type NlpParsedDataDto, type NlpPayeeConfirmationDataDto, type NlpResponseDto, type NlpRuleConfirmationDataDto, type NlpSimilarityDto, type NlpSourceTransactionDto, type NlpSuggestedAccountDto, type NlpSuggestedAccountsDto, type NlpSuggestedPayeeDto, type NlpTargetTransactionDto, type NlpTransactionInfoDto, type OnboardingAccountDto, type OnboardingControllerBootstrapData, type OnboardingControllerBootstrapResponse, type OnboardingDto, OpenAPI, type OpenAPIConfig, type OpeningBalanceResultDto, type PadReconciliationDto, type PadResultDto, type ParserTelemetryReportDto, type PayeeAutocompleteResponseDto, type PayeeControllerAutocompleteData, type PayeeControllerAutocompleteResponse, type PayeeControllerCreateData, type PayeeControllerCreateResponse, type PayeeControllerDeleteData, type PayeeControllerDeleteResponse, type PayeeControllerFindAllData, type PayeeControllerFindAllResponse, type PayeeControllerFindOneData, type PayeeControllerFindOneResponse, type PayeeControllerGetTopPayeesData, type PayeeControllerGetTopPayeesResponse, type PayeeControllerUpdateData, type PayeeControllerUpdateResponse, type PayeeListResponseDto, type PayeeProfileAdminControllerCreateData, type PayeeProfileAdminControllerCreateResponse, type PayeeProfileAdminControllerDeleteData, type PayeeProfileAdminControllerDeleteResponse, type PayeeProfileAdminControllerFindAllData, type PayeeProfileAdminControllerFindAllResponse, type PayeeProfileAdminControllerFindOneData, type PayeeProfileAdminControllerFindOneResponse, type PayeeProfileAdminControllerUnverifyData, type PayeeProfileAdminControllerUnverifyResponse, type PayeeProfileAdminControllerUpdateData, type PayeeProfileAdminControllerUpdateResponse, type PayeeProfileAdminControllerVerifyData, type PayeeProfileAdminControllerVerifyResponse, type PayeeProfileListResponseDto, type PayeeProfileResponseDto, type PayeeResponseDto, type PayeeStatsResponseDto, type PlatformControllerCreateData, type PlatformControllerCreateResponse, type PlatformControllerDeleteData, type PlatformControllerDeleteResponse, type PlatformControllerFindAllResponse, type PlatformControllerGetPlatformListResponse, type PlatformControllerMatchPlatformsData, type PlatformControllerMatchPlatformsResponse, type PlatformControllerUpdateData, type PlatformControllerUpdateResponse, type PlatformGroupDto, type PlatformListItemDto, type PlatformMatchResponseDto, type PlatformMatchResultDto, type PortfolioTrendsResponseDto, type PostingDetailDto, type PostingResponseDto, type PriceControllerBulkCreateData, type PriceControllerBulkCreateResponse, type PriceControllerCreateData, type PriceControllerCreateResponse, type PriceControllerDeleteData, type PriceControllerDeleteResponse, type PriceControllerFindAllData, type PriceControllerFindAllResponse, type PriceControllerFindOneData, type PriceControllerFindOneResponse, type PriceControllerUpdateData, type PriceControllerUpdateResponse, type PriceListResponseDto, type PriceResponseDto, type ProcessNlpDto, type PropertyControllerDeleteData, type PropertyControllerDeleteResponse, type PropertyControllerGetAllResponse, type PropertyControllerGetByKeyData, type PropertyControllerGetByKeyResponse, type PropertyControllerUpdateData, type PropertyControllerUpdateResponse, type ProviderSyncConfigDto, type ProviderSyncControllerGetSupportedProvidersData, type ProviderSyncControllerGetSupportedProvidersResponse, type ProviderSyncControllerIsProviderSupportedData, type ProviderSyncControllerIsProviderSupportedResponse, type ProviderSyncControllerSyncData, type ProviderSyncControllerSyncResponse, type ProviderSyncDto, type ProviderSyncResponseDto, ProviderSyncService, type ReconciliationComputeResultDto, type ReconciliationControllerAssertData, type ReconciliationControllerAssertResponse, type ReconciliationControllerComputeData, type ReconciliationControllerComputeResponse, type ReconciliationControllerHistoryData, type ReconciliationControllerHistoryResponse, type ReconciliationControllerPadData, type ReconciliationControllerPadResponse, type ReconciliationRecordDto, type RecurringMatchInfoDto, type RecurringRuleControllerCreateData, type RecurringRuleControllerCreateFromTransactionData, type RecurringRuleControllerCreateFromTransactionResponse, type RecurringRuleControllerCreateResponse, type RecurringRuleControllerDeleteData, type RecurringRuleControllerDeleteResponse, type RecurringRuleControllerFindAllData, type RecurringRuleControllerFindAllResponse, type RecurringRuleControllerFindOneData, type RecurringRuleControllerFindOneResponse, type RecurringRuleControllerGetWithStatsData, type RecurringRuleControllerGetWithStatsResponse, type RecurringRuleControllerUpdateData, type RecurringRuleControllerUpdateResponse, type RecurringRuleResponseDto, type RecurringRuleWithStatsResponseDto, type RecurringSuggestionDto, type RegionConfigDto, type RegionInfoDto, type RegionsMetadataResponseDto, type ReopenAccountDto, type ReportingControllerBackfillSnapshotsData, type ReportingControllerBackfillSnapshotsResponse, type ReportingControllerGenerateSnapshotData, type ReportingControllerGenerateSnapshotResponse, type ReportingControllerGetCashFlowTrendsData, type ReportingControllerGetCashFlowTrendsResponse, type ReportingControllerGetPortfolioTrendsData, type ReportingControllerGetPortfolioTrendsResponse, type ResolveResultDto, type ResolveReviewDto, type ReviewControllerBatchResolveData, type ReviewControllerBatchResolveResponse, type ReviewControllerFindAllData, type ReviewControllerFindAllResponse, type ReviewControllerFindOneData, type ReviewControllerFindOneResponse, type ReviewControllerGetStatsData, type ReviewControllerGetStatsResponse, type ReviewControllerResolveData, type ReviewControllerResolveResponse, type ReviewControllerUndoData, type ReviewControllerUndoResponse, type ReviewDetailDto, type ReviewItemPreviewDto, type ReviewListResponseDto, type ReviewStatsDto, type ReviewSummaryDto, type RuleStatisticsResponseDto, type SignupDto, type SignupResponseDto, type SupportedProvidersResponseDto, type TagSuggestionDto, type TagSuggestionsResponseDto, type TelemetryControllerGetCoverageMetricsData, type TelemetryControllerGetCoverageMetricsResponse, type TelemetryControllerReportCoverageMissData, type TelemetryControllerReportCoverageMissResponse, type TelemetryControllerReportTelemetryData, type TelemetryControllerReportTelemetryResponse, type TemplateMetadataDto, type TemplateMetadataResponseDto, type TestRuleDto, type TestRuleResponseDto, type TimeSeriesPointDto, type TransactionControllerCorrectData, type TransactionControllerCorrectResponse, type TransactionControllerCreateBatchData, type TransactionControllerCreateBatchResponse, type TransactionControllerCreateData, type TransactionControllerCreateResponse, type TransactionControllerDeleteData, type TransactionControllerDeleteResponse, type TransactionControllerGetDetailData, type TransactionControllerGetDetailResponse, type TransactionControllerListData, type TransactionControllerListResponse, type TransactionControllerSuggestTagsData, type TransactionControllerSuggestTagsResponse, type TransactionControllerUpdateData, type TransactionControllerUpdateResponse, type TransactionDetailDto, type TransactionListResponseDto, type TransactionListSummaryDto, type TransactionResponseDto, type TransactionRuleControllerBulkCreateData, type TransactionRuleControllerBulkCreateResponse, type TransactionRuleControllerCreateData, type TransactionRuleControllerCreateResponse, type TransactionRuleControllerDeleteData, type TransactionRuleControllerDeleteResponse, type TransactionRuleControllerExportData, type TransactionRuleControllerExportResponse, type TransactionRuleControllerGetDetailData, type TransactionRuleControllerGetDetailResponse, type TransactionRuleControllerGetStatisticsData, type TransactionRuleControllerGetStatisticsResponse, type TransactionRuleControllerListData, type TransactionRuleControllerListResponse, type TransactionRuleControllerTestData, type TransactionRuleControllerTestResponse, type TransactionRuleControllerUpdateData, type TransactionRuleControllerUpdateResponse, type TransactionRuleControllerValidateData, type TransactionRuleControllerValidateResponse, type TransactionRuleListResponseDto, type TransactionRuleResponseDto, type TransactionSummaryDto, type TrendSummaryDto, type UncoveredFormatMissDto, type UndoResultDto, type UpdateAccountDto, type UpdateBeanEventDto, type UpdateBeanPriceDto, type UpdateCommodityDto, type UpdateConfigDataDto, type UpdateImporterConfigDto, type UpdateMapperDefaultsDto, type UpdatePayeeDto, type UpdatePayeeProfileDto, type UpdatePlatformDto, type UpdatePropertyDto, type UpdateRecurringRuleDto, type UpdateTransactionDto, type UpdateTransactionRuleDto, type UpdateUserSettingDto, type UserControllerDeleteOwnUserData, type UserControllerDeleteOwnUserResponse, type UserControllerDeleteUserData, type UserControllerDeleteUserResponse, type UserControllerGetAllUserSettingsByPageData, type UserControllerGetAllUserSettingsByPageResponse, type UserControllerGetAssetLiabilitySummaryResponse, type UserControllerGetUserData, type UserControllerGetUserInfoData, type UserControllerGetUserInfoResponse, type UserControllerGetUserResponse, type UserControllerSignupUserData, type UserControllerSignupUserResponse, type UserControllerUpdateUserSettingData, type UserControllerUpdateUserSettingResponse, type ValidateRuleDto, type ValidateRuleResponseDto, type VersionedConfigDto, type action, type action2, type assetClass, type assetSubType, type bookingMethod, type branchType, type category, type chartToken, type colorScheme, type confidenceLevel, type conflictStrategy, type dataSource, type equitySubType, type flag, type flag2, type frequency, type importerId, type intent, type investmentAction, type learningSource, type liabilitySubType, type matchLogic, type matchType, type matchType2, type method, type mode, type paymentSource, type period, type provider, type role, type source, type source2, type source3, type status, type status2, type status3, type status4, type suggestedAction, type suggestedFrequency, type type, type type2, type type3, type type4, type value, type viewMode };