@firela/api-types 0.0.0-canary.b7a10435 → 0.0.0-canary.b8c7b056

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
@@ -78,6 +78,10 @@ type AccountResponseDto = {
78
78
  * Account type (root segment)
79
79
  */
80
80
  type: 'Assets' | 'Liabilities' | 'Income' | 'Expenses' | 'Equity';
81
+ /**
82
+ * Account-level asset sub-class (product type, e.g. STOCK/DEPOSIT/CREDIT_CARD/PERSONAL_LOAN). Computed from the account path via the asset-classifier (ADR-0077). Null for non-asset accounts (Income/Expenses/Equity) or unmatched paths.
83
+ */
84
+ assetSubClass?: 'DEPOSIT' | 'CASH' | 'MONEY_MARKET_FUND' | 'STOCK' | 'ETF' | 'MUTUAL_FUND' | 'EQUITY_COMPENSATION' | 'GOVERNMENT_BOND' | 'CORPORATE_BOND' | 'BOND_FUND' | 'PRIMARY_RESIDENCE' | 'INVESTMENT_PROPERTY' | 'REIT' | 'GOLD' | 'SILVER' | 'PRECIOUS_METAL' | 'PRECIOUS_METAL_FUND' | 'COMMODITY' | 'COMMODITY_FUND' | 'CRYPTOCURRENCY' | 'RETIREMENT_ACCOUNT' | 'HEALTH_ACCOUNT' | 'EDUCATION_ACCOUNT' | 'INSURANCE' | 'PRIVATE_EQUITY' | 'HEDGE_FUND' | 'COLLECTIBLES' | 'MORTGAGE' | 'STUDENT_LOAN' | 'CREDIT_CARD' | 'PERSONAL_LOAN' | 'ACCOUNTS_PAYABLE' | 'TAX_PAYABLE' | 'OTHER' | null;
81
85
  /**
82
86
  * Account status
83
87
  */
@@ -145,6 +149,10 @@ type AccountResponseDto = {
145
149
  * Account type (root segment)
146
150
  */
147
151
  type type = 'Assets' | 'Liabilities' | 'Income' | 'Expenses' | 'Equity';
152
+ /**
153
+ * Account-level asset sub-class (product type, e.g. STOCK/DEPOSIT/CREDIT_CARD/PERSONAL_LOAN). Computed from the account path via the asset-classifier (ADR-0077). Null for non-asset accounts (Income/Expenses/Equity) or unmatched paths.
154
+ */
155
+ type assetSubClass = 'DEPOSIT' | 'CASH' | 'MONEY_MARKET_FUND' | 'STOCK' | 'ETF' | 'MUTUAL_FUND' | 'EQUITY_COMPENSATION' | 'GOVERNMENT_BOND' | 'CORPORATE_BOND' | 'BOND_FUND' | 'PRIMARY_RESIDENCE' | 'INVESTMENT_PROPERTY' | 'REIT' | 'GOLD' | 'SILVER' | 'PRECIOUS_METAL' | 'PRECIOUS_METAL_FUND' | 'COMMODITY' | 'COMMODITY_FUND' | 'CRYPTOCURRENCY' | 'RETIREMENT_ACCOUNT' | 'HEALTH_ACCOUNT' | 'EDUCATION_ACCOUNT' | 'INSURANCE' | 'PRIVATE_EQUITY' | 'HEDGE_FUND' | 'COLLECTIBLES' | 'MORTGAGE' | 'STUDENT_LOAN' | 'CREDIT_CARD' | 'PERSONAL_LOAN' | 'ACCOUNTS_PAYABLE' | 'TAX_PAYABLE' | 'OTHER';
148
156
  /**
149
157
  * Account status
150
158
  */
@@ -246,7 +254,27 @@ type AccountStandardResponseDto = {
246
254
  * Icon identifier for UI display
247
255
  */
248
256
  icon: string;
257
+ /**
258
+ * Onboarding product category (coarse grouping derived from assetSubClass)
259
+ */
260
+ productCategory: 'cash' | 'investment' | 'credit_card' | 'loan' | 'payable_tax' | 'other';
261
+ /**
262
+ * Asset class (LIQUIDITY/EQUITY/.../LIABILITY), derived at read time from classification rules
263
+ */
264
+ assetClass?: 'LIQUIDITY' | 'EQUITY' | 'FIXED_INCOME' | 'PRECIOUS_METALS' | 'COMMODITY' | 'INSURANCE' | 'ALTERNATIVE_INVESTMENT' | 'PERSONAL_ASSETS' | 'LIABILITY' | 'REAL_ESTATE' | 'INDEX';
265
+ /**
266
+ * Asset sub-class (product type, derived at read time from classification rules)
267
+ */
268
+ assetSubClass?: string;
249
269
  };
270
+ /**
271
+ * Onboarding product category (coarse grouping derived from assetSubClass)
272
+ */
273
+ type productCategory = 'cash' | 'investment' | 'credit_card' | 'loan' | 'payable_tax' | 'other';
274
+ /**
275
+ * Asset class (LIQUIDITY/EQUITY/.../LIABILITY), derived at read time from classification rules
276
+ */
277
+ type assetClass = 'LIQUIDITY' | 'EQUITY' | 'FIXED_INCOME' | 'PRECIOUS_METALS' | 'COMMODITY' | 'INSURANCE' | 'ALTERNATIVE_INVESTMENT' | 'PERSONAL_ASSETS' | 'LIABILITY' | 'REAL_ESTATE' | 'INDEX';
250
278
  type AccountStandardListResponseDto = {
251
279
  /**
252
280
  * Array of account templates
@@ -2375,371 +2403,213 @@ type ForecastResponseDto = {
2375
2403
  */
2376
2404
  periodEnd: string;
2377
2405
  };
2378
- type CreateTransactionRuleDto = {
2379
- name: string;
2380
- description?: string;
2381
- narrationKeywords?: Array<unknown[]>;
2382
- payeeKeywords?: Array<unknown[]>;
2383
- categoryKeywords?: Array<unknown[]>;
2406
+ type CurrencyBalanceDto = {
2384
2407
  /**
2385
- * Payment method keywords (e.g., HuaBei, YuEBao)
2408
+ * ISO 4217 currency code
2386
2409
  */
2387
- methodKeywords?: Array<unknown[]>;
2410
+ currency: string;
2388
2411
  /**
2389
- * Destination account for expenses/income (e.g., Expenses:Food:Coffee)
2412
+ * Balance amount
2390
2413
  */
2391
- categoryAccount?: string;
2392
- matchLogic: 'OR' | 'AND';
2414
+ balance: string;
2415
+ };
2416
+ type TimeSeriesPointDto = {
2393
2417
  /**
2394
- * Minimum transaction amount (inclusive)
2418
+ * Date in YYYY-MM-DD format
2395
2419
  */
2396
- amountMin?: number;
2420
+ date: string;
2397
2421
  /**
2398
- * Maximum transaction amount (inclusive)
2422
+ * Value at this date (in base currency)
2399
2423
  */
2400
- amountMax?: number;
2401
- priority: number;
2402
- additionalTags?: Array<unknown[]>;
2403
- additionalMetadata?: {
2424
+ value: string;
2425
+ /**
2426
+ * Change from previous point
2427
+ */
2428
+ change?: {
2404
2429
  [key: string]: unknown;
2405
2430
  };
2406
2431
  /**
2407
- * If true, update existing rule with matching payeeKeywords[0] instead of creating new rule
2432
+ * Total assets at this date (in base currency)
2408
2433
  */
2409
- upsertByPayee?: boolean;
2410
- };
2411
- type matchLogic = 'OR' | 'AND';
2412
- type AmountRangeDto = {
2434
+ assets?: string;
2413
2435
  /**
2414
- * Minimum amount
2436
+ * Total liabilities at this date (in base currency)
2415
2437
  */
2416
- min?: number;
2438
+ liabilities?: string;
2417
2439
  /**
2418
- * Maximum amount
2440
+ * Multi-currency breakdown for this point
2419
2441
  */
2420
- max?: number;
2442
+ byCurrency?: Array<CurrencyBalanceDto>;
2421
2443
  };
2422
- type TransactionRuleResponseDto = {
2444
+ type TrendSummaryDto = {
2423
2445
  /**
2424
- * Rule ID
2446
+ * Value at start of period
2425
2447
  */
2426
- id: string;
2448
+ startValue: string;
2427
2449
  /**
2428
- * Rule name
2450
+ * Value at end of period
2429
2451
  */
2430
- name: string;
2452
+ endValue: string;
2431
2453
  /**
2432
- * Rule description
2454
+ * Total change over period
2433
2455
  */
2434
- description?: string;
2456
+ totalChange: string;
2435
2457
  /**
2436
- * Keywords to match in transaction narration
2458
+ * Total change percentage
2437
2459
  */
2438
- narrationKeywords: Array<string>;
2460
+ totalChangePercentage: string;
2461
+ };
2462
+ type MultiCurrencyPointDto = {
2439
2463
  /**
2440
- * Keywords to match in payee name
2464
+ * Date in YYYY-MM-DD format
2441
2465
  */
2442
- payeeKeywords: Array<string>;
2466
+ date: string;
2443
2467
  /**
2444
- * Keywords to match in category
2468
+ * Balances by currency
2445
2469
  */
2446
- categoryKeywords: Array<string>;
2470
+ byCurrency: Array<CurrencyBalanceDto>;
2471
+ };
2472
+ type PortfolioTrendsResponseDto = {
2447
2473
  /**
2448
- * Keywords to match in payment method
2474
+ * Time series data points
2449
2475
  */
2450
- methodKeywords: Array<string>;
2476
+ series: Array<TimeSeriesPointDto>;
2451
2477
  /**
2452
- * Destination account for categorization
2478
+ * Period summary
2453
2479
  */
2454
- categoryAccount?: string;
2480
+ summary: TrendSummaryDto;
2455
2481
  /**
2456
- * Keyword matching logic
2482
+ * Period requested
2457
2483
  */
2458
- matchLogic: 'OR' | 'AND';
2484
+ period: string;
2459
2485
  /**
2460
- * Amount range for matching
2486
+ * Data granularity
2461
2487
  */
2462
- amountRange?: AmountRangeDto;
2488
+ granularity: string;
2463
2489
  /**
2464
- * Rule priority (0-1000, higher = first match)
2490
+ * Base currency for converted values
2465
2491
  */
2466
- priority: number;
2492
+ currency: string;
2467
2493
  /**
2468
- * Whether the rule is enabled
2494
+ * Multi-currency time series (each point has currency breakdown)
2469
2495
  */
2470
- enabled: boolean;
2496
+ byCurrency?: Array<MultiCurrencyPointDto>;
2471
2497
  /**
2472
- * Learning source: NLP, REVIEW_CENTER, or null for manual
2498
+ * Exchange rate warnings
2473
2499
  */
2474
- learningSource?: 'NLP' | 'REVIEW_CENTER' | null;
2500
+ warnings?: Array<ExchangeRateWarningDto>;
2501
+ };
2502
+ type CashFlowPointDto = {
2475
2503
  /**
2476
- * Whether auto-apply is enabled for this rule
2504
+ * Month key (YYYY-MM)
2477
2505
  */
2478
- autoApplyEnabled: boolean;
2506
+ month: string;
2479
2507
  /**
2480
- * Number of confirmations for NLP-learned rules
2508
+ * Income in base currency (absolute, converted)
2481
2509
  */
2482
- confirmationCount: number;
2510
+ income: string;
2483
2511
  /**
2484
- * Additional tags
2512
+ * Expense in base currency (absolute, converted)
2485
2513
  */
2486
- additionalTags: Array<string>;
2514
+ expense: string;
2487
2515
  /**
2488
- * Additional metadata
2516
+ * netSavings = income − expense (savings positive)
2489
2517
  */
2490
- additionalMetadata?: {
2491
- [key: string]: string;
2492
- };
2518
+ netSavings: string;
2519
+ };
2520
+ type CashFlowTrendSummaryDto = {
2493
2521
  /**
2494
- * Created timestamp
2522
+ * Total income across the period
2495
2523
  */
2496
- createdAt: string;
2524
+ totalIncome: string;
2497
2525
  /**
2498
- * Updated timestamp
2526
+ * Total expense across the period
2499
2527
  */
2500
- updatedAt: string;
2501
- };
2502
- /**
2503
- * Learning source: NLP, REVIEW_CENTER, or null for manual
2504
- */
2505
- type learningSource = 'NLP' | 'REVIEW_CENTER';
2506
- type TransactionRuleListResponseDto = {
2507
- data: Array<TransactionRuleResponseDto>;
2528
+ totalExpense: string;
2508
2529
  /**
2509
- * Total count of rules
2530
+ * income − expense across the period
2510
2531
  */
2511
- total: number;
2532
+ totalNetSavings: string;
2512
2533
  /**
2513
- * Results per page
2534
+ * totalNetSavings divided by the window length (N months, incl. zero-filled)
2514
2535
  */
2515
- limit: number;
2536
+ averageMonthlyNetSavings: string;
2537
+ };
2538
+ type CashFlowTrendsResponseDto = {
2516
2539
  /**
2517
- * Pagination offset
2540
+ * Monthly cash-flow series (fixed N-month window, zero-filled)
2518
2541
  */
2519
- offset: number;
2520
- };
2521
- type ValidateRuleDto = {
2522
- name: string;
2523
- description?: string;
2524
- narrationKeywords?: Array<unknown[]>;
2525
- payeeKeywords?: Array<unknown[]>;
2526
- categoryKeywords?: Array<unknown[]>;
2542
+ series: Array<CashFlowPointDto>;
2527
2543
  /**
2528
- * Payment method keywords (e.g., HuaBei, YuEBao)
2544
+ * Period totals
2529
2545
  */
2530
- methodKeywords?: Array<unknown[]>;
2546
+ summary: CashFlowTrendSummaryDto;
2531
2547
  /**
2532
- * Destination account for expenses/income (e.g., Expenses:Food:Coffee)
2548
+ * Period requested
2533
2549
  */
2534
- categoryAccount?: string;
2535
- matchLogic: 'OR' | 'AND';
2550
+ period: string;
2536
2551
  /**
2537
- * Minimum transaction amount (inclusive)
2552
+ * Data granularity (v1 returns month buckets)
2538
2553
  */
2539
- amountMin?: number;
2554
+ granularity: string;
2540
2555
  /**
2541
- * Maximum transaction amount (inclusive)
2556
+ * Base currency for converted values
2542
2557
  */
2543
- amountMax?: number;
2544
- priority: number;
2545
- additionalTags?: Array<unknown[]>;
2546
- additionalMetadata?: {
2547
- [key: string]: unknown;
2548
- };
2558
+ currency: string;
2549
2559
  /**
2550
- * If true, update existing rule with matching payeeKeywords[0] instead of creating new rule
2560
+ * Exchange rate warnings (e.g. missing rate for a currency)
2551
2561
  */
2552
- upsertByPayee?: boolean;
2562
+ warnings?: Array<ExchangeRateWarningDto>;
2553
2563
  };
2554
- type ValidateRuleResponseDto = {
2564
+ type GenerateSnapshotBody = unknown;
2565
+ type GenerateSnapshotResponse = unknown;
2566
+ type BackfillSnapshotsBody = unknown;
2567
+ type BackfillSnapshotsResponse = unknown;
2568
+ type DeleteOwnUserDto = {
2555
2569
  /**
2556
- * Whether the rule configuration is valid
2570
+ * Access token for user verification
2557
2571
  */
2558
- valid: boolean;
2572
+ accessToken: string;
2573
+ };
2574
+ type SignupDto = {
2559
2575
  /**
2560
- * List of validation errors (empty if valid)
2576
+ * Cloudflare Turnstile verification token (optional when Turnstile disabled)
2561
2577
  */
2562
- errors: Array<unknown[]>;
2578
+ turnstileToken?: string;
2579
+ };
2580
+ type SignupResponseDto = {
2563
2581
  /**
2564
- * List of validation warnings (non-blocking issues)
2582
+ * JWT auth token
2565
2583
  */
2566
- warnings: Array<unknown[]>;
2567
- };
2568
- type BulkCreateRulesDto = {
2584
+ authToken: string;
2569
2585
  /**
2570
- * Array of rules to import
2586
+ * Auto-generated access token
2571
2587
  */
2572
- rules: Array<unknown[]>;
2588
+ accessToken: string;
2573
2589
  /**
2574
- * Conflict handling strategy: skip (default) ignores duplicates, replace soft-deletes existing rule
2590
+ * Assigned user role
2575
2591
  */
2576
- conflictStrategy: 'replace' | 'skip';
2592
+ role: 'USER' | 'ADMIN' | 'DEMO' | 'INACTIVE' | 'PAID' | 'OPS';
2577
2593
  };
2578
2594
  /**
2579
- * Conflict handling strategy: skip (default) ignores duplicates, replace soft-deletes existing rule
2595
+ * Assigned user role
2580
2596
  */
2581
- type conflictStrategy = 'replace' | 'skip';
2582
- type BulkCreateRulesResponseDto = {
2597
+ type role = 'USER' | 'ADMIN' | 'DEMO' | 'INACTIVE' | 'PAID' | 'OPS';
2598
+ type UpdateUserSettingDto = {
2583
2599
  /**
2584
- * Number of successfully created rules
2600
+ * Security ID
2585
2601
  */
2586
- successCount: number;
2602
+ secId?: number;
2587
2603
  /**
2588
- * Number of failed rules
2604
+ * Annual interest rate
2589
2605
  */
2590
- failureCount: number;
2606
+ annualInterestRate?: number;
2591
2607
  /**
2592
- * Error details for failed rules
2608
+ * Currency code
2593
2609
  */
2594
- errors: Array<{
2595
- index?: number;
2596
- message?: string;
2597
- }>;
2610
+ currency?: string;
2598
2611
  /**
2599
- * IDs of successfully created rules
2600
- */
2601
- createdRuleIds: Array<string>;
2602
- };
2603
- type ExportRulesResponseDto = {
2604
- /**
2605
- * Export timestamp
2606
- */
2607
- exportedAt: string;
2608
- /**
2609
- * User ID
2610
- */
2611
- userId: string;
2612
- /**
2613
- * Number of exported rules
2614
- */
2615
- ruleCount: number;
2616
- /**
2617
- * Exported rules
2618
- */
2619
- rules: unknown[];
2620
- };
2621
- type RuleStatisticsResponseDto = {
2622
- /**
2623
- * Statistics time period
2624
- */
2625
- period: '7d' | '30d' | '90d';
2626
- /**
2627
- * Total number of rules
2628
- */
2629
- totalRules: number;
2630
- /**
2631
- * Number of rules with at least one match
2632
- */
2633
- rulesWithMatches: number;
2634
- /**
2635
- * Total number of matches across all rules
2636
- */
2637
- totalMatches: number;
2638
- /**
2639
- * Average confidence score across all matches
2640
- */
2641
- averageConfidence: number;
2642
- /**
2643
- * Per-rule statistics
2644
- */
2645
- ruleStats: Array<{
2646
- ruleId?: string;
2647
- ruleName?: string;
2648
- matchCount?: number;
2649
- averageConfidence?: number;
2650
- }>;
2651
- };
2652
- /**
2653
- * Statistics time period
2654
- */
2655
- type period = '7d' | '30d' | '90d';
2656
- type UpdateTransactionRuleDto = {
2657
- name?: string;
2658
- description?: string;
2659
- narrationKeywords?: Array<unknown[]>;
2660
- payeeKeywords?: Array<unknown[]>;
2661
- categoryKeywords?: Array<unknown[]>;
2662
- /**
2663
- * Payment method keywords (e.g., HuaBei, YuEBao)
2664
- */
2665
- methodKeywords?: Array<unknown[]>;
2666
- /**
2667
- * Destination account for expenses/income (e.g., Expenses:Food:Coffee)
2668
- */
2669
- categoryAccount?: string;
2670
- matchLogic?: 'OR' | 'AND';
2671
- /**
2672
- * Minimum transaction amount (inclusive)
2673
- */
2674
- amountMin?: number;
2675
- /**
2676
- * Maximum transaction amount (inclusive)
2677
- */
2678
- amountMax?: number;
2679
- priority?: number;
2680
- /**
2681
- * Enable or disable the rule
2682
- */
2683
- enabled?: boolean;
2684
- additionalTags?: Array<unknown[]>;
2685
- additionalMetadata?: {
2686
- [key: string]: unknown;
2687
- };
2688
- };
2689
- type TestRuleDto = {
2690
- narration: string;
2691
- payee?: string;
2692
- categoryAccount?: string;
2693
- amount?: number;
2694
- currency?: string;
2695
- };
2696
- type TestRuleResponseDto = {
2697
- /**
2698
- * Rule ID that was tested
2699
- */
2700
- ruleId: string;
2701
- /**
2702
- * Whether the rule matched the test data
2703
- */
2704
- matches: boolean;
2705
- /**
2706
- * Match confidence score (0-1)
2707
- */
2708
- confidence: number;
2709
- /**
2710
- * Details of which fields matched
2711
- */
2712
- matchDetails: {
2713
- [key: string]: unknown;
2714
- };
2715
- };
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
2612
+ * Base currency code
2743
2613
  */
2744
2614
  baseCurrency?: string;
2745
2615
  /**
@@ -2825,107 +2695,445 @@ type UpdatePropertyDto = {
2825
2695
  */
2826
2696
  value: string;
2827
2697
  };
2828
- type CreateBeanEventDto = {
2698
+ type CreateTransactionRuleDto = {
2699
+ name: string;
2700
+ description?: string;
2701
+ narrationKeywords?: Array<unknown[]>;
2702
+ payeeKeywords?: Array<unknown[]>;
2703
+ categoryKeywords?: Array<unknown[]>;
2829
2704
  /**
2830
- * Life event date (ISO 8601)
2705
+ * Payment method keywords (e.g., HuaBei, YuEBao)
2831
2706
  */
2832
- date: string;
2707
+ methodKeywords?: Array<unknown[]>;
2833
2708
  /**
2834
- * Life event type (e.g., "employer", "location", "marital-status") — user-defined, no enum constraint at engine layer
2709
+ * Destination account for expenses/income (e.g., Expenses:Food:Coffee)
2835
2710
  */
2836
- type: string;
2711
+ categoryAccount?: string;
2712
+ matchLogic: 'OR' | 'AND';
2837
2713
  /**
2838
- * Life event description. Empty string is a VALID value (distinct from absence).
2714
+ * Minimum transaction amount (inclusive)
2839
2715
  */
2840
- description: string;
2716
+ amountMin?: number;
2841
2717
  /**
2842
- * Product-side metadata (lives in BeanEvent.meta JSON, never in engine Event fields)
2718
+ * Maximum transaction amount (inclusive)
2843
2719
  */
2844
- meta?: {
2720
+ amountMax?: number;
2721
+ priority: number;
2722
+ additionalTags?: Array<unknown[]>;
2723
+ additionalMetadata?: {
2845
2724
  [key: string]: unknown;
2846
2725
  };
2726
+ /**
2727
+ * If true, update existing rule with matching payeeKeywords[0] instead of creating new rule
2728
+ */
2729
+ upsertByPayee?: boolean;
2847
2730
  };
2848
- type EventResponseDto = {
2731
+ type matchLogic = 'OR' | 'AND';
2732
+ type AmountRangeDto = {
2849
2733
  /**
2850
- * Unique identifier
2734
+ * Minimum amount
2851
2735
  */
2852
- id: string;
2736
+ min?: number;
2853
2737
  /**
2854
- * User ID (owner of the life event)
2738
+ * Maximum amount
2855
2739
  */
2856
- userId: string;
2740
+ max?: number;
2741
+ };
2742
+ type TransactionRuleResponseDto = {
2857
2743
  /**
2858
- * Life event date (ISO 8601 format)
2744
+ * Rule ID
2859
2745
  */
2860
- date: string;
2746
+ id: string;
2861
2747
  /**
2862
- * Life event type (user-defined, e.g., "employer", "location")
2748
+ * Rule name
2863
2749
  */
2864
- type: string;
2750
+ name: string;
2865
2751
  /**
2866
- * Life event description. May be an empty string (a valid value distinct from absence).
2752
+ * Rule description
2867
2753
  */
2868
- description: string;
2754
+ description?: string;
2869
2755
  /**
2870
- * Product-side metadata (free-form JSON)
2756
+ * Keywords to match in transaction narration
2871
2757
  */
2872
- meta: {
2873
- [key: string]: unknown;
2874
- };
2758
+ narrationKeywords: Array<string>;
2875
2759
  /**
2876
- * Creation timestamp
2760
+ * Keywords to match in payee name
2877
2761
  */
2878
- createdAt: string;
2762
+ payeeKeywords: Array<string>;
2879
2763
  /**
2880
- * Last update timestamp. Also emitted as the ETag response header for If-Match optimistic concurrency.
2764
+ * Keywords to match in category
2881
2765
  */
2882
- updatedAt: string;
2883
- };
2884
- type EventListResponseDto = {
2766
+ categoryKeywords: Array<string>;
2885
2767
  /**
2886
- * List of life events
2768
+ * Keywords to match in payment method
2887
2769
  */
2888
- items: Array<EventResponseDto>;
2770
+ methodKeywords: Array<string>;
2889
2771
  /**
2890
- * Total number of life events matching the query
2772
+ * Destination account for categorization
2891
2773
  */
2892
- total: number;
2893
- };
2894
- type UpdateBeanEventDto = {
2774
+ categoryAccount?: string;
2895
2775
  /**
2896
- * Life event date (ISO 8601)
2776
+ * Keyword matching logic
2897
2777
  */
2898
- date?: string;
2778
+ matchLogic: 'OR' | 'AND';
2899
2779
  /**
2900
- * Life event type (user-defined)
2780
+ * Amount range for matching
2901
2781
  */
2902
- type?: string;
2782
+ amountRange?: AmountRangeDto;
2903
2783
  /**
2904
- * Life event description. Empty string is a VALID value (distinct from absence).
2784
+ * Rule priority (0-1000, higher = first match)
2905
2785
  */
2906
- description?: string;
2786
+ priority: number;
2907
2787
  /**
2908
- * Product-side metadata (free-form JSON)
2788
+ * Whether the rule is enabled
2909
2789
  */
2910
- meta?: {
2911
- [key: string]: unknown;
2912
- };
2913
- };
2914
- type OnboardingAccountDto = {
2790
+ enabled: boolean;
2915
2791
  /**
2916
- * Account path (Assets/Liabilities only; format validated by the account service)
2792
+ * Learning source: NLP, REVIEW_CENTER, or null for manual
2917
2793
  */
2918
- path: string;
2794
+ learningSource?: 'NLP' | 'REVIEW_CENTER' | null;
2919
2795
  /**
2920
- * ISO 4217 currency code (3 letters)
2796
+ * Whether auto-apply is enabled for this rule
2921
2797
  */
2922
- currency: string;
2798
+ autoApplyEnabled: boolean;
2923
2799
  /**
2924
- * Opening balance as a non-negative Decimal string (e.g. "1000.00")
2800
+ * Number of confirmations for NLP-learned rules
2925
2801
  */
2926
- openingBalance?: string;
2802
+ confirmationCount: number;
2927
2803
  /**
2928
- * Platform ID to bind the account to (references Platform.id); omit for unbound
2804
+ * Additional tags
2805
+ */
2806
+ additionalTags: Array<string>;
2807
+ /**
2808
+ * Additional metadata
2809
+ */
2810
+ additionalMetadata?: {
2811
+ [key: string]: string;
2812
+ };
2813
+ /**
2814
+ * Created timestamp
2815
+ */
2816
+ createdAt: string;
2817
+ /**
2818
+ * Updated timestamp
2819
+ */
2820
+ updatedAt: string;
2821
+ };
2822
+ /**
2823
+ * Learning source: NLP, REVIEW_CENTER, or null for manual
2824
+ */
2825
+ type learningSource = 'NLP' | 'REVIEW_CENTER';
2826
+ type TransactionRuleListResponseDto = {
2827
+ data: Array<TransactionRuleResponseDto>;
2828
+ /**
2829
+ * Total count of rules
2830
+ */
2831
+ total: number;
2832
+ /**
2833
+ * Results per page
2834
+ */
2835
+ limit: number;
2836
+ /**
2837
+ * Pagination offset
2838
+ */
2839
+ offset: number;
2840
+ };
2841
+ type ValidateRuleDto = {
2842
+ name: string;
2843
+ description?: string;
2844
+ narrationKeywords?: Array<unknown[]>;
2845
+ payeeKeywords?: Array<unknown[]>;
2846
+ categoryKeywords?: Array<unknown[]>;
2847
+ /**
2848
+ * Payment method keywords (e.g., HuaBei, YuEBao)
2849
+ */
2850
+ methodKeywords?: Array<unknown[]>;
2851
+ /**
2852
+ * Destination account for expenses/income (e.g., Expenses:Food:Coffee)
2853
+ */
2854
+ categoryAccount?: string;
2855
+ matchLogic: 'OR' | 'AND';
2856
+ /**
2857
+ * Minimum transaction amount (inclusive)
2858
+ */
2859
+ amountMin?: number;
2860
+ /**
2861
+ * Maximum transaction amount (inclusive)
2862
+ */
2863
+ amountMax?: number;
2864
+ priority: number;
2865
+ additionalTags?: Array<unknown[]>;
2866
+ additionalMetadata?: {
2867
+ [key: string]: unknown;
2868
+ };
2869
+ /**
2870
+ * If true, update existing rule with matching payeeKeywords[0] instead of creating new rule
2871
+ */
2872
+ upsertByPayee?: boolean;
2873
+ };
2874
+ type ValidateRuleResponseDto = {
2875
+ /**
2876
+ * Whether the rule configuration is valid
2877
+ */
2878
+ valid: boolean;
2879
+ /**
2880
+ * List of validation errors (empty if valid)
2881
+ */
2882
+ errors: Array<unknown[]>;
2883
+ /**
2884
+ * List of validation warnings (non-blocking issues)
2885
+ */
2886
+ warnings: Array<unknown[]>;
2887
+ };
2888
+ type BulkCreateRulesDto = {
2889
+ /**
2890
+ * Array of rules to import
2891
+ */
2892
+ rules: Array<unknown[]>;
2893
+ /**
2894
+ * Conflict handling strategy: skip (default) ignores duplicates, replace soft-deletes existing rule
2895
+ */
2896
+ conflictStrategy: 'replace' | 'skip';
2897
+ };
2898
+ /**
2899
+ * Conflict handling strategy: skip (default) ignores duplicates, replace soft-deletes existing rule
2900
+ */
2901
+ type conflictStrategy = 'replace' | 'skip';
2902
+ type BulkCreateRulesResponseDto = {
2903
+ /**
2904
+ * Number of successfully created rules
2905
+ */
2906
+ successCount: number;
2907
+ /**
2908
+ * Number of failed rules
2909
+ */
2910
+ failureCount: number;
2911
+ /**
2912
+ * Error details for failed rules
2913
+ */
2914
+ errors: Array<{
2915
+ index?: number;
2916
+ message?: string;
2917
+ }>;
2918
+ /**
2919
+ * IDs of successfully created rules
2920
+ */
2921
+ createdRuleIds: Array<string>;
2922
+ };
2923
+ type ExportRulesResponseDto = {
2924
+ /**
2925
+ * Export timestamp
2926
+ */
2927
+ exportedAt: string;
2928
+ /**
2929
+ * User ID
2930
+ */
2931
+ userId: string;
2932
+ /**
2933
+ * Number of exported rules
2934
+ */
2935
+ ruleCount: number;
2936
+ /**
2937
+ * Exported rules
2938
+ */
2939
+ rules: unknown[];
2940
+ };
2941
+ type RuleStatisticsResponseDto = {
2942
+ /**
2943
+ * Statistics time period
2944
+ */
2945
+ period: '7d' | '30d' | '90d';
2946
+ /**
2947
+ * Total number of rules
2948
+ */
2949
+ totalRules: number;
2950
+ /**
2951
+ * Number of rules with at least one match
2952
+ */
2953
+ rulesWithMatches: number;
2954
+ /**
2955
+ * Total number of matches across all rules
2956
+ */
2957
+ totalMatches: number;
2958
+ /**
2959
+ * Average confidence score across all matches
2960
+ */
2961
+ averageConfidence: number;
2962
+ /**
2963
+ * Per-rule statistics
2964
+ */
2965
+ ruleStats: Array<{
2966
+ ruleId?: string;
2967
+ ruleName?: string;
2968
+ matchCount?: number;
2969
+ averageConfidence?: number;
2970
+ }>;
2971
+ };
2972
+ /**
2973
+ * Statistics time period
2974
+ */
2975
+ type period = '7d' | '30d' | '90d';
2976
+ type UpdateTransactionRuleDto = {
2977
+ name?: string;
2978
+ description?: string;
2979
+ narrationKeywords?: Array<unknown[]>;
2980
+ payeeKeywords?: Array<unknown[]>;
2981
+ categoryKeywords?: Array<unknown[]>;
2982
+ /**
2983
+ * Payment method keywords (e.g., HuaBei, YuEBao)
2984
+ */
2985
+ methodKeywords?: Array<unknown[]>;
2986
+ /**
2987
+ * Destination account for expenses/income (e.g., Expenses:Food:Coffee)
2988
+ */
2989
+ categoryAccount?: string;
2990
+ matchLogic?: 'OR' | 'AND';
2991
+ /**
2992
+ * Minimum transaction amount (inclusive)
2993
+ */
2994
+ amountMin?: number;
2995
+ /**
2996
+ * Maximum transaction amount (inclusive)
2997
+ */
2998
+ amountMax?: number;
2999
+ priority?: number;
3000
+ /**
3001
+ * Enable or disable the rule
3002
+ */
3003
+ enabled?: boolean;
3004
+ additionalTags?: Array<unknown[]>;
3005
+ additionalMetadata?: {
3006
+ [key: string]: unknown;
3007
+ };
3008
+ };
3009
+ type TestRuleDto = {
3010
+ narration: string;
3011
+ payee?: string;
3012
+ categoryAccount?: string;
3013
+ amount?: number;
3014
+ currency?: string;
3015
+ };
3016
+ type TestRuleResponseDto = {
3017
+ /**
3018
+ * Rule ID that was tested
3019
+ */
3020
+ ruleId: string;
3021
+ /**
3022
+ * Whether the rule matched the test data
3023
+ */
3024
+ matches: boolean;
3025
+ /**
3026
+ * Match confidence score (0-1)
3027
+ */
3028
+ confidence: number;
3029
+ /**
3030
+ * Details of which fields matched
3031
+ */
3032
+ matchDetails: {
3033
+ [key: string]: unknown;
3034
+ };
3035
+ };
3036
+ type CreateBeanEventDto = {
3037
+ /**
3038
+ * Life event date (ISO 8601)
3039
+ */
3040
+ date: string;
3041
+ /**
3042
+ * Life event type (e.g., "employer", "location", "marital-status") — user-defined, no enum constraint at engine layer
3043
+ */
3044
+ type: string;
3045
+ /**
3046
+ * Life event description. Empty string is a VALID value (distinct from absence).
3047
+ */
3048
+ description: string;
3049
+ /**
3050
+ * Product-side metadata (lives in BeanEvent.meta JSON, never in engine Event fields)
3051
+ */
3052
+ meta?: {
3053
+ [key: string]: unknown;
3054
+ };
3055
+ };
3056
+ type EventResponseDto = {
3057
+ /**
3058
+ * Unique identifier
3059
+ */
3060
+ id: string;
3061
+ /**
3062
+ * User ID (owner of the life event)
3063
+ */
3064
+ userId: string;
3065
+ /**
3066
+ * Life event date (ISO 8601 format)
3067
+ */
3068
+ date: string;
3069
+ /**
3070
+ * Life event type (user-defined, e.g., "employer", "location")
3071
+ */
3072
+ type: string;
3073
+ /**
3074
+ * Life event description. May be an empty string (a valid value distinct from absence).
3075
+ */
3076
+ description: string;
3077
+ /**
3078
+ * Product-side metadata (free-form JSON)
3079
+ */
3080
+ meta: {
3081
+ [key: string]: unknown;
3082
+ };
3083
+ /**
3084
+ * Creation timestamp
3085
+ */
3086
+ createdAt: string;
3087
+ /**
3088
+ * Last update timestamp. Also emitted as the ETag response header for If-Match optimistic concurrency.
3089
+ */
3090
+ updatedAt: string;
3091
+ };
3092
+ type EventListResponseDto = {
3093
+ /**
3094
+ * List of life events
3095
+ */
3096
+ items: Array<EventResponseDto>;
3097
+ /**
3098
+ * Total number of life events matching the query
3099
+ */
3100
+ total: number;
3101
+ };
3102
+ type UpdateBeanEventDto = {
3103
+ /**
3104
+ * Life event date (ISO 8601)
3105
+ */
3106
+ date?: string;
3107
+ /**
3108
+ * Life event type (user-defined)
3109
+ */
3110
+ type?: string;
3111
+ /**
3112
+ * Life event description. Empty string is a VALID value (distinct from absence).
3113
+ */
3114
+ description?: string;
3115
+ /**
3116
+ * Product-side metadata (free-form JSON)
3117
+ */
3118
+ meta?: {
3119
+ [key: string]: unknown;
3120
+ };
3121
+ };
3122
+ type OnboardingAccountDto = {
3123
+ /**
3124
+ * Account path (Assets/Liabilities only; format validated by the account service)
3125
+ */
3126
+ path: string;
3127
+ /**
3128
+ * ISO 4217 currency code (3 letters)
3129
+ */
3130
+ currency: string;
3131
+ /**
3132
+ * Opening balance as a non-negative Decimal string (e.g. "1000.00")
3133
+ */
3134
+ openingBalance?: string;
3135
+ /**
3136
+ * Platform ID to bind the account to (references Platform.id); omit for unbound
2929
3137
  */
2930
3138
  platformId?: string;
2931
3139
  };
@@ -3309,13 +3517,13 @@ type ProviderSyncConfigDto = {
3309
3517
  */
3310
3518
  defaultCurrency: string;
3311
3519
  /**
3312
- * Default expense account for the second posting
3520
+ * Default expense account for the second posting. Omit when no real default exists; the pipeline routes to Review via the Uncategorized sentinel (#618).
3313
3521
  */
3314
- defaultExpenseAccount: string;
3522
+ defaultExpenseAccount?: string;
3315
3523
  /**
3316
- * Default income account for the second posting
3524
+ * Default income account for the second posting. Omit when no real default exists; the pipeline routes to Review via the Uncategorized sentinel (#618).
3317
3525
  */
3318
- defaultIncomeAccount: string;
3526
+ defaultIncomeAccount?: string;
3319
3527
  /**
3320
3528
  * Filter pending transactions
3321
3529
  */
@@ -3427,6 +3635,14 @@ type ProcessNlpDto = {
3427
3635
  parsedData?: {
3428
3636
  [key: string]: unknown;
3429
3637
  };
3638
+ /**
3639
+ * confirm_rule echo-back: rule id selected from the prior confirm_rule response (matchedRule.id or alternatives[i].ruleId). Applied directly when the session is confirming_rule — no NL re-parse.
3640
+ */
3641
+ selectedRuleId?: string;
3642
+ /**
3643
+ * confirm_account echo-back: account path selected from the prior confirm_account response (suggestedAccount, similarAccounts[i], or a typed path). Applied directly when the session is confirming_account — no NL re-parse.
3644
+ */
3645
+ selectedAccount?: string;
3430
3646
  };
3431
3647
  type NlpTransactionInfoDto = {
3432
3648
  /**
@@ -3660,9 +3876,9 @@ type NlpAccountConfirmationDataDto = {
3660
3876
  */
3661
3877
  invalidAccount: string;
3662
3878
  /**
3663
- * Suggested replacement account
3879
+ * Suggested replacement account (omitted when no clear candidate)
3664
3880
  */
3665
- suggestedAccount: string;
3881
+ suggestedAccount?: string;
3666
3882
  /**
3667
3883
  * Similar accounts for user selection
3668
3884
  */
@@ -3784,7 +4000,7 @@ type NlpSuggestedAccountDto = {
3784
4000
  */
3785
4001
  account: string;
3786
4002
  /**
3787
- * Confidence score for this suggestion (0-1)
4003
+ * Confidence score for this suggestion (0-1). Present = predicted (confirm/confirm_rule/confirm_account); omitted = actual persisted account (created). (#586)
3788
4004
  */
3789
4005
  confidence?: number;
3790
4006
  };
@@ -3800,21 +4016,21 @@ type NlpSuggestedAccountsDto = {
3800
4016
  };
3801
4017
  type NlpDefaultAccountsDto = {
3802
4018
  /**
3803
- * Default asset account
4019
+ * Default OPEN asset account (MRU when multiple), or null when none/ambiguous
3804
4020
  */
3805
- asset: string;
4021
+ asset: string | null;
3806
4022
  /**
3807
- * Default expense account
4023
+ * Default OPEN expense account (MRU when multiple), or null when none/ambiguous
3808
4024
  */
3809
- expense: string;
4025
+ expense: string | null;
3810
4026
  /**
3811
- * Default income account
4027
+ * Default OPEN income account (MRU when multiple), or null when none/ambiguous
3812
4028
  */
3813
- income: string;
4029
+ income: string | null;
3814
4030
  /**
3815
- * Default liability account
4031
+ * Default OPEN liability account (MRU when multiple), or null when none/ambiguous
3816
4032
  */
3817
- liability: string;
4033
+ liability: string | null;
3818
4034
  };
3819
4035
  type NlpResponseDto = {
3820
4036
  /**
@@ -3824,7 +4040,7 @@ type NlpResponseDto = {
3824
4040
  /**
3825
4041
  * Action taken or requested
3826
4042
  */
3827
- action: 'created' | 'ask' | 'confirm' | 'confirm_duplicate' | 'confirm_rule' | 'confirm_account' | 'confirm_payee' | 'cancel';
4043
+ action: 'created' | 'ask' | 'confirm' | 'confirm_duplicate' | 'confirm_rule' | 'confirm_account' | 'confirm_payee' | 'cancel' | 'aborted';
3828
4044
  /**
3829
4045
  * Transaction intent detected by EntityRouter (v6.0: 5 core intents). Frontend uses this to render scenario-specific form fields.
3830
4046
  */
@@ -3913,11 +4129,11 @@ type NlpResponseDto = {
3913
4129
  */
3914
4130
  recurringSuggestion?: RecurringSuggestionDto;
3915
4131
  /**
3916
- * Suggested accounts for this transaction. Contains recommended source and destination accounts based on the detected intent and rules.
4132
+ * Suggested accounts for this transaction (#586). confirm/confirm_rule/confirm_account: predicted (source/destination carry confidence); created: actual persisted accounts (confidence omitted). confirm_account destination is the suggested replacement, never the invalid account.
3917
4133
  */
3918
4134
  suggestedAccounts?: NlpSuggestedAccountsDto;
3919
4135
  /**
3920
- * Default accounts for the user/region. These are fallback accounts used when no specific suggestion is available.
4136
+ * Default fallback accounts for the user/region (#586). v1 returns universal constants; per-user personalization is planned.
3921
4137
  */
3922
4138
  defaultAccounts?: NlpDefaultAccountsDto;
3923
4139
  };
@@ -3928,7 +4144,7 @@ type status4 = 'success' | 'pending' | 'error';
3928
4144
  /**
3929
4145
  * Action taken or requested
3930
4146
  */
3931
- type action2 = 'created' | 'ask' | 'confirm' | 'confirm_duplicate' | 'confirm_rule' | 'confirm_account' | 'confirm_payee' | 'cancel';
4147
+ type action2 = 'created' | 'ask' | 'confirm' | 'confirm_duplicate' | 'confirm_rule' | 'confirm_account' | 'confirm_payee' | 'cancel' | 'aborted';
3932
4148
  /**
3933
4149
  * Transaction intent detected by EntityRouter (v6.0: 5 core intents). Frontend uses this to render scenario-specific form fields.
3934
4150
  */
@@ -4353,10 +4569,6 @@ type AssetClassGroupDto = {
4353
4569
  */
4354
4570
  convertedBalance?: string;
4355
4571
  };
4356
- /**
4357
- * Asset class name
4358
- */
4359
- type assetClass = 'LIQUIDITY' | 'EQUITY' | 'FIXED_INCOME' | 'PRECIOUS_METALS' | 'COMMODITY' | 'INSURANCE' | 'ALTERNATIVE_INVESTMENT' | 'PERSONAL_ASSETS' | 'LIABILITY' | 'REAL_ESTATE' | 'INDEX';
4360
4572
  type AssetClassSummaryDto = {
4361
4573
  /**
4362
4574
  * Total number of accounts
@@ -4690,229 +4902,199 @@ type HoldingPnlRowDto = {
4690
4902
  costFxRate?: FxRateDto | null;
4691
4903
  /**
4692
4904
  * FX rate applied to market value
4693
- */
4694
- marketFxRate?: FxRateDto | null;
4695
- /**
4696
- * Share of invested assets % (Decimal string); only for invested chartTokens
4697
- */
4698
- pctOfInvestedAssets?: {
4699
- [key: string]: unknown;
4700
- } | null;
4701
- /**
4702
- * 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
4703
- */
4704
- realizedPnl?: MonetaryDto | null;
4705
- };
4706
- /**
4707
- * Chart segment token (libs/common resolver)
4708
- */
4709
- type chartToken = 'equity' | 'fund' | 'bond' | 'cash' | 'other';
4710
- type HoldingPnlWarningDto = {
4711
- /**
4712
- * Warning type
4713
- */
4714
- type: 'MISSING_COST_FX_RATE' | 'MISSING_MARKET_FX_RATE' | 'MISSING_SALE_PRICE' | 'MISSING_REALIZED_FX_RATE' | 'OVERSOLD_LOTS' | 'NO_PRICE' | 'MIXED_COST_CURRENCY';
4715
- symbol?: {
4716
- [key: string]: unknown;
4717
- } | null;
4718
- accountId?: {
4719
- [key: string]: unknown;
4720
- } | null;
4721
- currency?: {
4722
- [key: string]: unknown;
4723
- } | null;
4724
- };
4725
- /**
4726
- * Warning type
4727
- */
4728
- type type4 = 'MISSING_COST_FX_RATE' | 'MISSING_MARKET_FX_RATE' | 'MISSING_SALE_PRICE' | 'MISSING_REALIZED_FX_RATE' | 'OVERSOLD_LOTS' | 'NO_PRICE' | 'MIXED_COST_CURRENCY';
4729
- type HoldingPnlResponseDto = {
4730
- asOfDate: string;
4731
- baseCurrency: string;
4732
- /**
4733
- * Realized-P&L lot-matching method (FIFO or average). Unrealized cost basis remains average regardless of this value (#473).
4734
- */
4735
- method: 'average' | 'FIFO';
4736
- rows: Array<HoldingPnlRowDto>;
4737
- warnings: Array<HoldingPnlWarningDto>;
4738
- };
4739
- /**
4740
- * Realized-P&L lot-matching method (FIFO or average). Unrealized cost basis remains average regardless of this value (#473).
4741
- */
4742
- type method = 'average' | 'FIFO';
4743
- type CurrencyBalanceDto = {
4744
- /**
4745
- * ISO 4217 currency code
4746
- */
4747
- currency: string;
4748
- /**
4749
- * Balance amount
4750
- */
4751
- balance: string;
4752
- };
4753
- type TimeSeriesPointDto = {
4754
- /**
4755
- * Date in YYYY-MM-DD format
4756
- */
4757
- date: string;
4758
- /**
4759
- * Value at this date (in base currency)
4760
- */
4761
- value: string;
4762
- /**
4763
- * Change from previous point
4764
- */
4765
- change?: {
4766
- [key: string]: unknown;
4767
- };
4768
- /**
4769
- * Total assets at this date (in base currency)
4770
- */
4771
- assets?: string;
4772
- /**
4773
- * Total liabilities at this date (in base currency)
4774
- */
4775
- liabilities?: string;
4776
- /**
4777
- * Multi-currency breakdown for this point
4778
- */
4779
- byCurrency?: Array<CurrencyBalanceDto>;
4780
- };
4781
- type TrendSummaryDto = {
4782
- /**
4783
- * Value at start of period
4784
- */
4785
- startValue: string;
4786
- /**
4787
- * Value at end of period
4788
- */
4789
- endValue: string;
4790
- /**
4791
- * Total change over period
4792
- */
4793
- totalChange: string;
4794
- /**
4795
- * Total change percentage
4796
- */
4797
- totalChangePercentage: string;
4798
- };
4799
- type MultiCurrencyPointDto = {
4905
+ */
4906
+ marketFxRate?: FxRateDto | null;
4800
4907
  /**
4801
- * Date in YYYY-MM-DD format
4908
+ * Share of invested assets % (Decimal string); only for invested chartTokens
4802
4909
  */
4803
- date: string;
4910
+ pctOfInvestedAssets?: {
4911
+ [key: string]: unknown;
4912
+ } | null;
4804
4913
  /**
4805
- * Balances by currency
4914
+ * 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
4806
4915
  */
4807
- byCurrency: Array<CurrencyBalanceDto>;
4916
+ realizedPnl?: MonetaryDto | null;
4808
4917
  };
4809
- type PortfolioTrendsResponseDto = {
4918
+ /**
4919
+ * Chart segment token (libs/common resolver)
4920
+ */
4921
+ type chartToken = 'equity' | 'fund' | 'bond' | 'cash' | 'other';
4922
+ type HoldingPnlWarningDto = {
4810
4923
  /**
4811
- * Time series data points
4924
+ * Warning type
4812
4925
  */
4813
- series: Array<TimeSeriesPointDto>;
4926
+ type: 'MISSING_COST_FX_RATE' | 'MISSING_MARKET_FX_RATE' | 'MISSING_SALE_PRICE' | 'MISSING_REALIZED_FX_RATE' | 'OVERSOLD_LOTS' | 'NO_PRICE' | 'MIXED_COST_CURRENCY';
4927
+ symbol?: {
4928
+ [key: string]: unknown;
4929
+ } | null;
4930
+ accountId?: {
4931
+ [key: string]: unknown;
4932
+ } | null;
4933
+ currency?: {
4934
+ [key: string]: unknown;
4935
+ } | null;
4936
+ };
4937
+ /**
4938
+ * Warning type
4939
+ */
4940
+ type type4 = 'MISSING_COST_FX_RATE' | 'MISSING_MARKET_FX_RATE' | 'MISSING_SALE_PRICE' | 'MISSING_REALIZED_FX_RATE' | 'OVERSOLD_LOTS' | 'NO_PRICE' | 'MIXED_COST_CURRENCY';
4941
+ type HoldingPnlResponseDto = {
4942
+ asOfDate: string;
4943
+ baseCurrency: string;
4814
4944
  /**
4815
- * Period summary
4945
+ * Realized-P&L lot-matching method (FIFO or average). Unrealized cost basis remains average regardless of this value (#473).
4816
4946
  */
4817
- summary: TrendSummaryDto;
4947
+ method: 'average' | 'FIFO';
4948
+ rows: Array<HoldingPnlRowDto>;
4949
+ warnings: Array<HoldingPnlWarningDto>;
4950
+ };
4951
+ /**
4952
+ * Realized-P&L lot-matching method (FIFO or average). Unrealized cost basis remains average regardless of this value (#473).
4953
+ */
4954
+ type method = 'average' | 'FIFO';
4955
+ type AnonymousLoginDto = {
4818
4956
  /**
4819
- * Period requested
4957
+ * Access token for anonymous login
4820
4958
  */
4821
- period: string;
4959
+ accessToken: string;
4960
+ };
4961
+ type AnonymousLoginResponseDto = {
4822
4962
  /**
4823
- * Data granularity
4963
+ * JWT auth token
4824
4964
  */
4825
- granularity: string;
4965
+ authToken: string;
4966
+ };
4967
+ type SymbolSearchResultDto = {
4968
+ symbol: string;
4969
+ name?: {
4970
+ [key: string]: unknown;
4971
+ } | null;
4972
+ exchange?: {
4973
+ [key: string]: unknown;
4974
+ } | null;
4826
4975
  /**
4827
- * Base currency for converted values
4976
+ * OpenBB asset_type (e.g. stock, etf)
4828
4977
  */
4829
- currency: string;
4978
+ assetType?: {
4979
+ [key: string]: unknown;
4980
+ } | null;
4830
4981
  /**
4831
- * Multi-currency time series (each point has currency breakdown)
4982
+ * IGN asset class (region.types.ts ASSET_CLASSES)
4832
4983
  */
4833
- byCurrency?: Array<MultiCurrencyPointDto>;
4984
+ assetClass?: {
4985
+ [key: string]: unknown;
4986
+ } | null;
4834
4987
  /**
4835
- * Exchange rate warnings
4988
+ * IGN asset sub-class (region.types.ts ASSET_SUB_CLASSES)
4836
4989
  */
4837
- warnings?: Array<ExchangeRateWarningDto>;
4838
- };
4839
- type CashFlowPointDto = {
4990
+ assetSubClass?: {
4991
+ [key: string]: unknown;
4992
+ } | null;
4840
4993
  /**
4841
- * Month key (YYYY-MM)
4994
+ * Trading currency (extra_data or inferred from exchange)
4842
4995
  */
4843
- month: string;
4996
+ currency?: {
4997
+ [key: string]: unknown;
4998
+ } | null;
4999
+ };
5000
+ type SymbolQuoteDto = {
5001
+ symbol?: string;
5002
+ name?: {
5003
+ [key: string]: unknown;
5004
+ } | null;
5005
+ exchange?: {
5006
+ [key: string]: unknown;
5007
+ } | null;
4844
5008
  /**
4845
- * Income in base currency (absolute, converted)
5009
+ * OpenBB asset_type
4846
5010
  */
4847
- income: string;
5011
+ assetType?: {
5012
+ [key: string]: unknown;
5013
+ } | null;
4848
5014
  /**
4849
- * Expense in base currency (absolute, converted)
5015
+ * IGN asset class
4850
5016
  */
4851
- expense: string;
5017
+ assetClass?: {
5018
+ [key: string]: unknown;
5019
+ } | null;
4852
5020
  /**
4853
- * netSavings = income − expense (savings positive)
5021
+ * IGN asset sub-class
4854
5022
  */
4855
- netSavings: string;
4856
- };
4857
- type CashFlowTrendSummaryDto = {
5023
+ assetSubClass?: {
5024
+ [key: string]: unknown;
5025
+ } | null;
4858
5026
  /**
4859
- * Total income across the period
5027
+ * Trading currency (extra_data or inferred from exchange)
4860
5028
  */
4861
- totalIncome: string;
5029
+ currency?: {
5030
+ [key: string]: unknown;
5031
+ } | null;
4862
5032
  /**
4863
- * Total expense across the period
5033
+ * Latest price (Decimal string)
4864
5034
  */
4865
- totalExpense: string;
5035
+ price?: {
5036
+ [key: string]: unknown;
5037
+ } | null;
4866
5038
  /**
4867
- * income − expense across the period
5039
+ * Date the price was observed (ISO yyyy-MM-dd)
4868
5040
  */
4869
- totalNetSavings: string;
5041
+ priceDate?: {
5042
+ [key: string]: unknown;
5043
+ } | null;
4870
5044
  /**
4871
- * totalNetSavings divided by the window length (N months, incl. zero-filled)
5045
+ * Change vs previous close, in percentage points (1.7 == 1.7%). openbb stores change_percent as a normalized decimal; this exposes percentage points for frontend convenience.
4872
5046
  */
4873
- averageMonthlyNetSavings: string;
4874
- };
4875
- type CashFlowTrendsResponseDto = {
5047
+ changePercent?: {
5048
+ [key: string]: unknown;
5049
+ } | null;
4876
5050
  /**
4877
- * Monthly cash-flow series (fixed N-month window, zero-filled)
5051
+ * Previous close (Decimal string)
4878
5052
  */
4879
- series: Array<CashFlowPointDto>;
5053
+ prevClose?: {
5054
+ [key: string]: unknown;
5055
+ } | null;
4880
5056
  /**
4881
- * Period totals
5057
+ * Day open (Decimal string)
4882
5058
  */
4883
- summary: CashFlowTrendSummaryDto;
5059
+ open?: {
5060
+ [key: string]: unknown;
5061
+ } | null;
4884
5062
  /**
4885
- * Period requested
5063
+ * Day high (Decimal string)
4886
5064
  */
4887
- period: string;
5065
+ high?: {
5066
+ [key: string]: unknown;
5067
+ } | null;
4888
5068
  /**
4889
- * Data granularity (v1 returns month buckets)
5069
+ * Day low (Decimal string)
4890
5070
  */
4891
- granularity: string;
5071
+ low?: {
5072
+ [key: string]: unknown;
5073
+ } | null;
4892
5074
  /**
4893
- * Base currency for converted values
5075
+ * Day volume (Decimal string)
4894
5076
  */
4895
- currency: string;
5077
+ volume?: {
5078
+ [key: string]: unknown;
5079
+ } | null;
4896
5080
  /**
4897
- * Exchange rate warnings (e.g. missing rate for a currency)
5081
+ * 52-week high (Decimal string)
4898
5082
  */
4899
- warnings?: Array<ExchangeRateWarningDto>;
4900
- };
4901
- type GenerateSnapshotBody = unknown;
4902
- type GenerateSnapshotResponse = unknown;
4903
- type BackfillSnapshotsBody = unknown;
4904
- type BackfillSnapshotsResponse = unknown;
4905
- type AnonymousLoginDto = {
5083
+ yearHigh?: {
5084
+ [key: string]: unknown;
5085
+ } | null;
4906
5086
  /**
4907
- * Access token for anonymous login
5087
+ * 52-week low (Decimal string)
4908
5088
  */
4909
- accessToken: string;
5089
+ yearLow?: {
5090
+ [key: string]: unknown;
5091
+ } | null;
4910
5092
  };
4911
5093
  type AccountControllerCreateData = {
4912
5094
  /**
4913
5095
  * Region code for tenant context
4914
5096
  */
4915
- region: 'cn' | 'us' | 'de' | 'gb';
5097
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
4916
5098
  requestBody: CreateAccountDto;
4917
5099
  };
4918
5100
  type AccountControllerCreateResponse = AccountResponseDto;
@@ -4932,7 +5114,7 @@ type AccountControllerFindAllData = {
4932
5114
  /**
4933
5115
  * Region code for tenant context
4934
5116
  */
4935
- region: 'cn' | 'us' | 'de' | 'gb';
5117
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
4936
5118
  /**
4937
5119
  * Search term for account path
4938
5120
  */
@@ -4955,7 +5137,7 @@ type AccountControllerFindOneData = {
4955
5137
  /**
4956
5138
  * Region code for tenant context
4957
5139
  */
4958
- region: 'cn' | 'us' | 'de' | 'gb';
5140
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
4959
5141
  };
4960
5142
  type AccountControllerFindOneResponse = AccountResponseDto;
4961
5143
  type AccountControllerUpdateData = {
@@ -4966,7 +5148,7 @@ type AccountControllerUpdateData = {
4966
5148
  /**
4967
5149
  * Region code for tenant context
4968
5150
  */
4969
- region: 'cn' | 'us' | 'de' | 'gb';
5151
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
4970
5152
  requestBody: UpdateAccountDto;
4971
5153
  };
4972
5154
  type AccountControllerUpdateResponse = AccountResponseDto;
@@ -4978,7 +5160,7 @@ type AccountControllerDeleteData = {
4978
5160
  /**
4979
5161
  * Region code for tenant context
4980
5162
  */
4981
- region: 'cn' | 'us' | 'de' | 'gb';
5163
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
4982
5164
  };
4983
5165
  type AccountControllerDeleteResponse = void;
4984
5166
  type AccountControllerCloseData = {
@@ -4989,7 +5171,7 @@ type AccountControllerCloseData = {
4989
5171
  /**
4990
5172
  * Region code for tenant context
4991
5173
  */
4992
- region: 'cn' | 'us' | 'de' | 'gb';
5174
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
4993
5175
  requestBody: CloseAccountDto;
4994
5176
  };
4995
5177
  type AccountControllerCloseResponse = AccountResponseDto;
@@ -5001,7 +5183,7 @@ type AccountControllerReopenData = {
5001
5183
  /**
5002
5184
  * Region code for tenant context
5003
5185
  */
5004
- region: 'cn' | 'us' | 'de' | 'gb';
5186
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5005
5187
  requestBody: ReopenAccountDto;
5006
5188
  };
5007
5189
  type AccountControllerReopenResponse = AccountResponseDto;
@@ -5013,7 +5195,7 @@ type AccountControllerAddOpeningBalanceData = {
5013
5195
  /**
5014
5196
  * Region code for tenant context
5015
5197
  */
5016
- region: 'cn' | 'us' | 'de' | 'gb';
5198
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5017
5199
  requestBody: CreateOpeningBalanceDto;
5018
5200
  };
5019
5201
  type AccountControllerAddOpeningBalanceResponse = OpeningBalanceResultDto;
@@ -5021,7 +5203,7 @@ type AccountStandardsControllerGetTemplatesData = {
5021
5203
  /**
5022
5204
  * Region code (cn, us, de)
5023
5205
  */
5024
- region: 'cn' | 'us' | 'de' | 'gb';
5206
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5025
5207
  /**
5026
5208
  * Search term for path or description
5027
5209
  */
@@ -5040,21 +5222,21 @@ type AccountStandardsControllerGetTemplateMetadataData = {
5040
5222
  /**
5041
5223
  * Region code for tenant context
5042
5224
  */
5043
- region: 'cn' | 'us' | 'de' | 'gb';
5225
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5044
5226
  };
5045
5227
  type AccountStandardsControllerGetTemplateMetadataResponse = TemplateMetadataResponseDto;
5046
5228
  type AccountStandardsControllerGetRegionsData = {
5047
5229
  /**
5048
5230
  * Region code for tenant context
5049
5231
  */
5050
- region: 'cn' | 'us' | 'de' | 'gb';
5232
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5051
5233
  };
5052
5234
  type AccountStandardsControllerGetRegionsResponse = RegionsMetadataResponseDto;
5053
5235
  type TransactionControllerCreateData = {
5054
5236
  /**
5055
5237
  * Region code for tenant context
5056
5238
  */
5057
- region: 'cn' | 'us' | 'de' | 'gb';
5239
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5058
5240
  /**
5059
5241
  * Transaction data with postings
5060
5242
  */
@@ -5089,7 +5271,7 @@ type TransactionControllerListData = {
5089
5271
  /**
5090
5272
  * Region code for tenant context
5091
5273
  */
5092
- region: 'cn' | 'us' | 'de' | 'gb';
5274
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5093
5275
  /**
5094
5276
  * Search in narration and payee fields (max 200 chars)
5095
5277
  */
@@ -5104,7 +5286,7 @@ type TransactionControllerCreateBatchData = {
5104
5286
  /**
5105
5287
  * Region code for tenant context
5106
5288
  */
5107
- region: 'cn' | 'us' | 'de' | 'gb';
5289
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5108
5290
  requestBody: BatchCreateTransactionDto;
5109
5291
  };
5110
5292
  type TransactionControllerCreateBatchResponse = BatchTransactionResponseDto;
@@ -5116,7 +5298,7 @@ type TransactionControllerCorrectData = {
5116
5298
  /**
5117
5299
  * Region code for tenant context
5118
5300
  */
5119
- region: 'cn' | 'us' | 'de' | 'gb';
5301
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5120
5302
  requestBody: CorrectTransactionDto;
5121
5303
  };
5122
5304
  type TransactionControllerCorrectResponse = TransactionDetailDto;
@@ -5132,7 +5314,7 @@ type TransactionControllerSuggestTagsData = {
5132
5314
  /**
5133
5315
  * Region code for tenant context
5134
5316
  */
5135
- region: 'cn' | 'us' | 'de' | 'gb';
5317
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5136
5318
  /**
5137
5319
  * usage (default) or name
5138
5320
  */
@@ -5147,7 +5329,7 @@ type TransactionControllerGetDetailData = {
5147
5329
  /**
5148
5330
  * Region code for tenant context
5149
5331
  */
5150
- region: 'cn' | 'us' | 'de' | 'gb';
5332
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5151
5333
  };
5152
5334
  type TransactionControllerGetDetailResponse = TransactionDetailDto;
5153
5335
  type TransactionControllerUpdateData = {
@@ -5158,7 +5340,7 @@ type TransactionControllerUpdateData = {
5158
5340
  /**
5159
5341
  * Region code for tenant context
5160
5342
  */
5161
- region: 'cn' | 'us' | 'de' | 'gb';
5343
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5162
5344
  /**
5163
5345
  * Fields to update (all optional)
5164
5346
  */
@@ -5173,7 +5355,7 @@ type TransactionControllerDeleteData = {
5173
5355
  /**
5174
5356
  * Region code for tenant context
5175
5357
  */
5176
- region: 'cn' | 'us' | 'de' | 'gb';
5358
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5177
5359
  };
5178
5360
  type TransactionControllerDeleteResponse = void;
5179
5361
  type BalanceControllerGetBalanceData = {
@@ -5192,14 +5374,14 @@ type BalanceControllerGetBalanceData = {
5192
5374
  /**
5193
5375
  * Region code for tenant context
5194
5376
  */
5195
- region: 'cn' | 'us' | 'de' | 'gb';
5377
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5196
5378
  };
5197
5379
  type BalanceControllerGetBalanceResponse = BalanceResponseDto;
5198
5380
  type BalanceControllerGetMultiCurrencyBalanceData = {
5199
5381
  /**
5200
5382
  * Region code for tenant context
5201
5383
  */
5202
- region: 'cn' | 'us' | 'de' | 'gb';
5384
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5203
5385
  };
5204
5386
  type BalanceControllerGetMultiCurrencyBalanceResponse = MultiCurrencyBalanceResponseDto;
5205
5387
  type ReviewControllerFindAllData = {
@@ -5218,7 +5400,7 @@ type ReviewControllerFindAllData = {
5218
5400
  /**
5219
5401
  * Region code for tenant context
5220
5402
  */
5221
- region: 'cn' | 'us' | 'de' | 'gb';
5403
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5222
5404
  /**
5223
5405
  * Sort order
5224
5406
  */
@@ -5233,7 +5415,7 @@ type ReviewControllerGetStatsData = {
5233
5415
  /**
5234
5416
  * Region code for tenant context
5235
5417
  */
5236
- region: 'cn' | 'us' | 'de' | 'gb';
5418
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5237
5419
  };
5238
5420
  type ReviewControllerGetStatsResponse = ReviewStatsDto;
5239
5421
  type ReviewControllerFindOneData = {
@@ -5244,7 +5426,7 @@ type ReviewControllerFindOneData = {
5244
5426
  /**
5245
5427
  * Region code for tenant context
5246
5428
  */
5247
- region: 'cn' | 'us' | 'de' | 'gb';
5429
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5248
5430
  };
5249
5431
  type ReviewControllerFindOneResponse = ReviewDetailDto;
5250
5432
  type ReviewControllerResolveData = {
@@ -5255,7 +5437,7 @@ type ReviewControllerResolveData = {
5255
5437
  /**
5256
5438
  * Region code for tenant context
5257
5439
  */
5258
- region: 'cn' | 'us' | 'de' | 'gb';
5440
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5259
5441
  requestBody: ResolveReviewDto;
5260
5442
  };
5261
5443
  type ReviewControllerResolveResponse = ResolveResultDto;
@@ -5267,14 +5449,14 @@ type ReviewControllerUndoData = {
5267
5449
  /**
5268
5450
  * Region code for tenant context
5269
5451
  */
5270
- region: 'cn' | 'us' | 'de' | 'gb';
5452
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5271
5453
  };
5272
5454
  type ReviewControllerUndoResponse = UndoResultDto;
5273
5455
  type ReviewControllerBatchResolveData = {
5274
5456
  /**
5275
5457
  * Region code for tenant context
5276
5458
  */
5277
- region: 'cn' | 'us' | 'de' | 'gb';
5459
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5278
5460
  /**
5279
5461
  * Batch resolution request containing review IDs and action
5280
5462
  */
@@ -5419,7 +5601,7 @@ type CommodityControllerCreateData = {
5419
5601
  /**
5420
5602
  * Region code for tenant context
5421
5603
  */
5422
- region: 'cn' | 'us' | 'de' | 'gb';
5604
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5423
5605
  requestBody: CreateCommodityDto;
5424
5606
  };
5425
5607
  type CommodityControllerCreateResponse = CommodityResponseDto;
@@ -5427,7 +5609,7 @@ type CommodityControllerFindAllData = {
5427
5609
  /**
5428
5610
  * Region code for tenant context
5429
5611
  */
5430
- region: 'cn' | 'us' | 'de' | 'gb';
5612
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5431
5613
  /**
5432
5614
  * Search term for symbol or metadata fields (partial match). Searches symbol and metadata.name.
5433
5615
  */
@@ -5442,7 +5624,7 @@ type CommodityControllerFindOneData = {
5442
5624
  /**
5443
5625
  * Region code for tenant context
5444
5626
  */
5445
- region: 'cn' | 'us' | 'de' | 'gb';
5627
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5446
5628
  /**
5447
5629
  * Commodity symbol
5448
5630
  */
@@ -5453,7 +5635,7 @@ type CommodityControllerUpdateData = {
5453
5635
  /**
5454
5636
  * Region code for tenant context
5455
5637
  */
5456
- region: 'cn' | 'us' | 'de' | 'gb';
5638
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5457
5639
  requestBody: UpdateCommodityDto;
5458
5640
  /**
5459
5641
  * Commodity symbol
@@ -5465,7 +5647,7 @@ type CommodityControllerDeleteData = {
5465
5647
  /**
5466
5648
  * Region code for tenant context
5467
5649
  */
5468
- region: 'cn' | 'us' | 'de' | 'gb';
5650
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5469
5651
  /**
5470
5652
  * Commodity symbol
5471
5653
  */
@@ -5476,7 +5658,7 @@ type CommodityControllerGetOrCreateData = {
5476
5658
  /**
5477
5659
  * Region code for tenant context
5478
5660
  */
5479
- region: 'cn' | 'us' | 'de' | 'gb';
5661
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5480
5662
  /**
5481
5663
  * Commodity symbol
5482
5664
  */
@@ -5487,14 +5669,14 @@ type CommodityControllerBulkCreateData = {
5487
5669
  /**
5488
5670
  * Region code for tenant context
5489
5671
  */
5490
- region: 'cn' | 'us' | 'de' | 'gb';
5672
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5491
5673
  };
5492
5674
  type CommodityControllerBulkCreateResponse = Array<CommodityResponseDto>;
5493
5675
  type PriceControllerCreateData = {
5494
5676
  /**
5495
5677
  * Region code for tenant context
5496
5678
  */
5497
- region: 'cn' | 'us' | 'de' | 'gb';
5679
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5498
5680
  requestBody: CreateBeanPriceDto;
5499
5681
  };
5500
5682
  type PriceControllerCreateResponse = PriceResponseDto;
@@ -5526,7 +5708,7 @@ type PriceControllerFindAllData = {
5526
5708
  /**
5527
5709
  * Region code for tenant context
5528
5710
  */
5529
- region: 'cn' | 'us' | 'de' | 'gb';
5711
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5530
5712
  /**
5531
5713
  * Search term for currency or quoteCurrency (case-insensitive partial match)
5532
5714
  */
@@ -5541,7 +5723,7 @@ type PriceControllerFindOneData = {
5541
5723
  /**
5542
5724
  * Region code for tenant context
5543
5725
  */
5544
- region: 'cn' | 'us' | 'de' | 'gb';
5726
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5545
5727
  };
5546
5728
  type PriceControllerFindOneResponse = PriceResponseDto;
5547
5729
  type PriceControllerUpdateData = {
@@ -5552,7 +5734,7 @@ type PriceControllerUpdateData = {
5552
5734
  /**
5553
5735
  * Region code for tenant context
5554
5736
  */
5555
- region: 'cn' | 'us' | 'de' | 'gb';
5737
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5556
5738
  requestBody: UpdateBeanPriceDto;
5557
5739
  };
5558
5740
  type PriceControllerUpdateResponse = PriceResponseDto;
@@ -5564,14 +5746,14 @@ type PriceControllerDeleteData = {
5564
5746
  /**
5565
5747
  * Region code for tenant context
5566
5748
  */
5567
- region: 'cn' | 'us' | 'de' | 'gb';
5749
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5568
5750
  };
5569
5751
  type PriceControllerDeleteResponse = void;
5570
5752
  type PriceControllerBulkCreateData = {
5571
5753
  /**
5572
5754
  * Region code for tenant context
5573
5755
  */
5574
- region: 'cn' | 'us' | 'de' | 'gb';
5756
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5575
5757
  requestBody: Array<string>;
5576
5758
  };
5577
5759
  type PriceControllerBulkCreateResponse = Array<PriceResponseDto>;
@@ -5579,7 +5761,7 @@ type RecurringRuleControllerCreateData = {
5579
5761
  /**
5580
5762
  * Region code for tenant context
5581
5763
  */
5582
- region: 'cn' | 'us' | 'de' | 'gb';
5764
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5583
5765
  requestBody: CreateRecurringRuleDto;
5584
5766
  };
5585
5767
  type RecurringRuleControllerCreateResponse = RecurringRuleResponseDto;
@@ -5599,14 +5781,14 @@ type RecurringRuleControllerFindAllData = {
5599
5781
  /**
5600
5782
  * Region code for tenant context
5601
5783
  */
5602
- region: 'cn' | 'us' | 'de' | 'gb';
5784
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5603
5785
  };
5604
5786
  type RecurringRuleControllerFindAllResponse = Array<RecurringRuleResponseDto>;
5605
5787
  type RecurringRuleControllerCreateFromTransactionData = {
5606
5788
  /**
5607
5789
  * Region code for tenant context
5608
5790
  */
5609
- region: 'cn' | 'us' | 'de' | 'gb';
5791
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5610
5792
  requestBody: CreateRuleFromTransactionDto;
5611
5793
  /**
5612
5794
  * Source transaction ID
@@ -5622,7 +5804,7 @@ type RecurringRuleControllerFindOneData = {
5622
5804
  /**
5623
5805
  * Region code for tenant context
5624
5806
  */
5625
- region: 'cn' | 'us' | 'de' | 'gb';
5807
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5626
5808
  };
5627
5809
  type RecurringRuleControllerFindOneResponse = RecurringRuleResponseDto;
5628
5810
  type RecurringRuleControllerUpdateData = {
@@ -5633,7 +5815,7 @@ type RecurringRuleControllerUpdateData = {
5633
5815
  /**
5634
5816
  * Region code for tenant context
5635
5817
  */
5636
- region: 'cn' | 'us' | 'de' | 'gb';
5818
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5637
5819
  requestBody: UpdateRecurringRuleDto;
5638
5820
  };
5639
5821
  type RecurringRuleControllerUpdateResponse = RecurringRuleResponseDto;
@@ -5645,7 +5827,7 @@ type RecurringRuleControllerDeleteData = {
5645
5827
  /**
5646
5828
  * Region code for tenant context
5647
5829
  */
5648
- region: 'cn' | 'us' | 'de' | 'gb';
5830
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5649
5831
  };
5650
5832
  type RecurringRuleControllerDeleteResponse = void;
5651
5833
  type RecurringRuleControllerGetWithStatsData = {
@@ -5656,7 +5838,7 @@ type RecurringRuleControllerGetWithStatsData = {
5656
5838
  /**
5657
5839
  * Region code for tenant context
5658
5840
  */
5659
- region: 'cn' | 'us' | 'de' | 'gb';
5841
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5660
5842
  };
5661
5843
  type RecurringRuleControllerGetWithStatsResponse = RecurringRuleWithStatsResponseDto;
5662
5844
  type ExpectedTransactionControllerFindAllData = {
@@ -5667,7 +5849,7 @@ type ExpectedTransactionControllerFindAllData = {
5667
5849
  /**
5668
5850
  * Region code for tenant context
5669
5851
  */
5670
- region: 'cn' | 'us' | 'de' | 'gb';
5852
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5671
5853
  /**
5672
5854
  * Filter by recurring rule ID
5673
5855
  */
@@ -5686,7 +5868,7 @@ type ExpectedTransactionControllerFindOverdueData = {
5686
5868
  /**
5687
5869
  * Region code for tenant context
5688
5870
  */
5689
- region: 'cn' | 'us' | 'de' | 'gb';
5871
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5690
5872
  };
5691
5873
  type ExpectedTransactionControllerFindOverdueResponse = ExpectedTransactionListResponseDto;
5692
5874
  type ExpectedTransactionControllerFindOneData = {
@@ -5697,7 +5879,7 @@ type ExpectedTransactionControllerFindOneData = {
5697
5879
  /**
5698
5880
  * Region code for tenant context
5699
5881
  */
5700
- region: 'cn' | 'us' | 'de' | 'gb';
5882
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5701
5883
  };
5702
5884
  type ExpectedTransactionControllerFindOneResponse = ExpectedTransactionResponseDto;
5703
5885
  type ExpectedTransactionControllerSkipData = {
@@ -5708,7 +5890,7 @@ type ExpectedTransactionControllerSkipData = {
5708
5890
  /**
5709
5891
  * Region code for tenant context
5710
5892
  */
5711
- region: 'cn' | 'us' | 'de' | 'gb';
5893
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5712
5894
  };
5713
5895
  type ExpectedTransactionControllerSkipResponse = ExpectedTransactionResponseDto;
5714
5896
  type ExpectedTransactionControllerUndoSkipData = {
@@ -5719,60 +5901,174 @@ type ExpectedTransactionControllerUndoSkipData = {
5719
5901
  /**
5720
5902
  * Region code for tenant context
5721
5903
  */
5722
- region: 'cn' | 'us' | 'de' | 'gb';
5904
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5723
5905
  };
5724
5906
  type ExpectedTransactionControllerUndoSkipResponse = ExpectedTransactionResponseDto;
5725
5907
  type ExpectedTransactionControllerConfirmMatchData = {
5726
5908
  /**
5727
- * Expected transaction ID
5909
+ * Expected transaction ID
5910
+ */
5911
+ id: string;
5912
+ /**
5913
+ * Region code for tenant context
5914
+ */
5915
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5916
+ requestBody: ConfirmMatchDto;
5917
+ };
5918
+ type ExpectedTransactionControllerConfirmMatchResponse = unknown;
5919
+ type ExpectedTransactionControllerUnmatchData = {
5920
+ /**
5921
+ * Expected transaction ID
5922
+ */
5923
+ id: string;
5924
+ /**
5925
+ * Region code for tenant context
5926
+ */
5927
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5928
+ };
5929
+ type ExpectedTransactionControllerUnmatchResponse = unknown;
5930
+ type ExpectedTransactionControllerEnterNowData = {
5931
+ /**
5932
+ * Expected transaction ID
5933
+ */
5934
+ id: string;
5935
+ /**
5936
+ * Region code for tenant context
5937
+ */
5938
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5939
+ requestBody: EnterNowDto;
5940
+ };
5941
+ type ExpectedTransactionControllerEnterNowResponse = unknown;
5942
+ type ForecastControllerGetForecastData = {
5943
+ /**
5944
+ * Number of months to forecast (1-12, default 3)
5945
+ */
5946
+ months?: number;
5947
+ /**
5948
+ * Region code for tenant context
5949
+ */
5950
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5951
+ };
5952
+ type ForecastControllerGetForecastResponse = ForecastResponseDto;
5953
+ type ReportingControllerGetPortfolioTrendsData = {
5954
+ /**
5955
+ * Data granularity
5956
+ */
5957
+ granularity?: 'day' | 'week' | 'month';
5958
+ /**
5959
+ * Time period
5960
+ */
5961
+ period?: '1m' | '3m' | '6m' | '1y';
5962
+ /**
5963
+ * Region code for tenant context
5964
+ */
5965
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5966
+ };
5967
+ type ReportingControllerGetPortfolioTrendsResponse = PortfolioTrendsResponseDto;
5968
+ type ReportingControllerGetCashFlowTrendsData = {
5969
+ /**
5970
+ * Data granularity (accepted for API symmetry; v1 returns month buckets)
5971
+ */
5972
+ granularity?: 'day' | 'week' | 'month';
5973
+ /**
5974
+ * Time period
5975
+ */
5976
+ period?: '1m' | '3m' | '6m' | '1y';
5977
+ /**
5978
+ * Region code for tenant context
5979
+ */
5980
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5981
+ };
5982
+ type ReportingControllerGetCashFlowTrendsResponse = CashFlowTrendsResponseDto;
5983
+ type ReportingControllerGenerateSnapshotData = {
5984
+ /**
5985
+ * Region code for tenant context
5986
+ */
5987
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5988
+ /**
5989
+ * Optional date (defaults to today)
5990
+ */
5991
+ requestBody: GenerateSnapshotBody;
5992
+ };
5993
+ type ReportingControllerGenerateSnapshotResponse = GenerateSnapshotResponse;
5994
+ type ReportingControllerBackfillSnapshotsData = {
5995
+ /**
5996
+ * Region code for tenant context
5997
+ */
5998
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5999
+ requestBody: BackfillSnapshotsBody;
6000
+ };
6001
+ type ReportingControllerBackfillSnapshotsResponse = BackfillSnapshotsResponse;
6002
+ type UserControllerDeleteOwnUserData = {
6003
+ requestBody: DeleteOwnUserDto;
6004
+ };
6005
+ type UserControllerDeleteOwnUserResponse = void;
6006
+ type UserControllerGetUserData = {
6007
+ acceptLanguage: string;
6008
+ };
6009
+ type UserControllerGetUserResponse = unknown;
6010
+ type UserControllerSignupUserData = {
6011
+ requestBody: SignupDto;
6012
+ };
6013
+ type UserControllerSignupUserResponse = SignupResponseDto;
6014
+ type UserControllerDeleteUserData = {
6015
+ /**
6016
+ * User ID to delete
5728
6017
  */
5729
6018
  id: string;
5730
- /**
5731
- * Region code for tenant context
5732
- */
5733
- region: 'cn' | 'us' | 'de' | 'gb';
5734
- requestBody: ConfirmMatchDto;
5735
6019
  };
5736
- type ExpectedTransactionControllerConfirmMatchResponse = unknown;
5737
- type ExpectedTransactionControllerUnmatchData = {
6020
+ type UserControllerDeleteUserResponse = void;
6021
+ type UserControllerGetUserInfoData = {
5738
6022
  /**
5739
- * Expected transaction ID
6023
+ * User ID
5740
6024
  */
5741
6025
  id: string;
6026
+ };
6027
+ type UserControllerGetUserInfoResponse = unknown;
6028
+ type UserControllerUpdateUserSettingData = {
6029
+ requestBody: UpdateUserSettingDto;
6030
+ };
6031
+ type UserControllerUpdateUserSettingResponse = unknown;
6032
+ type UserControllerGetAllUserSettingsByPageData = {
5742
6033
  /**
5743
- * Region code for tenant context
6034
+ * Page number
5744
6035
  */
5745
- region: 'cn' | 'us' | 'de' | 'gb';
5746
- };
5747
- type ExpectedTransactionControllerUnmatchResponse = unknown;
5748
- type ExpectedTransactionControllerEnterNowData = {
6036
+ pageNo: number;
5749
6037
  /**
5750
- * Expected transaction ID
6038
+ * Page size
5751
6039
  */
5752
- id: string;
6040
+ pageSize: number;
6041
+ };
6042
+ type UserControllerGetAllUserSettingsByPageResponse = unknown;
6043
+ type UserControllerGetAssetLiabilitySummaryResponse = unknown;
6044
+ type PropertyControllerGetAllResponse = unknown;
6045
+ type PropertyControllerGetByKeyData = {
5753
6046
  /**
5754
- * Region code for tenant context
6047
+ * Property key
5755
6048
  */
5756
- region: 'cn' | 'us' | 'de' | 'gb';
5757
- requestBody: EnterNowDto;
6049
+ key: string;
5758
6050
  };
5759
- type ExpectedTransactionControllerEnterNowResponse = unknown;
5760
- type ForecastControllerGetForecastData = {
6051
+ type PropertyControllerGetByKeyResponse = unknown;
6052
+ type PropertyControllerUpdateData = {
5761
6053
  /**
5762
- * Number of months to forecast (1-12, default 3)
6054
+ * Property key
5763
6055
  */
5764
- months?: number;
6056
+ key: string;
6057
+ requestBody: UpdatePropertyDto;
6058
+ };
6059
+ type PropertyControllerUpdateResponse = unknown;
6060
+ type PropertyControllerDeleteData = {
5765
6061
  /**
5766
- * Region code for tenant context
6062
+ * Property key
5767
6063
  */
5768
- region: 'cn' | 'us' | 'de' | 'gb';
6064
+ key: string;
5769
6065
  };
5770
- type ForecastControllerGetForecastResponse = ForecastResponseDto;
6066
+ type PropertyControllerDeleteResponse = void;
5771
6067
  type TransactionRuleControllerCreateData = {
5772
6068
  /**
5773
6069
  * Region code for tenant context
5774
6070
  */
5775
- region: 'cn' | 'us' | 'de' | 'gb';
6071
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5776
6072
  requestBody: CreateTransactionRuleDto;
5777
6073
  };
5778
6074
  type TransactionRuleControllerCreateResponse = TransactionRuleResponseDto;
@@ -5800,14 +6096,14 @@ type TransactionRuleControllerListData = {
5800
6096
  /**
5801
6097
  * Region code for tenant context
5802
6098
  */
5803
- region: 'cn' | 'us' | 'de' | 'gb';
6099
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5804
6100
  };
5805
6101
  type TransactionRuleControllerListResponse = TransactionRuleListResponseDto;
5806
6102
  type TransactionRuleControllerValidateData = {
5807
6103
  /**
5808
6104
  * Region code for tenant context
5809
6105
  */
5810
- region: 'cn' | 'us' | 'de' | 'gb';
6106
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5811
6107
  requestBody: ValidateRuleDto;
5812
6108
  };
5813
6109
  type TransactionRuleControllerValidateResponse = ValidateRuleResponseDto;
@@ -5815,7 +6111,7 @@ type TransactionRuleControllerBulkCreateData = {
5815
6111
  /**
5816
6112
  * Region code for tenant context
5817
6113
  */
5818
- region: 'cn' | 'us' | 'de' | 'gb';
6114
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5819
6115
  requestBody: BulkCreateRulesDto;
5820
6116
  };
5821
6117
  type TransactionRuleControllerBulkCreateResponse = BulkCreateRulesResponseDto;
@@ -5827,7 +6123,7 @@ type TransactionRuleControllerExportData = {
5827
6123
  /**
5828
6124
  * Region code for tenant context
5829
6125
  */
5830
- region: 'cn' | 'us' | 'de' | 'gb';
6126
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5831
6127
  };
5832
6128
  type TransactionRuleControllerExportResponse = ExportRulesResponseDto;
5833
6129
  type TransactionRuleControllerGetStatisticsData = {
@@ -5838,14 +6134,14 @@ type TransactionRuleControllerGetStatisticsData = {
5838
6134
  /**
5839
6135
  * Region code for tenant context
5840
6136
  */
5841
- region: 'cn' | 'us' | 'de' | 'gb';
6137
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5842
6138
  };
5843
6139
  type TransactionRuleControllerGetStatisticsResponse = RuleStatisticsResponseDto;
5844
6140
  type TransactionRuleControllerGetDetailData = {
5845
6141
  /**
5846
6142
  * Region code for tenant context
5847
6143
  */
5848
- region: 'cn' | 'us' | 'de' | 'gb';
6144
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5849
6145
  /**
5850
6146
  * Rule ID
5851
6147
  */
@@ -5856,7 +6152,7 @@ type TransactionRuleControllerUpdateData = {
5856
6152
  /**
5857
6153
  * Region code for tenant context
5858
6154
  */
5859
- region: 'cn' | 'us' | 'de' | 'gb';
6155
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5860
6156
  requestBody: UpdateTransactionRuleDto;
5861
6157
  /**
5862
6158
  * Rule ID to update
@@ -5868,7 +6164,7 @@ type TransactionRuleControllerDeleteData = {
5868
6164
  /**
5869
6165
  * Region code for tenant context
5870
6166
  */
5871
- region: 'cn' | 'us' | 'de' | 'gb';
6167
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5872
6168
  /**
5873
6169
  * Rule ID to delete
5874
6170
  */
@@ -5879,7 +6175,7 @@ type TransactionRuleControllerTestData = {
5879
6175
  /**
5880
6176
  * Region code for tenant context
5881
6177
  */
5882
- region: 'cn' | 'us' | 'de' | 'gb';
6178
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5883
6179
  requestBody: TestRuleDto;
5884
6180
  /**
5885
6181
  * Rule ID to test
@@ -5887,76 +6183,11 @@ type TransactionRuleControllerTestData = {
5887
6183
  ruleId: string;
5888
6184
  };
5889
6185
  type TransactionRuleControllerTestResponse = TestRuleResponseDto;
5890
- type UserControllerDeleteOwnUserData = {
5891
- requestBody: DeleteOwnUserDto;
5892
- };
5893
- type UserControllerDeleteOwnUserResponse = void;
5894
- type UserControllerGetUserData = {
5895
- acceptLanguage: string;
5896
- };
5897
- type UserControllerGetUserResponse = unknown;
5898
- type UserControllerSignupUserData = {
5899
- requestBody: SignupDto;
5900
- };
5901
- type UserControllerSignupUserResponse = unknown;
5902
- type UserControllerDeleteUserData = {
5903
- /**
5904
- * User ID to delete
5905
- */
5906
- id: string;
5907
- };
5908
- type UserControllerDeleteUserResponse = void;
5909
- type UserControllerGetUserInfoData = {
5910
- /**
5911
- * User ID
5912
- */
5913
- id: string;
5914
- };
5915
- type UserControllerGetUserInfoResponse = unknown;
5916
- type UserControllerUpdateUserSettingData = {
5917
- requestBody: UpdateUserSettingDto;
5918
- };
5919
- type UserControllerUpdateUserSettingResponse = unknown;
5920
- type UserControllerGetAllUserSettingsByPageData = {
5921
- /**
5922
- * Page number
5923
- */
5924
- pageNo: number;
5925
- /**
5926
- * Page size
5927
- */
5928
- pageSize: number;
5929
- };
5930
- type UserControllerGetAllUserSettingsByPageResponse = unknown;
5931
- type UserControllerGetAssetLiabilitySummaryResponse = unknown;
5932
- type PropertyControllerGetAllResponse = unknown;
5933
- type PropertyControllerGetByKeyData = {
5934
- /**
5935
- * Property key
5936
- */
5937
- key: string;
5938
- };
5939
- type PropertyControllerGetByKeyResponse = unknown;
5940
- type PropertyControllerUpdateData = {
5941
- /**
5942
- * Property key
5943
- */
5944
- key: string;
5945
- requestBody: UpdatePropertyDto;
5946
- };
5947
- type PropertyControllerUpdateResponse = unknown;
5948
- type PropertyControllerDeleteData = {
5949
- /**
5950
- * Property key
5951
- */
5952
- key: string;
5953
- };
5954
- type PropertyControllerDeleteResponse = void;
5955
6186
  type EventControllerCreateData = {
5956
6187
  /**
5957
6188
  * Region code for tenant context (decorative for life events)
5958
6189
  */
5959
- region: 'cn' | 'us' | 'de' | 'gb';
6190
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5960
6191
  requestBody: CreateBeanEventDto;
5961
6192
  };
5962
6193
  type EventControllerCreateResponse = EventResponseDto;
@@ -5980,7 +6211,7 @@ type EventControllerFindAllData = {
5980
6211
  /**
5981
6212
  * Region code for tenant context (decorative for life events)
5982
6213
  */
5983
- region: 'cn' | 'us' | 'de' | 'gb';
6214
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
5984
6215
  /**
5985
6216
  * Filter life events to this date (ISO 8601 format)
5986
6217
  */
@@ -5999,7 +6230,7 @@ type EventControllerFindOneData = {
5999
6230
  /**
6000
6231
  * Region code for tenant context (decorative for life events)
6001
6232
  */
6002
- region: 'cn' | 'us' | 'de' | 'gb';
6233
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6003
6234
  };
6004
6235
  type EventControllerFindOneResponse = EventResponseDto;
6005
6236
  type EventControllerUpdateData = {
@@ -6010,7 +6241,7 @@ type EventControllerUpdateData = {
6010
6241
  /**
6011
6242
  * Region code for tenant context (decorative for life events)
6012
6243
  */
6013
- region: 'cn' | 'us' | 'de' | 'gb';
6244
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6014
6245
  requestBody: UpdateBeanEventDto;
6015
6246
  };
6016
6247
  type EventControllerUpdateResponse = EventResponseDto;
@@ -6022,7 +6253,7 @@ type EventControllerDeleteData = {
6022
6253
  /**
6023
6254
  * Region code for tenant context (decorative for life events)
6024
6255
  */
6025
- region: 'cn' | 'us' | 'de' | 'gb';
6256
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6026
6257
  };
6027
6258
  type EventControllerDeleteResponse = void;
6028
6259
  type EventControllerGetSliceData = {
@@ -6035,14 +6266,14 @@ type EventControllerGetSliceData = {
6035
6266
  /**
6036
6267
  * Region code for tenant context (decorative for life events)
6037
6268
  */
6038
- region: 'cn' | 'us' | 'de' | 'gb';
6269
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6039
6270
  };
6040
6271
  type EventControllerGetSliceResponse = unknown;
6041
6272
  type OnboardingControllerBootstrapData = {
6042
6273
  /**
6043
6274
  * Region code for tenant context
6044
6275
  */
6045
- region: 'cn' | 'us' | 'de' | 'gb';
6276
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6046
6277
  requestBody: OnboardingDto;
6047
6278
  };
6048
6279
  type OnboardingControllerBootstrapResponse = unknown;
@@ -6050,7 +6281,7 @@ type ReconciliationControllerComputeData = {
6050
6281
  /**
6051
6282
  * Region code for tenant context (decorative for reconciliation)
6052
6283
  */
6053
- region: 'cn' | 'us' | 'de' | 'gb';
6284
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6054
6285
  requestBody: ComputeReconciliationDto;
6055
6286
  };
6056
6287
  type ReconciliationControllerComputeResponse = ReconciliationComputeResultDto;
@@ -6058,7 +6289,7 @@ type ReconciliationControllerAssertData = {
6058
6289
  /**
6059
6290
  * Region code for tenant context (decorative for reconciliation)
6060
6291
  */
6061
- region: 'cn' | 'us' | 'de' | 'gb';
6292
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6062
6293
  requestBody: AssertReconciliationDto;
6063
6294
  };
6064
6295
  type ReconciliationControllerAssertResponse = ReconciliationRecordDto;
@@ -6066,7 +6297,7 @@ type ReconciliationControllerPadData = {
6066
6297
  /**
6067
6298
  * Region code for tenant context (decorative for reconciliation)
6068
6299
  */
6069
- region: 'cn' | 'us' | 'de' | 'gb';
6300
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6070
6301
  requestBody: PadReconciliationDto;
6071
6302
  };
6072
6303
  type ReconciliationControllerPadResponse = PadResultDto;
@@ -6078,7 +6309,7 @@ type ReconciliationControllerHistoryData = {
6078
6309
  /**
6079
6310
  * Region code for tenant context (decorative for reconciliation)
6080
6311
  */
6081
- region: 'cn' | 'us' | 'de' | 'gb';
6312
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6082
6313
  };
6083
6314
  type ReconciliationControllerHistoryResponse = Array<ReconciliationRecordDto>;
6084
6315
  type ExportControllerExportBeancountResponse = unknown;
@@ -6090,7 +6321,7 @@ type FileImportControllerImportFileData = {
6090
6321
  /**
6091
6322
  * Region code for tenant context
6092
6323
  */
6093
- region: 'cn' | 'us' | 'de' | 'gb';
6324
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6094
6325
  };
6095
6326
  type FileImportControllerImportFileResponse = ImportResultDto;
6096
6327
  type FileImportControllerIdentifyFileData = {
@@ -6101,7 +6332,7 @@ type FileImportControllerIdentifyFileData = {
6101
6332
  /**
6102
6333
  * Region code for tenant context
6103
6334
  */
6104
- region: 'cn' | 'us' | 'de' | 'gb';
6335
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6105
6336
  };
6106
6337
  type FileImportControllerIdentifyFileResponse = IdentifyResultDto;
6107
6338
  type FileImportControllerImportBeancountData = {
@@ -6112,7 +6343,7 @@ type FileImportControllerImportBeancountData = {
6112
6343
  /**
6113
6344
  * Region code for tenant context
6114
6345
  */
6115
- region: 'cn' | 'us' | 'de' | 'gb';
6346
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6116
6347
  };
6117
6348
  type FileImportControllerImportBeancountResponse = {
6118
6349
  imported?: number;
@@ -6131,7 +6362,7 @@ type ImporterConfigControllerGetConfigData = {
6131
6362
  /**
6132
6363
  * Region code for tenant context
6133
6364
  */
6134
- region: 'cn' | 'us' | 'de' | 'gb';
6365
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6135
6366
  };
6136
6367
  type ImporterConfigControllerGetConfigResponse = ImporterConfigDto;
6137
6368
  type ImporterConfigControllerUpdateConfigData = {
@@ -6142,7 +6373,7 @@ type ImporterConfigControllerUpdateConfigData = {
6142
6373
  /**
6143
6374
  * Region code for tenant context
6144
6375
  */
6145
- region: 'cn' | 'us' | 'de' | 'gb';
6376
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6146
6377
  /**
6147
6378
  * Partial configuration update. Only provided fields will be updated.
6148
6379
  */
@@ -6157,7 +6388,7 @@ type ImporterConfigControllerResetConfigData = {
6157
6388
  /**
6158
6389
  * Region code for tenant context
6159
6390
  */
6160
- region: 'cn' | 'us' | 'de' | 'gb';
6391
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6161
6392
  };
6162
6393
  type ImporterConfigControllerResetConfigResponse = ImporterConfigDto;
6163
6394
  type ProviderSyncControllerSyncData = {
@@ -6168,7 +6399,7 @@ type ProviderSyncControllerSyncData = {
6168
6399
  /**
6169
6400
  * Region code for tenant context
6170
6401
  */
6171
- region: 'cn' | 'us' | 'de' | 'gb';
6402
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6172
6403
  requestBody: ProviderSyncDto;
6173
6404
  };
6174
6405
  type ProviderSyncControllerSyncResponse = ProviderSyncResponseDto;
@@ -6176,7 +6407,7 @@ type ProviderSyncControllerGetSupportedProvidersData = {
6176
6407
  /**
6177
6408
  * Region code for tenant context
6178
6409
  */
6179
- region: 'cn' | 'us' | 'de' | 'gb';
6410
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6180
6411
  };
6181
6412
  type ProviderSyncControllerGetSupportedProvidersResponse = SupportedProvidersResponseDto;
6182
6413
  type ProviderSyncControllerIsProviderSupportedData = {
@@ -6187,14 +6418,14 @@ type ProviderSyncControllerIsProviderSupportedData = {
6187
6418
  /**
6188
6419
  * Region code for tenant context
6189
6420
  */
6190
- region: 'cn' | 'us' | 'de' | 'gb';
6421
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6191
6422
  };
6192
6423
  type ProviderSyncControllerIsProviderSupportedResponse = unknown;
6193
6424
  type ExternalAccountLinkControllerCreateData = {
6194
6425
  /**
6195
6426
  * Region code for tenant context
6196
6427
  */
6197
- region: 'cn' | 'us' | 'de' | 'gb';
6428
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6198
6429
  requestBody: CreateExternalAccountLinkDto;
6199
6430
  };
6200
6431
  type ExternalAccountLinkControllerCreateResponse = ExternalAccountLinkResponseDto;
@@ -6203,7 +6434,7 @@ type ExternalAccountLinkControllerFindAllData = {
6203
6434
  /**
6204
6435
  * Region code for tenant context
6205
6436
  */
6206
- region: 'cn' | 'us' | 'de' | 'gb';
6437
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6207
6438
  };
6208
6439
  type ExternalAccountLinkControllerFindAllResponse = ExternalAccountLinkListResponseDto;
6209
6440
  type ExternalAccountLinkControllerFindOneData = {
@@ -6211,7 +6442,7 @@ type ExternalAccountLinkControllerFindOneData = {
6211
6442
  /**
6212
6443
  * Region code for tenant context
6213
6444
  */
6214
- region: 'cn' | 'us' | 'de' | 'gb';
6445
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6215
6446
  };
6216
6447
  type ExternalAccountLinkControllerFindOneResponse = ExternalAccountLinkResponseDto;
6217
6448
  type ExternalAccountLinkControllerRemoveData = {
@@ -6219,14 +6450,14 @@ type ExternalAccountLinkControllerRemoveData = {
6219
6450
  /**
6220
6451
  * Region code for tenant context
6221
6452
  */
6222
- region: 'cn' | 'us' | 'de' | 'gb';
6453
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6223
6454
  };
6224
6455
  type ExternalAccountLinkControllerRemoveResponse = void;
6225
6456
  type TelemetryControllerReportTelemetryData = {
6226
6457
  /**
6227
6458
  * Region code for tenant context
6228
6459
  */
6229
- region: 'cn' | 'us' | 'de' | 'gb';
6460
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6230
6461
  requestBody: ParserTelemetryReportDto;
6231
6462
  };
6232
6463
  type TelemetryControllerReportTelemetryResponse = unknown;
@@ -6234,7 +6465,7 @@ type TelemetryControllerReportCoverageMissData = {
6234
6465
  /**
6235
6466
  * Region code for tenant context
6236
6467
  */
6237
- region: 'cn' | 'us' | 'de' | 'gb';
6468
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6238
6469
  requestBody: UncoveredFormatMissDto;
6239
6470
  };
6240
6471
  type TelemetryControllerReportCoverageMissResponse = unknown;
@@ -6242,7 +6473,7 @@ type TelemetryControllerGetCoverageMetricsData = {
6242
6473
  /**
6243
6474
  * Region code for tenant context
6244
6475
  */
6245
- region: 'cn' | 'us' | 'de' | 'gb';
6476
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6246
6477
  /**
6247
6478
  * Top-N uncovered formats (default 10)
6248
6479
  */
@@ -6253,7 +6484,7 @@ type NlpControllerProcessNaturalLanguageData = {
6253
6484
  /**
6254
6485
  * Region code for tenant context
6255
6486
  */
6256
- region: 'cn' | 'us' | 'de' | 'gb';
6487
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6257
6488
  /**
6258
6489
  * Natural language transaction input with optional session ID
6259
6490
  */
@@ -6264,7 +6495,7 @@ type NlpControllerClearSessionData = {
6264
6495
  /**
6265
6496
  * Region code for tenant context
6266
6497
  */
6267
- region: 'cn' | 'us' | 'de' | 'gb';
6498
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6268
6499
  /**
6269
6500
  * Specific session ID to clear (defaults to user session)
6270
6501
  */
@@ -6275,7 +6506,7 @@ type NlpControllerGetSessionData = {
6275
6506
  /**
6276
6507
  * Region code for tenant context
6277
6508
  */
6278
- region: 'cn' | 'us' | 'de' | 'gb';
6509
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6279
6510
  /**
6280
6511
  * Specific session ID to get (defaults to user session)
6281
6512
  */
@@ -6322,7 +6553,7 @@ type DashboardControllerGetNetWorthData = {
6322
6553
  /**
6323
6554
  * Region code for tenant context
6324
6555
  */
6325
- region: 'cn' | 'us' | 'de' | 'gb';
6556
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6326
6557
  };
6327
6558
  type DashboardControllerGetNetWorthResponse = NetWorthResponseDto;
6328
6559
  type DashboardControllerGetAccountsData = {
@@ -6341,7 +6572,7 @@ type DashboardControllerGetAccountsData = {
6341
6572
  /**
6342
6573
  * Region code for tenant context
6343
6574
  */
6344
- region: 'cn' | 'us' | 'de' | 'gb';
6575
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6345
6576
  };
6346
6577
  type DashboardControllerGetAccountsResponse = AccountsResponseDto | AssetClassAccountsResponseDto | HoldingAssetClassCrossAccountResponseDto;
6347
6578
  type DashboardControllerGetCashFlowData = {
@@ -6352,7 +6583,7 @@ type DashboardControllerGetCashFlowData = {
6352
6583
  /**
6353
6584
  * Region code for tenant context
6354
6585
  */
6355
- region: 'cn' | 'us' | 'de' | 'gb';
6586
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6356
6587
  };
6357
6588
  type DashboardControllerGetCashFlowResponse = CashFlowResponseDto;
6358
6589
  type DashboardControllerGetExpensesData = {
@@ -6371,7 +6602,7 @@ type DashboardControllerGetExpensesData = {
6371
6602
  /**
6372
6603
  * Region code for tenant context
6373
6604
  */
6374
- region: 'cn' | 'us' | 'de' | 'gb';
6605
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6375
6606
  };
6376
6607
  type DashboardControllerGetExpensesResponse = ExpensesByCategoryResponseDto;
6377
6608
  type HoldingPnlControllerGetHoldingPnlData = {
@@ -6390,63 +6621,14 @@ type HoldingPnlControllerGetHoldingPnlData = {
6390
6621
  /**
6391
6622
  * Region code for tenant context
6392
6623
  */
6393
- region: 'cn' | 'us' | 'de' | 'gb';
6624
+ region: 'ad' | 'ae' | 'af' | 'ag' | 'al' | 'am' | 'ao' | 'au' | 'br' | 'ca' | 'cn' | 'de' | 'dz' | 'es' | 'fr' | 'gb' | 'hk' | 'in' | 'it' | 'jp' | 'kr' | 'nl' | 'sg' | 'tw' | 'us';
6394
6625
  };
6395
6626
  type HoldingPnlControllerGetHoldingPnlResponse = HoldingPnlResponseDto;
6396
- type ReportingControllerGetPortfolioTrendsData = {
6397
- /**
6398
- * Data granularity
6399
- */
6400
- granularity?: 'day' | 'week' | 'month';
6401
- /**
6402
- * Time period
6403
- */
6404
- period?: '1m' | '3m' | '6m' | '1y';
6405
- /**
6406
- * Region code for tenant context
6407
- */
6408
- region: 'cn' | 'us' | 'de' | 'gb';
6409
- };
6410
- type ReportingControllerGetPortfolioTrendsResponse = PortfolioTrendsResponseDto;
6411
- type ReportingControllerGetCashFlowTrendsData = {
6412
- /**
6413
- * Data granularity (accepted for API symmetry; v1 returns month buckets)
6414
- */
6415
- granularity?: 'day' | 'week' | 'month';
6416
- /**
6417
- * Time period
6418
- */
6419
- period?: '1m' | '3m' | '6m' | '1y';
6420
- /**
6421
- * Region code for tenant context
6422
- */
6423
- region: 'cn' | 'us' | 'de' | 'gb';
6424
- };
6425
- type ReportingControllerGetCashFlowTrendsResponse = CashFlowTrendsResponseDto;
6426
- type ReportingControllerGenerateSnapshotData = {
6427
- /**
6428
- * Region code for tenant context
6429
- */
6430
- region: 'cn' | 'us' | 'de' | 'gb';
6431
- /**
6432
- * Optional date (defaults to today)
6433
- */
6434
- requestBody: GenerateSnapshotBody;
6435
- };
6436
- type ReportingControllerGenerateSnapshotResponse = GenerateSnapshotResponse;
6437
- type ReportingControllerBackfillSnapshotsData = {
6438
- /**
6439
- * Region code for tenant context
6440
- */
6441
- region: 'cn' | 'us' | 'de' | 'gb';
6442
- requestBody: BackfillSnapshotsBody;
6443
- };
6444
- type ReportingControllerBackfillSnapshotsResponse = BackfillSnapshotsResponse;
6445
6627
  type ApiKeysControllerCreateApiKeyResponse = unknown;
6446
6628
  type AuthControllerAccessTokenLoginData = {
6447
6629
  requestBody: AnonymousLoginDto;
6448
6630
  };
6449
- type AuthControllerAccessTokenLoginResponse = unknown;
6631
+ type AuthControllerAccessTokenLoginResponse = AnonymousLoginResponseDto;
6450
6632
  type CacheControllerFlushCacheResponse = unknown;
6451
6633
  type ExchangeRateControllerGetExchangeRateData = {
6452
6634
  /**
@@ -6473,6 +6655,29 @@ type HealthControllerResetCircuitBreakerData = {
6473
6655
  type HealthControllerResetCircuitBreakerResponse = unknown;
6474
6656
  type HealthControllerGetMetricsResponse = unknown;
6475
6657
  type InfoControllerGetInfoResponse = unknown;
6658
+ type SymbolControllerSearchData = {
6659
+ /**
6660
+ * Filter by OpenBB asset_type (e.g. stock, etf)
6661
+ */
6662
+ assetType?: string;
6663
+ /**
6664
+ * Filter by exchange code (e.g. US, HK, SS, SZ)
6665
+ */
6666
+ exchange?: string;
6667
+ /**
6668
+ * Maximum number of results (clamped 1..50)
6669
+ */
6670
+ limit?: number;
6671
+ /**
6672
+ * Search term — matched against symbol and instrument name. Empty string returns [].
6673
+ */
6674
+ q: string;
6675
+ };
6676
+ type SymbolControllerSearchResponse = Array<SymbolSearchResultDto>;
6677
+ type SymbolControllerGetQuoteData = {
6678
+ symbol: string;
6679
+ };
6680
+ type SymbolControllerGetQuoteResponse = SymbolQuoteDto;
6476
6681
  type $OpenApiTs = {
6477
6682
  '/api/v1/{region}/bean/accounts': {
6478
6683
  post: {
@@ -6537,7 +6742,7 @@ type $OpenApiTs = {
6537
6742
  */
6538
6743
  404: unknown;
6539
6744
  /**
6540
- * Account has transactions and cannot be deleted
6745
+ * Account has active transactions and cannot be deleted
6541
6746
  */
6542
6747
  409: unknown;
6543
6748
  };
@@ -7512,427 +7717,499 @@ type $OpenApiTs = {
7512
7717
  };
7513
7718
  };
7514
7719
  };
7515
- '/api/v1/{region}/bean/expected-transactions/{id}/enter': {
7720
+ '/api/v1/{region}/bean/expected-transactions/{id}/enter': {
7721
+ post: {
7722
+ req: ExpectedTransactionControllerEnterNowData;
7723
+ res: {
7724
+ /**
7725
+ * Transaction created successfully
7726
+ */
7727
+ 201: unknown;
7728
+ /**
7729
+ * Cannot enter - not in PENDING status or missing accounts
7730
+ */
7731
+ 400: unknown;
7732
+ /**
7733
+ * Expected transaction or accounts not found
7734
+ */
7735
+ 404: unknown;
7736
+ };
7737
+ };
7738
+ };
7739
+ '/api/v1/{region}/bean/recurring/forecast': {
7740
+ get: {
7741
+ req: ForecastControllerGetForecastData;
7742
+ res: {
7743
+ /**
7744
+ * Forecast retrieved successfully
7745
+ */
7746
+ 200: ForecastResponseDto;
7747
+ };
7748
+ };
7749
+ };
7750
+ '/api/v1/{region}/reporting/portfolio/trends': {
7751
+ get: {
7752
+ req: ReportingControllerGetPortfolioTrendsData;
7753
+ res: {
7754
+ /**
7755
+ * Trends retrieved successfully
7756
+ */
7757
+ 200: PortfolioTrendsResponseDto;
7758
+ /**
7759
+ * User not authenticated
7760
+ */
7761
+ 401: unknown;
7762
+ };
7763
+ };
7764
+ };
7765
+ '/api/v1/{region}/reporting/cash-flow/trends': {
7766
+ get: {
7767
+ req: ReportingControllerGetCashFlowTrendsData;
7768
+ res: {
7769
+ /**
7770
+ * Cash-flow trends retrieved successfully
7771
+ */
7772
+ 200: CashFlowTrendsResponseDto;
7773
+ /**
7774
+ * User not authenticated
7775
+ */
7776
+ 401: unknown;
7777
+ };
7778
+ };
7779
+ };
7780
+ '/api/v1/{region}/reporting/snapshots/generate': {
7781
+ post: {
7782
+ req: ReportingControllerGenerateSnapshotData;
7783
+ res: {
7784
+ /**
7785
+ * Snapshot generated successfully
7786
+ */
7787
+ 200: GenerateSnapshotResponse;
7788
+ /**
7789
+ * Invalid date format
7790
+ */
7791
+ 400: unknown;
7792
+ /**
7793
+ * User not authenticated
7794
+ */
7795
+ 401: unknown;
7796
+ };
7797
+ };
7798
+ };
7799
+ '/api/v1/{region}/reporting/snapshots/backfill': {
7516
7800
  post: {
7517
- req: ExpectedTransactionControllerEnterNowData;
7801
+ req: ReportingControllerBackfillSnapshotsData;
7518
7802
  res: {
7519
7803
  /**
7520
- * Transaction created successfully
7804
+ * Backfill completed successfully
7521
7805
  */
7522
- 201: unknown;
7806
+ 200: BackfillSnapshotsResponse;
7523
7807
  /**
7524
- * Cannot enter - not in PENDING status or missing accounts
7808
+ * Invalid date format or range
7525
7809
  */
7526
7810
  400: unknown;
7527
7811
  /**
7528
- * Expected transaction or accounts not found
7812
+ * User not authenticated
7529
7813
  */
7530
- 404: unknown;
7531
- };
7532
- };
7533
- };
7534
- '/api/v1/{region}/bean/recurring/forecast': {
7535
- get: {
7536
- req: ForecastControllerGetForecastData;
7537
- res: {
7814
+ 401: unknown;
7538
7815
  /**
7539
- * Forecast retrieved successfully
7816
+ * Backfill already in progress for this user
7540
7817
  */
7541
- 200: ForecastResponseDto;
7818
+ 409: unknown;
7542
7819
  };
7543
7820
  };
7544
7821
  };
7545
- '/api/v1/{region}/bean/transaction-rules': {
7546
- post: {
7547
- req: TransactionRuleControllerCreateData;
7822
+ '/api/v1/users': {
7823
+ delete: {
7824
+ req: UserControllerDeleteOwnUserData;
7548
7825
  res: {
7549
7826
  /**
7550
- * Rule updated successfully (upsert mode)
7551
- */
7552
- 200: TransactionRuleResponseDto;
7553
- /**
7554
- * Validation failed
7555
- */
7556
- 400: ApiProblemResponseDto;
7557
- /**
7558
- * Unauthorized
7827
+ * User deleted successfully
7559
7828
  */
7560
- 401: ApiProblemResponseDto;
7829
+ 204: void;
7561
7830
  /**
7562
- * Resource conflict - another process is updating this rule
7831
+ * Invalid access token
7563
7832
  */
7564
- 409: ApiProblemResponseDto;
7833
+ 403: unknown;
7565
7834
  };
7566
7835
  };
7567
7836
  get: {
7568
- req: TransactionRuleControllerListData;
7837
+ req: UserControllerGetUserData;
7569
7838
  res: {
7570
7839
  /**
7571
- * List of rules
7572
- */
7573
- 200: TransactionRuleListResponseDto;
7574
- /**
7575
- * Unauthorized
7840
+ * User retrieved successfully
7576
7841
  */
7577
- 401: ApiProblemResponseDto;
7842
+ 200: unknown;
7578
7843
  };
7579
7844
  };
7580
- };
7581
- '/api/v1/{region}/bean/transaction-rules/validate': {
7582
7845
  post: {
7583
- req: TransactionRuleControllerValidateData;
7846
+ req: UserControllerSignupUserData;
7584
7847
  res: {
7585
7848
  /**
7586
- * Validation result
7849
+ * User created successfully
7587
7850
  */
7588
- 200: ValidateRuleResponseDto;
7851
+ 201: SignupResponseDto;
7589
7852
  /**
7590
- * Validation failed
7853
+ * Invalid Turnstile token (when Turnstile is enabled)
7591
7854
  */
7592
- 400: ApiProblemResponseDto;
7855
+ 400: unknown;
7593
7856
  /**
7594
- * Unauthorized
7857
+ * User signup is disabled
7595
7858
  */
7596
- 401: ApiProblemResponseDto;
7859
+ 403: unknown;
7597
7860
  };
7598
7861
  };
7599
7862
  };
7600
- '/api/v1/{region}/bean/transaction-rules/bulk': {
7601
- post: {
7602
- req: TransactionRuleControllerBulkCreateData;
7863
+ '/api/v1/users/{id}': {
7864
+ delete: {
7865
+ req: UserControllerDeleteUserData;
7603
7866
  res: {
7604
7867
  /**
7605
- * Bulk create completed
7606
- */
7607
- 201: BulkCreateRulesResponseDto;
7608
- /**
7609
- * Invalid bulk create data
7868
+ * User deleted successfully
7610
7869
  */
7611
- 400: ApiProblemResponseDto;
7870
+ 204: void;
7612
7871
  /**
7613
- * Unauthorized
7872
+ * Cannot delete own account or insufficient permissions
7614
7873
  */
7615
- 401: ApiProblemResponseDto;
7874
+ 403: unknown;
7616
7875
  };
7617
7876
  };
7618
7877
  };
7619
- '/api/v1/{region}/bean/transaction-rules/export/{format}': {
7878
+ '/api/v1/users/{id}/info': {
7620
7879
  get: {
7621
- req: TransactionRuleControllerExportData;
7880
+ req: UserControllerGetUserInfoData;
7622
7881
  res: {
7623
7882
  /**
7624
- * Exported rules
7625
- */
7626
- 200: ExportRulesResponseDto;
7627
- /**
7628
- * Unsupported format
7883
+ * User info retrieved successfully
7629
7884
  */
7630
- 400: ApiProblemResponseDto;
7885
+ 200: unknown;
7631
7886
  /**
7632
- * Unauthorized
7887
+ * Cannot access other user info without admin permission
7633
7888
  */
7634
- 401: ApiProblemResponseDto;
7889
+ 403: unknown;
7635
7890
  };
7636
7891
  };
7637
7892
  };
7638
- '/api/v1/{region}/bean/transaction-rules/statistics/{period}': {
7639
- get: {
7640
- req: TransactionRuleControllerGetStatisticsData;
7893
+ '/api/v1/users/setting': {
7894
+ put: {
7895
+ req: UserControllerUpdateUserSettingData;
7641
7896
  res: {
7642
7897
  /**
7643
- * Rule statistics
7898
+ * Settings updated successfully
7644
7899
  */
7645
- 200: RuleStatisticsResponseDto;
7900
+ 200: unknown;
7646
7901
  /**
7647
- * Unauthorized
7902
+ * Insufficient permissions
7648
7903
  */
7649
- 401: ApiProblemResponseDto;
7904
+ 403: unknown;
7650
7905
  };
7651
7906
  };
7652
7907
  };
7653
- '/api/v1/{region}/bean/transaction-rules/{ruleId}': {
7908
+ '/api/v1/users/settings-by-page': {
7654
7909
  get: {
7655
- req: TransactionRuleControllerGetDetailData;
7910
+ req: UserControllerGetAllUserSettingsByPageData;
7656
7911
  res: {
7657
7912
  /**
7658
- * Rule details
7659
- */
7660
- 200: TransactionRuleResponseDto;
7661
- /**
7662
- * Unauthorized
7663
- */
7664
- 401: ApiProblemResponseDto;
7665
- /**
7666
- * Forbidden - not owner of rule
7667
- */
7668
- 403: ApiProblemResponseDto;
7669
- /**
7670
- * Rule not found
7913
+ * Settings list retrieved successfully
7671
7914
  */
7672
- 404: ApiProblemResponseDto;
7915
+ 200: unknown;
7673
7916
  };
7674
7917
  };
7675
- put: {
7676
- req: TransactionRuleControllerUpdateData;
7918
+ };
7919
+ '/api/v1/users/asset-liability-summary': {
7920
+ get: {
7677
7921
  res: {
7678
7922
  /**
7679
- * Rule updated successfully
7923
+ * Summary retrieved successfully
7680
7924
  */
7681
- 200: TransactionRuleResponseDto;
7925
+ 200: unknown;
7926
+ };
7927
+ };
7928
+ };
7929
+ '/api/v1/admin/properties': {
7930
+ get: {
7931
+ res: {
7682
7932
  /**
7683
- * Validation failed
7933
+ * Properties retrieved successfully
7684
7934
  */
7685
- 400: ApiProblemResponseDto;
7935
+ 200: unknown;
7686
7936
  /**
7687
7937
  * Unauthorized
7688
7938
  */
7689
- 401: ApiProblemResponseDto;
7690
- /**
7691
- * Forbidden - not owner of rule
7692
- */
7693
- 403: ApiProblemResponseDto;
7694
- /**
7695
- * Rule not found
7696
- */
7697
- 404: ApiProblemResponseDto;
7939
+ 401: unknown;
7698
7940
  /**
7699
- * Resource conflict - rule is being modified by another process
7941
+ * Forbidden - insufficient permissions
7700
7942
  */
7701
- 409: ApiProblemResponseDto;
7943
+ 403: unknown;
7702
7944
  };
7703
7945
  };
7704
- delete: {
7705
- req: TransactionRuleControllerDeleteData;
7946
+ };
7947
+ '/api/v1/admin/properties/{key}': {
7948
+ get: {
7949
+ req: PropertyControllerGetByKeyData;
7706
7950
  res: {
7707
7951
  /**
7708
- * Rule deleted successfully
7952
+ * Property retrieved successfully
7709
7953
  */
7710
- 204: void;
7954
+ 200: unknown;
7711
7955
  /**
7712
7956
  * Unauthorized
7713
7957
  */
7714
- 401: ApiProblemResponseDto;
7715
- /**
7716
- * Forbidden - not owner of rule
7717
- */
7718
- 403: ApiProblemResponseDto;
7958
+ 401: unknown;
7719
7959
  /**
7720
- * Rule not found
7960
+ * Forbidden - insufficient permissions
7721
7961
  */
7722
- 404: ApiProblemResponseDto;
7962
+ 403: unknown;
7723
7963
  /**
7724
- * Resource conflict - rule is being modified by another process
7964
+ * Property not found
7725
7965
  */
7726
- 409: ApiProblemResponseDto;
7966
+ 404: unknown;
7727
7967
  };
7728
7968
  };
7729
- };
7730
- '/api/v1/{region}/bean/transaction-rules/{ruleId}/test': {
7731
- post: {
7732
- req: TransactionRuleControllerTestData;
7969
+ put: {
7970
+ req: PropertyControllerUpdateData;
7733
7971
  res: {
7734
7972
  /**
7735
- * Test result
7973
+ * Property updated successfully
7736
7974
  */
7737
- 200: TestRuleResponseDto;
7975
+ 200: unknown;
7738
7976
  /**
7739
7977
  * Unauthorized
7740
7978
  */
7741
- 401: ApiProblemResponseDto;
7742
- /**
7743
- * Forbidden - not owner of rule
7744
- */
7745
- 403: ApiProblemResponseDto;
7979
+ 401: unknown;
7746
7980
  /**
7747
- * Rule not found
7981
+ * Forbidden - insufficient permissions
7748
7982
  */
7749
- 404: ApiProblemResponseDto;
7983
+ 403: unknown;
7750
7984
  };
7751
7985
  };
7752
- };
7753
- '/api/v1/users': {
7754
7986
  delete: {
7755
- req: UserControllerDeleteOwnUserData;
7987
+ req: PropertyControllerDeleteData;
7756
7988
  res: {
7757
7989
  /**
7758
- * User deleted successfully
7990
+ * Property deleted successfully
7759
7991
  */
7760
7992
  204: void;
7761
7993
  /**
7762
- * Invalid access token
7994
+ * Unauthorized
7995
+ */
7996
+ 401: unknown;
7997
+ /**
7998
+ * Forbidden - insufficient permissions
7763
7999
  */
7764
8000
  403: unknown;
7765
- };
7766
- };
7767
- get: {
7768
- req: UserControllerGetUserData;
7769
- res: {
7770
8001
  /**
7771
- * User retrieved successfully
8002
+ * Property not found
7772
8003
  */
7773
- 200: unknown;
8004
+ 404: unknown;
7774
8005
  };
7775
8006
  };
8007
+ };
8008
+ '/api/v1/{region}/bean/transaction-rules': {
7776
8009
  post: {
7777
- req: UserControllerSignupUserData;
8010
+ req: TransactionRuleControllerCreateData;
7778
8011
  res: {
7779
8012
  /**
7780
- * User created successfully
8013
+ * Rule updated successfully (upsert mode)
7781
8014
  */
7782
- 201: unknown;
8015
+ 200: TransactionRuleResponseDto;
7783
8016
  /**
7784
- * Invalid Turnstile token (when Turnstile is enabled)
8017
+ * Validation failed
7785
8018
  */
7786
- 400: unknown;
8019
+ 400: ApiProblemResponseDto;
7787
8020
  /**
7788
- * User signup is disabled
8021
+ * Unauthorized
8022
+ */
8023
+ 401: ApiProblemResponseDto;
8024
+ /**
8025
+ * Resource conflict - another process is updating this rule
7789
8026
  */
7790
- 403: unknown;
8027
+ 409: ApiProblemResponseDto;
7791
8028
  };
7792
8029
  };
7793
- };
7794
- '/api/v1/users/{id}': {
7795
- delete: {
7796
- req: UserControllerDeleteUserData;
8030
+ get: {
8031
+ req: TransactionRuleControllerListData;
7797
8032
  res: {
7798
8033
  /**
7799
- * User deleted successfully
8034
+ * List of rules
7800
8035
  */
7801
- 204: void;
8036
+ 200: TransactionRuleListResponseDto;
7802
8037
  /**
7803
- * Cannot delete own account or insufficient permissions
8038
+ * Unauthorized
7804
8039
  */
7805
- 403: unknown;
8040
+ 401: ApiProblemResponseDto;
7806
8041
  };
7807
8042
  };
7808
8043
  };
7809
- '/api/v1/users/{id}/info': {
7810
- get: {
7811
- req: UserControllerGetUserInfoData;
8044
+ '/api/v1/{region}/bean/transaction-rules/validate': {
8045
+ post: {
8046
+ req: TransactionRuleControllerValidateData;
7812
8047
  res: {
7813
8048
  /**
7814
- * User info retrieved successfully
8049
+ * Validation result
7815
8050
  */
7816
- 200: unknown;
8051
+ 200: ValidateRuleResponseDto;
7817
8052
  /**
7818
- * Cannot access other user info without admin permission
8053
+ * Validation failed
7819
8054
  */
7820
- 403: unknown;
8055
+ 400: ApiProblemResponseDto;
8056
+ /**
8057
+ * Unauthorized
8058
+ */
8059
+ 401: ApiProblemResponseDto;
7821
8060
  };
7822
8061
  };
7823
8062
  };
7824
- '/api/v1/users/setting': {
7825
- put: {
7826
- req: UserControllerUpdateUserSettingData;
8063
+ '/api/v1/{region}/bean/transaction-rules/bulk': {
8064
+ post: {
8065
+ req: TransactionRuleControllerBulkCreateData;
7827
8066
  res: {
7828
8067
  /**
7829
- * Settings updated successfully
8068
+ * Bulk create completed
7830
8069
  */
7831
- 200: unknown;
8070
+ 201: BulkCreateRulesResponseDto;
7832
8071
  /**
7833
- * Insufficient permissions
8072
+ * Invalid bulk create data
7834
8073
  */
7835
- 403: unknown;
8074
+ 400: ApiProblemResponseDto;
8075
+ /**
8076
+ * Unauthorized
8077
+ */
8078
+ 401: ApiProblemResponseDto;
7836
8079
  };
7837
8080
  };
7838
8081
  };
7839
- '/api/v1/users/settings-by-page': {
8082
+ '/api/v1/{region}/bean/transaction-rules/export/{format}': {
7840
8083
  get: {
7841
- req: UserControllerGetAllUserSettingsByPageData;
8084
+ req: TransactionRuleControllerExportData;
7842
8085
  res: {
7843
8086
  /**
7844
- * Settings list retrieved successfully
8087
+ * Exported rules
7845
8088
  */
7846
- 200: unknown;
8089
+ 200: ExportRulesResponseDto;
8090
+ /**
8091
+ * Unsupported format
8092
+ */
8093
+ 400: ApiProblemResponseDto;
8094
+ /**
8095
+ * Unauthorized
8096
+ */
8097
+ 401: ApiProblemResponseDto;
7847
8098
  };
7848
8099
  };
7849
8100
  };
7850
- '/api/v1/users/asset-liability-summary': {
8101
+ '/api/v1/{region}/bean/transaction-rules/statistics/{period}': {
7851
8102
  get: {
8103
+ req: TransactionRuleControllerGetStatisticsData;
7852
8104
  res: {
7853
8105
  /**
7854
- * Summary retrieved successfully
8106
+ * Rule statistics
7855
8107
  */
7856
- 200: unknown;
8108
+ 200: RuleStatisticsResponseDto;
8109
+ /**
8110
+ * Unauthorized
8111
+ */
8112
+ 401: ApiProblemResponseDto;
7857
8113
  };
7858
8114
  };
7859
8115
  };
7860
- '/api/v1/admin/properties': {
8116
+ '/api/v1/{region}/bean/transaction-rules/{ruleId}': {
7861
8117
  get: {
8118
+ req: TransactionRuleControllerGetDetailData;
7862
8119
  res: {
7863
8120
  /**
7864
- * Properties retrieved successfully
8121
+ * Rule details
7865
8122
  */
7866
- 200: unknown;
8123
+ 200: TransactionRuleResponseDto;
7867
8124
  /**
7868
8125
  * Unauthorized
7869
8126
  */
7870
- 401: unknown;
8127
+ 401: ApiProblemResponseDto;
7871
8128
  /**
7872
- * Forbidden - insufficient permissions
8129
+ * Forbidden - not owner of rule
7873
8130
  */
7874
- 403: unknown;
8131
+ 403: ApiProblemResponseDto;
8132
+ /**
8133
+ * Rule not found
8134
+ */
8135
+ 404: ApiProblemResponseDto;
7875
8136
  };
7876
8137
  };
7877
- };
7878
- '/api/v1/admin/properties/{key}': {
7879
- get: {
7880
- req: PropertyControllerGetByKeyData;
8138
+ put: {
8139
+ req: TransactionRuleControllerUpdateData;
7881
8140
  res: {
7882
8141
  /**
7883
- * Property retrieved successfully
8142
+ * Rule updated successfully
7884
8143
  */
7885
- 200: unknown;
8144
+ 200: TransactionRuleResponseDto;
8145
+ /**
8146
+ * Validation failed
8147
+ */
8148
+ 400: ApiProblemResponseDto;
7886
8149
  /**
7887
8150
  * Unauthorized
7888
8151
  */
7889
- 401: unknown;
8152
+ 401: ApiProblemResponseDto;
7890
8153
  /**
7891
- * Forbidden - insufficient permissions
8154
+ * Forbidden - not owner of rule
7892
8155
  */
7893
- 403: unknown;
8156
+ 403: ApiProblemResponseDto;
7894
8157
  /**
7895
- * Property not found
8158
+ * Rule not found
7896
8159
  */
7897
- 404: unknown;
8160
+ 404: ApiProblemResponseDto;
8161
+ /**
8162
+ * Resource conflict - rule is being modified by another process
8163
+ */
8164
+ 409: ApiProblemResponseDto;
7898
8165
  };
7899
8166
  };
7900
- put: {
7901
- req: PropertyControllerUpdateData;
8167
+ delete: {
8168
+ req: TransactionRuleControllerDeleteData;
7902
8169
  res: {
7903
8170
  /**
7904
- * Property updated successfully
8171
+ * Rule deleted successfully
7905
8172
  */
7906
- 200: unknown;
8173
+ 204: void;
7907
8174
  /**
7908
8175
  * Unauthorized
7909
8176
  */
7910
- 401: unknown;
8177
+ 401: ApiProblemResponseDto;
7911
8178
  /**
7912
- * Forbidden - insufficient permissions
8179
+ * Forbidden - not owner of rule
7913
8180
  */
7914
- 403: unknown;
8181
+ 403: ApiProblemResponseDto;
8182
+ /**
8183
+ * Rule not found
8184
+ */
8185
+ 404: ApiProblemResponseDto;
8186
+ /**
8187
+ * Resource conflict - rule is being modified by another process
8188
+ */
8189
+ 409: ApiProblemResponseDto;
7915
8190
  };
7916
8191
  };
7917
- delete: {
7918
- req: PropertyControllerDeleteData;
8192
+ };
8193
+ '/api/v1/{region}/bean/transaction-rules/{ruleId}/test': {
8194
+ post: {
8195
+ req: TransactionRuleControllerTestData;
7919
8196
  res: {
7920
8197
  /**
7921
- * Property deleted successfully
8198
+ * Test result
7922
8199
  */
7923
- 204: void;
8200
+ 200: TestRuleResponseDto;
7924
8201
  /**
7925
8202
  * Unauthorized
7926
8203
  */
7927
- 401: unknown;
8204
+ 401: ApiProblemResponseDto;
7928
8205
  /**
7929
- * Forbidden - insufficient permissions
8206
+ * Forbidden - not owner of rule
7930
8207
  */
7931
- 403: unknown;
8208
+ 403: ApiProblemResponseDto;
7932
8209
  /**
7933
- * Property not found
8210
+ * Rule not found
7934
8211
  */
7935
- 404: unknown;
8212
+ 404: ApiProblemResponseDto;
7936
8213
  };
7937
8214
  };
7938
8215
  };
@@ -8609,78 +8886,6 @@ type $OpenApiTs = {
8609
8886
  };
8610
8887
  };
8611
8888
  };
8612
- '/api/v1/{region}/reporting/portfolio/trends': {
8613
- get: {
8614
- req: ReportingControllerGetPortfolioTrendsData;
8615
- res: {
8616
- /**
8617
- * Trends retrieved successfully
8618
- */
8619
- 200: PortfolioTrendsResponseDto;
8620
- /**
8621
- * User not authenticated
8622
- */
8623
- 401: unknown;
8624
- };
8625
- };
8626
- };
8627
- '/api/v1/{region}/reporting/cash-flow/trends': {
8628
- get: {
8629
- req: ReportingControllerGetCashFlowTrendsData;
8630
- res: {
8631
- /**
8632
- * Cash-flow trends retrieved successfully
8633
- */
8634
- 200: CashFlowTrendsResponseDto;
8635
- /**
8636
- * User not authenticated
8637
- */
8638
- 401: unknown;
8639
- };
8640
- };
8641
- };
8642
- '/api/v1/{region}/reporting/snapshots/generate': {
8643
- post: {
8644
- req: ReportingControllerGenerateSnapshotData;
8645
- res: {
8646
- /**
8647
- * Snapshot generated successfully
8648
- */
8649
- 200: GenerateSnapshotResponse;
8650
- /**
8651
- * Invalid date format
8652
- */
8653
- 400: unknown;
8654
- /**
8655
- * User not authenticated
8656
- */
8657
- 401: unknown;
8658
- };
8659
- };
8660
- };
8661
- '/api/v1/{region}/reporting/snapshots/backfill': {
8662
- post: {
8663
- req: ReportingControllerBackfillSnapshotsData;
8664
- res: {
8665
- /**
8666
- * Backfill completed successfully
8667
- */
8668
- 200: BackfillSnapshotsResponse;
8669
- /**
8670
- * Invalid date format or range
8671
- */
8672
- 400: unknown;
8673
- /**
8674
- * User not authenticated
8675
- */
8676
- 401: unknown;
8677
- /**
8678
- * Backfill already in progress for this user
8679
- */
8680
- 409: unknown;
8681
- };
8682
- };
8683
- };
8684
8889
  '/api/v1/auth/api-keys': {
8685
8890
  post: {
8686
8891
  res: {
@@ -8702,7 +8907,7 @@ type $OpenApiTs = {
8702
8907
  /**
8703
8908
  * Login successful
8704
8909
  */
8705
- 200: unknown;
8910
+ 200: AnonymousLoginResponseDto;
8706
8911
  /**
8707
8912
  * Invalid access token
8708
8913
  */
@@ -8849,6 +9054,32 @@ type $OpenApiTs = {
8849
9054
  };
8850
9055
  };
8851
9056
  };
9057
+ '/api/v1/market/symbols/search': {
9058
+ get: {
9059
+ req: SymbolControllerSearchData;
9060
+ res: {
9061
+ /**
9062
+ * Ranked search results
9063
+ */
9064
+ 200: Array<SymbolSearchResultDto>;
9065
+ };
9066
+ };
9067
+ };
9068
+ '/api/v1/market/symbols/{symbol}/quote': {
9069
+ get: {
9070
+ req: SymbolControllerGetQuoteData;
9071
+ res: {
9072
+ /**
9073
+ * Symbol quote
9074
+ */
9075
+ 200: SymbolQuoteDto;
9076
+ /**
9077
+ * Symbol not found in the openbb catalog
9078
+ */
9079
+ 404: unknown;
9080
+ };
9081
+ };
9082
+ };
8852
9083
  };
8853
9084
 
8854
9085
  declare class BeanAccountsService {
@@ -8900,7 +9131,7 @@ declare class BeanAccountsService {
8900
9131
  static accountControllerUpdate(data: AccountControllerUpdateData): CancelablePromise<AccountControllerUpdateResponse>;
8901
9132
  /**
8902
9133
  * Delete account
8903
- * Deletes an account (only if no transactions)
9134
+ * Deletes an account (only if no active transactions; voided/superseded residual postings are cleaned up)
8904
9135
  * @param data The data for the request.
8905
9136
  * @param data.id Account UUID
8906
9137
  * @param data.region Region code for tenant context
@@ -9272,4 +9503,4 @@ type OpenAPIConfig = {
9272
9503
  };
9273
9504
  declare const OpenAPI: OpenAPIConfig;
9274
9505
 
9275
- 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 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 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 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 };
9506
+ 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 SymbolControllerGetQuoteData, type SymbolControllerGetQuoteResponse, type SymbolControllerSearchData, type SymbolControllerSearchResponse, type SymbolQuoteDto, type SymbolSearchResultDto, 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 assetSubClass, 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 productCategory, 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 };