@firela/api-types 0.0.0-canary.32edff08 → 0.0.0-canary.3ed455fd

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -293,6 +293,50 @@ type RegionInfoDto = {
293
293
  type RegionsMetadataResponseDto = {
294
294
  regions: Array<RegionInfoDto>;
295
295
  };
296
+ type CostSpecDto = {
297
+ /**
298
+ * Cost specification mode (mirrors engine CostSpec)
299
+ */
300
+ mode: 'per-unit' | 'total' | 'date' | 'label' | 'auto';
301
+ /**
302
+ * Per-unit cost (required when mode is "per-unit")
303
+ */
304
+ numberPerUnit?: string;
305
+ /**
306
+ * Total cost for all units (required when mode is "total")
307
+ */
308
+ totalNumber?: string;
309
+ /**
310
+ * Cost currency (required in all modes)
311
+ */
312
+ currency: string;
313
+ /**
314
+ * Lot acquisition date, ISO 8601 (required when mode is "date")
315
+ */
316
+ date?: string;
317
+ /**
318
+ * Lot label (required when mode is "label"; optional tag in buy modes)
319
+ */
320
+ label?: string;
321
+ /**
322
+ * Merge lots for AVERAGE booking (mode: auto)
323
+ */
324
+ merge?: boolean;
325
+ };
326
+ /**
327
+ * Cost specification mode (mirrors engine CostSpec)
328
+ */
329
+ type mode = 'per-unit' | 'total' | 'date' | 'label' | 'auto';
330
+ type AmountDto = {
331
+ /**
332
+ * Amount as decimal string (max 15 integer + 15 decimal digits)
333
+ */
334
+ number: string;
335
+ /**
336
+ * Currency/commodity code
337
+ */
338
+ currency: string;
339
+ };
296
340
  type CreatePostingDto = {
297
341
  /**
298
342
  * Account name in Beancount format (must start with uppercase, colon-separated)
@@ -312,6 +356,14 @@ type CreatePostingDto = {
312
356
  meta?: {
313
357
  [key: string]: unknown;
314
358
  };
359
+ /**
360
+ * Cost basis (Beancount `{...}`). Maps to engine costSpec. Required for commodity holdings so they carry a monetary weight that can balance.
361
+ */
362
+ cost?: CostSpecDto;
363
+ /**
364
+ * Price annotation (Beancount `@...`). Maps to engine price. Used for valuation; cost takes priority for balance weight.
365
+ */
366
+ price?: AmountDto;
315
367
  };
316
368
  type CreateTransactionDto = {
317
369
  /**
@@ -361,6 +413,24 @@ type CreateTransactionDto = {
361
413
  * Transaction flag: * (cleared), ! (pending)
362
414
  */
363
415
  type flag = '*' | '!';
416
+ type CostDetailDto = {
417
+ /**
418
+ * Per-unit cost basis (mirrors engine Cost.number)
419
+ */
420
+ number?: string;
421
+ /**
422
+ * Cost currency
423
+ */
424
+ currency?: string;
425
+ /**
426
+ * Lot acquisition date (ISO yyyy-mm-dd)
427
+ */
428
+ date?: string;
429
+ /**
430
+ * Lot label
431
+ */
432
+ label?: string;
433
+ };
364
434
  type PostingResponseDto = {
365
435
  /**
366
436
  * Account name
@@ -374,6 +444,10 @@ type PostingResponseDto = {
374
444
  * Currency
375
445
  */
376
446
  currency?: string;
447
+ /**
448
+ * Booking-resolved cost (mirrors engine Cost). Undefined when the posting has no cost basis.
449
+ */
450
+ cost?: CostDetailDto;
377
451
  };
378
452
  type RecurringSuggestionDto = {
379
453
  /**
@@ -513,6 +587,54 @@ type BatchTransactionResponseDto = {
513
587
  */
514
588
  failed: Array<BatchTransactionErrorDto>;
515
589
  };
590
+ type CorrectTransactionDto = {
591
+ /**
592
+ * Transaction date (ISO 8601 format)
593
+ */
594
+ date: string;
595
+ /**
596
+ * Transaction flag: * (cleared), ! (pending)
597
+ */
598
+ flag?: '*' | '!';
599
+ /**
600
+ * Payee name
601
+ */
602
+ payee?: string;
603
+ /**
604
+ * Transaction narration/description
605
+ */
606
+ narration: string;
607
+ /**
608
+ * Transaction tags (without # prefix)
609
+ */
610
+ tags?: Array<string>;
611
+ /**
612
+ * Transaction links (without ^ prefix)
613
+ */
614
+ links?: Array<string>;
615
+ /**
616
+ * Transaction postings (minimum 1, typically 2 for double-entry)
617
+ */
618
+ postings: Array<CreatePostingDto>;
619
+ /**
620
+ * Transaction-level metadata
621
+ */
622
+ meta?: {
623
+ [key: string]: unknown;
624
+ };
625
+ /**
626
+ * Unique key for idempotent transaction creation. If provided, duplicate requests with the same key will return the existing transaction.
627
+ */
628
+ idempotencyKey?: string;
629
+ /**
630
+ * 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.
631
+ */
632
+ autoCreateAccounts?: boolean;
633
+ /**
634
+ * Reason for correcting/superseding the original transaction
635
+ */
636
+ correctionReason?: string;
637
+ };
516
638
  type PostingDetailDto = {
517
639
  /**
518
640
  * Posting ID
@@ -523,9 +645,9 @@ type PostingDetailDto = {
523
645
  */
524
646
  accountId: string;
525
647
  /**
526
- * Account name
648
+ * Fully-qualified Beancount account path
527
649
  */
528
- accountName: string;
650
+ account: string;
529
651
  /**
530
652
  * Amount as decimal string. Typed optional but always present in responses: interpolation fills any MISSING posting before it is persisted or returned.
531
653
  */
@@ -546,6 +668,10 @@ type PostingDetailDto = {
546
668
  * Cost date
547
669
  */
548
670
  costDate?: string;
671
+ /**
672
+ * Booking-resolved cost (mirrors engine Cost). Undefined when the posting has no cost basis.
673
+ */
674
+ cost?: CostDetailDto;
549
675
  /**
550
676
  * Price amount
551
677
  */
@@ -636,6 +762,14 @@ type TransactionDetailDto = {
636
762
  * Correction reason (if voided or superseded)
637
763
  */
638
764
  correctionReason?: string;
765
+ /**
766
+ * ID of the transaction that supersedes this one (set when status=SUPERSEDED)
767
+ */
768
+ supersededBy?: string;
769
+ /**
770
+ * ID of the transaction this one corrected/replaced (back-link on the replacement)
771
+ */
772
+ originalTxn?: string;
639
773
  };
640
774
  /**
641
775
  * Transaction flag
@@ -2936,6 +3070,7 @@ type SupportedProvidersResponseDto = {
2936
3070
  providers: Array<string>;
2937
3071
  };
2938
3072
  type ParserTelemetryReportDto = unknown;
3073
+ type UncoveredFormatMissDto = unknown;
2939
3074
  type ProcessNlpDto = {
2940
3075
  /**
2941
3076
  * Natural language text describing a transaction (Chinese)
@@ -3670,7 +3805,15 @@ type AccountItemWithAssetClassDto = {
3670
3805
  * Risk level
3671
3806
  */
3672
3807
  riskLevel?: string;
3808
+ /**
3809
+ * ADR-0105 classification provenance (holding level always; account level only on FALLBACK)
3810
+ */
3811
+ source?: 'USER_META' | 'FIAT_CURRENCY' | 'OPENBB_MAPPING' | 'FALLBACK';
3673
3812
  };
3813
+ /**
3814
+ * ADR-0105 classification provenance (holding level always; account level only on FALLBACK)
3815
+ */
3816
+ type source2 = 'USER_META' | 'FIAT_CURRENCY' | 'OPENBB_MAPPING' | 'FALLBACK';
3674
3817
  type AssetClassGroupDto = {
3675
3818
  /**
3676
3819
  * Asset class name
@@ -3732,6 +3875,12 @@ type AssetClassSummaryDto = {
3732
3875
  * Exchange rate warnings
3733
3876
  */
3734
3877
  warnings?: Array<AccountExchangeRateWarningDto>;
3878
+ /**
3879
+ * 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.
3880
+ */
3881
+ fallback?: {
3882
+ [key: string]: unknown;
3883
+ };
3735
3884
  };
3736
3885
  type AssetClassAccountsResponseDto = {
3737
3886
  /**
@@ -3742,6 +3891,54 @@ type AssetClassAccountsResponseDto = {
3742
3891
  * Summary statistics
3743
3892
  */
3744
3893
  summary: AssetClassSummaryDto;
3894
+ /**
3895
+ * ADR-0105 §6 holding-level grey-area bucket (source=FALLBACK holdings peeled out of groups). Present only for groupBy=holdingAssetClass when FALLBACK holdings exist.
3896
+ */
3897
+ uncategorized?: AssetClassGroupDto;
3898
+ };
3899
+ type HoldingAssetClassAccountSliceDto = {
3900
+ /**
3901
+ * Account ID
3902
+ */
3903
+ accountId: string;
3904
+ /**
3905
+ * Full account path
3906
+ */
3907
+ accountPath: string;
3908
+ /**
3909
+ * Currency of the holding with the largest converted base value; undefined when no holding is convertible
3910
+ */
3911
+ accountCurrency?: string;
3912
+ /**
3913
+ * Account's market value in base currency (Σ converted holdings; grey bucket included)
3914
+ */
3915
+ marketValueBase: string;
3916
+ /**
3917
+ * Share of the global total (0-100). 0 when globalTotal is zero (no NaN/Infinity).
3918
+ */
3919
+ shareOfTotalPct: number;
3920
+ /**
3921
+ * Per-account asset-class breakdown
3922
+ */
3923
+ groups: Array<AssetClassGroupDto>;
3924
+ /**
3925
+ * Per-account grey bucket (source=FALLBACK holdings, incl. broker cash)
3926
+ */
3927
+ uncategorized?: AssetClassGroupDto;
3928
+ /**
3929
+ * Every holding row for this account (account ID in each row’s `id` field)
3930
+ */
3931
+ holdings: Array<AccountItemWithAssetClassDto>;
3932
+ };
3933
+ type HoldingAssetClassCrossAccountResponseDto = {
3934
+ /**
3935
+ * Merged cross-account holding aggregation
3936
+ */
3937
+ global: AssetClassAccountsResponseDto;
3938
+ /**
3939
+ * Per-account slices
3940
+ */
3941
+ byAccount: Array<HoldingAssetClassAccountSliceDto>;
3745
3942
  };
3746
3943
  type CashFlowByCurrencyDto = {
3747
3944
  /**
@@ -3819,6 +4016,275 @@ type CashFlowResponseDto = {
3819
4016
  */
3820
4017
  warnings?: Array<ExchangeRateWarningDto>;
3821
4018
  };
4019
+ type MonetaryDto = {
4020
+ /**
4021
+ * Amount (Decimal string)
4022
+ */
4023
+ amount: string;
4024
+ /**
4025
+ * ISO 4217 currency
4026
+ */
4027
+ currency: string;
4028
+ /**
4029
+ * Converted to user base currency (Decimal string)
4030
+ */
4031
+ baseCcyEquivalent?: {
4032
+ [key: string]: unknown;
4033
+ } | null;
4034
+ };
4035
+ type CurrentPriceDto = {
4036
+ /**
4037
+ * Price amount (Decimal string)
4038
+ */
4039
+ amount: string;
4040
+ /**
4041
+ * Price currency (ISO 4217)
4042
+ */
4043
+ currency: string;
4044
+ /**
4045
+ * Price date (ISO 8601)
4046
+ */
4047
+ date: string;
4048
+ /**
4049
+ * Price source
4050
+ */
4051
+ source: 'USER_OVERRIDE' | 'OPENBB_EQUITY' | 'OPENBB_CURRENCY';
4052
+ };
4053
+ /**
4054
+ * Price source
4055
+ */
4056
+ type source3 = 'USER_OVERRIDE' | 'OPENBB_EQUITY' | 'OPENBB_CURRENCY';
4057
+ type FxRateDto = {
4058
+ from: string;
4059
+ to: string;
4060
+ /**
4061
+ * FX rate (Decimal string)
4062
+ */
4063
+ rate: string;
4064
+ /**
4065
+ * Rate date (ISO 8601)
4066
+ */
4067
+ date: string;
4068
+ };
4069
+ type HoldingPnlRowDto = {
4070
+ /**
4071
+ * Account UUID
4072
+ */
4073
+ accountId: string;
4074
+ /**
4075
+ * Full account path
4076
+ */
4077
+ accountPath: string;
4078
+ /**
4079
+ * Account settlement currency (ISO 4217), from cost currency
4080
+ */
4081
+ accountCcy?: {
4082
+ [key: string]: unknown;
4083
+ } | null;
4084
+ /**
4085
+ * Broker type derived from Platform.type
4086
+ */
4087
+ brokerType?: {
4088
+ [key: string]: unknown;
4089
+ } | null;
4090
+ /**
4091
+ * Commodity symbol
4092
+ */
4093
+ symbol: string;
4094
+ /**
4095
+ * Chart segment token (libs/common resolver)
4096
+ */
4097
+ chartToken: 'equity' | 'fund' | 'bond' | 'cash' | 'other';
4098
+ assetClass: string;
4099
+ assetSubClass?: {
4100
+ [key: string]: unknown;
4101
+ } | null;
4102
+ /**
4103
+ * Net held units (Decimal string)
4104
+ */
4105
+ units: string;
4106
+ /**
4107
+ * Average cost per unit; null when cost currency conflicts or no cost
4108
+ */
4109
+ averageCostPerUnit?: MonetaryDto | null;
4110
+ /**
4111
+ * Cost basis of held units
4112
+ */
4113
+ costBasis?: MonetaryDto | null;
4114
+ /**
4115
+ * Market value at asOf price
4116
+ */
4117
+ marketValue?: MonetaryDto | null;
4118
+ /**
4119
+ * Price used for market value
4120
+ */
4121
+ currentPrice?: CurrentPriceDto | null;
4122
+ /**
4123
+ * Unrealized P&L in base currency (Decimal string); null when any FX/price missing
4124
+ */
4125
+ unrealizedPnlBase?: {
4126
+ [key: string]: unknown;
4127
+ } | null;
4128
+ /**
4129
+ * Unrealized P&L % (Decimal string)
4130
+ */
4131
+ unrealizedPnlPct?: {
4132
+ [key: string]: unknown;
4133
+ } | null;
4134
+ /**
4135
+ * Historical FX rate applied to cost basis
4136
+ */
4137
+ costFxRate?: FxRateDto | null;
4138
+ /**
4139
+ * FX rate applied to market value
4140
+ */
4141
+ marketFxRate?: FxRateDto | null;
4142
+ /**
4143
+ * Share of invested assets % (Decimal string); only for invested chartTokens
4144
+ */
4145
+ pctOfInvestedAssets?: {
4146
+ [key: string]: unknown;
4147
+ } | null;
4148
+ /**
4149
+ * 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
4150
+ */
4151
+ realizedPnl?: MonetaryDto | null;
4152
+ };
4153
+ /**
4154
+ * Chart segment token (libs/common resolver)
4155
+ */
4156
+ type chartToken = 'equity' | 'fund' | 'bond' | 'cash' | 'other';
4157
+ type HoldingPnlWarningDto = {
4158
+ /**
4159
+ * Warning type
4160
+ */
4161
+ type: 'MISSING_COST_FX_RATE' | 'MISSING_MARKET_FX_RATE' | 'MISSING_SALE_PRICE' | 'MISSING_REALIZED_FX_RATE' | 'OVERSOLD_LOTS' | 'NO_PRICE' | 'MIXED_COST_CURRENCY';
4162
+ symbol?: {
4163
+ [key: string]: unknown;
4164
+ } | null;
4165
+ accountId?: {
4166
+ [key: string]: unknown;
4167
+ } | null;
4168
+ currency?: {
4169
+ [key: string]: unknown;
4170
+ } | null;
4171
+ };
4172
+ /**
4173
+ * Warning type
4174
+ */
4175
+ type type4 = 'MISSING_COST_FX_RATE' | 'MISSING_MARKET_FX_RATE' | 'MISSING_SALE_PRICE' | 'MISSING_REALIZED_FX_RATE' | 'OVERSOLD_LOTS' | 'NO_PRICE' | 'MIXED_COST_CURRENCY';
4176
+ type HoldingPnlResponseDto = {
4177
+ asOfDate: string;
4178
+ baseCurrency: string;
4179
+ /**
4180
+ * Realized-P&L lot-matching method (FIFO or average). Unrealized cost basis remains average regardless of this value (#473).
4181
+ */
4182
+ method: 'average' | 'FIFO';
4183
+ rows: Array<HoldingPnlRowDto>;
4184
+ warnings: Array<HoldingPnlWarningDto>;
4185
+ };
4186
+ /**
4187
+ * Realized-P&L lot-matching method (FIFO or average). Unrealized cost basis remains average regardless of this value (#473).
4188
+ */
4189
+ type method = 'average' | 'FIFO';
4190
+ type CreateBeanPriceDto = {
4191
+ /**
4192
+ * Currency being priced (e.g., USD, AAPL, BTC)
4193
+ */
4194
+ currency: string;
4195
+ /**
4196
+ * Quote currency (pricing currency, e.g., CNY, EUR)
4197
+ */
4198
+ quoteCurrency: string;
4199
+ /**
4200
+ * Price amount (MUST be >= 0 per Beancount spec, supports up to 15 decimal places). Zero allowed for conversion entries, negative strictly prohibited.
4201
+ */
4202
+ amount: number;
4203
+ /**
4204
+ * Price date (ISO 8601 format)
4205
+ */
4206
+ date: string;
4207
+ /**
4208
+ * Metadata (validated by Zod schema, max field lengths enforced)
4209
+ */
4210
+ metadata?: {
4211
+ [key: string]: unknown;
4212
+ };
4213
+ };
4214
+ type PriceResponseDto = {
4215
+ /**
4216
+ * Unique identifier
4217
+ */
4218
+ id: string;
4219
+ /**
4220
+ * User ID (owner of the price)
4221
+ */
4222
+ userId: string;
4223
+ /**
4224
+ * Currency being priced (e.g., USD, AAPL, BTC)
4225
+ */
4226
+ currency: string;
4227
+ /**
4228
+ * Quote currency (pricing currency, e.g., USD, CNY)
4229
+ */
4230
+ quoteCurrency: string;
4231
+ /**
4232
+ * Price amount (corresponds to Beancount Amount.number). Supports up to 15 decimal places.
4233
+ */
4234
+ amount: number;
4235
+ /**
4236
+ * Price date (ISO 8601 format). Represents the date this price was valid.
4237
+ */
4238
+ date: string;
4239
+ /**
4240
+ * Metadata (corresponds to Beancount meta field). Contains source, confidence, note, etc.
4241
+ */
4242
+ meta: {
4243
+ [key: string]: unknown;
4244
+ };
4245
+ /**
4246
+ * Creation timestamp
4247
+ */
4248
+ createdAt: string;
4249
+ /**
4250
+ * Last update timestamp
4251
+ */
4252
+ updatedAt: string;
4253
+ };
4254
+ type PriceListResponseDto = {
4255
+ /**
4256
+ * List of prices
4257
+ */
4258
+ items: Array<PriceResponseDto>;
4259
+ /**
4260
+ * Total number of prices
4261
+ */
4262
+ total: number;
4263
+ };
4264
+ type UpdateBeanPriceDto = {
4265
+ /**
4266
+ * Currency being priced
4267
+ */
4268
+ currency?: string;
4269
+ /**
4270
+ * Quote currency (pricing currency)
4271
+ */
4272
+ quoteCurrency?: string;
4273
+ /**
4274
+ * Price amount (MUST be >= 0 per Beancount spec)
4275
+ */
4276
+ amount?: number;
4277
+ /**
4278
+ * Price date (ISO 8601 format)
4279
+ */
4280
+ date?: string;
4281
+ /**
4282
+ * Metadata
4283
+ */
4284
+ metadata?: {
4285
+ [key: string]: unknown;
4286
+ };
4287
+ };
3822
4288
  type CurrencyBalanceDto = {
3823
4289
  /**
3824
4290
  * ISO 4217 currency code
@@ -4101,6 +4567,18 @@ type TransactionControllerCreateBatchData = {
4101
4567
  requestBody: BatchCreateTransactionDto;
4102
4568
  };
4103
4569
  type TransactionControllerCreateBatchResponse = BatchTransactionResponseDto;
4570
+ type TransactionControllerCorrectData = {
4571
+ /**
4572
+ * Original transaction ID to correct
4573
+ */
4574
+ id: string;
4575
+ /**
4576
+ * Region code for tenant context
4577
+ */
4578
+ region: 'cn' | 'us' | 'de' | 'gb';
4579
+ requestBody: CorrectTransactionDto;
4580
+ };
4581
+ type TransactionControllerCorrectResponse = TransactionDetailDto;
4104
4582
  type TransactionControllerSuggestTagsData = {
4105
4583
  /**
4106
4584
  * Max suggestions (1-100, default 10)
@@ -4965,9 +5443,9 @@ type ProviderSyncControllerSyncData = {
4965
5443
  */
4966
5444
  providerName: 'plaid' | 'teller' | 'truelayer' | 'gocardless' | 'simplefin' | 'yodlee' | 'beancount-direct' | 'parsed-bill';
4967
5445
  /**
4968
- * Region code
5446
+ * Region code for tenant context
4969
5447
  */
4970
- region: unknown;
5448
+ region: 'cn' | 'us' | 'de' | 'gb';
4971
5449
  requestBody: ProviderSyncDto;
4972
5450
  };
4973
5451
  type ProviderSyncControllerSyncResponse = ProviderSyncResponseDto;
@@ -4997,6 +5475,25 @@ type TelemetryControllerReportTelemetryData = {
4997
5475
  requestBody: ParserTelemetryReportDto;
4998
5476
  };
4999
5477
  type TelemetryControllerReportTelemetryResponse = unknown;
5478
+ type TelemetryControllerReportCoverageMissData = {
5479
+ /**
5480
+ * Region code for tenant context
5481
+ */
5482
+ region: 'cn' | 'us' | 'de' | 'gb';
5483
+ requestBody: UncoveredFormatMissDto;
5484
+ };
5485
+ type TelemetryControllerReportCoverageMissResponse = unknown;
5486
+ type TelemetryControllerGetCoverageMetricsData = {
5487
+ /**
5488
+ * Region code for tenant context
5489
+ */
5490
+ region: 'cn' | 'us' | 'de' | 'gb';
5491
+ /**
5492
+ * Top-N uncovered formats (default 10)
5493
+ */
5494
+ topN?: unknown;
5495
+ };
5496
+ type TelemetryControllerGetCoverageMetricsResponse = unknown;
5000
5497
  type NlpControllerProcessNaturalLanguageData = {
5001
5498
  /**
5002
5499
  * Region code for tenant context
@@ -5042,6 +5539,10 @@ type DashboardControllerGetNetWorthData = {
5042
5539
  };
5043
5540
  type DashboardControllerGetNetWorthResponse = NetWorthResponseDto;
5044
5541
  type DashboardControllerGetAccountsData = {
5542
+ /**
5543
+ * Scope to a single account (only valid with groupBy=holdingAssetClass, ADR-0105 §6)
5544
+ */
5545
+ accountId?: string;
5045
5546
  /**
5046
5547
  * Date for balance calculation (ISO 8601 format)
5047
5548
  */
@@ -5049,13 +5550,13 @@ type DashboardControllerGetAccountsData = {
5049
5550
  /**
5050
5551
  * Grouping strategy
5051
5552
  */
5052
- groupBy?: 'platform' | 'assetClass';
5553
+ groupBy?: 'platform' | 'assetClass' | 'holdingAssetClass' | 'holdingAssetClassByAccount';
5053
5554
  /**
5054
5555
  * Region code for tenant context
5055
5556
  */
5056
5557
  region: 'cn' | 'us' | 'de' | 'gb';
5057
5558
  };
5058
- type DashboardControllerGetAccountsResponse = AccountsResponseDto | AssetClassAccountsResponseDto;
5559
+ type DashboardControllerGetAccountsResponse = AccountsResponseDto | AssetClassAccountsResponseDto | HoldingAssetClassCrossAccountResponseDto;
5059
5560
  type DashboardControllerGetCashFlowData = {
5060
5561
  /**
5061
5562
  * Period in YYYY-MM format
@@ -5067,6 +5568,110 @@ type DashboardControllerGetCashFlowData = {
5067
5568
  region: 'cn' | 'us' | 'de' | 'gb';
5068
5569
  };
5069
5570
  type DashboardControllerGetCashFlowResponse = CashFlowResponseDto;
5571
+ type HoldingPnlControllerGetHoldingPnlData = {
5572
+ /**
5573
+ * Scope to a single account
5574
+ */
5575
+ accountId?: string;
5576
+ /**
5577
+ * As-of date (ISO 8601), defaults to today
5578
+ */
5579
+ asOf?: string;
5580
+ /**
5581
+ * Realized-P&L lot-matching method (default average). Does not affect the average-cost unrealized basis.
5582
+ */
5583
+ method?: 'FIFO' | 'average';
5584
+ /**
5585
+ * Region code for tenant context
5586
+ */
5587
+ region: 'cn' | 'us' | 'de' | 'gb';
5588
+ };
5589
+ type HoldingPnlControllerGetHoldingPnlResponse = HoldingPnlResponseDto;
5590
+ type PriceControllerCreateData = {
5591
+ /**
5592
+ * Region code for tenant context
5593
+ */
5594
+ region: 'cn' | 'us' | 'de' | 'gb';
5595
+ requestBody: CreateBeanPriceDto;
5596
+ };
5597
+ type PriceControllerCreateResponse = PriceResponseDto;
5598
+ type PriceControllerFindAllData = {
5599
+ /**
5600
+ * Filter by currency (e.g., BTC, AAPL, USD)
5601
+ */
5602
+ currency?: string;
5603
+ /**
5604
+ * Filter prices from this date (ISO 8601 format)
5605
+ */
5606
+ dateFrom?: string;
5607
+ /**
5608
+ * Filter prices to this date (ISO 8601 format)
5609
+ */
5610
+ dateTo?: string;
5611
+ /**
5612
+ * Number of items per page (default: 20, max: 100)
5613
+ */
5614
+ limit?: number;
5615
+ /**
5616
+ * Page number for pagination (default: 1)
5617
+ */
5618
+ page?: number;
5619
+ /**
5620
+ * Filter by quote currency (pricing currency, e.g., USD, CNY)
5621
+ */
5622
+ quoteCurrency?: string;
5623
+ /**
5624
+ * Region code for tenant context
5625
+ */
5626
+ region: 'cn' | 'us' | 'de' | 'gb';
5627
+ /**
5628
+ * Search term for currency or quoteCurrency (case-insensitive partial match)
5629
+ */
5630
+ search?: string;
5631
+ };
5632
+ type PriceControllerFindAllResponse = PriceListResponseDto;
5633
+ type PriceControllerFindOneData = {
5634
+ /**
5635
+ * Price ID
5636
+ */
5637
+ id: string;
5638
+ /**
5639
+ * Region code for tenant context
5640
+ */
5641
+ region: 'cn' | 'us' | 'de' | 'gb';
5642
+ };
5643
+ type PriceControllerFindOneResponse = PriceResponseDto;
5644
+ type PriceControllerUpdateData = {
5645
+ /**
5646
+ * Price ID
5647
+ */
5648
+ id: string;
5649
+ /**
5650
+ * Region code for tenant context
5651
+ */
5652
+ region: 'cn' | 'us' | 'de' | 'gb';
5653
+ requestBody: UpdateBeanPriceDto;
5654
+ };
5655
+ type PriceControllerUpdateResponse = PriceResponseDto;
5656
+ type PriceControllerDeleteData = {
5657
+ /**
5658
+ * Price ID
5659
+ */
5660
+ id: string;
5661
+ /**
5662
+ * Region code for tenant context
5663
+ */
5664
+ region: 'cn' | 'us' | 'de' | 'gb';
5665
+ };
5666
+ type PriceControllerDeleteResponse = void;
5667
+ type PriceControllerBulkCreateData = {
5668
+ /**
5669
+ * Region code for tenant context
5670
+ */
5671
+ region: 'cn' | 'us' | 'de' | 'gb';
5672
+ requestBody: Array<string>;
5673
+ };
5674
+ type PriceControllerBulkCreateResponse = Array<PriceResponseDto>;
5070
5675
  type ReportingControllerGetPortfolioTrendsData = {
5071
5676
  /**
5072
5677
  * Data granularity
@@ -5336,6 +5941,29 @@ type $OpenApiTs = {
5336
5941
  };
5337
5942
  };
5338
5943
  };
5944
+ '/api/v1/{region}/bean/transactions/{id}/correct': {
5945
+ post: {
5946
+ req: TransactionControllerCorrectData;
5947
+ res: {
5948
+ /**
5949
+ * Corrected transaction created
5950
+ */
5951
+ 201: TransactionDetailDto;
5952
+ /**
5953
+ * Original transaction not found
5954
+ */
5955
+ 404: ApiProblemResponseDto;
5956
+ /**
5957
+ * Original no longer ACTIVE (concurrent modification)
5958
+ */
5959
+ 409: ApiProblemResponseDto;
5960
+ /**
5961
+ * Pipeline validation failed (does not balance, invalid accounts)
5962
+ */
5963
+ 422: ApiProblemResponseDto;
5964
+ };
5965
+ };
5966
+ };
5339
5967
  '/api/v1/{region}/bean/transactions/tags': {
5340
5968
  get: {
5341
5969
  req: TransactionControllerSuggestTagsData;
@@ -6759,6 +7387,32 @@ type $OpenApiTs = {
6759
7387
  };
6760
7388
  };
6761
7389
  };
7390
+ '/api/v1/{region}/bean/import/parser-coverage-miss': {
7391
+ post: {
7392
+ req: TelemetryControllerReportCoverageMissData;
7393
+ res: {
7394
+ /**
7395
+ * Coverage miss report received
7396
+ */
7397
+ 200: unknown;
7398
+ /**
7399
+ * Unauthorized
7400
+ */
7401
+ 401: unknown;
7402
+ };
7403
+ };
7404
+ };
7405
+ '/api/v1/{region}/bean/import/parser-coverage-metrics': {
7406
+ get: {
7407
+ req: TelemetryControllerGetCoverageMetricsData;
7408
+ res: {
7409
+ /**
7410
+ * Coverage metrics
7411
+ */
7412
+ 200: unknown;
7413
+ };
7414
+ };
7415
+ };
6762
7416
  '/api/v1/{region}/bean/nlp/process': {
6763
7417
  post: {
6764
7418
  req: NlpControllerProcessNaturalLanguageData;
@@ -6828,7 +7482,7 @@ type $OpenApiTs = {
6828
7482
  /**
6829
7483
  * Accounts retrieved successfully. Response type depends on groupBy parameter.
6830
7484
  */
6831
- 200: AccountsResponseDto | AssetClassAccountsResponseDto;
7485
+ 200: AccountsResponseDto | AssetClassAccountsResponseDto | HoldingAssetClassCrossAccountResponseDto;
6832
7486
  /**
6833
7487
  * User not authenticated
6834
7488
  */
@@ -6855,6 +7509,109 @@ type $OpenApiTs = {
6855
7509
  };
6856
7510
  };
6857
7511
  };
7512
+ '/api/v1/{region}/investment/holdings/pnl': {
7513
+ get: {
7514
+ req: HoldingPnlControllerGetHoldingPnlData;
7515
+ res: {
7516
+ /**
7517
+ * Holding P&L retrieved successfully
7518
+ */
7519
+ 200: HoldingPnlResponseDto;
7520
+ /**
7521
+ * Invalid asOf format/value/future date, invalid accountId format, or unsupported method
7522
+ */
7523
+ 400: unknown;
7524
+ /**
7525
+ * User not authenticated
7526
+ */
7527
+ 401: unknown;
7528
+ };
7529
+ };
7530
+ };
7531
+ '/api/v1/{region}/bean/prices': {
7532
+ post: {
7533
+ req: PriceControllerCreateData;
7534
+ res: {
7535
+ /**
7536
+ * Price created successfully
7537
+ */
7538
+ 201: PriceResponseDto;
7539
+ /**
7540
+ * Currency or quoteCurrency commodity not found
7541
+ */
7542
+ 404: unknown;
7543
+ /**
7544
+ * Price already exists for this currency pair and date
7545
+ */
7546
+ 409: unknown;
7547
+ };
7548
+ };
7549
+ get: {
7550
+ req: PriceControllerFindAllData;
7551
+ res: {
7552
+ /**
7553
+ * Prices retrieved successfully
7554
+ */
7555
+ 200: PriceListResponseDto;
7556
+ };
7557
+ };
7558
+ };
7559
+ '/api/v1/{region}/bean/prices/{id}': {
7560
+ get: {
7561
+ req: PriceControllerFindOneData;
7562
+ res: {
7563
+ /**
7564
+ * Price retrieved successfully
7565
+ */
7566
+ 200: PriceResponseDto;
7567
+ /**
7568
+ * Price not found
7569
+ */
7570
+ 404: unknown;
7571
+ };
7572
+ };
7573
+ put: {
7574
+ req: PriceControllerUpdateData;
7575
+ res: {
7576
+ /**
7577
+ * Price updated successfully
7578
+ */
7579
+ 200: PriceResponseDto;
7580
+ /**
7581
+ * Price not found
7582
+ */
7583
+ 404: unknown;
7584
+ /**
7585
+ * Updated price conflicts with existing price
7586
+ */
7587
+ 409: unknown;
7588
+ };
7589
+ };
7590
+ delete: {
7591
+ req: PriceControllerDeleteData;
7592
+ res: {
7593
+ /**
7594
+ * Price deleted successfully
7595
+ */
7596
+ 204: void;
7597
+ /**
7598
+ * Price not found
7599
+ */
7600
+ 404: unknown;
7601
+ };
7602
+ };
7603
+ };
7604
+ '/api/v1/{region}/bean/prices/bulk': {
7605
+ post: {
7606
+ req: PriceControllerBulkCreateData;
7607
+ res: {
7608
+ /**
7609
+ * Prices created successfully
7610
+ */
7611
+ 201: Array<PriceResponseDto>;
7612
+ };
7613
+ };
7614
+ };
6858
7615
  '/api/v1/{region}/reporting/portfolio/trends': {
6859
7616
  get: {
6860
7617
  req: ReportingControllerGetPortfolioTrendsData;
@@ -7201,6 +7958,17 @@ declare class BeanTransactionsService {
7201
7958
  * @throws ApiError
7202
7959
  */
7203
7960
  static transactionControllerCreateBatch(data: TransactionControllerCreateBatchData): CancelablePromise<TransactionControllerCreateBatchResponse>;
7961
+ /**
7962
+ * Correct (supersede) a transaction
7963
+ * Atomically voids the original (SUPERSEDED) and creates a replacement through the full validation pipeline.
7964
+ * @param data The data for the request.
7965
+ * @param data.id Original transaction ID to correct
7966
+ * @param data.region Region code for tenant context
7967
+ * @param data.requestBody
7968
+ * @returns TransactionDetailDto Corrected transaction created
7969
+ * @throws ApiError
7970
+ */
7971
+ static transactionControllerCorrect(data: TransactionControllerCorrectData): CancelablePromise<TransactionControllerCorrectResponse>;
7204
7972
  /**
7205
7973
  * Suggest transaction tags
7206
7974
  * Returns distinct tags from the user ACTIVE transactions, sorted by usage, for autocomplete. Optional q performs a case-insensitive prefix match.
@@ -7367,7 +8135,7 @@ declare class ProviderSyncService {
7367
8135
  *
7368
8136
  * @param data The data for the request.
7369
8137
  * @param data.providerName Provider name
7370
- * @param data.region Region code
8138
+ * @param data.region Region code for tenant context
7371
8139
  * @param data.requestBody
7372
8140
  * @returns ProviderSyncResponseDto Sync completed successfully
7373
8141
  * @throws ApiError
@@ -7480,4 +8248,4 @@ type OpenAPIConfig = {
7480
8248
  };
7481
8249
  declare const OpenAPI: OpenAPIConfig;
7482
8250
 
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 };
8251
+ 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 CostDetailDto, 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 };