@firela/api-types 0.0.0-canary.074c27d4 → 0.0.0-canary.09a8ff4c

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
  /**
@@ -594,6 +668,10 @@ type PostingDetailDto = {
594
668
  * Cost date
595
669
  */
596
670
  costDate?: string;
671
+ /**
672
+ * Booking-resolved cost (mirrors engine Cost). Undefined when the posting has no cost basis.
673
+ */
674
+ cost?: CostDetailDto;
597
675
  /**
598
676
  * Price amount
599
677
  */
@@ -1094,17 +1172,17 @@ type ResolveResultDto = {
1094
1172
  [key: string]: string;
1095
1173
  };
1096
1174
  /**
1097
- * Resolution ID for undo
1175
+ * Resolution ID for undo. Absent when the resolver rejected the decision (review stayed PENDING).
1098
1176
  */
1099
- resolutionId: string;
1177
+ resolutionId?: string;
1100
1178
  /**
1101
1179
  * Whether this decision can be undone
1102
1180
  */
1103
- canUndo: boolean;
1181
+ canUndo?: boolean;
1104
1182
  /**
1105
1183
  * Deadline for undo (24h from resolution)
1106
1184
  */
1107
- undoDeadline: string;
1185
+ undoDeadline?: string;
1108
1186
  /**
1109
1187
  * Rule ID if learning was triggered (ACCEPT_AND_LEARN actions). Use this to deep-link to the rule management page.
1110
1188
  */
@@ -2611,6 +2689,92 @@ type UpdatePropertyDto = {
2611
2689
  */
2612
2690
  value: string;
2613
2691
  };
2692
+ type CreateBeanEventDto = {
2693
+ /**
2694
+ * Life event date (ISO 8601)
2695
+ */
2696
+ date: string;
2697
+ /**
2698
+ * Life event type (e.g., "employer", "location", "marital-status") — user-defined, no enum constraint at engine layer
2699
+ */
2700
+ type: string;
2701
+ /**
2702
+ * Life event description. Empty string is a VALID value (distinct from absence).
2703
+ */
2704
+ description: string;
2705
+ /**
2706
+ * Product-side metadata (lives in BeanEvent.meta JSON, never in engine Event fields)
2707
+ */
2708
+ meta?: {
2709
+ [key: string]: unknown;
2710
+ };
2711
+ };
2712
+ type EventResponseDto = {
2713
+ /**
2714
+ * Unique identifier
2715
+ */
2716
+ id: string;
2717
+ /**
2718
+ * User ID (owner of the life event)
2719
+ */
2720
+ userId: string;
2721
+ /**
2722
+ * Life event date (ISO 8601 format)
2723
+ */
2724
+ date: string;
2725
+ /**
2726
+ * Life event type (user-defined, e.g., "employer", "location")
2727
+ */
2728
+ type: string;
2729
+ /**
2730
+ * Life event description. May be an empty string (a valid value distinct from absence).
2731
+ */
2732
+ description: string;
2733
+ /**
2734
+ * Product-side metadata (free-form JSON)
2735
+ */
2736
+ meta: {
2737
+ [key: string]: unknown;
2738
+ };
2739
+ /**
2740
+ * Creation timestamp
2741
+ */
2742
+ createdAt: string;
2743
+ /**
2744
+ * Last update timestamp. Also emitted as the ETag response header for If-Match optimistic concurrency.
2745
+ */
2746
+ updatedAt: string;
2747
+ };
2748
+ type EventListResponseDto = {
2749
+ /**
2750
+ * List of life events
2751
+ */
2752
+ items: Array<EventResponseDto>;
2753
+ /**
2754
+ * Total number of life events matching the query
2755
+ */
2756
+ total: number;
2757
+ };
2758
+ type UpdateBeanEventDto = {
2759
+ /**
2760
+ * Life event date (ISO 8601)
2761
+ */
2762
+ date?: string;
2763
+ /**
2764
+ * Life event type (user-defined)
2765
+ */
2766
+ type?: string;
2767
+ /**
2768
+ * Life event description. Empty string is a VALID value (distinct from absence).
2769
+ */
2770
+ description?: string;
2771
+ /**
2772
+ * Product-side metadata (free-form JSON)
2773
+ */
2774
+ meta?: {
2775
+ [key: string]: unknown;
2776
+ };
2777
+ };
2614
2778
  type FileImportDto = {
2615
2779
  /**
2616
2780
  * Bill file to import (CSV, PDF, OFX, etc.)
@@ -2992,6 +3156,7 @@ type SupportedProvidersResponseDto = {
2992
3156
  providers: Array<string>;
2993
3157
  };
2994
3158
  type ParserTelemetryReportDto = unknown;
3159
+ type UncoveredFormatMissDto = unknown;
2995
3160
  type ProcessNlpDto = {
2996
3161
  /**
2997
3162
  * Natural language text describing a transaction (Chinese)
@@ -3726,7 +3891,15 @@ type AccountItemWithAssetClassDto = {
3726
3891
  * Risk level
3727
3892
  */
3728
3893
  riskLevel?: string;
3894
+ /**
3895
+ * ADR-0105 classification provenance (holding level always; account level only on FALLBACK)
3896
+ */
3897
+ source?: 'USER_META' | 'FIAT_CURRENCY' | 'OPENBB_MAPPING' | 'FALLBACK';
3729
3898
  };
3899
+ /**
3900
+ * ADR-0105 classification provenance (holding level always; account level only on FALLBACK)
3901
+ */
3902
+ type source2 = 'USER_META' | 'FIAT_CURRENCY' | 'OPENBB_MAPPING' | 'FALLBACK';
3730
3903
  type AssetClassGroupDto = {
3731
3904
  /**
3732
3905
  * Asset class name
@@ -3788,6 +3961,12 @@ type AssetClassSummaryDto = {
3788
3961
  * Exchange rate warnings
3789
3962
  */
3790
3963
  warnings?: Array<AccountExchangeRateWarningDto>;
3964
+ /**
3965
+ * 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.
3966
+ */
3967
+ fallback?: {
3968
+ [key: string]: unknown;
3969
+ };
3791
3970
  };
3792
3971
  type AssetClassAccountsResponseDto = {
3793
3972
  /**
@@ -3798,6 +3977,54 @@ type AssetClassAccountsResponseDto = {
3798
3977
  * Summary statistics
3799
3978
  */
3800
3979
  summary: AssetClassSummaryDto;
3980
+ /**
3981
+ * ADR-0105 §6 holding-level grey-area bucket (source=FALLBACK holdings peeled out of groups). Present only for groupBy=holdingAssetClass when FALLBACK holdings exist.
3982
+ */
3983
+ uncategorized?: AssetClassGroupDto;
3984
+ };
3985
+ type HoldingAssetClassAccountSliceDto = {
3986
+ /**
3987
+ * Account ID
3988
+ */
3989
+ accountId: string;
3990
+ /**
3991
+ * Full account path
3992
+ */
3993
+ accountPath: string;
3994
+ /**
3995
+ * Currency of the holding with the largest converted base value; undefined when no holding is convertible
3996
+ */
3997
+ accountCurrency?: string;
3998
+ /**
3999
+ * Account's market value in base currency (Σ converted holdings; grey bucket included)
4000
+ */
4001
+ marketValueBase: string;
4002
+ /**
4003
+ * Share of the global total (0-100). 0 when globalTotal is zero (no NaN/Infinity).
4004
+ */
4005
+ shareOfTotalPct: number;
4006
+ /**
4007
+ * Per-account asset-class breakdown
4008
+ */
4009
+ groups: Array<AssetClassGroupDto>;
4010
+ /**
4011
+ * Per-account grey bucket (source=FALLBACK holdings, incl. broker cash)
4012
+ */
4013
+ uncategorized?: AssetClassGroupDto;
4014
+ /**
4015
+ * Every holding row for this account (account ID in each row’s `id` field)
4016
+ */
4017
+ holdings: Array<AccountItemWithAssetClassDto>;
4018
+ };
4019
+ type HoldingAssetClassCrossAccountResponseDto = {
4020
+ /**
4021
+ * Merged cross-account holding aggregation
4022
+ */
4023
+ global: AssetClassAccountsResponseDto;
4024
+ /**
4025
+ * Per-account slices
4026
+ */
4027
+ byAccount: Array<HoldingAssetClassAccountSliceDto>;
3801
4028
  };
3802
4029
  type CashFlowByCurrencyDto = {
3803
4030
  /**
@@ -3875,141 +4102,472 @@ type CashFlowResponseDto = {
3875
4102
  */
3876
4103
  warnings?: Array<ExchangeRateWarningDto>;
3877
4104
  };
