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

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,74 @@ 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
+ * Account description
239
+ */
240
+ description?: string;
241
+ /**
242
+ * Account tags for categorization
243
+ */
244
+ tags?: Array<string>;
245
+ /**
246
+ * Icon identifier for UI display
247
+ */
248
+ icon?: string;
249
+ };
250
+ type AccountStandardListResponseDto = {
251
+ /**
252
+ * Array of account templates
253
+ */
254
+ items: Array<AccountStandardResponseDto>;
255
+ /**
256
+ * Total number of account templates
257
+ */
258
+ total: number;
259
+ /**
260
+ * Region code
261
+ */
262
+ region: string;
263
+ };
264
+ type TemplateMetadataDto = {
265
+ /**
266
+ * Whether this path can be extended
267
+ */
268
+ extendable: boolean;
269
+ /**
270
+ * Root account type
271
+ */
272
+ rootType: string;
273
+ };
274
+ type TemplateMetadataResponseDto = {
275
+ metadata?: TemplateMetadataDto;
276
+ };
277
+ type RegionConfigDto = {
278
+ currency: string;
279
+ dateFormat: string;
280
+ locale: string;
281
+ };
282
+ type RegionInfoDto = {
283
+ code: string;
284
+ displayName: string;
285
+ parent?: string;
286
+ chain: Array<string>;
287
+ config: RegionConfigDto;
288
+ };
289
+ type RegionsMetadataResponseDto = {
290
+ regions: Array<RegionInfoDto>;
291
+ };
214
292
  type CreatePostingDto = {
215
293
  /**
216
294
  * Account name in Beancount format (must start with uppercase, colon-separated)
@@ -401,6 +479,32 @@ type ApiProblemResponseDto = {
401
479
  [key: string]: unknown;
402
480
  };
403
481
  };
482
+ type BatchCreateTransactionDto = {
483
+ /**
484
+ * Array of transactions to create
485
+ */
486
+ transactions: Array<CreateTransactionDto>;
487
+ };
488
+ type BatchTransactionErrorDto = {
489
+ /**
490
+ * Index of failed transaction in the input array
491
+ */
492
+ index: number;
493
+ /**
494
+ * Error message describing the failure
495
+ */
496
+ error: string;
497
+ };
498
+ type BatchTransactionResponseDto = {
499
+ /**
500
+ * Successfully created transactions
501
+ */
502
+ succeeded: Array<TransactionResponseDto>;
503
+ /**
504
+ * Failed transactions with error details
505
+ */
506
+ failed: Array<BatchTransactionErrorDto>;
507
+ };
404
508
  type PostingDetailDto = {
405
509
  /**
406
510
  * Posting ID
@@ -583,61 +687,6 @@ type UpdateTransactionDto = {
583
687
  [key: string]: unknown;
584
688
  };
585
689
  };
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
690
  type BalanceResponseDto = {
642
691
  /**
643
692
  * Account name
@@ -933,6 +982,118 @@ type ReviewDetailDto = {
933
982
  */
934
983
  transactionId?: string;
935
984
  };
