@firela/api-types 0.0.0-canary.614ff760 → 0.0.0-canary.6a42fd0e

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
@@ -293,6 +293,50 @@ type RegionInfoDto = {
293
293
  type RegionsMetadataResponseDto = {
294
294
  regions: Array<RegionInfoDto>;
295
295
  };
296
+ type CostSpecDto = {
297
+ /**
298
+ * Cost specification mode (mirrors engine CostSpec)
299
+ */
300
+ mode: 'per-unit' | 'total' | 'date' | 'label' | 'auto';
301
+ /**
302
+ * Per-unit cost (required when mode is "per-unit")
303
+ */
304
+ numberPerUnit?: string;
305
+ /**
306
+ * Total cost for all units (required when mode is "total")
307
+ */
308
+ totalNumber?: string;
309
+ /**
310
+ * Cost currency (required in all modes)
311
+ */
312
+ currency: string;
313
+ /**
314
+ * Lot acquisition date, ISO 8601 (required when mode is "date")
315
+ */
316
+ date?: string;
317
+ /**
318
+ * Lot label (required when mode is "label"; optional tag in buy modes)
319
+ */
320
+ label?: string;
321
+ /**
322
+ * Merge lots for AVERAGE booking (mode: auto)
323
+ */
324
+ merge?: boolean;
325
+ };
326
+ /**
327
+ * Cost specification mode (mirrors engine CostSpec)
328
+ */
329
+ type mode = 'per-unit' | 'total' | 'date' | 'label' | 'auto';
330
+ type AmountDto = {
331
+ /**
332
+ * Amount as decimal string (max 15 integer + 15 decimal digits)
333
+ */
334
+ number: string;
335
+ /**
336
+ * Currency/commodity code
337
+ */
338
+ currency: string;
339
+ };
296
340
  type CreatePostingDto = {
297
341
  /**
298
342
  * Account name in Beancount format (must start with uppercase, colon-separated)
@@ -312,6 +356,14 @@ type CreatePostingDto = {
312
356
  meta?: {
313
357
  [key: string]: unknown;
314
358
  };
359
+ /**
360
+ * Cost basis (Beancount `{...}`). Maps to engine costSpec. Required for commodity holdings so they carry a monetary weight that can balance.
361
+ */
362
+ cost?: CostSpecDto;
363
+ /**
364
+ * Price annotation (Beancount `@...`). Maps to engine price. Used for valuation; cost takes priority for balance weight.
365
+ */
366
+ price?: AmountDto;
315
367
  };
316
368
  type CreateTransactionDto = {
317
369
  /**
@@ -361,6 +413,24 @@ type CreateTransactionDto = {
361
413
  * Transaction flag: * (cleared), ! (pending)
362
414
  */
363
415
  type flag = '*' | '!';
416
+ type CostDetailDto = {
417
+ /**
418
+ * Per-unit cost basis (mirrors engine Cost.number)
419
+ */
420
+ number?: string;
421
+ /**
422
+ * Cost currency
423
+ */
424
+ currency?: string;
425
+ /**
426
+ * Lot acquisition date (ISO yyyy-mm-dd)
427
+ */
428
+ date?: string;
429
+ /**
430
+ * Lot label
431
+ */
432
+ label?: string;
433
+ };
364
434
  type PostingResponseDto = {
365
435
  /**
366
436
  * Account name
@@ -374,6 +444,10 @@ type PostingResponseDto = {
374
444
  * Currency
375
445
  */
376
446
  currency?: string;
447
+ /**
448
+ * Booking-resolved cost (mirrors engine Cost). Undefined when the posting has no cost basis.
449
+ */
450
+ cost?: CostDetailDto;
377
451
  };
378
452
  type RecurringSuggestionDto = {
379
453
  /**
@@ -571,9 +645,9 @@ type PostingDetailDto = {
571
645
  */
572
646
  accountId: string;
573
647
  /**
574
- * Account name
648
+ * Fully-qualified Beancount account path
575
649
  */
576
- accountName: string;
650
+ account: string;
577
651
  /**
578
652
  * Amount as decimal string. Typed optional but always present in responses: interpolation fills any MISSING posting before it is persisted or returned.
579
653
  */
@@ -594,6 +668,10 @@ type PostingDetailDto = {
594
668
  * Cost date
595
669
  */
596
670
  costDate?: string;
671
+ /**
672
+ * Booking-resolved cost (mirrors engine Cost). Undefined when the posting has no cost basis.
673
+ */
674
+ cost?: CostDetailDto;
597
675
  /**
598
676
  * Price amount
599
677
  */
@@ -701,6 +779,48 @@ type flag2 = 'CLEARED' | 'PENDING' | 'PADDING' | 'SUMMARIZE' | 'TRANSFER' | 'CON
701
779
  * Transaction status
702
780
  */
703
781
  type status2 = 'ACTIVE' | 'VOIDED' | 'SUPERSEDED';
782
+ type BalanceByCurrencyDto = {
783
+ /**
784
+ * ISO 4217 currency code
785
+ */
786
+ currency: string;
787
+ /**
788
+ * Balance amount
789
+ */
790
+ balance: string;
791
+ };
792
+ type ExchangeRateWarningDto = {
793
+ /**
794
+ * Warning type
795
+ */
796
+ type: string;
797
+ /**
798
+ * Currency without exchange rate
799
+ */
800
+ currency: string;
801
+ /**
802
+ * Total amount affected
803
+ */
804
+ totalAmount: string;
805
+ };
806
+ type TransactionListSummaryDto = {
807
+ /**
808
+ * Partial converted total in base currency (rated currencies only, raw Beancount sign). When warnings is non-empty this excludes currencies missing an FX rate; may be "0.00" if ALL non-base currencies lack a rate. Converted at the dateTo (or current) available rate.
809
+ */
810
+ totalAmount: string;
811
+ /**
812
+ * Base currency (ISO 4217)
813
+ */
814
+ currency: string;
815
+ /**
816
+ * Raw (unconverted) balance per currency
817
+ */
818
+ balanceByCurrency: Array<BalanceByCurrencyDto>;
819
+ /**
820
+ * Currencies missing an FX rate (omitted when empty)
821
+ */
822
+ warnings?: Array<ExchangeRateWarningDto>;
823
+ };
704
824
  type TransactionListResponseDto = {
705
825
  /**
706
826
  * List of transactions
@@ -718,6 +838,10 @@ type TransactionListResponseDto = {
718
838
  * Number of items skipped
719
839
  */
720
840
  offset: number;
841
+ /**
842
+ * Amount summary for the full filtered set (#514). Present only when the request has a single account OR category viewpoint; omitted for search-only / plain-list / dual-perspective requests.
843
+ */
844
+ summary?: TransactionListSummaryDto;
721
845
  };
722
846
  type TagSuggestionDto = {
723
847
  /**
@@ -1094,17 +1218,17 @@ type ResolveResultDto = {
1094
1218
  [key: string]: string;
1095
1219
  };
1096
1220
  /**
1097
- * Resolution ID for undo
1221
+ * Resolution ID for undo. Absent when the resolver rejected the decision (review stayed PENDING).
1098
1222
  */
1099
- resolutionId: string;
1223
+ resolutionId?: string;
1100
1224
  /**
1101
1225
  * Whether this decision can be undone
1102
1226
  */
1103
- canUndo: boolean;
1227
+ canUndo?: boolean;
1104
1228
  /**
1105
1229
  * Deadline for undo (24h from resolution)
1106
1230
  */
1107
- undoDeadline: string;
1231
+ undoDeadline?: string;
1108
1232
  /**
1109
1233
  * Rule ID if learning was triggered (ACCEPT_AND_LEARN actions). Use this to deep-link to the rule management page.
1110
1234
  */
@@ -1564,6 +1688,104 @@ type UpdateCommodityDto = {
1564
1688
  [key: string]: unknown;
1565
1689
  };
1566
1690
  };
1691
+ type CreateBeanPriceDto = {
1692
+ /**
1693
+ * Currency being priced (e.g., USD, AAPL, BTC)
1694
+ */
1695
+ currency: string;
1696
+ /**
1697
+ * Quote currency (pricing currency, e.g., CNY, EUR)
1698
+ */
1699
+ quoteCurrency: string;
1700
+ /**
1701
+ * Price amount (MUST be >= 0 per Beancount spec, supports up to 15 decimal places). Zero allowed for conversion entries, negative strictly prohibited.
1702
+ */
1703
+ amount: number;
1704
+ /**
1705
+ * Price date (ISO 8601 format)
1706
+ */
1707
+ date: string;
1708
+ /**
1709
+ * Metadata (validated by Zod schema, max field lengths enforced)
1710
+ */
1711
+ metadata?: {
1712
+ [key: string]: unknown;
1713
+ };
1714
+ };
1715
+ type PriceResponseDto = {
1716
+ /**
1717
+ * Unique identifier
1718
+ */
1719
+ id: string;
1720
+ /**
1721
+ * User ID (owner of the price)
1722
+ */
1723
+ userId: string;
1724
+ /**
1725
+ * Currency being priced (e.g., USD, AAPL, BTC)
1726
+ */
1727
+ currency: string;
1728
+ /**
1729
+ * Quote currency (pricing currency, e.g., USD, CNY)
1730
+ */
1731
+ quoteCurrency: string;
1732
+ /**
1733
+ * Price amount (corresponds to Beancount Amount.number). Supports up to 15 decimal places.
1734
+ */
1735
+ amount: number;
1736
+ /**
1737
+ * Price date (ISO 8601 format). Represents the date this price was valid.
1738
+ */
1739
+ date: string;
1740
+ /**
1741
+ * Metadata (corresponds to Beancount meta field). Contains source, confidence, note, etc.
1742
+ */
1743
+ meta: {
1744
+ [key: string]: unknown;
1745
+ };
1746
+ /**
1747
+ * Creation timestamp
1748
+ */
1749
+ createdAt: string;
1750
+ /**
1751
+ * Last update timestamp
1752
+ */
1753
+ updatedAt: string;
1754
+ };
1755
+ type PriceListResponseDto = {
1756
+ /**
1757
+ * List of prices
1758
+ */
1759
+ items: Array<PriceResponseDto>;
1760
+ /**
1761
+ * Total number of prices
1762
+ */
1763
+ total: number;
1764
+ };
1765
+ type UpdateBeanPriceDto = {
1766
+ /**
1767
+ * Currency being priced
1768
+ */
1769
+ currency?: string;
1770
+ /**
1771
+ * Quote currency (pricing currency)
1772
+ */
1773
+ quoteCurrency?: string;
1774
+ /**
1775
+ * Price amount (MUST be >= 0 per Beancount spec)
1776
+ */
1777
+ amount?: number;
1778
+ /**
1779
+ * Price date (ISO 8601 format)
1780
+ */
1781
+ date?: string;
1782
+ /**
1783
+ * Metadata
1784
+ */
1785
+ metadata?: {
1786
+ [key: string]: unknown;
1787
+ };
1788
+ };
1567
1789
  type CreateRecurringRuleDto = {
1568
1790
  /**
1569
1791
  * Rule name (unique per user)
@@ -2611,133 +2833,335 @@ type UpdatePropertyDto = {
2611
2833
  */
2612
2834
  value: string;
2613
2835
  };
2614
- type FileImportDto = {
2615
- /**
2616
- * Bill file to import (CSV, PDF, OFX, etc.)
2617
- */
2618
- file: Blob | File;
2619
- };
2620
- type ImportErrorDto = {
2836
+ type CreateBeanEventDto = {
2621
2837
  /**
2622
- * Index of failed transaction in the file
2838
+ * Life event date (ISO 8601)
2623
2839
  */
2624
- index: number;
2840
+ date: string;
2625
2841
  /**
2626
- * Error message
2842
+ * Life event type (e.g., "employer", "location", "marital-status") — user-defined, no enum constraint at engine layer
2627
2843
  */
2628
- error: string;
2629
- };
2630
- type ReviewItemPreviewDto = {
2844
+ type: string;
2631
2845
  /**
2632
- * Index in the import batch (for tracking)
2846
+ * Life event description. Empty string is a VALID value (distinct from absence).
2633
2847
  */
2634
- index: number;
2848
+ description: string;
2635
2849
  /**
2636
- * Transaction date (ISO format)
2850
+ * Product-side metadata (lives in BeanEvent.meta JSON, never in engine Event fields)
2637
2851
  */
2638
- date: string;
2852
+ meta?: {
2853
+ [key: string]: unknown;
2854
+ };
2855
+ };
2856
+ type EventResponseDto = {
2639
2857
  /**
2640
- * Transaction amount (absolute value)
2858
+ * Unique identifier
2641
2859
  */
2642
- amount?: number;
2860
+ id: string;
2643
2861
  /**
2644
- * Currency code
2862
+ * User ID (owner of the life event)
2645
2863
  */
2646
- currency?: string;
2864
+ userId: string;
2647
2865
  /**
2648
- * Transaction narration/description
2866
+ * Life event date (ISO 8601 format)
2649
2867
  */
2650
- narration: string;
2868
+ date: string;
2651
2869
  /**
2652
- * Payee name
2870
+ * Life event type (user-defined, e.g., "employer", "location")
2653
2871
  */
2654
- payee?: string;
2872
+ type: string;
2655
2873
  /**
2656
- * Inferred category from rule matching
2874
+ * Life event description. May be an empty string (a valid value distinct from absence).
2657
2875
  */
2658
- category?: string;
2876
+ description: string;
2659
2877
  /**
2660
- * Confidence score for the match (0-1)
2878
+ * Product-side metadata (free-form JSON)
2661
2879
  */
2662
- confidence?: number;
2880
+ meta: {
2881
+ [key: string]: unknown;
2882
+ };
2663
2883
  /**
2664
- * Type of branch requiring review
2884
+ * Creation timestamp
2665
2885
  */
2666
- branchType?: 'DUPLICATE' | 'PAYEE_MATCH' | 'RULE_MATCH' | 'ACCOUNT_VALIDATION' | 'PIPELINE_ERROR';
2886
+ createdAt: string;
2667
2887
  /**
2668
- * Human-readable reasons for requiring review
2888
+ * Last update timestamp. Also emitted as the ETag response header for If-Match optimistic concurrency.
2669
2889
  */
2670
- reasons?: Array<string>;
2890
+ updatedAt: string;
2671
2891
  };
2672
- /**
2673
- * Type of branch requiring review
2674
- */
2675
- type branchType = 'DUPLICATE' | 'PAYEE_MATCH' | 'RULE_MATCH' | 'ACCOUNT_VALIDATION' | 'PIPELINE_ERROR';
2676
- type ImportResultDto = {
2677
- /**
2678
- * Number of successfully imported transactions
2679
- */
2680
- imported: number;
2892
+ type EventListResponseDto = {
2681
2893
  /**
2682
- * Number of failed transactions
2894
+ * List of life events
2683
2895
  */
2684
- failed: number;
2896
+ items: Array<EventResponseDto>;
2685
2897
  /**
2686
- * Number of skipped transactions (high confidence duplicates, auto-skipped)
2898
+ * Total number of life events matching the query
2687
2899
  */
2688
- skipped: number;
2900
+ total: number;
2901
+ };
2902
+ type UpdateBeanEventDto = {
2689
2903
  /**
2690
- * Number of transactions pending review (medium confidence duplicates)
2904
+ * Life event date (ISO 8601)
2691
2905
  */
2692
- pendingReview: number;
2906
+ date?: string;
2693
2907
  /**
2694
- * Array of error details for failed transactions
2908
+ * Life event type (user-defined)
2695
2909
  */
2696
- errors: Array<ImportErrorDto>;
2910
+ type?: string;
2697
2911
  /**
2698
- * Array of transactions pending review with preview data. Contains essential information for displaying in the import preview UI.
2912
+ * Life event description. Empty string is a VALID value (distinct from absence).
2699
2913
  */
2700
- reviewItems?: Array<ReviewItemPreviewDto>;
2914
+ description?: string;
2701
2915
  /**
2702
- * Array of imported transactions (optional, for debugging)
2916
+ * Product-side metadata (free-form JSON)
2703
2917
  */
2704
- transactions?: {
2918
+ meta?: {
2705
2919
  [key: string]: unknown;
2706
2920
  };
2707
2921
  };
2708
- type IdentifyResultDto = {
2922
+ type ActualBalanceDto = {
2709
2923
  /**
2710
- * Whether the file was successfully identified
2924
+ * Actual balance amount as a decimal string (preserves precision for tolerance inference).
2711
2925
  */
2712
- identified: boolean;
2926
+ amount: string;
2713
2927
  /**
2714
- * Name of the importer that can handle this file
2928
+ * Currency code (ISO 4217 or commodity ticker).
2715
2929
  */
2716
- importerName?: string;
2930
+ ccy: string;
2931
+ };
2932
+ type ComputeReconciliationDto = {
2717
2933
  /**
2718
- * Unique identifier of the importer
2934
+ * BeanAccount id to reconcile.
2719
2935
  */
2720
- importerId?: string;
2936
+ accountId: string;
2721
2937
  /**
2722
- * Default account used by this importer
2938
+ * Assertion date (ISO 8601, e.g. "2026-07-24").
2723
2939
  */
2724
- account?: string;
2940
+ asOfDate: string;
2725
2941
  /**
2726
- * Message when file cannot be identified
2942
+ * Actual balance from the external statement.
2727
2943
  */
2728
- message?: string;
2944
+ actualBalance: ActualBalanceDto;
2729
2945
  };
2730
- type MapperDefaultsDto = {
2946
+ type ReconciliationComputeResultDto = {
2947
+ accountId: string;
2948
+ asOfDate: string;
2731
2949
  /**
2732
- * Source account for transactions (Beancount format)
2950
+ * System-computed book balance (decimal string).
2733
2951
  */
2734
- sourceAccount: string;
2952
+ bookBalance: string;
2735
2953
  /**
2736
- * Default currency (ISO 4217 code)
2954
+ * User-entered actual balance (decimal string).
2737
2955
  */
2956
+ actualBalance: string;
2738
2957
  currency: string;
2739
2958
  /**
2740
- * Default expense account
2959
+ * Diff = book − actual (decimal string).
2960
+ */
2961
+ diff: string;
2962
+ /**
2963
+ * Applied tolerance (decimal string).
2964
+ */
2965
+ tolerance: string;
2966
+ /**
2967
+ * true when |diff| ≤ tolerance.
2968
+ */
2969
+ withinTolerance: boolean;
2970
+ /**
2971
+ * Suggested next action: assert when within tolerance, pad otherwise.
2972
+ */
2973
+ suggestedAction: 'assert' | 'pad';
2974
+ };
2975
+ /**
2976
+ * Suggested next action: assert when within tolerance, pad otherwise.
2977
+ */
2978
+ type suggestedAction = 'assert' | 'pad';
2979
+ type AssertReconciliationDto = {
2980
+ /**
2981
+ * BeanAccount id to reconcile.
2982
+ */
2983
+ accountId: string;
2984
+ /**
2985
+ * Assertion date (ISO 8601, e.g. "2026-07-24").
2986
+ */
2987
+ asOfDate: string;
2988
+ /**
2989
+ * Actual balance from the external statement.
2990
+ */
2991
+ actualBalance: ActualBalanceDto;
2992
+ /**
2993
+ * Optional explicit tolerance override. Omit to infer from amount precision (Beancount default).
2994
+ */
2995
+ tolerance?: string;
2996
+ };
2997
+ type ReconciliationRecordDto = {
2998
+ id: string;
2999
+ accountId: string;
3000
+ date: string;
3001
+ /**
3002
+ * Asserted (actual) amount.
3003
+ */
3004
+ amount: string;
3005
+ currency: string;
3006
+ tolerance?: string;
3007
+ /**
3008
+ * book − actual.
3009
+ */
3010
+ diffAmount?: string;
3011
+ diffCurrency?: string;
3012
+ createdAt: string;
3013
+ };
3014
+ type PadReconciliationDto = {
3015
+ /**
3016
+ * BeanAccount id to reconcile.
3017
+ */
3018
+ accountId: string;
3019
+ /**
3020
+ * Assertion date (ISO 8601, e.g. "2026-07-24").
3021
+ */
3022
+ asOfDate: string;
3023
+ /**
3024
+ * Actual balance from the external statement.
3025
+ */
3026
+ actualBalance: ActualBalanceDto;
3027
+ /**
3028
+ * Pad source account. Defaults to Equity:Opening-Balances (official Beancount convention).
3029
+ */
3030
+ sourceAccount?: string;
3031
+ };
3032
+ type PadResultDto = {
3033
+ /**
3034
+ * Created pad adjusting transaction id.
3035
+ */
3036
+ transactionId: string;
3037
+ };
3038
+ type FileImportDto = {
3039
+ /**
3040
+ * Bill file to import (CSV, PDF, OFX, etc.)
3041
+ */
3042
+ file: Blob | File;
3043
+ };
3044
+ type ImportErrorDto = {
3045
+ /**
3046
+ * Index of failed transaction in the file
3047
+ */
3048
+ index: number;
3049
+ /**
3050
+ * Error message
3051
+ */
3052
+ error: string;
3053
+ };
3054
+ type ReviewItemPreviewDto = {
3055
+ /**
3056
+ * Index in the import batch (for tracking)
3057
+ */
3058
+ index: number;
3059
+ /**
3060
+ * Transaction date (ISO format)
3061
+ */
3062
+ date: string;
3063
+ /**
3064
+ * Transaction amount (absolute value)
3065
+ */
3066
+ amount?: number;
3067
+ /**
3068
+ * Currency code
3069
+ */
3070
+ currency?: string;
3071
+ /**
3072
+ * Transaction narration/description
3073
+ */
3074
+ narration: string;
3075
+ /**
3076
+ * Payee name
3077
+ */
3078
+ payee?: string;
3079
+ /**
3080
+ * Inferred category from rule matching
3081
+ */
3082
+ category?: string;
3083
+ /**
3084
+ * Confidence score for the match (0-1)
3085
+ */
3086
+ confidence?: number;
3087
+ /**
3088
+ * Type of branch requiring review
3089
+ */
3090
+ branchType?: 'DUPLICATE' | 'PAYEE_MATCH' | 'RULE_MATCH' | 'ACCOUNT_VALIDATION' | 'PIPELINE_ERROR';
3091
+ /**
3092
+ * Human-readable reasons for requiring review
3093
+ */
3094
+ reasons?: Array<string>;
3095
+ };
3096
+ /**
3097
+ * Type of branch requiring review
3098
+ */
3099
+ type branchType = 'DUPLICATE' | 'PAYEE_MATCH' | 'RULE_MATCH' | 'ACCOUNT_VALIDATION' | 'PIPELINE_ERROR';
3100
+ type ImportResultDto = {
3101
+ /**
3102
+ * Number of successfully imported transactions
3103
+ */
3104
+ imported: number;
3105
+ /**
3106
+ * Number of failed transactions
3107
+ */
3108
+ failed: number;
3109
+ /**
3110
+ * Number of skipped transactions (high confidence duplicates, auto-skipped)
3111
+ */
3112
+ skipped: number;
3113
+ /**
3114
+ * Number of transactions pending review (medium confidence duplicates)
3115
+ */
3116
+ pendingReview: number;
3117
+ /**
3118
+ * Array of error details for failed transactions
3119
+ */
3120
+ errors: Array<ImportErrorDto>;
3121
+ /**
3122
+ * Array of transactions pending review with preview data. Contains essential information for displaying in the import preview UI.
3123
+ */
3124
+ reviewItems?: Array<ReviewItemPreviewDto>;
3125
+ /**
3126
+ * Array of imported transactions (optional, for debugging)
3127
+ */
3128
+ transactions?: {
3129
+ [key: string]: unknown;
3130
+ };
3131
+ };
3132
+ type IdentifyResultDto = {
3133
+ /**
3134
+ * Whether the file was successfully identified
3135
+ */
3136
+ identified: boolean;
3137
+ /**
3138
+ * Name of the importer that can handle this file
3139
+ */
3140
+ importerName?: string;
3141
+ /**
3142
+ * Unique identifier of the importer
3143
+ */
3144
+ importerId?: string;
3145
+ /**
3146
+ * Default account used by this importer
3147
+ */
3148
+ account?: string;
3149
+ /**
3150
+ * Message when file cannot be identified
3151
+ */
3152
+ message?: string;
3153
+ };
3154
+ type MapperDefaultsDto = {
3155
+ /**
3156
+ * Source account for transactions (Beancount format)
3157
+ */
3158
+ sourceAccount: string;
3159
+ /**
3160
+ * Default currency (ISO 4217 code)
3161
+ */
3162
+ currency: string;
3163
+ /**
3164
+ * Default expense account
2741
3165
  */
2742
3166
  expenseAccount?: string;
2743
3167
  /**
@@ -2992,6 +3416,7 @@ type SupportedProvidersResponseDto = {
2992
3416
  providers: Array<string>;
2993
3417
  };
2994
3418
  type ParserTelemetryReportDto = unknown;
3419
+ type UncoveredFormatMissDto = unknown;
2995
3420
  type ProcessNlpDto = {
2996
3421
  /**
2997
3422
  * Natural language text describing a transaction (Chinese)
@@ -3525,16 +3950,6 @@ type liabilitySubType = 'borrow' | 'repay';
3525
3950
  * Equity sub-type (only present when intent is "equity"). opening: account opening balance (Equity → Assets), adjustment: balance correction.
3526
3951
  */
3527
3952
  type equitySubType = 'opening' | 'adjustment';
3528
- type BalanceByCurrencyDto = {
3529
- /**
3530
- * ISO 4217 currency code
3531
- */
3532
- currency: string;
3533
- /**
3534
- * Balance amount
3535
- */
3536
- balance: string;
3537
- };
3538
3953
  type NetWorthByCurrencyDto = {
3539
3954
  /**
3540
3955
  * Net worth by currency
@@ -3573,20 +3988,6 @@ type ConvertedNetWorthDto = {
3573
3988
  [key: string]: unknown;
3574
3989
  };
3575
3990
  };
3576
- type ExchangeRateWarningDto = {
3577
- /**
3578
- * Warning type
3579
- */
3580
- type: string;
3581
- /**
3582
- * Currency without exchange rate
3583
- */
3584
- currency: string;
3585
- /**
3586
- * Total amount affected
3587
- */
3588
- totalAmount: string;
3589
- };
3590
3991
  type NetWorthResponseDto = {
3591
3992
  /**
3592
3993
  * Total net worth (assets - liabilities, converted to base currency)
@@ -3650,6 +4051,10 @@ type AccountItemDto = {
3650
4051
  * Currency code
3651
4052
  */
3652
4053
  currency: string;
4054
+ /**
4055
+ * FX-converted balance in base currency; omitted when not convertible
4056
+ */
4057
+ convertedBalance?: string;
3653
4058
  };
3654
4059
  type PlatformGroupDto = {
3655
4060
  /**
@@ -3665,9 +4070,39 @@ type PlatformGroupDto = {
3665
4070
  */
3666
4071
  accounts: Array<AccountItemDto>;
3667
4072
  /**
3668
- * Total balance across all accounts in platform
4073
+ * FX-converted total balance in base currency
3669
4074
  */
3670
4075
  totalBalance: string;
4076
+ /**
4077
+ * Raw (unconverted) balances grouped by currency
4078
+ */
4079
+ balanceByCurrency: Array<BalanceByCurrencyDto>;
4080
+ /**
4081
+ * Converted balance in base currency (omitted when no currency is convertible)
4082
+ */
4083
+ convertedBalance?: string;
4084
+ /**
4085
+ * Share of the grand converted total (0-100); 0 when grand total is 0
4086
+ */
4087
+ sharePct: number;
4088
+ };
4089
+ type AccountExchangeRateWarningDto = {
4090
+ /**
4091
+ * Warning type
4092
+ */
4093
+ type: string;
4094
+ /**
4095
+ * Currency without exchange rate
4096
+ */
4097
+ currency: string;
4098
+ /**
4099
+ * Affected account paths
4100
+ */
4101
+ accounts: Array<string>;
4102
+ /**
4103
+ * Total amount in this currency
4104
+ */
4105
+ totalAmount: string;
3671
4106
  };
3672
4107
  type AccountsSummaryDto = {
3673
4108
  /**
@@ -3678,6 +4113,14 @@ type AccountsSummaryDto = {
3678
4113
  * Total number of platforms
3679
4114
  */
3680
4115
  totalPlatforms: number;
4116
+ /**
4117
+ * Base currency for conversion
4118
+ */
4119
+ baseCurrency: string;
4120
+ /**
4121
+ * Per-account exchange rate warnings
4122
+ */
4123
+ warnings?: Array<AccountExchangeRateWarningDto>;
3681
4124
  };
3682
4125
  type AccountsResponseDto = {
3683
4126
  /**
@@ -3710,6 +4153,10 @@ type AccountItemWithAssetClassDto = {
3710
4153
  * Currency code
3711
4154
  */
3712
4155
  currency: string;
4156
+ /**
4157
+ * FX-converted balance in base currency; omitted when not convertible
4158
+ */
4159
+ convertedBalance?: string;
3713
4160
  /**
3714
4161
  * Asset class
3715
4162
  */
@@ -3726,7 +4173,15 @@ type AccountItemWithAssetClassDto = {
3726
4173
  * Risk level
3727
4174
  */
3728
4175
  riskLevel?: string;
4176
+ /**
4177
+ * ADR-0105 classification provenance (holding level always; account level only on FALLBACK)
4178
+ */
4179
+ source?: 'USER_META' | 'FIAT_CURRENCY' | 'OPENBB_MAPPING' | 'FALLBACK';
3729
4180
  };
4181
+ /**
4182
+ * ADR-0105 classification provenance (holding level always; account level only on FALLBACK)
4183
+ */
4184
+ type source2 = 'USER_META' | 'FIAT_CURRENCY' | 'OPENBB_MAPPING' | 'FALLBACK';
3730
4185
  type AssetClassGroupDto = {
3731
4186
  /**
3732
4187
  * Asset class name
@@ -3753,24 +4208,6 @@ type AssetClassGroupDto = {
3753
4208
  * Asset class name
3754
4209
  */
3755
4210
  type assetClass = 'LIQUIDITY' | 'EQUITY' | 'FIXED_INCOME' | 'PRECIOUS_METALS' | 'COMMODITY' | 'INSURANCE' | 'ALTERNATIVE_INVESTMENT' | 'PERSONAL_ASSETS' | 'LIABILITY' | 'REAL_ESTATE' | 'INDEX';
3756
- type AccountExchangeRateWarningDto = {
3757
- /**
3758
- * Warning type
3759
- */
3760
- type: string;
3761
- /**
3762
- * Currency without exchange rate
3763
- */
3764
- currency: string;
3765
- /**
3766
- * Affected account paths
3767
- */
3768
- accounts: Array<string>;
3769
- /**
3770
- * Total amount in this currency
3771
- */
3772
- totalAmount: string;
3773
- };
3774
4211
  type AssetClassSummaryDto = {
3775
4212
  /**
3776
4213
  * Total number of accounts
@@ -3788,6 +4225,12 @@ type AssetClassSummaryDto = {
3788
4225
  * Exchange rate warnings
3789
4226
  */
3790
4227
  warnings?: Array<AccountExchangeRateWarningDto>;
4228
+ /**
4229
+ * ADR-0105 §4 fallback provenance stats (holding level only). valueRatio is the grey-area share of total converted value; count is the number of source=FALLBACK holdings.
4230
+ */
4231
+ fallback?: {
4232
+ [key: string]: unknown;
4233
+ };
3791
4234
  };
3792
4235
  type AssetClassAccountsResponseDto = {
3793
4236
  /**
@@ -3798,6 +4241,54 @@ type AssetClassAccountsResponseDto = {
3798
4241
  * Summary statistics
3799
4242
  */
3800
4243
  summary: AssetClassSummaryDto;
4244
+ /**
4245
+ * ADR-0105 §6 holding-level grey-area bucket (source=FALLBACK holdings peeled out of groups). Present only for groupBy=holdingAssetClass when FALLBACK holdings exist.
4246
+ */
4247
+ uncategorized?: AssetClassGroupDto;
4248
+ };
4249
+ type HoldingAssetClassAccountSliceDto = {
4250
+ /**
4251
+ * Account ID
4252
+ */
4253
+ accountId: string;
4254
+ /**
4255
+ * Full account path
4256
+ */
4257
+ accountPath: string;
4258
+ /**
4259
+ * Currency of the holding with the largest converted base value; undefined when no holding is convertible
4260
+ */
4261
+ accountCurrency?: string;
4262
+ /**
4263
+ * Account's market value in base currency (Σ converted holdings; grey bucket included)
4264
+ */
4265
+ marketValueBase: string;
4266
+ /**
4267
+ * Share of the global total (0-100). 0 when globalTotal is zero (no NaN/Infinity).
4268
+ */
4269
+ shareOfTotalPct: number;
4270
+ /**
4271
+ * Per-account asset-class breakdown
4272
+ */
4273
+ groups: Array<AssetClassGroupDto>;
4274
+ /**
4275
+ * Per-account grey bucket (source=FALLBACK holdings, incl. broker cash)
4276
+ */
4277
+ uncategorized?: AssetClassGroupDto;
4278
+ /**
4279
+ * Every holding row for this account (account ID in each row’s `id` field)
4280
+ */
4281
+ holdings: Array<AccountItemWithAssetClassDto>;
4282
+ };
4283
+ type HoldingAssetClassCrossAccountResponseDto = {
4284
+ /**
4285
+ * Merged cross-account holding aggregation
4286
+ */
4287
+ global: AssetClassAccountsResponseDto;
4288
+ /**
4289
+ * Per-account slices
4290
+ */
4291
+ byAccount: Array<HoldingAssetClassAccountSliceDto>;
3801
4292
  };
3802
4293
  type CashFlowByCurrencyDto = {
3803
4294
  /**
@@ -3857,24 +4348,249 @@ type CashFlowResponseDto = {
3857
4348
  /**
3858
4349
  * Savings rate percentage (netSavings / income * 100)
3859
4350
  */
3860
- savingsRate: string;
4351
+ savingsRate: string;
4352
+ /**
4353
+ * Base currency code
4354
+ */
4355
+ currency: string;
4356
+ /**
4357
+ * Cash flow grouped by original currency
4358
+ */
4359
+ byCurrency?: CashFlowByCurrencyDto;
4360
+ /**
4361
+ * Converted values in base currency
4362
+ */
4363
+ converted?: ConvertedCashFlowDto;
4364
+ /**
4365
+ * Exchange rate warnings
4366
+ */
4367
+ warnings?: Array<ExchangeRateWarningDto>;
4368
+ };
4369
+ type CategoryGroupDto = {
4370
+ /**
4371
+ * Functional category (account-path Group segment); regional and universal account paths merge under it
4372
+ */
4373
+ category: string;
4374
+ /**
4375
+ * Converted total for this category in base currency (expense amount when flow=expense, income amount when flow=income)
4376
+ */
4377
+ totalExpense: string;
4378
+ /**
4379
+ * Share of grand total (0-100); 0 when grand total is 0
4380
+ */
4381
+ sharePct: number;
4382
+ /**
4383
+ * Raw (unconverted) expense per currency
4384
+ */
4385
+ balanceByCurrency: Array<BalanceByCurrencyDto>;
4386
+ /**
4387
+ * Converted total in base currency (omitted when FX missing for all currencies in this category)
4388
+ */
4389
+ convertedBalance?: string;
4390
+ };
4391
+ type ExpensesByCategorySummaryDto = {
4392
+ /**
4393
+ * Total across all categories, converted (convertible categories only); expense totals when flow=expense, income totals when flow=income
4394
+ */
4395
+ totalExpense: string;
4396
+ /**
4397
+ * Number of categories
4398
+ */
4399
+ categoryCount: number;
4400
+ };
4401
+ type ExpensesByCategoryResponseDto = {
4402
+ /**
4403
+ * Period requested
4404
+ */
4405
+ period: string;
4406
+ /**
4407
+ * Base currency for converted values
4408
+ */
4409
+ baseCurrency: string;
4410
+ /**
4411
+ * Expense groups by functional category, sorted by converted total desc
4412
+ */
4413
+ groups: Array<CategoryGroupDto>;
4414
+ /**
4415
+ * Summary statistics
4416
+ */
4417
+ summary: ExpensesByCategorySummaryDto;
4418
+ /**
4419
+ * Exchange rate warnings (e.g. missing rate for a currency)
4420
+ */
4421
+ warnings?: Array<ExchangeRateWarningDto>;
4422
+ };
4423
+ type MonetaryDto = {
4424
+ /**
4425
+ * Amount (Decimal string)
4426
+ */
4427
+ amount: string;
4428
+ /**
4429
+ * ISO 4217 currency
4430
+ */
4431
+ currency: string;
4432
+ /**
4433
+ * Converted to user base currency (Decimal string)
4434
+ */
4435
+ baseCcyEquivalent?: {
4436
+ [key: string]: unknown;
4437
+ } | null;
4438
+ };
4439
+ type CurrentPriceDto = {
4440
+ /**
4441
+ * Price amount (Decimal string)
4442
+ */
4443
+ amount: string;
4444
+ /**
4445
+ * Price currency (ISO 4217)
4446
+ */
4447
+ currency: string;
4448
+ /**
4449
+ * Price date (ISO 8601)
4450
+ */
4451
+ date: string;
4452
+ /**
4453
+ * Price source
4454
+ */
4455
+ source: 'USER_OVERRIDE' | 'OPENBB_EQUITY' | 'OPENBB_CURRENCY';
4456
+ };
4457
+ /**
4458
+ * Price source
4459
+ */
4460
+ type source3 = 'USER_OVERRIDE' | 'OPENBB_EQUITY' | 'OPENBB_CURRENCY';
4461
+ type FxRateDto = {
4462
+ from: string;
4463
+ to: string;
4464
+ /**
4465
+ * FX rate (Decimal string)
4466
+ */
4467
+ rate: string;
4468
+ /**
4469
+ * Rate date (ISO 8601)
4470
+ */
4471
+ date: string;
4472
+ };
4473
+ type HoldingPnlRowDto = {
4474
+ /**
4475
+ * Account UUID
4476
+ */
4477
+ accountId: string;
4478
+ /**
4479
+ * Full account path
4480
+ */
4481
+ accountPath: string;
4482
+ /**
4483
+ * Account settlement currency (ISO 4217), from cost currency
4484
+ */
4485
+ accountCcy?: {
4486
+ [key: string]: unknown;
4487
+ } | null;
4488
+ /**
4489
+ * Broker type derived from Platform.type
4490
+ */
4491
+ brokerType?: {
4492
+ [key: string]: unknown;
4493
+ } | null;
4494
+ /**
4495
+ * Commodity symbol
4496
+ */
4497
+ symbol: string;
4498
+ /**
4499
+ * Chart segment token (libs/common resolver)
4500
+ */
4501
+ chartToken: 'equity' | 'fund' | 'bond' | 'cash' | 'other';
4502
+ assetClass: string;
4503
+ assetSubClass?: {
4504
+ [key: string]: unknown;
4505
+ } | null;
4506
+ /**
4507
+ * Net held units (Decimal string)
4508
+ */
4509
+ units: string;
4510
+ /**
4511
+ * Average cost per unit; null when cost currency conflicts or no cost
4512
+ */
4513
+ averageCostPerUnit?: MonetaryDto | null;
4514
+ /**
4515
+ * Cost basis of held units
4516
+ */
4517
+ costBasis?: MonetaryDto | null;
4518
+ /**
4519
+ * Market value at asOf price
4520
+ */
4521
+ marketValue?: MonetaryDto | null;
4522
+ /**
4523
+ * Price used for market value
4524
+ */
4525
+ currentPrice?: CurrentPriceDto | null;
4526
+ /**
4527
+ * Unrealized P&L in base currency (Decimal string); null when any FX/price missing
4528
+ */
4529
+ unrealizedPnlBase?: {
4530
+ [key: string]: unknown;
4531
+ } | null;
4532
+ /**
4533
+ * Unrealized P&L % (Decimal string)
4534
+ */
4535
+ unrealizedPnlPct?: {
4536
+ [key: string]: unknown;
4537
+ } | null;
4538
+ /**
4539
+ * Historical FX rate applied to cost basis
4540
+ */
4541
+ costFxRate?: FxRateDto | null;
4542
+ /**
4543
+ * FX rate applied to market value
4544
+ */
4545
+ marketFxRate?: FxRateDto | null;
3861
4546
  /**
3862
- * Base currency code
4547
+ * Share of invested assets % (Decimal string); only for invested chartTokens
3863
4548
  */
3864
- currency: string;
4549
+ pctOfInvestedAssets?: {
4550
+ [key: string]: unknown;
4551
+ } | null;
3865
4552
  /**
3866
- * Cash flow grouped by original currency
4553
+ * 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
3867
4554
  */
3868
- byCurrency?: CashFlowByCurrencyDto;
4555
+ realizedPnl?: MonetaryDto | null;
4556
+ };
4557
+ /**
4558
+ * Chart segment token (libs/common resolver)
4559
+ */
4560
+ type chartToken = 'equity' | 'fund' | 'bond' | 'cash' | 'other';
4561
+ type HoldingPnlWarningDto = {
3869
4562
  /**
3870
- * Converted values in base currency
4563
+ * Warning type
3871
4564
  */
3872
- converted?: ConvertedCashFlowDto;
4565
+ type: 'MISSING_COST_FX_RATE' | 'MISSING_MARKET_FX_RATE' | 'MISSING_SALE_PRICE' | 'MISSING_REALIZED_FX_RATE' | 'OVERSOLD_LOTS' | 'NO_PRICE' | 'MIXED_COST_CURRENCY';
4566
+ symbol?: {
4567
+ [key: string]: unknown;
4568
+ } | null;
4569
+ accountId?: {
4570
+ [key: string]: unknown;
4571
+ } | null;
4572
+ currency?: {
4573
+ [key: string]: unknown;
4574
+ } | null;
4575
+ };
4576
+ /**
4577
+ * Warning type
4578
+ */
4579
+ type type4 = 'MISSING_COST_FX_RATE' | 'MISSING_MARKET_FX_RATE' | 'MISSING_SALE_PRICE' | 'MISSING_REALIZED_FX_RATE' | 'OVERSOLD_LOTS' | 'NO_PRICE' | 'MIXED_COST_CURRENCY';
4580
+ type HoldingPnlResponseDto = {
4581
+ asOfDate: string;
4582
+ baseCurrency: string;
3873
4583
  /**
3874
- * Exchange rate warnings
4584
+ * Realized-P&L lot-matching method (FIFO or average). Unrealized cost basis remains average regardless of this value (#473).
3875
4585
  */
3876
- warnings?: Array<ExchangeRateWarningDto>;
4586
+ method: 'average' | 'FIFO';
4587
+ rows: Array<HoldingPnlRowDto>;
4588
+ warnings: Array<HoldingPnlWarningDto>;
3877
4589
  };
4590
+ /**
4591
+ * Realized-P&L lot-matching method (FIFO or average). Unrealized cost basis remains average regardless of this value (#473).
4592
+ */
4593
+ type method = 'average' | 'FIFO';
3878
4594
  type CurrencyBalanceDto = {
3879
4595
  /**
3880
4596
  * ISO 4217 currency code
@@ -3900,6 +4616,14 @@ type TimeSeriesPointDto = {
3900
4616
  change?: {
3901
4617
  [key: string]: unknown;
3902
4618
  };
4619
+ /**
4620
+ * Total assets at this date (in base currency)
4621
+ */
4622
+ assets?: string;
4623
+ /**
4624
+ * Total liabilities at this date (in base currency)
4625
+ */
4626
+ liabilities?: string;
3903
4627
  /**
3904
4628
  * Multi-currency breakdown for this point
3905
4629
  */
@@ -3963,6 +4687,68 @@ type PortfolioTrendsResponseDto = {
3963
4687
  */
3964
4688
  warnings?: Array<ExchangeRateWarningDto>;
3965
4689
  };
4690
+ type CashFlowPointDto = {
4691
+ /**
4692
+ * Month key (YYYY-MM)
4693
+ */
4694
+ month: string;
4695
+ /**
4696
+ * Income in base currency (absolute, converted)
4697
+ */
4698
+ income: string;
4699
+ /**
4700
+ * Expense in base currency (absolute, converted)
4701
+ */
4702
+ expense: string;
4703
+ /**
4704
+ * netSavings = income − expense (savings positive)
4705
+ */
4706
+ netSavings: string;
4707
+ };
4708
+ type CashFlowTrendSummaryDto = {
4709
+ /**
4710
+ * Total income across the period
4711
+ */
4712
+ totalIncome: string;
4713
+ /**
4714
+ * Total expense across the period
4715
+ */
4716
+ totalExpense: string;
4717
+ /**
4718
+ * income − expense across the period
4719
+ */
4720
+ totalNetSavings: string;
4721
+ /**
4722
+ * totalNetSavings divided by the window length (N months, incl. zero-filled)
4723
+ */
4724
+ averageMonthlyNetSavings: string;
4725
+ };
4726
+ type CashFlowTrendsResponseDto = {
4727
+ /**
4728
+ * Monthly cash-flow series (fixed N-month window, zero-filled)
4729
+ */
4730
+ series: Array<CashFlowPointDto>;
4731
+ /**
4732
+ * Period totals
4733
+ */
4734
+ summary: CashFlowTrendSummaryDto;
4735
+ /**
4736
+ * Period requested
4737
+ */
4738
+ period: string;
4739
+ /**
4740
+ * Data granularity (v1 returns month buckets)
4741
+ */
4742
+ granularity: string;
4743
+ /**
4744
+ * Base currency for converted values
4745
+ */
4746
+ currency: string;
4747
+ /**
4748
+ * Exchange rate warnings (e.g. missing rate for a currency)
4749
+ */
4750
+ warnings?: Array<ExchangeRateWarningDto>;
4751
+ };
3966
4752
  type GenerateSnapshotBody = unknown;
3967
4753
  type GenerateSnapshotResponse = unknown;
3968
4754
  type BackfillSnapshotsBody = unknown;
@@ -4119,6 +4905,10 @@ type TransactionControllerListData = {
4119
4905
  * Filter by account ID (transactions with postings to this account)
4120
4906
  */
4121
4907
  accountId?: string;
4908
+ /**
4909
+ * Filter by ADR-0075 functional category (Group segment); matches any posting to an Expenses/Income account whose derived Group segment equals this value
4910
+ */
4911
+ category?: string;
4122
4912
  /**
4123
4913
  * Filter by start date (inclusive), format: YYYY-MM-DD
4124
4914
  */
@@ -4539,6 +5329,91 @@ type CommodityControllerBulkCreateData = {
4539
5329
  region: 'cn' | 'us' | 'de' | 'gb';
4540
5330
  };
4541
5331
  type CommodityControllerBulkCreateResponse = Array<CommodityResponseDto>;
5332
+ type PriceControllerCreateData = {
5333
+ /**
5334
+ * Region code for tenant context
5335
+ */
5336
+ region: 'cn' | 'us' | 'de' | 'gb';
5337
+ requestBody: CreateBeanPriceDto;
5338
+ };
5339
+ type PriceControllerCreateResponse = PriceResponseDto;
5340
+ type PriceControllerFindAllData = {
5341
+ /**
5342
+ * Filter by currency (e.g., BTC, AAPL, USD)
5343
+ */
5344
+ currency?: string;
5345
+ /**
5346
+ * Filter prices from this date (ISO 8601 format)
5347
+ */
5348
+ dateFrom?: string;
5349
+ /**
5350
+ * Filter prices to this date (ISO 8601 format)
5351
+ */
5352
+ dateTo?: string;
5353
+ /**
5354
+ * Number of items per page (default: 20, max: 100)
5355
+ */
5356
+ limit?: number;
5357
+ /**
5358
+ * Page number for pagination (default: 1)
5359
+ */
5360
+ page?: number;
5361
+ /**
5362
+ * Filter by quote currency (pricing currency, e.g., USD, CNY)
5363
+ */
5364
+ quoteCurrency?: string;
5365
+ /**
5366
+ * Region code for tenant context
5367
+ */
5368
+ region: 'cn' | 'us' | 'de' | 'gb';
5369
+ /**
5370
+ * Search term for currency or quoteCurrency (case-insensitive partial match)
5371
+ */
5372
+ search?: string;
5373
+ };
5374
+ type PriceControllerFindAllResponse = PriceListResponseDto;
5375
+ type PriceControllerFindOneData = {
5376
+ /**
5377
+ * Price ID
5378
+ */
5379
+ id: string;
5380
+ /**
5381
+ * Region code for tenant context
5382
+ */
5383
+ region: 'cn' | 'us' | 'de' | 'gb';
5384
+ };
5385
+ type PriceControllerFindOneResponse = PriceResponseDto;
5386
+ type PriceControllerUpdateData = {
5387
+ /**
5388
+ * Price ID
5389
+ */
5390
+ id: string;
5391
+ /**
5392
+ * Region code for tenant context
5393
+ */
5394
+ region: 'cn' | 'us' | 'de' | 'gb';
5395
+ requestBody: UpdateBeanPriceDto;
5396
+ };
5397
+ type PriceControllerUpdateResponse = PriceResponseDto;
5398
+ type PriceControllerDeleteData = {
5399
+ /**
5400
+ * Price ID
5401
+ */
5402
+ id: string;
5403
+ /**
5404
+ * Region code for tenant context
5405
+ */
5406
+ region: 'cn' | 'us' | 'de' | 'gb';
5407
+ };
5408
+ type PriceControllerDeleteResponse = void;
5409
+ type PriceControllerBulkCreateData = {
5410
+ /**
5411
+ * Region code for tenant context
5412
+ */
5413
+ region: 'cn' | 'us' | 'de' | 'gb';
5414
+ requestBody: Array<string>;
5415
+ };
5416
+ type PriceControllerBulkCreateResponse = Array<PriceResponseDto>;
4542
5417
  type RecurringRuleControllerCreateData = {
4543
5418
  /**
4544
5419
  * Region code for tenant context
@@ -4916,6 +5791,127 @@ type PropertyControllerDeleteData = {
4916
5791
  key: string;
4917
5792
  };
4918
5793
  type PropertyControllerDeleteResponse = void;
5794
+ type EventControllerCreateData = {
5795
+ /**
5796
+ * Region code for tenant context (decorative for life events)
5797
+ */
5798
+ region: 'cn' | 'us' | 'de' | 'gb';
5799
+ requestBody: CreateBeanEventDto;
5800
+ };
5801
+ type EventControllerCreateResponse = EventResponseDto;
5802
+ type EventControllerFindAllData = {
5803
+ /**
5804
+ * Filter life events from this date (ISO 8601 format)
5805
+ */
5806
+ from?: string;
5807
+ /**
5808
+ * Number of items per page (default: 20, max: 100)
5809
+ */
5810
+ limit?: number;
5811
+ /**
5812
+ * Page number for pagination (default: 1)
5813
+ */
5814
+ page?: number;
5815
+ /**
5816
+ * Search term for description (case-insensitive partial match)
5817
+ */
5818
+ q?: string;
5819
+ /**
5820
+ * Region code for tenant context (decorative for life events)
5821
+ */
5822
+ region: 'cn' | 'us' | 'de' | 'gb';
5823
+ /**
5824
+ * Filter life events to this date (ISO 8601 format)
5825
+ */
5826
+ to?: string;
5827
+ /**
5828
+ * Filter by life event type (exact match)
5829
+ */
5830
+ type?: string;
5831
+ };
5832
+ type EventControllerFindAllResponse = EventListResponseDto;
5833
+ type EventControllerFindOneData = {
5834
+ /**
5835
+ * Life event ID
5836
+ */
5837
+ id: string;
5838
+ /**
5839
+ * Region code for tenant context (decorative for life events)
5840
+ */
5841
+ region: 'cn' | 'us' | 'de' | 'gb';
5842
+ };
5843
+ type EventControllerFindOneResponse = EventResponseDto;
5844
+ type EventControllerUpdateData = {
5845
+ /**
5846
+ * Life event ID
5847
+ */
5848
+ id: string;
5849
+ /**
5850
+ * Region code for tenant context (decorative for life events)
5851
+ */
5852
+ region: 'cn' | 'us' | 'de' | 'gb';
5853
+ requestBody: UpdateBeanEventDto;
5854
+ };
5855
+ type EventControllerUpdateResponse = EventResponseDto;
5856
+ type EventControllerDeleteData = {
5857
+ /**
5858
+ * Life event ID
5859
+ */
5860
+ id: string;
5861
+ /**
5862
+ * Region code for tenant context (decorative for life events)
5863
+ */
5864
+ region: 'cn' | 'us' | 'de' | 'gb';
5865
+ };
5866
+ type EventControllerDeleteResponse = void;
5867
+ type EventControllerGetSliceData = {
5868
+ accountPattern: string;
5869
+ granularity: string;
5870
+ /**
5871
+ * Life event ID
5872
+ */
5873
+ id: string;
5874
+ /**
5875
+ * Region code for tenant context (decorative for life events)
5876
+ */
5877
+ region: 'cn' | 'us' | 'de' | 'gb';
5878
+ };
5879
+ type EventControllerGetSliceResponse = unknown;
5880
+ type ReconciliationControllerComputeData = {
5881
+ /**
5882
+ * Region code for tenant context (decorative for reconciliation)
5883
+ */
5884
+ region: 'cn' | 'us' | 'de' | 'gb';
5885
+ requestBody: ComputeReconciliationDto;
5886
+ };
5887
+ type ReconciliationControllerComputeResponse = ReconciliationComputeResultDto;
5888
+ type ReconciliationControllerAssertData = {
5889
+ /**
5890
+ * Region code for tenant context (decorative for reconciliation)
5891
+ */
5892
+ region: 'cn' | 'us' | 'de' | 'gb';
5893
+ requestBody: AssertReconciliationDto;
5894
+ };
5895
+ type ReconciliationControllerAssertResponse = ReconciliationRecordDto;
5896
+ type ReconciliationControllerPadData = {
5897
+ /**
5898
+ * Region code for tenant context (decorative for reconciliation)
5899
+ */
5900
+ region: 'cn' | 'us' | 'de' | 'gb';
5901
+ requestBody: PadReconciliationDto;
5902
+ };
5903
+ type ReconciliationControllerPadResponse = PadResultDto;
5904
+ type ReconciliationControllerHistoryData = {
5905
+ /**
5906
+ * BeanAccount id
5907
+ */
5908
+ accountId: string;
5909
+ /**
5910
+ * Region code for tenant context (decorative for reconciliation)
5911
+ */
5912
+ region: 'cn' | 'us' | 'de' | 'gb';
5913
+ };
5914
+ type ReconciliationControllerHistoryResponse = Array<ReconciliationRecordDto>;
4919
5915
  type ExportControllerExportBeancountResponse = unknown;
4920
5916
  type FileImportControllerImportFileData = {
4921
5917
  /**
@@ -5033,9 +6029,9 @@ type ProviderSyncControllerSyncData = {
5033
6029
  */
5034
6030
  providerName: 'plaid' | 'teller' | 'truelayer' | 'gocardless' | 'simplefin' | 'yodlee' | 'beancount-direct' | 'parsed-bill';
5035
6031
  /**
5036
- * Region code
6032
+ * Region code for tenant context
5037
6033
  */
5038
- region: unknown;
6034
+ region: 'cn' | 'us' | 'de' | 'gb';
5039
6035
  requestBody: ProviderSyncDto;
5040
6036
  };
5041
6037
  type ProviderSyncControllerSyncResponse = ProviderSyncResponseDto;
@@ -5065,6 +6061,25 @@ type TelemetryControllerReportTelemetryData = {
5065
6061
  requestBody: ParserTelemetryReportDto;
5066
6062
  };
5067
6063
  type TelemetryControllerReportTelemetryResponse = unknown;
6064
+ type TelemetryControllerReportCoverageMissData = {
6065
+ /**
6066
+ * Region code for tenant context
6067
+ */
6068
+ region: 'cn' | 'us' | 'de' | 'gb';
6069
+ requestBody: UncoveredFormatMissDto;
6070
+ };
6071
+ type TelemetryControllerReportCoverageMissResponse = unknown;
6072
+ type TelemetryControllerGetCoverageMetricsData = {
6073
+ /**
6074
+ * Region code for tenant context
6075
+ */
6076
+ region: 'cn' | 'us' | 'de' | 'gb';
6077
+ /**
6078
+ * Top-N uncovered formats (default 10)
6079
+ */
6080
+ topN?: unknown;
6081
+ };
6082
+ type TelemetryControllerGetCoverageMetricsResponse = unknown;
5068
6083
  type NlpControllerProcessNaturalLanguageData = {
5069
6084
  /**
5070
6085
  * Region code for tenant context
@@ -5108,36 +6123,93 @@ type DashboardControllerGetNetWorthData = {
5108
6123
  */
5109
6124
  region: 'cn' | 'us' | 'de' | 'gb';
5110
6125
  };
5111
- type DashboardControllerGetNetWorthResponse = NetWorthResponseDto;
5112
- type DashboardControllerGetAccountsData = {
6126
+ type DashboardControllerGetNetWorthResponse = NetWorthResponseDto;
6127
+ type DashboardControllerGetAccountsData = {
6128
+ /**
6129
+ * Scope to a single account (only valid with groupBy=holdingAssetClass, ADR-0105 §6)
6130
+ */
6131
+ accountId?: string;
6132
+ /**
6133
+ * Date for balance calculation (ISO 8601 format)
6134
+ */
6135
+ date?: string;
6136
+ /**
6137
+ * Grouping strategy
6138
+ */
6139
+ groupBy?: 'platform' | 'assetClass' | 'holdingAssetClass' | 'holdingAssetClassByAccount';
6140
+ /**
6141
+ * Region code for tenant context
6142
+ */
6143
+ region: 'cn' | 'us' | 'de' | 'gb';
6144
+ };
6145
+ type DashboardControllerGetAccountsResponse = AccountsResponseDto | AssetClassAccountsResponseDto | HoldingAssetClassCrossAccountResponseDto;
6146
+ type DashboardControllerGetCashFlowData = {
6147
+ /**
6148
+ * Period in YYYY-MM format
6149
+ */
6150
+ period: string;
6151
+ /**
6152
+ * Region code for tenant context
6153
+ */
6154
+ region: 'cn' | 'us' | 'de' | 'gb';
6155
+ };
6156
+ type DashboardControllerGetCashFlowResponse = CashFlowResponseDto;
6157
+ type DashboardControllerGetExpensesData = {
6158
+ /**
6159
+ * Account root to aggregate (expense → ^Expenses:, income → ^Income:)
6160
+ */
6161
+ flow?: 'expense' | 'income';
6162
+ /**
6163
+ * Grouping strategy
6164
+ */
6165
+ groupBy?: 'category';
6166
+ /**
6167
+ * Time window (1m = current calendar month)
6168
+ */
6169
+ period?: '1m' | '3m' | '6m' | '1y';
6170
+ /**
6171
+ * Region code for tenant context
6172
+ */
6173
+ region: 'cn' | 'us' | 'de' | 'gb';
6174
+ };
6175
+ type DashboardControllerGetExpensesResponse = ExpensesByCategoryResponseDto;
6176
+ type HoldingPnlControllerGetHoldingPnlData = {
5113
6177
  /**
5114
- * Date for balance calculation (ISO 8601 format)
6178
+ * Scope to a single account
5115
6179
  */
5116
- date?: string;
6180
+ accountId?: string;
5117
6181
  /**
5118
- * Grouping strategy
6182
+ * As-of date (ISO 8601), defaults to today
6183
+ */
6184
+ asOf?: string;
6185
+ /**
6186
+ * Realized-P&L lot-matching method (default average). Does not affect the average-cost unrealized basis.
5119
6187
  */
5120
- groupBy?: 'platform' | 'assetClass';
6188
+ method?: 'FIFO' | 'average';
5121
6189
  /**
5122
6190
  * Region code for tenant context
5123
6191
  */
5124
6192
  region: 'cn' | 'us' | 'de' | 'gb';
5125
6193
  };
5126
- type DashboardControllerGetAccountsResponse = AccountsResponseDto | AssetClassAccountsResponseDto;
5127
- type DashboardControllerGetCashFlowData = {
6194
+ type HoldingPnlControllerGetHoldingPnlResponse = HoldingPnlResponseDto;
6195
+ type ReportingControllerGetPortfolioTrendsData = {
5128
6196
  /**
5129
- * Period in YYYY-MM format
6197
+ * Data granularity
5130
6198
  */
5131
- period: string;
6199
+ granularity?: 'day' | 'week' | 'month';
6200
+ /**
6201
+ * Time period
6202
+ */
6203
+ period?: '1m' | '3m' | '6m' | '1y';
5132
6204
  /**
5133
6205
  * Region code for tenant context
5134
6206
  */
5135
6207
  region: 'cn' | 'us' | 'de' | 'gb';
5136
6208
  };
5137
- type DashboardControllerGetCashFlowResponse = CashFlowResponseDto;
5138
- type ReportingControllerGetPortfolioTrendsData = {
6209
+ type ReportingControllerGetPortfolioTrendsResponse = PortfolioTrendsResponseDto;
6210
+ type ReportingControllerGetCashFlowTrendsData = {
5139
6211
  /**
5140
- * Data granularity
6212
+ * Data granularity (accepted for API symmetry; v1 returns month buckets)
5141
6213
  */
5142
6214
  granularity?: 'day' | 'week' | 'month';
5143
6215
  /**
@@ -5149,7 +6221,7 @@ type ReportingControllerGetPortfolioTrendsData = {
5149
6221
  */
5150
6222
  region: 'cn' | 'us' | 'de' | 'gb';
5151
6223
  };
5152
- type ReportingControllerGetPortfolioTrendsResponse = PortfolioTrendsResponseDto;
6224
+ type ReportingControllerGetCashFlowTrendsResponse = CashFlowTrendsResponseDto;
5153
6225
  type ReportingControllerGenerateSnapshotData = {
5154
6226
  /**
5155
6227
  * Region code for tenant context
@@ -5916,6 +6988,90 @@ type $OpenApiTs = {
5916
6988
  };
5917
6989
  };
5918
6990
  };
6991
+ '/api/v1/{region}/bean/prices': {
6992
+ post: {
6993
+ req: PriceControllerCreateData;
6994
+ res: {
6995
+ /**
6996
+ * Price created successfully
6997
+ */
6998
+ 201: PriceResponseDto;
6999
+ /**
7000
+ * Currency or quoteCurrency commodity not found
7001
+ */
7002
+ 404: unknown;
7003
+ /**
7004
+ * Price already exists for this currency pair and date
7005
+ */
7006
+ 409: unknown;
7007
+ };
7008
+ };
7009
+ get: {
7010
+ req: PriceControllerFindAllData;
7011
+ res: {
7012
+ /**
7013
+ * Prices retrieved successfully
7014
+ */
7015
+ 200: PriceListResponseDto;
7016
+ };
7017
+ };
7018
+ };
7019
+ '/api/v1/{region}/bean/prices/{id}': {
7020
+ get: {
7021
+ req: PriceControllerFindOneData;
7022
+ res: {
7023
+ /**
7024
+ * Price retrieved successfully
7025
+ */
7026
+ 200: PriceResponseDto;
7027
+ /**
7028
+ * Price not found
7029
+ */
7030
+ 404: unknown;
7031
+ };
7032
+ };
7033
+ put: {
7034
+ req: PriceControllerUpdateData;
7035
+ res: {
7036
+ /**
7037
+ * Price updated successfully
7038
+ */
7039
+ 200: PriceResponseDto;
7040
+ /**
7041
+ * Price not found
7042
+ */
7043
+ 404: unknown;
7044
+ /**
7045
+ * Updated price conflicts with existing price
7046
+ */
7047
+ 409: unknown;
7048
+ };
7049
+ };
7050
+ delete: {
7051
+ req: PriceControllerDeleteData;
7052
+ res: {
7053
+ /**
7054
+ * Price deleted successfully
7055
+ */
7056
+ 204: void;
7057
+ /**
7058
+ * Price not found
7059
+ */
7060
+ 404: unknown;
7061
+ };
7062
+ };
7063
+ };
7064
+ '/api/v1/{region}/bean/prices/bulk': {
7065
+ post: {
7066
+ req: PriceControllerBulkCreateData;
7067
+ res: {
7068
+ /**
7069
+ * Prices created successfully
7070
+ */
7071
+ 201: Array<PriceResponseDto>;
7072
+ };
7073
+ };
7074
+ };
5919
7075
  '/api/v1/{region}/bean/recurring-rules': {
5920
7076
  post: {
5921
7077
  req: RecurringRuleControllerCreateData;
@@ -6560,6 +7716,166 @@ type $OpenApiTs = {
6560
7716
  };
6561
7717
  };
6562
7718
  };
7719
+ '/api/v1/{region}/bean/events': {
7720
+ post: {
7721
+ req: EventControllerCreateData;
7722
+ res: {
7723
+ /**
7724
+ * Life event created successfully
7725
+ */
7726
+ 201: EventResponseDto;
7727
+ /**
7728
+ * Life event already exists for this (userId, type, date) combination
7729
+ */
7730
+ 409: unknown;
7731
+ };
7732
+ };
7733
+ get: {
7734
+ req: EventControllerFindAllData;
7735
+ res: {
7736
+ /**
7737
+ * Life events retrieved successfully
7738
+ */
7739
+ 200: EventListResponseDto;
7740
+ };
7741
+ };
7742
+ };
7743
+ '/api/v1/{region}/bean/events/{id}': {
7744
+ get: {
7745
+ req: EventControllerFindOneData;
7746
+ res: {
7747
+ /**
7748
+ * Life event retrieved successfully
7749
+ */
7750
+ 200: EventResponseDto;
7751
+ /**
7752
+ * Life event not found
7753
+ */
7754
+ 404: unknown;
7755
+ };
7756
+ };
7757
+ put: {
7758
+ req: EventControllerUpdateData;
7759
+ res: {
7760
+ /**
7761
+ * Life event updated successfully
7762
+ */
7763
+ 200: EventResponseDto;
7764
+ /**
7765
+ * If-Match header is not a valid ISO 8601 date
7766
+ */
7767
+ 400: unknown;
7768
+ /**
7769
+ * Life event not found
7770
+ */
7771
+ 404: unknown;
7772
+ /**
7773
+ * Updated event conflicts with an existing (userId, type, date) combination
7774
+ */
7775
+ 409: unknown;
7776
+ /**
7777
+ * If-Match precondition failed (updatedAt mismatch)
7778
+ */
7779
+ 412: unknown;
7780
+ };
7781
+ };
7782
+ delete: {
7783
+ req: EventControllerDeleteData;
7784
+ res: {
7785
+ /**
7786
+ * Life event deleted successfully
7787
+ */
7788
+ 204: void;
7789
+ /**
7790
+ * Life event not found
7791
+ */
7792
+ 404: unknown;
7793
+ };
7794
+ };
7795
+ };
7796
+ '/api/v1/{region}/bean/events/{id}/slice': {
7797
+ get: {
7798
+ req: EventControllerGetSliceData;
7799
+ res: {
7800
+ /**
7801
+ * Time-series sliced by the life event range
7802
+ */
7803
+ 200: unknown;
7804
+ /**
7805
+ * accountPattern query param is empty
7806
+ */
7807
+ 400: unknown;
7808
+ /**
7809
+ * Life event not found
7810
+ */
7811
+ 404: unknown;
7812
+ };
7813
+ };
7814
+ };
7815
+ '/api/v1/{region}/bean/reconciliations': {
7816
+ post: {
7817
+ req: ReconciliationControllerComputeData;
7818
+ res: {
7819
+ /**
7820
+ * Reconciliation preview
7821
+ */
7822
+ 200: ReconciliationComputeResultDto;
7823
+ /**
7824
+ * Account not found
7825
+ */
7826
+ 404: unknown;
7827
+ };
7828
+ };
7829
+ };
7830
+ '/api/v1/{region}/bean/reconciliations/assert': {
7831
+ post: {
7832
+ req: ReconciliationControllerAssertData;
7833
+ res: {
7834
+ /**
7835
+ * Balance assertion recorded
7836
+ */
7837
+ 201: ReconciliationRecordDto;
7838
+ /**
7839
+ * Account not found
7840
+ */
7841
+ 404: unknown;
7842
+ };
7843
+ };
7844
+ };
7845
+ '/api/v1/{region}/bean/reconciliations/pad': {
7846
+ post: {
7847
+ req: ReconciliationControllerPadData;
7848
+ res: {
7849
+ /**
7850
+ * Pad adjusting entry generated
7851
+ */
7852
+ 201: PadResultDto;
7853
+ /**
7854
+ * Book already within tolerance — no pad needed
7855
+ */
7856
+ 400: unknown;
7857
+ /**
7858
+ * Account not found
7859
+ */
7860
+ 404: unknown;
7861
+ };
7862
+ };
7863
+ };
7864
+ '/api/v1/{region}/bean/accounts/{accountId}/reconciliations': {
7865
+ get: {
7866
+ req: ReconciliationControllerHistoryData;
7867
+ res: {
7868
+ /**
7869
+ * Reconciliation history
7870
+ */
7871
+ 200: Array<ReconciliationRecordDto>;
7872
+ /**
7873
+ * Account not found
7874
+ */
7875
+ 404: unknown;
7876
+ };
7877
+ };
7878
+ };
6563
7879
  '/api/v1/{region}/bean/export/beancount': {
6564
7880
  get: {
6565
7881
  res: {
@@ -6850,6 +8166,32 @@ type $OpenApiTs = {
6850
8166
  };
6851
8167
  };
6852
8168
  };
8169
+ '/api/v1/{region}/bean/import/parser-coverage-miss': {
8170
+ post: {
8171
+ req: TelemetryControllerReportCoverageMissData;
8172
+ res: {
8173
+ /**
8174
+ * Coverage miss report received
8175
+ */
8176
+ 200: unknown;
8177
+ /**
8178
+ * Unauthorized
8179
+ */
8180
+ 401: unknown;
8181
+ };
8182
+ };
8183
+ };
8184
+ '/api/v1/{region}/bean/import/parser-coverage-metrics': {
8185
+ get: {
8186
+ req: TelemetryControllerGetCoverageMetricsData;
8187
+ res: {
8188
+ /**
8189
+ * Coverage metrics
8190
+ */
8191
+ 200: unknown;
8192
+ };
8193
+ };
8194
+ };
6853
8195
  '/api/v1/{region}/bean/nlp/process': {
6854
8196
  post: {
6855
8197
  req: NlpControllerProcessNaturalLanguageData;
@@ -6919,7 +8261,7 @@ type $OpenApiTs = {
6919
8261
  /**
6920
8262
  * Accounts retrieved successfully. Response type depends on groupBy parameter.
6921
8263
  */
6922
- 200: AccountsResponseDto | AssetClassAccountsResponseDto;
8264
+ 200: AccountsResponseDto | AssetClassAccountsResponseDto | HoldingAssetClassCrossAccountResponseDto;
6923
8265
  /**
6924
8266
  * User not authenticated
6925
8267
  */
@@ -6946,6 +8288,44 @@ type $OpenApiTs = {
6946
8288
  };
6947
8289
  };
6948
8290
  };
8291
+ '/api/v1/{region}/dashboard/expenses': {
8292
+ get: {
8293
+ req: DashboardControllerGetExpensesData;
8294
+ res: {
8295
+ /**
8296
+ * Expenses retrieved successfully
8297
+ */
8298
+ 200: ExpensesByCategoryResponseDto;
8299
+ /**
8300
+ * Invalid groupBy or period
8301
+ */
8302
+ 400: unknown;
8303
+ /**
8304
+ * User not authenticated
8305
+ */
8306
+ 401: unknown;
8307
+ };
8308
+ };
8309
+ };
8310
+ '/api/v1/{region}/investment/holdings/pnl': {
8311
+ get: {
8312
+ req: HoldingPnlControllerGetHoldingPnlData;
8313
+ res: {
8314
+ /**
8315
+ * Holding P&L retrieved successfully
8316
+ */
8317
+ 200: HoldingPnlResponseDto;
8318
+ /**
8319
+ * Invalid asOf format/value/future date, invalid accountId format, or unsupported method
8320
+ */
8321
+ 400: unknown;
8322
+ /**
8323
+ * User not authenticated
8324
+ */
8325
+ 401: unknown;
8326
+ };
8327
+ };
8328
+ };
6949
8329
  '/api/v1/{region}/reporting/portfolio/trends': {
6950
8330
  get: {
6951
8331
  req: ReportingControllerGetPortfolioTrendsData;
@@ -6961,6 +8341,21 @@ type $OpenApiTs = {
6961
8341
  };
6962
8342
  };
6963
8343
  };
8344
+ '/api/v1/{region}/reporting/cash-flow/trends': {
8345
+ get: {
8346
+ req: ReportingControllerGetCashFlowTrendsData;
8347
+ res: {
8348
+ /**
8349
+ * Cash-flow trends retrieved successfully
8350
+ */
8351
+ 200: CashFlowTrendsResponseDto;
8352
+ /**
8353
+ * User not authenticated
8354
+ */
8355
+ 401: unknown;
8356
+ };
8357
+ };
8358
+ };
6964
8359
  '/api/v1/{region}/reporting/snapshots/generate': {
6965
8360
  post: {
6966
8361
  req: ReportingControllerGenerateSnapshotData;
@@ -7277,6 +8672,7 @@ declare class BeanTransactionsService {
7277
8672
  * @param data.status Filter by transaction status
7278
8673
  * @param data.search Search in narration and payee fields (max 200 chars)
7279
8674
  * @param data.accountId Filter by account ID (transactions with postings to this account)
8675
+ * @param data.category Filter by ADR-0075 functional category (Group segment); matches any posting to an Expenses/Income account whose derived Group segment equals this value
7280
8676
  * @returns TransactionListResponseDto Transaction list
7281
8677
  * @throws ApiError
7282
8678
  */
@@ -7469,7 +8865,7 @@ declare class ProviderSyncService {
7469
8865
  *
7470
8866
  * @param data The data for the request.
7471
8867
  * @param data.providerName Provider name
7472
- * @param data.region Region code
8868
+ * @param data.region Region code for tenant context
7473
8869
  * @param data.requestBody
7474
8870
  * @returns ProviderSyncResponseDto Sync completed successfully
7475
8871
  * @throws ApiError
@@ -7582,4 +8978,4 @@ type OpenAPIConfig = {
7582
8978
  };
7583
8979
  declare const OpenAPI: OpenAPIConfig;
7584
8980
 
7585
- export { type $OpenApiTs, type AccountControllerCloseData, type AccountControllerCloseResponse, type AccountControllerCreateData, type AccountControllerCreateResponse, type AccountControllerDeleteData, type AccountControllerDeleteResponse, type AccountControllerFindAllData, type AccountControllerFindAllResponse, type AccountControllerFindOneData, type AccountControllerFindOneResponse, type AccountControllerReopenData, type AccountControllerReopenResponse, type AccountControllerUpdateData, type AccountControllerUpdateResponse, type AccountExchangeRateWarningDto, type AccountItemDto, type AccountItemWithAssetClassDto, type AccountListResponseDto, type AccountResponseDto, type AccountStandardListResponseDto, type AccountStandardResponseDto, type AccountStandardsControllerGetRegionsData, type AccountStandardsControllerGetRegionsResponse, type AccountStandardsControllerGetTemplateMetadataData, type AccountStandardsControllerGetTemplateMetadataResponse, type AccountStandardsControllerGetTemplatesData, type AccountStandardsControllerGetTemplatesResponse, type AccountsResponseDto, type AccountsSummaryDto, type AmountRangeDto, type AnonymousLoginDto, type ApiKeysControllerCreateApiKeyResponse, type ApiProblemResponseDto, type AssetClassAccountsResponseDto, type AssetClassGroupDto, type AssetClassSummaryDto, type AuthControllerAccessTokenLoginData, type AuthControllerAccessTokenLoginResponse, type BackfillSnapshotsBody, type BackfillSnapshotsResponse, type BalanceByCurrencyDto, type BalanceControllerGetBalanceData, type BalanceControllerGetBalanceResponse, type BalanceControllerGetMultiCurrencyBalanceData, type BalanceControllerGetMultiCurrencyBalanceResponse, type BalanceResponseDto, type BatchCreateTransactionDto, type BatchResolveDto, type BatchResolveResultDto, type BatchTransactionErrorDto, type BatchTransactionResponseDto, BeanAccountsService, BeanBalancesService, BeanCommoditiesService, BeanTransactionsService, type BulkCreateRulesDto, type BulkCreateRulesResponseDto, type CacheControllerFlushCacheResponse, type CashFlowByCurrencyDto, type CashFlowResponseDto, type CloseAccountDto, type CommodityControllerBulkCreateData, type CommodityControllerBulkCreateResponse, type CommodityControllerCreateData, type CommodityControllerCreateResponse, type CommodityControllerDeleteData, type CommodityControllerDeleteResponse, type CommodityControllerFindAllData, type CommodityControllerFindAllResponse, type CommodityControllerFindOneData, type CommodityControllerFindOneResponse, type CommodityControllerGetOrCreateData, type CommodityControllerGetOrCreateResponse, type CommodityControllerUpdateData, type CommodityControllerUpdateResponse, type CommodityListResponseDto, type CommodityResponseDto, type ConfirmMatchDto, type ConvertedCashFlowDto, type ConvertedNetWorthDto, type CorrectTransactionDto, type CreateAccountDto, type CreateCommodityDto, type CreatePayeeDto, type CreatePayeeProfileDto, type CreatePlatformDto, type CreatePostingDto, type CreateRecurringRuleDto, type CreateRuleFromTransactionDto, type CreateTransactionDto, type CreateTransactionRuleDto, type CurrencyBalanceDto, type DashboardControllerGetAccountsData, type DashboardControllerGetAccountsResponse, type DashboardControllerGetCashFlowData, type DashboardControllerGetCashFlowResponse, type DashboardControllerGetNetWorthData, type DashboardControllerGetNetWorthResponse, type DecisionOptionDto, type DeleteOwnUserDto, type EnterNowDto, type ExchangeRateControllerGetExchangeRateData, type ExchangeRateControllerGetExchangeRateResponse, type ExchangeRateWarningDto, type ExpectedTransactionControllerConfirmMatchData, type ExpectedTransactionControllerConfirmMatchResponse, type ExpectedTransactionControllerEnterNowData, type ExpectedTransactionControllerEnterNowResponse, type ExpectedTransactionControllerFindAllData, type ExpectedTransactionControllerFindAllResponse, type ExpectedTransactionControllerFindOneData, type ExpectedTransactionControllerFindOneResponse, type ExpectedTransactionControllerFindOverdueData, type ExpectedTransactionControllerFindOverdueResponse, type ExpectedTransactionControllerSkipData, type ExpectedTransactionControllerSkipResponse, type ExpectedTransactionControllerUndoSkipData, type ExpectedTransactionControllerUndoSkipResponse, type ExpectedTransactionControllerUnmatchData, type ExpectedTransactionControllerUnmatchResponse, type ExpectedTransactionListResponseDto, type ExpectedTransactionResponseDto, type ExpectedTransactionRuleDto, type ExportControllerExportBeancountResponse, type ExportRulesResponseDto, type FileImportControllerIdentifyFileData, type FileImportControllerIdentifyFileResponse, type FileImportControllerImportBeancountData, type FileImportControllerImportBeancountResponse, type FileImportControllerImportFileData, type FileImportControllerImportFileResponse, type FileImportDto, type ForecastControllerGetForecastData, type ForecastControllerGetForecastResponse, type ForecastItemDto, type ForecastResponseDto, type GenerateSnapshotBody, type GenerateSnapshotResponse, type HealthControllerCheckDatabaseResponse, type HealthControllerCheckOpenBbResponse, type HealthControllerCheckRedisResponse, type HealthControllerGetCircuitBreakersHealthResponse, type HealthControllerGetHealthResponse, type HealthControllerGetMetricsResponse, type HealthControllerResetCircuitBreakerData, type HealthControllerResetCircuitBreakerResponse, HealthService, 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 MonthlyForecastDto, type MultiCurrencyBalanceResponseDto, type MultiCurrencyPointDto, type NetWorthByCurrencyDto, type NetWorthResponseDto, type NlpAccountConfirmationDataDto, type NlpAlternativePayeeDto, type NlpControllerClearSessionData, type NlpControllerClearSessionResponse, type NlpControllerGetSessionData, type NlpControllerGetSessionResponse, type NlpControllerProcessNaturalLanguageData, type NlpControllerProcessNaturalLanguageResponse, type NlpDefaultAccountsDto, type NlpDuplicateConfirmationDataDto, type NlpParsedDataDto, type NlpPayeeConfirmationDataDto, type NlpResponseDto, type NlpRuleConfirmationDataDto, type NlpSimilarityDto, type NlpSourceTransactionDto, type NlpSuggestedAccountDto, type NlpSuggestedAccountsDto, type NlpSuggestedPayeeDto, type NlpTargetTransactionDto, type NlpTransactionInfoDto, OpenAPI, type OpenAPIConfig, type ParserTelemetryReportDto, type PayeeAutocompleteResponseDto, type PayeeControllerAutocompleteData, type PayeeControllerAutocompleteResponse, type PayeeControllerCreateData, type PayeeControllerCreateResponse, type PayeeControllerDeleteData, type PayeeControllerDeleteResponse, type PayeeControllerFindAllData, type PayeeControllerFindAllResponse, type PayeeControllerFindOneData, type PayeeControllerFindOneResponse, type PayeeControllerGetTopPayeesData, type PayeeControllerGetTopPayeesResponse, type PayeeControllerUpdateData, type PayeeControllerUpdateResponse, type PayeeListResponseDto, type PayeeProfileAdminControllerCreateData, type PayeeProfileAdminControllerCreateResponse, type PayeeProfileAdminControllerDeleteData, type PayeeProfileAdminControllerDeleteResponse, type PayeeProfileAdminControllerFindAllData, type PayeeProfileAdminControllerFindAllResponse, type PayeeProfileAdminControllerFindOneData, type PayeeProfileAdminControllerFindOneResponse, type PayeeProfileAdminControllerUnverifyData, type PayeeProfileAdminControllerUnverifyResponse, type PayeeProfileAdminControllerUpdateData, type PayeeProfileAdminControllerUpdateResponse, type PayeeProfileAdminControllerVerifyData, type PayeeProfileAdminControllerVerifyResponse, type PayeeProfileListResponseDto, type PayeeProfileResponseDto, type PayeeResponseDto, type PayeeStatsResponseDto, type PlatformControllerCreateData, type PlatformControllerCreateResponse, type PlatformControllerDeleteData, type PlatformControllerDeleteResponse, type PlatformControllerFindAllResponse, type PlatformControllerGetPlatformListResponse, type PlatformControllerMatchPlatformsData, type PlatformControllerMatchPlatformsResponse, type PlatformControllerUpdateData, type PlatformControllerUpdateResponse, type PlatformGroupDto, type PortfolioTrendsResponseDto, type PostingDetailDto, type PostingResponseDto, type ProcessNlpDto, type PropertyControllerDeleteData, type PropertyControllerDeleteResponse, type PropertyControllerGetAllResponse, type PropertyControllerGetByKeyData, type PropertyControllerGetByKeyResponse, type PropertyControllerUpdateData, type PropertyControllerUpdateResponse, type ProviderSyncConfigDto, type ProviderSyncControllerGetSupportedProvidersData, type ProviderSyncControllerGetSupportedProvidersResponse, type ProviderSyncControllerIsProviderSupportedData, type ProviderSyncControllerIsProviderSupportedResponse, type ProviderSyncControllerSyncData, type ProviderSyncControllerSyncResponse, type ProviderSyncDto, type ProviderSyncResponseDto, ProviderSyncService, type RecurringMatchInfoDto, type RecurringRuleControllerCreateData, type RecurringRuleControllerCreateFromTransactionData, type RecurringRuleControllerCreateFromTransactionResponse, type RecurringRuleControllerCreateResponse, type RecurringRuleControllerDeleteData, type RecurringRuleControllerDeleteResponse, type RecurringRuleControllerFindAllData, type RecurringRuleControllerFindAllResponse, type RecurringRuleControllerFindOneData, type RecurringRuleControllerFindOneResponse, type RecurringRuleControllerGetWithStatsData, type RecurringRuleControllerGetWithStatsResponse, type RecurringRuleControllerUpdateData, type RecurringRuleControllerUpdateResponse, type RecurringRuleResponseDto, type RecurringRuleWithStatsResponseDto, type RecurringSuggestionDto, type RegionConfigDto, type RegionInfoDto, type RegionsMetadataResponseDto, type ReopenAccountDto, type ReportingControllerBackfillSnapshotsData, type ReportingControllerBackfillSnapshotsResponse, type ReportingControllerGenerateSnapshotData, type ReportingControllerGenerateSnapshotResponse, type ReportingControllerGetPortfolioTrendsData, type ReportingControllerGetPortfolioTrendsResponse, type ResolveResultDto, type ResolveReviewDto, type ReviewControllerBatchResolveData, type ReviewControllerBatchResolveResponse, type ReviewControllerFindAllData, type ReviewControllerFindAllResponse, type ReviewControllerFindOneData, type ReviewControllerFindOneResponse, type ReviewControllerGetStatsData, type ReviewControllerGetStatsResponse, type ReviewControllerResolveData, type ReviewControllerResolveResponse, type ReviewControllerUndoData, type ReviewControllerUndoResponse, type ReviewDetailDto, type ReviewItemPreviewDto, type ReviewListResponseDto, type ReviewStatsDto, type ReviewSummaryDto, type RuleStatisticsResponseDto, type SignupDto, type SupportedProvidersResponseDto, type TagSuggestionDto, type TagSuggestionsResponseDto, type TelemetryControllerReportTelemetryData, type TelemetryControllerReportTelemetryResponse, type TemplateMetadataDto, type TemplateMetadataResponseDto, type TestRuleDto, type TestRuleResponseDto, type TimeSeriesPointDto, type TransactionControllerCorrectData, type TransactionControllerCorrectResponse, type TransactionControllerCreateBatchData, type TransactionControllerCreateBatchResponse, type TransactionControllerCreateData, type TransactionControllerCreateResponse, type TransactionControllerDeleteData, type TransactionControllerDeleteResponse, type TransactionControllerGetDetailData, type TransactionControllerGetDetailResponse, type TransactionControllerListData, type TransactionControllerListResponse, type TransactionControllerSuggestTagsData, type TransactionControllerSuggestTagsResponse, type TransactionControllerUpdateData, type TransactionControllerUpdateResponse, type TransactionDetailDto, type TransactionListResponseDto, type TransactionResponseDto, type TransactionRuleControllerBulkCreateData, type TransactionRuleControllerBulkCreateResponse, type TransactionRuleControllerCreateData, type TransactionRuleControllerCreateResponse, type TransactionRuleControllerDeleteData, type TransactionRuleControllerDeleteResponse, type TransactionRuleControllerExportData, type TransactionRuleControllerExportResponse, type TransactionRuleControllerGetDetailData, type TransactionRuleControllerGetDetailResponse, type TransactionRuleControllerGetStatisticsData, type TransactionRuleControllerGetStatisticsResponse, type TransactionRuleControllerListData, type TransactionRuleControllerListResponse, type TransactionRuleControllerTestData, type TransactionRuleControllerTestResponse, type TransactionRuleControllerUpdateData, type TransactionRuleControllerUpdateResponse, type TransactionRuleControllerValidateData, type TransactionRuleControllerValidateResponse, type TransactionRuleListResponseDto, type TransactionRuleResponseDto, type TransactionSummaryDto, type TrendSummaryDto, type UndoResultDto, type UpdateAccountDto, 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 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 paymentSource, type period, type source, type status, type status2, type status3, type status4, type suggestedFrequency, type type, type type2, type type3, type value, type viewMode };
8981
+ export { type $OpenApiTs, type AccountControllerCloseData, type AccountControllerCloseResponse, type AccountControllerCreateData, type AccountControllerCreateResponse, type AccountControllerDeleteData, type AccountControllerDeleteResponse, type AccountControllerFindAllData, type AccountControllerFindAllResponse, type AccountControllerFindOneData, type AccountControllerFindOneResponse, type AccountControllerReopenData, type AccountControllerReopenResponse, type AccountControllerUpdateData, type AccountControllerUpdateResponse, type AccountExchangeRateWarningDto, type AccountItemDto, type AccountItemWithAssetClassDto, type AccountListResponseDto, type AccountResponseDto, type AccountStandardListResponseDto, type AccountStandardResponseDto, type AccountStandardsControllerGetRegionsData, type AccountStandardsControllerGetRegionsResponse, type AccountStandardsControllerGetTemplateMetadataData, type AccountStandardsControllerGetTemplateMetadataResponse, type AccountStandardsControllerGetTemplatesData, type AccountStandardsControllerGetTemplatesResponse, type AccountsResponseDto, type AccountsSummaryDto, type ActualBalanceDto, type AmountDto, type AmountRangeDto, type AnonymousLoginDto, type ApiKeysControllerCreateApiKeyResponse, type ApiProblemResponseDto, type AssertReconciliationDto, type AssetClassAccountsResponseDto, type AssetClassGroupDto, type AssetClassSummaryDto, type AuthControllerAccessTokenLoginData, type AuthControllerAccessTokenLoginResponse, type BackfillSnapshotsBody, type BackfillSnapshotsResponse, type BalanceByCurrencyDto, type BalanceControllerGetBalanceData, type BalanceControllerGetBalanceResponse, type BalanceControllerGetMultiCurrencyBalanceData, type BalanceControllerGetMultiCurrencyBalanceResponse, type BalanceResponseDto, type BatchCreateTransactionDto, type BatchResolveDto, type BatchResolveResultDto, type BatchTransactionErrorDto, type BatchTransactionResponseDto, BeanAccountsService, BeanBalancesService, BeanCommoditiesService, BeanTransactionsService, type BulkCreateRulesDto, type BulkCreateRulesResponseDto, type CacheControllerFlushCacheResponse, type CashFlowByCurrencyDto, type CashFlowPointDto, type CashFlowResponseDto, type CashFlowTrendSummaryDto, type CashFlowTrendsResponseDto, type CategoryGroupDto, type CloseAccountDto, type CommodityControllerBulkCreateData, type CommodityControllerBulkCreateResponse, type CommodityControllerCreateData, type CommodityControllerCreateResponse, type CommodityControllerDeleteData, type CommodityControllerDeleteResponse, type CommodityControllerFindAllData, type CommodityControllerFindAllResponse, type CommodityControllerFindOneData, type CommodityControllerFindOneResponse, type CommodityControllerGetOrCreateData, type CommodityControllerGetOrCreateResponse, type CommodityControllerUpdateData, type CommodityControllerUpdateResponse, type CommodityListResponseDto, type CommodityResponseDto, type ComputeReconciliationDto, type ConfirmMatchDto, type ConvertedCashFlowDto, type ConvertedNetWorthDto, type CorrectTransactionDto, type CostDetailDto, type CostSpecDto, type CreateAccountDto, type CreateBeanEventDto, type CreateBeanPriceDto, type CreateCommodityDto, type 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 FileImportControllerIdentifyFileData, type FileImportControllerIdentifyFileResponse, type FileImportControllerImportBeancountData, type FileImportControllerImportBeancountResponse, type FileImportControllerImportFileData, type FileImportControllerImportFileResponse, type FileImportDto, type ForecastControllerGetForecastData, type ForecastControllerGetForecastResponse, type ForecastItemDto, type ForecastResponseDto, type FxRateDto, type GenerateSnapshotBody, type GenerateSnapshotResponse, type HealthControllerCheckDatabaseResponse, type HealthControllerCheckOpenBbResponse, type HealthControllerCheckRedisResponse, type HealthControllerGetCircuitBreakersHealthResponse, type HealthControllerGetHealthResponse, type HealthControllerGetMetricsResponse, type HealthControllerResetCircuitBreakerData, type HealthControllerResetCircuitBreakerResponse, HealthService, type HoldingAssetClassAccountSliceDto, type HoldingAssetClassCrossAccountResponseDto, type HoldingPnlControllerGetHoldingPnlData, type HoldingPnlControllerGetHoldingPnlResponse, type HoldingPnlResponseDto, type HoldingPnlRowDto, type HoldingPnlWarningDto, type IdentifyResultDto, type ImportErrorDto, type ImportResultDto, type ImporterConfigControllerGetConfigData, type ImporterConfigControllerGetConfigResponse, type ImporterConfigControllerResetConfigData, type ImporterConfigControllerResetConfigResponse, type ImporterConfigControllerUpdateConfigData, type ImporterConfigControllerUpdateConfigResponse, type ImporterConfigDataDto, type ImporterConfigDto, type InfoControllerGetInfoResponse, type MapperDefaultsDto, type MonetaryDto, type MonthlyForecastDto, type MultiCurrencyBalanceResponseDto, type MultiCurrencyPointDto, type NetWorthByCurrencyDto, type NetWorthResponseDto, type NlpAccountConfirmationDataDto, type NlpAlternativePayeeDto, type NlpControllerClearSessionData, type NlpControllerClearSessionResponse, type NlpControllerGetSessionData, type NlpControllerGetSessionResponse, type NlpControllerProcessNaturalLanguageData, type NlpControllerProcessNaturalLanguageResponse, type NlpDefaultAccountsDto, type NlpDuplicateConfirmationDataDto, type NlpParsedDataDto, type NlpPayeeConfirmationDataDto, type NlpResponseDto, type NlpRuleConfirmationDataDto, type NlpSimilarityDto, type NlpSourceTransactionDto, type NlpSuggestedAccountDto, type NlpSuggestedAccountsDto, type NlpSuggestedPayeeDto, type NlpTargetTransactionDto, type NlpTransactionInfoDto, OpenAPI, type OpenAPIConfig, type PadReconciliationDto, type PadResultDto, type ParserTelemetryReportDto, type PayeeAutocompleteResponseDto, type PayeeControllerAutocompleteData, type PayeeControllerAutocompleteResponse, type PayeeControllerCreateData, type PayeeControllerCreateResponse, type PayeeControllerDeleteData, type PayeeControllerDeleteResponse, type PayeeControllerFindAllData, type PayeeControllerFindAllResponse, type PayeeControllerFindOneData, type PayeeControllerFindOneResponse, type PayeeControllerGetTopPayeesData, type PayeeControllerGetTopPayeesResponse, type PayeeControllerUpdateData, type PayeeControllerUpdateResponse, type PayeeListResponseDto, type PayeeProfileAdminControllerCreateData, type PayeeProfileAdminControllerCreateResponse, type PayeeProfileAdminControllerDeleteData, type PayeeProfileAdminControllerDeleteResponse, type PayeeProfileAdminControllerFindAllData, type PayeeProfileAdminControllerFindAllResponse, type PayeeProfileAdminControllerFindOneData, type PayeeProfileAdminControllerFindOneResponse, type PayeeProfileAdminControllerUnverifyData, type PayeeProfileAdminControllerUnverifyResponse, type PayeeProfileAdminControllerUpdateData, type PayeeProfileAdminControllerUpdateResponse, type PayeeProfileAdminControllerVerifyData, type PayeeProfileAdminControllerVerifyResponse, type PayeeProfileListResponseDto, type PayeeProfileResponseDto, type PayeeResponseDto, type PayeeStatsResponseDto, type PlatformControllerCreateData, type PlatformControllerCreateResponse, type PlatformControllerDeleteData, type PlatformControllerDeleteResponse, type PlatformControllerFindAllResponse, type PlatformControllerGetPlatformListResponse, type PlatformControllerMatchPlatformsData, type PlatformControllerMatchPlatformsResponse, type PlatformControllerUpdateData, type PlatformControllerUpdateResponse, type PlatformGroupDto, type PortfolioTrendsResponseDto, type PostingDetailDto, type PostingResponseDto, type PriceControllerBulkCreateData, type PriceControllerBulkCreateResponse, type PriceControllerCreateData, type PriceControllerCreateResponse, type PriceControllerDeleteData, type PriceControllerDeleteResponse, type PriceControllerFindAllData, type PriceControllerFindAllResponse, type PriceControllerFindOneData, type PriceControllerFindOneResponse, type PriceControllerUpdateData, type PriceControllerUpdateResponse, type PriceListResponseDto, type PriceResponseDto, type ProcessNlpDto, type PropertyControllerDeleteData, type PropertyControllerDeleteResponse, type PropertyControllerGetAllResponse, type PropertyControllerGetByKeyData, type PropertyControllerGetByKeyResponse, type PropertyControllerUpdateData, type PropertyControllerUpdateResponse, type ProviderSyncConfigDto, type ProviderSyncControllerGetSupportedProvidersData, type ProviderSyncControllerGetSupportedProvidersResponse, type ProviderSyncControllerIsProviderSupportedData, type ProviderSyncControllerIsProviderSupportedResponse, type ProviderSyncControllerSyncData, type ProviderSyncControllerSyncResponse, type ProviderSyncDto, type ProviderSyncResponseDto, ProviderSyncService, type ReconciliationComputeResultDto, type ReconciliationControllerAssertData, type ReconciliationControllerAssertResponse, type ReconciliationControllerComputeData, type ReconciliationControllerComputeResponse, type ReconciliationControllerHistoryData, type ReconciliationControllerHistoryResponse, type ReconciliationControllerPadData, type ReconciliationControllerPadResponse, type ReconciliationRecordDto, type RecurringMatchInfoDto, type RecurringRuleControllerCreateData, type RecurringRuleControllerCreateFromTransactionData, type RecurringRuleControllerCreateFromTransactionResponse, type RecurringRuleControllerCreateResponse, type RecurringRuleControllerDeleteData, type RecurringRuleControllerDeleteResponse, type RecurringRuleControllerFindAllData, type RecurringRuleControllerFindAllResponse, type RecurringRuleControllerFindOneData, type RecurringRuleControllerFindOneResponse, type RecurringRuleControllerGetWithStatsData, type RecurringRuleControllerGetWithStatsResponse, type RecurringRuleControllerUpdateData, type RecurringRuleControllerUpdateResponse, type RecurringRuleResponseDto, type RecurringRuleWithStatsResponseDto, type RecurringSuggestionDto, type RegionConfigDto, type RegionInfoDto, type RegionsMetadataResponseDto, type ReopenAccountDto, type ReportingControllerBackfillSnapshotsData, type ReportingControllerBackfillSnapshotsResponse, type ReportingControllerGenerateSnapshotData, type ReportingControllerGenerateSnapshotResponse, type ReportingControllerGetCashFlowTrendsData, type ReportingControllerGetCashFlowTrendsResponse, type ReportingControllerGetPortfolioTrendsData, type ReportingControllerGetPortfolioTrendsResponse, type ResolveResultDto, type ResolveReviewDto, type ReviewControllerBatchResolveData, type ReviewControllerBatchResolveResponse, type ReviewControllerFindAllData, type ReviewControllerFindAllResponse, type ReviewControllerFindOneData, type ReviewControllerFindOneResponse, type ReviewControllerGetStatsData, type ReviewControllerGetStatsResponse, type ReviewControllerResolveData, type ReviewControllerResolveResponse, type ReviewControllerUndoData, type ReviewControllerUndoResponse, type ReviewDetailDto, type ReviewItemPreviewDto, type ReviewListResponseDto, type ReviewStatsDto, type ReviewSummaryDto, type RuleStatisticsResponseDto, type SignupDto, type SupportedProvidersResponseDto, type TagSuggestionDto, type TagSuggestionsResponseDto, type TelemetryControllerGetCoverageMetricsData, type TelemetryControllerGetCoverageMetricsResponse, type TelemetryControllerReportCoverageMissData, type TelemetryControllerReportCoverageMissResponse, type TelemetryControllerReportTelemetryData, type TelemetryControllerReportTelemetryResponse, type TemplateMetadataDto, type TemplateMetadataResponseDto, type TestRuleDto, type TestRuleResponseDto, type TimeSeriesPointDto, type TransactionControllerCorrectData, type TransactionControllerCorrectResponse, type TransactionControllerCreateBatchData, type TransactionControllerCreateBatchResponse, type TransactionControllerCreateData, type TransactionControllerCreateResponse, type TransactionControllerDeleteData, type TransactionControllerDeleteResponse, type TransactionControllerGetDetailData, type TransactionControllerGetDetailResponse, type TransactionControllerListData, type TransactionControllerListResponse, type TransactionControllerSuggestTagsData, type TransactionControllerSuggestTagsResponse, type TransactionControllerUpdateData, type TransactionControllerUpdateResponse, type TransactionDetailDto, type TransactionListResponseDto, type TransactionListSummaryDto, type TransactionResponseDto, type TransactionRuleControllerBulkCreateData, type TransactionRuleControllerBulkCreateResponse, type TransactionRuleControllerCreateData, type TransactionRuleControllerCreateResponse, type TransactionRuleControllerDeleteData, type TransactionRuleControllerDeleteResponse, type TransactionRuleControllerExportData, type TransactionRuleControllerExportResponse, type TransactionRuleControllerGetDetailData, type TransactionRuleControllerGetDetailResponse, type TransactionRuleControllerGetStatisticsData, type TransactionRuleControllerGetStatisticsResponse, type TransactionRuleControllerListData, type TransactionRuleControllerListResponse, type TransactionRuleControllerTestData, type TransactionRuleControllerTestResponse, type TransactionRuleControllerUpdateData, type TransactionRuleControllerUpdateResponse, type TransactionRuleControllerValidateData, type TransactionRuleControllerValidateResponse, type TransactionRuleListResponseDto, type TransactionRuleResponseDto, type TransactionSummaryDto, type TrendSummaryDto, type UncoveredFormatMissDto, type UndoResultDto, type UpdateAccountDto, type UpdateBeanEventDto, type UpdateBeanPriceDto, type UpdateCommodityDto, type UpdateConfigDataDto, type UpdateImporterConfigDto, type UpdateMapperDefaultsDto, type UpdatePayeeDto, type UpdatePayeeProfileDto, type UpdatePlatformDto, type UpdatePropertyDto, type UpdateRecurringRuleDto, type UpdateTransactionDto, type UpdateTransactionRuleDto, type UpdateUserSettingDto, type UserControllerDeleteOwnUserData, type UserControllerDeleteOwnUserResponse, type UserControllerDeleteUserData, type UserControllerDeleteUserResponse, type UserControllerGetAllUserSettingsByPageData, type UserControllerGetAllUserSettingsByPageResponse, type UserControllerGetAssetLiabilitySummaryResponse, type UserControllerGetUserData, type UserControllerGetUserInfoData, type UserControllerGetUserInfoResponse, type UserControllerGetUserResponse, type UserControllerSignupUserData, type UserControllerSignupUserResponse, type UserControllerUpdateUserSettingData, type UserControllerUpdateUserSettingResponse, type ValidateRuleDto, type ValidateRuleResponseDto, type VersionedConfigDto, type action, type action2, type assetClass, type assetSubType, type bookingMethod, type branchType, type category, type chartToken, type colorScheme, type confidenceLevel, type conflictStrategy, type dataSource, type equitySubType, type flag, type flag2, type frequency, type importerId, type intent, type investmentAction, type learningSource, type liabilitySubType, type matchLogic, type method, type mode, type paymentSource, type period, type 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 };