@firela/api-types 0.0.0-canary.6feee68d → 0.0.0-canary.792fa5f1

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
  /**
@@ -367,7 +419,7 @@ type PostingResponseDto = {
367
419
  */
368
420
  account: string;
369
421
  /**
370
- * Amount (may be null if interpolated)
422
+ * Amount as decimal string. Typed optional but always present in responses: interpolation fills any MISSING posting before it is persisted or returned.
371
423
  */
372
424
  units?: string;
373
425
  /**
@@ -513,6 +565,54 @@ type BatchTransactionResponseDto = {
513
565
  */
514
566
  failed: Array<BatchTransactionErrorDto>;
515
567
  };
568
+ type CorrectTransactionDto = {
569
+ /**
570
+ * Transaction date (ISO 8601 format)
571
+ */
572
+ date: string;
573
+ /**
574
+ * Transaction flag: * (cleared), ! (pending)
575
+ */
576
+ flag?: '*' | '!';
577
+ /**
578
+ * Payee name
579
+ */
580
+ payee?: string;
581
+ /**
582
+ * Transaction narration/description
583
+ */
584
+ narration: string;
585
+ /**
586
+ * Transaction tags (without # prefix)
587
+ */
588
+ tags?: Array<string>;
589
+ /**
590
+ * Transaction links (without ^ prefix)
591
+ */
592
+ links?: Array<string>;
593
+ /**
594
+ * Transaction postings (minimum 1, typically 2 for double-entry)
595
+ */
596
+ postings: Array<CreatePostingDto>;
597
+ /**
598
+ * Transaction-level metadata
599
+ */
600
+ meta?: {
601
+ [key: string]: unknown;
602
+ };
603
+ /**
604
+ * Unique key for idempotent transaction creation. If provided, duplicate requests with the same key will return the existing transaction.
605
+ */
606
+ idempotencyKey?: string;
607
+ /**
608
+ * Auto-create accounts if not found. When true, missing accounts will be automatically created. When false (default for API), missing accounts will cause a validation error. Set to true for quick entry scenarios where you want to create accounts on-the-fly.
609
+ */
610
+ autoCreateAccounts?: boolean;
611
+ /**
612
+ * Reason for correcting/superseding the original transaction
613
+ */
614
+ correctionReason?: string;
615
+ };
516
616
  type PostingDetailDto = {
517
617
  /**
518
618
  * Posting ID
@@ -523,11 +623,11 @@ type PostingDetailDto = {
523
623
  */
524
624
  accountId: string;
525
625
  /**
526
- * Account name
626
+ * Fully-qualified Beancount account path
527
627
  */
528
- accountName: string;
628
+ account: string;
529
629
  /**
530
- * Amount (may be null if interpolated)
630
+ * Amount as decimal string. Typed optional but always present in responses: interpolation fills any MISSING posting before it is persisted or returned.
531
631
  */
532
632
  units?: string;
533
633
  /**
@@ -609,9 +709,9 @@ type TransactionDetailDto = {
609
709
  */
610
710
  status: 'ACTIVE' | 'VOIDED' | 'SUPERSEDED';
611
711
  /**
612
- * Source type (how the transaction was created)
712
+ * Source type (free-form string from transaction metadata, e.g. import, api)
613
713
  */
614
- sourceType?: 'NLP' | 'CSV' | 'OCR' | 'API';
714
+ sourceType?: string;
615
715
  /**
616
716
  * Source platform (e.g., alipay, wechat)
617
717
  */
@@ -636,6 +736,14 @@ type TransactionDetailDto = {
636
736
  * Correction reason (if voided or superseded)
637
737
  */
638
738
  correctionReason?: string;
739
+ /**
740
+ * ID of the transaction that supersedes this one (set when status=SUPERSEDED)
741
+ */
742
+ supersededBy?: string;
743
+ /**
744
+ * ID of the transaction this one corrected/replaced (back-link on the replacement)
745
+ */
746
+ originalTxn?: string;
639
747
  };
640
748
  /**
641
749
  * Transaction flag
@@ -645,10 +753,6 @@ type flag2 = 'CLEARED' | 'PENDING' | 'PADDING' | 'SUMMARIZE' | 'TRANSFER' | 'CON
645
753
  * Transaction status
646
754
  */
647
755
  type status2 = 'ACTIVE' | 'VOIDED' | 'SUPERSEDED';
648
- /**
649
- * Source type (how the transaction was created)
650
- */
651
- type sourceType = 'NLP' | 'CSV' | 'OCR' | 'API';
652
756
  type TransactionListResponseDto = {
653
757
  /**
654
758
  * List of transactions
@@ -667,6 +771,22 @@ type TransactionListResponseDto = {
667
771
  */
668
772
  offset: number;
669
773
  };
774
+ type TagSuggestionDto = {
775
+ /**
776
+ * Tag name
777
+ */
778
+ tag: string;
779
+ /**
780
+ * Usage count across ACTIVE transactions
781
+ */
782
+ count: number;
783
+ };
784
+ type TagSuggestionsResponseDto = {
785
+ /**
786
+ * Tag suggestions sorted as requested
787
+ */
788
+ data: Array<TagSuggestionDto>;
789
+ };
670
790
  type UpdateTransactionDto = {
671
791
  /**
672
792
  * Transaction flag (CLEARED, PENDING, etc.)
@@ -759,9 +879,9 @@ type TransactionSummaryDto = {
759
879
  */
760
880
  accountName?: string;
761
881
  /**
762
- * Source type (NLP, CSV, OCR, API)
882
+ * Source type (free-form string from transaction metadata, e.g. import, api)
763
883
  */
764
- sourceType?: 'NLP' | 'CSV' | 'OCR' | 'API';
884
+ sourceType?: string;
765
885
  /**
766
886
  * Source platform (e.g., alipay, wechat)
767
887
  */
@@ -785,9 +905,9 @@ type ReviewSummaryDto = {
785
905
  */
786
906
  confidence: number;
787
907
  /**
788
- * Confidence level derived from score
908
+ * Confidence level derived from score. Null for error-type reviews (ACCOUNT_VALIDATION/PIPELINE_ERROR) which carry no confidence.
789
909
  */
790
- confidenceLevel: 'HIGH' | 'MEDIUM' | 'LOW';
910
+ confidenceLevel: 'HIGH' | 'MEDIUM' | 'LOW' | null;
791
911
  /**
792
912
  * i18n message key for summary (e.g., review.summary.duplicate). Translate on frontend with summaryParams.
793
913
  */
@@ -803,7 +923,7 @@ type ReviewSummaryDto = {
803
923
  */
804
924
  matchReasons: Array<string>;
805
925
  /**
806
- * Source type (NLP, CSV, OCR, API)
926
+ * Source type (free-form string from transaction metadata, e.g. import, api)
807
927
  */
808
928
  sourceType: string;
809
929
  /**
@@ -848,7 +968,7 @@ type type2 = 'DUPLICATE' | 'RULE_MATCH' | 'PAYEE_MATCH' | 'ACCOUNT_VALIDATION' |
848
968
  */
849
969
  type status3 = 'PENDING' | 'RESOLVED' | 'EXPIRED' | 'CANCELLED';
850
970
  /**
851
- * Confidence level derived from score
971
+ * Confidence level derived from score. Null for error-type reviews (ACCOUNT_VALIDATION/PIPELINE_ERROR) which carry no confidence.
852
972
  */
853
973
  type confidenceLevel = 'HIGH' | 'MEDIUM' | 'LOW';
854
974
  type ReviewListResponseDto = {
@@ -890,7 +1010,7 @@ type DecisionOptionDto = {
890
1010
  /**
891
1011
  * The action value to submit (e.g., UPGRADE_REPLACE, ACCEPT)
892
1012
  */
893
- value: string;
1013
+ value: 'UPGRADE_REPLACE' | 'LINK_KEEP_BOTH' | 'IGNORE_NEW' | 'CONFIRM_DIFFERENT' | 'ACCEPT' | 'REJECT' | 'ACCEPT_AND_LEARN' | 'CHOOSE_OTHER' | 'CANCEL' | 'FIX' | 'IGNORE';
894
1014
  /**
895
1015
  * i18n message key for display label (e.g., review.payee.accept.label)
896
1016
  */
@@ -904,6 +1024,10 @@ type DecisionOptionDto = {
904
1024
  */
905
1025
  recommended?: boolean;
906
1026
  };
1027
+ /**
1028
+ * The action value to submit (e.g., UPGRADE_REPLACE, ACCEPT)
1029
+ */
1030
+ type value = 'UPGRADE_REPLACE' | 'LINK_KEEP_BOTH' | 'IGNORE_NEW' | 'CONFIRM_DIFFERENT' | 'ACCEPT' | 'REJECT' | 'ACCEPT_AND_LEARN' | 'CHOOSE_OTHER' | 'CANCEL' | 'FIX' | 'IGNORE';
907
1031
  type ReviewDetailDto = {
908
1032
  /**
909
1033
  * Review item ID
@@ -922,9 +1046,9 @@ type ReviewDetailDto = {
922
1046
  */
923
1047
  confidence: number;
924
1048
  /**
925
- * Confidence level derived from score
1049
+ * Confidence level derived from score. Null for error-type reviews (ACCOUNT_VALIDATION/PIPELINE_ERROR) which carry no confidence.
926
1050
  */
927
- confidenceLevel: 'HIGH' | 'MEDIUM' | 'LOW';
1051
+ confidenceLevel: 'HIGH' | 'MEDIUM' | 'LOW' | null;
928
1052
  /**
929
1053
  * i18n message key for summary (e.g., review.summary.duplicate). Translate on frontend with summaryParams.
930
1054
  */
@@ -940,7 +1064,7 @@ type ReviewDetailDto = {
940
1064
  */
941
1065
  matchReasons: Array<string>;
942
1066
  /**
943
- * Source type (NLP, CSV, OCR, API)
1067
+ * Source type (free-form string from transaction metadata, e.g. import, api)
944
1068
  */
945
1069
  sourceType: string;
946
1070
  /**
@@ -992,9 +1116,9 @@ type ReviewDetailDto = {
992
1116
  };
993
1117
  type ResolveReviewDto = {
994
1118
  /**
995
- * Decision action. Available actions vary by review type: DUPLICATE: UPGRADE_REPLACE, KEEP_EXISTING, KEEP_BOTH | PAYEE_MATCH: ACCEPT, REJECT, ACCEPT_AND_LEARN | ACCOUNT_VALIDATION: FIX, REJECT | RULE_MATCH: ACCEPT, REJECT, ACCEPT_AND_LEARN
1119
+ * Decision action. Valid actions vary by review type see DecisionOptionDto.value returned by the review detail endpoint.
996
1120
  */
997
- action: string;
1121
+ action: 'UPGRADE_REPLACE' | 'LINK_KEEP_BOTH' | 'IGNORE_NEW' | 'CONFIRM_DIFFERENT' | 'ACCEPT' | 'REJECT' | 'ACCEPT_AND_LEARN' | 'CHOOSE_OTHER' | 'CANCEL' | 'FIX' | 'IGNORE';
998
1122
  /**
999
1123
  * Additional data for the decision (e.g., selected account ID)
1000
1124
  */
@@ -1002,6 +1126,10 @@ type ResolveReviewDto = {
1002
1126
  [key: string]: unknown;
1003
1127
  };
1004
1128
  };
1129
+ /**
1130
+ * Decision action. Valid actions vary by review type — see DecisionOptionDto.value returned by the review detail endpoint.
1131
+ */
1132
+ type action = 'UPGRADE_REPLACE' | 'LINK_KEEP_BOTH' | 'IGNORE_NEW' | 'CONFIRM_DIFFERENT' | 'ACCEPT' | 'REJECT' | 'ACCEPT_AND_LEARN' | 'CHOOSE_OTHER' | 'CANCEL' | 'FIX' | 'IGNORE';
1005
1133
  type ResolveResultDto = {
1006
1134
  /**
1007
1135
  * Whether resolution was successful
@@ -1056,7 +1184,7 @@ type BatchResolveDto = {
1056
1184
  /**
1057
1185
  * Decision action to apply to all items
1058
1186
  */
1059
- action: string;
1187
+ action: 'UPGRADE_REPLACE' | 'LINK_KEEP_BOTH' | 'IGNORE_NEW' | 'CONFIRM_DIFFERENT' | 'ACCEPT' | 'REJECT' | 'ACCEPT_AND_LEARN' | 'CHOOSE_OTHER' | 'CANCEL' | 'FIX' | 'IGNORE';
1060
1188
  /**
1061
1189
  * Additional data for the decision
1062
1190
  */
@@ -2916,6 +3044,7 @@ type SupportedProvidersResponseDto = {
2916
3044
  providers: Array<string>;
2917
3045
  };
2918
3046
  type ParserTelemetryReportDto = unknown;
3047
+ type UncoveredFormatMissDto = unknown;
2919
3048
  type ProcessNlpDto = {
2920
3049
  /**
2921
3050
  * Natural language text describing a transaction (Chinese)
@@ -3432,7 +3561,7 @@ type status4 = 'success' | 'pending' | 'error';
3432
3561
  /**
3433
3562
  * Action taken or requested
3434
3563
  */
3435
- type action = 'created' | 'ask' | 'confirm' | 'confirm_duplicate' | 'confirm_rule' | 'confirm_account' | 'confirm_payee' | 'cancel';
3564
+ type action2 = 'created' | 'ask' | 'confirm' | 'confirm_duplicate' | 'confirm_rule' | 'confirm_account' | 'confirm_payee' | 'cancel';
3436
3565
  /**
3437
3566
  * Transaction intent detected by EntityRouter (v6.0: 5 core intents). Frontend uses this to render scenario-specific form fields.
3438
3567
  */
@@ -3650,7 +3779,15 @@ type AccountItemWithAssetClassDto = {
3650
3779
  * Risk level
3651
3780
  */
3652
3781
  riskLevel?: string;
3782
+ /**
3783
+ * ADR-0105 classification provenance (holding level always; account level only on FALLBACK)
3784
+ */
3785
+ source?: 'USER_META' | 'FIAT_CURRENCY' | 'OPENBB_MAPPING' | 'FALLBACK';
3653
3786
  };
3787
+ /**
3788
+ * ADR-0105 classification provenance (holding level always; account level only on FALLBACK)
3789
+ */
3790
+ type source2 = 'USER_META' | 'FIAT_CURRENCY' | 'OPENBB_MAPPING' | 'FALLBACK';
3654
3791
  type AssetClassGroupDto = {
3655
3792
  /**
3656
3793
  * Asset class name
@@ -3712,6 +3849,12 @@ type AssetClassSummaryDto = {
3712
3849
  * Exchange rate warnings
3713
3850
  */
3714
3851
  warnings?: Array<AccountExchangeRateWarningDto>;
3852
+ /**
3853
+ * 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.
3854
+ */
3855
+ fallback?: {
3856
+ [key: string]: unknown;
3857
+ };
3715
3858
  };
3716
3859
  type AssetClassAccountsResponseDto = {
3717
3860
  /**
@@ -3722,6 +3865,54 @@ type AssetClassAccountsResponseDto = {
3722
3865
  * Summary statistics
3723
3866
  */
3724
3867
  summary: AssetClassSummaryDto;
3868
+ /**
3869
+ * ADR-0105 §6 holding-level grey-area bucket (source=FALLBACK holdings peeled out of groups). Present only for groupBy=holdingAssetClass when FALLBACK holdings exist.
3870
+ */
3871
+ uncategorized?: AssetClassGroupDto;
3872
+ };
3873
+ type HoldingAssetClassAccountSliceDto = {
3874
+ /**
3875
+ * Account ID
3876
+ */
3877
+ accountId: string;
3878
+ /**
3879
+ * Full account path
3880
+ */
3881
+ accountPath: string;
3882
+ /**
3883
+ * Currency of the holding with the largest converted base value; undefined when no holding is convertible
3884
+ */
3885
+ accountCurrency?: string;
3886
+ /**
3887
+ * Account's market value in base currency (Σ converted holdings; grey bucket included)
3888
+ */
3889
+ marketValueBase: string;
3890
+ /**
3891
+ * Share of the global total (0-100). 0 when globalTotal is zero (no NaN/Infinity).
3892
+ */
3893
+ shareOfTotalPct: number;
3894
+ /**
3895
+ * Per-account asset-class breakdown
3896
+ */
3897
+ groups: Array<AssetClassGroupDto>;
3898
+ /**
3899
+ * Per-account grey bucket (source=FALLBACK holdings, incl. broker cash)
3900
+ */
3901
+ uncategorized?: AssetClassGroupDto;
3902
+ /**
3903
+ * Every holding row for this account (account ID in each row’s `id` field)
3904
+ */
3905
+ holdings: Array<AccountItemWithAssetClassDto>;
3906
+ };
3907
+ type HoldingAssetClassCrossAccountResponseDto = {
3908
+ /**
3909
+ * Merged cross-account holding aggregation
3910
+ */
3911
+ global: AssetClassAccountsResponseDto;
3912
+ /**
3913
+ * Per-account slices
3914
+ */
3915
+ byAccount: Array<HoldingAssetClassAccountSliceDto>;
3725
3916
  };
3726
3917
  type CashFlowByCurrencyDto = {
3727
3918
  /**
@@ -3799,157 +3990,426 @@ type CashFlowResponseDto = {
3799
3990
  */
3800
3991
  warnings?: Array<ExchangeRateWarningDto>;
3801
3992
  };
3802
- type CurrencyBalanceDto = {
3993
+ type MonetaryDto = {
3803
3994
  /**
3804
- * ISO 4217 currency code
3995
+ * Amount (Decimal string)
3996
+ */
3997
+ amount: string;
3998
+ /**
3999
+ * ISO 4217 currency
3805
4000
  */
3806
4001
  currency: string;
3807
4002
  /**
3808
- * Balance amount
4003
+ * Converted to user base currency (Decimal string)
3809
4004
  */
3810
- balance: string;
4005
+ baseCcyEquivalent?: {
4006
+ [key: string]: unknown;
4007
+ } | null;
3811
4008
  };
3812
- type TimeSeriesPointDto = {
4009
+ type CurrentPriceDto = {
3813
4010
  /**
3814
- * Date in YYYY-MM-DD format
4011
+ * Price amount (Decimal string)
3815
4012
  */
3816
- date: string;
4013
+ amount: string;
3817
4014
  /**
3818
- * Value at this date (in base currency)
4015
+ * Price currency (ISO 4217)
3819
4016
  */
3820
- value: string;
4017
+ currency: string;
3821
4018
  /**
3822
- * Change from previous point
4019
+ * Price date (ISO 8601)
3823
4020
  */
3824
- change?: {
3825
- [key: string]: unknown;
3826
- };
4021
+ date: string;
3827
4022
  /**
3828
- * Multi-currency breakdown for this point
4023
+ * Price source
3829
4024
  */
3830
- byCurrency?: Array<CurrencyBalanceDto>;
4025
+ source: 'USER_OVERRIDE' | 'OPENBB_EQUITY' | 'OPENBB_CURRENCY';
3831
4026
  };
3832
- type TrendSummaryDto = {
4027
+ /**
4028
+ * Price source
4029
+ */
4030
+ type source3 = 'USER_OVERRIDE' | 'OPENBB_EQUITY' | 'OPENBB_CURRENCY';
4031
+ type FxRateDto = {
4032
+ from: string;
4033
+ to: string;
3833
4034
  /**
3834
- * Value at start of period
4035
+ * FX rate (Decimal string)
3835
4036
  */
3836
- startValue: string;
4037
+ rate: string;
3837
4038
  /**
3838
- * Value at end of period
4039
+ * Rate date (ISO 8601)
3839
4040
  */
3840
- endValue: string;
4041
+ date: string;
4042
+ };
4043
+ type HoldingPnlRowDto = {
3841
4044
  /**
3842
- * Total change over period
4045
+ * Account UUID
3843
4046
  */
3844
- totalChange: string;
4047
+ accountId: string;
3845
4048
  /**
3846
- * Total change percentage
4049
+ * Full account path
3847
4050
  */
3848
- totalChangePercentage: string;
3849
- };
3850
- type MultiCurrencyPointDto = {
4051
+ accountPath: string;
3851
4052
  /**
3852
- * Date in YYYY-MM-DD format
4053
+ * Account settlement currency (ISO 4217), from cost currency
3853
4054
  */
3854
- date: string;
4055
+ accountCcy?: {
4056
+ [key: string]: unknown;
4057
+ } | null;
3855
4058
  /**
3856
- * Balances by currency
4059
+ * Broker type derived from Platform.type
3857
4060
  */
3858
- byCurrency: Array<CurrencyBalanceDto>;
3859
- };
3860
- type PortfolioTrendsResponseDto = {
4061
+ brokerType?: {
4062
+ [key: string]: unknown;
4063
+ } | null;
3861
4064
  /**
3862
- * Time series data points
4065
+ * Commodity symbol
3863
4066
  */
3864
- series: Array<TimeSeriesPointDto>;
4067
+ symbol: string;
3865
4068
  /**
3866
- * Period summary
4069
+ * Chart segment token (libs/common resolver)
3867
4070
  */
3868
- summary: TrendSummaryDto;
4071
+ chartToken: 'equity' | 'fund' | 'bond' | 'cash' | 'other';
4072
+ assetClass: string;
4073
+ assetSubClass?: {
4074
+ [key: string]: unknown;
4075
+ } | null;
3869
4076
  /**
3870
- * Period requested
4077
+ * Net held units (Decimal string)
3871
4078
  */
3872
- period: string;
4079
+ units: string;
3873
4080
  /**
3874
- * Data granularity
4081
+ * Average cost per unit; null when cost currency conflicts or no cost
3875
4082
  */
3876
- granularity: string;
4083
+ averageCostPerUnit?: MonetaryDto | null;
3877
4084
  /**
3878
- * Base currency for converted values
4085
+ * Cost basis of held units
3879
4086
  */
3880
- currency: string;
4087
+ costBasis?: MonetaryDto | null;
3881
4088
  /**
3882
- * Multi-currency time series (each point has currency breakdown)
4089
+ * Market value at asOf price
3883
4090
  */
3884
- byCurrency?: Array<MultiCurrencyPointDto>;
4091
+ marketValue?: MonetaryDto | null;
3885
4092
  /**
3886
- * Exchange rate warnings
4093
+ * Price used for market value
3887
4094
  */
3888
- warnings?: Array<ExchangeRateWarningDto>;
3889
- };
3890
- type GenerateSnapshotBody = unknown;
3891
- type GenerateSnapshotResponse = unknown;
3892
- type BackfillSnapshotsBody = unknown;
3893
- type BackfillSnapshotsResponse = unknown;
3894
- type AnonymousLoginDto = {
4095
+ currentPrice?: CurrentPriceDto | null;
3895
4096
  /**
3896
- * Access token for anonymous login
4097
+ * Unrealized P&L in base currency (Decimal string); null when any FX/price missing
3897
4098
  */
3898
- accessToken: string;
3899
- };
3900
- type AccountControllerCreateData = {
4099
+ unrealizedPnlBase?: {
4100
+ [key: string]: unknown;
4101
+ } | null;
3901
4102
  /**
3902
- * Region code for tenant context
4103
+ * Unrealized P&L % (Decimal string)
3903
4104
  */
3904
- region: 'cn' | 'us' | 'de' | 'gb';
3905
- requestBody: CreateAccountDto;
3906
- };
3907
- type AccountControllerCreateResponse = AccountResponseDto;
3908
- type AccountControllerFindAllData = {
4105
+ unrealizedPnlPct?: {
4106
+ [key: string]: unknown;
4107
+ } | null;
3909
4108
  /**
3910
- * Filter by custom (user-created) accounts only
4109
+ * Historical FX rate applied to cost basis
3911
4110
  */
3912
- isCustom?: boolean;
4111
+ costFxRate?: FxRateDto | null;
3913
4112
  /**
3914
- * Maximum number of results
4113
+ * FX rate applied to market value
3915
4114
  */
3916
- limit?: number;
4115
+ marketFxRate?: FxRateDto | null;
3917
4116
  /**
3918
- * Number of results to skip
4117
+ * Share of invested assets % (Decimal string); only for invested chartTokens
3919
4118
  */
3920
- offset?: number;
4119
+ pctOfInvestedAssets?: {
4120
+ [key: string]: unknown;
4121
+ } | null;
3921
4122
  /**
3922
- * Region code for tenant context
4123
+ * 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
3923
4124
  */
3924
- region: 'cn' | 'us' | 'de' | 'gb';
4125
+ realizedPnl?: MonetaryDto | null;
4126
+ };
4127
+ /**
4128
+ * Chart segment token (libs/common resolver)
4129
+ */
4130
+ type chartToken = 'equity' | 'fund' | 'bond' | 'cash' | 'other';
4131
+ type HoldingPnlWarningDto = {
3925
4132
  /**
3926
- * Search term for path or i18nKey
4133
+ * Warning type
3927
4134
  */
3928
- search?: string;
4135
+ type: 'MISSING_COST_FX_RATE' | 'MISSING_MARKET_FX_RATE' | 'MISSING_SALE_PRICE' | 'MISSING_REALIZED_FX_RATE' | 'OVERSOLD_LOTS' | 'NO_PRICE' | 'MIXED_COST_CURRENCY';
4136
+ symbol?: {
4137
+ [key: string]: unknown;
4138
+ } | null;
4139
+ accountId?: {
4140
+ [key: string]: unknown;
4141
+ } | null;
4142
+ currency?: {
4143
+ [key: string]: unknown;
4144
+ } | null;
4145
+ };
4146
+ /**
4147
+ * Warning type
4148
+ */
4149
+ type type4 = 'MISSING_COST_FX_RATE' | 'MISSING_MARKET_FX_RATE' | 'MISSING_SALE_PRICE' | 'MISSING_REALIZED_FX_RATE' | 'OVERSOLD_LOTS' | 'NO_PRICE' | 'MIXED_COST_CURRENCY';
4150
+ type HoldingPnlResponseDto = {
4151
+ asOfDate: string;
4152
+ baseCurrency: string;
3929
4153
  /**
3930
- * Filter by status
4154
+ * Realized-P&L lot-matching method (FIFO or average). Unrealized cost basis remains average regardless of this value (#473).
3931
4155
  */
3932
- status?: 'OPEN' | 'CLOSED' | 'SUSPENDED';
4156
+ method: 'average' | 'FIFO';
4157
+ rows: Array<HoldingPnlRowDto>;
4158
+ warnings: Array<HoldingPnlWarningDto>;
4159
+ };
4160
+ /**
4161
+ * Realized-P&L lot-matching method (FIFO or average). Unrealized cost basis remains average regardless of this value (#473).
4162
+ */
4163
+ type method = 'average' | 'FIFO';
4164
+ type CreateBeanPriceDto = {
3933
4165
  /**
3934
- * Filter by account type
4166
+ * Currency being priced (e.g., USD, AAPL, BTC)
3935
4167
  */
3936
- type?: 'Assets' | 'Liabilities' | 'Income' | 'Expenses' | 'Equity';
3937
- };
3938
- type AccountControllerFindAllResponse = AccountListResponseDto;
3939
- type AccountControllerFindOneData = {
4168
+ currency: string;
3940
4169
  /**
3941
- * Account UUID
4170
+ * Quote currency (pricing currency, e.g., CNY, EUR)
3942
4171
  */
3943
- id: string;
4172
+ quoteCurrency: string;
3944
4173
  /**
3945
- * Region code for tenant context
4174
+ * Price amount (MUST be >= 0 per Beancount spec, supports up to 15 decimal places). Zero allowed for conversion entries, negative strictly prohibited.
3946
4175
  */
3947
- region: 'cn' | 'us' | 'de' | 'gb';
3948
- };
3949
- type AccountControllerFindOneResponse = AccountResponseDto;
3950
- type AccountControllerUpdateData = {
4176
+ amount: number;
3951
4177
  /**
3952
- * Account UUID
4178
+ * Price date (ISO 8601 format)
4179
+ */
4180
+ date: string;
4181
+ /**
4182
+ * Metadata (validated by Zod schema, max field lengths enforced)
4183
+ */
4184
+ metadata?: {
4185
+ [key: string]: unknown;
4186
+ };
4187
+ };
4188
+ type PriceResponseDto = {
4189
+ /**
4190
+ * Unique identifier
4191
+ */
4192
+ id: string;
4193
+ /**
4194
+ * User ID (owner of the price)
4195
+ */
4196
+ userId: string;
4197
+ /**
4198
+ * Currency being priced (e.g., USD, AAPL, BTC)
4199
+ */
4200
+ currency: string;
4201
+ /**
4202
+ * Quote currency (pricing currency, e.g., USD, CNY)
4203
+ */
4204
+ quoteCurrency: string;
4205
+ /**
4206
+ * Price amount (corresponds to Beancount Amount.number). Supports up to 15 decimal places.
4207
+ */
4208
+ amount: number;
4209
+ /**
4210
+ * Price date (ISO 8601 format). Represents the date this price was valid.
4211
+ */
4212
+ date: string;
4213
+ /**
4214
+ * Metadata (corresponds to Beancount meta field). Contains source, confidence, note, etc.
4215
+ */
4216
+ meta: {
4217
+ [key: string]: unknown;
4218
+ };
4219
+ /**
4220
+ * Creation timestamp
4221
+ */
4222
+ createdAt: string;
4223
+ /**
4224
+ * Last update timestamp
4225
+ */
4226
+ updatedAt: string;
4227
+ };
4228
+ type PriceListResponseDto = {
4229
+ /**
4230
+ * List of prices
4231
+ */
4232
+ items: Array<PriceResponseDto>;
4233
+ /**
4234
+ * Total number of prices
4235
+ */
4236
+ total: number;
4237
+ };
4238
+ type UpdateBeanPriceDto = {
4239
+ /**
4240
+ * Currency being priced
4241
+ */
4242
+ currency?: string;
4243
+ /**
4244
+ * Quote currency (pricing currency)
4245
+ */
4246
+ quoteCurrency?: string;
4247
+ /**
4248
+ * Price amount (MUST be >= 0 per Beancount spec)
4249
+ */
4250
+ amount?: number;
4251
+ /**
4252
+ * Price date (ISO 8601 format)
4253
+ */
4254
+ date?: string;
4255
+ /**
4256
+ * Metadata
4257
+ */
4258
+ metadata?: {
4259
+ [key: string]: unknown;
4260
+ };
4261
+ };
4262
+ type CurrencyBalanceDto = {
4263
+ /**
4264
+ * ISO 4217 currency code
4265
+ */
4266
+ currency: string;
4267
+ /**
4268
+ * Balance amount
4269
+ */
4270
+ balance: string;
4271
+ };
4272
+ type TimeSeriesPointDto = {
4273
+ /**
4274
+ * Date in YYYY-MM-DD format
4275
+ */
4276
+ date: string;
4277
+ /**
4278
+ * Value at this date (in base currency)
4279
+ */
4280
+ value: string;
4281
+ /**
4282
+ * Change from previous point
4283
+ */
4284
+ change?: {
4285
+ [key: string]: unknown;
4286
+ };
4287
+ /**
4288
+ * Multi-currency breakdown for this point
4289
+ */
4290
+ byCurrency?: Array<CurrencyBalanceDto>;
4291
+ };
4292
+ type TrendSummaryDto = {
4293
+ /**
4294
+ * Value at start of period
4295
+ */
4296
+ startValue: string;
4297
+ /**
4298
+ * Value at end of period
4299
+ */
4300
+ endValue: string;
4301
+ /**
4302
+ * Total change over period
4303
+ */
4304
+ totalChange: string;
4305
+ /**
4306
+ * Total change percentage
4307
+ */
4308
+ totalChangePercentage: string;
4309
+ };
4310
+ type MultiCurrencyPointDto = {
4311
+ /**
4312
+ * Date in YYYY-MM-DD format
4313
+ */
4314
+ date: string;
4315
+ /**
4316
+ * Balances by currency
4317
+ */
4318
+ byCurrency: Array<CurrencyBalanceDto>;
4319
+ };
4320
+ type PortfolioTrendsResponseDto = {
4321
+ /**
4322
+ * Time series data points
4323
+ */
4324
+ series: Array<TimeSeriesPointDto>;
4325
+ /**
4326
+ * Period summary
4327
+ */
4328
+ summary: TrendSummaryDto;
4329
+ /**
4330
+ * Period requested
4331
+ */
4332
+ period: string;
4333
+ /**
4334
+ * Data granularity
4335
+ */
4336
+ granularity: string;
4337
+ /**
4338
+ * Base currency for converted values
4339
+ */
4340
+ currency: string;
4341
+ /**
4342
+ * Multi-currency time series (each point has currency breakdown)
4343
+ */
4344
+ byCurrency?: Array<MultiCurrencyPointDto>;
4345
+ /**
4346
+ * Exchange rate warnings
4347
+ */
4348
+ warnings?: Array<ExchangeRateWarningDto>;
4349
+ };
4350
+ type GenerateSnapshotBody = unknown;
4351
+ type GenerateSnapshotResponse = unknown;
4352
+ type BackfillSnapshotsBody = unknown;
4353
+ type BackfillSnapshotsResponse = unknown;
4354
+ type AnonymousLoginDto = {
4355
+ /**
4356
+ * Access token for anonymous login
4357
+ */
4358
+ accessToken: string;
4359
+ };
4360
+ type AccountControllerCreateData = {
4361
+ /**
4362
+ * Region code for tenant context
4363
+ */
4364
+ region: 'cn' | 'us' | 'de' | 'gb';
4365
+ requestBody: CreateAccountDto;
4366
+ };
4367
+ type AccountControllerCreateResponse = AccountResponseDto;
4368
+ type AccountControllerFindAllData = {
4369
+ /**
4370
+ * Filter by custom (user-created) accounts only
4371
+ */
4372
+ isCustom?: boolean;
4373
+ /**
4374
+ * Maximum number of results
4375
+ */
4376
+ limit?: number;
4377
+ /**
4378
+ * Number of results to skip
4379
+ */
4380
+ offset?: number;
4381
+ /**
4382
+ * Region code for tenant context
4383
+ */
4384
+ region: 'cn' | 'us' | 'de' | 'gb';
4385
+ /**
4386
+ * Search term for path or i18nKey
4387
+ */
4388
+ search?: string;
4389
+ /**
4390
+ * Filter by status
4391
+ */
4392
+ status?: 'OPEN' | 'CLOSED' | 'SUSPENDED';
4393
+ /**
4394
+ * Filter by account type
4395
+ */
4396
+ type?: 'Assets' | 'Liabilities' | 'Income' | 'Expenses' | 'Equity';
4397
+ };
4398
+ type AccountControllerFindAllResponse = AccountListResponseDto;
4399
+ type AccountControllerFindOneData = {
4400
+ /**
4401
+ * Account UUID
4402
+ */
4403
+ id: string;
4404
+ /**
4405
+ * Region code for tenant context
4406
+ */
4407
+ region: 'cn' | 'us' | 'de' | 'gb';
4408
+ };
4409
+ type AccountControllerFindOneResponse = AccountResponseDto;
4410
+ type AccountControllerUpdateData = {
4411
+ /**
4412
+ * Account UUID
3953
4413
  */
3954
4414
  id: string;
3955
4415
  /**
@@ -4081,6 +4541,37 @@ type TransactionControllerCreateBatchData = {
4081
4541
  requestBody: BatchCreateTransactionDto;
4082
4542
  };
4083
4543
  type TransactionControllerCreateBatchResponse = BatchTransactionResponseDto;
4544
+ type TransactionControllerCorrectData = {
4545
+ /**
4546
+ * Original transaction ID to correct
4547
+ */
4548
+ id: string;
4549
+ /**
4550
+ * Region code for tenant context
4551
+ */
4552
+ region: 'cn' | 'us' | 'de' | 'gb';
4553
+ requestBody: CorrectTransactionDto;
4554
+ };
4555
+ type TransactionControllerCorrectResponse = TransactionDetailDto;
4556
+ type TransactionControllerSuggestTagsData = {
4557
+ /**
4558
+ * Max suggestions (1-100, default 10)
4559
+ */
4560
+ limit?: number;
4561
+ /**
4562
+ * Prefix match, case-insensitive (max 50 chars)
4563
+ */
4564
+ q?: string;
4565
+ /**
4566
+ * Region code for tenant context
4567
+ */
4568
+ region: 'cn' | 'us' | 'de' | 'gb';
4569
+ /**
4570
+ * usage (default) or name
4571
+ */
4572
+ sort?: 'usage' | 'name';
4573
+ };
4574
+ type TransactionControllerSuggestTagsResponse = TagSuggestionsResponseDto;
4084
4575
  type TransactionControllerGetDetailData = {
4085
4576
  /**
4086
4577
  * Transaction ID
@@ -4926,9 +5417,9 @@ type ProviderSyncControllerSyncData = {
4926
5417
  */
4927
5418
  providerName: 'plaid' | 'teller' | 'truelayer' | 'gocardless' | 'simplefin' | 'yodlee' | 'beancount-direct' | 'parsed-bill';
4928
5419
  /**
4929
- * Region code
5420
+ * Region code for tenant context
4930
5421
  */
4931
- region: unknown;
5422
+ region: 'cn' | 'us' | 'de' | 'gb';
4932
5423
  requestBody: ProviderSyncDto;
4933
5424
  };
4934
5425
  type ProviderSyncControllerSyncResponse = ProviderSyncResponseDto;
@@ -4958,6 +5449,25 @@ type TelemetryControllerReportTelemetryData = {
4958
5449
  requestBody: ParserTelemetryReportDto;
4959
5450
  };
4960
5451
  type TelemetryControllerReportTelemetryResponse = unknown;
5452
+ type TelemetryControllerReportCoverageMissData = {
5453
+ /**
5454
+ * Region code for tenant context
5455
+ */
5456
+ region: 'cn' | 'us' | 'de' | 'gb';
5457
+ requestBody: UncoveredFormatMissDto;
5458
+ };
5459
+ type TelemetryControllerReportCoverageMissResponse = unknown;
5460
+ type TelemetryControllerGetCoverageMetricsData = {
5461
+ /**
5462
+ * Region code for tenant context
5463
+ */
5464
+ region: 'cn' | 'us' | 'de' | 'gb';
5465
+ /**
5466
+ * Top-N uncovered formats (default 10)
5467
+ */
5468
+ topN?: unknown;
5469
+ };
5470
+ type TelemetryControllerGetCoverageMetricsResponse = unknown;
4961
5471
  type NlpControllerProcessNaturalLanguageData = {
4962
5472
  /**
4963
5473
  * Region code for tenant context
@@ -5003,6 +5513,10 @@ type DashboardControllerGetNetWorthData = {
5003
5513
  };
5004
5514
  type DashboardControllerGetNetWorthResponse = NetWorthResponseDto;
5005
5515
  type DashboardControllerGetAccountsData = {
5516
+ /**
5517
+ * Scope to a single account (only valid with groupBy=holdingAssetClass, ADR-0105 §6)
5518
+ */
5519
+ accountId?: string;
5006
5520
  /**
5007
5521
  * Date for balance calculation (ISO 8601 format)
5008
5522
  */
@@ -5010,13 +5524,13 @@ type DashboardControllerGetAccountsData = {
5010
5524
  /**
5011
5525
  * Grouping strategy
5012
5526
  */
5013
- groupBy?: 'platform' | 'assetClass';
5527
+ groupBy?: 'platform' | 'assetClass' | 'holdingAssetClass' | 'holdingAssetClassByAccount';
5014
5528
  /**
5015
5529
  * Region code for tenant context
5016
5530
  */
5017
5531
  region: 'cn' | 'us' | 'de' | 'gb';
5018
5532
  };
5019
- type DashboardControllerGetAccountsResponse = AccountsResponseDto | AssetClassAccountsResponseDto;
5533
+ type DashboardControllerGetAccountsResponse = AccountsResponseDto | AssetClassAccountsResponseDto | HoldingAssetClassCrossAccountResponseDto;
5020
5534
  type DashboardControllerGetCashFlowData = {
5021
5535
  /**
5022
5536
  * Period in YYYY-MM format
@@ -5028,6 +5542,110 @@ type DashboardControllerGetCashFlowData = {
5028
5542
  region: 'cn' | 'us' | 'de' | 'gb';
5029
5543
  };
5030
5544
  type DashboardControllerGetCashFlowResponse = CashFlowResponseDto;
5545
+ type HoldingPnlControllerGetHoldingPnlData = {
5546
+ /**
5547
+ * Scope to a single account
5548
+ */
5549
+ accountId?: string;
5550
+ /**
5551
+ * As-of date (ISO 8601), defaults to today
5552
+ */
5553
+ asOf?: string;
5554
+ /**
5555
+ * Realized-P&L lot-matching method (default average). Does not affect the average-cost unrealized basis.
5556
+ */
5557
+ method?: 'FIFO' | 'average';
5558
+ /**
5559
+ * Region code for tenant context
5560
+ */
5561
+ region: 'cn' | 'us' | 'de' | 'gb';
5562
+ };
5563
+ type HoldingPnlControllerGetHoldingPnlResponse = HoldingPnlResponseDto;
5564
+ type PriceControllerCreateData = {
5565
+ /**
5566
+ * Region code for tenant context
5567
+ */
5568
+ region: 'cn' | 'us' | 'de' | 'gb';
5569
+ requestBody: CreateBeanPriceDto;
5570
+ };
5571
+ type PriceControllerCreateResponse = PriceResponseDto;
5572
+ type PriceControllerFindAllData = {
5573
+ /**
5574
+ * Filter by currency (e.g., BTC, AAPL, USD)
5575
+ */
5576
+ currency?: string;
5577
+ /**
5578
+ * Filter prices from this date (ISO 8601 format)
5579
+ */
5580
+ dateFrom?: string;
5581
+ /**
5582
+ * Filter prices to this date (ISO 8601 format)
5583
+ */
5584
+ dateTo?: string;
5585
+ /**
5586
+ * Number of items per page (default: 20, max: 100)
5587
+ */
5588
+ limit?: number;
5589
+ /**
5590
+ * Page number for pagination (default: 1)
5591
+ */
5592
+ page?: number;
5593
+ /**
5594
+ * Filter by quote currency (pricing currency, e.g., USD, CNY)
5595
+ */
5596
+ quoteCurrency?: string;
5597
+ /**
5598
+ * Region code for tenant context
5599
+ */
5600
+ region: 'cn' | 'us' | 'de' | 'gb';
5601
+ /**
5602
+ * Search term for currency or quoteCurrency (case-insensitive partial match)
5603
+ */
5604
+ search?: string;
5605
+ };
5606
+ type PriceControllerFindAllResponse = PriceListResponseDto;
5607
+ type PriceControllerFindOneData = {
5608
+ /**
5609
+ * Price ID
5610
+ */
5611
+ id: string;
5612
+ /**
5613
+ * Region code for tenant context
5614
+ */
5615
+ region: 'cn' | 'us' | 'de' | 'gb';
5616
+ };
5617
+ type PriceControllerFindOneResponse = PriceResponseDto;
5618
+ type PriceControllerUpdateData = {
5619
+ /**
5620
+ * Price ID
5621
+ */
5622
+ id: string;
5623
+ /**
5624
+ * Region code for tenant context
5625
+ */
5626
+ region: 'cn' | 'us' | 'de' | 'gb';
5627
+ requestBody: UpdateBeanPriceDto;
5628
+ };
5629
+ type PriceControllerUpdateResponse = PriceResponseDto;
5630
+ type PriceControllerDeleteData = {
5631
+ /**
5632
+ * Price ID
5633
+ */
5634
+ id: string;
5635
+ /**
5636
+ * Region code for tenant context
5637
+ */
5638
+ region: 'cn' | 'us' | 'de' | 'gb';
5639
+ };
5640
+ type PriceControllerDeleteResponse = void;
5641
+ type PriceControllerBulkCreateData = {
5642
+ /**
5643
+ * Region code for tenant context
5644
+ */
5645
+ region: 'cn' | 'us' | 'de' | 'gb';
5646
+ requestBody: Array<string>;
5647
+ };
5648
+ type PriceControllerBulkCreateResponse = Array<PriceResponseDto>;
5031
5649
  type ReportingControllerGetPortfolioTrendsData = {
5032
5650
  /**
5033
5651
  * Data granularity
@@ -5297,6 +5915,48 @@ type $OpenApiTs = {
5297
5915
  };
5298
5916
  };
5299
5917
  };
5918
+ '/api/v1/{region}/bean/transactions/{id}/correct': {
5919
+ post: {
5920
+ req: TransactionControllerCorrectData;
5921
+ res: {
5922
+ /**
5923
+ * Corrected transaction created
5924
+ */
5925
+ 201: TransactionDetailDto;
5926
+ /**
5927
+ * Original transaction not found
5928
+ */
5929
+ 404: ApiProblemResponseDto;
5930
+ /**
5931
+ * Original no longer ACTIVE (concurrent modification)
5932
+ */
5933
+ 409: ApiProblemResponseDto;
5934
+ /**
5935
+ * Pipeline validation failed (does not balance, invalid accounts)
5936
+ */
5937
+ 422: ApiProblemResponseDto;
5938
+ };
5939
+ };
5940
+ };
5941
+ '/api/v1/{region}/bean/transactions/tags': {
5942
+ get: {
5943
+ req: TransactionControllerSuggestTagsData;
5944
+ res: {
5945
+ /**
5946
+ * Tag suggestions
5947
+ */
5948
+ 200: TagSuggestionsResponseDto;
5949
+ /**
5950
+ * Validation failed
5951
+ */
5952
+ 400: ApiProblemResponseDto;
5953
+ /**
5954
+ * Authentication required
5955
+ */
5956
+ 401: ApiProblemResponseDto;
5957
+ };
5958
+ };
5959
+ };
5300
5960
  '/api/v1/{region}/bean/transactions/{id}': {
5301
5961
  get: {
5302
5962
  req: TransactionControllerGetDetailData;
@@ -6701,6 +7361,32 @@ type $OpenApiTs = {
6701
7361
  };
6702
7362
  };
6703
7363
  };
7364
+ '/api/v1/{region}/bean/import/parser-coverage-miss': {
7365
+ post: {
7366
+ req: TelemetryControllerReportCoverageMissData;
7367
+ res: {
7368
+ /**
7369
+ * Coverage miss report received
7370
+ */
7371
+ 200: unknown;
7372
+ /**
7373
+ * Unauthorized
7374
+ */
7375
+ 401: unknown;
7376
+ };
7377
+ };
7378
+ };
7379
+ '/api/v1/{region}/bean/import/parser-coverage-metrics': {
7380
+ get: {
7381
+ req: TelemetryControllerGetCoverageMetricsData;
7382
+ res: {
7383
+ /**
7384
+ * Coverage metrics
7385
+ */
7386
+ 200: unknown;
7387
+ };
7388
+ };
7389
+ };
6704
7390
  '/api/v1/{region}/bean/nlp/process': {
6705
7391
  post: {
6706
7392
  req: NlpControllerProcessNaturalLanguageData;
@@ -6770,7 +7456,7 @@ type $OpenApiTs = {
6770
7456
  /**
6771
7457
  * Accounts retrieved successfully. Response type depends on groupBy parameter.
6772
7458
  */
6773
- 200: AccountsResponseDto | AssetClassAccountsResponseDto;
7459
+ 200: AccountsResponseDto | AssetClassAccountsResponseDto | HoldingAssetClassCrossAccountResponseDto;
6774
7460
  /**
6775
7461
  * User not authenticated
6776
7462
  */
@@ -6797,6 +7483,109 @@ type $OpenApiTs = {
6797
7483
  };
6798
7484
  };
6799
7485
  };
7486
+ '/api/v1/{region}/investment/holdings/pnl': {
7487
+ get: {
7488
+ req: HoldingPnlControllerGetHoldingPnlData;
7489
+ res: {
7490
+ /**
7491
+ * Holding P&L retrieved successfully
7492
+ */
7493
+ 200: HoldingPnlResponseDto;
7494
+ /**
7495
+ * Invalid asOf format/value/future date, invalid accountId format, or unsupported method
7496
+ */
7497
+ 400: unknown;
7498
+ /**
7499
+ * User not authenticated
7500
+ */
7501
+ 401: unknown;
7502
+ };
7503
+ };
7504
+ };
7505
+ '/api/v1/{region}/bean/prices': {
7506
+ post: {
7507
+ req: PriceControllerCreateData;
7508
+ res: {
7509
+ /**
7510
+ * Price created successfully
7511
+ */
7512
+ 201: PriceResponseDto;
7513
+ /**
7514
+ * Currency or quoteCurrency commodity not found
7515
+ */
7516
+ 404: unknown;
7517
+ /**
7518
+ * Price already exists for this currency pair and date
7519
+ */
7520
+ 409: unknown;
7521
+ };
7522
+ };
7523
+ get: {
7524
+ req: PriceControllerFindAllData;
7525
+ res: {
7526
+ /**
7527
+ * Prices retrieved successfully
7528
+ */
7529
+ 200: PriceListResponseDto;
7530
+ };
7531
+ };
7532
+ };
7533
+ '/api/v1/{region}/bean/prices/{id}': {
7534
+ get: {
7535
+ req: PriceControllerFindOneData;
7536
+ res: {
7537
+ /**
7538
+ * Price retrieved successfully
7539
+ */
7540
+ 200: PriceResponseDto;
7541
+ /**
7542
+ * Price not found
7543
+ */
7544
+ 404: unknown;
7545
+ };
7546
+ };
7547
+ put: {
7548
+ req: PriceControllerUpdateData;
7549
+ res: {
7550
+ /**
7551
+ * Price updated successfully
7552
+ */
7553
+ 200: PriceResponseDto;
7554
+ /**
7555
+ * Price not found
7556
+ */
7557
+ 404: unknown;
7558
+ /**
7559
+ * Updated price conflicts with existing price
7560
+ */
7561
+ 409: unknown;
7562
+ };
7563
+ };
7564
+ delete: {
7565
+ req: PriceControllerDeleteData;
7566
+ res: {
7567
+ /**
7568
+ * Price deleted successfully
7569
+ */
7570
+ 204: void;
7571
+ /**
7572
+ * Price not found
7573
+ */
7574
+ 404: unknown;
7575
+ };
7576
+ };
7577
+ };
7578
+ '/api/v1/{region}/bean/prices/bulk': {
7579
+ post: {
7580
+ req: PriceControllerBulkCreateData;
7581
+ res: {
7582
+ /**
7583
+ * Prices created successfully
7584
+ */
7585
+ 201: Array<PriceResponseDto>;
7586
+ };
7587
+ };
7588
+ };
6800
7589
  '/api/v1/{region}/reporting/portfolio/trends': {
6801
7590
  get: {
6802
7591
  req: ReportingControllerGetPortfolioTrendsData;
@@ -7143,6 +7932,29 @@ declare class BeanTransactionsService {
7143
7932
  * @throws ApiError
7144
7933
  */
7145
7934
  static transactionControllerCreateBatch(data: TransactionControllerCreateBatchData): CancelablePromise<TransactionControllerCreateBatchResponse>;
7935
+ /**
7936
+ * Correct (supersede) a transaction
7937
+ * Atomically voids the original (SUPERSEDED) and creates a replacement through the full validation pipeline.
7938
+ * @param data The data for the request.
7939
+ * @param data.id Original transaction ID to correct
7940
+ * @param data.region Region code for tenant context
7941
+ * @param data.requestBody
7942
+ * @returns TransactionDetailDto Corrected transaction created
7943
+ * @throws ApiError
7944
+ */
7945
+ static transactionControllerCorrect(data: TransactionControllerCorrectData): CancelablePromise<TransactionControllerCorrectResponse>;
7946
+ /**
7947
+ * Suggest transaction tags
7948
+ * Returns distinct tags from the user ACTIVE transactions, sorted by usage, for autocomplete. Optional q performs a case-insensitive prefix match.
7949
+ * @param data The data for the request.
7950
+ * @param data.region Region code for tenant context
7951
+ * @param data.q Prefix match, case-insensitive (max 50 chars)
7952
+ * @param data.sort usage (default) or name
7953
+ * @param data.limit Max suggestions (1-100, default 10)
7954
+ * @returns TagSuggestionsResponseDto Tag suggestions
7955
+ * @throws ApiError
7956
+ */
7957
+ static transactionControllerSuggestTags(data: TransactionControllerSuggestTagsData): CancelablePromise<TransactionControllerSuggestTagsResponse>;
7146
7958
  /**
7147
7959
  * Get transaction detail
7148
7960
  * Returns transaction details including all postings
@@ -7297,7 +8109,7 @@ declare class ProviderSyncService {
7297
8109
  *
7298
8110
  * @param data The data for the request.
7299
8111
  * @param data.providerName Provider name
7300
- * @param data.region Region code
8112
+ * @param data.region Region code for tenant context
7301
8113
  * @param data.requestBody
7302
8114
  * @returns ProviderSyncResponseDto Sync completed successfully
7303
8115
  * @throws ApiError
@@ -7410,4 +8222,4 @@ type OpenAPIConfig = {
7410
8222
  };
7411
8223
  declare const OpenAPI: OpenAPIConfig;
7412
8224
 
7413
- 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 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 TelemetryControllerReportTelemetryData, type TelemetryControllerReportTelemetryResponse, type TemplateMetadataDto, type TemplateMetadataResponseDto, type TestRuleDto, type TestRuleResponseDto, type TimeSeriesPointDto, type TransactionControllerCreateBatchData, type TransactionControllerCreateBatchResponse, type TransactionControllerCreateData, type TransactionControllerCreateResponse, type TransactionControllerDeleteData, type TransactionControllerDeleteResponse, type TransactionControllerGetDetailData, type TransactionControllerGetDetailResponse, type TransactionControllerListData, type TransactionControllerListResponse, 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 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 sourceType, type status, type status2, type status3, type status4, type suggestedFrequency, type type, type type2, type type3, type viewMode };
8225
+ export { type $OpenApiTs, type AccountControllerCloseData, type AccountControllerCloseResponse, type AccountControllerCreateData, type AccountControllerCreateResponse, type AccountControllerDeleteData, type AccountControllerDeleteResponse, type AccountControllerFindAllData, type AccountControllerFindAllResponse, type AccountControllerFindOneData, type AccountControllerFindOneResponse, type AccountControllerReopenData, type AccountControllerReopenResponse, type AccountControllerUpdateData, type AccountControllerUpdateResponse, type AccountExchangeRateWarningDto, type AccountItemDto, type AccountItemWithAssetClassDto, type AccountListResponseDto, type AccountResponseDto, type AccountStandardListResponseDto, type AccountStandardResponseDto, type AccountStandardsControllerGetRegionsData, type AccountStandardsControllerGetRegionsResponse, type AccountStandardsControllerGetTemplateMetadataData, type AccountStandardsControllerGetTemplateMetadataResponse, type AccountStandardsControllerGetTemplatesData, type AccountStandardsControllerGetTemplatesResponse, type AccountsResponseDto, type AccountsSummaryDto, type AmountDto, type AmountRangeDto, type AnonymousLoginDto, type ApiKeysControllerCreateApiKeyResponse, type ApiProblemResponseDto, type AssetClassAccountsResponseDto, type AssetClassGroupDto, type AssetClassSummaryDto, type AuthControllerAccessTokenLoginData, type AuthControllerAccessTokenLoginResponse, type BackfillSnapshotsBody, type BackfillSnapshotsResponse, type BalanceByCurrencyDto, type BalanceControllerGetBalanceData, type BalanceControllerGetBalanceResponse, type BalanceControllerGetMultiCurrencyBalanceData, type BalanceControllerGetMultiCurrencyBalanceResponse, type BalanceResponseDto, type BatchCreateTransactionDto, type BatchResolveDto, type BatchResolveResultDto, type BatchTransactionErrorDto, type BatchTransactionResponseDto, BeanAccountsService, BeanBalancesService, BeanCommoditiesService, BeanTransactionsService, type BulkCreateRulesDto, type BulkCreateRulesResponseDto, type CacheControllerFlushCacheResponse, type CashFlowByCurrencyDto, type CashFlowResponseDto, type CloseAccountDto, type CommodityControllerBulkCreateData, type CommodityControllerBulkCreateResponse, type CommodityControllerCreateData, type CommodityControllerCreateResponse, type CommodityControllerDeleteData, type CommodityControllerDeleteResponse, type CommodityControllerFindAllData, type CommodityControllerFindAllResponse, type CommodityControllerFindOneData, type CommodityControllerFindOneResponse, type CommodityControllerGetOrCreateData, type CommodityControllerGetOrCreateResponse, type CommodityControllerUpdateData, type CommodityControllerUpdateResponse, type CommodityListResponseDto, type CommodityResponseDto, type ConfirmMatchDto, type ConvertedCashFlowDto, type ConvertedNetWorthDto, type CorrectTransactionDto, type CostSpecDto, type CreateAccountDto, type CreateBeanPriceDto, type CreateCommodityDto, type CreatePayeeDto, type CreatePayeeProfileDto, type CreatePlatformDto, type CreatePostingDto, type CreateRecurringRuleDto, type CreateRuleFromTransactionDto, type CreateTransactionDto, type CreateTransactionRuleDto, type CurrencyBalanceDto, type CurrentPriceDto, type DashboardControllerGetAccountsData, type DashboardControllerGetAccountsResponse, type DashboardControllerGetCashFlowData, type DashboardControllerGetCashFlowResponse, type DashboardControllerGetNetWorthData, type DashboardControllerGetNetWorthResponse, type DecisionOptionDto, type DeleteOwnUserDto, type EnterNowDto, type ExchangeRateControllerGetExchangeRateData, type ExchangeRateControllerGetExchangeRateResponse, type ExchangeRateWarningDto, type ExpectedTransactionControllerConfirmMatchData, type ExpectedTransactionControllerConfirmMatchResponse, type ExpectedTransactionControllerEnterNowData, type ExpectedTransactionControllerEnterNowResponse, type ExpectedTransactionControllerFindAllData, type ExpectedTransactionControllerFindAllResponse, type ExpectedTransactionControllerFindOneData, type ExpectedTransactionControllerFindOneResponse, type ExpectedTransactionControllerFindOverdueData, type ExpectedTransactionControllerFindOverdueResponse, type ExpectedTransactionControllerSkipData, type ExpectedTransactionControllerSkipResponse, type ExpectedTransactionControllerUndoSkipData, type ExpectedTransactionControllerUndoSkipResponse, type ExpectedTransactionControllerUnmatchData, type ExpectedTransactionControllerUnmatchResponse, type ExpectedTransactionListResponseDto, type ExpectedTransactionResponseDto, type ExpectedTransactionRuleDto, type ExportControllerExportBeancountResponse, type ExportRulesResponseDto, type FileImportControllerIdentifyFileData, type FileImportControllerIdentifyFileResponse, type FileImportControllerImportBeancountData, type FileImportControllerImportBeancountResponse, type FileImportControllerImportFileData, type FileImportControllerImportFileResponse, type FileImportDto, type ForecastControllerGetForecastData, type ForecastControllerGetForecastResponse, type ForecastItemDto, type ForecastResponseDto, type FxRateDto, type GenerateSnapshotBody, type GenerateSnapshotResponse, type HealthControllerCheckDatabaseResponse, type HealthControllerCheckOpenBbResponse, type HealthControllerCheckRedisResponse, type HealthControllerGetCircuitBreakersHealthResponse, type HealthControllerGetHealthResponse, type HealthControllerGetMetricsResponse, type HealthControllerResetCircuitBreakerData, type HealthControllerResetCircuitBreakerResponse, HealthService, type HoldingAssetClassAccountSliceDto, type HoldingAssetClassCrossAccountResponseDto, type HoldingPnlControllerGetHoldingPnlData, type HoldingPnlControllerGetHoldingPnlResponse, type HoldingPnlResponseDto, type HoldingPnlRowDto, type HoldingPnlWarningDto, type IdentifyResultDto, type ImportErrorDto, type ImportResultDto, type ImporterConfigControllerGetConfigData, type ImporterConfigControllerGetConfigResponse, type ImporterConfigControllerResetConfigData, type ImporterConfigControllerResetConfigResponse, type ImporterConfigControllerUpdateConfigData, type ImporterConfigControllerUpdateConfigResponse, type ImporterConfigDataDto, type ImporterConfigDto, type InfoControllerGetInfoResponse, type MapperDefaultsDto, type MonetaryDto, type MonthlyForecastDto, type MultiCurrencyBalanceResponseDto, type MultiCurrencyPointDto, type NetWorthByCurrencyDto, type NetWorthResponseDto, type NlpAccountConfirmationDataDto, type NlpAlternativePayeeDto, type NlpControllerClearSessionData, type NlpControllerClearSessionResponse, type NlpControllerGetSessionData, type NlpControllerGetSessionResponse, type NlpControllerProcessNaturalLanguageData, type NlpControllerProcessNaturalLanguageResponse, type NlpDefaultAccountsDto, type NlpDuplicateConfirmationDataDto, type NlpParsedDataDto, type NlpPayeeConfirmationDataDto, type NlpResponseDto, type NlpRuleConfirmationDataDto, type NlpSimilarityDto, type NlpSourceTransactionDto, type NlpSuggestedAccountDto, type NlpSuggestedAccountsDto, type NlpSuggestedPayeeDto, type NlpTargetTransactionDto, type NlpTransactionInfoDto, OpenAPI, type OpenAPIConfig, type ParserTelemetryReportDto, type PayeeAutocompleteResponseDto, type PayeeControllerAutocompleteData, type PayeeControllerAutocompleteResponse, type PayeeControllerCreateData, type PayeeControllerCreateResponse, type PayeeControllerDeleteData, type PayeeControllerDeleteResponse, type PayeeControllerFindAllData, type PayeeControllerFindAllResponse, type PayeeControllerFindOneData, type PayeeControllerFindOneResponse, type PayeeControllerGetTopPayeesData, type PayeeControllerGetTopPayeesResponse, type PayeeControllerUpdateData, type PayeeControllerUpdateResponse, type PayeeListResponseDto, type PayeeProfileAdminControllerCreateData, type PayeeProfileAdminControllerCreateResponse, type PayeeProfileAdminControllerDeleteData, type PayeeProfileAdminControllerDeleteResponse, type PayeeProfileAdminControllerFindAllData, type PayeeProfileAdminControllerFindAllResponse, type PayeeProfileAdminControllerFindOneData, type PayeeProfileAdminControllerFindOneResponse, type PayeeProfileAdminControllerUnverifyData, type PayeeProfileAdminControllerUnverifyResponse, type PayeeProfileAdminControllerUpdateData, type PayeeProfileAdminControllerUpdateResponse, type PayeeProfileAdminControllerVerifyData, type PayeeProfileAdminControllerVerifyResponse, type PayeeProfileListResponseDto, type PayeeProfileResponseDto, type PayeeResponseDto, type PayeeStatsResponseDto, type PlatformControllerCreateData, type PlatformControllerCreateResponse, type PlatformControllerDeleteData, type PlatformControllerDeleteResponse, type PlatformControllerFindAllResponse, type PlatformControllerGetPlatformListResponse, type PlatformControllerMatchPlatformsData, type PlatformControllerMatchPlatformsResponse, type PlatformControllerUpdateData, type PlatformControllerUpdateResponse, type PlatformGroupDto, type PortfolioTrendsResponseDto, type PostingDetailDto, type PostingResponseDto, type PriceControllerBulkCreateData, type PriceControllerBulkCreateResponse, type PriceControllerCreateData, type PriceControllerCreateResponse, type PriceControllerDeleteData, type PriceControllerDeleteResponse, type PriceControllerFindAllData, type PriceControllerFindAllResponse, type PriceControllerFindOneData, type PriceControllerFindOneResponse, type PriceControllerUpdateData, type PriceControllerUpdateResponse, type PriceListResponseDto, type PriceResponseDto, type ProcessNlpDto, type PropertyControllerDeleteData, type PropertyControllerDeleteResponse, type PropertyControllerGetAllResponse, type PropertyControllerGetByKeyData, type PropertyControllerGetByKeyResponse, type PropertyControllerUpdateData, type PropertyControllerUpdateResponse, type ProviderSyncConfigDto, type ProviderSyncControllerGetSupportedProvidersData, type ProviderSyncControllerGetSupportedProvidersResponse, type ProviderSyncControllerIsProviderSupportedData, type ProviderSyncControllerIsProviderSupportedResponse, type ProviderSyncControllerSyncData, type ProviderSyncControllerSyncResponse, type ProviderSyncDto, type ProviderSyncResponseDto, ProviderSyncService, type RecurringMatchInfoDto, type RecurringRuleControllerCreateData, type RecurringRuleControllerCreateFromTransactionData, type RecurringRuleControllerCreateFromTransactionResponse, type RecurringRuleControllerCreateResponse, type RecurringRuleControllerDeleteData, type RecurringRuleControllerDeleteResponse, type RecurringRuleControllerFindAllData, type RecurringRuleControllerFindAllResponse, type RecurringRuleControllerFindOneData, type RecurringRuleControllerFindOneResponse, type RecurringRuleControllerGetWithStatsData, type RecurringRuleControllerGetWithStatsResponse, type RecurringRuleControllerUpdateData, type RecurringRuleControllerUpdateResponse, type RecurringRuleResponseDto, type RecurringRuleWithStatsResponseDto, type RecurringSuggestionDto, type RegionConfigDto, type RegionInfoDto, type RegionsMetadataResponseDto, type ReopenAccountDto, type ReportingControllerBackfillSnapshotsData, type ReportingControllerBackfillSnapshotsResponse, type ReportingControllerGenerateSnapshotData, type ReportingControllerGenerateSnapshotResponse, type ReportingControllerGetPortfolioTrendsData, type ReportingControllerGetPortfolioTrendsResponse, type ResolveResultDto, type ResolveReviewDto, type ReviewControllerBatchResolveData, type ReviewControllerBatchResolveResponse, type ReviewControllerFindAllData, type ReviewControllerFindAllResponse, type ReviewControllerFindOneData, type ReviewControllerFindOneResponse, type ReviewControllerGetStatsData, type ReviewControllerGetStatsResponse, type ReviewControllerResolveData, type ReviewControllerResolveResponse, type ReviewControllerUndoData, type ReviewControllerUndoResponse, type ReviewDetailDto, type ReviewItemPreviewDto, type ReviewListResponseDto, type ReviewStatsDto, type ReviewSummaryDto, type RuleStatisticsResponseDto, type SignupDto, type SupportedProvidersResponseDto, type TagSuggestionDto, type TagSuggestionsResponseDto, type TelemetryControllerGetCoverageMetricsData, type TelemetryControllerGetCoverageMetricsResponse, type TelemetryControllerReportCoverageMissData, type TelemetryControllerReportCoverageMissResponse, type TelemetryControllerReportTelemetryData, type TelemetryControllerReportTelemetryResponse, type TemplateMetadataDto, type TemplateMetadataResponseDto, type TestRuleDto, type TestRuleResponseDto, type TimeSeriesPointDto, type TransactionControllerCorrectData, type TransactionControllerCorrectResponse, type TransactionControllerCreateBatchData, type TransactionControllerCreateBatchResponse, type TransactionControllerCreateData, type TransactionControllerCreateResponse, type TransactionControllerDeleteData, type TransactionControllerDeleteResponse, type TransactionControllerGetDetailData, type TransactionControllerGetDetailResponse, type TransactionControllerListData, type TransactionControllerListResponse, type TransactionControllerSuggestTagsData, type TransactionControllerSuggestTagsResponse, type TransactionControllerUpdateData, type TransactionControllerUpdateResponse, type TransactionDetailDto, type TransactionListResponseDto, type TransactionResponseDto, type TransactionRuleControllerBulkCreateData, type TransactionRuleControllerBulkCreateResponse, type TransactionRuleControllerCreateData, type TransactionRuleControllerCreateResponse, type TransactionRuleControllerDeleteData, type TransactionRuleControllerDeleteResponse, type TransactionRuleControllerExportData, type TransactionRuleControllerExportResponse, type TransactionRuleControllerGetDetailData, type TransactionRuleControllerGetDetailResponse, type TransactionRuleControllerGetStatisticsData, type TransactionRuleControllerGetStatisticsResponse, type TransactionRuleControllerListData, type TransactionRuleControllerListResponse, type TransactionRuleControllerTestData, type TransactionRuleControllerTestResponse, type TransactionRuleControllerUpdateData, type TransactionRuleControllerUpdateResponse, type TransactionRuleControllerValidateData, type TransactionRuleControllerValidateResponse, type TransactionRuleListResponseDto, type TransactionRuleResponseDto, type TransactionSummaryDto, type TrendSummaryDto, type UncoveredFormatMissDto, type UndoResultDto, type UpdateAccountDto, type UpdateBeanPriceDto, type UpdateCommodityDto, type UpdateConfigDataDto, type UpdateImporterConfigDto, type UpdateMapperDefaultsDto, type UpdatePayeeDto, type UpdatePayeeProfileDto, type UpdatePlatformDto, type UpdatePropertyDto, type UpdateRecurringRuleDto, type UpdateTransactionDto, type UpdateTransactionRuleDto, type UpdateUserSettingDto, type UserControllerDeleteOwnUserData, type UserControllerDeleteOwnUserResponse, type UserControllerDeleteUserData, type UserControllerDeleteUserResponse, type UserControllerGetAllUserSettingsByPageData, type UserControllerGetAllUserSettingsByPageResponse, type UserControllerGetAssetLiabilitySummaryResponse, type UserControllerGetUserData, type UserControllerGetUserInfoData, type UserControllerGetUserInfoResponse, type UserControllerGetUserResponse, type UserControllerSignupUserData, type UserControllerSignupUserResponse, type UserControllerUpdateUserSettingData, type UserControllerUpdateUserSettingResponse, type ValidateRuleDto, type ValidateRuleResponseDto, type VersionedConfigDto, type action, type action2, type assetClass, type assetSubType, type bookingMethod, type branchType, type category, type chartToken, type colorScheme, type confidenceLevel, type conflictStrategy, type dataSource, type equitySubType, type flag, type flag2, type frequency, type importerId, type intent, type investmentAction, type learningSource, type liabilitySubType, type matchLogic, type method, type mode, type paymentSource, type period, type source, type source2, type source3, type status, type status2, type status3, type status4, type suggestedFrequency, type type, type type2, type type3, type type4, type value, type viewMode };