@firela/api-types 0.0.0-canary.5639ea2d → 0.0.0-canary.6feee68d

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -26,6 +26,10 @@ type CreateAccountDto = {
26
26
  * Account path (hierarchical, colon-separated)
27
27
  */
28
28
  path: string;
29
+ /**
30
+ * Display name to distinguish accounts at the same path (default: "")
31
+ */
32
+ displayName?: string;
29
33
  /**
30
34
  * Account open date
31
35
  */
@@ -78,6 +82,10 @@ type AccountResponseDto = {
78
82
  * Account path (hierarchical, colon-separated)
79
83
  */
80
84
  path: string;
85
+ /**
86
+ * Display name distinguishing multiple accounts at the same path
87
+ */
88
+ displayName: string;
81
89
  /**
82
90
  * Account type (root segment)
83
91
  */
@@ -164,6 +172,10 @@ type AccountListResponseDto = {
164
172
  total: number;
165
173
  };
166
174
  type UpdateAccountDto = {
175
+ /**
176
+ * Display name to distinguish accounts at the same path
177
+ */
178
+ displayName?: string;
167
179
  /**
168
180
  * Allowed currencies (null = no restriction)
169
181
  */
@@ -189,9 +201,7 @@ type UpdateAccountDto = {
189
201
  /**
190
202
  * Platform ID (references Platform.id), null to clear association
191
203
  */
192
- platformId?: {
193
- [key: string]: unknown;
194
- } | null;
204
+ platformId?: string | null;
195
205
  };
196
206
  type CloseAccountDto = {
197
207
  /**
@@ -211,6 +221,78 @@ type ReopenAccountDto = {
211
221
  */
212
222
  reopenDate?: string;
213
223
  };
224
+ type AccountStandardResponseDto = {
225
+ /**
226
+ * Account path (hierarchical, colon-separated)
227
+ */
228
+ path: string;
229
+ /**
230
+ * Account type in Beancount hierarchy
231
+ */
232
+ type: 'Assets' | 'Liabilities' | 'Income' | 'Expenses' | 'Equity';
233
+ /**
234
+ * i18n key for localized display name
235
+ */
236
+ i18nKey: string;
237
+ /**
238
+ * Short localized display name
239
+ */
240
+ name?: string;
241
+ /**
242
+ * Account description (stable semantics only)
243
+ */
244
+ description: string;
245
+ /**
246
+ * Account tags for categorization
247
+ */
248
+ tags: Array<string>;
249
+ /**
250
+ * Icon identifier for UI display
251
+ */
252
+ icon: string;
253
+ };
254
+ type AccountStandardListResponseDto = {
255
+ /**
256
+ * Array of account templates
257
+ */
258
+ items: Array<AccountStandardResponseDto>;
259
+ /**
260
+ * Total number of account templates
261
+ */
262
+ total: number;
263
+ /**
264
+ * Region code
265
+ */
266
+ region: string;
267
+ };
268
+ type TemplateMetadataDto = {
269
+ /**
270
+ * Whether this path can be extended
271
+ */
272
+ extendable: boolean;
273
+ /**
274
+ * Root account type
275
+ */
276
+ rootType: string;
277
+ };
278
+ type TemplateMetadataResponseDto = {
279
+ metadata?: TemplateMetadataDto;
280
+ };
281
+ type RegionConfigDto = {
282
+ currency: string;
283
+ dateFormat: string;
284
+ locale: string;
285
+ };
286
+ type RegionInfoDto = {
287
+ code: string;
288
+ displayName: string;
289
+ parent?: string;
290
+ chain: Array<string>;
291
+ config: RegionConfigDto;
292
+ };
293
+ type RegionsMetadataResponseDto = {
294
+ regions: Array<RegionInfoDto>;
295
+ };
214
296
  type CreatePostingDto = {
215
297
  /**
216
298
  * Account name in Beancount format (must start with uppercase, colon-separated)
@@ -401,6 +483,36 @@ type ApiProblemResponseDto = {
401
483
  [key: string]: unknown;
402
484
  };
403
485
  };
486
+ type BatchCreateTransactionDto = {
487
+ /**
488
+ * Array of transactions to create
489
+ */
490
+ transactions: Array<CreateTransactionDto>;
491
+ };
492
+ type BatchTransactionErrorDto = {
493
+ /**
494
+ * Index of failed transaction in the input array
495
+ */
496
+ index: number;
497
+ /**
498
+ * Error message describing the failure
499
+ */
500
+ error: string;
501
+ /**
502
+ * Structured error code for programmatic handling
503
+ */
504
+ errorCode?: string;
505
+ };
506
+ type BatchTransactionResponseDto = {
507
+ /**
508
+ * Successfully created transactions
509
+ */
510
+ succeeded: Array<TransactionResponseDto>;
511
+ /**
512
+ * Failed transactions with error details
513
+ */
514
+ failed: Array<BatchTransactionErrorDto>;
515
+ };
404
516
  type PostingDetailDto = {
405
517
  /**
406
518
  * Posting ID
@@ -583,61 +695,6 @@ type UpdateTransactionDto = {
583
695
  [key: string]: unknown;
584
696
  };
585
697
  };
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
698
  type BalanceResponseDto = {
642
699
  /**
643
700
  * Account name
@@ -933,6 +990,118 @@ type ReviewDetailDto = {
933
990
  */
934
991
  transactionId?: string;
935
992
  };
993
+ type ResolveReviewDto = {
994
+ /**
995
+ * 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
996
+ */
997
+ action: string;
998
+ /**
999
+ * Additional data for the decision (e.g., selected account ID)
1000
+ */
1001
+ data?: {
1002
+ [key: string]: unknown;
1003
+ };
1004
+ };
1005
+ type ResolveResultDto = {
1006
+ /**
1007
+ * Whether resolution was successful
1008
+ */
1009
+ success: boolean;
1010
+ /**
1011
+ * i18n message key for result message (e.g., review.payee.result.mapped)
1012
+ */
1013
+ messageKey?: string;
1014
+ /**
1015
+ * Parameters for message interpolation (e.g., { name: "PayeeName" })
1016
+ */
1017
+ messageParams?: {
1018
+ [key: string]: string;
1019
+ };
1020
+ /**
1021
+ * Resolution ID for undo
1022
+ */
1023
+ resolutionId: string;
1024
+ /**
1025
+ * Whether this decision can be undone
1026
+ */
1027
+ canUndo: boolean;
1028
+ /**
1029
+ * Deadline for undo (24h from resolution)
1030
+ */
1031
+ undoDeadline: string;
1032
+ /**
1033
+ * Rule ID if learning was triggered (ACCEPT_AND_LEARN actions). Use this to deep-link to the rule management page.
1034
+ */
1035
+ learnedRuleId?: string;
1036
+ };
1037
+ type UndoResultDto = {
1038
+ /**
1039
+ * Whether undo was successful
1040
+ */
1041
+ success: boolean;
1042
+ /**
1043
+ * Message
1044
+ */
1045
+ message?: string;
1046
+ /**
1047
+ * Review item ID that was restored
1048
+ */
1049
+ reviewId: string;
1050
+ };
1051
+ type BatchResolveDto = {
1052
+ /**
1053
+ * Review item IDs to resolve
1054
+ */
1055
+ reviewIds: Array<string>;
1056
+ /**
1057
+ * Decision action to apply to all items
1058
+ */
1059
+ action: string;
1060
+ /**
1061
+ * Additional data for the decision
1062
+ */
1063
+ data?: {
1064
+ [key: string]: unknown;
1065
+ };
1066
+ };
1067
+ type BatchResolveResultDto = {
1068
+ /**
1069
+ * Number of successfully resolved items
1070
+ */
1071
+ successCount: number;
1072
+ /**
1073
+ * Number of failed items
1074
+ */
1075
+ failedCount: number;
1076
+ /**
1077
+ * Details for each item
1078
+ */
1079
+ results: Array<string>;
1080
+ };
1081
+ type CreatePayeeDto = {
1082
+ /**
1083
+ * User's original payee name (e.g., 'Starbucks', 'McDonald'). This is the raw payee string as entered by the user.
1084
+ */
1085
+ payee: string;
1086
+ /**
1087
+ * Optional reference to global PayeeProfile for standardized data (merchant info, i18n keys, categories)
1088
+ */
1089
+ payeeProfileId?: string;
1090
+ /**
1091
+ * User's custom category for this payee (overrides PayeeProfile category)
1092
+ */
1093
+ customCategory?: string;
1094
+ /**
1095
+ * User's custom tags for this payee (e.g., ['favorite', 'work_meal'])
1096
+ */
1097
+ customTags?: Array<string>;
1098
+ /**
1099
+ * Metadata for extended information (location, notes, contact info, etc.)
1100
+ */
1101
+ meta?: {
1102
+ [key: string]: unknown;
1103
+ };
1104
+ };
936
1105
  type PayeeResponseDto = {
937
1106
  /**
938
1107
  * Unique identifier (UUID)
@@ -949,15 +1118,11 @@ type PayeeResponseDto = {
949
1118
  /**
950
1119
  * Reference to global PayeeProfile (merchant info, i18n keys, categories)
951
1120
  */
952
- payeeProfileId?: {
953
- [key: string]: unknown;
954
- } | null;
1121
+ payeeProfileId?: string | null;
955
1122
  /**
956
1123
  * User's custom category (overrides PayeeProfile category if set)
957
1124
  */
958
- customCategory?: {
959
- [key: string]: unknown;
960
- } | null;
1125
+ customCategory?: string | null;
961
1126
  /**
962
1127
  * User's custom tags (e.g., ['favorite', 'work_meal'])
963
1128
  */
@@ -1019,104 +1184,170 @@ type PayeeStatsResponseDto = {
1019
1184
  */
1020
1185
  lastUsedAt: string;
1021
1186
  };
1022
- type PayeeProfileResponseDto = {
1187
+ type UpdatePayeeDto = {
1023
1188
  /**
1024
- * Unique identifier (UUID)
1189
+ * Optional reference to global PayeeProfile for standardized data (merchant info, i18n keys, categories)
1025
1190
  */
1026
- id: string;
1191
+ payeeProfileId?: string;
1027
1192
  /**
1028
- * Canonical payee name (unique, case-insensitive)
1193
+ * User's custom category for this payee (overrides PayeeProfile category)
1029
1194
  */
1030
- canonical: string;
1195
+ customCategory?: string;
1031
1196
  /**
1032
- * Multi-language aliases
1197
+ * User's custom tags for this payee (e.g., ['favorite', 'work_meal'])
1033
1198
  */
1034
- aliases: Array<string>;
1199
+ customTags?: Array<string>;
1035
1200
  /**
1036
- * Translation key for i18n
1201
+ * Metadata for extended information (location, notes, contact info, etc.). Will merge with existing metadata.
1037
1202
  */
1038
- i18nKey?: {
1203
+ meta?: {
1039
1204
  [key: string]: unknown;
1040
- } | null;
1205
+ };
1041
1206
  /**
1042
- * Payee category
1207
+ * Enable or disable this payee. Disabled payees will not appear in autocomplete suggestions.
1043
1208
  */
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';
1209
+ isActive?: boolean;
1210
+ };
1211
+ type CreatePayeeProfileDto = {
1045
1212
  /**
1046
- * Sub-category
1213
+ * Canonical payee name (unique, case-insensitive). This is the primary identifier for the payee.
1047
1214
  */
1048
- subCategory?: {
1049
- [key: string]: unknown;
1050
- } | null;
1215
+ canonical: string;
1051
1216
  /**
1052
- * Country codes where payee operates
1217
+ * Multi-language aliases for the payee. Used for matching user input in different languages.
1053
1218
  */
1054
- countries: Array<string>;
1219
+ aliases?: Array<string>;
1055
1220
  /**
1056
- * Primary operating country
1221
+ * Translation key for i18n integration (XLIFF translation system)
1057
1222
  */
1058
- primaryCountry?: {
1059
- [key: string]: unknown;
1060
- } | null;
1223
+ i18nKey?: string;
1061
1224
  /**
1062
- * Search keywords
1225
+ * Payee category classification
1063
1226
  */
1064
- keywords: Array<string>;
1227
+ 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
1228
  /**
1066
- * Logo URL
1229
+ * Sub-category for more specific classification
1067
1230
  */
1068
- logoUrl?: {
1069
- [key: string]: unknown;
1070
- } | null;
1231
+ subCategory?: string;
1071
1232
  /**
1072
- * Official website
1233
+ * Country/region codes where the payee operates (ISO 3166-1 alpha-2)
1073
1234
  */
1074
- website?: {
1075
- [key: string]: unknown;
1076
- } | null;
1235
+ countries?: Array<string>;
1077
1236
  /**
1078
- * Description
1237
+ * Primary operating country (ISO 3166-1 alpha-2)
1079
1238
  */
1080
- description?: {
1081
- [key: string]: unknown;
1082
- } | null;
1239
+ primaryCountry?: string;
1083
1240
  /**
1084
- * Extended metadata
1241
+ * Search keywords for fuzzy matching
1085
1242
  */
1086
- meta: {
1087
- [key: string]: unknown;
1088
- };
1243
+ keywords?: Array<string>;
1089
1244
  /**
1090
- * Data source
1245
+ * Payee logo URL
1091
1246
  */
1092
- dataSource: 'MANUAL' | 'IMPORT' | 'API' | 'CROWDSOURCED';
1247
+ logoUrl?: string;
1093
1248
  /**
1094
- * Verification timestamp (null if not verified)
1249
+ * Official website URL
1095
1250
  */
1096
- verifiedAt?: {
1097
- [key: string]: unknown;
1098
- } | null;
1251
+ website?: string;
1099
1252
  /**
1100
- * Whether the profile is active
1253
+ * Payee description
1101
1254
  */
1102
- isActive: boolean;
1255
+ description?: string;
1103
1256
  /**
1104
- * Creation timestamp
1257
+ * Extended metadata (business hours, contact info, additional details)
1105
1258
  */
1106
- createdAt: string;
1259
+ meta?: {
1260
+ [key: string]: unknown;
1261
+ };
1107
1262
  /**
1108
- * Last update timestamp
1263
+ * Data source for this profile
1109
1264
  */
1110
- updatedAt: string;
1265
+ dataSource?: 'MANUAL' | 'IMPORT' | 'API' | 'CROWDSOURCED';
1111
1266
  };
1112
1267
  /**
1113
- * Payee category
1268
+ * Payee category classification
1114
1269
  */
1115
1270
  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
1271
  /**
1117
- * Data source
1272
+ * Data source for this profile
1118
1273
  */
1119
1274
  type dataSource = 'MANUAL' | 'IMPORT' | 'API' | 'CROWDSOURCED';
1275
+ type PayeeProfileResponseDto = {
1276
+ /**
1277
+ * Unique identifier (UUID)
1278
+ */
1279
+ id: string;
1280
+ /**
1281
+ * Canonical payee name (unique, case-insensitive)
1282
+ */
1283
+ canonical: string;
1284
+ /**
1285
+ * Multi-language aliases
1286
+ */
1287
+ aliases: Array<string>;
1288
+ /**
1289
+ * Translation key for i18n
1290
+ */
1291
+ i18nKey?: string | null;
1292
+ /**
1293
+ * Payee category
1294
+ */
1295
+ 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';
1296
+ /**
1297
+ * Sub-category
1298
+ */
1299
+ subCategory?: string | null;
1300
+ /**
1301
+ * Country codes where payee operates
1302
+ */
1303
+ countries: Array<string>;
1304
+ /**
1305
+ * Primary operating country
1306
+ */
1307
+ primaryCountry?: string | null;
1308
+ /**
1309
+ * Search keywords
1310
+ */
1311
+ keywords: Array<string>;
1312
+ /**
1313
+ * Logo URL
1314
+ */
1315
+ logoUrl?: string | null;
1316
+ /**
1317
+ * Official website
1318
+ */
1319
+ website?: string | null;
1320
+ /**
1321
+ * Description
1322
+ */
1323
+ description?: string | null;
1324
+ /**
1325
+ * Extended metadata
1326
+ */
1327
+ meta: {
1328
+ [key: string]: unknown;
1329
+ };
1330
+ /**
1331
+ * Data source
1332
+ */
1333
+ dataSource: 'MANUAL' | 'IMPORT' | 'API' | 'CROWDSOURCED';
1334
+ /**
1335
+ * Verification timestamp (null if not verified)
1336
+ */
1337
+ verifiedAt?: string | null;
1338
+ /**
1339
+ * Whether the profile is active
1340
+ */
1341
+ isActive: boolean;
1342
+ /**
1343
+ * Creation timestamp
1344
+ */
1345
+ createdAt: string;
1346
+ /**
1347
+ * Last update timestamp
1348
+ */
1349
+ updatedAt: string;
1350
+ };
1120
1351
  type PayeeProfileListResponseDto = {
1121
1352
  /**
1122
1353
  * List of payee profiles
@@ -1127,6 +1358,82 @@ type PayeeProfileListResponseDto = {
1127
1358
  */
1128
1359
  total: number;
1129
1360
  };
1361
+ type UpdatePayeeProfileDto = {
1362
+ /**
1363
+ * Multi-language aliases for the payee. Used for matching user input in different languages.
1364
+ */
1365
+ aliases?: Array<string>;
1366
+ /**
1367
+ * Translation key for i18n integration (XLIFF translation system)
1368
+ */
1369
+ i18nKey?: string;
1370
+ /**
1371
+ * Payee category classification
1372
+ */
1373
+ 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';
1374
+ /**
1375
+ * Sub-category for more specific classification
1376
+ */
1377
+ subCategory?: string;
1378
+ /**
1379
+ * Country/region codes where the payee operates (ISO 3166-1 alpha-2)
1380
+ */
1381
+ countries?: Array<string>;
1382
+ /**
1383
+ * Primary operating country (ISO 3166-1 alpha-2)
1384
+ */
1385
+ primaryCountry?: string;
1386
+ /**
1387
+ * Search keywords for fuzzy matching
1388
+ */
1389
+ keywords?: Array<string>;
1390
+ /**
1391
+ * Payee logo URL
1392
+ */
1393
+ logoUrl?: string;
1394
+ /**
1395
+ * Official website URL
1396
+ */
1397
+ website?: string;
1398
+ /**
1399
+ * Payee description
1400
+ */
1401
+ description?: string;
1402
+ /**
1403
+ * Extended metadata (business hours, contact info, additional details)
1404
+ */
1405
+ meta?: {
1406
+ [key: string]: unknown;
1407
+ };
1408
+ /**
1409
+ * Data source for this profile
1410
+ */
1411
+ dataSource?: 'MANUAL' | 'IMPORT' | 'API' | 'CROWDSOURCED';
1412
+ /**
1413
+ * Whether the payee profile is active (soft delete)
1414
+ */
1415
+ isActive?: boolean;
1416
+ /**
1417
+ * Verification timestamp. Set to current time to verify, or null to unverify.
1418
+ */
1419
+ verifiedAt?: string | null;
1420
+ };
1421
+ type CreateCommodityDto = {
1422
+ /**
1423
+ * Commodity symbol (e.g., AAPL, USD, BTC) - corresponds to Beancount currency field
1424
+ */
1425
+ symbol: string;
1426
+ /**
1427
+ * Commodity definition date (ISO 8601, required per Beancount spec). Represents when this commodity was first defined in the accounting system.
1428
+ */
1429
+ date: string;
1430
+ /**
1431
+ * Metadata (corresponds to Beancount meta field). Can contain name, assetClass, precision, note, tags, etc.
1432
+ */
1433
+ metadata?: {
1434
+ [key: string]: unknown;
1435
+ };
1436
+ };
1130
1437
  type CommodityResponseDto = {
1131
1438
  /**
1132
1439
  * Unique identifier
@@ -1135,9 +1442,7 @@ type CommodityResponseDto = {
1135
1442
  /**
1136
1443
  * User ID (owner of the commodity)
1137
1444
  */
1138
- userId?: {
1139
- [key: string]: unknown;
1140
- } | null;
1445
+ userId?: string | null;
1141
1446
  /**
1142
1447
  * Commodity symbol (corresponds to Beancount currency field)
1143
1448
  */
@@ -1152,12 +1457,6 @@ type CommodityResponseDto = {
1152
1457
  metadata: {
1153
1458
  [key: string]: unknown;
1154
1459
  };
1155
- /**
1156
- * Reference to SymbolProfile (market data integration, SaaS feature)
1157
- */
1158
- symbolProfileId?: {
1159
- [key: string]: unknown;
1160
- } | null;
1161
1460
  /**
1162
1461
  * Creation timestamp
1163
1462
  */
@@ -1177,6 +1476,84 @@ type CommodityListResponseDto = {
1177
1476
  */
1178
1477
  total: number;
1179
1478
  };
1479
+ type UpdateCommodityDto = {
1480
+ /**
1481
+ * Commodity definition date (ISO 8601). Represents when this commodity was first defined in the accounting system.
1482
+ */
1483
+ date?: string;
1484
+ /**
1485
+ * Metadata (corresponds to Beancount meta field). Will merge with existing metadata. Can contain name, assetClass, precision, note, tags, etc.
1486
+ */
1487
+ metadata?: {
1488
+ [key: string]: unknown;
1489
+ };
1490
+ };
1491
+ type CreateRecurringRuleDto = {
1492
+ /**
1493
+ * Rule name (unique per user)
1494
+ */
1495
+ name: string;
1496
+ /**
1497
+ * Icon emoji
1498
+ */
1499
+ icon?: string;
1500
+ /**
1501
+ * Recurring frequency
1502
+ */
1503
+ frequency: 'WEEKLY' | 'BIWEEKLY' | 'MONTHLY' | 'BIMONTHLY' | 'QUARTERLY' | 'YEARLY' | 'CUSTOM';
1504
+ /**
1505
+ * Expected amount (positive number)
1506
+ */
1507
+ expectedAmount: number;
1508
+ /**
1509
+ * Expected day of month (1-31)
1510
+ */
1511
+ expectedDay?: number;
1512
+ /**
1513
+ * Custom interval in days (required for CUSTOM frequency)
1514
+ */
1515
+ customIntervalDays?: number;
1516
+ /**
1517
+ * Currency code
1518
+ */
1519
+ currency: string;
1520
+ /**
1521
+ * Payee matching pattern (supports wildcards)
1522
+ */
1523
+ matchPayeePattern?: string;
1524
+ /**
1525
+ * Amount tolerance percentage (0-1)
1526
+ */
1527
+ matchAmountTolerance: number;
1528
+ /**
1529
+ * Default expense account for auto-create
1530
+ */
1531
+ defaultExpenseAccount?: string;
1532
+ /**
1533
+ * Default payment account for auto-create
1534
+ */
1535
+ defaultPaymentAccount?: string;
1536
+ /**
1537
+ * Default payee for auto-create
1538
+ */
1539
+ defaultPayee?: string;
1540
+ /**
1541
+ * Auto-create transaction when expected date arrives
1542
+ */
1543
+ autoCreate: boolean;
1544
+ /**
1545
+ * Rule start date (ISO format)
1546
+ */
1547
+ startDate?: string;
1548
+ /**
1549
+ * Rule end date (ISO format)
1550
+ */
1551
+ endDate?: string;
1552
+ };
1553
+ /**
1554
+ * Recurring frequency
1555
+ */
1556
+ type frequency = 'WEEKLY' | 'BIWEEKLY' | 'MONTHLY' | 'BIMONTHLY' | 'QUARTERLY' | 'YEARLY' | 'CUSTOM';
1180
1557
  type RecurringRuleResponseDto = {
1181
1558
  /**
1182
1559
  * Rule ID
@@ -1285,6 +1662,20 @@ type RecurringRuleResponseDto = {
1285
1662
  */
1286
1663
  updatedAt: string;
1287
1664
  };
1665
+ type CreateRuleFromTransactionDto = {
1666
+ /**
1667
+ * Recurring frequency
1668
+ */
1669
+ frequency: 'WEEKLY' | 'BIWEEKLY' | 'MONTHLY' | 'BIMONTHLY' | 'QUARTERLY' | 'YEARLY' | 'CUSTOM';
1670
+ /**
1671
+ * Optional name override (default: transaction payee)
1672
+ */
1673
+ name?: string;
1674
+ /**
1675
+ * Optional icon emoji
1676
+ */
1677
+ icon?: string;
1678
+ };
1288
1679
  type RecurringRuleWithStatsResponseDto = {
1289
1680
  /**
1290
1681
  * Rule ID
@@ -1439,6 +1830,68 @@ type RecurringRuleWithStatsResponseDto = {
1439
1830
  */
1440
1831
  upcomingCount: number;
1441
1832
  };
1833
+ type UpdateRecurringRuleDto = {
1834
+ /**
1835
+ * Rule name
1836
+ */
1837
+ name?: string;
1838
+ /**
1839
+ * Icon emoji
1840
+ */
1841
+ icon?: string;
1842
+ /**
1843
+ * Recurring frequency
1844
+ */
1845
+ frequency?: 'WEEKLY' | 'BIWEEKLY' | 'MONTHLY' | 'BIMONTHLY' | 'QUARTERLY' | 'YEARLY' | 'CUSTOM';
1846
+ /**
1847
+ * Expected amount
1848
+ */
1849
+ expectedAmount?: number;
1850
+ /**
1851
+ * Expected day of month (1-31)
1852
+ */
1853
+ expectedDay?: number;
1854
+ /**
1855
+ * Custom interval in days
1856
+ */
1857
+ customIntervalDays?: number;
1858
+ /**
1859
+ * Currency code
1860
+ */
1861
+ currency?: string;
1862
+ /**
1863
+ * Payee matching pattern
1864
+ */
1865
+ matchPayeePattern?: string;
1866
+ /**
1867
+ * Amount tolerance percentage (0-1)
1868
+ */
1869
+ matchAmountTolerance?: number;
1870
+ /**
1871
+ * Default expense account
1872
+ */
1873
+ defaultExpenseAccount?: string;
1874
+ /**
1875
+ * Default payment account
1876
+ */
1877
+ defaultPaymentAccount?: string;
1878
+ /**
1879
+ * Default payee
1880
+ */
1881
+ defaultPayee?: string;
1882
+ /**
1883
+ * Auto-create transaction
1884
+ */
1885
+ autoCreate?: boolean;
1886
+ /**
1887
+ * Rule active status
1888
+ */
1889
+ isActive?: boolean;
1890
+ /**
1891
+ * Rule end date (ISO format)
1892
+ */
1893
+ endDate?: string;
1894
+ };
1442
1895
  type ExpectedTransactionRuleDto = {
1443
1896
  /**
1444
1897
  * Rule name
@@ -1526,6 +1979,34 @@ type ExpectedTransactionListResponseDto = {
1526
1979
  */
1527
1980
  total: number;
1528
1981
  };
1982
+ type ConfirmMatchDto = {
1983
+ /**
1984
+ * Transaction ID to match with
1985
+ */
1986
+ transactionId: string;
1987
+ };
1988
+ type EnterNowDto = {
1989
+ /**
1990
+ * Override expense account (uses rule default if not provided)
1991
+ */
1992
+ expenseAccount?: string;
1993
+ /**
1994
+ * Override payment account (uses rule default if not provided)
1995
+ */
1996
+ paymentAccount?: string;
1997
+ /**
1998
+ * Override amount (uses expected amount if not provided)
1999
+ */
2000
+ amount?: number;
2001
+ /**
2002
+ * Override payee (uses rule default if not provided)
2003
+ */
2004
+ payee?: string;
2005
+ /**
2006
+ * Optional narration
2007
+ */
2008
+ narration?: string;
2009
+ };
1529
2010
  type ForecastItemDto = {
1530
2011
  /**
1531
2012
  * Rule name
@@ -1546,9 +2027,7 @@ type ForecastItemDto = {
1546
2027
  /**
1547
2028
  * Rule icon emoji
1548
2029
  */
1549
- icon: {
1550
- [key: string]: unknown;
1551
- } | null;
2030
+ icon: string | null;
1552
2031
  /**
1553
2032
  * Currency code
1554
2033
  */
@@ -1606,6 +2085,50 @@ type ForecastResponseDto = {
1606
2085
  */
1607
2086
  periodEnd: string;
1608
2087
  };
2088
+ type CreateTransactionRuleDto = {
2089
+ name: string;
2090
+ description?: string;
2091
+ narrationKeywords?: Array<unknown[]>;
2092
+ payeeKeywords?: Array<unknown[]>;
2093
+ categoryKeywords?: Array<unknown[]>;
2094
+ /**
2095
+ * Payment method keywords (e.g., HuaBei, YuEBao)
2096
+ */
2097
+ methodKeywords?: Array<unknown[]>;
2098
+ /**
2099
+ * Destination account for expenses/income (e.g., Expenses:Food:Coffee)
2100
+ */
2101
+ categoryAccount?: string;
2102
+ matchLogic: 'OR' | 'AND';
2103
+ /**
2104
+ * Minimum transaction amount (inclusive)
2105
+ */
2106
+ amountMin?: number;
2107
+ /**
2108
+ * Maximum transaction amount (inclusive)
2109
+ */
2110
+ amountMax?: number;
2111
+ priority: number;
2112
+ additionalTags?: Array<unknown[]>;
2113
+ additionalMetadata?: {
2114
+ [key: string]: unknown;
2115
+ };
2116
+ /**
2117
+ * If true, update existing rule with matching payeeKeywords[0] instead of creating new rule
2118
+ */
2119
+ upsertByPayee?: boolean;
2120
+ };
2121
+ type matchLogic = 'OR' | 'AND';
2122
+ type AmountRangeDto = {
2123
+ /**
2124
+ * Minimum amount
2125
+ */
2126
+ min?: number;
2127
+ /**
2128
+ * Maximum amount
2129
+ */
2130
+ max?: number;
2131
+ };
1609
2132
  type TransactionRuleResponseDto = {
1610
2133
  /**
1611
2134
  * Rule ID
@@ -1646,9 +2169,7 @@ type TransactionRuleResponseDto = {
1646
2169
  /**
1647
2170
  * Amount range for matching
1648
2171
  */
1649
- amountRange?: {
1650
- [key: string]: unknown;
1651
- };
2172
+ amountRange?: AmountRangeDto;
1652
2173
  /**
1653
2174
  * Rule priority (0-1000, higher = first match)
1654
2175
  */
@@ -1660,7 +2181,7 @@ type TransactionRuleResponseDto = {
1660
2181
  /**
1661
2182
  * Learning source: NLP, REVIEW_CENTER, or null for manual
1662
2183
  */
1663
- learningSource?: 'NLP' | 'REVIEW_CENTER';
2184
+ learningSource?: 'NLP' | 'REVIEW_CENTER' | null;
1664
2185
  /**
1665
2186
  * Whether auto-apply is enabled for this rule
1666
2187
  */
@@ -1677,7 +2198,7 @@ type TransactionRuleResponseDto = {
1677
2198
  * Additional metadata
1678
2199
  */
1679
2200
  additionalMetadata?: {
1680
- [key: string]: unknown;
2201
+ [key: string]: string;
1681
2202
  };
1682
2203
  /**
1683
2204
  * Created timestamp
@@ -1688,10 +2209,6 @@ type TransactionRuleResponseDto = {
1688
2209
  */
1689
2210
  updatedAt: string;
1690
2211
  };
1691
- /**
1692
- * Keyword matching logic
1693
- */
1694
- type matchLogic = 'OR' | 'AND';
1695
2212
  /**
1696
2213
  * Learning source: NLP, REVIEW_CENTER, or null for manual
1697
2214
  */
@@ -1758,6 +2275,41 @@ type ValidateRuleResponseDto = {
1758
2275
  */
1759
2276
  warnings: Array<unknown[]>;
1760
2277
  };
2278
+ type BulkCreateRulesDto = {
2279
+ /**
2280
+ * Array of rules to import
2281
+ */
2282
+ rules: Array<unknown[]>;
2283
+ /**
2284
+ * Conflict handling strategy: skip (default) ignores duplicates, replace soft-deletes existing rule
2285
+ */
2286
+ conflictStrategy: 'replace' | 'skip';
2287
+ };
2288
+ /**
2289
+ * Conflict handling strategy: skip (default) ignores duplicates, replace soft-deletes existing rule
2290
+ */
2291
+ type conflictStrategy = 'replace' | 'skip';
2292
+ type BulkCreateRulesResponseDto = {
2293
+ /**
2294
+ * Number of successfully created rules
2295
+ */
2296
+ successCount: number;
2297
+ /**
2298
+ * Number of failed rules
2299
+ */
2300
+ failureCount: number;
2301
+ /**
2302
+ * Error details for failed rules
2303
+ */
2304
+ errors: Array<{
2305
+ index?: number;
2306
+ message?: string;
2307
+ }>;
2308
+ /**
2309
+ * IDs of successfully created rules
2310
+ */
2311
+ createdRuleIds: Array<string>;
2312
+ };
1761
2313
  type ExportRulesResponseDto = {
1762
2314
  /**
1763
2315
  * Export timestamp
@@ -1811,6 +2363,39 @@ type RuleStatisticsResponseDto = {
1811
2363
  * Statistics time period
1812
2364
  */
1813
2365
  type period = '7d' | '30d' | '90d';
2366
+ type UpdateTransactionRuleDto = {
2367
+ name?: string;
2368
+ description?: string;
2369
+ narrationKeywords?: Array<unknown[]>;
2370
+ payeeKeywords?: Array<unknown[]>;
2371
+ categoryKeywords?: Array<unknown[]>;
2372
+ /**
2373
+ * Payment method keywords (e.g., HuaBei, YuEBao)
2374
+ */
2375
+ methodKeywords?: Array<unknown[]>;
2376
+ /**
2377
+ * Destination account for expenses/income (e.g., Expenses:Food:Coffee)
2378
+ */
2379
+ categoryAccount?: string;
2380
+ matchLogic?: 'OR' | 'AND';
2381
+ /**
2382
+ * Minimum transaction amount (inclusive)
2383
+ */
2384
+ amountMin?: number;
2385
+ /**
2386
+ * Maximum transaction amount (inclusive)
2387
+ */
2388
+ amountMax?: number;
2389
+ priority?: number;
2390
+ /**
2391
+ * Enable or disable the rule
2392
+ */
2393
+ enabled?: boolean;
2394
+ additionalTags?: Array<unknown[]>;
2395
+ additionalMetadata?: {
2396
+ [key: string]: unknown;
2397
+ };
2398
+ };
1814
2399
  type TestRuleDto = {
1815
2400
  narration: string;
1816
2401
  payee?: string;
@@ -1944,6 +2529,12 @@ type colorScheme = 'DARK' | 'LIGHT';
1944
2529
  * View mode
1945
2530
  */
1946
2531
  type viewMode = 'DEFAULT' | 'ZEN';
2532
+ type UpdatePropertyDto = {
2533
+ /**
2534
+ * Property value
2535
+ */
2536
+ value: string;
2537
+ };
1947
2538
  type FileImportDto = {
1948
2539
  /**
1949
2540
  * Bill file to import (CSV, PDF, OFX, etc.)
@@ -2138,20 +2729,120 @@ type ImporterConfigDto = {
2138
2729
  /**
2139
2730
  * Configuration data (validated against Zod schema)
2140
2731
  */
2141
- config: VersionedConfigDto;
2732
+ config: VersionedConfigDto;
2733
+ /**
2734
+ * Creation timestamp
2735
+ */
2736
+ createdAt: string;
2737
+ /**
2738
+ * Last update timestamp
2739
+ */
2740
+ updatedAt: string;
2741
+ };
2742
+ /**
2743
+ * Importer identifier
2744
+ */
2745
+ 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';
2746
+ type UpdateMapperDefaultsDto = {
2747
+ /**
2748
+ * Source account for transactions (Beancount format)
2749
+ */
2750
+ sourceAccount?: string;
2751
+ /**
2752
+ * Default currency (ISO 4217 code)
2753
+ */
2754
+ currency?: string;
2755
+ /**
2756
+ * Default expense account (optional)
2757
+ */
2758
+ expenseAccount?: string;
2759
+ /**
2760
+ * Default income account (optional)
2761
+ */
2762
+ incomeAccount?: string;
2763
+ /**
2764
+ * 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).
2765
+ */
2766
+ methodAccountMapping?: {
2767
+ [key: string]: unknown;
2768
+ };
2769
+ };
2770
+ type UpdateConfigDataDto = {
2771
+ /**
2772
+ * Mapper defaults configuration
2773
+ */
2774
+ defaults?: UpdateMapperDefaultsDto;
2775
+ };
2776
+ type UpdateImporterConfigDto = {
2777
+ /**
2778
+ * Configuration data (v1 schema)
2779
+ */
2780
+ data?: UpdateConfigDataDto;
2781
+ };
2782
+ type CreatePlatformDto = {
2783
+ /**
2784
+ * Platform name
2785
+ */
2786
+ name: string;
2787
+ /**
2788
+ * Platform canonical identifier (lowercase, kebab-case)
2789
+ */
2790
+ canonical: string;
2791
+ /**
2792
+ * Platform aliases (multi-language names for lookup)
2793
+ */
2794
+ aliases: Array<string>;
2795
+ /**
2796
+ * Platform URL
2797
+ */
2798
+ url: string;
2799
+ /**
2800
+ * Platform type
2801
+ */
2802
+ type: 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
2803
+ /**
2804
+ * Platform logo URL
2805
+ */
2806
+ logoUrl?: string;
2807
+ /**
2808
+ * Whether the platform is active
2809
+ */
2810
+ isActive?: boolean;
2811
+ };
2812
+ /**
2813
+ * Platform type
2814
+ */
2815
+ type type3 = 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
2816
+ type UpdatePlatformDto = {
2817
+ /**
2818
+ * Platform name
2819
+ */
2820
+ name?: string;
2821
+ /**
2822
+ * Platform canonical identifier (lowercase, kebab-case)
2823
+ */
2824
+ canonical?: string;
2825
+ /**
2826
+ * Platform aliases (multi-language names for lookup)
2827
+ */
2828
+ aliases?: Array<string>;
2829
+ /**
2830
+ * Platform URL
2831
+ */
2832
+ url?: string;
2833
+ /**
2834
+ * Platform type
2835
+ */
2836
+ type?: 'BANK' | 'BROKERAGE' | 'CRYPTO_EXCHANGE' | 'PAYMENT' | 'INVESTMENT' | 'INSURANCE' | 'OTHER';
2142
2837
  /**
2143
- * Creation timestamp
2838
+ * Platform logo URL
2144
2839
  */
2145
- createdAt: string;
2840
+ logoUrl?: string;
2146
2841
  /**
2147
- * Last update timestamp
2842
+ * Whether the platform is active
2148
2843
  */
2149
- updatedAt: string;
2844
+ isActive?: boolean;
2150
2845
  };
2151
- /**
2152
- * Importer identifier
2153
- */
2154
- 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';
2155
2846
  type ProviderSyncConfigDto = {
2156
2847
  /**
2157
2848
  * Source account for the first posting
@@ -2234,6 +2925,12 @@ type ProcessNlpDto = {
2234
2925
  * Session ID for multi-turn conversation (auto-generated if not provided)
2235
2926
  */
2236
2927
  sessionId?: string;
2928
+ /**
2929
+ * Parsed data from previous NLP response for session recovery. Send back the parsedData received in confirm_payee/confirm responses.
2930
+ */
2931
+ parsedData?: {
2932
+ [key: string]: unknown;
2933
+ };
2237
2934
  };
2238
2935
  type NlpTransactionInfoDto = {
2239
2936
  /**
@@ -3204,7 +3901,7 @@ type AccountControllerCreateData = {
3204
3901
  /**
3205
3902
  * Region code for tenant context
3206
3903
  */
3207
- region: 'cn' | 'us' | 'de';
3904
+ region: 'cn' | 'us' | 'de' | 'gb';
3208
3905
  requestBody: CreateAccountDto;
3209
3906
  };
3210
3907
  type AccountControllerCreateResponse = AccountResponseDto;
@@ -3224,7 +3921,7 @@ type AccountControllerFindAllData = {
3224
3921
  /**
3225
3922
  * Region code for tenant context
3226
3923
  */
3227
- region: 'cn' | 'us' | 'de';
3924
+ region: 'cn' | 'us' | 'de' | 'gb';
3228
3925
  /**
3229
3926
  * Search term for path or i18nKey
3230
3927
  */
@@ -3247,7 +3944,7 @@ type AccountControllerFindOneData = {
3247
3944
  /**
3248
3945
  * Region code for tenant context
3249
3946
  */
3250
- region: 'cn' | 'us' | 'de';
3947
+ region: 'cn' | 'us' | 'de' | 'gb';
3251
3948
  };
3252
3949
  type AccountControllerFindOneResponse = AccountResponseDto;
3253
3950
  type AccountControllerUpdateData = {
@@ -3258,7 +3955,7 @@ type AccountControllerUpdateData = {
3258
3955
  /**
3259
3956
  * Region code for tenant context
3260
3957
  */
3261
- region: 'cn' | 'us' | 'de';
3958
+ region: 'cn' | 'us' | 'de' | 'gb';
3262
3959
  requestBody: UpdateAccountDto;
3263
3960
  };
3264
3961
  type AccountControllerUpdateResponse = AccountResponseDto;
@@ -3270,7 +3967,7 @@ type AccountControllerDeleteData = {
3270
3967
  /**
3271
3968
  * Region code for tenant context
3272
3969
  */
3273
- region: 'cn' | 'us' | 'de';
3970
+ region: 'cn' | 'us' | 'de' | 'gb';
3274
3971
  };
3275
3972
  type AccountControllerDeleteResponse = void;
3276
3973
  type AccountControllerCloseData = {
@@ -3281,7 +3978,7 @@ type AccountControllerCloseData = {
3281
3978
  /**
3282
3979
  * Region code for tenant context
3283
3980
  */
3284
- region: 'cn' | 'us' | 'de';
3981
+ region: 'cn' | 'us' | 'de' | 'gb';
3285
3982
  requestBody: CloseAccountDto;
3286
3983
  };
3287
3984
  type AccountControllerCloseResponse = AccountResponseDto;
@@ -3293,15 +3990,48 @@ type AccountControllerReopenData = {
3293
3990
  /**
3294
3991
  * Region code for tenant context
3295
3992
  */
3296
- region: 'cn' | 'us' | 'de';
3993
+ region: 'cn' | 'us' | 'de' | 'gb';
3297
3994
  requestBody: ReopenAccountDto;
3298
3995
  };
3299
3996
  type AccountControllerReopenResponse = AccountResponseDto;
3997
+ type AccountStandardsControllerGetTemplatesData = {
3998
+ /**
3999
+ * Region code (cn, us, de)
4000
+ */
4001
+ region: 'cn' | 'us' | 'de' | 'gb';
4002
+ /**
4003
+ * Search term for path or description
4004
+ */
4005
+ search?: string;
4006
+ /**
4007
+ * Filter by account type
4008
+ */
4009
+ type?: 'Assets' | 'Liabilities' | 'Income' | 'Expenses' | 'Equity';
4010
+ };
4011
+ type AccountStandardsControllerGetTemplatesResponse = AccountStandardListResponseDto;
4012
+ type AccountStandardsControllerGetTemplateMetadataData = {
4013
+ /**
4014
+ * Account path to check
4015
+ */
4016
+ path: string;
4017
+ /**
4018
+ * Region code for tenant context
4019
+ */
4020
+ region: 'cn' | 'us' | 'de' | 'gb';
4021
+ };
4022
+ type AccountStandardsControllerGetTemplateMetadataResponse = TemplateMetadataResponseDto;
4023
+ type AccountStandardsControllerGetRegionsData = {
4024
+ /**
4025
+ * Region code for tenant context
4026
+ */
4027
+ region: 'cn' | 'us' | 'de' | 'gb';
4028
+ };
4029
+ type AccountStandardsControllerGetRegionsResponse = RegionsMetadataResponseDto;
3300
4030
  type TransactionControllerCreateData = {
3301
4031
  /**
3302
4032
  * Region code for tenant context
3303
4033
  */
3304
- region: 'cn' | 'us' | 'de';
4034
+ region: 'cn' | 'us' | 'de' | 'gb';
3305
4035
  /**
3306
4036
  * Transaction data with postings
3307
4037
  */
@@ -3332,7 +4062,7 @@ type TransactionControllerListData = {
3332
4062
  /**
3333
4063
  * Region code for tenant context
3334
4064
  */
3335
- region: 'cn' | 'us' | 'de';
4065
+ region: 'cn' | 'us' | 'de' | 'gb';
3336
4066
  /**
3337
4067
  * Search in narration and payee fields (max 200 chars)
3338
4068
  */
@@ -3343,13 +4073,14 @@ type TransactionControllerListData = {
3343
4073
  status?: 'ACTIVE' | 'VOIDED' | 'SUPERSEDED';
3344
4074
  };
3345
4075
  type TransactionControllerListResponse = TransactionListResponseDto;
3346
- type TransactionControllerData = {
4076
+ type TransactionControllerCreateBatchData = {
3347
4077
  /**
3348
4078
  * Region code for tenant context
3349
4079
  */
3350
- region: 'cn' | 'us' | 'de';
4080
+ region: 'cn' | 'us' | 'de' | 'gb';
4081
+ requestBody: BatchCreateTransactionDto;
3351
4082
  };
3352
- type TransactionControllerResponse = unknown;
4083
+ type TransactionControllerCreateBatchResponse = BatchTransactionResponseDto;
3353
4084
  type TransactionControllerGetDetailData = {
3354
4085
  /**
3355
4086
  * Transaction ID
@@ -3358,7 +4089,7 @@ type TransactionControllerGetDetailData = {
3358
4089
  /**
3359
4090
  * Region code for tenant context
3360
4091
  */
3361
- region: 'cn' | 'us' | 'de';
4092
+ region: 'cn' | 'us' | 'de' | 'gb';
3362
4093
  };
3363
4094
  type TransactionControllerGetDetailResponse = TransactionDetailDto;
3364
4095
  type TransactionControllerUpdateData = {
@@ -3369,36 +4100,24 @@ type TransactionControllerUpdateData = {
3369
4100
  /**
3370
4101
  * Region code for tenant context
3371
4102
  */
3372
- region: 'cn' | 'us' | 'de';
4103
+ region: 'cn' | 'us' | 'de' | 'gb';
3373
4104
  /**
3374
4105
  * Fields to update (all optional)
3375
4106
  */
3376
4107
  requestBody: UpdateTransactionDto;
3377
4108
  };
3378
4109
  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';
4110
+ type TransactionControllerDeleteData = {
3391
4111
  /**
3392
- * Search term for path or description
4112
+ * Transaction ID
3393
4113
  */
3394
- search?: string;
4114
+ id: string;
3395
4115
  /**
3396
- * Filter by account type
4116
+ * Region code for tenant context
3397
4117
  */
3398
- type?: 'Assets' | 'Liabilities' | 'Income' | 'Expenses' | 'Equity';
4118
+ region: 'cn' | 'us' | 'de' | 'gb';
3399
4119
  };
3400
- type AccountStandardsControllerGetTemplatesResponse = AccountStandardListResponseDto;
3401
- type AccountStandardsControllerGetRegionsResponse = RegionsMetadataResponseDto;
4120
+ type TransactionControllerDeleteResponse = void;
3402
4121
  type BalanceControllerGetBalanceData = {
3403
4122
  /**
3404
4123
  * Account name (e.g., "Assets:Bank:Checking")
@@ -3412,8 +4131,18 @@ type BalanceControllerGetBalanceData = {
3412
4131
  * Date to calculate balance at (ISO 8601 format)
3413
4132
  */
3414
4133
  date?: string;
4134
+ /**
4135
+ * Region code for tenant context
4136
+ */
4137
+ region: 'cn' | 'us' | 'de' | 'gb';
3415
4138
  };
3416
4139
  type BalanceControllerGetBalanceResponse = BalanceResponseDto;
4140
+ type BalanceControllerGetMultiCurrencyBalanceData = {
4141
+ /**
4142
+ * Region code for tenant context
4143
+ */
4144
+ region: 'cn' | 'us' | 'de' | 'gb';
4145
+ };
3417
4146
  type BalanceControllerGetMultiCurrencyBalanceResponse = MultiCurrencyBalanceResponseDto;
3418
4147
  type ReviewControllerFindAllData = {
3419
4148
  /**
@@ -3431,7 +4160,7 @@ type ReviewControllerFindAllData = {
3431
4160
  /**
3432
4161
  * Region code for tenant context
3433
4162
  */
3434
- region: 'cn' | 'us' | 'de';
4163
+ region: 'cn' | 'us' | 'de' | 'gb';
3435
4164
  /**
3436
4165
  * Sort order
3437
4166
  */
@@ -3446,7 +4175,7 @@ type ReviewControllerGetStatsData = {
3446
4175
  /**
3447
4176
  * Region code for tenant context
3448
4177
  */
3449
- region: 'cn' | 'us' | 'de';
4178
+ region: 'cn' | 'us' | 'de' | 'gb';
3450
4179
  };
3451
4180
  type ReviewControllerGetStatsResponse = ReviewStatsDto;
3452
4181
  type ReviewControllerFindOneData = {
@@ -3457,31 +4186,47 @@ type ReviewControllerFindOneData = {
3457
4186
  /**
3458
4187
  * Region code for tenant context
3459
4188
  */
3460
- region: 'cn' | 'us' | 'de';
4189
+ region: 'cn' | 'us' | 'de' | 'gb';
3461
4190
  };
3462
4191
  type ReviewControllerFindOneResponse = ReviewDetailDto;
3463
- type ReviewControllerData = {
4192
+ type ReviewControllerResolveData = {
4193
+ /**
4194
+ * Review ID
4195
+ */
4196
+ id: string;
3464
4197
  /**
3465
4198
  * Region code for tenant context
3466
4199
  */
3467
- region: 'cn' | 'us' | 'de';
4200
+ region: 'cn' | 'us' | 'de' | 'gb';
4201
+ requestBody: ResolveReviewDto;
3468
4202
  };
3469
- type ReviewControllerResponse = unknown;
3470
- type ReviewController1Data = {
4203
+ type ReviewControllerResolveResponse = ResolveResultDto;
4204
+ type ReviewControllerUndoData = {
4205
+ /**
4206
+ * Review ID
4207
+ */
4208
+ id: string;
3471
4209
  /**
3472
4210
  * Region code for tenant context
3473
4211
  */
3474
- region: 'cn' | 'us' | 'de';
4212
+ region: 'cn' | 'us' | 'de' | 'gb';
3475
4213
  };
3476
- type ReviewController1Response = unknown;
3477
- type ReviewController2Data = {
4214
+ type ReviewControllerUndoResponse = UndoResultDto;
4215
+ type ReviewControllerBatchResolveData = {
3478
4216
  /**
3479
4217
  * Region code for tenant context
3480
4218
  */
3481
- region: 'cn' | 'us' | 'de';
4219
+ region: 'cn' | 'us' | 'de' | 'gb';
4220
+ /**
4221
+ * Batch resolution request containing review IDs and action
4222
+ */
4223
+ requestBody: BatchResolveDto;
3482
4224
  };
3483
- type ReviewController2Response = unknown;
3484
- type PayeeControllerResponse = unknown;
4225
+ type ReviewControllerBatchResolveResponse = BatchResolveResultDto;
4226
+ type PayeeControllerCreateData = {
4227
+ requestBody: CreatePayeeDto;
4228
+ };
4229
+ type PayeeControllerCreateResponse = PayeeResponseDto;
3485
4230
  type PayeeControllerFindAllData = {
3486
4231
  /**
3487
4232
  * Filter by custom category
@@ -3530,9 +4275,25 @@ type PayeeControllerFindOneData = {
3530
4275
  id: string;
3531
4276
  };
3532
4277
  type PayeeControllerFindOneResponse = PayeeResponseDto;
3533
- type PayeeController1Response = unknown;
3534
- type PayeeController2Response = void;
3535
- type PayeeProfileAdminControllerResponse = unknown;
4278
+ type PayeeControllerUpdateData = {
4279
+ /**
4280
+ * Payee UUID
4281
+ */
4282
+ id: string;
4283
+ requestBody: UpdatePayeeDto;
4284
+ };
4285
+ type PayeeControllerUpdateResponse = PayeeResponseDto;
4286
+ type PayeeControllerDeleteData = {
4287
+ /**
4288
+ * Payee UUID
4289
+ */
4290
+ id: string;
4291
+ };
4292
+ type PayeeControllerDeleteResponse = void;
4293
+ type PayeeProfileAdminControllerCreateData = {
4294
+ requestBody: CreatePayeeProfileDto;
4295
+ };
4296
+ type PayeeProfileAdminControllerCreateResponse = PayeeProfileResponseDto;
3536
4297
  type PayeeProfileAdminControllerFindAllData = {
3537
4298
  /**
3538
4299
  * Filter by category
@@ -3567,22 +4328,48 @@ type PayeeProfileAdminControllerFindOneData = {
3567
4328
  id: string;
3568
4329
  };
3569
4330
  type PayeeProfileAdminControllerFindOneResponse = PayeeProfileResponseDto;
3570
- type PayeeProfileAdminController1Response = unknown;
3571
- type PayeeProfileAdminController2Response = void;
3572
- type PayeeProfileAdminController3Response = unknown;
3573
- type PayeeProfileAdminController4Response = unknown;
3574
- type CommodityControllerData = {
4331
+ type PayeeProfileAdminControllerUpdateData = {
4332
+ /**
4333
+ * Payee profile ID (UUID)
4334
+ */
4335
+ id: string;
4336
+ requestBody: UpdatePayeeProfileDto;
4337
+ };
4338
+ type PayeeProfileAdminControllerUpdateResponse = PayeeProfileResponseDto;
4339
+ type PayeeProfileAdminControllerDeleteData = {
4340
+ /**
4341
+ * Payee profile ID (UUID)
4342
+ */
4343
+ id: string;
4344
+ };
4345
+ type PayeeProfileAdminControllerDeleteResponse = void;
4346
+ type PayeeProfileAdminControllerVerifyData = {
4347
+ /**
4348
+ * Payee profile ID (UUID)
4349
+ */
4350
+ id: string;
4351
+ };
4352
+ type PayeeProfileAdminControllerVerifyResponse = PayeeProfileResponseDto;
4353
+ type PayeeProfileAdminControllerUnverifyData = {
4354
+ /**
4355
+ * Payee profile ID (UUID)
4356
+ */
4357
+ id: string;
4358
+ };
4359
+ type PayeeProfileAdminControllerUnverifyResponse = PayeeProfileResponseDto;
4360
+ type CommodityControllerCreateData = {
3575
4361
  /**
3576
4362
  * Region code for tenant context
3577
4363
  */
3578
- region: 'cn' | 'us' | 'de';
4364
+ region: 'cn' | 'us' | 'de' | 'gb';
4365
+ requestBody: CreateCommodityDto;
3579
4366
  };
3580
- type CommodityControllerResponse = unknown;
4367
+ type CommodityControllerCreateResponse = CommodityResponseDto;
3581
4368
  type CommodityControllerFindAllData = {
3582
4369
  /**
3583
4370
  * Region code for tenant context
3584
4371
  */
3585
- region: 'cn' | 'us' | 'de';
4372
+ region: 'cn' | 'us' | 'de' | 'gb';
3586
4373
  /**
3587
4374
  * Search term for symbol or metadata fields (partial match). Searches symbol and metadata.name.
3588
4375
  */
@@ -3597,48 +4384,62 @@ type CommodityControllerFindOneData = {
3597
4384
  /**
3598
4385
  * Region code for tenant context
3599
4386
  */
3600
- region: 'cn' | 'us' | 'de';
4387
+ region: 'cn' | 'us' | 'de' | 'gb';
3601
4388
  /**
3602
4389
  * Commodity symbol
3603
4390
  */
3604
4391
  symbol: string;
3605
4392
  };
3606
4393
  type CommodityControllerFindOneResponse = CommodityResponseDto;
3607
- type CommodityController1Data = {
4394
+ type CommodityControllerUpdateData = {
3608
4395
  /**
3609
4396
  * Region code for tenant context
3610
4397
  */
3611
- region: 'cn' | 'us' | 'de';
4398
+ region: 'cn' | 'us' | 'de' | 'gb';
4399
+ requestBody: UpdateCommodityDto;
4400
+ /**
4401
+ * Commodity symbol
4402
+ */
4403
+ symbol: string;
3612
4404
  };
3613
- type CommodityController1Response = unknown;
3614
- type CommodityController2Data = {
4405
+ type CommodityControllerUpdateResponse = CommodityResponseDto;
4406
+ type CommodityControllerDeleteData = {
3615
4407
  /**
3616
4408
  * Region code for tenant context
3617
4409
  */
3618
- region: 'cn' | 'us' | 'de';
4410
+ region: 'cn' | 'us' | 'de' | 'gb';
4411
+ /**
4412
+ * Commodity symbol
4413
+ */
4414
+ symbol: string;
3619
4415
  };
3620
- type CommodityController2Response = void;
3621
- type CommodityController3Data = {
4416
+ type CommodityControllerDeleteResponse = void;
4417
+ type CommodityControllerGetOrCreateData = {
3622
4418
  /**
3623
4419
  * Region code for tenant context
3624
4420
  */
3625
- region: 'cn' | 'us' | 'de';
4421
+ region: 'cn' | 'us' | 'de' | 'gb';
4422
+ /**
4423
+ * Commodity symbol
4424
+ */
4425
+ symbol: string;
3626
4426
  };
3627
- type CommodityController3Response = unknown;
3628
- type CommodityController4Data = {
4427
+ type CommodityControllerGetOrCreateResponse = CommodityResponseDto;
4428
+ type CommodityControllerBulkCreateData = {
3629
4429
  /**
3630
4430
  * Region code for tenant context
3631
4431
  */
3632
- region: 'cn' | 'us' | 'de';
4432
+ region: 'cn' | 'us' | 'de' | 'gb';
3633
4433
  };
3634
- type CommodityController4Response = unknown;
3635
- type RecurringRuleControllerData = {
4434
+ type CommodityControllerBulkCreateResponse = Array<CommodityResponseDto>;
4435
+ type RecurringRuleControllerCreateData = {
3636
4436
  /**
3637
4437
  * Region code for tenant context
3638
4438
  */
3639
- region: 'cn' | 'us' | 'de';
4439
+ region: 'cn' | 'us' | 'de' | 'gb';
4440
+ requestBody: CreateRecurringRuleDto;
3640
4441
  };
3641
- type RecurringRuleControllerResponse = unknown;
4442
+ type RecurringRuleControllerCreateResponse = RecurringRuleResponseDto;
3642
4443
  type RecurringRuleControllerFindAllData = {
3643
4444
  /**
3644
4445
  * Filter by frequency (WEEKLY, MONTHLY, etc.)
@@ -3655,16 +4456,21 @@ type RecurringRuleControllerFindAllData = {
3655
4456
  /**
3656
4457
  * Region code for tenant context
3657
4458
  */
3658
- region: 'cn' | 'us' | 'de';
4459
+ region: 'cn' | 'us' | 'de' | 'gb';
3659
4460
  };
3660
4461
  type RecurringRuleControllerFindAllResponse = Array<RecurringRuleResponseDto>;
3661
- type RecurringRuleController1Data = {
4462
+ type RecurringRuleControllerCreateFromTransactionData = {
3662
4463
  /**
3663
4464
  * Region code for tenant context
3664
4465
  */
3665
- region: 'cn' | 'us' | 'de';
4466
+ region: 'cn' | 'us' | 'de' | 'gb';
4467
+ requestBody: CreateRuleFromTransactionDto;
4468
+ /**
4469
+ * Source transaction ID
4470
+ */
4471
+ transactionId: string;
3666
4472
  };
3667
- type RecurringRuleController1Response = unknown;
4473
+ type RecurringRuleControllerCreateFromTransactionResponse = RecurringRuleResponseDto;
3668
4474
  type RecurringRuleControllerFindOneData = {
3669
4475
  /**
3670
4476
  * Rule ID
@@ -3673,23 +4479,32 @@ type RecurringRuleControllerFindOneData = {
3673
4479
  /**
3674
4480
  * Region code for tenant context
3675
4481
  */
3676
- region: 'cn' | 'us' | 'de';
4482
+ region: 'cn' | 'us' | 'de' | 'gb';
3677
4483
  };
3678
4484
  type RecurringRuleControllerFindOneResponse = RecurringRuleResponseDto;
3679
- type RecurringRuleController2Data = {
4485
+ type RecurringRuleControllerUpdateData = {
4486
+ /**
4487
+ * Rule ID
4488
+ */
4489
+ id: string;
3680
4490
  /**
3681
4491
  * Region code for tenant context
3682
4492
  */
3683
- region: 'cn' | 'us' | 'de';
4493
+ region: 'cn' | 'us' | 'de' | 'gb';
4494
+ requestBody: UpdateRecurringRuleDto;
3684
4495
  };
3685
- type RecurringRuleController2Response = unknown;
3686
- type RecurringRuleController3Data = {
4496
+ type RecurringRuleControllerUpdateResponse = RecurringRuleResponseDto;
4497
+ type RecurringRuleControllerDeleteData = {
4498
+ /**
4499
+ * Rule ID
4500
+ */
4501
+ id: string;
3687
4502
  /**
3688
4503
  * Region code for tenant context
3689
4504
  */
3690
- region: 'cn' | 'us' | 'de';
4505
+ region: 'cn' | 'us' | 'de' | 'gb';
3691
4506
  };
3692
- type RecurringRuleController3Response = void;
4507
+ type RecurringRuleControllerDeleteResponse = void;
3693
4508
  type RecurringRuleControllerGetWithStatsData = {
3694
4509
  /**
3695
4510
  * Rule ID
@@ -3698,7 +4513,7 @@ type RecurringRuleControllerGetWithStatsData = {
3698
4513
  /**
3699
4514
  * Region code for tenant context
3700
4515
  */
3701
- region: 'cn' | 'us' | 'de';
4516
+ region: 'cn' | 'us' | 'de' | 'gb';
3702
4517
  };
3703
4518
  type RecurringRuleControllerGetWithStatsResponse = RecurringRuleWithStatsResponseDto;
3704
4519
  type ExpectedTransactionControllerFindAllData = {
@@ -3709,7 +4524,7 @@ type ExpectedTransactionControllerFindAllData = {
3709
4524
  /**
3710
4525
  * Region code for tenant context
3711
4526
  */
3712
- region: 'cn' | 'us' | 'de';
4527
+ region: 'cn' | 'us' | 'de' | 'gb';
3713
4528
  /**
3714
4529
  * Filter by recurring rule ID
3715
4530
  */
@@ -3728,7 +4543,7 @@ type ExpectedTransactionControllerFindOverdueData = {
3728
4543
  /**
3729
4544
  * Region code for tenant context
3730
4545
  */
3731
- region: 'cn' | 'us' | 'de';
4546
+ region: 'cn' | 'us' | 'de' | 'gb';
3732
4547
  };
3733
4548
  type ExpectedTransactionControllerFindOverdueResponse = ExpectedTransactionListResponseDto;
3734
4549
  type ExpectedTransactionControllerFindOneData = {
@@ -3739,58 +4554,85 @@ type ExpectedTransactionControllerFindOneData = {
3739
4554
  /**
3740
4555
  * Region code for tenant context
3741
4556
  */
3742
- region: 'cn' | 'us' | 'de';
4557
+ region: 'cn' | 'us' | 'de' | 'gb';
3743
4558
  };
3744
4559
  type ExpectedTransactionControllerFindOneResponse = ExpectedTransactionResponseDto;
3745
- type ExpectedTransactionControllerData = {
4560
+ type ExpectedTransactionControllerSkipData = {
4561
+ /**
4562
+ * Expected transaction ID
4563
+ */
4564
+ id: string;
3746
4565
  /**
3747
4566
  * Region code for tenant context
3748
4567
  */
3749
- region: 'cn' | 'us' | 'de';
4568
+ region: 'cn' | 'us' | 'de' | 'gb';
3750
4569
  };
3751
- type ExpectedTransactionControllerResponse = unknown;
3752
- type ExpectedTransactionController1Data = {
4570
+ type ExpectedTransactionControllerSkipResponse = ExpectedTransactionResponseDto;
4571
+ type ExpectedTransactionControllerUndoSkipData = {
4572
+ /**
4573
+ * Expected transaction ID
4574
+ */
4575
+ id: string;
3753
4576
  /**
3754
4577
  * Region code for tenant context
3755
4578
  */
3756
- region: 'cn' | 'us' | 'de';
4579
+ region: 'cn' | 'us' | 'de' | 'gb';
3757
4580
  };
3758
- type ExpectedTransactionController1Response = unknown;
3759
- type ExpectedTransactionController2Data = {
4581
+ type ExpectedTransactionControllerUndoSkipResponse = ExpectedTransactionResponseDto;
4582
+ type ExpectedTransactionControllerConfirmMatchData = {
4583
+ /**
4584
+ * Expected transaction ID
4585
+ */
4586
+ id: string;
3760
4587
  /**
3761
4588
  * Region code for tenant context
3762
4589
  */
3763
- region: 'cn' | 'us' | 'de';
4590
+ region: 'cn' | 'us' | 'de' | 'gb';
4591
+ requestBody: ConfirmMatchDto;
3764
4592
  };
3765
- type ExpectedTransactionController2Response = unknown;
3766
- type ExpectedTransactionController3Data = {
4593
+ type ExpectedTransactionControllerConfirmMatchResponse = unknown;
4594
+ type ExpectedTransactionControllerUnmatchData = {
4595
+ /**
4596
+ * Expected transaction ID
4597
+ */
4598
+ id: string;
3767
4599
  /**
3768
4600
  * Region code for tenant context
3769
4601
  */
3770
- region: 'cn' | 'us' | 'de';
4602
+ region: 'cn' | 'us' | 'de' | 'gb';
3771
4603
  };
3772
- type ExpectedTransactionController3Response = unknown;
3773
- type ExpectedTransactionController4Data = {
4604
+ type ExpectedTransactionControllerUnmatchResponse = unknown;
4605
+ type ExpectedTransactionControllerEnterNowData = {
4606
+ /**
4607
+ * Expected transaction ID
4608
+ */
4609
+ id: string;
3774
4610
  /**
3775
4611
  * Region code for tenant context
3776
4612
  */
3777
- region: 'cn' | 'us' | 'de';
4613
+ region: 'cn' | 'us' | 'de' | 'gb';
4614
+ requestBody: EnterNowDto;
3778
4615
  };
3779
- type ExpectedTransactionController4Response = unknown;
4616
+ type ExpectedTransactionControllerEnterNowResponse = unknown;
3780
4617
  type ForecastControllerGetForecastData = {
3781
4618
  /**
3782
4619
  * Number of months to forecast (1-12, default 3)
3783
4620
  */
3784
4621
  months?: number;
4622
+ /**
4623
+ * Region code for tenant context
4624
+ */
4625
+ region: 'cn' | 'us' | 'de' | 'gb';
3785
4626
  };
3786
4627
  type ForecastControllerGetForecastResponse = ForecastResponseDto;
3787
- type TransactionRuleControllerData = {
4628
+ type TransactionRuleControllerCreateData = {
3788
4629
  /**
3789
4630
  * Region code for tenant context
3790
4631
  */
3791
- region: 'cn' | 'us' | 'de';
4632
+ region: 'cn' | 'us' | 'de' | 'gb';
4633
+ requestBody: CreateTransactionRuleDto;
3792
4634
  };
3793
- type TransactionRuleControllerResponse = unknown;
4635
+ type TransactionRuleControllerCreateResponse = TransactionRuleResponseDto;
3794
4636
  type TransactionRuleControllerListData = {
3795
4637
  /**
3796
4638
  * Filter by auto-apply status
@@ -3815,24 +4657,25 @@ type TransactionRuleControllerListData = {
3815
4657
  /**
3816
4658
  * Region code for tenant context
3817
4659
  */
3818
- region: 'cn' | 'us' | 'de';
4660
+ region: 'cn' | 'us' | 'de' | 'gb';
3819
4661
  };
3820
4662
  type TransactionRuleControllerListResponse = TransactionRuleListResponseDto;
3821
4663
  type TransactionRuleControllerValidateData = {
3822
4664
  /**
3823
4665
  * Region code for tenant context
3824
4666
  */
3825
- region: 'cn' | 'us' | 'de';
4667
+ region: 'cn' | 'us' | 'de' | 'gb';
3826
4668
  requestBody: ValidateRuleDto;
3827
4669
  };
3828
4670
  type TransactionRuleControllerValidateResponse = ValidateRuleResponseDto;
3829
- type TransactionRuleController1Data = {
4671
+ type TransactionRuleControllerBulkCreateData = {
3830
4672
  /**
3831
4673
  * Region code for tenant context
3832
4674
  */
3833
- region: 'cn' | 'us' | 'de';
4675
+ region: 'cn' | 'us' | 'de' | 'gb';
4676
+ requestBody: BulkCreateRulesDto;
3834
4677
  };
3835
- type TransactionRuleController1Response = unknown;
4678
+ type TransactionRuleControllerBulkCreateResponse = BulkCreateRulesResponseDto;
3836
4679
  type TransactionRuleControllerExportData = {
3837
4680
  /**
3838
4681
  * Export format (currently only JSON supported)
@@ -3841,7 +4684,7 @@ type TransactionRuleControllerExportData = {
3841
4684
  /**
3842
4685
  * Region code for tenant context
3843
4686
  */
3844
- region: 'cn' | 'us' | 'de';
4687
+ region: 'cn' | 'us' | 'de' | 'gb';
3845
4688
  };
3846
4689
  type TransactionRuleControllerExportResponse = ExportRulesResponseDto;
3847
4690
  type TransactionRuleControllerGetStatisticsData = {
@@ -3852,39 +4695,48 @@ type TransactionRuleControllerGetStatisticsData = {
3852
4695
  /**
3853
4696
  * Region code for tenant context
3854
4697
  */
3855
- region: 'cn' | 'us' | 'de';
4698
+ region: 'cn' | 'us' | 'de' | 'gb';
3856
4699
  };
3857
4700
  type TransactionRuleControllerGetStatisticsResponse = RuleStatisticsResponseDto;
3858
4701
  type TransactionRuleControllerGetDetailData = {
3859
4702
  /**
3860
4703
  * Region code for tenant context
3861
4704
  */
3862
- region: 'cn' | 'us' | 'de';
4705
+ region: 'cn' | 'us' | 'de' | 'gb';
3863
4706
  /**
3864
4707
  * Rule ID
3865
4708
  */
3866
4709
  ruleId: string;
3867
4710
  };
3868
4711
  type TransactionRuleControllerGetDetailResponse = TransactionRuleResponseDto;
3869
- type TransactionRuleController2Data = {
4712
+ type TransactionRuleControllerUpdateData = {
3870
4713
  /**
3871
4714
  * Region code for tenant context
3872
4715
  */
3873
- region: 'cn' | 'us' | 'de';
4716
+ region: 'cn' | 'us' | 'de' | 'gb';
4717
+ requestBody: UpdateTransactionRuleDto;
4718
+ /**
4719
+ * Rule ID to update
4720
+ */
4721
+ ruleId: string;
3874
4722
  };
3875
- type TransactionRuleController2Response = unknown;
3876
- type TransactionRuleController3Data = {
4723
+ type TransactionRuleControllerUpdateResponse = TransactionRuleResponseDto;
4724
+ type TransactionRuleControllerDeleteData = {
3877
4725
  /**
3878
4726
  * Region code for tenant context
3879
4727
  */
3880
- region: 'cn' | 'us' | 'de';
4728
+ region: 'cn' | 'us' | 'de' | 'gb';
4729
+ /**
4730
+ * Rule ID to delete
4731
+ */
4732
+ ruleId: string;
3881
4733
  };
3882
- type TransactionRuleController3Response = void;
4734
+ type TransactionRuleControllerDeleteResponse = void;
3883
4735
  type TransactionRuleControllerTestData = {
3884
4736
  /**
3885
4737
  * Region code for tenant context
3886
4738
  */
3887
- region: 'cn' | 'us' | 'de';
4739
+ region: 'cn' | 'us' | 'de' | 'gb';
3888
4740
  requestBody: TestRuleDto;
3889
4741
  /**
3890
4742
  * Rule ID to test
@@ -3942,13 +4794,31 @@ type PropertyControllerGetByKeyData = {
3942
4794
  key: string;
3943
4795
  };
3944
4796
  type PropertyControllerGetByKeyResponse = unknown;
3945
- type PropertyControllerResponse = unknown;
3946
- type PropertyController1Response = void;
4797
+ type PropertyControllerUpdateData = {
4798
+ /**
4799
+ * Property key
4800
+ */
4801
+ key: string;
4802
+ requestBody: UpdatePropertyDto;
4803
+ };
4804
+ type PropertyControllerUpdateResponse = unknown;
4805
+ type PropertyControllerDeleteData = {
4806
+ /**
4807
+ * Property key
4808
+ */
4809
+ key: string;
4810
+ };
4811
+ type PropertyControllerDeleteResponse = void;
4812
+ type ExportControllerExportBeancountResponse = unknown;
3947
4813
  type FileImportControllerImportFileData = {
3948
4814
  /**
3949
4815
  * Bill file to import
3950
4816
  */
3951
4817
  formData: FileImportDto;
4818
+ /**
4819
+ * Region code for tenant context
4820
+ */
4821
+ region: 'cn' | 'us' | 'de' | 'gb';
3952
4822
  };
3953
4823
  type FileImportControllerImportFileResponse = ImportResultDto;
3954
4824
  type FileImportControllerIdentifyFileData = {
@@ -3956,8 +4826,31 @@ type FileImportControllerIdentifyFileData = {
3956
4826
  * File to identify
3957
4827
  */
3958
4828
  formData: FileImportDto;
4829
+ /**
4830
+ * Region code for tenant context
4831
+ */
4832
+ region: 'cn' | 'us' | 'de' | 'gb';
3959
4833
  };
3960
4834
  type FileImportControllerIdentifyFileResponse = IdentifyResultDto;
4835
+ type FileImportControllerImportBeancountData = {
4836
+ /**
4837
+ * Beancount file to import
4838
+ */
4839
+ formData: FileImportDto;
4840
+ /**
4841
+ * Region code for tenant context
4842
+ */
4843
+ region: 'cn' | 'us' | 'de' | 'gb';
4844
+ };
4845
+ type FileImportControllerImportBeancountResponse = {
4846
+ imported?: number;
4847
+ skipped?: number;
4848
+ failed?: number;
4849
+ accountsCreated?: number;
4850
+ errors?: Array<{
4851
+ [key: string]: unknown;
4852
+ }>;
4853
+ };
3961
4854
  type ImporterConfigControllerGetConfigData = {
3962
4855
  /**
3963
4856
  * 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
@@ -3966,23 +4859,67 @@ type ImporterConfigControllerGetConfigData = {
3966
4859
  /**
3967
4860
  * Region code for tenant context
3968
4861
  */
3969
- region: 'cn' | 'us' | 'de';
4862
+ region: 'cn' | 'us' | 'de' | 'gb';
3970
4863
  };
3971
4864
  type ImporterConfigControllerGetConfigResponse = ImporterConfigDto;
3972
- type ImporterConfigControllerData = {
4865
+ type ImporterConfigControllerUpdateConfigData = {
4866
+ /**
4867
+ * 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
4868
+ */
4869
+ importerId: string;
3973
4870
  /**
3974
4871
  * Region code for tenant context
3975
4872
  */
3976
- region: 'cn' | 'us' | 'de';
4873
+ region: 'cn' | 'us' | 'de' | 'gb';
4874
+ /**
4875
+ * Partial configuration update. Only provided fields will be updated.
4876
+ */
4877
+ requestBody: UpdateImporterConfigDto;
3977
4878
  };
3978
- type ImporterConfigControllerResponse = unknown;
3979
- type ImporterConfigController1Data = {
4879
+ type ImporterConfigControllerUpdateConfigResponse = ImporterConfigDto;
4880
+ type ImporterConfigControllerResetConfigData = {
4881
+ /**
4882
+ * 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
4883
+ */
4884
+ importerId: string;
3980
4885
  /**
3981
4886
  * Region code for tenant context
3982
4887
  */
3983
- region: 'cn' | 'us' | 'de';
4888
+ region: 'cn' | 'us' | 'de' | 'gb';
4889
+ };
4890
+ type ImporterConfigControllerResetConfigResponse = ImporterConfigDto;
4891
+ type PlatformControllerFindAllResponse = unknown;
4892
+ type PlatformControllerCreateData = {
4893
+ requestBody: CreatePlatformDto;
4894
+ };
4895
+ type PlatformControllerCreateResponse = unknown;
4896
+ type PlatformControllerGetPlatformListResponse = unknown;
4897
+ type PlatformControllerMatchPlatformsData = {
4898
+ /**
4899
+ * Search query — Chinese name, English name, or abbreviation
4900
+ */
4901
+ q: string;
4902
+ /**
4903
+ * Region code for category override lookup
4904
+ */
4905
+ region?: string;
4906
+ };
4907
+ type PlatformControllerMatchPlatformsResponse = unknown;
4908
+ type PlatformControllerUpdateData = {
4909
+ /**
4910
+ * Platform ID
4911
+ */
4912
+ id: string;
4913
+ requestBody: UpdatePlatformDto;
4914
+ };
4915
+ type PlatformControllerUpdateResponse = unknown;
4916
+ type PlatformControllerDeleteData = {
4917
+ /**
4918
+ * Platform ID
4919
+ */
4920
+ id: string;
3984
4921
  };
3985
- type ImporterConfigController1Response = unknown;
4922
+ type PlatformControllerDeleteResponse = void;
3986
4923
  type ProviderSyncControllerSyncData = {
3987
4924
  /**
3988
4925
  * Provider name
@@ -3995,104 +4932,74 @@ type ProviderSyncControllerSyncData = {
3995
4932
  requestBody: ProviderSyncDto;
3996
4933
  };
3997
4934
  type ProviderSyncControllerSyncResponse = ProviderSyncResponseDto;
4935
+ type ProviderSyncControllerGetSupportedProvidersData = {
4936
+ /**
4937
+ * Region code for tenant context
4938
+ */
4939
+ region: 'cn' | 'us' | 'de' | 'gb';
4940
+ };
3998
4941
  type ProviderSyncControllerGetSupportedProvidersResponse = SupportedProvidersResponseDto;
3999
4942
  type ProviderSyncControllerIsProviderSupportedData = {
4000
4943
  /**
4001
4944
  * Provider name to check
4002
4945
  */
4003
4946
  providerName: string;
4947
+ /**
4948
+ * Region code for tenant context
4949
+ */
4950
+ region: 'cn' | 'us' | 'de' | 'gb';
4004
4951
  };
4005
4952
  type ProviderSyncControllerIsProviderSupportedResponse = unknown;
4006
4953
  type TelemetryControllerReportTelemetryData = {
4954
+ /**
4955
+ * Region code for tenant context
4956
+ */
4957
+ region: 'cn' | 'us' | 'de' | 'gb';
4007
4958
  requestBody: ParserTelemetryReportDto;
4008
4959
  };
4009
4960
  type TelemetryControllerReportTelemetryResponse = unknown;
4010
4961
  type NlpControllerProcessNaturalLanguageData = {
4011
4962
  /**
4012
- * Natural language transaction input with optional session ID
4013
- */
4014
- requestBody: ProcessNlpDto;
4015
- };
4016
- type NlpControllerProcessNaturalLanguageResponse = NlpResponseDto;
4017
- type NlpControllerClearSessionData = {
4018
- /**
4019
- * Specific session ID to clear (defaults to user session)
4020
- */
4021
- sessionId?: string;
4022
- };
4023
- type NlpControllerClearSessionResponse = void;
4024
- type NlpControllerGetSessionData = {
4025
- /**
4026
- * Specific session ID to get (defaults to user session)
4027
- */
4028
- sessionId?: string;
4029
- };
4030
- type NlpControllerGetSessionResponse = unknown;
4031
- type PlatformControllerFindAllResponse = unknown;
4032
- type PlatformControllerResponse = unknown;
4033
- type PlatformControllerGetPlatformListResponse = unknown;
4034
- type PlatformController1Response = unknown;
4035
- type PlatformController2Response = void;
4036
- type SymbolControllerLookupSymbolData = {
4037
- /**
4038
- * Geographic area filter (e.g., CN, US)
4039
- */
4040
- area?: unknown;
4041
- /**
4042
- * Asset class filter
4043
- */
4044
- assetClass?: unknown;
4045
- /**
4046
- * Asset sub-class filter
4047
- */
4048
- assetSubClass?: unknown;
4049
- /**
4050
- * Include index symbols in results
4963
+ * Region code for tenant context
4051
4964
  */
4052
- includeIndices?: unknown;
4965
+ region: 'cn' | 'us' | 'de' | 'gb';
4053
4966
  /**
4054
- * Search query string
4967
+ * Natural language transaction input with optional session ID
4055
4968
  */
4056
- query?: unknown;
4969
+ requestBody: ProcessNlpDto;
4057
4970
  };
4058
- type SymbolControllerLookupSymbolResponse = unknown;
4059
- type SymbolControllerGetSymbolDataData = {
4060
- /**
4061
- * Data source provider
4062
- */
4063
- dataSource: 'ALPHA_VANTAGE' | 'EOD_HISTORICAL_DATA' | 'FINANCIAL_MODELING_PREP' | 'MANUAL' | 'RAPID_API' | 'YAHOO' | 'COINGECKO' | 'TUSHARE' | 'BLOOMBERG' | 'CSI' | 'STOOQ' | 'TRADING_VIEW';
4971
+ type NlpControllerProcessNaturalLanguageResponse = NlpResponseDto;
4972
+ type NlpControllerClearSessionData = {
4064
4973
  /**
4065
- * Include historical price data (0 or 1)
4974
+ * Region code for tenant context
4066
4975
  */
4067
- includeHistoricalData?: unknown;
4976
+ region: 'cn' | 'us' | 'de' | 'gb';
4068
4977
  /**
4069
- * Symbol identifier (e.g., ticker code)
4978
+ * Specific session ID to clear (defaults to user session)
4070
4979
  */
4071
- symbol: string;
4980
+ sessionId?: string;
4072
4981
  };
4073
- type SymbolControllerGetSymbolDataResponse = unknown;
4074
- type SymbolControllerGatherSymbolForDateData = {
4075
- /**
4076
- * Data source provider
4077
- */
4078
- dataSource: 'ALPHA_VANTAGE' | 'EOD_HISTORICAL_DATA' | 'FINANCIAL_MODELING_PREP' | 'MANUAL' | 'RAPID_API' | 'YAHOO' | 'COINGECKO' | 'TUSHARE' | 'BLOOMBERG' | 'CSI' | 'STOOQ' | 'TRADING_VIEW';
4982
+ type NlpControllerClearSessionResponse = void;
4983
+ type NlpControllerGetSessionData = {
4079
4984
  /**
4080
- * Date in ISO 8601 format (YYYY-MM-DD)
4985
+ * Region code for tenant context
4081
4986
  */
4082
- dateString: string;
4987
+ region: 'cn' | 'us' | 'de' | 'gb';
4083
4988
  /**
4084
- * Symbol identifier (e.g., ticker code)
4989
+ * Specific session ID to get (defaults to user session)
4085
4990
  */
4086
- symbol: string;
4991
+ sessionId?: string;
4087
4992
  };
4088
- type SymbolControllerGatherSymbolForDateResponse = unknown;
4089
- type SymbolControllerResponse = unknown;
4090
- type CacheControllerFlushCacheResponse = unknown;
4993
+ type NlpControllerGetSessionResponse = unknown;
4091
4994
  type DashboardControllerGetNetWorthData = {
4092
4995
  /**
4093
4996
  * Date for balance calculation (ISO 8601 format)
4094
4997
  */
4095
4998
  date?: string;
4999
+ /**
5000
+ * Region code for tenant context
5001
+ */
5002
+ region: 'cn' | 'us' | 'de' | 'gb';
4096
5003
  };
4097
5004
  type DashboardControllerGetNetWorthResponse = NetWorthResponseDto;
4098
5005
  type DashboardControllerGetAccountsData = {
@@ -4104,6 +5011,10 @@ type DashboardControllerGetAccountsData = {
4104
5011
  * Grouping strategy
4105
5012
  */
4106
5013
  groupBy?: 'platform' | 'assetClass';
5014
+ /**
5015
+ * Region code for tenant context
5016
+ */
5017
+ region: 'cn' | 'us' | 'de' | 'gb';
4107
5018
  };
4108
5019
  type DashboardControllerGetAccountsResponse = AccountsResponseDto | AssetClassAccountsResponseDto;
4109
5020
  type DashboardControllerGetCashFlowData = {
@@ -4111,6 +5022,10 @@ type DashboardControllerGetCashFlowData = {
4111
5022
  * Period in YYYY-MM format
4112
5023
  */
4113
5024
  period: string;
5025
+ /**
5026
+ * Region code for tenant context
5027
+ */
5028
+ region: 'cn' | 'us' | 'de' | 'gb';
4114
5029
  };
4115
5030
  type DashboardControllerGetCashFlowResponse = CashFlowResponseDto;
4116
5031
  type ReportingControllerGetPortfolioTrendsData = {
@@ -4122,9 +5037,17 @@ type ReportingControllerGetPortfolioTrendsData = {
4122
5037
  * Time period
4123
5038
  */
4124
5039
  period?: '1m' | '3m' | '6m' | '1y';
5040
+ /**
5041
+ * Region code for tenant context
5042
+ */
5043
+ region: 'cn' | 'us' | 'de' | 'gb';
4125
5044
  };
4126
5045
  type ReportingControllerGetPortfolioTrendsResponse = PortfolioTrendsResponseDto;
4127
5046
  type ReportingControllerGenerateSnapshotData = {
5047
+ /**
5048
+ * Region code for tenant context
5049
+ */
5050
+ region: 'cn' | 'us' | 'de' | 'gb';
4128
5051
  /**
4129
5052
  * Optional date (defaults to today)
4130
5053
  */
@@ -4132,14 +5055,19 @@ type ReportingControllerGenerateSnapshotData = {
4132
5055
  };
4133
5056
  type ReportingControllerGenerateSnapshotResponse = GenerateSnapshotResponse;
4134
5057
  type ReportingControllerBackfillSnapshotsData = {
5058
+ /**
5059
+ * Region code for tenant context
5060
+ */
5061
+ region: 'cn' | 'us' | 'de' | 'gb';
4135
5062
  requestBody: BackfillSnapshotsBody;
4136
5063
  };
4137
5064
  type ReportingControllerBackfillSnapshotsResponse = BackfillSnapshotsResponse;
4138
- type ApiKeysControllerResponse = unknown;
5065
+ type ApiKeysControllerCreateApiKeyResponse = unknown;
4139
5066
  type AuthControllerAccessTokenLoginData = {
4140
5067
  requestBody: AnonymousLoginDto;
4141
5068
  };
4142
5069
  type AuthControllerAccessTokenLoginResponse = unknown;
5070
+ type CacheControllerFlushCacheResponse = unknown;
4143
5071
  type ExchangeRateControllerGetExchangeRateData = {
4144
5072
  /**
4145
5073
  * Date in ISO format (YYYY-MM-DD)
@@ -4153,6 +5081,7 @@ type ExchangeRateControllerGetExchangeRateData = {
4153
5081
  type ExchangeRateControllerGetExchangeRateResponse = unknown;
4154
5082
  type HealthControllerGetHealthResponse = unknown;
4155
5083
  type HealthControllerCheckDatabaseResponse = unknown;
5084
+ type HealthControllerCheckOpenBbResponse = unknown;
4156
5085
  type HealthControllerCheckRedisResponse = unknown;
4157
5086
  type HealthControllerGetCircuitBreakersHealthResponse = unknown;
4158
5087
  type HealthControllerResetCircuitBreakerData = {
@@ -4163,52 +5092,7 @@ type HealthControllerResetCircuitBreakerData = {
4163
5092
  };
4164
5093
  type HealthControllerResetCircuitBreakerResponse = unknown;
4165
5094
  type HealthControllerGetMetricsResponse = unknown;
4166
- type HealthControllerGetHealthOfDataEnhancerData = {
4167
- /**
4168
- * Data enhancer name
4169
- */
4170
- name: string;
4171
- };
4172
- type HealthControllerGetHealthOfDataEnhancerResponse = unknown;
4173
- type HealthControllerCheckDataProvidersResponse = unknown;
4174
- type HealthControllerGetHealthOfDataProviderData = {
4175
- /**
4176
- * Data source identifier
4177
- */
4178
- dataSource: string;
4179
- };
4180
- type HealthControllerGetHealthOfDataProviderResponse = unknown;
4181
5095
  type InfoControllerGetInfoResponse = unknown;
4182
- type LogoControllerGetLogoByDataSourceAndSymbolData = {
4183
- /**
4184
- * Data source identifier (e.g., YAHOO, COINGECKO)
4185
- */
4186
- dataSource: string;
4187
- /**
4188
- * Asset symbol (e.g., AAPL, BTC)
4189
- */
4190
- symbol: string;
4191
- };
4192
- type LogoControllerGetLogoByDataSourceAndSymbolResponse = unknown;
4193
- type LogoControllerGetLogoByUrlData = {
4194
- /**
4195
- * Website URL to fetch favicon from
4196
- */
4197
- url: string;
4198
- };
4199
- type LogoControllerGetLogoByUrlResponse = unknown;
4200
- type MarketDataControllerGetMarketDataBySymbolData = {
4201
- /**
4202
- * Data source provider
4203
- */
4204
- dataSource: 'ALPHA_VANTAGE' | 'EOD_HISTORICAL_DATA' | 'FINANCIAL_MODELING_PREP' | 'MANUAL' | 'RAPID_API' | 'YAHOO' | 'COINGECKO' | 'TUSHARE' | 'BLOOMBERG' | 'CSI' | 'STOOQ' | 'TRADING_VIEW';
4205
- /**
4206
- * Symbol code
4207
- */
4208
- symbol: string;
4209
- };
4210
- type MarketDataControllerGetMarketDataBySymbolResponse = unknown;
4211
- type MarketDataControllerResponse = unknown;
4212
5096
  type $OpenApiTs = {
4213
5097
  '/api/v1/{region}/bean/accounts': {
4214
5098
  post: {
@@ -4317,6 +5201,39 @@ type $OpenApiTs = {
4317
5201
  };
4318
5202
  };
4319
5203
  };
5204
+ '/api/v1/{region}/bean/account-standards': {
5205
+ get: {
5206
+ req: AccountStandardsControllerGetTemplatesData;
5207
+ res: {
5208
+ /**
5209
+ * Account templates retrieved successfully
5210
+ */
5211
+ 200: AccountStandardListResponseDto;
5212
+ };
5213
+ };
5214
+ };
5215
+ '/api/v1/{region}/bean/account-standards/template-metadata': {
5216
+ get: {
5217
+ req: AccountStandardsControllerGetTemplateMetadataData;
5218
+ res: {
5219
+ /**
5220
+ * Template metadata retrieved successfully
5221
+ */
5222
+ 200: TemplateMetadataResponseDto;
5223
+ };
5224
+ };
5225
+ };
5226
+ '/api/v1/{region}/bean/account-standards/regions': {
5227
+ get: {
5228
+ req: AccountStandardsControllerGetRegionsData;
5229
+ res: {
5230
+ /**
5231
+ * Regions metadata retrieved successfully
5232
+ */
5233
+ 200: RegionsMetadataResponseDto;
5234
+ };
5235
+ };
5236
+ };
4320
5237
  '/api/v1/{region}/bean/transactions': {
4321
5238
  post: {
4322
5239
  req: TransactionControllerCreateData;
@@ -4350,6 +5267,10 @@ type $OpenApiTs = {
4350
5267
  * Transaction list
4351
5268
  */
4352
5269
  200: TransactionListResponseDto;
5270
+ /**
5271
+ * Validation failed
5272
+ */
5273
+ 400: ApiProblemResponseDto;
4353
5274
  /**
4354
5275
  * Authentication required
4355
5276
  */
@@ -4359,9 +5280,20 @@ type $OpenApiTs = {
4359
5280
  };
4360
5281
  '/api/v1/{region}/bean/transactions/batch': {
4361
5282
  post: {
4362
- req: TransactionControllerData;
5283
+ req: TransactionControllerCreateBatchData;
4363
5284
  res: {
4364
- 201: unknown;
5285
+ /**
5286
+ * Transactions processed
5287
+ */
5288
+ 201: BatchTransactionResponseDto;
5289
+ /**
5290
+ * Invalid input
5291
+ */
5292
+ 400: ApiProblemResponseDto;
5293
+ /**
5294
+ * Authentication required
5295
+ */
5296
+ 401: ApiProblemResponseDto;
4365
5297
  };
4366
5298
  };
4367
5299
  };
@@ -4405,30 +5337,24 @@ type $OpenApiTs = {
4405
5337
  };
4406
5338
  };
4407
5339
  delete: {
4408
- req: TransactionController1Data;
5340
+ req: TransactionControllerDeleteData;
4409
5341
  res: {
5342
+ /**
5343
+ * Transaction voided successfully
5344
+ */
4410
5345
  204: void;
4411
- };
4412
- };
4413
- };
4414
- '/api/v1/{region}/bean/account-standards': {
4415
- get: {
4416
- req: AccountStandardsControllerGetTemplatesData;
4417
- res: {
4418
5346
  /**
4419
- * Account templates retrieved successfully
5347
+ * Transaction already voided
4420
5348
  */
4421
- 200: AccountStandardListResponseDto;
4422
- };
4423
- };
4424
- };
4425
- '/api/v1/{region}/bean/account-standards/regions': {
4426
- get: {
4427
- res: {
5349
+ 400: ApiProblemResponseDto;
4428
5350
  /**
4429
- * Regions metadata retrieved successfully
5351
+ * Authentication required
4430
5352
  */
4431
- 200: RegionsMetadataResponseDto;
5353
+ 401: ApiProblemResponseDto;
5354
+ /**
5355
+ * Transaction not found
5356
+ */
5357
+ 404: ApiProblemResponseDto;
4432
5358
  };
4433
5359
  };
4434
5360
  };
@@ -4453,6 +5379,7 @@ type $OpenApiTs = {
4453
5379
  };
4454
5380
  '/api/v1/{region}/bean/balances/multi-currency': {
4455
5381
  get: {
5382
+ req: BalanceControllerGetMultiCurrencyBalanceData;
4456
5383
  res: {
4457
5384
  /**
4458
5385
  * Balances calculated successfully
@@ -4495,32 +5422,44 @@ type $OpenApiTs = {
4495
5422
  };
4496
5423
  '/api/v1/{region}/bean/reviews/{id}/resolve': {
4497
5424
  post: {
4498
- req: ReviewControllerData;
5425
+ req: ReviewControllerResolveData;
4499
5426
  res: {
4500
- 201: unknown;
5427
+ 200: ResolveResultDto;
4501
5428
  };
4502
5429
  };
4503
5430
  };
4504
5431
  '/api/v1/{region}/bean/reviews/{id}/undo': {
4505
5432
  post: {
4506
- req: ReviewController1Data;
5433
+ req: ReviewControllerUndoData;
4507
5434
  res: {
4508
- 201: unknown;
5435
+ 200: UndoResultDto;
4509
5436
  };
4510
5437
  };
4511
5438
  };
4512
5439
  '/api/v1/{region}/bean/reviews/batch-resolve': {
4513
5440
  post: {
4514
- req: ReviewController2Data;
5441
+ req: ReviewControllerBatchResolveData;
4515
5442
  res: {
4516
- 201: unknown;
5443
+ 200: BatchResolveResultDto;
4517
5444
  };
4518
5445
  };
4519
5446
  };
4520
5447
  '/api/v1/bean/payees': {
4521
5448
  post: {
5449
+ req: PayeeControllerCreateData;
4522
5450
  res: {
4523
- 201: unknown;
5451
+ /**
5452
+ * Payee created successfully
5453
+ */
5454
+ 201: PayeeResponseDto;
5455
+ /**
5456
+ * Invalid input data
5457
+ */
5458
+ 400: ApiProblemResponseDto;
5459
+ /**
5460
+ * Payee already exists
5461
+ */
5462
+ 409: ApiProblemResponseDto;
4524
5463
  };
4525
5464
  };
4526
5465
  get: {
@@ -4574,20 +5513,56 @@ type $OpenApiTs = {
4574
5513
  };
4575
5514
  };
4576
5515
  put: {
5516
+ req: PayeeControllerUpdateData;
4577
5517
  res: {
4578
- 200: unknown;
5518
+ /**
5519
+ * Payee updated successfully
5520
+ */
5521
+ 200: PayeeResponseDto;
5522
+ /**
5523
+ * Invalid input data
5524
+ */
5525
+ 400: ApiProblemResponseDto;
5526
+ /**
5527
+ * Payee not found
5528
+ */
5529
+ 404: ApiProblemResponseDto;
4579
5530
  };
4580
5531
  };
4581
5532
  delete: {
5533
+ req: PayeeControllerDeleteData;
4582
5534
  res: {
5535
+ /**
5536
+ * Payee deleted successfully
5537
+ */
4583
5538
  204: void;
5539
+ /**
5540
+ * Payee not found
5541
+ */
5542
+ 404: ApiProblemResponseDto;
4584
5543
  };
4585
5544
  };
4586
5545
  };
4587
5546
  '/api/v1/admin/payee-profiles': {
4588
5547
  post: {
5548
+ req: PayeeProfileAdminControllerCreateData;
4589
5549
  res: {
4590
- 201: unknown;
5550
+ /**
5551
+ * Payee profile created successfully
5552
+ */
5553
+ 201: PayeeProfileResponseDto;
5554
+ /**
5555
+ * Validation failed
5556
+ */
5557
+ 400: ApiProblemResponseDto;
5558
+ /**
5559
+ * Admin access required
5560
+ */
5561
+ 403: ApiProblemResponseDto;
5562
+ /**
5563
+ * Payee profile already exists
5564
+ */
5565
+ 409: ApiProblemResponseDto;
4591
5566
  };
4592
5567
  };
4593
5568
  get: {
@@ -4623,33 +5598,96 @@ type $OpenApiTs = {
4623
5598
  };
4624
5599
  };
4625
5600
  put: {
5601
+ req: PayeeProfileAdminControllerUpdateData;
4626
5602
  res: {
4627
- 200: unknown;
5603
+ /**
5604
+ * Payee profile updated successfully
5605
+ */
5606
+ 200: PayeeProfileResponseDto;
5607
+ /**
5608
+ * Admin access required
5609
+ */
5610
+ 403: ApiProblemResponseDto;
5611
+ /**
5612
+ * Payee profile not found
5613
+ */
5614
+ 404: ApiProblemResponseDto;
4628
5615
  };
4629
5616
  };
4630
5617
  delete: {
5618
+ req: PayeeProfileAdminControllerDeleteData;
4631
5619
  res: {
5620
+ /**
5621
+ * Payee profile deleted successfully
5622
+ */
4632
5623
  204: void;
5624
+ /**
5625
+ * Admin access required
5626
+ */
5627
+ 403: ApiProblemResponseDto;
5628
+ /**
5629
+ * Payee profile not found
5630
+ */
5631
+ 404: ApiProblemResponseDto;
5632
+ /**
5633
+ * Payee profile is in use and cannot be deleted
5634
+ */
5635
+ 409: ApiProblemResponseDto;
4633
5636
  };
4634
5637
  };
4635
5638
  };
4636
5639
  '/api/v1/admin/payee-profiles/{id}/verify': {
4637
5640
  post: {
5641
+ req: PayeeProfileAdminControllerVerifyData;
4638
5642
  res: {
4639
- 201: unknown;
5643
+ /**
5644
+ * Payee profile verified successfully
5645
+ */
5646
+ 201: PayeeProfileResponseDto;
5647
+ /**
5648
+ * Admin access required
5649
+ */
5650
+ 403: ApiProblemResponseDto;
5651
+ /**
5652
+ * Payee profile not found
5653
+ */
5654
+ 404: ApiProblemResponseDto;
4640
5655
  };
4641
5656
  };
4642
5657
  delete: {
5658
+ req: PayeeProfileAdminControllerUnverifyData;
4643
5659
  res: {
4644
- 200: unknown;
5660
+ /**
5661
+ * Payee profile unverified successfully
5662
+ */
5663
+ 200: PayeeProfileResponseDto;
5664
+ /**
5665
+ * Admin access required
5666
+ */
5667
+ 403: ApiProblemResponseDto;
5668
+ /**
5669
+ * Payee profile not found
5670
+ */
5671
+ 404: ApiProblemResponseDto;
4645
5672
  };
4646
5673
  };
4647
5674
  };
4648
5675
  '/api/v1/{region}/bean/commodities': {
4649
5676
  post: {
4650
- req: CommodityControllerData;
5677
+ req: CommodityControllerCreateData;
4651
5678
  res: {
4652
- 201: unknown;
5679
+ /**
5680
+ * Commodity created successfully
5681
+ */
5682
+ 201: CommodityResponseDto;
5683
+ /**
5684
+ * Invalid input data
5685
+ */
5686
+ 400: ApiProblemResponseDto;
5687
+ /**
5688
+ * Commodity already exists
5689
+ */
5690
+ 409: ApiProblemResponseDto;
4653
5691
  };
4654
5692
  };
4655
5693
  get: {
@@ -4677,39 +5715,74 @@ type $OpenApiTs = {
4677
5715
  };
4678
5716
  };
4679
5717
  put: {
4680
- req: CommodityController1Data;
5718
+ req: CommodityControllerUpdateData;
4681
5719
  res: {
4682
- 200: unknown;
5720
+ /**
5721
+ * Commodity updated successfully
5722
+ */
5723
+ 200: CommodityResponseDto;
5724
+ /**
5725
+ * Invalid input data
5726
+ */
5727
+ 400: ApiProblemResponseDto;
5728
+ /**
5729
+ * Commodity not found
5730
+ */
5731
+ 404: ApiProblemResponseDto;
4683
5732
  };
4684
5733
  };
4685
5734
  delete: {
4686
- req: CommodityController2Data;
5735
+ req: CommodityControllerDeleteData;
4687
5736
  res: {
5737
+ /**
5738
+ * Commodity deleted successfully
5739
+ */
4688
5740
  204: void;
5741
+ /**
5742
+ * Commodity not found
5743
+ */
5744
+ 404: ApiProblemResponseDto;
4689
5745
  };
4690
5746
  };
4691
5747
  };
4692
5748
  '/api/v1/{region}/bean/commodities/{symbol}/ensure': {
4693
5749
  post: {
4694
- req: CommodityController3Data;
5750
+ req: CommodityControllerGetOrCreateData;
4695
5751
  res: {
4696
- 201: unknown;
5752
+ /**
5753
+ * Commodity retrieved or created
5754
+ */
5755
+ 200: CommodityResponseDto;
4697
5756
  };
4698
5757
  };
4699
5758
  };
4700
5759
  '/api/v1/{region}/bean/commodities/bulk': {
4701
5760
  post: {
4702
- req: CommodityController4Data;
5761
+ req: CommodityControllerBulkCreateData;
4703
5762
  res: {
4704
- 201: unknown;
5763
+ /**
5764
+ * Commodities created successfully
5765
+ */
5766
+ 201: Array<CommodityResponseDto>;
4705
5767
  };
4706
5768
  };
4707
5769
  };
4708
5770
  '/api/v1/{region}/bean/recurring-rules': {
4709
5771
  post: {
4710
- req: RecurringRuleControllerData;
5772
+ req: RecurringRuleControllerCreateData;
4711
5773
  res: {
4712
- 201: unknown;
5774
+ /**
5775
+ * Rule created successfully
5776
+ */
5777
+ 201: RecurringRuleResponseDto;
5778
+ /**
5779
+ * Invalid input data (e.g., autoCreate without accounts)
5780
+ */
5781
+ 400: unknown;
5782
+ /**
5783
+ * Rule with same name already exists
5784
+ */
5785
+ 409: unknown;
4713
5786
  };
4714
5787
  };
4715
5788
  get: {
@@ -4724,9 +5797,20 @@ type $OpenApiTs = {
4724
5797
  };
4725
5798
  '/api/v1/{region}/bean/recurring-rules/from-transaction/{transactionId}': {
4726
5799
  post: {
4727
- req: RecurringRuleController1Data;
5800
+ req: RecurringRuleControllerCreateFromTransactionData;
4728
5801
  res: {
4729
- 201: unknown;
5802
+ /**
5803
+ * Rule created successfully
5804
+ */
5805
+ 201: RecurringRuleResponseDto;
5806
+ /**
5807
+ * Transaction not found
5808
+ */
5809
+ 404: ApiProblemResponseDto;
5810
+ /**
5811
+ * Rule with same name already exists or transaction already linked
5812
+ */
5813
+ 409: ApiProblemResponseDto;
4730
5814
  };
4731
5815
  };
4732
5816
  };
@@ -4745,15 +5829,33 @@ type $OpenApiTs = {
4745
5829
  };
4746
5830
  };
4747
5831
  patch: {
4748
- req: RecurringRuleController2Data;
5832
+ req: RecurringRuleControllerUpdateData;
4749
5833
  res: {
4750
- 200: unknown;
5834
+ /**
5835
+ * Rule updated successfully
5836
+ */
5837
+ 200: RecurringRuleResponseDto;
5838
+ /**
5839
+ * Invalid input data
5840
+ */
5841
+ 400: unknown;
5842
+ /**
5843
+ * Rule not found
5844
+ */
5845
+ 404: unknown;
4751
5846
  };
4752
5847
  };
4753
5848
  delete: {
4754
- req: RecurringRuleController3Data;
5849
+ req: RecurringRuleControllerDeleteData;
4755
5850
  res: {
5851
+ /**
5852
+ * Rule deleted successfully
5853
+ */
4756
5854
  204: void;
5855
+ /**
5856
+ * Rule not found
5857
+ */
5858
+ 404: unknown;
4757
5859
  };
4758
5860
  };
4759
5861
  };
@@ -4811,37 +5913,96 @@ type $OpenApiTs = {
4811
5913
  };
4812
5914
  '/api/v1/{region}/bean/expected-transactions/{id}/skip': {
4813
5915
  post: {
4814
- req: ExpectedTransactionControllerData;
5916
+ req: ExpectedTransactionControllerSkipData;
4815
5917
  res: {
4816
- 200: unknown;
5918
+ /**
5919
+ * Expected transaction skipped successfully
5920
+ */
5921
+ 200: ExpectedTransactionResponseDto;
5922
+ /**
5923
+ * Cannot skip - not in PENDING status
5924
+ */
5925
+ 400: unknown;
5926
+ /**
5927
+ * Expected transaction not found
5928
+ */
5929
+ 404: unknown;
4817
5930
  };
4818
5931
  };
4819
5932
  delete: {
4820
- req: ExpectedTransactionController1Data;
5933
+ req: ExpectedTransactionControllerUndoSkipData;
4821
5934
  res: {
4822
- 200: unknown;
5935
+ /**
5936
+ * Skip undone successfully
5937
+ */
5938
+ 200: ExpectedTransactionResponseDto;
5939
+ /**
5940
+ * Cannot undo - not in SKIPPED status
5941
+ */
5942
+ 400: unknown;
5943
+ /**
5944
+ * Expected transaction not found
5945
+ */
5946
+ 404: unknown;
4823
5947
  };
4824
5948
  };
4825
5949
  };
4826
5950
  '/api/v1/{region}/bean/expected-transactions/{id}/match': {
4827
5951
  post: {
4828
- req: ExpectedTransactionController2Data;
5952
+ req: ExpectedTransactionControllerConfirmMatchData;
4829
5953
  res: {
5954
+ /**
5955
+ * Match confirmed successfully
5956
+ */
4830
5957
  200: unknown;
5958
+ /**
5959
+ * Cannot match - not in PENDING status
5960
+ */
5961
+ 400: unknown;
5962
+ /**
5963
+ * Expected or actual transaction not found
5964
+ */
5965
+ 404: unknown;
5966
+ /**
5967
+ * Actual transaction already matched to another rule
5968
+ */
5969
+ 409: unknown;
4831
5970
  };
4832
5971
  };
4833
5972
  delete: {
4834
- req: ExpectedTransactionController3Data;
5973
+ req: ExpectedTransactionControllerUnmatchData;
4835
5974
  res: {
5975
+ /**
5976
+ * Match removed successfully
5977
+ */
4836
5978
  200: unknown;
5979
+ /**
5980
+ * Cannot unmatch - not in COMPLETED status
5981
+ */
5982
+ 400: unknown;
5983
+ /**
5984
+ * Expected transaction not found
5985
+ */
5986
+ 404: unknown;
4837
5987
  };
4838
5988
  };
4839
5989
  };
4840
5990
  '/api/v1/{region}/bean/expected-transactions/{id}/enter': {
4841
5991
  post: {
4842
- req: ExpectedTransactionController4Data;
5992
+ req: ExpectedTransactionControllerEnterNowData;
4843
5993
  res: {
5994
+ /**
5995
+ * Transaction created successfully
5996
+ */
4844
5997
  201: unknown;
5998
+ /**
5999
+ * Cannot enter - not in PENDING status or missing accounts
6000
+ */
6001
+ 400: unknown;
6002
+ /**
6003
+ * Expected transaction or accounts not found
6004
+ */
6005
+ 404: unknown;
4845
6006
  };
4846
6007
  };
4847
6008
  };
@@ -4858,9 +6019,24 @@ type $OpenApiTs = {
4858
6019
  };
4859
6020
  '/api/v1/{region}/bean/transaction-rules': {
4860
6021
  post: {
4861
- req: TransactionRuleControllerData;
6022
+ req: TransactionRuleControllerCreateData;
4862
6023
  res: {
4863
- 201: unknown;
6024
+ /**
6025
+ * Rule updated successfully (upsert mode)
6026
+ */
6027
+ 200: TransactionRuleResponseDto;
6028
+ /**
6029
+ * Validation failed
6030
+ */
6031
+ 400: ApiProblemResponseDto;
6032
+ /**
6033
+ * Unauthorized
6034
+ */
6035
+ 401: ApiProblemResponseDto;
6036
+ /**
6037
+ * Resource conflict - another process is updating this rule
6038
+ */
6039
+ 409: ApiProblemResponseDto;
4864
6040
  };
4865
6041
  };
4866
6042
  get: {
@@ -4885,6 +6061,10 @@ type $OpenApiTs = {
4885
6061
  * Validation result
4886
6062
  */
4887
6063
  200: ValidateRuleResponseDto;
6064
+ /**
6065
+ * Validation failed
6066
+ */
6067
+ 400: ApiProblemResponseDto;
4888
6068
  /**
4889
6069
  * Unauthorized
4890
6070
  */
@@ -4894,9 +6074,20 @@ type $OpenApiTs = {
4894
6074
  };
4895
6075
  '/api/v1/{region}/bean/transaction-rules/bulk': {
4896
6076
  post: {
4897
- req: TransactionRuleController1Data;
6077
+ req: TransactionRuleControllerBulkCreateData;
4898
6078
  res: {
4899
- 201: unknown;
6079
+ /**
6080
+ * Bulk create completed
6081
+ */
6082
+ 201: BulkCreateRulesResponseDto;
6083
+ /**
6084
+ * Invalid bulk create data
6085
+ */
6086
+ 400: ApiProblemResponseDto;
6087
+ /**
6088
+ * Unauthorized
6089
+ */
6090
+ 401: ApiProblemResponseDto;
4900
6091
  };
4901
6092
  };
4902
6093
  };
@@ -4957,15 +6148,57 @@ type $OpenApiTs = {
4957
6148
  };
4958
6149
  };
4959
6150
  put: {
4960
- req: TransactionRuleController2Data;
6151
+ req: TransactionRuleControllerUpdateData;
4961
6152
  res: {
4962
- 200: unknown;
6153
+ /**
6154
+ * Rule updated successfully
6155
+ */
6156
+ 200: TransactionRuleResponseDto;
6157
+ /**
6158
+ * Validation failed
6159
+ */
6160
+ 400: ApiProblemResponseDto;
6161
+ /**
6162
+ * Unauthorized
6163
+ */
6164
+ 401: ApiProblemResponseDto;
6165
+ /**
6166
+ * Forbidden - not owner of rule
6167
+ */
6168
+ 403: ApiProblemResponseDto;
6169
+ /**
6170
+ * Rule not found
6171
+ */
6172
+ 404: ApiProblemResponseDto;
6173
+ /**
6174
+ * Resource conflict - rule is being modified by another process
6175
+ */
6176
+ 409: ApiProblemResponseDto;
4963
6177
  };
4964
6178
  };
4965
6179
  delete: {
4966
- req: TransactionRuleController3Data;
6180
+ req: TransactionRuleControllerDeleteData;
4967
6181
  res: {
6182
+ /**
6183
+ * Rule deleted successfully
6184
+ */
4968
6185
  204: void;
6186
+ /**
6187
+ * Unauthorized
6188
+ */
6189
+ 401: ApiProblemResponseDto;
6190
+ /**
6191
+ * Forbidden - not owner of rule
6192
+ */
6193
+ 403: ApiProblemResponseDto;
6194
+ /**
6195
+ * Rule not found
6196
+ */
6197
+ 404: ApiProblemResponseDto;
6198
+ /**
6199
+ * Resource conflict - rule is being modified by another process
6200
+ */
6201
+ 409: ApiProblemResponseDto;
4969
6202
  };
4970
6203
  };
4971
6204
  };
@@ -5140,13 +6373,48 @@ type $OpenApiTs = {
5140
6373
  };
5141
6374
  };
5142
6375
  put: {
6376
+ req: PropertyControllerUpdateData;
5143
6377
  res: {
6378
+ /**
6379
+ * Property updated successfully
6380
+ */
5144
6381
  200: unknown;
6382
+ /**
6383
+ * Unauthorized
6384
+ */
6385
+ 401: unknown;
6386
+ /**
6387
+ * Forbidden - insufficient permissions
6388
+ */
6389
+ 403: unknown;
5145
6390
  };
5146
6391
  };
5147
6392
  delete: {
6393
+ req: PropertyControllerDeleteData;
5148
6394
  res: {
6395
+ /**
6396
+ * Property deleted successfully
6397
+ */
5149
6398
  204: void;
6399
+ /**
6400
+ * Unauthorized
6401
+ */
6402
+ 401: unknown;
6403
+ /**
6404
+ * Forbidden - insufficient permissions
6405
+ */
6406
+ 403: unknown;
6407
+ /**
6408
+ * Property not found
6409
+ */
6410
+ 404: unknown;
6411
+ };
6412
+ };
6413
+ };
6414
+ '/api/v1/{region}/bean/export/beancount': {
6415
+ get: {
6416
+ res: {
6417
+ 200: unknown;
5150
6418
  };
5151
6419
  };
5152
6420
  };
@@ -5219,6 +6487,29 @@ type $OpenApiTs = {
5219
6487
  };
5220
6488
  };
5221
6489
  };
6490
+ '/api/v1/{region}/bean/import/beancount': {
6491
+ post: {
6492
+ req: FileImportControllerImportBeancountData;
6493
+ res: {
6494
+ /**
6495
+ * Beancount file imported successfully
6496
+ */
6497
+ 200: {
6498
+ imported?: number;
6499
+ skipped?: number;
6500
+ failed?: number;
6501
+ accountsCreated?: number;
6502
+ errors?: Array<{
6503
+ [key: string]: unknown;
6504
+ }>;
6505
+ };
6506
+ /**
6507
+ * Bad request - invalid file or no file uploaded
6508
+ */
6509
+ 400: ApiProblemResponseDto;
6510
+ };
6511
+ };
6512
+ };
5222
6513
  '/api/v1/{region}/bean/import/config/{importerId}': {
5223
6514
  get: {
5224
6515
  req: ImporterConfigControllerGetConfigData;
@@ -5238,17 +6529,107 @@ type $OpenApiTs = {
5238
6529
  };
5239
6530
  };
5240
6531
  put: {
5241
- req: ImporterConfigControllerData;
6532
+ req: ImporterConfigControllerUpdateConfigData;
6533
+ res: {
6534
+ /**
6535
+ * Configuration updated successfully
6536
+ */
6537
+ 200: ImporterConfigDto;
6538
+ /**
6539
+ * Invalid input - Validation failed
6540
+ */
6541
+ 400: ApiProblemResponseDto;
6542
+ /**
6543
+ * Configuration not found
6544
+ */
6545
+ 404: ApiProblemResponseDto;
6546
+ };
6547
+ };
6548
+ };
6549
+ '/api/v1/{region}/bean/import/config/{importerId}/reset': {
6550
+ post: {
6551
+ req: ImporterConfigControllerResetConfigData;
6552
+ res: {
6553
+ /**
6554
+ * Configuration reset successfully
6555
+ */
6556
+ 200: ImporterConfigDto;
6557
+ /**
6558
+ * Invalid input - Unsupported importer
6559
+ */
6560
+ 400: ApiProblemResponseDto;
6561
+ };
6562
+ };
6563
+ };
6564
+ '/api/v1/bean/platforms': {
6565
+ get: {
6566
+ res: {
6567
+ /**
6568
+ * List of platforms with binding and account counts
6569
+ */
6570
+ 200: unknown;
6571
+ };
6572
+ };
6573
+ post: {
6574
+ req: PlatformControllerCreateData;
6575
+ res: {
6576
+ /**
6577
+ * Platform created successfully
6578
+ */
6579
+ 201: unknown;
6580
+ /**
6581
+ * Platform already exists
6582
+ */
6583
+ 409: unknown;
6584
+ };
6585
+ };
6586
+ };
6587
+ '/api/v1/bean/platforms/list': {
6588
+ get: {
6589
+ res: {
6590
+ /**
6591
+ * List of platforms with user binding status
6592
+ */
6593
+ 200: unknown;
6594
+ };
6595
+ };
6596
+ };
6597
+ '/api/v1/bean/platforms/match': {
6598
+ get: {
6599
+ req: PlatformControllerMatchPlatformsData;
6600
+ res: {
6601
+ /**
6602
+ * List of matching platforms with suggested segment names
6603
+ */
6604
+ 200: unknown;
6605
+ };
6606
+ };
6607
+ };
6608
+ '/api/v1/bean/platforms/{id}': {
6609
+ put: {
6610
+ req: PlatformControllerUpdateData;
5242
6611
  res: {
6612
+ /**
6613
+ * Platform updated successfully
6614
+ */
5243
6615
  200: unknown;
6616
+ /**
6617
+ * Platform not found
6618
+ */
6619
+ 404: unknown;
5244
6620
  };
5245
6621
  };
5246
- };
5247
- '/api/v1/{region}/bean/import/config/{importerId}/reset': {
5248
- post: {
5249
- req: ImporterConfigController1Data;
6622
+ delete: {
6623
+ req: PlatformControllerDeleteData;
5250
6624
  res: {
5251
- 201: unknown;
6625
+ /**
6626
+ * Platform deleted successfully
6627
+ */
6628
+ 204: void;
6629
+ /**
6630
+ * Platform not found
6631
+ */
6632
+ 404: unknown;
5252
6633
  };
5253
6634
  };
5254
6635
  };
@@ -5277,6 +6658,7 @@ type $OpenApiTs = {
5277
6658
  };
5278
6659
  '/api/v1/{region}/bean/import/provider/supported': {
5279
6660
  get: {
6661
+ req: ProviderSyncControllerGetSupportedProvidersData;
5280
6662
  res: {
5281
6663
  /**
5282
6664
  * List of supported providers
@@ -5366,110 +6748,6 @@ type $OpenApiTs = {
5366
6748
  };
5367
6749
  };
5368
6750
  };
5369
- '/api/v1/bean/platforms': {
5370
- get: {
5371
- res: {
5372
- /**
5373
- * List of platforms with binding and account counts
5374
- */
5375
- 200: unknown;
5376
- };
5377
- };
5378
- post: {
5379
- res: {
5380
- 201: unknown;
5381
- };
5382
- };
5383
- };
5384
- '/api/v1/bean/platforms/list': {
5385
- get: {
5386
- res: {
5387
- /**
5388
- * List of platforms with user binding status
5389
- */
5390
- 200: unknown;
5391
- };
5392
- };
5393
- };
5394
- '/api/v1/bean/platforms/{id}': {
5395
- put: {
5396
- res: {
5397
- 200: unknown;
5398
- };
5399
- };
5400
- delete: {
5401
- res: {
5402
- 204: void;
5403
- };
5404
- };
5405
- };
5406
- '/api/v1/market/symbols/lookup': {
5407
- get: {
5408
- req: SymbolControllerLookupSymbolData;
5409
- res: {
5410
- /**
5411
- * Symbols found successfully
5412
- */
5413
- 200: unknown;
5414
- /**
5415
- * Invalid query parameters
5416
- */
5417
- 400: unknown;
5418
- };
5419
- };
5420
- };
5421
- '/api/v1/market/symbols/{dataSource}/{symbol}': {
5422
- get: {
5423
- req: SymbolControllerGetSymbolDataData;
5424
- res: {
5425
- /**
5426
- * Symbol data retrieved successfully
5427
- */
5428
- 200: unknown;
5429
- /**
5430
- * Invalid data source
5431
- */
5432
- 400: unknown;
5433
- /**
5434
- * Symbol not found
5435
- */
5436
- 404: unknown;
5437
- };
5438
- };
5439
- };
5440
- '/api/v1/market/symbols/{dataSource}/{symbol}/{dateString}': {
5441
- get: {
5442
- req: SymbolControllerGatherSymbolForDateData;
5443
- res: {
5444
- /**
5445
- * Historical data retrieved successfully
5446
- */
5447
- 200: unknown;
5448
- /**
5449
- * Invalid date format
5450
- */
5451
- 400: unknown;
5452
- /**
5453
- * Symbol data not found for specified date
5454
- */
5455
- 404: unknown;
5456
- };
5457
- };
5458
- };
5459
- '/api/v1/market/symbols/yahoo/batch-update': {
5460
- put: {
5461
- res: {
5462
- 200: unknown;
5463
- };
5464
- };
5465
- };
5466
- '/api/v1/cache/flush': {
5467
- post: {
5468
- res: {
5469
- 201: unknown;
5470
- };
5471
- };
5472
- };
5473
6751
  '/api/v1/{region}/dashboard/net-worth': {
5474
6752
  get: {
5475
6753
  req: DashboardControllerGetNetWorthData;
@@ -5579,7 +6857,14 @@ type $OpenApiTs = {
5579
6857
  '/api/v1/auth/api-keys': {
5580
6858
  post: {
5581
6859
  res: {
6860
+ /**
6861
+ * API key created successfully
6862
+ */
5582
6863
  201: unknown;
6864
+ /**
6865
+ * Insufficient permissions to create API key
6866
+ */
6867
+ 403: unknown;
5583
6868
  };
5584
6869
  };
5585
6870
  };
@@ -5598,6 +6883,13 @@ type $OpenApiTs = {
5598
6883
  };
5599
6884
  };
5600
6885
  };
6886
+ '/api/v1/cache/flush': {
6887
+ post: {
6888
+ res: {
6889
+ 201: unknown;
6890
+ };
6891
+ };
6892
+ };
5601
6893
  '/api/v1/market/exchange-rates/{symbol}/{dateString}': {
5602
6894
  get: {
5603
6895
  req: ExchangeRateControllerGetExchangeRateData;
@@ -5641,6 +6933,20 @@ type $OpenApiTs = {
5641
6933
  };
5642
6934
  };
5643
6935
  };
6936
+ '/api/v1/health/openbb': {
6937
+ get: {
6938
+ res: {
6939
+ /**
6940
+ * OpenBB status
6941
+ */
6942
+ 200: unknown;
6943
+ /**
6944
+ * OpenBB unavailable
6945
+ */
6946
+ 503: unknown;
6947
+ };
6948
+ };
6949
+ };
5644
6950
  '/api/v1/health/redis': {
5645
6951
  get: {
5646
6952
  res: {
@@ -5706,66 +7012,6 @@ type $OpenApiTs = {
5706
7012
  };
5707
7013
  };
5708
7014
  };
5709
- '/api/v1/health/data-enhancer/{name}': {
5710
- get: {
5711
- req: HealthControllerGetHealthOfDataEnhancerData;
5712
- res: {
5713
- /**
5714
- * Data enhancer is healthy
5715
- */
5716
- 200: unknown;
5717
- /**
5718
- * Unauthorized
5719
- */
5720
- 401: unknown;
5721
- /**
5722
- * Data enhancer unavailable
5723
- */
5724
- 503: unknown;
5725
- };
5726
- };
5727
- };
5728
- '/api/v1/health/data-providers': {
5729
- get: {
5730
- res: {
5731
- /**
5732
- * Data providers health status
5733
- */
5734
- 200: unknown;
5735
- /**
5736
- * Unauthorized
5737
- */
5738
- 401: unknown;
5739
- /**
5740
- * Data providers check failed
5741
- */
5742
- 503: unknown;
5743
- };
5744
- };
5745
- };
5746
- '/api/v1/health/data-provider/{dataSource}': {
5747
- get: {
5748
- req: HealthControllerGetHealthOfDataProviderData;
5749
- res: {
5750
- /**
5751
- * Data provider is healthy
5752
- */
5753
- 200: unknown;
5754
- /**
5755
- * Invalid data source
5756
- */
5757
- 400: unknown;
5758
- /**
5759
- * Unauthorized
5760
- */
5761
- 401: unknown;
5762
- /**
5763
- * Data provider unavailable
5764
- */
5765
- 503: unknown;
5766
- };
5767
- };
5768
- };
5769
7015
  '/api/v1/system/info': {
5770
7016
  get: {
5771
7017
  res: {
@@ -5776,72 +7022,6 @@ type $OpenApiTs = {
5776
7022
  };
5777
7023
  };
5778
7024
  };
5779
- '/api/v1/market/logos/{dataSource}/{symbol}': {
5780
- get: {
5781
- req: LogoControllerGetLogoByDataSourceAndSymbolData;
5782
- res: {
5783
- /**
5784
- * Logo image stream (favicon)
5785
- */
5786
- 200: unknown;
5787
- /**
5788
- * Unauthorized
5789
- */
5790
- 401: unknown;
5791
- /**
5792
- * Logo not found for the specified asset
5793
- */
5794
- 404: unknown;
5795
- /**
5796
- * Service unavailable
5797
- */
5798
- 503: unknown;
5799
- };
5800
- };
5801
- };
5802
- '/api/v1/market/logos': {
5803
- get: {
5804
- req: LogoControllerGetLogoByUrlData;
5805
- res: {
5806
- /**
5807
- * Logo image stream (favicon)
5808
- */
5809
- 200: unknown;
5810
- /**
5811
- * Unauthorized
5812
- */
5813
- 401: unknown;
5814
- /**
5815
- * Service unavailable
5816
- */
5817
- 503: unknown;
5818
- };
5819
- };
5820
- };
5821
- '/api/v1/market-data/{dataSource}/{symbol}': {
5822
- get: {
5823
- req: MarketDataControllerGetMarketDataBySymbolData;
5824
- res: {
5825
- /**
5826
- * Market data retrieved successfully
5827
- */
5828
- 200: unknown;
5829
- /**
5830
- * Insufficient permissions to read market data
5831
- */
5832
- 403: unknown;
5833
- /**
5834
- * Market data not found
5835
- */
5836
- 404: unknown;
5837
- };
5838
- };
5839
- post: {
5840
- res: {
5841
- 201: unknown;
5842
- };
5843
- };
5844
- };
5845
7025
  };
5846
7026
 
5847
7027
  declare class BeanAccountsService {
@@ -5953,12 +7133,16 @@ declare class BeanTransactionsService {
5953
7133
  */
5954
7134
  static transactionControllerList(data: TransactionControllerListData): CancelablePromise<TransactionControllerListResponse>;
5955
7135
  /**
7136
+ * @deprecated
7137
+ * Batch create transactions (DEPRECATED)
7138
+ * DEPRECATED: Use POST /:region/bean/import/provider/:name/sync instead. This endpoint skips dedup, rule matching, and review branching.
5956
7139
  * @param data The data for the request.
5957
7140
  * @param data.region Region code for tenant context
5958
- * @returns unknown
7141
+ * @param data.requestBody
7142
+ * @returns BatchTransactionResponseDto Transactions processed
5959
7143
  * @throws ApiError
5960
7144
  */
5961
- static transactionController(data: TransactionControllerData): CancelablePromise<TransactionControllerResponse>;
7145
+ static transactionControllerCreateBatch(data: TransactionControllerCreateBatchData): CancelablePromise<TransactionControllerCreateBatchResponse>;
5962
7146
  /**
5963
7147
  * Get transaction detail
5964
7148
  * Returns transaction details including all postings
@@ -5981,12 +7165,15 @@ declare class BeanTransactionsService {
5981
7165
  */
5982
7166
  static transactionControllerUpdate(data: TransactionControllerUpdateData): CancelablePromise<TransactionControllerUpdateResponse>;
5983
7167
  /**
7168
+ * Void transaction
7169
+ * Soft-deletes a transaction by marking it as VOIDED
5984
7170
  * @param data The data for the request.
7171
+ * @param data.id Transaction ID
5985
7172
  * @param data.region Region code for tenant context
5986
- * @returns void
7173
+ * @returns void Transaction voided successfully
5987
7174
  * @throws ApiError
5988
7175
  */
5989
- static transactionController1(data: TransactionController1Data): CancelablePromise<TransactionController1Response>;
7176
+ static transactionControllerDelete(data: TransactionControllerDeleteData): CancelablePromise<TransactionControllerDeleteResponse>;
5990
7177
  }
5991
7178
  declare class BeanBalancesService {
5992
7179
  /**
@@ -5994,6 +7181,7 @@ declare class BeanBalancesService {
5994
7181
  * Calculate account balance at a specific date for a single currency
5995
7182
  * @param data The data for the request.
5996
7183
  * @param data.account Account name (e.g., "Assets:Bank:Checking")
7184
+ * @param data.region Region code for tenant context
5997
7185
  * @param data.date Date to calculate balance at (ISO 8601 format)
5998
7186
  * @param data.currency Currency to query (e.g., "USD", "CNY")
5999
7187
  * @returns BalanceResponseDto Balance calculated successfully
@@ -6003,19 +7191,24 @@ declare class BeanBalancesService {
6003
7191
  /**
6004
7192
  * Query multi-currency account balance
6005
7193
  * Calculate account balances for all currencies at a specific date
7194
+ * @param data The data for the request.
7195
+ * @param data.region Region code for tenant context
6006
7196
  * @returns MultiCurrencyBalanceResponseDto Balances calculated successfully
6007
7197
  * @throws ApiError
6008
7198
  */
6009
- static balanceControllerGetMultiCurrencyBalance(): CancelablePromise<BalanceControllerGetMultiCurrencyBalanceResponse>;
7199
+ static balanceControllerGetMultiCurrencyBalance(data: BalanceControllerGetMultiCurrencyBalanceData): CancelablePromise<BalanceControllerGetMultiCurrencyBalanceResponse>;
6010
7200
  }
6011
7201
  declare class BeanCommoditiesService {
6012
7202
  /**
7203
+ * Create a new commodity
7204
+ * Creates a new commodity definition for the authenticated user
6013
7205
  * @param data The data for the request.
6014
7206
  * @param data.region Region code for tenant context
6015
- * @returns unknown
7207
+ * @param data.requestBody
7208
+ * @returns CommodityResponseDto Commodity created successfully
6016
7209
  * @throws ApiError
6017
7210
  */
6018
- static commodityController(data: CommodityControllerData): CancelablePromise<CommodityControllerResponse>;
7211
+ static commodityControllerCreate(data: CommodityControllerCreateData): CancelablePromise<CommodityControllerCreateResponse>;
6019
7212
  /**
6020
7213
  * List user commodities
6021
7214
  * Returns all commodity definitions for the authenticated user with optional filtering
@@ -6038,33 +7231,45 @@ declare class BeanCommoditiesService {
6038
7231
  */
6039
7232
  static commodityControllerFindOne(data: CommodityControllerFindOneData): CancelablePromise<CommodityControllerFindOneResponse>;
6040
7233
  /**
7234
+ * Update commodity
7235
+ * Updates an existing commodity definition. Symbol cannot be changed.
6041
7236
  * @param data The data for the request.
7237
+ * @param data.symbol Commodity symbol
6042
7238
  * @param data.region Region code for tenant context
6043
- * @returns unknown
7239
+ * @param data.requestBody
7240
+ * @returns CommodityResponseDto Commodity updated successfully
6044
7241
  * @throws ApiError
6045
7242
  */
6046
- static commodityController1(data: CommodityController1Data): CancelablePromise<CommodityController1Response>;
7243
+ static commodityControllerUpdate(data: CommodityControllerUpdateData): CancelablePromise<CommodityControllerUpdateResponse>;
6047
7244
  /**
7245
+ * Delete commodity
7246
+ * Deletes a commodity definition
6048
7247
  * @param data The data for the request.
7248
+ * @param data.symbol Commodity symbol
6049
7249
  * @param data.region Region code for tenant context
6050
- * @returns void
7250
+ * @returns void Commodity deleted successfully
6051
7251
  * @throws ApiError
6052
7252
  */
6053
- static commodityController2(data: CommodityController2Data): CancelablePromise<CommodityController2Response>;
7253
+ static commodityControllerDelete(data: CommodityControllerDeleteData): CancelablePromise<CommodityControllerDeleteResponse>;
6054
7254
  /**
7255
+ * Ensure commodity exists
7256
+ * Gets existing commodity or creates it with automatic initialization from OpenBB
6055
7257
  * @param data The data for the request.
7258
+ * @param data.symbol Commodity symbol
6056
7259
  * @param data.region Region code for tenant context
6057
- * @returns unknown
7260
+ * @returns CommodityResponseDto Commodity retrieved or created
6058
7261
  * @throws ApiError
6059
7262
  */
6060
- static commodityController3(data: CommodityController3Data): CancelablePromise<CommodityController3Response>;
7263
+ static commodityControllerGetOrCreate(data: CommodityControllerGetOrCreateData): CancelablePromise<CommodityControllerGetOrCreateResponse>;
6061
7264
  /**
7265
+ * Bulk create commodities
7266
+ * Creates multiple commodities from a list of symbols, useful for initialization
6062
7267
  * @param data The data for the request.
6063
7268
  * @param data.region Region code for tenant context
6064
- * @returns unknown
7269
+ * @returns CommodityResponseDto Commodities created successfully
6065
7270
  * @throws ApiError
6066
7271
  */
6067
- static commodityController4(data: CommodityController4Data): CancelablePromise<CommodityController4Response>;
7272
+ static commodityControllerBulkCreate(data: CommodityControllerBulkCreateData): CancelablePromise<CommodityControllerBulkCreateResponse>;
6068
7273
  }
6069
7274
  declare class ProviderSyncService {
6070
7275
  /**
@@ -6101,15 +7306,18 @@ declare class ProviderSyncService {
6101
7306
  /**
6102
7307
  * Get supported providers
6103
7308
  * Returns a list of all providers supported by the sync endpoint.
7309
+ * @param data The data for the request.
7310
+ * @param data.region Region code for tenant context
6104
7311
  * @returns SupportedProvidersResponseDto List of supported providers
6105
7312
  * @throws ApiError
6106
7313
  */
6107
- static providerSyncControllerGetSupportedProviders(): CancelablePromise<ProviderSyncControllerGetSupportedProvidersResponse>;
7314
+ static providerSyncControllerGetSupportedProviders(data: ProviderSyncControllerGetSupportedProvidersData): CancelablePromise<ProviderSyncControllerGetSupportedProvidersResponse>;
6108
7315
  /**
6109
7316
  * Check if provider is supported
6110
7317
  * Returns whether a specific provider is supported.
6111
7318
  * @param data The data for the request.
6112
7319
  * @param data.providerName Provider name to check
7320
+ * @param data.region Region code for tenant context
6113
7321
  * @returns unknown Provider support status
6114
7322
  * @throws ApiError
6115
7323
  */
@@ -6128,6 +7336,12 @@ declare class HealthService {
6128
7336
  * @throws ApiError
6129
7337
  */
6130
7338
  static healthControllerCheckDatabase(): CancelablePromise<HealthControllerCheckDatabaseResponse>;
7339
+ /**
7340
+ * Check OpenBB schema status
7341
+ * @returns unknown OpenBB status
7342
+ * @throws ApiError
7343
+ */
7344
+ static healthControllerCheckOpenBb(): CancelablePromise<HealthControllerCheckOpenBbResponse>;
6131
7345
  /**
6132
7346
  * Check Redis connection health
6133
7347
  * @returns unknown Redis is healthy
@@ -6154,28 +7368,6 @@ declare class HealthService {
6154
7368
  * @throws ApiError
6155
7369
  */
6156
7370
  static healthControllerGetMetrics(): CancelablePromise<HealthControllerGetMetricsResponse>;
6157
- /**
6158
- * Check health of a specific data enhancer
6159
- * @param data The data for the request.
6160
- * @param data.name Data enhancer name
6161
- * @returns unknown Data enhancer is healthy
6162
- * @throws ApiError
6163
- */
6164
- static healthControllerGetHealthOfDataEnhancer(data: HealthControllerGetHealthOfDataEnhancerData): CancelablePromise<HealthControllerGetHealthOfDataEnhancerResponse>;
6165
- /**
6166
- * Check health of all data providers
6167
- * @returns unknown Data providers health status
6168
- * @throws ApiError
6169
- */
6170
- static healthControllerCheckDataProviders(): CancelablePromise<HealthControllerCheckDataProvidersResponse>;
6171
- /**
6172
- * Check health of a specific data provider
6173
- * @param data The data for the request.
6174
- * @param data.dataSource Data source identifier
6175
- * @returns unknown Data provider is healthy
6176
- * @throws ApiError
6177
- */
6178
- static healthControllerGetHealthOfDataProvider(data: HealthControllerGetHealthOfDataProviderData): CancelablePromise<HealthControllerGetHealthOfDataProviderResponse>;
6179
7371
  }
6180
7372
 
6181
7373
  type ApiRequestOptions = {
@@ -6218,4 +7410,4 @@ type OpenAPIConfig = {
6218
7410
  };
6219
7411
  declare const OpenAPI: OpenAPIConfig;
6220
7412
 
6221
- 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 AccountStandardsControllerGetRegionsResponse, type AccountStandardsControllerGetTemplatesData, type AccountStandardsControllerGetTemplatesResponse, type AccountsResponseDto, type AccountsSummaryDto, type AnonymousLoginDto, 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 BalanceControllerGetMultiCurrencyBalanceResponse, type BalanceResponseDto, BeanAccountsService, BeanBalancesService, BeanCommoditiesService, BeanTransactionsService, 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 HealthControllerCheckDataProvidersResponse, type HealthControllerCheckDatabaseResponse, type HealthControllerCheckRedisResponse, type HealthControllerGetCircuitBreakersHealthResponse, type HealthControllerGetHealthOfDataEnhancerData, type HealthControllerGetHealthOfDataEnhancerResponse, type HealthControllerGetHealthOfDataProviderData, type HealthControllerGetHealthOfDataProviderResponse, type HealthControllerGetHealthResponse, 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 InfoControllerGetInfoResponse, type LogoControllerGetLogoByDataSourceAndSymbolData, type LogoControllerGetLogoByDataSourceAndSymbolResponse, type LogoControllerGetLogoByUrlData, type LogoControllerGetLogoByUrlResponse, type MapperDefaultsDto, 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 PayeeController1Response, type PayeeController2Response, type PayeeControllerAutocompleteData, type PayeeControllerAutocompleteResponse, type PayeeControllerFindAllData, type PayeeControllerFindAllResponse, type PayeeControllerFindOneData, type PayeeControllerFindOneResponse, type PayeeControllerGetTopPayeesData, type PayeeControllerGetTopPayeesResponse, type PayeeControllerResponse, type PayeeListResponseDto, type PayeeProfileAdminController1Response, type PayeeProfileAdminController2Response, type PayeeProfileAdminController3Response, type PayeeProfileAdminController4Response, type PayeeProfileAdminControllerFindAllData, type PayeeProfileAdminControllerFindAllResponse, type PayeeProfileAdminControllerFindOneData, type PayeeProfileAdminControllerFindOneResponse, type PayeeProfileAdminControllerResponse, type PayeeProfileListResponseDto, type PayeeProfileResponseDto, type PayeeResponseDto, type PayeeStatsResponseDto, type PlatformController1Response, type PlatformController2Response, type PlatformControllerFindAllResponse, type PlatformControllerGetPlatformListResponse, type PlatformControllerResponse, type PlatformGroupDto, type PortfolioTrendsResponseDto, type PostingDetailDto, type PostingResponseDto, type ProcessNlpDto, type PropertyController1Response, type PropertyControllerGetAllResponse, type PropertyControllerGetByKeyData, type PropertyControllerGetByKeyResponse, type PropertyControllerResponse, type ProviderSyncConfigDto, 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 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 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 };
7413
+ 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 };