985
+ type ResolveReviewDto = {
986
+ /**
987
+ * 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
988
+ */
989
+ action: string;
990
+ /**
991
+ * Additional data for the decision (e.g., selected account ID)
992
+ */
993
+ data?: {
994
+ [key: string]: unknown;
995
+ };
996
+ };
997
+ type ResolveResultDto = {
998
+ /**
999
+ * Whether resolution was successful
1000
+ */
1001
+ success: boolean;
1002
+ /**
1003
+ * i18n message key for result message (e.g., review.payee.result.mapped)
1004
+ */
1005
+ messageKey?: string;
1006
+ /**
1007
+ * Parameters for message interpolation (e.g., { name: "PayeeName" })
1008
+ */
1009
+ messageParams?: {
1010
+ [key: string]: string;
1011
+ };
1012
+ /**
1013
+ * Resolution ID for undo
1014
+ */
1015
+ resolutionId: string;
1016
+ /**
1017
+ * Whether this decision can be undone
1018
+ */
1019
+ canUndo: boolean;
1020
+ /**
1021
+ * Deadline for undo (24h from resolution)
1022
+ */
1023
+ undoDeadline: string;
1024
+ /**
1025
+ * Rule ID if learning was triggered (ACCEPT_AND_LEARN actions). Use this to deep-link to the rule management page.
1026
+ */
1027
+ learnedRuleId?: string;
1028
+ };
1029
+ type UndoResultDto = {
1030
+ /**
1031
+ * Whether undo was successful
1032
+ */
1033
+ success: boolean;
1034
+ /**
1035
+ * Message
1036
+ */
1037
+ message?: string;
1038
+ /**
1039
+ * Review item ID that was restored
1040
+ */
1041
+ reviewId: string;
1042
+ };
1043
+ type BatchResolveDto = {
1044
+ /**
1045
+ * Review item IDs to resolve
1046
+ */
1047
+ reviewIds: Array<string>;
1048
+ /**
1049
+ * Decision action to apply to all items
1050
+ */
1051
+ action: string;
1052
+ /**
1053
+ * Additional data for the decision
1054
+ */
1055
+ data?: {
1056
+ [key: string]: unknown;
1057
+ };
1058
+ };
1059
+ type BatchResolveResultDto = {
1060
+ /**
1061
+ * Number of successfully resolved items
1062
+ */
1063
+ successCount: number;
1064
+ /**
1065
+ * Number of failed items
1066
+ */
1067
+ failedCount: number;
1068
+ /**
1069
+ * Details for each item
1070
+ */
1071
+ results: Array<string>;
1072
+ };
1073
+ type CreatePayeeDto = {
1074
+ /**
1075
+ * User's original payee name (e.g., 'Starbucks', 'McDonald'). This is the raw payee string as entered by the user.
1076
+ */
1077
+ payee: string;
1078
+ /**
1079
+ * Optional reference to global PayeeProfile for standardized data (merchant info, i18n keys, categories)
1080
+ */
1081
+ payeeProfileId?: string;
1082
+ /**
1083
+ * User's custom category for this payee (overrides PayeeProfile category)
1084
+ */
1085
+ customCategory?: string;
1086
+ /**
1087
+ * User's custom tags for this payee (e.g., ['favorite', 'work_meal'])
1088
+ */
1089
+ customTags?: Array<string>;
1090
+ /**
1091
+ * Metadata for extended information (location, notes, contact info, etc.)
1092
+ */
1093
+ meta?: {
1094
+ [key: string]: unknown;
1095
+ };
1096
+ };
936
1097
  type PayeeResponseDto = {
937
1098
  /**
938
1099
  * Unique identifier (UUID)
@@ -949,15 +1110,11 @@ type PayeeResponseDto = {
949
1110
  /**
950
1111
  * Reference to global PayeeProfile (merchant info, i18n keys, categories)
951
1112
  */
952
- payeeProfileId?: {
953
- [key: string]: unknown;
954
- } | null;
1113
+ payeeProfileId?: string | null;
955
1114
  /**
956
1115
  * User's custom category (overrides PayeeProfile category if set)
957
1116
  */
958
- customCategory?: {
959
- [key: string]: unknown;
960
- } | null;
1117
+ customCategory?: string | null;
961
1118
  /**
962
1119
  * User's custom tags (e.g., ['favorite', 'work_meal'])
963
1120
  */
@@ -1019,104 +1176,170 @@ type PayeeStatsResponseDto = {
1019
1176
  */
1020
1177
  lastUsedAt: string;
1021
1178
  };
1022
- type PayeeProfileResponseDto = {
1179
+ type UpdatePayeeDto = {
1023
1180
  /**
1024
- * Unique identifier (UUID)
1181
+ * Optional reference to global PayeeProfile for standardized data (merchant info, i18n keys, categories)
1025
1182
  */
1026
- id: string;
1183
+ payeeProfileId?: string;
1027
1184
  /**
1028
- * Canonical payee name (unique, case-insensitive)
1185
+ * User's custom category for this payee (overrides PayeeProfile category)
1029
1186
  */
1030
- canonical: string;
1187
+ customCategory?: string;
1031
1188
  /**
1032
- * Multi-language aliases
1189
+ * User's custom tags for this payee (e.g., ['favorite', 'work_meal'])
1033
1190
  */
1034
- aliases: Array<string>;
1191
+ customTags?: Array<string>;
1035
1192
  /**
1036
- * Translation key for i18n
1193
+ * Metadata for extended information (location, notes, contact info, etc.). Will merge with existing metadata.
1037
1194
  */
1038
- i18nKey?: {
1195
+ meta?: {
1039
1196
  [key: string]: unknown;
1040
- } | null;
1197
+ };
1041
1198
  /**
1042
- * Payee category
1199
+ * Enable or disable this payee. Disabled payees will not appear in autocomplete suggestions.
1043
1200
  */
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';
1201
+ isActive?: boolean;
1202
+ };
1203
+ type CreatePayeeProfileDto = {
1045
1204
  /**
1046
- * Sub-category
1205
+ * Canonical payee name (unique, case-insensitive). This is the primary identifier for the payee.
1047
1206
  */
1048
- subCategory?: {
1049
- [key: string]: unknown;
1050
- } | null;
1207
+ canonical: string;
1051
1208
  /**
1052
- * Country codes where payee operates
1209
+ * Multi-language aliases for the payee. Used for matching user input in different languages.
1053
1210
  */
1054
- countries: Array<string>;
1211
+ aliases?: Array<string>;
1055
1212
  /**
1056
- * Primary operating country
1213
+ * Translation key for i18n integration (XLIFF translation system)
1057
1214
  */
1058
- primaryCountry?: {
1059
- [key: string]: unknown;
1060
- } | null;
1215
+ i18nKey?: string;
1061
1216
  /**
1062
- * Search keywords
1217
+ * Payee category classification
1063
1218
  */
1064
- keywords: Array<string>;
1219
+ 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
1220
  /**
1066
- * Logo URL
1221
+ * Sub-category for more specific classification
1067
1222
  */
1068
- logoUrl?: {
1069
- [key: string]: unknown;
1070
- } | null;
1223
+ subCategory?: string;
1071
1224
  /**
1072
- * Official website
1225
+ * Country/region codes where the payee operates (ISO 3166-1 alpha-2)
1073
1226
  */
1074
- website?: {
1075
- [key: string]: unknown;
1076
- } | null;
1227
+ countries?: Array<string>;
1077
1228
  /**
1078
- * Description
1229
+ * Primary operating country (ISO 3166-1 alpha-2)
1079
1230
  */
1080
- description?: {
1081
- [key: string]: unknown;
1082
- } | null;
1231
+ primaryCountry?: string;
1083
1232
  /**
1084
- * Extended metadata
1233
+ * Search keywords for fuzzy matching
1085
1234
  */
1086
- meta: {
1087
- [key: string]: unknown;
1088
- };
1235
+ keywords?: Array<string>;
1089
1236
  /**
1090
- * Data source
1237
+ * Payee logo URL
1091
1238
  */
1092
- dataSource: 'MANUAL' | 'IMPORT' | 'API' | 'CROWDSOURCED';
1239
+ logoUrl?: string;
1093
1240
  /**
1094
- * Verification timestamp (null if not verified)
1241
+ * Official website URL
1095
1242
  */
1096
- verifiedAt?: {
1097
- [key: string]: unknown;
1098
- } | null;
1243
+ website?: string;
1099
1244
  /**
1100
- * Whether the profile is active
1245
+ * Payee description
1101
1246
  */
1102
- isActive: boolean;
1247
+ description?: string;
1103
1248
  /**
1104
- * Creation timestamp
1249
+ * Extended metadata (business hours, contact info, additional details)
1105
1250
  */
1106
- createdAt: string;
1251
+ meta?: {
1252
+ [key: string]: unknown;
1253
+ };
1107
1254
  /**
1108
- * Last update timestamp
1255
+ * Data source for this profile
1109
1256
  */
1110
- updatedAt: string;
1257
+ dataSource?: 'MANUAL' | 'IMPORT' | 'API' | 'CROWDSOURCED';
1111
1258
  };
1112
1259
  /**
1113
- * Payee category
1260
+ * Payee category classification
1114
1261
  */
1115
1262
  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
1263
  /**
1117
- * Data source
1264
+ * Data source for this profile
1118
1265
  */
1119
1266
  type dataSource = 'MANUAL' | 'IMPORT' | 'API' | 'CROWDSOURCED';
1267
+ type PayeeProfileResponseDto = {
1268
+ /**
1269
+ * Unique identifier (UUID)
1270
+ */
1271
+ id: string;
1272
+ /**
1273
+ * Canonical payee name (unique, case-insensitive)
1274
+ */
1275
+ canonical: string;
1276
+ /**
1277
+ * Multi-language aliases
1278
+ */
1279
+ aliases: Array<string>;
1280
+ /**
1281
+ * Translation key for i18n
1282
+ */
1283
+ i18nKey?: string | null;
1284
+ /**
1285
+ * Payee category
1286
+ */
1287
+ 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';
1288
+ /**
1289
+ * Sub-category
1290
+ */
1291
+ subCategory?: string | null;
1292
+ /**
1293
+ * Country codes where payee operates
1294
+ */
1295
+ countries: Array<string>;
1296
+ /**
1297
+ * Primary operating country
1298
+ */
1299
+ primaryCountry?: string | null;
1300
+ /**
1301
+ * Search keywords
1302
+ */
1303
+ keywords: Array<string>;
1304
+ /**
1305
+ * Logo URL
1306
+ */
1307
+ logoUrl?: string | null;
1308
+ /**
1309
+ * Official website
1310
+ */
1311
+ website?: string | null;
1312
+ /**
1313
+ * Description
1314
+ */
1315
+ description?: string | null;
1316
+ /**
1317
+ * Extended metadata
1318
+ */
1319
+ meta: {
1320
+ [key: string]: unknown;
1321
+ };
1322
+ /**
1323
+ * Data source
1324
+ */
1325
+ dataSource: 'MANUAL' | 'IMPORT' | 'API' | 'CROWDSOURCED';
1326
+ /**
1327
+ * Verification timestamp (null if not verified)
1328
+ */
1329
+ verifiedAt?: string | null;
1330
+ /**
1331
+ * Whether the profile is active
1332
+ */
1333
+ isActive: boolean;
1334
+ /**
1335
+ * Creation timestamp
1336
+ */
1337
+ createdAt: string;
1338
+ /**
1339
+ * Last update timestamp
1340
+ */
1341
+ updatedAt: string;
1342
+ };
1120
1343
  type PayeeProfileListResponseDto = {
1121
1344
  /**
1122
1345
  * List of payee profiles
@@ -1127,6 +1350,82 @@ type PayeeProfileListResponseDto = {
1127
1350
  */
1128
1351
  total: number;
1129
1352
  };
1353
+ type UpdatePayeeProfileDto = {
1354
+ /**
1355
+ * Multi-language aliases for the payee. Used for matching user input in different languages.
1356
+ */
1357
+ aliases?: Array<string>;
1358
+ /**
1359
+ * Translation key for i18n integration (XLIFF translation system)
1360
+ */
1361
+ i18nKey?: string;
1362
+ /**
1363
+ * Payee category classification
1364
+ */
1365
+ 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';
1366
+ /**
1367
+ * Sub-category for more specific classification
1368
+ */
1369
+ subCategory?: string;
1370
+ /**
1371
+ * Country/region codes where the payee operates (ISO 3166-1 alpha-2)
1372
+ */
1373
+ countries?: Array<string>;
1374
+ /**
1375
+ * Primary operating country (ISO 3166-1 alpha-2)
1376
+ */
1377
+ primaryCountry?: string;
1378
+ /**
1379
+ * Search keywords for fuzzy matching
1380
+ */
1381
+ keywords?: Array<string>;
1382
+ /**
1383
+ * Payee logo URL
1384
+ */
1385
+ logoUrl?: string;
1386
+ /**
1387
+ * Official website URL
1388
+ */
1389
+ website?: string;
1390
+ /**
1391
+ * Payee description
1392
+ */
1393
+ description?: string;
1394
+ /**
1395
+ * Extended metadata (business hours, contact info, additional details)
1396
+ */
1397
+ meta?: {
1398
+ [key: string]: unknown;
1399
+ };
1400
+ /**
1401
+ * Data source for this profile
1402
+ */
1403
+ dataSource?: 'MANUAL' | 'IMPORT' | 'API' | 'CROWDSOURCED';
1404
+ /**
1405
+ * Whether the payee profile is active (soft delete)
1406
+ */
1407
+ isActive?: boolean;
1408
+ /**
1409
+ * Verification timestamp. Set to current time to verify, or null to unverify.
1410
+ */
1411
+ verifiedAt?: string | null;
1412
+ };
1413
+ type CreateCommodityDto = {
1414
+ /**
1415
+ * Commodity symbol (e.g., AAPL, USD, BTC) - corresponds to Beancount currency field
1416
+ */
1417
+ symbol: string;
1418
+ /**
1419
+ * Commodity definition date (ISO 8601, required per Beancount spec). Represents when this commodity was first defined in the accounting system.
1420
+ */
1421
+ date: string;
1422
+ /**
1423
+ * Metadata (corresponds to Beancount meta field). Can contain name, assetClass, precision, note, tags, etc.
1424
+ */
1425
+ metadata?: {
1426
+ [key: string]: unknown;
1427
+ };
1428
+ };
1130
1429
  type CommodityResponseDto = {
1131
1430
  /**
1132
1431
  * Unique identifier
@@ -1135,9 +1434,7 @@ type CommodityResponseDto = {
1135
1434
  /**
1136
1435
  * User ID (owner of the commodity)
1137
1436
  */
1138
- userId?: {
1139
- [key: string]: unknown;
1140
- } | null;
1437
+ userId?: string | null;
1141
1438
  /**
1142
1439
  * Commodity symbol (corresponds to Beancount currency field)
1143
1440
  */
@@ -1152,12 +1449,6 @@ type CommodityResponseDto = {
1152
1449
  metadata: {
1153
1450
  [key: string]: unknown;
1154
1451
  };
1155
- /**
1156
- * Reference to SymbolProfile (market data integration, SaaS feature)
1157
- */
1158
- symbolProfileId?: {
1159
- [key: string]: unknown;
1160
- } | null;
1161
1452
  /**
1162
1453
  * Creation timestamp
1163
1454
  */
@@ -1177,6 +1468,84 @@ type CommodityListResponseDto = {
1177
1468
  */
1178
1469
  total: number;
1179
1470
  };
1471
+ type UpdateCommodityDto = {
1472
+ /**
1473
+ * Commodity definition date (ISO 8601). Represents when this commodity was first defined in the accounting system.
1474
+ */
1475
+ date?: string;
1476
+ /**
1477
+ * Metadata (corresponds to Beancount meta field). Will merge with existing metadata. Can contain name, assetClass, precision, note, tags, etc.
1478
+ */
1479
+ metadata?: {
1480
+ [key: string]: unknown;
1481
+ };
1482
+ };
1483
+ type CreateRecurringRuleDto = {
1484
+ /**
1485
+ * Rule name (unique per user)
1486
+ */
1487
+ name: string;
1488
+ /**
1489
+ * Icon emoji
1490
+ */
1491
+ icon?: string;
1492
+ /**
1493
+ * Recurring frequency
1494
+ */
1495
+ frequency: 'WEEKLY' | 'BIWEEKLY' | 'MONTHLY' | 'BIMONTHLY' | 'QUARTERLY' | 'YEARLY' | 'CUSTOM';
1496
+ /**
1497
+ * Expected amount (positive number)
1498
+ */
1499
+ expectedAmount: number;
1500
+ /**
1501
+ * Expected day of month (1-31)
1502
+ */
1503
+ expectedDay?: number;
1504
+ /**
1505
+ * Custom interval in days (required for CUSTOM frequency)
1506
+ */
1507
+ customIntervalDays?: number;
1508
+ /**
1509
+ * Currency code
1510
+ */
1511
+ currency: string;
1512
+ /**
1513
+ * Payee matching pattern (supports wildcards)
1514
+ */
1515
+ matchPayeePattern?: string;
1516
+ /**
1517
+ * Amount tolerance percentage (0-1)
1518
+ */
1519
+ matchAmountTolerance: number;
1520
+ /**
1521
+ * Default expense account for auto-create
1522
+ */
1523
+ defaultExpenseAccount?: string;
1524
+ /**
1525
+ * Default payment account for auto-create
1526
+ */
1527
+ defaultPaymentAccount?: string;
1528
+ /**
1529
+ * Default payee for auto-create
1530
+ */
1531
+ defaultPayee?: string;
1532
+ /**
1533
+ * Auto-create transaction when expected date arrives
1534
+ */
1535
+ autoCreate: boolean;
1536
+ /**
1537
+ * Rule start date (ISO format)
1538
+ */
1539
+ startDate?: string;
1540
+ /**
1541
+ * Rule end date (ISO format)
1542
+ */
1543
+ endDate?: string;
1544
+ };
1545
+ /**
1546
+ * Recurring frequency
1547
+ */
1548
+ type frequency = 'WEEKLY' | 'BIWEEKLY' | 'MONTHLY' | 'BIMONTHLY' | 'QUARTERLY' | 'YEARLY' | 'CUSTOM';
1180
1549
  type RecurringRuleResponseDto = {
1181
1550
  /**
1182
1551
  * Rule ID
@@ -1285,6 +1654,20 @@ type RecurringRuleResponseDto = {
1285
1654
  */
1286
1655
  updatedAt: string;
1287
1656
  };
1657
+ type CreateRuleFromTransactionDto = {
1658
+ /**
1659
+ * Recurring frequency
1660
+ */
1661
+ frequency: 'WEEKLY' | 'BIWEEKLY' | 'MONTHLY' | 'BIMONTHLY' | 'QUARTERLY' | 'YEARLY' | 'CUSTOM';
1662
+ /**
1663
+ * Optional name override (default: transaction payee)
1664
+ */
1665
+ name?: string;
1666
+ /**
1667
+ * Optional icon emoji
1668
+ */
1669
+ icon?: string;
1670
+ };
1288
1671
  type RecurringRuleWithStatsResponseDto = {
1289
1672
  /**
1290
1673
  * Rule ID
@@ -1439,6 +1822,68 @@ type RecurringRuleWithStatsResponseDto = {
1439
1822
  */
1440
1823
  upcomingCount: number;
1441
1824
  };
1825
+ type UpdateRecurringRuleDto = {
1826
+ /**
1827
+ * Rule name
1828
+ */
1829
+ name?: string;
1830
+ /**
1831
+ * Icon emoji
1832
+ */
1833
+ icon?: string;
1834
+ /**
1835
+ * Recurring frequency
1836
+ */
1837
+ frequency?: 'WEEKLY' | 'BIWEEKLY' | 'MONTHLY' | 'BIMONTHLY' | 'QUARTERLY' | 'YEARLY' | 'CUSTOM';
1838
+ /**
1839
+ * Expected amount
1840
+ */
1841
+ expectedAmount?: number;
1842
+ /**
1843
+ * Expected day of month (1-31)
1844
+ */
1845
+ expectedDay?: number;
1846
+ /**
1847
+ * Custom interval in days
1848
+ */
1849
+ customIntervalDays?: number;
1850
+ /**
1851
+ * Currency code
1852
+ */
1853
+ currency?: string;
1854
+ /**
1855
+ * Payee matching pattern
1856
+ */
1857
+ matchPayeePattern?: string;
1858
+ /**
1859
+ * Amount tolerance percentage (0-1)
1860
+ */
1861
+ matchAmountTolerance?: number;
1862
+ /**
1863
+ * Default expense account
1864
+ */
1865
+ defaultExpenseAccount?: string;
1866
+ /**
1867
+ * Default payment account
1868
+ */
1869
+ defaultPaymentAccount?: string;
1870
+ /**
1871
+ * Default payee
1872
+ */
1873
+ defaultPayee?: string;
1874
+ /**
1875
+ * Auto-create transaction
1876
+ */
1877
+ autoCreate?: boolean;
1878
+ /**
1879
+ * Rule active status
1880
+ */
1881
+ isActive?: boolean;
1882
+ /**
1883
+ * Rule end date (ISO format)
1884
+ */
1885
+ endDate?: string;
1886
+ };
1442
1887
  type ExpectedTransactionRuleDto = {
1443
1888
  /**
1444
1889
  * Rule name
@@ -1526,6 +1971,34 @@ type ExpectedTransactionListResponseDto = {
1526
1971
  */
1527
1972
  total: number;
1528
1973
  };
1974
+ type ConfirmMatchDto = {
1975
+ /**
1976
+ * Transaction ID to match with
1977
+ */
1978
+ transactionId: string;
1979
+ };
1980
+ type EnterNowDto = {
1981
+ /**
1982
+ * Override expense account (uses rule default if not provided)
1983
+ */
1984
+ expenseAccount?: string;
1985
+ /**
1986
+ * Override payment account (uses rule default if not provided)
1987
+ */
1988
+ paymentAccount?: string;
1989
+ /**
1990
+ * Override amount (uses expected amount if not provided)
1991
+ */
1992
+ amount?: number;
1993
+ /**
1994
+ * Override payee (uses rule default if not provided)
1995
+ */
1996
+ payee?: string;
1997
+ /**
1998
+ * Optional narration
1999
+ */
2000
+ narration?: string;
2001
+ };
1529
2002
  type ForecastItemDto = {
1530
2003
  /**
1531
2004
  * Rule name
@@ -1546,9 +2019,7 @@ type ForecastItemDto = {
1546
2019
  /**
1547
2020
  * Rule icon emoji
1548
2021
  */
1549
- icon: {
1550
- [key: string]: unknown;
1551
- } | null;
2022
+ icon: string | null;
1552
2023
  /**
1553
2024
  * Currency code
1554
2025
  */
@@ -1606,11 +2077,55 @@ type ForecastResponseDto = {
1606
2077
  */
1607
2078
  periodEnd: string;
1608
2079
  };
1609
- type TransactionRuleResponseDto = {
2080
+ type CreateTransactionRuleDto = {
2081
+ name: string;
2082
+ description?: string;
2083
+ narrationKeywords?: Array<unknown[]>;
2084
+ payeeKeywords?: Array<unknown[]>;
2085
+ categoryKeywords?: Array<unknown[]>;
1610
2086
  /**
1611
- * Rule ID
2087
+ * Payment method keywords (e.g., HuaBei, YuEBao)
1612
2088
  */
1613
- id: string;
2089
+ methodKeywords?: Array<unknown[]>;
2090
+ /**
2091
+ * Destination account for expenses/income (e.g., Expenses:Food:Coffee)
2092
+ */
2093
+ categoryAccount?: string;
2094
+ matchLogic: 'OR' | 'AND';
2095
+ /**
2096
+ * Minimum transaction amount (inclusive)
2097
+ */
2098
+ amountMin?: number;
2099
+ /**
2100
+ * Maximum transaction amount (inclusive)
2101
+ */
2102
+ amountMax?: number;
2103
+ priority: number;
2104
+ additionalTags?: Array<unknown[]>;
2105
+ additionalMetadata?: {
2106
+ [key: string]: unknown;
2107
+ };
2108
+ /**
2109
+ * If true, update existing rule with matching payeeKeywords[0] instead of creating new rule
2110
+ */
2111
+ upsertByPayee?: boolean;
2112
+ };
2113
+ type matchLogic = 'OR' | 'AND';
2114
+ type AmountRangeDto = {
2115
+ /**
2116
+ * Minimum amount
2117
+ */
2118
+ min?: number;
2119
+ /**
2120
+ * Maximum amount
2121
+ */
2122
+ max?: number;
2123
+ };
2124
+ type TransactionRuleResponseDto = {
2125
+ /**
2126
+ * Rule ID
2127
+ */
2128
+ id: string;
1614
2129
  /**
1615
2130
  * Rule name
1616
2131
  */
@@ -1646,9 +2161,7 @@ type TransactionRuleResponseDto = {
1646
2161
  /**
1647
2162
  * Amount range for matching
1648
2163
  */
1649
- amountRange?: {
1650
- [key: string]: unknown;
1651
- };
2164
+ amountRange?: AmountRangeDto;
1652
2165
  /**
1653
2166
  * Rule priority (0-1000, higher = first match)
1654
2167
  */
@@ -1660,7 +2173,7 @@ type TransactionRuleResponseDto = {
1660
2173
  /**
1661
2174
  * Learning source: NLP, REVIEW_CENTER, or null for manual
1662
2175
  */
1663
- learningSource?: 'NLP' | 'REVIEW_CENTER';
2176
+ learningSource?: 'NLP' | 'REVIEW_CENTER' | null;
1664
2177
  /**
1665
2178
  * Whether auto-apply is enabled for this rule
1666
2179
  */
@@ -1677,7 +2190,7 @@ type TransactionRuleResponseDto = {
1677
2190
  * Additional metadata
1678
2191
  */
1679
2192
  additionalMetadata?: {
1680
- [key: string]: unknown;
2193
+ [key: string]: string;
1681
2194
  };
1682
2195
  /**
1683
2196
  * Created timestamp
@@ -1688,10 +2201,6 @@ type TransactionRuleResponseDto = {
1688
2201
  */
1689
2202
  updatedAt: string;
1690
2203
  };
1691
- /**
1692
- * Keyword matching logic
1693
- */
1694
- type matchLogic = 'OR' | 'AND';
1695
2204
  /**
1696
2205
  * Learning source: NLP, REVIEW_CENTER, or null for manual
1697
2206
  */
@@ -1758,6 +2267,41 @@ type ValidateRuleResponseDto = {
1758
2267
  */
1759
2268
  warnings: Array<unknown[]>;
1760
2269
  };
2270
+ type BulkCreateRulesDto = {
2271
+ /**
2272
+ * Array of rules to import
2273
+ */
2274
+ rules: Array<unknown[]>;
2275
+ /**
2276
+ * Conflict handling strategy: skip (default) ignores duplicates, replace soft-deletes existing rule
2277
+ */
2278
+ conflictStrategy: 'replace' | 'skip';
2279
+ };
2280
+ /**
2281
+ * Conflict handling strategy: skip (default) ignores duplicates, replace soft-deletes existing rule
2282
+ */
2283
+ type conflictStrategy = 'replace' | 'skip';
2284
+ type BulkCreateRulesResponseDto = {
2285
+ /**
2286
+ * Number of successfully created rules
2287
+ */
2288
+ successCount: number;
2289
+ /**
2290
+ * Number of failed rules
2291
+ */
2292
+ failureCount: number;
2293
+ /**
2294
+ * Error details for failed rules
2295
+ */
2296
+ errors: Array<{
2297
+ index?: number;
2298
+ message?: string;
2299
+ }>;
2300
+ /**
2301
+ * IDs of successfully created rules
2302
+ */
2303
+ createdRuleIds: Array<string>;
2304
+ };
1761
2305
  type ExportRulesResponseDto = {
1762
2306
  /**
1763
2307
  * Export timestamp
@@ -1811,6 +2355,39 @@ type RuleStatisticsResponseDto = {
1811
2355
  * Statistics time period
1812
2356
  */
1813
2357
  type period = '7d' | '30d' | '90d';
2358
+ type UpdateTransactionRuleDto = {
2359
+ name?: string;
2360
+ description?: string;
2361
+ narrationKeywords?: Array<unknown[]>;
2362
+ payeeKeywords?: Array<unknown[]>;
2363
+ categoryKeywords?: Array<unknown[]>;
2364
+ /**
2365
+ * Payment method keywords (e.g., HuaBei, YuEBao)
2366
+ */
2367
+ methodKeywords?: Array<unknown[]>;
2368
+ /**
2369
+ * Destination account for expenses/income (e.g., Expenses:Food:Coffee)
2370
+ */
2371
+ categoryAccount?: string;
2372
+ matchLogic?: 'OR' | 'AND';
2373
+ /**
2374
+ * Minimum transaction amount (inclusive)
2375
+ */
2376
+ amountMin?: number;
2377
+ /**
2378
+ * Maximum transaction amount (inclusive)
2379
+ */
2380
+ amountMax?: number;
2381
+ priority?: number;
2382
+ /**
2383
+ * Enable or disable the rule
2384
+ */
2385
+ enabled?: boolean;
2386
+ additionalTags?: Array<unknown[]>;
2387
+ additionalMetadata?: {
2388
+ [key: string]: unknown;
2389
+ };
2390
+ };
1814
2391
  type TestRuleDto = {
1815
2392
  narration: string;
1816
2393
  payee?: string;
@@ -1944,6 +2521,12 @@ type colorScheme = 'DARK' | 'LIGHT';
1944
2521
  * View mode
1945
2522
  */
1946
2523
  type viewMode = 'DEFAULT' | 'ZEN';
2524
+ type UpdatePropertyDto = {
2525
+ /**
2526
+ * Property value
2527
+ */
2528
+ value: string;
2529
+ };
1947
2530
  type FileImportDto = {
1948
2531
  /**
1949
2532
  * Bill file to import (CSV, PDF, OFX, etc.)
@@ -2126,7 +2709,7 @@ type ImporterConfigDto = {
2126
2709
  /**
2127
2710
  * Importer identifier
2128
2711
  */
2129
- importerId: 'alipay' | 'alipay-web' | 'alipay-yuebao' | 'wechat' | 'wechat-xlsx' | 'boc' | 'boc-credit' | 'ccb' | 'cmb' | 'cmbc' | 'cmbc-credit' | 'icbc' | 'icbc-credit' | 'hsbc-hk';
2712
+ 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
2713
  /**
2131
2714
  * Configuration version (semver)
2132
2715
  */
@@ -2151,7 +2734,107 @@ type ImporterConfigDto = {
2151
2734
  /**
2152
2735
  * Importer identifier
2153
2736
  */
2154
- type importerId = 'alipay' | 'alipay-web' | 'alipay-yuebao' | 'wechat' | 'wechat-xlsx' | 'boc' | 'boc-credit' | 'ccb' | 'cmb' | 'cmbc' | 'cmbc-credit' | 'icbc' | 'icbc-credit' | 'hsbc-hk';
2737
+ 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';
2738
+ type UpdateMapperDefaultsDto = {
2739
+ /**
2740
+ * Source account for transactions (Beancount format)
2741
+ */
2742
+ sourceAccount?: string;
2743
+ /**
2744
+ * Default currency (ISO 4217 code)
2745
+ */
2746
+ currency?: string;
2747
+ /**
2748
+ * Default expense account (optional)
2749
+ */
2750
+ expenseAccount?: string;
2751
+ /**
2752
+ * Default income account (optional)
2753
+ */
2754
+ incomeAccount?: string;
2755
+ /**
2756
+ * 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).
2757
+ */
2758
+ methodAccountMapping?: {
2759
+ [key: string]: unknown;
2760
+ };
2761
+ };
2762
+ type UpdateConfigDataDto = {
2763
+ /**
2764
+ * Mapper defaults configuration
2765
+ */
2766
+ defaults?: UpdateMapperDefaultsDto;
2767
+ };
2768
+ type UpdateImporterConfigDto = {
2769
+ /**
2770
+ * Configuration data (v1 schema)
2771
+ */
2772
+ data?: UpdateConfigDataDto;
2773
+ };
2774
+ type CreatePlatformDto = {
2775
+ /**
2776
+ * Platform name
2777
+ */
2778
+ name: string;
2779
+ /**
2780
+ * Platform canonical identifier (lowercase, kebab-case)
2781
+ */
2782
+ canonical: string;
2783
+ /**
2784
+ * Platform aliases (multi-language names for lookup)
2785
+ */
2786
+ aliases: Array<string>;
2787
+ /**
2788
+ * Platform URL
2789
+ */
2790
+ url: string;
2791
+ /**
2792
+ * Platform type
2793
+ */
2794
+ type: 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
2795
+ /**
2796
+ * Platform logo URL
2797
+ */
2798
+ logoUrl?: string;
2799
+ /**
2800
+ * Whether the platform is active
2801
+ */
2802
+ isActive?: boolean;
2803
+ };
2804
+ /**
2805
+ * Platform type
2806
+ */
2807
+ type type3 = 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
2808
+ type UpdatePlatformDto = {
2809
+ /**
2810
+ * Platform name
2811
+ */
2812
+ name?: string;
2813
+ /**
2814
+ * Platform canonical identifier (lowercase, kebab-case)
2815
+ */
2816
+ canonical?: string;
2817
+ /**
2818
+ * Platform aliases (multi-language names for lookup)
2819
+ */
2820
+ aliases?: Array<string>;
2821
+ /**
2822
+ * Platform URL
2823
+ */
2824
+ url?: string;
2825
+ /**
2826
+ * Platform type
2827
+ */
2828
+ type?: 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
2829
+ /**
2830
+ * Platform logo URL
2831
+ */
2832
+ logoUrl?: string;
2833
+ /**
2834
+ * Whether the platform is active
2835
+ */
2836
+ isActive?: boolean;
2837
+ };
2155
2838
  type ProviderSyncConfigDto = {
2156
2839
  /**
2157
2840
  * Source account for the first posting
@@ -3297,6 +3980,39 @@ type AccountControllerReopenData = {
3297
3980
  requestBody: ReopenAccountDto;
3298
3981
  };
3299
3982
  type AccountControllerReopenResponse = AccountResponseDto;
3983
+ type AccountStandardsControllerGetTemplatesData = {
3984
+ /**
3985
+ * Region code (cn, us, de)
3986
+ */
3987
+ region: 'cn' | 'us' | 'de';
3988
+ /**
3989
+ * Search term for path or description
3990
+ */
3991
+ search?: string;
3992
+ /**
3993
+ * Filter by account type
3994
+ */
3995
+ type?: 'Assets' | 'Liabilities' | 'Income' | 'Expenses' | 'Equity';
3996
+ };
3997
+ type AccountStandardsControllerGetTemplatesResponse = AccountStandardListResponseDto;
3998
+ type AccountStandardsControllerGetTemplateMetadataData = {
3999
+ /**
4000
+ * Account path to check
4001
+ */
4002
+ path: string;
4003
+ /**
4004
+ * Region code for tenant context
4005
+ */
4006
+ region: 'cn' | 'us' | 'de';
4007
+ };
4008
+ type AccountStandardsControllerGetTemplateMetadataResponse = TemplateMetadataResponseDto;
4009
+ type AccountStandardsControllerGetRegionsData = {
4010
+ /**
4011
+ * Region code for tenant context
4012
+ */
4013
+ region: 'cn' | 'us' | 'de';
4014
+ };
4015
+ type AccountStandardsControllerGetRegionsResponse = RegionsMetadataResponseDto;
3300
4016
  type TransactionControllerCreateData = {
3301
4017
  /**
3302
4018
  * Region code for tenant context
@@ -3343,13 +4059,14 @@ type TransactionControllerListData = {
3343
4059
  status?: 'ACTIVE' | 'VOIDED' | 'SUPERSEDED';
3344
4060
  };
3345
4061
  type TransactionControllerListResponse = TransactionListResponseDto;
3346
- type TransactionControllerData = {
4062
+ type TransactionControllerCreateBatchData = {
3347
4063
  /**
3348
4064
  * Region code for tenant context
3349
4065
  */
3350
4066
  region: 'cn' | 'us' | 'de';
4067
+ requestBody: BatchCreateTransactionDto;
3351
4068
  };
3352
- type TransactionControllerResponse = unknown;
4069
+ type TransactionControllerCreateBatchResponse = BatchTransactionResponseDto;
3353
4070
  type TransactionControllerGetDetailData = {
3354
4071
  /**
3355
4072
  * Transaction ID
@@ -3376,35 +4093,17 @@ type TransactionControllerUpdateData = {
3376
4093
  requestBody: UpdateTransactionDto;
3377
4094
  };
3378
4095
  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;
4096
+ type TransactionControllerDeleteData = {
3395
4097
  /**
3396
- * Filter by account type
4098
+ * Transaction ID
3397
4099
  */
3398
- type?: 'Assets' | 'Liabilities' | 'Income' | 'Expenses' | 'Equity';
3399
- };
3400
- type AccountStandardsControllerGetTemplatesResponse = AccountStandardListResponseDto;
3401
- type AccountStandardsControllerGetRegionsData = {
4100
+ id: string;
3402
4101
  /**
3403
- * Region code (cn, us, de)
4102
+ * Region code for tenant context
3404
4103
  */
3405
4104
  region: 'cn' | 'us' | 'de';
3406
4105
  };
3407
- type AccountStandardsControllerGetRegionsResponse = RegionsMetadataResponseDto;
4106
+ type TransactionControllerDeleteResponse = void;
3408
4107
  type BalanceControllerGetBalanceData = {
3409
4108
  /**
3410
4109
  * Account name (e.g., "Assets:Bank:Checking")
@@ -3419,14 +4118,14 @@ type BalanceControllerGetBalanceData = {
3419
4118
  */
3420
4119
  date?: string;
3421
4120
  /**
3422
- * Region code (cn, us, de)
4121
+ * Region code for tenant context
3423
4122
  */
3424
4123
  region: 'cn' | 'us' | 'de';
3425
4124
  };
3426
4125
  type BalanceControllerGetBalanceResponse = BalanceResponseDto;
3427
4126
  type BalanceControllerGetMultiCurrencyBalanceData = {
3428
4127
  /**
3429
- * Region code (cn, us, de)
4128
+ * Region code for tenant context
3430
4129
  */
3431
4130
  region: 'cn' | 'us' | 'de';
3432
4131
  };
@@ -3445,7 +4144,7 @@ type ReviewControllerFindAllData = {
3445
4144
  */
3446
4145
  page?: number;
3447
4146
  /**
3448
- * Region code (cn, us, de)
4147
+ * Region code for tenant context
3449
4148
  */
3450
4149
  region: 'cn' | 'us' | 'de';
3451
4150
  /**
@@ -3460,7 +4159,7 @@ type ReviewControllerFindAllData = {
3460
4159
  type ReviewControllerFindAllResponse = ReviewListResponseDto;
3461
4160
  type ReviewControllerGetStatsData = {
3462
4161
  /**
3463
- * Region code (cn, us, de)
4162
+ * Region code for tenant context
3464
4163
  */
3465
4164
  region: 'cn' | 'us' | 'de';
3466
4165
  };
@@ -3471,39 +4170,49 @@ type ReviewControllerFindOneData = {
3471
4170
  */
3472
4171
  id: string;
3473
4172
  /**
3474
- * Region code (cn, us, de)
4173
+ * Region code for tenant context
3475
4174
  */
3476
4175
  region: 'cn' | 'us' | 'de';
3477
4176
  };
3478
4177
  type ReviewControllerFindOneResponse = ReviewDetailDto;
3479
- type ReviewControllerData = {
4178
+ type ReviewControllerResolveData = {
3480
4179
  /**
3481
- * Region code (cn, us, de)
4180
+ * Review ID
3482
4181
  */
3483
- region: 'cn' | 'us' | 'de';
3484
- };
3485
- type ReviewControllerResponse = unknown;
3486
- type ReviewController1Data = {
4182
+ id: string;
3487
4183
  /**
3488
- * Region code (cn, us, de)
4184
+ * Region code for tenant context
3489
4185
  */
3490
4186
  region: 'cn' | 'us' | 'de';
4187
+ requestBody: ResolveReviewDto;
3491
4188
  };
3492
- type ReviewController1Response = unknown;
3493
- type ReviewController2Data = {
4189
+ type ReviewControllerResolveResponse = ResolveResultDto;
4190
+ type ReviewControllerUndoData = {
3494
4191
  /**
3495
- * Region code (cn, us, de)
4192
+ * Review ID
4193
+ */
4194
+ id: string;
4195
+ /**
4196
+ * Region code for tenant context
3496
4197
  */
3497
4198
  region: 'cn' | 'us' | 'de';
3498
4199
  };
3499
- type ReviewController2Response = unknown;
3500
- type PayeeControllerData = {
4200
+ type ReviewControllerUndoResponse = UndoResultDto;
4201
+ type ReviewControllerBatchResolveData = {
3501
4202
  /**
3502
- * Region code (cn, us, de)
4203
+ * Region code for tenant context
3503
4204
  */
3504
4205
  region: 'cn' | 'us' | 'de';
4206
+ /**
4207
+ * Batch resolution request containing review IDs and action
4208
+ */
4209
+ requestBody: BatchResolveDto;
3505
4210
  };
3506
- type PayeeControllerResponse = unknown;
4211
+ type ReviewControllerBatchResolveResponse = BatchResolveResultDto;
4212
+ type PayeeControllerCreateData = {
4213
+ requestBody: CreatePayeeDto;
4214
+ };
4215
+ type PayeeControllerCreateResponse = PayeeResponseDto;
3507
4216
  type PayeeControllerFindAllData = {
3508
4217
  /**
3509
4218
  * Filter by custom category
@@ -3517,10 +4226,6 @@ type PayeeControllerFindAllData = {
3517
4226
  * Filter by exact payee name match
3518
4227
  */
3519
4228
  payee?: string;
3520
- /**
3521
- * Region code (cn, us, de)
3522
- */
3523
- region: 'cn' | 'us' | 'de';
3524
4229
  /**
3525
4230
  * Search term for payee name (partial match, case-insensitive). Useful for autocomplete.
3526
4231
  */
@@ -3540,10 +4245,6 @@ type PayeeControllerAutocompleteData = {
3540
4245
  * Search query for payee name (partial match, case-insensitive)
3541
4246
  */
3542
4247
  q: string;
3543
- /**
3544
- * Region code (cn, us, de)
3545
- */
3546
- region: 'cn' | 'us' | 'de';
3547
4248
  };
3548
4249
  type PayeeControllerAutocompleteResponse = PayeeAutocompleteResponseDto;
3549
4250
  type PayeeControllerGetTopPayeesData = {
@@ -3551,10 +4252,6 @@ type PayeeControllerGetTopPayeesData = {
3551
4252
  * Maximum number of results
3552
4253
  */
3553
4254
  limit?: number;
3554
- /**
3555
- * Region code (cn, us, de)
3556
- */
3557
- region: 'cn' | 'us' | 'de';
3558
4255
  };
3559
4256
  type PayeeControllerGetTopPayeesResponse = Array<PayeeStatsResponseDto>;
3560
4257
  type PayeeControllerFindOneData = {
@@ -3562,33 +4259,27 @@ type PayeeControllerFindOneData = {
3562
4259
  * Payee UUID
3563
4260
  */
3564
4261
  id: string;
3565
- /**
3566
- * Region code (cn, us, de)
3567
- */
3568
- region: 'cn' | 'us' | 'de';
3569
4262
  };
3570
4263
  type PayeeControllerFindOneResponse = PayeeResponseDto;
3571
- type PayeeController1Data = {
4264
+ type PayeeControllerUpdateData = {
3572
4265
  /**
3573
- * Region code (cn, us, de)
4266
+ * Payee UUID
3574
4267
  */
3575
- region: 'cn' | 'us' | 'de';
4268
+ id: string;
4269
+ requestBody: UpdatePayeeDto;
3576
4270
  };
3577
- type PayeeController1Response = unknown;
3578
- type PayeeController2Data = {
4271
+ type PayeeControllerUpdateResponse = PayeeResponseDto;
4272
+ type PayeeControllerDeleteData = {
3579
4273
  /**
3580
- * Region code (cn, us, de)
4274
+ * Payee UUID
3581
4275
  */
3582
- region: 'cn' | 'us' | 'de';
4276
+ id: string;
3583
4277
  };
3584
- type PayeeController2Response = void;
3585
- type PayeeProfileAdminControllerData = {
3586
- /**
3587
- * Region code (cn, us, de)
3588
- */
3589
- region: 'cn' | 'us' | 'de';
4278
+ type PayeeControllerDeleteResponse = void;
4279
+ type PayeeProfileAdminControllerCreateData = {
4280
+ requestBody: CreatePayeeProfileDto;
3590
4281
  };
3591
- type PayeeProfileAdminControllerResponse = unknown;
4282
+ type PayeeProfileAdminControllerCreateResponse = PayeeProfileResponseDto;
3592
4283
  type PayeeProfileAdminControllerFindAllData = {
3593
4284
  /**
3594
4285
  * Filter by category
@@ -3606,10 +4297,6 @@ type PayeeProfileAdminControllerFindAllData = {
3606
4297
  * Filter by active status (default: true - show only active)
3607
4298
  */
3608
4299
  isActive?: boolean;
3609
- /**
3610
- * Region code (cn, us, de)
3611
- */
3612
- region: 'cn' | 'us' | 'de';
3613
4300
  /**
3614
4301
  * Search term for canonical name and aliases (case-insensitive)
3615
4302
  */
@@ -3625,50 +4312,48 @@ type PayeeProfileAdminControllerFindOneData = {
3625
4312
  * Payee profile ID (UUID)
3626
4313
  */
3627
4314
  id: string;
3628
- /**
3629
- * Region code (cn, us, de)
3630
- */
3631
- region: 'cn' | 'us' | 'de';
3632
4315
  };
3633
4316
  type PayeeProfileAdminControllerFindOneResponse = PayeeProfileResponseDto;
3634
- type PayeeProfileAdminController1Data = {
4317
+ type PayeeProfileAdminControllerUpdateData = {
3635
4318
  /**
3636
- * Region code (cn, us, de)
4319
+ * Payee profile ID (UUID)
3637
4320
  */
3638
- region: 'cn' | 'us' | 'de';
4321
+ id: string;
4322
+ requestBody: UpdatePayeeProfileDto;
3639
4323
  };
3640
- type PayeeProfileAdminController1Response = unknown;
3641
- type PayeeProfileAdminController2Data = {
4324
+ type PayeeProfileAdminControllerUpdateResponse = PayeeProfileResponseDto;
4325
+ type PayeeProfileAdminControllerDeleteData = {
3642
4326
  /**
3643
- * Region code (cn, us, de)
4327
+ * Payee profile ID (UUID)
3644
4328
  */
3645
- region: 'cn' | 'us' | 'de';
4329
+ id: string;
3646
4330
  };
3647
- type PayeeProfileAdminController2Response = void;
3648
- type PayeeProfileAdminController3Data = {
4331
+ type PayeeProfileAdminControllerDeleteResponse = void;
4332
+ type PayeeProfileAdminControllerVerifyData = {
3649
4333
  /**
3650
- * Region code (cn, us, de)
4334
+ * Payee profile ID (UUID)
3651
4335
  */
3652
- region: 'cn' | 'us' | 'de';
4336
+ id: string;
3653
4337
  };
3654
- type PayeeProfileAdminController3Response = unknown;
3655
- type PayeeProfileAdminController4Data = {
4338
+ type PayeeProfileAdminControllerVerifyResponse = PayeeProfileResponseDto;
4339
+ type PayeeProfileAdminControllerUnverifyData = {
3656
4340
  /**
3657
- * Region code (cn, us, de)
4341
+ * Payee profile ID (UUID)
3658
4342
  */
3659
- region: 'cn' | 'us' | 'de';
4343
+ id: string;
3660
4344
  };
3661
- type PayeeProfileAdminController4Response = unknown;
3662
- type CommodityControllerData = {
4345
+ type PayeeProfileAdminControllerUnverifyResponse = PayeeProfileResponseDto;
4346
+ type CommodityControllerCreateData = {
3663
4347
  /**
3664
- * Region code (cn, us, de)
4348
+ * Region code for tenant context
3665
4349
  */
3666
4350
  region: 'cn' | 'us' | 'de';
4351
+ requestBody: CreateCommodityDto;
3667
4352
  };
3668
- type CommodityControllerResponse = unknown;
4353
+ type CommodityControllerCreateResponse = CommodityResponseDto;
3669
4354
  type CommodityControllerFindAllData = {
3670
4355
  /**
3671
- * Region code (cn, us, de)
4356
+ * Region code for tenant context
3672
4357
  */
3673
4358
  region: 'cn' | 'us' | 'de';
3674
4359
  /**
@@ -3683,7 +4368,7 @@ type CommodityControllerFindAllData = {
3683
4368
  type CommodityControllerFindAllResponse = CommodityListResponseDto;
3684
4369
  type CommodityControllerFindOneData = {
3685
4370
  /**
3686
- * Region code (cn, us, de)
4371
+ * Region code for tenant context
3687
4372
  */
3688
4373
  region: 'cn' | 'us' | 'de';
3689
4374
  /**
@@ -3692,41 +4377,55 @@ type CommodityControllerFindOneData = {
3692
4377
  symbol: string;
3693
4378
  };
3694
4379
  type CommodityControllerFindOneResponse = CommodityResponseDto;
3695
- type CommodityController1Data = {
4380
+ type CommodityControllerUpdateData = {
3696
4381
  /**
3697
- * Region code (cn, us, de)
4382
+ * Region code for tenant context
3698
4383
  */
3699
4384
  region: 'cn' | 'us' | 'de';
4385
+ requestBody: UpdateCommodityDto;
4386
+ /**
4387
+ * Commodity symbol
4388
+ */
4389
+ symbol: string;
3700
4390
  };
3701
- type CommodityController1Response = unknown;
3702
- type CommodityController2Data = {
4391
+ type CommodityControllerUpdateResponse = CommodityResponseDto;
4392
+ type CommodityControllerDeleteData = {
3703
4393
  /**
3704
- * Region code (cn, us, de)
4394
+ * Region code for tenant context
3705
4395
  */
3706
4396
  region: 'cn' | 'us' | 'de';
4397
+ /**
4398
+ * Commodity symbol
4399
+ */
4400
+ symbol: string;
3707
4401
  };
3708
- type CommodityController2Response = void;
3709
- type CommodityController3Data = {
4402
+ type CommodityControllerDeleteResponse = void;
4403
+ type CommodityControllerGetOrCreateData = {
3710
4404
  /**
3711
- * Region code (cn, us, de)
4405
+ * Region code for tenant context
3712
4406
  */
3713
4407
  region: 'cn' | 'us' | 'de';
4408
+ /**
4409
+ * Commodity symbol
4410
+ */
4411
+ symbol: string;
3714
4412
  };
3715
- type CommodityController3Response = unknown;
3716
- type CommodityController4Data = {
4413
+ type CommodityControllerGetOrCreateResponse = CommodityResponseDto;
4414
+ type CommodityControllerBulkCreateData = {
3717
4415
  /**
3718
- * Region code (cn, us, de)
4416
+ * Region code for tenant context
3719
4417
  */
3720
4418
  region: 'cn' | 'us' | 'de';
3721
4419
  };
3722
- type CommodityController4Response = unknown;
3723
- type RecurringRuleControllerData = {
4420
+ type CommodityControllerBulkCreateResponse = Array<CommodityResponseDto>;
4421
+ type RecurringRuleControllerCreateData = {
3724
4422
  /**
3725
- * Region code (cn, us, de)
4423
+ * Region code for tenant context
3726
4424
  */
3727
4425
  region: 'cn' | 'us' | 'de';
4426
+ requestBody: CreateRecurringRuleDto;
3728
4427
  };
3729
- type RecurringRuleControllerResponse = unknown;
4428
+ type RecurringRuleControllerCreateResponse = RecurringRuleResponseDto;
3730
4429
  type RecurringRuleControllerFindAllData = {
3731
4430
  /**
3732
4431
  * Filter by frequency (WEEKLY, MONTHLY, etc.)
@@ -3741,50 +4440,64 @@ type RecurringRuleControllerFindAllData = {
3741
4440
  */
3742
4441
  isActive?: boolean;
3743
4442
  /**
3744
- * Region code (cn, us, de)
4443
+ * Region code for tenant context
3745
4444
  */
3746
4445
  region: 'cn' | 'us' | 'de';
3747
4446
  };
3748
4447
  type RecurringRuleControllerFindAllResponse = Array<RecurringRuleResponseDto>;
3749
- type RecurringRuleController1Data = {
4448
+ type RecurringRuleControllerCreateFromTransactionData = {
3750
4449
  /**
3751
- * Region code (cn, us, de)
4450
+ * Region code for tenant context
3752
4451
  */
3753
4452
  region: 'cn' | 'us' | 'de';
4453
+ requestBody: CreateRuleFromTransactionDto;
4454
+ /**
4455
+ * Source transaction ID
4456
+ */
4457
+ transactionId: string;
3754
4458
  };
3755
- type RecurringRuleController1Response = unknown;
4459
+ type RecurringRuleControllerCreateFromTransactionResponse = RecurringRuleResponseDto;
3756
4460
  type RecurringRuleControllerFindOneData = {
3757
4461
  /**
3758
4462
  * Rule ID
3759
4463
  */
3760
4464
  id: string;
3761
4465
  /**
3762
- * Region code (cn, us, de)
4466
+ * Region code for tenant context
3763
4467
  */
3764
4468
  region: 'cn' | 'us' | 'de';
3765
4469
  };
3766
4470
  type RecurringRuleControllerFindOneResponse = RecurringRuleResponseDto;
3767
- type RecurringRuleController2Data = {
4471
+ type RecurringRuleControllerUpdateData = {
3768
4472
  /**
3769
- * Region code (cn, us, de)
4473
+ * Rule ID
4474
+ */
4475
+ id: string;
4476
+ /**
4477
+ * Region code for tenant context
3770
4478
  */
3771
4479
  region: 'cn' | 'us' | 'de';
4480
+ requestBody: UpdateRecurringRuleDto;
3772
4481
  };
3773
- type RecurringRuleController2Response = unknown;
3774
- type RecurringRuleController3Data = {
4482
+ type RecurringRuleControllerUpdateResponse = RecurringRuleResponseDto;
4483
+ type RecurringRuleControllerDeleteData = {
3775
4484
  /**
3776
- * Region code (cn, us, de)
4485
+ * Rule ID
4486
+ */
4487
+ id: string;
4488
+ /**
4489
+ * Region code for tenant context
3777
4490
  */
3778
4491
  region: 'cn' | 'us' | 'de';
3779
4492
  };
3780
- type RecurringRuleController3Response = void;
4493
+ type RecurringRuleControllerDeleteResponse = void;
3781
4494
  type RecurringRuleControllerGetWithStatsData = {
3782
4495
  /**
3783
4496
  * Rule ID
3784
4497
  */
3785
4498
  id: string;
3786
4499
  /**
3787
- * Region code (cn, us, de)
4500
+ * Region code for tenant context
3788
4501
  */
3789
4502
  region: 'cn' | 'us' | 'de';
3790
4503
  };
@@ -3795,7 +4508,7 @@ type ExpectedTransactionControllerFindAllData = {
3795
4508
  */
3796
4509
  fromDate?: string;
3797
4510
  /**
3798
- * Region code (cn, us, de)
4511
+ * Region code for tenant context
3799
4512
  */
3800
4513
  region: 'cn' | 'us' | 'de';
3801
4514
  /**
@@ -3814,7 +4527,7 @@ type ExpectedTransactionControllerFindAllData = {
3814
4527
  type ExpectedTransactionControllerFindAllResponse = ExpectedTransactionListResponseDto;
3815
4528
  type ExpectedTransactionControllerFindOverdueData = {
3816
4529
  /**
3817
- * Region code (cn, us, de)
4530
+ * Region code for tenant context
3818
4531
  */
3819
4532
  region: 'cn' | 'us' | 'de';
3820
4533
  };
@@ -3825,64 +4538,87 @@ type ExpectedTransactionControllerFindOneData = {
3825
4538
  */
3826
4539
  id: string;
3827
4540
  /**
3828
- * Region code (cn, us, de)
4541
+ * Region code for tenant context
3829
4542
  */
3830
4543
  region: 'cn' | 'us' | 'de';
3831
4544
  };
3832
4545
  type ExpectedTransactionControllerFindOneResponse = ExpectedTransactionResponseDto;
3833
- type ExpectedTransactionControllerData = {
4546
+ type ExpectedTransactionControllerSkipData = {
3834
4547
  /**
3835
- * Region code (cn, us, de)
4548
+ * Expected transaction ID
4549
+ */
4550
+ id: string;
4551
+ /**
4552
+ * Region code for tenant context
3836
4553
  */
3837
4554
  region: 'cn' | 'us' | 'de';
3838
4555
  };
3839
- type ExpectedTransactionControllerResponse = unknown;
3840
- type ExpectedTransactionController1Data = {
4556
+ type ExpectedTransactionControllerSkipResponse = ExpectedTransactionResponseDto;
4557
+ type ExpectedTransactionControllerUndoSkipData = {
3841
4558
  /**
3842
- * Region code (cn, us, de)
4559
+ * Expected transaction ID
4560
+ */
4561
+ id: string;
4562
+ /**
4563
+ * Region code for tenant context
3843
4564
  */
3844
4565
  region: 'cn' | 'us' | 'de';
3845
4566
  };
3846
- type ExpectedTransactionController1Response = unknown;
3847
- type ExpectedTransactionController2Data = {
4567
+ type ExpectedTransactionControllerUndoSkipResponse = ExpectedTransactionResponseDto;
4568
+ type ExpectedTransactionControllerConfirmMatchData = {
3848
4569
  /**
3849
- * Region code (cn, us, de)
4570
+ * Expected transaction ID
4571
+ */
4572
+ id: string;
4573
+ /**
4574
+ * Region code for tenant context
3850
4575
  */
3851
4576
  region: 'cn' | 'us' | 'de';
4577
+ requestBody: ConfirmMatchDto;
3852
4578
  };
3853
- type ExpectedTransactionController2Response = unknown;
3854
- type ExpectedTransactionController3Data = {
4579
+ type ExpectedTransactionControllerConfirmMatchResponse = unknown;
4580
+ type ExpectedTransactionControllerUnmatchData = {
3855
4581
  /**
3856
- * Region code (cn, us, de)
4582
+ * Expected transaction ID
4583
+ */
4584
+ id: string;
4585
+ /**
4586
+ * Region code for tenant context
3857
4587
  */
3858
4588
  region: 'cn' | 'us' | 'de';
3859
4589
  };
3860
- type ExpectedTransactionController3Response = unknown;
3861
- type ExpectedTransactionController4Data = {
4590
+ type ExpectedTransactionControllerUnmatchResponse = unknown;
4591
+ type ExpectedTransactionControllerEnterNowData = {
3862
4592
  /**
3863
- * Region code (cn, us, de)
4593
+ * Expected transaction ID
4594
+ */
4595
+ id: string;
4596
+ /**
4597
+ * Region code for tenant context
3864
4598
  */
3865
4599
  region: 'cn' | 'us' | 'de';
4600
+ requestBody: EnterNowDto;
3866
4601
  };
3867
- type ExpectedTransactionController4Response = unknown;
4602
+ type ExpectedTransactionControllerEnterNowResponse = unknown;
3868
4603
  type ForecastControllerGetForecastData = {
3869
4604
  /**
3870
4605
  * Number of months to forecast (1-12, default 3)
3871
4606
  */
3872
4607
  months?: number;
3873
4608
  /**
3874
- * Region code (cn, us, de)
4609
+ * Region code for tenant context
3875
4610
  */
3876
4611
  region: 'cn' | 'us' | 'de';
3877
4612
  };
3878
4613
  type ForecastControllerGetForecastResponse = ForecastResponseDto;
3879
- type TransactionRuleControllerData = {
4614
+ type TransactionRuleControllerCreateData = {
3880
4615
  /**
3881
- * Region code (cn, us, de)
4616
+ * Region code for tenant context
3882
4617
  */
3883
4618
  region: 'cn' | 'us' | 'de';
4619
+ requestBody: CreateTransactionRuleDto;
3884
4620
  };
3885
- type TransactionRuleControllerResponse = unknown;
4621
+ type TransactionRuleControllerCreateResponse = TransactionRuleResponseDto;
3886
4622
  type TransactionRuleControllerListData = {
3887
4623
  /**
3888
4624
  * Filter by auto-apply status
@@ -3905,33 +4641,34 @@ type TransactionRuleControllerListData = {
3905
4641
  */
3906
4642
  offset?: number;
3907
4643
  /**
3908
- * Region code (cn, us, de)
4644
+ * Region code for tenant context
3909
4645
  */
3910
4646
  region: 'cn' | 'us' | 'de';
3911
4647
  };
3912
4648
  type TransactionRuleControllerListResponse = TransactionRuleListResponseDto;
3913
4649
  type TransactionRuleControllerValidateData = {
3914
4650
  /**
3915
- * Region code (cn, us, de)
4651
+ * Region code for tenant context
3916
4652
  */
3917
4653
  region: 'cn' | 'us' | 'de';
3918
4654
  requestBody: ValidateRuleDto;
3919
4655
  };
3920
4656
  type TransactionRuleControllerValidateResponse = ValidateRuleResponseDto;
3921
- type TransactionRuleController1Data = {
4657
+ type TransactionRuleControllerBulkCreateData = {
3922
4658
  /**
3923
- * Region code (cn, us, de)
4659
+ * Region code for tenant context
3924
4660
  */
3925
4661
  region: 'cn' | 'us' | 'de';
4662
+ requestBody: BulkCreateRulesDto;
3926
4663
  };
3927
- type TransactionRuleController1Response = unknown;
4664
+ type TransactionRuleControllerBulkCreateResponse = BulkCreateRulesResponseDto;
3928
4665
  type TransactionRuleControllerExportData = {
3929
4666
  /**
3930
4667
  * Export format (currently only JSON supported)
3931
4668
  */
3932
4669
  format: 'json';
3933
4670
  /**
3934
- * Region code (cn, us, de)
4671
+ * Region code for tenant context
3935
4672
  */
3936
4673
  region: 'cn' | 'us' | 'de';
3937
4674
  };
@@ -3942,14 +4679,14 @@ type TransactionRuleControllerGetStatisticsData = {
3942
4679
  */
3943
4680
  period: '7d' | '30d' | '90d';
3944
4681
  /**
3945
- * Region code (cn, us, de)
4682
+ * Region code for tenant context
3946
4683
  */
3947
4684
  region: 'cn' | 'us' | 'de';
3948
4685
  };
3949
4686
  type TransactionRuleControllerGetStatisticsResponse = RuleStatisticsResponseDto;
3950
4687
  type TransactionRuleControllerGetDetailData = {
3951
4688
  /**
3952
- * Region code (cn, us, de)
4689
+ * Region code for tenant context
3953
4690
  */
3954
4691
  region: 'cn' | 'us' | 'de';
3955
4692
  /**
@@ -3958,23 +4695,32 @@ type TransactionRuleControllerGetDetailData = {
3958
4695
  ruleId: string;
3959
4696
  };
3960
4697
  type TransactionRuleControllerGetDetailResponse = TransactionRuleResponseDto;
3961
- type TransactionRuleController2Data = {
4698
+ type TransactionRuleControllerUpdateData = {
3962
4699
  /**
3963
- * Region code (cn, us, de)
4700
+ * Region code for tenant context
3964
4701
  */
3965
4702
  region: 'cn' | 'us' | 'de';
4703
+ requestBody: UpdateTransactionRuleDto;
4704
+ /**
4705
+ * Rule ID to update
4706
+ */
4707
+ ruleId: string;
3966
4708
  };
3967
- type TransactionRuleController2Response = unknown;
3968
- type TransactionRuleController3Data = {
4709
+ type TransactionRuleControllerUpdateResponse = TransactionRuleResponseDto;
4710
+ type TransactionRuleControllerDeleteData = {
3969
4711
  /**
3970
- * Region code (cn, us, de)
4712
+ * Region code for tenant context
3971
4713
  */
3972
4714
  region: 'cn' | 'us' | 'de';
4715
+ /**
4716
+ * Rule ID to delete
4717
+ */
4718
+ ruleId: string;
3973
4719
  };
3974
- type TransactionRuleController3Response = void;
4720
+ type TransactionRuleControllerDeleteResponse = void;
3975
4721
  type TransactionRuleControllerTestData = {
3976
4722
  /**
3977
- * Region code (cn, us, de)
4723
+ * Region code for tenant context
3978
4724
  */
3979
4725
  region: 'cn' | 'us' | 'de';
3980
4726
  requestBody: TestRuleDto;
@@ -3985,26 +4731,14 @@ type TransactionRuleControllerTestData = {
3985
4731
  };
3986
4732
  type TransactionRuleControllerTestResponse = TestRuleResponseDto;
3987
4733
  type UserControllerDeleteOwnUserData = {
3988
- /**
3989
- * Region code (cn, us, de)
3990
- */
3991
- region: 'cn' | 'us' | 'de';
3992
4734
  requestBody: DeleteOwnUserDto;
3993
4735
  };
3994
4736
  type UserControllerDeleteOwnUserResponse = void;
3995
4737
  type UserControllerGetUserData = {
3996
4738
  acceptLanguage: string;
3997
- /**
3998
- * Region code (cn, us, de)
3999
- */
4000
- region: 'cn' | 'us' | 'de';
4001
4739
  };
4002
4740
  type UserControllerGetUserResponse = unknown;
4003
4741
  type UserControllerSignupUserData = {
4004
- /**
4005
- * Region code (cn, us, de)
4006
- */
4007
- region: 'cn' | 'us' | 'de';
4008
4742
  requestBody: SignupDto;
4009
4743
  };
4010
4744
  type UserControllerSignupUserResponse = unknown;
@@ -4013,10 +4747,6 @@ type UserControllerDeleteUserData = {
4013
4747
  * User ID to delete
4014
4748
  */
4015
4749
  id: string;
4016
- /**
4017
- * Region code (cn, us, de)
4018
- */
4019
- region: 'cn' | 'us' | 'de';
4020
4750
  };
4021
4751
  type UserControllerDeleteUserResponse = void;
4022
4752
  type UserControllerGetUserInfoData = {
@@ -4024,17 +4754,9 @@ type UserControllerGetUserInfoData = {
4024
4754
  * User ID
4025
4755
  */
4026
4756
  id: string;
4027
- /**
4028
- * Region code (cn, us, de)
4029
- */
4030
- region: 'cn' | 'us' | 'de';
4031
4757
  };
4032
4758
  type UserControllerGetUserInfoResponse = unknown;
4033
4759
  type UserControllerUpdateUserSettingData = {
4034
- /**
4035
- * Region code (cn, us, de)
4036
- */
4037
- region: 'cn' | 'us' | 'de';
4038
4760
  requestBody: UpdateUserSettingDto;
4039
4761
  };
4040
4762
  type UserControllerUpdateUserSettingResponse = unknown;
@@ -4047,58 +4769,40 @@ type UserControllerGetAllUserSettingsByPageData = {
4047
4769
  * Page size
4048
4770
  */
4049
4771
  pageSize: number;
4050
- /**
4051
- * Region code (cn, us, de)
4052
- */
4053
- region: 'cn' | 'us' | 'de';
4054
4772
  };
4055
4773
  type UserControllerGetAllUserSettingsByPageResponse = unknown;
4056
- type UserControllerGetAssetLiabilitySummaryData = {
4057
- /**
4058
- * Region code (cn, us, de)
4059
- */
4060
- region: 'cn' | 'us' | 'de';
4061
- };
4062
4774
  type UserControllerGetAssetLiabilitySummaryResponse = unknown;
4063
- type PropertyControllerGetAllData = {
4064
- /**
4065
- * Region code (cn, us, de)
4066
- */
4067
- region: 'cn' | 'us' | 'de';
4068
- };
4069
4775
  type PropertyControllerGetAllResponse = unknown;
4070
4776
  type PropertyControllerGetByKeyData = {
4071
4777
  /**
4072
4778
  * Property key
4073
4779
  */
4074
4780
  key: string;
4075
- /**
4076
- * Region code (cn, us, de)
4077
- */
4078
- region: 'cn' | 'us' | 'de';
4079
4781
  };
4080
4782
  type PropertyControllerGetByKeyResponse = unknown;
4081
- type PropertyControllerData = {
4783
+ type PropertyControllerUpdateData = {
4082
4784
  /**
4083
- * Region code (cn, us, de)
4785
+ * Property key
4084
4786
  */
4085
- region: 'cn' | 'us' | 'de';
4787
+ key: string;
4788
+ requestBody: UpdatePropertyDto;
4086
4789
  };
4087
- type PropertyControllerResponse = unknown;
4088
- type PropertyController1Data = {
4790
+ type PropertyControllerUpdateResponse = unknown;
4791
+ type PropertyControllerDeleteData = {
4089
4792
  /**
4090
- * Region code (cn, us, de)
4793
+ * Property key
4091
4794
  */
4092
- region: 'cn' | 'us' | 'de';
4795
+ key: string;
4093
4796
  };
4094
- type PropertyController1Response = void;
4797
+ type PropertyControllerDeleteResponse = void;
4798
+ type ExportControllerExportBeancountResponse = unknown;
4095
4799
  type FileImportControllerImportFileData = {
4096
4800
  /**
4097
4801
  * Bill file to import
4098
4802
  */
4099
4803
  formData: FileImportDto;
4100
4804
  /**
4101
- * Region code (cn, us, de)
4805
+ * Region code for tenant context
4102
4806
  */
4103
4807
  region: 'cn' | 'us' | 'de';
4104
4808
  };
@@ -4109,36 +4813,99 @@ type FileImportControllerIdentifyFileData = {
4109
4813
  */
4110
4814
  formData: FileImportDto;
4111
4815
  /**
4112
- * Region code (cn, us, de)
4816
+ * Region code for tenant context
4113
4817
  */
4114
4818
  region: 'cn' | 'us' | 'de';
4115
4819
  };
4116
4820
  type FileImportControllerIdentifyFileResponse = IdentifyResultDto;
4821
+ type FileImportControllerImportBeancountData = {
4822
+ /**
4823
+ * Beancount file to import
4824
+ */
4825
+ formData: FileImportDto;
4826
+ /**
4827
+ * Region code for tenant context
4828
+ */
4829
+ region: 'cn' | 'us' | 'de';
4830
+ };
4831
+ type FileImportControllerImportBeancountResponse = {
4832
+ imported?: number;
4833
+ skipped?: number;
4834
+ failed?: number;
4835
+ accountsCreated?: number;
4836
+ errors?: Array<{
4837
+ [key: string]: unknown;
4838
+ }>;
4839
+ };
4117
4840
  type ImporterConfigControllerGetConfigData = {
4118
4841
  /**
4119
- * Importer identifier. Supported importers: alipay, alipay-web, wechat, boc, boc-credit, ccb, cmb, cmbc, cmbc-credit, icbc, icbc-credit, hsbc-hk
4842
+ * 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
4843
  */
4121
4844
  importerId: string;
4122
4845
  /**
4123
- * Region code (cn, us, de)
4846
+ * Region code for tenant context
4124
4847
  */
4125
4848
  region: 'cn' | 'us' | 'de';
4126
4849
  };
4127
4850
  type ImporterConfigControllerGetConfigResponse = ImporterConfigDto;
4128
- type ImporterConfigControllerData = {
4851
+ type ImporterConfigControllerUpdateConfigData = {
4129
4852
  /**
4130
- * Region code (cn, us, de)
4853
+ * 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
4854
+ */
4855
+ importerId: string;
4856
+ /**
4857
+ * Region code for tenant context
4131
4858
  */
4132
4859
  region: 'cn' | 'us' | 'de';
4860
+ /**
4861
+ * Partial configuration update. Only provided fields will be updated.
4862
+ */
4863
+ requestBody: UpdateImporterConfigDto;
4133
4864
  };
4134
- type ImporterConfigControllerResponse = unknown;
4135
- type ImporterConfigController1Data = {
4865
+ type ImporterConfigControllerUpdateConfigResponse = ImporterConfigDto;
4866
+ type ImporterConfigControllerResetConfigData = {
4136
4867
  /**
4137
- * Region code (cn, us, de)
4868
+ * 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
4869
+ */
4870
+ importerId: string;
4871
+ /**
4872
+ * Region code for tenant context
4138
4873
  */
4139
4874
  region: 'cn' | 'us' | 'de';
4140
4875
  };
4141
- type ImporterConfigController1Response = unknown;
4876
+ type ImporterConfigControllerResetConfigResponse = ImporterConfigDto;
4877
+ type PlatformControllerFindAllResponse = unknown;
4878
+ type PlatformControllerCreateData = {
4879
+ requestBody: CreatePlatformDto;
4880
+ };
4881
+ type PlatformControllerCreateResponse = unknown;
4882
+ type PlatformControllerGetPlatformListResponse = unknown;
4883
+ type PlatformControllerMatchPlatformsData = {
4884
+ /**
4885
+ * Search query — Chinese name, English name, or abbreviation
4886
+ */
4887
+ q: string;
4888
+ /**
4889
+ * Region code for category override lookup
4890
+ */
4891
+ region?: string;
4892
+ };
4893
+ type PlatformControllerMatchPlatformsResponse = unknown;
4894
+ type PlatformControllerUpdateData = {
4895
+ /**
4896
+ * Platform ID
4897
+ */
4898
+ id: string;
4899
+ requestBody: UpdatePlatformDto;
4900
+ };
4901
+ type PlatformControllerUpdateResponse = unknown;
4902
+ type PlatformControllerDeleteData = {
4903
+ /**
4904
+ * Platform ID
4905
+ */
4906
+ id: string;
4907
+ };
4908
+ type PlatformControllerDeleteResponse = void;
4142
4909
  type ProviderSyncControllerSyncData = {
4143
4910
  /**
4144
4911
  * Provider name
@@ -4153,7 +4920,7 @@ type ProviderSyncControllerSyncData = {
4153
4920
  type ProviderSyncControllerSyncResponse = ProviderSyncResponseDto;
4154
4921
  type ProviderSyncControllerGetSupportedProvidersData = {
4155
4922
  /**
4156
- * Region code (cn, us, de)
4923
+ * Region code for tenant context
4157
4924
  */
4158
4925
  region: 'cn' | 'us' | 'de';
4159
4926
  };
@@ -4164,14 +4931,14 @@ type ProviderSyncControllerIsProviderSupportedData = {
4164
4931
  */
4165
4932
  providerName: string;
4166
4933
  /**
4167
- * Region code (cn, us, de)
4934
+ * Region code for tenant context
4168
4935
  */
4169
4936
  region: 'cn' | 'us' | 'de';
4170
4937
  };
4171
4938
  type ProviderSyncControllerIsProviderSupportedResponse = unknown;
4172
4939
  type TelemetryControllerReportTelemetryData = {
4173
4940
  /**
4174
- * Region code (cn, us, de)
4941
+ * Region code for tenant context
4175
4942
  */
4176
4943
  region: 'cn' | 'us' | 'de';
4177
4944
  requestBody: ParserTelemetryReportDto;
@@ -4179,7 +4946,7 @@ type TelemetryControllerReportTelemetryData = {
4179
4946
  type TelemetryControllerReportTelemetryResponse = unknown;
4180
4947
  type NlpControllerProcessNaturalLanguageData = {
4181
4948
  /**
4182
- * Region code (cn, us, de)
4949
+ * Region code for tenant context
4183
4950
  */
4184
4951
  region: 'cn' | 'us' | 'de';
4185
4952
  /**
@@ -4190,7 +4957,7 @@ type NlpControllerProcessNaturalLanguageData = {
4190
4957
  type NlpControllerProcessNaturalLanguageResponse = NlpResponseDto;
4191
4958
  type NlpControllerClearSessionData = {
4192
4959
  /**
4193
- * Region code (cn, us, de)
4960
+ * Region code for tenant context
4194
4961
  */
4195
4962
  region: 'cn' | 'us' | 'de';
4196
4963
  /**
@@ -4201,7 +4968,7 @@ type NlpControllerClearSessionData = {
4201
4968
  type NlpControllerClearSessionResponse = void;
4202
4969
  type NlpControllerGetSessionData = {
4203
4970
  /**
4204
- * Region code (cn, us, de)
4971
+ * Region code for tenant context
4205
4972
  */
4206
4973
  region: 'cn' | 'us' | 'de';
4207
4974
  /**
@@ -4210,127 +4977,13 @@ type NlpControllerGetSessionData = {
4210
4977
  sessionId?: string;
4211
4978
  };
4212
4979
  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
4980
  type DashboardControllerGetNetWorthData = {
4328
4981
  /**
4329
4982
  * Date for balance calculation (ISO 8601 format)
4330
4983
  */
4331
4984
  date?: string;
4332
4985
  /**
4333
- * Region code (cn, us, de)
4986
+ * Region code for tenant context
4334
4987
  */
4335
4988
  region: 'cn' | 'us' | 'de';
4336
4989
  };
@@ -4345,7 +4998,7 @@ type DashboardControllerGetAccountsData = {
4345
4998
  */
4346
4999
  groupBy?: 'platform' | 'assetClass';
4347
5000
  /**
4348
- * Region code (cn, us, de)
5001
+ * Region code for tenant context
4349
5002
  */
4350
5003
  region: 'cn' | 'us' | 'de';
4351
5004
  };
@@ -4356,205 +5009,76 @@ type DashboardControllerGetCashFlowData = {
4356
5009
  */
4357
5010
  period: string;
4358
5011
  /**
4359
- * Region code (cn, us, de)
4360
- */
4361
- region: 'cn' | 'us' | 'de';
4362
- };
4363
- type DashboardControllerGetCashFlowResponse = CashFlowResponseDto;
4364
- type ReportingControllerGetPortfolioTrendsData = {
4365
- /**
4366
- * Data granularity
4367
- */
4368
- granularity?: 'day' | 'week' | 'month';
4369
- /**
4370
- * Time period
4371
- */
4372
- period?: '1m' | '3m' | '6m' | '1y';
4373
- /**
4374
- * Region code (cn, us, de)
4375
- */
4376
- region: 'cn' | 'us' | 'de';
4377
- };
4378
- type ReportingControllerGetPortfolioTrendsResponse = PortfolioTrendsResponseDto;
4379
- type ReportingControllerGenerateSnapshotData = {
4380
- /**
4381
- * Region code (cn, us, de)
4382
- */
4383
- region: 'cn' | 'us' | 'de';
4384
- /**
4385
- * Optional date (defaults to today)
4386
- */
4387
- requestBody: GenerateSnapshotBody;
4388
- };
4389
- type ReportingControllerGenerateSnapshotResponse = GenerateSnapshotResponse;
4390
- type ReportingControllerBackfillSnapshotsData = {
4391
- /**
4392
- * Region code (cn, us, de)
4393
- */
4394
- region: 'cn' | 'us' | 'de';
4395
- requestBody: BackfillSnapshotsBody;
4396
- };
4397
- type ReportingControllerBackfillSnapshotsResponse = BackfillSnapshotsResponse;
4398
- type ApiKeysControllerData = {
4399
- /**
4400
- * Region code (cn, us, de)
4401
- */
4402
- region: 'cn' | 'us' | 'de';
4403
- };
4404
- type ApiKeysControllerResponse = unknown;
4405
- type AuthControllerAccessTokenLoginData = {
4406
- /**
4407
- * Region code (cn, us, de)
4408
- */
4409
- region: 'cn' | 'us' | 'de';
4410
- requestBody: AnonymousLoginDto;
4411
- };
4412
- type AuthControllerAccessTokenLoginResponse = unknown;
4413
- type ExchangeRateControllerGetExchangeRateData = {
4414
- /**
4415
- * Date in ISO format (YYYY-MM-DD)
4416
- */
4417
- dateString: string;
4418
- /**
4419
- * Region code (cn, us, de)
4420
- */
4421
- region: 'cn' | 'us' | 'de';
4422
- /**
4423
- * Currency pair symbol (e.g., USDCNY, EURUSD)
4424
- */
4425
- symbol: string;
4426
- };
4427
- type ExchangeRateControllerGetExchangeRateResponse = unknown;
4428
- type HealthControllerGetHealthData = {
4429
- /**
4430
- * Region code (cn, us, de)
4431
- */
4432
- region: 'cn' | 'us' | 'de';
4433
- };
4434
- type HealthControllerGetHealthResponse = unknown;
4435
- type HealthControllerCheckDatabaseData = {
4436
- /**
4437
- * Region code (cn, us, de)
4438
- */
4439
- region: 'cn' | 'us' | 'de';
4440
- };
4441
- type HealthControllerCheckDatabaseResponse = unknown;
4442
- type HealthControllerCheckRedisData = {
4443
- /**
4444
- * Region code (cn, us, de)
4445
- */
4446
- region: 'cn' | 'us' | 'de';
4447
- };
4448
- type HealthControllerCheckRedisResponse = unknown;
4449
- type HealthControllerGetCircuitBreakersHealthData = {
4450
- /**
4451
- * Region code (cn, us, de)
4452
- */
4453
- region: 'cn' | 'us' | 'de';
4454
- };
4455
- type HealthControllerGetCircuitBreakersHealthResponse = unknown;
4456
- type HealthControllerResetCircuitBreakerData = {
4457
- /**
4458
- * Circuit breaker name to reset
4459
- */
4460
- name: string;
4461
- /**
4462
- * Region code (cn, us, de)
4463
- */
4464
- region: 'cn' | 'us' | 'de';
4465
- };
4466
- 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)
5012
+ * Region code for tenant context
4506
5013
  */
4507
5014
  region: 'cn' | 'us' | 'de';
4508
5015
  };
4509
- type InfoControllerGetInfoResponse = unknown;
4510
- type LogoControllerGetLogoByDataSourceAndSymbolData = {
5016
+ type DashboardControllerGetCashFlowResponse = CashFlowResponseDto;
5017
+ type ReportingControllerGetPortfolioTrendsData = {
4511
5018
  /**
4512
- * Data source identifier (e.g., YAHOO, COINGECKO)
5019
+ * Data granularity
4513
5020
  */
4514
- dataSource: string;
5021
+ granularity?: 'day' | 'week' | 'month';
4515
5022
  /**
4516
- * Region code (cn, us, de)
5023
+ * Time period
4517
5024
  */
4518
- region: 'cn' | 'us' | 'de';
5025
+ period?: '1m' | '3m' | '6m' | '1y';
4519
5026
  /**
4520
- * Asset symbol (e.g., AAPL, BTC)
5027
+ * Region code for tenant context
4521
5028
  */
4522
- symbol: string;
5029
+ region: 'cn' | 'us' | 'de';
4523
5030
  };
4524
- type LogoControllerGetLogoByDataSourceAndSymbolResponse = unknown;
4525
- type LogoControllerGetLogoByUrlData = {
5031
+ type ReportingControllerGetPortfolioTrendsResponse = PortfolioTrendsResponseDto;
5032
+ type ReportingControllerGenerateSnapshotData = {
4526
5033
  /**
4527
- * Region code (cn, us, de)
5034
+ * Region code for tenant context
4528
5035
  */
4529
5036
  region: 'cn' | 'us' | 'de';
4530
5037
  /**
4531
- * Website URL to fetch favicon from
5038
+ * Optional date (defaults to today)
4532
5039
  */
4533
- url: string;
5040
+ requestBody: GenerateSnapshotBody;
4534
5041
  };
4535
- type LogoControllerGetLogoByUrlResponse = unknown;
4536
- type MarketDataControllerGetMarketDataBySymbolData = {
5042
+ type ReportingControllerGenerateSnapshotResponse = GenerateSnapshotResponse;
5043
+ type ReportingControllerBackfillSnapshotsData = {
4537
5044
  /**
4538
- * Data source provider
5045
+ * Region code for tenant context
4539
5046
  */
4540
- dataSource: 'ALPHA_VANTAGE' | 'EOD_HISTORICAL_DATA' | 'FINANCIAL_MODELING_PREP' | 'MANUAL' | 'RAPID_API' | 'YAHOO' | 'COINGECKO' | 'TUSHARE' | 'BLOOMBERG' | 'CSI' | 'STOOQ' | 'TRADING_VIEW';
5047
+ region: 'cn' | 'us' | 'de';
5048
+ requestBody: BackfillSnapshotsBody;
5049
+ };
5050
+ type ReportingControllerBackfillSnapshotsResponse = BackfillSnapshotsResponse;
5051
+ type ApiKeysControllerCreateApiKeyResponse = unknown;
5052
+ type AuthControllerAccessTokenLoginData = {
5053
+ requestBody: AnonymousLoginDto;
5054
+ };
5055
+ type AuthControllerAccessTokenLoginResponse = unknown;
5056
+ type CacheControllerFlushCacheResponse = unknown;
5057
+ type ExchangeRateControllerGetExchangeRateData = {
4541
5058
  /**
4542
- * Region code (cn, us, de)
5059
+ * Date in ISO format (YYYY-MM-DD)
4543
5060
  */
4544
- region: 'cn' | 'us' | 'de';
5061
+ dateString: string;
4545
5062
  /**
4546
- * Symbol code
5063
+ * Currency pair symbol (e.g., USDCNY, EURUSD)
4547
5064
  */
4548
5065
  symbol: string;
4549
5066
  };
4550
- type MarketDataControllerGetMarketDataBySymbolResponse = unknown;
4551
- type MarketDataControllerData = {
5067
+ type ExchangeRateControllerGetExchangeRateResponse = unknown;
5068
+ type HealthControllerGetHealthResponse = unknown;
5069
+ type HealthControllerCheckDatabaseResponse = unknown;
5070
+ type HealthControllerCheckOpenBbResponse = unknown;
5071
+ type HealthControllerCheckRedisResponse = unknown;
5072
+ type HealthControllerGetCircuitBreakersHealthResponse = unknown;
5073
+ type HealthControllerResetCircuitBreakerData = {
4552
5074
  /**
4553
- * Region code (cn, us, de)
5075
+ * Circuit breaker name to reset
4554
5076
  */
4555
- region: 'cn' | 'us' | 'de';
5077
+ name: string;
4556
5078
  };
4557
- type MarketDataControllerResponse = unknown;
5079
+ type HealthControllerResetCircuitBreakerResponse = unknown;
5080
+ type HealthControllerGetMetricsResponse = unknown;
5081
+ type InfoControllerGetInfoResponse = unknown;
4558
5082
  type $OpenApiTs = {
4559
5083
  '/api/v1/{region}/bean/accounts': {
4560
5084
  post: {
@@ -4663,6 +5187,39 @@ type $OpenApiTs = {
4663
5187
  };
4664
5188
  };
4665
5189
  };
5190
+ '/api/v1/{region}/bean/account-standards': {
5191
+ get: {
5192
+ req: AccountStandardsControllerGetTemplatesData;
5193
+ res: {
5194
+ /**
5195
+ * Account templates retrieved successfully
5196
+ */
5197
+ 200: AccountStandardListResponseDto;
5198
+ };
5199
+ };
5200
+ };
5201
+ '/api/v1/{region}/bean/account-standards/template-metadata': {
5202
+ get: {
5203
+ req: AccountStandardsControllerGetTemplateMetadataData;
5204
+ res: {
5205
+ /**
5206
+ * Template metadata retrieved successfully
5207
+ */
5208
+ 200: TemplateMetadataResponseDto;
5209
+ };
5210
+ };
5211
+ };
5212
+ '/api/v1/{region}/bean/account-standards/regions': {
5213
+ get: {
5214
+ req: AccountStandardsControllerGetRegionsData;
5215
+ res: {
5216
+ /**
5217
+ * Regions metadata retrieved successfully
5218
+ */
5219
+ 200: RegionsMetadataResponseDto;
5220
+ };
5221
+ };
5222
+ };
4666
5223
  '/api/v1/{region}/bean/transactions': {
4667
5224
  post: {
4668
5225
  req: TransactionControllerCreateData;
@@ -4696,6 +5253,10 @@ type $OpenApiTs = {
4696
5253
  * Transaction list
4697
5254
  */
4698
5255
  200: TransactionListResponseDto;
5256
+ /**
5257
+ * Validation failed
5258
+ */
5259
+ 400: ApiProblemResponseDto;
4699
5260
  /**
4700
5261
  * Authentication required
4701
5262
  */
@@ -4705,9 +5266,20 @@ type $OpenApiTs = {
4705
5266
  };
4706
5267
  '/api/v1/{region}/bean/transactions/batch': {
4707
5268
  post: {
4708
- req: TransactionControllerData;
5269
+ req: TransactionControllerCreateBatchData;
4709
5270
  res: {
4710
- 201: unknown;
5271
+ /**
5272
+ * Transactions processed
5273
+ */
5274
+ 201: BatchTransactionResponseDto;
5275
+ /**
5276
+ * Invalid input
5277
+ */
5278
+ 400: ApiProblemResponseDto;
5279
+ /**
5280
+ * Authentication required
5281
+ */
5282
+ 401: ApiProblemResponseDto;
4711
5283
  };
4712
5284
  };
4713
5285
  };
@@ -4751,31 +5323,24 @@ type $OpenApiTs = {
4751
5323
  };
4752
5324
  };
4753
5325
  delete: {
4754
- req: TransactionController1Data;
5326
+ req: TransactionControllerDeleteData;
4755
5327
  res: {
5328
+ /**
5329
+ * Transaction voided successfully
5330
+ */
4756
5331
  204: void;
4757
- };
4758
- };
4759
- };
4760
- '/api/v1/{region}/bean/account-standards': {
4761
- get: {
4762
- req: AccountStandardsControllerGetTemplatesData;
4763
- res: {
4764
5332
  /**
4765
- * Account templates retrieved successfully
5333
+ * Transaction already voided
4766
5334
  */
4767
- 200: AccountStandardListResponseDto;
4768
- };
4769
- };
4770
- };
4771
- '/api/v1/{region}/bean/account-standards/regions': {
4772
- get: {
4773
- req: AccountStandardsControllerGetRegionsData;
4774
- res: {
5335
+ 400: ApiProblemResponseDto;
4775
5336
  /**
4776
- * Regions metadata retrieved successfully
5337
+ * Authentication required
4777
5338
  */
4778
- 200: RegionsMetadataResponseDto;
5339
+ 401: ApiProblemResponseDto;
5340
+ /**
5341
+ * Transaction not found
5342
+ */
5343
+ 404: ApiProblemResponseDto;
4779
5344
  };
4780
5345
  };
4781
5346
  };
@@ -4843,33 +5408,44 @@ type $OpenApiTs = {
4843
5408
  };
4844
5409
  '/api/v1/{region}/bean/reviews/{id}/resolve': {
4845
5410
  post: {
4846
- req: ReviewControllerData;
5411
+ req: ReviewControllerResolveData;
4847
5412
  res: {
4848
- 201: unknown;
5413
+ 200: ResolveResultDto;
4849
5414
  };
4850
5415
  };
4851
5416
  };
4852
5417
  '/api/v1/{region}/bean/reviews/{id}/undo': {
4853
5418
  post: {
4854
- req: ReviewController1Data;
5419
+ req: ReviewControllerUndoData;
4855
5420
  res: {
4856
- 201: unknown;
5421
+ 200: UndoResultDto;
4857
5422
  };
4858
5423
  };
4859
5424
  };
4860
5425
  '/api/v1/{region}/bean/reviews/batch-resolve': {
4861
5426
  post: {
4862
- req: ReviewController2Data;
5427
+ req: ReviewControllerBatchResolveData;
4863
5428
  res: {
4864
- 201: unknown;
5429
+ 200: BatchResolveResultDto;
4865
5430
  };
4866
5431
  };
4867
5432
  };
4868
5433
  '/api/v1/bean/payees': {
4869
5434
  post: {
4870
- req: PayeeControllerData;
5435
+ req: PayeeControllerCreateData;
4871
5436
  res: {
4872
- 201: unknown;
5437
+ /**
5438
+ * Payee created successfully
5439
+ */
5440
+ 201: PayeeResponseDto;
5441
+ /**
5442
+ * Invalid input data
5443
+ */
5444
+ 400: ApiProblemResponseDto;
5445
+ /**
5446
+ * Payee already exists
5447
+ */
5448
+ 409: ApiProblemResponseDto;
4873
5449
  };
4874
5450
  };
4875
5451
  get: {
@@ -4923,23 +5499,56 @@ type $OpenApiTs = {
4923
5499
  };
4924
5500
  };
4925
5501
  put: {
4926
- req: PayeeController1Data;
5502
+ req: PayeeControllerUpdateData;
4927
5503
  res: {
4928
- 200: unknown;
5504
+ /**
5505
+ * Payee updated successfully
5506
+ */
5507
+ 200: PayeeResponseDto;
5508
+ /**
5509
+ * Invalid input data
5510
+ */
5511
+ 400: ApiProblemResponseDto;
5512
+ /**
5513
+ * Payee not found
5514
+ */
5515
+ 404: ApiProblemResponseDto;
4929
5516
  };
4930
5517
  };
4931
5518
  delete: {
4932
- req: PayeeController2Data;
5519
+ req: PayeeControllerDeleteData;
4933
5520
  res: {
5521
+ /**
5522
+ * Payee deleted successfully
5523
+ */
4934
5524
  204: void;
5525
+ /**
5526
+ * Payee not found
5527
+ */
5528
+ 404: ApiProblemResponseDto;
4935
5529
  };
4936
5530
  };
4937
5531
  };
4938
5532
  '/api/v1/admin/payee-profiles': {
4939
5533
  post: {
4940
- req: PayeeProfileAdminControllerData;
5534
+ req: PayeeProfileAdminControllerCreateData;
4941
5535
  res: {
4942
- 201: unknown;
5536
+ /**
5537
+ * Payee profile created successfully
5538
+ */
5539
+ 201: PayeeProfileResponseDto;
5540
+ /**
5541
+ * Validation failed
5542
+ */
5543
+ 400: ApiProblemResponseDto;
5544
+ /**
5545
+ * Admin access required
5546
+ */
5547
+ 403: ApiProblemResponseDto;
5548
+ /**
5549
+ * Payee profile already exists
5550
+ */
5551
+ 409: ApiProblemResponseDto;
4943
5552
  };
4944
5553
  };
4945
5554
  get: {
@@ -4975,37 +5584,96 @@ type $OpenApiTs = {
4975
5584
  };
4976
5585
  };
4977
5586
  put: {
4978
- req: PayeeProfileAdminController1Data;
5587
+ req: PayeeProfileAdminControllerUpdateData;
4979
5588
  res: {
4980
- 200: unknown;
5589
+ /**
5590
+ * Payee profile updated successfully
5591
+ */
5592
+ 200: PayeeProfileResponseDto;
5593
+ /**
5594
+ * Admin access required
5595
+ */
5596
+ 403: ApiProblemResponseDto;
5597
+ /**
5598
+ * Payee profile not found
5599
+ */
5600
+ 404: ApiProblemResponseDto;
4981
5601
  };
4982
5602
  };
4983
5603
  delete: {
4984
- req: PayeeProfileAdminController2Data;
5604
+ req: PayeeProfileAdminControllerDeleteData;
4985
5605
  res: {
5606
+ /**
5607
+ * Payee profile deleted successfully
5608
+ */
4986
5609
  204: void;
5610
+ /**
5611
+ * Admin access required
5612
+ */
5613
+ 403: ApiProblemResponseDto;
5614
+ /**
5615
+ * Payee profile not found
5616
+ */
5617
+ 404: ApiProblemResponseDto;
5618
+ /**
5619
+ * Payee profile is in use and cannot be deleted
5620
+ */
5621
+ 409: ApiProblemResponseDto;
4987
5622
  };
4988
5623
  };
4989
5624
  };
4990
5625
  '/api/v1/admin/payee-profiles/{id}/verify': {
4991
5626
  post: {
4992
- req: PayeeProfileAdminController3Data;
5627
+ req: PayeeProfileAdminControllerVerifyData;
4993
5628
  res: {
4994
- 201: unknown;
5629
+ /**
5630
+ * Payee profile verified successfully
5631
+ */
5632
+ 201: PayeeProfileResponseDto;
5633
+ /**
5634
+ * Admin access required
5635
+ */
5636
+ 403: ApiProblemResponseDto;
5637
+ /**
5638
+ * Payee profile not found
5639
+ */
5640
+ 404: ApiProblemResponseDto;
4995
5641
  };
4996
5642
  };
4997
5643
  delete: {
4998
- req: PayeeProfileAdminController4Data;
5644
+ req: PayeeProfileAdminControllerUnverifyData;
4999
5645
  res: {
5000
- 200: unknown;
5646
+ /**
5647
+ * Payee profile unverified successfully
5648
+ */
5649
+ 200: PayeeProfileResponseDto;
5650
+ /**
5651
+ * Admin access required
5652
+ */
5653
+ 403: ApiProblemResponseDto;
5654
+ /**
5655
+ * Payee profile not found
5656
+ */
5657
+ 404: ApiProblemResponseDto;
5001
5658
  };
5002
5659
  };
5003
5660
  };
5004
5661
  '/api/v1/{region}/bean/commodities': {
5005
5662
  post: {
5006
- req: CommodityControllerData;
5663
+ req: CommodityControllerCreateData;
5007
5664
  res: {
5008
- 201: unknown;
5665
+ /**
5666
+ * Commodity created successfully
5667
+ */
5668
+ 201: CommodityResponseDto;
5669
+ /**
5670
+ * Invalid input data
5671
+ */
5672
+ 400: ApiProblemResponseDto;
5673
+ /**
5674
+ * Commodity already exists
5675
+ */
5676
+ 409: ApiProblemResponseDto;
5009
5677
  };
5010
5678
  };
5011
5679
  get: {
@@ -5033,39 +5701,74 @@ type $OpenApiTs = {
5033
5701
  };
5034
5702
  };
5035
5703
  put: {
5036
- req: CommodityController1Data;
5704
+ req: CommodityControllerUpdateData;
5037
5705
  res: {
5038
- 200: unknown;
5706
+ /**
5707
+ * Commodity updated successfully
5708
+ */
5709
+ 200: CommodityResponseDto;
5710
+ /**
5711
+ * Invalid input data
5712
+ */
5713
+ 400: ApiProblemResponseDto;
5714
+ /**
5715
+ * Commodity not found
5716
+ */
5717
+ 404: ApiProblemResponseDto;
5039
5718
  };
5040
5719
  };
5041
5720
  delete: {
5042
- req: CommodityController2Data;
5721
+ req: CommodityControllerDeleteData;
5043
5722
  res: {
5723
+ /**
5724
+ * Commodity deleted successfully
5725
+ */
5044
5726
  204: void;
5727
+ /**
5728
+ * Commodity not found
5729
+ */
5730
+ 404: ApiProblemResponseDto;
5045
5731
  };
5046
5732
  };
5047
5733
  };
5048
5734
  '/api/v1/{region}/bean/commodities/{symbol}/ensure': {
5049
5735
  post: {
5050
- req: CommodityController3Data;
5736
+ req: CommodityControllerGetOrCreateData;
5051
5737
  res: {
5052
- 201: unknown;
5738
+ /**
5739
+ * Commodity retrieved or created
5740
+ */
5741
+ 200: CommodityResponseDto;
5053
5742
  };
5054
5743
  };
5055
5744
  };
5056
5745
  '/api/v1/{region}/bean/commodities/bulk': {
5057
5746
  post: {
5058
- req: CommodityController4Data;
5747
+ req: CommodityControllerBulkCreateData;
5059
5748
  res: {
5060
- 201: unknown;
5749
+ /**
5750
+ * Commodities created successfully
5751
+ */
5752
+ 201: Array<CommodityResponseDto>;
5061
5753
  };
5062
5754
  };
5063
5755
  };
5064
5756
  '/api/v1/{region}/bean/recurring-rules': {
5065
5757
  post: {
5066
- req: RecurringRuleControllerData;
5758
+ req: RecurringRuleControllerCreateData;
5067
5759
  res: {
5068
- 201: unknown;
5760
+ /**
5761
+ * Rule created successfully
5762
+ */
5763
+ 201: RecurringRuleResponseDto;
5764
+ /**
5765
+ * Invalid input data (e.g., autoCreate without accounts)
5766
+ */
5767
+ 400: unknown;
5768
+ /**
5769
+ * Rule with same name already exists
5770
+ */
5771
+ 409: unknown;
5069
5772
  };
5070
5773
  };
5071
5774
  get: {
@@ -5080,9 +5783,20 @@ type $OpenApiTs = {
5080
5783
  };
5081
5784
  '/api/v1/{region}/bean/recurring-rules/from-transaction/{transactionId}': {
5082
5785
  post: {
5083
- req: RecurringRuleController1Data;
5786
+ req: RecurringRuleControllerCreateFromTransactionData;
5084
5787
  res: {
5085
- 201: unknown;
5788
+ /**
5789
+ * Rule created successfully
5790
+ */
5791
+ 201: RecurringRuleResponseDto;
5792
+ /**
5793
+ * Transaction not found
5794
+ */
5795
+ 404: ApiProblemResponseDto;
5796
+ /**
5797
+ * Rule with same name already exists or transaction already linked
5798
+ */
5799
+ 409: ApiProblemResponseDto;
5086
5800
  };
5087
5801
  };
5088
5802
  };
@@ -5101,15 +5815,33 @@ type $OpenApiTs = {
5101
5815
  };
5102
5816
  };
5103
5817
  patch: {
5104
- req: RecurringRuleController2Data;
5818
+ req: RecurringRuleControllerUpdateData;
5105
5819
  res: {
5106
- 200: unknown;
5820
+ /**
5821
+ * Rule updated successfully
5822
+ */
5823
+ 200: RecurringRuleResponseDto;
5824
+ /**
5825
+ * Invalid input data
5826
+ */
5827
+ 400: unknown;
5828
+ /**
5829
+ * Rule not found
5830
+ */
5831
+ 404: unknown;
5107
5832
  };
5108
5833
  };
5109
5834
  delete: {
5110
- req: RecurringRuleController3Data;
5835
+ req: RecurringRuleControllerDeleteData;
5111
5836
  res: {
5837
+ /**
5838
+ * Rule deleted successfully
5839
+ */
5112
5840
  204: void;
5841
+ /**
5842
+ * Rule not found
5843
+ */
5844
+ 404: unknown;
5113
5845
  };
5114
5846
  };
5115
5847
  };
@@ -5167,37 +5899,96 @@ type $OpenApiTs = {
5167
5899
  };
5168
5900
  '/api/v1/{region}/bean/expected-transactions/{id}/skip': {
5169
5901
  post: {
5170
- req: ExpectedTransactionControllerData;
5902
+ req: ExpectedTransactionControllerSkipData;
5171
5903
  res: {
5172
- 200: unknown;
5904
+ /**
5905
+ * Expected transaction skipped successfully
5906
+ */
5907
+ 200: ExpectedTransactionResponseDto;
5908
+ /**
5909
+ * Cannot skip - not in PENDING status
5910
+ */
5911
+ 400: unknown;
5912
+ /**
5913
+ * Expected transaction not found
5914
+ */
5915
+ 404: unknown;
5173
5916
  };
5174
5917
  };
5175
5918
  delete: {
5176
- req: ExpectedTransactionController1Data;
5919
+ req: ExpectedTransactionControllerUndoSkipData;
5177
5920
  res: {
5178
- 200: unknown;
5921
+ /**
5922
+ * Skip undone successfully
5923
+ */
5924
+ 200: ExpectedTransactionResponseDto;
5925
+ /**
5926
+ * Cannot undo - not in SKIPPED status
5927
+ */
5928
+ 400: unknown;
5929
+ /**
5930
+ * Expected transaction not found
5931
+ */
5932
+ 404: unknown;
5179
5933
  };
5180
5934
  };
5181
5935
  };
5182
5936
  '/api/v1/{region}/bean/expected-transactions/{id}/match': {
5183
5937
  post: {
5184
- req: ExpectedTransactionController2Data;
5938
+ req: ExpectedTransactionControllerConfirmMatchData;
5185
5939
  res: {
5940
+ /**
5941
+ * Match confirmed successfully
5942
+ */
5186
5943
  200: unknown;
5944
+ /**
5945
+ * Cannot match - not in PENDING status
5946
+ */
5947
+ 400: unknown;
5948
+ /**
5949
+ * Expected or actual transaction not found
5950
+ */
5951
+ 404: unknown;
5952
+ /**
5953
+ * Actual transaction already matched to another rule
5954
+ */
5955
+ 409: unknown;
5187
5956
  };
5188
5957
  };
5189
5958
  delete: {
5190
- req: ExpectedTransactionController3Data;
5959
+ req: ExpectedTransactionControllerUnmatchData;
5191
5960
  res: {
5961
+ /**
5962
+ * Match removed successfully
5963
+ */
5192
5964
  200: unknown;
5965
+ /**
5966
+ * Cannot unmatch - not in COMPLETED status
5967
+ */
5968
+ 400: unknown;
5969
+ /**
5970
+ * Expected transaction not found
5971
+ */
5972
+ 404: unknown;
5193
5973
  };
5194
5974
  };
5195
5975
  };
5196
5976
  '/api/v1/{region}/bean/expected-transactions/{id}/enter': {
5197
5977
  post: {
5198
- req: ExpectedTransactionController4Data;
5978
+ req: ExpectedTransactionControllerEnterNowData;
5199
5979
  res: {
5980
+ /**
5981
+ * Transaction created successfully
5982
+ */
5200
5983
  201: unknown;
5984
+ /**
5985
+ * Cannot enter - not in PENDING status or missing accounts
5986
+ */
5987
+ 400: unknown;
5988
+ /**
5989
+ * Expected transaction or accounts not found
5990
+ */
5991
+ 404: unknown;
5201
5992
  };
5202
5993
  };
5203
5994
  };
@@ -5214,9 +6005,24 @@ type $OpenApiTs = {
5214
6005
  };
5215
6006
  '/api/v1/{region}/bean/transaction-rules': {
5216
6007
  post: {
5217
- req: TransactionRuleControllerData;
6008
+ req: TransactionRuleControllerCreateData;
5218
6009
  res: {
5219
- 201: unknown;
6010
+ /**
6011
+ * Rule updated successfully (upsert mode)
6012
+ */
6013
+ 200: TransactionRuleResponseDto;
6014
+ /**
6015
+ * Validation failed
6016
+ */
6017
+ 400: ApiProblemResponseDto;
6018
+ /**
6019
+ * Unauthorized
6020
+ */
6021
+ 401: ApiProblemResponseDto;
6022
+ /**
6023
+ * Resource conflict - another process is updating this rule
6024
+ */
6025
+ 409: ApiProblemResponseDto;
5220
6026
  };
5221
6027
  };
5222
6028
  get: {
@@ -5241,6 +6047,10 @@ type $OpenApiTs = {
5241
6047
  * Validation result
5242
6048
  */
5243
6049
  200: ValidateRuleResponseDto;
6050
+ /**
6051
+ * Validation failed
6052
+ */
6053
+ 400: ApiProblemResponseDto;
5244
6054
  /**
5245
6055
  * Unauthorized
5246
6056
  */
@@ -5250,9 +6060,20 @@ type $OpenApiTs = {
5250
6060
  };
5251
6061
  '/api/v1/{region}/bean/transaction-rules/bulk': {
5252
6062
  post: {
5253
- req: TransactionRuleController1Data;
6063
+ req: TransactionRuleControllerBulkCreateData;
5254
6064
  res: {
5255
- 201: unknown;
6065
+ /**
6066
+ * Bulk create completed
6067
+ */
6068
+ 201: BulkCreateRulesResponseDto;
6069
+ /**
6070
+ * Invalid bulk create data
6071
+ */
6072
+ 400: ApiProblemResponseDto;
6073
+ /**
6074
+ * Unauthorized
6075
+ */
6076
+ 401: ApiProblemResponseDto;
5256
6077
  };
5257
6078
  };
5258
6079
  };
@@ -5313,15 +6134,57 @@ type $OpenApiTs = {
5313
6134
  };
5314
6135
  };
5315
6136
  put: {
5316
- req: TransactionRuleController2Data;
6137
+ req: TransactionRuleControllerUpdateData;
5317
6138
  res: {
5318
- 200: unknown;
6139
+ /**
6140
+ * Rule updated successfully
6141
+ */
6142
+ 200: TransactionRuleResponseDto;
6143
+ /**
6144
+ * Validation failed
6145
+ */
6146
+ 400: ApiProblemResponseDto;
6147
+ /**
6148
+ * Unauthorized
6149
+ */
6150
+ 401: ApiProblemResponseDto;
6151
+ /**
6152
+ * Forbidden - not owner of rule
6153
+ */
6154
+ 403: ApiProblemResponseDto;
6155
+ /**
6156
+ * Rule not found
6157
+ */
6158
+ 404: ApiProblemResponseDto;
6159
+ /**
6160
+ * Resource conflict - rule is being modified by another process
6161
+ */
6162
+ 409: ApiProblemResponseDto;
5319
6163
  };
5320
6164
  };
5321
6165
  delete: {
5322
- req: TransactionRuleController3Data;
6166
+ req: TransactionRuleControllerDeleteData;
5323
6167
  res: {
6168
+ /**
6169
+ * Rule deleted successfully
6170
+ */
5324
6171
  204: void;
6172
+ /**
6173
+ * Unauthorized
6174
+ */
6175
+ 401: ApiProblemResponseDto;
6176
+ /**
6177
+ * Forbidden - not owner of rule
6178
+ */
6179
+ 403: ApiProblemResponseDto;
6180
+ /**
6181
+ * Rule not found
6182
+ */
6183
+ 404: ApiProblemResponseDto;
6184
+ /**
6185
+ * Resource conflict - rule is being modified by another process
6186
+ */
6187
+ 409: ApiProblemResponseDto;
5325
6188
  };
5326
6189
  };
5327
6190
  };
@@ -5447,7 +6310,6 @@ type $OpenApiTs = {
5447
6310
  };
5448
6311
  '/api/v1/users/asset-liability-summary': {
5449
6312
  get: {
5450
- req: UserControllerGetAssetLiabilitySummaryData;
5451
6313
  res: {
5452
6314
  /**
5453
6315
  * Summary retrieved successfully
@@ -5458,7 +6320,6 @@ type $OpenApiTs = {
5458
6320
  };
5459
6321
  '/api/v1/admin/properties': {
5460
6322
  get: {
5461
- req: PropertyControllerGetAllData;
5462
6323
  res: {
5463
6324
  /**
5464
6325
  * Properties retrieved successfully
@@ -5498,15 +6359,48 @@ type $OpenApiTs = {
5498
6359
  };
5499
6360
  };
5500
6361
  put: {
5501
- req: PropertyControllerData;
6362
+ req: PropertyControllerUpdateData;
5502
6363
  res: {
6364
+ /**
6365
+ * Property updated successfully
6366
+ */
5503
6367
  200: unknown;
6368
+ /**
6369
+ * Unauthorized
6370
+ */
6371
+ 401: unknown;
6372
+ /**
6373
+ * Forbidden - insufficient permissions
6374
+ */
6375
+ 403: unknown;
5504
6376
  };
5505
6377
  };
5506
6378
  delete: {
5507
- req: PropertyController1Data;
6379
+ req: PropertyControllerDeleteData;
5508
6380
  res: {
6381
+ /**
6382
+ * Property deleted successfully
6383
+ */
5509
6384
  204: void;
6385
+ /**
6386
+ * Unauthorized
6387
+ */
6388
+ 401: unknown;
6389
+ /**
6390
+ * Forbidden - insufficient permissions
6391
+ */
6392
+ 403: unknown;
6393
+ /**
6394
+ * Property not found
6395
+ */
6396
+ 404: unknown;
6397
+ };
6398
+ };
6399
+ };
6400
+ '/api/v1/{region}/bean/export/beancount': {
6401
+ get: {
6402
+ res: {
6403
+ 200: unknown;
5510
6404
  };
5511
6405
  };
5512
6406
  };
@@ -5579,6 +6473,29 @@ type $OpenApiTs = {
5579
6473
  };
5580
6474
  };
5581
6475
  };
6476
+ '/api/v1/{region}/bean/import/beancount': {
6477
+ post: {
6478
+ req: FileImportControllerImportBeancountData;
6479
+ res: {
6480
+ /**
6481
+ * Beancount file imported successfully
6482
+ */
6483
+ 200: {
6484
+ imported?: number;
6485
+ skipped?: number;
6486
+ failed?: number;
6487
+ accountsCreated?: number;
6488
+ errors?: Array<{
6489
+ [key: string]: unknown;
6490
+ }>;
6491
+ };
6492
+ /**
6493
+ * Bad request - invalid file or no file uploaded
6494
+ */
6495
+ 400: ApiProblemResponseDto;
6496
+ };
6497
+ };
6498
+ };
5582
6499
  '/api/v1/{region}/bean/import/config/{importerId}': {
5583
6500
  get: {
5584
6501
  req: ImporterConfigControllerGetConfigData;
@@ -5598,17 +6515,107 @@ type $OpenApiTs = {
5598
6515
  };
5599
6516
  };
5600
6517
  put: {
5601
- req: ImporterConfigControllerData;
6518
+ req: ImporterConfigControllerUpdateConfigData;
5602
6519
  res: {
5603
- 200: unknown;
6520
+ /**
6521
+ * Configuration updated successfully
6522
+ */
6523
+ 200: ImporterConfigDto;
6524
+ /**
6525
+ * Invalid input - Validation failed
6526
+ */
6527
+ 400: ApiProblemResponseDto;
6528
+ /**
6529
+ * Configuration not found
6530
+ */
6531
+ 404: ApiProblemResponseDto;
5604
6532
  };
5605
6533
  };
5606
6534
  };
5607
6535
  '/api/v1/{region}/bean/import/config/{importerId}/reset': {
5608
6536
  post: {
5609
- req: ImporterConfigController1Data;
6537
+ req: ImporterConfigControllerResetConfigData;
6538
+ res: {
6539
+ /**
6540
+ * Configuration reset successfully
6541
+ */
6542
+ 200: ImporterConfigDto;
6543
+ /**
6544
+ * Invalid input - Unsupported importer
6545
+ */
6546
+ 400: ApiProblemResponseDto;
6547
+ };
6548
+ };
6549
+ };
6550
+ '/api/v1/bean/platforms': {
6551
+ get: {
6552
+ res: {
6553
+ /**
6554
+ * List of platforms with binding and account counts
6555
+ */
6556
+ 200: unknown;
6557
+ };
6558
+ };
6559
+ post: {
6560
+ req: PlatformControllerCreateData;
5610
6561
  res: {
6562
+ /**
6563
+ * Platform created successfully
6564
+ */
5611
6565
  201: unknown;
6566
+ /**
6567
+ * Platform already exists
6568
+ */
6569
+ 409: unknown;
6570
+ };
6571
+ };
6572
+ };
6573
+ '/api/v1/bean/platforms/list': {
6574
+ get: {
6575
+ res: {
6576
+ /**
6577
+ * List of platforms with user binding status
6578
+ */
6579
+ 200: unknown;
6580
+ };
6581
+ };
6582
+ };
6583
+ '/api/v1/bean/platforms/match': {
6584
+ get: {
6585
+ req: PlatformControllerMatchPlatformsData;
6586
+ res: {
6587
+ /**
6588
+ * List of matching platforms with suggested segment names
6589
+ */
6590
+ 200: unknown;
6591
+ };
6592
+ };
6593
+ };
6594
+ '/api/v1/bean/platforms/{id}': {
6595
+ put: {
6596
+ req: PlatformControllerUpdateData;
6597
+ res: {
6598
+ /**
6599
+ * Platform updated successfully
6600
+ */
6601
+ 200: unknown;
6602
+ /**
6603
+ * Platform not found
6604
+ */
6605
+ 404: unknown;
6606
+ };
6607
+ };
6608
+ delete: {
6609
+ req: PlatformControllerDeleteData;
6610
+ res: {
6611
+ /**
6612
+ * Platform deleted successfully
6613
+ */
6614
+ 204: void;
6615
+ /**
6616
+ * Platform not found
6617
+ */
6618
+ 404: unknown;
5612
6619
  };
5613
6620
  };
5614
6621
  };
@@ -5727,117 +6734,6 @@ type $OpenApiTs = {
5727
6734
  };
5728
6735
  };
5729
6736
  };
5730
- '/api/v1/bean/platforms': {
5731
- get: {
5732
- req: PlatformControllerFindAllData;
5733
- res: {
5734
- /**
5735
- * List of platforms with binding and account counts
5736
- */
5737
- 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
- /**
5752
- * List of platforms with user binding status
5753
- */
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;
5769
- };
5770
- };
5771
- };
5772
- '/api/v1/market/symbols/lookup': {
5773
- get: {
5774
- req: SymbolControllerLookupSymbolData;
5775
- res: {
5776
- /**
5777
- * Symbols found successfully
5778
- */
5779
- 200: unknown;
5780
- /**
5781
- * Invalid query parameters
5782
- */
5783
- 400: unknown;
5784
- };
5785
- };
5786
- };
5787
- '/api/v1/market/symbols/{dataSource}/{symbol}': {
5788
- get: {
5789
- req: SymbolControllerGetSymbolDataData;
5790
- res: {
5791
- /**
5792
- * Symbol data retrieved successfully
5793
- */
5794
- 200: unknown;
5795
- /**
5796
- * Invalid data source
5797
- */
5798
- 400: unknown;
5799
- /**
5800
- * Symbol not found
5801
- */
5802
- 404: unknown;
5803
- };
5804
- };
5805
- };
5806
- '/api/v1/market/symbols/{dataSource}/{symbol}/{dateString}': {
5807
- get: {
5808
- req: SymbolControllerGatherSymbolForDateData;
5809
- res: {
5810
- /**
5811
- * Historical data retrieved successfully
5812
- */
5813
- 200: unknown;
5814
- /**
5815
- * Invalid date format
5816
- */
5817
- 400: unknown;
5818
- /**
5819
- * Symbol data not found for specified date
5820
- */
5821
- 404: unknown;
5822
- };
5823
- };
5824
- };
5825
- '/api/v1/market/symbols/yahoo/batch-update': {
5826
- put: {
5827
- req: SymbolControllerData;
5828
- res: {
5829
- 200: unknown;
5830
- };
5831
- };
5832
- };
5833
- '/api/v1/cache/flush': {
5834
- post: {
5835
- req: CacheControllerFlushCacheData;
5836
- res: {
5837
- 201: unknown;
5838
- };
5839
- };
5840
- };
5841
6737
  '/api/v1/{region}/dashboard/net-worth': {
5842
6738
  get: {
5843
6739
  req: DashboardControllerGetNetWorthData;
@@ -5946,9 +6842,15 @@ type $OpenApiTs = {
5946
6842
  };
5947
6843
  '/api/v1/auth/api-keys': {
5948
6844
  post: {
5949
- req: ApiKeysControllerData;
5950
6845
  res: {
6846
+ /**
6847
+ * API key created successfully
6848
+ */
5951
6849
  201: unknown;
6850
+ /**
6851
+ * Insufficient permissions to create API key
6852
+ */
6853
+ 403: unknown;
5952
6854
  };
5953
6855
  };
5954
6856
  };
@@ -5967,6 +6869,13 @@ type $OpenApiTs = {
5967
6869
  };
5968
6870
  };
5969
6871
  };
6872
+ '/api/v1/cache/flush': {
6873
+ post: {
6874
+ res: {
6875
+ 201: unknown;
6876
+ };
6877
+ };
6878
+ };
5970
6879
  '/api/v1/market/exchange-rates/{symbol}/{dateString}': {
5971
6880
  get: {
5972
6881
  req: ExchangeRateControllerGetExchangeRateData;
@@ -5984,7 +6893,6 @@ type $OpenApiTs = {
5984
6893
  };
5985
6894
  '/api/v1/health': {
5986
6895
  get: {
5987
- req: HealthControllerGetHealthData;
5988
6896
  res: {
5989
6897
  /**
5990
6898
  * Service is healthy
@@ -5999,7 +6907,6 @@ type $OpenApiTs = {
5999
6907
  };
6000
6908
  '/api/v1/health/database': {
6001
6909
  get: {
6002
- req: HealthControllerCheckDatabaseData;
6003
6910
  res: {
6004
6911
  /**
6005
6912
  * Database is healthy
@@ -6012,9 +6919,22 @@ type $OpenApiTs = {
6012
6919
  };
6013
6920
  };
6014
6921
  };
6922
+ '/api/v1/health/openbb': {
6923
+ get: {
6924
+ res: {
6925
+ /**
6926
+ * OpenBB status
6927
+ */
6928
+ 200: unknown;
6929
+ /**
6930
+ * OpenBB unavailable
6931
+ */
6932
+ 503: unknown;
6933
+ };
6934
+ };
6935
+ };
6015
6936
  '/api/v1/health/redis': {
6016
6937
  get: {
6017
- req: HealthControllerCheckRedisData;
6018
6938
  res: {
6019
6939
  /**
6020
6940
  * Redis is healthy
@@ -6029,7 +6949,6 @@ type $OpenApiTs = {
6029
6949
  };
6030
6950
  '/api/v1/health/circuit-breakers': {
6031
6951
  get: {
6032
- req: HealthControllerGetCircuitBreakersHealthData;
6033
6952
  res: {
6034
6953
  /**
6035
6954
  * Circuit breaker status
@@ -6067,7 +6986,6 @@ type $OpenApiTs = {
6067
6986
  };
6068
6987
  '/api/v1/health/metrics': {
6069
6988
  get: {
6070
- req: HealthControllerGetMetricsData;
6071
6989
  res: {
6072
6990
  /**
6073
6991
  * Health metrics
@@ -6080,70 +6998,8 @@ type $OpenApiTs = {
6080
6998
  };
6081
6999
  };
6082
7000
  };
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
7001
  '/api/v1/system/info': {
6145
7002
  get: {
6146
- req: InfoControllerGetInfoData;
6147
7003
  res: {
6148
7004
  /**
6149
7005
  * System information retrieved successfully
@@ -6152,73 +7008,6 @@ type $OpenApiTs = {
6152
7008
  };
6153
7009
  };
6154
7010
  };
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
7011
  };
6223
7012
 
6224
7013
  declare class BeanAccountsService {
@@ -6330,12 +7119,16 @@ declare class BeanTransactionsService {
6330
7119
  */
6331
7120
  static transactionControllerList(data: TransactionControllerListData): CancelablePromise<TransactionControllerListResponse>;
6332
7121
  /**
7122
+ * @deprecated
7123
+ * Batch create transactions (DEPRECATED)
7124
+ * DEPRECATED: Use POST /:region/bean/import/provider/:name/sync instead. This endpoint skips dedup, rule matching, and review branching.
6333
7125
  * @param data The data for the request.
6334
7126
  * @param data.region Region code for tenant context
6335
- * @returns unknown
7127
+ * @param data.requestBody
7128
+ * @returns BatchTransactionResponseDto Transactions processed
6336
7129
  * @throws ApiError
6337
7130
  */
6338
- static transactionController(data: TransactionControllerData): CancelablePromise<TransactionControllerResponse>;
7131
+ static transactionControllerCreateBatch(data: TransactionControllerCreateBatchData): CancelablePromise<TransactionControllerCreateBatchResponse>;
6339
7132
  /**
6340
7133
  * Get transaction detail
6341
7134
  * Returns transaction details including all postings
@@ -6358,12 +7151,15 @@ declare class BeanTransactionsService {
6358
7151
  */
6359
7152
  static transactionControllerUpdate(data: TransactionControllerUpdateData): CancelablePromise<TransactionControllerUpdateResponse>;
6360
7153
  /**
7154
+ * Void transaction
7155
+ * Soft-deletes a transaction by marking it as VOIDED
6361
7156
  * @param data The data for the request.
7157
+ * @param data.id Transaction ID
6362
7158
  * @param data.region Region code for tenant context
6363
- * @returns void
7159
+ * @returns void Transaction voided successfully
6364
7160
  * @throws ApiError
6365
7161
  */
6366
- static transactionController1(data: TransactionController1Data): CancelablePromise<TransactionController1Response>;
7162
+ static transactionControllerDelete(data: TransactionControllerDeleteData): CancelablePromise<TransactionControllerDeleteResponse>;
6367
7163
  }
6368
7164
  declare class BeanBalancesService {
6369
7165
  /**
@@ -6371,7 +7167,7 @@ declare class BeanBalancesService {
6371
7167
  * Calculate account balance at a specific date for a single currency
6372
7168
  * @param data The data for the request.
6373
7169
  * @param data.account Account name (e.g., "Assets:Bank:Checking")
6374
- * @param data.region Region code (cn, us, de)
7170
+ * @param data.region Region code for tenant context
6375
7171
  * @param data.date Date to calculate balance at (ISO 8601 format)
6376
7172
  * @param data.currency Currency to query (e.g., "USD", "CNY")
6377
7173
  * @returns BalanceResponseDto Balance calculated successfully
@@ -6382,7 +7178,7 @@ declare class BeanBalancesService {
6382
7178
  * Query multi-currency account balance
6383
7179
  * Calculate account balances for all currencies at a specific date
6384
7180
  * @param data The data for the request.
6385
- * @param data.region Region code (cn, us, de)
7181
+ * @param data.region Region code for tenant context
6386
7182
  * @returns MultiCurrencyBalanceResponseDto Balances calculated successfully
6387
7183
  * @throws ApiError
6388
7184
  */
@@ -6390,17 +7186,20 @@ declare class BeanBalancesService {
6390
7186
  }
6391
7187
  declare class BeanCommoditiesService {
6392
7188
  /**
7189
+ * Create a new commodity
7190
+ * Creates a new commodity definition for the authenticated user
6393
7191
  * @param data The data for the request.
6394
- * @param data.region Region code (cn, us, de)
6395
- * @returns unknown
7192
+ * @param data.region Region code for tenant context
7193
+ * @param data.requestBody
7194
+ * @returns CommodityResponseDto Commodity created successfully
6396
7195
  * @throws ApiError
6397
7196
  */
6398
- static commodityController(data: CommodityControllerData): CancelablePromise<CommodityControllerResponse>;
7197
+ static commodityControllerCreate(data: CommodityControllerCreateData): CancelablePromise<CommodityControllerCreateResponse>;
6399
7198
  /**
6400
7199
  * List user commodities
6401
7200
  * Returns all commodity definitions for the authenticated user with optional filtering
6402
7201
  * @param data The data for the request.
6403
- * @param data.region Region code (cn, us, de)
7202
+ * @param data.region Region code for tenant context
6404
7203
  * @param data.search Search term for symbol or metadata fields (partial match). Searches symbol and metadata.name.
6405
7204
  * @param data.symbol Filter by exact symbol match
6406
7205
  * @returns CommodityListResponseDto Commodities retrieved successfully
@@ -6412,39 +7211,51 @@ declare class BeanCommoditiesService {
6412
7211
  * Returns a specific commodity definition by its symbol
6413
7212
  * @param data The data for the request.
6414
7213
  * @param data.symbol Commodity symbol
6415
- * @param data.region Region code (cn, us, de)
7214
+ * @param data.region Region code for tenant context
6416
7215
  * @returns CommodityResponseDto Commodity retrieved successfully
6417
7216
  * @throws ApiError
6418
7217
  */
6419
7218
  static commodityControllerFindOne(data: CommodityControllerFindOneData): CancelablePromise<CommodityControllerFindOneResponse>;
6420
7219
  /**
7220
+ * Update commodity
7221
+ * Updates an existing commodity definition. Symbol cannot be changed.
6421
7222
  * @param data The data for the request.
6422
- * @param data.region Region code (cn, us, de)
6423
- * @returns unknown
7223
+ * @param data.symbol Commodity symbol
7224
+ * @param data.region Region code for tenant context
7225
+ * @param data.requestBody
7226
+ * @returns CommodityResponseDto Commodity updated successfully
6424
7227
  * @throws ApiError
6425
7228
  */
6426
- static commodityController1(data: CommodityController1Data): CancelablePromise<CommodityController1Response>;
7229
+ static commodityControllerUpdate(data: CommodityControllerUpdateData): CancelablePromise<CommodityControllerUpdateResponse>;
6427
7230
  /**
7231
+ * Delete commodity
7232
+ * Deletes a commodity definition
6428
7233
  * @param data The data for the request.
6429
- * @param data.region Region code (cn, us, de)
6430
- * @returns void
7234
+ * @param data.symbol Commodity symbol
7235
+ * @param data.region Region code for tenant context
7236
+ * @returns void Commodity deleted successfully
6431
7237
  * @throws ApiError
6432
7238
  */
6433
- static commodityController2(data: CommodityController2Data): CancelablePromise<CommodityController2Response>;
7239
+ static commodityControllerDelete(data: CommodityControllerDeleteData): CancelablePromise<CommodityControllerDeleteResponse>;
6434
7240
  /**
7241
+ * Ensure commodity exists
7242
+ * Gets existing commodity or creates it with automatic initialization from OpenBB
6435
7243
  * @param data The data for the request.
6436
- * @param data.region Region code (cn, us, de)
6437
- * @returns unknown
7244
+ * @param data.symbol Commodity symbol
7245
+ * @param data.region Region code for tenant context
7246
+ * @returns CommodityResponseDto Commodity retrieved or created
6438
7247
  * @throws ApiError
6439
7248
  */
6440
- static commodityController3(data: CommodityController3Data): CancelablePromise<CommodityController3Response>;
7249
+ static commodityControllerGetOrCreate(data: CommodityControllerGetOrCreateData): CancelablePromise<CommodityControllerGetOrCreateResponse>;
6441
7250
  /**
7251
+ * Bulk create commodities
7252
+ * Creates multiple commodities from a list of symbols, useful for initialization
6442
7253
  * @param data The data for the request.
6443
- * @param data.region Region code (cn, us, de)
6444
- * @returns unknown
7254
+ * @param data.region Region code for tenant context
7255
+ * @returns CommodityResponseDto Commodities created successfully
6445
7256
  * @throws ApiError
6446
7257
  */
6447
- static commodityController4(data: CommodityController4Data): CancelablePromise<CommodityController4Response>;
7258
+ static commodityControllerBulkCreate(data: CommodityControllerBulkCreateData): CancelablePromise<CommodityControllerBulkCreateResponse>;
6448
7259
  }
6449
7260
  declare class ProviderSyncService {
6450
7261
  /**
@@ -6482,7 +7293,7 @@ declare class ProviderSyncService {
6482
7293
  * Get supported providers
6483
7294
  * Returns a list of all providers supported by the sync endpoint.
6484
7295
  * @param data The data for the request.
6485
- * @param data.region Region code (cn, us, de)
7296
+ * @param data.region Region code for tenant context
6486
7297
  * @returns SupportedProvidersResponseDto List of supported providers
6487
7298
  * @throws ApiError
6488
7299
  */
@@ -6492,7 +7303,7 @@ declare class ProviderSyncService {
6492
7303
  * Returns whether a specific provider is supported.
6493
7304
  * @param data The data for the request.
6494
7305
  * @param data.providerName Provider name to check
6495
- * @param data.region Region code (cn, us, de)
7306
+ * @param data.region Region code for tenant context
6496
7307
  * @returns unknown Provider support status
6497
7308
  * @throws ApiError
6498
7309
  */
@@ -6501,79 +7312,48 @@ declare class ProviderSyncService {
6501
7312
  declare class HealthService {
6502
7313
  /**
6503
7314
  * 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
7315
  * @returns unknown Service is healthy
6507
7316
  * @throws ApiError
6508
7317
  */
6509
- static healthControllerGetHealth(data: HealthControllerGetHealthData): CancelablePromise<HealthControllerGetHealthResponse>;
7318
+ static healthControllerGetHealth(): CancelablePromise<HealthControllerGetHealthResponse>;
6510
7319
  /**
6511
7320
  * Check database connection health
6512
- * @param data The data for the request.
6513
- * @param data.region Region code (cn, us, de)
6514
7321
  * @returns unknown Database is healthy
6515
7322
  * @throws ApiError
6516
7323
  */
6517
- static healthControllerCheckDatabase(data: HealthControllerCheckDatabaseData): CancelablePromise<HealthControllerCheckDatabaseResponse>;
7324
+ static healthControllerCheckDatabase(): CancelablePromise<HealthControllerCheckDatabaseResponse>;
7325
+ /**
7326
+ * Check OpenBB schema status
7327
+ * @returns unknown OpenBB status
7328
+ * @throws ApiError
7329
+ */
7330
+ static healthControllerCheckOpenBb(): CancelablePromise<HealthControllerCheckOpenBbResponse>;
6518
7331
  /**
6519
7332
  * Check Redis connection health
6520
- * @param data The data for the request.
6521
- * @param data.region Region code (cn, us, de)
6522
7333
  * @returns unknown Redis is healthy
6523
7334
  * @throws ApiError
6524
7335
  */
6525
- static healthControllerCheckRedis(data: HealthControllerCheckRedisData): CancelablePromise<HealthControllerCheckRedisResponse>;
7336
+ static healthControllerCheckRedis(): CancelablePromise<HealthControllerCheckRedisResponse>;
6526
7337
  /**
6527
7338
  * Get status of all circuit breakers
6528
- * @param data The data for the request.
6529
- * @param data.region Region code (cn, us, de)
6530
7339
  * @returns unknown Circuit breaker status
6531
7340
  * @throws ApiError
6532
7341
  */
6533
- static healthControllerGetCircuitBreakersHealth(data: HealthControllerGetCircuitBreakersHealthData): CancelablePromise<HealthControllerGetCircuitBreakersHealthResponse>;
7342
+ static healthControllerGetCircuitBreakersHealth(): CancelablePromise<HealthControllerGetCircuitBreakersHealthResponse>;
6534
7343
  /**
6535
7344
  * Reset a circuit breaker to CLOSED state
6536
7345
  * @param data The data for the request.
6537
7346
  * @param data.name Circuit breaker name to reset
6538
- * @param data.region Region code (cn, us, de)
6539
7347
  * @returns unknown Circuit breaker reset successfully
6540
7348
  * @throws ApiError
6541
7349
  */
6542
7350
  static healthControllerResetCircuitBreaker(data: HealthControllerResetCircuitBreakerData): CancelablePromise<HealthControllerResetCircuitBreakerResponse>;
6543
7351
  /**
6544
7352
  * Get health check metrics and statistics
6545
- * @param data The data for the request.
6546
- * @param data.region Region code (cn, us, de)
6547
7353
  * @returns unknown Health metrics
6548
7354
  * @throws ApiError
6549
7355
  */
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>;
7356
+ static healthControllerGetMetrics(): CancelablePromise<HealthControllerGetMetricsResponse>;
6577
7357
  }
6578
7358
 
6579
7359
  type ApiRequestOptions = {
@@ -6616,4 +7396,4 @@ type OpenAPIConfig = {
6616
7396
  };
6617
7397
  declare const OpenAPI: OpenAPIConfig;
6618
7398
 
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 };
7399
+ 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 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 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 };