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

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
@@ -26,6 +26,10 @@ type CreateAccountDto = {
26
26
  * Account path (hierarchical, colon-separated)
27
27
  */
28
28
  path: string;
29
+ /**
30
+ * Display name to distinguish accounts at the same path (default: "")
31
+ */
32
+ displayName?: string;
29
33
  /**
30
34
  * Account open date
31
35
  */
@@ -78,6 +82,10 @@ type AccountResponseDto = {
78
82
  * Account path (hierarchical, colon-separated)
79
83
  */
80
84
  path: string;
85
+ /**
86
+ * Display name distinguishing multiple accounts at the same path
87
+ */
88
+ displayName: string;
81
89
  /**
82
90
  * Account type (root segment)
83
91
  */
@@ -164,6 +172,10 @@ type AccountListResponseDto = {
164
172
  total: number;
165
173
  };
166
174
  type UpdateAccountDto = {
175
+ /**
176
+ * Display name to distinguish accounts at the same path
177
+ */
178
+ displayName?: string;
167
179
  /**
168
180
  * Allowed currencies (null = no restriction)
169
181
  */
@@ -189,9 +201,7 @@ type UpdateAccountDto = {
189
201
  /**
190
202
  * Platform ID (references Platform.id), null to clear association
191
203
  */
192
- platformId?: {
193
- [key: string]: unknown;
194
- } | null;
204
+ platformId?: string | null;
195
205
  };
196
206
  type CloseAccountDto = {
197
207
  /**
@@ -211,6 +221,78 @@ type ReopenAccountDto = {
211
221
  */
212
222
  reopenDate?: string;
213
223
  };
224
+ type AccountStandardResponseDto = {
225
+ /**
226
+ * Account path (hierarchical, colon-separated)
227
+ */
228
+ path: string;
229
+ /**
230
+ * Account type in Beancount hierarchy
231
+ */
232
+ type: 'Assets' | 'Liabilities' | 'Income' | 'Expenses' | 'Equity';
233
+ /**
234
+ * i18n key for localized display name
235
+ */
236
+ i18nKey: string;
237
+ /**
238
+ * Short localized display name
239
+ */
240
+ name?: string;
241
+ /**
242
+ * Account description (stable semantics only)
243
+ */
244
+ description: string;
245
+ /**
246
+ * Account tags for categorization
247
+ */
248
+ tags: Array<string>;
249
+ /**
250
+ * Icon identifier for UI display
251
+ */
252
+ icon: string;
253
+ };
254
+ type AccountStandardListResponseDto = {
255
+ /**
256
+ * Array of account templates
257
+ */
258
+ items: Array<AccountStandardResponseDto>;
259
+ /**
260
+ * Total number of account templates
261
+ */
262
+ total: number;
263
+ /**
264
+ * Region code
265
+ */
266
+ region: string;
267
+ };
268
+ type TemplateMetadataDto = {
269
+ /**
270
+ * Whether this path can be extended
271
+ */
272
+ extendable: boolean;
273
+ /**
274
+ * Root account type
275
+ */
276
+ rootType: string;
277
+ };
278
+ type TemplateMetadataResponseDto = {
279
+ metadata?: TemplateMetadataDto;
280
+ };
281
+ type RegionConfigDto = {
282
+ currency: string;
283
+ dateFormat: string;
284
+ locale: string;
285
+ };
286
+ type RegionInfoDto = {
287
+ code: string;
288
+ displayName: string;
289
+ parent?: string;
290
+ chain: Array<string>;
291
+ config: RegionConfigDto;
292
+ };
293
+ type RegionsMetadataResponseDto = {
294
+ regions: Array<RegionInfoDto>;
295
+ };
214
296
  type CreatePostingDto = {
215
297
  /**
216
298
  * Account name in Beancount format (must start with uppercase, colon-separated)
@@ -285,7 +367,7 @@ type PostingResponseDto = {
285
367
  */
286
368
  account: string;
287
369
  /**
288
- * Amount (may be null if interpolated)
370
+ * Amount as decimal string. Typed optional but always present in responses: interpolation fills any MISSING posting before it is persisted or returned.
289
371
  */
290
372
  units?: string;
291
373
  /**
@@ -401,6 +483,36 @@ type ApiProblemResponseDto = {
401
483
  [key: string]: unknown;
402
484
  };
403
485
  };
486
+ type BatchCreateTransactionDto = {
487
+ /**
488
+ * Array of transactions to create
489
+ */
490
+ transactions: Array<CreateTransactionDto>;
491
+ };
492
+ type BatchTransactionErrorDto = {
493
+ /**
494
+ * Index of failed transaction in the input array
495
+ */
496
+ index: number;
497
+ /**
498
+ * Error message describing the failure
499
+ */
500
+ error: string;
501
+ /**
502
+ * Structured error code for programmatic handling
503
+ */
504
+ errorCode?: string;
505
+ };
506
+ type BatchTransactionResponseDto = {
507
+ /**
508
+ * Successfully created transactions
509
+ */
510
+ succeeded: Array<TransactionResponseDto>;
511
+ /**
512
+ * Failed transactions with error details
513
+ */
514
+ failed: Array<BatchTransactionErrorDto>;
515
+ };
404
516
  type PostingDetailDto = {
405
517
  /**
406
518
  * Posting ID
@@ -415,7 +527,7 @@ type PostingDetailDto = {
415
527
  */
416
528
  accountName: string;
417
529
  /**
418
- * Amount (may be null if interpolated)
530
+ * Amount as decimal string. Typed optional but always present in responses: interpolation fills any MISSING posting before it is persisted or returned.
419
531
  */
420
532
  units?: string;
421
533
  /**
@@ -497,9 +609,9 @@ type TransactionDetailDto = {
497
609
  */
498
610
  status: 'ACTIVE' | 'VOIDED' | 'SUPERSEDED';
499
611
  /**
500
- * Source type (how the transaction was created)
612
+ * Source type (free-form string from transaction metadata, e.g. import, api)
501
613
  */
502
- sourceType?: 'NLP' | 'CSV' | 'OCR' | 'API';
614
+ sourceType?: string;
503
615
  /**
504
616
  * Source platform (e.g., alipay, wechat)
505
617
  */
@@ -533,10 +645,6 @@ type flag2 = 'CLEARED' | 'PENDING' | 'PADDING' | 'SUMMARIZE' | 'TRANSFER' | 'CON
533
645
  * Transaction status
534
646
  */
535
647
  type status2 = 'ACTIVE' | 'VOIDED' | 'SUPERSEDED';
536
- /**
537
- * Source type (how the transaction was created)
538
- */
539
- type sourceType = 'NLP' | 'CSV' | 'OCR' | 'API';
540
648
  type TransactionListResponseDto = {
541
649
  /**
542
650
  * List of transactions
@@ -555,6 +663,22 @@ type TransactionListResponseDto = {
555
663
  */
556
664
  offset: number;
557
665
  };
666
+ type TagSuggestionDto = {
667
+ /**
668
+ * Tag name
669
+ */
670
+ tag: string;
671
+ /**
672
+ * Usage count across ACTIVE transactions
673
+ */
674
+ count: number;
675
+ };
676
+ type TagSuggestionsResponseDto = {
677
+ /**
678
+ * Tag suggestions sorted as requested
679
+ */
680
+ data: Array<TagSuggestionDto>;
681
+ };
558
682
  type UpdateTransactionDto = {
559
683
  /**
560
684
  * Transaction flag (CLEARED, PENDING, etc.)
@@ -583,61 +707,6 @@ type UpdateTransactionDto = {
583
707
  [key: string]: unknown;
584
708
  };
585
709
  };
586
- type AccountStandardResponseDto = {
587
- /**
588
- * Account path (hierarchical, colon-separated)
589
- */
590
- path: string;
591
- /**
592
- * Account type in Beancount hierarchy
593
- */
594
- type: 'Assets' | 'Liabilities' | 'Income' | 'Expenses' | 'Equity';
595
- /**
596
- * i18n key for localized display name
597
- */
598
- i18nKey?: string;
599
- /**
600
- * Account description
601
- */
602
- description?: string;
603
- /**
604
- * Account tags for categorization
605
- */
606
- tags?: Array<string>;
607
- /**
608
- * Icon identifier for UI display
609
- */
610
- icon?: string;
611
- };
612
- type AccountStandardListResponseDto = {
613
- /**
614
- * Array of account templates
615
- */
616
- items: Array<AccountStandardResponseDto>;
617
- /**
618
- * Total number of account templates
619
- */
620
- total: number;
621
- /**
622
- * Region code
623
- */
624
- region: string;
625
- };
626
- type RegionConfigDto = {
627
- currency: string;
628
- dateFormat: string;
629
- locale: string;
630
- };
631
- type RegionInfoDto = {
632
- code: string;
633
- displayName: string;
634
- parent?: string;
635
- chain: Array<string>;
636
- config: RegionConfigDto;
637
- };
638
- type RegionsMetadataResponseDto = {
639
- regions: Array<RegionInfoDto>;
640
- };
641
710
  type BalanceResponseDto = {
642
711
  /**
643
712
  * Account name
@@ -702,9 +771,9 @@ type TransactionSummaryDto = {
702
771
  */
703
772
  accountName?: string;
704
773
  /**
705
- * Source type (NLP, CSV, OCR, API)
774
+ * Source type (free-form string from transaction metadata, e.g. import, api)
706
775
  */
707
- sourceType?: 'NLP' | 'CSV' | 'OCR' | 'API';
776
+ sourceType?: string;
708
777
  /**
709
778
  * Source platform (e.g., alipay, wechat)
710
779
  */
@@ -728,19 +797,25 @@ type ReviewSummaryDto = {
728
797
  */
729
798
  confidence: number;
730
799
  /**
731
- * Confidence level derived from score
800
+ * Confidence level derived from score. Null for error-type reviews (ACCOUNT_VALIDATION/PIPELINE_ERROR) which carry no confidence.
801
+ */
802
+ confidenceLevel: 'HIGH' | 'MEDIUM' | 'LOW' | null;
803
+ /**
804
+ * i18n message key for summary (e.g., review.summary.duplicate). Translate on frontend with summaryParams.
732
805
  */
733
- confidenceLevel: 'HIGH' | 'MEDIUM' | 'LOW';
806
+ summaryKey: string;
734
807
  /**
735
- * Human-readable summary of the review item
808
+ * Parameters for summary message interpolation (e.g., { date: "2024-01-15", amount: "50" })
736
809
  */
737
- summary: string;
810
+ summaryParams?: {
811
+ [key: string]: string;
812
+ };
738
813
  /**
739
814
  * Human-readable reasons for branching
740
815
  */
741
816
  matchReasons: Array<string>;
742
817
  /**
743
- * Source type (NLP, CSV, OCR, API)
818
+ * Source type (free-form string from transaction metadata, e.g. import, api)
744
819
  */
745
820
  sourceType: string;
746
821
  /**
@@ -785,7 +860,7 @@ type type2 = 'DUPLICATE' | 'RULE_MATCH' | 'PAYEE_MATCH' | 'ACCOUNT_VALIDATION' |
785
860
  */
786
861
  type status3 = 'PENDING' | 'RESOLVED' | 'EXPIRED' | 'CANCELLED';
787
862
  /**
788
- * Confidence level derived from score
863
+ * Confidence level derived from score. Null for error-type reviews (ACCOUNT_VALIDATION/PIPELINE_ERROR) which carry no confidence.
789
864
  */
790
865
  type confidenceLevel = 'HIGH' | 'MEDIUM' | 'LOW';
791
866
  type ReviewListResponseDto = {
@@ -827,7 +902,7 @@ type DecisionOptionDto = {
827
902
  /**
828
903
  * The action value to submit (e.g., UPGRADE_REPLACE, ACCEPT)
829
904
  */
830
- value: string;
905
+ value: 'UPGRADE_REPLACE' | 'LINK_KEEP_BOTH' | 'IGNORE_NEW' | 'CONFIRM_DIFFERENT' | 'ACCEPT' | 'REJECT' | 'ACCEPT_AND_LEARN' | 'CHOOSE_OTHER' | 'CANCEL' | 'FIX' | 'IGNORE';
831
906
  /**
832
907
  * i18n message key for display label (e.g., review.payee.accept.label)
833
908
  */
@@ -841,6 +916,10 @@ type DecisionOptionDto = {
841
916
  */
842
917
  recommended?: boolean;
843
918
  };
919
+ /**
920
+ * The action value to submit (e.g., UPGRADE_REPLACE, ACCEPT)
921
+ */
922
+ type value = 'UPGRADE_REPLACE' | 'LINK_KEEP_BOTH' | 'IGNORE_NEW' | 'CONFIRM_DIFFERENT' | 'ACCEPT' | 'REJECT' | 'ACCEPT_AND_LEARN' | 'CHOOSE_OTHER' | 'CANCEL' | 'FIX' | 'IGNORE';
844
923
  type ReviewDetailDto = {
845
924
  /**
846
925
  * Review item ID
@@ -859,19 +938,25 @@ type ReviewDetailDto = {
859
938
  */
860
939
  confidence: number;
861
940
  /**
862
- * Confidence level derived from score
941
+ * Confidence level derived from score. Null for error-type reviews (ACCOUNT_VALIDATION/PIPELINE_ERROR) which carry no confidence.
942
+ */
943
+ confidenceLevel: 'HIGH' | 'MEDIUM' | 'LOW' | null;
944
+ /**
945
+ * i18n message key for summary (e.g., review.summary.duplicate). Translate on frontend with summaryParams.
863
946
  */
864
- confidenceLevel: 'HIGH' | 'MEDIUM' | 'LOW';
947
+ summaryKey: string;
865
948
  /**
866
- * Human-readable summary of the review item
949
+ * Parameters for summary message interpolation (e.g., { date: "2024-01-15", amount: "50" })
867
950
  */
868
- summary: string;
951
+ summaryParams?: {
952
+ [key: string]: string;
953
+ };
869
954
  /**
870
955
  * Human-readable reasons for branching
871
956
  */
872
957
  matchReasons: Array<string>;
873
958
  /**
874
- * Source type (NLP, CSV, OCR, API)
959
+ * Source type (free-form string from transaction metadata, e.g. import, api)
875
960
  */
876
961
  sourceType: string;
877
962
  /**
@@ -921,6 +1006,122 @@ type ReviewDetailDto = {
921
1006
  */
922
1007
  transactionId?: string;
923
1008
  };
1009
+ type ResolveReviewDto = {
1010
+ /**
1011
+ * Decision action. Valid actions vary by review type — see DecisionOptionDto.value returned by the review detail endpoint.
1012
+ */
1013
+ action: 'UPGRADE_REPLACE' | 'LINK_KEEP_BOTH' | 'IGNORE_NEW' | 'CONFIRM_DIFFERENT' | 'ACCEPT' | 'REJECT' | 'ACCEPT_AND_LEARN' | 'CHOOSE_OTHER' | 'CANCEL' | 'FIX' | 'IGNORE';
1014
+ /**
1015
+ * Additional data for the decision (e.g., selected account ID)
1016
+ */
1017
+ data?: {
1018
+ [key: string]: unknown;
1019
+ };
1020
+ };
1021
+ /**
1022
+ * Decision action. Valid actions vary by review type — see DecisionOptionDto.value returned by the review detail endpoint.
1023
+ */
1024
+ type action = 'UPGRADE_REPLACE' | 'LINK_KEEP_BOTH' | 'IGNORE_NEW' | 'CONFIRM_DIFFERENT' | 'ACCEPT' | 'REJECT' | 'ACCEPT_AND_LEARN' | 'CHOOSE_OTHER' | 'CANCEL' | 'FIX' | 'IGNORE';
1025
+ type ResolveResultDto = {
1026
+ /**
1027
+ * Whether resolution was successful
1028
+ */
1029
+ success: boolean;
1030
+ /**
1031
+ * i18n message key for result message (e.g., review.payee.result.mapped)
1032
+ */
1033
+ messageKey?: string;
1034
+ /**
1035
+ * Parameters for message interpolation (e.g., { name: "PayeeName" })
1036
+ */
1037
+ messageParams?: {
1038
+ [key: string]: string;
1039
+ };
1040
+ /**
1041
+ * Resolution ID for undo
1042
+ */
1043
+ resolutionId: string;
1044
+ /**
1045
+ * Whether this decision can be undone
1046
+ */
1047
+ canUndo: boolean;
1048
+ /**
1049
+ * Deadline for undo (24h from resolution)
1050
+ */
1051
+ undoDeadline: string;
1052
+ /**
1053
+ * Rule ID if learning was triggered (ACCEPT_AND_LEARN actions). Use this to deep-link to the rule management page.
1054
+ */
1055
+ learnedRuleId?: string;
1056
+ };
1057
+ type UndoResultDto = {
1058
+ /**
1059
+ * Whether undo was successful
1060
+ */
1061
+ success: boolean;
1062
+ /**
1063
+ * Message
1064
+ */
1065
+ message?: string;
1066
+ /**
1067
+ * Review item ID that was restored
1068
+ */
1069
+ reviewId: string;
1070
+ };
1071
+ type BatchResolveDto = {
1072
+ /**
1073
+ * Review item IDs to resolve
1074
+ */
1075
+ reviewIds: Array<string>;
1076
+ /**
1077
+ * Decision action to apply to all items
1078
+ */
1079
+ action: 'UPGRADE_REPLACE' | 'LINK_KEEP_BOTH' | 'IGNORE_NEW' | 'CONFIRM_DIFFERENT' | 'ACCEPT' | 'REJECT' | 'ACCEPT_AND_LEARN' | 'CHOOSE_OTHER' | 'CANCEL' | 'FIX' | 'IGNORE';
1080
+ /**
1081
+ * Additional data for the decision
1082
+ */
1083
+ data?: {
1084
+ [key: string]: unknown;
1085
+ };
1086
+ };
1087
+ type BatchResolveResultDto = {
1088
+ /**
1089
+ * Number of successfully resolved items
1090
+ */
1091
+ successCount: number;
1092
+ /**
1093
+ * Number of failed items
1094
+ */
1095
+ failedCount: number;
1096
+ /**
1097
+ * Details for each item
1098
+ */
1099
+ results: Array<string>;
1100
+ };
1101
+ type CreatePayeeDto = {
1102
+ /**
1103
+ * User's original payee name (e.g., 'Starbucks', 'McDonald'). This is the raw payee string as entered by the user.
1104
+ */
1105
+ payee: string;
1106
+ /**
1107
+ * Optional reference to global PayeeProfile for standardized data (merchant info, i18n keys, categories)
1108
+ */
1109
+ payeeProfileId?: string;
1110
+ /**
1111
+ * User's custom category for this payee (overrides PayeeProfile category)
1112
+ */
1113
+ customCategory?: string;
1114
+ /**
1115
+ * User's custom tags for this payee (e.g., ['favorite', 'work_meal'])
1116
+ */
1117
+ customTags?: Array<string>;
1118
+ /**
1119
+ * Metadata for extended information (location, notes, contact info, etc.)
1120
+ */
1121
+ meta?: {
1122
+ [key: string]: unknown;
1123
+ };
1124
+ };
924
1125
  type PayeeResponseDto = {
925
1126
  /**
926
1127
  * Unique identifier (UUID)
@@ -937,15 +1138,11 @@ type PayeeResponseDto = {
937
1138
  /**
938
1139
  * Reference to global PayeeProfile (merchant info, i18n keys, categories)
939
1140
  */
940
- payeeProfileId?: {
941
- [key: string]: unknown;
942
- } | null;
1141
+ payeeProfileId?: string | null;
943
1142
  /**
944
1143
  * User's custom category (overrides PayeeProfile category if set)
945
1144
  */
946
- customCategory?: {
947
- [key: string]: unknown;
948
- } | null;
1145
+ customCategory?: string | null;
949
1146
  /**
950
1147
  * User's custom tags (e.g., ['favorite', 'work_meal'])
951
1148
  */
@@ -1007,67 +1204,143 @@ type PayeeStatsResponseDto = {
1007
1204
  */
1008
1205
  lastUsedAt: string;
1009
1206
  };
1010
- type PayeeProfileResponseDto = {
1207
+ type UpdatePayeeDto = {
1011
1208
  /**
1012
- * Unique identifier (UUID)
1209
+ * Optional reference to global PayeeProfile for standardized data (merchant info, i18n keys, categories)
1013
1210
  */
1014
- id: string;
1211
+ payeeProfileId?: string;
1015
1212
  /**
1016
- * Canonical payee name (unique, case-insensitive)
1213
+ * User's custom category for this payee (overrides PayeeProfile category)
1017
1214
  */
1018
- canonical: string;
1215
+ customCategory?: string;
1019
1216
  /**
1020
- * Multi-language aliases
1217
+ * User's custom tags for this payee (e.g., ['favorite', 'work_meal'])
1021
1218
  */
1022
- aliases: Array<string>;
1219
+ customTags?: Array<string>;
1023
1220
  /**
1024
- * Translation key for i18n
1221
+ * Metadata for extended information (location, notes, contact info, etc.). Will merge with existing metadata.
1025
1222
  */
1026
- i18nKey?: {
1223
+ meta?: {
1027
1224
  [key: string]: unknown;
1028
- } | null;
1225
+ };
1029
1226
  /**
1030
- * Payee category
1227
+ * Enable or disable this payee. Disabled payees will not appear in autocomplete suggestions.
1031
1228
  */
1032
- category: 'RESTAURANT' | 'CAFE' | 'FAST_FOOD' | 'BAR' | 'SUPERMARKET' | 'CONVENIENCE_STORE' | 'SHOPPING_MALL' | 'ONLINE_SHOPPING' | 'TAXI' | 'RIDE_SHARING' | 'PUBLIC_TRANSPORT' | 'PARKING' | 'GAS_STATION' | 'UTILITIES' | 'TELECOM' | 'STREAMING' | 'HEALTHCARE' | 'EDUCATION' | 'ENTERTAINMENT' | 'SPORTS' | 'TRAVEL' | 'HOTEL' | 'OTHER';
1229
+ isActive?: boolean;
1230
+ };
1231
+ type CreatePayeeProfileDto = {
1033
1232
  /**
1034
- * Sub-category
1233
+ * Canonical payee name (unique, case-insensitive). This is the primary identifier for the payee.
1035
1234
  */
1036
- subCategory?: {
1037
- [key: string]: unknown;
1038
- } | null;
1235
+ canonical: string;
1039
1236
  /**
1040
- * Country codes where payee operates
1237
+ * Multi-language aliases for the payee. Used for matching user input in different languages.
1041
1238
  */
1042
- countries: Array<string>;
1239
+ aliases?: Array<string>;
1043
1240
  /**
1044
- * Primary operating country
1241
+ * Translation key for i18n integration (XLIFF translation system)
1045
1242
  */
1046
- primaryCountry?: {
1047
- [key: string]: unknown;
1048
- } | null;
1243
+ i18nKey?: string;
1049
1244
  /**
1050
- * Search keywords
1245
+ * Payee category classification
1051
1246
  */
1052
- keywords: Array<string>;
1247
+ category: 'RESTAURANT' | 'CAFE' | 'FAST_FOOD' | 'BAR' | 'SUPERMARKET' | 'CONVENIENCE_STORE' | 'SHOPPING_MALL' | 'ONLINE_SHOPPING' | 'TAXI' | 'RIDE_SHARING' | 'PUBLIC_TRANSPORT' | 'PARKING' | 'GAS_STATION' | 'UTILITIES' | 'TELECOM' | 'STREAMING' | 'HEALTHCARE' | 'EDUCATION' | 'ENTERTAINMENT' | 'SPORTS' | 'TRAVEL' | 'HOTEL' | 'OTHER';
1053
1248
  /**
1054
- * Logo URL
1249
+ * Sub-category for more specific classification
1055
1250
  */
1056
- logoUrl?: {
1057
- [key: string]: unknown;
1058
- } | null;
1251
+ subCategory?: string;
1059
1252
  /**
1060
- * Official website
1253
+ * Country/region codes where the payee operates (ISO 3166-1 alpha-2)
1061
1254
  */
1062
- website?: {
1255
+ countries?: Array<string>;
1256
+ /**
1257
+ * Primary operating country (ISO 3166-1 alpha-2)
1258
+ */
1259
+ primaryCountry?: string;
1260
+ /**
1261
+ * Search keywords for fuzzy matching
1262
+ */
1263
+ keywords?: Array<string>;
1264
+ /**
1265
+ * Payee logo URL
1266
+ */
1267
+ logoUrl?: string;
1268
+ /**
1269
+ * Official website URL
1270
+ */
1271
+ website?: string;
1272
+ /**
1273
+ * Payee description
1274
+ */
1275
+ description?: string;
1276
+ /**
1277
+ * Extended metadata (business hours, contact info, additional details)
1278
+ */
1279
+ meta?: {
1063
1280
  [key: string]: unknown;
1064
- } | null;
1281
+ };
1282
+ /**
1283
+ * Data source for this profile
1284
+ */
1285
+ dataSource?: 'MANUAL' | 'IMPORT' | 'API' | 'CROWDSOURCED';
1286
+ };
1287
+ /**
1288
+ * Payee category classification
1289
+ */
1290
+ type category = 'RESTAURANT' | 'CAFE' | 'FAST_FOOD' | 'BAR' | 'SUPERMARKET' | 'CONVENIENCE_STORE' | 'SHOPPING_MALL' | 'ONLINE_SHOPPING' | 'TAXI' | 'RIDE_SHARING' | 'PUBLIC_TRANSPORT' | 'PARKING' | 'GAS_STATION' | 'UTILITIES' | 'TELECOM' | 'STREAMING' | 'HEALTHCARE' | 'EDUCATION' | 'ENTERTAINMENT' | 'SPORTS' | 'TRAVEL' | 'HOTEL' | 'OTHER';
1291
+ /**
1292
+ * Data source for this profile
1293
+ */
1294
+ type dataSource = 'MANUAL' | 'IMPORT' | 'API' | 'CROWDSOURCED';
1295
+ type PayeeProfileResponseDto = {
1296
+ /**
1297
+ * Unique identifier (UUID)
1298
+ */
1299
+ id: string;
1300
+ /**
1301
+ * Canonical payee name (unique, case-insensitive)
1302
+ */
1303
+ canonical: string;
1304
+ /**
1305
+ * Multi-language aliases
1306
+ */
1307
+ aliases: Array<string>;
1308
+ /**
1309
+ * Translation key for i18n
1310
+ */
1311
+ i18nKey?: string | null;
1312
+ /**
1313
+ * Payee category
1314
+ */
1315
+ category: 'RESTAURANT' | 'CAFE' | 'FAST_FOOD' | 'BAR' | 'SUPERMARKET' | 'CONVENIENCE_STORE' | 'SHOPPING_MALL' | 'ONLINE_SHOPPING' | 'TAXI' | 'RIDE_SHARING' | 'PUBLIC_TRANSPORT' | 'PARKING' | 'GAS_STATION' | 'UTILITIES' | 'TELECOM' | 'STREAMING' | 'HEALTHCARE' | 'EDUCATION' | 'ENTERTAINMENT' | 'SPORTS' | 'TRAVEL' | 'HOTEL' | 'OTHER';
1316
+ /**
1317
+ * Sub-category
1318
+ */
1319
+ subCategory?: string | null;
1320
+ /**
1321
+ * Country codes where payee operates
1322
+ */
1323
+ countries: Array<string>;
1324
+ /**
1325
+ * Primary operating country
1326
+ */
1327
+ primaryCountry?: string | null;
1328
+ /**
1329
+ * Search keywords
1330
+ */
1331
+ keywords: Array<string>;
1332
+ /**
1333
+ * Logo URL
1334
+ */
1335
+ logoUrl?: string | null;
1336
+ /**
1337
+ * Official website
1338
+ */
1339
+ website?: string | null;
1065
1340
  /**
1066
1341
  * Description
1067
1342
  */
1068
- description?: {
1069
- [key: string]: unknown;
1070
- } | null;
1343
+ description?: string | null;
1071
1344
  /**
1072
1345
  * Extended metadata
1073
1346
  */
@@ -1081,9 +1354,7 @@ type PayeeProfileResponseDto = {
1081
1354
  /**
1082
1355
  * Verification timestamp (null if not verified)
1083
1356
  */
1084
- verifiedAt?: {
1085
- [key: string]: unknown;
1086
- } | null;
1357
+ verifiedAt?: string | null;
1087
1358
  /**
1088
1359
  * Whether the profile is active
1089
1360
  */
@@ -1097,14 +1368,6 @@ type PayeeProfileResponseDto = {
1097
1368
  */
1098
1369
  updatedAt: string;
1099
1370
  };
1100
- /**
1101
- * Payee category
1102
- */
1103
- type category = 'RESTAURANT' | 'CAFE' | 'FAST_FOOD' | 'BAR' | 'SUPERMARKET' | 'CONVENIENCE_STORE' | 'SHOPPING_MALL' | 'ONLINE_SHOPPING' | 'TAXI' | 'RIDE_SHARING' | 'PUBLIC_TRANSPORT' | 'PARKING' | 'GAS_STATION' | 'UTILITIES' | 'TELECOM' | 'STREAMING' | 'HEALTHCARE' | 'EDUCATION' | 'ENTERTAINMENT' | 'SPORTS' | 'TRAVEL' | 'HOTEL' | 'OTHER';
1104
- /**
1105
- * Data source
1106
- */
1107
- type dataSource = 'MANUAL' | 'IMPORT' | 'API' | 'CROWDSOURCED';
1108
1371
  type PayeeProfileListResponseDto = {
1109
1372
  /**
1110
1373
  * List of payee profiles
@@ -1115,6 +1378,82 @@ type PayeeProfileListResponseDto = {
1115
1378
  */
1116
1379
  total: number;
1117
1380
  };
1381
+ type UpdatePayeeProfileDto = {
1382
+ /**
1383
+ * Multi-language aliases for the payee. Used for matching user input in different languages.
1384
+ */
1385
+ aliases?: Array<string>;
1386
+ /**
1387
+ * Translation key for i18n integration (XLIFF translation system)
1388
+ */
1389
+ i18nKey?: string;
1390
+ /**
1391
+ * Payee category classification
1392
+ */
1393
+ category?: 'RESTAURANT' | 'CAFE' | 'FAST_FOOD' | 'BAR' | 'SUPERMARKET' | 'CONVENIENCE_STORE' | 'SHOPPING_MALL' | 'ONLINE_SHOPPING' | 'TAXI' | 'RIDE_SHARING' | 'PUBLIC_TRANSPORT' | 'PARKING' | 'GAS_STATION' | 'UTILITIES' | 'TELECOM' | 'STREAMING' | 'HEALTHCARE' | 'EDUCATION' | 'ENTERTAINMENT' | 'SPORTS' | 'TRAVEL' | 'HOTEL' | 'OTHER';
1394
+ /**
1395
+ * Sub-category for more specific classification
1396
+ */
1397
+ subCategory?: string;
1398
+ /**
1399
+ * Country/region codes where the payee operates (ISO 3166-1 alpha-2)
1400
+ */
1401
+ countries?: Array<string>;
1402
+ /**
1403
+ * Primary operating country (ISO 3166-1 alpha-2)
1404
+ */
1405
+ primaryCountry?: string;
1406
+ /**
1407
+ * Search keywords for fuzzy matching
1408
+ */
1409
+ keywords?: Array<string>;
1410
+ /**
1411
+ * Payee logo URL
1412
+ */
1413
+ logoUrl?: string;
1414
+ /**
1415
+ * Official website URL
1416
+ */
1417
+ website?: string;
1418
+ /**
1419
+ * Payee description
1420
+ */
1421
+ description?: string;
1422
+ /**
1423
+ * Extended metadata (business hours, contact info, additional details)
1424
+ */
1425
+ meta?: {
1426
+ [key: string]: unknown;
1427
+ };
1428
+ /**
1429
+ * Data source for this profile
1430
+ */
1431
+ dataSource?: 'MANUAL' | 'IMPORT' | 'API' | 'CROWDSOURCED';
1432
+ /**
1433
+ * Whether the payee profile is active (soft delete)
1434
+ */
1435
+ isActive?: boolean;
1436
+ /**
1437
+ * Verification timestamp. Set to current time to verify, or null to unverify.
1438
+ */
1439
+ verifiedAt?: string | null;
1440
+ };
1441
+ type CreateCommodityDto = {
1442
+ /**
1443
+ * Commodity symbol (e.g., AAPL, USD, BTC) - corresponds to Beancount currency field
1444
+ */
1445
+ symbol: string;
1446
+ /**
1447
+ * Commodity definition date (ISO 8601, required per Beancount spec). Represents when this commodity was first defined in the accounting system.
1448
+ */
1449
+ date: string;
1450
+ /**
1451
+ * Metadata (corresponds to Beancount meta field). Can contain name, assetClass, precision, note, tags, etc.
1452
+ */
1453
+ metadata?: {
1454
+ [key: string]: unknown;
1455
+ };
1456
+ };
1118
1457
  type CommodityResponseDto = {
1119
1458
  /**
1120
1459
  * Unique identifier
@@ -1123,9 +1462,7 @@ type CommodityResponseDto = {
1123
1462
  /**
1124
1463
  * User ID (owner of the commodity)
1125
1464
  */
1126
- userId?: {
1127
- [key: string]: unknown;
1128
- } | null;
1465
+ userId?: string | null;
1129
1466
  /**
1130
1467
  * Commodity symbol (corresponds to Beancount currency field)
1131
1468
  */
@@ -1140,12 +1477,6 @@ type CommodityResponseDto = {
1140
1477
  metadata: {
1141
1478
  [key: string]: unknown;
1142
1479
  };
1143
- /**
1144
- * Reference to SymbolProfile (market data integration, SaaS feature)
1145
- */
1146
- symbolProfileId?: {
1147
- [key: string]: unknown;
1148
- } | null;
1149
1480
  /**
1150
1481
  * Creation timestamp
1151
1482
  */
@@ -1165,6 +1496,84 @@ type CommodityListResponseDto = {
1165
1496
  */
1166
1497
  total: number;
1167
1498
  };
1499
+ type UpdateCommodityDto = {
1500
+ /**
1501
+ * Commodity definition date (ISO 8601). Represents when this commodity was first defined in the accounting system.
1502
+ */
1503
+ date?: string;
1504
+ /**
1505
+ * Metadata (corresponds to Beancount meta field). Will merge with existing metadata. Can contain name, assetClass, precision, note, tags, etc.
1506
+ */
1507
+ metadata?: {
1508
+ [key: string]: unknown;
1509
+ };
1510
+ };
1511
+ type CreateRecurringRuleDto = {
1512
+ /**
1513
+ * Rule name (unique per user)
1514
+ */
1515
+ name: string;
1516
+ /**
1517
+ * Icon emoji
1518
+ */
1519
+ icon?: string;
1520
+ /**
1521
+ * Recurring frequency
1522
+ */
1523
+ frequency: 'WEEKLY' | 'BIWEEKLY' | 'MONTHLY' | 'BIMONTHLY' | 'QUARTERLY' | 'YEARLY' | 'CUSTOM';
1524
+ /**
1525
+ * Expected amount (positive number)
1526
+ */
1527
+ expectedAmount: number;
1528
+ /**
1529
+ * Expected day of month (1-31)
1530
+ */
1531
+ expectedDay?: number;
1532
+ /**
1533
+ * Custom interval in days (required for CUSTOM frequency)
1534
+ */
1535
+ customIntervalDays?: number;
1536
+ /**
1537
+ * Currency code
1538
+ */
1539
+ currency: string;
1540
+ /**
1541
+ * Payee matching pattern (supports wildcards)
1542
+ */
1543
+ matchPayeePattern?: string;
1544
+ /**
1545
+ * Amount tolerance percentage (0-1)
1546
+ */
1547
+ matchAmountTolerance: number;
1548
+ /**
1549
+ * Default expense account for auto-create
1550
+ */
1551
+ defaultExpenseAccount?: string;
1552
+ /**
1553
+ * Default payment account for auto-create
1554
+ */
1555
+ defaultPaymentAccount?: string;
1556
+ /**
1557
+ * Default payee for auto-create
1558
+ */
1559
+ defaultPayee?: string;
1560
+ /**
1561
+ * Auto-create transaction when expected date arrives
1562
+ */
1563
+ autoCreate: boolean;
1564
+ /**
1565
+ * Rule start date (ISO format)
1566
+ */
1567
+ startDate?: string;
1568
+ /**
1569
+ * Rule end date (ISO format)
1570
+ */
1571
+ endDate?: string;
1572
+ };
1573
+ /**
1574
+ * Recurring frequency
1575
+ */
1576
+ type frequency = 'WEEKLY' | 'BIWEEKLY' | 'MONTHLY' | 'BIMONTHLY' | 'QUARTERLY' | 'YEARLY' | 'CUSTOM';
1168
1577
  type RecurringRuleResponseDto = {
1169
1578
  /**
1170
1579
  * Rule ID
@@ -1273,6 +1682,20 @@ type RecurringRuleResponseDto = {
1273
1682
  */
1274
1683
  updatedAt: string;
1275
1684
  };
1685
+ type CreateRuleFromTransactionDto = {
1686
+ /**
1687
+ * Recurring frequency
1688
+ */
1689
+ frequency: 'WEEKLY' | 'BIWEEKLY' | 'MONTHLY' | 'BIMONTHLY' | 'QUARTERLY' | 'YEARLY' | 'CUSTOM';
1690
+ /**
1691
+ * Optional name override (default: transaction payee)
1692
+ */
1693
+ name?: string;
1694
+ /**
1695
+ * Optional icon emoji
1696
+ */
1697
+ icon?: string;
1698
+ };
1276
1699
  type RecurringRuleWithStatsResponseDto = {
1277
1700
  /**
1278
1701
  * Rule ID
@@ -1427,6 +1850,68 @@ type RecurringRuleWithStatsResponseDto = {
1427
1850
  */
1428
1851
  upcomingCount: number;
1429
1852
  };
1853
+ type UpdateRecurringRuleDto = {
1854
+ /**
1855
+ * Rule name
1856
+ */
1857
+ name?: string;
1858
+ /**
1859
+ * Icon emoji
1860
+ */
1861
+ icon?: string;
1862
+ /**
1863
+ * Recurring frequency
1864
+ */
1865
+ frequency?: 'WEEKLY' | 'BIWEEKLY' | 'MONTHLY' | 'BIMONTHLY' | 'QUARTERLY' | 'YEARLY' | 'CUSTOM';
1866
+ /**
1867
+ * Expected amount
1868
+ */
1869
+ expectedAmount?: number;
1870
+ /**
1871
+ * Expected day of month (1-31)
1872
+ */
1873
+ expectedDay?: number;
1874
+ /**
1875
+ * Custom interval in days
1876
+ */
1877
+ customIntervalDays?: number;
1878
+ /**
1879
+ * Currency code
1880
+ */
1881
+ currency?: string;
1882
+ /**
1883
+ * Payee matching pattern
1884
+ */
1885
+ matchPayeePattern?: string;
1886
+ /**
1887
+ * Amount tolerance percentage (0-1)
1888
+ */
1889
+ matchAmountTolerance?: number;
1890
+ /**
1891
+ * Default expense account
1892
+ */
1893
+ defaultExpenseAccount?: string;
1894
+ /**
1895
+ * Default payment account
1896
+ */
1897
+ defaultPaymentAccount?: string;
1898
+ /**
1899
+ * Default payee
1900
+ */
1901
+ defaultPayee?: string;
1902
+ /**
1903
+ * Auto-create transaction
1904
+ */
1905
+ autoCreate?: boolean;
1906
+ /**
1907
+ * Rule active status
1908
+ */
1909
+ isActive?: boolean;
1910
+ /**
1911
+ * Rule end date (ISO format)
1912
+ */
1913
+ endDate?: string;
1914
+ };
1430
1915
  type ExpectedTransactionRuleDto = {
1431
1916
  /**
1432
1917
  * Rule name
@@ -1514,6 +1999,34 @@ type ExpectedTransactionListResponseDto = {
1514
1999
  */
1515
2000
  total: number;
1516
2001
  };
2002
+ type ConfirmMatchDto = {
2003
+ /**
2004
+ * Transaction ID to match with
2005
+ */
2006
+ transactionId: string;
2007
+ };
2008
+ type EnterNowDto = {
2009
+ /**
2010
+ * Override expense account (uses rule default if not provided)
2011
+ */
2012
+ expenseAccount?: string;
2013
+ /**
2014
+ * Override payment account (uses rule default if not provided)
2015
+ */
2016
+ paymentAccount?: string;
2017
+ /**
2018
+ * Override amount (uses expected amount if not provided)
2019
+ */
2020
+ amount?: number;
2021
+ /**
2022
+ * Override payee (uses rule default if not provided)
2023
+ */
2024
+ payee?: string;
2025
+ /**
2026
+ * Optional narration
2027
+ */
2028
+ narration?: string;
2029
+ };
1517
2030
  type ForecastItemDto = {
1518
2031
  /**
1519
2032
  * Rule name
@@ -1534,9 +2047,7 @@ type ForecastItemDto = {
1534
2047
  /**
1535
2048
  * Rule icon emoji
1536
2049
  */
1537
- icon: {
1538
- [key: string]: unknown;
1539
- } | null;
2050
+ icon: string | null;
1540
2051
  /**
1541
2052
  * Currency code
1542
2053
  */
@@ -1594,9 +2105,53 @@ type ForecastResponseDto = {
1594
2105
  */
1595
2106
  periodEnd: string;
1596
2107
  };
1597
- type TransactionRuleResponseDto = {
2108
+ type CreateTransactionRuleDto = {
2109
+ name: string;
2110
+ description?: string;
2111
+ narrationKeywords?: Array<unknown[]>;
2112
+ payeeKeywords?: Array<unknown[]>;
2113
+ categoryKeywords?: Array<unknown[]>;
1598
2114
  /**
1599
- * Rule ID
2115
+ * Payment method keywords (e.g., HuaBei, YuEBao)
2116
+ */
2117
+ methodKeywords?: Array<unknown[]>;
2118
+ /**
2119
+ * Destination account for expenses/income (e.g., Expenses:Food:Coffee)
2120
+ */
2121
+ categoryAccount?: string;
2122
+ matchLogic: 'OR' | 'AND';
2123
+ /**
2124
+ * Minimum transaction amount (inclusive)
2125
+ */
2126
+ amountMin?: number;
2127
+ /**
2128
+ * Maximum transaction amount (inclusive)
2129
+ */
2130
+ amountMax?: number;
2131
+ priority: number;
2132
+ additionalTags?: Array<unknown[]>;
2133
+ additionalMetadata?: {
2134
+ [key: string]: unknown;
2135
+ };
2136
+ /**
2137
+ * If true, update existing rule with matching payeeKeywords[0] instead of creating new rule
2138
+ */
2139
+ upsertByPayee?: boolean;
2140
+ };
2141
+ type matchLogic = 'OR' | 'AND';
2142
+ type AmountRangeDto = {
2143
+ /**
2144
+ * Minimum amount
2145
+ */
2146
+ min?: number;
2147
+ /**
2148
+ * Maximum amount
2149
+ */
2150
+ max?: number;
2151
+ };
2152
+ type TransactionRuleResponseDto = {
2153
+ /**
2154
+ * Rule ID
1600
2155
  */
1601
2156
  id: string;
1602
2157
  /**
@@ -1634,9 +2189,7 @@ type TransactionRuleResponseDto = {
1634
2189
  /**
1635
2190
  * Amount range for matching
1636
2191
  */
1637
- amountRange?: {
1638
- [key: string]: unknown;
1639
- };
2192
+ amountRange?: AmountRangeDto;
1640
2193
  /**
1641
2194
  * Rule priority (0-1000, higher = first match)
1642
2195
  */
@@ -1648,7 +2201,7 @@ type TransactionRuleResponseDto = {
1648
2201
  /**
1649
2202
  * Learning source: NLP, REVIEW_CENTER, or null for manual
1650
2203
  */
1651
- learningSource?: 'NLP' | 'REVIEW_CENTER';
2204
+ learningSource?: 'NLP' | 'REVIEW_CENTER' | null;
1652
2205
  /**
1653
2206
  * Whether auto-apply is enabled for this rule
1654
2207
  */
@@ -1665,7 +2218,7 @@ type TransactionRuleResponseDto = {
1665
2218
  * Additional metadata
1666
2219
  */
1667
2220
  additionalMetadata?: {
1668
- [key: string]: unknown;
2221
+ [key: string]: string;
1669
2222
  };
1670
2223
  /**
1671
2224
  * Created timestamp
@@ -1676,10 +2229,6 @@ type TransactionRuleResponseDto = {
1676
2229
  */
1677
2230
  updatedAt: string;
1678
2231
  };
1679
- /**
1680
- * Keyword matching logic
1681
- */
1682
- type matchLogic = 'OR' | 'AND';
1683
2232
  /**
1684
2233
  * Learning source: NLP, REVIEW_CENTER, or null for manual
1685
2234
  */
@@ -1746,6 +2295,41 @@ type ValidateRuleResponseDto = {
1746
2295
  */
1747
2296
  warnings: Array<unknown[]>;
1748
2297
  };
2298
+ type BulkCreateRulesDto = {
2299
+ /**
2300
+ * Array of rules to import
2301
+ */
2302
+ rules: Array<unknown[]>;
2303
+ /**
2304
+ * Conflict handling strategy: skip (default) ignores duplicates, replace soft-deletes existing rule
2305
+ */
2306
+ conflictStrategy: 'replace' | 'skip';
2307
+ };
2308
+ /**
2309
+ * Conflict handling strategy: skip (default) ignores duplicates, replace soft-deletes existing rule
2310
+ */
2311
+ type conflictStrategy = 'replace' | 'skip';
2312
+ type BulkCreateRulesResponseDto = {
2313
+ /**
2314
+ * Number of successfully created rules
2315
+ */
2316
+ successCount: number;
2317
+ /**
2318
+ * Number of failed rules
2319
+ */
2320
+ failureCount: number;
2321
+ /**
2322
+ * Error details for failed rules
2323
+ */
2324
+ errors: Array<{
2325
+ index?: number;
2326
+ message?: string;
2327
+ }>;
2328
+ /**
2329
+ * IDs of successfully created rules
2330
+ */
2331
+ createdRuleIds: Array<string>;
2332
+ };
1749
2333
  type ExportRulesResponseDto = {
1750
2334
  /**
1751
2335
  * Export timestamp
@@ -1799,6 +2383,39 @@ type RuleStatisticsResponseDto = {
1799
2383
  * Statistics time period
1800
2384
  */
1801
2385
  type period = '7d' | '30d' | '90d';
2386
+ type UpdateTransactionRuleDto = {
2387
+ name?: string;
2388
+ description?: string;
2389
+ narrationKeywords?: Array<unknown[]>;
2390
+ payeeKeywords?: Array<unknown[]>;
2391
+ categoryKeywords?: Array<unknown[]>;
2392
+ /**
2393
+ * Payment method keywords (e.g., HuaBei, YuEBao)
2394
+ */
2395
+ methodKeywords?: Array<unknown[]>;
2396
+ /**
2397
+ * Destination account for expenses/income (e.g., Expenses:Food:Coffee)
2398
+ */
2399
+ categoryAccount?: string;
2400
+ matchLogic?: 'OR' | 'AND';
2401
+ /**
2402
+ * Minimum transaction amount (inclusive)
2403
+ */
2404
+ amountMin?: number;
2405
+ /**
2406
+ * Maximum transaction amount (inclusive)
2407
+ */
2408
+ amountMax?: number;
2409
+ priority?: number;
2410
+ /**
2411
+ * Enable or disable the rule
2412
+ */
2413
+ enabled?: boolean;
2414
+ additionalTags?: Array<unknown[]>;
2415
+ additionalMetadata?: {
2416
+ [key: string]: unknown;
2417
+ };
2418
+ };
1802
2419
  type TestRuleDto = {
1803
2420
  narration: string;
1804
2421
  payee?: string;
@@ -1932,6 +2549,12 @@ type colorScheme = 'DARK' | 'LIGHT';
1932
2549
  * View mode
1933
2550
  */
1934
2551
  type viewMode = 'DEFAULT' | 'ZEN';
2552
+ type UpdatePropertyDto = {
2553
+ /**
2554
+ * Property value
2555
+ */
2556
+ value: string;
2557
+ };
1935
2558
  type FileImportDto = {
1936
2559
  /**
1937
2560
  * Bill file to import (CSV, PDF, OFX, etc.)
@@ -2114,7 +2737,7 @@ type ImporterConfigDto = {
2114
2737
  /**
2115
2738
  * Importer identifier
2116
2739
  */
2117
- importerId: 'alipay' | 'alipay-web' | 'alipay-yuebao' | 'wechat' | 'wechat-xlsx' | 'boc' | 'boc-credit' | 'ccb' | 'cmb' | 'cmbc' | 'cmbc-credit' | 'icbc' | 'icbc-credit' | 'hsbc-hk';
2740
+ importerId: 'alipay' | 'alipay-web' | 'alipay-yuebao' | 'wechat' | 'wechat-xlsx' | 'boc' | 'boc-credit' | 'ccb' | 'cmb' | 'cmbc' | 'cmbc-credit' | 'icbc' | 'icbc-credit' | 'hsbc-hk-credit' | 'hsbc-hk-debit';
2118
2741
  /**
2119
2742
  * Configuration version (semver)
2120
2743
  */
@@ -2139,7 +2762,107 @@ type ImporterConfigDto = {
2139
2762
  /**
2140
2763
  * Importer identifier
2141
2764
  */
2142
- type importerId = 'alipay' | 'alipay-web' | 'alipay-yuebao' | 'wechat' | 'wechat-xlsx' | 'boc' | 'boc-credit' | 'ccb' | 'cmb' | 'cmbc' | 'cmbc-credit' | 'icbc' | 'icbc-credit' | 'hsbc-hk';
2765
+ type importerId = 'alipay' | 'alipay-web' | 'alipay-yuebao' | 'wechat' | 'wechat-xlsx' | 'boc' | 'boc-credit' | 'ccb' | 'cmb' | 'cmbc' | 'cmbc-credit' | 'icbc' | 'icbc-credit' | 'hsbc-hk-credit' | 'hsbc-hk-debit';
2766
+ type UpdateMapperDefaultsDto = {
2767
+ /**
2768
+ * Source account for transactions (Beancount format)
2769
+ */
2770
+ sourceAccount?: string;
2771
+ /**
2772
+ * Default currency (ISO 4217 code)
2773
+ */
2774
+ currency?: string;
2775
+ /**
2776
+ * Default expense account (optional)
2777
+ */
2778
+ expenseAccount?: string;
2779
+ /**
2780
+ * Default income account (optional)
2781
+ */
2782
+ incomeAccount?: string;
2783
+ /**
2784
+ * Payment method to source account mapping. Maps payment method keywords to Beancount account paths. Used by Alipay/WeChat importers to determine sourceAccount based on payment method (e.g., HuaBei, CreditCard).
2785
+ */
2786
+ methodAccountMapping?: {
2787
+ [key: string]: unknown;
2788
+ };
2789
+ };
2790
+ type UpdateConfigDataDto = {
2791
+ /**
2792
+ * Mapper defaults configuration
2793
+ */
2794
+ defaults?: UpdateMapperDefaultsDto;
2795
+ };
2796
+ type UpdateImporterConfigDto = {
2797
+ /**
2798
+ * Configuration data (v1 schema)
2799
+ */
2800
+ data?: UpdateConfigDataDto;
2801
+ };
2802
+ type CreatePlatformDto = {
2803
+ /**
2804
+ * Platform name
2805
+ */
2806
+ name: string;
2807
+ /**
2808
+ * Platform canonical identifier (lowercase, kebab-case)
2809
+ */
2810
+ canonical: string;
2811
+ /**
2812
+ * Platform aliases (multi-language names for lookup)
2813
+ */
2814
+ aliases: Array<string>;
2815
+ /**
2816
+ * Platform URL
2817
+ */
2818
+ url: string;
2819
+ /**
2820
+ * Platform type
2821
+ */
2822
+ type: 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
2823
+ /**
2824
+ * Platform logo URL
2825
+ */
2826
+ logoUrl?: string;
2827
+ /**
2828
+ * Whether the platform is active
2829
+ */
2830
+ isActive?: boolean;
2831
+ };
2832
+ /**
2833
+ * Platform type
2834
+ */
2835
+ type type3 = 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
2836
+ type UpdatePlatformDto = {
2837
+ /**
2838
+ * Platform name
2839
+ */
2840
+ name?: string;
2841
+ /**
2842
+ * Platform canonical identifier (lowercase, kebab-case)
2843
+ */
2844
+ canonical?: string;
2845
+ /**
2846
+ * Platform aliases (multi-language names for lookup)
2847
+ */
2848
+ aliases?: Array<string>;
2849
+ /**
2850
+ * Platform URL
2851
+ */
2852
+ url?: string;
2853
+ /**
2854
+ * Platform type
2855
+ */
2856
+ type?: 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
2857
+ /**
2858
+ * Platform logo URL
2859
+ */
2860
+ logoUrl?: string;
2861
+ /**
2862
+ * Whether the platform is active
2863
+ */
2864
+ isActive?: boolean;
2865
+ };
2143
2866
  type ProviderSyncConfigDto = {
2144
2867
  /**
2145
2868
  * Source account for the first posting
@@ -2212,6 +2935,7 @@ type SupportedProvidersResponseDto = {
2212
2935
  */
2213
2936
  providers: Array<string>;
2214
2937
  };
2938
+ type ParserTelemetryReportDto = unknown;
2215
2939
  type ProcessNlpDto = {
2216
2940
  /**
2217
2941
  * Natural language text describing a transaction (Chinese)
@@ -2221,6 +2945,12 @@ type ProcessNlpDto = {
2221
2945
  * Session ID for multi-turn conversation (auto-generated if not provided)
2222
2946
  */
2223
2947
  sessionId?: string;
2948
+ /**
2949
+ * Parsed data from previous NLP response for session recovery. Send back the parsedData received in confirm_payee/confirm responses.
2950
+ */
2951
+ parsedData?: {
2952
+ [key: string]: unknown;
2953
+ };
2224
2954
  };
2225
2955
  type NlpTransactionInfoDto = {
2226
2956
  /**
@@ -2722,7 +3452,7 @@ type status4 = 'success' | 'pending' | 'error';
2722
3452
  /**
2723
3453
  * Action taken or requested
2724
3454
  */
2725
- type action = 'created' | 'ask' | 'confirm' | 'confirm_duplicate' | 'confirm_rule' | 'confirm_account' | 'confirm_payee' | 'cancel';
3455
+ type action2 = 'created' | 'ask' | 'confirm' | 'confirm_duplicate' | 'confirm_rule' | 'confirm_account' | 'confirm_payee' | 'cancel';
2726
3456
  /**
2727
3457
  * Transaction intent detected by EntityRouter (v6.0: 5 core intents). Frontend uses this to render scenario-specific form fields.
2728
3458
  */
@@ -3191,7 +3921,7 @@ type AccountControllerCreateData = {
3191
3921
  /**
3192
3922
  * Region code for tenant context
3193
3923
  */
3194
- region: 'cn' | 'us' | 'de';
3924
+ region: 'cn' | 'us' | 'de' | 'gb';
3195
3925
  requestBody: CreateAccountDto;
3196
3926
  };
3197
3927
  type AccountControllerCreateResponse = AccountResponseDto;
@@ -3211,7 +3941,7 @@ type AccountControllerFindAllData = {
3211
3941
  /**
3212
3942
  * Region code for tenant context
3213
3943
  */
3214
- region: 'cn' | 'us' | 'de';
3944
+ region: 'cn' | 'us' | 'de' | 'gb';
3215
3945
  /**
3216
3946
  * Search term for path or i18nKey
3217
3947
  */
@@ -3234,7 +3964,7 @@ type AccountControllerFindOneData = {
3234
3964
  /**
3235
3965
  * Region code for tenant context
3236
3966
  */
3237
- region: 'cn' | 'us' | 'de';
3967
+ region: 'cn' | 'us' | 'de' | 'gb';
3238
3968
  };
3239
3969
  type AccountControllerFindOneResponse = AccountResponseDto;
3240
3970
  type AccountControllerUpdateData = {
@@ -3245,7 +3975,7 @@ type AccountControllerUpdateData = {
3245
3975
  /**
3246
3976
  * Region code for tenant context
3247
3977
  */
3248
- region: 'cn' | 'us' | 'de';
3978
+ region: 'cn' | 'us' | 'de' | 'gb';
3249
3979
  requestBody: UpdateAccountDto;
3250
3980
  };
3251
3981
  type AccountControllerUpdateResponse = AccountResponseDto;
@@ -3257,7 +3987,7 @@ type AccountControllerDeleteData = {
3257
3987
  /**
3258
3988
  * Region code for tenant context
3259
3989
  */
3260
- region: 'cn' | 'us' | 'de';
3990
+ region: 'cn' | 'us' | 'de' | 'gb';
3261
3991
  };
3262
3992
  type AccountControllerDeleteResponse = void;
3263
3993
  type AccountControllerCloseData = {
@@ -3268,7 +3998,7 @@ type AccountControllerCloseData = {
3268
3998
  /**
3269
3999
  * Region code for tenant context
3270
4000
  */
3271
- region: 'cn' | 'us' | 'de';
4001
+ region: 'cn' | 'us' | 'de' | 'gb';
3272
4002
  requestBody: CloseAccountDto;
3273
4003
  };
3274
4004
  type AccountControllerCloseResponse = AccountResponseDto;
@@ -3280,15 +4010,48 @@ type AccountControllerReopenData = {
3280
4010
  /**
3281
4011
  * Region code for tenant context
3282
4012
  */
3283
- region: 'cn' | 'us' | 'de';
4013
+ region: 'cn' | 'us' | 'de' | 'gb';
3284
4014
  requestBody: ReopenAccountDto;
3285
4015
  };
3286
4016
  type AccountControllerReopenResponse = AccountResponseDto;
4017
+ type AccountStandardsControllerGetTemplatesData = {
4018
+ /**
4019
+ * Region code (cn, us, de)
4020
+ */
4021
+ region: 'cn' | 'us' | 'de' | 'gb';
4022
+ /**
4023
+ * Search term for path or description
4024
+ */
4025
+ search?: string;
4026
+ /**
4027
+ * Filter by account type
4028
+ */
4029
+ type?: 'Assets' | 'Liabilities' | 'Income' | 'Expenses' | 'Equity';
4030
+ };
4031
+ type AccountStandardsControllerGetTemplatesResponse = AccountStandardListResponseDto;
4032
+ type AccountStandardsControllerGetTemplateMetadataData = {
4033
+ /**
4034
+ * Account path to check
4035
+ */
4036
+ path: string;
4037
+ /**
4038
+ * Region code for tenant context
4039
+ */
4040
+ region: 'cn' | 'us' | 'de' | 'gb';
4041
+ };
4042
+ type AccountStandardsControllerGetTemplateMetadataResponse = TemplateMetadataResponseDto;
4043
+ type AccountStandardsControllerGetRegionsData = {
4044
+ /**
4045
+ * Region code for tenant context
4046
+ */
4047
+ region: 'cn' | 'us' | 'de' | 'gb';
4048
+ };
4049
+ type AccountStandardsControllerGetRegionsResponse = RegionsMetadataResponseDto;
3287
4050
  type TransactionControllerCreateData = {
3288
4051
  /**
3289
4052
  * Region code for tenant context
3290
4053
  */
3291
- region: 'cn' | 'us' | 'de';
4054
+ region: 'cn' | 'us' | 'de' | 'gb';
3292
4055
  /**
3293
4056
  * Transaction data with postings
3294
4057
  */
@@ -3319,7 +4082,7 @@ type TransactionControllerListData = {
3319
4082
  /**
3320
4083
  * Region code for tenant context
3321
4084
  */
3322
- region: 'cn' | 'us' | 'de';
4085
+ region: 'cn' | 'us' | 'de' | 'gb';
3323
4086
  /**
3324
4087
  * Search in narration and payee fields (max 200 chars)
3325
4088
  */
@@ -3330,13 +4093,33 @@ type TransactionControllerListData = {
3330
4093
  status?: 'ACTIVE' | 'VOIDED' | 'SUPERSEDED';
3331
4094
  };
3332
4095
  type TransactionControllerListResponse = TransactionListResponseDto;
3333
- type TransactionControllerData = {
4096
+ type TransactionControllerCreateBatchData = {
4097
+ /**
4098
+ * Region code for tenant context
4099
+ */
4100
+ region: 'cn' | 'us' | 'de' | 'gb';
4101
+ requestBody: BatchCreateTransactionDto;
4102
+ };
4103
+ type TransactionControllerCreateBatchResponse = BatchTransactionResponseDto;
4104
+ type TransactionControllerSuggestTagsData = {
4105
+ /**
4106
+ * Max suggestions (1-100, default 10)
4107
+ */
4108
+ limit?: number;
4109
+ /**
4110
+ * Prefix match, case-insensitive (max 50 chars)
4111
+ */
4112
+ q?: string;
3334
4113
  /**
3335
4114
  * Region code for tenant context
3336
4115
  */
3337
- region: 'cn' | 'us' | 'de';
4116
+ region: 'cn' | 'us' | 'de' | 'gb';
4117
+ /**
4118
+ * usage (default) or name
4119
+ */
4120
+ sort?: 'usage' | 'name';
3338
4121
  };
3339
- type TransactionControllerResponse = unknown;
4122
+ type TransactionControllerSuggestTagsResponse = TagSuggestionsResponseDto;
3340
4123
  type TransactionControllerGetDetailData = {
3341
4124
  /**
3342
4125
  * Transaction ID
@@ -3345,7 +4128,7 @@ type TransactionControllerGetDetailData = {
3345
4128
  /**
3346
4129
  * Region code for tenant context
3347
4130
  */
3348
- region: 'cn' | 'us' | 'de';
4131
+ region: 'cn' | 'us' | 'de' | 'gb';
3349
4132
  };
3350
4133
  type TransactionControllerGetDetailResponse = TransactionDetailDto;
3351
4134
  type TransactionControllerUpdateData = {
@@ -3356,42 +4139,24 @@ type TransactionControllerUpdateData = {
3356
4139
  /**
3357
4140
  * Region code for tenant context
3358
4141
  */
3359
- region: 'cn' | 'us' | 'de';
4142
+ region: 'cn' | 'us' | 'de' | 'gb';
3360
4143
  /**
3361
4144
  * Fields to update (all optional)
3362
4145
  */
3363
4146
  requestBody: UpdateTransactionDto;
3364
4147
  };
3365
4148
  type TransactionControllerUpdateResponse = TransactionDetailDto;
3366
- type TransactionController1Data = {
3367
- /**
3368
- * Region code for tenant context
3369
- */
3370
- region: 'cn' | 'us' | 'de';
3371
- };
3372
- type TransactionController1Response = void;
3373
- type AccountStandardsControllerGetTemplatesData = {
3374
- /**
3375
- * Region code (cn, us, de)
3376
- */
3377
- region: 'cn' | 'us' | 'de';
3378
- /**
3379
- * Search term for path or description
3380
- */
3381
- search?: string;
4149
+ type TransactionControllerDeleteData = {
3382
4150
  /**
3383
- * Filter by account type
4151
+ * Transaction ID
3384
4152
  */
3385
- type?: 'Assets' | 'Liabilities' | 'Income' | 'Expenses' | 'Equity';
3386
- };
3387
- type AccountStandardsControllerGetTemplatesResponse = AccountStandardListResponseDto;
3388
- type AccountStandardsControllerGetRegionsData = {
4153
+ id: string;
3389
4154
  /**
3390
- * Region code (cn, us, de)
4155
+ * Region code for tenant context
3391
4156
  */
3392
- region: 'cn' | 'us' | 'de';
4157
+ region: 'cn' | 'us' | 'de' | 'gb';
3393
4158
  };
3394
- type AccountStandardsControllerGetRegionsResponse = RegionsMetadataResponseDto;
4159
+ type TransactionControllerDeleteResponse = void;
3395
4160
  type BalanceControllerGetBalanceData = {
3396
4161
  /**
3397
4162
  * Account name (e.g., "Assets:Bank:Checking")
@@ -3406,16 +4171,16 @@ type BalanceControllerGetBalanceData = {
3406
4171
  */
3407
4172
  date?: string;
3408
4173
  /**
3409
- * Region code (cn, us, de)
4174
+ * Region code for tenant context
3410
4175
  */
3411
- region: 'cn' | 'us' | 'de';
4176
+ region: 'cn' | 'us' | 'de' | 'gb';
3412
4177
  };
3413
4178
  type BalanceControllerGetBalanceResponse = BalanceResponseDto;
3414
4179
  type BalanceControllerGetMultiCurrencyBalanceData = {
3415
4180
  /**
3416
- * Region code (cn, us, de)
4181
+ * Region code for tenant context
3417
4182
  */
3418
- region: 'cn' | 'us' | 'de';
4183
+ region: 'cn' | 'us' | 'de' | 'gb';
3419
4184
  };
3420
4185
  type BalanceControllerGetMultiCurrencyBalanceResponse = MultiCurrencyBalanceResponseDto;
3421
4186
  type ReviewControllerFindAllData = {
@@ -3432,9 +4197,9 @@ type ReviewControllerFindAllData = {
3432
4197
  */
3433
4198
  page?: number;
3434
4199
  /**
3435
- * Region code (cn, us, de)
4200
+ * Region code for tenant context
3436
4201
  */
3437
- region: 'cn' | 'us' | 'de';
4202
+ region: 'cn' | 'us' | 'de' | 'gb';
3438
4203
  /**
3439
4204
  * Sort order
3440
4205
  */
@@ -3447,9 +4212,9 @@ type ReviewControllerFindAllData = {
3447
4212
  type ReviewControllerFindAllResponse = ReviewListResponseDto;
3448
4213
  type ReviewControllerGetStatsData = {
3449
4214
  /**
3450
- * Region code (cn, us, de)
4215
+ * Region code for tenant context
3451
4216
  */
3452
- region: 'cn' | 'us' | 'de';
4217
+ region: 'cn' | 'us' | 'de' | 'gb';
3453
4218
  };
3454
4219
  type ReviewControllerGetStatsResponse = ReviewStatsDto;
3455
4220
  type ReviewControllerFindOneData = {
@@ -3458,39 +4223,49 @@ type ReviewControllerFindOneData = {
3458
4223
  */
3459
4224
  id: string;
3460
4225
  /**
3461
- * Region code (cn, us, de)
4226
+ * Region code for tenant context
3462
4227
  */
3463
- region: 'cn' | 'us' | 'de';
4228
+ region: 'cn' | 'us' | 'de' | 'gb';
3464
4229
  };
3465
4230
  type ReviewControllerFindOneResponse = ReviewDetailDto;
3466
- type ReviewControllerData = {
4231
+ type ReviewControllerResolveData = {
3467
4232
  /**
3468
- * Region code (cn, us, de)
4233
+ * Review ID
3469
4234
  */
3470
- region: 'cn' | 'us' | 'de';
3471
- };
3472
- type ReviewControllerResponse = unknown;
3473
- type ReviewController1Data = {
4235
+ id: string;
3474
4236
  /**
3475
- * Region code (cn, us, de)
4237
+ * Region code for tenant context
3476
4238
  */
3477
- region: 'cn' | 'us' | 'de';
4239
+ region: 'cn' | 'us' | 'de' | 'gb';
4240
+ requestBody: ResolveReviewDto;
3478
4241
  };
3479
- type ReviewController1Response = unknown;
3480
- type ReviewController2Data = {
4242
+ type ReviewControllerResolveResponse = ResolveResultDto;
4243
+ type ReviewControllerUndoData = {
3481
4244
  /**
3482
- * Region code (cn, us, de)
4245
+ * Review ID
4246
+ */
4247
+ id: string;
4248
+ /**
4249
+ * Region code for tenant context
3483
4250
  */
3484
- region: 'cn' | 'us' | 'de';
4251
+ region: 'cn' | 'us' | 'de' | 'gb';
3485
4252
  };
3486
- type ReviewController2Response = unknown;
3487
- type PayeeControllerData = {
4253
+ type ReviewControllerUndoResponse = UndoResultDto;
4254
+ type ReviewControllerBatchResolveData = {
3488
4255
  /**
3489
- * Region code (cn, us, de)
4256
+ * Region code for tenant context
4257
+ */
4258
+ region: 'cn' | 'us' | 'de' | 'gb';
4259
+ /**
4260
+ * Batch resolution request containing review IDs and action
3490
4261
  */
3491
- region: 'cn' | 'us' | 'de';
4262
+ requestBody: BatchResolveDto;
4263
+ };
4264
+ type ReviewControllerBatchResolveResponse = BatchResolveResultDto;
4265
+ type PayeeControllerCreateData = {
4266
+ requestBody: CreatePayeeDto;
3492
4267
  };
3493
- type PayeeControllerResponse = unknown;
4268
+ type PayeeControllerCreateResponse = PayeeResponseDto;
3494
4269
  type PayeeControllerFindAllData = {
3495
4270
  /**
3496
4271
  * Filter by custom category
@@ -3504,10 +4279,6 @@ type PayeeControllerFindAllData = {
3504
4279
  * Filter by exact payee name match
3505
4280
  */
3506
4281
  payee?: string;
3507
- /**
3508
- * Region code (cn, us, de)
3509
- */
3510
- region: 'cn' | 'us' | 'de';
3511
4282
  /**
3512
4283
  * Search term for payee name (partial match, case-insensitive). Useful for autocomplete.
3513
4284
  */
@@ -3527,10 +4298,6 @@ type PayeeControllerAutocompleteData = {
3527
4298
  * Search query for payee name (partial match, case-insensitive)
3528
4299
  */
3529
4300
  q: string;
3530
- /**
3531
- * Region code (cn, us, de)
3532
- */
3533
- region: 'cn' | 'us' | 'de';
3534
4301
  };
3535
4302
  type PayeeControllerAutocompleteResponse = PayeeAutocompleteResponseDto;
3536
4303
  type PayeeControllerGetTopPayeesData = {
@@ -3538,10 +4305,6 @@ type PayeeControllerGetTopPayeesData = {
3538
4305
  * Maximum number of results
3539
4306
  */
3540
4307
  limit?: number;
3541
- /**
3542
- * Region code (cn, us, de)
3543
- */
3544
- region: 'cn' | 'us' | 'de';
3545
4308
  };
3546
4309
  type PayeeControllerGetTopPayeesResponse = Array<PayeeStatsResponseDto>;
3547
4310
  type PayeeControllerFindOneData = {
@@ -3549,33 +4312,27 @@ type PayeeControllerFindOneData = {
3549
4312
  * Payee UUID
3550
4313
  */
3551
4314
  id: string;
3552
- /**
3553
- * Region code (cn, us, de)
3554
- */
3555
- region: 'cn' | 'us' | 'de';
3556
4315
  };
3557
4316
  type PayeeControllerFindOneResponse = PayeeResponseDto;
3558
- type PayeeController1Data = {
4317
+ type PayeeControllerUpdateData = {
3559
4318
  /**
3560
- * Region code (cn, us, de)
4319
+ * Payee UUID
3561
4320
  */
3562
- region: 'cn' | 'us' | 'de';
4321
+ id: string;
4322
+ requestBody: UpdatePayeeDto;
3563
4323
  };
3564
- type PayeeController1Response = unknown;
3565
- type PayeeController2Data = {
4324
+ type PayeeControllerUpdateResponse = PayeeResponseDto;
4325
+ type PayeeControllerDeleteData = {
3566
4326
  /**
3567
- * Region code (cn, us, de)
4327
+ * Payee UUID
3568
4328
  */
3569
- region: 'cn' | 'us' | 'de';
4329
+ id: string;
3570
4330
  };
3571
- type PayeeController2Response = void;
3572
- type PayeeProfileAdminControllerData = {
3573
- /**
3574
- * Region code (cn, us, de)
3575
- */
3576
- region: 'cn' | 'us' | 'de';
4331
+ type PayeeControllerDeleteResponse = void;
4332
+ type PayeeProfileAdminControllerCreateData = {
4333
+ requestBody: CreatePayeeProfileDto;
3577
4334
  };
3578
- type PayeeProfileAdminControllerResponse = unknown;
4335
+ type PayeeProfileAdminControllerCreateResponse = PayeeProfileResponseDto;
3579
4336
  type PayeeProfileAdminControllerFindAllData = {
3580
4337
  /**
3581
4338
  * Filter by category
@@ -3593,10 +4350,6 @@ type PayeeProfileAdminControllerFindAllData = {
3593
4350
  * Filter by active status (default: true - show only active)
3594
4351
  */
3595
4352
  isActive?: boolean;
3596
- /**
3597
- * Region code (cn, us, de)
3598
- */
3599
- region: 'cn' | 'us' | 'de';
3600
4353
  /**
3601
4354
  * Search term for canonical name and aliases (case-insensitive)
3602
4355
  */
@@ -3612,52 +4365,50 @@ type PayeeProfileAdminControllerFindOneData = {
3612
4365
  * Payee profile ID (UUID)
3613
4366
  */
3614
4367
  id: string;
3615
- /**
3616
- * Region code (cn, us, de)
3617
- */
3618
- region: 'cn' | 'us' | 'de';
3619
4368
  };
3620
4369
  type PayeeProfileAdminControllerFindOneResponse = PayeeProfileResponseDto;
3621
- type PayeeProfileAdminController1Data = {
4370
+ type PayeeProfileAdminControllerUpdateData = {
3622
4371
  /**
3623
- * Region code (cn, us, de)
4372
+ * Payee profile ID (UUID)
3624
4373
  */
3625
- region: 'cn' | 'us' | 'de';
4374
+ id: string;
4375
+ requestBody: UpdatePayeeProfileDto;
3626
4376
  };
3627
- type PayeeProfileAdminController1Response = unknown;
3628
- type PayeeProfileAdminController2Data = {
4377
+ type PayeeProfileAdminControllerUpdateResponse = PayeeProfileResponseDto;
4378
+ type PayeeProfileAdminControllerDeleteData = {
3629
4379
  /**
3630
- * Region code (cn, us, de)
4380
+ * Payee profile ID (UUID)
3631
4381
  */
3632
- region: 'cn' | 'us' | 'de';
4382
+ id: string;
3633
4383
  };
3634
- type PayeeProfileAdminController2Response = void;
3635
- type PayeeProfileAdminController3Data = {
4384
+ type PayeeProfileAdminControllerDeleteResponse = void;
4385
+ type PayeeProfileAdminControllerVerifyData = {
3636
4386
  /**
3637
- * Region code (cn, us, de)
4387
+ * Payee profile ID (UUID)
3638
4388
  */
3639
- region: 'cn' | 'us' | 'de';
4389
+ id: string;
3640
4390
  };
3641
- type PayeeProfileAdminController3Response = unknown;
3642
- type PayeeProfileAdminController4Data = {
4391
+ type PayeeProfileAdminControllerVerifyResponse = PayeeProfileResponseDto;
4392
+ type PayeeProfileAdminControllerUnverifyData = {
3643
4393
  /**
3644
- * Region code (cn, us, de)
4394
+ * Payee profile ID (UUID)
3645
4395
  */
3646
- region: 'cn' | 'us' | 'de';
4396
+ id: string;
3647
4397
  };
3648
- type PayeeProfileAdminController4Response = unknown;
3649
- type CommodityControllerData = {
4398
+ type PayeeProfileAdminControllerUnverifyResponse = PayeeProfileResponseDto;
4399
+ type CommodityControllerCreateData = {
3650
4400
  /**
3651
- * Region code (cn, us, de)
4401
+ * Region code for tenant context
3652
4402
  */
3653
- region: 'cn' | 'us' | 'de';
4403
+ region: 'cn' | 'us' | 'de' | 'gb';
4404
+ requestBody: CreateCommodityDto;
3654
4405
  };
3655
- type CommodityControllerResponse = unknown;
4406
+ type CommodityControllerCreateResponse = CommodityResponseDto;
3656
4407
  type CommodityControllerFindAllData = {
3657
4408
  /**
3658
- * Region code (cn, us, de)
4409
+ * Region code for tenant context
3659
4410
  */
3660
- region: 'cn' | 'us' | 'de';
4411
+ region: 'cn' | 'us' | 'de' | 'gb';
3661
4412
  /**
3662
4413
  * Search term for symbol or metadata fields (partial match). Searches symbol and metadata.name.
3663
4414
  */
@@ -3670,50 +4421,64 @@ type CommodityControllerFindAllData = {
3670
4421
  type CommodityControllerFindAllResponse = CommodityListResponseDto;
3671
4422
  type CommodityControllerFindOneData = {
3672
4423
  /**
3673
- * Region code (cn, us, de)
4424
+ * Region code for tenant context
3674
4425
  */
3675
- region: 'cn' | 'us' | 'de';
4426
+ region: 'cn' | 'us' | 'de' | 'gb';
3676
4427
  /**
3677
4428
  * Commodity symbol
3678
4429
  */
3679
4430
  symbol: string;
3680
4431
  };
3681
4432
  type CommodityControllerFindOneResponse = CommodityResponseDto;
3682
- type CommodityController1Data = {
4433
+ type CommodityControllerUpdateData = {
3683
4434
  /**
3684
- * Region code (cn, us, de)
4435
+ * Region code for tenant context
3685
4436
  */
3686
- region: 'cn' | 'us' | 'de';
4437
+ region: 'cn' | 'us' | 'de' | 'gb';
4438
+ requestBody: UpdateCommodityDto;
4439
+ /**
4440
+ * Commodity symbol
4441
+ */
4442
+ symbol: string;
3687
4443
  };
3688
- type CommodityController1Response = unknown;
3689
- type CommodityController2Data = {
4444
+ type CommodityControllerUpdateResponse = CommodityResponseDto;
4445
+ type CommodityControllerDeleteData = {
3690
4446
  /**
3691
- * Region code (cn, us, de)
4447
+ * Region code for tenant context
4448
+ */
4449
+ region: 'cn' | 'us' | 'de' | 'gb';
4450
+ /**
4451
+ * Commodity symbol
3692
4452
  */
3693
- region: 'cn' | 'us' | 'de';
4453
+ symbol: string;
3694
4454
  };
3695
- type CommodityController2Response = void;
3696
- type CommodityController3Data = {
4455
+ type CommodityControllerDeleteResponse = void;
4456
+ type CommodityControllerGetOrCreateData = {
3697
4457
  /**
3698
- * Region code (cn, us, de)
4458
+ * Region code for tenant context
4459
+ */
4460
+ region: 'cn' | 'us' | 'de' | 'gb';
4461
+ /**
4462
+ * Commodity symbol
3699
4463
  */
3700
- region: 'cn' | 'us' | 'de';
4464
+ symbol: string;
3701
4465
  };
3702
- type CommodityController3Response = unknown;
3703
- type CommodityController4Data = {
4466
+ type CommodityControllerGetOrCreateResponse = CommodityResponseDto;
4467
+ type CommodityControllerBulkCreateData = {
3704
4468
  /**
3705
- * Region code (cn, us, de)
4469
+ * Region code for tenant context
3706
4470
  */
3707
- region: 'cn' | 'us' | 'de';
4471
+ region: 'cn' | 'us' | 'de' | 'gb';
3708
4472
  };
3709
- type CommodityController4Response = unknown;
3710
- type RecurringRuleControllerData = {
4473
+ type CommodityControllerBulkCreateResponse = Array<CommodityResponseDto>;
4474
+ type RecurringRuleControllerCreateData = {
3711
4475
  /**
3712
- * Region code (cn, us, de)
4476
+ * Region code for tenant context
3713
4477
  */
3714
- region: 'cn' | 'us' | 'de';
4478
+ region: 'cn' | 'us' | 'de' | 'gb';
4479
+ requestBody: CreateRecurringRuleDto;
3715
4480
  };
3716
- type RecurringRuleControllerResponse = unknown;
4481
+ type RecurringRuleControllerCreateResponse = RecurringRuleResponseDto;
3717
4482
  type RecurringRuleControllerFindAllData = {
3718
4483
  /**
3719
4484
  * Filter by frequency (WEEKLY, MONTHLY, etc.)
@@ -3728,52 +4493,66 @@ type RecurringRuleControllerFindAllData = {
3728
4493
  */
3729
4494
  isActive?: boolean;
3730
4495
  /**
3731
- * Region code (cn, us, de)
4496
+ * Region code for tenant context
3732
4497
  */
3733
- region: 'cn' | 'us' | 'de';
4498
+ region: 'cn' | 'us' | 'de' | 'gb';
3734
4499
  };
3735
4500
  type RecurringRuleControllerFindAllResponse = Array<RecurringRuleResponseDto>;
3736
- type RecurringRuleController1Data = {
4501
+ type RecurringRuleControllerCreateFromTransactionData = {
3737
4502
  /**
3738
- * Region code (cn, us, de)
4503
+ * Region code for tenant context
3739
4504
  */
3740
- region: 'cn' | 'us' | 'de';
4505
+ region: 'cn' | 'us' | 'de' | 'gb';
4506
+ requestBody: CreateRuleFromTransactionDto;
4507
+ /**
4508
+ * Source transaction ID
4509
+ */
4510
+ transactionId: string;
3741
4511
  };
3742
- type RecurringRuleController1Response = unknown;
4512
+ type RecurringRuleControllerCreateFromTransactionResponse = RecurringRuleResponseDto;
3743
4513
  type RecurringRuleControllerFindOneData = {
3744
4514
  /**
3745
4515
  * Rule ID
3746
4516
  */
3747
4517
  id: string;
3748
4518
  /**
3749
- * Region code (cn, us, de)
4519
+ * Region code for tenant context
3750
4520
  */
3751
- region: 'cn' | 'us' | 'de';
4521
+ region: 'cn' | 'us' | 'de' | 'gb';
3752
4522
  };
3753
4523
  type RecurringRuleControllerFindOneResponse = RecurringRuleResponseDto;
3754
- type RecurringRuleController2Data = {
4524
+ type RecurringRuleControllerUpdateData = {
3755
4525
  /**
3756
- * Region code (cn, us, de)
4526
+ * Rule ID
3757
4527
  */
3758
- region: 'cn' | 'us' | 'de';
4528
+ id: string;
4529
+ /**
4530
+ * Region code for tenant context
4531
+ */
4532
+ region: 'cn' | 'us' | 'de' | 'gb';
4533
+ requestBody: UpdateRecurringRuleDto;
3759
4534
  };
3760
- type RecurringRuleController2Response = unknown;
3761
- type RecurringRuleController3Data = {
4535
+ type RecurringRuleControllerUpdateResponse = RecurringRuleResponseDto;
4536
+ type RecurringRuleControllerDeleteData = {
3762
4537
  /**
3763
- * Region code (cn, us, de)
4538
+ * Rule ID
3764
4539
  */
3765
- region: 'cn' | 'us' | 'de';
4540
+ id: string;
4541
+ /**
4542
+ * Region code for tenant context
4543
+ */
4544
+ region: 'cn' | 'us' | 'de' | 'gb';
3766
4545
  };
3767
- type RecurringRuleController3Response = void;
4546
+ type RecurringRuleControllerDeleteResponse = void;
3768
4547
  type RecurringRuleControllerGetWithStatsData = {
3769
4548
  /**
3770
4549
  * Rule ID
3771
4550
  */
3772
4551
  id: string;
3773
4552
  /**
3774
- * Region code (cn, us, de)
4553
+ * Region code for tenant context
3775
4554
  */
3776
- region: 'cn' | 'us' | 'de';
4555
+ region: 'cn' | 'us' | 'de' | 'gb';
3777
4556
  };
3778
4557
  type RecurringRuleControllerGetWithStatsResponse = RecurringRuleWithStatsResponseDto;
3779
4558
  type ExpectedTransactionControllerFindAllData = {
@@ -3782,9 +4561,9 @@ type ExpectedTransactionControllerFindAllData = {
3782
4561
  */
3783
4562
  fromDate?: string;
3784
4563
  /**
3785
- * Region code (cn, us, de)
4564
+ * Region code for tenant context
3786
4565
  */
3787
- region: 'cn' | 'us' | 'de';
4566
+ region: 'cn' | 'us' | 'de' | 'gb';
3788
4567
  /**
3789
4568
  * Filter by recurring rule ID
3790
4569
  */
@@ -3801,9 +4580,9 @@ type ExpectedTransactionControllerFindAllData = {
3801
4580
  type ExpectedTransactionControllerFindAllResponse = ExpectedTransactionListResponseDto;
3802
4581
  type ExpectedTransactionControllerFindOverdueData = {
3803
4582
  /**
3804
- * Region code (cn, us, de)
4583
+ * Region code for tenant context
3805
4584
  */
3806
- region: 'cn' | 'us' | 'de';
4585
+ region: 'cn' | 'us' | 'de' | 'gb';
3807
4586
  };
3808
4587
  type ExpectedTransactionControllerFindOverdueResponse = ExpectedTransactionListResponseDto;
3809
4588
  type ExpectedTransactionControllerFindOneData = {
@@ -3812,64 +4591,87 @@ type ExpectedTransactionControllerFindOneData = {
3812
4591
  */
3813
4592
  id: string;
3814
4593
  /**
3815
- * Region code (cn, us, de)
4594
+ * Region code for tenant context
3816
4595
  */
3817
- region: 'cn' | 'us' | 'de';
4596
+ region: 'cn' | 'us' | 'de' | 'gb';
3818
4597
  };
3819
4598
  type ExpectedTransactionControllerFindOneResponse = ExpectedTransactionResponseDto;
3820
- type ExpectedTransactionControllerData = {
4599
+ type ExpectedTransactionControllerSkipData = {
3821
4600
  /**
3822
- * Region code (cn, us, de)
4601
+ * Expected transaction ID
3823
4602
  */
3824
- region: 'cn' | 'us' | 'de';
4603
+ id: string;
4604
+ /**
4605
+ * Region code for tenant context
4606
+ */
4607
+ region: 'cn' | 'us' | 'de' | 'gb';
3825
4608
  };
3826
- type ExpectedTransactionControllerResponse = unknown;
3827
- type ExpectedTransactionController1Data = {
4609
+ type ExpectedTransactionControllerSkipResponse = ExpectedTransactionResponseDto;
4610
+ type ExpectedTransactionControllerUndoSkipData = {
3828
4611
  /**
3829
- * Region code (cn, us, de)
4612
+ * Expected transaction ID
4613
+ */
4614
+ id: string;
4615
+ /**
4616
+ * Region code for tenant context
3830
4617
  */
3831
- region: 'cn' | 'us' | 'de';
4618
+ region: 'cn' | 'us' | 'de' | 'gb';
3832
4619
  };
3833
- type ExpectedTransactionController1Response = unknown;
3834
- type ExpectedTransactionController2Data = {
4620
+ type ExpectedTransactionControllerUndoSkipResponse = ExpectedTransactionResponseDto;
4621
+ type ExpectedTransactionControllerConfirmMatchData = {
3835
4622
  /**
3836
- * Region code (cn, us, de)
4623
+ * Expected transaction ID
4624
+ */
4625
+ id: string;
4626
+ /**
4627
+ * Region code for tenant context
3837
4628
  */
3838
- region: 'cn' | 'us' | 'de';
4629
+ region: 'cn' | 'us' | 'de' | 'gb';
4630
+ requestBody: ConfirmMatchDto;
3839
4631
  };
3840
- type ExpectedTransactionController2Response = unknown;
3841
- type ExpectedTransactionController3Data = {
4632
+ type ExpectedTransactionControllerConfirmMatchResponse = unknown;
4633
+ type ExpectedTransactionControllerUnmatchData = {
3842
4634
  /**
3843
- * Region code (cn, us, de)
4635
+ * Expected transaction ID
3844
4636
  */
3845
- region: 'cn' | 'us' | 'de';
4637
+ id: string;
4638
+ /**
4639
+ * Region code for tenant context
4640
+ */
4641
+ region: 'cn' | 'us' | 'de' | 'gb';
3846
4642
  };
3847
- type ExpectedTransactionController3Response = unknown;
3848
- type ExpectedTransactionController4Data = {
4643
+ type ExpectedTransactionControllerUnmatchResponse = unknown;
4644
+ type ExpectedTransactionControllerEnterNowData = {
3849
4645
  /**
3850
- * Region code (cn, us, de)
4646
+ * Expected transaction ID
4647
+ */
4648
+ id: string;
4649
+ /**
4650
+ * Region code for tenant context
3851
4651
  */
3852
- region: 'cn' | 'us' | 'de';
4652
+ region: 'cn' | 'us' | 'de' | 'gb';
4653
+ requestBody: EnterNowDto;
3853
4654
  };
3854
- type ExpectedTransactionController4Response = unknown;
4655
+ type ExpectedTransactionControllerEnterNowResponse = unknown;
3855
4656
  type ForecastControllerGetForecastData = {
3856
4657
  /**
3857
4658
  * Number of months to forecast (1-12, default 3)
3858
4659
  */
3859
4660
  months?: number;
3860
4661
  /**
3861
- * Region code (cn, us, de)
4662
+ * Region code for tenant context
3862
4663
  */
3863
- region: 'cn' | 'us' | 'de';
4664
+ region: 'cn' | 'us' | 'de' | 'gb';
3864
4665
  };
3865
4666
  type ForecastControllerGetForecastResponse = ForecastResponseDto;
3866
- type TransactionRuleControllerData = {
4667
+ type TransactionRuleControllerCreateData = {
3867
4668
  /**
3868
- * Region code (cn, us, de)
4669
+ * Region code for tenant context
3869
4670
  */
3870
- region: 'cn' | 'us' | 'de';
4671
+ region: 'cn' | 'us' | 'de' | 'gb';
4672
+ requestBody: CreateTransactionRuleDto;
3871
4673
  };
3872
- type TransactionRuleControllerResponse = unknown;
4674
+ type TransactionRuleControllerCreateResponse = TransactionRuleResponseDto;
3873
4675
  type TransactionRuleControllerListData = {
3874
4676
  /**
3875
4677
  * Filter by auto-apply status
@@ -3892,35 +4694,36 @@ type TransactionRuleControllerListData = {
3892
4694
  */
3893
4695
  offset?: number;
3894
4696
  /**
3895
- * Region code (cn, us, de)
4697
+ * Region code for tenant context
3896
4698
  */
3897
- region: 'cn' | 'us' | 'de';
4699
+ region: 'cn' | 'us' | 'de' | 'gb';
3898
4700
  };
3899
4701
  type TransactionRuleControllerListResponse = TransactionRuleListResponseDto;
3900
4702
  type TransactionRuleControllerValidateData = {
3901
4703
  /**
3902
- * Region code (cn, us, de)
4704
+ * Region code for tenant context
3903
4705
  */
3904
- region: 'cn' | 'us' | 'de';
4706
+ region: 'cn' | 'us' | 'de' | 'gb';
3905
4707
  requestBody: ValidateRuleDto;
3906
4708
  };
3907
4709
  type TransactionRuleControllerValidateResponse = ValidateRuleResponseDto;
3908
- type TransactionRuleController1Data = {
4710
+ type TransactionRuleControllerBulkCreateData = {
3909
4711
  /**
3910
- * Region code (cn, us, de)
4712
+ * Region code for tenant context
3911
4713
  */
3912
- region: 'cn' | 'us' | 'de';
4714
+ region: 'cn' | 'us' | 'de' | 'gb';
4715
+ requestBody: BulkCreateRulesDto;
3913
4716
  };
3914
- type TransactionRuleController1Response = unknown;
4717
+ type TransactionRuleControllerBulkCreateResponse = BulkCreateRulesResponseDto;
3915
4718
  type TransactionRuleControllerExportData = {
3916
4719
  /**
3917
4720
  * Export format (currently only JSON supported)
3918
4721
  */
3919
4722
  format: 'json';
3920
4723
  /**
3921
- * Region code (cn, us, de)
4724
+ * Region code for tenant context
3922
4725
  */
3923
- region: 'cn' | 'us' | 'de';
4726
+ region: 'cn' | 'us' | 'de' | 'gb';
3924
4727
  };
3925
4728
  type TransactionRuleControllerExportResponse = ExportRulesResponseDto;
3926
4729
  type TransactionRuleControllerGetStatisticsData = {
@@ -3929,41 +4732,50 @@ type TransactionRuleControllerGetStatisticsData = {
3929
4732
  */
3930
4733
  period: '7d' | '30d' | '90d';
3931
4734
  /**
3932
- * Region code (cn, us, de)
4735
+ * Region code for tenant context
3933
4736
  */
3934
- region: 'cn' | 'us' | 'de';
4737
+ region: 'cn' | 'us' | 'de' | 'gb';
3935
4738
  };
3936
4739
  type TransactionRuleControllerGetStatisticsResponse = RuleStatisticsResponseDto;
3937
4740
  type TransactionRuleControllerGetDetailData = {
3938
4741
  /**
3939
- * Region code (cn, us, de)
4742
+ * Region code for tenant context
3940
4743
  */
3941
- region: 'cn' | 'us' | 'de';
4744
+ region: 'cn' | 'us' | 'de' | 'gb';
3942
4745
  /**
3943
4746
  * Rule ID
3944
4747
  */
3945
4748
  ruleId: string;
3946
4749
  };
3947
4750
  type TransactionRuleControllerGetDetailResponse = TransactionRuleResponseDto;
3948
- type TransactionRuleController2Data = {
4751
+ type TransactionRuleControllerUpdateData = {
3949
4752
  /**
3950
- * Region code (cn, us, de)
4753
+ * Region code for tenant context
3951
4754
  */
3952
- region: 'cn' | 'us' | 'de';
4755
+ region: 'cn' | 'us' | 'de' | 'gb';
4756
+ requestBody: UpdateTransactionRuleDto;
4757
+ /**
4758
+ * Rule ID to update
4759
+ */
4760
+ ruleId: string;
3953
4761
  };
3954
- type TransactionRuleController2Response = unknown;
3955
- type TransactionRuleController3Data = {
4762
+ type TransactionRuleControllerUpdateResponse = TransactionRuleResponseDto;
4763
+ type TransactionRuleControllerDeleteData = {
3956
4764
  /**
3957
- * Region code (cn, us, de)
4765
+ * Region code for tenant context
4766
+ */
4767
+ region: 'cn' | 'us' | 'de' | 'gb';
4768
+ /**
4769
+ * Rule ID to delete
3958
4770
  */
3959
- region: 'cn' | 'us' | 'de';
4771
+ ruleId: string;
3960
4772
  };
3961
- type TransactionRuleController3Response = void;
4773
+ type TransactionRuleControllerDeleteResponse = void;
3962
4774
  type TransactionRuleControllerTestData = {
3963
4775
  /**
3964
- * Region code (cn, us, de)
4776
+ * Region code for tenant context
3965
4777
  */
3966
- region: 'cn' | 'us' | 'de';
4778
+ region: 'cn' | 'us' | 'de' | 'gb';
3967
4779
  requestBody: TestRuleDto;
3968
4780
  /**
3969
4781
  * Rule ID to test
@@ -3972,26 +4784,14 @@ type TransactionRuleControllerTestData = {
3972
4784
  };
3973
4785
  type TransactionRuleControllerTestResponse = TestRuleResponseDto;
3974
4786
  type UserControllerDeleteOwnUserData = {
3975
- /**
3976
- * Region code (cn, us, de)
3977
- */
3978
- region: 'cn' | 'us' | 'de';
3979
4787
  requestBody: DeleteOwnUserDto;
3980
4788
  };
3981
4789
  type UserControllerDeleteOwnUserResponse = void;
3982
4790
  type UserControllerGetUserData = {
3983
4791
  acceptLanguage: string;
3984
- /**
3985
- * Region code (cn, us, de)
3986
- */
3987
- region: 'cn' | 'us' | 'de';
3988
4792
  };
3989
4793
  type UserControllerGetUserResponse = unknown;
3990
4794
  type UserControllerSignupUserData = {
3991
- /**
3992
- * Region code (cn, us, de)
3993
- */
3994
- region: 'cn' | 'us' | 'de';
3995
4795
  requestBody: SignupDto;
3996
4796
  };
3997
4797
  type UserControllerSignupUserResponse = unknown;
@@ -4000,10 +4800,6 @@ type UserControllerDeleteUserData = {
4000
4800
  * User ID to delete
4001
4801
  */
4002
4802
  id: string;
4003
- /**
4004
- * Region code (cn, us, de)
4005
- */
4006
- region: 'cn' | 'us' | 'de';
4007
4803
  };
4008
4804
  type UserControllerDeleteUserResponse = void;
4009
4805
  type UserControllerGetUserInfoData = {
@@ -4011,17 +4807,9 @@ type UserControllerGetUserInfoData = {
4011
4807
  * User ID
4012
4808
  */
4013
4809
  id: string;
4014
- /**
4015
- * Region code (cn, us, de)
4016
- */
4017
- region: 'cn' | 'us' | 'de';
4018
4810
  };
4019
4811
  type UserControllerGetUserInfoResponse = unknown;
4020
4812
  type UserControllerUpdateUserSettingData = {
4021
- /**
4022
- * Region code (cn, us, de)
4023
- */
4024
- region: 'cn' | 'us' | 'de';
4025
4813
  requestBody: UpdateUserSettingDto;
4026
4814
  };
4027
4815
  type UserControllerUpdateUserSettingResponse = unknown;
@@ -4034,60 +4822,42 @@ type UserControllerGetAllUserSettingsByPageData = {
4034
4822
  * Page size
4035
4823
  */
4036
4824
  pageSize: number;
4037
- /**
4038
- * Region code (cn, us, de)
4039
- */
4040
- region: 'cn' | 'us' | 'de';
4041
4825
  };
4042
4826
  type UserControllerGetAllUserSettingsByPageResponse = unknown;
4043
- type UserControllerGetAssetLiabilitySummaryData = {
4044
- /**
4045
- * Region code (cn, us, de)
4046
- */
4047
- region: 'cn' | 'us' | 'de';
4048
- };
4049
4827
  type UserControllerGetAssetLiabilitySummaryResponse = unknown;
4050
- type PropertyControllerGetAllData = {
4051
- /**
4052
- * Region code (cn, us, de)
4053
- */
4054
- region: 'cn' | 'us' | 'de';
4055
- };
4056
4828
  type PropertyControllerGetAllResponse = unknown;
4057
4829
  type PropertyControllerGetByKeyData = {
4058
4830
  /**
4059
4831
  * Property key
4060
4832
  */
4061
4833
  key: string;
4062
- /**
4063
- * Region code (cn, us, de)
4064
- */
4065
- region: 'cn' | 'us' | 'de';
4066
4834
  };
4067
4835
  type PropertyControllerGetByKeyResponse = unknown;
4068
- type PropertyControllerData = {
4836
+ type PropertyControllerUpdateData = {
4069
4837
  /**
4070
- * Region code (cn, us, de)
4838
+ * Property key
4071
4839
  */
4072
- region: 'cn' | 'us' | 'de';
4840
+ key: string;
4841
+ requestBody: UpdatePropertyDto;
4073
4842
  };
4074
- type PropertyControllerResponse = unknown;
4075
- type PropertyController1Data = {
4843
+ type PropertyControllerUpdateResponse = unknown;
4844
+ type PropertyControllerDeleteData = {
4076
4845
  /**
4077
- * Region code (cn, us, de)
4846
+ * Property key
4078
4847
  */
4079
- region: 'cn' | 'us' | 'de';
4848
+ key: string;
4080
4849
  };
4081
- type PropertyController1Response = void;
4850
+ type PropertyControllerDeleteResponse = void;
4851
+ type ExportControllerExportBeancountResponse = unknown;
4082
4852
  type FileImportControllerImportFileData = {
4083
4853
  /**
4084
4854
  * Bill file to import
4085
4855
  */
4086
4856
  formData: FileImportDto;
4087
4857
  /**
4088
- * Region code (cn, us, de)
4858
+ * Region code for tenant context
4089
4859
  */
4090
- region: 'cn' | 'us' | 'de';
4860
+ region: 'cn' | 'us' | 'de' | 'gb';
4091
4861
  };
4092
4862
  type FileImportControllerImportFileResponse = ImportResultDto;
4093
4863
  type FileImportControllerIdentifyFileData = {
@@ -4096,41 +4866,104 @@ type FileImportControllerIdentifyFileData = {
4096
4866
  */
4097
4867
  formData: FileImportDto;
4098
4868
  /**
4099
- * Region code (cn, us, de)
4869
+ * Region code for tenant context
4100
4870
  */
4101
- region: 'cn' | 'us' | 'de';
4871
+ region: 'cn' | 'us' | 'de' | 'gb';
4102
4872
  };
4103
4873
  type FileImportControllerIdentifyFileResponse = IdentifyResultDto;
4874
+ type FileImportControllerImportBeancountData = {
4875
+ /**
4876
+ * Beancount file to import
4877
+ */
4878
+ formData: FileImportDto;
4879
+ /**
4880
+ * Region code for tenant context
4881
+ */
4882
+ region: 'cn' | 'us' | 'de' | 'gb';
4883
+ };
4884
+ type FileImportControllerImportBeancountResponse = {
4885
+ imported?: number;
4886
+ skipped?: number;
4887
+ failed?: number;
4888
+ accountsCreated?: number;
4889
+ errors?: Array<{
4890
+ [key: string]: unknown;
4891
+ }>;
4892
+ };
4104
4893
  type ImporterConfigControllerGetConfigData = {
4105
4894
  /**
4106
- * Importer identifier. Supported importers: alipay, alipay-web, wechat, boc, boc-credit, ccb, cmb, cmbc, cmbc-credit, icbc, icbc-credit, hsbc-hk
4895
+ * 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
4107
4896
  */
4108
4897
  importerId: string;
4109
4898
  /**
4110
- * Region code (cn, us, de)
4899
+ * Region code for tenant context
4111
4900
  */
4112
- region: 'cn' | 'us' | 'de';
4901
+ region: 'cn' | 'us' | 'de' | 'gb';
4113
4902
  };
4114
4903
  type ImporterConfigControllerGetConfigResponse = ImporterConfigDto;
4115
- type ImporterConfigControllerData = {
4904
+ type ImporterConfigControllerUpdateConfigData = {
4116
4905
  /**
4117
- * Region code (cn, us, de)
4906
+ * 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
4907
+ */
4908
+ importerId: string;
4909
+ /**
4910
+ * Region code for tenant context
4118
4911
  */
4119
- region: 'cn' | 'us' | 'de';
4912
+ region: 'cn' | 'us' | 'de' | 'gb';
4913
+ /**
4914
+ * Partial configuration update. Only provided fields will be updated.
4915
+ */
4916
+ requestBody: UpdateImporterConfigDto;
4120
4917
  };
4121
- type ImporterConfigControllerResponse = unknown;
4122
- type ImporterConfigController1Data = {
4918
+ type ImporterConfigControllerUpdateConfigResponse = ImporterConfigDto;
4919
+ type ImporterConfigControllerResetConfigData = {
4123
4920
  /**
4124
- * Region code (cn, us, de)
4921
+ * 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
4922
+ */
4923
+ importerId: string;
4924
+ /**
4925
+ * Region code for tenant context
4926
+ */
4927
+ region: 'cn' | 'us' | 'de' | 'gb';
4928
+ };
4929
+ type ImporterConfigControllerResetConfigResponse = ImporterConfigDto;
4930
+ type PlatformControllerFindAllResponse = unknown;
4931
+ type PlatformControllerCreateData = {
4932
+ requestBody: CreatePlatformDto;
4933
+ };
4934
+ type PlatformControllerCreateResponse = unknown;
4935
+ type PlatformControllerGetPlatformListResponse = unknown;
4936
+ type PlatformControllerMatchPlatformsData = {
4937
+ /**
4938
+ * Search query — Chinese name, English name, or abbreviation
4939
+ */
4940
+ q: string;
4941
+ /**
4942
+ * Region code for category override lookup
4125
4943
  */
4126
- region: 'cn' | 'us' | 'de';
4944
+ region?: string;
4945
+ };
4946
+ type PlatformControllerMatchPlatformsResponse = unknown;
4947
+ type PlatformControllerUpdateData = {
4948
+ /**
4949
+ * Platform ID
4950
+ */
4951
+ id: string;
4952
+ requestBody: UpdatePlatformDto;
4127
4953
  };
4128
- type ImporterConfigController1Response = unknown;
4954
+ type PlatformControllerUpdateResponse = unknown;
4955
+ type PlatformControllerDeleteData = {
4956
+ /**
4957
+ * Platform ID
4958
+ */
4959
+ id: string;
4960
+ };
4961
+ type PlatformControllerDeleteResponse = void;
4129
4962
  type ProviderSyncControllerSyncData = {
4130
4963
  /**
4131
4964
  * Provider name
4132
4965
  */
4133
- providerName: 'plaid' | 'teller' | 'truelayer' | 'gocardless' | 'simplefin' | 'yodlee' | 'beancount-direct';
4966
+ providerName: 'plaid' | 'teller' | 'truelayer' | 'gocardless' | 'simplefin' | 'yodlee' | 'beancount-direct' | 'parsed-bill';
4134
4967
  /**
4135
4968
  * Region code
4136
4969
  */
@@ -4140,9 +4973,9 @@ type ProviderSyncControllerSyncData = {
4140
4973
  type ProviderSyncControllerSyncResponse = ProviderSyncResponseDto;
4141
4974
  type ProviderSyncControllerGetSupportedProvidersData = {
4142
4975
  /**
4143
- * Region code (cn, us, de)
4976
+ * Region code for tenant context
4144
4977
  */
4145
- region: 'cn' | 'us' | 'de';
4978
+ region: 'cn' | 'us' | 'de' | 'gb';
4146
4979
  };
4147
4980
  type ProviderSyncControllerGetSupportedProvidersResponse = SupportedProvidersResponseDto;
4148
4981
  type ProviderSyncControllerIsProviderSupportedData = {
@@ -4151,16 +4984,24 @@ type ProviderSyncControllerIsProviderSupportedData = {
4151
4984
  */
4152
4985
  providerName: string;
4153
4986
  /**
4154
- * Region code (cn, us, de)
4987
+ * Region code for tenant context
4155
4988
  */
4156
- region: 'cn' | 'us' | 'de';
4989
+ region: 'cn' | 'us' | 'de' | 'gb';
4157
4990
  };
4158
4991
  type ProviderSyncControllerIsProviderSupportedResponse = unknown;
4992
+ type TelemetryControllerReportTelemetryData = {
4993
+ /**
4994
+ * Region code for tenant context
4995
+ */
4996
+ region: 'cn' | 'us' | 'de' | 'gb';
4997
+ requestBody: ParserTelemetryReportDto;
4998
+ };
4999
+ type TelemetryControllerReportTelemetryResponse = unknown;
4159
5000
  type NlpControllerProcessNaturalLanguageData = {
4160
5001
  /**
4161
- * Region code (cn, us, de)
5002
+ * Region code for tenant context
4162
5003
  */
4163
- region: 'cn' | 'us' | 'de';
5004
+ region: 'cn' | 'us' | 'de' | 'gb';
4164
5005
  /**
4165
5006
  * Natural language transaction input with optional session ID
4166
5007
  */
@@ -4169,9 +5010,9 @@ type NlpControllerProcessNaturalLanguageData = {
4169
5010
  type NlpControllerProcessNaturalLanguageResponse = NlpResponseDto;
4170
5011
  type NlpControllerClearSessionData = {
4171
5012
  /**
4172
- * Region code (cn, us, de)
5013
+ * Region code for tenant context
4173
5014
  */
4174
- region: 'cn' | 'us' | 'de';
5015
+ region: 'cn' | 'us' | 'de' | 'gb';
4175
5016
  /**
4176
5017
  * Specific session ID to clear (defaults to user session)
4177
5018
  */
@@ -4180,138 +5021,24 @@ type NlpControllerClearSessionData = {
4180
5021
  type NlpControllerClearSessionResponse = void;
4181
5022
  type NlpControllerGetSessionData = {
4182
5023
  /**
4183
- * Region code (cn, us, de)
5024
+ * Region code for tenant context
4184
5025
  */
4185
- region: 'cn' | 'us' | 'de';
5026
+ region: 'cn' | 'us' | 'de' | 'gb';
4186
5027
  /**
4187
5028
  * Specific session ID to get (defaults to user session)
4188
5029
  */
4189
5030
  sessionId?: string;
4190
5031
  };
4191
5032
  type NlpControllerGetSessionResponse = unknown;
4192
- type PlatformControllerFindAllData = {
4193
- /**
4194
- * Region code (cn, us, de)
4195
- */
4196
- region: 'cn' | 'us' | 'de';
4197
- };
4198
- type PlatformControllerFindAllResponse = unknown;
4199
- type PlatformControllerData = {
4200
- /**
4201
- * Region code (cn, us, de)
4202
- */
4203
- region: 'cn' | 'us' | 'de';
4204
- };
4205
- type PlatformControllerResponse = unknown;
4206
- type PlatformControllerGetPlatformListData = {
4207
- /**
4208
- * Region code (cn, us, de)
4209
- */
4210
- region: 'cn' | 'us' | 'de';
4211
- };
4212
- type PlatformControllerGetPlatformListResponse = unknown;
4213
- type PlatformController1Data = {
4214
- /**
4215
- * Region code (cn, us, de)
4216
- */
4217
- region: 'cn' | 'us' | 'de';
4218
- };
4219
- type PlatformController1Response = unknown;
4220
- type PlatformController2Data = {
4221
- /**
4222
- * Region code (cn, us, de)
4223
- */
4224
- region: 'cn' | 'us' | 'de';
4225
- };
4226
- type PlatformController2Response = void;
4227
- type SymbolControllerLookupSymbolData = {
4228
- /**
4229
- * Geographic area filter (e.g., CN, US)
4230
- */
4231
- area?: unknown;
4232
- /**
4233
- * Asset class filter
4234
- */
4235
- assetClass?: unknown;
4236
- /**
4237
- * Asset sub-class filter
4238
- */
4239
- assetSubClass?: unknown;
4240
- /**
4241
- * Include index symbols in results
4242
- */
4243
- includeIndices?: unknown;
4244
- /**
4245
- * Search query string
4246
- */
4247
- query?: unknown;
4248
- /**
4249
- * Region code (cn, us, de)
4250
- */
4251
- region: 'cn' | 'us' | 'de';
4252
- };
4253
- type SymbolControllerLookupSymbolResponse = unknown;
4254
- type SymbolControllerGetSymbolDataData = {
4255
- /**
4256
- * Data source provider
4257
- */
4258
- dataSource: 'ALPHA_VANTAGE' | 'EOD_HISTORICAL_DATA' | 'FINANCIAL_MODELING_PREP' | 'MANUAL' | 'RAPID_API' | 'YAHOO' | 'COINGECKO' | 'TUSHARE' | 'BLOOMBERG' | 'CSI' | 'STOOQ' | 'TRADING_VIEW';
4259
- /**
4260
- * Include historical price data (0 or 1)
4261
- */
4262
- includeHistoricalData?: unknown;
4263
- /**
4264
- * Region code (cn, us, de)
4265
- */
4266
- region: 'cn' | 'us' | 'de';
4267
- /**
4268
- * Symbol identifier (e.g., ticker code)
4269
- */
4270
- symbol: string;
4271
- };
4272
- type SymbolControllerGetSymbolDataResponse = unknown;
4273
- type SymbolControllerGatherSymbolForDateData = {
4274
- /**
4275
- * Data source provider
4276
- */
4277
- dataSource: 'ALPHA_VANTAGE' | 'EOD_HISTORICAL_DATA' | 'FINANCIAL_MODELING_PREP' | 'MANUAL' | 'RAPID_API' | 'YAHOO' | 'COINGECKO' | 'TUSHARE' | 'BLOOMBERG' | 'CSI' | 'STOOQ' | 'TRADING_VIEW';
4278
- /**
4279
- * Date in ISO 8601 format (YYYY-MM-DD)
4280
- */
4281
- dateString: string;
4282
- /**
4283
- * Region code (cn, us, de)
4284
- */
4285
- region: 'cn' | 'us' | 'de';
4286
- /**
4287
- * Symbol identifier (e.g., ticker code)
4288
- */
4289
- symbol: string;
4290
- };
4291
- type SymbolControllerGatherSymbolForDateResponse = unknown;
4292
- type SymbolControllerData = {
4293
- /**
4294
- * Region code (cn, us, de)
4295
- */
4296
- region: 'cn' | 'us' | 'de';
4297
- };
4298
- type SymbolControllerResponse = unknown;
4299
- type CacheControllerFlushCacheData = {
4300
- /**
4301
- * Region code (cn, us, de)
4302
- */
4303
- region: 'cn' | 'us' | 'de';
4304
- };
4305
- type CacheControllerFlushCacheResponse = unknown;
4306
5033
  type DashboardControllerGetNetWorthData = {
4307
5034
  /**
4308
5035
  * Date for balance calculation (ISO 8601 format)
4309
5036
  */
4310
5037
  date?: string;
4311
5038
  /**
4312
- * Region code (cn, us, de)
5039
+ * Region code for tenant context
4313
5040
  */
4314
- region: 'cn' | 'us' | 'de';
5041
+ region: 'cn' | 'us' | 'de' | 'gb';
4315
5042
  };
4316
5043
  type DashboardControllerGetNetWorthResponse = NetWorthResponseDto;
4317
5044
  type DashboardControllerGetAccountsData = {
@@ -4324,9 +5051,9 @@ type DashboardControllerGetAccountsData = {
4324
5051
  */
4325
5052
  groupBy?: 'platform' | 'assetClass';
4326
5053
  /**
4327
- * Region code (cn, us, de)
5054
+ * Region code for tenant context
4328
5055
  */
4329
- region: 'cn' | 'us' | 'de';
5056
+ region: 'cn' | 'us' | 'de' | 'gb';
4330
5057
  };
4331
5058
  type DashboardControllerGetAccountsResponse = AccountsResponseDto | AssetClassAccountsResponseDto;
4332
5059
  type DashboardControllerGetCashFlowData = {
@@ -4335,9 +5062,9 @@ type DashboardControllerGetCashFlowData = {
4335
5062
  */
4336
5063
  period: string;
4337
5064
  /**
4338
- * Region code (cn, us, de)
5065
+ * Region code for tenant context
4339
5066
  */
4340
- region: 'cn' | 'us' | 'de';
5067
+ region: 'cn' | 'us' | 'de' | 'gb';
4341
5068
  };
4342
5069
  type DashboardControllerGetCashFlowResponse = CashFlowResponseDto;
4343
5070
  type ReportingControllerGetPortfolioTrendsData = {
@@ -4350,16 +5077,16 @@ type ReportingControllerGetPortfolioTrendsData = {
4350
5077
  */
4351
5078
  period?: '1m' | '3m' | '6m' | '1y';
4352
5079
  /**
4353
- * Region code (cn, us, de)
5080
+ * Region code for tenant context
4354
5081
  */
4355
- region: 'cn' | 'us' | 'de';
5082
+ region: 'cn' | 'us' | 'de' | 'gb';
4356
5083
  };
4357
5084
  type ReportingControllerGetPortfolioTrendsResponse = PortfolioTrendsResponseDto;
4358
5085
  type ReportingControllerGenerateSnapshotData = {
4359
5086
  /**
4360
- * Region code (cn, us, de)
5087
+ * Region code for tenant context
4361
5088
  */
4362
- region: 'cn' | 'us' | 'de';
5089
+ region: 'cn' | 'us' | 'de' | 'gb';
4363
5090
  /**
4364
5091
  * Optional date (defaults to today)
4365
5092
  */
@@ -4368,172 +5095,43 @@ type ReportingControllerGenerateSnapshotData = {
4368
5095
  type ReportingControllerGenerateSnapshotResponse = GenerateSnapshotResponse;
4369
5096
  type ReportingControllerBackfillSnapshotsData = {
4370
5097
  /**
4371
- * Region code (cn, us, de)
5098
+ * Region code for tenant context
4372
5099
  */
4373
- region: 'cn' | 'us' | 'de';
5100
+ region: 'cn' | 'us' | 'de' | 'gb';
4374
5101
  requestBody: BackfillSnapshotsBody;
4375
5102
  };
4376
5103
  type ReportingControllerBackfillSnapshotsResponse = BackfillSnapshotsResponse;
4377
- type ApiKeysControllerData = {
4378
- /**
4379
- * Region code (cn, us, de)
4380
- */
4381
- region: 'cn' | 'us' | 'de';
4382
- };
4383
- type ApiKeysControllerResponse = unknown;
5104
+ type ApiKeysControllerCreateApiKeyResponse = unknown;
4384
5105
  type AuthControllerAccessTokenLoginData = {
4385
- /**
4386
- * Region code (cn, us, de)
4387
- */
4388
- region: 'cn' | 'us' | 'de';
4389
5106
  requestBody: AnonymousLoginDto;
4390
5107
  };
4391
5108
  type AuthControllerAccessTokenLoginResponse = unknown;
5109
+ type CacheControllerFlushCacheResponse = unknown;
4392
5110
  type ExchangeRateControllerGetExchangeRateData = {
4393
5111
  /**
4394
5112
  * Date in ISO format (YYYY-MM-DD)
4395
5113
  */
4396
5114
  dateString: string;
4397
- /**
4398
- * Region code (cn, us, de)
4399
- */
4400
- region: 'cn' | 'us' | 'de';
4401
5115
  /**
4402
5116
  * Currency pair symbol (e.g., USDCNY, EURUSD)
4403
5117
  */
4404
5118
  symbol: string;
4405
5119
  };
4406
5120
  type ExchangeRateControllerGetExchangeRateResponse = unknown;
4407
- type HealthControllerGetHealthData = {
4408
- /**
4409
- * Region code (cn, us, de)
4410
- */
4411
- region: 'cn' | 'us' | 'de';
4412
- };
4413
5121
  type HealthControllerGetHealthResponse = unknown;
4414
- type HealthControllerCheckDatabaseData = {
4415
- /**
4416
- * Region code (cn, us, de)
4417
- */
4418
- region: 'cn' | 'us' | 'de';
4419
- };
4420
5122
  type HealthControllerCheckDatabaseResponse = unknown;
4421
- type HealthControllerCheckRedisData = {
4422
- /**
4423
- * Region code (cn, us, de)
4424
- */
4425
- region: 'cn' | 'us' | 'de';
4426
- };
5123
+ type HealthControllerCheckOpenBbResponse = unknown;
4427
5124
  type HealthControllerCheckRedisResponse = unknown;
4428
- type HealthControllerGetCircuitBreakersHealthData = {
4429
- /**
4430
- * Region code (cn, us, de)
4431
- */
4432
- region: 'cn' | 'us' | 'de';
4433
- };
4434
5125
  type HealthControllerGetCircuitBreakersHealthResponse = unknown;
4435
5126
  type HealthControllerResetCircuitBreakerData = {
4436
5127
  /**
4437
5128
  * Circuit breaker name to reset
4438
5129
  */
4439
5130
  name: string;
4440
- /**
4441
- * Region code (cn, us, de)
4442
- */
4443
- region: 'cn' | 'us' | 'de';
4444
5131
  };
4445
5132
  type HealthControllerResetCircuitBreakerResponse = unknown;
4446
- type HealthControllerGetMetricsData = {
4447
- /**
4448
- * Region code (cn, us, de)
4449
- */
4450
- region: 'cn' | 'us' | 'de';
4451
- };
4452
5133
  type HealthControllerGetMetricsResponse = unknown;
4453
- type HealthControllerGetHealthOfDataEnhancerData = {
4454
- /**
4455
- * Data enhancer name
4456
- */
4457
- name: string;
4458
- /**
4459
- * Region code (cn, us, de)
4460
- */
4461
- region: 'cn' | 'us' | 'de';
4462
- };
4463
- type HealthControllerGetHealthOfDataEnhancerResponse = unknown;
4464
- type HealthControllerCheckDataProvidersData = {
4465
- /**
4466
- * Region code (cn, us, de)
4467
- */
4468
- region: 'cn' | 'us' | 'de';
4469
- };
4470
- type HealthControllerCheckDataProvidersResponse = unknown;
4471
- type HealthControllerGetHealthOfDataProviderData = {
4472
- /**
4473
- * Data source identifier
4474
- */
4475
- dataSource: string;
4476
- /**
4477
- * Region code (cn, us, de)
4478
- */
4479
- region: 'cn' | 'us' | 'de';
4480
- };
4481
- type HealthControllerGetHealthOfDataProviderResponse = unknown;
4482
- type InfoControllerGetInfoData = {
4483
- /**
4484
- * Region code (cn, us, de)
4485
- */
4486
- region: 'cn' | 'us' | 'de';
4487
- };
4488
5134
  type InfoControllerGetInfoResponse = unknown;
4489
- type LogoControllerGetLogoByDataSourceAndSymbolData = {
4490
- /**
4491
- * Data source identifier (e.g., YAHOO, COINGECKO)
4492
- */
4493
- dataSource: string;
4494
- /**
4495
- * Region code (cn, us, de)
4496
- */
4497
- region: 'cn' | 'us' | 'de';
4498
- /**
4499
- * Asset symbol (e.g., AAPL, BTC)
4500
- */
4501
- symbol: string;
4502
- };
4503
- type LogoControllerGetLogoByDataSourceAndSymbolResponse = unknown;
4504
- type LogoControllerGetLogoByUrlData = {
4505
- /**
4506
- * Region code (cn, us, de)
4507
- */
4508
- region: 'cn' | 'us' | 'de';
4509
- /**
4510
- * Website URL to fetch favicon from
4511
- */
4512
- url: string;
4513
- };
4514
- type LogoControllerGetLogoByUrlResponse = unknown;
4515
- type MarketDataControllerGetMarketDataBySymbolData = {
4516
- /**
4517
- * Data source provider
4518
- */
4519
- dataSource: 'ALPHA_VANTAGE' | 'EOD_HISTORICAL_DATA' | 'FINANCIAL_MODELING_PREP' | 'MANUAL' | 'RAPID_API' | 'YAHOO' | 'COINGECKO' | 'TUSHARE' | 'BLOOMBERG' | 'CSI' | 'STOOQ' | 'TRADING_VIEW';
4520
- /**
4521
- * Region code (cn, us, de)
4522
- */
4523
- region: 'cn' | 'us' | 'de';
4524
- /**
4525
- * Symbol code
4526
- */
4527
- symbol: string;
4528
- };
4529
- type MarketDataControllerGetMarketDataBySymbolResponse = unknown;
4530
- type MarketDataControllerData = {
4531
- /**
4532
- * Region code (cn, us, de)
4533
- */
4534
- region: 'cn' | 'us' | 'de';
4535
- };
4536
- type MarketDataControllerResponse = unknown;
4537
5135
  type $OpenApiTs = {
4538
5136
  '/api/v1/{region}/bean/accounts': {
4539
5137
  post: {
@@ -4642,6 +5240,39 @@ type $OpenApiTs = {
4642
5240
  };
4643
5241
  };
4644
5242
  };
5243
+ '/api/v1/{region}/bean/account-standards': {
5244
+ get: {
5245
+ req: AccountStandardsControllerGetTemplatesData;
5246
+ res: {
5247
+ /**
5248
+ * Account templates retrieved successfully
5249
+ */
5250
+ 200: AccountStandardListResponseDto;
5251
+ };
5252
+ };
5253
+ };
5254
+ '/api/v1/{region}/bean/account-standards/template-metadata': {
5255
+ get: {
5256
+ req: AccountStandardsControllerGetTemplateMetadataData;
5257
+ res: {
5258
+ /**
5259
+ * Template metadata retrieved successfully
5260
+ */
5261
+ 200: TemplateMetadataResponseDto;
5262
+ };
5263
+ };
5264
+ };
5265
+ '/api/v1/{region}/bean/account-standards/regions': {
5266
+ get: {
5267
+ req: AccountStandardsControllerGetRegionsData;
5268
+ res: {
5269
+ /**
5270
+ * Regions metadata retrieved successfully
5271
+ */
5272
+ 200: RegionsMetadataResponseDto;
5273
+ };
5274
+ };
5275
+ };
4645
5276
  '/api/v1/{region}/bean/transactions': {
4646
5277
  post: {
4647
5278
  req: TransactionControllerCreateData;
@@ -4675,6 +5306,10 @@ type $OpenApiTs = {
4675
5306
  * Transaction list
4676
5307
  */
4677
5308
  200: TransactionListResponseDto;
5309
+ /**
5310
+ * Validation failed
5311
+ */
5312
+ 400: ApiProblemResponseDto;
4678
5313
  /**
4679
5314
  * Authentication required
4680
5315
  */
@@ -4684,9 +5319,39 @@ type $OpenApiTs = {
4684
5319
  };
4685
5320
  '/api/v1/{region}/bean/transactions/batch': {
4686
5321
  post: {
4687
- req: TransactionControllerData;
5322
+ req: TransactionControllerCreateBatchData;
4688
5323
  res: {
4689
- 201: unknown;
5324
+ /**
5325
+ * Transactions processed
5326
+ */
5327
+ 201: BatchTransactionResponseDto;
5328
+ /**
5329
+ * Invalid input
5330
+ */
5331
+ 400: ApiProblemResponseDto;
5332
+ /**
5333
+ * Authentication required
5334
+ */
5335
+ 401: ApiProblemResponseDto;
5336
+ };
5337
+ };
5338
+ };
5339
+ '/api/v1/{region}/bean/transactions/tags': {
5340
+ get: {
5341
+ req: TransactionControllerSuggestTagsData;
5342
+ res: {
5343
+ /**
5344
+ * Tag suggestions
5345
+ */
5346
+ 200: TagSuggestionsResponseDto;
5347
+ /**
5348
+ * Validation failed
5349
+ */
5350
+ 400: ApiProblemResponseDto;
5351
+ /**
5352
+ * Authentication required
5353
+ */
5354
+ 401: ApiProblemResponseDto;
4690
5355
  };
4691
5356
  };
4692
5357
  };
@@ -4730,31 +5395,24 @@ type $OpenApiTs = {
4730
5395
  };
4731
5396
  };
4732
5397
  delete: {
4733
- req: TransactionController1Data;
5398
+ req: TransactionControllerDeleteData;
4734
5399
  res: {
5400
+ /**
5401
+ * Transaction voided successfully
5402
+ */
4735
5403
  204: void;
4736
- };
4737
- };
4738
- };
4739
- '/api/v1/{region}/bean/account-standards': {
4740
- get: {
4741
- req: AccountStandardsControllerGetTemplatesData;
4742
- res: {
4743
5404
  /**
4744
- * Account templates retrieved successfully
5405
+ * Transaction already voided
4745
5406
  */
4746
- 200: AccountStandardListResponseDto;
4747
- };
4748
- };
4749
- };
4750
- '/api/v1/{region}/bean/account-standards/regions': {
4751
- get: {
4752
- req: AccountStandardsControllerGetRegionsData;
4753
- res: {
5407
+ 400: ApiProblemResponseDto;
4754
5408
  /**
4755
- * Regions metadata retrieved successfully
5409
+ * Authentication required
4756
5410
  */
4757
- 200: RegionsMetadataResponseDto;
5411
+ 401: ApiProblemResponseDto;
5412
+ /**
5413
+ * Transaction not found
5414
+ */
5415
+ 404: ApiProblemResponseDto;
4758
5416
  };
4759
5417
  };
4760
5418
  };
@@ -4822,33 +5480,44 @@ type $OpenApiTs = {
4822
5480
  };
4823
5481
  '/api/v1/{region}/bean/reviews/{id}/resolve': {
4824
5482
  post: {
4825
- req: ReviewControllerData;
5483
+ req: ReviewControllerResolveData;
4826
5484
  res: {
4827
- 201: unknown;
5485
+ 200: ResolveResultDto;
4828
5486
  };
4829
5487
  };
4830
5488
  };
4831
5489
  '/api/v1/{region}/bean/reviews/{id}/undo': {
4832
5490
  post: {
4833
- req: ReviewController1Data;
5491
+ req: ReviewControllerUndoData;
4834
5492
  res: {
4835
- 201: unknown;
5493
+ 200: UndoResultDto;
4836
5494
  };
4837
5495
  };
4838
5496
  };
4839
5497
  '/api/v1/{region}/bean/reviews/batch-resolve': {
4840
5498
  post: {
4841
- req: ReviewController2Data;
5499
+ req: ReviewControllerBatchResolveData;
4842
5500
  res: {
4843
- 201: unknown;
5501
+ 200: BatchResolveResultDto;
4844
5502
  };
4845
5503
  };
4846
5504
  };
4847
5505
  '/api/v1/bean/payees': {
4848
5506
  post: {
4849
- req: PayeeControllerData;
5507
+ req: PayeeControllerCreateData;
4850
5508
  res: {
4851
- 201: unknown;
5509
+ /**
5510
+ * Payee created successfully
5511
+ */
5512
+ 201: PayeeResponseDto;
5513
+ /**
5514
+ * Invalid input data
5515
+ */
5516
+ 400: ApiProblemResponseDto;
5517
+ /**
5518
+ * Payee already exists
5519
+ */
5520
+ 409: ApiProblemResponseDto;
4852
5521
  };
4853
5522
  };
4854
5523
  get: {
@@ -4902,23 +5571,56 @@ type $OpenApiTs = {
4902
5571
  };
4903
5572
  };
4904
5573
  put: {
4905
- req: PayeeController1Data;
5574
+ req: PayeeControllerUpdateData;
4906
5575
  res: {
4907
- 200: unknown;
5576
+ /**
5577
+ * Payee updated successfully
5578
+ */
5579
+ 200: PayeeResponseDto;
5580
+ /**
5581
+ * Invalid input data
5582
+ */
5583
+ 400: ApiProblemResponseDto;
5584
+ /**
5585
+ * Payee not found
5586
+ */
5587
+ 404: ApiProblemResponseDto;
4908
5588
  };
4909
5589
  };
4910
5590
  delete: {
4911
- req: PayeeController2Data;
5591
+ req: PayeeControllerDeleteData;
4912
5592
  res: {
5593
+ /**
5594
+ * Payee deleted successfully
5595
+ */
4913
5596
  204: void;
5597
+ /**
5598
+ * Payee not found
5599
+ */
5600
+ 404: ApiProblemResponseDto;
4914
5601
  };
4915
5602
  };
4916
5603
  };
4917
5604
  '/api/v1/admin/payee-profiles': {
4918
5605
  post: {
4919
- req: PayeeProfileAdminControllerData;
5606
+ req: PayeeProfileAdminControllerCreateData;
4920
5607
  res: {
4921
- 201: unknown;
5608
+ /**
5609
+ * Payee profile created successfully
5610
+ */
5611
+ 201: PayeeProfileResponseDto;
5612
+ /**
5613
+ * Validation failed
5614
+ */
5615
+ 400: ApiProblemResponseDto;
5616
+ /**
5617
+ * Admin access required
5618
+ */
5619
+ 403: ApiProblemResponseDto;
5620
+ /**
5621
+ * Payee profile already exists
5622
+ */
5623
+ 409: ApiProblemResponseDto;
4922
5624
  };
4923
5625
  };
4924
5626
  get: {
@@ -4954,37 +5656,96 @@ type $OpenApiTs = {
4954
5656
  };
4955
5657
  };
4956
5658
  put: {
4957
- req: PayeeProfileAdminController1Data;
5659
+ req: PayeeProfileAdminControllerUpdateData;
4958
5660
  res: {
4959
- 200: unknown;
5661
+ /**
5662
+ * Payee profile updated successfully
5663
+ */
5664
+ 200: PayeeProfileResponseDto;
5665
+ /**
5666
+ * Admin access required
5667
+ */
5668
+ 403: ApiProblemResponseDto;
5669
+ /**
5670
+ * Payee profile not found
5671
+ */
5672
+ 404: ApiProblemResponseDto;
4960
5673
  };
4961
5674
  };
4962
5675
  delete: {
4963
- req: PayeeProfileAdminController2Data;
5676
+ req: PayeeProfileAdminControllerDeleteData;
4964
5677
  res: {
5678
+ /**
5679
+ * Payee profile deleted successfully
5680
+ */
4965
5681
  204: void;
5682
+ /**
5683
+ * Admin access required
5684
+ */
5685
+ 403: ApiProblemResponseDto;
5686
+ /**
5687
+ * Payee profile not found
5688
+ */
5689
+ 404: ApiProblemResponseDto;
5690
+ /**
5691
+ * Payee profile is in use and cannot be deleted
5692
+ */
5693
+ 409: ApiProblemResponseDto;
4966
5694
  };
4967
5695
  };
4968
5696
  };
4969
5697
  '/api/v1/admin/payee-profiles/{id}/verify': {
4970
5698
  post: {
4971
- req: PayeeProfileAdminController3Data;
5699
+ req: PayeeProfileAdminControllerVerifyData;
4972
5700
  res: {
4973
- 201: unknown;
5701
+ /**
5702
+ * Payee profile verified successfully
5703
+ */
5704
+ 201: PayeeProfileResponseDto;
5705
+ /**
5706
+ * Admin access required
5707
+ */
5708
+ 403: ApiProblemResponseDto;
5709
+ /**
5710
+ * Payee profile not found
5711
+ */
5712
+ 404: ApiProblemResponseDto;
4974
5713
  };
4975
5714
  };
4976
5715
  delete: {
4977
- req: PayeeProfileAdminController4Data;
5716
+ req: PayeeProfileAdminControllerUnverifyData;
4978
5717
  res: {
4979
- 200: unknown;
5718
+ /**
5719
+ * Payee profile unverified successfully
5720
+ */
5721
+ 200: PayeeProfileResponseDto;
5722
+ /**
5723
+ * Admin access required
5724
+ */
5725
+ 403: ApiProblemResponseDto;
5726
+ /**
5727
+ * Payee profile not found
5728
+ */
5729
+ 404: ApiProblemResponseDto;
4980
5730
  };
4981
5731
  };
4982
5732
  };
4983
5733
  '/api/v1/{region}/bean/commodities': {
4984
5734
  post: {
4985
- req: CommodityControllerData;
5735
+ req: CommodityControllerCreateData;
4986
5736
  res: {
4987
- 201: unknown;
5737
+ /**
5738
+ * Commodity created successfully
5739
+ */
5740
+ 201: CommodityResponseDto;
5741
+ /**
5742
+ * Invalid input data
5743
+ */
5744
+ 400: ApiProblemResponseDto;
5745
+ /**
5746
+ * Commodity already exists
5747
+ */
5748
+ 409: ApiProblemResponseDto;
4988
5749
  };
4989
5750
  };
4990
5751
  get: {
@@ -5012,39 +5773,74 @@ type $OpenApiTs = {
5012
5773
  };
5013
5774
  };
5014
5775
  put: {
5015
- req: CommodityController1Data;
5776
+ req: CommodityControllerUpdateData;
5016
5777
  res: {
5017
- 200: unknown;
5778
+ /**
5779
+ * Commodity updated successfully
5780
+ */
5781
+ 200: CommodityResponseDto;
5782
+ /**
5783
+ * Invalid input data
5784
+ */
5785
+ 400: ApiProblemResponseDto;
5786
+ /**
5787
+ * Commodity not found
5788
+ */
5789
+ 404: ApiProblemResponseDto;
5018
5790
  };
5019
5791
  };
5020
5792
  delete: {
5021
- req: CommodityController2Data;
5793
+ req: CommodityControllerDeleteData;
5022
5794
  res: {
5795
+ /**
5796
+ * Commodity deleted successfully
5797
+ */
5023
5798
  204: void;
5799
+ /**
5800
+ * Commodity not found
5801
+ */
5802
+ 404: ApiProblemResponseDto;
5024
5803
  };
5025
5804
  };
5026
5805
  };
5027
5806
  '/api/v1/{region}/bean/commodities/{symbol}/ensure': {
5028
5807
  post: {
5029
- req: CommodityController3Data;
5808
+ req: CommodityControllerGetOrCreateData;
5030
5809
  res: {
5031
- 201: unknown;
5810
+ /**
5811
+ * Commodity retrieved or created
5812
+ */
5813
+ 200: CommodityResponseDto;
5032
5814
  };
5033
5815
  };
5034
5816
  };
5035
5817
  '/api/v1/{region}/bean/commodities/bulk': {
5036
5818
  post: {
5037
- req: CommodityController4Data;
5819
+ req: CommodityControllerBulkCreateData;
5038
5820
  res: {
5039
- 201: unknown;
5821
+ /**
5822
+ * Commodities created successfully
5823
+ */
5824
+ 201: Array<CommodityResponseDto>;
5040
5825
  };
5041
5826
  };
5042
5827
  };
5043
5828
  '/api/v1/{region}/bean/recurring-rules': {
5044
5829
  post: {
5045
- req: RecurringRuleControllerData;
5830
+ req: RecurringRuleControllerCreateData;
5046
5831
  res: {
5047
- 201: unknown;
5832
+ /**
5833
+ * Rule created successfully
5834
+ */
5835
+ 201: RecurringRuleResponseDto;
5836
+ /**
5837
+ * Invalid input data (e.g., autoCreate without accounts)
5838
+ */
5839
+ 400: unknown;
5840
+ /**
5841
+ * Rule with same name already exists
5842
+ */
5843
+ 409: unknown;
5048
5844
  };
5049
5845
  };
5050
5846
  get: {
@@ -5059,9 +5855,20 @@ type $OpenApiTs = {
5059
5855
  };
5060
5856
  '/api/v1/{region}/bean/recurring-rules/from-transaction/{transactionId}': {
5061
5857
  post: {
5062
- req: RecurringRuleController1Data;
5858
+ req: RecurringRuleControllerCreateFromTransactionData;
5063
5859
  res: {
5064
- 201: unknown;
5860
+ /**
5861
+ * Rule created successfully
5862
+ */
5863
+ 201: RecurringRuleResponseDto;
5864
+ /**
5865
+ * Transaction not found
5866
+ */
5867
+ 404: ApiProblemResponseDto;
5868
+ /**
5869
+ * Rule with same name already exists or transaction already linked
5870
+ */
5871
+ 409: ApiProblemResponseDto;
5065
5872
  };
5066
5873
  };
5067
5874
  };
@@ -5080,15 +5887,33 @@ type $OpenApiTs = {
5080
5887
  };
5081
5888
  };
5082
5889
  patch: {
5083
- req: RecurringRuleController2Data;
5890
+ req: RecurringRuleControllerUpdateData;
5084
5891
  res: {
5085
- 200: unknown;
5892
+ /**
5893
+ * Rule updated successfully
5894
+ */
5895
+ 200: RecurringRuleResponseDto;
5896
+ /**
5897
+ * Invalid input data
5898
+ */
5899
+ 400: unknown;
5900
+ /**
5901
+ * Rule not found
5902
+ */
5903
+ 404: unknown;
5086
5904
  };
5087
5905
  };
5088
5906
  delete: {
5089
- req: RecurringRuleController3Data;
5907
+ req: RecurringRuleControllerDeleteData;
5090
5908
  res: {
5909
+ /**
5910
+ * Rule deleted successfully
5911
+ */
5091
5912
  204: void;
5913
+ /**
5914
+ * Rule not found
5915
+ */
5916
+ 404: unknown;
5092
5917
  };
5093
5918
  };
5094
5919
  };
@@ -5143,40 +5968,99 @@ type $OpenApiTs = {
5143
5968
  404: unknown;
5144
5969
  };
5145
5970
  };
5146
- };
5147
- '/api/v1/{region}/bean/expected-transactions/{id}/skip': {
5148
- post: {
5149
- req: ExpectedTransactionControllerData;
5150
- res: {
5151
- 200: unknown;
5152
- };
5153
- };
5971
+ };
5972
+ '/api/v1/{region}/bean/expected-transactions/{id}/skip': {
5973
+ post: {
5974
+ req: ExpectedTransactionControllerSkipData;
5975
+ res: {
5976
+ /**
5977
+ * Expected transaction skipped successfully
5978
+ */
5979
+ 200: ExpectedTransactionResponseDto;
5980
+ /**
5981
+ * Cannot skip - not in PENDING status
5982
+ */
5983
+ 400: unknown;
5984
+ /**
5985
+ * Expected transaction not found
5986
+ */
5987
+ 404: unknown;
5988
+ };
5989
+ };
5154
5990
  delete: {
5155
- req: ExpectedTransactionController1Data;
5991
+ req: ExpectedTransactionControllerUndoSkipData;
5156
5992
  res: {
5157
- 200: unknown;
5993
+ /**
5994
+ * Skip undone successfully
5995
+ */
5996
+ 200: ExpectedTransactionResponseDto;
5997
+ /**
5998
+ * Cannot undo - not in SKIPPED status
5999
+ */
6000
+ 400: unknown;
6001
+ /**
6002
+ * Expected transaction not found
6003
+ */
6004
+ 404: unknown;
5158
6005
  };
5159
6006
  };
5160
6007
  };
5161
6008
  '/api/v1/{region}/bean/expected-transactions/{id}/match': {
5162
6009
  post: {
5163
- req: ExpectedTransactionController2Data;
6010
+ req: ExpectedTransactionControllerConfirmMatchData;
5164
6011
  res: {
6012
+ /**
6013
+ * Match confirmed successfully
6014
+ */
5165
6015
  200: unknown;
6016
+ /**
6017
+ * Cannot match - not in PENDING status
6018
+ */
6019
+ 400: unknown;
6020
+ /**
6021
+ * Expected or actual transaction not found
6022
+ */
6023
+ 404: unknown;
6024
+ /**
6025
+ * Actual transaction already matched to another rule
6026
+ */
6027
+ 409: unknown;
5166
6028
  };
5167
6029
  };
5168
6030
  delete: {
5169
- req: ExpectedTransactionController3Data;
6031
+ req: ExpectedTransactionControllerUnmatchData;
5170
6032
  res: {
6033
+ /**
6034
+ * Match removed successfully
6035
+ */
5171
6036
  200: unknown;
6037
+ /**
6038
+ * Cannot unmatch - not in COMPLETED status
6039
+ */
6040
+ 400: unknown;
6041
+ /**
6042
+ * Expected transaction not found
6043
+ */
6044
+ 404: unknown;
5172
6045
  };
5173
6046
  };
5174
6047
  };
5175
6048
  '/api/v1/{region}/bean/expected-transactions/{id}/enter': {
5176
6049
  post: {
5177
- req: ExpectedTransactionController4Data;
6050
+ req: ExpectedTransactionControllerEnterNowData;
5178
6051
  res: {
6052
+ /**
6053
+ * Transaction created successfully
6054
+ */
5179
6055
  201: unknown;
6056
+ /**
6057
+ * Cannot enter - not in PENDING status or missing accounts
6058
+ */
6059
+ 400: unknown;
6060
+ /**
6061
+ * Expected transaction or accounts not found
6062
+ */
6063
+ 404: unknown;
5180
6064
  };
5181
6065
  };
5182
6066
  };
@@ -5193,9 +6077,24 @@ type $OpenApiTs = {
5193
6077
  };
5194
6078
  '/api/v1/{region}/bean/transaction-rules': {
5195
6079
  post: {
5196
- req: TransactionRuleControllerData;
6080
+ req: TransactionRuleControllerCreateData;
5197
6081
  res: {
5198
- 201: unknown;
6082
+ /**
6083
+ * Rule updated successfully (upsert mode)
6084
+ */
6085
+ 200: TransactionRuleResponseDto;
6086
+ /**
6087
+ * Validation failed
6088
+ */
6089
+ 400: ApiProblemResponseDto;
6090
+ /**
6091
+ * Unauthorized
6092
+ */
6093
+ 401: ApiProblemResponseDto;
6094
+ /**
6095
+ * Resource conflict - another process is updating this rule
6096
+ */
6097
+ 409: ApiProblemResponseDto;
5199
6098
  };
5200
6099
  };
5201
6100
  get: {
@@ -5220,6 +6119,10 @@ type $OpenApiTs = {
5220
6119
  * Validation result
5221
6120
  */
5222
6121
  200: ValidateRuleResponseDto;
6122
+ /**
6123
+ * Validation failed
6124
+ */
6125
+ 400: ApiProblemResponseDto;
5223
6126
  /**
5224
6127
  * Unauthorized
5225
6128
  */
@@ -5229,9 +6132,20 @@ type $OpenApiTs = {
5229
6132
  };
5230
6133
  '/api/v1/{region}/bean/transaction-rules/bulk': {
5231
6134
  post: {
5232
- req: TransactionRuleController1Data;
6135
+ req: TransactionRuleControllerBulkCreateData;
5233
6136
  res: {
5234
- 201: unknown;
6137
+ /**
6138
+ * Bulk create completed
6139
+ */
6140
+ 201: BulkCreateRulesResponseDto;
6141
+ /**
6142
+ * Invalid bulk create data
6143
+ */
6144
+ 400: ApiProblemResponseDto;
6145
+ /**
6146
+ * Unauthorized
6147
+ */
6148
+ 401: ApiProblemResponseDto;
5235
6149
  };
5236
6150
  };
5237
6151
  };
@@ -5292,15 +6206,57 @@ type $OpenApiTs = {
5292
6206
  };
5293
6207
  };
5294
6208
  put: {
5295
- req: TransactionRuleController2Data;
6209
+ req: TransactionRuleControllerUpdateData;
5296
6210
  res: {
5297
- 200: unknown;
6211
+ /**
6212
+ * Rule updated successfully
6213
+ */
6214
+ 200: TransactionRuleResponseDto;
6215
+ /**
6216
+ * Validation failed
6217
+ */
6218
+ 400: ApiProblemResponseDto;
6219
+ /**
6220
+ * Unauthorized
6221
+ */
6222
+ 401: ApiProblemResponseDto;
6223
+ /**
6224
+ * Forbidden - not owner of rule
6225
+ */
6226
+ 403: ApiProblemResponseDto;
6227
+ /**
6228
+ * Rule not found
6229
+ */
6230
+ 404: ApiProblemResponseDto;
6231
+ /**
6232
+ * Resource conflict - rule is being modified by another process
6233
+ */
6234
+ 409: ApiProblemResponseDto;
5298
6235
  };
5299
6236
  };
5300
6237
  delete: {
5301
- req: TransactionRuleController3Data;
6238
+ req: TransactionRuleControllerDeleteData;
5302
6239
  res: {
6240
+ /**
6241
+ * Rule deleted successfully
6242
+ */
5303
6243
  204: void;
6244
+ /**
6245
+ * Unauthorized
6246
+ */
6247
+ 401: ApiProblemResponseDto;
6248
+ /**
6249
+ * Forbidden - not owner of rule
6250
+ */
6251
+ 403: ApiProblemResponseDto;
6252
+ /**
6253
+ * Rule not found
6254
+ */
6255
+ 404: ApiProblemResponseDto;
6256
+ /**
6257
+ * Resource conflict - rule is being modified by another process
6258
+ */
6259
+ 409: ApiProblemResponseDto;
5304
6260
  };
5305
6261
  };
5306
6262
  };
@@ -5426,7 +6382,6 @@ type $OpenApiTs = {
5426
6382
  };
5427
6383
  '/api/v1/users/asset-liability-summary': {
5428
6384
  get: {
5429
- req: UserControllerGetAssetLiabilitySummaryData;
5430
6385
  res: {
5431
6386
  /**
5432
6387
  * Summary retrieved successfully
@@ -5437,7 +6392,6 @@ type $OpenApiTs = {
5437
6392
  };
5438
6393
  '/api/v1/admin/properties': {
5439
6394
  get: {
5440
- req: PropertyControllerGetAllData;
5441
6395
  res: {
5442
6396
  /**
5443
6397
  * Properties retrieved successfully
@@ -5477,15 +6431,48 @@ type $OpenApiTs = {
5477
6431
  };
5478
6432
  };
5479
6433
  put: {
5480
- req: PropertyControllerData;
6434
+ req: PropertyControllerUpdateData;
5481
6435
  res: {
6436
+ /**
6437
+ * Property updated successfully
6438
+ */
5482
6439
  200: unknown;
6440
+ /**
6441
+ * Unauthorized
6442
+ */
6443
+ 401: unknown;
6444
+ /**
6445
+ * Forbidden - insufficient permissions
6446
+ */
6447
+ 403: unknown;
5483
6448
  };
5484
6449
  };
5485
6450
  delete: {
5486
- req: PropertyController1Data;
6451
+ req: PropertyControllerDeleteData;
5487
6452
  res: {
6453
+ /**
6454
+ * Property deleted successfully
6455
+ */
5488
6456
  204: void;
6457
+ /**
6458
+ * Unauthorized
6459
+ */
6460
+ 401: unknown;
6461
+ /**
6462
+ * Forbidden - insufficient permissions
6463
+ */
6464
+ 403: unknown;
6465
+ /**
6466
+ * Property not found
6467
+ */
6468
+ 404: unknown;
6469
+ };
6470
+ };
6471
+ };
6472
+ '/api/v1/{region}/bean/export/beancount': {
6473
+ get: {
6474
+ res: {
6475
+ 200: unknown;
5489
6476
  };
5490
6477
  };
5491
6478
  };
@@ -5558,6 +6545,29 @@ type $OpenApiTs = {
5558
6545
  };
5559
6546
  };
5560
6547
  };
6548
+ '/api/v1/{region}/bean/import/beancount': {
6549
+ post: {
6550
+ req: FileImportControllerImportBeancountData;
6551
+ res: {
6552
+ /**
6553
+ * Beancount file imported successfully
6554
+ */
6555
+ 200: {
6556
+ imported?: number;
6557
+ skipped?: number;
6558
+ failed?: number;
6559
+ accountsCreated?: number;
6560
+ errors?: Array<{
6561
+ [key: string]: unknown;
6562
+ }>;
6563
+ };
6564
+ /**
6565
+ * Bad request - invalid file or no file uploaded
6566
+ */
6567
+ 400: ApiProblemResponseDto;
6568
+ };
6569
+ };
6570
+ };
5561
6571
  '/api/v1/{region}/bean/import/config/{importerId}': {
5562
6572
  get: {
5563
6573
  req: ImporterConfigControllerGetConfigData;
@@ -5577,228 +6587,222 @@ type $OpenApiTs = {
5577
6587
  };
5578
6588
  };
5579
6589
  put: {
5580
- req: ImporterConfigControllerData;
6590
+ req: ImporterConfigControllerUpdateConfigData;
5581
6591
  res: {
5582
- 200: unknown;
6592
+ /**
6593
+ * Configuration updated successfully
6594
+ */
6595
+ 200: ImporterConfigDto;
6596
+ /**
6597
+ * Invalid input - Validation failed
6598
+ */
6599
+ 400: ApiProblemResponseDto;
6600
+ /**
6601
+ * Configuration not found
6602
+ */
6603
+ 404: ApiProblemResponseDto;
5583
6604
  };
5584
6605
  };
5585
6606
  };
5586
6607
  '/api/v1/{region}/bean/import/config/{importerId}/reset': {
5587
6608
  post: {
5588
- req: ImporterConfigController1Data;
6609
+ req: ImporterConfigControllerResetConfigData;
5589
6610
  res: {
5590
- 201: unknown;
6611
+ /**
6612
+ * Configuration reset successfully
6613
+ */
6614
+ 200: ImporterConfigDto;
6615
+ /**
6616
+ * Invalid input - Unsupported importer
6617
+ */
6618
+ 400: ApiProblemResponseDto;
5591
6619
  };
5592
6620
  };
5593
6621
  };
5594
- '/api/v1/{region}/bean/import/provider/{providerName}/sync': {
5595
- post: {
5596
- req: ProviderSyncControllerSyncData;
6622
+ '/api/v1/bean/platforms': {
6623
+ get: {
5597
6624
  res: {
5598
6625
  /**
5599
- * Sync completed successfully
5600
- */
5601
- 200: ProviderSyncResponseDto;
5602
- /**
5603
- * Invalid request data
6626
+ * List of platforms with binding and account counts
5604
6627
  */
5605
- 400: unknown;
6628
+ 200: unknown;
6629
+ };
6630
+ };
6631
+ post: {
6632
+ req: PlatformControllerCreateData;
6633
+ res: {
5606
6634
  /**
5607
- * Missing or invalid authentication
6635
+ * Platform created successfully
5608
6636
  */
5609
- 401: unknown;
6637
+ 201: unknown;
5610
6638
  /**
5611
- * Provider not supported
6639
+ * Platform already exists
5612
6640
  */
5613
- 404: unknown;
6641
+ 409: unknown;
5614
6642
  };
5615
6643
  };
5616
6644
  };
5617
- '/api/v1/{region}/bean/import/provider/supported': {
6645
+ '/api/v1/bean/platforms/list': {
5618
6646
  get: {
5619
- req: ProviderSyncControllerGetSupportedProvidersData;
5620
6647
  res: {
5621
6648
  /**
5622
- * List of supported providers
5623
- */
5624
- 200: SupportedProvidersResponseDto;
5625
- /**
5626
- * Missing or invalid authentication
6649
+ * List of platforms with user binding status
5627
6650
  */
5628
- 401: unknown;
6651
+ 200: unknown;
5629
6652
  };
5630
6653
  };
5631
6654
  };
5632
- '/api/v1/{region}/bean/import/provider/{providerName}/supported': {
6655
+ '/api/v1/bean/platforms/match': {
5633
6656
  get: {
5634
- req: ProviderSyncControllerIsProviderSupportedData;
6657
+ req: PlatformControllerMatchPlatformsData;
5635
6658
  res: {
5636
6659
  /**
5637
- * Provider support status
6660
+ * List of matching platforms with suggested segment names
5638
6661
  */
5639
6662
  200: unknown;
5640
- /**
5641
- * Missing or invalid authentication
5642
- */
5643
- 401: unknown;
5644
6663
  };
5645
6664
  };
5646
6665
  };
5647
- '/api/v1/{region}/bean/nlp/process': {
5648
- post: {
5649
- req: NlpControllerProcessNaturalLanguageData;
6666
+ '/api/v1/bean/platforms/{id}': {
6667
+ put: {
6668
+ req: PlatformControllerUpdateData;
5650
6669
  res: {
5651
6670
  /**
5652
- * NLP processing result - either created transaction or asking for more info
5653
- */
5654
- 200: NlpResponseDto;
5655
- /**
5656
- * Invalid input
6671
+ * Platform updated successfully
5657
6672
  */
5658
- 400: unknown;
6673
+ 200: unknown;
5659
6674
  /**
5660
- * Unauthorized
6675
+ * Platform not found
5661
6676
  */
5662
- 401: unknown;
6677
+ 404: unknown;
5663
6678
  };
5664
6679
  };
5665
- };
5666
- '/api/v1/{region}/bean/nlp/session': {
5667
6680
  delete: {
5668
- req: NlpControllerClearSessionData;
6681
+ req: PlatformControllerDeleteData;
5669
6682
  res: {
5670
6683
  /**
5671
- * Session cleared successfully
6684
+ * Platform deleted successfully
5672
6685
  */
5673
6686
  204: void;
5674
6687
  /**
5675
- * Unauthorized
6688
+ * Platform not found
5676
6689
  */
5677
- 401: unknown;
6690
+ 404: unknown;
5678
6691
  };
5679
6692
  };
5680
- get: {
5681
- req: NlpControllerGetSessionData;
6693
+ };
6694
+ '/api/v1/{region}/bean/import/provider/{providerName}/sync': {
6695
+ post: {
6696
+ req: ProviderSyncControllerSyncData;
5682
6697
  res: {
5683
6698
  /**
5684
- * Current session state (or null if no active session)
6699
+ * Sync completed successfully
5685
6700
  */
5686
- 200: unknown;
6701
+ 200: ProviderSyncResponseDto;
5687
6702
  /**
5688
- * Unauthorized
6703
+ * Invalid request data
6704
+ */
6705
+ 400: unknown;
6706
+ /**
6707
+ * Missing or invalid authentication
5689
6708
  */
5690
6709
  401: unknown;
6710
+ /**
6711
+ * Provider not supported
6712
+ */
6713
+ 404: unknown;
5691
6714
  };
5692
6715
  };
5693
6716
  };
5694
- '/api/v1/bean/platforms': {
6717
+ '/api/v1/{region}/bean/import/provider/supported': {
5695
6718
  get: {
5696
- req: PlatformControllerFindAllData;
6719
+ req: ProviderSyncControllerGetSupportedProvidersData;
5697
6720
  res: {
5698
6721
  /**
5699
- * List of platforms with binding and account counts
6722
+ * List of supported providers
5700
6723
  */
5701
- 200: unknown;
5702
- };
5703
- };
5704
- post: {
5705
- req: PlatformControllerData;
5706
- res: {
5707
- 201: unknown;
6724
+ 200: SupportedProvidersResponseDto;
6725
+ /**
6726
+ * Missing or invalid authentication
6727
+ */
6728
+ 401: unknown;
5708
6729
  };
5709
6730
  };
5710
6731
  };
5711
- '/api/v1/bean/platforms/list': {
6732
+ '/api/v1/{region}/bean/import/provider/{providerName}/supported': {
5712
6733
  get: {
5713
- req: PlatformControllerGetPlatformListData;
6734
+ req: ProviderSyncControllerIsProviderSupportedData;
5714
6735
  res: {
5715
6736
  /**
5716
- * List of platforms with user binding status
6737
+ * Provider support status
5717
6738
  */
5718
6739
  200: unknown;
6740
+ /**
6741
+ * Missing or invalid authentication
6742
+ */
6743
+ 401: unknown;
5719
6744
  };
5720
6745
  };
5721
6746
  };
5722
- '/api/v1/bean/platforms/{id}': {
5723
- put: {
5724
- req: PlatformController1Data;
5725
- res: {
5726
- 200: unknown;
5727
- };
5728
- };
5729
- delete: {
5730
- req: PlatformController2Data;
5731
- res: {
5732
- 204: void;
5733
- };
5734
- };
5735
- };
5736
- '/api/v1/market/symbols/lookup': {
5737
- get: {
5738
- req: SymbolControllerLookupSymbolData;
6747
+ '/api/v1/{region}/bean/import/parser-telemetry': {
6748
+ post: {
6749
+ req: TelemetryControllerReportTelemetryData;
5739
6750
  res: {
5740
6751
  /**
5741
- * Symbols found successfully
6752
+ * Telemetry report received
5742
6753
  */
5743
6754
  200: unknown;
5744
6755
  /**
5745
- * Invalid query parameters
6756
+ * Unauthorized
5746
6757
  */
5747
- 400: unknown;
6758
+ 401: unknown;
5748
6759
  };
5749
6760
  };
5750
6761
  };
5751
- '/api/v1/market/symbols/{dataSource}/{symbol}': {
5752
- get: {
5753
- req: SymbolControllerGetSymbolDataData;
6762
+ '/api/v1/{region}/bean/nlp/process': {
6763
+ post: {
6764
+ req: NlpControllerProcessNaturalLanguageData;
5754
6765
  res: {
5755
6766
  /**
5756
- * Symbol data retrieved successfully
6767
+ * NLP processing result - either created transaction or asking for more info
5757
6768
  */
5758
- 200: unknown;
6769
+ 200: NlpResponseDto;
5759
6770
  /**
5760
- * Invalid data source
6771
+ * Invalid input
5761
6772
  */
5762
6773
  400: unknown;
5763
6774
  /**
5764
- * Symbol not found
6775
+ * Unauthorized
5765
6776
  */
5766
- 404: unknown;
6777
+ 401: unknown;
5767
6778
  };
5768
6779
  };
5769
6780
  };
5770
- '/api/v1/market/symbols/{dataSource}/{symbol}/{dateString}': {
5771
- get: {
5772
- req: SymbolControllerGatherSymbolForDateData;
6781
+ '/api/v1/{region}/bean/nlp/session': {
6782
+ delete: {
6783
+ req: NlpControllerClearSessionData;
5773
6784
  res: {
5774
6785
  /**
5775
- * Historical data retrieved successfully
5776
- */
5777
- 200: unknown;
5778
- /**
5779
- * Invalid date format
6786
+ * Session cleared successfully
5780
6787
  */
5781
- 400: unknown;
6788
+ 204: void;
5782
6789
  /**
5783
- * Symbol data not found for specified date
6790
+ * Unauthorized
5784
6791
  */
5785
- 404: unknown;
6792
+ 401: unknown;
5786
6793
  };
5787
6794
  };
5788
- };
5789
- '/api/v1/market/symbols/yahoo/batch-update': {
5790
- put: {
5791
- req: SymbolControllerData;
6795
+ get: {
6796
+ req: NlpControllerGetSessionData;
5792
6797
  res: {
6798
+ /**
6799
+ * Current session state (or null if no active session)
6800
+ */
5793
6801
  200: unknown;
5794
- };
5795
- };
5796
- };
5797
- '/api/v1/cache/flush': {
5798
- post: {
5799
- req: CacheControllerFlushCacheData;
5800
- res: {
5801
- 201: unknown;
6802
+ /**
6803
+ * Unauthorized
6804
+ */
6805
+ 401: unknown;
5802
6806
  };
5803
6807
  };
5804
6808
  };
@@ -5910,9 +6914,15 @@ type $OpenApiTs = {
5910
6914
  };
5911
6915
  '/api/v1/auth/api-keys': {
5912
6916
  post: {
5913
- req: ApiKeysControllerData;
5914
6917
  res: {
6918
+ /**
6919
+ * API key created successfully
6920
+ */
5915
6921
  201: unknown;
6922
+ /**
6923
+ * Insufficient permissions to create API key
6924
+ */
6925
+ 403: unknown;
5916
6926
  };
5917
6927
  };
5918
6928
  };
@@ -5931,6 +6941,13 @@ type $OpenApiTs = {
5931
6941
  };
5932
6942
  };
5933
6943
  };
6944
+ '/api/v1/cache/flush': {
6945
+ post: {
6946
+ res: {
6947
+ 201: unknown;
6948
+ };
6949
+ };
6950
+ };
5934
6951
  '/api/v1/market/exchange-rates/{symbol}/{dateString}': {
5935
6952
  get: {
5936
6953
  req: ExchangeRateControllerGetExchangeRateData;
@@ -5948,7 +6965,6 @@ type $OpenApiTs = {
5948
6965
  };
5949
6966
  '/api/v1/health': {
5950
6967
  get: {
5951
- req: HealthControllerGetHealthData;
5952
6968
  res: {
5953
6969
  /**
5954
6970
  * Service is healthy
@@ -5963,7 +6979,6 @@ type $OpenApiTs = {
5963
6979
  };
5964
6980
  '/api/v1/health/database': {
5965
6981
  get: {
5966
- req: HealthControllerCheckDatabaseData;
5967
6982
  res: {
5968
6983
  /**
5969
6984
  * Database is healthy
@@ -5976,9 +6991,22 @@ type $OpenApiTs = {
5976
6991
  };
5977
6992
  };
5978
6993
  };
6994
+ '/api/v1/health/openbb': {
6995
+ get: {
6996
+ res: {
6997
+ /**
6998
+ * OpenBB status
6999
+ */
7000
+ 200: unknown;
7001
+ /**
7002
+ * OpenBB unavailable
7003
+ */
7004
+ 503: unknown;
7005
+ };
7006
+ };
7007
+ };
5979
7008
  '/api/v1/health/redis': {
5980
7009
  get: {
5981
- req: HealthControllerCheckRedisData;
5982
7010
  res: {
5983
7011
  /**
5984
7012
  * Redis is healthy
@@ -5993,7 +7021,6 @@ type $OpenApiTs = {
5993
7021
  };
5994
7022
  '/api/v1/health/circuit-breakers': {
5995
7023
  get: {
5996
- req: HealthControllerGetCircuitBreakersHealthData;
5997
7024
  res: {
5998
7025
  /**
5999
7026
  * Circuit breaker status
@@ -6031,7 +7058,6 @@ type $OpenApiTs = {
6031
7058
  };
6032
7059
  '/api/v1/health/metrics': {
6033
7060
  get: {
6034
- req: HealthControllerGetMetricsData;
6035
7061
  res: {
6036
7062
  /**
6037
7063
  * Health metrics
@@ -6044,70 +7070,8 @@ type $OpenApiTs = {
6044
7070
  };
6045
7071
  };
6046
7072
  };
6047
- '/api/v1/health/data-enhancer/{name}': {
6048
- get: {
6049
- req: HealthControllerGetHealthOfDataEnhancerData;
6050
- res: {
6051
- /**
6052
- * Data enhancer is healthy
6053
- */
6054
- 200: unknown;
6055
- /**
6056
- * Unauthorized
6057
- */
6058
- 401: unknown;
6059
- /**
6060
- * Data enhancer unavailable
6061
- */
6062
- 503: unknown;
6063
- };
6064
- };
6065
- };
6066
- '/api/v1/health/data-providers': {
6067
- get: {
6068
- req: HealthControllerCheckDataProvidersData;
6069
- res: {
6070
- /**
6071
- * Data providers health status
6072
- */
6073
- 200: unknown;
6074
- /**
6075
- * Unauthorized
6076
- */
6077
- 401: unknown;
6078
- /**
6079
- * Data providers check failed
6080
- */
6081
- 503: unknown;
6082
- };
6083
- };
6084
- };
6085
- '/api/v1/health/data-provider/{dataSource}': {
6086
- get: {
6087
- req: HealthControllerGetHealthOfDataProviderData;
6088
- res: {
6089
- /**
6090
- * Data provider is healthy
6091
- */
6092
- 200: unknown;
6093
- /**
6094
- * Invalid data source
6095
- */
6096
- 400: unknown;
6097
- /**
6098
- * Unauthorized
6099
- */
6100
- 401: unknown;
6101
- /**
6102
- * Data provider unavailable
6103
- */
6104
- 503: unknown;
6105
- };
6106
- };
6107
- };
6108
7073
  '/api/v1/system/info': {
6109
7074
  get: {
6110
- req: InfoControllerGetInfoData;
6111
7075
  res: {
6112
7076
  /**
6113
7077
  * System information retrieved successfully
@@ -6116,73 +7080,6 @@ type $OpenApiTs = {
6116
7080
  };
6117
7081
  };
6118
7082
  };
6119
- '/api/v1/market/logos/{dataSource}/{symbol}': {
6120
- get: {
6121
- req: LogoControllerGetLogoByDataSourceAndSymbolData;
6122
- res: {
6123
- /**
6124
- * Logo image stream (favicon)
6125
- */
6126
- 200: unknown;
6127
- /**
6128
- * Unauthorized
6129
- */
6130
- 401: unknown;
6131
- /**
6132
- * Logo not found for the specified asset
6133
- */
6134
- 404: unknown;
6135
- /**
6136
- * Service unavailable
6137
- */
6138
- 503: unknown;
6139
- };
6140
- };
6141
- };
6142
- '/api/v1/market/logos': {
6143
- get: {
6144
- req: LogoControllerGetLogoByUrlData;
6145
- res: {
6146
- /**
6147
- * Logo image stream (favicon)
6148
- */
6149
- 200: unknown;
6150
- /**
6151
- * Unauthorized
6152
- */
6153
- 401: unknown;
6154
- /**
6155
- * Service unavailable
6156
- */
6157
- 503: unknown;
6158
- };
6159
- };
6160
- };
6161
- '/api/v1/market-data/{dataSource}/{symbol}': {
6162
- get: {
6163
- req: MarketDataControllerGetMarketDataBySymbolData;
6164
- res: {
6165
- /**
6166
- * Market data retrieved successfully
6167
- */
6168
- 200: unknown;
6169
- /**
6170
- * Insufficient permissions to read market data
6171
- */
6172
- 403: unknown;
6173
- /**
6174
- * Market data not found
6175
- */
6176
- 404: unknown;
6177
- };
6178
- };
6179
- post: {
6180
- req: MarketDataControllerData;
6181
- res: {
6182
- 201: unknown;
6183
- };
6184
- };
6185
- };
6186
7083
  };
6187
7084
 
6188
7085
  declare class BeanAccountsService {
@@ -6267,8 +7164,9 @@ declare class BeanAccountsService {
6267
7164
  }
6268
7165
  declare class BeanTransactionsService {
6269
7166
  /**
6270
- * Create transaction
6271
- * Creates a new double-entry transaction. Missing accounts are auto-created by default.
7167
+ * @deprecated
7168
+ * Create transaction (DEPRECATED)
7169
+ * DEPRECATED: Use POST /:region/bean/import/provider/:name/sync instead. This endpoint skips dedup, rule matching, and review branching.
6272
7170
  * @param data The data for the request.
6273
7171
  * @param data.region Region code for tenant context
6274
7172
  * @param data.requestBody Transaction data with postings
@@ -6293,12 +7191,28 @@ declare class BeanTransactionsService {
6293
7191
  */
6294
7192
  static transactionControllerList(data: TransactionControllerListData): CancelablePromise<TransactionControllerListResponse>;
6295
7193
  /**
7194
+ * @deprecated
7195
+ * Batch create transactions (DEPRECATED)
7196
+ * DEPRECATED: Use POST /:region/bean/import/provider/:name/sync instead. This endpoint skips dedup, rule matching, and review branching.
7197
+ * @param data The data for the request.
7198
+ * @param data.region Region code for tenant context
7199
+ * @param data.requestBody
7200
+ * @returns BatchTransactionResponseDto Transactions processed
7201
+ * @throws ApiError
7202
+ */
7203
+ static transactionControllerCreateBatch(data: TransactionControllerCreateBatchData): CancelablePromise<TransactionControllerCreateBatchResponse>;
7204
+ /**
7205
+ * Suggest transaction tags
7206
+ * Returns distinct tags from the user ACTIVE transactions, sorted by usage, for autocomplete. Optional q performs a case-insensitive prefix match.
6296
7207
  * @param data The data for the request.
6297
7208
  * @param data.region Region code for tenant context
6298
- * @returns unknown
7209
+ * @param data.q Prefix match, case-insensitive (max 50 chars)
7210
+ * @param data.sort usage (default) or name
7211
+ * @param data.limit Max suggestions (1-100, default 10)
7212
+ * @returns TagSuggestionsResponseDto Tag suggestions
6299
7213
  * @throws ApiError
6300
7214
  */
6301
- static transactionController(data: TransactionControllerData): CancelablePromise<TransactionControllerResponse>;
7215
+ static transactionControllerSuggestTags(data: TransactionControllerSuggestTagsData): CancelablePromise<TransactionControllerSuggestTagsResponse>;
6302
7216
  /**
6303
7217
  * Get transaction detail
6304
7218
  * Returns transaction details including all postings
@@ -6321,12 +7235,15 @@ declare class BeanTransactionsService {
6321
7235
  */
6322
7236
  static transactionControllerUpdate(data: TransactionControllerUpdateData): CancelablePromise<TransactionControllerUpdateResponse>;
6323
7237
  /**
7238
+ * Void transaction
7239
+ * Soft-deletes a transaction by marking it as VOIDED
6324
7240
  * @param data The data for the request.
7241
+ * @param data.id Transaction ID
6325
7242
  * @param data.region Region code for tenant context
6326
- * @returns void
7243
+ * @returns void Transaction voided successfully
6327
7244
  * @throws ApiError
6328
7245
  */
6329
- static transactionController1(data: TransactionController1Data): CancelablePromise<TransactionController1Response>;
7246
+ static transactionControllerDelete(data: TransactionControllerDeleteData): CancelablePromise<TransactionControllerDeleteResponse>;
6330
7247
  }
6331
7248
  declare class BeanBalancesService {
6332
7249
  /**
@@ -6334,7 +7251,7 @@ declare class BeanBalancesService {
6334
7251
  * Calculate account balance at a specific date for a single currency
6335
7252
  * @param data The data for the request.
6336
7253
  * @param data.account Account name (e.g., "Assets:Bank:Checking")
6337
- * @param data.region Region code (cn, us, de)
7254
+ * @param data.region Region code for tenant context
6338
7255
  * @param data.date Date to calculate balance at (ISO 8601 format)
6339
7256
  * @param data.currency Currency to query (e.g., "USD", "CNY")
6340
7257
  * @returns BalanceResponseDto Balance calculated successfully
@@ -6345,7 +7262,7 @@ declare class BeanBalancesService {
6345
7262
  * Query multi-currency account balance
6346
7263
  * Calculate account balances for all currencies at a specific date
6347
7264
  * @param data The data for the request.
6348
- * @param data.region Region code (cn, us, de)
7265
+ * @param data.region Region code for tenant context
6349
7266
  * @returns MultiCurrencyBalanceResponseDto Balances calculated successfully
6350
7267
  * @throws ApiError
6351
7268
  */
@@ -6353,17 +7270,20 @@ declare class BeanBalancesService {
6353
7270
  }
6354
7271
  declare class BeanCommoditiesService {
6355
7272
  /**
7273
+ * Create a new commodity
7274
+ * Creates a new commodity definition for the authenticated user
6356
7275
  * @param data The data for the request.
6357
- * @param data.region Region code (cn, us, de)
6358
- * @returns unknown
7276
+ * @param data.region Region code for tenant context
7277
+ * @param data.requestBody
7278
+ * @returns CommodityResponseDto Commodity created successfully
6359
7279
  * @throws ApiError
6360
7280
  */
6361
- static commodityController(data: CommodityControllerData): CancelablePromise<CommodityControllerResponse>;
7281
+ static commodityControllerCreate(data: CommodityControllerCreateData): CancelablePromise<CommodityControllerCreateResponse>;
6362
7282
  /**
6363
7283
  * List user commodities
6364
7284
  * Returns all commodity definitions for the authenticated user with optional filtering
6365
7285
  * @param data The data for the request.
6366
- * @param data.region Region code (cn, us, de)
7286
+ * @param data.region Region code for tenant context
6367
7287
  * @param data.search Search term for symbol or metadata fields (partial match). Searches symbol and metadata.name.
6368
7288
  * @param data.symbol Filter by exact symbol match
6369
7289
  * @returns CommodityListResponseDto Commodities retrieved successfully
@@ -6375,39 +7295,51 @@ declare class BeanCommoditiesService {
6375
7295
  * Returns a specific commodity definition by its symbol
6376
7296
  * @param data The data for the request.
6377
7297
  * @param data.symbol Commodity symbol
6378
- * @param data.region Region code (cn, us, de)
7298
+ * @param data.region Region code for tenant context
6379
7299
  * @returns CommodityResponseDto Commodity retrieved successfully
6380
7300
  * @throws ApiError
6381
7301
  */
6382
7302
  static commodityControllerFindOne(data: CommodityControllerFindOneData): CancelablePromise<CommodityControllerFindOneResponse>;
6383
7303
  /**
7304
+ * Update commodity
7305
+ * Updates an existing commodity definition. Symbol cannot be changed.
6384
7306
  * @param data The data for the request.
6385
- * @param data.region Region code (cn, us, de)
6386
- * @returns unknown
7307
+ * @param data.symbol Commodity symbol
7308
+ * @param data.region Region code for tenant context
7309
+ * @param data.requestBody
7310
+ * @returns CommodityResponseDto Commodity updated successfully
6387
7311
  * @throws ApiError
6388
7312
  */
6389
- static commodityController1(data: CommodityController1Data): CancelablePromise<CommodityController1Response>;
7313
+ static commodityControllerUpdate(data: CommodityControllerUpdateData): CancelablePromise<CommodityControllerUpdateResponse>;
6390
7314
  /**
7315
+ * Delete commodity
7316
+ * Deletes a commodity definition
6391
7317
  * @param data The data for the request.
6392
- * @param data.region Region code (cn, us, de)
6393
- * @returns void
7318
+ * @param data.symbol Commodity symbol
7319
+ * @param data.region Region code for tenant context
7320
+ * @returns void Commodity deleted successfully
6394
7321
  * @throws ApiError
6395
7322
  */
6396
- static commodityController2(data: CommodityController2Data): CancelablePromise<CommodityController2Response>;
7323
+ static commodityControllerDelete(data: CommodityControllerDeleteData): CancelablePromise<CommodityControllerDeleteResponse>;
6397
7324
  /**
7325
+ * Ensure commodity exists
7326
+ * Gets existing commodity or creates it with automatic initialization from OpenBB
6398
7327
  * @param data The data for the request.
6399
- * @param data.region Region code (cn, us, de)
6400
- * @returns unknown
7328
+ * @param data.symbol Commodity symbol
7329
+ * @param data.region Region code for tenant context
7330
+ * @returns CommodityResponseDto Commodity retrieved or created
6401
7331
  * @throws ApiError
6402
7332
  */
6403
- static commodityController3(data: CommodityController3Data): CancelablePromise<CommodityController3Response>;
7333
+ static commodityControllerGetOrCreate(data: CommodityControllerGetOrCreateData): CancelablePromise<CommodityControllerGetOrCreateResponse>;
6404
7334
  /**
7335
+ * Bulk create commodities
7336
+ * Creates multiple commodities from a list of symbols, useful for initialization
6405
7337
  * @param data The data for the request.
6406
- * @param data.region Region code (cn, us, de)
6407
- * @returns unknown
7338
+ * @param data.region Region code for tenant context
7339
+ * @returns CommodityResponseDto Commodities created successfully
6408
7340
  * @throws ApiError
6409
7341
  */
6410
- static commodityController4(data: CommodityController4Data): CancelablePromise<CommodityController4Response>;
7342
+ static commodityControllerBulkCreate(data: CommodityControllerBulkCreateData): CancelablePromise<CommodityControllerBulkCreateResponse>;
6411
7343
  }
6412
7344
  declare class ProviderSyncService {
6413
7345
  /**
@@ -6423,6 +7355,7 @@ declare class ProviderSyncService {
6423
7355
  * - **simplefin**: SimpleFIN (Self-hosted)
6424
7356
  * - **yodlee**: Yodlee (Global)
6425
7357
  * - **beancount-direct**: Beancount format transactions
7358
+ * - **parsed-bill**: Client-side parsed bill transactions
6426
7359
  *
6427
7360
  * **Processing Flow:**
6428
7361
  * 1. Transform raw data via provider adapter
@@ -6444,7 +7377,7 @@ declare class ProviderSyncService {
6444
7377
  * Get supported providers
6445
7378
  * Returns a list of all providers supported by the sync endpoint.
6446
7379
  * @param data The data for the request.
6447
- * @param data.region Region code (cn, us, de)
7380
+ * @param data.region Region code for tenant context
6448
7381
  * @returns SupportedProvidersResponseDto List of supported providers
6449
7382
  * @throws ApiError
6450
7383
  */
@@ -6454,7 +7387,7 @@ declare class ProviderSyncService {
6454
7387
  * Returns whether a specific provider is supported.
6455
7388
  * @param data The data for the request.
6456
7389
  * @param data.providerName Provider name to check
6457
- * @param data.region Region code (cn, us, de)
7390
+ * @param data.region Region code for tenant context
6458
7391
  * @returns unknown Provider support status
6459
7392
  * @throws ApiError
6460
7393
  */
@@ -6463,79 +7396,48 @@ declare class ProviderSyncService {
6463
7396
  declare class HealthService {
6464
7397
  /**
6465
7398
  * Basic health check for K8s/load balancer probes
6466
- * @param data The data for the request.
6467
- * @param data.region Region code (cn, us, de)
6468
7399
  * @returns unknown Service is healthy
6469
7400
  * @throws ApiError
6470
7401
  */
6471
- static healthControllerGetHealth(data: HealthControllerGetHealthData): CancelablePromise<HealthControllerGetHealthResponse>;
7402
+ static healthControllerGetHealth(): CancelablePromise<HealthControllerGetHealthResponse>;
6472
7403
  /**
6473
7404
  * Check database connection health
6474
- * @param data The data for the request.
6475
- * @param data.region Region code (cn, us, de)
6476
7405
  * @returns unknown Database is healthy
6477
7406
  * @throws ApiError
6478
7407
  */
6479
- static healthControllerCheckDatabase(data: HealthControllerCheckDatabaseData): CancelablePromise<HealthControllerCheckDatabaseResponse>;
7408
+ static healthControllerCheckDatabase(): CancelablePromise<HealthControllerCheckDatabaseResponse>;
7409
+ /**
7410
+ * Check OpenBB schema status
7411
+ * @returns unknown OpenBB status
7412
+ * @throws ApiError
7413
+ */
7414
+ static healthControllerCheckOpenBb(): CancelablePromise<HealthControllerCheckOpenBbResponse>;
6480
7415
  /**
6481
7416
  * Check Redis connection health
6482
- * @param data The data for the request.
6483
- * @param data.region Region code (cn, us, de)
6484
7417
  * @returns unknown Redis is healthy
6485
7418
  * @throws ApiError
6486
7419
  */
6487
- static healthControllerCheckRedis(data: HealthControllerCheckRedisData): CancelablePromise<HealthControllerCheckRedisResponse>;
7420
+ static healthControllerCheckRedis(): CancelablePromise<HealthControllerCheckRedisResponse>;
6488
7421
  /**
6489
7422
  * Get status of all circuit breakers
6490
- * @param data The data for the request.
6491
- * @param data.region Region code (cn, us, de)
6492
7423
  * @returns unknown Circuit breaker status
6493
7424
  * @throws ApiError
6494
7425
  */
6495
- static healthControllerGetCircuitBreakersHealth(data: HealthControllerGetCircuitBreakersHealthData): CancelablePromise<HealthControllerGetCircuitBreakersHealthResponse>;
7426
+ static healthControllerGetCircuitBreakersHealth(): CancelablePromise<HealthControllerGetCircuitBreakersHealthResponse>;
6496
7427
  /**
6497
7428
  * Reset a circuit breaker to CLOSED state
6498
7429
  * @param data The data for the request.
6499
7430
  * @param data.name Circuit breaker name to reset
6500
- * @param data.region Region code (cn, us, de)
6501
7431
  * @returns unknown Circuit breaker reset successfully
6502
7432
  * @throws ApiError
6503
7433
  */
6504
7434
  static healthControllerResetCircuitBreaker(data: HealthControllerResetCircuitBreakerData): CancelablePromise<HealthControllerResetCircuitBreakerResponse>;
6505
7435
  /**
6506
7436
  * Get health check metrics and statistics
6507
- * @param data The data for the request.
6508
- * @param data.region Region code (cn, us, de)
6509
7437
  * @returns unknown Health metrics
6510
7438
  * @throws ApiError
6511
7439
  */
6512
- static healthControllerGetMetrics(data: HealthControllerGetMetricsData): CancelablePromise<HealthControllerGetMetricsResponse>;
6513
- /**
6514
- * Check health of a specific data enhancer
6515
- * @param data The data for the request.
6516
- * @param data.name Data enhancer name
6517
- * @param data.region Region code (cn, us, de)
6518
- * @returns unknown Data enhancer is healthy
6519
- * @throws ApiError
6520
- */
6521
- static healthControllerGetHealthOfDataEnhancer(data: HealthControllerGetHealthOfDataEnhancerData): CancelablePromise<HealthControllerGetHealthOfDataEnhancerResponse>;
6522
- /**
6523
- * Check health of all data providers
6524
- * @param data The data for the request.
6525
- * @param data.region Region code (cn, us, de)
6526
- * @returns unknown Data providers health status
6527
- * @throws ApiError
6528
- */
6529
- static healthControllerCheckDataProviders(data: HealthControllerCheckDataProvidersData): CancelablePromise<HealthControllerCheckDataProvidersResponse>;
6530
- /**
6531
- * Check health of a specific data provider
6532
- * @param data The data for the request.
6533
- * @param data.dataSource Data source identifier
6534
- * @param data.region Region code (cn, us, de)
6535
- * @returns unknown Data provider is healthy
6536
- * @throws ApiError
6537
- */
6538
- static healthControllerGetHealthOfDataProvider(data: HealthControllerGetHealthOfDataProviderData): CancelablePromise<HealthControllerGetHealthOfDataProviderResponse>;
7440
+ static healthControllerGetMetrics(): CancelablePromise<HealthControllerGetMetricsResponse>;
6539
7441
  }
6540
7442
 
6541
7443
  type ApiRequestOptions = {
@@ -6578,4 +7480,4 @@ type OpenAPIConfig = {
6578
7480
  };
6579
7481
  declare const OpenAPI: OpenAPIConfig;
6580
7482
 
6581
- 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 AccountStandardsControllerGetTemplatesData, type AccountStandardsControllerGetTemplatesResponse, type AccountsResponseDto, type AccountsSummaryDto, type AnonymousLoginDto, type ApiKeysControllerData, type ApiKeysControllerResponse, 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, BeanAccountsService, BeanBalancesService, BeanCommoditiesService, BeanTransactionsService, type CacheControllerFlushCacheData, type CacheControllerFlushCacheResponse, type CashFlowByCurrencyDto, type CashFlowResponseDto, type CloseAccountDto, type CommodityController1Data, type CommodityController1Response, type CommodityController2Data, type CommodityController2Response, type CommodityController3Data, type CommodityController3Response, type CommodityController4Data, type CommodityController4Response, type CommodityControllerData, type CommodityControllerFindAllData, type CommodityControllerFindAllResponse, type CommodityControllerFindOneData, type CommodityControllerFindOneResponse, type CommodityControllerResponse, type CommodityListResponseDto, type CommodityResponseDto, type ConvertedCashFlowDto, type ConvertedNetWorthDto, type CreateAccountDto, type CreatePostingDto, type CreateTransactionDto, type CurrencyBalanceDto, type DashboardControllerGetAccountsData, type DashboardControllerGetAccountsResponse, type DashboardControllerGetCashFlowData, type DashboardControllerGetCashFlowResponse, type DashboardControllerGetNetWorthData, type DashboardControllerGetNetWorthResponse, type DecisionOptionDto, type DeleteOwnUserDto, type ExchangeRateControllerGetExchangeRateData, type ExchangeRateControllerGetExchangeRateResponse, type ExchangeRateWarningDto, type ExpectedTransactionController1Data, type ExpectedTransactionController1Response, type ExpectedTransactionController2Data, type ExpectedTransactionController2Response, type ExpectedTransactionController3Data, type ExpectedTransactionController3Response, type ExpectedTransactionController4Data, type ExpectedTransactionController4Response, type ExpectedTransactionControllerData, type ExpectedTransactionControllerFindAllData, type ExpectedTransactionControllerFindAllResponse, type ExpectedTransactionControllerFindOneData, type ExpectedTransactionControllerFindOneResponse, type ExpectedTransactionControllerFindOverdueData, type ExpectedTransactionControllerFindOverdueResponse, type ExpectedTransactionControllerResponse, type ExpectedTransactionListResponseDto, type ExpectedTransactionResponseDto, type ExpectedTransactionRuleDto, type ExportRulesResponseDto, type FileImportControllerIdentifyFileData, type FileImportControllerIdentifyFileResponse, type FileImportControllerImportFileData, type FileImportControllerImportFileResponse, type FileImportDto, type ForecastControllerGetForecastData, type ForecastControllerGetForecastResponse, type ForecastItemDto, type ForecastResponseDto, type GenerateSnapshotBody, type GenerateSnapshotResponse, type HealthControllerCheckDataProvidersData, type HealthControllerCheckDataProvidersResponse, type HealthControllerCheckDatabaseData, type HealthControllerCheckDatabaseResponse, type HealthControllerCheckRedisData, type HealthControllerCheckRedisResponse, type HealthControllerGetCircuitBreakersHealthData, type HealthControllerGetCircuitBreakersHealthResponse, type HealthControllerGetHealthData, type HealthControllerGetHealthOfDataEnhancerData, type HealthControllerGetHealthOfDataEnhancerResponse, type HealthControllerGetHealthOfDataProviderData, type HealthControllerGetHealthOfDataProviderResponse, type HealthControllerGetHealthResponse, type HealthControllerGetMetricsData, type HealthControllerGetMetricsResponse, type HealthControllerResetCircuitBreakerData, type HealthControllerResetCircuitBreakerResponse, HealthService, type IdentifyResultDto, type ImportErrorDto, type ImportResultDto, type ImporterConfigController1Data, type ImporterConfigController1Response, type ImporterConfigControllerData, type ImporterConfigControllerGetConfigData, type ImporterConfigControllerGetConfigResponse, type ImporterConfigControllerResponse, type ImporterConfigDataDto, type ImporterConfigDto, type InfoControllerGetInfoData, type InfoControllerGetInfoResponse, type LogoControllerGetLogoByDataSourceAndSymbolData, type LogoControllerGetLogoByDataSourceAndSymbolResponse, type LogoControllerGetLogoByUrlData, type LogoControllerGetLogoByUrlResponse, type MapperDefaultsDto, type MarketDataControllerData, type MarketDataControllerGetMarketDataBySymbolData, type MarketDataControllerGetMarketDataBySymbolResponse, type MarketDataControllerResponse, 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 PayeeAutocompleteResponseDto, type PayeeController1Data, type PayeeController1Response, type PayeeController2Data, type PayeeController2Response, type PayeeControllerAutocompleteData, type PayeeControllerAutocompleteResponse, type PayeeControllerData, type PayeeControllerFindAllData, type PayeeControllerFindAllResponse, type PayeeControllerFindOneData, type PayeeControllerFindOneResponse, type PayeeControllerGetTopPayeesData, type PayeeControllerGetTopPayeesResponse, type PayeeControllerResponse, type PayeeListResponseDto, type PayeeProfileAdminController1Data, type PayeeProfileAdminController1Response, type PayeeProfileAdminController2Data, type PayeeProfileAdminController2Response, type PayeeProfileAdminController3Data, type PayeeProfileAdminController3Response, type PayeeProfileAdminController4Data, type PayeeProfileAdminController4Response, type PayeeProfileAdminControllerData, type PayeeProfileAdminControllerFindAllData, type PayeeProfileAdminControllerFindAllResponse, type PayeeProfileAdminControllerFindOneData, type PayeeProfileAdminControllerFindOneResponse, type PayeeProfileAdminControllerResponse, type PayeeProfileListResponseDto, type PayeeProfileResponseDto, type PayeeResponseDto, type PayeeStatsResponseDto, type PlatformController1Data, type PlatformController1Response, type PlatformController2Data, type PlatformController2Response, type PlatformControllerData, type PlatformControllerFindAllData, type PlatformControllerFindAllResponse, type PlatformControllerGetPlatformListData, type PlatformControllerGetPlatformListResponse, type PlatformControllerResponse, type PlatformGroupDto, type PortfolioTrendsResponseDto, type PostingDetailDto, type PostingResponseDto, type ProcessNlpDto, type PropertyController1Data, type PropertyController1Response, type PropertyControllerData, type PropertyControllerGetAllData, type PropertyControllerGetAllResponse, type PropertyControllerGetByKeyData, type PropertyControllerGetByKeyResponse, type PropertyControllerResponse, type ProviderSyncConfigDto, type ProviderSyncControllerGetSupportedProvidersData, type ProviderSyncControllerGetSupportedProvidersResponse, type ProviderSyncControllerIsProviderSupportedData, type ProviderSyncControllerIsProviderSupportedResponse, type ProviderSyncControllerSyncData, type ProviderSyncControllerSyncResponse, type ProviderSyncDto, type ProviderSyncResponseDto, ProviderSyncService, type RecurringMatchInfoDto, type RecurringRuleController1Data, type RecurringRuleController1Response, type RecurringRuleController2Data, type RecurringRuleController2Response, type RecurringRuleController3Data, type RecurringRuleController3Response, type RecurringRuleControllerData, type RecurringRuleControllerFindAllData, type RecurringRuleControllerFindAllResponse, type RecurringRuleControllerFindOneData, type RecurringRuleControllerFindOneResponse, type RecurringRuleControllerGetWithStatsData, type RecurringRuleControllerGetWithStatsResponse, type RecurringRuleControllerResponse, 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 ReviewController1Data, type ReviewController1Response, type ReviewController2Data, type ReviewController2Response, type ReviewControllerData, type ReviewControllerFindAllData, type ReviewControllerFindAllResponse, type ReviewControllerFindOneData, type ReviewControllerFindOneResponse, type ReviewControllerGetStatsData, type ReviewControllerGetStatsResponse, type ReviewControllerResponse, type ReviewDetailDto, type ReviewItemPreviewDto, type ReviewListResponseDto, type ReviewStatsDto, type ReviewSummaryDto, type RuleStatisticsResponseDto, type SignupDto, type SupportedProvidersResponseDto, type SymbolControllerData, type SymbolControllerGatherSymbolForDateData, type SymbolControllerGatherSymbolForDateResponse, type SymbolControllerGetSymbolDataData, type SymbolControllerGetSymbolDataResponse, type SymbolControllerLookupSymbolData, type SymbolControllerLookupSymbolResponse, type SymbolControllerResponse, type TestRuleDto, type TestRuleResponseDto, type TimeSeriesPointDto, type TransactionController1Data, type TransactionController1Response, type TransactionControllerCreateData, type TransactionControllerCreateResponse, type TransactionControllerData, type TransactionControllerGetDetailData, type TransactionControllerGetDetailResponse, type TransactionControllerListData, type TransactionControllerListResponse, type TransactionControllerResponse, type TransactionControllerUpdateData, type TransactionControllerUpdateResponse, type TransactionDetailDto, type TransactionListResponseDto, type TransactionResponseDto, type TransactionRuleController1Data, type TransactionRuleController1Response, type TransactionRuleController2Data, type TransactionRuleController2Response, type TransactionRuleController3Data, type TransactionRuleController3Response, type TransactionRuleControllerData, type TransactionRuleControllerExportData, type TransactionRuleControllerExportResponse, type TransactionRuleControllerGetDetailData, type TransactionRuleControllerGetDetailResponse, type TransactionRuleControllerGetStatisticsData, type TransactionRuleControllerGetStatisticsResponse, type TransactionRuleControllerListData, type TransactionRuleControllerListResponse, type TransactionRuleControllerResponse, type TransactionRuleControllerTestData, type TransactionRuleControllerTestResponse, type TransactionRuleControllerValidateData, type TransactionRuleControllerValidateResponse, type TransactionRuleListResponseDto, type TransactionRuleResponseDto, type TransactionSummaryDto, type TrendSummaryDto, type UpdateAccountDto, type UpdateTransactionDto, type UpdateUserSettingDto, type UserControllerDeleteOwnUserData, type UserControllerDeleteOwnUserResponse, type UserControllerDeleteUserData, type UserControllerDeleteUserResponse, type UserControllerGetAllUserSettingsByPageData, type UserControllerGetAllUserSettingsByPageResponse, type UserControllerGetAssetLiabilitySummaryData, 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 assetSubType, type bookingMethod, type branchType, type category, type colorScheme, type confidenceLevel, type dataSource, type equitySubType, type flag, type flag2, type importerId, type intent, type investmentAction, type learningSource, type liabilitySubType, type matchLogic, type paymentSource, type period, type source, type sourceType, type status, type status2, type status3, type status4, type suggestedFrequency, type type, type type2, type viewMode };
7483
+ export { type $OpenApiTs, type AccountControllerCloseData, type AccountControllerCloseResponse, type AccountControllerCreateData, type AccountControllerCreateResponse, type AccountControllerDeleteData, type AccountControllerDeleteResponse, type AccountControllerFindAllData, type AccountControllerFindAllResponse, type AccountControllerFindOneData, type AccountControllerFindOneResponse, type AccountControllerReopenData, type AccountControllerReopenResponse, type AccountControllerUpdateData, type AccountControllerUpdateResponse, type AccountExchangeRateWarningDto, type AccountItemDto, type AccountItemWithAssetClassDto, type AccountListResponseDto, type AccountResponseDto, type AccountStandardListResponseDto, type AccountStandardResponseDto, type AccountStandardsControllerGetRegionsData, type AccountStandardsControllerGetRegionsResponse, type AccountStandardsControllerGetTemplateMetadataData, type AccountStandardsControllerGetTemplateMetadataResponse, type AccountStandardsControllerGetTemplatesData, type AccountStandardsControllerGetTemplatesResponse, type AccountsResponseDto, type AccountsSummaryDto, type AmountRangeDto, type AnonymousLoginDto, type ApiKeysControllerCreateApiKeyResponse, type ApiProblemResponseDto, type AssetClassAccountsResponseDto, type AssetClassGroupDto, type AssetClassSummaryDto, type AuthControllerAccessTokenLoginData, type AuthControllerAccessTokenLoginResponse, type BackfillSnapshotsBody, type BackfillSnapshotsResponse, type BalanceByCurrencyDto, type BalanceControllerGetBalanceData, type BalanceControllerGetBalanceResponse, type BalanceControllerGetMultiCurrencyBalanceData, type BalanceControllerGetMultiCurrencyBalanceResponse, type BalanceResponseDto, type BatchCreateTransactionDto, type BatchResolveDto, type BatchResolveResultDto, type BatchTransactionErrorDto, type BatchTransactionResponseDto, BeanAccountsService, BeanBalancesService, BeanCommoditiesService, BeanTransactionsService, type BulkCreateRulesDto, type BulkCreateRulesResponseDto, type CacheControllerFlushCacheResponse, type CashFlowByCurrencyDto, type CashFlowResponseDto, type CloseAccountDto, type CommodityControllerBulkCreateData, type CommodityControllerBulkCreateResponse, type CommodityControllerCreateData, type CommodityControllerCreateResponse, type CommodityControllerDeleteData, type CommodityControllerDeleteResponse, type CommodityControllerFindAllData, type CommodityControllerFindAllResponse, type CommodityControllerFindOneData, type CommodityControllerFindOneResponse, type CommodityControllerGetOrCreateData, type CommodityControllerGetOrCreateResponse, type CommodityControllerUpdateData, type CommodityControllerUpdateResponse, type CommodityListResponseDto, type CommodityResponseDto, type ConfirmMatchDto, type ConvertedCashFlowDto, type ConvertedNetWorthDto, type CreateAccountDto, type CreateCommodityDto, type CreatePayeeDto, type CreatePayeeProfileDto, type CreatePlatformDto, type CreatePostingDto, type CreateRecurringRuleDto, type CreateRuleFromTransactionDto, type CreateTransactionDto, type CreateTransactionRuleDto, type CurrencyBalanceDto, type DashboardControllerGetAccountsData, type DashboardControllerGetAccountsResponse, type DashboardControllerGetCashFlowData, type DashboardControllerGetCashFlowResponse, type DashboardControllerGetNetWorthData, type DashboardControllerGetNetWorthResponse, type DecisionOptionDto, type DeleteOwnUserDto, type EnterNowDto, type ExchangeRateControllerGetExchangeRateData, type ExchangeRateControllerGetExchangeRateResponse, type ExchangeRateWarningDto, type ExpectedTransactionControllerConfirmMatchData, type ExpectedTransactionControllerConfirmMatchResponse, type ExpectedTransactionControllerEnterNowData, type ExpectedTransactionControllerEnterNowResponse, type ExpectedTransactionControllerFindAllData, type ExpectedTransactionControllerFindAllResponse, type ExpectedTransactionControllerFindOneData, type ExpectedTransactionControllerFindOneResponse, type ExpectedTransactionControllerFindOverdueData, type ExpectedTransactionControllerFindOverdueResponse, type ExpectedTransactionControllerSkipData, type ExpectedTransactionControllerSkipResponse, type ExpectedTransactionControllerUndoSkipData, type ExpectedTransactionControllerUndoSkipResponse, type ExpectedTransactionControllerUnmatchData, type ExpectedTransactionControllerUnmatchResponse, type ExpectedTransactionListResponseDto, type ExpectedTransactionResponseDto, type ExpectedTransactionRuleDto, type ExportControllerExportBeancountResponse, type ExportRulesResponseDto, type FileImportControllerIdentifyFileData, type FileImportControllerIdentifyFileResponse, type FileImportControllerImportBeancountData, type FileImportControllerImportBeancountResponse, type FileImportControllerImportFileData, type FileImportControllerImportFileResponse, type FileImportDto, type ForecastControllerGetForecastData, type ForecastControllerGetForecastResponse, type ForecastItemDto, type ForecastResponseDto, type GenerateSnapshotBody, type GenerateSnapshotResponse, type HealthControllerCheckDatabaseResponse, type HealthControllerCheckOpenBbResponse, type HealthControllerCheckRedisResponse, type HealthControllerGetCircuitBreakersHealthResponse, type HealthControllerGetHealthResponse, type HealthControllerGetMetricsResponse, type HealthControllerResetCircuitBreakerData, type HealthControllerResetCircuitBreakerResponse, HealthService, type IdentifyResultDto, type ImportErrorDto, type ImportResultDto, type ImporterConfigControllerGetConfigData, type ImporterConfigControllerGetConfigResponse, type ImporterConfigControllerResetConfigData, type ImporterConfigControllerResetConfigResponse, type ImporterConfigControllerUpdateConfigData, type ImporterConfigControllerUpdateConfigResponse, type ImporterConfigDataDto, type ImporterConfigDto, type InfoControllerGetInfoResponse, type MapperDefaultsDto, type MonthlyForecastDto, type MultiCurrencyBalanceResponseDto, type MultiCurrencyPointDto, type NetWorthByCurrencyDto, type NetWorthResponseDto, type NlpAccountConfirmationDataDto, type NlpAlternativePayeeDto, type NlpControllerClearSessionData, type NlpControllerClearSessionResponse, type NlpControllerGetSessionData, type NlpControllerGetSessionResponse, type NlpControllerProcessNaturalLanguageData, type NlpControllerProcessNaturalLanguageResponse, type NlpDefaultAccountsDto, type NlpDuplicateConfirmationDataDto, type NlpParsedDataDto, type NlpPayeeConfirmationDataDto, type NlpResponseDto, type NlpRuleConfirmationDataDto, type NlpSimilarityDto, type NlpSourceTransactionDto, type NlpSuggestedAccountDto, type NlpSuggestedAccountsDto, type NlpSuggestedPayeeDto, type NlpTargetTransactionDto, type NlpTransactionInfoDto, OpenAPI, type OpenAPIConfig, type ParserTelemetryReportDto, type PayeeAutocompleteResponseDto, type PayeeControllerAutocompleteData, type PayeeControllerAutocompleteResponse, type PayeeControllerCreateData, type PayeeControllerCreateResponse, type PayeeControllerDeleteData, type PayeeControllerDeleteResponse, type PayeeControllerFindAllData, type PayeeControllerFindAllResponse, type PayeeControllerFindOneData, type PayeeControllerFindOneResponse, type PayeeControllerGetTopPayeesData, type PayeeControllerGetTopPayeesResponse, type PayeeControllerUpdateData, type PayeeControllerUpdateResponse, type PayeeListResponseDto, type PayeeProfileAdminControllerCreateData, type PayeeProfileAdminControllerCreateResponse, type PayeeProfileAdminControllerDeleteData, type PayeeProfileAdminControllerDeleteResponse, type PayeeProfileAdminControllerFindAllData, type PayeeProfileAdminControllerFindAllResponse, type PayeeProfileAdminControllerFindOneData, type PayeeProfileAdminControllerFindOneResponse, type PayeeProfileAdminControllerUnverifyData, type PayeeProfileAdminControllerUnverifyResponse, type PayeeProfileAdminControllerUpdateData, type PayeeProfileAdminControllerUpdateResponse, type PayeeProfileAdminControllerVerifyData, type PayeeProfileAdminControllerVerifyResponse, type PayeeProfileListResponseDto, type PayeeProfileResponseDto, type PayeeResponseDto, type PayeeStatsResponseDto, type PlatformControllerCreateData, type PlatformControllerCreateResponse, type PlatformControllerDeleteData, type PlatformControllerDeleteResponse, type PlatformControllerFindAllResponse, type PlatformControllerGetPlatformListResponse, type PlatformControllerMatchPlatformsData, type PlatformControllerMatchPlatformsResponse, type PlatformControllerUpdateData, type PlatformControllerUpdateResponse, type PlatformGroupDto, type PortfolioTrendsResponseDto, type PostingDetailDto, type PostingResponseDto, type ProcessNlpDto, type PropertyControllerDeleteData, type PropertyControllerDeleteResponse, type PropertyControllerGetAllResponse, type PropertyControllerGetByKeyData, type PropertyControllerGetByKeyResponse, type PropertyControllerUpdateData, type PropertyControllerUpdateResponse, type ProviderSyncConfigDto, type ProviderSyncControllerGetSupportedProvidersData, type ProviderSyncControllerGetSupportedProvidersResponse, type ProviderSyncControllerIsProviderSupportedData, type ProviderSyncControllerIsProviderSupportedResponse, type ProviderSyncControllerSyncData, type ProviderSyncControllerSyncResponse, type ProviderSyncDto, type ProviderSyncResponseDto, ProviderSyncService, type RecurringMatchInfoDto, type RecurringRuleControllerCreateData, type RecurringRuleControllerCreateFromTransactionData, type RecurringRuleControllerCreateFromTransactionResponse, type RecurringRuleControllerCreateResponse, type RecurringRuleControllerDeleteData, type RecurringRuleControllerDeleteResponse, type RecurringRuleControllerFindAllData, type RecurringRuleControllerFindAllResponse, type RecurringRuleControllerFindOneData, type RecurringRuleControllerFindOneResponse, type RecurringRuleControllerGetWithStatsData, type RecurringRuleControllerGetWithStatsResponse, type RecurringRuleControllerUpdateData, type RecurringRuleControllerUpdateResponse, type RecurringRuleResponseDto, type RecurringRuleWithStatsResponseDto, type RecurringSuggestionDto, type RegionConfigDto, type RegionInfoDto, type RegionsMetadataResponseDto, type ReopenAccountDto, type ReportingControllerBackfillSnapshotsData, type ReportingControllerBackfillSnapshotsResponse, type ReportingControllerGenerateSnapshotData, type ReportingControllerGenerateSnapshotResponse, type ReportingControllerGetPortfolioTrendsData, type ReportingControllerGetPortfolioTrendsResponse, type ResolveResultDto, type ResolveReviewDto, type ReviewControllerBatchResolveData, type ReviewControllerBatchResolveResponse, type ReviewControllerFindAllData, type ReviewControllerFindAllResponse, type ReviewControllerFindOneData, type ReviewControllerFindOneResponse, type ReviewControllerGetStatsData, type ReviewControllerGetStatsResponse, type ReviewControllerResolveData, type ReviewControllerResolveResponse, type ReviewControllerUndoData, type ReviewControllerUndoResponse, type ReviewDetailDto, type ReviewItemPreviewDto, type ReviewListResponseDto, type ReviewStatsDto, type ReviewSummaryDto, type RuleStatisticsResponseDto, type SignupDto, type SupportedProvidersResponseDto, type TagSuggestionDto, type TagSuggestionsResponseDto, type TelemetryControllerReportTelemetryData, type TelemetryControllerReportTelemetryResponse, type TemplateMetadataDto, type TemplateMetadataResponseDto, type TestRuleDto, type TestRuleResponseDto, type TimeSeriesPointDto, type TransactionControllerCreateBatchData, type TransactionControllerCreateBatchResponse, type TransactionControllerCreateData, type TransactionControllerCreateResponse, type TransactionControllerDeleteData, type TransactionControllerDeleteResponse, type TransactionControllerGetDetailData, type TransactionControllerGetDetailResponse, type TransactionControllerListData, type TransactionControllerListResponse, type TransactionControllerSuggestTagsData, type TransactionControllerSuggestTagsResponse, type TransactionControllerUpdateData, type TransactionControllerUpdateResponse, type TransactionDetailDto, type TransactionListResponseDto, type TransactionResponseDto, type TransactionRuleControllerBulkCreateData, type TransactionRuleControllerBulkCreateResponse, type TransactionRuleControllerCreateData, type TransactionRuleControllerCreateResponse, type TransactionRuleControllerDeleteData, type TransactionRuleControllerDeleteResponse, type TransactionRuleControllerExportData, type TransactionRuleControllerExportResponse, type TransactionRuleControllerGetDetailData, type TransactionRuleControllerGetDetailResponse, type TransactionRuleControllerGetStatisticsData, type TransactionRuleControllerGetStatisticsResponse, type TransactionRuleControllerListData, type TransactionRuleControllerListResponse, type TransactionRuleControllerTestData, type TransactionRuleControllerTestResponse, type TransactionRuleControllerUpdateData, type TransactionRuleControllerUpdateResponse, type TransactionRuleControllerValidateData, type TransactionRuleControllerValidateResponse, type TransactionRuleListResponseDto, type TransactionRuleResponseDto, type TransactionSummaryDto, type TrendSummaryDto, type UndoResultDto, type UpdateAccountDto, type UpdateCommodityDto, type UpdateConfigDataDto, type UpdateImporterConfigDto, type UpdateMapperDefaultsDto, type UpdatePayeeDto, type UpdatePayeeProfileDto, type UpdatePlatformDto, type UpdatePropertyDto, type UpdateRecurringRuleDto, type UpdateTransactionDto, type UpdateTransactionRuleDto, type UpdateUserSettingDto, type UserControllerDeleteOwnUserData, type UserControllerDeleteOwnUserResponse, type UserControllerDeleteUserData, type UserControllerDeleteUserResponse, type UserControllerGetAllUserSettingsByPageData, type UserControllerGetAllUserSettingsByPageResponse, type UserControllerGetAssetLiabilitySummaryResponse, type UserControllerGetUserData, type UserControllerGetUserInfoData, type UserControllerGetUserInfoResponse, type UserControllerGetUserResponse, type UserControllerSignupUserData, type UserControllerSignupUserResponse, type UserControllerUpdateUserSettingData, type UserControllerUpdateUserSettingResponse, type ValidateRuleDto, type ValidateRuleResponseDto, type VersionedConfigDto, type action, type action2, type assetClass, type assetSubType, type bookingMethod, type branchType, type category, type colorScheme, type confidenceLevel, type conflictStrategy, type dataSource, type equitySubType, type flag, type flag2, type frequency, type importerId, type intent, type investmentAction, type learningSource, type liabilitySubType, type matchLogic, type paymentSource, type period, type source, type status, type status2, type status3, type status4, type suggestedFrequency, type type, type type2, type type3, type value, type viewMode };