@firela/api-types 0.0.0-canary.209966 → 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,46 +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
710
  type BalanceResponseDto = {
627
711
  /**
628
712
  * Account name
@@ -687,9 +771,9 @@ type TransactionSummaryDto = {
687
771
  */
688
772
  accountName?: string;
689
773
  /**
690
- * Source type (NLP, CSV, OCR, API)
774
+ * Source type (free-form string from transaction metadata, e.g. import, api)
691
775
  */
692
- sourceType?: 'NLP' | 'CSV' | 'OCR' | 'API';
776
+ sourceType?: string;
693
777
  /**
694
778
  * Source platform (e.g., alipay, wechat)
695
779
  */
@@ -713,19 +797,25 @@ type ReviewSummaryDto = {
713
797
  */
714
798
  confidence: number;
715
799
  /**
716
- * Confidence level derived from score
800
+ * Confidence level derived from score. Null for error-type reviews (ACCOUNT_VALIDATION/PIPELINE_ERROR) which carry no confidence.
717
801
  */
718
- confidenceLevel: 'HIGH' | 'MEDIUM' | 'LOW';
802
+ confidenceLevel: 'HIGH' | 'MEDIUM' | 'LOW' | null;
719
803
  /**
720
- * Human-readable summary of the review item
804
+ * i18n message key for summary (e.g., review.summary.duplicate). Translate on frontend with summaryParams.
721
805
  */
722
- summary: string;
806
+ summaryKey: string;
807
+ /**
808
+ * Parameters for summary message interpolation (e.g., { date: "2024-01-15", amount: "50" })
809
+ */
810
+ summaryParams?: {
811
+ [key: string]: string;
812
+ };
723
813
  /**
724
814
  * Human-readable reasons for branching
725
815
  */
726
816
  matchReasons: Array<string>;
727
817
  /**
728
- * Source type (NLP, CSV, OCR, API)
818
+ * Source type (free-form string from transaction metadata, e.g. import, api)
729
819
  */
730
820
  sourceType: string;
731
821
  /**
@@ -770,7 +860,7 @@ type type2 = 'DUPLICATE' | 'RULE_MATCH' | 'PAYEE_MATCH' | 'ACCOUNT_VALIDATION' |
770
860
  */
771
861
  type status3 = 'PENDING' | 'RESOLVED' | 'EXPIRED' | 'CANCELLED';
772
862
  /**
773
- * Confidence level derived from score
863
+ * Confidence level derived from score. Null for error-type reviews (ACCOUNT_VALIDATION/PIPELINE_ERROR) which carry no confidence.
774
864
  */
775
865
  type confidenceLevel = 'HIGH' | 'MEDIUM' | 'LOW';
776
866
  type ReviewListResponseDto = {
@@ -812,7 +902,7 @@ type DecisionOptionDto = {
812
902
  /**
813
903
  * The action value to submit (e.g., UPGRADE_REPLACE, ACCEPT)
814
904
  */
815
- value: string;
905
+ value: 'UPGRADE_REPLACE' | 'LINK_KEEP_BOTH' | 'IGNORE_NEW' | 'CONFIRM_DIFFERENT' | 'ACCEPT' | 'REJECT' | 'ACCEPT_AND_LEARN' | 'CHOOSE_OTHER' | 'CANCEL' | 'FIX' | 'IGNORE';
816
906
  /**
817
907
  * i18n message key for display label (e.g., review.payee.accept.label)
818
908
  */
@@ -826,6 +916,10 @@ type DecisionOptionDto = {
826
916
  */
827
917
  recommended?: boolean;
828
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';
829
923
  type ReviewDetailDto = {
830
924
  /**
831
925
  * Review item ID
@@ -844,19 +938,25 @@ type ReviewDetailDto = {
844
938
  */
845
939
  confidence: number;
846
940
  /**
847
- * 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.
848
946
  */
849
- confidenceLevel: 'HIGH' | 'MEDIUM' | 'LOW';
947
+ summaryKey: string;
850
948
  /**
851
- * Human-readable summary of the review item
949
+ * Parameters for summary message interpolation (e.g., { date: "2024-01-15", amount: "50" })
852
950
  */
853
- summary: string;
951
+ summaryParams?: {
952
+ [key: string]: string;
953
+ };
854
954
  /**
855
955
  * Human-readable reasons for branching
856
956
  */
857
957
  matchReasons: Array<string>;
858
958
  /**
859
- * Source type (NLP, CSV, OCR, API)
959
+ * Source type (free-form string from transaction metadata, e.g. import, api)
860
960
  */
861
961
  sourceType: string;
862
962
  /**
@@ -906,6 +1006,122 @@ type ReviewDetailDto = {
906
1006
  */
907
1007
  transactionId?: string;
908
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
+ };
909
1125
  type PayeeResponseDto = {
910
1126
  /**
911
1127
  * Unique identifier (UUID)
@@ -922,15 +1138,11 @@ type PayeeResponseDto = {
922
1138
  /**
923
1139
  * Reference to global PayeeProfile (merchant info, i18n keys, categories)
924
1140
  */
925
- payeeProfileId?: {
926
- [key: string]: unknown;
927
- } | null;
1141
+ payeeProfileId?: string | null;
928
1142
  /**
929
1143
  * User's custom category (overrides PayeeProfile category if set)
930
1144
  */
931
- customCategory?: {
932
- [key: string]: unknown;
933
- } | null;
1145
+ customCategory?: string | null;
934
1146
  /**
935
1147
  * User's custom tags (e.g., ['favorite', 'work_meal'])
936
1148
  */
@@ -992,107 +1204,173 @@ type PayeeStatsResponseDto = {
992
1204
  */
993
1205
  lastUsedAt: string;
994
1206
  };
995
- type PayeeProfileResponseDto = {
1207
+ type UpdatePayeeDto = {
996
1208
  /**
997
- * Unique identifier (UUID)
1209
+ * Optional reference to global PayeeProfile for standardized data (merchant info, i18n keys, categories)
998
1210
  */
999
- id: string;
1211
+ payeeProfileId?: string;
1000
1212
  /**
1001
- * Canonical payee name (unique, case-insensitive)
1213
+ * User's custom category for this payee (overrides PayeeProfile category)
1002
1214
  */
1003
- canonical: string;
1215
+ customCategory?: string;
1004
1216
  /**
1005
- * Multi-language aliases
1217
+ * User's custom tags for this payee (e.g., ['favorite', 'work_meal'])
1006
1218
  */
1007
- aliases: Array<string>;
1219
+ customTags?: Array<string>;
1008
1220
  /**
1009
- * Translation key for i18n
1221
+ * Metadata for extended information (location, notes, contact info, etc.). Will merge with existing metadata.
1010
1222
  */
1011
- i18nKey?: {
1223
+ meta?: {
1012
1224
  [key: string]: unknown;
1013
- } | null;
1225
+ };
1014
1226
  /**
1015
- * Payee category
1227
+ * Enable or disable this payee. Disabled payees will not appear in autocomplete suggestions.
1016
1228
  */
1017
- 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 = {
1018
1232
  /**
1019
- * Sub-category
1233
+ * Canonical payee name (unique, case-insensitive). This is the primary identifier for the payee.
1020
1234
  */
1021
- subCategory?: {
1022
- [key: string]: unknown;
1023
- } | null;
1235
+ canonical: string;
1024
1236
  /**
1025
- * Country codes where payee operates
1237
+ * Multi-language aliases for the payee. Used for matching user input in different languages.
1026
1238
  */
1027
- countries: Array<string>;
1239
+ aliases?: Array<string>;
1028
1240
  /**
1029
- * Primary operating country
1241
+ * Translation key for i18n integration (XLIFF translation system)
1030
1242
  */
1031
- primaryCountry?: {
1032
- [key: string]: unknown;
1033
- } | null;
1243
+ i18nKey?: string;
1034
1244
  /**
1035
- * Search keywords
1245
+ * Payee category classification
1036
1246
  */
1037
- 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';
1038
1248
  /**
1039
- * Logo URL
1249
+ * Sub-category for more specific classification
1040
1250
  */
1041
- logoUrl?: {
1042
- [key: string]: unknown;
1043
- } | null;
1251
+ subCategory?: string;
1044
1252
  /**
1045
- * Official website
1253
+ * Country/region codes where the payee operates (ISO 3166-1 alpha-2)
1046
1254
  */
1047
- website?: {
1048
- [key: string]: unknown;
1049
- } | null;
1255
+ countries?: Array<string>;
1050
1256
  /**
1051
- * Description
1257
+ * Primary operating country (ISO 3166-1 alpha-2)
1052
1258
  */
1053
- description?: {
1054
- [key: string]: unknown;
1055
- } | null;
1259
+ primaryCountry?: string;
1056
1260
  /**
1057
- * Extended metadata
1261
+ * Search keywords for fuzzy matching
1058
1262
  */
1059
- meta: {
1060
- [key: string]: unknown;
1061
- };
1263
+ keywords?: Array<string>;
1062
1264
  /**
1063
- * Data source
1265
+ * Payee logo URL
1064
1266
  */
1065
- dataSource: 'MANUAL' | 'IMPORT' | 'API' | 'CROWDSOURCED';
1267
+ logoUrl?: string;
1066
1268
  /**
1067
- * Verification timestamp (null if not verified)
1269
+ * Official website URL
1068
1270
  */
1069
- verifiedAt?: {
1070
- [key: string]: unknown;
1071
- } | null;
1271
+ website?: string;
1072
1272
  /**
1073
- * Whether the profile is active
1273
+ * Payee description
1074
1274
  */
1075
- isActive: boolean;
1275
+ description?: string;
1076
1276
  /**
1077
- * Creation timestamp
1277
+ * Extended metadata (business hours, contact info, additional details)
1078
1278
  */
1079
- createdAt: string;
1279
+ meta?: {
1280
+ [key: string]: unknown;
1281
+ };
1080
1282
  /**
1081
- * Last update timestamp
1283
+ * Data source for this profile
1082
1284
  */
1083
- updatedAt: string;
1285
+ dataSource?: 'MANUAL' | 'IMPORT' | 'API' | 'CROWDSOURCED';
1084
1286
  };
1085
1287
  /**
1086
- * Payee category
1288
+ * Payee category classification
1087
1289
  */
1088
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';
1089
1291
  /**
1090
- * Data source
1292
+ * Data source for this profile
1091
1293
  */
1092
1294
  type dataSource = 'MANUAL' | 'IMPORT' | 'API' | 'CROWDSOURCED';
1093
- type PayeeProfileListResponseDto = {
1295
+ type PayeeProfileResponseDto = {
1094
1296
  /**
1095
- * List of payee profiles
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;
1340
+ /**
1341
+ * Description
1342
+ */
1343
+ description?: string | null;
1344
+ /**
1345
+ * Extended metadata
1346
+ */
1347
+ meta: {
1348
+ [key: string]: unknown;
1349
+ };
1350
+ /**
1351
+ * Data source
1352
+ */
1353
+ dataSource: 'MANUAL' | 'IMPORT' | 'API' | 'CROWDSOURCED';
1354
+ /**
1355
+ * Verification timestamp (null if not verified)
1356
+ */
1357
+ verifiedAt?: string | null;
1358
+ /**
1359
+ * Whether the profile is active
1360
+ */
1361
+ isActive: boolean;
1362
+ /**
1363
+ * Creation timestamp
1364
+ */
1365
+ createdAt: string;
1366
+ /**
1367
+ * Last update timestamp
1368
+ */
1369
+ updatedAt: string;
1370
+ };
1371
+ type PayeeProfileListResponseDto = {
1372
+ /**
1373
+ * List of payee profiles
1096
1374
  */
1097
1375
  items: Array<PayeeProfileResponseDto>;
1098
1376
  /**
@@ -1100,6 +1378,82 @@ type PayeeProfileListResponseDto = {
1100
1378
  */
1101
1379
  total: number;
1102
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
+ };
1103
1457
  type CommodityResponseDto = {
1104
1458
  /**
1105
1459
  * Unique identifier
@@ -1108,9 +1462,7 @@ type CommodityResponseDto = {
1108
1462
  /**
1109
1463
  * User ID (owner of the commodity)
1110
1464
  */
1111
- userId?: {
1112
- [key: string]: unknown;
1113
- } | null;
1465
+ userId?: string | null;
1114
1466
  /**
1115
1467
  * Commodity symbol (corresponds to Beancount currency field)
1116
1468
  */
@@ -1125,12 +1477,6 @@ type CommodityResponseDto = {
1125
1477
  metadata: {
1126
1478
  [key: string]: unknown;
1127
1479
  };
1128
- /**
1129
- * Reference to SymbolProfile (market data integration, SaaS feature)
1130
- */
1131
- symbolProfileId?: {
1132
- [key: string]: unknown;
1133
- } | null;
1134
1480
  /**
1135
1481
  * Creation timestamp
1136
1482
  */
@@ -1150,6 +1496,84 @@ type CommodityListResponseDto = {
1150
1496
  */
1151
1497
  total: number;
1152
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';
1153
1577
  type RecurringRuleResponseDto = {
1154
1578
  /**
1155
1579
  * Rule ID
@@ -1258,6 +1682,20 @@ type RecurringRuleResponseDto = {
1258
1682
  */
1259
1683
  updatedAt: string;
1260
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
+ };
1261
1699
  type RecurringRuleWithStatsResponseDto = {
1262
1700
  /**
1263
1701
  * Rule ID
@@ -1412,6 +1850,68 @@ type RecurringRuleWithStatsResponseDto = {
1412
1850
  */
1413
1851
  upcomingCount: number;
1414
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
+ };
1415
1915
  type ExpectedTransactionRuleDto = {
1416
1916
  /**
1417
1917
  * Rule name
@@ -1499,6 +1999,34 @@ type ExpectedTransactionListResponseDto = {
1499
1999
  */
1500
2000
  total: number;
1501
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
+ };
1502
2030
  type ForecastItemDto = {
1503
2031
  /**
1504
2032
  * Rule name
@@ -1519,9 +2047,7 @@ type ForecastItemDto = {
1519
2047
  /**
1520
2048
  * Rule icon emoji
1521
2049
  */
1522
- icon: {
1523
- [key: string]: unknown;
1524
- } | null;
2050
+ icon: string | null;
1525
2051
  /**
1526
2052
  * Currency code
1527
2053
  */
@@ -1579,13 +2105,57 @@ type ForecastResponseDto = {
1579
2105
  */
1580
2106
  periodEnd: string;
1581
2107
  };
1582
- type TransactionRuleResponseDto = {
2108
+ type CreateTransactionRuleDto = {
2109
+ name: string;
2110
+ description?: string;
2111
+ narrationKeywords?: Array<unknown[]>;
2112
+ payeeKeywords?: Array<unknown[]>;
2113
+ categoryKeywords?: Array<unknown[]>;
1583
2114
  /**
1584
- * Rule ID
2115
+ * Payment method keywords (e.g., HuaBei, YuEBao)
1585
2116
  */
1586
- id: string;
2117
+ methodKeywords?: Array<unknown[]>;
1587
2118
  /**
1588
- * Rule name
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
2155
+ */
2156
+ id: string;
2157
+ /**
2158
+ * Rule name
1589
2159
  */
1590
2160
  name: string;
1591
2161
  /**
@@ -1619,9 +2189,7 @@ type TransactionRuleResponseDto = {
1619
2189
  /**
1620
2190
  * Amount range for matching
1621
2191
  */
1622
- amountRange?: {
1623
- [key: string]: unknown;
1624
- };
2192
+ amountRange?: AmountRangeDto;
1625
2193
  /**
1626
2194
  * Rule priority (0-1000, higher = first match)
1627
2195
  */
@@ -1633,7 +2201,7 @@ type TransactionRuleResponseDto = {
1633
2201
  /**
1634
2202
  * Learning source: NLP, REVIEW_CENTER, or null for manual
1635
2203
  */
1636
- learningSource?: 'NLP' | 'REVIEW_CENTER';
2204
+ learningSource?: 'NLP' | 'REVIEW_CENTER' | null;
1637
2205
  /**
1638
2206
  * Whether auto-apply is enabled for this rule
1639
2207
  */
@@ -1650,7 +2218,7 @@ type TransactionRuleResponseDto = {
1650
2218
  * Additional metadata
1651
2219
  */
1652
2220
  additionalMetadata?: {
1653
- [key: string]: unknown;
2221
+ [key: string]: string;
1654
2222
  };
1655
2223
  /**
1656
2224
  * Created timestamp
@@ -1661,10 +2229,6 @@ type TransactionRuleResponseDto = {
1661
2229
  */
1662
2230
  updatedAt: string;
1663
2231
  };
1664
- /**
1665
- * Keyword matching logic
1666
- */
1667
- type matchLogic = 'OR' | 'AND';
1668
2232
  /**
1669
2233
  * Learning source: NLP, REVIEW_CENTER, or null for manual
1670
2234
  */
@@ -1731,6 +2295,41 @@ type ValidateRuleResponseDto = {
1731
2295
  */
1732
2296
  warnings: Array<unknown[]>;
1733
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
+ };
1734
2333
  type ExportRulesResponseDto = {
1735
2334
  /**
1736
2335
  * Export timestamp
@@ -1784,6 +2383,39 @@ type RuleStatisticsResponseDto = {
1784
2383
  * Statistics time period
1785
2384
  */
1786
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
+ };
1787
2419
  type TestRuleDto = {
1788
2420
  narration: string;
1789
2421
  payee?: string;
@@ -1917,6 +2549,12 @@ type colorScheme = 'DARK' | 'LIGHT';
1917
2549
  * View mode
1918
2550
  */
1919
2551
  type viewMode = 'DEFAULT' | 'ZEN';
2552
+ type UpdatePropertyDto = {
2553
+ /**
2554
+ * Property value
2555
+ */
2556
+ value: string;
2557
+ };
1920
2558
  type FileImportDto = {
1921
2559
  /**
1922
2560
  * Bill file to import (CSV, PDF, OFX, etc.)
@@ -2099,7 +2737,7 @@ type ImporterConfigDto = {
2099
2737
  /**
2100
2738
  * Importer identifier
2101
2739
  */
2102
- 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';
2103
2741
  /**
2104
2742
  * Configuration version (semver)
2105
2743
  */
@@ -2124,7 +2762,107 @@ type ImporterConfigDto = {
2124
2762
  /**
2125
2763
  * Importer identifier
2126
2764
  */
2127
- 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
+ };
2128
2866
  type ProviderSyncConfigDto = {
2129
2867
  /**
2130
2868
  * Source account for the first posting
@@ -2197,6 +2935,7 @@ type SupportedProvidersResponseDto = {
2197
2935
  */
2198
2936
  providers: Array<string>;
2199
2937
  };
2938
+ type ParserTelemetryReportDto = unknown;
2200
2939
  type ProcessNlpDto = {
2201
2940
  /**
2202
2941
  * Natural language text describing a transaction (Chinese)
@@ -2206,6 +2945,12 @@ type ProcessNlpDto = {
2206
2945
  * Session ID for multi-turn conversation (auto-generated if not provided)
2207
2946
  */
2208
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
+ };
2209
2954
  };
2210
2955
  type NlpTransactionInfoDto = {
2211
2956
  /**
@@ -2707,7 +3452,7 @@ type status4 = 'success' | 'pending' | 'error';
2707
3452
  /**
2708
3453
  * Action taken or requested
2709
3454
  */
2710
- 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';
2711
3456
  /**
2712
3457
  * Transaction intent detected by EntityRouter (v6.0: 5 core intents). Frontend uses this to render scenario-specific form fields.
2713
3458
  */
@@ -3176,7 +3921,7 @@ type AccountControllerCreateData = {
3176
3921
  /**
3177
3922
  * Region code for tenant context
3178
3923
  */
3179
- region: 'cn' | 'us' | 'eu-core' | 'de';
3924
+ region: 'cn' | 'us' | 'de' | 'gb';
3180
3925
  requestBody: CreateAccountDto;
3181
3926
  };
3182
3927
  type AccountControllerCreateResponse = AccountResponseDto;
@@ -3196,7 +3941,7 @@ type AccountControllerFindAllData = {
3196
3941
  /**
3197
3942
  * Region code for tenant context
3198
3943
  */
3199
- region: 'cn' | 'us' | 'eu-core' | 'de';
3944
+ region: 'cn' | 'us' | 'de' | 'gb';
3200
3945
  /**
3201
3946
  * Search term for path or i18nKey
3202
3947
  */
@@ -3219,7 +3964,7 @@ type AccountControllerFindOneData = {
3219
3964
  /**
3220
3965
  * Region code for tenant context
3221
3966
  */
3222
- region: 'cn' | 'us' | 'eu-core' | 'de';
3967
+ region: 'cn' | 'us' | 'de' | 'gb';
3223
3968
  };
3224
3969
  type AccountControllerFindOneResponse = AccountResponseDto;
3225
3970
  type AccountControllerUpdateData = {
@@ -3230,7 +3975,7 @@ type AccountControllerUpdateData = {
3230
3975
  /**
3231
3976
  * Region code for tenant context
3232
3977
  */
3233
- region: 'cn' | 'us' | 'eu-core' | 'de';
3978
+ region: 'cn' | 'us' | 'de' | 'gb';
3234
3979
  requestBody: UpdateAccountDto;
3235
3980
  };
3236
3981
  type AccountControllerUpdateResponse = AccountResponseDto;
@@ -3242,7 +3987,7 @@ type AccountControllerDeleteData = {
3242
3987
  /**
3243
3988
  * Region code for tenant context
3244
3989
  */
3245
- region: 'cn' | 'us' | 'eu-core' | 'de';
3990
+ region: 'cn' | 'us' | 'de' | 'gb';
3246
3991
  };
3247
3992
  type AccountControllerDeleteResponse = void;
3248
3993
  type AccountControllerCloseData = {
@@ -3253,7 +3998,7 @@ type AccountControllerCloseData = {
3253
3998
  /**
3254
3999
  * Region code for tenant context
3255
4000
  */
3256
- region: 'cn' | 'us' | 'eu-core' | 'de';
4001
+ region: 'cn' | 'us' | 'de' | 'gb';
3257
4002
  requestBody: CloseAccountDto;
3258
4003
  };
3259
4004
  type AccountControllerCloseResponse = AccountResponseDto;
@@ -3265,15 +4010,48 @@ type AccountControllerReopenData = {
3265
4010
  /**
3266
4011
  * Region code for tenant context
3267
4012
  */
3268
- region: 'cn' | 'us' | 'eu-core' | 'de';
4013
+ region: 'cn' | 'us' | 'de' | 'gb';
3269
4014
  requestBody: ReopenAccountDto;
3270
4015
  };
3271
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;
3272
4050
  type TransactionControllerCreateData = {
3273
4051
  /**
3274
4052
  * Region code for tenant context
3275
4053
  */
3276
- region: 'cn' | 'us' | 'eu-core' | 'de';
4054
+ region: 'cn' | 'us' | 'de' | 'gb';
3277
4055
  /**
3278
4056
  * Transaction data with postings
3279
4057
  */
@@ -3304,7 +4082,7 @@ type TransactionControllerListData = {
3304
4082
  /**
3305
4083
  * Region code for tenant context
3306
4084
  */
3307
- region: 'cn' | 'us' | 'eu-core' | 'de';
4085
+ region: 'cn' | 'us' | 'de' | 'gb';
3308
4086
  /**
3309
4087
  * Search in narration and payee fields (max 200 chars)
3310
4088
  */
@@ -3315,13 +4093,33 @@ type TransactionControllerListData = {
3315
4093
  status?: 'ACTIVE' | 'VOIDED' | 'SUPERSEDED';
3316
4094
  };
3317
4095
  type TransactionControllerListResponse = TransactionListResponseDto;
3318
- 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;
3319
4113
  /**
3320
4114
  * Region code for tenant context
3321
4115
  */
3322
- region: 'cn' | 'us' | 'eu-core' | 'de';
4116
+ region: 'cn' | 'us' | 'de' | 'gb';
4117
+ /**
4118
+ * usage (default) or name
4119
+ */
4120
+ sort?: 'usage' | 'name';
3323
4121
  };
3324
- type TransactionControllerResponse = unknown;
4122
+ type TransactionControllerSuggestTagsResponse = TagSuggestionsResponseDto;
3325
4123
  type TransactionControllerGetDetailData = {
3326
4124
  /**
3327
4125
  * Transaction ID
@@ -3330,7 +4128,7 @@ type TransactionControllerGetDetailData = {
3330
4128
  /**
3331
4129
  * Region code for tenant context
3332
4130
  */
3333
- region: 'cn' | 'us' | 'eu-core' | 'de';
4131
+ region: 'cn' | 'us' | 'de' | 'gb';
3334
4132
  };
3335
4133
  type TransactionControllerGetDetailResponse = TransactionDetailDto;
3336
4134
  type TransactionControllerUpdateData = {
@@ -3341,44 +4139,24 @@ type TransactionControllerUpdateData = {
3341
4139
  /**
3342
4140
  * Region code for tenant context
3343
4141
  */
3344
- region: 'cn' | 'us' | 'eu-core' | 'de';
4142
+ region: 'cn' | 'us' | 'de' | 'gb';
3345
4143
  /**
3346
4144
  * Fields to update (all optional)
3347
4145
  */
3348
4146
  requestBody: UpdateTransactionDto;
3349
4147
  };
3350
4148
  type TransactionControllerUpdateResponse = TransactionDetailDto;
3351
- type TransactionController1Data = {
3352
- /**
3353
- * Region code for tenant context
3354
- */
3355
- region: 'cn' | 'us' | 'eu-core' | 'de';
3356
- };
3357
- type TransactionController1Response = void;
3358
- type AccountStandardsControllerGetTemplatesData = {
3359
- /**
3360
- * Region code (cn, us, eu-core, de)
3361
- */
3362
- region: 'cn' | 'us' | 'eu-core' | 'de';
3363
- /**
3364
- * Search term for path or description
3365
- */
3366
- search?: string;
4149
+ type TransactionControllerDeleteData = {
3367
4150
  /**
3368
- * Filter by account type
4151
+ * Transaction ID
3369
4152
  */
3370
- type?: 'Assets' | 'Liabilities' | 'Income' | 'Expenses' | 'Equity';
3371
- };
3372
- type AccountStandardsControllerGetTemplatesResponse = AccountStandardListResponseDto;
3373
- type AccountStandardsControllerGetRegionsData = {
4153
+ id: string;
3374
4154
  /**
3375
- * Region code (cn, us, eu-core, de)
4155
+ * Region code for tenant context
3376
4156
  */
3377
- region: 'cn' | 'us' | 'eu-core' | 'de';
3378
- };
3379
- type AccountStandardsControllerGetRegionsResponse = {
3380
- regions?: Array<string>;
4157
+ region: 'cn' | 'us' | 'de' | 'gb';
3381
4158
  };
4159
+ type TransactionControllerDeleteResponse = void;
3382
4160
  type BalanceControllerGetBalanceData = {
3383
4161
  /**
3384
4162
  * Account name (e.g., "Assets:Bank:Checking")
@@ -3393,16 +4171,16 @@ type BalanceControllerGetBalanceData = {
3393
4171
  */
3394
4172
  date?: string;
3395
4173
  /**
3396
- * Region code (cn, us, eu-core, de)
4174
+ * Region code for tenant context
3397
4175
  */
3398
- region: 'cn' | 'us' | 'eu-core' | 'de';
4176
+ region: 'cn' | 'us' | 'de' | 'gb';
3399
4177
  };
3400
4178
  type BalanceControllerGetBalanceResponse = BalanceResponseDto;
3401
4179
  type BalanceControllerGetMultiCurrencyBalanceData = {
3402
4180
  /**
3403
- * Region code (cn, us, eu-core, de)
4181
+ * Region code for tenant context
3404
4182
  */
3405
- region: 'cn' | 'us' | 'eu-core' | 'de';
4183
+ region: 'cn' | 'us' | 'de' | 'gb';
3406
4184
  };
3407
4185
  type BalanceControllerGetMultiCurrencyBalanceResponse = MultiCurrencyBalanceResponseDto;
3408
4186
  type ReviewControllerFindAllData = {
@@ -3419,9 +4197,9 @@ type ReviewControllerFindAllData = {
3419
4197
  */
3420
4198
  page?: number;
3421
4199
  /**
3422
- * Region code (cn, us, eu-core, de)
4200
+ * Region code for tenant context
3423
4201
  */
3424
- region: 'cn' | 'us' | 'eu-core' | 'de';
4202
+ region: 'cn' | 'us' | 'de' | 'gb';
3425
4203
  /**
3426
4204
  * Sort order
3427
4205
  */
@@ -3434,9 +4212,9 @@ type ReviewControllerFindAllData = {
3434
4212
  type ReviewControllerFindAllResponse = ReviewListResponseDto;
3435
4213
  type ReviewControllerGetStatsData = {
3436
4214
  /**
3437
- * Region code (cn, us, eu-core, de)
4215
+ * Region code for tenant context
3438
4216
  */
3439
- region: 'cn' | 'us' | 'eu-core' | 'de';
4217
+ region: 'cn' | 'us' | 'de' | 'gb';
3440
4218
  };
3441
4219
  type ReviewControllerGetStatsResponse = ReviewStatsDto;
3442
4220
  type ReviewControllerFindOneData = {
@@ -3445,39 +4223,49 @@ type ReviewControllerFindOneData = {
3445
4223
  */
3446
4224
  id: string;
3447
4225
  /**
3448
- * Region code (cn, us, eu-core, de)
4226
+ * Region code for tenant context
3449
4227
  */
3450
- region: 'cn' | 'us' | 'eu-core' | 'de';
4228
+ region: 'cn' | 'us' | 'de' | 'gb';
3451
4229
  };
3452
4230
  type ReviewControllerFindOneResponse = ReviewDetailDto;
3453
- type ReviewControllerData = {
4231
+ type ReviewControllerResolveData = {
3454
4232
  /**
3455
- * Region code (cn, us, eu-core, de)
4233
+ * Review ID
3456
4234
  */
3457
- region: 'cn' | 'us' | 'eu-core' | 'de';
3458
- };
3459
- type ReviewControllerResponse = unknown;
3460
- type ReviewController1Data = {
4235
+ id: string;
3461
4236
  /**
3462
- * Region code (cn, us, eu-core, de)
4237
+ * Region code for tenant context
3463
4238
  */
3464
- region: 'cn' | 'us' | 'eu-core' | 'de';
4239
+ region: 'cn' | 'us' | 'de' | 'gb';
4240
+ requestBody: ResolveReviewDto;
3465
4241
  };
3466
- type ReviewController1Response = unknown;
3467
- type ReviewController2Data = {
4242
+ type ReviewControllerResolveResponse = ResolveResultDto;
4243
+ type ReviewControllerUndoData = {
4244
+ /**
4245
+ * Review ID
4246
+ */
4247
+ id: string;
3468
4248
  /**
3469
- * Region code (cn, us, eu-core, de)
4249
+ * Region code for tenant context
3470
4250
  */
3471
- region: 'cn' | 'us' | 'eu-core' | 'de';
4251
+ region: 'cn' | 'us' | 'de' | 'gb';
3472
4252
  };
3473
- type ReviewController2Response = unknown;
3474
- type PayeeControllerData = {
4253
+ type ReviewControllerUndoResponse = UndoResultDto;
4254
+ type ReviewControllerBatchResolveData = {
4255
+ /**
4256
+ * Region code for tenant context
4257
+ */
4258
+ region: 'cn' | 'us' | 'de' | 'gb';
3475
4259
  /**
3476
- * Region code (cn, us, eu-core, de)
4260
+ * Batch resolution request containing review IDs and action
3477
4261
  */
3478
- region: 'cn' | 'us' | 'eu-core' | 'de';
4262
+ requestBody: BatchResolveDto;
4263
+ };
4264
+ type ReviewControllerBatchResolveResponse = BatchResolveResultDto;
4265
+ type PayeeControllerCreateData = {
4266
+ requestBody: CreatePayeeDto;
3479
4267
  };
3480
- type PayeeControllerResponse = unknown;
4268
+ type PayeeControllerCreateResponse = PayeeResponseDto;
3481
4269
  type PayeeControllerFindAllData = {
3482
4270
  /**
3483
4271
  * Filter by custom category
@@ -3491,10 +4279,6 @@ type PayeeControllerFindAllData = {
3491
4279
  * Filter by exact payee name match
3492
4280
  */
3493
4281
  payee?: string;
3494
- /**
3495
- * Region code (cn, us, eu-core, de)
3496
- */
3497
- region: 'cn' | 'us' | 'eu-core' | 'de';
3498
4282
  /**
3499
4283
  * Search term for payee name (partial match, case-insensitive). Useful for autocomplete.
3500
4284
  */
@@ -3514,10 +4298,6 @@ type PayeeControllerAutocompleteData = {
3514
4298
  * Search query for payee name (partial match, case-insensitive)
3515
4299
  */
3516
4300
  q: string;
3517
- /**
3518
- * Region code (cn, us, eu-core, de)
3519
- */
3520
- region: 'cn' | 'us' | 'eu-core' | 'de';
3521
4301
  };
3522
4302
  type PayeeControllerAutocompleteResponse = PayeeAutocompleteResponseDto;
3523
4303
  type PayeeControllerGetTopPayeesData = {
@@ -3525,10 +4305,6 @@ type PayeeControllerGetTopPayeesData = {
3525
4305
  * Maximum number of results
3526
4306
  */
3527
4307
  limit?: number;
3528
- /**
3529
- * Region code (cn, us, eu-core, de)
3530
- */
3531
- region: 'cn' | 'us' | 'eu-core' | 'de';
3532
4308
  };
3533
4309
  type PayeeControllerGetTopPayeesResponse = Array<PayeeStatsResponseDto>;
3534
4310
  type PayeeControllerFindOneData = {
@@ -3536,33 +4312,27 @@ type PayeeControllerFindOneData = {
3536
4312
  * Payee UUID
3537
4313
  */
3538
4314
  id: string;
3539
- /**
3540
- * Region code (cn, us, eu-core, de)
3541
- */
3542
- region: 'cn' | 'us' | 'eu-core' | 'de';
3543
4315
  };
3544
4316
  type PayeeControllerFindOneResponse = PayeeResponseDto;
3545
- type PayeeController1Data = {
4317
+ type PayeeControllerUpdateData = {
3546
4318
  /**
3547
- * Region code (cn, us, eu-core, de)
4319
+ * Payee UUID
3548
4320
  */
3549
- region: 'cn' | 'us' | 'eu-core' | 'de';
4321
+ id: string;
4322
+ requestBody: UpdatePayeeDto;
3550
4323
  };
3551
- type PayeeController1Response = unknown;
3552
- type PayeeController2Data = {
4324
+ type PayeeControllerUpdateResponse = PayeeResponseDto;
4325
+ type PayeeControllerDeleteData = {
3553
4326
  /**
3554
- * Region code (cn, us, eu-core, de)
4327
+ * Payee UUID
3555
4328
  */
3556
- region: 'cn' | 'us' | 'eu-core' | 'de';
4329
+ id: string;
3557
4330
  };
3558
- type PayeeController2Response = void;
3559
- type PayeeProfileAdminControllerData = {
3560
- /**
3561
- * Region code (cn, us, eu-core, de)
3562
- */
3563
- region: 'cn' | 'us' | 'eu-core' | 'de';
4331
+ type PayeeControllerDeleteResponse = void;
4332
+ type PayeeProfileAdminControllerCreateData = {
4333
+ requestBody: CreatePayeeProfileDto;
3564
4334
  };
3565
- type PayeeProfileAdminControllerResponse = unknown;
4335
+ type PayeeProfileAdminControllerCreateResponse = PayeeProfileResponseDto;
3566
4336
  type PayeeProfileAdminControllerFindAllData = {
3567
4337
  /**
3568
4338
  * Filter by category
@@ -3580,10 +4350,6 @@ type PayeeProfileAdminControllerFindAllData = {
3580
4350
  * Filter by active status (default: true - show only active)
3581
4351
  */
3582
4352
  isActive?: boolean;
3583
- /**
3584
- * Region code (cn, us, eu-core, de)
3585
- */
3586
- region: 'cn' | 'us' | 'eu-core' | 'de';
3587
4353
  /**
3588
4354
  * Search term for canonical name and aliases (case-insensitive)
3589
4355
  */
@@ -3599,52 +4365,50 @@ type PayeeProfileAdminControllerFindOneData = {
3599
4365
  * Payee profile ID (UUID)
3600
4366
  */
3601
4367
  id: string;
3602
- /**
3603
- * Region code (cn, us, eu-core, de)
3604
- */
3605
- region: 'cn' | 'us' | 'eu-core' | 'de';
3606
4368
  };
3607
4369
  type PayeeProfileAdminControllerFindOneResponse = PayeeProfileResponseDto;
3608
- type PayeeProfileAdminController1Data = {
4370
+ type PayeeProfileAdminControllerUpdateData = {
3609
4371
  /**
3610
- * Region code (cn, us, eu-core, de)
4372
+ * Payee profile ID (UUID)
3611
4373
  */
3612
- region: 'cn' | 'us' | 'eu-core' | 'de';
4374
+ id: string;
4375
+ requestBody: UpdatePayeeProfileDto;
3613
4376
  };
3614
- type PayeeProfileAdminController1Response = unknown;
3615
- type PayeeProfileAdminController2Data = {
4377
+ type PayeeProfileAdminControllerUpdateResponse = PayeeProfileResponseDto;
4378
+ type PayeeProfileAdminControllerDeleteData = {
3616
4379
  /**
3617
- * Region code (cn, us, eu-core, de)
4380
+ * Payee profile ID (UUID)
3618
4381
  */
3619
- region: 'cn' | 'us' | 'eu-core' | 'de';
4382
+ id: string;
3620
4383
  };
3621
- type PayeeProfileAdminController2Response = void;
3622
- type PayeeProfileAdminController3Data = {
4384
+ type PayeeProfileAdminControllerDeleteResponse = void;
4385
+ type PayeeProfileAdminControllerVerifyData = {
3623
4386
  /**
3624
- * Region code (cn, us, eu-core, de)
4387
+ * Payee profile ID (UUID)
3625
4388
  */
3626
- region: 'cn' | 'us' | 'eu-core' | 'de';
4389
+ id: string;
3627
4390
  };
3628
- type PayeeProfileAdminController3Response = unknown;
3629
- type PayeeProfileAdminController4Data = {
4391
+ type PayeeProfileAdminControllerVerifyResponse = PayeeProfileResponseDto;
4392
+ type PayeeProfileAdminControllerUnverifyData = {
3630
4393
  /**
3631
- * Region code (cn, us, eu-core, de)
4394
+ * Payee profile ID (UUID)
3632
4395
  */
3633
- region: 'cn' | 'us' | 'eu-core' | 'de';
4396
+ id: string;
3634
4397
  };
3635
- type PayeeProfileAdminController4Response = unknown;
3636
- type CommodityControllerData = {
4398
+ type PayeeProfileAdminControllerUnverifyResponse = PayeeProfileResponseDto;
4399
+ type CommodityControllerCreateData = {
3637
4400
  /**
3638
- * Region code (cn, us, eu-core, de)
4401
+ * Region code for tenant context
3639
4402
  */
3640
- region: 'cn' | 'us' | 'eu-core' | 'de';
4403
+ region: 'cn' | 'us' | 'de' | 'gb';
4404
+ requestBody: CreateCommodityDto;
3641
4405
  };
3642
- type CommodityControllerResponse = unknown;
4406
+ type CommodityControllerCreateResponse = CommodityResponseDto;
3643
4407
  type CommodityControllerFindAllData = {
3644
4408
  /**
3645
- * Region code (cn, us, eu-core, de)
4409
+ * Region code for tenant context
3646
4410
  */
3647
- region: 'cn' | 'us' | 'eu-core' | 'de';
4411
+ region: 'cn' | 'us' | 'de' | 'gb';
3648
4412
  /**
3649
4413
  * Search term for symbol or metadata fields (partial match). Searches symbol and metadata.name.
3650
4414
  */
@@ -3657,50 +4421,64 @@ type CommodityControllerFindAllData = {
3657
4421
  type CommodityControllerFindAllResponse = CommodityListResponseDto;
3658
4422
  type CommodityControllerFindOneData = {
3659
4423
  /**
3660
- * Region code (cn, us, eu-core, de)
4424
+ * Region code for tenant context
3661
4425
  */
3662
- region: 'cn' | 'us' | 'eu-core' | 'de';
4426
+ region: 'cn' | 'us' | 'de' | 'gb';
3663
4427
  /**
3664
4428
  * Commodity symbol
3665
4429
  */
3666
4430
  symbol: string;
3667
4431
  };
3668
4432
  type CommodityControllerFindOneResponse = CommodityResponseDto;
3669
- type CommodityController1Data = {
4433
+ type CommodityControllerUpdateData = {
3670
4434
  /**
3671
- * Region code (cn, us, eu-core, de)
4435
+ * Region code for tenant context
3672
4436
  */
3673
- region: 'cn' | 'us' | 'eu-core' | 'de';
4437
+ region: 'cn' | 'us' | 'de' | 'gb';
4438
+ requestBody: UpdateCommodityDto;
4439
+ /**
4440
+ * Commodity symbol
4441
+ */
4442
+ symbol: string;
3674
4443
  };
3675
- type CommodityController1Response = unknown;
3676
- type CommodityController2Data = {
4444
+ type CommodityControllerUpdateResponse = CommodityResponseDto;
4445
+ type CommodityControllerDeleteData = {
3677
4446
  /**
3678
- * Region code (cn, us, eu-core, de)
4447
+ * Region code for tenant context
3679
4448
  */
3680
- region: 'cn' | 'us' | 'eu-core' | 'de';
4449
+ region: 'cn' | 'us' | 'de' | 'gb';
4450
+ /**
4451
+ * Commodity symbol
4452
+ */
4453
+ symbol: string;
3681
4454
  };
3682
- type CommodityController2Response = void;
3683
- type CommodityController3Data = {
4455
+ type CommodityControllerDeleteResponse = void;
4456
+ type CommodityControllerGetOrCreateData = {
3684
4457
  /**
3685
- * Region code (cn, us, eu-core, de)
4458
+ * Region code for tenant context
3686
4459
  */
3687
- region: 'cn' | 'us' | 'eu-core' | 'de';
4460
+ region: 'cn' | 'us' | 'de' | 'gb';
4461
+ /**
4462
+ * Commodity symbol
4463
+ */
4464
+ symbol: string;
3688
4465
  };
3689
- type CommodityController3Response = unknown;
3690
- type CommodityController4Data = {
4466
+ type CommodityControllerGetOrCreateResponse = CommodityResponseDto;
4467
+ type CommodityControllerBulkCreateData = {
3691
4468
  /**
3692
- * Region code (cn, us, eu-core, de)
4469
+ * Region code for tenant context
3693
4470
  */
3694
- region: 'cn' | 'us' | 'eu-core' | 'de';
4471
+ region: 'cn' | 'us' | 'de' | 'gb';
3695
4472
  };
3696
- type CommodityController4Response = unknown;
3697
- type RecurringRuleControllerData = {
4473
+ type CommodityControllerBulkCreateResponse = Array<CommodityResponseDto>;
4474
+ type RecurringRuleControllerCreateData = {
3698
4475
  /**
3699
- * Region code (cn, us, eu-core, de)
4476
+ * Region code for tenant context
3700
4477
  */
3701
- region: 'cn' | 'us' | 'eu-core' | 'de';
4478
+ region: 'cn' | 'us' | 'de' | 'gb';
4479
+ requestBody: CreateRecurringRuleDto;
3702
4480
  };
3703
- type RecurringRuleControllerResponse = unknown;
4481
+ type RecurringRuleControllerCreateResponse = RecurringRuleResponseDto;
3704
4482
  type RecurringRuleControllerFindAllData = {
3705
4483
  /**
3706
4484
  * Filter by frequency (WEEKLY, MONTHLY, etc.)
@@ -3715,52 +4493,66 @@ type RecurringRuleControllerFindAllData = {
3715
4493
  */
3716
4494
  isActive?: boolean;
3717
4495
  /**
3718
- * Region code (cn, us, eu-core, de)
4496
+ * Region code for tenant context
3719
4497
  */
3720
- region: 'cn' | 'us' | 'eu-core' | 'de';
4498
+ region: 'cn' | 'us' | 'de' | 'gb';
3721
4499
  };
3722
4500
  type RecurringRuleControllerFindAllResponse = Array<RecurringRuleResponseDto>;
3723
- type RecurringRuleController1Data = {
4501
+ type RecurringRuleControllerCreateFromTransactionData = {
4502
+ /**
4503
+ * Region code for tenant context
4504
+ */
4505
+ region: 'cn' | 'us' | 'de' | 'gb';
4506
+ requestBody: CreateRuleFromTransactionDto;
3724
4507
  /**
3725
- * Region code (cn, us, eu-core, de)
4508
+ * Source transaction ID
3726
4509
  */
3727
- region: 'cn' | 'us' | 'eu-core' | 'de';
4510
+ transactionId: string;
3728
4511
  };
3729
- type RecurringRuleController1Response = unknown;
4512
+ type RecurringRuleControllerCreateFromTransactionResponse = RecurringRuleResponseDto;
3730
4513
  type RecurringRuleControllerFindOneData = {
3731
4514
  /**
3732
4515
  * Rule ID
3733
4516
  */
3734
4517
  id: string;
3735
4518
  /**
3736
- * Region code (cn, us, eu-core, de)
4519
+ * Region code for tenant context
3737
4520
  */
3738
- region: 'cn' | 'us' | 'eu-core' | 'de';
4521
+ region: 'cn' | 'us' | 'de' | 'gb';
3739
4522
  };
3740
4523
  type RecurringRuleControllerFindOneResponse = RecurringRuleResponseDto;
3741
- type RecurringRuleController2Data = {
4524
+ type RecurringRuleControllerUpdateData = {
3742
4525
  /**
3743
- * Region code (cn, us, eu-core, de)
4526
+ * Rule ID
3744
4527
  */
3745
- region: 'cn' | 'us' | 'eu-core' | 'de';
4528
+ id: string;
4529
+ /**
4530
+ * Region code for tenant context
4531
+ */
4532
+ region: 'cn' | 'us' | 'de' | 'gb';
4533
+ requestBody: UpdateRecurringRuleDto;
3746
4534
  };
3747
- type RecurringRuleController2Response = unknown;
3748
- type RecurringRuleController3Data = {
4535
+ type RecurringRuleControllerUpdateResponse = RecurringRuleResponseDto;
4536
+ type RecurringRuleControllerDeleteData = {
4537
+ /**
4538
+ * Rule ID
4539
+ */
4540
+ id: string;
3749
4541
  /**
3750
- * Region code (cn, us, eu-core, de)
4542
+ * Region code for tenant context
3751
4543
  */
3752
- region: 'cn' | 'us' | 'eu-core' | 'de';
4544
+ region: 'cn' | 'us' | 'de' | 'gb';
3753
4545
  };
3754
- type RecurringRuleController3Response = void;
4546
+ type RecurringRuleControllerDeleteResponse = void;
3755
4547
  type RecurringRuleControllerGetWithStatsData = {
3756
4548
  /**
3757
4549
  * Rule ID
3758
4550
  */
3759
4551
  id: string;
3760
4552
  /**
3761
- * Region code (cn, us, eu-core, de)
4553
+ * Region code for tenant context
3762
4554
  */
3763
- region: 'cn' | 'us' | 'eu-core' | 'de';
4555
+ region: 'cn' | 'us' | 'de' | 'gb';
3764
4556
  };
3765
4557
  type RecurringRuleControllerGetWithStatsResponse = RecurringRuleWithStatsResponseDto;
3766
4558
  type ExpectedTransactionControllerFindAllData = {
@@ -3769,9 +4561,9 @@ type ExpectedTransactionControllerFindAllData = {
3769
4561
  */
3770
4562
  fromDate?: string;
3771
4563
  /**
3772
- * Region code (cn, us, eu-core, de)
4564
+ * Region code for tenant context
3773
4565
  */
3774
- region: 'cn' | 'us' | 'eu-core' | 'de';
4566
+ region: 'cn' | 'us' | 'de' | 'gb';
3775
4567
  /**
3776
4568
  * Filter by recurring rule ID
3777
4569
  */
@@ -3788,9 +4580,9 @@ type ExpectedTransactionControllerFindAllData = {
3788
4580
  type ExpectedTransactionControllerFindAllResponse = ExpectedTransactionListResponseDto;
3789
4581
  type ExpectedTransactionControllerFindOverdueData = {
3790
4582
  /**
3791
- * Region code (cn, us, eu-core, de)
4583
+ * Region code for tenant context
3792
4584
  */
3793
- region: 'cn' | 'us' | 'eu-core' | 'de';
4585
+ region: 'cn' | 'us' | 'de' | 'gb';
3794
4586
  };
3795
4587
  type ExpectedTransactionControllerFindOverdueResponse = ExpectedTransactionListResponseDto;
3796
4588
  type ExpectedTransactionControllerFindOneData = {
@@ -3799,64 +4591,87 @@ type ExpectedTransactionControllerFindOneData = {
3799
4591
  */
3800
4592
  id: string;
3801
4593
  /**
3802
- * Region code (cn, us, eu-core, de)
4594
+ * Region code for tenant context
3803
4595
  */
3804
- region: 'cn' | 'us' | 'eu-core' | 'de';
4596
+ region: 'cn' | 'us' | 'de' | 'gb';
3805
4597
  };
3806
4598
  type ExpectedTransactionControllerFindOneResponse = ExpectedTransactionResponseDto;
3807
- type ExpectedTransactionControllerData = {
4599
+ type ExpectedTransactionControllerSkipData = {
3808
4600
  /**
3809
- * Region code (cn, us, eu-core, de)
4601
+ * Expected transaction ID
3810
4602
  */
3811
- region: 'cn' | 'us' | 'eu-core' | 'de';
4603
+ id: string;
4604
+ /**
4605
+ * Region code for tenant context
4606
+ */
4607
+ region: 'cn' | 'us' | 'de' | 'gb';
3812
4608
  };
3813
- type ExpectedTransactionControllerResponse = unknown;
3814
- type ExpectedTransactionController1Data = {
4609
+ type ExpectedTransactionControllerSkipResponse = ExpectedTransactionResponseDto;
4610
+ type ExpectedTransactionControllerUndoSkipData = {
3815
4611
  /**
3816
- * Region code (cn, us, eu-core, de)
4612
+ * Expected transaction ID
3817
4613
  */
3818
- region: 'cn' | 'us' | 'eu-core' | 'de';
4614
+ id: string;
4615
+ /**
4616
+ * Region code for tenant context
4617
+ */
4618
+ region: 'cn' | 'us' | 'de' | 'gb';
3819
4619
  };
3820
- type ExpectedTransactionController1Response = unknown;
3821
- type ExpectedTransactionController2Data = {
4620
+ type ExpectedTransactionControllerUndoSkipResponse = ExpectedTransactionResponseDto;
4621
+ type ExpectedTransactionControllerConfirmMatchData = {
3822
4622
  /**
3823
- * Region code (cn, us, eu-core, de)
4623
+ * Expected transaction ID
3824
4624
  */
3825
- region: 'cn' | 'us' | 'eu-core' | 'de';
4625
+ id: string;
4626
+ /**
4627
+ * Region code for tenant context
4628
+ */
4629
+ region: 'cn' | 'us' | 'de' | 'gb';
4630
+ requestBody: ConfirmMatchDto;
3826
4631
  };
3827
- type ExpectedTransactionController2Response = unknown;
3828
- type ExpectedTransactionController3Data = {
4632
+ type ExpectedTransactionControllerConfirmMatchResponse = unknown;
4633
+ type ExpectedTransactionControllerUnmatchData = {
3829
4634
  /**
3830
- * Region code (cn, us, eu-core, de)
4635
+ * Expected transaction ID
3831
4636
  */
3832
- region: 'cn' | 'us' | 'eu-core' | 'de';
4637
+ id: string;
4638
+ /**
4639
+ * Region code for tenant context
4640
+ */
4641
+ region: 'cn' | 'us' | 'de' | 'gb';
3833
4642
  };
3834
- type ExpectedTransactionController3Response = unknown;
3835
- type ExpectedTransactionController4Data = {
4643
+ type ExpectedTransactionControllerUnmatchResponse = unknown;
4644
+ type ExpectedTransactionControllerEnterNowData = {
4645
+ /**
4646
+ * Expected transaction ID
4647
+ */
4648
+ id: string;
3836
4649
  /**
3837
- * Region code (cn, us, eu-core, de)
4650
+ * Region code for tenant context
3838
4651
  */
3839
- region: 'cn' | 'us' | 'eu-core' | 'de';
4652
+ region: 'cn' | 'us' | 'de' | 'gb';
4653
+ requestBody: EnterNowDto;
3840
4654
  };
3841
- type ExpectedTransactionController4Response = unknown;
4655
+ type ExpectedTransactionControllerEnterNowResponse = unknown;
3842
4656
  type ForecastControllerGetForecastData = {
3843
4657
  /**
3844
4658
  * Number of months to forecast (1-12, default 3)
3845
4659
  */
3846
4660
  months?: number;
3847
4661
  /**
3848
- * Region code (cn, us, eu-core, de)
4662
+ * Region code for tenant context
3849
4663
  */
3850
- region: 'cn' | 'us' | 'eu-core' | 'de';
4664
+ region: 'cn' | 'us' | 'de' | 'gb';
3851
4665
  };
3852
4666
  type ForecastControllerGetForecastResponse = ForecastResponseDto;
3853
- type TransactionRuleControllerData = {
4667
+ type TransactionRuleControllerCreateData = {
3854
4668
  /**
3855
- * Region code (cn, us, eu-core, de)
4669
+ * Region code for tenant context
3856
4670
  */
3857
- region: 'cn' | 'us' | 'eu-core' | 'de';
4671
+ region: 'cn' | 'us' | 'de' | 'gb';
4672
+ requestBody: CreateTransactionRuleDto;
3858
4673
  };
3859
- type TransactionRuleControllerResponse = unknown;
4674
+ type TransactionRuleControllerCreateResponse = TransactionRuleResponseDto;
3860
4675
  type TransactionRuleControllerListData = {
3861
4676
  /**
3862
4677
  * Filter by auto-apply status
@@ -3879,35 +4694,36 @@ type TransactionRuleControllerListData = {
3879
4694
  */
3880
4695
  offset?: number;
3881
4696
  /**
3882
- * Region code (cn, us, eu-core, de)
4697
+ * Region code for tenant context
3883
4698
  */
3884
- region: 'cn' | 'us' | 'eu-core' | 'de';
4699
+ region: 'cn' | 'us' | 'de' | 'gb';
3885
4700
  };
3886
4701
  type TransactionRuleControllerListResponse = TransactionRuleListResponseDto;
3887
4702
  type TransactionRuleControllerValidateData = {
3888
4703
  /**
3889
- * Region code (cn, us, eu-core, de)
4704
+ * Region code for tenant context
3890
4705
  */
3891
- region: 'cn' | 'us' | 'eu-core' | 'de';
4706
+ region: 'cn' | 'us' | 'de' | 'gb';
3892
4707
  requestBody: ValidateRuleDto;
3893
4708
  };
3894
4709
  type TransactionRuleControllerValidateResponse = ValidateRuleResponseDto;
3895
- type TransactionRuleController1Data = {
4710
+ type TransactionRuleControllerBulkCreateData = {
3896
4711
  /**
3897
- * Region code (cn, us, eu-core, de)
4712
+ * Region code for tenant context
3898
4713
  */
3899
- region: 'cn' | 'us' | 'eu-core' | 'de';
4714
+ region: 'cn' | 'us' | 'de' | 'gb';
4715
+ requestBody: BulkCreateRulesDto;
3900
4716
  };
3901
- type TransactionRuleController1Response = unknown;
4717
+ type TransactionRuleControllerBulkCreateResponse = BulkCreateRulesResponseDto;
3902
4718
  type TransactionRuleControllerExportData = {
3903
4719
  /**
3904
4720
  * Export format (currently only JSON supported)
3905
4721
  */
3906
4722
  format: 'json';
3907
4723
  /**
3908
- * Region code (cn, us, eu-core, de)
4724
+ * Region code for tenant context
3909
4725
  */
3910
- region: 'cn' | 'us' | 'eu-core' | 'de';
4726
+ region: 'cn' | 'us' | 'de' | 'gb';
3911
4727
  };
3912
4728
  type TransactionRuleControllerExportResponse = ExportRulesResponseDto;
3913
4729
  type TransactionRuleControllerGetStatisticsData = {
@@ -3916,41 +4732,50 @@ type TransactionRuleControllerGetStatisticsData = {
3916
4732
  */
3917
4733
  period: '7d' | '30d' | '90d';
3918
4734
  /**
3919
- * Region code (cn, us, eu-core, de)
4735
+ * Region code for tenant context
3920
4736
  */
3921
- region: 'cn' | 'us' | 'eu-core' | 'de';
4737
+ region: 'cn' | 'us' | 'de' | 'gb';
3922
4738
  };
3923
4739
  type TransactionRuleControllerGetStatisticsResponse = RuleStatisticsResponseDto;
3924
4740
  type TransactionRuleControllerGetDetailData = {
3925
4741
  /**
3926
- * Region code (cn, us, eu-core, de)
4742
+ * Region code for tenant context
3927
4743
  */
3928
- region: 'cn' | 'us' | 'eu-core' | 'de';
4744
+ region: 'cn' | 'us' | 'de' | 'gb';
3929
4745
  /**
3930
4746
  * Rule ID
3931
4747
  */
3932
4748
  ruleId: string;
3933
4749
  };
3934
4750
  type TransactionRuleControllerGetDetailResponse = TransactionRuleResponseDto;
3935
- type TransactionRuleController2Data = {
4751
+ type TransactionRuleControllerUpdateData = {
4752
+ /**
4753
+ * Region code for tenant context
4754
+ */
4755
+ region: 'cn' | 'us' | 'de' | 'gb';
4756
+ requestBody: UpdateTransactionRuleDto;
3936
4757
  /**
3937
- * Region code (cn, us, eu-core, de)
4758
+ * Rule ID to update
3938
4759
  */
3939
- region: 'cn' | 'us' | 'eu-core' | 'de';
4760
+ ruleId: string;
3940
4761
  };
3941
- type TransactionRuleController2Response = unknown;
3942
- type TransactionRuleController3Data = {
4762
+ type TransactionRuleControllerUpdateResponse = TransactionRuleResponseDto;
4763
+ type TransactionRuleControllerDeleteData = {
4764
+ /**
4765
+ * Region code for tenant context
4766
+ */
4767
+ region: 'cn' | 'us' | 'de' | 'gb';
3943
4768
  /**
3944
- * Region code (cn, us, eu-core, de)
4769
+ * Rule ID to delete
3945
4770
  */
3946
- region: 'cn' | 'us' | 'eu-core' | 'de';
4771
+ ruleId: string;
3947
4772
  };
3948
- type TransactionRuleController3Response = void;
4773
+ type TransactionRuleControllerDeleteResponse = void;
3949
4774
  type TransactionRuleControllerTestData = {
3950
4775
  /**
3951
- * Region code (cn, us, eu-core, de)
4776
+ * Region code for tenant context
3952
4777
  */
3953
- region: 'cn' | 'us' | 'eu-core' | 'de';
4778
+ region: 'cn' | 'us' | 'de' | 'gb';
3954
4779
  requestBody: TestRuleDto;
3955
4780
  /**
3956
4781
  * Rule ID to test
@@ -3959,26 +4784,14 @@ type TransactionRuleControllerTestData = {
3959
4784
  };
3960
4785
  type TransactionRuleControllerTestResponse = TestRuleResponseDto;
3961
4786
  type UserControllerDeleteOwnUserData = {
3962
- /**
3963
- * Region code (cn, us, eu-core, de)
3964
- */
3965
- region: 'cn' | 'us' | 'eu-core' | 'de';
3966
4787
  requestBody: DeleteOwnUserDto;
3967
4788
  };
3968
4789
  type UserControllerDeleteOwnUserResponse = void;
3969
4790
  type UserControllerGetUserData = {
3970
4791
  acceptLanguage: string;
3971
- /**
3972
- * Region code (cn, us, eu-core, de)
3973
- */
3974
- region: 'cn' | 'us' | 'eu-core' | 'de';
3975
4792
  };
3976
4793
  type UserControllerGetUserResponse = unknown;
3977
4794
  type UserControllerSignupUserData = {
3978
- /**
3979
- * Region code (cn, us, eu-core, de)
3980
- */
3981
- region: 'cn' | 'us' | 'eu-core' | 'de';
3982
4795
  requestBody: SignupDto;
3983
4796
  };
3984
4797
  type UserControllerSignupUserResponse = unknown;
@@ -3987,10 +4800,6 @@ type UserControllerDeleteUserData = {
3987
4800
  * User ID to delete
3988
4801
  */
3989
4802
  id: string;
3990
- /**
3991
- * Region code (cn, us, eu-core, de)
3992
- */
3993
- region: 'cn' | 'us' | 'eu-core' | 'de';
3994
4803
  };
3995
4804
  type UserControllerDeleteUserResponse = void;
3996
4805
  type UserControllerGetUserInfoData = {
@@ -3998,17 +4807,9 @@ type UserControllerGetUserInfoData = {
3998
4807
  * User ID
3999
4808
  */
4000
4809
  id: string;
4001
- /**
4002
- * Region code (cn, us, eu-core, de)
4003
- */
4004
- region: 'cn' | 'us' | 'eu-core' | 'de';
4005
4810
  };
4006
4811
  type UserControllerGetUserInfoResponse = unknown;
4007
4812
  type UserControllerUpdateUserSettingData = {
4008
- /**
4009
- * Region code (cn, us, eu-core, de)
4010
- */
4011
- region: 'cn' | 'us' | 'eu-core' | 'de';
4012
4813
  requestBody: UpdateUserSettingDto;
4013
4814
  };
4014
4815
  type UserControllerUpdateUserSettingResponse = unknown;
@@ -4021,60 +4822,42 @@ type UserControllerGetAllUserSettingsByPageData = {
4021
4822
  * Page size
4022
4823
  */
4023
4824
  pageSize: number;
4024
- /**
4025
- * Region code (cn, us, eu-core, de)
4026
- */
4027
- region: 'cn' | 'us' | 'eu-core' | 'de';
4028
4825
  };
4029
4826
  type UserControllerGetAllUserSettingsByPageResponse = unknown;
4030
- type UserControllerGetAssetLiabilitySummaryData = {
4031
- /**
4032
- * Region code (cn, us, eu-core, de)
4033
- */
4034
- region: 'cn' | 'us' | 'eu-core' | 'de';
4035
- };
4036
4827
  type UserControllerGetAssetLiabilitySummaryResponse = unknown;
4037
- type PropertyControllerGetAllData = {
4038
- /**
4039
- * Region code (cn, us, eu-core, de)
4040
- */
4041
- region: 'cn' | 'us' | 'eu-core' | 'de';
4042
- };
4043
4828
  type PropertyControllerGetAllResponse = unknown;
4044
4829
  type PropertyControllerGetByKeyData = {
4045
4830
  /**
4046
4831
  * Property key
4047
4832
  */
4048
4833
  key: string;
4049
- /**
4050
- * Region code (cn, us, eu-core, de)
4051
- */
4052
- region: 'cn' | 'us' | 'eu-core' | 'de';
4053
4834
  };
4054
4835
  type PropertyControllerGetByKeyResponse = unknown;
4055
- type PropertyControllerData = {
4836
+ type PropertyControllerUpdateData = {
4056
4837
  /**
4057
- * Region code (cn, us, eu-core, de)
4838
+ * Property key
4058
4839
  */
4059
- region: 'cn' | 'us' | 'eu-core' | 'de';
4840
+ key: string;
4841
+ requestBody: UpdatePropertyDto;
4060
4842
  };
4061
- type PropertyControllerResponse = unknown;
4062
- type PropertyController1Data = {
4843
+ type PropertyControllerUpdateResponse = unknown;
4844
+ type PropertyControllerDeleteData = {
4063
4845
  /**
4064
- * Region code (cn, us, eu-core, de)
4846
+ * Property key
4065
4847
  */
4066
- region: 'cn' | 'us' | 'eu-core' | 'de';
4848
+ key: string;
4067
4849
  };
4068
- type PropertyController1Response = void;
4850
+ type PropertyControllerDeleteResponse = void;
4851
+ type ExportControllerExportBeancountResponse = unknown;
4069
4852
  type FileImportControllerImportFileData = {
4070
4853
  /**
4071
4854
  * Bill file to import
4072
4855
  */
4073
4856
  formData: FileImportDto;
4074
4857
  /**
4075
- * Region code (cn, us, eu-core, de)
4858
+ * Region code for tenant context
4076
4859
  */
4077
- region: 'cn' | 'us' | 'eu-core' | 'de';
4860
+ region: 'cn' | 'us' | 'de' | 'gb';
4078
4861
  };
4079
4862
  type FileImportControllerImportFileResponse = ImportResultDto;
4080
4863
  type FileImportControllerIdentifyFileData = {
@@ -4083,41 +4866,104 @@ type FileImportControllerIdentifyFileData = {
4083
4866
  */
4084
4867
  formData: FileImportDto;
4085
4868
  /**
4086
- * Region code (cn, us, eu-core, de)
4869
+ * Region code for tenant context
4087
4870
  */
4088
- region: 'cn' | 'us' | 'eu-core' | 'de';
4871
+ region: 'cn' | 'us' | 'de' | 'gb';
4089
4872
  };
4090
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
+ };
4091
4893
  type ImporterConfigControllerGetConfigData = {
4092
4894
  /**
4093
- * 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
4094
4896
  */
4095
4897
  importerId: string;
4096
4898
  /**
4097
- * Region code (cn, us, eu-core, de)
4899
+ * Region code for tenant context
4098
4900
  */
4099
- region: 'cn' | 'us' | 'eu-core' | 'de';
4901
+ region: 'cn' | 'us' | 'de' | 'gb';
4100
4902
  };
4101
4903
  type ImporterConfigControllerGetConfigResponse = ImporterConfigDto;
4102
- type ImporterConfigControllerData = {
4904
+ type ImporterConfigControllerUpdateConfigData = {
4103
4905
  /**
4104
- * Region code (cn, us, eu-core, 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
4105
4907
  */
4106
- region: 'cn' | 'us' | 'eu-core' | 'de';
4908
+ importerId: string;
4909
+ /**
4910
+ * Region code for tenant context
4911
+ */
4912
+ region: 'cn' | 'us' | 'de' | 'gb';
4913
+ /**
4914
+ * Partial configuration update. Only provided fields will be updated.
4915
+ */
4916
+ requestBody: UpdateImporterConfigDto;
4917
+ };
4918
+ type ImporterConfigControllerUpdateConfigResponse = ImporterConfigDto;
4919
+ type ImporterConfigControllerResetConfigData = {
4920
+ /**
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;
4107
4933
  };
4108
- type ImporterConfigControllerResponse = unknown;
4109
- type ImporterConfigController1Data = {
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;
4110
4941
  /**
4111
- * Region code (cn, us, eu-core, de)
4942
+ * Region code for category override lookup
4112
4943
  */
4113
- region: 'cn' | 'us' | 'eu-core' | 'de';
4944
+ region?: string;
4114
4945
  };
4115
- type ImporterConfigController1Response = unknown;
4946
+ type PlatformControllerMatchPlatformsResponse = unknown;
4947
+ type PlatformControllerUpdateData = {
4948
+ /**
4949
+ * Platform ID
4950
+ */
4951
+ id: string;
4952
+ requestBody: UpdatePlatformDto;
4953
+ };
4954
+ type PlatformControllerUpdateResponse = unknown;
4955
+ type PlatformControllerDeleteData = {
4956
+ /**
4957
+ * Platform ID
4958
+ */
4959
+ id: string;
4960
+ };
4961
+ type PlatformControllerDeleteResponse = void;
4116
4962
  type ProviderSyncControllerSyncData = {
4117
4963
  /**
4118
4964
  * Provider name
4119
4965
  */
4120
- providerName: 'plaid' | 'teller' | 'truelayer' | 'gocardless' | 'simplefin' | 'yodlee' | 'beancount-direct';
4966
+ providerName: 'plaid' | 'teller' | 'truelayer' | 'gocardless' | 'simplefin' | 'yodlee' | 'beancount-direct' | 'parsed-bill';
4121
4967
  /**
4122
4968
  * Region code
4123
4969
  */
@@ -4127,9 +4973,9 @@ type ProviderSyncControllerSyncData = {
4127
4973
  type ProviderSyncControllerSyncResponse = ProviderSyncResponseDto;
4128
4974
  type ProviderSyncControllerGetSupportedProvidersData = {
4129
4975
  /**
4130
- * Region code (cn, us, eu-core, de)
4976
+ * Region code for tenant context
4131
4977
  */
4132
- region: 'cn' | 'us' | 'eu-core' | 'de';
4978
+ region: 'cn' | 'us' | 'de' | 'gb';
4133
4979
  };
4134
4980
  type ProviderSyncControllerGetSupportedProvidersResponse = SupportedProvidersResponseDto;
4135
4981
  type ProviderSyncControllerIsProviderSupportedData = {
@@ -4138,16 +4984,24 @@ type ProviderSyncControllerIsProviderSupportedData = {
4138
4984
  */
4139
4985
  providerName: string;
4140
4986
  /**
4141
- * Region code (cn, us, eu-core, de)
4987
+ * Region code for tenant context
4142
4988
  */
4143
- region: 'cn' | 'us' | 'eu-core' | 'de';
4989
+ region: 'cn' | 'us' | 'de' | 'gb';
4144
4990
  };
4145
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;
4146
5000
  type NlpControllerProcessNaturalLanguageData = {
4147
5001
  /**
4148
- * Region code (cn, us, eu-core, de)
5002
+ * Region code for tenant context
4149
5003
  */
4150
- region: 'cn' | 'us' | 'eu-core' | 'de';
5004
+ region: 'cn' | 'us' | 'de' | 'gb';
4151
5005
  /**
4152
5006
  * Natural language transaction input with optional session ID
4153
5007
  */
@@ -4156,9 +5010,9 @@ type NlpControllerProcessNaturalLanguageData = {
4156
5010
  type NlpControllerProcessNaturalLanguageResponse = NlpResponseDto;
4157
5011
  type NlpControllerClearSessionData = {
4158
5012
  /**
4159
- * Region code (cn, us, eu-core, de)
5013
+ * Region code for tenant context
4160
5014
  */
4161
- region: 'cn' | 'us' | 'eu-core' | 'de';
5015
+ region: 'cn' | 'us' | 'de' | 'gb';
4162
5016
  /**
4163
5017
  * Specific session ID to clear (defaults to user session)
4164
5018
  */
@@ -4167,138 +5021,24 @@ type NlpControllerClearSessionData = {
4167
5021
  type NlpControllerClearSessionResponse = void;
4168
5022
  type NlpControllerGetSessionData = {
4169
5023
  /**
4170
- * Region code (cn, us, eu-core, de)
5024
+ * Region code for tenant context
4171
5025
  */
4172
- region: 'cn' | 'us' | 'eu-core' | 'de';
5026
+ region: 'cn' | 'us' | 'de' | 'gb';
4173
5027
  /**
4174
5028
  * Specific session ID to get (defaults to user session)
4175
5029
  */
4176
5030
  sessionId?: string;
4177
5031
  };
4178
5032
  type NlpControllerGetSessionResponse = unknown;
4179
- type PlatformControllerFindAllData = {
4180
- /**
4181
- * Region code (cn, us, eu-core, de)
4182
- */
4183
- region: 'cn' | 'us' | 'eu-core' | 'de';
4184
- };
4185
- type PlatformControllerFindAllResponse = unknown;
4186
- type PlatformControllerData = {
4187
- /**
4188
- * Region code (cn, us, eu-core, de)
4189
- */
4190
- region: 'cn' | 'us' | 'eu-core' | 'de';
4191
- };
4192
- type PlatformControllerResponse = unknown;
4193
- type PlatformControllerGetPlatformListData = {
4194
- /**
4195
- * Region code (cn, us, eu-core, de)
4196
- */
4197
- region: 'cn' | 'us' | 'eu-core' | 'de';
4198
- };
4199
- type PlatformControllerGetPlatformListResponse = unknown;
4200
- type PlatformController1Data = {
4201
- /**
4202
- * Region code (cn, us, eu-core, de)
4203
- */
4204
- region: 'cn' | 'us' | 'eu-core' | 'de';
4205
- };
4206
- type PlatformController1Response = unknown;
4207
- type PlatformController2Data = {
4208
- /**
4209
- * Region code (cn, us, eu-core, de)
4210
- */
4211
- region: 'cn' | 'us' | 'eu-core' | 'de';
4212
- };
4213
- type PlatformController2Response = void;
4214
- type SymbolControllerLookupSymbolData = {
4215
- /**
4216
- * Geographic area filter (e.g., CN, US)
4217
- */
4218
- area?: unknown;
4219
- /**
4220
- * Asset class filter
4221
- */
4222
- assetClass?: unknown;
4223
- /**
4224
- * Asset sub-class filter
4225
- */
4226
- assetSubClass?: unknown;
4227
- /**
4228
- * Include index symbols in results
4229
- */
4230
- includeIndices?: unknown;
4231
- /**
4232
- * Search query string
4233
- */
4234
- query?: unknown;
4235
- /**
4236
- * Region code (cn, us, eu-core, de)
4237
- */
4238
- region: 'cn' | 'us' | 'eu-core' | 'de';
4239
- };
4240
- type SymbolControllerLookupSymbolResponse = unknown;
4241
- type SymbolControllerGetSymbolDataData = {
4242
- /**
4243
- * Data source provider
4244
- */
4245
- dataSource: 'ALPHA_VANTAGE' | 'EOD_HISTORICAL_DATA' | 'FINANCIAL_MODELING_PREP' | 'MANUAL' | 'RAPID_API' | 'YAHOO' | 'COINGECKO' | 'TUSHARE' | 'BLOOMBERG' | 'CSI' | 'STOOQ' | 'TRADING_VIEW';
4246
- /**
4247
- * Include historical price data (0 or 1)
4248
- */
4249
- includeHistoricalData?: unknown;
4250
- /**
4251
- * Region code (cn, us, eu-core, de)
4252
- */
4253
- region: 'cn' | 'us' | 'eu-core' | 'de';
4254
- /**
4255
- * Symbol identifier (e.g., ticker code)
4256
- */
4257
- symbol: string;
4258
- };
4259
- type SymbolControllerGetSymbolDataResponse = unknown;
4260
- type SymbolControllerGatherSymbolForDateData = {
4261
- /**
4262
- * Data source provider
4263
- */
4264
- dataSource: 'ALPHA_VANTAGE' | 'EOD_HISTORICAL_DATA' | 'FINANCIAL_MODELING_PREP' | 'MANUAL' | 'RAPID_API' | 'YAHOO' | 'COINGECKO' | 'TUSHARE' | 'BLOOMBERG' | 'CSI' | 'STOOQ' | 'TRADING_VIEW';
4265
- /**
4266
- * Date in ISO 8601 format (YYYY-MM-DD)
4267
- */
4268
- dateString: string;
4269
- /**
4270
- * Region code (cn, us, eu-core, de)
4271
- */
4272
- region: 'cn' | 'us' | 'eu-core' | 'de';
4273
- /**
4274
- * Symbol identifier (e.g., ticker code)
4275
- */
4276
- symbol: string;
4277
- };
4278
- type SymbolControllerGatherSymbolForDateResponse = unknown;
4279
- type SymbolControllerData = {
4280
- /**
4281
- * Region code (cn, us, eu-core, de)
4282
- */
4283
- region: 'cn' | 'us' | 'eu-core' | 'de';
4284
- };
4285
- type SymbolControllerResponse = unknown;
4286
- type CacheControllerFlushCacheData = {
4287
- /**
4288
- * Region code (cn, us, eu-core, de)
4289
- */
4290
- region: 'cn' | 'us' | 'eu-core' | 'de';
4291
- };
4292
- type CacheControllerFlushCacheResponse = unknown;
4293
5033
  type DashboardControllerGetNetWorthData = {
4294
5034
  /**
4295
5035
  * Date for balance calculation (ISO 8601 format)
4296
5036
  */
4297
5037
  date?: string;
4298
5038
  /**
4299
- * Region code (cn, us, eu-core, de)
5039
+ * Region code for tenant context
4300
5040
  */
4301
- region: 'cn' | 'us' | 'eu-core' | 'de';
5041
+ region: 'cn' | 'us' | 'de' | 'gb';
4302
5042
  };
4303
5043
  type DashboardControllerGetNetWorthResponse = NetWorthResponseDto;
4304
5044
  type DashboardControllerGetAccountsData = {
@@ -4311,9 +5051,9 @@ type DashboardControllerGetAccountsData = {
4311
5051
  */
4312
5052
  groupBy?: 'platform' | 'assetClass';
4313
5053
  /**
4314
- * Region code (cn, us, eu-core, de)
5054
+ * Region code for tenant context
4315
5055
  */
4316
- region: 'cn' | 'us' | 'eu-core' | 'de';
5056
+ region: 'cn' | 'us' | 'de' | 'gb';
4317
5057
  };
4318
5058
  type DashboardControllerGetAccountsResponse = AccountsResponseDto | AssetClassAccountsResponseDto;
4319
5059
  type DashboardControllerGetCashFlowData = {
@@ -4322,9 +5062,9 @@ type DashboardControllerGetCashFlowData = {
4322
5062
  */
4323
5063
  period: string;
4324
5064
  /**
4325
- * Region code (cn, us, eu-core, de)
5065
+ * Region code for tenant context
4326
5066
  */
4327
- region: 'cn' | 'us' | 'eu-core' | 'de';
5067
+ region: 'cn' | 'us' | 'de' | 'gb';
4328
5068
  };
4329
5069
  type DashboardControllerGetCashFlowResponse = CashFlowResponseDto;
4330
5070
  type ReportingControllerGetPortfolioTrendsData = {
@@ -4337,16 +5077,16 @@ type ReportingControllerGetPortfolioTrendsData = {
4337
5077
  */
4338
5078
  period?: '1m' | '3m' | '6m' | '1y';
4339
5079
  /**
4340
- * Region code (cn, us, eu-core, de)
5080
+ * Region code for tenant context
4341
5081
  */
4342
- region: 'cn' | 'us' | 'eu-core' | 'de';
5082
+ region: 'cn' | 'us' | 'de' | 'gb';
4343
5083
  };
4344
5084
  type ReportingControllerGetPortfolioTrendsResponse = PortfolioTrendsResponseDto;
4345
5085
  type ReportingControllerGenerateSnapshotData = {
4346
5086
  /**
4347
- * Region code (cn, us, eu-core, de)
5087
+ * Region code for tenant context
4348
5088
  */
4349
- region: 'cn' | 'us' | 'eu-core' | 'de';
5089
+ region: 'cn' | 'us' | 'de' | 'gb';
4350
5090
  /**
4351
5091
  * Optional date (defaults to today)
4352
5092
  */
@@ -4355,172 +5095,43 @@ type ReportingControllerGenerateSnapshotData = {
4355
5095
  type ReportingControllerGenerateSnapshotResponse = GenerateSnapshotResponse;
4356
5096
  type ReportingControllerBackfillSnapshotsData = {
4357
5097
  /**
4358
- * Region code (cn, us, eu-core, de)
5098
+ * Region code for tenant context
4359
5099
  */
4360
- region: 'cn' | 'us' | 'eu-core' | 'de';
5100
+ region: 'cn' | 'us' | 'de' | 'gb';
4361
5101
  requestBody: BackfillSnapshotsBody;
4362
5102
  };
4363
5103
  type ReportingControllerBackfillSnapshotsResponse = BackfillSnapshotsResponse;
4364
- type ApiKeysControllerData = {
4365
- /**
4366
- * Region code (cn, us, eu-core, de)
4367
- */
4368
- region: 'cn' | 'us' | 'eu-core' | 'de';
4369
- };
4370
- type ApiKeysControllerResponse = unknown;
5104
+ type ApiKeysControllerCreateApiKeyResponse = unknown;
4371
5105
  type AuthControllerAccessTokenLoginData = {
4372
- /**
4373
- * Region code (cn, us, eu-core, de)
4374
- */
4375
- region: 'cn' | 'us' | 'eu-core' | 'de';
4376
5106
  requestBody: AnonymousLoginDto;
4377
5107
  };
4378
5108
  type AuthControllerAccessTokenLoginResponse = unknown;
5109
+ type CacheControllerFlushCacheResponse = unknown;
4379
5110
  type ExchangeRateControllerGetExchangeRateData = {
4380
5111
  /**
4381
5112
  * Date in ISO format (YYYY-MM-DD)
4382
5113
  */
4383
5114
  dateString: string;
4384
- /**
4385
- * Region code (cn, us, eu-core, de)
4386
- */
4387
- region: 'cn' | 'us' | 'eu-core' | 'de';
4388
5115
  /**
4389
5116
  * Currency pair symbol (e.g., USDCNY, EURUSD)
4390
5117
  */
4391
5118
  symbol: string;
4392
5119
  };
4393
5120
  type ExchangeRateControllerGetExchangeRateResponse = unknown;
4394
- type HealthControllerGetHealthData = {
4395
- /**
4396
- * Region code (cn, us, eu-core, de)
4397
- */
4398
- region: 'cn' | 'us' | 'eu-core' | 'de';
4399
- };
4400
5121
  type HealthControllerGetHealthResponse = unknown;
4401
- type HealthControllerCheckDatabaseData = {
4402
- /**
4403
- * Region code (cn, us, eu-core, de)
4404
- */
4405
- region: 'cn' | 'us' | 'eu-core' | 'de';
4406
- };
4407
5122
  type HealthControllerCheckDatabaseResponse = unknown;
4408
- type HealthControllerCheckRedisData = {
4409
- /**
4410
- * Region code (cn, us, eu-core, de)
4411
- */
4412
- region: 'cn' | 'us' | 'eu-core' | 'de';
4413
- };
5123
+ type HealthControllerCheckOpenBbResponse = unknown;
4414
5124
  type HealthControllerCheckRedisResponse = unknown;
4415
- type HealthControllerGetCircuitBreakersHealthData = {
4416
- /**
4417
- * Region code (cn, us, eu-core, de)
4418
- */
4419
- region: 'cn' | 'us' | 'eu-core' | 'de';
4420
- };
4421
5125
  type HealthControllerGetCircuitBreakersHealthResponse = unknown;
4422
5126
  type HealthControllerResetCircuitBreakerData = {
4423
5127
  /**
4424
5128
  * Circuit breaker name to reset
4425
5129
  */
4426
5130
  name: string;
4427
- /**
4428
- * Region code (cn, us, eu-core, de)
4429
- */
4430
- region: 'cn' | 'us' | 'eu-core' | 'de';
4431
5131
  };
4432
5132
  type HealthControllerResetCircuitBreakerResponse = unknown;
4433
- type HealthControllerGetMetricsData = {
4434
- /**
4435
- * Region code (cn, us, eu-core, de)
4436
- */
4437
- region: 'cn' | 'us' | 'eu-core' | 'de';
4438
- };
4439
5133
  type HealthControllerGetMetricsResponse = unknown;
4440
- type HealthControllerGetHealthOfDataEnhancerData = {
4441
- /**
4442
- * Data enhancer name
4443
- */
4444
- name: string;
4445
- /**
4446
- * Region code (cn, us, eu-core, de)
4447
- */
4448
- region: 'cn' | 'us' | 'eu-core' | 'de';
4449
- };
4450
- type HealthControllerGetHealthOfDataEnhancerResponse = unknown;
4451
- type HealthControllerCheckDataProvidersData = {
4452
- /**
4453
- * Region code (cn, us, eu-core, de)
4454
- */
4455
- region: 'cn' | 'us' | 'eu-core' | 'de';
4456
- };
4457
- type HealthControllerCheckDataProvidersResponse = unknown;
4458
- type HealthControllerGetHealthOfDataProviderData = {
4459
- /**
4460
- * Data source identifier
4461
- */
4462
- dataSource: string;
4463
- /**
4464
- * Region code (cn, us, eu-core, de)
4465
- */
4466
- region: 'cn' | 'us' | 'eu-core' | 'de';
4467
- };
4468
- type HealthControllerGetHealthOfDataProviderResponse = unknown;
4469
- type InfoControllerGetInfoData = {
4470
- /**
4471
- * Region code (cn, us, eu-core, de)
4472
- */
4473
- region: 'cn' | 'us' | 'eu-core' | 'de';
4474
- };
4475
- type InfoControllerGetInfoResponse = unknown;
4476
- type LogoControllerGetLogoByDataSourceAndSymbolData = {
4477
- /**
4478
- * Data source identifier (e.g., YAHOO, COINGECKO)
4479
- */
4480
- dataSource: string;
4481
- /**
4482
- * Region code (cn, us, eu-core, de)
4483
- */
4484
- region: 'cn' | 'us' | 'eu-core' | 'de';
4485
- /**
4486
- * Asset symbol (e.g., AAPL, BTC)
4487
- */
4488
- symbol: string;
4489
- };
4490
- type LogoControllerGetLogoByDataSourceAndSymbolResponse = unknown;
4491
- type LogoControllerGetLogoByUrlData = {
4492
- /**
4493
- * Region code (cn, us, eu-core, de)
4494
- */
4495
- region: 'cn' | 'us' | 'eu-core' | 'de';
4496
- /**
4497
- * Website URL to fetch favicon from
4498
- */
4499
- url: string;
4500
- };
4501
- type LogoControllerGetLogoByUrlResponse = unknown;
4502
- type MarketDataControllerGetMarketDataBySymbolData = {
4503
- /**
4504
- * Data source provider
4505
- */
4506
- dataSource: 'ALPHA_VANTAGE' | 'EOD_HISTORICAL_DATA' | 'FINANCIAL_MODELING_PREP' | 'MANUAL' | 'RAPID_API' | 'YAHOO' | 'COINGECKO' | 'TUSHARE' | 'BLOOMBERG' | 'CSI' | 'STOOQ' | 'TRADING_VIEW';
4507
- /**
4508
- * Region code (cn, us, eu-core, de)
4509
- */
4510
- region: 'cn' | 'us' | 'eu-core' | 'de';
4511
- /**
4512
- * Symbol code
4513
- */
4514
- symbol: string;
4515
- };
4516
- type MarketDataControllerGetMarketDataBySymbolResponse = unknown;
4517
- type MarketDataControllerData = {
4518
- /**
4519
- * Region code (cn, us, eu-core, de)
4520
- */
4521
- region: 'cn' | 'us' | 'eu-core' | 'de';
4522
- };
4523
- type MarketDataControllerResponse = unknown;
5134
+ type InfoControllerGetInfoResponse = unknown;
4524
5135
  type $OpenApiTs = {
4525
5136
  '/api/v1/{region}/bean/accounts': {
4526
5137
  post: {
@@ -4629,6 +5240,39 @@ type $OpenApiTs = {
4629
5240
  };
4630
5241
  };
4631
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
+ };
4632
5276
  '/api/v1/{region}/bean/transactions': {
4633
5277
  post: {
4634
5278
  req: TransactionControllerCreateData;
@@ -4662,6 +5306,10 @@ type $OpenApiTs = {
4662
5306
  * Transaction list
4663
5307
  */
4664
5308
  200: TransactionListResponseDto;
5309
+ /**
5310
+ * Validation failed
5311
+ */
5312
+ 400: ApiProblemResponseDto;
4665
5313
  /**
4666
5314
  * Authentication required
4667
5315
  */
@@ -4671,9 +5319,39 @@ type $OpenApiTs = {
4671
5319
  };
4672
5320
  '/api/v1/{region}/bean/transactions/batch': {
4673
5321
  post: {
4674
- req: TransactionControllerData;
5322
+ req: TransactionControllerCreateBatchData;
4675
5323
  res: {
4676
- 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;
4677
5355
  };
4678
5356
  };
4679
5357
  };
@@ -4717,33 +5395,24 @@ type $OpenApiTs = {
4717
5395
  };
4718
5396
  };
4719
5397
  delete: {
4720
- req: TransactionController1Data;
5398
+ req: TransactionControllerDeleteData;
4721
5399
  res: {
5400
+ /**
5401
+ * Transaction voided successfully
5402
+ */
4722
5403
  204: void;
4723
- };
4724
- };
4725
- };
4726
- '/api/v1/{region}/bean/account-standards': {
4727
- get: {
4728
- req: AccountStandardsControllerGetTemplatesData;
4729
- res: {
4730
5404
  /**
4731
- * Account templates retrieved successfully
5405
+ * Transaction already voided
4732
5406
  */
4733
- 200: AccountStandardListResponseDto;
4734
- };
4735
- };
4736
- };
4737
- '/api/v1/{region}/bean/account-standards/regions': {
4738
- get: {
4739
- req: AccountStandardsControllerGetRegionsData;
4740
- res: {
5407
+ 400: ApiProblemResponseDto;
4741
5408
  /**
4742
- * Regions retrieved successfully
5409
+ * Authentication required
4743
5410
  */
4744
- 200: {
4745
- regions?: Array<string>;
4746
- };
5411
+ 401: ApiProblemResponseDto;
5412
+ /**
5413
+ * Transaction not found
5414
+ */
5415
+ 404: ApiProblemResponseDto;
4747
5416
  };
4748
5417
  };
4749
5418
  };
@@ -4811,33 +5480,44 @@ type $OpenApiTs = {
4811
5480
  };
4812
5481
  '/api/v1/{region}/bean/reviews/{id}/resolve': {
4813
5482
  post: {
4814
- req: ReviewControllerData;
5483
+ req: ReviewControllerResolveData;
4815
5484
  res: {
4816
- 201: unknown;
5485
+ 200: ResolveResultDto;
4817
5486
  };
4818
5487
  };
4819
5488
  };
4820
5489
  '/api/v1/{region}/bean/reviews/{id}/undo': {
4821
5490
  post: {
4822
- req: ReviewController1Data;
5491
+ req: ReviewControllerUndoData;
4823
5492
  res: {
4824
- 201: unknown;
5493
+ 200: UndoResultDto;
4825
5494
  };
4826
5495
  };
4827
5496
  };
4828
5497
  '/api/v1/{region}/bean/reviews/batch-resolve': {
4829
5498
  post: {
4830
- req: ReviewController2Data;
5499
+ req: ReviewControllerBatchResolveData;
4831
5500
  res: {
4832
- 201: unknown;
5501
+ 200: BatchResolveResultDto;
4833
5502
  };
4834
5503
  };
4835
5504
  };
4836
5505
  '/api/v1/bean/payees': {
4837
5506
  post: {
4838
- req: PayeeControllerData;
5507
+ req: PayeeControllerCreateData;
4839
5508
  res: {
4840
- 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;
4841
5521
  };
4842
5522
  };
4843
5523
  get: {
@@ -4891,23 +5571,56 @@ type $OpenApiTs = {
4891
5571
  };
4892
5572
  };
4893
5573
  put: {
4894
- req: PayeeController1Data;
5574
+ req: PayeeControllerUpdateData;
4895
5575
  res: {
4896
- 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;
4897
5588
  };
4898
5589
  };
4899
5590
  delete: {
4900
- req: PayeeController2Data;
5591
+ req: PayeeControllerDeleteData;
4901
5592
  res: {
5593
+ /**
5594
+ * Payee deleted successfully
5595
+ */
4902
5596
  204: void;
5597
+ /**
5598
+ * Payee not found
5599
+ */
5600
+ 404: ApiProblemResponseDto;
4903
5601
  };
4904
5602
  };
4905
5603
  };
4906
5604
  '/api/v1/admin/payee-profiles': {
4907
5605
  post: {
4908
- req: PayeeProfileAdminControllerData;
5606
+ req: PayeeProfileAdminControllerCreateData;
4909
5607
  res: {
4910
- 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;
4911
5624
  };
4912
5625
  };
4913
5626
  get: {
@@ -4943,37 +5656,96 @@ type $OpenApiTs = {
4943
5656
  };
4944
5657
  };
4945
5658
  put: {
4946
- req: PayeeProfileAdminController1Data;
5659
+ req: PayeeProfileAdminControllerUpdateData;
4947
5660
  res: {
4948
- 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;
4949
5673
  };
4950
5674
  };
4951
5675
  delete: {
4952
- req: PayeeProfileAdminController2Data;
5676
+ req: PayeeProfileAdminControllerDeleteData;
4953
5677
  res: {
5678
+ /**
5679
+ * Payee profile deleted successfully
5680
+ */
4954
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;
4955
5694
  };
4956
5695
  };
4957
5696
  };
4958
5697
  '/api/v1/admin/payee-profiles/{id}/verify': {
4959
5698
  post: {
4960
- req: PayeeProfileAdminController3Data;
5699
+ req: PayeeProfileAdminControllerVerifyData;
4961
5700
  res: {
4962
- 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;
4963
5713
  };
4964
5714
  };
4965
5715
  delete: {
4966
- req: PayeeProfileAdminController4Data;
5716
+ req: PayeeProfileAdminControllerUnverifyData;
4967
5717
  res: {
4968
- 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;
4969
5730
  };
4970
5731
  };
4971
5732
  };
4972
5733
  '/api/v1/{region}/bean/commodities': {
4973
5734
  post: {
4974
- req: CommodityControllerData;
5735
+ req: CommodityControllerCreateData;
4975
5736
  res: {
4976
- 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;
4977
5749
  };
4978
5750
  };
4979
5751
  get: {
@@ -5001,39 +5773,74 @@ type $OpenApiTs = {
5001
5773
  };
5002
5774
  };
5003
5775
  put: {
5004
- req: CommodityController1Data;
5776
+ req: CommodityControllerUpdateData;
5005
5777
  res: {
5006
- 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;
5007
5790
  };
5008
5791
  };
5009
5792
  delete: {
5010
- req: CommodityController2Data;
5793
+ req: CommodityControllerDeleteData;
5011
5794
  res: {
5795
+ /**
5796
+ * Commodity deleted successfully
5797
+ */
5012
5798
  204: void;
5799
+ /**
5800
+ * Commodity not found
5801
+ */
5802
+ 404: ApiProblemResponseDto;
5013
5803
  };
5014
5804
  };
5015
5805
  };
5016
5806
  '/api/v1/{region}/bean/commodities/{symbol}/ensure': {
5017
5807
  post: {
5018
- req: CommodityController3Data;
5808
+ req: CommodityControllerGetOrCreateData;
5019
5809
  res: {
5020
- 201: unknown;
5810
+ /**
5811
+ * Commodity retrieved or created
5812
+ */
5813
+ 200: CommodityResponseDto;
5021
5814
  };
5022
5815
  };
5023
5816
  };
5024
5817
  '/api/v1/{region}/bean/commodities/bulk': {
5025
5818
  post: {
5026
- req: CommodityController4Data;
5819
+ req: CommodityControllerBulkCreateData;
5027
5820
  res: {
5028
- 201: unknown;
5821
+ /**
5822
+ * Commodities created successfully
5823
+ */
5824
+ 201: Array<CommodityResponseDto>;
5029
5825
  };
5030
5826
  };
5031
5827
  };
5032
5828
  '/api/v1/{region}/bean/recurring-rules': {
5033
5829
  post: {
5034
- req: RecurringRuleControllerData;
5830
+ req: RecurringRuleControllerCreateData;
5035
5831
  res: {
5036
- 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;
5037
5844
  };
5038
5845
  };
5039
5846
  get: {
@@ -5048,9 +5855,20 @@ type $OpenApiTs = {
5048
5855
  };
5049
5856
  '/api/v1/{region}/bean/recurring-rules/from-transaction/{transactionId}': {
5050
5857
  post: {
5051
- req: RecurringRuleController1Data;
5858
+ req: RecurringRuleControllerCreateFromTransactionData;
5052
5859
  res: {
5053
- 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;
5054
5872
  };
5055
5873
  };
5056
5874
  };
@@ -5069,15 +5887,33 @@ type $OpenApiTs = {
5069
5887
  };
5070
5888
  };
5071
5889
  patch: {
5072
- req: RecurringRuleController2Data;
5890
+ req: RecurringRuleControllerUpdateData;
5073
5891
  res: {
5074
- 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;
5075
5904
  };
5076
5905
  };
5077
5906
  delete: {
5078
- req: RecurringRuleController3Data;
5907
+ req: RecurringRuleControllerDeleteData;
5079
5908
  res: {
5909
+ /**
5910
+ * Rule deleted successfully
5911
+ */
5080
5912
  204: void;
5913
+ /**
5914
+ * Rule not found
5915
+ */
5916
+ 404: unknown;
5081
5917
  };
5082
5918
  };
5083
5919
  };
@@ -5132,40 +5968,99 @@ type $OpenApiTs = {
5132
5968
  404: unknown;
5133
5969
  };
5134
5970
  };
5135
- };
5136
- '/api/v1/{region}/bean/expected-transactions/{id}/skip': {
5137
- post: {
5138
- req: ExpectedTransactionControllerData;
5139
- res: {
5140
- 200: unknown;
5141
- };
5142
- };
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
+ };
5143
5990
  delete: {
5144
- req: ExpectedTransactionController1Data;
5991
+ req: ExpectedTransactionControllerUndoSkipData;
5145
5992
  res: {
5146
- 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;
5147
6005
  };
5148
6006
  };
5149
6007
  };
5150
6008
  '/api/v1/{region}/bean/expected-transactions/{id}/match': {
5151
6009
  post: {
5152
- req: ExpectedTransactionController2Data;
6010
+ req: ExpectedTransactionControllerConfirmMatchData;
5153
6011
  res: {
6012
+ /**
6013
+ * Match confirmed successfully
6014
+ */
5154
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;
5155
6028
  };
5156
6029
  };
5157
6030
  delete: {
5158
- req: ExpectedTransactionController3Data;
6031
+ req: ExpectedTransactionControllerUnmatchData;
5159
6032
  res: {
6033
+ /**
6034
+ * Match removed successfully
6035
+ */
5160
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;
5161
6045
  };
5162
6046
  };
5163
6047
  };
5164
6048
  '/api/v1/{region}/bean/expected-transactions/{id}/enter': {
5165
6049
  post: {
5166
- req: ExpectedTransactionController4Data;
6050
+ req: ExpectedTransactionControllerEnterNowData;
5167
6051
  res: {
6052
+ /**
6053
+ * Transaction created successfully
6054
+ */
5168
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;
5169
6064
  };
5170
6065
  };
5171
6066
  };
@@ -5182,9 +6077,24 @@ type $OpenApiTs = {
5182
6077
  };
5183
6078
  '/api/v1/{region}/bean/transaction-rules': {
5184
6079
  post: {
5185
- req: TransactionRuleControllerData;
6080
+ req: TransactionRuleControllerCreateData;
5186
6081
  res: {
5187
- 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;
5188
6098
  };
5189
6099
  };
5190
6100
  get: {
@@ -5209,6 +6119,10 @@ type $OpenApiTs = {
5209
6119
  * Validation result
5210
6120
  */
5211
6121
  200: ValidateRuleResponseDto;
6122
+ /**
6123
+ * Validation failed
6124
+ */
6125
+ 400: ApiProblemResponseDto;
5212
6126
  /**
5213
6127
  * Unauthorized
5214
6128
  */
@@ -5218,9 +6132,20 @@ type $OpenApiTs = {
5218
6132
  };
5219
6133
  '/api/v1/{region}/bean/transaction-rules/bulk': {
5220
6134
  post: {
5221
- req: TransactionRuleController1Data;
6135
+ req: TransactionRuleControllerBulkCreateData;
5222
6136
  res: {
5223
- 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;
5224
6149
  };
5225
6150
  };
5226
6151
  };
@@ -5281,15 +6206,57 @@ type $OpenApiTs = {
5281
6206
  };
5282
6207
  };
5283
6208
  put: {
5284
- req: TransactionRuleController2Data;
6209
+ req: TransactionRuleControllerUpdateData;
5285
6210
  res: {
5286
- 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;
5287
6235
  };
5288
6236
  };
5289
6237
  delete: {
5290
- req: TransactionRuleController3Data;
6238
+ req: TransactionRuleControllerDeleteData;
5291
6239
  res: {
6240
+ /**
6241
+ * Rule deleted successfully
6242
+ */
5292
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;
5293
6260
  };
5294
6261
  };
5295
6262
  };
@@ -5415,7 +6382,6 @@ type $OpenApiTs = {
5415
6382
  };
5416
6383
  '/api/v1/users/asset-liability-summary': {
5417
6384
  get: {
5418
- req: UserControllerGetAssetLiabilitySummaryData;
5419
6385
  res: {
5420
6386
  /**
5421
6387
  * Summary retrieved successfully
@@ -5426,7 +6392,6 @@ type $OpenApiTs = {
5426
6392
  };
5427
6393
  '/api/v1/admin/properties': {
5428
6394
  get: {
5429
- req: PropertyControllerGetAllData;
5430
6395
  res: {
5431
6396
  /**
5432
6397
  * Properties retrieved successfully
@@ -5466,15 +6431,48 @@ type $OpenApiTs = {
5466
6431
  };
5467
6432
  };
5468
6433
  put: {
5469
- req: PropertyControllerData;
6434
+ req: PropertyControllerUpdateData;
5470
6435
  res: {
6436
+ /**
6437
+ * Property updated successfully
6438
+ */
5471
6439
  200: unknown;
6440
+ /**
6441
+ * Unauthorized
6442
+ */
6443
+ 401: unknown;
6444
+ /**
6445
+ * Forbidden - insufficient permissions
6446
+ */
6447
+ 403: unknown;
5472
6448
  };
5473
6449
  };
5474
6450
  delete: {
5475
- req: PropertyController1Data;
6451
+ req: PropertyControllerDeleteData;
5476
6452
  res: {
6453
+ /**
6454
+ * Property deleted successfully
6455
+ */
5477
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;
5478
6476
  };
5479
6477
  };
5480
6478
  };
@@ -5547,6 +6545,29 @@ type $OpenApiTs = {
5547
6545
  };
5548
6546
  };
5549
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
+ };
5550
6571
  '/api/v1/{region}/bean/import/config/{importerId}': {
5551
6572
  get: {
5552
6573
  req: ImporterConfigControllerGetConfigData;
@@ -5566,228 +6587,222 @@ type $OpenApiTs = {
5566
6587
  };
5567
6588
  };
5568
6589
  put: {
5569
- req: ImporterConfigControllerData;
6590
+ req: ImporterConfigControllerUpdateConfigData;
5570
6591
  res: {
5571
- 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;
5572
6604
  };
5573
6605
  };
5574
6606
  };
5575
6607
  '/api/v1/{region}/bean/import/config/{importerId}/reset': {
5576
6608
  post: {
5577
- req: ImporterConfigController1Data;
6609
+ req: ImporterConfigControllerResetConfigData;
5578
6610
  res: {
5579
- 201: unknown;
6611
+ /**
6612
+ * Configuration reset successfully
6613
+ */
6614
+ 200: ImporterConfigDto;
6615
+ /**
6616
+ * Invalid input - Unsupported importer
6617
+ */
6618
+ 400: ApiProblemResponseDto;
5580
6619
  };
5581
6620
  };
5582
6621
  };
5583
- '/api/v1/{region}/bean/import/provider/{providerName}/sync': {
5584
- post: {
5585
- req: ProviderSyncControllerSyncData;
6622
+ '/api/v1/bean/platforms': {
6623
+ get: {
5586
6624
  res: {
5587
6625
  /**
5588
- * Sync completed successfully
5589
- */
5590
- 200: ProviderSyncResponseDto;
5591
- /**
5592
- * Invalid request data
6626
+ * List of platforms with binding and account counts
5593
6627
  */
5594
- 400: unknown;
6628
+ 200: unknown;
6629
+ };
6630
+ };
6631
+ post: {
6632
+ req: PlatformControllerCreateData;
6633
+ res: {
5595
6634
  /**
5596
- * Missing or invalid authentication
6635
+ * Platform created successfully
5597
6636
  */
5598
- 401: unknown;
6637
+ 201: unknown;
5599
6638
  /**
5600
- * Provider not supported
6639
+ * Platform already exists
5601
6640
  */
5602
- 404: unknown;
6641
+ 409: unknown;
5603
6642
  };
5604
6643
  };
5605
6644
  };
5606
- '/api/v1/{region}/bean/import/provider/supported': {
6645
+ '/api/v1/bean/platforms/list': {
5607
6646
  get: {
5608
- req: ProviderSyncControllerGetSupportedProvidersData;
5609
6647
  res: {
5610
6648
  /**
5611
- * List of supported providers
5612
- */
5613
- 200: SupportedProvidersResponseDto;
5614
- /**
5615
- * Missing or invalid authentication
6649
+ * List of platforms with user binding status
5616
6650
  */
5617
- 401: unknown;
6651
+ 200: unknown;
5618
6652
  };
5619
6653
  };
5620
6654
  };
5621
- '/api/v1/{region}/bean/import/provider/{providerName}/supported': {
6655
+ '/api/v1/bean/platforms/match': {
5622
6656
  get: {
5623
- req: ProviderSyncControllerIsProviderSupportedData;
6657
+ req: PlatformControllerMatchPlatformsData;
5624
6658
  res: {
5625
6659
  /**
5626
- * Provider support status
6660
+ * List of matching platforms with suggested segment names
5627
6661
  */
5628
6662
  200: unknown;
5629
- /**
5630
- * Missing or invalid authentication
5631
- */
5632
- 401: unknown;
5633
6663
  };
5634
6664
  };
5635
6665
  };
5636
- '/api/v1/{region}/bean/nlp/process': {
5637
- post: {
5638
- req: NlpControllerProcessNaturalLanguageData;
6666
+ '/api/v1/bean/platforms/{id}': {
6667
+ put: {
6668
+ req: PlatformControllerUpdateData;
5639
6669
  res: {
5640
6670
  /**
5641
- * NLP processing result - either created transaction or asking for more info
5642
- */
5643
- 200: NlpResponseDto;
5644
- /**
5645
- * Invalid input
6671
+ * Platform updated successfully
5646
6672
  */
5647
- 400: unknown;
6673
+ 200: unknown;
5648
6674
  /**
5649
- * Unauthorized
6675
+ * Platform not found
5650
6676
  */
5651
- 401: unknown;
6677
+ 404: unknown;
5652
6678
  };
5653
6679
  };
5654
- };
5655
- '/api/v1/{region}/bean/nlp/session': {
5656
6680
  delete: {
5657
- req: NlpControllerClearSessionData;
6681
+ req: PlatformControllerDeleteData;
5658
6682
  res: {
5659
6683
  /**
5660
- * Session cleared successfully
6684
+ * Platform deleted successfully
5661
6685
  */
5662
6686
  204: void;
5663
6687
  /**
5664
- * Unauthorized
6688
+ * Platform not found
5665
6689
  */
5666
- 401: unknown;
6690
+ 404: unknown;
5667
6691
  };
5668
6692
  };
5669
- get: {
5670
- req: NlpControllerGetSessionData;
6693
+ };
6694
+ '/api/v1/{region}/bean/import/provider/{providerName}/sync': {
6695
+ post: {
6696
+ req: ProviderSyncControllerSyncData;
5671
6697
  res: {
5672
6698
  /**
5673
- * Current session state (or null if no active session)
6699
+ * Sync completed successfully
5674
6700
  */
5675
- 200: unknown;
6701
+ 200: ProviderSyncResponseDto;
5676
6702
  /**
5677
- * Unauthorized
6703
+ * Invalid request data
6704
+ */
6705
+ 400: unknown;
6706
+ /**
6707
+ * Missing or invalid authentication
5678
6708
  */
5679
6709
  401: unknown;
6710
+ /**
6711
+ * Provider not supported
6712
+ */
6713
+ 404: unknown;
5680
6714
  };
5681
6715
  };
5682
6716
  };
5683
- '/api/v1/bean/platforms': {
6717
+ '/api/v1/{region}/bean/import/provider/supported': {
5684
6718
  get: {
5685
- req: PlatformControllerFindAllData;
6719
+ req: ProviderSyncControllerGetSupportedProvidersData;
5686
6720
  res: {
5687
6721
  /**
5688
- * List of platforms with binding and account counts
6722
+ * List of supported providers
5689
6723
  */
5690
- 200: unknown;
5691
- };
5692
- };
5693
- post: {
5694
- req: PlatformControllerData;
5695
- res: {
5696
- 201: unknown;
6724
+ 200: SupportedProvidersResponseDto;
6725
+ /**
6726
+ * Missing or invalid authentication
6727
+ */
6728
+ 401: unknown;
5697
6729
  };
5698
6730
  };
5699
6731
  };
5700
- '/api/v1/bean/platforms/list': {
6732
+ '/api/v1/{region}/bean/import/provider/{providerName}/supported': {
5701
6733
  get: {
5702
- req: PlatformControllerGetPlatformListData;
6734
+ req: ProviderSyncControllerIsProviderSupportedData;
5703
6735
  res: {
5704
6736
  /**
5705
- * List of platforms with user binding status
6737
+ * Provider support status
5706
6738
  */
5707
6739
  200: unknown;
6740
+ /**
6741
+ * Missing or invalid authentication
6742
+ */
6743
+ 401: unknown;
5708
6744
  };
5709
6745
  };
5710
6746
  };
5711
- '/api/v1/bean/platforms/{id}': {
5712
- put: {
5713
- req: PlatformController1Data;
5714
- res: {
5715
- 200: unknown;
5716
- };
5717
- };
5718
- delete: {
5719
- req: PlatformController2Data;
5720
- res: {
5721
- 204: void;
5722
- };
5723
- };
5724
- };
5725
- '/api/v1/market/symbols/lookup': {
5726
- get: {
5727
- req: SymbolControllerLookupSymbolData;
6747
+ '/api/v1/{region}/bean/import/parser-telemetry': {
6748
+ post: {
6749
+ req: TelemetryControllerReportTelemetryData;
5728
6750
  res: {
5729
6751
  /**
5730
- * Symbols found successfully
6752
+ * Telemetry report received
5731
6753
  */
5732
6754
  200: unknown;
5733
6755
  /**
5734
- * Invalid query parameters
6756
+ * Unauthorized
5735
6757
  */
5736
- 400: unknown;
6758
+ 401: unknown;
5737
6759
  };
5738
6760
  };
5739
6761
  };
5740
- '/api/v1/market/symbols/{dataSource}/{symbol}': {
5741
- get: {
5742
- req: SymbolControllerGetSymbolDataData;
6762
+ '/api/v1/{region}/bean/nlp/process': {
6763
+ post: {
6764
+ req: NlpControllerProcessNaturalLanguageData;
5743
6765
  res: {
5744
6766
  /**
5745
- * Symbol data retrieved successfully
6767
+ * NLP processing result - either created transaction or asking for more info
5746
6768
  */
5747
- 200: unknown;
6769
+ 200: NlpResponseDto;
5748
6770
  /**
5749
- * Invalid data source
6771
+ * Invalid input
5750
6772
  */
5751
6773
  400: unknown;
5752
6774
  /**
5753
- * Symbol not found
6775
+ * Unauthorized
5754
6776
  */
5755
- 404: unknown;
6777
+ 401: unknown;
5756
6778
  };
5757
6779
  };
5758
6780
  };
5759
- '/api/v1/market/symbols/{dataSource}/{symbol}/{dateString}': {
5760
- get: {
5761
- req: SymbolControllerGatherSymbolForDateData;
6781
+ '/api/v1/{region}/bean/nlp/session': {
6782
+ delete: {
6783
+ req: NlpControllerClearSessionData;
5762
6784
  res: {
5763
6785
  /**
5764
- * Historical data retrieved successfully
5765
- */
5766
- 200: unknown;
5767
- /**
5768
- * Invalid date format
6786
+ * Session cleared successfully
5769
6787
  */
5770
- 400: unknown;
6788
+ 204: void;
5771
6789
  /**
5772
- * Symbol data not found for specified date
6790
+ * Unauthorized
5773
6791
  */
5774
- 404: unknown;
6792
+ 401: unknown;
5775
6793
  };
5776
6794
  };
5777
- };
5778
- '/api/v1/market/symbols/yahoo/batch-update': {
5779
- put: {
5780
- req: SymbolControllerData;
6795
+ get: {
6796
+ req: NlpControllerGetSessionData;
5781
6797
  res: {
6798
+ /**
6799
+ * Current session state (or null if no active session)
6800
+ */
5782
6801
  200: unknown;
5783
- };
5784
- };
5785
- };
5786
- '/api/v1/cache/flush': {
5787
- post: {
5788
- req: CacheControllerFlushCacheData;
5789
- res: {
5790
- 201: unknown;
6802
+ /**
6803
+ * Unauthorized
6804
+ */
6805
+ 401: unknown;
5791
6806
  };
5792
6807
  };
5793
6808
  };
@@ -5899,9 +6914,15 @@ type $OpenApiTs = {
5899
6914
  };
5900
6915
  '/api/v1/auth/api-keys': {
5901
6916
  post: {
5902
- req: ApiKeysControllerData;
5903
6917
  res: {
6918
+ /**
6919
+ * API key created successfully
6920
+ */
5904
6921
  201: unknown;
6922
+ /**
6923
+ * Insufficient permissions to create API key
6924
+ */
6925
+ 403: unknown;
5905
6926
  };
5906
6927
  };
5907
6928
  };
@@ -5920,6 +6941,13 @@ type $OpenApiTs = {
5920
6941
  };
5921
6942
  };
5922
6943
  };
6944
+ '/api/v1/cache/flush': {
6945
+ post: {
6946
+ res: {
6947
+ 201: unknown;
6948
+ };
6949
+ };
6950
+ };
5923
6951
  '/api/v1/market/exchange-rates/{symbol}/{dateString}': {
5924
6952
  get: {
5925
6953
  req: ExchangeRateControllerGetExchangeRateData;
@@ -5937,7 +6965,6 @@ type $OpenApiTs = {
5937
6965
  };
5938
6966
  '/api/v1/health': {
5939
6967
  get: {
5940
- req: HealthControllerGetHealthData;
5941
6968
  res: {
5942
6969
  /**
5943
6970
  * Service is healthy
@@ -5952,7 +6979,6 @@ type $OpenApiTs = {
5952
6979
  };
5953
6980
  '/api/v1/health/database': {
5954
6981
  get: {
5955
- req: HealthControllerCheckDatabaseData;
5956
6982
  res: {
5957
6983
  /**
5958
6984
  * Database is healthy
@@ -5965,9 +6991,22 @@ type $OpenApiTs = {
5965
6991
  };
5966
6992
  };
5967
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
+ };
5968
7008
  '/api/v1/health/redis': {
5969
7009
  get: {
5970
- req: HealthControllerCheckRedisData;
5971
7010
  res: {
5972
7011
  /**
5973
7012
  * Redis is healthy
@@ -5982,7 +7021,6 @@ type $OpenApiTs = {
5982
7021
  };
5983
7022
  '/api/v1/health/circuit-breakers': {
5984
7023
  get: {
5985
- req: HealthControllerGetCircuitBreakersHealthData;
5986
7024
  res: {
5987
7025
  /**
5988
7026
  * Circuit breaker status
@@ -6020,7 +7058,6 @@ type $OpenApiTs = {
6020
7058
  };
6021
7059
  '/api/v1/health/metrics': {
6022
7060
  get: {
6023
- req: HealthControllerGetMetricsData;
6024
7061
  res: {
6025
7062
  /**
6026
7063
  * Health metrics
@@ -6033,70 +7070,8 @@ type $OpenApiTs = {
6033
7070
  };
6034
7071
  };
6035
7072
  };
6036
- '/api/v1/health/data-enhancer/{name}': {
6037
- get: {
6038
- req: HealthControllerGetHealthOfDataEnhancerData;
6039
- res: {
6040
- /**
6041
- * Data enhancer is healthy
6042
- */
6043
- 200: unknown;
6044
- /**
6045
- * Unauthorized
6046
- */
6047
- 401: unknown;
6048
- /**
6049
- * Data enhancer unavailable
6050
- */
6051
- 503: unknown;
6052
- };
6053
- };
6054
- };
6055
- '/api/v1/health/data-providers': {
6056
- get: {
6057
- req: HealthControllerCheckDataProvidersData;
6058
- res: {
6059
- /**
6060
- * Data providers health status
6061
- */
6062
- 200: unknown;
6063
- /**
6064
- * Unauthorized
6065
- */
6066
- 401: unknown;
6067
- /**
6068
- * Data providers check failed
6069
- */
6070
- 503: unknown;
6071
- };
6072
- };
6073
- };
6074
- '/api/v1/health/data-provider/{dataSource}': {
6075
- get: {
6076
- req: HealthControllerGetHealthOfDataProviderData;
6077
- res: {
6078
- /**
6079
- * Data provider is healthy
6080
- */
6081
- 200: unknown;
6082
- /**
6083
- * Invalid data source
6084
- */
6085
- 400: unknown;
6086
- /**
6087
- * Unauthorized
6088
- */
6089
- 401: unknown;
6090
- /**
6091
- * Data provider unavailable
6092
- */
6093
- 503: unknown;
6094
- };
6095
- };
6096
- };
6097
7073
  '/api/v1/system/info': {
6098
7074
  get: {
6099
- req: InfoControllerGetInfoData;
6100
7075
  res: {
6101
7076
  /**
6102
7077
  * System information retrieved successfully
@@ -6105,73 +7080,6 @@ type $OpenApiTs = {
6105
7080
  };
6106
7081
  };
6107
7082
  };
6108
- '/api/v1/market/logos/{dataSource}/{symbol}': {
6109
- get: {
6110
- req: LogoControllerGetLogoByDataSourceAndSymbolData;
6111
- res: {
6112
- /**
6113
- * Logo image stream (favicon)
6114
- */
6115
- 200: unknown;
6116
- /**
6117
- * Unauthorized
6118
- */
6119
- 401: unknown;
6120
- /**
6121
- * Logo not found for the specified asset
6122
- */
6123
- 404: unknown;
6124
- /**
6125
- * Service unavailable
6126
- */
6127
- 503: unknown;
6128
- };
6129
- };
6130
- };
6131
- '/api/v1/market/logos': {
6132
- get: {
6133
- req: LogoControllerGetLogoByUrlData;
6134
- res: {
6135
- /**
6136
- * Logo image stream (favicon)
6137
- */
6138
- 200: unknown;
6139
- /**
6140
- * Unauthorized
6141
- */
6142
- 401: unknown;
6143
- /**
6144
- * Service unavailable
6145
- */
6146
- 503: unknown;
6147
- };
6148
- };
6149
- };
6150
- '/api/v1/market-data/{dataSource}/{symbol}': {
6151
- get: {
6152
- req: MarketDataControllerGetMarketDataBySymbolData;
6153
- res: {
6154
- /**
6155
- * Market data retrieved successfully
6156
- */
6157
- 200: unknown;
6158
- /**
6159
- * Insufficient permissions to read market data
6160
- */
6161
- 403: unknown;
6162
- /**
6163
- * Market data not found
6164
- */
6165
- 404: unknown;
6166
- };
6167
- };
6168
- post: {
6169
- req: MarketDataControllerData;
6170
- res: {
6171
- 201: unknown;
6172
- };
6173
- };
6174
- };
6175
7083
  };
6176
7084
 
6177
7085
  declare class BeanAccountsService {
@@ -6256,8 +7164,9 @@ declare class BeanAccountsService {
6256
7164
  }
6257
7165
  declare class BeanTransactionsService {
6258
7166
  /**
6259
- * Create transaction
6260
- * 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.
6261
7170
  * @param data The data for the request.
6262
7171
  * @param data.region Region code for tenant context
6263
7172
  * @param data.requestBody Transaction data with postings
@@ -6282,12 +7191,28 @@ declare class BeanTransactionsService {
6282
7191
  */
6283
7192
  static transactionControllerList(data: TransactionControllerListData): CancelablePromise<TransactionControllerListResponse>;
6284
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.
6285
7207
  * @param data The data for the request.
6286
7208
  * @param data.region Region code for tenant context
6287
- * @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
6288
7213
  * @throws ApiError
6289
7214
  */
6290
- static transactionController(data: TransactionControllerData): CancelablePromise<TransactionControllerResponse>;
7215
+ static transactionControllerSuggestTags(data: TransactionControllerSuggestTagsData): CancelablePromise<TransactionControllerSuggestTagsResponse>;
6291
7216
  /**
6292
7217
  * Get transaction detail
6293
7218
  * Returns transaction details including all postings
@@ -6310,12 +7235,15 @@ declare class BeanTransactionsService {
6310
7235
  */
6311
7236
  static transactionControllerUpdate(data: TransactionControllerUpdateData): CancelablePromise<TransactionControllerUpdateResponse>;
6312
7237
  /**
7238
+ * Void transaction
7239
+ * Soft-deletes a transaction by marking it as VOIDED
6313
7240
  * @param data The data for the request.
7241
+ * @param data.id Transaction ID
6314
7242
  * @param data.region Region code for tenant context
6315
- * @returns void
7243
+ * @returns void Transaction voided successfully
6316
7244
  * @throws ApiError
6317
7245
  */
6318
- static transactionController1(data: TransactionController1Data): CancelablePromise<TransactionController1Response>;
7246
+ static transactionControllerDelete(data: TransactionControllerDeleteData): CancelablePromise<TransactionControllerDeleteResponse>;
6319
7247
  }
6320
7248
  declare class BeanBalancesService {
6321
7249
  /**
@@ -6323,7 +7251,7 @@ declare class BeanBalancesService {
6323
7251
  * Calculate account balance at a specific date for a single currency
6324
7252
  * @param data The data for the request.
6325
7253
  * @param data.account Account name (e.g., "Assets:Bank:Checking")
6326
- * @param data.region Region code (cn, us, eu-core, de)
7254
+ * @param data.region Region code for tenant context
6327
7255
  * @param data.date Date to calculate balance at (ISO 8601 format)
6328
7256
  * @param data.currency Currency to query (e.g., "USD", "CNY")
6329
7257
  * @returns BalanceResponseDto Balance calculated successfully
@@ -6334,7 +7262,7 @@ declare class BeanBalancesService {
6334
7262
  * Query multi-currency account balance
6335
7263
  * Calculate account balances for all currencies at a specific date
6336
7264
  * @param data The data for the request.
6337
- * @param data.region Region code (cn, us, eu-core, de)
7265
+ * @param data.region Region code for tenant context
6338
7266
  * @returns MultiCurrencyBalanceResponseDto Balances calculated successfully
6339
7267
  * @throws ApiError
6340
7268
  */
@@ -6342,17 +7270,20 @@ declare class BeanBalancesService {
6342
7270
  }
6343
7271
  declare class BeanCommoditiesService {
6344
7272
  /**
7273
+ * Create a new commodity
7274
+ * Creates a new commodity definition for the authenticated user
6345
7275
  * @param data The data for the request.
6346
- * @param data.region Region code (cn, us, eu-core, de)
6347
- * @returns unknown
7276
+ * @param data.region Region code for tenant context
7277
+ * @param data.requestBody
7278
+ * @returns CommodityResponseDto Commodity created successfully
6348
7279
  * @throws ApiError
6349
7280
  */
6350
- static commodityController(data: CommodityControllerData): CancelablePromise<CommodityControllerResponse>;
7281
+ static commodityControllerCreate(data: CommodityControllerCreateData): CancelablePromise<CommodityControllerCreateResponse>;
6351
7282
  /**
6352
7283
  * List user commodities
6353
7284
  * Returns all commodity definitions for the authenticated user with optional filtering
6354
7285
  * @param data The data for the request.
6355
- * @param data.region Region code (cn, us, eu-core, de)
7286
+ * @param data.region Region code for tenant context
6356
7287
  * @param data.search Search term for symbol or metadata fields (partial match). Searches symbol and metadata.name.
6357
7288
  * @param data.symbol Filter by exact symbol match
6358
7289
  * @returns CommodityListResponseDto Commodities retrieved successfully
@@ -6364,39 +7295,51 @@ declare class BeanCommoditiesService {
6364
7295
  * Returns a specific commodity definition by its symbol
6365
7296
  * @param data The data for the request.
6366
7297
  * @param data.symbol Commodity symbol
6367
- * @param data.region Region code (cn, us, eu-core, de)
7298
+ * @param data.region Region code for tenant context
6368
7299
  * @returns CommodityResponseDto Commodity retrieved successfully
6369
7300
  * @throws ApiError
6370
7301
  */
6371
7302
  static commodityControllerFindOne(data: CommodityControllerFindOneData): CancelablePromise<CommodityControllerFindOneResponse>;
6372
7303
  /**
7304
+ * Update commodity
7305
+ * Updates an existing commodity definition. Symbol cannot be changed.
6373
7306
  * @param data The data for the request.
6374
- * @param data.region Region code (cn, us, eu-core, de)
6375
- * @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
6376
7311
  * @throws ApiError
6377
7312
  */
6378
- static commodityController1(data: CommodityController1Data): CancelablePromise<CommodityController1Response>;
7313
+ static commodityControllerUpdate(data: CommodityControllerUpdateData): CancelablePromise<CommodityControllerUpdateResponse>;
6379
7314
  /**
7315
+ * Delete commodity
7316
+ * Deletes a commodity definition
6380
7317
  * @param data The data for the request.
6381
- * @param data.region Region code (cn, us, eu-core, de)
6382
- * @returns void
7318
+ * @param data.symbol Commodity symbol
7319
+ * @param data.region Region code for tenant context
7320
+ * @returns void Commodity deleted successfully
6383
7321
  * @throws ApiError
6384
7322
  */
6385
- static commodityController2(data: CommodityController2Data): CancelablePromise<CommodityController2Response>;
7323
+ static commodityControllerDelete(data: CommodityControllerDeleteData): CancelablePromise<CommodityControllerDeleteResponse>;
6386
7324
  /**
7325
+ * Ensure commodity exists
7326
+ * Gets existing commodity or creates it with automatic initialization from OpenBB
6387
7327
  * @param data The data for the request.
6388
- * @param data.region Region code (cn, us, eu-core, de)
6389
- * @returns unknown
7328
+ * @param data.symbol Commodity symbol
7329
+ * @param data.region Region code for tenant context
7330
+ * @returns CommodityResponseDto Commodity retrieved or created
6390
7331
  * @throws ApiError
6391
7332
  */
6392
- static commodityController3(data: CommodityController3Data): CancelablePromise<CommodityController3Response>;
7333
+ static commodityControllerGetOrCreate(data: CommodityControllerGetOrCreateData): CancelablePromise<CommodityControllerGetOrCreateResponse>;
6393
7334
  /**
7335
+ * Bulk create commodities
7336
+ * Creates multiple commodities from a list of symbols, useful for initialization
6394
7337
  * @param data The data for the request.
6395
- * @param data.region Region code (cn, us, eu-core, de)
6396
- * @returns unknown
7338
+ * @param data.region Region code for tenant context
7339
+ * @returns CommodityResponseDto Commodities created successfully
6397
7340
  * @throws ApiError
6398
7341
  */
6399
- static commodityController4(data: CommodityController4Data): CancelablePromise<CommodityController4Response>;
7342
+ static commodityControllerBulkCreate(data: CommodityControllerBulkCreateData): CancelablePromise<CommodityControllerBulkCreateResponse>;
6400
7343
  }
6401
7344
  declare class ProviderSyncService {
6402
7345
  /**
@@ -6412,6 +7355,7 @@ declare class ProviderSyncService {
6412
7355
  * - **simplefin**: SimpleFIN (Self-hosted)
6413
7356
  * - **yodlee**: Yodlee (Global)
6414
7357
  * - **beancount-direct**: Beancount format transactions
7358
+ * - **parsed-bill**: Client-side parsed bill transactions
6415
7359
  *
6416
7360
  * **Processing Flow:**
6417
7361
  * 1. Transform raw data via provider adapter
@@ -6433,7 +7377,7 @@ declare class ProviderSyncService {
6433
7377
  * Get supported providers
6434
7378
  * Returns a list of all providers supported by the sync endpoint.
6435
7379
  * @param data The data for the request.
6436
- * @param data.region Region code (cn, us, eu-core, de)
7380
+ * @param data.region Region code for tenant context
6437
7381
  * @returns SupportedProvidersResponseDto List of supported providers
6438
7382
  * @throws ApiError
6439
7383
  */
@@ -6443,7 +7387,7 @@ declare class ProviderSyncService {
6443
7387
  * Returns whether a specific provider is supported.
6444
7388
  * @param data The data for the request.
6445
7389
  * @param data.providerName Provider name to check
6446
- * @param data.region Region code (cn, us, eu-core, de)
7390
+ * @param data.region Region code for tenant context
6447
7391
  * @returns unknown Provider support status
6448
7392
  * @throws ApiError
6449
7393
  */
@@ -6452,79 +7396,48 @@ declare class ProviderSyncService {
6452
7396
  declare class HealthService {
6453
7397
  /**
6454
7398
  * Basic health check for K8s/load balancer probes
6455
- * @param data The data for the request.
6456
- * @param data.region Region code (cn, us, eu-core, de)
6457
7399
  * @returns unknown Service is healthy
6458
7400
  * @throws ApiError
6459
7401
  */
6460
- static healthControllerGetHealth(data: HealthControllerGetHealthData): CancelablePromise<HealthControllerGetHealthResponse>;
7402
+ static healthControllerGetHealth(): CancelablePromise<HealthControllerGetHealthResponse>;
6461
7403
  /**
6462
7404
  * Check database connection health
6463
- * @param data The data for the request.
6464
- * @param data.region Region code (cn, us, eu-core, de)
6465
7405
  * @returns unknown Database is healthy
6466
7406
  * @throws ApiError
6467
7407
  */
6468
- 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>;
6469
7415
  /**
6470
7416
  * Check Redis connection health
6471
- * @param data The data for the request.
6472
- * @param data.region Region code (cn, us, eu-core, de)
6473
7417
  * @returns unknown Redis is healthy
6474
7418
  * @throws ApiError
6475
7419
  */
6476
- static healthControllerCheckRedis(data: HealthControllerCheckRedisData): CancelablePromise<HealthControllerCheckRedisResponse>;
7420
+ static healthControllerCheckRedis(): CancelablePromise<HealthControllerCheckRedisResponse>;
6477
7421
  /**
6478
7422
  * Get status of all circuit breakers
6479
- * @param data The data for the request.
6480
- * @param data.region Region code (cn, us, eu-core, de)
6481
7423
  * @returns unknown Circuit breaker status
6482
7424
  * @throws ApiError
6483
7425
  */
6484
- static healthControllerGetCircuitBreakersHealth(data: HealthControllerGetCircuitBreakersHealthData): CancelablePromise<HealthControllerGetCircuitBreakersHealthResponse>;
7426
+ static healthControllerGetCircuitBreakersHealth(): CancelablePromise<HealthControllerGetCircuitBreakersHealthResponse>;
6485
7427
  /**
6486
7428
  * Reset a circuit breaker to CLOSED state
6487
7429
  * @param data The data for the request.
6488
7430
  * @param data.name Circuit breaker name to reset
6489
- * @param data.region Region code (cn, us, eu-core, de)
6490
7431
  * @returns unknown Circuit breaker reset successfully
6491
7432
  * @throws ApiError
6492
7433
  */
6493
7434
  static healthControllerResetCircuitBreaker(data: HealthControllerResetCircuitBreakerData): CancelablePromise<HealthControllerResetCircuitBreakerResponse>;
6494
7435
  /**
6495
7436
  * Get health check metrics and statistics
6496
- * @param data The data for the request.
6497
- * @param data.region Region code (cn, us, eu-core, de)
6498
7437
  * @returns unknown Health metrics
6499
7438
  * @throws ApiError
6500
7439
  */
6501
- static healthControllerGetMetrics(data: HealthControllerGetMetricsData): CancelablePromise<HealthControllerGetMetricsResponse>;
6502
- /**
6503
- * Check health of a specific data enhancer
6504
- * @param data The data for the request.
6505
- * @param data.name Data enhancer name
6506
- * @param data.region Region code (cn, us, eu-core, de)
6507
- * @returns unknown Data enhancer is healthy
6508
- * @throws ApiError
6509
- */
6510
- static healthControllerGetHealthOfDataEnhancer(data: HealthControllerGetHealthOfDataEnhancerData): CancelablePromise<HealthControllerGetHealthOfDataEnhancerResponse>;
6511
- /**
6512
- * Check health of all data providers
6513
- * @param data The data for the request.
6514
- * @param data.region Region code (cn, us, eu-core, de)
6515
- * @returns unknown Data providers health status
6516
- * @throws ApiError
6517
- */
6518
- static healthControllerCheckDataProviders(data: HealthControllerCheckDataProvidersData): CancelablePromise<HealthControllerCheckDataProvidersResponse>;
6519
- /**
6520
- * Check health of a specific data provider
6521
- * @param data The data for the request.
6522
- * @param data.dataSource Data source identifier
6523
- * @param data.region Region code (cn, us, eu-core, de)
6524
- * @returns unknown Data provider is healthy
6525
- * @throws ApiError
6526
- */
6527
- static healthControllerGetHealthOfDataProvider(data: HealthControllerGetHealthOfDataProviderData): CancelablePromise<HealthControllerGetHealthOfDataProviderResponse>;
7440
+ static healthControllerGetMetrics(): CancelablePromise<HealthControllerGetMetricsResponse>;
6528
7441
  }
6529
7442
 
6530
7443
  type ApiRequestOptions = {
@@ -6567,4 +7480,4 @@ type OpenAPIConfig = {
6567
7480
  };
6568
7481
  declare const OpenAPI: OpenAPIConfig;
6569
7482
 
6570
- 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 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 };