@firela/api-types 0.0.0-canary.32edff08 → 0.0.0-canary.52154bb3

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
  /**
@@ -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,9 +623,9 @@ 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
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
  */
@@ -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
@@ -2936,6 +3044,7 @@ type SupportedProvidersResponseDto = {
2936
3044
  providers: Array<string>;
2937
3045
  };
2938
3046
  type ParserTelemetryReportDto = unknown;
3047
+ type UncoveredFormatMissDto = unknown;
2939
3048
  type ProcessNlpDto = {
2940
3049
  /**
2941
3050
  * Natural language text describing a transaction (Chinese)
@@ -3670,7 +3779,15 @@ type AccountItemWithAssetClassDto = {
3670
3779
  * Risk level
3671
3780
  */
3672
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';
3673
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';
3674
3791
  type AssetClassGroupDto = {
3675
3792
  /**
3676
3793
  * Asset class name
@@ -3732,6 +3849,12 @@ type AssetClassSummaryDto = {
3732
3849
  * Exchange rate warnings
3733
3850
  */
3734
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
+ };
3735
3858
  };
3736
3859
  type AssetClassAccountsResponseDto = {
3737
3860
  /**
@@ -3742,6 +3865,54 @@ type AssetClassAccountsResponseDto = {
3742
3865
  * Summary statistics
3743
3866
  */
3744
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>;
3745
3916
  };
3746
3917
  type CashFlowByCurrencyDto = {
3747
3918
  /**
@@ -3819,6 +3990,275 @@ type CashFlowResponseDto = {
3819
3990
  */
3820
3991
  warnings?: Array<ExchangeRateWarningDto>;
3821
3992
  };