3878
- type CurrencyBalanceDto = {
4105
+ type MonetaryDto = {
3879
4106
  /**
3880
- * ISO 4217 currency code
4107
+ * Amount (Decimal string)
4108
+ */
4109
+ amount: string;
4110
+ /**
4111
+ * ISO 4217 currency
3881
4112
  */
3882
4113
  currency: string;
3883
4114
  /**
3884
- * Balance amount
4115
+ * Converted to user base currency (Decimal string)
3885
4116
  */
3886
- balance: string;
4117
+ baseCcyEquivalent?: {
4118
+ [key: string]: unknown;
4119
+ } | null;
3887
4120
  };
3888
- type TimeSeriesPointDto = {
4121
+ type CurrentPriceDto = {
3889
4122
  /**
3890
- * Date in YYYY-MM-DD format
4123
+ * Price amount (Decimal string)
3891
4124
  */
3892
- date: string;
4125
+ amount: string;
3893
4126
  /**
3894
- * Value at this date (in base currency)
4127
+ * Price currency (ISO 4217)
3895
4128
  */
3896
- value: string;
4129
+ currency: string;
3897
4130
  /**
3898
- * Change from previous point
4131
+ * Price date (ISO 8601)
3899
4132
  */
3900
- change?: {
3901
- [key: string]: unknown;
3902
- };
4133
+ date: string;
3903
4134
  /**
3904
- * Multi-currency breakdown for this point
4135
+ * Price source
3905
4136
  */
3906
- byCurrency?: Array<CurrencyBalanceDto>;
4137
+ source: 'USER_OVERRIDE' | 'OPENBB_EQUITY' | 'OPENBB_CURRENCY';
3907
4138
  };
3908
- type TrendSummaryDto = {
4139
+ /**
4140
+ * Price source
4141
+ */
4142
+ type source3 = 'USER_OVERRIDE' | 'OPENBB_EQUITY' | 'OPENBB_CURRENCY';
4143
+ type FxRateDto = {
4144
+ from: string;
4145
+ to: string;
3909
4146
  /**
3910
- * Value at start of period
4147
+ * FX rate (Decimal string)
3911
4148
  */
3912
- startValue: string;
4149
+ rate: string;
3913
4150
  /**
3914
- * Value at end of period
4151
+ * Rate date (ISO 8601)
3915
4152
  */
3916
- endValue: string;
4153
+ date: string;
4154
+ };
4155
+ type HoldingPnlRowDto = {
3917
4156
  /**
3918
- * Total change over period
4157
+ * Account UUID
3919
4158
  */
3920
- totalChange: string;
4159
+ accountId: string;
3921
4160
  /**
3922
- * Total change percentage
4161
+ * Full account path
3923
4162
  */
3924
- totalChangePercentage: string;
3925
- };
3926
- type MultiCurrencyPointDto = {
4163
+ accountPath: string;
3927
4164
  /**
3928
- * Date in YYYY-MM-DD format
4165
+ * Account settlement currency (ISO 4217), from cost currency
3929
4166
  */
3930
- date: string;
4167
+ accountCcy?: {
4168
+ [key: string]: unknown;
4169
+ } | null;
3931
4170
  /**
3932
- * Balances by currency
4171
+ * Broker type derived from Platform.type
3933
4172
  */
3934
- byCurrency: Array<CurrencyBalanceDto>;
3935
- };
3936
- type PortfolioTrendsResponseDto = {
4173
+ brokerType?: {
4174
+ [key: string]: unknown;
4175
+ } | null;
3937
4176
  /**
3938
- * Time series data points
4177
+ * Commodity symbol
3939
4178
  */
3940
- series: Array<TimeSeriesPointDto>;
4179
+ symbol: string;
3941
4180
  /**
3942
- * Period summary
4181
+ * Chart segment token (libs/common resolver)
3943
4182
  */
3944
- summary: TrendSummaryDto;
4183
+ chartToken: 'equity' | 'fund' | 'bond' | 'cash' | 'other';
4184
+ assetClass: string;
4185
+ assetSubClass?: {
4186
+ [key: string]: unknown;
4187
+ } | null;
3945
4188
  /**
3946
- * Period requested
4189
+ * Net held units (Decimal string)
3947
4190
  */
3948
- period: string;
4191
+ units: string;
3949
4192
  /**
3950
- * Data granularity
4193
+ * Average cost per unit; null when cost currency conflicts or no cost
3951
4194
  */
3952
- granularity: string;
4195
+ averageCostPerUnit?: MonetaryDto | null;
3953
4196
  /**
3954
- * Base currency for converted values
4197
+ * Cost basis of held units
3955
4198
  */
3956
- currency: string;
4199
+ costBasis?: MonetaryDto | null;
3957
4200
  /**
3958
- * Multi-currency time series (each point has currency breakdown)
4201
+ * Market value at asOf price
3959
4202
  */
3960
- byCurrency?: Array<MultiCurrencyPointDto>;
4203
+ marketValue?: MonetaryDto | null;
3961
4204
  /**
3962
- * Exchange rate warnings
4205
+ * Price used for market value
3963
4206
  */
3964
- warnings?: Array<ExchangeRateWarningDto>;
3965
- };
3966
- type GenerateSnapshotBody = unknown;
3967
- type GenerateSnapshotResponse = unknown;
3968
- type BackfillSnapshotsBody = unknown;
3969
- type BackfillSnapshotsResponse = unknown;
3970
- type AnonymousLoginDto = {
4207
+ currentPrice?: CurrentPriceDto | null;
3971
4208
  /**
3972
- * Access token for anonymous login
4209
+ * Unrealized P&L in base currency (Decimal string); null when any FX/price missing
3973
4210
  */
3974
- accessToken: string;
3975
- };
3976
- type AccountControllerCreateData = {
4211
+ unrealizedPnlBase?: {
4212
+ [key: string]: unknown;
4213
+ } | null;
3977
4214
  /**
3978
- * Region code for tenant context
4215
+ * Unrealized P&L % (Decimal string)
3979
4216
  */
3980
- region: 'cn' | 'us' | 'de' | 'gb';
3981
- requestBody: CreateAccountDto;
3982
- };
3983
- type AccountControllerCreateResponse = AccountResponseDto;
3984
- type AccountControllerFindAllData = {
4217
+ unrealizedPnlPct?: {
4218
+ [key: string]: unknown;
4219
+ } | null;
3985
4220
  /**
3986
- * Filter by custom (user-created) accounts only
4221
+ * Historical FX rate applied to cost basis
3987
4222
  */
3988
- isCustom?: boolean;
4223
+ costFxRate?: FxRateDto | null;
3989
4224
  /**
3990
- * Maximum number of results
4225
+ * FX rate applied to market value
3991
4226
  */
3992
- limit?: number;
4227
+ marketFxRate?: FxRateDto | null;
3993
4228
  /**
3994
- * Number of results to skip
4229
+ * Share of invested assets % (Decimal string); only for invested chartTokens
3995
4230
  */
3996
- offset?: number;
4231
+ pctOfInvestedAssets?: {
4232
+ [key: string]: unknown;
4233
+ } | null;
3997
4234
  /**
3998
- * Region code for tenant context
4235
+ * 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
3999
4236
  */
4000
- region: 'cn' | 'us' | 'de' | 'gb';
4237
+ realizedPnl?: MonetaryDto | null;
4238
+ };
4239
+ /**
4240
+ * Chart segment token (libs/common resolver)
4241
+ */
4242
+ type chartToken = 'equity' | 'fund' | 'bond' | 'cash' | 'other';
4243
+ type HoldingPnlWarningDto = {
4001
4244
  /**
4002
- * Search term for path or i18nKey
4245
+ * Warning type
4003
4246
  */
4004
- search?: string;
4247
+ type: 'MISSING_COST_FX_RATE' | 'MISSING_MARKET_FX_RATE' | 'MISSING_SALE_PRICE' | 'MISSING_REALIZED_FX_RATE' | 'OVERSOLD_LOTS' | 'NO_PRICE' | 'MIXED_COST_CURRENCY';
4248
+ symbol?: {
4249
+ [key: string]: unknown;
4250
+ } | null;
4251
+ accountId?: {
4252
+ [key: string]: unknown;
4253
+ } | null;
4254
+ currency?: {
4255
+ [key: string]: unknown;
4256
+ } | null;
4257
+ };
4258
+ /**
4259
+ * Warning type
4260
+ */
4261
+ type type4 = 'MISSING_COST_FX_RATE' | 'MISSING_MARKET_FX_RATE' | 'MISSING_SALE_PRICE' | 'MISSING_REALIZED_FX_RATE' | 'OVERSOLD_LOTS' | 'NO_PRICE' | 'MIXED_COST_CURRENCY';
4262
+ type HoldingPnlResponseDto = {
4263
+ asOfDate: string;
4264
+ baseCurrency: string;
4005
4265
  /**
4006
- * Filter by status
4266
+ * Realized-P&L lot-matching method (FIFO or average). Unrealized cost basis remains average regardless of this value (#473).
4007
4267
  */
4008
- status?: 'OPEN' | 'CLOSED' | 'SUSPENDED';
4268
+ method: 'average' | 'FIFO';
4269
+ rows: Array<HoldingPnlRowDto>;
4270
+ warnings: Array<HoldingPnlWarningDto>;
4271
+ };
4272
+ /**
4273
+ * Realized-P&L lot-matching method (FIFO or average). Unrealized cost basis remains average regardless of this value (#473).
4274
+ */
4275
+ type method = 'average' | 'FIFO';
4276
+ type CreateBeanPriceDto = {
4009
4277
  /**
4010
- * Filter by account type
4278
+ * Currency being priced (e.g., USD, AAPL, BTC)
4011
4279
  */
4012
- type?: 'Assets' | 'Liabilities' | 'Income' | 'Expenses' | 'Equity';
4280
+ currency: string;
4281
+ /**
4282
+ * Quote currency (pricing currency, e.g., CNY, EUR)
4283
+ */
4284
+ quoteCurrency: string;
4285
+ /**
4286
+ * Price amount (MUST be >= 0 per Beancount spec, supports up to 15 decimal places). Zero allowed for conversion entries, negative strictly prohibited.
4287
+ */
4288
+ amount: number;
4289
+ /**
4290
+ * Price date (ISO 8601 format)
4291
+ */
4292
+ date: string;
4293
+ /**
4294
+ * Metadata (validated by Zod schema, max field lengths enforced)
4295
+ */
4296
+ metadata?: {
4297
+ [key: string]: unknown;
4298
+ };
4299
+ };
4300
+ type PriceResponseDto = {
4301
+ /**
4302
+ * Unique identifier
4303
+ */
4304
+ id: string;
4305
+ /**
4306
+ * User ID (owner of the price)
4307
+ */
4308
+ userId: string;
4309
+ /**
4310
+ * Currency being priced (e.g., USD, AAPL, BTC)
4311
+ */
4312
+ currency: string;
4313
+ /**
4314
+ * Quote currency (pricing currency, e.g., USD, CNY)
4315
+ */
4316
+ quoteCurrency: string;
4317
+ /**
4318
+ * Price amount (corresponds to Beancount Amount.number). Supports up to 15 decimal places.
4319
+ */
4320
+ amount: number;
4321
+ /**
4322
+ * Price date (ISO 8601 format). Represents the date this price was valid.
4323
+ */
4324
+ date: string;
4325
+ /**
4326
+ * Metadata (corresponds to Beancount meta field). Contains source, confidence, note, etc.
4327
+ */
4328
+ meta: {
4329
+ [key: string]: unknown;
4330
+ };
4331
+ /**
4332
+ * Creation timestamp
4333
+ */
4334
+ createdAt: string;
4335
+ /**
4336
+ * Last update timestamp
4337
+ */
4338
+ updatedAt: string;
4339
+ };
4340
+ type PriceListResponseDto = {
4341
+ /**
4342
+ * List of prices
4343
+ */
4344
+ items: Array<PriceResponseDto>;
4345
+ /**
4346
+ * Total number of prices
4347
+ */
4348
+ total: number;
4349
+ };
4350
+ type UpdateBeanPriceDto = {
4351
+ /**
4352
+ * Currency being priced
4353
+ */
4354
+ currency?: string;
4355
+ /**
4356
+ * Quote currency (pricing currency)
4357
+ */
4358
+ quoteCurrency?: string;
4359
+ /**
4360
+ * Price amount (MUST be >= 0 per Beancount spec)
4361
+ */
4362
+ amount?: number;
4363
+ /**
4364
+ * Price date (ISO 8601 format)
4365
+ */
4366
+ date?: string;
4367
+ /**
4368
+ * Metadata
4369
+ */
4370
+ metadata?: {
4371
+ [key: string]: unknown;
4372
+ };
4373
+ };
4374
+ type CurrencyBalanceDto = {
4375
+ /**
4376
+ * ISO 4217 currency code
4377
+ */
4378
+ currency: string;
4379
+ /**
4380
+ * Balance amount
4381
+ */
4382
+ balance: string;
4383
+ };
4384
+ type TimeSeriesPointDto = {
4385
+ /**
4386
+ * Date in YYYY-MM-DD format
4387
+ */
4388
+ date: string;
4389
+ /**
4390
+ * Value at this date (in base currency)
4391
+ */
4392
+ value: string;
4393
+ /**
4394
+ * Change from previous point
4395
+ */
4396
+ change?: {
4397
+ [key: string]: unknown;
4398
+ };
4399
+ /**
4400
+ * Multi-currency breakdown for this point
4401
+ */
4402
+ byCurrency?: Array<CurrencyBalanceDto>;
4403
+ };
4404
+ type TrendSummaryDto = {
4405
+ /**
4406
+ * Value at start of period
4407
+ */
4408
+ startValue: string;
4409
+ /**
4410
+ * Value at end of period
4411
+ */
4412
+ endValue: string;
4413
+ /**
4414
+ * Total change over period
4415
+ */
4416
+ totalChange: string;
4417
+ /**
4418
+ * Total change percentage
4419
+ */
4420
+ totalChangePercentage: string;
4421
+ };
4422
+ type MultiCurrencyPointDto = {
4423
+ /**
4424
+ * Date in YYYY-MM-DD format
4425
+ */
4426
+ date: string;
4427
+ /**
4428
+ * Balances by currency
4429
+ */
4430
+ byCurrency: Array<CurrencyBalanceDto>;
4431
+ };
4432
+ type PortfolioTrendsResponseDto = {
4433
+ /**
4434
+ * Time series data points
4435
+ */
4436
+ series: Array<TimeSeriesPointDto>;
4437
+ /**
4438
+ * Period summary
4439
+ */
4440
+ summary: TrendSummaryDto;
4441
+ /**
4442
+ * Period requested
4443
+ */
4444
+ period: string;
4445
+ /**
4446
+ * Data granularity
4447
+ */
4448
+ granularity: string;
4449
+ /**
4450
+ * Base currency for converted values
4451
+ */
4452
+ currency: string;
4453
+ /**
4454
+ * Multi-currency time series (each point has currency breakdown)
4455
+ */
4456
+ byCurrency?: Array<MultiCurrencyPointDto>;
4457
+ /**
4458
+ * Exchange rate warnings
4459
+ */
4460
+ warnings?: Array<ExchangeRateWarningDto>;
4461
+ };
4462
+ type CashFlowPointDto = {
4463
+ /**
4464
+ * Month key (YYYY-MM)
4465
+ */
4466
+ month: string;
4467
+ /**
4468
+ * Income in base currency (absolute, converted)
4469
+ */
4470
+ income: string;
4471
+ /**
4472
+ * Expense in base currency (absolute, converted)
4473
+ */
4474
+ expense: string;
4475
+ /**
4476
+ * netSavings = income − expense (savings positive)
4477
+ */
4478
+ netSavings: string;
4479
+ };
4480
+ type CashFlowTrendSummaryDto = {
4481
+ /**
4482
+ * Total income across the period
4483
+ */
4484
+ totalIncome: string;
4485
+ /**
4486
+ * Total expense across the period
4487
+ */
4488
+ totalExpense: string;
4489
+ /**
4490
+ * income − expense across the period
4491
+ */
4492
+ totalNetSavings: string;
4493
+ /**
4494
+ * totalNetSavings divided by the window length (N months, incl. zero-filled)
4495
+ */
4496
+ averageMonthlyNetSavings: string;
4497
+ };
4498
+ type CashFlowTrendsResponseDto = {
4499
+ /**
4500
+ * Monthly cash-flow series (fixed N-month window, zero-filled)
4501
+ */
4502
+ series: Array<CashFlowPointDto>;
4503
+ /**
4504
+ * Period totals
4505
+ */
4506
+ summary: CashFlowTrendSummaryDto;
4507
+ /**
4508
+ * Period requested
4509
+ */
4510
+ period: string;
4511
+ /**
4512
+ * Data granularity (v1 returns month buckets)
4513
+ */
4514
+ granularity: string;
4515
+ /**
4516
+ * Base currency for converted values
4517
+ */
4518
+ currency: string;
4519
+ /**
4520
+ * Exchange rate warnings (e.g. missing rate for a currency)
4521
+ */
4522
+ warnings?: Array<ExchangeRateWarningDto>;
4523
+ };
4524
+ type GenerateSnapshotBody = unknown;
4525
+ type GenerateSnapshotResponse = unknown;
4526
+ type BackfillSnapshotsBody = unknown;
4527
+ type BackfillSnapshotsResponse = unknown;
4528
+ type AnonymousLoginDto = {
4529
+ /**
4530
+ * Access token for anonymous login
4531
+ */
4532
+ accessToken: string;
4533
+ };
4534
+ type AccountControllerCreateData = {
4535
+ /**
4536
+ * Region code for tenant context
4537
+ */
4538
+ region: 'cn' | 'us' | 'de' | 'gb';
4539
+ requestBody: CreateAccountDto;
4540
+ };
4541
+ type AccountControllerCreateResponse = AccountResponseDto;
4542
+ type AccountControllerFindAllData = {
4543
+ /**
4544
+ * Filter by custom (user-created) accounts only
4545
+ */
4546
+ isCustom?: boolean;
4547
+ /**
4548
+ * Maximum number of results
4549
+ */
4550
+ limit?: number;
4551
+ /**
4552
+ * Number of results to skip
4553
+ */
4554
+ offset?: number;
4555
+ /**
4556
+ * Region code for tenant context
4557
+ */
4558
+ region: 'cn' | 'us' | 'de' | 'gb';
4559
+ /**
4560
+ * Search term for path or i18nKey
4561
+ */
4562
+ search?: string;
4563
+ /**
4564
+ * Filter by status
4565
+ */
4566
+ status?: 'OPEN' | 'CLOSED' | 'SUSPENDED';
4567
+ /**
4568
+ * Filter by account type
4569
+ */
4570
+ type?: 'Assets' | 'Liabilities' | 'Income' | 'Expenses' | 'Equity';
4013
4571
  };
4014
4572
  type AccountControllerFindAllResponse = AccountListResponseDto;
4015
4573
  type AccountControllerFindOneData = {
@@ -4916,6 +5474,92 @@ type PropertyControllerDeleteData = {
4916
5474
  key: string;
4917
5475
  };
4918
5476
  type PropertyControllerDeleteResponse = void;
5477
+ type EventControllerCreateData = {
5478
+ /**
5479
+ * Region code for tenant context (decorative for life events)
5480
+ */
5481
+ region: 'cn' | 'us' | 'de' | 'gb';
5482
+ requestBody: CreateBeanEventDto;
5483
+ };
5484
+ type EventControllerCreateResponse = EventResponseDto;
5485
+ type EventControllerFindAllData = {
5486
+ /**
5487
+ * Filter life events from this date (ISO 8601 format)
5488
+ */
5489
+ from?: string;
5490
+ /**
5491
+ * Number of items per page (default: 20, max: 100)
5492
+ */
5493
+ limit?: number;
5494
+ /**
5495
+ * Page number for pagination (default: 1)
5496
+ */
5497
+ page?: number;
5498
+ /**
5499
+ * Search term for description (case-insensitive partial match)
5500
+ */
5501
+ q?: string;
5502
+ /**
5503
+ * Region code for tenant context (decorative for life events)
5504
+ */
5505
+ region: 'cn' | 'us' | 'de' | 'gb';
5506
+ /**
5507
+ * Filter life events to this date (ISO 8601 format)
5508
+ */
5509
+ to?: string;
5510
+ /**
5511
+ * Filter by life event type (exact match)
5512
+ */
5513
+ type?: string;
5514
+ };
5515
+ type EventControllerFindAllResponse = EventListResponseDto;
5516
+ type EventControllerFindOneData = {
5517
+ /**
5518
+ * Life event ID
5519
+ */
5520
+ id: string;
5521
+ /**
5522
+ * Region code for tenant context (decorative for life events)
5523
+ */
5524
+ region: 'cn' | 'us' | 'de' | 'gb';
5525
+ };
5526
+ type EventControllerFindOneResponse = EventResponseDto;
5527
+ type EventControllerUpdateData = {
5528
+ /**
5529
+ * Life event ID
5530
+ */
5531
+ id: string;
5532
+ /**
5533
+ * Region code for tenant context (decorative for life events)
5534
+ */
5535
+ region: 'cn' | 'us' | 'de' | 'gb';
5536
+ requestBody: UpdateBeanEventDto;
5537
+ };
5538
+ type EventControllerUpdateResponse = EventResponseDto;
5539
+ type EventControllerDeleteData = {
5540
+ /**
5541
+ * Life event ID
5542
+ */
5543
+ id: string;
5544
+ /**
5545
+ * Region code for tenant context (decorative for life events)
5546
+ */
5547
+ region: 'cn' | 'us' | 'de' | 'gb';
5548
+ };
5549
+ type EventControllerDeleteResponse = void;
5550
+ type EventControllerGetSliceData = {
5551
+ accountPattern: string;
5552
+ granularity: string;
5553
+ /**
5554
+ * Life event ID
5555
+ */
5556
+ id: string;
5557
+ /**
5558
+ * Region code for tenant context (decorative for life events)
5559
+ */
5560
+ region: 'cn' | 'us' | 'de' | 'gb';
5561
+ };
5562
+ type EventControllerGetSliceResponse = unknown;
4919
5563
  type ExportControllerExportBeancountResponse = unknown;
4920
5564
  type FileImportControllerImportFileData = {
4921
5565
  /**
@@ -5033,9 +5677,9 @@ type ProviderSyncControllerSyncData = {
5033
5677
  */
5034
5678
  providerName: 'plaid' | 'teller' | 'truelayer' | 'gocardless' | 'simplefin' | 'yodlee' | 'beancount-direct' | 'parsed-bill';
5035
5679
  /**
5036
- * Region code
5680
+ * Region code for tenant context
5037
5681
  */
5038
- region: unknown;
5682
+ region: 'cn' | 'us' | 'de' | 'gb';
5039
5683
  requestBody: ProviderSyncDto;
5040
5684
  };
5041
5685
  type ProviderSyncControllerSyncResponse = ProviderSyncResponseDto;
@@ -5045,96 +5689,223 @@ type ProviderSyncControllerGetSupportedProvidersData = {
5045
5689
  */
5046
5690
  region: 'cn' | 'us' | 'de' | 'gb';
5047
5691
  };
5048
- type ProviderSyncControllerGetSupportedProvidersResponse = SupportedProvidersResponseDto;
5049
- type ProviderSyncControllerIsProviderSupportedData = {
5692
+ type ProviderSyncControllerGetSupportedProvidersResponse = SupportedProvidersResponseDto;
5693
+ type ProviderSyncControllerIsProviderSupportedData = {
5694
+ /**
5695
+ * Provider name to check
5696
+ */
5697
+ providerName: string;
5698
+ /**
5699
+ * Region code for tenant context
5700
+ */
5701
+ region: 'cn' | 'us' | 'de' | 'gb';
5702
+ };
5703
+ type ProviderSyncControllerIsProviderSupportedResponse = unknown;
5704
+ type TelemetryControllerReportTelemetryData = {
5705
+ /**
5706
+ * Region code for tenant context
5707
+ */
5708
+ region: 'cn' | 'us' | 'de' | 'gb';
5709
+ requestBody: ParserTelemetryReportDto;
5710
+ };
5711
+ type TelemetryControllerReportTelemetryResponse = unknown;
5712
+ type TelemetryControllerReportCoverageMissData = {
5713
+ /**
5714
+ * Region code for tenant context
5715
+ */
5716
+ region: 'cn' | 'us' | 'de' | 'gb';
5717
+ requestBody: UncoveredFormatMissDto;
5718
+ };
5719
+ type TelemetryControllerReportCoverageMissResponse = unknown;
5720
+ type TelemetryControllerGetCoverageMetricsData = {
5721
+ /**
5722
+ * Region code for tenant context
5723
+ */
5724
+ region: 'cn' | 'us' | 'de' | 'gb';
5725
+ /**
5726
+ * Top-N uncovered formats (default 10)
5727
+ */
5728
+ topN?: unknown;
5729
+ };
5730
+ type TelemetryControllerGetCoverageMetricsResponse = unknown;
5731
+ type NlpControllerProcessNaturalLanguageData = {
5732
+ /**
5733
+ * Region code for tenant context
5734
+ */
5735
+ region: 'cn' | 'us' | 'de' | 'gb';
5736
+ /**
5737
+ * Natural language transaction input with optional session ID
5738
+ */
5739
+ requestBody: ProcessNlpDto;
5740
+ };
5741
+ type NlpControllerProcessNaturalLanguageResponse = NlpResponseDto;
5742
+ type NlpControllerClearSessionData = {
5743
+ /**
5744
+ * Region code for tenant context
5745
+ */
5746
+ region: 'cn' | 'us' | 'de' | 'gb';
5747
+ /**
5748
+ * Specific session ID to clear (defaults to user session)
5749
+ */
5750
+ sessionId?: string;
5751
+ };
5752
+ type NlpControllerClearSessionResponse = void;
5753
+ type NlpControllerGetSessionData = {
5754
+ /**
5755
+ * Region code for tenant context
5756
+ */
5757
+ region: 'cn' | 'us' | 'de' | 'gb';
5758
+ /**
5759
+ * Specific session ID to get (defaults to user session)
5760
+ */
5761
+ sessionId?: string;
5762
+ };
5763
+ type NlpControllerGetSessionResponse = unknown;
5764
+ type DashboardControllerGetNetWorthData = {
5765
+ /**
5766
+ * Date for balance calculation (ISO 8601 format)
5767
+ */
5768
+ date?: string;
5769
+ /**
5770
+ * Region code for tenant context
5771
+ */
5772
+ region: 'cn' | 'us' | 'de' | 'gb';
5773
+ };
5774
+ type DashboardControllerGetNetWorthResponse = NetWorthResponseDto;
5775
+ type DashboardControllerGetAccountsData = {
5776
+ /**
5777
+ * Scope to a single account (only valid with groupBy=holdingAssetClass, ADR-0105 §6)
5778
+ */
5779
+ accountId?: string;
5780
+ /**
5781
+ * Date for balance calculation (ISO 8601 format)
5782
+ */
5783
+ date?: string;
5784
+ /**
5785
+ * Grouping strategy
5786
+ */
5787
+ groupBy?: 'platform' | 'assetClass' | 'holdingAssetClass' | 'holdingAssetClassByAccount';
5788
+ /**
5789
+ * Region code for tenant context
5790
+ */
5791
+ region: 'cn' | 'us' | 'de' | 'gb';
5792
+ };
5793
+ type DashboardControllerGetAccountsResponse = AccountsResponseDto | AssetClassAccountsResponseDto | HoldingAssetClassCrossAccountResponseDto;
5794
+ type DashboardControllerGetCashFlowData = {
5050
5795
  /**
5051
- * Provider name to check
5796
+ * Period in YYYY-MM format
5052
5797
  */
5053
- providerName: string;
5798
+ period: string;
5054
5799
  /**
5055
5800
  * Region code for tenant context
5056
5801
  */
5057
5802
  region: 'cn' | 'us' | 'de' | 'gb';
5058
5803
  };
5059
- type ProviderSyncControllerIsProviderSupportedResponse = unknown;
5060
- type TelemetryControllerReportTelemetryData = {
5804
+ type DashboardControllerGetCashFlowResponse = CashFlowResponseDto;
5805
+ type HoldingPnlControllerGetHoldingPnlData = {
5806
+ /**
5807
+ * Scope to a single account
5808
+ */
5809
+ accountId?: string;
5810
+ /**
5811
+ * As-of date (ISO 8601), defaults to today
5812
+ */
5813
+ asOf?: string;
5814
+ /**
5815
+ * Realized-P&L lot-matching method (default average). Does not affect the average-cost unrealized basis.
5816
+ */
5817
+ method?: 'FIFO' | 'average';
5061
5818
  /**
5062
5819
  * Region code for tenant context
5063
5820
  */
5064
5821
  region: 'cn' | 'us' | 'de' | 'gb';
5065
- requestBody: ParserTelemetryReportDto;
5066
5822
  };
5067
- type TelemetryControllerReportTelemetryResponse = unknown;
5068
- type NlpControllerProcessNaturalLanguageData = {
5823
+ type HoldingPnlControllerGetHoldingPnlResponse = HoldingPnlResponseDto;
5824
+ type PriceControllerCreateData = {
5069
5825
  /**
5070
5826
  * Region code for tenant context
5071
5827
  */
5072
5828
  region: 'cn' | 'us' | 'de' | 'gb';
5829
+ requestBody: CreateBeanPriceDto;
5830
+ };
5831
+ type PriceControllerCreateResponse = PriceResponseDto;
5832
+ type PriceControllerFindAllData = {
5073
5833
  /**
5074
- * Natural language transaction input with optional session ID
5834
+ * Filter by currency (e.g., BTC, AAPL, USD)
5075
5835
  */
5076
- requestBody: ProcessNlpDto;
5077
- };
5078
- type NlpControllerProcessNaturalLanguageResponse = NlpResponseDto;
5079
- type NlpControllerClearSessionData = {
5836
+ currency?: string;
5080
5837
  /**
5081
- * Region code for tenant context
5838
+ * Filter prices from this date (ISO 8601 format)
5082
5839
  */
5083
- region: 'cn' | 'us' | 'de' | 'gb';
5840
+ dateFrom?: string;
5084
5841
  /**
5085
- * Specific session ID to clear (defaults to user session)
5842
+ * Filter prices to this date (ISO 8601 format)
5086
5843
  */
5087
- sessionId?: string;
5088
- };
5089
- type NlpControllerClearSessionResponse = void;
5090
- type NlpControllerGetSessionData = {
5844
+ dateTo?: string;
5845
+ /**
5846
+ * Number of items per page (default: 20, max: 100)
5847
+ */
5848
+ limit?: number;
5849
+ /**
5850
+ * Page number for pagination (default: 1)
5851
+ */
5852
+ page?: number;
5853
+ /**
5854
+ * Filter by quote currency (pricing currency, e.g., USD, CNY)
5855
+ */
5856
+ quoteCurrency?: string;
5091
5857
  /**
5092
5858
  * Region code for tenant context
5093
5859
  */
5094
5860
  region: 'cn' | 'us' | 'de' | 'gb';
5095
5861
  /**
5096
- * Specific session ID to get (defaults to user session)
5862
+ * Search term for currency or quoteCurrency (case-insensitive partial match)
5097
5863
  */
5098
- sessionId?: string;
5864
+ search?: string;
5099
5865
  };
5100
- type NlpControllerGetSessionResponse = unknown;
5101
- type DashboardControllerGetNetWorthData = {
5866
+ type PriceControllerFindAllResponse = PriceListResponseDto;
5867
+ type PriceControllerFindOneData = {
5102
5868
  /**
5103
- * Date for balance calculation (ISO 8601 format)
5869
+ * Price ID
5104
5870
  */
5105
- date?: string;
5871
+ id: string;
5106
5872
  /**
5107
5873
  * Region code for tenant context
5108
5874
  */
5109
5875
  region: 'cn' | 'us' | 'de' | 'gb';
5110
5876
  };
5111
- type DashboardControllerGetNetWorthResponse = NetWorthResponseDto;
5112
- type DashboardControllerGetAccountsData = {
5113
- /**
5114
- * Date for balance calculation (ISO 8601 format)
5115
- */
5116
- date?: string;
5877
+ type PriceControllerFindOneResponse = PriceResponseDto;
5878
+ type PriceControllerUpdateData = {
5117
5879
  /**
5118
- * Grouping strategy
5880
+ * Price ID
5119
5881
  */
5120
- groupBy?: 'platform' | 'assetClass';
5882
+ id: string;
5121
5883
  /**
5122
5884
  * Region code for tenant context
5123
5885
  */
5124
5886
  region: 'cn' | 'us' | 'de' | 'gb';
5887
+ requestBody: UpdateBeanPriceDto;
5125
5888
  };
5126
- type DashboardControllerGetAccountsResponse = AccountsResponseDto | AssetClassAccountsResponseDto;
5127
- type DashboardControllerGetCashFlowData = {
5889
+ type PriceControllerUpdateResponse = PriceResponseDto;
5890
+ type PriceControllerDeleteData = {
5128
5891
  /**
5129
- * Period in YYYY-MM format
5892
+ * Price ID
5130
5893
  */
5131
- period: string;
5894
+ id: string;
5132
5895
  /**
5133
5896
  * Region code for tenant context
5134
5897
  */
5135
5898
  region: 'cn' | 'us' | 'de' | 'gb';
5136
5899
  };
5137
- type DashboardControllerGetCashFlowResponse = CashFlowResponseDto;
5900
+ type PriceControllerDeleteResponse = void;
5901
+ type PriceControllerBulkCreateData = {
5902
+ /**
5903
+ * Region code for tenant context
5904
+ */
5905
+ region: 'cn' | 'us' | 'de' | 'gb';
5906
+ requestBody: Array<string>;
5907
+ };
5908
+ type PriceControllerBulkCreateResponse = Array<PriceResponseDto>;
5138
5909
  type ReportingControllerGetPortfolioTrendsData = {
5139
5910
  /**
5140
5911
  * Data granularity
@@ -5150,6 +5921,21 @@ type ReportingControllerGetPortfolioTrendsData = {
5150
5921
  region: 'cn' | 'us' | 'de' | 'gb';
5151
5922
  };
5152
5923
  type ReportingControllerGetPortfolioTrendsResponse = PortfolioTrendsResponseDto;
5924
+ type ReportingControllerGetCashFlowTrendsData = {
5925
+ /**
5926
+ * Data granularity (accepted for API symmetry; v1 returns month buckets)
5927
+ */
5928
+ granularity?: 'day' | 'week' | 'month';
5929
+ /**
5930
+ * Time period
5931
+ */
5932
+ period?: '1m' | '3m' | '6m' | '1y';
5933
+ /**
5934
+ * Region code for tenant context
5935
+ */
5936
+ region: 'cn' | 'us' | 'de' | 'gb';
5937
+ };
5938
+ type ReportingControllerGetCashFlowTrendsResponse = CashFlowTrendsResponseDto;
5153
5939
  type ReportingControllerGenerateSnapshotData = {
5154
5940
  /**
5155
5941
  * Region code for tenant context
@@ -6560,6 +7346,102 @@ type $OpenApiTs = {
6560
7346
  };
6561
7347
  };
6562
7348
  };
7349
+ '/api/v1/{region}/bean/events': {
7350
+ post: {
7351
+ req: EventControllerCreateData;
7352
+ res: {
7353
+ /**
7354
+ * Life event created successfully
7355
+ */
7356
+ 201: EventResponseDto;
7357
+ /**
7358
+ * Life event already exists for this (userId, type, date) combination
7359
+ */
7360
+ 409: unknown;
7361
+ };
7362
+ };
7363
+ get: {
7364
+ req: EventControllerFindAllData;
7365
+ res: {
7366
+ /**
7367
+ * Life events retrieved successfully
7368
+ */
7369
+ 200: EventListResponseDto;
7370
+ };
7371
+ };
7372
+ };
7373
+ '/api/v1/{region}/bean/events/{id}': {
7374
+ get: {
7375
+ req: EventControllerFindOneData;
7376
+ res: {
7377
+ /**
7378
+ * Life event retrieved successfully
7379
+ */
7380
+ 200: EventResponseDto;
7381
+ /**
7382
+ * Life event not found
7383
+ */
7384
+ 404: unknown;
7385
+ };
7386
+ };
7387
+ put: {
7388
+ req: EventControllerUpdateData;
7389
+ res: {
7390
+ /**
7391
+ * Life event updated successfully
7392
+ */
7393
+ 200: EventResponseDto;
7394
+ /**
7395
+ * If-Match header is not a valid ISO 8601 date
7396
+ */
7397
+ 400: unknown;
7398
+ /**
7399
+ * Life event not found
7400
+ */
7401
+ 404: unknown;
7402
+ /**
7403
+ * Updated event conflicts with an existing (userId, type, date) combination
7404
+ */
7405
+ 409: unknown;
7406
+ /**
7407
+ * If-Match precondition failed (updatedAt mismatch)
7408
+ */
7409
+ 412: unknown;
7410
+ };
7411
+ };
7412
+ delete: {
7413
+ req: EventControllerDeleteData;
7414
+ res: {
7415
+ /**
7416
+ * Life event deleted successfully
7417
+ */
7418
+ 204: void;
7419
+ /**
7420
+ * Life event not found
7421
+ */
7422
+ 404: unknown;
7423
+ };
7424
+ };
7425
+ };
7426
+ '/api/v1/{region}/bean/events/{id}/slice': {
7427
+ get: {
7428
+ req: EventControllerGetSliceData;
7429
+ res: {
7430
+ /**
7431
+ * Time-series sliced by the life event range
7432
+ */
7433
+ 200: unknown;
7434
+ /**
7435
+ * accountPattern query param is empty
7436
+ */
7437
+ 400: unknown;
7438
+ /**
7439
+ * Life event not found
7440
+ */
7441
+ 404: unknown;
7442
+ };
7443
+ };
7444
+ };
6563
7445
  '/api/v1/{region}/bean/export/beancount': {
6564
7446
  get: {
6565
7447
  res: {
@@ -6850,6 +7732,32 @@ type $OpenApiTs = {
6850
7732
  };
6851
7733
  };
6852
7734
  };
7735
+ '/api/v1/{region}/bean/import/parser-coverage-miss': {
7736
+ post: {
7737
+ req: TelemetryControllerReportCoverageMissData;
7738
+ res: {
7739
+ /**
7740
+ * Coverage miss report received
7741
+ */
7742
+ 200: unknown;
7743
+ /**
7744
+ * Unauthorized
7745
+ */
7746
+ 401: unknown;
7747
+ };
7748
+ };
7749
+ };
7750
+ '/api/v1/{region}/bean/import/parser-coverage-metrics': {
7751
+ get: {
7752
+ req: TelemetryControllerGetCoverageMetricsData;
7753
+ res: {
7754
+ /**
7755
+ * Coverage metrics
7756
+ */
7757
+ 200: unknown;
7758
+ };
7759
+ };
7760
+ };
6853
7761
  '/api/v1/{region}/bean/nlp/process': {
6854
7762
  post: {
6855
7763
  req: NlpControllerProcessNaturalLanguageData;
@@ -6919,7 +7827,7 @@ type $OpenApiTs = {
6919
7827
  /**
6920
7828
  * Accounts retrieved successfully. Response type depends on groupBy parameter.
6921
7829
  */
6922
- 200: AccountsResponseDto | AssetClassAccountsResponseDto;
7830
+ 200: AccountsResponseDto | AssetClassAccountsResponseDto | HoldingAssetClassCrossAccountResponseDto;
6923
7831
  /**
6924
7832
  * User not authenticated
6925
7833
  */
@@ -6946,6 +7854,109 @@ type $OpenApiTs = {
6946
7854
  };
6947
7855
  };
6948
7856
  };
7857
+ '/api/v1/{region}/investment/holdings/pnl': {
7858
+ get: {
7859
+ req: HoldingPnlControllerGetHoldingPnlData;
7860
+ res: {
7861
+ /**
7862
+ * Holding P&L retrieved successfully
7863
+ */
7864
+ 200: HoldingPnlResponseDto;
7865
+ /**
7866
+ * Invalid asOf format/value/future date, invalid accountId format, or unsupported method
7867
+ */
7868
+ 400: unknown;
7869
+ /**
7870
+ * User not authenticated
7871
+ */
7872
+ 401: unknown;
7873
+ };
7874
+ };
7875
+ };
7876
+ '/api/v1/{region}/bean/prices': {
7877
+ post: {
7878
+ req: PriceControllerCreateData;
7879
+ res: {
7880
+ /**
7881
+ * Price created successfully
7882
+ */
7883
+ 201: PriceResponseDto;
7884
+ /**
7885
+ * Currency or quoteCurrency commodity not found
7886
+ */
7887
+ 404: unknown;
7888
+ /**
7889
+ * Price already exists for this currency pair and date
7890
+ */
7891
+ 409: unknown;
7892
+ };
7893
+ };
7894
+ get: {
7895
+ req: PriceControllerFindAllData;
7896
+ res: {
7897
+ /**
7898
+ * Prices retrieved successfully
7899
+ */
7900
+ 200: PriceListResponseDto;
7901
+ };
7902
+ };
7903
+ };
7904
+ '/api/v1/{region}/bean/prices/{id}': {
7905
+ get: {
7906
+ req: PriceControllerFindOneData;
7907
+ res: {
7908
+ /**
7909
+ * Price retrieved successfully
7910
+ */
7911
+ 200: PriceResponseDto;
7912
+ /**
7913
+ * Price not found
7914
+ */
7915
+ 404: unknown;
7916
+ };
7917
+ };
7918
+ put: {
7919
+ req: PriceControllerUpdateData;
7920
+ res: {
7921
+ /**
7922
+ * Price updated successfully
7923
+ */
7924
+ 200: PriceResponseDto;
7925
+ /**
7926
+ * Price not found
7927
+ */
7928
+ 404: unknown;
7929
+ /**
7930
+ * Updated price conflicts with existing price
7931
+ */
7932
+ 409: unknown;
7933
+ };
7934
+ };
7935
+ delete: {
7936
+ req: PriceControllerDeleteData;
7937
+ res: {
7938
+ /**
7939
+ * Price deleted successfully
7940
+ */
7941
+ 204: void;
7942
+ /**
7943
+ * Price not found
7944
+ */
7945
+ 404: unknown;
7946
+ };
7947
+ };
7948
+ };
7949
+ '/api/v1/{region}/bean/prices/bulk': {
7950
+ post: {
7951
+ req: PriceControllerBulkCreateData;
7952
+ res: {
7953
+ /**
7954
+ * Prices created successfully
7955
+ */
7956
+ 201: Array<PriceResponseDto>;
7957
+ };
7958
+ };
7959
+ };
6949
7960
  '/api/v1/{region}/reporting/portfolio/trends': {
6950
7961
  get: {
6951
7962
  req: ReportingControllerGetPortfolioTrendsData;
@@ -6961,6 +7972,21 @@ type $OpenApiTs = {
6961
7972
  };
6962
7973
  };
6963
7974
  };
7975
+ '/api/v1/{region}/reporting/cash-flow/trends': {
7976
+ get: {
7977
+ req: ReportingControllerGetCashFlowTrendsData;
7978
+ res: {
7979
+ /**
7980
+ * Cash-flow trends retrieved successfully
7981
+ */
7982
+ 200: CashFlowTrendsResponseDto;
7983
+ /**
7984
+ * User not authenticated
7985
+ */
7986
+ 401: unknown;
7987
+ };
7988
+ };
7989
+ };
6964
7990
  '/api/v1/{region}/reporting/snapshots/generate': {
6965
7991
  post: {
6966
7992
  req: ReportingControllerGenerateSnapshotData;
@@ -7469,7 +8495,7 @@ declare class ProviderSyncService {
7469
8495
  *
7470
8496
  * @param data The data for the request.
7471
8497
  * @param data.providerName Provider name
7472
- * @param data.region Region code
8498
+ * @param data.region Region code for tenant context
7473
8499
  * @param data.requestBody
7474
8500
  * @returns ProviderSyncResponseDto Sync completed successfully
7475
8501
  * @throws ApiError
@@ -7582,4 +8608,4 @@ type OpenAPIConfig = {
7582
8608
  };
7583
8609
  declare const OpenAPI: OpenAPIConfig;
7584
8610
 
7585
- export { type $OpenApiTs, type AccountControllerCloseData, type AccountControllerCloseResponse, type AccountControllerCreateData, type AccountControllerCreateResponse, type AccountControllerDeleteData, type AccountControllerDeleteResponse, type AccountControllerFindAllData, type AccountControllerFindAllResponse, type AccountControllerFindOneData, type AccountControllerFindOneResponse, type AccountControllerReopenData, type AccountControllerReopenResponse, type AccountControllerUpdateData, type AccountControllerUpdateResponse, type AccountExchangeRateWarningDto, type AccountItemDto, type AccountItemWithAssetClassDto, type AccountListResponseDto, type AccountResponseDto, type AccountStandardListResponseDto, type AccountStandardResponseDto, type AccountStandardsControllerGetRegionsData, type AccountStandardsControllerGetRegionsResponse, type AccountStandardsControllerGetTemplateMetadataData, type AccountStandardsControllerGetTemplateMetadataResponse, type AccountStandardsControllerGetTemplatesData, type AccountStandardsControllerGetTemplatesResponse, type AccountsResponseDto, type AccountsSummaryDto, type AmountRangeDto, type AnonymousLoginDto, type ApiKeysControllerCreateApiKeyResponse, type ApiProblemResponseDto, type AssetClassAccountsResponseDto, type AssetClassGroupDto, type AssetClassSummaryDto, type AuthControllerAccessTokenLoginData, type AuthControllerAccessTokenLoginResponse, type BackfillSnapshotsBody, type BackfillSnapshotsResponse, type BalanceByCurrencyDto, type BalanceControllerGetBalanceData, type BalanceControllerGetBalanceResponse, type BalanceControllerGetMultiCurrencyBalanceData, type BalanceControllerGetMultiCurrencyBalanceResponse, type BalanceResponseDto, type BatchCreateTransactionDto, type BatchResolveDto, type BatchResolveResultDto, type BatchTransactionErrorDto, type BatchTransactionResponseDto, BeanAccountsService, BeanBalancesService, BeanCommoditiesService, BeanTransactionsService, type BulkCreateRulesDto, type BulkCreateRulesResponseDto, type CacheControllerFlushCacheResponse, type CashFlowByCurrencyDto, type CashFlowResponseDto, type CloseAccountDto, type CommodityControllerBulkCreateData, type CommodityControllerBulkCreateResponse, type CommodityControllerCreateData, type CommodityControllerCreateResponse, type CommodityControllerDeleteData, type CommodityControllerDeleteResponse, type CommodityControllerFindAllData, type CommodityControllerFindAllResponse, type CommodityControllerFindOneData, type CommodityControllerFindOneResponse, type CommodityControllerGetOrCreateData, type CommodityControllerGetOrCreateResponse, type CommodityControllerUpdateData, type CommodityControllerUpdateResponse, type CommodityListResponseDto, type CommodityResponseDto, type ConfirmMatchDto, type ConvertedCashFlowDto, type ConvertedNetWorthDto, type CorrectTransactionDto, type CreateAccountDto, type CreateCommodityDto, type CreatePayeeDto, type CreatePayeeProfileDto, type CreatePlatformDto, type CreatePostingDto, type CreateRecurringRuleDto, type CreateRuleFromTransactionDto, type CreateTransactionDto, type CreateTransactionRuleDto, type CurrencyBalanceDto, type DashboardControllerGetAccountsData, type DashboardControllerGetAccountsResponse, type DashboardControllerGetCashFlowData, type DashboardControllerGetCashFlowResponse, type DashboardControllerGetNetWorthData, type DashboardControllerGetNetWorthResponse, type DecisionOptionDto, type DeleteOwnUserDto, type EnterNowDto, type ExchangeRateControllerGetExchangeRateData, type ExchangeRateControllerGetExchangeRateResponse, type ExchangeRateWarningDto, type ExpectedTransactionControllerConfirmMatchData, type ExpectedTransactionControllerConfirmMatchResponse, type ExpectedTransactionControllerEnterNowData, type ExpectedTransactionControllerEnterNowResponse, type ExpectedTransactionControllerFindAllData, type ExpectedTransactionControllerFindAllResponse, type ExpectedTransactionControllerFindOneData, type ExpectedTransactionControllerFindOneResponse, type ExpectedTransactionControllerFindOverdueData, type ExpectedTransactionControllerFindOverdueResponse, type ExpectedTransactionControllerSkipData, type ExpectedTransactionControllerSkipResponse, type ExpectedTransactionControllerUndoSkipData, type ExpectedTransactionControllerUndoSkipResponse, type ExpectedTransactionControllerUnmatchData, type ExpectedTransactionControllerUnmatchResponse, type ExpectedTransactionListResponseDto, type ExpectedTransactionResponseDto, type ExpectedTransactionRuleDto, type ExportControllerExportBeancountResponse, type ExportRulesResponseDto, type FileImportControllerIdentifyFileData, type FileImportControllerIdentifyFileResponse, type FileImportControllerImportBeancountData, type FileImportControllerImportBeancountResponse, type FileImportControllerImportFileData, type FileImportControllerImportFileResponse, type FileImportDto, type ForecastControllerGetForecastData, type ForecastControllerGetForecastResponse, type ForecastItemDto, type ForecastResponseDto, type GenerateSnapshotBody, type GenerateSnapshotResponse, type HealthControllerCheckDatabaseResponse, type HealthControllerCheckOpenBbResponse, type HealthControllerCheckRedisResponse, type HealthControllerGetCircuitBreakersHealthResponse, type HealthControllerGetHealthResponse, type HealthControllerGetMetricsResponse, type HealthControllerResetCircuitBreakerData, type HealthControllerResetCircuitBreakerResponse, HealthService, type IdentifyResultDto, type ImportErrorDto, type ImportResultDto, type ImporterConfigControllerGetConfigData, type ImporterConfigControllerGetConfigResponse, type ImporterConfigControllerResetConfigData, type ImporterConfigControllerResetConfigResponse, type ImporterConfigControllerUpdateConfigData, type ImporterConfigControllerUpdateConfigResponse, type ImporterConfigDataDto, type ImporterConfigDto, type InfoControllerGetInfoResponse, type MapperDefaultsDto, type MonthlyForecastDto, type MultiCurrencyBalanceResponseDto, type MultiCurrencyPointDto, type NetWorthByCurrencyDto, type NetWorthResponseDto, type NlpAccountConfirmationDataDto, type NlpAlternativePayeeDto, type NlpControllerClearSessionData, type NlpControllerClearSessionResponse, type NlpControllerGetSessionData, type NlpControllerGetSessionResponse, type NlpControllerProcessNaturalLanguageData, type NlpControllerProcessNaturalLanguageResponse, type NlpDefaultAccountsDto, type NlpDuplicateConfirmationDataDto, type NlpParsedDataDto, type NlpPayeeConfirmationDataDto, type NlpResponseDto, type NlpRuleConfirmationDataDto, type NlpSimilarityDto, type NlpSourceTransactionDto, type NlpSuggestedAccountDto, type NlpSuggestedAccountsDto, type NlpSuggestedPayeeDto, type NlpTargetTransactionDto, type NlpTransactionInfoDto, OpenAPI, type OpenAPIConfig, type ParserTelemetryReportDto, type PayeeAutocompleteResponseDto, type PayeeControllerAutocompleteData, type PayeeControllerAutocompleteResponse, type PayeeControllerCreateData, type PayeeControllerCreateResponse, type PayeeControllerDeleteData, type PayeeControllerDeleteResponse, type PayeeControllerFindAllData, type PayeeControllerFindAllResponse, type PayeeControllerFindOneData, type PayeeControllerFindOneResponse, type PayeeControllerGetTopPayeesData, type PayeeControllerGetTopPayeesResponse, type PayeeControllerUpdateData, type PayeeControllerUpdateResponse, type PayeeListResponseDto, type PayeeProfileAdminControllerCreateData, type PayeeProfileAdminControllerCreateResponse, type PayeeProfileAdminControllerDeleteData, type PayeeProfileAdminControllerDeleteResponse, type PayeeProfileAdminControllerFindAllData, type PayeeProfileAdminControllerFindAllResponse, type PayeeProfileAdminControllerFindOneData, type PayeeProfileAdminControllerFindOneResponse, type PayeeProfileAdminControllerUnverifyData, type PayeeProfileAdminControllerUnverifyResponse, type PayeeProfileAdminControllerUpdateData, type PayeeProfileAdminControllerUpdateResponse, type PayeeProfileAdminControllerVerifyData, type PayeeProfileAdminControllerVerifyResponse, type PayeeProfileListResponseDto, type PayeeProfileResponseDto, type PayeeResponseDto, type PayeeStatsResponseDto, type PlatformControllerCreateData, type PlatformControllerCreateResponse, type PlatformControllerDeleteData, type PlatformControllerDeleteResponse, type PlatformControllerFindAllResponse, type PlatformControllerGetPlatformListResponse, type PlatformControllerMatchPlatformsData, type PlatformControllerMatchPlatformsResponse, type PlatformControllerUpdateData, type PlatformControllerUpdateResponse, type PlatformGroupDto, type PortfolioTrendsResponseDto, type PostingDetailDto, type PostingResponseDto, type ProcessNlpDto, type PropertyControllerDeleteData, type PropertyControllerDeleteResponse, type PropertyControllerGetAllResponse, type PropertyControllerGetByKeyData, type PropertyControllerGetByKeyResponse, type PropertyControllerUpdateData, type PropertyControllerUpdateResponse, type ProviderSyncConfigDto, type ProviderSyncControllerGetSupportedProvidersData, type ProviderSyncControllerGetSupportedProvidersResponse, type ProviderSyncControllerIsProviderSupportedData, type ProviderSyncControllerIsProviderSupportedResponse, type ProviderSyncControllerSyncData, type ProviderSyncControllerSyncResponse, type ProviderSyncDto, type ProviderSyncResponseDto, ProviderSyncService, type RecurringMatchInfoDto, type RecurringRuleControllerCreateData, type RecurringRuleControllerCreateFromTransactionData, type RecurringRuleControllerCreateFromTransactionResponse, type RecurringRuleControllerCreateResponse, type RecurringRuleControllerDeleteData, type RecurringRuleControllerDeleteResponse, type RecurringRuleControllerFindAllData, type RecurringRuleControllerFindAllResponse, type RecurringRuleControllerFindOneData, type RecurringRuleControllerFindOneResponse, type RecurringRuleControllerGetWithStatsData, type RecurringRuleControllerGetWithStatsResponse, type RecurringRuleControllerUpdateData, type RecurringRuleControllerUpdateResponse, type RecurringRuleResponseDto, type RecurringRuleWithStatsResponseDto, type RecurringSuggestionDto, type RegionConfigDto, type RegionInfoDto, type RegionsMetadataResponseDto, type ReopenAccountDto, type ReportingControllerBackfillSnapshotsData, type ReportingControllerBackfillSnapshotsResponse, type ReportingControllerGenerateSnapshotData, type ReportingControllerGenerateSnapshotResponse, type ReportingControllerGetPortfolioTrendsData, type ReportingControllerGetPortfolioTrendsResponse, type ResolveResultDto, type ResolveReviewDto, type ReviewControllerBatchResolveData, type ReviewControllerBatchResolveResponse, type ReviewControllerFindAllData, type ReviewControllerFindAllResponse, type ReviewControllerFindOneData, type ReviewControllerFindOneResponse, type ReviewControllerGetStatsData, type ReviewControllerGetStatsResponse, type ReviewControllerResolveData, type ReviewControllerResolveResponse, type ReviewControllerUndoData, type ReviewControllerUndoResponse, type ReviewDetailDto, type ReviewItemPreviewDto, type ReviewListResponseDto, type ReviewStatsDto, type ReviewSummaryDto, type RuleStatisticsResponseDto, type SignupDto, type SupportedProvidersResponseDto, type TagSuggestionDto, type TagSuggestionsResponseDto, type TelemetryControllerReportTelemetryData, type TelemetryControllerReportTelemetryResponse, type TemplateMetadataDto, type TemplateMetadataResponseDto, type TestRuleDto, type TestRuleResponseDto, type TimeSeriesPointDto, type TransactionControllerCorrectData, type TransactionControllerCorrectResponse, type TransactionControllerCreateBatchData, type TransactionControllerCreateBatchResponse, type TransactionControllerCreateData, type TransactionControllerCreateResponse, type TransactionControllerDeleteData, type TransactionControllerDeleteResponse, type TransactionControllerGetDetailData, type TransactionControllerGetDetailResponse, type TransactionControllerListData, type TransactionControllerListResponse, type TransactionControllerSuggestTagsData, type TransactionControllerSuggestTagsResponse, type TransactionControllerUpdateData, type TransactionControllerUpdateResponse, type TransactionDetailDto, type TransactionListResponseDto, type TransactionResponseDto, type TransactionRuleControllerBulkCreateData, type TransactionRuleControllerBulkCreateResponse, type TransactionRuleControllerCreateData, type TransactionRuleControllerCreateResponse, type TransactionRuleControllerDeleteData, type TransactionRuleControllerDeleteResponse, type TransactionRuleControllerExportData, type TransactionRuleControllerExportResponse, type TransactionRuleControllerGetDetailData, type TransactionRuleControllerGetDetailResponse, type TransactionRuleControllerGetStatisticsData, type TransactionRuleControllerGetStatisticsResponse, type TransactionRuleControllerListData, type TransactionRuleControllerListResponse, type TransactionRuleControllerTestData, type TransactionRuleControllerTestResponse, type TransactionRuleControllerUpdateData, type TransactionRuleControllerUpdateResponse, type TransactionRuleControllerValidateData, type TransactionRuleControllerValidateResponse, type TransactionRuleListResponseDto, type TransactionRuleResponseDto, type TransactionSummaryDto, type TrendSummaryDto, type UndoResultDto, type UpdateAccountDto, type UpdateCommodityDto, type UpdateConfigDataDto, type UpdateImporterConfigDto, type UpdateMapperDefaultsDto, type UpdatePayeeDto, type UpdatePayeeProfileDto, type UpdatePlatformDto, type UpdatePropertyDto, type UpdateRecurringRuleDto, type UpdateTransactionDto, type UpdateTransactionRuleDto, type UpdateUserSettingDto, type UserControllerDeleteOwnUserData, type UserControllerDeleteOwnUserResponse, type UserControllerDeleteUserData, type UserControllerDeleteUserResponse, type UserControllerGetAllUserSettingsByPageData, type UserControllerGetAllUserSettingsByPageResponse, type UserControllerGetAssetLiabilitySummaryResponse, type UserControllerGetUserData, type UserControllerGetUserInfoData, type UserControllerGetUserInfoResponse, type UserControllerGetUserResponse, type UserControllerSignupUserData, type UserControllerSignupUserResponse, type UserControllerUpdateUserSettingData, type UserControllerUpdateUserSettingResponse, type ValidateRuleDto, type ValidateRuleResponseDto, type VersionedConfigDto, type action, type action2, type assetClass, type assetSubType, type bookingMethod, type branchType, type category, type colorScheme, type confidenceLevel, type conflictStrategy, type dataSource, type equitySubType, type flag, type flag2, type frequency, type importerId, type intent, type investmentAction, type learningSource, type liabilitySubType, type matchLogic, type paymentSource, type period, type source, type status, type status2, type status3, type status4, type suggestedFrequency, type type, type type2, type type3, type value, type viewMode };
8611
+ 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 CashFlowPointDto, type CashFlowResponseDto, type CashFlowTrendSummaryDto, type CashFlowTrendsResponseDto, 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 CreateBeanEventDto, type CreateBeanPriceDto, type CreateCommodityDto, type CreatePayeeDto, type CreatePayeeProfileDto, type CreatePlatformDto, type CreatePostingDto, type CreateRecurringRuleDto, type CreateRuleFromTransactionDto, type CreateTransactionDto, type CreateTransactionRuleDto, type CurrencyBalanceDto, type CurrentPriceDto, type DashboardControllerGetAccountsData, type DashboardControllerGetAccountsResponse, type DashboardControllerGetCashFlowData, type DashboardControllerGetCashFlowResponse, type DashboardControllerGetNetWorthData, type DashboardControllerGetNetWorthResponse, type DecisionOptionDto, type DeleteOwnUserDto, type EnterNowDto, type EventControllerCreateData, type EventControllerCreateResponse, type EventControllerDeleteData, type EventControllerDeleteResponse, type EventControllerFindAllData, type EventControllerFindAllResponse, type EventControllerFindOneData, type EventControllerFindOneResponse, type EventControllerGetSliceData, type EventControllerGetSliceResponse, type EventControllerUpdateData, type EventControllerUpdateResponse, type EventListResponseDto, type EventResponseDto, type ExchangeRateControllerGetExchangeRateData, type ExchangeRateControllerGetExchangeRateResponse, type ExchangeRateWarningDto, type ExpectedTransactionControllerConfirmMatchData, type ExpectedTransactionControllerConfirmMatchResponse, type ExpectedTransactionControllerEnterNowData, type ExpectedTransactionControllerEnterNowResponse, type ExpectedTransactionControllerFindAllData, type ExpectedTransactionControllerFindAllResponse, type ExpectedTransactionControllerFindOneData, type ExpectedTransactionControllerFindOneResponse, type ExpectedTransactionControllerFindOverdueData, type ExpectedTransactionControllerFindOverdueResponse, type ExpectedTransactionControllerSkipData, type ExpectedTransactionControllerSkipResponse, type ExpectedTransactionControllerUndoSkipData, type ExpectedTransactionControllerUndoSkipResponse, type ExpectedTransactionControllerUnmatchData, type ExpectedTransactionControllerUnmatchResponse, type ExpectedTransactionListResponseDto, type ExpectedTransactionResponseDto, type ExpectedTransactionRuleDto, type 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 ReportingControllerGetCashFlowTrendsData, type ReportingControllerGetCashFlowTrendsResponse, type ReportingControllerGetPortfolioTrendsData, type ReportingControllerGetPortfolioTrendsResponse, type ResolveResultDto, type ResolveReviewDto, type ReviewControllerBatchResolveData, type ReviewControllerBatchResolveResponse, type ReviewControllerFindAllData, type ReviewControllerFindAllResponse, type ReviewControllerFindOneData, type ReviewControllerFindOneResponse, type ReviewControllerGetStatsData, type ReviewControllerGetStatsResponse, type ReviewControllerResolveData, type ReviewControllerResolveResponse, type ReviewControllerUndoData, type ReviewControllerUndoResponse, type ReviewDetailDto, type ReviewItemPreviewDto, type ReviewListResponseDto, type ReviewStatsDto, type ReviewSummaryDto, type RuleStatisticsResponseDto, type SignupDto, type SupportedProvidersResponseDto, type TagSuggestionDto, type TagSuggestionsResponseDto, type TelemetryControllerGetCoverageMetricsData, type TelemetryControllerGetCoverageMetricsResponse, type TelemetryControllerReportCoverageMissData, type TelemetryControllerReportCoverageMissResponse, type TelemetryControllerReportTelemetryData, type TelemetryControllerReportTelemetryResponse, type TemplateMetadataDto, type TemplateMetadataResponseDto, type TestRuleDto, type TestRuleResponseDto, type TimeSeriesPointDto, type TransactionControllerCorrectData, type TransactionControllerCorrectResponse, type TransactionControllerCreateBatchData, type TransactionControllerCreateBatchResponse, type TransactionControllerCreateData, type TransactionControllerCreateResponse, type TransactionControllerDeleteData, type TransactionControllerDeleteResponse, type TransactionControllerGetDetailData, type TransactionControllerGetDetailResponse, type TransactionControllerListData, type TransactionControllerListResponse, type TransactionControllerSuggestTagsData, type TransactionControllerSuggestTagsResponse, type TransactionControllerUpdateData, type TransactionControllerUpdateResponse, type TransactionDetailDto, type TransactionListResponseDto, type TransactionResponseDto, type TransactionRuleControllerBulkCreateData, type TransactionRuleControllerBulkCreateResponse, type TransactionRuleControllerCreateData, type TransactionRuleControllerCreateResponse, type TransactionRuleControllerDeleteData, type TransactionRuleControllerDeleteResponse, type TransactionRuleControllerExportData, type TransactionRuleControllerExportResponse, type TransactionRuleControllerGetDetailData, type TransactionRuleControllerGetDetailResponse, type TransactionRuleControllerGetStatisticsData, type TransactionRuleControllerGetStatisticsResponse, type TransactionRuleControllerListData, type TransactionRuleControllerListResponse, type TransactionRuleControllerTestData, type TransactionRuleControllerTestResponse, type TransactionRuleControllerUpdateData, type TransactionRuleControllerUpdateResponse, type TransactionRuleControllerValidateData, type TransactionRuleControllerValidateResponse, type TransactionRuleListResponseDto, type TransactionRuleResponseDto, type TransactionSummaryDto, type TrendSummaryDto, type UncoveredFormatMissDto, type UndoResultDto, type UpdateAccountDto, type UpdateBeanEventDto, type UpdateBeanPriceDto, type UpdateCommodityDto, type UpdateConfigDataDto, type UpdateImporterConfigDto, type UpdateMapperDefaultsDto, type UpdatePayeeDto, type UpdatePayeeProfileDto, type UpdatePlatformDto, type UpdatePropertyDto, type UpdateRecurringRuleDto, type UpdateTransactionDto, type UpdateTransactionRuleDto, type UpdateUserSettingDto, type UserControllerDeleteOwnUserData, type UserControllerDeleteOwnUserResponse, type UserControllerDeleteUserData, type UserControllerDeleteUserResponse, type UserControllerGetAllUserSettingsByPageData, type UserControllerGetAllUserSettingsByPageResponse, type UserControllerGetAssetLiabilitySummaryResponse, type UserControllerGetUserData, type UserControllerGetUserInfoData, type UserControllerGetUserInfoResponse, type UserControllerGetUserResponse, type UserControllerSignupUserData, type UserControllerSignupUserResponse, type UserControllerUpdateUserSettingData, type UserControllerUpdateUserSettingResponse, type ValidateRuleDto, type ValidateRuleResponseDto, type VersionedConfigDto, type action, type action2, type assetClass, type assetSubType, type bookingMethod, type branchType, type category, type chartToken, type colorScheme, type confidenceLevel, type conflictStrategy, type dataSource, type equitySubType, type flag, type flag2, type frequency, type importerId, type intent, type investmentAction, type learningSource, type liabilitySubType, type matchLogic, type method, type mode, type paymentSource, type period, type source, type source2, type source3, type status, type status2, type status3, type status4, type suggestedFrequency, type type, type type2, type type3, type type4, type value, type viewMode };