@firela/api-types 0.0.0-canary.b3b7767b → 0.0.0-canary.da5984a1

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
  /**
@@ -555,6 +667,22 @@ type TransactionListResponseDto = {
555
667
  */
556
668
  offset: number;
557
669
  };
670
+ type TagSuggestionDto = {
671
+ /**
672
+ * Tag name
673
+ */
674
+ tag: string;
675
+ /**
676
+ * Usage count across ACTIVE transactions
677
+ */
678
+ count: number;
679
+ };
680
+ type TagSuggestionsResponseDto = {
681
+ /**
682
+ * Tag suggestions sorted as requested
683
+ */
684
+ data: Array<TagSuggestionDto>;
685
+ };
558
686
  type UpdateTransactionDto = {
559
687
  /**
560
688
  * Transaction flag (CLEARED, PENDING, etc.)
@@ -583,61 +711,6 @@ type UpdateTransactionDto = {
583
711
  [key: string]: unknown;
584
712
  };
585
713
  };
586
- type AccountStandardResponseDto = {
587
- /**
588
- * Account path (hierarchical, colon-separated)
589
- */
590
- path: string;
591
- /**
592
- * Account type in Beancount hierarchy
593
- */
594
- type: 'Assets' | 'Liabilities' | 'Income' | 'Expenses' | 'Equity';
595
- /**
596
- * i18n key for localized display name
597
- */
598
- i18nKey?: string;
599
- /**
600
- * Account description
601
- */
602
- description?: string;
603
- /**
604
- * Account tags for categorization
605
- */
606
- tags?: Array<string>;
607
- /**
608
- * Icon identifier for UI display
609
- */
610
- icon?: string;
611
- };
612
- type AccountStandardListResponseDto = {
613
- /**
614
- * Array of account templates
615
- */
616
- items: Array<AccountStandardResponseDto>;
617
- /**
618
- * Total number of account templates
619
- */
620
- total: number;
621
- /**
622
- * Region code
623
- */
624
- region: string;
625
- };
626
- type RegionConfigDto = {
627
- currency: string;
628
- dateFormat: string;
629
- locale: string;
630
- };
631
- type RegionInfoDto = {
632
- code: string;
633
- displayName: string;
634
- parent?: string;
635
- chain: Array<string>;
636
- config: RegionConfigDto;
637
- };
638
- type RegionsMetadataResponseDto = {
639
- regions: Array<RegionInfoDto>;
640
- };
641
714
  type BalanceResponseDto = {
642
715
  /**
643
716
  * Account name
@@ -728,9 +801,9 @@ type ReviewSummaryDto = {
728
801
  */
729
802
  confidence: number;
730
803
  /**
731
- * Confidence level derived from score
804
+ * Confidence level derived from score. Null for error-type reviews (ACCOUNT_VALIDATION/PIPELINE_ERROR) which carry no confidence.
732
805
  */
733
- confidenceLevel: 'HIGH' | 'MEDIUM' | 'LOW';
806
+ confidenceLevel: 'HIGH' | 'MEDIUM' | 'LOW' | null;
734
807
  /**
735
808
  * i18n message key for summary (e.g., review.summary.duplicate). Translate on frontend with summaryParams.
736
809
  */
@@ -791,7 +864,7 @@ type type2 = 'DUPLICATE' | 'RULE_MATCH' | 'PAYEE_MATCH' | 'ACCOUNT_VALIDATION' |
791
864
  */
792
865
  type status3 = 'PENDING' | 'RESOLVED' | 'EXPIRED' | 'CANCELLED';
793
866
  /**
794
- * Confidence level derived from score
867
+ * Confidence level derived from score. Null for error-type reviews (ACCOUNT_VALIDATION/PIPELINE_ERROR) which carry no confidence.
795
868
  */
796
869
  type confidenceLevel = 'HIGH' | 'MEDIUM' | 'LOW';
797
870
  type ReviewListResponseDto = {
@@ -865,9 +938,9 @@ type ReviewDetailDto = {
865
938
  */
866
939
  confidence: number;
867
940
  /**
868
- * Confidence level derived from score
941
+ * Confidence level derived from score. Null for error-type reviews (ACCOUNT_VALIDATION/PIPELINE_ERROR) which carry no confidence.
869
942
  */
870
- confidenceLevel: 'HIGH' | 'MEDIUM' | 'LOW';
943
+ confidenceLevel: 'HIGH' | 'MEDIUM' | 'LOW' | null;
871
944
  /**
872
945
  * i18n message key for summary (e.g., review.summary.duplicate). Translate on frontend with summaryParams.
873
946
  */
@@ -933,6 +1006,118 @@ type ReviewDetailDto = {
933
1006
  */
934
1007
  transactionId?: string;
935
1008
  };
1009
+ type ResolveReviewDto = {
1010
+ /**
1011
+ * Decision action. Available actions vary by review type: DUPLICATE: UPGRADE_REPLACE, KEEP_EXISTING, KEEP_BOTH | PAYEE_MATCH: ACCEPT, REJECT, ACCEPT_AND_LEARN | ACCOUNT_VALIDATION: FIX, REJECT | RULE_MATCH: ACCEPT, REJECT, ACCEPT_AND_LEARN
1012
+ */
1013
+ action: string;
1014
+ /**
1015
+ * Additional data for the decision (e.g., selected account ID)
1016
+ */
1017
+ data?: {
1018
+ [key: string]: unknown;
1019
+ };
1020
+ };
1021
+ type ResolveResultDto = {
1022
+ /**
1023
+ * Whether resolution was successful
1024
+ */
1025
+ success: boolean;
1026
+ /**
1027
+ * i18n message key for result message (e.g., review.payee.result.mapped)
1028
+ */
1029
+ messageKey?: string;
1030
+ /**
1031
+ * Parameters for message interpolation (e.g., { name: "PayeeName" })
1032
+ */
1033
+ messageParams?: {
1034
+ [key: string]: string;
1035
+ };
1036
+ /**
1037
+ * Resolution ID for undo
1038
+ */
1039
+ resolutionId: string;
1040
+ /**
1041
+ * Whether this decision can be undone
1042
+ */
1043
+ canUndo: boolean;
1044
+ /**
1045
+ * Deadline for undo (24h from resolution)
1046
+ */
1047
+ undoDeadline: string;
1048
+ /**
1049
+ * Rule ID if learning was triggered (ACCEPT_AND_LEARN actions). Use this to deep-link to the rule management page.
1050
+ */
1051
+ learnedRuleId?: string;
1052
+ };
1053
+ type UndoResultDto = {
1054
+ /**
1055
+ * Whether undo was successful
1056
+ */
1057
+ success: boolean;
1058
+ /**
1059
+ * Message
1060
+ */
1061
+ message?: string;
1062
+ /**
1063
+ * Review item ID that was restored
1064
+ */
1065
+ reviewId: string;
1066
+ };
1067
+ type BatchResolveDto = {
1068
+ /**
1069
+ * Review item IDs to resolve
1070
+ */
1071
+ reviewIds: Array<string>;
1072
+ /**
1073
+ * Decision action to apply to all items
1074
+ */
1075
+ action: string;
1076
+ /**
1077
+ * Additional data for the decision
1078
+ */
1079
+ data?: {
1080
+ [key: string]: unknown;
1081
+ };
1082
+ };
1083
+ type BatchResolveResultDto = {
1084
+ /**
1085
+ * Number of successfully resolved items
1086
+ */
1087
+ successCount: number;
1088
+ /**
1089
+ * Number of failed items
1090
+ */
1091
+ failedCount: number;
1092
+ /**
1093
+ * Details for each item
1094
+ */
1095
+ results: Array<string>;
1096
+ };
1097
+ type CreatePayeeDto = {
1098
+ /**
1099
+ * User's original payee name (e.g., 'Starbucks', 'McDonald'). This is the raw payee string as entered by the user.
1100
+ */
1101
+ payee: string;
1102
+ /**
1103
+ * Optional reference to global PayeeProfile for standardized data (merchant info, i18n keys, categories)
1104
+ */
1105
+ payeeProfileId?: string;
1106
+ /**
1107
+ * User's custom category for this payee (overrides PayeeProfile category)
1108
+ */
1109
+ customCategory?: string;
1110
+ /**
1111
+ * User's custom tags for this payee (e.g., ['favorite', 'work_meal'])
1112
+ */
1113
+ customTags?: Array<string>;
1114
+ /**
1115
+ * Metadata for extended information (location, notes, contact info, etc.)
1116
+ */
1117
+ meta?: {
1118
+ [key: string]: unknown;
1119
+ };
1120
+ };
936
1121
  type PayeeResponseDto = {
937
1122
  /**
938
1123
  * Unique identifier (UUID)
@@ -949,15 +1134,11 @@ type PayeeResponseDto = {
949
1134
  /**
950
1135
  * Reference to global PayeeProfile (merchant info, i18n keys, categories)
951
1136
  */
952
- payeeProfileId?: {
953
- [key: string]: unknown;
954
- } | null;
1137
+ payeeProfileId?: string | null;
955
1138
  /**
956
1139
  * User's custom category (overrides PayeeProfile category if set)
957
1140
  */
958
- customCategory?: {
959
- [key: string]: unknown;
960
- } | null;
1141
+ customCategory?: string | null;
961
1142
  /**
962
1143
  * User's custom tags (e.g., ['favorite', 'work_meal'])
963
1144
  */
@@ -1019,104 +1200,170 @@ type PayeeStatsResponseDto = {
1019
1200
  */
1020
1201
  lastUsedAt: string;
1021
1202
  };
1022
- type PayeeProfileResponseDto = {
1203
+ type UpdatePayeeDto = {
1023
1204
  /**
1024
- * Unique identifier (UUID)
1205
+ * Optional reference to global PayeeProfile for standardized data (merchant info, i18n keys, categories)
1025
1206
  */
1026
- id: string;
1207
+ payeeProfileId?: string;
1027
1208
  /**
1028
- * Canonical payee name (unique, case-insensitive)
1209
+ * User's custom category for this payee (overrides PayeeProfile category)
1029
1210
  */
1030
- canonical: string;
1211
+ customCategory?: string;
1031
1212
  /**
1032
- * Multi-language aliases
1213
+ * User's custom tags for this payee (e.g., ['favorite', 'work_meal'])
1033
1214
  */
1034
- aliases: Array<string>;
1215
+ customTags?: Array<string>;
1035
1216
  /**
1036
- * Translation key for i18n
1217
+ * Metadata for extended information (location, notes, contact info, etc.). Will merge with existing metadata.
1037
1218
  */
1038
- i18nKey?: {
1219
+ meta?: {
1039
1220
  [key: string]: unknown;
1040
- } | null;
1221
+ };
1041
1222
  /**
1042
- * Payee category
1223
+ * Enable or disable this payee. Disabled payees will not appear in autocomplete suggestions.
1043
1224
  */
1044
- 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';
1225
+ isActive?: boolean;
1226
+ };
1227
+ type CreatePayeeProfileDto = {
1045
1228
  /**
1046
- * Sub-category
1229
+ * Canonical payee name (unique, case-insensitive). This is the primary identifier for the payee.
1047
1230
  */
1048
- subCategory?: {
1049
- [key: string]: unknown;
1050
- } | null;
1231
+ canonical: string;
1051
1232
  /**
1052
- * Country codes where payee operates
1233
+ * Multi-language aliases for the payee. Used for matching user input in different languages.
1053
1234
  */
1054
- countries: Array<string>;
1235
+ aliases?: Array<string>;
1055
1236
  /**
1056
- * Primary operating country
1237
+ * Translation key for i18n integration (XLIFF translation system)
1057
1238
  */
1058
- primaryCountry?: {
1059
- [key: string]: unknown;
1060
- } | null;
1239
+ i18nKey?: string;
1061
1240
  /**
1062
- * Search keywords
1241
+ * Payee category classification
1063
1242
  */
1064
- keywords: Array<string>;
1243
+ 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';
1065
1244
  /**
1066
- * Logo URL
1245
+ * Sub-category for more specific classification
1067
1246
  */
1068
- logoUrl?: {
1069
- [key: string]: unknown;
1070
- } | null;
1247
+ subCategory?: string;
1071
1248
  /**
1072
- * Official website
1249
+ * Country/region codes where the payee operates (ISO 3166-1 alpha-2)
1073
1250
  */
1074
- website?: {
1075
- [key: string]: unknown;
1076
- } | null;
1251
+ countries?: Array<string>;
1077
1252
  /**
1078
- * Description
1253
+ * Primary operating country (ISO 3166-1 alpha-2)
1079
1254
  */
1080
- description?: {
1081
- [key: string]: unknown;
1082
- } | null;
1255
+ primaryCountry?: string;
1083
1256
  /**
1084
- * Extended metadata
1257
+ * Search keywords for fuzzy matching
1085
1258
  */
1086
- meta: {
1087
- [key: string]: unknown;
1088
- };
1259
+ keywords?: Array<string>;
1089
1260
  /**
1090
- * Data source
1261
+ * Payee logo URL
1091
1262
  */
1092
- dataSource: 'MANUAL' | 'IMPORT' | 'API' | 'CROWDSOURCED';
1263
+ logoUrl?: string;
1093
1264
  /**
1094
- * Verification timestamp (null if not verified)
1265
+ * Official website URL
1095
1266
  */
1096
- verifiedAt?: {
1097
- [key: string]: unknown;
1098
- } | null;
1267
+ website?: string;
1099
1268
  /**
1100
- * Whether the profile is active
1269
+ * Payee description
1101
1270
  */
1102
- isActive: boolean;
1271
+ description?: string;
1103
1272
  /**
1104
- * Creation timestamp
1273
+ * Extended metadata (business hours, contact info, additional details)
1105
1274
  */
1106
- createdAt: string;
1275
+ meta?: {
1276
+ [key: string]: unknown;
1277
+ };
1107
1278
  /**
1108
- * Last update timestamp
1279
+ * Data source for this profile
1109
1280
  */
1110
- updatedAt: string;
1281
+ dataSource?: 'MANUAL' | 'IMPORT' | 'API' | 'CROWDSOURCED';
1111
1282
  };
1112
1283
  /**
1113
- * Payee category
1284
+ * Payee category classification
1114
1285
  */
1115
1286
  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';
1116
1287
  /**
1117
- * Data source
1288
+ * Data source for this profile
1118
1289
  */
1119
1290
  type dataSource = 'MANUAL' | 'IMPORT' | 'API' | 'CROWDSOURCED';
1291
+ type PayeeProfileResponseDto = {
1292
+ /**
1293
+ * Unique identifier (UUID)
1294
+ */
1295
+ id: string;
1296
+ /**
1297
+ * Canonical payee name (unique, case-insensitive)
1298
+ */
1299
+ canonical: string;
1300
+ /**
1301
+ * Multi-language aliases
1302
+ */
1303
+ aliases: Array<string>;
1304
+ /**
1305
+ * Translation key for i18n
1306
+ */
1307
+ i18nKey?: string | null;
1308
+ /**
1309
+ * Payee category
1310
+ */
1311
+ 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';
1312
+ /**
1313
+ * Sub-category
1314
+ */
1315
+ subCategory?: string | null;
1316
+ /**
1317
+ * Country codes where payee operates
1318
+ */
1319
+ countries: Array<string>;
1320
+ /**
1321
+ * Primary operating country
1322
+ */
1323
+ primaryCountry?: string | null;
1324
+ /**
1325
+ * Search keywords
1326
+ */
1327
+ keywords: Array<string>;
1328
+ /**
1329
+ * Logo URL
1330
+ */
1331
+ logoUrl?: string | null;
1332
+ /**
1333
+ * Official website
1334
+ */
1335
+ website?: string | null;
1336
+ /**
1337
+ * Description
1338
+ */
1339
+ description?: string | null;
1340
+ /**
1341
+ * Extended metadata
1342
+ */
1343
+ meta: {
1344
+ [key: string]: unknown;
1345
+ };
1346
+ /**
1347
+ * Data source
1348
+ */
1349
+ dataSource: 'MANUAL' | 'IMPORT' | 'API' | 'CROWDSOURCED';
1350
+ /**
1351
+ * Verification timestamp (null if not verified)
1352
+ */
1353
+ verifiedAt?: string | null;
1354
+ /**
1355
+ * Whether the profile is active
1356
+ */
1357
+ isActive: boolean;
1358
+ /**
1359
+ * Creation timestamp
1360
+ */
1361
+ createdAt: string;
1362
+ /**
1363
+ * Last update timestamp
1364
+ */
1365
+ updatedAt: string;
1366
+ };
1120
1367
  type PayeeProfileListResponseDto = {
1121
1368
  /**
1122
1369
  * List of payee profiles
@@ -1127,6 +1374,82 @@ type PayeeProfileListResponseDto = {
1127
1374
  */
1128
1375
  total: number;
1129
1376
  };
1377
+ type UpdatePayeeProfileDto = {
1378
+ /**
1379
+ * Multi-language aliases for the payee. Used for matching user input in different languages.
1380
+ */
1381
+ aliases?: Array<string>;
1382
+ /**
1383
+ * Translation key for i18n integration (XLIFF translation system)
1384
+ */
1385
+ i18nKey?: string;
1386
+ /**
1387
+ * Payee category classification
1388
+ */
1389
+ 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';
1390
+ /**
1391
+ * Sub-category for more specific classification
1392
+ */
1393
+ subCategory?: string;
1394
+ /**
1395
+ * Country/region codes where the payee operates (ISO 3166-1 alpha-2)
1396
+ */
1397
+ countries?: Array<string>;
1398
+ /**
1399
+ * Primary operating country (ISO 3166-1 alpha-2)
1400
+ */
1401
+ primaryCountry?: string;
1402
+ /**
1403
+ * Search keywords for fuzzy matching
1404
+ */
1405
+ keywords?: Array<string>;
1406
+ /**
1407
+ * Payee logo URL
1408
+ */
1409
+ logoUrl?: string;
1410
+ /**
1411
+ * Official website URL
1412
+ */
1413
+ website?: string;
1414
+ /**
1415
+ * Payee description
1416
+ */
1417
+ description?: string;
1418
+ /**
1419
+ * Extended metadata (business hours, contact info, additional details)
1420
+ */
1421
+ meta?: {
1422
+ [key: string]: unknown;
1423
+ };
1424
+ /**
1425
+ * Data source for this profile
1426
+ */
1427
+ dataSource?: 'MANUAL' | 'IMPORT' | 'API' | 'CROWDSOURCED';
1428
+ /**
1429
+ * Whether the payee profile is active (soft delete)
1430
+ */
1431
+ isActive?: boolean;
1432
+ /**
1433
+ * Verification timestamp. Set to current time to verify, or null to unverify.
1434
+ */
1435
+ verifiedAt?: string | null;
1436
+ };
1437
+ type CreateCommodityDto = {
1438
+ /**
1439
+ * Commodity symbol (e.g., AAPL, USD, BTC) - corresponds to Beancount currency field
1440
+ */
1441
+ symbol: string;
1442
+ /**
1443
+ * Commodity definition date (ISO 8601, required per Beancount spec). Represents when this commodity was first defined in the accounting system.
1444
+ */
1445
+ date: string;
1446
+ /**
1447
+ * Metadata (corresponds to Beancount meta field). Can contain name, assetClass, precision, note, tags, etc.
1448
+ */
1449
+ metadata?: {
1450
+ [key: string]: unknown;
1451
+ };
1452
+ };
1130
1453
  type CommodityResponseDto = {
1131
1454
  /**
1132
1455
  * Unique identifier
@@ -1135,9 +1458,7 @@ type CommodityResponseDto = {
1135
1458
  /**
1136
1459
  * User ID (owner of the commodity)
1137
1460
  */
1138
- userId?: {
1139
- [key: string]: unknown;
1140
- } | null;
1461
+ userId?: string | null;
1141
1462
  /**
1142
1463
  * Commodity symbol (corresponds to Beancount currency field)
1143
1464
  */
@@ -1152,12 +1473,6 @@ type CommodityResponseDto = {
1152
1473
  metadata: {
1153
1474
  [key: string]: unknown;
1154
1475
  };
1155
- /**
1156
- * Reference to SymbolProfile (market data integration, SaaS feature)
1157
- */
1158
- symbolProfileId?: {
1159
- [key: string]: unknown;
1160
- } | null;
1161
1476
  /**
1162
1477
  * Creation timestamp
1163
1478
  */
@@ -1177,6 +1492,84 @@ type CommodityListResponseDto = {
1177
1492
  */
1178
1493
  total: number;
1179
1494
  };
1495
+ type UpdateCommodityDto = {
1496
+ /**
1497
+ * Commodity definition date (ISO 8601). Represents when this commodity was first defined in the accounting system.
1498
+ */
1499
+ date?: string;
1500
+ /**
1501
+ * Metadata (corresponds to Beancount meta field). Will merge with existing metadata. Can contain name, assetClass, precision, note, tags, etc.
1502
+ */
1503
+ metadata?: {
1504
+ [key: string]: unknown;
1505
+ };
1506
+ };
1507
+ type CreateRecurringRuleDto = {
1508
+ /**
1509
+ * Rule name (unique per user)
1510
+ */
1511
+ name: string;
1512
+ /**
1513
+ * Icon emoji
1514
+ */
1515
+ icon?: string;
1516
+ /**
1517
+ * Recurring frequency
1518
+ */
1519
+ frequency: 'WEEKLY' | 'BIWEEKLY' | 'MONTHLY' | 'BIMONTHLY' | 'QUARTERLY' | 'YEARLY' | 'CUSTOM';
1520
+ /**
1521
+ * Expected amount (positive number)
1522
+ */
1523
+ expectedAmount: number;
1524
+ /**
1525
+ * Expected day of month (1-31)
1526
+ */
1527
+ expectedDay?: number;
1528
+ /**
1529
+ * Custom interval in days (required for CUSTOM frequency)
1530
+ */
1531
+ customIntervalDays?: number;
1532
+ /**
1533
+ * Currency code
1534
+ */
1535
+ currency: string;
1536
+ /**
1537
+ * Payee matching pattern (supports wildcards)
1538
+ */
1539
+ matchPayeePattern?: string;
1540
+ /**
1541
+ * Amount tolerance percentage (0-1)
1542
+ */
1543
+ matchAmountTolerance: number;
1544
+ /**
1545
+ * Default expense account for auto-create
1546
+ */
1547
+ defaultExpenseAccount?: string;
1548
+ /**
1549
+ * Default payment account for auto-create
1550
+ */
1551
+ defaultPaymentAccount?: string;
1552
+ /**
1553
+ * Default payee for auto-create
1554
+ */
1555
+ defaultPayee?: string;
1556
+ /**
1557
+ * Auto-create transaction when expected date arrives
1558
+ */
1559
+ autoCreate: boolean;
1560
+ /**
1561
+ * Rule start date (ISO format)
1562
+ */
1563
+ startDate?: string;
1564
+ /**
1565
+ * Rule end date (ISO format)
1566
+ */
1567
+ endDate?: string;
1568
+ };
1569
+ /**
1570
+ * Recurring frequency
1571
+ */
1572
+ type frequency = 'WEEKLY' | 'BIWEEKLY' | 'MONTHLY' | 'BIMONTHLY' | 'QUARTERLY' | 'YEARLY' | 'CUSTOM';
1180
1573
  type RecurringRuleResponseDto = {
1181
1574
  /**
1182
1575
  * Rule ID
@@ -1285,6 +1678,20 @@ type RecurringRuleResponseDto = {
1285
1678
  */
1286
1679
  updatedAt: string;
1287
1680
  };
1681
+ type CreateRuleFromTransactionDto = {
1682
+ /**
1683
+ * Recurring frequency
1684
+ */
1685
+ frequency: 'WEEKLY' | 'BIWEEKLY' | 'MONTHLY' | 'BIMONTHLY' | 'QUARTERLY' | 'YEARLY' | 'CUSTOM';
1686
+ /**
1687
+ * Optional name override (default: transaction payee)
1688
+ */
1689
+ name?: string;
1690
+ /**
1691
+ * Optional icon emoji
1692
+ */
1693
+ icon?: string;
1694
+ };
1288
1695
  type RecurringRuleWithStatsResponseDto = {
1289
1696
  /**
1290
1697
  * Rule ID
@@ -1439,6 +1846,68 @@ type RecurringRuleWithStatsResponseDto = {
1439
1846
  */
1440
1847
  upcomingCount: number;
1441
1848
  };
1849
+ type UpdateRecurringRuleDto = {
1850
+ /**
1851
+ * Rule name
1852
+ */
1853
+ name?: string;
1854
+ /**
1855
+ * Icon emoji
1856
+ */
1857
+ icon?: string;
1858
+ /**
1859
+ * Recurring frequency
1860
+ */
1861
+ frequency?: 'WEEKLY' | 'BIWEEKLY' | 'MONTHLY' | 'BIMONTHLY' | 'QUARTERLY' | 'YEARLY' | 'CUSTOM';
1862
+ /**
1863
+ * Expected amount
1864
+ */
1865
+ expectedAmount?: number;
1866
+ /**
1867
+ * Expected day of month (1-31)
1868
+ */
1869
+ expectedDay?: number;
1870
+ /**
1871
+ * Custom interval in days
1872
+ */
1873
+ customIntervalDays?: number;
1874
+ /**
1875
+ * Currency code
1876
+ */
1877
+ currency?: string;
1878
+ /**
1879
+ * Payee matching pattern
1880
+ */
1881
+ matchPayeePattern?: string;
1882
+ /**
1883
+ * Amount tolerance percentage (0-1)
1884
+ */
1885
+ matchAmountTolerance?: number;
1886
+ /**
1887
+ * Default expense account
1888
+ */
1889
+ defaultExpenseAccount?: string;
1890
+ /**
1891
+ * Default payment account
1892
+ */
1893
+ defaultPaymentAccount?: string;
1894
+ /**
1895
+ * Default payee
1896
+ */
1897
+ defaultPayee?: string;
1898
+ /**
1899
+ * Auto-create transaction
1900
+ */
1901
+ autoCreate?: boolean;
1902
+ /**
1903
+ * Rule active status
1904
+ */
1905
+ isActive?: boolean;
1906
+ /**
1907
+ * Rule end date (ISO format)
1908
+ */
1909
+ endDate?: string;
1910
+ };
1442
1911
  type ExpectedTransactionRuleDto = {
1443
1912
  /**
1444
1913
  * Rule name
@@ -1526,6 +1995,34 @@ type ExpectedTransactionListResponseDto = {
1526
1995
  */
1527
1996
  total: number;
1528
1997
  };
1998
+ type ConfirmMatchDto = {
1999
+ /**
2000
+ * Transaction ID to match with
2001
+ */
2002
+ transactionId: string;
2003
+ };
2004
+ type EnterNowDto = {
2005
+ /**
2006
+ * Override expense account (uses rule default if not provided)
2007
+ */
2008
+ expenseAccount?: string;
2009
+ /**
2010
+ * Override payment account (uses rule default if not provided)
2011
+ */
2012
+ paymentAccount?: string;
2013
+ /**
2014
+ * Override amount (uses expected amount if not provided)
2015
+ */
2016
+ amount?: number;
2017
+ /**
2018
+ * Override payee (uses rule default if not provided)
2019
+ */
2020
+ payee?: string;
2021
+ /**
2022
+ * Optional narration
2023
+ */
2024
+ narration?: string;
2025
+ };
1529
2026
  type ForecastItemDto = {
1530
2027
  /**
1531
2028
  * Rule name
@@ -1546,9 +2043,7 @@ type ForecastItemDto = {
1546
2043
  /**
1547
2044
  * Rule icon emoji
1548
2045
  */
1549
- icon: {
1550
- [key: string]: unknown;
1551
- } | null;
2046
+ icon: string | null;
1552
2047
  /**
1553
2048
  * Currency code
1554
2049
  */
@@ -1606,8 +2101,52 @@ type ForecastResponseDto = {
1606
2101
  */
1607
2102
  periodEnd: string;
1608
2103
  };
1609
- type TransactionRuleResponseDto = {
1610
- /**
2104
+ type CreateTransactionRuleDto = {
2105
+ name: string;
2106
+ description?: string;
2107
+ narrationKeywords?: Array<unknown[]>;
2108
+ payeeKeywords?: Array<unknown[]>;
2109
+ categoryKeywords?: Array<unknown[]>;
2110
+ /**
2111
+ * Payment method keywords (e.g., HuaBei, YuEBao)
2112
+ */
2113
+ methodKeywords?: Array<unknown[]>;
2114
+ /**
2115
+ * Destination account for expenses/income (e.g., Expenses:Food:Coffee)
2116
+ */
2117
+ categoryAccount?: string;
2118
+ matchLogic: 'OR' | 'AND';
2119
+ /**
2120
+ * Minimum transaction amount (inclusive)
2121
+ */
2122
+ amountMin?: number;
2123
+ /**
2124
+ * Maximum transaction amount (inclusive)
2125
+ */
2126
+ amountMax?: number;
2127
+ priority: number;
2128
+ additionalTags?: Array<unknown[]>;
2129
+ additionalMetadata?: {
2130
+ [key: string]: unknown;
2131
+ };
2132
+ /**
2133
+ * If true, update existing rule with matching payeeKeywords[0] instead of creating new rule
2134
+ */
2135
+ upsertByPayee?: boolean;
2136
+ };
2137
+ type matchLogic = 'OR' | 'AND';
2138
+ type AmountRangeDto = {
2139
+ /**
2140
+ * Minimum amount
2141
+ */
2142
+ min?: number;
2143
+ /**
2144
+ * Maximum amount
2145
+ */
2146
+ max?: number;
2147
+ };
2148
+ type TransactionRuleResponseDto = {
2149
+ /**
1611
2150
  * Rule ID
1612
2151
  */
1613
2152
  id: string;
@@ -1646,9 +2185,7 @@ type TransactionRuleResponseDto = {
1646
2185
  /**
1647
2186
  * Amount range for matching
1648
2187
  */
1649
- amountRange?: {
1650
- [key: string]: unknown;
1651
- };
2188
+ amountRange?: AmountRangeDto;
1652
2189
  /**
1653
2190
  * Rule priority (0-1000, higher = first match)
1654
2191
  */
@@ -1660,7 +2197,7 @@ type TransactionRuleResponseDto = {
1660
2197
  /**
1661
2198
  * Learning source: NLP, REVIEW_CENTER, or null for manual
1662
2199
  */
1663
- learningSource?: 'NLP' | 'REVIEW_CENTER';
2200
+ learningSource?: 'NLP' | 'REVIEW_CENTER' | null;
1664
2201
  /**
1665
2202
  * Whether auto-apply is enabled for this rule
1666
2203
  */
@@ -1677,7 +2214,7 @@ type TransactionRuleResponseDto = {
1677
2214
  * Additional metadata
1678
2215
  */
1679
2216
  additionalMetadata?: {
1680
- [key: string]: unknown;
2217
+ [key: string]: string;
1681
2218
  };
1682
2219
  /**
1683
2220
  * Created timestamp
@@ -1688,10 +2225,6 @@ type TransactionRuleResponseDto = {
1688
2225
  */
1689
2226
  updatedAt: string;
1690
2227
  };
1691
- /**
1692
- * Keyword matching logic
1693
- */
1694
- type matchLogic = 'OR' | 'AND';
1695
2228
  /**
1696
2229
  * Learning source: NLP, REVIEW_CENTER, or null for manual
1697
2230
  */
@@ -1758,6 +2291,41 @@ type ValidateRuleResponseDto = {
1758
2291
  */
1759
2292
  warnings: Array<unknown[]>;
1760
2293
  };
2294
+ type BulkCreateRulesDto = {
2295
+ /**
2296
+ * Array of rules to import
2297
+ */
2298
+ rules: Array<unknown[]>;
2299
+ /**
2300
+ * Conflict handling strategy: skip (default) ignores duplicates, replace soft-deletes existing rule
2301
+ */
2302
+ conflictStrategy: 'replace' | 'skip';
2303
+ };
2304
+ /**
2305
+ * Conflict handling strategy: skip (default) ignores duplicates, replace soft-deletes existing rule
2306
+ */
2307
+ type conflictStrategy = 'replace' | 'skip';
2308
+ type BulkCreateRulesResponseDto = {
2309
+ /**
2310
+ * Number of successfully created rules
2311
+ */
2312
+ successCount: number;
2313
+ /**
2314
+ * Number of failed rules
2315
+ */
2316
+ failureCount: number;
2317
+ /**
2318
+ * Error details for failed rules
2319
+ */
2320
+ errors: Array<{
2321
+ index?: number;
2322
+ message?: string;
2323
+ }>;
2324
+ /**
2325
+ * IDs of successfully created rules
2326
+ */
2327
+ createdRuleIds: Array<string>;
2328
+ };
1761
2329
  type ExportRulesResponseDto = {
1762
2330
  /**
1763
2331
  * Export timestamp
@@ -1811,6 +2379,39 @@ type RuleStatisticsResponseDto = {
1811
2379
  * Statistics time period
1812
2380
  */
1813
2381
  type period = '7d' | '30d' | '90d';
2382
+ type UpdateTransactionRuleDto = {
2383
+ name?: string;
2384
+ description?: string;
2385
+ narrationKeywords?: Array<unknown[]>;
2386
+ payeeKeywords?: Array<unknown[]>;
2387
+ categoryKeywords?: Array<unknown[]>;
2388
+ /**
2389
+ * Payment method keywords (e.g., HuaBei, YuEBao)
2390
+ */
2391
+ methodKeywords?: Array<unknown[]>;
2392
+ /**
2393
+ * Destination account for expenses/income (e.g., Expenses:Food:Coffee)
2394
+ */
2395
+ categoryAccount?: string;
2396
+ matchLogic?: 'OR' | 'AND';
2397
+ /**
2398
+ * Minimum transaction amount (inclusive)
2399
+ */
2400
+ amountMin?: number;
2401
+ /**
2402
+ * Maximum transaction amount (inclusive)
2403
+ */
2404
+ amountMax?: number;
2405
+ priority?: number;
2406
+ /**
2407
+ * Enable or disable the rule
2408
+ */
2409
+ enabled?: boolean;
2410
+ additionalTags?: Array<unknown[]>;
2411
+ additionalMetadata?: {
2412
+ [key: string]: unknown;
2413
+ };
2414
+ };
1814
2415
  type TestRuleDto = {
1815
2416
  narration: string;
1816
2417
  payee?: string;
@@ -1944,6 +2545,12 @@ type colorScheme = 'DARK' | 'LIGHT';
1944
2545
  * View mode
1945
2546
  */
1946
2547
  type viewMode = 'DEFAULT' | 'ZEN';
2548
+ type UpdatePropertyDto = {
2549
+ /**
2550
+ * Property value
2551
+ */
2552
+ value: string;
2553
+ };
1947
2554
  type FileImportDto = {
1948
2555
  /**
1949
2556
  * Bill file to import (CSV, PDF, OFX, etc.)
@@ -2126,7 +2733,7 @@ type ImporterConfigDto = {
2126
2733
  /**
2127
2734
  * Importer identifier
2128
2735
  */
2129
- importerId: 'alipay' | 'alipay-web' | 'alipay-yuebao' | 'wechat' | 'wechat-xlsx' | 'boc' | 'boc-credit' | 'ccb' | 'cmb' | 'cmbc' | 'cmbc-credit' | 'icbc' | 'icbc-credit' | 'hsbc-hk';
2736
+ 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';
2130
2737
  /**
2131
2738
  * Configuration version (semver)
2132
2739
  */
@@ -2151,7 +2758,107 @@ type ImporterConfigDto = {
2151
2758
  /**
2152
2759
  * Importer identifier
2153
2760
  */
2154
- type importerId = 'alipay' | 'alipay-web' | 'alipay-yuebao' | 'wechat' | 'wechat-xlsx' | 'boc' | 'boc-credit' | 'ccb' | 'cmb' | 'cmbc' | 'cmbc-credit' | 'icbc' | 'icbc-credit' | 'hsbc-hk';
2761
+ 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';
2762
+ type UpdateMapperDefaultsDto = {
2763
+ /**
2764
+ * Source account for transactions (Beancount format)
2765
+ */
2766
+ sourceAccount?: string;
2767
+ /**
2768
+ * Default currency (ISO 4217 code)
2769
+ */
2770
+ currency?: string;
2771
+ /**
2772
+ * Default expense account (optional)
2773
+ */
2774
+ expenseAccount?: string;
2775
+ /**
2776
+ * Default income account (optional)
2777
+ */
2778
+ incomeAccount?: string;
2779
+ /**
2780
+ * 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).
2781
+ */
2782
+ methodAccountMapping?: {
2783
+ [key: string]: unknown;
2784
+ };
2785
+ };
2786
+ type UpdateConfigDataDto = {
2787
+ /**
2788
+ * Mapper defaults configuration
2789
+ */
2790
+ defaults?: UpdateMapperDefaultsDto;
2791
+ };
2792
+ type UpdateImporterConfigDto = {
2793
+ /**
2794
+ * Configuration data (v1 schema)
2795
+ */
2796
+ data?: UpdateConfigDataDto;
2797
+ };
2798
+ type CreatePlatformDto = {
2799
+ /**
2800
+ * Platform name
2801
+ */
2802
+ name: string;
2803
+ /**
2804
+ * Platform canonical identifier (lowercase, kebab-case)
2805
+ */
2806
+ canonical: string;
2807
+ /**
2808
+ * Platform aliases (multi-language names for lookup)
2809
+ */
2810
+ aliases: Array<string>;
2811
+ /**
2812
+ * Platform URL
2813
+ */
2814
+ url: string;
2815
+ /**
2816
+ * Platform type
2817
+ */
2818
+ type: 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
2819
+ /**
2820
+ * Platform logo URL
2821
+ */
2822
+ logoUrl?: string;
2823
+ /**
2824
+ * Whether the platform is active
2825
+ */
2826
+ isActive?: boolean;
2827
+ };
2828
+ /**
2829
+ * Platform type
2830
+ */
2831
+ type type3 = 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
2832
+ type UpdatePlatformDto = {
2833
+ /**
2834
+ * Platform name
2835
+ */
2836
+ name?: string;
2837
+ /**
2838
+ * Platform canonical identifier (lowercase, kebab-case)
2839
+ */
2840
+ canonical?: string;
2841
+ /**
2842
+ * Platform aliases (multi-language names for lookup)
2843
+ */
2844
+ aliases?: Array<string>;
2845
+ /**
2846
+ * Platform URL
2847
+ */
2848
+ url?: string;
2849
+ /**
2850
+ * Platform type
2851
+ */
2852
+ type?: 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
2853
+ /**
2854
+ * Platform logo URL
2855
+ */
2856
+ logoUrl?: string;
2857
+ /**
2858
+ * Whether the platform is active
2859
+ */
2860
+ isActive?: boolean;
2861
+ };
2155
2862
  type ProviderSyncConfigDto = {
2156
2863
  /**
2157
2864
  * Source account for the first posting
@@ -2234,6 +2941,12 @@ type ProcessNlpDto = {
2234
2941
  * Session ID for multi-turn conversation (auto-generated if not provided)
2235
2942
  */
2236
2943
  sessionId?: string;
2944
+ /**
2945
+ * Parsed data from previous NLP response for session recovery. Send back the parsedData received in confirm_payee/confirm responses.
2946
+ */
2947
+ parsedData?: {
2948
+ [key: string]: unknown;
2949
+ };
2237
2950
  };
2238
2951
  type NlpTransactionInfoDto = {
2239
2952
  /**
@@ -3204,7 +3917,7 @@ type AccountControllerCreateData = {
3204
3917
  /**
3205
3918
  * Region code for tenant context
3206
3919
  */
3207
- region: 'cn' | 'us' | 'de';
3920
+ region: 'cn' | 'us' | 'de' | 'gb';
3208
3921
  requestBody: CreateAccountDto;
3209
3922
  };
3210
3923
  type AccountControllerCreateResponse = AccountResponseDto;
@@ -3224,7 +3937,7 @@ type AccountControllerFindAllData = {
3224
3937
  /**
3225
3938
  * Region code for tenant context
3226
3939
  */
3227
- region: 'cn' | 'us' | 'de';
3940
+ region: 'cn' | 'us' | 'de' | 'gb';
3228
3941
  /**
3229
3942
  * Search term for path or i18nKey
3230
3943
  */
@@ -3247,7 +3960,7 @@ type AccountControllerFindOneData = {
3247
3960
  /**
3248
3961
  * Region code for tenant context
3249
3962
  */
3250
- region: 'cn' | 'us' | 'de';
3963
+ region: 'cn' | 'us' | 'de' | 'gb';
3251
3964
  };
3252
3965
  type AccountControllerFindOneResponse = AccountResponseDto;
3253
3966
  type AccountControllerUpdateData = {
@@ -3258,7 +3971,7 @@ type AccountControllerUpdateData = {
3258
3971
  /**
3259
3972
  * Region code for tenant context
3260
3973
  */
3261
- region: 'cn' | 'us' | 'de';
3974
+ region: 'cn' | 'us' | 'de' | 'gb';
3262
3975
  requestBody: UpdateAccountDto;
3263
3976
  };
3264
3977
  type AccountControllerUpdateResponse = AccountResponseDto;
@@ -3270,7 +3983,7 @@ type AccountControllerDeleteData = {
3270
3983
  /**
3271
3984
  * Region code for tenant context
3272
3985
  */
3273
- region: 'cn' | 'us' | 'de';
3986
+ region: 'cn' | 'us' | 'de' | 'gb';
3274
3987
  };
3275
3988
  type AccountControllerDeleteResponse = void;
3276
3989
  type AccountControllerCloseData = {
@@ -3281,7 +3994,7 @@ type AccountControllerCloseData = {
3281
3994
  /**
3282
3995
  * Region code for tenant context
3283
3996
  */
3284
- region: 'cn' | 'us' | 'de';
3997
+ region: 'cn' | 'us' | 'de' | 'gb';
3285
3998
  requestBody: CloseAccountDto;
3286
3999
  };
3287
4000
  type AccountControllerCloseResponse = AccountResponseDto;
@@ -3293,15 +4006,48 @@ type AccountControllerReopenData = {
3293
4006
  /**
3294
4007
  * Region code for tenant context
3295
4008
  */
3296
- region: 'cn' | 'us' | 'de';
4009
+ region: 'cn' | 'us' | 'de' | 'gb';
3297
4010
  requestBody: ReopenAccountDto;
3298
4011
  };
3299
4012
  type AccountControllerReopenResponse = AccountResponseDto;
4013
+ type AccountStandardsControllerGetTemplatesData = {
4014
+ /**
4015
+ * Region code (cn, us, de)
4016
+ */
4017
+ region: 'cn' | 'us' | 'de' | 'gb';
4018
+ /**
4019
+ * Search term for path or description
4020
+ */
4021
+ search?: string;
4022
+ /**
4023
+ * Filter by account type
4024
+ */
4025
+ type?: 'Assets' | 'Liabilities' | 'Income' | 'Expenses' | 'Equity';
4026
+ };
4027
+ type AccountStandardsControllerGetTemplatesResponse = AccountStandardListResponseDto;
4028
+ type AccountStandardsControllerGetTemplateMetadataData = {
4029
+ /**
4030
+ * Account path to check
4031
+ */
4032
+ path: string;
4033
+ /**
4034
+ * Region code for tenant context
4035
+ */
4036
+ region: 'cn' | 'us' | 'de' | 'gb';
4037
+ };
4038
+ type AccountStandardsControllerGetTemplateMetadataResponse = TemplateMetadataResponseDto;
4039
+ type AccountStandardsControllerGetRegionsData = {
4040
+ /**
4041
+ * Region code for tenant context
4042
+ */
4043
+ region: 'cn' | 'us' | 'de' | 'gb';
4044
+ };
4045
+ type AccountStandardsControllerGetRegionsResponse = RegionsMetadataResponseDto;
3300
4046
  type TransactionControllerCreateData = {
3301
4047
  /**
3302
4048
  * Region code for tenant context
3303
4049
  */
3304
- region: 'cn' | 'us' | 'de';
4050
+ region: 'cn' | 'us' | 'de' | 'gb';
3305
4051
  /**
3306
4052
  * Transaction data with postings
3307
4053
  */
@@ -3332,7 +4078,7 @@ type TransactionControllerListData = {
3332
4078
  /**
3333
4079
  * Region code for tenant context
3334
4080
  */
3335
- region: 'cn' | 'us' | 'de';
4081
+ region: 'cn' | 'us' | 'de' | 'gb';
3336
4082
  /**
3337
4083
  * Search in narration and payee fields (max 200 chars)
3338
4084
  */
@@ -3343,13 +4089,33 @@ type TransactionControllerListData = {
3343
4089
  status?: 'ACTIVE' | 'VOIDED' | 'SUPERSEDED';
3344
4090
  };
3345
4091
  type TransactionControllerListResponse = TransactionListResponseDto;
3346
- type TransactionControllerData = {
4092
+ type TransactionControllerCreateBatchData = {
4093
+ /**
4094
+ * Region code for tenant context
4095
+ */
4096
+ region: 'cn' | 'us' | 'de' | 'gb';
4097
+ requestBody: BatchCreateTransactionDto;
4098
+ };
4099
+ type TransactionControllerCreateBatchResponse = BatchTransactionResponseDto;
4100
+ type TransactionControllerSuggestTagsData = {
4101
+ /**
4102
+ * Max suggestions (1-100, default 10)
4103
+ */
4104
+ limit?: number;
4105
+ /**
4106
+ * Prefix match, case-insensitive (max 50 chars)
4107
+ */
4108
+ q?: string;
3347
4109
  /**
3348
4110
  * Region code for tenant context
3349
4111
  */
3350
- region: 'cn' | 'us' | 'de';
4112
+ region: 'cn' | 'us' | 'de' | 'gb';
4113
+ /**
4114
+ * usage (default) or name
4115
+ */
4116
+ sort?: 'usage' | 'name';
3351
4117
  };
3352
- type TransactionControllerResponse = unknown;
4118
+ type TransactionControllerSuggestTagsResponse = TagSuggestionsResponseDto;
3353
4119
  type TransactionControllerGetDetailData = {
3354
4120
  /**
3355
4121
  * Transaction ID
@@ -3358,7 +4124,7 @@ type TransactionControllerGetDetailData = {
3358
4124
  /**
3359
4125
  * Region code for tenant context
3360
4126
  */
3361
- region: 'cn' | 'us' | 'de';
4127
+ region: 'cn' | 'us' | 'de' | 'gb';
3362
4128
  };
3363
4129
  type TransactionControllerGetDetailResponse = TransactionDetailDto;
3364
4130
  type TransactionControllerUpdateData = {
@@ -3369,42 +4135,24 @@ type TransactionControllerUpdateData = {
3369
4135
  /**
3370
4136
  * Region code for tenant context
3371
4137
  */
3372
- region: 'cn' | 'us' | 'de';
4138
+ region: 'cn' | 'us' | 'de' | 'gb';
3373
4139
  /**
3374
4140
  * Fields to update (all optional)
3375
4141
  */
3376
4142
  requestBody: UpdateTransactionDto;
3377
4143
  };
3378
4144
  type TransactionControllerUpdateResponse = TransactionDetailDto;
3379
- type TransactionController1Data = {
3380
- /**
3381
- * Region code for tenant context
3382
- */
3383
- region: 'cn' | 'us' | 'de';
3384
- };
3385
- type TransactionController1Response = void;
3386
- type AccountStandardsControllerGetTemplatesData = {
3387
- /**
3388
- * Region code (cn, us, de)
3389
- */
3390
- region: 'cn' | 'us' | 'de';
3391
- /**
3392
- * Search term for path or description
3393
- */
3394
- search?: string;
4145
+ type TransactionControllerDeleteData = {
3395
4146
  /**
3396
- * Filter by account type
4147
+ * Transaction ID
3397
4148
  */
3398
- type?: 'Assets' | 'Liabilities' | 'Income' | 'Expenses' | 'Equity';
3399
- };
3400
- type AccountStandardsControllerGetTemplatesResponse = AccountStandardListResponseDto;
3401
- type AccountStandardsControllerGetRegionsData = {
4149
+ id: string;
3402
4150
  /**
3403
- * Region code (cn, us, de)
4151
+ * Region code for tenant context
3404
4152
  */
3405
- region: 'cn' | 'us' | 'de';
4153
+ region: 'cn' | 'us' | 'de' | 'gb';
3406
4154
  };
3407
- type AccountStandardsControllerGetRegionsResponse = RegionsMetadataResponseDto;
4155
+ type TransactionControllerDeleteResponse = void;
3408
4156
  type BalanceControllerGetBalanceData = {
3409
4157
  /**
3410
4158
  * Account name (e.g., "Assets:Bank:Checking")
@@ -3419,16 +4167,16 @@ type BalanceControllerGetBalanceData = {
3419
4167
  */
3420
4168
  date?: string;
3421
4169
  /**
3422
- * Region code (cn, us, de)
4170
+ * Region code for tenant context
3423
4171
  */
3424
- region: 'cn' | 'us' | 'de';
4172
+ region: 'cn' | 'us' | 'de' | 'gb';
3425
4173
  };
3426
4174
  type BalanceControllerGetBalanceResponse = BalanceResponseDto;
3427
4175
  type BalanceControllerGetMultiCurrencyBalanceData = {
3428
4176
  /**
3429
- * Region code (cn, us, de)
4177
+ * Region code for tenant context
3430
4178
  */
3431
- region: 'cn' | 'us' | 'de';
4179
+ region: 'cn' | 'us' | 'de' | 'gb';
3432
4180
  };
3433
4181
  type BalanceControllerGetMultiCurrencyBalanceResponse = MultiCurrencyBalanceResponseDto;
3434
4182
  type ReviewControllerFindAllData = {
@@ -3445,9 +4193,9 @@ type ReviewControllerFindAllData = {
3445
4193
  */
3446
4194
  page?: number;
3447
4195
  /**
3448
- * Region code (cn, us, de)
4196
+ * Region code for tenant context
3449
4197
  */
3450
- region: 'cn' | 'us' | 'de';
4198
+ region: 'cn' | 'us' | 'de' | 'gb';
3451
4199
  /**
3452
4200
  * Sort order
3453
4201
  */
@@ -3460,9 +4208,9 @@ type ReviewControllerFindAllData = {
3460
4208
  type ReviewControllerFindAllResponse = ReviewListResponseDto;
3461
4209
  type ReviewControllerGetStatsData = {
3462
4210
  /**
3463
- * Region code (cn, us, de)
4211
+ * Region code for tenant context
3464
4212
  */
3465
- region: 'cn' | 'us' | 'de';
4213
+ region: 'cn' | 'us' | 'de' | 'gb';
3466
4214
  };
3467
4215
  type ReviewControllerGetStatsResponse = ReviewStatsDto;
3468
4216
  type ReviewControllerFindOneData = {
@@ -3471,39 +4219,49 @@ type ReviewControllerFindOneData = {
3471
4219
  */
3472
4220
  id: string;
3473
4221
  /**
3474
- * Region code (cn, us, de)
4222
+ * Region code for tenant context
3475
4223
  */
3476
- region: 'cn' | 'us' | 'de';
4224
+ region: 'cn' | 'us' | 'de' | 'gb';
3477
4225
  };
3478
4226
  type ReviewControllerFindOneResponse = ReviewDetailDto;
3479
- type ReviewControllerData = {
4227
+ type ReviewControllerResolveData = {
3480
4228
  /**
3481
- * Region code (cn, us, de)
4229
+ * Review ID
3482
4230
  */
3483
- region: 'cn' | 'us' | 'de';
3484
- };
3485
- type ReviewControllerResponse = unknown;
3486
- type ReviewController1Data = {
4231
+ id: string;
3487
4232
  /**
3488
- * Region code (cn, us, de)
4233
+ * Region code for tenant context
3489
4234
  */
3490
- region: 'cn' | 'us' | 'de';
4235
+ region: 'cn' | 'us' | 'de' | 'gb';
4236
+ requestBody: ResolveReviewDto;
3491
4237
  };
3492
- type ReviewController1Response = unknown;
3493
- type ReviewController2Data = {
4238
+ type ReviewControllerResolveResponse = ResolveResultDto;
4239
+ type ReviewControllerUndoData = {
3494
4240
  /**
3495
- * Region code (cn, us, de)
4241
+ * Review ID
4242
+ */
4243
+ id: string;
4244
+ /**
4245
+ * Region code for tenant context
3496
4246
  */
3497
- region: 'cn' | 'us' | 'de';
4247
+ region: 'cn' | 'us' | 'de' | 'gb';
3498
4248
  };
3499
- type ReviewController2Response = unknown;
3500
- type PayeeControllerData = {
4249
+ type ReviewControllerUndoResponse = UndoResultDto;
4250
+ type ReviewControllerBatchResolveData = {
3501
4251
  /**
3502
- * Region code (cn, us, de)
4252
+ * Region code for tenant context
4253
+ */
4254
+ region: 'cn' | 'us' | 'de' | 'gb';
4255
+ /**
4256
+ * Batch resolution request containing review IDs and action
3503
4257
  */
3504
- region: 'cn' | 'us' | 'de';
4258
+ requestBody: BatchResolveDto;
3505
4259
  };
3506
- type PayeeControllerResponse = unknown;
4260
+ type ReviewControllerBatchResolveResponse = BatchResolveResultDto;
4261
+ type PayeeControllerCreateData = {
4262
+ requestBody: CreatePayeeDto;
4263
+ };
4264
+ type PayeeControllerCreateResponse = PayeeResponseDto;
3507
4265
  type PayeeControllerFindAllData = {
3508
4266
  /**
3509
4267
  * Filter by custom category
@@ -3517,10 +4275,6 @@ type PayeeControllerFindAllData = {
3517
4275
  * Filter by exact payee name match
3518
4276
  */
3519
4277
  payee?: string;
3520
- /**
3521
- * Region code (cn, us, de)
3522
- */
3523
- region: 'cn' | 'us' | 'de';
3524
4278
  /**
3525
4279
  * Search term for payee name (partial match, case-insensitive). Useful for autocomplete.
3526
4280
  */
@@ -3540,10 +4294,6 @@ type PayeeControllerAutocompleteData = {
3540
4294
  * Search query for payee name (partial match, case-insensitive)
3541
4295
  */
3542
4296
  q: string;
3543
- /**
3544
- * Region code (cn, us, de)
3545
- */
3546
- region: 'cn' | 'us' | 'de';
3547
4297
  };
3548
4298
  type PayeeControllerAutocompleteResponse = PayeeAutocompleteResponseDto;
3549
4299
  type PayeeControllerGetTopPayeesData = {
@@ -3551,10 +4301,6 @@ type PayeeControllerGetTopPayeesData = {
3551
4301
  * Maximum number of results
3552
4302
  */
3553
4303
  limit?: number;
3554
- /**
3555
- * Region code (cn, us, de)
3556
- */
3557
- region: 'cn' | 'us' | 'de';
3558
4304
  };
3559
4305
  type PayeeControllerGetTopPayeesResponse = Array<PayeeStatsResponseDto>;
3560
4306
  type PayeeControllerFindOneData = {
@@ -3562,33 +4308,27 @@ type PayeeControllerFindOneData = {
3562
4308
  * Payee UUID
3563
4309
  */
3564
4310
  id: string;
3565
- /**
3566
- * Region code (cn, us, de)
3567
- */
3568
- region: 'cn' | 'us' | 'de';
3569
4311
  };
3570
4312
  type PayeeControllerFindOneResponse = PayeeResponseDto;
3571
- type PayeeController1Data = {
4313
+ type PayeeControllerUpdateData = {
3572
4314
  /**
3573
- * Region code (cn, us, de)
4315
+ * Payee UUID
3574
4316
  */
3575
- region: 'cn' | 'us' | 'de';
4317
+ id: string;
4318
+ requestBody: UpdatePayeeDto;
3576
4319
  };
3577
- type PayeeController1Response = unknown;
3578
- type PayeeController2Data = {
4320
+ type PayeeControllerUpdateResponse = PayeeResponseDto;
4321
+ type PayeeControllerDeleteData = {
3579
4322
  /**
3580
- * Region code (cn, us, de)
4323
+ * Payee UUID
3581
4324
  */
3582
- region: 'cn' | 'us' | 'de';
4325
+ id: string;
3583
4326
  };
3584
- type PayeeController2Response = void;
3585
- type PayeeProfileAdminControllerData = {
3586
- /**
3587
- * Region code (cn, us, de)
3588
- */
3589
- region: 'cn' | 'us' | 'de';
4327
+ type PayeeControllerDeleteResponse = void;
4328
+ type PayeeProfileAdminControllerCreateData = {
4329
+ requestBody: CreatePayeeProfileDto;
3590
4330
  };
3591
- type PayeeProfileAdminControllerResponse = unknown;
4331
+ type PayeeProfileAdminControllerCreateResponse = PayeeProfileResponseDto;
3592
4332
  type PayeeProfileAdminControllerFindAllData = {
3593
4333
  /**
3594
4334
  * Filter by category
@@ -3606,10 +4346,6 @@ type PayeeProfileAdminControllerFindAllData = {
3606
4346
  * Filter by active status (default: true - show only active)
3607
4347
  */
3608
4348
  isActive?: boolean;
3609
- /**
3610
- * Region code (cn, us, de)
3611
- */
3612
- region: 'cn' | 'us' | 'de';
3613
4349
  /**
3614
4350
  * Search term for canonical name and aliases (case-insensitive)
3615
4351
  */
@@ -3625,52 +4361,50 @@ type PayeeProfileAdminControllerFindOneData = {
3625
4361
  * Payee profile ID (UUID)
3626
4362
  */
3627
4363
  id: string;
3628
- /**
3629
- * Region code (cn, us, de)
3630
- */
3631
- region: 'cn' | 'us' | 'de';
3632
4364
  };
3633
4365
  type PayeeProfileAdminControllerFindOneResponse = PayeeProfileResponseDto;
3634
- type PayeeProfileAdminController1Data = {
4366
+ type PayeeProfileAdminControllerUpdateData = {
3635
4367
  /**
3636
- * Region code (cn, us, de)
4368
+ * Payee profile ID (UUID)
3637
4369
  */
3638
- region: 'cn' | 'us' | 'de';
4370
+ id: string;
4371
+ requestBody: UpdatePayeeProfileDto;
3639
4372
  };
3640
- type PayeeProfileAdminController1Response = unknown;
3641
- type PayeeProfileAdminController2Data = {
4373
+ type PayeeProfileAdminControllerUpdateResponse = PayeeProfileResponseDto;
4374
+ type PayeeProfileAdminControllerDeleteData = {
3642
4375
  /**
3643
- * Region code (cn, us, de)
4376
+ * Payee profile ID (UUID)
3644
4377
  */
3645
- region: 'cn' | 'us' | 'de';
4378
+ id: string;
3646
4379
  };
3647
- type PayeeProfileAdminController2Response = void;
3648
- type PayeeProfileAdminController3Data = {
4380
+ type PayeeProfileAdminControllerDeleteResponse = void;
4381
+ type PayeeProfileAdminControllerVerifyData = {
3649
4382
  /**
3650
- * Region code (cn, us, de)
4383
+ * Payee profile ID (UUID)
3651
4384
  */
3652
- region: 'cn' | 'us' | 'de';
4385
+ id: string;
3653
4386
  };
3654
- type PayeeProfileAdminController3Response = unknown;
3655
- type PayeeProfileAdminController4Data = {
4387
+ type PayeeProfileAdminControllerVerifyResponse = PayeeProfileResponseDto;
4388
+ type PayeeProfileAdminControllerUnverifyData = {
3656
4389
  /**
3657
- * Region code (cn, us, de)
4390
+ * Payee profile ID (UUID)
3658
4391
  */
3659
- region: 'cn' | 'us' | 'de';
4392
+ id: string;
3660
4393
  };
3661
- type PayeeProfileAdminController4Response = unknown;
3662
- type CommodityControllerData = {
4394
+ type PayeeProfileAdminControllerUnverifyResponse = PayeeProfileResponseDto;
4395
+ type CommodityControllerCreateData = {
3663
4396
  /**
3664
- * Region code (cn, us, de)
4397
+ * Region code for tenant context
3665
4398
  */
3666
- region: 'cn' | 'us' | 'de';
4399
+ region: 'cn' | 'us' | 'de' | 'gb';
4400
+ requestBody: CreateCommodityDto;
3667
4401
  };
3668
- type CommodityControllerResponse = unknown;
4402
+ type CommodityControllerCreateResponse = CommodityResponseDto;
3669
4403
  type CommodityControllerFindAllData = {
3670
4404
  /**
3671
- * Region code (cn, us, de)
4405
+ * Region code for tenant context
3672
4406
  */
3673
- region: 'cn' | 'us' | 'de';
4407
+ region: 'cn' | 'us' | 'de' | 'gb';
3674
4408
  /**
3675
4409
  * Search term for symbol or metadata fields (partial match). Searches symbol and metadata.name.
3676
4410
  */
@@ -3683,50 +4417,64 @@ type CommodityControllerFindAllData = {
3683
4417
  type CommodityControllerFindAllResponse = CommodityListResponseDto;
3684
4418
  type CommodityControllerFindOneData = {
3685
4419
  /**
3686
- * Region code (cn, us, de)
4420
+ * Region code for tenant context
3687
4421
  */
3688
- region: 'cn' | 'us' | 'de';
4422
+ region: 'cn' | 'us' | 'de' | 'gb';
3689
4423
  /**
3690
4424
  * Commodity symbol
3691
4425
  */
3692
4426
  symbol: string;
3693
4427
  };
3694
4428
  type CommodityControllerFindOneResponse = CommodityResponseDto;
3695
- type CommodityController1Data = {
4429
+ type CommodityControllerUpdateData = {
3696
4430
  /**
3697
- * Region code (cn, us, de)
4431
+ * Region code for tenant context
3698
4432
  */
3699
- region: 'cn' | 'us' | 'de';
4433
+ region: 'cn' | 'us' | 'de' | 'gb';
4434
+ requestBody: UpdateCommodityDto;
4435
+ /**
4436
+ * Commodity symbol
4437
+ */
4438
+ symbol: string;
3700
4439
  };
3701
- type CommodityController1Response = unknown;
3702
- type CommodityController2Data = {
4440
+ type CommodityControllerUpdateResponse = CommodityResponseDto;
4441
+ type CommodityControllerDeleteData = {
3703
4442
  /**
3704
- * Region code (cn, us, de)
4443
+ * Region code for tenant context
4444
+ */
4445
+ region: 'cn' | 'us' | 'de' | 'gb';
4446
+ /**
4447
+ * Commodity symbol
3705
4448
  */
3706
- region: 'cn' | 'us' | 'de';
4449
+ symbol: string;
3707
4450
  };
3708
- type CommodityController2Response = void;
3709
- type CommodityController3Data = {
4451
+ type CommodityControllerDeleteResponse = void;
4452
+ type CommodityControllerGetOrCreateData = {
3710
4453
  /**
3711
- * Region code (cn, us, de)
4454
+ * Region code for tenant context
4455
+ */
4456
+ region: 'cn' | 'us' | 'de' | 'gb';
4457
+ /**
4458
+ * Commodity symbol
3712
4459
  */
3713
- region: 'cn' | 'us' | 'de';
4460
+ symbol: string;
3714
4461
  };
3715
- type CommodityController3Response = unknown;
3716
- type CommodityController4Data = {
4462
+ type CommodityControllerGetOrCreateResponse = CommodityResponseDto;
4463
+ type CommodityControllerBulkCreateData = {
3717
4464
  /**
3718
- * Region code (cn, us, de)
4465
+ * Region code for tenant context
3719
4466
  */
3720
- region: 'cn' | 'us' | 'de';
4467
+ region: 'cn' | 'us' | 'de' | 'gb';
3721
4468
  };
3722
- type CommodityController4Response = unknown;
3723
- type RecurringRuleControllerData = {
4469
+ type CommodityControllerBulkCreateResponse = Array<CommodityResponseDto>;
4470
+ type RecurringRuleControllerCreateData = {
3724
4471
  /**
3725
- * Region code (cn, us, de)
4472
+ * Region code for tenant context
3726
4473
  */
3727
- region: 'cn' | 'us' | 'de';
4474
+ region: 'cn' | 'us' | 'de' | 'gb';
4475
+ requestBody: CreateRecurringRuleDto;
3728
4476
  };
3729
- type RecurringRuleControllerResponse = unknown;
4477
+ type RecurringRuleControllerCreateResponse = RecurringRuleResponseDto;
3730
4478
  type RecurringRuleControllerFindAllData = {
3731
4479
  /**
3732
4480
  * Filter by frequency (WEEKLY, MONTHLY, etc.)
@@ -3741,52 +4489,66 @@ type RecurringRuleControllerFindAllData = {
3741
4489
  */
3742
4490
  isActive?: boolean;
3743
4491
  /**
3744
- * Region code (cn, us, de)
4492
+ * Region code for tenant context
3745
4493
  */
3746
- region: 'cn' | 'us' | 'de';
4494
+ region: 'cn' | 'us' | 'de' | 'gb';
3747
4495
  };
3748
4496
  type RecurringRuleControllerFindAllResponse = Array<RecurringRuleResponseDto>;
3749
- type RecurringRuleController1Data = {
4497
+ type RecurringRuleControllerCreateFromTransactionData = {
3750
4498
  /**
3751
- * Region code (cn, us, de)
4499
+ * Region code for tenant context
3752
4500
  */
3753
- region: 'cn' | 'us' | 'de';
4501
+ region: 'cn' | 'us' | 'de' | 'gb';
4502
+ requestBody: CreateRuleFromTransactionDto;
4503
+ /**
4504
+ * Source transaction ID
4505
+ */
4506
+ transactionId: string;
3754
4507
  };
3755
- type RecurringRuleController1Response = unknown;
4508
+ type RecurringRuleControllerCreateFromTransactionResponse = RecurringRuleResponseDto;
3756
4509
  type RecurringRuleControllerFindOneData = {
3757
4510
  /**
3758
4511
  * Rule ID
3759
4512
  */
3760
4513
  id: string;
3761
4514
  /**
3762
- * Region code (cn, us, de)
4515
+ * Region code for tenant context
3763
4516
  */
3764
- region: 'cn' | 'us' | 'de';
4517
+ region: 'cn' | 'us' | 'de' | 'gb';
3765
4518
  };
3766
4519
  type RecurringRuleControllerFindOneResponse = RecurringRuleResponseDto;
3767
- type RecurringRuleController2Data = {
4520
+ type RecurringRuleControllerUpdateData = {
3768
4521
  /**
3769
- * Region code (cn, us, de)
4522
+ * Rule ID
4523
+ */
4524
+ id: string;
4525
+ /**
4526
+ * Region code for tenant context
3770
4527
  */
3771
- region: 'cn' | 'us' | 'de';
4528
+ region: 'cn' | 'us' | 'de' | 'gb';
4529
+ requestBody: UpdateRecurringRuleDto;
3772
4530
  };
3773
- type RecurringRuleController2Response = unknown;
3774
- type RecurringRuleController3Data = {
4531
+ type RecurringRuleControllerUpdateResponse = RecurringRuleResponseDto;
4532
+ type RecurringRuleControllerDeleteData = {
3775
4533
  /**
3776
- * Region code (cn, us, de)
4534
+ * Rule ID
4535
+ */
4536
+ id: string;
4537
+ /**
4538
+ * Region code for tenant context
3777
4539
  */
3778
- region: 'cn' | 'us' | 'de';
4540
+ region: 'cn' | 'us' | 'de' | 'gb';
3779
4541
  };
3780
- type RecurringRuleController3Response = void;
4542
+ type RecurringRuleControllerDeleteResponse = void;
3781
4543
  type RecurringRuleControllerGetWithStatsData = {
3782
4544
  /**
3783
4545
  * Rule ID
3784
4546
  */
3785
4547
  id: string;
3786
4548
  /**
3787
- * Region code (cn, us, de)
4549
+ * Region code for tenant context
3788
4550
  */
3789
- region: 'cn' | 'us' | 'de';
4551
+ region: 'cn' | 'us' | 'de' | 'gb';
3790
4552
  };
3791
4553
  type RecurringRuleControllerGetWithStatsResponse = RecurringRuleWithStatsResponseDto;
3792
4554
  type ExpectedTransactionControllerFindAllData = {
@@ -3795,9 +4557,9 @@ type ExpectedTransactionControllerFindAllData = {
3795
4557
  */
3796
4558
  fromDate?: string;
3797
4559
  /**
3798
- * Region code (cn, us, de)
4560
+ * Region code for tenant context
3799
4561
  */
3800
- region: 'cn' | 'us' | 'de';
4562
+ region: 'cn' | 'us' | 'de' | 'gb';
3801
4563
  /**
3802
4564
  * Filter by recurring rule ID
3803
4565
  */
@@ -3814,9 +4576,9 @@ type ExpectedTransactionControllerFindAllData = {
3814
4576
  type ExpectedTransactionControllerFindAllResponse = ExpectedTransactionListResponseDto;
3815
4577
  type ExpectedTransactionControllerFindOverdueData = {
3816
4578
  /**
3817
- * Region code (cn, us, de)
4579
+ * Region code for tenant context
3818
4580
  */
3819
- region: 'cn' | 'us' | 'de';
4581
+ region: 'cn' | 'us' | 'de' | 'gb';
3820
4582
  };
3821
4583
  type ExpectedTransactionControllerFindOverdueResponse = ExpectedTransactionListResponseDto;
3822
4584
  type ExpectedTransactionControllerFindOneData = {
@@ -3825,64 +4587,87 @@ type ExpectedTransactionControllerFindOneData = {
3825
4587
  */
3826
4588
  id: string;
3827
4589
  /**
3828
- * Region code (cn, us, de)
4590
+ * Region code for tenant context
3829
4591
  */
3830
- region: 'cn' | 'us' | 'de';
4592
+ region: 'cn' | 'us' | 'de' | 'gb';
3831
4593
  };
3832
4594
  type ExpectedTransactionControllerFindOneResponse = ExpectedTransactionResponseDto;
3833
- type ExpectedTransactionControllerData = {
4595
+ type ExpectedTransactionControllerSkipData = {
3834
4596
  /**
3835
- * Region code (cn, us, de)
4597
+ * Expected transaction ID
3836
4598
  */
3837
- region: 'cn' | 'us' | 'de';
4599
+ id: string;
4600
+ /**
4601
+ * Region code for tenant context
4602
+ */
4603
+ region: 'cn' | 'us' | 'de' | 'gb';
3838
4604
  };
3839
- type ExpectedTransactionControllerResponse = unknown;
3840
- type ExpectedTransactionController1Data = {
4605
+ type ExpectedTransactionControllerSkipResponse = ExpectedTransactionResponseDto;
4606
+ type ExpectedTransactionControllerUndoSkipData = {
3841
4607
  /**
3842
- * Region code (cn, us, de)
4608
+ * Expected transaction ID
3843
4609
  */
3844
- region: 'cn' | 'us' | 'de';
4610
+ id: string;
4611
+ /**
4612
+ * Region code for tenant context
4613
+ */
4614
+ region: 'cn' | 'us' | 'de' | 'gb';
3845
4615
  };
3846
- type ExpectedTransactionController1Response = unknown;
3847
- type ExpectedTransactionController2Data = {
4616
+ type ExpectedTransactionControllerUndoSkipResponse = ExpectedTransactionResponseDto;
4617
+ type ExpectedTransactionControllerConfirmMatchData = {
3848
4618
  /**
3849
- * Region code (cn, us, de)
4619
+ * Expected transaction ID
4620
+ */
4621
+ id: string;
4622
+ /**
4623
+ * Region code for tenant context
3850
4624
  */
3851
- region: 'cn' | 'us' | 'de';
4625
+ region: 'cn' | 'us' | 'de' | 'gb';
4626
+ requestBody: ConfirmMatchDto;
3852
4627
  };
3853
- type ExpectedTransactionController2Response = unknown;
3854
- type ExpectedTransactionController3Data = {
4628
+ type ExpectedTransactionControllerConfirmMatchResponse = unknown;
4629
+ type ExpectedTransactionControllerUnmatchData = {
3855
4630
  /**
3856
- * Region code (cn, us, de)
4631
+ * Expected transaction ID
4632
+ */
4633
+ id: string;
4634
+ /**
4635
+ * Region code for tenant context
3857
4636
  */
3858
- region: 'cn' | 'us' | 'de';
4637
+ region: 'cn' | 'us' | 'de' | 'gb';
3859
4638
  };
3860
- type ExpectedTransactionController3Response = unknown;
3861
- type ExpectedTransactionController4Data = {
4639
+ type ExpectedTransactionControllerUnmatchResponse = unknown;
4640
+ type ExpectedTransactionControllerEnterNowData = {
3862
4641
  /**
3863
- * Region code (cn, us, de)
4642
+ * Expected transaction ID
3864
4643
  */
3865
- region: 'cn' | 'us' | 'de';
4644
+ id: string;
4645
+ /**
4646
+ * Region code for tenant context
4647
+ */
4648
+ region: 'cn' | 'us' | 'de' | 'gb';
4649
+ requestBody: EnterNowDto;
3866
4650
  };
3867
- type ExpectedTransactionController4Response = unknown;
4651
+ type ExpectedTransactionControllerEnterNowResponse = unknown;
3868
4652
  type ForecastControllerGetForecastData = {
3869
4653
  /**
3870
4654
  * Number of months to forecast (1-12, default 3)
3871
4655
  */
3872
4656
  months?: number;
3873
4657
  /**
3874
- * Region code (cn, us, de)
4658
+ * Region code for tenant context
3875
4659
  */
3876
- region: 'cn' | 'us' | 'de';
4660
+ region: 'cn' | 'us' | 'de' | 'gb';
3877
4661
  };
3878
4662
  type ForecastControllerGetForecastResponse = ForecastResponseDto;
3879
- type TransactionRuleControllerData = {
4663
+ type TransactionRuleControllerCreateData = {
3880
4664
  /**
3881
- * Region code (cn, us, de)
4665
+ * Region code for tenant context
3882
4666
  */
3883
- region: 'cn' | 'us' | 'de';
4667
+ region: 'cn' | 'us' | 'de' | 'gb';
4668
+ requestBody: CreateTransactionRuleDto;
3884
4669
  };
3885
- type TransactionRuleControllerResponse = unknown;
4670
+ type TransactionRuleControllerCreateResponse = TransactionRuleResponseDto;
3886
4671
  type TransactionRuleControllerListData = {
3887
4672
  /**
3888
4673
  * Filter by auto-apply status
@@ -3905,35 +4690,36 @@ type TransactionRuleControllerListData = {
3905
4690
  */
3906
4691
  offset?: number;
3907
4692
  /**
3908
- * Region code (cn, us, de)
4693
+ * Region code for tenant context
3909
4694
  */
3910
- region: 'cn' | 'us' | 'de';
4695
+ region: 'cn' | 'us' | 'de' | 'gb';
3911
4696
  };
3912
4697
  type TransactionRuleControllerListResponse = TransactionRuleListResponseDto;
3913
4698
  type TransactionRuleControllerValidateData = {
3914
4699
  /**
3915
- * Region code (cn, us, de)
4700
+ * Region code for tenant context
3916
4701
  */
3917
- region: 'cn' | 'us' | 'de';
4702
+ region: 'cn' | 'us' | 'de' | 'gb';
3918
4703
  requestBody: ValidateRuleDto;
3919
4704
  };
3920
4705
  type TransactionRuleControllerValidateResponse = ValidateRuleResponseDto;
3921
- type TransactionRuleController1Data = {
4706
+ type TransactionRuleControllerBulkCreateData = {
3922
4707
  /**
3923
- * Region code (cn, us, de)
4708
+ * Region code for tenant context
3924
4709
  */
3925
- region: 'cn' | 'us' | 'de';
4710
+ region: 'cn' | 'us' | 'de' | 'gb';
4711
+ requestBody: BulkCreateRulesDto;
3926
4712
  };
3927
- type TransactionRuleController1Response = unknown;
4713
+ type TransactionRuleControllerBulkCreateResponse = BulkCreateRulesResponseDto;
3928
4714
  type TransactionRuleControllerExportData = {
3929
4715
  /**
3930
4716
  * Export format (currently only JSON supported)
3931
4717
  */
3932
4718
  format: 'json';
3933
4719
  /**
3934
- * Region code (cn, us, de)
4720
+ * Region code for tenant context
3935
4721
  */
3936
- region: 'cn' | 'us' | 'de';
4722
+ region: 'cn' | 'us' | 'de' | 'gb';
3937
4723
  };
3938
4724
  type TransactionRuleControllerExportResponse = ExportRulesResponseDto;
3939
4725
  type TransactionRuleControllerGetStatisticsData = {
@@ -3942,41 +4728,50 @@ type TransactionRuleControllerGetStatisticsData = {
3942
4728
  */
3943
4729
  period: '7d' | '30d' | '90d';
3944
4730
  /**
3945
- * Region code (cn, us, de)
4731
+ * Region code for tenant context
3946
4732
  */
3947
- region: 'cn' | 'us' | 'de';
4733
+ region: 'cn' | 'us' | 'de' | 'gb';
3948
4734
  };
3949
4735
  type TransactionRuleControllerGetStatisticsResponse = RuleStatisticsResponseDto;
3950
4736
  type TransactionRuleControllerGetDetailData = {
3951
4737
  /**
3952
- * Region code (cn, us, de)
4738
+ * Region code for tenant context
3953
4739
  */
3954
- region: 'cn' | 'us' | 'de';
4740
+ region: 'cn' | 'us' | 'de' | 'gb';
3955
4741
  /**
3956
4742
  * Rule ID
3957
4743
  */
3958
4744
  ruleId: string;
3959
4745
  };
3960
4746
  type TransactionRuleControllerGetDetailResponse = TransactionRuleResponseDto;
3961
- type TransactionRuleController2Data = {
4747
+ type TransactionRuleControllerUpdateData = {
3962
4748
  /**
3963
- * Region code (cn, us, de)
4749
+ * Region code for tenant context
4750
+ */
4751
+ region: 'cn' | 'us' | 'de' | 'gb';
4752
+ requestBody: UpdateTransactionRuleDto;
4753
+ /**
4754
+ * Rule ID to update
3964
4755
  */
3965
- region: 'cn' | 'us' | 'de';
4756
+ ruleId: string;
3966
4757
  };
3967
- type TransactionRuleController2Response = unknown;
3968
- type TransactionRuleController3Data = {
4758
+ type TransactionRuleControllerUpdateResponse = TransactionRuleResponseDto;
4759
+ type TransactionRuleControllerDeleteData = {
3969
4760
  /**
3970
- * Region code (cn, us, de)
4761
+ * Region code for tenant context
3971
4762
  */
3972
- region: 'cn' | 'us' | 'de';
4763
+ region: 'cn' | 'us' | 'de' | 'gb';
4764
+ /**
4765
+ * Rule ID to delete
4766
+ */
4767
+ ruleId: string;
3973
4768
  };
3974
- type TransactionRuleController3Response = void;
4769
+ type TransactionRuleControllerDeleteResponse = void;
3975
4770
  type TransactionRuleControllerTestData = {
3976
4771
  /**
3977
- * Region code (cn, us, de)
4772
+ * Region code for tenant context
3978
4773
  */
3979
- region: 'cn' | 'us' | 'de';
4774
+ region: 'cn' | 'us' | 'de' | 'gb';
3980
4775
  requestBody: TestRuleDto;
3981
4776
  /**
3982
4777
  * Rule ID to test
@@ -3985,26 +4780,14 @@ type TransactionRuleControllerTestData = {
3985
4780
  };
3986
4781
  type TransactionRuleControllerTestResponse = TestRuleResponseDto;
3987
4782
  type UserControllerDeleteOwnUserData = {
3988
- /**
3989
- * Region code (cn, us, de)
3990
- */
3991
- region: 'cn' | 'us' | 'de';
3992
4783
  requestBody: DeleteOwnUserDto;
3993
4784
  };
3994
4785
  type UserControllerDeleteOwnUserResponse = void;
3995
4786
  type UserControllerGetUserData = {
3996
4787
  acceptLanguage: string;
3997
- /**
3998
- * Region code (cn, us, de)
3999
- */
4000
- region: 'cn' | 'us' | 'de';
4001
4788
  };
4002
4789
  type UserControllerGetUserResponse = unknown;
4003
4790
  type UserControllerSignupUserData = {
4004
- /**
4005
- * Region code (cn, us, de)
4006
- */
4007
- region: 'cn' | 'us' | 'de';
4008
4791
  requestBody: SignupDto;
4009
4792
  };
4010
4793
  type UserControllerSignupUserResponse = unknown;
@@ -4013,10 +4796,6 @@ type UserControllerDeleteUserData = {
4013
4796
  * User ID to delete
4014
4797
  */
4015
4798
  id: string;
4016
- /**
4017
- * Region code (cn, us, de)
4018
- */
4019
- region: 'cn' | 'us' | 'de';
4020
4799
  };
4021
4800
  type UserControllerDeleteUserResponse = void;
4022
4801
  type UserControllerGetUserInfoData = {
@@ -4024,17 +4803,9 @@ type UserControllerGetUserInfoData = {
4024
4803
  * User ID
4025
4804
  */
4026
4805
  id: string;
4027
- /**
4028
- * Region code (cn, us, de)
4029
- */
4030
- region: 'cn' | 'us' | 'de';
4031
4806
  };
4032
4807
  type UserControllerGetUserInfoResponse = unknown;
4033
4808
  type UserControllerUpdateUserSettingData = {
4034
- /**
4035
- * Region code (cn, us, de)
4036
- */
4037
- region: 'cn' | 'us' | 'de';
4038
4809
  requestBody: UpdateUserSettingDto;
4039
4810
  };
4040
4811
  type UserControllerUpdateUserSettingResponse = unknown;
@@ -4047,60 +4818,42 @@ type UserControllerGetAllUserSettingsByPageData = {
4047
4818
  * Page size
4048
4819
  */
4049
4820
  pageSize: number;
4050
- /**
4051
- * Region code (cn, us, de)
4052
- */
4053
- region: 'cn' | 'us' | 'de';
4054
4821
  };
4055
4822
  type UserControllerGetAllUserSettingsByPageResponse = unknown;
4056
- type UserControllerGetAssetLiabilitySummaryData = {
4057
- /**
4058
- * Region code (cn, us, de)
4059
- */
4060
- region: 'cn' | 'us' | 'de';
4061
- };
4062
4823
  type UserControllerGetAssetLiabilitySummaryResponse = unknown;
4063
- type PropertyControllerGetAllData = {
4064
- /**
4065
- * Region code (cn, us, de)
4066
- */
4067
- region: 'cn' | 'us' | 'de';
4068
- };
4069
4824
  type PropertyControllerGetAllResponse = unknown;
4070
4825
  type PropertyControllerGetByKeyData = {
4071
4826
  /**
4072
4827
  * Property key
4073
4828
  */
4074
4829
  key: string;
4075
- /**
4076
- * Region code (cn, us, de)
4077
- */
4078
- region: 'cn' | 'us' | 'de';
4079
4830
  };
4080
4831
  type PropertyControllerGetByKeyResponse = unknown;
4081
- type PropertyControllerData = {
4832
+ type PropertyControllerUpdateData = {
4082
4833
  /**
4083
- * Region code (cn, us, de)
4834
+ * Property key
4084
4835
  */
4085
- region: 'cn' | 'us' | 'de';
4836
+ key: string;
4837
+ requestBody: UpdatePropertyDto;
4086
4838
  };
4087
- type PropertyControllerResponse = unknown;
4088
- type PropertyController1Data = {
4839
+ type PropertyControllerUpdateResponse = unknown;
4840
+ type PropertyControllerDeleteData = {
4089
4841
  /**
4090
- * Region code (cn, us, de)
4842
+ * Property key
4091
4843
  */
4092
- region: 'cn' | 'us' | 'de';
4844
+ key: string;
4093
4845
  };
4094
- type PropertyController1Response = void;
4846
+ type PropertyControllerDeleteResponse = void;
4847
+ type ExportControllerExportBeancountResponse = unknown;
4095
4848
  type FileImportControllerImportFileData = {
4096
4849
  /**
4097
4850
  * Bill file to import
4098
4851
  */
4099
4852
  formData: FileImportDto;
4100
4853
  /**
4101
- * Region code (cn, us, de)
4854
+ * Region code for tenant context
4102
4855
  */
4103
- region: 'cn' | 'us' | 'de';
4856
+ region: 'cn' | 'us' | 'de' | 'gb';
4104
4857
  };
4105
4858
  type FileImportControllerImportFileResponse = ImportResultDto;
4106
4859
  type FileImportControllerIdentifyFileData = {
@@ -4109,36 +4862,99 @@ type FileImportControllerIdentifyFileData = {
4109
4862
  */
4110
4863
  formData: FileImportDto;
4111
4864
  /**
4112
- * Region code (cn, us, de)
4865
+ * Region code for tenant context
4113
4866
  */
4114
- region: 'cn' | 'us' | 'de';
4867
+ region: 'cn' | 'us' | 'de' | 'gb';
4115
4868
  };
4116
4869
  type FileImportControllerIdentifyFileResponse = IdentifyResultDto;
4870
+ type FileImportControllerImportBeancountData = {
4871
+ /**
4872
+ * Beancount file to import
4873
+ */
4874
+ formData: FileImportDto;
4875
+ /**
4876
+ * Region code for tenant context
4877
+ */
4878
+ region: 'cn' | 'us' | 'de' | 'gb';
4879
+ };
4880
+ type FileImportControllerImportBeancountResponse = {
4881
+ imported?: number;
4882
+ skipped?: number;
4883
+ failed?: number;
4884
+ accountsCreated?: number;
4885
+ errors?: Array<{
4886
+ [key: string]: unknown;
4887
+ }>;
4888
+ };
4117
4889
  type ImporterConfigControllerGetConfigData = {
4118
4890
  /**
4119
- * Importer identifier. Supported importers: alipay, alipay-web, wechat, boc, boc-credit, ccb, cmb, cmbc, cmbc-credit, icbc, icbc-credit, hsbc-hk
4891
+ * 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
4120
4892
  */
4121
4893
  importerId: string;
4122
4894
  /**
4123
- * Region code (cn, us, de)
4895
+ * Region code for tenant context
4124
4896
  */
4125
- region: 'cn' | 'us' | 'de';
4897
+ region: 'cn' | 'us' | 'de' | 'gb';
4126
4898
  };
4127
4899
  type ImporterConfigControllerGetConfigResponse = ImporterConfigDto;
4128
- type ImporterConfigControllerData = {
4900
+ type ImporterConfigControllerUpdateConfigData = {
4129
4901
  /**
4130
- * Region code (cn, us, de)
4902
+ * 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
4903
+ */
4904
+ importerId: string;
4905
+ /**
4906
+ * Region code for tenant context
4131
4907
  */
4132
- region: 'cn' | 'us' | 'de';
4908
+ region: 'cn' | 'us' | 'de' | 'gb';
4909
+ /**
4910
+ * Partial configuration update. Only provided fields will be updated.
4911
+ */
4912
+ requestBody: UpdateImporterConfigDto;
4133
4913
  };
4134
- type ImporterConfigControllerResponse = unknown;
4135
- type ImporterConfigController1Data = {
4914
+ type ImporterConfigControllerUpdateConfigResponse = ImporterConfigDto;
4915
+ type ImporterConfigControllerResetConfigData = {
4136
4916
  /**
4137
- * Region code (cn, us, de)
4917
+ * 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
4918
+ */
4919
+ importerId: string;
4920
+ /**
4921
+ * Region code for tenant context
4922
+ */
4923
+ region: 'cn' | 'us' | 'de' | 'gb';
4924
+ };
4925
+ type ImporterConfigControllerResetConfigResponse = ImporterConfigDto;
4926
+ type PlatformControllerFindAllResponse = unknown;
4927
+ type PlatformControllerCreateData = {
4928
+ requestBody: CreatePlatformDto;
4929
+ };
4930
+ type PlatformControllerCreateResponse = unknown;
4931
+ type PlatformControllerGetPlatformListResponse = unknown;
4932
+ type PlatformControllerMatchPlatformsData = {
4933
+ /**
4934
+ * Search query — Chinese name, English name, or abbreviation
4935
+ */
4936
+ q: string;
4937
+ /**
4938
+ * Region code for category override lookup
4939
+ */
4940
+ region?: string;
4941
+ };
4942
+ type PlatformControllerMatchPlatformsResponse = unknown;
4943
+ type PlatformControllerUpdateData = {
4944
+ /**
4945
+ * Platform ID
4946
+ */
4947
+ id: string;
4948
+ requestBody: UpdatePlatformDto;
4949
+ };
4950
+ type PlatformControllerUpdateResponse = unknown;
4951
+ type PlatformControllerDeleteData = {
4952
+ /**
4953
+ * Platform ID
4138
4954
  */
4139
- region: 'cn' | 'us' | 'de';
4955
+ id: string;
4140
4956
  };
4141
- type ImporterConfigController1Response = unknown;
4957
+ type PlatformControllerDeleteResponse = void;
4142
4958
  type ProviderSyncControllerSyncData = {
4143
4959
  /**
4144
4960
  * Provider name
@@ -4153,9 +4969,9 @@ type ProviderSyncControllerSyncData = {
4153
4969
  type ProviderSyncControllerSyncResponse = ProviderSyncResponseDto;
4154
4970
  type ProviderSyncControllerGetSupportedProvidersData = {
4155
4971
  /**
4156
- * Region code (cn, us, de)
4972
+ * Region code for tenant context
4157
4973
  */
4158
- region: 'cn' | 'us' | 'de';
4974
+ region: 'cn' | 'us' | 'de' | 'gb';
4159
4975
  };
4160
4976
  type ProviderSyncControllerGetSupportedProvidersResponse = SupportedProvidersResponseDto;
4161
4977
  type ProviderSyncControllerIsProviderSupportedData = {
@@ -4164,24 +4980,24 @@ type ProviderSyncControllerIsProviderSupportedData = {
4164
4980
  */
4165
4981
  providerName: string;
4166
4982
  /**
4167
- * Region code (cn, us, de)
4983
+ * Region code for tenant context
4168
4984
  */
4169
- region: 'cn' | 'us' | 'de';
4985
+ region: 'cn' | 'us' | 'de' | 'gb';
4170
4986
  };
4171
4987
  type ProviderSyncControllerIsProviderSupportedResponse = unknown;
4172
4988
  type TelemetryControllerReportTelemetryData = {
4173
4989
  /**
4174
- * Region code (cn, us, de)
4990
+ * Region code for tenant context
4175
4991
  */
4176
- region: 'cn' | 'us' | 'de';
4992
+ region: 'cn' | 'us' | 'de' | 'gb';
4177
4993
  requestBody: ParserTelemetryReportDto;
4178
4994
  };
4179
4995
  type TelemetryControllerReportTelemetryResponse = unknown;
4180
4996
  type NlpControllerProcessNaturalLanguageData = {
4181
4997
  /**
4182
- * Region code (cn, us, de)
4998
+ * Region code for tenant context
4183
4999
  */
4184
- region: 'cn' | 'us' | 'de';
5000
+ region: 'cn' | 'us' | 'de' | 'gb';
4185
5001
  /**
4186
5002
  * Natural language transaction input with optional session ID
4187
5003
  */
@@ -4190,9 +5006,9 @@ type NlpControllerProcessNaturalLanguageData = {
4190
5006
  type NlpControllerProcessNaturalLanguageResponse = NlpResponseDto;
4191
5007
  type NlpControllerClearSessionData = {
4192
5008
  /**
4193
- * Region code (cn, us, de)
5009
+ * Region code for tenant context
4194
5010
  */
4195
- region: 'cn' | 'us' | 'de';
5011
+ region: 'cn' | 'us' | 'de' | 'gb';
4196
5012
  /**
4197
5013
  * Specific session ID to clear (defaults to user session)
4198
5014
  */
@@ -4201,138 +5017,24 @@ type NlpControllerClearSessionData = {
4201
5017
  type NlpControllerClearSessionResponse = void;
4202
5018
  type NlpControllerGetSessionData = {
4203
5019
  /**
4204
- * Region code (cn, us, de)
5020
+ * Region code for tenant context
4205
5021
  */
4206
- region: 'cn' | 'us' | 'de';
5022
+ region: 'cn' | 'us' | 'de' | 'gb';
4207
5023
  /**
4208
5024
  * Specific session ID to get (defaults to user session)
4209
5025
  */
4210
5026
  sessionId?: string;
4211
5027
  };
4212
5028
  type NlpControllerGetSessionResponse = unknown;
4213
- type PlatformControllerFindAllData = {
4214
- /**
4215
- * Region code (cn, us, de)
4216
- */
4217
- region: 'cn' | 'us' | 'de';
4218
- };
4219
- type PlatformControllerFindAllResponse = unknown;
4220
- type PlatformControllerData = {
4221
- /**
4222
- * Region code (cn, us, de)
4223
- */
4224
- region: 'cn' | 'us' | 'de';
4225
- };
4226
- type PlatformControllerResponse = unknown;
4227
- type PlatformControllerGetPlatformListData = {
4228
- /**
4229
- * Region code (cn, us, de)
4230
- */
4231
- region: 'cn' | 'us' | 'de';
4232
- };
4233
- type PlatformControllerGetPlatformListResponse = unknown;
4234
- type PlatformController1Data = {
4235
- /**
4236
- * Region code (cn, us, de)
4237
- */
4238
- region: 'cn' | 'us' | 'de';
4239
- };
4240
- type PlatformController1Response = unknown;
4241
- type PlatformController2Data = {
4242
- /**
4243
- * Region code (cn, us, de)
4244
- */
4245
- region: 'cn' | 'us' | 'de';
4246
- };
4247
- type PlatformController2Response = void;
4248
- type SymbolControllerLookupSymbolData = {
4249
- /**
4250
- * Geographic area filter (e.g., CN, US)
4251
- */
4252
- area?: unknown;
4253
- /**
4254
- * Asset class filter
4255
- */
4256
- assetClass?: unknown;
4257
- /**
4258
- * Asset sub-class filter
4259
- */
4260
- assetSubClass?: unknown;
4261
- /**
4262
- * Include index symbols in results
4263
- */
4264
- includeIndices?: unknown;
4265
- /**
4266
- * Search query string
4267
- */
4268
- query?: unknown;
4269
- /**
4270
- * Region code (cn, us, de)
4271
- */
4272
- region: 'cn' | 'us' | 'de';
4273
- };
4274
- type SymbolControllerLookupSymbolResponse = unknown;
4275
- type SymbolControllerGetSymbolDataData = {
4276
- /**
4277
- * Data source provider
4278
- */
4279
- dataSource: 'ALPHA_VANTAGE' | 'EOD_HISTORICAL_DATA' | 'FINANCIAL_MODELING_PREP' | 'MANUAL' | 'RAPID_API' | 'YAHOO' | 'COINGECKO' | 'TUSHARE' | 'BLOOMBERG' | 'CSI' | 'STOOQ' | 'TRADING_VIEW';
4280
- /**
4281
- * Include historical price data (0 or 1)
4282
- */
4283
- includeHistoricalData?: unknown;
4284
- /**
4285
- * Region code (cn, us, de)
4286
- */
4287
- region: 'cn' | 'us' | 'de';
4288
- /**
4289
- * Symbol identifier (e.g., ticker code)
4290
- */
4291
- symbol: string;
4292
- };
4293
- type SymbolControllerGetSymbolDataResponse = unknown;
4294
- type SymbolControllerGatherSymbolForDateData = {
4295
- /**
4296
- * Data source provider
4297
- */
4298
- dataSource: 'ALPHA_VANTAGE' | 'EOD_HISTORICAL_DATA' | 'FINANCIAL_MODELING_PREP' | 'MANUAL' | 'RAPID_API' | 'YAHOO' | 'COINGECKO' | 'TUSHARE' | 'BLOOMBERG' | 'CSI' | 'STOOQ' | 'TRADING_VIEW';
4299
- /**
4300
- * Date in ISO 8601 format (YYYY-MM-DD)
4301
- */
4302
- dateString: string;
4303
- /**
4304
- * Region code (cn, us, de)
4305
- */
4306
- region: 'cn' | 'us' | 'de';
4307
- /**
4308
- * Symbol identifier (e.g., ticker code)
4309
- */
4310
- symbol: string;
4311
- };
4312
- type SymbolControllerGatherSymbolForDateResponse = unknown;
4313
- type SymbolControllerData = {
4314
- /**
4315
- * Region code (cn, us, de)
4316
- */
4317
- region: 'cn' | 'us' | 'de';
4318
- };
4319
- type SymbolControllerResponse = unknown;
4320
- type CacheControllerFlushCacheData = {
4321
- /**
4322
- * Region code (cn, us, de)
4323
- */
4324
- region: 'cn' | 'us' | 'de';
4325
- };
4326
- type CacheControllerFlushCacheResponse = unknown;
4327
5029
  type DashboardControllerGetNetWorthData = {
4328
5030
  /**
4329
5031
  * Date for balance calculation (ISO 8601 format)
4330
5032
  */
4331
5033
  date?: string;
4332
5034
  /**
4333
- * Region code (cn, us, de)
5035
+ * Region code for tenant context
4334
5036
  */
4335
- region: 'cn' | 'us' | 'de';
5037
+ region: 'cn' | 'us' | 'de' | 'gb';
4336
5038
  };
4337
5039
  type DashboardControllerGetNetWorthResponse = NetWorthResponseDto;
4338
5040
  type DashboardControllerGetAccountsData = {
@@ -4345,9 +5047,9 @@ type DashboardControllerGetAccountsData = {
4345
5047
  */
4346
5048
  groupBy?: 'platform' | 'assetClass';
4347
5049
  /**
4348
- * Region code (cn, us, de)
5050
+ * Region code for tenant context
4349
5051
  */
4350
- region: 'cn' | 'us' | 'de';
5052
+ region: 'cn' | 'us' | 'de' | 'gb';
4351
5053
  };
4352
5054
  type DashboardControllerGetAccountsResponse = AccountsResponseDto | AssetClassAccountsResponseDto;
4353
5055
  type DashboardControllerGetCashFlowData = {
@@ -4356,9 +5058,9 @@ type DashboardControllerGetCashFlowData = {
4356
5058
  */
4357
5059
  period: string;
4358
5060
  /**
4359
- * Region code (cn, us, de)
5061
+ * Region code for tenant context
4360
5062
  */
4361
- region: 'cn' | 'us' | 'de';
5063
+ region: 'cn' | 'us' | 'de' | 'gb';
4362
5064
  };
4363
5065
  type DashboardControllerGetCashFlowResponse = CashFlowResponseDto;
4364
5066
  type ReportingControllerGetPortfolioTrendsData = {
@@ -4371,16 +5073,16 @@ type ReportingControllerGetPortfolioTrendsData = {
4371
5073
  */
4372
5074
  period?: '1m' | '3m' | '6m' | '1y';
4373
5075
  /**
4374
- * Region code (cn, us, de)
5076
+ * Region code for tenant context
4375
5077
  */
4376
- region: 'cn' | 'us' | 'de';
5078
+ region: 'cn' | 'us' | 'de' | 'gb';
4377
5079
  };
4378
5080
  type ReportingControllerGetPortfolioTrendsResponse = PortfolioTrendsResponseDto;
4379
5081
  type ReportingControllerGenerateSnapshotData = {
4380
5082
  /**
4381
- * Region code (cn, us, de)
5083
+ * Region code for tenant context
4382
5084
  */
4383
- region: 'cn' | 'us' | 'de';
5085
+ region: 'cn' | 'us' | 'de' | 'gb';
4384
5086
  /**
4385
5087
  * Optional date (defaults to today)
4386
5088
  */
@@ -4389,172 +5091,43 @@ type ReportingControllerGenerateSnapshotData = {
4389
5091
  type ReportingControllerGenerateSnapshotResponse = GenerateSnapshotResponse;
4390
5092
  type ReportingControllerBackfillSnapshotsData = {
4391
5093
  /**
4392
- * Region code (cn, us, de)
5094
+ * Region code for tenant context
4393
5095
  */
4394
- region: 'cn' | 'us' | 'de';
5096
+ region: 'cn' | 'us' | 'de' | 'gb';
4395
5097
  requestBody: BackfillSnapshotsBody;
4396
5098
  };
4397
5099
  type ReportingControllerBackfillSnapshotsResponse = BackfillSnapshotsResponse;
4398
- type ApiKeysControllerData = {
4399
- /**
4400
- * Region code (cn, us, de)
4401
- */
4402
- region: 'cn' | 'us' | 'de';
4403
- };
4404
- type ApiKeysControllerResponse = unknown;
5100
+ type ApiKeysControllerCreateApiKeyResponse = unknown;
4405
5101
  type AuthControllerAccessTokenLoginData = {
4406
- /**
4407
- * Region code (cn, us, de)
4408
- */
4409
- region: 'cn' | 'us' | 'de';
4410
5102
  requestBody: AnonymousLoginDto;
4411
5103
  };
4412
5104
  type AuthControllerAccessTokenLoginResponse = unknown;
5105
+ type CacheControllerFlushCacheResponse = unknown;
4413
5106
  type ExchangeRateControllerGetExchangeRateData = {
4414
5107
  /**
4415
5108
  * Date in ISO format (YYYY-MM-DD)
4416
5109
  */
4417
5110
  dateString: string;
4418
- /**
4419
- * Region code (cn, us, de)
4420
- */
4421
- region: 'cn' | 'us' | 'de';
4422
5111
  /**
4423
5112
  * Currency pair symbol (e.g., USDCNY, EURUSD)
4424
5113
  */
4425
5114
  symbol: string;
4426
5115
  };
4427
5116
  type ExchangeRateControllerGetExchangeRateResponse = unknown;
4428
- type HealthControllerGetHealthData = {
4429
- /**
4430
- * Region code (cn, us, de)
4431
- */
4432
- region: 'cn' | 'us' | 'de';
4433
- };
4434
5117
  type HealthControllerGetHealthResponse = unknown;
4435
- type HealthControllerCheckDatabaseData = {
4436
- /**
4437
- * Region code (cn, us, de)
4438
- */
4439
- region: 'cn' | 'us' | 'de';
4440
- };
4441
5118
  type HealthControllerCheckDatabaseResponse = unknown;
4442
- type HealthControllerCheckRedisData = {
4443
- /**
4444
- * Region code (cn, us, de)
4445
- */
4446
- region: 'cn' | 'us' | 'de';
4447
- };
5119
+ type HealthControllerCheckOpenBbResponse = unknown;
4448
5120
  type HealthControllerCheckRedisResponse = unknown;
4449
- type HealthControllerGetCircuitBreakersHealthData = {
4450
- /**
4451
- * Region code (cn, us, de)
4452
- */
4453
- region: 'cn' | 'us' | 'de';
4454
- };
4455
5121
  type HealthControllerGetCircuitBreakersHealthResponse = unknown;
4456
5122
  type HealthControllerResetCircuitBreakerData = {
4457
5123
  /**
4458
5124
  * Circuit breaker name to reset
4459
5125
  */
4460
5126
  name: string;
4461
- /**
4462
- * Region code (cn, us, de)
4463
- */
4464
- region: 'cn' | 'us' | 'de';
4465
5127
  };
4466
5128
  type HealthControllerResetCircuitBreakerResponse = unknown;
4467
- type HealthControllerGetMetricsData = {
4468
- /**
4469
- * Region code (cn, us, de)
4470
- */
4471
- region: 'cn' | 'us' | 'de';
4472
- };
4473
- type HealthControllerGetMetricsResponse = unknown;
4474
- type HealthControllerGetHealthOfDataEnhancerData = {
4475
- /**
4476
- * Data enhancer name
4477
- */
4478
- name: string;
4479
- /**
4480
- * Region code (cn, us, de)
4481
- */
4482
- region: 'cn' | 'us' | 'de';
4483
- };
4484
- type HealthControllerGetHealthOfDataEnhancerResponse = unknown;
4485
- type HealthControllerCheckDataProvidersData = {
4486
- /**
4487
- * Region code (cn, us, de)
4488
- */
4489
- region: 'cn' | 'us' | 'de';
4490
- };
4491
- type HealthControllerCheckDataProvidersResponse = unknown;
4492
- type HealthControllerGetHealthOfDataProviderData = {
4493
- /**
4494
- * Data source identifier
4495
- */
4496
- dataSource: string;
4497
- /**
4498
- * Region code (cn, us, de)
4499
- */
4500
- region: 'cn' | 'us' | 'de';
4501
- };
4502
- type HealthControllerGetHealthOfDataProviderResponse = unknown;
4503
- type InfoControllerGetInfoData = {
4504
- /**
4505
- * Region code (cn, us, de)
4506
- */
4507
- region: 'cn' | 'us' | 'de';
4508
- };
4509
- type InfoControllerGetInfoResponse = unknown;
4510
- type LogoControllerGetLogoByDataSourceAndSymbolData = {
4511
- /**
4512
- * Data source identifier (e.g., YAHOO, COINGECKO)
4513
- */
4514
- dataSource: string;
4515
- /**
4516
- * Region code (cn, us, de)
4517
- */
4518
- region: 'cn' | 'us' | 'de';
4519
- /**
4520
- * Asset symbol (e.g., AAPL, BTC)
4521
- */
4522
- symbol: string;
4523
- };
4524
- type LogoControllerGetLogoByDataSourceAndSymbolResponse = unknown;
4525
- type LogoControllerGetLogoByUrlData = {
4526
- /**
4527
- * Region code (cn, us, de)
4528
- */
4529
- region: 'cn' | 'us' | 'de';
4530
- /**
4531
- * Website URL to fetch favicon from
4532
- */
4533
- url: string;
4534
- };
4535
- type LogoControllerGetLogoByUrlResponse = unknown;
4536
- type MarketDataControllerGetMarketDataBySymbolData = {
4537
- /**
4538
- * Data source provider
4539
- */
4540
- dataSource: 'ALPHA_VANTAGE' | 'EOD_HISTORICAL_DATA' | 'FINANCIAL_MODELING_PREP' | 'MANUAL' | 'RAPID_API' | 'YAHOO' | 'COINGECKO' | 'TUSHARE' | 'BLOOMBERG' | 'CSI' | 'STOOQ' | 'TRADING_VIEW';
4541
- /**
4542
- * Region code (cn, us, de)
4543
- */
4544
- region: 'cn' | 'us' | 'de';
4545
- /**
4546
- * Symbol code
4547
- */
4548
- symbol: string;
4549
- };
4550
- type MarketDataControllerGetMarketDataBySymbolResponse = unknown;
4551
- type MarketDataControllerData = {
4552
- /**
4553
- * Region code (cn, us, de)
4554
- */
4555
- region: 'cn' | 'us' | 'de';
4556
- };
4557
- type MarketDataControllerResponse = unknown;
5129
+ type HealthControllerGetMetricsResponse = unknown;
5130
+ type InfoControllerGetInfoResponse = unknown;
4558
5131
  type $OpenApiTs = {
4559
5132
  '/api/v1/{region}/bean/accounts': {
4560
5133
  post: {
@@ -4663,6 +5236,39 @@ type $OpenApiTs = {
4663
5236
  };
4664
5237
  };
4665
5238
  };
5239
+ '/api/v1/{region}/bean/account-standards': {
5240
+ get: {
5241
+ req: AccountStandardsControllerGetTemplatesData;
5242
+ res: {
5243
+ /**
5244
+ * Account templates retrieved successfully
5245
+ */
5246
+ 200: AccountStandardListResponseDto;
5247
+ };
5248
+ };
5249
+ };
5250
+ '/api/v1/{region}/bean/account-standards/template-metadata': {
5251
+ get: {
5252
+ req: AccountStandardsControllerGetTemplateMetadataData;
5253
+ res: {
5254
+ /**
5255
+ * Template metadata retrieved successfully
5256
+ */
5257
+ 200: TemplateMetadataResponseDto;
5258
+ };
5259
+ };
5260
+ };
5261
+ '/api/v1/{region}/bean/account-standards/regions': {
5262
+ get: {
5263
+ req: AccountStandardsControllerGetRegionsData;
5264
+ res: {
5265
+ /**
5266
+ * Regions metadata retrieved successfully
5267
+ */
5268
+ 200: RegionsMetadataResponseDto;
5269
+ };
5270
+ };
5271
+ };
4666
5272
  '/api/v1/{region}/bean/transactions': {
4667
5273
  post: {
4668
5274
  req: TransactionControllerCreateData;
@@ -4696,6 +5302,10 @@ type $OpenApiTs = {
4696
5302
  * Transaction list
4697
5303
  */
4698
5304
  200: TransactionListResponseDto;
5305
+ /**
5306
+ * Validation failed
5307
+ */
5308
+ 400: ApiProblemResponseDto;
4699
5309
  /**
4700
5310
  * Authentication required
4701
5311
  */
@@ -4705,9 +5315,39 @@ type $OpenApiTs = {
4705
5315
  };
4706
5316
  '/api/v1/{region}/bean/transactions/batch': {
4707
5317
  post: {
4708
- req: TransactionControllerData;
5318
+ req: TransactionControllerCreateBatchData;
4709
5319
  res: {
4710
- 201: unknown;
5320
+ /**
5321
+ * Transactions processed
5322
+ */
5323
+ 201: BatchTransactionResponseDto;
5324
+ /**
5325
+ * Invalid input
5326
+ */
5327
+ 400: ApiProblemResponseDto;
5328
+ /**
5329
+ * Authentication required
5330
+ */
5331
+ 401: ApiProblemResponseDto;
5332
+ };
5333
+ };
5334
+ };
5335
+ '/api/v1/{region}/bean/transactions/tags': {
5336
+ get: {
5337
+ req: TransactionControllerSuggestTagsData;
5338
+ res: {
5339
+ /**
5340
+ * Tag suggestions
5341
+ */
5342
+ 200: TagSuggestionsResponseDto;
5343
+ /**
5344
+ * Validation failed
5345
+ */
5346
+ 400: ApiProblemResponseDto;
5347
+ /**
5348
+ * Authentication required
5349
+ */
5350
+ 401: ApiProblemResponseDto;
4711
5351
  };
4712
5352
  };
4713
5353
  };
@@ -4751,31 +5391,24 @@ type $OpenApiTs = {
4751
5391
  };
4752
5392
  };
4753
5393
  delete: {
4754
- req: TransactionController1Data;
5394
+ req: TransactionControllerDeleteData;
4755
5395
  res: {
5396
+ /**
5397
+ * Transaction voided successfully
5398
+ */
4756
5399
  204: void;
4757
- };
4758
- };
4759
- };
4760
- '/api/v1/{region}/bean/account-standards': {
4761
- get: {
4762
- req: AccountStandardsControllerGetTemplatesData;
4763
- res: {
4764
5400
  /**
4765
- * Account templates retrieved successfully
5401
+ * Transaction already voided
4766
5402
  */
4767
- 200: AccountStandardListResponseDto;
4768
- };
4769
- };
4770
- };
4771
- '/api/v1/{region}/bean/account-standards/regions': {
4772
- get: {
4773
- req: AccountStandardsControllerGetRegionsData;
4774
- res: {
5403
+ 400: ApiProblemResponseDto;
4775
5404
  /**
4776
- * Regions metadata retrieved successfully
5405
+ * Authentication required
4777
5406
  */
4778
- 200: RegionsMetadataResponseDto;
5407
+ 401: ApiProblemResponseDto;
5408
+ /**
5409
+ * Transaction not found
5410
+ */
5411
+ 404: ApiProblemResponseDto;
4779
5412
  };
4780
5413
  };
4781
5414
  };
@@ -4843,33 +5476,44 @@ type $OpenApiTs = {
4843
5476
  };
4844
5477
  '/api/v1/{region}/bean/reviews/{id}/resolve': {
4845
5478
  post: {
4846
- req: ReviewControllerData;
5479
+ req: ReviewControllerResolveData;
4847
5480
  res: {
4848
- 201: unknown;
5481
+ 200: ResolveResultDto;
4849
5482
  };
4850
5483
  };
4851
5484
  };
4852
5485
  '/api/v1/{region}/bean/reviews/{id}/undo': {
4853
5486
  post: {
4854
- req: ReviewController1Data;
5487
+ req: ReviewControllerUndoData;
4855
5488
  res: {
4856
- 201: unknown;
5489
+ 200: UndoResultDto;
4857
5490
  };
4858
5491
  };
4859
5492
  };
4860
5493
  '/api/v1/{region}/bean/reviews/batch-resolve': {
4861
5494
  post: {
4862
- req: ReviewController2Data;
5495
+ req: ReviewControllerBatchResolveData;
4863
5496
  res: {
4864
- 201: unknown;
5497
+ 200: BatchResolveResultDto;
4865
5498
  };
4866
5499
  };
4867
5500
  };
4868
5501
  '/api/v1/bean/payees': {
4869
5502
  post: {
4870
- req: PayeeControllerData;
5503
+ req: PayeeControllerCreateData;
4871
5504
  res: {
4872
- 201: unknown;
5505
+ /**
5506
+ * Payee created successfully
5507
+ */
5508
+ 201: PayeeResponseDto;
5509
+ /**
5510
+ * Invalid input data
5511
+ */
5512
+ 400: ApiProblemResponseDto;
5513
+ /**
5514
+ * Payee already exists
5515
+ */
5516
+ 409: ApiProblemResponseDto;
4873
5517
  };
4874
5518
  };
4875
5519
  get: {
@@ -4923,23 +5567,56 @@ type $OpenApiTs = {
4923
5567
  };
4924
5568
  };
4925
5569
  put: {
4926
- req: PayeeController1Data;
5570
+ req: PayeeControllerUpdateData;
4927
5571
  res: {
4928
- 200: unknown;
5572
+ /**
5573
+ * Payee updated successfully
5574
+ */
5575
+ 200: PayeeResponseDto;
5576
+ /**
5577
+ * Invalid input data
5578
+ */
5579
+ 400: ApiProblemResponseDto;
5580
+ /**
5581
+ * Payee not found
5582
+ */
5583
+ 404: ApiProblemResponseDto;
4929
5584
  };
4930
5585
  };
4931
5586
  delete: {
4932
- req: PayeeController2Data;
5587
+ req: PayeeControllerDeleteData;
4933
5588
  res: {
5589
+ /**
5590
+ * Payee deleted successfully
5591
+ */
4934
5592
  204: void;
5593
+ /**
5594
+ * Payee not found
5595
+ */
5596
+ 404: ApiProblemResponseDto;
4935
5597
  };
4936
5598
  };
4937
5599
  };
4938
5600
  '/api/v1/admin/payee-profiles': {
4939
5601
  post: {
4940
- req: PayeeProfileAdminControllerData;
5602
+ req: PayeeProfileAdminControllerCreateData;
4941
5603
  res: {
4942
- 201: unknown;
5604
+ /**
5605
+ * Payee profile created successfully
5606
+ */
5607
+ 201: PayeeProfileResponseDto;
5608
+ /**
5609
+ * Validation failed
5610
+ */
5611
+ 400: ApiProblemResponseDto;
5612
+ /**
5613
+ * Admin access required
5614
+ */
5615
+ 403: ApiProblemResponseDto;
5616
+ /**
5617
+ * Payee profile already exists
5618
+ */
5619
+ 409: ApiProblemResponseDto;
4943
5620
  };
4944
5621
  };
4945
5622
  get: {
@@ -4975,37 +5652,96 @@ type $OpenApiTs = {
4975
5652
  };
4976
5653
  };
4977
5654
  put: {
4978
- req: PayeeProfileAdminController1Data;
5655
+ req: PayeeProfileAdminControllerUpdateData;
4979
5656
  res: {
4980
- 200: unknown;
5657
+ /**
5658
+ * Payee profile updated successfully
5659
+ */
5660
+ 200: PayeeProfileResponseDto;
5661
+ /**
5662
+ * Admin access required
5663
+ */
5664
+ 403: ApiProblemResponseDto;
5665
+ /**
5666
+ * Payee profile not found
5667
+ */
5668
+ 404: ApiProblemResponseDto;
4981
5669
  };
4982
5670
  };
4983
5671
  delete: {
4984
- req: PayeeProfileAdminController2Data;
5672
+ req: PayeeProfileAdminControllerDeleteData;
4985
5673
  res: {
5674
+ /**
5675
+ * Payee profile deleted successfully
5676
+ */
4986
5677
  204: void;
5678
+ /**
5679
+ * Admin access required
5680
+ */
5681
+ 403: ApiProblemResponseDto;
5682
+ /**
5683
+ * Payee profile not found
5684
+ */
5685
+ 404: ApiProblemResponseDto;
5686
+ /**
5687
+ * Payee profile is in use and cannot be deleted
5688
+ */
5689
+ 409: ApiProblemResponseDto;
4987
5690
  };
4988
5691
  };
4989
5692
  };
4990
5693
  '/api/v1/admin/payee-profiles/{id}/verify': {
4991
5694
  post: {
4992
- req: PayeeProfileAdminController3Data;
5695
+ req: PayeeProfileAdminControllerVerifyData;
4993
5696
  res: {
4994
- 201: unknown;
5697
+ /**
5698
+ * Payee profile verified successfully
5699
+ */
5700
+ 201: PayeeProfileResponseDto;
5701
+ /**
5702
+ * Admin access required
5703
+ */
5704
+ 403: ApiProblemResponseDto;
5705
+ /**
5706
+ * Payee profile not found
5707
+ */
5708
+ 404: ApiProblemResponseDto;
4995
5709
  };
4996
5710
  };
4997
5711
  delete: {
4998
- req: PayeeProfileAdminController4Data;
5712
+ req: PayeeProfileAdminControllerUnverifyData;
4999
5713
  res: {
5000
- 200: unknown;
5714
+ /**
5715
+ * Payee profile unverified successfully
5716
+ */
5717
+ 200: PayeeProfileResponseDto;
5718
+ /**
5719
+ * Admin access required
5720
+ */
5721
+ 403: ApiProblemResponseDto;
5722
+ /**
5723
+ * Payee profile not found
5724
+ */
5725
+ 404: ApiProblemResponseDto;
5001
5726
  };
5002
5727
  };
5003
5728
  };
5004
5729
  '/api/v1/{region}/bean/commodities': {
5005
5730
  post: {
5006
- req: CommodityControllerData;
5731
+ req: CommodityControllerCreateData;
5007
5732
  res: {
5008
- 201: unknown;
5733
+ /**
5734
+ * Commodity created successfully
5735
+ */
5736
+ 201: CommodityResponseDto;
5737
+ /**
5738
+ * Invalid input data
5739
+ */
5740
+ 400: ApiProblemResponseDto;
5741
+ /**
5742
+ * Commodity already exists
5743
+ */
5744
+ 409: ApiProblemResponseDto;
5009
5745
  };
5010
5746
  };
5011
5747
  get: {
@@ -5033,39 +5769,74 @@ type $OpenApiTs = {
5033
5769
  };
5034
5770
  };
5035
5771
  put: {
5036
- req: CommodityController1Data;
5772
+ req: CommodityControllerUpdateData;
5037
5773
  res: {
5038
- 200: unknown;
5774
+ /**
5775
+ * Commodity updated successfully
5776
+ */
5777
+ 200: CommodityResponseDto;
5778
+ /**
5779
+ * Invalid input data
5780
+ */
5781
+ 400: ApiProblemResponseDto;
5782
+ /**
5783
+ * Commodity not found
5784
+ */
5785
+ 404: ApiProblemResponseDto;
5039
5786
  };
5040
5787
  };
5041
5788
  delete: {
5042
- req: CommodityController2Data;
5789
+ req: CommodityControllerDeleteData;
5043
5790
  res: {
5791
+ /**
5792
+ * Commodity deleted successfully
5793
+ */
5044
5794
  204: void;
5795
+ /**
5796
+ * Commodity not found
5797
+ */
5798
+ 404: ApiProblemResponseDto;
5045
5799
  };
5046
5800
  };
5047
5801
  };
5048
5802
  '/api/v1/{region}/bean/commodities/{symbol}/ensure': {
5049
5803
  post: {
5050
- req: CommodityController3Data;
5804
+ req: CommodityControllerGetOrCreateData;
5051
5805
  res: {
5052
- 201: unknown;
5806
+ /**
5807
+ * Commodity retrieved or created
5808
+ */
5809
+ 200: CommodityResponseDto;
5053
5810
  };
5054
5811
  };
5055
5812
  };
5056
5813
  '/api/v1/{region}/bean/commodities/bulk': {
5057
5814
  post: {
5058
- req: CommodityController4Data;
5815
+ req: CommodityControllerBulkCreateData;
5059
5816
  res: {
5060
- 201: unknown;
5817
+ /**
5818
+ * Commodities created successfully
5819
+ */
5820
+ 201: Array<CommodityResponseDto>;
5061
5821
  };
5062
5822
  };
5063
5823
  };
5064
5824
  '/api/v1/{region}/bean/recurring-rules': {
5065
5825
  post: {
5066
- req: RecurringRuleControllerData;
5826
+ req: RecurringRuleControllerCreateData;
5067
5827
  res: {
5068
- 201: unknown;
5828
+ /**
5829
+ * Rule created successfully
5830
+ */
5831
+ 201: RecurringRuleResponseDto;
5832
+ /**
5833
+ * Invalid input data (e.g., autoCreate without accounts)
5834
+ */
5835
+ 400: unknown;
5836
+ /**
5837
+ * Rule with same name already exists
5838
+ */
5839
+ 409: unknown;
5069
5840
  };
5070
5841
  };
5071
5842
  get: {
@@ -5080,9 +5851,20 @@ type $OpenApiTs = {
5080
5851
  };
5081
5852
  '/api/v1/{region}/bean/recurring-rules/from-transaction/{transactionId}': {
5082
5853
  post: {
5083
- req: RecurringRuleController1Data;
5854
+ req: RecurringRuleControllerCreateFromTransactionData;
5084
5855
  res: {
5085
- 201: unknown;
5856
+ /**
5857
+ * Rule created successfully
5858
+ */
5859
+ 201: RecurringRuleResponseDto;
5860
+ /**
5861
+ * Transaction not found
5862
+ */
5863
+ 404: ApiProblemResponseDto;
5864
+ /**
5865
+ * Rule with same name already exists or transaction already linked
5866
+ */
5867
+ 409: ApiProblemResponseDto;
5086
5868
  };
5087
5869
  };
5088
5870
  };
@@ -5101,15 +5883,33 @@ type $OpenApiTs = {
5101
5883
  };
5102
5884
  };
5103
5885
  patch: {
5104
- req: RecurringRuleController2Data;
5886
+ req: RecurringRuleControllerUpdateData;
5105
5887
  res: {
5106
- 200: unknown;
5888
+ /**
5889
+ * Rule updated successfully
5890
+ */
5891
+ 200: RecurringRuleResponseDto;
5892
+ /**
5893
+ * Invalid input data
5894
+ */
5895
+ 400: unknown;
5896
+ /**
5897
+ * Rule not found
5898
+ */
5899
+ 404: unknown;
5107
5900
  };
5108
5901
  };
5109
5902
  delete: {
5110
- req: RecurringRuleController3Data;
5903
+ req: RecurringRuleControllerDeleteData;
5111
5904
  res: {
5905
+ /**
5906
+ * Rule deleted successfully
5907
+ */
5112
5908
  204: void;
5909
+ /**
5910
+ * Rule not found
5911
+ */
5912
+ 404: unknown;
5113
5913
  };
5114
5914
  };
5115
5915
  };
@@ -5167,37 +5967,96 @@ type $OpenApiTs = {
5167
5967
  };
5168
5968
  '/api/v1/{region}/bean/expected-transactions/{id}/skip': {
5169
5969
  post: {
5170
- req: ExpectedTransactionControllerData;
5970
+ req: ExpectedTransactionControllerSkipData;
5171
5971
  res: {
5172
- 200: unknown;
5972
+ /**
5973
+ * Expected transaction skipped successfully
5974
+ */
5975
+ 200: ExpectedTransactionResponseDto;
5976
+ /**
5977
+ * Cannot skip - not in PENDING status
5978
+ */
5979
+ 400: unknown;
5980
+ /**
5981
+ * Expected transaction not found
5982
+ */
5983
+ 404: unknown;
5173
5984
  };
5174
5985
  };
5175
5986
  delete: {
5176
- req: ExpectedTransactionController1Data;
5987
+ req: ExpectedTransactionControllerUndoSkipData;
5177
5988
  res: {
5178
- 200: unknown;
5989
+ /**
5990
+ * Skip undone successfully
5991
+ */
5992
+ 200: ExpectedTransactionResponseDto;
5993
+ /**
5994
+ * Cannot undo - not in SKIPPED status
5995
+ */
5996
+ 400: unknown;
5997
+ /**
5998
+ * Expected transaction not found
5999
+ */
6000
+ 404: unknown;
5179
6001
  };
5180
6002
  };
5181
6003
  };
5182
6004
  '/api/v1/{region}/bean/expected-transactions/{id}/match': {
5183
6005
  post: {
5184
- req: ExpectedTransactionController2Data;
6006
+ req: ExpectedTransactionControllerConfirmMatchData;
5185
6007
  res: {
6008
+ /**
6009
+ * Match confirmed successfully
6010
+ */
5186
6011
  200: unknown;
6012
+ /**
6013
+ * Cannot match - not in PENDING status
6014
+ */
6015
+ 400: unknown;
6016
+ /**
6017
+ * Expected or actual transaction not found
6018
+ */
6019
+ 404: unknown;
6020
+ /**
6021
+ * Actual transaction already matched to another rule
6022
+ */
6023
+ 409: unknown;
5187
6024
  };
5188
6025
  };
5189
6026
  delete: {
5190
- req: ExpectedTransactionController3Data;
6027
+ req: ExpectedTransactionControllerUnmatchData;
5191
6028
  res: {
6029
+ /**
6030
+ * Match removed successfully
6031
+ */
5192
6032
  200: unknown;
6033
+ /**
6034
+ * Cannot unmatch - not in COMPLETED status
6035
+ */
6036
+ 400: unknown;
6037
+ /**
6038
+ * Expected transaction not found
6039
+ */
6040
+ 404: unknown;
5193
6041
  };
5194
6042
  };
5195
6043
  };
5196
6044
  '/api/v1/{region}/bean/expected-transactions/{id}/enter': {
5197
6045
  post: {
5198
- req: ExpectedTransactionController4Data;
6046
+ req: ExpectedTransactionControllerEnterNowData;
5199
6047
  res: {
6048
+ /**
6049
+ * Transaction created successfully
6050
+ */
5200
6051
  201: unknown;
6052
+ /**
6053
+ * Cannot enter - not in PENDING status or missing accounts
6054
+ */
6055
+ 400: unknown;
6056
+ /**
6057
+ * Expected transaction or accounts not found
6058
+ */
6059
+ 404: unknown;
5201
6060
  };
5202
6061
  };
5203
6062
  };
@@ -5214,9 +6073,24 @@ type $OpenApiTs = {
5214
6073
  };
5215
6074
  '/api/v1/{region}/bean/transaction-rules': {
5216
6075
  post: {
5217
- req: TransactionRuleControllerData;
6076
+ req: TransactionRuleControllerCreateData;
5218
6077
  res: {
5219
- 201: unknown;
6078
+ /**
6079
+ * Rule updated successfully (upsert mode)
6080
+ */
6081
+ 200: TransactionRuleResponseDto;
6082
+ /**
6083
+ * Validation failed
6084
+ */
6085
+ 400: ApiProblemResponseDto;
6086
+ /**
6087
+ * Unauthorized
6088
+ */
6089
+ 401: ApiProblemResponseDto;
6090
+ /**
6091
+ * Resource conflict - another process is updating this rule
6092
+ */
6093
+ 409: ApiProblemResponseDto;
5220
6094
  };
5221
6095
  };
5222
6096
  get: {
@@ -5241,6 +6115,10 @@ type $OpenApiTs = {
5241
6115
  * Validation result
5242
6116
  */
5243
6117
  200: ValidateRuleResponseDto;
6118
+ /**
6119
+ * Validation failed
6120
+ */
6121
+ 400: ApiProblemResponseDto;
5244
6122
  /**
5245
6123
  * Unauthorized
5246
6124
  */
@@ -5250,9 +6128,20 @@ type $OpenApiTs = {
5250
6128
  };
5251
6129
  '/api/v1/{region}/bean/transaction-rules/bulk': {
5252
6130
  post: {
5253
- req: TransactionRuleController1Data;
6131
+ req: TransactionRuleControllerBulkCreateData;
5254
6132
  res: {
5255
- 201: unknown;
6133
+ /**
6134
+ * Bulk create completed
6135
+ */
6136
+ 201: BulkCreateRulesResponseDto;
6137
+ /**
6138
+ * Invalid bulk create data
6139
+ */
6140
+ 400: ApiProblemResponseDto;
6141
+ /**
6142
+ * Unauthorized
6143
+ */
6144
+ 401: ApiProblemResponseDto;
5256
6145
  };
5257
6146
  };
5258
6147
  };
@@ -5313,15 +6202,57 @@ type $OpenApiTs = {
5313
6202
  };
5314
6203
  };
5315
6204
  put: {
5316
- req: TransactionRuleController2Data;
6205
+ req: TransactionRuleControllerUpdateData;
5317
6206
  res: {
5318
- 200: unknown;
6207
+ /**
6208
+ * Rule updated successfully
6209
+ */
6210
+ 200: TransactionRuleResponseDto;
6211
+ /**
6212
+ * Validation failed
6213
+ */
6214
+ 400: ApiProblemResponseDto;
6215
+ /**
6216
+ * Unauthorized
6217
+ */
6218
+ 401: ApiProblemResponseDto;
6219
+ /**
6220
+ * Forbidden - not owner of rule
6221
+ */
6222
+ 403: ApiProblemResponseDto;
6223
+ /**
6224
+ * Rule not found
6225
+ */
6226
+ 404: ApiProblemResponseDto;
6227
+ /**
6228
+ * Resource conflict - rule is being modified by another process
6229
+ */
6230
+ 409: ApiProblemResponseDto;
5319
6231
  };
5320
6232
  };
5321
6233
  delete: {
5322
- req: TransactionRuleController3Data;
6234
+ req: TransactionRuleControllerDeleteData;
5323
6235
  res: {
6236
+ /**
6237
+ * Rule deleted successfully
6238
+ */
5324
6239
  204: void;
6240
+ /**
6241
+ * Unauthorized
6242
+ */
6243
+ 401: ApiProblemResponseDto;
6244
+ /**
6245
+ * Forbidden - not owner of rule
6246
+ */
6247
+ 403: ApiProblemResponseDto;
6248
+ /**
6249
+ * Rule not found
6250
+ */
6251
+ 404: ApiProblemResponseDto;
6252
+ /**
6253
+ * Resource conflict - rule is being modified by another process
6254
+ */
6255
+ 409: ApiProblemResponseDto;
5325
6256
  };
5326
6257
  };
5327
6258
  };
@@ -5447,7 +6378,6 @@ type $OpenApiTs = {
5447
6378
  };
5448
6379
  '/api/v1/users/asset-liability-summary': {
5449
6380
  get: {
5450
- req: UserControllerGetAssetLiabilitySummaryData;
5451
6381
  res: {
5452
6382
  /**
5453
6383
  * Summary retrieved successfully
@@ -5458,7 +6388,6 @@ type $OpenApiTs = {
5458
6388
  };
5459
6389
  '/api/v1/admin/properties': {
5460
6390
  get: {
5461
- req: PropertyControllerGetAllData;
5462
6391
  res: {
5463
6392
  /**
5464
6393
  * Properties retrieved successfully
@@ -5498,15 +6427,48 @@ type $OpenApiTs = {
5498
6427
  };
5499
6428
  };
5500
6429
  put: {
5501
- req: PropertyControllerData;
6430
+ req: PropertyControllerUpdateData;
5502
6431
  res: {
6432
+ /**
6433
+ * Property updated successfully
6434
+ */
5503
6435
  200: unknown;
6436
+ /**
6437
+ * Unauthorized
6438
+ */
6439
+ 401: unknown;
6440
+ /**
6441
+ * Forbidden - insufficient permissions
6442
+ */
6443
+ 403: unknown;
5504
6444
  };
5505
6445
  };
5506
6446
  delete: {
5507
- req: PropertyController1Data;
6447
+ req: PropertyControllerDeleteData;
5508
6448
  res: {
6449
+ /**
6450
+ * Property deleted successfully
6451
+ */
5509
6452
  204: void;
6453
+ /**
6454
+ * Unauthorized
6455
+ */
6456
+ 401: unknown;
6457
+ /**
6458
+ * Forbidden - insufficient permissions
6459
+ */
6460
+ 403: unknown;
6461
+ /**
6462
+ * Property not found
6463
+ */
6464
+ 404: unknown;
6465
+ };
6466
+ };
6467
+ };
6468
+ '/api/v1/{region}/bean/export/beancount': {
6469
+ get: {
6470
+ res: {
6471
+ 200: unknown;
5510
6472
  };
5511
6473
  };
5512
6474
  };
@@ -5579,6 +6541,29 @@ type $OpenApiTs = {
5579
6541
  };
5580
6542
  };
5581
6543
  };
6544
+ '/api/v1/{region}/bean/import/beancount': {
6545
+ post: {
6546
+ req: FileImportControllerImportBeancountData;
6547
+ res: {
6548
+ /**
6549
+ * Beancount file imported successfully
6550
+ */
6551
+ 200: {
6552
+ imported?: number;
6553
+ skipped?: number;
6554
+ failed?: number;
6555
+ accountsCreated?: number;
6556
+ errors?: Array<{
6557
+ [key: string]: unknown;
6558
+ }>;
6559
+ };
6560
+ /**
6561
+ * Bad request - invalid file or no file uploaded
6562
+ */
6563
+ 400: ApiProblemResponseDto;
6564
+ };
6565
+ };
6566
+ };
5582
6567
  '/api/v1/{region}/bean/import/config/{importerId}': {
5583
6568
  get: {
5584
6569
  req: ImporterConfigControllerGetConfigData;
@@ -5598,243 +6583,222 @@ type $OpenApiTs = {
5598
6583
  };
5599
6584
  };
5600
6585
  put: {
5601
- req: ImporterConfigControllerData;
6586
+ req: ImporterConfigControllerUpdateConfigData;
5602
6587
  res: {
5603
- 200: unknown;
6588
+ /**
6589
+ * Configuration updated successfully
6590
+ */
6591
+ 200: ImporterConfigDto;
6592
+ /**
6593
+ * Invalid input - Validation failed
6594
+ */
6595
+ 400: ApiProblemResponseDto;
6596
+ /**
6597
+ * Configuration not found
6598
+ */
6599
+ 404: ApiProblemResponseDto;
5604
6600
  };
5605
6601
  };
5606
6602
  };
5607
6603
  '/api/v1/{region}/bean/import/config/{importerId}/reset': {
5608
6604
  post: {
5609
- req: ImporterConfigController1Data;
6605
+ req: ImporterConfigControllerResetConfigData;
5610
6606
  res: {
5611
- 201: unknown;
6607
+ /**
6608
+ * Configuration reset successfully
6609
+ */
6610
+ 200: ImporterConfigDto;
6611
+ /**
6612
+ * Invalid input - Unsupported importer
6613
+ */
6614
+ 400: ApiProblemResponseDto;
5612
6615
  };
5613
6616
  };
5614
6617
  };
5615
- '/api/v1/{region}/bean/import/provider/{providerName}/sync': {
5616
- post: {
5617
- req: ProviderSyncControllerSyncData;
6618
+ '/api/v1/bean/platforms': {
6619
+ get: {
5618
6620
  res: {
5619
6621
  /**
5620
- * Sync completed successfully
5621
- */
5622
- 200: ProviderSyncResponseDto;
5623
- /**
5624
- * Invalid request data
6622
+ * List of platforms with binding and account counts
5625
6623
  */
5626
- 400: unknown;
6624
+ 200: unknown;
6625
+ };
6626
+ };
6627
+ post: {
6628
+ req: PlatformControllerCreateData;
6629
+ res: {
5627
6630
  /**
5628
- * Missing or invalid authentication
6631
+ * Platform created successfully
5629
6632
  */
5630
- 401: unknown;
6633
+ 201: unknown;
5631
6634
  /**
5632
- * Provider not supported
6635
+ * Platform already exists
5633
6636
  */
5634
- 404: unknown;
6637
+ 409: unknown;
5635
6638
  };
5636
6639
  };
5637
6640
  };
5638
- '/api/v1/{region}/bean/import/provider/supported': {
6641
+ '/api/v1/bean/platforms/list': {
5639
6642
  get: {
5640
- req: ProviderSyncControllerGetSupportedProvidersData;
5641
6643
  res: {
5642
6644
  /**
5643
- * List of supported providers
5644
- */
5645
- 200: SupportedProvidersResponseDto;
5646
- /**
5647
- * Missing or invalid authentication
6645
+ * List of platforms with user binding status
5648
6646
  */
5649
- 401: unknown;
6647
+ 200: unknown;
5650
6648
  };
5651
6649
  };
5652
6650
  };
5653
- '/api/v1/{region}/bean/import/provider/{providerName}/supported': {
6651
+ '/api/v1/bean/platforms/match': {
5654
6652
  get: {
5655
- req: ProviderSyncControllerIsProviderSupportedData;
6653
+ req: PlatformControllerMatchPlatformsData;
5656
6654
  res: {
5657
6655
  /**
5658
- * Provider support status
6656
+ * List of matching platforms with suggested segment names
5659
6657
  */
5660
6658
  200: unknown;
5661
- /**
5662
- * Missing or invalid authentication
5663
- */
5664
- 401: unknown;
5665
6659
  };
5666
6660
  };
5667
6661
  };
5668
- '/api/v1/{region}/bean/import/parser-telemetry': {
5669
- post: {
5670
- req: TelemetryControllerReportTelemetryData;
6662
+ '/api/v1/bean/platforms/{id}': {
6663
+ put: {
6664
+ req: PlatformControllerUpdateData;
5671
6665
  res: {
5672
6666
  /**
5673
- * Telemetry report received
6667
+ * Platform updated successfully
5674
6668
  */
5675
6669
  200: unknown;
5676
6670
  /**
5677
- * Unauthorized
6671
+ * Platform not found
5678
6672
  */
5679
- 401: unknown;
6673
+ 404: unknown;
5680
6674
  };
5681
6675
  };
5682
- };
5683
- '/api/v1/{region}/bean/nlp/process': {
5684
- post: {
5685
- req: NlpControllerProcessNaturalLanguageData;
6676
+ delete: {
6677
+ req: PlatformControllerDeleteData;
5686
6678
  res: {
5687
6679
  /**
5688
- * NLP processing result - either created transaction or asking for more info
5689
- */
5690
- 200: NlpResponseDto;
5691
- /**
5692
- * Invalid input
6680
+ * Platform deleted successfully
5693
6681
  */
5694
- 400: unknown;
6682
+ 204: void;
5695
6683
  /**
5696
- * Unauthorized
6684
+ * Platform not found
5697
6685
  */
5698
- 401: unknown;
6686
+ 404: unknown;
5699
6687
  };
5700
6688
  };
5701
6689
  };
5702
- '/api/v1/{region}/bean/nlp/session': {
5703
- delete: {
5704
- req: NlpControllerClearSessionData;
6690
+ '/api/v1/{region}/bean/import/provider/{providerName}/sync': {
6691
+ post: {
6692
+ req: ProviderSyncControllerSyncData;
5705
6693
  res: {
5706
6694
  /**
5707
- * Session cleared successfully
6695
+ * Sync completed successfully
5708
6696
  */
5709
- 204: void;
6697
+ 200: ProviderSyncResponseDto;
5710
6698
  /**
5711
- * Unauthorized
6699
+ * Invalid request data
6700
+ */
6701
+ 400: unknown;
6702
+ /**
6703
+ * Missing or invalid authentication
5712
6704
  */
5713
6705
  401: unknown;
6706
+ /**
6707
+ * Provider not supported
6708
+ */
6709
+ 404: unknown;
5714
6710
  };
5715
6711
  };
6712
+ };
6713
+ '/api/v1/{region}/bean/import/provider/supported': {
5716
6714
  get: {
5717
- req: NlpControllerGetSessionData;
6715
+ req: ProviderSyncControllerGetSupportedProvidersData;
5718
6716
  res: {
5719
6717
  /**
5720
- * Current session state (or null if no active session)
6718
+ * List of supported providers
5721
6719
  */
5722
- 200: unknown;
6720
+ 200: SupportedProvidersResponseDto;
5723
6721
  /**
5724
- * Unauthorized
6722
+ * Missing or invalid authentication
5725
6723
  */
5726
6724
  401: unknown;
5727
6725
  };
5728
6726
  };
5729
6727
  };
5730
- '/api/v1/bean/platforms': {
6728
+ '/api/v1/{region}/bean/import/provider/{providerName}/supported': {
5731
6729
  get: {
5732
- req: PlatformControllerFindAllData;
6730
+ req: ProviderSyncControllerIsProviderSupportedData;
5733
6731
  res: {
5734
6732
  /**
5735
- * List of platforms with binding and account counts
6733
+ * Provider support status
5736
6734
  */
5737
6735
  200: unknown;
5738
- };
5739
- };
5740
- post: {
5741
- req: PlatformControllerData;
5742
- res: {
5743
- 201: unknown;
5744
- };
5745
- };
5746
- };
5747
- '/api/v1/bean/platforms/list': {
5748
- get: {
5749
- req: PlatformControllerGetPlatformListData;
5750
- res: {
5751
6736
  /**
5752
- * List of platforms with user binding status
6737
+ * Missing or invalid authentication
5753
6738
  */
5754
- 200: unknown;
5755
- };
5756
- };
5757
- };
5758
- '/api/v1/bean/platforms/{id}': {
5759
- put: {
5760
- req: PlatformController1Data;
5761
- res: {
5762
- 200: unknown;
5763
- };
5764
- };
5765
- delete: {
5766
- req: PlatformController2Data;
5767
- res: {
5768
- 204: void;
6739
+ 401: unknown;
5769
6740
  };
5770
6741
  };
5771
6742
  };
5772
- '/api/v1/market/symbols/lookup': {
5773
- get: {
5774
- req: SymbolControllerLookupSymbolData;
6743
+ '/api/v1/{region}/bean/import/parser-telemetry': {
6744
+ post: {
6745
+ req: TelemetryControllerReportTelemetryData;
5775
6746
  res: {
5776
6747
  /**
5777
- * Symbols found successfully
6748
+ * Telemetry report received
5778
6749
  */
5779
6750
  200: unknown;
5780
6751
  /**
5781
- * Invalid query parameters
6752
+ * Unauthorized
5782
6753
  */
5783
- 400: unknown;
6754
+ 401: unknown;
5784
6755
  };
5785
6756
  };
5786
6757
  };
5787
- '/api/v1/market/symbols/{dataSource}/{symbol}': {
5788
- get: {
5789
- req: SymbolControllerGetSymbolDataData;
6758
+ '/api/v1/{region}/bean/nlp/process': {
6759
+ post: {
6760
+ req: NlpControllerProcessNaturalLanguageData;
5790
6761
  res: {
5791
6762
  /**
5792
- * Symbol data retrieved successfully
6763
+ * NLP processing result - either created transaction or asking for more info
5793
6764
  */
5794
- 200: unknown;
6765
+ 200: NlpResponseDto;
5795
6766
  /**
5796
- * Invalid data source
6767
+ * Invalid input
5797
6768
  */
5798
6769
  400: unknown;
5799
6770
  /**
5800
- * Symbol not found
6771
+ * Unauthorized
5801
6772
  */
5802
- 404: unknown;
6773
+ 401: unknown;
5803
6774
  };
5804
6775
  };
5805
6776
  };
5806
- '/api/v1/market/symbols/{dataSource}/{symbol}/{dateString}': {
5807
- get: {
5808
- req: SymbolControllerGatherSymbolForDateData;
6777
+ '/api/v1/{region}/bean/nlp/session': {
6778
+ delete: {
6779
+ req: NlpControllerClearSessionData;
5809
6780
  res: {
5810
6781
  /**
5811
- * Historical data retrieved successfully
5812
- */
5813
- 200: unknown;
5814
- /**
5815
- * Invalid date format
6782
+ * Session cleared successfully
5816
6783
  */
5817
- 400: unknown;
6784
+ 204: void;
5818
6785
  /**
5819
- * Symbol data not found for specified date
6786
+ * Unauthorized
5820
6787
  */
5821
- 404: unknown;
6788
+ 401: unknown;
5822
6789
  };
5823
6790
  };
5824
- };
5825
- '/api/v1/market/symbols/yahoo/batch-update': {
5826
- put: {
5827
- req: SymbolControllerData;
6791
+ get: {
6792
+ req: NlpControllerGetSessionData;
5828
6793
  res: {
6794
+ /**
6795
+ * Current session state (or null if no active session)
6796
+ */
5829
6797
  200: unknown;
5830
- };
5831
- };
5832
- };
5833
- '/api/v1/cache/flush': {
5834
- post: {
5835
- req: CacheControllerFlushCacheData;
5836
- res: {
5837
- 201: unknown;
6798
+ /**
6799
+ * Unauthorized
6800
+ */
6801
+ 401: unknown;
5838
6802
  };
5839
6803
  };
5840
6804
  };
@@ -5946,9 +6910,15 @@ type $OpenApiTs = {
5946
6910
  };
5947
6911
  '/api/v1/auth/api-keys': {
5948
6912
  post: {
5949
- req: ApiKeysControllerData;
5950
6913
  res: {
6914
+ /**
6915
+ * API key created successfully
6916
+ */
5951
6917
  201: unknown;
6918
+ /**
6919
+ * Insufficient permissions to create API key
6920
+ */
6921
+ 403: unknown;
5952
6922
  };
5953
6923
  };
5954
6924
  };
@@ -5967,6 +6937,13 @@ type $OpenApiTs = {
5967
6937
  };
5968
6938
  };
5969
6939
  };
6940
+ '/api/v1/cache/flush': {
6941
+ post: {
6942
+ res: {
6943
+ 201: unknown;
6944
+ };
6945
+ };
6946
+ };
5970
6947
  '/api/v1/market/exchange-rates/{symbol}/{dateString}': {
5971
6948
  get: {
5972
6949
  req: ExchangeRateControllerGetExchangeRateData;
@@ -5984,7 +6961,6 @@ type $OpenApiTs = {
5984
6961
  };
5985
6962
  '/api/v1/health': {
5986
6963
  get: {
5987
- req: HealthControllerGetHealthData;
5988
6964
  res: {
5989
6965
  /**
5990
6966
  * Service is healthy
@@ -5999,7 +6975,6 @@ type $OpenApiTs = {
5999
6975
  };
6000
6976
  '/api/v1/health/database': {
6001
6977
  get: {
6002
- req: HealthControllerCheckDatabaseData;
6003
6978
  res: {
6004
6979
  /**
6005
6980
  * Database is healthy
@@ -6012,9 +6987,22 @@ type $OpenApiTs = {
6012
6987
  };
6013
6988
  };
6014
6989
  };
6990
+ '/api/v1/health/openbb': {
6991
+ get: {
6992
+ res: {
6993
+ /**
6994
+ * OpenBB status
6995
+ */
6996
+ 200: unknown;
6997
+ /**
6998
+ * OpenBB unavailable
6999
+ */
7000
+ 503: unknown;
7001
+ };
7002
+ };
7003
+ };
6015
7004
  '/api/v1/health/redis': {
6016
7005
  get: {
6017
- req: HealthControllerCheckRedisData;
6018
7006
  res: {
6019
7007
  /**
6020
7008
  * Redis is healthy
@@ -6029,7 +7017,6 @@ type $OpenApiTs = {
6029
7017
  };
6030
7018
  '/api/v1/health/circuit-breakers': {
6031
7019
  get: {
6032
- req: HealthControllerGetCircuitBreakersHealthData;
6033
7020
  res: {
6034
7021
  /**
6035
7022
  * Circuit breaker status
@@ -6067,7 +7054,6 @@ type $OpenApiTs = {
6067
7054
  };
6068
7055
  '/api/v1/health/metrics': {
6069
7056
  get: {
6070
- req: HealthControllerGetMetricsData;
6071
7057
  res: {
6072
7058
  /**
6073
7059
  * Health metrics
@@ -6080,70 +7066,8 @@ type $OpenApiTs = {
6080
7066
  };
6081
7067
  };
6082
7068
  };
6083
- '/api/v1/health/data-enhancer/{name}': {
6084
- get: {
6085
- req: HealthControllerGetHealthOfDataEnhancerData;
6086
- res: {
6087
- /**
6088
- * Data enhancer is healthy
6089
- */
6090
- 200: unknown;
6091
- /**
6092
- * Unauthorized
6093
- */
6094
- 401: unknown;
6095
- /**
6096
- * Data enhancer unavailable
6097
- */
6098
- 503: unknown;
6099
- };
6100
- };
6101
- };
6102
- '/api/v1/health/data-providers': {
6103
- get: {
6104
- req: HealthControllerCheckDataProvidersData;
6105
- res: {
6106
- /**
6107
- * Data providers health status
6108
- */
6109
- 200: unknown;
6110
- /**
6111
- * Unauthorized
6112
- */
6113
- 401: unknown;
6114
- /**
6115
- * Data providers check failed
6116
- */
6117
- 503: unknown;
6118
- };
6119
- };
6120
- };
6121
- '/api/v1/health/data-provider/{dataSource}': {
6122
- get: {
6123
- req: HealthControllerGetHealthOfDataProviderData;
6124
- res: {
6125
- /**
6126
- * Data provider is healthy
6127
- */
6128
- 200: unknown;
6129
- /**
6130
- * Invalid data source
6131
- */
6132
- 400: unknown;
6133
- /**
6134
- * Unauthorized
6135
- */
6136
- 401: unknown;
6137
- /**
6138
- * Data provider unavailable
6139
- */
6140
- 503: unknown;
6141
- };
6142
- };
6143
- };
6144
7069
  '/api/v1/system/info': {
6145
7070
  get: {
6146
- req: InfoControllerGetInfoData;
6147
7071
  res: {
6148
7072
  /**
6149
7073
  * System information retrieved successfully
@@ -6152,73 +7076,6 @@ type $OpenApiTs = {
6152
7076
  };
6153
7077
  };
6154
7078
  };
6155
- '/api/v1/market/logos/{dataSource}/{symbol}': {
6156
- get: {
6157
- req: LogoControllerGetLogoByDataSourceAndSymbolData;
6158
- res: {
6159
- /**
6160
- * Logo image stream (favicon)
6161
- */
6162
- 200: unknown;
6163
- /**
6164
- * Unauthorized
6165
- */
6166
- 401: unknown;
6167
- /**
6168
- * Logo not found for the specified asset
6169
- */
6170
- 404: unknown;
6171
- /**
6172
- * Service unavailable
6173
- */
6174
- 503: unknown;
6175
- };
6176
- };
6177
- };
6178
- '/api/v1/market/logos': {
6179
- get: {
6180
- req: LogoControllerGetLogoByUrlData;
6181
- res: {
6182
- /**
6183
- * Logo image stream (favicon)
6184
- */
6185
- 200: unknown;
6186
- /**
6187
- * Unauthorized
6188
- */
6189
- 401: unknown;
6190
- /**
6191
- * Service unavailable
6192
- */
6193
- 503: unknown;
6194
- };
6195
- };
6196
- };
6197
- '/api/v1/market-data/{dataSource}/{symbol}': {
6198
- get: {
6199
- req: MarketDataControllerGetMarketDataBySymbolData;
6200
- res: {
6201
- /**
6202
- * Market data retrieved successfully
6203
- */
6204
- 200: unknown;
6205
- /**
6206
- * Insufficient permissions to read market data
6207
- */
6208
- 403: unknown;
6209
- /**
6210
- * Market data not found
6211
- */
6212
- 404: unknown;
6213
- };
6214
- };
6215
- post: {
6216
- req: MarketDataControllerData;
6217
- res: {
6218
- 201: unknown;
6219
- };
6220
- };
6221
- };
6222
7079
  };
6223
7080
 
6224
7081
  declare class BeanAccountsService {
@@ -6330,12 +7187,28 @@ declare class BeanTransactionsService {
6330
7187
  */
6331
7188
  static transactionControllerList(data: TransactionControllerListData): CancelablePromise<TransactionControllerListResponse>;
6332
7189
  /**
7190
+ * @deprecated
7191
+ * Batch create transactions (DEPRECATED)
7192
+ * DEPRECATED: Use POST /:region/bean/import/provider/:name/sync instead. This endpoint skips dedup, rule matching, and review branching.
7193
+ * @param data The data for the request.
7194
+ * @param data.region Region code for tenant context
7195
+ * @param data.requestBody
7196
+ * @returns BatchTransactionResponseDto Transactions processed
7197
+ * @throws ApiError
7198
+ */
7199
+ static transactionControllerCreateBatch(data: TransactionControllerCreateBatchData): CancelablePromise<TransactionControllerCreateBatchResponse>;
7200
+ /**
7201
+ * Suggest transaction tags
7202
+ * Returns distinct tags from the user ACTIVE transactions, sorted by usage, for autocomplete. Optional q performs a case-insensitive prefix match.
6333
7203
  * @param data The data for the request.
6334
7204
  * @param data.region Region code for tenant context
6335
- * @returns unknown
7205
+ * @param data.q Prefix match, case-insensitive (max 50 chars)
7206
+ * @param data.sort usage (default) or name
7207
+ * @param data.limit Max suggestions (1-100, default 10)
7208
+ * @returns TagSuggestionsResponseDto Tag suggestions
6336
7209
  * @throws ApiError
6337
7210
  */
6338
- static transactionController(data: TransactionControllerData): CancelablePromise<TransactionControllerResponse>;
7211
+ static transactionControllerSuggestTags(data: TransactionControllerSuggestTagsData): CancelablePromise<TransactionControllerSuggestTagsResponse>;
6339
7212
  /**
6340
7213
  * Get transaction detail
6341
7214
  * Returns transaction details including all postings
@@ -6358,12 +7231,15 @@ declare class BeanTransactionsService {
6358
7231
  */
6359
7232
  static transactionControllerUpdate(data: TransactionControllerUpdateData): CancelablePromise<TransactionControllerUpdateResponse>;
6360
7233
  /**
7234
+ * Void transaction
7235
+ * Soft-deletes a transaction by marking it as VOIDED
6361
7236
  * @param data The data for the request.
7237
+ * @param data.id Transaction ID
6362
7238
  * @param data.region Region code for tenant context
6363
- * @returns void
7239
+ * @returns void Transaction voided successfully
6364
7240
  * @throws ApiError
6365
7241
  */
6366
- static transactionController1(data: TransactionController1Data): CancelablePromise<TransactionController1Response>;
7242
+ static transactionControllerDelete(data: TransactionControllerDeleteData): CancelablePromise<TransactionControllerDeleteResponse>;
6367
7243
  }
6368
7244
  declare class BeanBalancesService {
6369
7245
  /**
@@ -6371,7 +7247,7 @@ declare class BeanBalancesService {
6371
7247
  * Calculate account balance at a specific date for a single currency
6372
7248
  * @param data The data for the request.
6373
7249
  * @param data.account Account name (e.g., "Assets:Bank:Checking")
6374
- * @param data.region Region code (cn, us, de)
7250
+ * @param data.region Region code for tenant context
6375
7251
  * @param data.date Date to calculate balance at (ISO 8601 format)
6376
7252
  * @param data.currency Currency to query (e.g., "USD", "CNY")
6377
7253
  * @returns BalanceResponseDto Balance calculated successfully
@@ -6382,7 +7258,7 @@ declare class BeanBalancesService {
6382
7258
  * Query multi-currency account balance
6383
7259
  * Calculate account balances for all currencies at a specific date
6384
7260
  * @param data The data for the request.
6385
- * @param data.region Region code (cn, us, de)
7261
+ * @param data.region Region code for tenant context
6386
7262
  * @returns MultiCurrencyBalanceResponseDto Balances calculated successfully
6387
7263
  * @throws ApiError
6388
7264
  */
@@ -6390,17 +7266,20 @@ declare class BeanBalancesService {
6390
7266
  }
6391
7267
  declare class BeanCommoditiesService {
6392
7268
  /**
7269
+ * Create a new commodity
7270
+ * Creates a new commodity definition for the authenticated user
6393
7271
  * @param data The data for the request.
6394
- * @param data.region Region code (cn, us, de)
6395
- * @returns unknown
7272
+ * @param data.region Region code for tenant context
7273
+ * @param data.requestBody
7274
+ * @returns CommodityResponseDto Commodity created successfully
6396
7275
  * @throws ApiError
6397
7276
  */
6398
- static commodityController(data: CommodityControllerData): CancelablePromise<CommodityControllerResponse>;
7277
+ static commodityControllerCreate(data: CommodityControllerCreateData): CancelablePromise<CommodityControllerCreateResponse>;
6399
7278
  /**
6400
7279
  * List user commodities
6401
7280
  * Returns all commodity definitions for the authenticated user with optional filtering
6402
7281
  * @param data The data for the request.
6403
- * @param data.region Region code (cn, us, de)
7282
+ * @param data.region Region code for tenant context
6404
7283
  * @param data.search Search term for symbol or metadata fields (partial match). Searches symbol and metadata.name.
6405
7284
  * @param data.symbol Filter by exact symbol match
6406
7285
  * @returns CommodityListResponseDto Commodities retrieved successfully
@@ -6412,39 +7291,51 @@ declare class BeanCommoditiesService {
6412
7291
  * Returns a specific commodity definition by its symbol
6413
7292
  * @param data The data for the request.
6414
7293
  * @param data.symbol Commodity symbol
6415
- * @param data.region Region code (cn, us, de)
7294
+ * @param data.region Region code for tenant context
6416
7295
  * @returns CommodityResponseDto Commodity retrieved successfully
6417
7296
  * @throws ApiError
6418
7297
  */
6419
7298
  static commodityControllerFindOne(data: CommodityControllerFindOneData): CancelablePromise<CommodityControllerFindOneResponse>;
6420
7299
  /**
7300
+ * Update commodity
7301
+ * Updates an existing commodity definition. Symbol cannot be changed.
6421
7302
  * @param data The data for the request.
6422
- * @param data.region Region code (cn, us, de)
6423
- * @returns unknown
7303
+ * @param data.symbol Commodity symbol
7304
+ * @param data.region Region code for tenant context
7305
+ * @param data.requestBody
7306
+ * @returns CommodityResponseDto Commodity updated successfully
6424
7307
  * @throws ApiError
6425
7308
  */
6426
- static commodityController1(data: CommodityController1Data): CancelablePromise<CommodityController1Response>;
7309
+ static commodityControllerUpdate(data: CommodityControllerUpdateData): CancelablePromise<CommodityControllerUpdateResponse>;
6427
7310
  /**
7311
+ * Delete commodity
7312
+ * Deletes a commodity definition
6428
7313
  * @param data The data for the request.
6429
- * @param data.region Region code (cn, us, de)
6430
- * @returns void
7314
+ * @param data.symbol Commodity symbol
7315
+ * @param data.region Region code for tenant context
7316
+ * @returns void Commodity deleted successfully
6431
7317
  * @throws ApiError
6432
7318
  */
6433
- static commodityController2(data: CommodityController2Data): CancelablePromise<CommodityController2Response>;
7319
+ static commodityControllerDelete(data: CommodityControllerDeleteData): CancelablePromise<CommodityControllerDeleteResponse>;
6434
7320
  /**
7321
+ * Ensure commodity exists
7322
+ * Gets existing commodity or creates it with automatic initialization from OpenBB
6435
7323
  * @param data The data for the request.
6436
- * @param data.region Region code (cn, us, de)
6437
- * @returns unknown
7324
+ * @param data.symbol Commodity symbol
7325
+ * @param data.region Region code for tenant context
7326
+ * @returns CommodityResponseDto Commodity retrieved or created
6438
7327
  * @throws ApiError
6439
7328
  */
6440
- static commodityController3(data: CommodityController3Data): CancelablePromise<CommodityController3Response>;
7329
+ static commodityControllerGetOrCreate(data: CommodityControllerGetOrCreateData): CancelablePromise<CommodityControllerGetOrCreateResponse>;
6441
7330
  /**
7331
+ * Bulk create commodities
7332
+ * Creates multiple commodities from a list of symbols, useful for initialization
6442
7333
  * @param data The data for the request.
6443
- * @param data.region Region code (cn, us, de)
6444
- * @returns unknown
7334
+ * @param data.region Region code for tenant context
7335
+ * @returns CommodityResponseDto Commodities created successfully
6445
7336
  * @throws ApiError
6446
7337
  */
6447
- static commodityController4(data: CommodityController4Data): CancelablePromise<CommodityController4Response>;
7338
+ static commodityControllerBulkCreate(data: CommodityControllerBulkCreateData): CancelablePromise<CommodityControllerBulkCreateResponse>;
6448
7339
  }
6449
7340
  declare class ProviderSyncService {
6450
7341
  /**
@@ -6482,7 +7373,7 @@ declare class ProviderSyncService {
6482
7373
  * Get supported providers
6483
7374
  * Returns a list of all providers supported by the sync endpoint.
6484
7375
  * @param data The data for the request.
6485
- * @param data.region Region code (cn, us, de)
7376
+ * @param data.region Region code for tenant context
6486
7377
  * @returns SupportedProvidersResponseDto List of supported providers
6487
7378
  * @throws ApiError
6488
7379
  */
@@ -6492,7 +7383,7 @@ declare class ProviderSyncService {
6492
7383
  * Returns whether a specific provider is supported.
6493
7384
  * @param data The data for the request.
6494
7385
  * @param data.providerName Provider name to check
6495
- * @param data.region Region code (cn, us, de)
7386
+ * @param data.region Region code for tenant context
6496
7387
  * @returns unknown Provider support status
6497
7388
  * @throws ApiError
6498
7389
  */
@@ -6501,79 +7392,48 @@ declare class ProviderSyncService {
6501
7392
  declare class HealthService {
6502
7393
  /**
6503
7394
  * Basic health check for K8s/load balancer probes
6504
- * @param data The data for the request.
6505
- * @param data.region Region code (cn, us, de)
6506
7395
  * @returns unknown Service is healthy
6507
7396
  * @throws ApiError
6508
7397
  */
6509
- static healthControllerGetHealth(data: HealthControllerGetHealthData): CancelablePromise<HealthControllerGetHealthResponse>;
7398
+ static healthControllerGetHealth(): CancelablePromise<HealthControllerGetHealthResponse>;
6510
7399
  /**
6511
7400
  * Check database connection health
6512
- * @param data The data for the request.
6513
- * @param data.region Region code (cn, us, de)
6514
7401
  * @returns unknown Database is healthy
6515
7402
  * @throws ApiError
6516
7403
  */
6517
- static healthControllerCheckDatabase(data: HealthControllerCheckDatabaseData): CancelablePromise<HealthControllerCheckDatabaseResponse>;
7404
+ static healthControllerCheckDatabase(): CancelablePromise<HealthControllerCheckDatabaseResponse>;
7405
+ /**
7406
+ * Check OpenBB schema status
7407
+ * @returns unknown OpenBB status
7408
+ * @throws ApiError
7409
+ */
7410
+ static healthControllerCheckOpenBb(): CancelablePromise<HealthControllerCheckOpenBbResponse>;
6518
7411
  /**
6519
7412
  * Check Redis connection health
6520
- * @param data The data for the request.
6521
- * @param data.region Region code (cn, us, de)
6522
7413
  * @returns unknown Redis is healthy
6523
7414
  * @throws ApiError
6524
7415
  */
6525
- static healthControllerCheckRedis(data: HealthControllerCheckRedisData): CancelablePromise<HealthControllerCheckRedisResponse>;
7416
+ static healthControllerCheckRedis(): CancelablePromise<HealthControllerCheckRedisResponse>;
6526
7417
  /**
6527
7418
  * Get status of all circuit breakers
6528
- * @param data The data for the request.
6529
- * @param data.region Region code (cn, us, de)
6530
7419
  * @returns unknown Circuit breaker status
6531
7420
  * @throws ApiError
6532
7421
  */
6533
- static healthControllerGetCircuitBreakersHealth(data: HealthControllerGetCircuitBreakersHealthData): CancelablePromise<HealthControllerGetCircuitBreakersHealthResponse>;
7422
+ static healthControllerGetCircuitBreakersHealth(): CancelablePromise<HealthControllerGetCircuitBreakersHealthResponse>;
6534
7423
  /**
6535
7424
  * Reset a circuit breaker to CLOSED state
6536
7425
  * @param data The data for the request.
6537
7426
  * @param data.name Circuit breaker name to reset
6538
- * @param data.region Region code (cn, us, de)
6539
7427
  * @returns unknown Circuit breaker reset successfully
6540
7428
  * @throws ApiError
6541
7429
  */
6542
7430
  static healthControllerResetCircuitBreaker(data: HealthControllerResetCircuitBreakerData): CancelablePromise<HealthControllerResetCircuitBreakerResponse>;
6543
7431
  /**
6544
7432
  * Get health check metrics and statistics
6545
- * @param data The data for the request.
6546
- * @param data.region Region code (cn, us, de)
6547
7433
  * @returns unknown Health metrics
6548
7434
  * @throws ApiError
6549
7435
  */
6550
- static healthControllerGetMetrics(data: HealthControllerGetMetricsData): CancelablePromise<HealthControllerGetMetricsResponse>;
6551
- /**
6552
- * Check health of a specific data enhancer
6553
- * @param data The data for the request.
6554
- * @param data.name Data enhancer name
6555
- * @param data.region Region code (cn, us, de)
6556
- * @returns unknown Data enhancer is healthy
6557
- * @throws ApiError
6558
- */
6559
- static healthControllerGetHealthOfDataEnhancer(data: HealthControllerGetHealthOfDataEnhancerData): CancelablePromise<HealthControllerGetHealthOfDataEnhancerResponse>;
6560
- /**
6561
- * Check health of all data providers
6562
- * @param data The data for the request.
6563
- * @param data.region Region code (cn, us, de)
6564
- * @returns unknown Data providers health status
6565
- * @throws ApiError
6566
- */
6567
- static healthControllerCheckDataProviders(data: HealthControllerCheckDataProvidersData): CancelablePromise<HealthControllerCheckDataProvidersResponse>;
6568
- /**
6569
- * Check health of a specific data provider
6570
- * @param data The data for the request.
6571
- * @param data.dataSource Data source identifier
6572
- * @param data.region Region code (cn, us, de)
6573
- * @returns unknown Data provider is healthy
6574
- * @throws ApiError
6575
- */
6576
- static healthControllerGetHealthOfDataProvider(data: HealthControllerGetHealthOfDataProviderData): CancelablePromise<HealthControllerGetHealthOfDataProviderResponse>;
7436
+ static healthControllerGetMetrics(): CancelablePromise<HealthControllerGetMetricsResponse>;
6577
7437
  }
6578
7438
 
6579
7439
  type ApiRequestOptions = {
@@ -6616,4 +7476,4 @@ type OpenAPIConfig = {
6616
7476
  };
6617
7477
  declare const OpenAPI: OpenAPIConfig;
6618
7478
 
6619
- 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 ParserTelemetryReportDto, type PayeeAutocompleteResponseDto, type PayeeController1Data, type PayeeController1Response, type PayeeController2Data, type PayeeController2Response, type PayeeControllerAutocompleteData, type PayeeControllerAutocompleteResponse, type PayeeControllerData, type PayeeControllerFindAllData, type PayeeControllerFindAllResponse, type PayeeControllerFindOneData, type PayeeControllerFindOneResponse, type PayeeControllerGetTopPayeesData, type PayeeControllerGetTopPayeesResponse, type PayeeControllerResponse, type PayeeListResponseDto, type PayeeProfileAdminController1Data, type PayeeProfileAdminController1Response, type PayeeProfileAdminController2Data, type PayeeProfileAdminController2Response, type PayeeProfileAdminController3Data, type PayeeProfileAdminController3Response, type PayeeProfileAdminController4Data, type PayeeProfileAdminController4Response, type PayeeProfileAdminControllerData, type PayeeProfileAdminControllerFindAllData, type PayeeProfileAdminControllerFindAllResponse, type PayeeProfileAdminControllerFindOneData, type PayeeProfileAdminControllerFindOneResponse, type PayeeProfileAdminControllerResponse, type PayeeProfileListResponseDto, type PayeeProfileResponseDto, type PayeeResponseDto, type PayeeStatsResponseDto, type PlatformController1Data, type PlatformController1Response, type PlatformController2Data, type PlatformController2Response, type PlatformControllerData, type PlatformControllerFindAllData, type PlatformControllerFindAllResponse, type PlatformControllerGetPlatformListData, type PlatformControllerGetPlatformListResponse, type PlatformControllerResponse, type PlatformGroupDto, type PortfolioTrendsResponseDto, type PostingDetailDto, type PostingResponseDto, type ProcessNlpDto, type PropertyController1Data, type PropertyController1Response, type PropertyControllerData, type PropertyControllerGetAllData, type PropertyControllerGetAllResponse, type PropertyControllerGetByKeyData, type PropertyControllerGetByKeyResponse, type PropertyControllerResponse, type ProviderSyncConfigDto, type ProviderSyncControllerGetSupportedProvidersData, type ProviderSyncControllerGetSupportedProvidersResponse, type ProviderSyncControllerIsProviderSupportedData, type ProviderSyncControllerIsProviderSupportedResponse, type ProviderSyncControllerSyncData, type ProviderSyncControllerSyncResponse, type ProviderSyncDto, type ProviderSyncResponseDto, ProviderSyncService, type RecurringMatchInfoDto, type RecurringRuleController1Data, type RecurringRuleController1Response, type RecurringRuleController2Data, type RecurringRuleController2Response, type RecurringRuleController3Data, type RecurringRuleController3Response, type RecurringRuleControllerData, type RecurringRuleControllerFindAllData, type RecurringRuleControllerFindAllResponse, type RecurringRuleControllerFindOneData, type RecurringRuleControllerFindOneResponse, type RecurringRuleControllerGetWithStatsData, type RecurringRuleControllerGetWithStatsResponse, type RecurringRuleControllerResponse, type RecurringRuleResponseDto, type RecurringRuleWithStatsResponseDto, type RecurringSuggestionDto, type RegionConfigDto, type RegionInfoDto, type RegionsMetadataResponseDto, type ReopenAccountDto, type ReportingControllerBackfillSnapshotsData, type ReportingControllerBackfillSnapshotsResponse, type ReportingControllerGenerateSnapshotData, type ReportingControllerGenerateSnapshotResponse, type ReportingControllerGetPortfolioTrendsData, type ReportingControllerGetPortfolioTrendsResponse, type ReviewController1Data, type ReviewController1Response, type ReviewController2Data, type ReviewController2Response, type ReviewControllerData, type ReviewControllerFindAllData, type ReviewControllerFindAllResponse, type ReviewControllerFindOneData, type ReviewControllerFindOneResponse, type ReviewControllerGetStatsData, type ReviewControllerGetStatsResponse, type ReviewControllerResponse, type ReviewDetailDto, type ReviewItemPreviewDto, type ReviewListResponseDto, type ReviewStatsDto, type ReviewSummaryDto, type RuleStatisticsResponseDto, type SignupDto, type SupportedProvidersResponseDto, type SymbolControllerData, type SymbolControllerGatherSymbolForDateData, type SymbolControllerGatherSymbolForDateResponse, type SymbolControllerGetSymbolDataData, type SymbolControllerGetSymbolDataResponse, type SymbolControllerLookupSymbolData, type SymbolControllerLookupSymbolResponse, type SymbolControllerResponse, type TelemetryControllerReportTelemetryData, type TelemetryControllerReportTelemetryResponse, 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 };
7479
+ 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 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 sourceType, type status, type status2, type status3, type status4, type suggestedFrequency, type type, type type2, type type3, type viewMode };