3993
+ type MonetaryDto = {
3994
+ /**
3995
+ * Amount (Decimal string)
3996
+ */
3997
+ amount: string;
3998
+ /**
3999
+ * ISO 4217 currency
4000
+ */
4001
+ currency: string;
4002
+ /**
4003
+ * Converted to user base currency (Decimal string)
4004
+ */
4005
+ baseCcyEquivalent?: {
4006
+ [key: string]: unknown;
4007
+ } | null;
4008
+ };
4009
+ type CurrentPriceDto = {
4010
+ /**
4011
+ * Price amount (Decimal string)
4012
+ */
4013
+ amount: string;
4014
+ /**
4015
+ * Price currency (ISO 4217)
4016
+ */
4017
+ currency: string;
4018
+ /**
4019
+ * Price date (ISO 8601)
4020
+ */
4021
+ date: string;
4022
+ /**
4023
+ * Price source
4024
+ */
4025
+ source: 'USER_OVERRIDE' | 'OPENBB_EQUITY' | 'OPENBB_CURRENCY';
4026
+ };
4027
+ /**
4028
+ * Price source
4029
+ */
4030
+ type source3 = 'USER_OVERRIDE' | 'OPENBB_EQUITY' | 'OPENBB_CURRENCY';
4031
+ type FxRateDto = {
4032
+ from: string;
4033
+ to: string;
4034
+ /**
4035
+ * FX rate (Decimal string)
4036
+ */
4037
+ rate: string;
4038
+ /**
4039
+ * Rate date (ISO 8601)
4040
+ */
4041
+ date: string;
4042
+ };
4043
+ type HoldingPnlRowDto = {
4044
+ /**
4045
+ * Account UUID
4046
+ */
4047
+ accountId: string;
4048
+ /**
4049
+ * Full account path
4050
+ */
4051
+ accountPath: string;
4052
+ /**
4053
+ * Account settlement currency (ISO 4217), from cost currency
4054
+ */
4055
+ accountCcy?: {
4056
+ [key: string]: unknown;
4057
+ } | null;
4058
+ /**
4059
+ * Broker type derived from Platform.type
4060
+ */
4061
+ brokerType?: {
4062
+ [key: string]: unknown;
4063
+ } | null;
4064
+ /**
4065
+ * Commodity symbol
4066
+ */
4067
+ symbol: string;
4068
+ /**
4069
+ * Chart segment token (libs/common resolver)
4070
+ */
4071
+ chartToken: 'equity' | 'fund' | 'bond' | 'cash' | 'other';
4072
+ assetClass: string;
4073
+ assetSubClass?: {
4074
+ [key: string]: unknown;
4075
+ } | null;
4076
+ /**
4077
+ * Net held units (Decimal string)
4078
+ */
4079
+ units: string;
4080
+ /**
4081
+ * Average cost per unit; null when cost currency conflicts or no cost
4082
+ */
4083
+ averageCostPerUnit?: MonetaryDto | null;
4084
+ /**
4085
+ * Cost basis of held units
4086
+ */
4087
+ costBasis?: MonetaryDto | null;
4088
+ /**
4089
+ * Market value at asOf price
4090
+ */
4091
+ marketValue?: MonetaryDto | null;
4092
+ /**
4093
+ * Price used for market value
4094
+ */
4095
+ currentPrice?: CurrentPriceDto | null;
4096
+ /**
4097
+ * Unrealized P&L in base currency (Decimal string); null when any FX/price missing
4098
+ */
4099
+ unrealizedPnlBase?: {
4100
+ [key: string]: unknown;
4101
+ } | null;
4102
+ /**
4103
+ * Unrealized P&L % (Decimal string)
4104
+ */
4105
+ unrealizedPnlPct?: {
4106
+ [key: string]: unknown;
4107
+ } | null;
4108
+ /**
4109
+ * Historical FX rate applied to cost basis
4110
+ */
4111
+ costFxRate?: FxRateDto | null;
4112
+ /**
4113
+ * FX rate applied to market value
4114
+ */
4115
+ marketFxRate?: FxRateDto | null;
4116
+ /**
4117
+ * Share of invested assets % (Decimal string); only for invested chartTokens
4118
+ */
4119
+ pctOfInvestedAssets?: {
4120
+ [key: string]: unknown;
4121
+ } | null;
4122
+ /**
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
4124
+ */
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 = {
4132
+ /**
4133
+ * Warning type
4134
+ */
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;
4153
+ /**
4154
+ * Realized-P&L lot-matching method (FIFO or average). Unrealized cost basis remains average regardless of this value (#473).
4155
+ */
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 = {
4165
+ /**
4166
+ * Currency being priced (e.g., USD, AAPL, BTC)
4167
+ */
4168
+ currency: string;
4169
+ /**
4170
+ * Quote currency (pricing currency, e.g., CNY, EUR)
4171
+ */
4172
+ quoteCurrency: string;
4173
+ /**
4174
+ * Price amount (MUST be >= 0 per Beancount spec, supports up to 15 decimal places). Zero allowed for conversion entries, negative strictly prohibited.
4175
+ */
4176
+ amount: number;
4177
+ /**
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
+ };
3822
4262
  type CurrencyBalanceDto = {
3823
4263
  /**
3824
4264
  * ISO 4217 currency code
@@ -4101,6 +4541,18 @@ type TransactionControllerCreateBatchData = {
4101
4541
  requestBody: BatchCreateTransactionDto;
4102
4542
  };
4103
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;
4104
4556
  type TransactionControllerSuggestTagsData = {
4105
4557
  /**
4106
4558
  * Max suggestions (1-100, default 10)
@@ -4965,9 +5417,9 @@ type ProviderSyncControllerSyncData = {
4965
5417
  */
4966
5418
  providerName: 'plaid' | 'teller' | 'truelayer' | 'gocardless' | 'simplefin' | 'yodlee' | 'beancount-direct' | 'parsed-bill';
4967
5419
  /**
4968
- * Region code
5420
+ * Region code for tenant context
4969
5421
  */
4970
- region: unknown;
5422
+ region: 'cn' | 'us' | 'de' | 'gb';
4971
5423
  requestBody: ProviderSyncDto;
4972
5424
  };
4973
5425
  type ProviderSyncControllerSyncResponse = ProviderSyncResponseDto;
@@ -4997,6 +5449,25 @@ type TelemetryControllerReportTelemetryData = {
4997
5449
  requestBody: ParserTelemetryReportDto;
4998
5450
  };
4999
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;
5000
5471
  type NlpControllerProcessNaturalLanguageData = {
5001
5472
  /**
5002
5473
  * Region code for tenant context
@@ -5042,6 +5513,10 @@ type DashboardControllerGetNetWorthData = {
5042
5513
  };
5043
5514
  type DashboardControllerGetNetWorthResponse = NetWorthResponseDto;
5044
5515
  type DashboardControllerGetAccountsData = {
5516
+ /**
5517
+ * Scope to a single account (only valid with groupBy=holdingAssetClass, ADR-0105 §6)
5518
+ */
5519
+ accountId?: string;
5045
5520
  /**
5046
5521
  * Date for balance calculation (ISO 8601 format)
5047
5522
  */
@@ -5049,13 +5524,13 @@ type DashboardControllerGetAccountsData = {
5049
5524
  /**
5050
5525
  * Grouping strategy
5051
5526
  */
5052
- groupBy?: 'platform' | 'assetClass';
5527
+ groupBy?: 'platform' | 'assetClass' | 'holdingAssetClass' | 'holdingAssetClassByAccount';
5053
5528
  /**
5054
5529
  * Region code for tenant context
5055
5530
  */
5056
5531
  region: 'cn' | 'us' | 'de' | 'gb';
5057
5532
  };
5058
- type DashboardControllerGetAccountsResponse = AccountsResponseDto | AssetClassAccountsResponseDto;
5533
+ type DashboardControllerGetAccountsResponse = AccountsResponseDto | AssetClassAccountsResponseDto | HoldingAssetClassCrossAccountResponseDto;
5059
5534
  type DashboardControllerGetCashFlowData = {
5060
5535
  /**
5061
5536
  * Period in YYYY-MM format
@@ -5067,6 +5542,110 @@ type DashboardControllerGetCashFlowData = {
5067
5542
  region: 'cn' | 'us' | 'de' | 'gb';
5068
5543
  };
5069
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>;
5070
5649
  type ReportingControllerGetPortfolioTrendsData = {
5071
5650
  /**
5072
5651
  * Data granularity
@@ -5336,6 +5915,29 @@ type $OpenApiTs = {
5336
5915
  };
5337
5916
  };
5338
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
+ };
5339
5941
  '/api/v1/{region}/bean/transactions/tags': {
5340
5942
  get: {
5341
5943
  req: TransactionControllerSuggestTagsData;
@@ -6759,6 +7361,32 @@ type $OpenApiTs = {
6759
7361
  };
6760
7362
  };
6761
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
+ };
6762
7390
  '/api/v1/{region}/bean/nlp/process': {
6763
7391
  post: {
6764
7392
  req: NlpControllerProcessNaturalLanguageData;
@@ -6828,7 +7456,7 @@ type $OpenApiTs = {
6828
7456
  /**
6829
7457
  * Accounts retrieved successfully. Response type depends on groupBy parameter.
6830
7458
  */
6831
- 200: AccountsResponseDto | AssetClassAccountsResponseDto;
7459
+ 200: AccountsResponseDto | AssetClassAccountsResponseDto | HoldingAssetClassCrossAccountResponseDto;
6832
7460
  /**
6833
7461
  * User not authenticated
6834
7462
  */
@@ -6855,6 +7483,109 @@ type $OpenApiTs = {
6855
7483
  };
6856
7484
  };
6857
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
+ };
6858
7589
  '/api/v1/{region}/reporting/portfolio/trends': {
6859
7590
  get: {
6860
7591
  req: ReportingControllerGetPortfolioTrendsData;
@@ -7201,6 +7932,17 @@ declare class BeanTransactionsService {
7201
7932
  * @throws ApiError
7202
7933
  */
7203
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>;
7204
7946
  /**
7205
7947
  * Suggest transaction tags
7206
7948
  * Returns distinct tags from the user ACTIVE transactions, sorted by usage, for autocomplete. Optional q performs a case-insensitive prefix match.
@@ -7367,7 +8109,7 @@ declare class ProviderSyncService {
7367
8109
  *
7368
8110
  * @param data The data for the request.
7369
8111
  * @param data.providerName Provider name
7370
- * @param data.region Region code
8112
+ * @param data.region Region code for tenant context
7371
8113
  * @param data.requestBody
7372
8114
  * @returns ProviderSyncResponseDto Sync completed successfully
7373
8115
  * @throws ApiError
@@ -7480,4 +8222,4 @@ type OpenAPIConfig = {
7480
8222
  };
7481
8223
  declare const OpenAPI: OpenAPIConfig;
7482
8224
 
7483
- 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 TagSuggestionDto, type TagSuggestionsResponseDto, 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 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 };
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 };