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

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.
@@ -1324,17 +1324,17 @@ export type ResolveResultDto = {
1324
1324
  [key: string]: string;
1325
1325
  };
1326
1326
  /**
1327
- * Resolution ID for undo. Absent when the resolver rejected the decision (review stayed PENDING).
1327
+ * Resolution ID for undo
1328
1328
  */
1329
- resolutionId?: string;
1329
+ resolutionId: string;
1330
1330
  /**
1331
1331
  * Whether this decision can be undone
1332
1332
  */
1333
- canUndo?: boolean;
1333
+ canUndo: boolean;
1334
1334
  /**
1335
1335
  * Deadline for undo (24h from resolution)
1336
1336
  */
1337
- undoDeadline?: string;
1337
+ undoDeadline: string;
1338
1338
  /**
1339
1339
  * Rule ID if learning was triggered (ACCEPT_AND_LEARN actions). Use this to deep-link to the rule management page.
1340
1340
  */
@@ -3457,33 +3457,6 @@ export type ProviderSyncDto = {
3457
3457
  transactions: unknown[];
3458
3458
  };
3459
3459
 
3460
- export type ProviderSyncResponseDto = {
3461
- /**
3462
- * Number of transactions successfully imported
3463
- */
3464
- imported: number;
3465
- /**
3466
- * Number of transactions skipped (duplicates)
3467
- */
3468
- skipped: number;
3469
- /**
3470
- * Number of transactions pending review
3471
- */
3472
- pendingReview: number;
3473
- /**
3474
- * Number of transactions that failed to import
3475
- */
3476
- failed: number;
3477
- /**
3478
- * IDs of successfully imported transactions
3479
- */
3480
- importedTransactionIds?: Array<string>;
3481
- /**
3482
- * IDs of review items created for branched transactions
3483
- */
3484
- reviewItemIds?: Array<string>;
3485
- };
3486
-
3487
3460
  export type SupportedProvidersResponseDto = {
3488
3461
  /**
3489
3462
  * List of supported provider names
@@ -3512,564 +3485,6 @@ export type ProcessNlpDto = {
3512
3485
  };
3513
3486
  };
3514
3487
 
3515
- export type NlpTransactionInfoDto = {
3516
- /**
3517
- * Transaction ID
3518
- */
3519
- id: string;
3520
- /**
3521
- * Transaction date (ISO format)
3522
- */
3523
- date: string;
3524
- /**
3525
- * Transaction amount
3526
- */
3527
- amount: number;
3528
- /**
3529
- * Currency code
3530
- */
3531
- currency: string;
3532
- /**
3533
- * Payee name
3534
- */
3535
- payee?: string;
3536
- /**
3537
- * Transaction narration
3538
- */
3539
- narration?: string;
3540
- /**
3541
- * Warning message for special transaction scenarios (e.g., cross-currency settlement)
3542
- */
3543
- warning?: string;
3544
- };
3545
-
3546
- export type NlpParsedDataDto = {
3547
- /**
3548
- * Extracted amount
3549
- */
3550
- amount?: number;
3551
- /**
3552
- * Currency code
3553
- */
3554
- currency?: string;
3555
- /**
3556
- * Transaction date (ISO format)
3557
- */
3558
- date?: string;
3559
- /**
3560
- * Payee name
3561
- */
3562
- payee?: string;
3563
- /**
3564
- * Transaction narration
3565
- */
3566
- narration?: string;
3567
- /**
3568
- * Category
3569
- */
3570
- category?: string;
3571
- /**
3572
- * Income type (e.g., Salary, Bonus, Dividend, Interest)
3573
- */
3574
- incomeType?: string;
3575
- /**
3576
- * Income source (e.g., company name)
3577
- */
3578
- incomeSource?: string;
3579
- /**
3580
- * Security symbol code (e.g., 600519, AAPL)
3581
- */
3582
- symbol?: string;
3583
- /**
3584
- * Quantity of shares/units
3585
- */
3586
- quantity?: number;
3587
- /**
3588
- * Unit price per share/unit
3589
- */
3590
- price?: number;
3591
- /**
3592
- * Investment action
3593
- */
3594
- investmentAction?: 'buy' | 'sell';
3595
- /**
3596
- * Payment source: asset (default) or liability (credit card)
3597
- */
3598
- paymentSource?: 'asset' | 'liability';
3599
- /**
3600
- * Liability account hint (CreditCard/Huabei/Baitiao)
3601
- */
3602
- liabilityHint?: string;
3603
- /**
3604
- * Warning message for special scenarios (e.g., cross-currency settlement)
3605
- */
3606
- warning?: string;
3607
- };
3608
-
3609
- /**
3610
- * Investment action
3611
- */
3612
- export type investmentAction = 'buy' | 'sell';
3613
-
3614
- /**
3615
- * Payment source: asset (default) or liability (credit card)
3616
- */
3617
- export type paymentSource = 'asset' | 'liability';
3618
-
3619
- export type NlpSourceTransactionDto = {
3620
- /**
3621
- * Transaction date (ISO format)
3622
- */
3623
- date: string;
3624
- /**
3625
- * Amount as string
3626
- */
3627
- amount: string;
3628
- /**
3629
- * Currency code
3630
- */
3631
- currency: string;
3632
- /**
3633
- * Payee name
3634
- */
3635
- payee?: string;
3636
- /**
3637
- * Transaction narration
3638
- */
3639
- narration: string;
3640
- };
3641
-
3642
- export type NlpTargetTransactionDto = {
3643
- /**
3644
- * Existing transaction ID
3645
- */
3646
- id: string;
3647
- /**
3648
- * Transaction date (ISO format)
3649
- */
3650
- date: string;
3651
- /**
3652
- * Amount as string
3653
- */
3654
- amount: string;
3655
- /**
3656
- * Currency code
3657
- */
3658
- currency: string;
3659
- /**
3660
- * Payee name
3661
- */
3662
- payee?: string;
3663
- /**
3664
- * Transaction narration
3665
- */
3666
- narration: string;
3667
- };
3668
-
3669
- export type NlpSimilarityDto = {
3670
- /**
3671
- * Whether dates match
3672
- */
3673
- dateMatch: boolean;
3674
- /**
3675
- * Date difference in days
3676
- */
3677
- dateDiff: number;
3678
- /**
3679
- * Whether amounts match
3680
- */
3681
- amountMatch: boolean;
3682
- /**
3683
- * Amount difference as decimal string
3684
- */
3685
- amountDiff: string;
3686
- /**
3687
- * Whether payees match
3688
- */
3689
- payeeMatch: boolean;
3690
- /**
3691
- * Payee similarity score (0-1)
3692
- */
3693
- payeeSimilarity: number;
3694
- /**
3695
- * Account overlap score (0-1)
3696
- */
3697
- accountOverlap: number;
3698
- };
3699
-
3700
- export type NlpDuplicateConfirmationDataDto = {
3701
- /**
3702
- * Duplicate detection confidence score (0.5-0.89)
3703
- */
3704
- confidence: number;
3705
- /**
3706
- * Source transaction summary (the new transaction being entered)
3707
- */
3708
- sourceTransaction: NlpSourceTransactionDto;
3709
- /**
3710
- * Target transaction summary (existing potential duplicate)
3711
- */
3712
- targetTransaction: NlpTargetTransactionDto;
3713
- /**
3714
- * Detailed similarity information
3715
- */
3716
- similarity: NlpSimilarityDto;
3717
- /**
3718
- * Human-readable reasons for duplicate detection
3719
- */
3720
- reasons: Array<string>;
3721
- };
3722
-
3723
- export type NlpRuleConfirmationDataDto = {
3724
- /**
3725
- * Rule match confidence score (0.5-0.74)
3726
- */
3727
- confidence: number;
3728
- /**
3729
- * Matched rule information
3730
- */
3731
- matchedRule: {
3732
- [key: string]: unknown;
3733
- };
3734
- /**
3735
- * Suggested accounts from the rule
3736
- */
3737
- suggestedAccounts: {
3738
- [key: string]: unknown;
3739
- };
3740
- /**
3741
- * Alternative rules that also match
3742
- */
3743
- alternatives: unknown[];
3744
- /**
3745
- * Human-readable reasons for the match
3746
- */
3747
- reasons: Array<string>;
3748
- };
3749
-
3750
- export type NlpAccountConfirmationDataDto = {
3751
- /**
3752
- * The invalid account name
3753
- */
3754
- invalidAccount: string;
3755
- /**
3756
- * Suggested replacement account
3757
- */
3758
- suggestedAccount: string;
3759
- /**
3760
- * Similar accounts for user selection
3761
- */
3762
- similarAccounts: Array<string>;
3763
- /**
3764
- * Error message explaining the issue
3765
- */
3766
- errorMessage: string;
3767
- /**
3768
- * Transaction context for reference
3769
- */
3770
- transactionContext: {
3771
- [key: string]: unknown;
3772
- };
3773
- };
3774
-
3775
- export type NlpSuggestedPayeeDto = {
3776
- /**
3777
- * Payee ID
3778
- */
3779
- id: string;
3780
- /**
3781
- * Payee name
3782
- */
3783
- name: string;
3784
- /**
3785
- * Payee category
3786
- */
3787
- category?: string;
3788
- /**
3789
- * Source of the payee
3790
- */
3791
- source?: 'user' | 'global';
3792
- /**
3793
- * PayeeProfile ID (if matched from global)
3794
- */
3795
- payeeProfileId?: string;
3796
- };
3797
-
3798
- /**
3799
- * Source of the payee
3800
- */
3801
- export type source = 'user' | 'global';
3802
-
3803
- export type NlpAlternativePayeeDto = {
3804
- /**
3805
- * Payee ID
3806
- */
3807
- id: string;
3808
- /**
3809
- * Payee name
3810
- */
3811
- name: string;
3812
- /**
3813
- * Similarity score (0-1)
3814
- */
3815
- similarity: number;
3816
- };
3817
-
3818
- export type NlpPayeeConfirmationDataDto = {
3819
- /**
3820
- * Confidence score for the payee match (0-1)
3821
- */
3822
- confidence: number;
3823
- /**
3824
- * Original payee string from user input
3825
- */
3826
- originalPayee: string;
3827
- /**
3828
- * Suggested payee to use (null when no similar payees found)
3829
- */
3830
- suggestedPayee?: NlpSuggestedPayeeDto | null;
3831
- /**
3832
- * Similarity score between original and suggested (0-1)
3833
- */
3834
- similarity: number;
3835
- /**
3836
- * Alternative payee options
3837
- */
3838
- alternatives: Array<NlpAlternativePayeeDto>;
3839
- /**
3840
- * Human-readable reasons for the match
3841
- */
3842
- reasons: Array<string>;
3843
- };
3844
-
3845
- export type RecurringMatchInfoDto = {
3846
- /**
3847
- * Expected transaction ID
3848
- */
3849
- expectedId: string;
3850
- /**
3851
- * Recurring rule ID
3852
- */
3853
- ruleId: string;
3854
- /**
3855
- * Rule name for display
3856
- */
3857
- ruleName: string;
3858
- /**
3859
- * Rule icon
3860
- */
3861
- ruleIcon?: string;
3862
- /**
3863
- * Expected date (YYYY-MM-DD)
3864
- */
3865
- expectedDate: string;
3866
- /**
3867
- * Expected amount
3868
- */
3869
- expectedAmount: number;
3870
- /**
3871
- * Match confidence score (0-1)
3872
- */
3873
- confidence: number;
3874
- /**
3875
- * Whether auto-matched (confidence >= 0.82)
3876
- */
3877
- isAutoMatched: boolean;
3878
- };
3879
-
3880
- export type NlpSuggestedAccountDto = {
3881
- /**
3882
- * Suggested account path
3883
- */
3884
- account: string;
3885
- /**
3886
- * Confidence score for this suggestion (0-1)
3887
- */
3888
- confidence?: number;
3889
- };
3890
-
3891
- export type NlpSuggestedAccountsDto = {
3892
- /**
3893
- * Source account suggestion (where money comes from). For expense: asset/liability account. For income: income account.
3894
- */
3895
- source?: NlpSuggestedAccountDto;
3896
- /**
3897
- * Destination account suggestion (where money goes to). For expense: expense account. For income: asset/liability account.
3898
- */
3899
- destination?: NlpSuggestedAccountDto;
3900
- };
3901
-
3902
- export type NlpDefaultAccountsDto = {
3903
- /**
3904
- * Default asset account
3905
- */
3906
- asset: string;
3907
- /**
3908
- * Default expense account
3909
- */
3910
- expense: string;
3911
- /**
3912
- * Default income account
3913
- */
3914
- income: string;
3915
- /**
3916
- * Default liability account
3917
- */
3918
- liability: string;
3919
- };
3920
-
3921
- export type NlpResponseDto = {
3922
- /**
3923
- * Response status
3924
- */
3925
- status: 'success' | 'pending' | 'error';
3926
- /**
3927
- * Action taken or requested
3928
- */
3929
- action:
3930
- | 'created'
3931
- | 'ask'
3932
- | 'confirm'
3933
- | 'confirm_duplicate'
3934
- | 'confirm_rule'
3935
- | 'confirm_account'
3936
- | 'confirm_payee'
3937
- | 'cancel';
3938
- /**
3939
- * Transaction intent detected by EntityRouter (v6.0: 5 core intents). Frontend uses this to render scenario-specific form fields.
3940
- */
3941
- intent?: 'expense' | 'asset' | 'income' | 'liability' | 'equity';
3942
- /**
3943
- * Asset sub-type (only present when intent is "asset"). Determines which asset-related form to render.
3944
- */
3945
- assetSubType?: 'transfer' | 'banking' | 'investment';
3946
- /**
3947
- * Liability sub-type (only present when intent is "liability"). borrow: borrowing money (Liabilities → Assets), repay: repaying debt (Assets → Liabilities).
3948
- */
3949
- liabilitySubType?: 'borrow' | 'repay';
3950
- /**
3951
- * Equity sub-type (only present when intent is "equity"). opening: account opening balance (Equity → Assets), adjustment: balance correction.
3952
- */
3953
- equitySubType?: 'opening' | 'adjustment';
3954
- /**
3955
- * Payment source for expense transactions (v6.1). Indicates whether payment comes from asset or liability account. Only present when intent is "expense".
3956
- */
3957
- paymentSource?: 'asset' | 'liability';
3958
- /**
3959
- * Liability account type hint for credit card/BNPL spending (v6.1). Only present when paymentSource is "liability". Values: CreditCard, Huabei, Baitiao
3960
- */
3961
- liabilityHint?: string;
3962
- /**
3963
- * Human-readable message (for ask or error actions). Deprecated: Use messageKey for i18n support.
3964
- * @deprecated
3965
- */
3966
- message?: string;
3967
- /**
3968
- * i18n message key for frontend translation. Use this instead of message for internationalization support.
3969
- */
3970
- messageKey?: string;
3971
- /**
3972
- * Parameters for message interpolation. Used with messageKey for dynamic values in translated messages.
3973
- */
3974
- messageParams?: {
3975
- [key: string]: unknown;
3976
- };
3977
- /**
3978
- * Session ID for multi-turn dialogue. Must be included in subsequent requests to continue the conversation.
3979
- */
3980
- sessionId?: string;
3981
- /**
3982
- * Which slot is waiting for user input
3983
- */
3984
- waitingFor?: string;
3985
- /**
3986
- * Created transaction info (for created action)
3987
- */
3988
- transaction?: NlpTransactionInfoDto;
3989
- /**
3990
- * Parsed data for confirmation (when action is "confirm"). Contains extracted fields that user should verify before transaction creation.
3991
- */
3992
- parsedData?: NlpParsedDataDto;
3993
- /**
3994
- * Duplicate detection data (when action is "confirm_duplicate"). Contains information about potential duplicate transaction for user confirmation.
3995
- */
3996
- duplicateData?: NlpDuplicateConfirmationDataDto;
3997
- /**
3998
- * Rule match data (when action is "confirm_rule"). Contains information about medium-confidence rule match for user confirmation.
3999
- */
4000
- ruleData?: NlpRuleConfirmationDataDto;
4001
- /**
4002
- * Account validation data (when action is "confirm_account"). Contains information about invalid account for user correction.
4003
- */
4004
- accountData?: NlpAccountConfirmationDataDto;
4005
- /**
4006
- * Payee confirmation data (when action is "confirm_payee"). Contains information about medium/low confidence payee match for user confirmation.
4007
- */
4008
- payeeData?: NlpPayeeConfirmationDataDto;
4009
- /**
4010
- * Overall confidence score (0-1)
4011
- */
4012
- confidence?: number;
4013
- /**
4014
- * Confidence threshold for automatic creation (default: 0.75). When confidence < threshold, action will be "confirm" requiring user verification.
4015
- */
4016
- confidenceThreshold?: number;
4017
- /**
4018
- * Recurring transaction match info (when action is "created"). Contains match details when transaction matches a pending expected transaction.
4019
- */
4020
- recurringMatch?: RecurringMatchInfoDto;
4021
- /**
4022
- * 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.
4023
- */
4024
- recurringSuggestion?: RecurringSuggestionDto;
4025
- /**
4026
- * Suggested accounts for this transaction. Contains recommended source and destination accounts based on the detected intent and rules.
4027
- */
4028
- suggestedAccounts?: NlpSuggestedAccountsDto;
4029
- /**
4030
- * Default accounts for the user/region. These are fallback accounts used when no specific suggestion is available.
4031
- */
4032
- defaultAccounts?: NlpDefaultAccountsDto;
4033
- };
4034
-
4035
- /**
4036
- * Response status
4037
- */
4038
- export type status4 = 'success' | 'pending' | 'error';
4039
-
4040
- /**
4041
- * Action taken or requested
4042
- */
4043
- export type action2 =
4044
- | 'created'
4045
- | 'ask'
4046
- | 'confirm'
4047
- | 'confirm_duplicate'
4048
- | 'confirm_rule'
4049
- | 'confirm_account'
4050
- | 'confirm_payee'
4051
- | 'cancel';
4052
-
4053
- /**
4054
- * Transaction intent detected by EntityRouter (v6.0: 5 core intents). Frontend uses this to render scenario-specific form fields.
4055
- */
4056
- export type intent = 'expense' | 'asset' | 'income' | 'liability' | 'equity';
4057
-
4058
- /**
4059
- * Asset sub-type (only present when intent is "asset"). Determines which asset-related form to render.
4060
- */
4061
- export type assetSubType = 'transfer' | 'banking' | 'investment';
4062
-
4063
- /**
4064
- * Liability sub-type (only present when intent is "liability"). borrow: borrowing money (Liabilities → Assets), repay: repaying debt (Assets → Liabilities).
4065
- */
4066
- export type liabilitySubType = 'borrow' | 'repay';
4067
-
4068
- /**
4069
- * Equity sub-type (only present when intent is "equity"). opening: account opening balance (Equity → Assets), adjustment: balance correction.
4070
- */
4071
- export type equitySubType = 'opening' | 'adjustment';
4072
-
4073
3488
  export type BalanceByCurrencyDto = {
4074
3489
  /**
4075
3490
  * ISO 4217 currency code
@@ -4289,7 +3704,7 @@ export type AccountItemWithAssetClassDto = {
4289
3704
  /**
4290
3705
  * ADR-0105 classification provenance (holding level always; account level only on FALLBACK)
4291
3706
  */
4292
- export type source2 =
3707
+ export type source =
4293
3708
  | 'USER_META'
4294
3709
  | 'FIAT_CURRENCY'
4295
3710
  | 'OPENBB_MAPPING'
@@ -4568,7 +3983,7 @@ export type CurrentPriceDto = {
4568
3983
  /**
4569
3984
  * Price source
4570
3985
  */
4571
- export type source3 = 'USER_OVERRIDE' | 'OPENBB_EQUITY' | 'OPENBB_CURRENCY';
3986
+ export type source2 = 'USER_OVERRIDE' | 'OPENBB_EQUITY' | 'OPENBB_CURRENCY';
4572
3987
 
4573
3988
  export type FxRateDto = {
4574
3989
  from: string;
@@ -4942,7 +4357,7 @@ export type AccountControllerCreateData = {
4942
4357
  requestBody: CreateAccountDto;
4943
4358
  };
4944
4359
 
4945
- export type AccountControllerCreateResponse = AccountResponseDto;
4360
+ export type AccountControllerCreateResponse = unknown;
4946
4361
 
4947
4362
  export type AccountControllerFindAllData = {
4948
4363
  /**
@@ -4991,9 +4406,6 @@ export type AccountControllerFindOneData = {
4991
4406
  export type AccountControllerFindOneResponse = AccountResponseDto;
4992
4407
 
4993
4408
  export type AccountControllerUpdateData = {
4994
- /**
4995
- * Account UUID
4996
- */
4997
4409
  id: string;
4998
4410
  /**
4999
4411
  * Region code for tenant context
@@ -5002,12 +4414,9 @@ export type AccountControllerUpdateData = {
5002
4414
  requestBody: UpdateAccountDto;
5003
4415
  };
5004
4416
 
5005
- export type AccountControllerUpdateResponse = AccountResponseDto;
4417
+ export type AccountControllerUpdateResponse = unknown;
5006
4418
 
5007
4419
  export type AccountControllerDeleteData = {
5008
- /**
5009
- * Account UUID
5010
- */
5011
4420
  id: string;
5012
4421
  /**
5013
4422
  * Region code for tenant context
@@ -5015,12 +4424,9 @@ export type AccountControllerDeleteData = {
5015
4424
  region: 'cn' | 'us' | 'de' | 'gb';
5016
4425
  };
5017
4426
 
5018
- export type AccountControllerDeleteResponse = void;
4427
+ export type AccountControllerDeleteResponse = unknown;
5019
4428
 
5020
4429
  export type AccountControllerCloseData = {
5021
- /**
5022
- * Account UUID
5023
- */
5024
4430
  id: string;
5025
4431
  /**
5026
4432
  * Region code for tenant context
@@ -5029,12 +4435,9 @@ export type AccountControllerCloseData = {
5029
4435
  requestBody: CloseAccountDto;
5030
4436
  };
5031
4437
 
5032
- export type AccountControllerCloseResponse = AccountResponseDto;
4438
+ export type AccountControllerCloseResponse = unknown;
5033
4439
 
5034
4440
  export type AccountControllerReopenData = {
5035
- /**
5036
- * Account UUID
5037
- */
5038
4441
  id: string;
5039
4442
  /**
5040
4443
  * Region code for tenant context
@@ -5043,7 +4446,7 @@ export type AccountControllerReopenData = {
5043
4446
  requestBody: ReopenAccountDto;
5044
4447
  };
5045
4448
 
5046
- export type AccountControllerReopenResponse = AccountResponseDto;
4449
+ export type AccountControllerReopenResponse = unknown;
5047
4450
 
5048
4451
  export type AccountStandardsControllerGetTemplatesData = {
5049
4452
  /**
@@ -6125,25 +5528,13 @@ export type FileImportControllerIdentifyFileData = {
6125
5528
  export type FileImportControllerIdentifyFileResponse = IdentifyResultDto;
6126
5529
 
6127
5530
  export type FileImportControllerImportBeancountData = {
6128
- /**
6129
- * Beancount file to import
6130
- */
6131
- formData: FileImportDto;
6132
5531
  /**
6133
5532
  * Region code for tenant context
6134
5533
  */
6135
5534
  region: 'cn' | 'us' | 'de' | 'gb';
6136
5535
  };
6137
5536
 
6138
- export type FileImportControllerImportBeancountResponse = {
6139
- imported?: number;
6140
- skipped?: number;
6141
- failed?: number;
6142
- accountsCreated?: number;
6143
- errors?: Array<{
6144
- [key: string]: unknown;
6145
- }>;
6146
- };
5537
+ export type FileImportControllerImportBeancountResponse = unknown;
6147
5538
 
6148
5539
  export type ImporterConfigControllerGetConfigData = {
6149
5540
  /**
@@ -6231,18 +5622,7 @@ export type PlatformControllerDeleteData = {
6231
5622
  export type PlatformControllerDeleteResponse = void;
6232
5623
 
6233
5624
  export type ProviderSyncControllerSyncData = {
6234
- /**
6235
- * Provider name
6236
- */
6237
- providerName:
6238
- | 'plaid'
6239
- | 'teller'
6240
- | 'truelayer'
6241
- | 'gocardless'
6242
- | 'simplefin'
6243
- | 'yodlee'
6244
- | 'beancount-direct'
6245
- | 'parsed-bill';
5625
+ providerName: string;
6246
5626
  /**
6247
5627
  * Region code for tenant context
6248
5628
  */
@@ -6250,7 +5630,7 @@ export type ProviderSyncControllerSyncData = {
6250
5630
  requestBody: ProviderSyncDto;
6251
5631
  };
6252
5632
 
6253
- export type ProviderSyncControllerSyncResponse = ProviderSyncResponseDto;
5633
+ export type ProviderSyncControllerSyncResponse = unknown;
6254
5634
 
6255
5635
  export type ProviderSyncControllerGetSupportedProvidersData = {
6256
5636
  /**
@@ -6313,13 +5693,10 @@ export type NlpControllerProcessNaturalLanguageData = {
6313
5693
  * Region code for tenant context
6314
5694
  */
6315
5695
  region: 'cn' | 'us' | 'de' | 'gb';
6316
- /**
6317
- * Natural language transaction input with optional session ID
6318
- */
6319
5696
  requestBody: ProcessNlpDto;
6320
5697
  };
6321
5698
 
6322
- export type NlpControllerProcessNaturalLanguageResponse = NlpResponseDto;
5699
+ export type NlpControllerProcessNaturalLanguageResponse = unknown;
6323
5700
 
6324
5701
  export type NlpControllerClearSessionData = {
6325
5702
  /**
@@ -6613,14 +5990,7 @@ export type $OpenApiTs = {
6613
5990
  post: {
6614
5991
  req: AccountControllerCreateData;
6615
5992
  res: {
6616
- /**
6617
- * Account created successfully
6618
- */
6619
- 201: AccountResponseDto;
6620
- /**
6621
- * Account already exists
6622
- */
6623
- 409: unknown;
5993
+ 201: unknown;
6624
5994
  };
6625
5995
  };
6626
5996
  get: {
@@ -6650,31 +6020,13 @@ export type $OpenApiTs = {
6650
6020
  put: {
6651
6021
  req: AccountControllerUpdateData;
6652
6022
  res: {
6653
- /**
6654
- * Account updated successfully
6655
- */
6656
- 200: AccountResponseDto;
6657
- /**
6658
- * Account not found
6659
- */
6660
- 404: unknown;
6023
+ 200: unknown;
6661
6024
  };
6662
6025
  };
6663
6026
  delete: {
6664
6027
  req: AccountControllerDeleteData;
6665
6028
  res: {
6666
- /**
6667
- * Account deleted successfully
6668
- */
6669
- 204: void;
6670
- /**
6671
- * Account not found
6672
- */
6673
- 404: unknown;
6674
- /**
6675
- * Account has transactions and cannot be deleted
6676
- */
6677
- 409: unknown;
6029
+ 200: unknown;
6678
6030
  };
6679
6031
  };
6680
6032
  };
@@ -6682,18 +6034,7 @@ export type $OpenApiTs = {
6682
6034
  post: {
6683
6035
  req: AccountControllerCloseData;
6684
6036
  res: {
6685
- /**
6686
- * Account closed successfully
6687
- */
6688
- 200: AccountResponseDto;
6689
- /**
6690
- * Account is already closed
6691
- */
6692
- 400: unknown;
6693
- /**
6694
- * Account not found
6695
- */
6696
- 404: unknown;
6037
+ 201: unknown;
6697
6038
  };
6698
6039
  };
6699
6040
  };
@@ -6701,18 +6042,7 @@ export type $OpenApiTs = {
6701
6042
  post: {
6702
6043
  req: AccountControllerReopenData;
6703
6044
  res: {
6704
- /**
6705
- * Account reopened successfully
6706
- */
6707
- 200: AccountResponseDto;
6708
- /**
6709
- * Account is not closed
6710
- */
6711
- 400: unknown;
6712
- /**
6713
- * Account not found
6714
- */
6715
- 404: unknown;
6045
+ 201: unknown;
6716
6046
  };
6717
6047
  };
6718
6048
  };
@@ -8048,22 +7378,7 @@ export type $OpenApiTs = {
8048
7378
  post: {
8049
7379
  req: FileImportControllerImportBeancountData;
8050
7380
  res: {
8051
- /**
8052
- * Beancount file imported successfully
8053
- */
8054
- 200: {
8055
- imported?: number;
8056
- skipped?: number;
8057
- failed?: number;
8058
- accountsCreated?: number;
8059
- errors?: Array<{
8060
- [key: string]: unknown;
8061
- }>;
8062
- };
8063
- /**
8064
- * Bad request - invalid file or no file uploaded
8065
- */
8066
- 400: ApiProblemResponseDto;
7381
+ 201: unknown;
8067
7382
  };
8068
7383
  };
8069
7384
  };
@@ -8194,22 +7509,7 @@ export type $OpenApiTs = {
8194
7509
  post: {
8195
7510
  req: ProviderSyncControllerSyncData;
8196
7511
  res: {
8197
- /**
8198
- * Sync completed successfully
8199
- */
8200
- 200: ProviderSyncResponseDto;
8201
- /**
8202
- * Invalid request data
8203
- */
8204
- 400: unknown;
8205
- /**
8206
- * Missing or invalid authentication
8207
- */
8208
- 401: unknown;
8209
- /**
8210
- * Provider not supported
8211
- */
8212
- 404: unknown;
7512
+ 201: unknown;
8213
7513
  };
8214
7514
  };
8215
7515
  };
@@ -8288,18 +7588,7 @@ export type $OpenApiTs = {
8288
7588
  post: {
8289
7589
  req: NlpControllerProcessNaturalLanguageData;
8290
7590
  res: {
8291
- /**
8292
- * NLP processing result - either created transaction or asking for more info
8293
- */
8294
- 200: NlpResponseDto;
8295
- /**
8296
- * Invalid input
8297
- */
8298
- 400: unknown;
8299
- /**
8300
- * Unauthorized
8301
- */
8302
- 401: unknown;
7591
+ 201: unknown;
8303
7592
  };
8304
7593
  };
8305
7594
  };