@firela/api-types 0.0.0-canary.ebb51de2 → 0.0.0-canary.efbd2b9a

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
@@ -1172,17 +1172,17 @@ type ResolveResultDto = {
1172
1172
  [key: string]: string;
1173
1173
  };
1174
1174
  /**
1175
- * Resolution ID for undo
1175
+ * Resolution ID for undo. Absent when the resolver rejected the decision (review stayed PENDING).
1176
1176
  */
1177
- resolutionId: string;
1177
+ resolutionId?: string;
1178
1178
  /**
1179
1179
  * Whether this decision can be undone
1180
1180
  */
1181
- canUndo: boolean;
1181
+ canUndo?: boolean;
1182
1182
  /**
1183
1183
  * Deadline for undo (24h from resolution)
1184
1184
  */
1185
- undoDeadline: string;
1185
+ undoDeadline?: string;
1186
1186
  /**
1187
1187
  * Rule ID if learning was triggered (ACCEPT_AND_LEARN actions). Use this to deep-link to the rule management page.
1188
1188
  */
@@ -3037,6 +3037,32 @@ type ProviderSyncDto = {
3037
3037
  */
3038
3038
  transactions: unknown[];
3039
3039
  };
3040
+ type ProviderSyncResponseDto = {
3041
+ /**
3042
+ * Number of transactions successfully imported
3043
+ */
3044
+ imported: number;
3045
+ /**
3046
+ * Number of transactions skipped (duplicates)
3047
+ */
3048
+ skipped: number;
3049
+ /**
3050
+ * Number of transactions pending review
3051
+ */
3052
+ pendingReview: number;
3053
+ /**
3054
+ * Number of transactions that failed to import
3055
+ */
3056
+ failed: number;
3057
+ /**
3058
+ * IDs of successfully imported transactions
3059
+ */
3060
+ importedTransactionIds?: Array<string>;
3061
+ /**
3062
+ * IDs of review items created for branched transactions
3063
+ */
3064
+ reviewItemIds?: Array<string>;
3065
+ };
3040
3066
  type SupportedProvidersResponseDto = {
3041
3067
  /**
3042
3068
  * List of supported provider names
@@ -3061,6 +3087,523 @@ type ProcessNlpDto = {
3061
3087
  [key: string]: unknown;
3062
3088
  };
3063
3089
  };
3090
+ type NlpTransactionInfoDto = {
3091
+ /**
3092
+ * Transaction ID
3093
+ */
3094
+ id: string;
3095
+ /**
3096
+ * Transaction date (ISO format)
3097
+ */
3098
+ date: string;
3099
+ /**
3100
+ * Transaction amount
3101
+ */
3102
+ amount: number;
3103
+ /**
3104
+ * Currency code
3105
+ */
3106
+ currency: string;
3107
+ /**
3108
+ * Payee name
3109
+ */
3110
+ payee?: string;
3111
+ /**
3112
+ * Transaction narration
3113
+ */
3114
+ narration?: string;
3115
+ /**
3116
+ * Warning message for special transaction scenarios (e.g., cross-currency settlement)
3117
+ */
3118
+ warning?: string;
3119
+ };
3120
+ type NlpParsedDataDto = {
3121
+ /**
3122
+ * Extracted amount
3123
+ */
3124
+ amount?: number;
3125
+ /**
3126
+ * Currency code
3127
+ */
3128
+ currency?: string;
3129
+ /**
3130
+ * Transaction date (ISO format)
3131
+ */
3132
+ date?: string;
3133
+ /**
3134
+ * Payee name
3135
+ */
3136
+ payee?: string;
3137
+ /**
3138
+ * Transaction narration
3139
+ */
3140
+ narration?: string;
3141
+ /**
3142
+ * Category
3143
+ */
3144
+ category?: string;
3145
+ /**
3146
+ * Income type (e.g., Salary, Bonus, Dividend, Interest)
3147
+ */
3148
+ incomeType?: string;
3149
+ /**
3150
+ * Income source (e.g., company name)
3151
+ */
3152
+ incomeSource?: string;
3153
+ /**
3154
+ * Security symbol code (e.g., 600519, AAPL)
3155
+ */
3156
+ symbol?: string;
3157
+ /**
3158
+ * Quantity of shares/units
3159
+ */
3160
+ quantity?: number;
3161
+ /**
3162
+ * Unit price per share/unit
3163
+ */
3164
+ price?: number;
3165
+ /**
3166
+ * Investment action
3167
+ */
3168
+ investmentAction?: 'buy' | 'sell';
3169
+ /**
3170
+ * Payment source: asset (default) or liability (credit card)
3171
+ */
3172
+ paymentSource?: 'asset' | 'liability';
3173
+ /**
3174
+ * Liability account hint (CreditCard/Huabei/Baitiao)
3175
+ */
3176
+ liabilityHint?: string;
3177
+ /**
3178
+ * Warning message for special scenarios (e.g., cross-currency settlement)
3179
+ */
3180
+ warning?: string;
3181
+ };
3182
+ /**
3183
+ * Investment action
3184
+ */
3185
+ type investmentAction = 'buy' | 'sell';
3186
+ /**
3187
+ * Payment source: asset (default) or liability (credit card)
3188
+ */
3189
+ type paymentSource = 'asset' | 'liability';
3190
+ type NlpSourceTransactionDto = {
3191
+ /**
3192
+ * Transaction date (ISO format)
3193
+ */
3194
+ date: string;
3195
+ /**
3196
+ * Amount as string
3197
+ */
3198
+ amount: string;
3199
+ /**
3200
+ * Currency code
3201
+ */
3202
+ currency: string;
3203
+ /**
3204
+ * Payee name
3205
+ */
3206
+ payee?: string;
3207
+ /**
3208
+ * Transaction narration
3209
+ */
3210
+ narration: string;
3211
+ };
3212
+ type NlpTargetTransactionDto = {
3213
+ /**
3214
+ * Existing transaction ID
3215
+ */
3216
+ id: string;
3217
+ /**
3218
+ * Transaction date (ISO format)
3219
+ */
3220
+ date: string;
3221
+ /**
3222
+ * Amount as string
3223
+ */
3224
+ amount: string;
3225
+ /**
3226
+ * Currency code
3227
+ */
3228
+ currency: string;
3229
+ /**
3230
+ * Payee name
3231
+ */
3232
+ payee?: string;
3233
+ /**
3234
+ * Transaction narration
3235
+ */
3236
+ narration: string;
3237
+ };
3238
+ type NlpSimilarityDto = {
3239
+ /**
3240
+ * Whether dates match
3241
+ */
3242
+ dateMatch: boolean;
3243
+ /**
3244
+ * Date difference in days
3245
+ */
3246
+ dateDiff: number;
3247
+ /**
3248
+ * Whether amounts match
3249
+ */
3250
+ amountMatch: boolean;
3251
+ /**
3252
+ * Amount difference as decimal string
3253
+ */
3254
+ amountDiff: string;
3255
+ /**
3256
+ * Whether payees match
3257
+ */
3258
+ payeeMatch: boolean;
3259
+ /**
3260
+ * Payee similarity score (0-1)
3261
+ */
3262
+ payeeSimilarity: number;
3263
+ /**
3264
+ * Account overlap score (0-1)
3265
+ */
3266
+ accountOverlap: number;
3267
+ };
3268
+ type NlpDuplicateConfirmationDataDto = {
3269
+ /**
3270
+ * Duplicate detection confidence score (0.5-0.89)
3271
+ */
3272
+ confidence: number;
3273
+ /**
3274
+ * Source transaction summary (the new transaction being entered)
3275
+ */
3276
+ sourceTransaction: NlpSourceTransactionDto;
3277
+ /**
3278
+ * Target transaction summary (existing potential duplicate)
3279
+ */
3280
+ targetTransaction: NlpTargetTransactionDto;
3281
+ /**
3282
+ * Detailed similarity information
3283
+ */
3284
+ similarity: NlpSimilarityDto;
3285
+ /**
3286
+ * Human-readable reasons for duplicate detection
3287
+ */
3288
+ reasons: Array<string>;
3289
+ };
3290
+ type NlpRuleConfirmationDataDto = {
3291
+ /**
3292
+ * Rule match confidence score (0.5-0.74)
3293
+ */
3294
+ confidence: number;
3295
+ /**
3296
+ * Matched rule information
3297
+ */
3298
+ matchedRule: {
3299
+ [key: string]: unknown;
3300
+ };
3301
+ /**
3302
+ * Suggested accounts from the rule
3303
+ */
3304
+ suggestedAccounts: {
3305
+ [key: string]: unknown;
3306
+ };
3307
+ /**
3308
+ * Alternative rules that also match
3309
+ */
3310
+ alternatives: unknown[];
3311
+ /**
3312
+ * Human-readable reasons for the match
3313
+ */
3314
+ reasons: Array<string>;
3315
+ };
3316
+ type NlpAccountConfirmationDataDto = {
3317
+ /**
3318
+ * The invalid account name
3319
+ */
3320
+ invalidAccount: string;
3321
+ /**
3322
+ * Suggested replacement account
3323
+ */
3324
+ suggestedAccount: string;
3325
+ /**
3326
+ * Similar accounts for user selection
3327
+ */
3328
+ similarAccounts: Array<string>;
3329
+ /**
3330
+ * Error message explaining the issue
3331
+ */
3332
+ errorMessage: string;
3333
+ /**
3334
+ * Transaction context for reference
3335
+ */
3336
+ transactionContext: {
3337
+ [key: string]: unknown;
3338
+ };
3339
+ };
3340
+ type NlpSuggestedPayeeDto = {
3341
+ /**
3342
+ * Payee ID
3343
+ */
3344
+ id: string;
3345
+ /**
3346
+ * Payee name
3347
+ */
3348
+ name: string;
3349
+ /**
3350
+ * Payee category
3351
+ */
3352
+ category?: string;
3353
+ /**
3354
+ * Source of the payee
3355
+ */
3356
+ source?: 'user' | 'global';
3357
+ /**
3358
+ * PayeeProfile ID (if matched from global)
3359
+ */
3360
+ payeeProfileId?: string;
3361
+ };
3362
+ /**
3363
+ * Source of the payee
3364
+ */
3365
+ type source = 'user' | 'global';
3366
+ type NlpAlternativePayeeDto = {
3367
+ /**
3368
+ * Payee ID
3369
+ */
3370
+ id: string;
3371
+ /**
3372
+ * Payee name
3373
+ */
3374
+ name: string;
3375
+ /**
3376
+ * Similarity score (0-1)
3377
+ */
3378
+ similarity: number;
3379
+ };
3380
+ type NlpPayeeConfirmationDataDto = {
3381
+ /**
3382
+ * Confidence score for the payee match (0-1)
3383
+ */
3384
+ confidence: number;
3385
+ /**
3386
+ * Original payee string from user input
3387
+ */
3388
+ originalPayee: string;
3389
+ /**
3390
+ * Suggested payee to use (null when no similar payees found)
3391
+ */
3392
+ suggestedPayee?: NlpSuggestedPayeeDto | null;
3393
+ /**
3394
+ * Similarity score between original and suggested (0-1)
3395
+ */
3396
+ similarity: number;
3397
+ /**
3398
+ * Alternative payee options
3399
+ */
3400
+ alternatives: Array<NlpAlternativePayeeDto>;
3401
+ /**
3402
+ * Human-readable reasons for the match
3403
+ */
3404
+ reasons: Array<string>;
3405
+ };
3406
+ type RecurringMatchInfoDto = {
3407
+ /**
3408
+ * Expected transaction ID
3409
+ */
3410
+ expectedId: string;
3411
+ /**
3412
+ * Recurring rule ID
3413
+ */
3414
+ ruleId: string;
3415
+ /**
3416
+ * Rule name for display
3417
+ */
3418
+ ruleName: string;
3419
+ /**
3420
+ * Rule icon
3421
+ */
3422
+ ruleIcon?: string;
3423
+ /**
3424
+ * Expected date (YYYY-MM-DD)
3425
+ */
3426
+ expectedDate: string;
3427
+ /**
3428
+ * Expected amount
3429
+ */
3430
+ expectedAmount: number;
3431
+ /**
3432
+ * Match confidence score (0-1)
3433
+ */
3434
+ confidence: number;
3435
+ /**
3436
+ * Whether auto-matched (confidence >= 0.82)
3437
+ */
3438
+ isAutoMatched: boolean;
3439
+ };
3440
+ type NlpSuggestedAccountDto = {
3441
+ /**
3442
+ * Suggested account path
3443
+ */
3444
+ account: string;
3445
+ /**
3446
+ * Confidence score for this suggestion (0-1)
3447
+ */
3448
+ confidence?: number;
3449
+ };
3450
+ type NlpSuggestedAccountsDto = {
3451
+ /**
3452
+ * Source account suggestion (where money comes from). For expense: asset/liability account. For income: income account.
3453
+ */
3454
+ source?: NlpSuggestedAccountDto;
3455
+ /**
3456
+ * Destination account suggestion (where money goes to). For expense: expense account. For income: asset/liability account.
3457
+ */
3458
+ destination?: NlpSuggestedAccountDto;
3459
+ };
3460
+ type NlpDefaultAccountsDto = {
3461
+ /**
3462
+ * Default asset account
3463
+ */
3464
+ asset: string;
3465
+ /**
3466
+ * Default expense account
3467
+ */
3468
+ expense: string;
3469
+ /**
3470
+ * Default income account
3471
+ */
3472
+ income: string;
3473
+ /**
3474
+ * Default liability account
3475
+ */
3476
+ liability: string;
3477
+ };
3478
+ type NlpResponseDto = {
3479
+ /**
3480
+ * Response status
3481
+ */
3482
+ status: 'success' | 'pending' | 'error';
3483
+ /**
3484
+ * Action taken or requested
3485
+ */
3486
+ action: 'created' | 'ask' | 'confirm' | 'confirm_duplicate' | 'confirm_rule' | 'confirm_account' | 'confirm_payee' | 'cancel';
3487
+ /**
3488
+ * Transaction intent detected by EntityRouter (v6.0: 5 core intents). Frontend uses this to render scenario-specific form fields.
3489
+ */
3490
+ intent?: 'expense' | 'asset' | 'income' | 'liability' | 'equity';
3491
+ /**
3492
+ * Asset sub-type (only present when intent is "asset"). Determines which asset-related form to render.
3493
+ */
3494
+ assetSubType?: 'transfer' | 'banking' | 'investment';
3495
+ /**
3496
+ * Liability sub-type (only present when intent is "liability"). borrow: borrowing money (Liabilities → Assets), repay: repaying debt (Assets → Liabilities).
3497
+ */
3498
+ liabilitySubType?: 'borrow' | 'repay';
3499
+ /**
3500
+ * Equity sub-type (only present when intent is "equity"). opening: account opening balance (Equity → Assets), adjustment: balance correction.
3501
+ */
3502
+ equitySubType?: 'opening' | 'adjustment';
3503
+ /**
3504
+ * Payment source for expense transactions (v6.1). Indicates whether payment comes from asset or liability account. Only present when intent is "expense".
3505
+ */
3506
+ paymentSource?: 'asset' | 'liability';
3507
+ /**
3508
+ * Liability account type hint for credit card/BNPL spending (v6.1). Only present when paymentSource is "liability". Values: CreditCard, Huabei, Baitiao
3509
+ */
3510
+ liabilityHint?: string;
3511
+ /**
3512
+ * Human-readable message (for ask or error actions). Deprecated: Use messageKey for i18n support.
3513
+ * @deprecated
3514
+ */
3515
+ message?: string;
3516
+ /**
3517
+ * i18n message key for frontend translation. Use this instead of message for internationalization support.
3518
+ */
3519
+ messageKey?: string;
3520
+ /**
3521
+ * Parameters for message interpolation. Used with messageKey for dynamic values in translated messages.
3522
+ */
3523
+ messageParams?: {
3524
+ [key: string]: unknown;
3525
+ };
3526
+ /**
3527
+ * Session ID for multi-turn dialogue. Must be included in subsequent requests to continue the conversation.
3528
+ */
3529
+ sessionId?: string;
3530
+ /**
3531
+ * Which slot is waiting for user input
3532
+ */
3533
+ waitingFor?: string;
3534
+ /**
3535
+ * Created transaction info (for created action)
3536
+ */
3537
+ transaction?: NlpTransactionInfoDto;
3538
+ /**
3539
+ * Parsed data for confirmation (when action is "confirm"). Contains extracted fields that user should verify before transaction creation.
3540
+ */
3541
+ parsedData?: NlpParsedDataDto;
3542
+ /**
3543
+ * Duplicate detection data (when action is "confirm_duplicate"). Contains information about potential duplicate transaction for user confirmation.
3544
+ */
3545
+ duplicateData?: NlpDuplicateConfirmationDataDto;
3546
+ /**
3547
+ * Rule match data (when action is "confirm_rule"). Contains information about medium-confidence rule match for user confirmation.
3548
+ */
3549
+ ruleData?: NlpRuleConfirmationDataDto;
3550
+ /**
3551
+ * Account validation data (when action is "confirm_account"). Contains information about invalid account for user correction.
3552
+ */
3553
+ accountData?: NlpAccountConfirmationDataDto;
3554
+ /**
3555
+ * Payee confirmation data (when action is "confirm_payee"). Contains information about medium/low confidence payee match for user confirmation.
3556
+ */
3557
+ payeeData?: NlpPayeeConfirmationDataDto;
3558
+ /**
3559
+ * Overall confidence score (0-1)
3560
+ */
3561
+ confidence?: number;
3562
+ /**
3563
+ * Confidence threshold for automatic creation (default: 0.75). When confidence < threshold, action will be "confirm" requiring user verification.
3564
+ */
3565
+ confidenceThreshold?: number;
3566
+ /**
3567
+ * Recurring transaction match info (when action is "created"). Contains match details when transaction matches a pending expected transaction.
3568
+ */
3569
+ recurringMatch?: RecurringMatchInfoDto;
3570
+ /**
3571
+ * Recurring rule creation suggestion (when action is "created"). Contains suggestion to create a recurring rule based on detected patterns. Only present when no existing rule matched and similar historical transactions were found.
3572
+ */
3573
+ recurringSuggestion?: RecurringSuggestionDto;
3574
+ /**
3575
+ * Suggested accounts for this transaction. Contains recommended source and destination accounts based on the detected intent and rules.
3576
+ */
3577
+ suggestedAccounts?: NlpSuggestedAccountsDto;
3578
+ /**
3579
+ * Default accounts for the user/region. These are fallback accounts used when no specific suggestion is available.
3580
+ */
3581
+ defaultAccounts?: NlpDefaultAccountsDto;
3582
+ };
3583
+ /**
3584
+ * Response status
3585
+ */
3586
+ type status4 = 'success' | 'pending' | 'error';
3587
+ /**
3588
+ * Action taken or requested
3589
+ */
3590
+ type action2 = 'created' | 'ask' | 'confirm' | 'confirm_duplicate' | 'confirm_rule' | 'confirm_account' | 'confirm_payee' | 'cancel';
3591
+ /**
3592
+ * Transaction intent detected by EntityRouter (v6.0: 5 core intents). Frontend uses this to render scenario-specific form fields.
3593
+ */
3594
+ type intent = 'expense' | 'asset' | 'income' | 'liability' | 'equity';
3595
+ /**
3596
+ * Asset sub-type (only present when intent is "asset"). Determines which asset-related form to render.
3597
+ */
3598
+ type assetSubType = 'transfer' | 'banking' | 'investment';
3599
+ /**
3600
+ * Liability sub-type (only present when intent is "liability"). borrow: borrowing money (Liabilities → Assets), repay: repaying debt (Assets → Liabilities).
3601
+ */
3602
+ type liabilitySubType = 'borrow' | 'repay';
3603
+ /**
3604
+ * Equity sub-type (only present when intent is "equity"). opening: account opening balance (Equity → Assets), adjustment: balance correction.
3605
+ */
3606
+ type equitySubType = 'opening' | 'adjustment';
3064
3607
  type BalanceByCurrencyDto = {
3065
3608
  /**
3066
3609
  * ISO 4217 currency code
@@ -3270,7 +3813,7 @@ type AccountItemWithAssetClassDto = {
3270
3813
  /**
3271
3814
  * ADR-0105 classification provenance (holding level always; account level only on FALLBACK)
3272
3815
  */
3273
- type source = 'USER_META' | 'FIAT_CURRENCY' | 'OPENBB_MAPPING' | 'FALLBACK';
3816
+ type source2 = 'USER_META' | 'FIAT_CURRENCY' | 'OPENBB_MAPPING' | 'FALLBACK';
3274
3817
  type AssetClassGroupDto = {
3275
3818
  /**
3276
3819
  * Asset class name
@@ -3510,7 +4053,7 @@ type CurrentPriceDto = {
3510
4053
  /**
3511
4054
  * Price source
3512
4055
  */
3513
- type source2 = 'USER_OVERRIDE' | 'OPENBB_EQUITY' | 'OPENBB_CURRENCY';
4056
+ type source3 = 'USER_OVERRIDE' | 'OPENBB_EQUITY' | 'OPENBB_CURRENCY';
3514
4057
  type FxRateDto = {
3515
4058
  from: string;
3516
4059
  to: string;
@@ -3847,7 +4390,7 @@ type AccountControllerCreateData = {
3847
4390
  region: 'cn' | 'us' | 'de' | 'gb';
3848
4391
  requestBody: CreateAccountDto;
3849
4392
  };
3850
- type AccountControllerCreateResponse = unknown;
4393
+ type AccountControllerCreateResponse = AccountResponseDto;
3851
4394
  type AccountControllerFindAllData = {
3852
4395
  /**
3853
4396
  * Filter by custom (user-created) accounts only
@@ -3891,6 +4434,9 @@ type AccountControllerFindOneData = {
3891
4434
  };
3892
4435
  type AccountControllerFindOneResponse = AccountResponseDto;
3893
4436
  type AccountControllerUpdateData = {
4437
+ /**
4438
+ * Account UUID
4439
+ */
3894
4440
  id: string;
3895
4441
  /**
3896
4442
  * Region code for tenant context
@@ -3898,16 +4444,22 @@ type AccountControllerUpdateData = {
3898
4444
  region: 'cn' | 'us' | 'de' | 'gb';
3899
4445
  requestBody: UpdateAccountDto;
3900
4446
  };
3901
- type AccountControllerUpdateResponse = unknown;
4447
+ type AccountControllerUpdateResponse = AccountResponseDto;
3902
4448
  type AccountControllerDeleteData = {
4449
+ /**
4450
+ * Account UUID
4451
+ */
3903
4452
  id: string;
3904
4453
  /**
3905
4454
  * Region code for tenant context
3906
4455
  */
3907
4456
  region: 'cn' | 'us' | 'de' | 'gb';
3908
4457
  };
3909
- type AccountControllerDeleteResponse = unknown;
4458
+ type AccountControllerDeleteResponse = void;
3910
4459
  type AccountControllerCloseData = {
4460
+ /**
4461
+ * Account UUID
4462
+ */
3911
4463
  id: string;
3912
4464
  /**
3913
4465
  * Region code for tenant context
@@ -3915,8 +4467,11 @@ type AccountControllerCloseData = {
3915
4467
  region: 'cn' | 'us' | 'de' | 'gb';
3916
4468
  requestBody: CloseAccountDto;
3917
4469
  };
3918
- type AccountControllerCloseResponse = unknown;
4470
+ type AccountControllerCloseResponse = AccountResponseDto;
3919
4471
  type AccountControllerReopenData = {
4472
+ /**
4473
+ * Account UUID
4474
+ */
3920
4475
  id: string;
3921
4476
  /**
3922
4477
  * Region code for tenant context
@@ -3924,7 +4479,7 @@ type AccountControllerReopenData = {
3924
4479
  region: 'cn' | 'us' | 'de' | 'gb';
3925
4480
  requestBody: ReopenAccountDto;
3926
4481
  };
3927
- type AccountControllerReopenResponse = unknown;
4482
+ type AccountControllerReopenResponse = AccountResponseDto;
3928
4483
  type AccountStandardsControllerGetTemplatesData = {
3929
4484
  /**
3930
4485
  * Region code (cn, us, de)
@@ -4795,12 +5350,24 @@ type FileImportControllerIdentifyFileData = {
4795
5350
  };
4796
5351
  type FileImportControllerIdentifyFileResponse = IdentifyResultDto;
4797
5352
  type FileImportControllerImportBeancountData = {
5353
+ /**
5354
+ * Beancount file to import
5355
+ */
5356
+ formData: FileImportDto;
4798
5357
  /**
4799
5358
  * Region code for tenant context
4800
5359
  */
4801
5360
  region: 'cn' | 'us' | 'de' | 'gb';
4802
5361
  };
4803
- type FileImportControllerImportBeancountResponse = unknown;
5362
+ type FileImportControllerImportBeancountResponse = {
5363
+ imported?: number;
5364
+ skipped?: number;
5365
+ failed?: number;
5366
+ accountsCreated?: number;
5367
+ errors?: Array<{
5368
+ [key: string]: unknown;
5369
+ }>;
5370
+ };
4804
5371
  type ImporterConfigControllerGetConfigData = {
4805
5372
  /**
4806
5373
  * Importer identifier. Supported importers: alipay, alipay-web, wechat, boc, boc-credit, ccb, cmb, cmbc, cmbc-credit, icbc, icbc-credit, hsbc-hk-credit, hsbc-hk-debit
@@ -4871,14 +5438,17 @@ type PlatformControllerDeleteData = {
4871
5438
  };
4872
5439
  type PlatformControllerDeleteResponse = void;
4873
5440
  type ProviderSyncControllerSyncData = {
4874
- providerName: string;
5441
+ /**
5442
+ * Provider name
5443
+ */
5444
+ providerName: 'plaid' | 'teller' | 'truelayer' | 'gocardless' | 'simplefin' | 'yodlee' | 'beancount-direct' | 'parsed-bill';
4875
5445
  /**
4876
5446
  * Region code for tenant context
4877
5447
  */
4878
5448
  region: 'cn' | 'us' | 'de' | 'gb';
4879
5449
  requestBody: ProviderSyncDto;
4880
5450
  };
4881
- type ProviderSyncControllerSyncResponse = unknown;
5451
+ type ProviderSyncControllerSyncResponse = ProviderSyncResponseDto;
4882
5452
  type ProviderSyncControllerGetSupportedProvidersData = {
4883
5453
  /**
4884
5454
  * Region code for tenant context
@@ -4929,9 +5499,12 @@ type NlpControllerProcessNaturalLanguageData = {
4929
5499
  * Region code for tenant context
4930
5500
  */
4931
5501
  region: 'cn' | 'us' | 'de' | 'gb';
5502
+ /**
5503
+ * Natural language transaction input with optional session ID
5504
+ */
4932
5505
  requestBody: ProcessNlpDto;
4933
5506
  };
4934
- type NlpControllerProcessNaturalLanguageResponse = unknown;
5507
+ type NlpControllerProcessNaturalLanguageResponse = NlpResponseDto;
4935
5508
  type NlpControllerClearSessionData = {
4936
5509
  /**
4937
5510
  * Region code for tenant context
@@ -5169,7 +5742,14 @@ type $OpenApiTs = {
5169
5742
  post: {
5170
5743
  req: AccountControllerCreateData;
5171
5744
  res: {
5172
- 201: unknown;
5745
+ /**
5746
+ * Account created successfully
5747
+ */
5748
+ 201: AccountResponseDto;
5749
+ /**
5750
+ * Account already exists
5751
+ */
5752
+ 409: unknown;
5173
5753
  };
5174
5754
  };
5175
5755
  get: {
@@ -5199,13 +5779,31 @@ type $OpenApiTs = {
5199
5779
  put: {
5200
5780
  req: AccountControllerUpdateData;
5201
5781
  res: {
5202
- 200: unknown;
5782
+ /**
5783
+ * Account updated successfully
5784
+ */
5785
+ 200: AccountResponseDto;
5786
+ /**
5787
+ * Account not found
5788
+ */
5789
+ 404: unknown;
5203
5790
  };
5204
5791
  };
5205
5792
  delete: {
5206
5793
  req: AccountControllerDeleteData;
5207
5794
  res: {
5208
- 200: unknown;
5795
+ /**
5796
+ * Account deleted successfully
5797
+ */
5798
+ 204: void;
5799
+ /**
5800
+ * Account not found
5801
+ */
5802
+ 404: unknown;
5803
+ /**
5804
+ * Account has transactions and cannot be deleted
5805
+ */
5806
+ 409: unknown;
5209
5807
  };
5210
5808
  };
5211
5809
  };
@@ -5213,7 +5811,18 @@ type $OpenApiTs = {
5213
5811
  post: {
5214
5812
  req: AccountControllerCloseData;
5215
5813
  res: {
5216
- 201: unknown;
5814
+ /**
5815
+ * Account closed successfully
5816
+ */
5817
+ 200: AccountResponseDto;
5818
+ /**
5819
+ * Account is already closed
5820
+ */
5821
+ 400: unknown;
5822
+ /**
5823
+ * Account not found
5824
+ */
5825
+ 404: unknown;
5217
5826
  };
5218
5827
  };
5219
5828
  };
@@ -5221,7 +5830,18 @@ type $OpenApiTs = {
5221
5830
  post: {
5222
5831
  req: AccountControllerReopenData;
5223
5832
  res: {
5224
- 201: unknown;
5833
+ /**
5834
+ * Account reopened successfully
5835
+ */
5836
+ 200: AccountResponseDto;
5837
+ /**
5838
+ * Account is not closed
5839
+ */
5840
+ 400: unknown;
5841
+ /**
5842
+ * Account not found
5843
+ */
5844
+ 404: unknown;
5225
5845
  };
5226
5846
  };
5227
5847
  };
@@ -6557,7 +7177,22 @@ type $OpenApiTs = {
6557
7177
  post: {
6558
7178
  req: FileImportControllerImportBeancountData;
6559
7179
  res: {
6560
- 201: unknown;
7180
+ /**
7181
+ * Beancount file imported successfully
7182
+ */
7183
+ 200: {
7184
+ imported?: number;
7185
+ skipped?: number;
7186
+ failed?: number;
7187
+ accountsCreated?: number;
7188
+ errors?: Array<{
7189
+ [key: string]: unknown;
7190
+ }>;
7191
+ };
7192
+ /**
7193
+ * Bad request - invalid file or no file uploaded
7194
+ */
7195
+ 400: ApiProblemResponseDto;
6561
7196
  };
6562
7197
  };
6563
7198
  };
@@ -6688,7 +7323,22 @@ type $OpenApiTs = {
6688
7323
  post: {
6689
7324
  req: ProviderSyncControllerSyncData;
6690
7325
  res: {
6691
- 201: unknown;
7326
+ /**
7327
+ * Sync completed successfully
7328
+ */
7329
+ 200: ProviderSyncResponseDto;
7330
+ /**
7331
+ * Invalid request data
7332
+ */
7333
+ 400: unknown;
7334
+ /**
7335
+ * Missing or invalid authentication
7336
+ */
7337
+ 401: unknown;
7338
+ /**
7339
+ * Provider not supported
7340
+ */
7341
+ 404: unknown;
6692
7342
  };
6693
7343
  };
6694
7344
  };
@@ -6767,7 +7417,18 @@ type $OpenApiTs = {
6767
7417
  post: {
6768
7418
  req: NlpControllerProcessNaturalLanguageData;
6769
7419
  res: {
6770
- 201: unknown;
7420
+ /**
7421
+ * NLP processing result - either created transaction or asking for more info
7422
+ */
7423
+ 200: NlpResponseDto;
7424
+ /**
7425
+ * Invalid input
7426
+ */
7427
+ 400: unknown;
7428
+ /**
7429
+ * Unauthorized
7430
+ */
7431
+ 401: unknown;
6771
7432
  };
6772
7433
  };
6773
7434
  };
@@ -7180,10 +7841,12 @@ type $OpenApiTs = {
7180
7841
 
7181
7842
  declare class BeanAccountsService {
7182
7843
  /**
7844
+ * Create a new account
7845
+ * Creates a new account (Beancount Open directive)
7183
7846
  * @param data The data for the request.
7184
7847
  * @param data.region Region code for tenant context
7185
7848
  * @param data.requestBody
7186
- * @returns unknown
7849
+ * @returns AccountResponseDto Account created successfully
7187
7850
  * @throws ApiError
7188
7851
  */
7189
7852
  static accountControllerCreate(data: AccountControllerCreateData): CancelablePromise<AccountControllerCreateResponse>;
@@ -7213,37 +7876,45 @@ declare class BeanAccountsService {
7213
7876
  */
7214
7877
  static accountControllerFindOne(data: AccountControllerFindOneData): CancelablePromise<AccountControllerFindOneResponse>;
7215
7878
  /**
7879
+ * Update account
7880
+ * Updates account metadata (path cannot be changed)
7216
7881
  * @param data The data for the request.
7217
- * @param data.id
7882
+ * @param data.id Account UUID
7218
7883
  * @param data.region Region code for tenant context
7219
7884
  * @param data.requestBody
7220
- * @returns unknown
7885
+ * @returns AccountResponseDto Account updated successfully
7221
7886
  * @throws ApiError
7222
7887
  */
7223
7888
  static accountControllerUpdate(data: AccountControllerUpdateData): CancelablePromise<AccountControllerUpdateResponse>;
7224
7889
  /**
7890
+ * Delete account
7891
+ * Deletes an account (only if no transactions)
7225
7892
  * @param data The data for the request.
7226
- * @param data.id
7893
+ * @param data.id Account UUID
7227
7894
  * @param data.region Region code for tenant context
7228
- * @returns unknown
7895
+ * @returns void Account deleted successfully
7229
7896
  * @throws ApiError
7230
7897
  */
7231
7898
  static accountControllerDelete(data: AccountControllerDeleteData): CancelablePromise<AccountControllerDeleteResponse>;
7232
7899
  /**
7900
+ * Close account
7901
+ * Closes an account (Beancount Close directive)
7233
7902
  * @param data The data for the request.
7234
- * @param data.id
7903
+ * @param data.id Account UUID
7235
7904
  * @param data.region Region code for tenant context
7236
7905
  * @param data.requestBody
7237
- * @returns unknown
7906
+ * @returns AccountResponseDto Account closed successfully
7238
7907
  * @throws ApiError
7239
7908
  */
7240
7909
  static accountControllerClose(data: AccountControllerCloseData): CancelablePromise<AccountControllerCloseResponse>;
7241
7910
  /**
7911
+ * Reopen account
7912
+ * Reopens a previously closed account
7242
7913
  * @param data The data for the request.
7243
- * @param data.id
7914
+ * @param data.id Account UUID
7244
7915
  * @param data.region Region code for tenant context
7245
7916
  * @param data.requestBody
7246
- * @returns unknown
7917
+ * @returns AccountResponseDto Account reopened successfully
7247
7918
  * @throws ApiError
7248
7919
  */
7249
7920
  static accountControllerReopen(data: AccountControllerReopenData): CancelablePromise<AccountControllerReopenResponse>;
@@ -7440,11 +8111,33 @@ declare class BeanCommoditiesService {
7440
8111
  }
7441
8112
  declare class ProviderSyncService {
7442
8113
  /**
8114
+ * Sync transactions from financial data provider
8115
+ *
8116
+ * Accepts raw transactions from external financial data providers, transforms them to Beancount format, and processes them through the ingestion pipeline.
8117
+ *
8118
+ * **Supported Providers:**
8119
+ * - **plaid**: Plaid API (US, Canada, Europe)
8120
+ * - **teller**: Teller API (US)
8121
+ * - **truelayer**: TrueLayer Open Banking (UK, Europe)
8122
+ * - **gocardless**: GoCardless Bank Account Data (Europe)
8123
+ * - **simplefin**: SimpleFIN (Self-hosted)
8124
+ * - **yodlee**: Yodlee (Global)
8125
+ * - **beancount-direct**: Beancount format transactions
8126
+ * - **parsed-bill**: Client-side parsed bill transactions
8127
+ *
8128
+ * **Processing Flow:**
8129
+ * 1. Transform raw data via provider adapter
8130
+ * 2. Validate transaction format
8131
+ * 3. Deduplicate using originalId
8132
+ * 4. Classify using rule engine
8133
+ * 5. Route low-confidence to Review Center
8134
+ * 6. Persist validated transactions
8135
+ *
7443
8136
  * @param data The data for the request.
7444
- * @param data.providerName
8137
+ * @param data.providerName Provider name
7445
8138
  * @param data.region Region code for tenant context
7446
8139
  * @param data.requestBody
7447
- * @returns unknown
8140
+ * @returns ProviderSyncResponseDto Sync completed successfully
7448
8141
  * @throws ApiError
7449
8142
  */
7450
8143
  static providerSyncControllerSync(data: ProviderSyncControllerSyncData): CancelablePromise<ProviderSyncControllerSyncResponse>;
@@ -7555,4 +8248,4 @@ type OpenAPIConfig = {
7555
8248
  };
7556
8249
  declare const OpenAPI: OpenAPIConfig;
7557
8250
 
7558
- 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 NlpControllerClearSessionData, type NlpControllerClearSessionResponse, type NlpControllerGetSessionData, type NlpControllerGetSessionResponse, type NlpControllerProcessNaturalLanguageData, type NlpControllerProcessNaturalLanguageResponse, 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, ProviderSyncService, 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 assetClass, type bookingMethod, type branchType, type category, type chartToken, type colorScheme, type confidenceLevel, type conflictStrategy, type dataSource, type flag, type flag2, type frequency, type importerId, type learningSource, type matchLogic, type method, type mode, type period, type source, type source2, type status, type status2, type status3, type suggestedFrequency, type type, type type2, type type3, type type4, 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 };