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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,6 +5,10 @@ export type CreateAccountDto = {
5
5
  * Account path (hierarchical, colon-separated)
6
6
  */
7
7
  path: string;
8
+ /**
9
+ * Display name to distinguish accounts at the same path (default: "")
10
+ */
11
+ displayName?: string;
8
12
  /**
9
13
  * Account open date
10
14
  */
@@ -73,6 +77,10 @@ export type AccountResponseDto = {
73
77
  * Account path (hierarchical, colon-separated)
74
78
  */
75
79
  path: string;
80
+ /**
81
+ * Display name distinguishing multiple accounts at the same path
82
+ */
83
+ displayName: string;
76
84
  /**
77
85
  * Account type (root segment)
78
86
  */
@@ -170,6 +178,10 @@ export type AccountListResponseDto = {
170
178
  };
171
179
 
172
180
  export type UpdateAccountDto = {
181
+ /**
182
+ * Display name to distinguish accounts at the same path
183
+ */
184
+ displayName?: string;
173
185
  /**
174
186
  * Allowed currencies (null = no restriction)
175
187
  */
@@ -202,9 +214,7 @@ export type UpdateAccountDto = {
202
214
  /**
203
215
  * Platform ID (references Platform.id), null to clear association
204
216
  */
205
- platformId?: {
206
- [key: string]: unknown;
207
- } | null;
217
+ platformId?: string | null;
208
218
  };
209
219
 
210
220
  export type CloseAccountDto = {
@@ -227,6 +237,85 @@ export type ReopenAccountDto = {
227
237
  reopenDate?: string;
228
238
  };
229
239
 
240
+ export type AccountStandardResponseDto = {
241
+ /**
242
+ * Account path (hierarchical, colon-separated)
243
+ */
244
+ path: string;
245
+ /**
246
+ * Account type in Beancount hierarchy
247
+ */
248
+ type: 'Assets' | 'Liabilities' | 'Income' | 'Expenses' | 'Equity';
249
+ /**
250
+ * i18n key for localized display name
251
+ */
252
+ i18nKey: string;
253
+ /**
254
+ * Short localized display name
255
+ */
256
+ name?: string;
257
+ /**
258
+ * Account description (stable semantics only)
259
+ */
260
+ description: string;
261
+ /**
262
+ * Account tags for categorization
263
+ */
264
+ tags: Array<string>;
265
+ /**
266
+ * Icon identifier for UI display
267
+ */
268
+ icon: string;
269
+ };
270
+
271
+ export type AccountStandardListResponseDto = {
272
+ /**
273
+ * Array of account templates
274
+ */
275
+ items: Array<AccountStandardResponseDto>;
276
+ /**
277
+ * Total number of account templates
278
+ */
279
+ total: number;
280
+ /**
281
+ * Region code
282
+ */
283
+ region: string;
284
+ };
285
+
286
+ export type TemplateMetadataDto = {
287
+ /**
288
+ * Whether this path can be extended
289
+ */
290
+ extendable: boolean;
291
+ /**
292
+ * Root account type
293
+ */
294
+ rootType: string;
295
+ };
296
+
297
+ export type TemplateMetadataResponseDto = {
298
+ metadata?: TemplateMetadataDto;
299
+ };
300
+
301
+ export type RegionConfigDto = {
302
+ currency: string;
303
+ dateFormat: string;
304
+ locale: string;
305
+ };
306
+
307
+ export type RegionInfoDto = {
308
+ code: string;
309
+ displayName: string;
310
+ parent?: string;
311
+ chain: Array<string>;
312
+ config: RegionConfigDto;
313
+ };
314
+
315
+ export type RegionsMetadataResponseDto = {
316
+ regions: Array<RegionInfoDto>;
317
+ };
318
+
230
319
  export type CreatePostingDto = {
231
320
  /**
232
321
  * Account name in Beancount format (must start with uppercase, colon-separated)
@@ -304,7 +393,7 @@ export type PostingResponseDto = {
304
393
  */
305
394
  account: string;
306
395
  /**
307
- * Amount (may be null if interpolated)
396
+ * Amount as decimal string. Typed optional but always present in responses: interpolation fills any MISSING posting before it is persisted or returned.
308
397
  */
309
398
  units?: string;
310
399
  /**
@@ -439,6 +528,39 @@ export type ApiProblemResponseDto = {
439
528
  };
440
529
  };
441
530
 
531
+ export type BatchCreateTransactionDto = {
532
+ /**
533
+ * Array of transactions to create
534
+ */
535
+ transactions: Array<CreateTransactionDto>;
536
+ };
537
+
538
+ export type BatchTransactionErrorDto = {
539
+ /**
540
+ * Index of failed transaction in the input array
541
+ */
542
+ index: number;
543
+ /**
544
+ * Error message describing the failure
545
+ */
546
+ error: string;
547
+ /**
548
+ * Structured error code for programmatic handling
549
+ */
550
+ errorCode?: string;
551
+ };
552
+
553
+ export type BatchTransactionResponseDto = {
554
+ /**
555
+ * Successfully created transactions
556
+ */
557
+ succeeded: Array<TransactionResponseDto>;
558
+ /**
559
+ * Failed transactions with error details
560
+ */
561
+ failed: Array<BatchTransactionErrorDto>;
562
+ };
563
+
442
564
  export type PostingDetailDto = {
443
565
  /**
444
566
  * Posting ID
@@ -453,7 +575,7 @@ export type PostingDetailDto = {
453
575
  */
454
576
  accountName: string;
455
577
  /**
456
- * Amount (may be null if interpolated)
578
+ * Amount as decimal string. Typed optional but always present in responses: interpolation fills any MISSING posting before it is persisted or returned.
457
579
  */
458
580
  units?: string;
459
581
  /**
@@ -611,6 +733,24 @@ export type TransactionListResponseDto = {
611
733
  offset: number;
612
734
  };
613
735
 
736
+ export type TagSuggestionDto = {
737
+ /**
738
+ * Tag name
739
+ */
740
+ tag: string;
741
+ /**
742
+ * Usage count across ACTIVE transactions
743
+ */
744
+ count: number;
745
+ };
746
+
747
+ export type TagSuggestionsResponseDto = {
748
+ /**
749
+ * Tag suggestions sorted as requested
750
+ */
751
+ data: Array<TagSuggestionDto>;
752
+ };
753
+
614
754
  export type UpdateTransactionDto = {
615
755
  /**
616
756
  * Transaction flag (CLEARED, PENDING, etc.)
@@ -646,66 +786,6 @@ export type UpdateTransactionDto = {
646
786
  };
647
787
  };
648
788
 
649
- export type AccountStandardResponseDto = {
650
- /**
651
- * Account path (hierarchical, colon-separated)
652
- */
653
- path: string;
654
- /**
655
- * Account type in Beancount hierarchy
656
- */
657
- type: 'Assets' | 'Liabilities' | 'Income' | 'Expenses' | 'Equity';
658
- /**
659
- * i18n key for localized display name
660
- */
661
- i18nKey?: string;
662
- /**
663
- * Account description
664
- */
665
- description?: string;
666
- /**
667
- * Account tags for categorization
668
- */
669
- tags?: Array<string>;
670
- /**
671
- * Icon identifier for UI display
672
- */
673
- icon?: string;
674
- };
675
-
676
- export type AccountStandardListResponseDto = {
677
- /**
678
- * Array of account templates
679
- */
680
- items: Array<AccountStandardResponseDto>;
681
- /**
682
- * Total number of account templates
683
- */
684
- total: number;
685
- /**
686
- * Region code
687
- */
688
- region: string;
689
- };
690
-
691
- export type RegionConfigDto = {
692
- currency: string;
693
- dateFormat: string;
694
- locale: string;
695
- };
696
-
697
- export type RegionInfoDto = {
698
- code: string;
699
- displayName: string;
700
- parent?: string;
701
- chain: Array<string>;
702
- config: RegionConfigDto;
703
- };
704
-
705
- export type RegionsMetadataResponseDto = {
706
- regions: Array<RegionInfoDto>;
707
- };
708
-
709
789
  export type BalanceResponseDto = {
710
790
  /**
711
791
  * Account name
@@ -804,9 +884,9 @@ export type ReviewSummaryDto = {
804
884
  */
805
885
  confidence: number;
806
886
  /**
807
- * Confidence level derived from score
887
+ * Confidence level derived from score. Null for error-type reviews (ACCOUNT_VALIDATION/PIPELINE_ERROR) which carry no confidence.
808
888
  */
809
- confidenceLevel: 'HIGH' | 'MEDIUM' | 'LOW';
889
+ confidenceLevel: 'HIGH' | 'MEDIUM' | 'LOW' | null;
810
890
  /**
811
891
  * i18n message key for summary (e.g., review.summary.duplicate). Translate on frontend with summaryParams.
812
892
  */
@@ -875,7 +955,7 @@ export type type2 =
875
955
  export type status3 = 'PENDING' | 'RESOLVED' | 'EXPIRED' | 'CANCELLED';
876
956
 
877
957
  /**
878
- * Confidence level derived from score
958
+ * Confidence level derived from score. Null for error-type reviews (ACCOUNT_VALIDATION/PIPELINE_ERROR) which carry no confidence.
879
959
  */
880
960
  export type confidenceLevel = 'HIGH' | 'MEDIUM' | 'LOW';
881
961
 
@@ -958,9 +1038,9 @@ export type ReviewDetailDto = {
958
1038
  */
959
1039
  confidence: number;
960
1040
  /**
961
- * Confidence level derived from score
1041
+ * Confidence level derived from score. Null for error-type reviews (ACCOUNT_VALIDATION/PIPELINE_ERROR) which carry no confidence.
962
1042
  */
963
- confidenceLevel: 'HIGH' | 'MEDIUM' | 'LOW';
1043
+ confidenceLevel: 'HIGH' | 'MEDIUM' | 'LOW' | null;
964
1044
  /**
965
1045
  * i18n message key for summary (e.g., review.summary.duplicate). Translate on frontend with summaryParams.
966
1046
  */
@@ -1027,6 +1107,124 @@ export type ReviewDetailDto = {
1027
1107
  transactionId?: string;
1028
1108
  };
1029
1109
 
1110
+ export type ResolveReviewDto = {
1111
+ /**
1112
+ * 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
1113
+ */
1114
+ action: string;
1115
+ /**
1116
+ * Additional data for the decision (e.g., selected account ID)
1117
+ */
1118
+ data?: {
1119
+ [key: string]: unknown;
1120
+ };
1121
+ };
1122
+
1123
+ export type ResolveResultDto = {
1124
+ /**
1125
+ * Whether resolution was successful
1126
+ */
1127
+ success: boolean;
1128
+ /**
1129
+ * i18n message key for result message (e.g., review.payee.result.mapped)
1130
+ */
1131
+ messageKey?: string;
1132
+ /**
1133
+ * Parameters for message interpolation (e.g., { name: "PayeeName" })
1134
+ */
1135
+ messageParams?: {
1136
+ [key: string]: string;
1137
+ };
1138
+ /**
1139
+ * Resolution ID for undo
1140
+ */
1141
+ resolutionId: string;
1142
+ /**
1143
+ * Whether this decision can be undone
1144
+ */
1145
+ canUndo: boolean;
1146
+ /**
1147
+ * Deadline for undo (24h from resolution)
1148
+ */
1149
+ undoDeadline: string;
1150
+ /**
1151
+ * Rule ID if learning was triggered (ACCEPT_AND_LEARN actions). Use this to deep-link to the rule management page.
1152
+ */
1153
+ learnedRuleId?: string;
1154
+ };
1155
+
1156
+ export type UndoResultDto = {
1157
+ /**
1158
+ * Whether undo was successful
1159
+ */
1160
+ success: boolean;
1161
+ /**
1162
+ * Message
1163
+ */
1164
+ message?: string;
1165
+ /**
1166
+ * Review item ID that was restored
1167
+ */
1168
+ reviewId: string;
1169
+ };
1170
+
1171
+ export type BatchResolveDto = {
1172
+ /**
1173
+ * Review item IDs to resolve
1174
+ */
1175
+ reviewIds: Array<string>;
1176
+ /**
1177
+ * Decision action to apply to all items
1178
+ */
1179
+ action: string;
1180
+ /**
1181
+ * Additional data for the decision
1182
+ */
1183
+ data?: {
1184
+ [key: string]: unknown;
1185
+ };
1186
+ };
1187
+
1188
+ export type BatchResolveResultDto = {
1189
+ /**
1190
+ * Number of successfully resolved items
1191
+ */
1192
+ successCount: number;
1193
+ /**
1194
+ * Number of failed items
1195
+ */
1196
+ failedCount: number;
1197
+ /**
1198
+ * Details for each item
1199
+ */
1200
+ results: Array<string>;
1201
+ };
1202
+
1203
+ export type CreatePayeeDto = {
1204
+ /**
1205
+ * User's original payee name (e.g., 'Starbucks', 'McDonald'). This is the raw payee string as entered by the user.
1206
+ */
1207
+ payee: string;
1208
+ /**
1209
+ * Optional reference to global PayeeProfile for standardized data (merchant info, i18n keys, categories)
1210
+ */
1211
+ payeeProfileId?: string;
1212
+ /**
1213
+ * User's custom category for this payee (overrides PayeeProfile category)
1214
+ */
1215
+ customCategory?: string;
1216
+ /**
1217
+ * User's custom tags for this payee (e.g., ['favorite', 'work_meal'])
1218
+ */
1219
+ customTags?: Array<string>;
1220
+ /**
1221
+ * Metadata for extended information (location, notes, contact info, etc.)
1222
+ */
1223
+ meta?: {
1224
+ [key: string]: unknown;
1225
+ };
1226
+ };
1227
+
1030
1228
  export type PayeeResponseDto = {
1031
1229
  /**
1032
1230
  * Unique identifier (UUID)
@@ -1043,15 +1241,11 @@ export type PayeeResponseDto = {
1043
1241
  /**
1044
1242
  * Reference to global PayeeProfile (merchant info, i18n keys, categories)
1045
1243
  */
1046
- payeeProfileId?: {
1047
- [key: string]: unknown;
1048
- } | null;
1244
+ payeeProfileId?: string | null;
1049
1245
  /**
1050
1246
  * User's custom category (overrides PayeeProfile category if set)
1051
1247
  */
1052
- customCategory?: {
1053
- [key: string]: unknown;
1054
- } | null;
1248
+ customCategory?: string | null;
1055
1249
  /**
1056
1250
  * User's custom tags (e.g., ['favorite', 'work_meal'])
1057
1251
  */
@@ -1117,34 +1311,53 @@ export type PayeeStatsResponseDto = {
1117
1311
  lastUsedAt: string;
1118
1312
  };
1119
1313
 
1120
- export type PayeeProfileResponseDto = {
1314
+ export type UpdatePayeeDto = {
1121
1315
  /**
1122
- * Unique identifier (UUID)
1316
+ * Optional reference to global PayeeProfile for standardized data (merchant info, i18n keys, categories)
1123
1317
  */
1124
- id: string;
1318
+ payeeProfileId?: string;
1125
1319
  /**
1126
- * Canonical payee name (unique, case-insensitive)
1320
+ * User's custom category for this payee (overrides PayeeProfile category)
1127
1321
  */
1128
- canonical: string;
1322
+ customCategory?: string;
1129
1323
  /**
1130
- * Multi-language aliases
1324
+ * User's custom tags for this payee (e.g., ['favorite', 'work_meal'])
1131
1325
  */
1132
- aliases: Array<string>;
1326
+ customTags?: Array<string>;
1133
1327
  /**
1134
- * Translation key for i18n
1328
+ * Metadata for extended information (location, notes, contact info, etc.). Will merge with existing metadata.
1135
1329
  */
1136
- i18nKey?: {
1330
+ meta?: {
1137
1331
  [key: string]: unknown;
1138
- } | null;
1332
+ };
1139
1333
  /**
1140
- * Payee category
1334
+ * Enable or disable this payee. Disabled payees will not appear in autocomplete suggestions.
1141
1335
  */
1142
- category:
1143
- | 'RESTAURANT'
1144
- | 'CAFE'
1145
- | 'FAST_FOOD'
1146
- | 'BAR'
1147
- | 'SUPERMARKET'
1336
+ isActive?: boolean;
1337
+ };
1338
+
1339
+ export type CreatePayeeProfileDto = {
1340
+ /**
1341
+ * Canonical payee name (unique, case-insensitive). This is the primary identifier for the payee.
1342
+ */
1343
+ canonical: string;
1344
+ /**
1345
+ * Multi-language aliases for the payee. Used for matching user input in different languages.
1346
+ */
1347
+ aliases?: Array<string>;
1348
+ /**
1349
+ * Translation key for i18n integration (XLIFF translation system)
1350
+ */
1351
+ i18nKey?: string;
1352
+ /**
1353
+ * Payee category classification
1354
+ */
1355
+ category:
1356
+ | 'RESTAURANT'
1357
+ | 'CAFE'
1358
+ | 'FAST_FOOD'
1359
+ | 'BAR'
1360
+ | 'SUPERMARKET'
1148
1361
  | 'CONVENIENCE_STORE'
1149
1362
  | 'SHOPPING_MALL'
1150
1363
  | 'ONLINE_SHOPPING'
@@ -1164,75 +1377,47 @@ export type PayeeProfileResponseDto = {
1164
1377
  | 'HOTEL'
1165
1378
  | 'OTHER';
1166
1379
  /**
1167
- * Sub-category
1380
+ * Sub-category for more specific classification
1168
1381
  */
1169
- subCategory?: {
1170
- [key: string]: unknown;
1171
- } | null;
1382
+ subCategory?: string;
1172
1383
  /**
1173
- * Country codes where payee operates
1384
+ * Country/region codes where the payee operates (ISO 3166-1 alpha-2)
1174
1385
  */
1175
- countries: Array<string>;
1386
+ countries?: Array<string>;
1176
1387
  /**
1177
- * Primary operating country
1388
+ * Primary operating country (ISO 3166-1 alpha-2)
1178
1389
  */
1179
- primaryCountry?: {
1180
- [key: string]: unknown;
1181
- } | null;
1390
+ primaryCountry?: string;
1182
1391
  /**
1183
- * Search keywords
1392
+ * Search keywords for fuzzy matching
1184
1393
  */
1185
- keywords: Array<string>;
1394
+ keywords?: Array<string>;
1186
1395
  /**
1187
- * Logo URL
1396
+ * Payee logo URL
1188
1397
  */
1189
- logoUrl?: {
1190
- [key: string]: unknown;
1191
- } | null;
1398
+ logoUrl?: string;
1192
1399
  /**
1193
- * Official website
1400
+ * Official website URL
1194
1401
  */
1195
- website?: {
1196
- [key: string]: unknown;
1197
- } | null;
1402
+ website?: string;
1198
1403
  /**
1199
- * Description
1404
+ * Payee description
1200
1405
  */
1201
- description?: {
1202
- [key: string]: unknown;
1203
- } | null;
1406
+ description?: string;
1204
1407
  /**
1205
- * Extended metadata
1408
+ * Extended metadata (business hours, contact info, additional details)
1206
1409
  */
1207
- meta: {
1410
+ meta?: {
1208
1411
  [key: string]: unknown;
1209
1412
  };
1210
1413
  /**
1211
- * Data source
1212
- */
1213
- dataSource: 'MANUAL' | 'IMPORT' | 'API' | 'CROWDSOURCED';
1214
- /**
1215
- * Verification timestamp (null if not verified)
1216
- */
1217
- verifiedAt?: {
1218
- [key: string]: unknown;
1219
- } | null;
1220
- /**
1221
- * Whether the profile is active
1222
- */
1223
- isActive: boolean;
1224
- /**
1225
- * Creation timestamp
1226
- */
1227
- createdAt: string;
1228
- /**
1229
- * Last update timestamp
1414
+ * Data source for this profile
1230
1415
  */
1231
- updatedAt: string;
1416
+ dataSource?: 'MANUAL' | 'IMPORT' | 'API' | 'CROWDSOURCED';
1232
1417
  };
1233
1418
 
1234
1419
  /**
1235
- * Payee category
1420
+ * Payee category classification
1236
1421
  */
1237
1422
  export type category =
1238
1423
  | 'RESTAURANT'
@@ -1260,52 +1445,100 @@ export type category =
1260
1445
  | 'OTHER';
1261
1446
 
1262
1447
  /**
1263
- * Data source
1448
+ * Data source for this profile
1264
1449
  */
1265
1450
  export type dataSource = 'MANUAL' | 'IMPORT' | 'API' | 'CROWDSOURCED';
1266
1451
 
1267
- export type PayeeProfileListResponseDto = {
1452
+ export type PayeeProfileResponseDto = {
1268
1453
  /**
1269
- * List of payee profiles
1454
+ * Unique identifier (UUID)
1270
1455
  */
1271
- items: Array<PayeeProfileResponseDto>;
1456
+ id: string;
1272
1457
  /**
1273
- * Total count of matching records
1458
+ * Canonical payee name (unique, case-insensitive)
1274
1459
  */
1275
- total: number;
1276
- };
1277
-
1278
- export type CommodityResponseDto = {
1460
+ canonical: string;
1279
1461
  /**
1280
- * Unique identifier
1462
+ * Multi-language aliases
1281
1463
  */
1282
- id: string;
1464
+ aliases: Array<string>;
1283
1465
  /**
1284
- * User ID (owner of the commodity)
1466
+ * Translation key for i18n
1285
1467
  */
1286
- userId?: {
1287
- [key: string]: unknown;
1288
- } | null;
1468
+ i18nKey?: string | null;
1289
1469
  /**
1290
- * Commodity symbol (corresponds to Beancount currency field)
1470
+ * Payee category
1291
1471
  */
1292
- symbol: string;
1472
+ category:
1473
+ | 'RESTAURANT'
1474
+ | 'CAFE'
1475
+ | 'FAST_FOOD'
1476
+ | 'BAR'
1477
+ | 'SUPERMARKET'
1478
+ | 'CONVENIENCE_STORE'
1479
+ | 'SHOPPING_MALL'
1480
+ | 'ONLINE_SHOPPING'
1481
+ | 'TAXI'
1482
+ | 'RIDE_SHARING'
1483
+ | 'PUBLIC_TRANSPORT'
1484
+ | 'PARKING'
1485
+ | 'GAS_STATION'
1486
+ | 'UTILITIES'
1487
+ | 'TELECOM'
1488
+ | 'STREAMING'
1489
+ | 'HEALTHCARE'
1490
+ | 'EDUCATION'
1491
+ | 'ENTERTAINMENT'
1492
+ | 'SPORTS'
1493
+ | 'TRAVEL'
1494
+ | 'HOTEL'
1495
+ | 'OTHER';
1293
1496
  /**
1294
- * Commodity definition date (required per Beancount spec). Represents when this commodity was first defined in the accounting system.
1497
+ * Sub-category
1295
1498
  */
1296
- date: string;
1499
+ subCategory?: string | null;
1297
1500
  /**
1298
- * Metadata (corresponds to Beancount meta field). Contains name, assetClass, precision, note, tags, etc.
1501
+ * Country codes where payee operates
1299
1502
  */
1300
- metadata: {
1503
+ countries: Array<string>;
1504
+ /**
1505
+ * Primary operating country
1506
+ */
1507
+ primaryCountry?: string | null;
1508
+ /**
1509
+ * Search keywords
1510
+ */
1511
+ keywords: Array<string>;
1512
+ /**
1513
+ * Logo URL
1514
+ */
1515
+ logoUrl?: string | null;
1516
+ /**
1517
+ * Official website
1518
+ */
1519
+ website?: string | null;
1520
+ /**
1521
+ * Description
1522
+ */
1523
+ description?: string | null;
1524
+ /**
1525
+ * Extended metadata
1526
+ */
1527
+ meta: {
1301
1528
  [key: string]: unknown;
1302
1529
  };
1303
1530
  /**
1304
- * Reference to SymbolProfile (market data integration, SaaS feature)
1531
+ * Data source
1305
1532
  */
1306
- symbolProfileId?: {
1307
- [key: string]: unknown;
1308
- } | null;
1533
+ dataSource: 'MANUAL' | 'IMPORT' | 'API' | 'CROWDSOURCED';
1534
+ /**
1535
+ * Verification timestamp (null if not verified)
1536
+ */
1537
+ verifiedAt?: string | null;
1538
+ /**
1539
+ * Whether the profile is active
1540
+ */
1541
+ isActive: boolean;
1309
1542
  /**
1310
1543
  * Creation timestamp
1311
1544
  */
@@ -1316,118 +1549,358 @@ export type CommodityResponseDto = {
1316
1549
  updatedAt: string;
1317
1550
  };
1318
1551
 
1319
- export type CommodityListResponseDto = {
1552
+ export type PayeeProfileListResponseDto = {
1320
1553
  /**
1321
- * List of commodities
1554
+ * List of payee profiles
1322
1555
  */
1323
- items: Array<CommodityResponseDto>;
1556
+ items: Array<PayeeProfileResponseDto>;
1324
1557
  /**
1325
- * Total number of commodities
1558
+ * Total count of matching records
1326
1559
  */
1327
1560
  total: number;
1328
1561
  };
1329
1562
 
1330
- export type RecurringRuleResponseDto = {
1563
+ export type UpdatePayeeProfileDto = {
1331
1564
  /**
1332
- * Rule ID
1565
+ * Multi-language aliases for the payee. Used for matching user input in different languages.
1333
1566
  */
1334
- id: string;
1567
+ aliases?: Array<string>;
1335
1568
  /**
1336
- * User ID
1569
+ * Translation key for i18n integration (XLIFF translation system)
1337
1570
  */
1338
- userId: string;
1571
+ i18nKey?: string;
1339
1572
  /**
1340
- * Rule name
1573
+ * Payee category classification
1341
1574
  */
1342
- name: string;
1575
+ category?:
1576
+ | 'RESTAURANT'
1577
+ | 'CAFE'
1578
+ | 'FAST_FOOD'
1579
+ | 'BAR'
1580
+ | 'SUPERMARKET'
1581
+ | 'CONVENIENCE_STORE'
1582
+ | 'SHOPPING_MALL'
1583
+ | 'ONLINE_SHOPPING'
1584
+ | 'TAXI'
1585
+ | 'RIDE_SHARING'
1586
+ | 'PUBLIC_TRANSPORT'
1587
+ | 'PARKING'
1588
+ | 'GAS_STATION'
1589
+ | 'UTILITIES'
1590
+ | 'TELECOM'
1591
+ | 'STREAMING'
1592
+ | 'HEALTHCARE'
1593
+ | 'EDUCATION'
1594
+ | 'ENTERTAINMENT'
1595
+ | 'SPORTS'
1596
+ | 'TRAVEL'
1597
+ | 'HOTEL'
1598
+ | 'OTHER';
1343
1599
  /**
1344
- * Icon emoji
1600
+ * Sub-category for more specific classification
1345
1601
  */
1346
- icon?: {
1347
- [key: string]: unknown;
1348
- };
1602
+ subCategory?: string;
1349
1603
  /**
1350
- * Recurring frequency
1604
+ * Country/region codes where the payee operates (ISO 3166-1 alpha-2)
1351
1605
  */
1352
- frequency: string;
1606
+ countries?: Array<string>;
1353
1607
  /**
1354
- * Expected amount
1608
+ * Primary operating country (ISO 3166-1 alpha-2)
1355
1609
  */
1356
- expectedAmount: number;
1610
+ primaryCountry?: string;
1357
1611
  /**
1358
- * Expected day of month
1612
+ * Search keywords for fuzzy matching
1359
1613
  */
1360
- expectedDay?: {
1361
- [key: string]: unknown;
1362
- };
1614
+ keywords?: Array<string>;
1363
1615
  /**
1364
- * Custom interval in days
1616
+ * Payee logo URL
1365
1617
  */
1366
- customIntervalDays?: {
1367
- [key: string]: unknown;
1368
- };
1618
+ logoUrl?: string;
1369
1619
  /**
1370
- * Currency code
1620
+ * Official website URL
1371
1621
  */
1372
- currency: string;
1622
+ website?: string;
1373
1623
  /**
1374
- * Payee matching pattern
1624
+ * Payee description
1375
1625
  */
1376
- matchPayeePattern?: {
1626
+ description?: string;
1627
+ /**
1628
+ * Extended metadata (business hours, contact info, additional details)
1629
+ */
1630
+ meta?: {
1377
1631
  [key: string]: unknown;
1378
1632
  };
1379
1633
  /**
1380
- * Amount tolerance percentage
1634
+ * Data source for this profile
1381
1635
  */
1382
- matchAmountTolerance: number;
1636
+ dataSource?: 'MANUAL' | 'IMPORT' | 'API' | 'CROWDSOURCED';
1383
1637
  /**
1384
- * Default expense account
1638
+ * Whether the payee profile is active (soft delete)
1385
1639
  */
1386
- defaultExpenseAccount?: {
1387
- [key: string]: unknown;
1388
- };
1640
+ isActive?: boolean;
1389
1641
  /**
1390
- * Default payment account
1642
+ * Verification timestamp. Set to current time to verify, or null to unverify.
1391
1643
  */
1392
- defaultPaymentAccount?: {
1393
- [key: string]: unknown;
1394
- };
1644
+ verifiedAt?: string | null;
1645
+ };
1646
+
1647
+ export type CreateCommodityDto = {
1395
1648
  /**
1396
- * Default payee
1649
+ * Commodity symbol (e.g., AAPL, USD, BTC) - corresponds to Beancount currency field
1397
1650
  */
1398
- defaultPayee?: {
1651
+ symbol: string;
1652
+ /**
1653
+ * Commodity definition date (ISO 8601, required per Beancount spec). Represents when this commodity was first defined in the accounting system.
1654
+ */
1655
+ date: string;
1656
+ /**
1657
+ * Metadata (corresponds to Beancount meta field). Can contain name, assetClass, precision, note, tags, etc.
1658
+ */
1659
+ metadata?: {
1399
1660
  [key: string]: unknown;
1400
1661
  };
1662
+ };
1663
+
1664
+ export type CommodityResponseDto = {
1401
1665
  /**
1402
- * Whether rule is active
1666
+ * Unique identifier
1403
1667
  */
1404
- isActive: boolean;
1668
+ id: string;
1405
1669
  /**
1406
- * Rule start date (YYYY-MM-DD)
1670
+ * User ID (owner of the commodity)
1407
1671
  */
1408
- startDate: string;
1672
+ userId?: string | null;
1409
1673
  /**
1410
- * Rule end date (YYYY-MM-DD)
1674
+ * Commodity symbol (corresponds to Beancount currency field)
1411
1675
  */
1412
- endDate?: {
1413
- [key: string]: unknown;
1414
- };
1676
+ symbol: string;
1415
1677
  /**
1416
- * Auto-create transaction on expected date
1678
+ * Commodity definition date (required per Beancount spec). Represents when this commodity was first defined in the accounting system.
1417
1679
  */
1418
- autoCreate: boolean;
1680
+ date: string;
1419
1681
  /**
1420
- * Last matched occurrence date (YYYY-MM-DD)
1682
+ * Metadata (corresponds to Beancount meta field). Contains name, assetClass, precision, note, tags, etc.
1421
1683
  */
1422
- lastOccurrence?: {
1684
+ metadata: {
1423
1685
  [key: string]: unknown;
1424
1686
  };
1425
1687
  /**
1426
- * Total matched transactions count
1427
- */
1428
- totalCount: number;
1429
- /**
1430
- * Created at timestamp
1688
+ * Creation timestamp
1689
+ */
1690
+ createdAt: string;
1691
+ /**
1692
+ * Last update timestamp
1693
+ */
1694
+ updatedAt: string;
1695
+ };
1696
+
1697
+ export type CommodityListResponseDto = {
1698
+ /**
1699
+ * List of commodities
1700
+ */
1701
+ items: Array<CommodityResponseDto>;
1702
+ /**
1703
+ * Total number of commodities
1704
+ */
1705
+ total: number;
1706
+ };
1707
+
1708
+ export type UpdateCommodityDto = {
1709
+ /**
1710
+ * Commodity definition date (ISO 8601). Represents when this commodity was first defined in the accounting system.
1711
+ */
1712
+ date?: string;
1713
+ /**
1714
+ * Metadata (corresponds to Beancount meta field). Will merge with existing metadata. Can contain name, assetClass, precision, note, tags, etc.
1715
+ */
1716
+ metadata?: {
1717
+ [key: string]: unknown;
1718
+ };
1719
+ };
1720
+
1721
+ export type CreateRecurringRuleDto = {
1722
+ /**
1723
+ * Rule name (unique per user)
1724
+ */
1725
+ name: string;
1726
+ /**
1727
+ * Icon emoji
1728
+ */
1729
+ icon?: string;
1730
+ /**
1731
+ * Recurring frequency
1732
+ */
1733
+ frequency:
1734
+ | 'WEEKLY'
1735
+ | 'BIWEEKLY'
1736
+ | 'MONTHLY'
1737
+ | 'BIMONTHLY'
1738
+ | 'QUARTERLY'
1739
+ | 'YEARLY'
1740
+ | 'CUSTOM';
1741
+ /**
1742
+ * Expected amount (positive number)
1743
+ */
1744
+ expectedAmount: number;
1745
+ /**
1746
+ * Expected day of month (1-31)
1747
+ */
1748
+ expectedDay?: number;
1749
+ /**
1750
+ * Custom interval in days (required for CUSTOM frequency)
1751
+ */
1752
+ customIntervalDays?: number;
1753
+ /**
1754
+ * Currency code
1755
+ */
1756
+ currency: string;
1757
+ /**
1758
+ * Payee matching pattern (supports wildcards)
1759
+ */
1760
+ matchPayeePattern?: string;
1761
+ /**
1762
+ * Amount tolerance percentage (0-1)
1763
+ */
1764
+ matchAmountTolerance: number;
1765
+ /**
1766
+ * Default expense account for auto-create
1767
+ */
1768
+ defaultExpenseAccount?: string;
1769
+ /**
1770
+ * Default payment account for auto-create
1771
+ */
1772
+ defaultPaymentAccount?: string;
1773
+ /**
1774
+ * Default payee for auto-create
1775
+ */
1776
+ defaultPayee?: string;
1777
+ /**
1778
+ * Auto-create transaction when expected date arrives
1779
+ */
1780
+ autoCreate: boolean;
1781
+ /**
1782
+ * Rule start date (ISO format)
1783
+ */
1784
+ startDate?: string;
1785
+ /**
1786
+ * Rule end date (ISO format)
1787
+ */
1788
+ endDate?: string;
1789
+ };
1790
+
1791
+ /**
1792
+ * Recurring frequency
1793
+ */
1794
+ export type frequency =
1795
+ | 'WEEKLY'
1796
+ | 'BIWEEKLY'
1797
+ | 'MONTHLY'
1798
+ | 'BIMONTHLY'
1799
+ | 'QUARTERLY'
1800
+ | 'YEARLY'
1801
+ | 'CUSTOM';
1802
+
1803
+ export type RecurringRuleResponseDto = {
1804
+ /**
1805
+ * Rule ID
1806
+ */
1807
+ id: string;
1808
+ /**
1809
+ * User ID
1810
+ */
1811
+ userId: string;
1812
+ /**
1813
+ * Rule name
1814
+ */
1815
+ name: string;
1816
+ /**
1817
+ * Icon emoji
1818
+ */
1819
+ icon?: {
1820
+ [key: string]: unknown;
1821
+ };
1822
+ /**
1823
+ * Recurring frequency
1824
+ */
1825
+ frequency: string;
1826
+ /**
1827
+ * Expected amount
1828
+ */
1829
+ expectedAmount: number;
1830
+ /**
1831
+ * Expected day of month
1832
+ */
1833
+ expectedDay?: {
1834
+ [key: string]: unknown;
1835
+ };
1836
+ /**
1837
+ * Custom interval in days
1838
+ */
1839
+ customIntervalDays?: {
1840
+ [key: string]: unknown;
1841
+ };
1842
+ /**
1843
+ * Currency code
1844
+ */
1845
+ currency: string;
1846
+ /**
1847
+ * Payee matching pattern
1848
+ */
1849
+ matchPayeePattern?: {
1850
+ [key: string]: unknown;
1851
+ };
1852
+ /**
1853
+ * Amount tolerance percentage
1854
+ */
1855
+ matchAmountTolerance: number;
1856
+ /**
1857
+ * Default expense account
1858
+ */
1859
+ defaultExpenseAccount?: {
1860
+ [key: string]: unknown;
1861
+ };
1862
+ /**
1863
+ * Default payment account
1864
+ */
1865
+ defaultPaymentAccount?: {
1866
+ [key: string]: unknown;
1867
+ };
1868
+ /**
1869
+ * Default payee
1870
+ */
1871
+ defaultPayee?: {
1872
+ [key: string]: unknown;
1873
+ };
1874
+ /**
1875
+ * Whether rule is active
1876
+ */
1877
+ isActive: boolean;
1878
+ /**
1879
+ * Rule start date (YYYY-MM-DD)
1880
+ */
1881
+ startDate: string;
1882
+ /**
1883
+ * Rule end date (YYYY-MM-DD)
1884
+ */
1885
+ endDate?: {
1886
+ [key: string]: unknown;
1887
+ };
1888
+ /**
1889
+ * Auto-create transaction on expected date
1890
+ */
1891
+ autoCreate: boolean;
1892
+ /**
1893
+ * Last matched occurrence date (YYYY-MM-DD)
1894
+ */
1895
+ lastOccurrence?: {
1896
+ [key: string]: unknown;
1897
+ };
1898
+ /**
1899
+ * Total matched transactions count
1900
+ */
1901
+ totalCount: number;
1902
+ /**
1903
+ * Created at timestamp
1431
1904
  */
1432
1905
  createdAt: string;
1433
1906
  /**
@@ -1436,6 +1909,28 @@ export type RecurringRuleResponseDto = {
1436
1909
  updatedAt: string;
1437
1910
  };
1438
1911
 
1912
+ export type CreateRuleFromTransactionDto = {
1913
+ /**
1914
+ * Recurring frequency
1915
+ */
1916
+ frequency:
1917
+ | 'WEEKLY'
1918
+ | 'BIWEEKLY'
1919
+ | 'MONTHLY'
1920
+ | 'BIMONTHLY'
1921
+ | 'QUARTERLY'
1922
+ | 'YEARLY'
1923
+ | 'CUSTOM';
1924
+ /**
1925
+ * Optional name override (default: transaction payee)
1926
+ */
1927
+ name?: string;
1928
+ /**
1929
+ * Optional icon emoji
1930
+ */
1931
+ icon?: string;
1932
+ };
1933
+
1439
1934
  export type RecurringRuleWithStatsResponseDto = {
1440
1935
  /**
1441
1936
  * Rule ID
@@ -1591,6 +2086,76 @@ export type RecurringRuleWithStatsResponseDto = {
1591
2086
  upcomingCount: number;
1592
2087
  };
1593
2088
 
2089
+ export type UpdateRecurringRuleDto = {
2090
+ /**
2091
+ * Rule name
2092
+ */
2093
+ name?: string;
2094
+ /**
2095
+ * Icon emoji
2096
+ */
2097
+ icon?: string;
2098
+ /**
2099
+ * Recurring frequency
2100
+ */
2101
+ frequency?:
2102
+ | 'WEEKLY'
2103
+ | 'BIWEEKLY'
2104
+ | 'MONTHLY'
2105
+ | 'BIMONTHLY'
2106
+ | 'QUARTERLY'
2107
+ | 'YEARLY'
2108
+ | 'CUSTOM';
2109
+ /**
2110
+ * Expected amount
2111
+ */
2112
+ expectedAmount?: number;
2113
+ /**
2114
+ * Expected day of month (1-31)
2115
+ */
2116
+ expectedDay?: number;
2117
+ /**
2118
+ * Custom interval in days
2119
+ */
2120
+ customIntervalDays?: number;
2121
+ /**
2122
+ * Currency code
2123
+ */
2124
+ currency?: string;
2125
+ /**
2126
+ * Payee matching pattern
2127
+ */
2128
+ matchPayeePattern?: string;
2129
+ /**
2130
+ * Amount tolerance percentage (0-1)
2131
+ */
2132
+ matchAmountTolerance?: number;
2133
+ /**
2134
+ * Default expense account
2135
+ */
2136
+ defaultExpenseAccount?: string;
2137
+ /**
2138
+ * Default payment account
2139
+ */
2140
+ defaultPaymentAccount?: string;
2141
+ /**
2142
+ * Default payee
2143
+ */
2144
+ defaultPayee?: string;
2145
+ /**
2146
+ * Auto-create transaction
2147
+ */
2148
+ autoCreate?: boolean;
2149
+ /**
2150
+ * Rule active status
2151
+ */
2152
+ isActive?: boolean;
2153
+ /**
2154
+ * Rule end date (ISO format)
2155
+ */
2156
+ endDate?: string;
2157
+ };
2158
+
1594
2159
  export type ExpectedTransactionRuleDto = {
1595
2160
  /**
1596
2161
  * Rule name
@@ -1681,6 +2246,36 @@ export type ExpectedTransactionListResponseDto = {
1681
2246
  total: number;
1682
2247
  };
1683
2248
 
2249
+ export type ConfirmMatchDto = {
2250
+ /**
2251
+ * Transaction ID to match with
2252
+ */
2253
+ transactionId: string;
2254
+ };
2255
+
2256
+ export type EnterNowDto = {
2257
+ /**
2258
+ * Override expense account (uses rule default if not provided)
2259
+ */
2260
+ expenseAccount?: string;
2261
+ /**
2262
+ * Override payment account (uses rule default if not provided)
2263
+ */
2264
+ paymentAccount?: string;
2265
+ /**
2266
+ * Override amount (uses expected amount if not provided)
2267
+ */
2268
+ amount?: number;
2269
+ /**
2270
+ * Override payee (uses rule default if not provided)
2271
+ */
2272
+ payee?: string;
2273
+ /**
2274
+ * Optional narration
2275
+ */
2276
+ narration?: string;
2277
+ };
2278
+
1684
2279
  export type ForecastItemDto = {
1685
2280
  /**
1686
2281
  * Rule name
@@ -1701,9 +2296,7 @@ export type ForecastItemDto = {
1701
2296
  /**
1702
2297
  * Rule icon emoji
1703
2298
  */
1704
- icon: {
1705
- [key: string]: unknown;
1706
- } | null;
2299
+ icon: string | null;
1707
2300
  /**
1708
2301
  * Currency code
1709
2302
  */
@@ -1764,6 +2357,53 @@ export type ForecastResponseDto = {
1764
2357
  periodEnd: string;
1765
2358
  };
1766
2359
 
2360
+ export type CreateTransactionRuleDto = {
2361
+ name: string;
2362
+ description?: string;
2363
+ narrationKeywords?: Array<unknown[]>;
2364
+ payeeKeywords?: Array<unknown[]>;
2365
+ categoryKeywords?: Array<unknown[]>;
2366
+ /**
2367
+ * Payment method keywords (e.g., HuaBei, YuEBao)
2368
+ */
2369
+ methodKeywords?: Array<unknown[]>;
2370
+ /**
2371
+ * Destination account for expenses/income (e.g., Expenses:Food:Coffee)
2372
+ */
2373
+ categoryAccount?: string;
2374
+ matchLogic: 'OR' | 'AND';
2375
+ /**
2376
+ * Minimum transaction amount (inclusive)
2377
+ */
2378
+ amountMin?: number;
2379
+ /**
2380
+ * Maximum transaction amount (inclusive)
2381
+ */
2382
+ amountMax?: number;
2383
+ priority: number;
2384
+ additionalTags?: Array<unknown[]>;
2385
+ additionalMetadata?: {
2386
+ [key: string]: unknown;
2387
+ };
2388
+ /**
2389
+ * If true, update existing rule with matching payeeKeywords[0] instead of creating new rule
2390
+ */
2391
+ upsertByPayee?: boolean;
2392
+ };
2393
+
2394
+ export type matchLogic = 'OR' | 'AND';
2395
+
2396
+ export type AmountRangeDto = {
2397
+ /**
2398
+ * Minimum amount
2399
+ */
2400
+ min?: number;
2401
+ /**
2402
+ * Maximum amount
2403
+ */
2404
+ max?: number;
2405
+ };
2406
+
1767
2407
  export type TransactionRuleResponseDto = {
1768
2408
  /**
1769
2409
  * Rule ID
@@ -1804,9 +2444,7 @@ export type TransactionRuleResponseDto = {
1804
2444
  /**
1805
2445
  * Amount range for matching
1806
2446
  */
1807
- amountRange?: {
1808
- [key: string]: unknown;
1809
- };
2447
+ amountRange?: AmountRangeDto;
1810
2448
  /**
1811
2449
  * Rule priority (0-1000, higher = first match)
1812
2450
  */
@@ -1818,7 +2456,7 @@ export type TransactionRuleResponseDto = {
1818
2456
  /**
1819
2457
  * Learning source: NLP, REVIEW_CENTER, or null for manual
1820
2458
  */
1821
- learningSource?: 'NLP' | 'REVIEW_CENTER';
2459
+ learningSource?: 'NLP' | 'REVIEW_CENTER' | null;
1822
2460
  /**
1823
2461
  * Whether auto-apply is enabled for this rule
1824
2462
  */
@@ -1835,7 +2473,7 @@ export type TransactionRuleResponseDto = {
1835
2473
  * Additional metadata
1836
2474
  */
1837
2475
  additionalMetadata?: {
1838
- [key: string]: unknown;
2476
+ [key: string]: string;
1839
2477
  };
1840
2478
  /**
1841
2479
  * Created timestamp
@@ -1847,11 +2485,6 @@ export type TransactionRuleResponseDto = {
1847
2485
  updatedAt: string;
1848
2486
  };
1849
2487
 
1850
- /**
1851
- * Keyword matching logic
1852
- */
1853
- export type matchLogic = 'OR' | 'AND';
1854
-
1855
2488
  /**
1856
2489
  * Learning source: NLP, REVIEW_CENTER, or null for manual
1857
2490
  */
@@ -1922,6 +2555,44 @@ export type ValidateRuleResponseDto = {
1922
2555
  warnings: Array<unknown[]>;
1923
2556
  };
1924
2557
 
2558
+ export type BulkCreateRulesDto = {
2559
+ /**
2560
+ * Array of rules to import
2561
+ */
2562
+ rules: Array<unknown[]>;
2563
+ /**
2564
+ * Conflict handling strategy: skip (default) ignores duplicates, replace soft-deletes existing rule
2565
+ */
2566
+ conflictStrategy: 'replace' | 'skip';
2567
+ };
2568
+
2569
+ /**
2570
+ * Conflict handling strategy: skip (default) ignores duplicates, replace soft-deletes existing rule
2571
+ */
2572
+ export type conflictStrategy = 'replace' | 'skip';
2573
+
2574
+ export type BulkCreateRulesResponseDto = {
2575
+ /**
2576
+ * Number of successfully created rules
2577
+ */
2578
+ successCount: number;
2579
+ /**
2580
+ * Number of failed rules
2581
+ */
2582
+ failureCount: number;
2583
+ /**
2584
+ * Error details for failed rules
2585
+ */
2586
+ errors: Array<{
2587
+ index?: number;
2588
+ message?: string;
2589
+ }>;
2590
+ /**
2591
+ * IDs of successfully created rules
2592
+ */
2593
+ createdRuleIds: Array<string>;
2594
+ };
2595
+
1925
2596
  export type ExportRulesResponseDto = {
1926
2597
  /**
1927
2598
  * Export timestamp
@@ -1978,6 +2649,40 @@ export type RuleStatisticsResponseDto = {
1978
2649
  */
1979
2650
  export type period = '7d' | '30d' | '90d';
1980
2651
 
2652
+ export type UpdateTransactionRuleDto = {
2653
+ name?: string;
2654
+ description?: string;
2655
+ narrationKeywords?: Array<unknown[]>;
2656
+ payeeKeywords?: Array<unknown[]>;
2657
+ categoryKeywords?: Array<unknown[]>;
2658
+ /**
2659
+ * Payment method keywords (e.g., HuaBei, YuEBao)
2660
+ */
2661
+ methodKeywords?: Array<unknown[]>;
2662
+ /**
2663
+ * Destination account for expenses/income (e.g., Expenses:Food:Coffee)
2664
+ */
2665
+ categoryAccount?: string;
2666
+ matchLogic?: 'OR' | 'AND';
2667
+ /**
2668
+ * Minimum transaction amount (inclusive)
2669
+ */
2670
+ amountMin?: number;
2671
+ /**
2672
+ * Maximum transaction amount (inclusive)
2673
+ */
2674
+ amountMax?: number;
2675
+ priority?: number;
2676
+ /**
2677
+ * Enable or disable the rule
2678
+ */
2679
+ enabled?: boolean;
2680
+ additionalTags?: Array<unknown[]>;
2681
+ additionalMetadata?: {
2682
+ [key: string]: unknown;
2683
+ };
2684
+ };
2685
+
1981
2686
  export type TestRuleDto = {
1982
2687
  narration: string;
1983
2688
  payee?: string;
@@ -2118,6 +2823,13 @@ export type colorScheme = 'DARK' | 'LIGHT';
2118
2823
  */
2119
2824
  export type viewMode = 'DEFAULT' | 'ZEN';
2120
2825
 
2826
+ export type UpdatePropertyDto = {
2827
+ /**
2828
+ * Property value
2829
+ */
2830
+ value: string;
2831
+ };
2832
+
2121
2833
  export type FileImportDto = {
2122
2834
  /**
2123
2835
  * Bill file to import (CSV, PDF, OFX, etc.)
@@ -2333,7 +3045,8 @@ export type ImporterConfigDto = {
2333
3045
  | 'cmbc-credit'
2334
3046
  | 'icbc'
2335
3047
  | 'icbc-credit'
2336
- | 'hsbc-hk';
3048
+ | 'hsbc-hk-credit'
3049
+ | 'hsbc-hk-debit';
2337
3050
  /**
2338
3051
  * Configuration version (semver)
2339
3052
  */
@@ -2373,7 +3086,135 @@ export type importerId =
2373
3086
  | 'cmbc-credit'
2374
3087
  | 'icbc'
2375
3088
  | 'icbc-credit'
2376
- | 'hsbc-hk';
3089
+ | 'hsbc-hk-credit'
3090
+ | 'hsbc-hk-debit';
3091
+
3092
+ export type UpdateMapperDefaultsDto = {
3093
+ /**
3094
+ * Source account for transactions (Beancount format)
3095
+ */
3096
+ sourceAccount?: string;
3097
+ /**
3098
+ * Default currency (ISO 4217 code)
3099
+ */
3100
+ currency?: string;
3101
+ /**
3102
+ * Default expense account (optional)
3103
+ */
3104
+ expenseAccount?: string;
3105
+ /**
3106
+ * Default income account (optional)
3107
+ */
3108
+ incomeAccount?: string;
3109
+ /**
3110
+ * 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).
3111
+ */
3112
+ methodAccountMapping?: {
3113
+ [key: string]: unknown;
3114
+ };
3115
+ };
3116
+
3117
+ export type UpdateConfigDataDto = {
3118
+ /**
3119
+ * Mapper defaults configuration
3120
+ */
3121
+ defaults?: UpdateMapperDefaultsDto;
3122
+ };
3123
+
3124
+ export type UpdateImporterConfigDto = {
3125
+ /**
3126
+ * Configuration data (v1 schema)
3127
+ */
3128
+ data?: UpdateConfigDataDto;
3129
+ };
3130
+
3131
+ export type CreatePlatformDto = {
3132
+ /**
3133
+ * Platform name
3134
+ */
3135
+ name: string;
3136
+ /**
3137
+ * Platform canonical identifier (lowercase, kebab-case)
3138
+ */
3139
+ canonical: string;
3140
+ /**
3141
+ * Platform aliases (multi-language names for lookup)
3142
+ */
3143
+ aliases: Array<string>;
3144
+ /**
3145
+ * Platform URL
3146
+ */
3147
+ url: string;
3148
+ /**
3149
+ * Platform type
3150
+ */
3151
+ type:
3152
+ | 'BANK'
3153
+ | 'BROKERAGE'
3154
+ | 'CRYPTO_EXCHANGE'
3155
+ | 'PAYMENT'
3156
+ | 'INVESTMENT'
3157
+ | 'INSURANCE'
3158
+ | 'OTHER';
3159
+ /**
3160
+ * Platform logo URL
3161
+ */
3162
+ logoUrl?: string;
3163
+ /**
3164
+ * Whether the platform is active
3165
+ */
3166
+ isActive?: boolean;
3167
+ };
3168
+
3169
+ /**
3170
+ * Platform type
3171
+ */
3172
+ export type type3 =
3173
+ | 'BANK'
3174
+ | 'BROKERAGE'
3175
+ | 'CRYPTO_EXCHANGE'
3176
+ | 'PAYMENT'
3177
+ | 'INVESTMENT'
3178
+ | 'INSURANCE'
3179
+ | 'OTHER';
3180
+
3181
+ export type UpdatePlatformDto = {
3182
+ /**
3183
+ * Platform name
3184
+ */
3185
+ name?: string;
3186
+ /**
3187
+ * Platform canonical identifier (lowercase, kebab-case)
3188
+ */
3189
+ canonical?: string;
3190
+ /**
3191
+ * Platform aliases (multi-language names for lookup)
3192
+ */
3193
+ aliases?: Array<string>;
3194
+ /**
3195
+ * Platform URL
3196
+ */
3197
+ url?: string;
3198
+ /**
3199
+ * Platform type
3200
+ */
3201
+ type?:
3202
+ | 'BANK'
3203
+ | 'BROKERAGE'
3204
+ | 'CRYPTO_EXCHANGE'
3205
+ | 'PAYMENT'
3206
+ | 'INVESTMENT'
3207
+ | 'INSURANCE'
3208
+ | 'OTHER';
3209
+ /**
3210
+ * Platform logo URL
3211
+ */
3212
+ logoUrl?: string;
3213
+ /**
3214
+ * Whether the platform is active
3215
+ */
3216
+ isActive?: boolean;
3217
+ };
2377
3218
 
2378
3219
  export type ProviderSyncConfigDto = {
2379
3220
  /**
@@ -2462,6 +3303,12 @@ export type ProcessNlpDto = {
2462
3303
  * Session ID for multi-turn conversation (auto-generated if not provided)
2463
3304
  */
2464
3305
  sessionId?: string;
3306
+ /**
3307
+ * Parsed data from previous NLP response for session recovery. Send back the parsedData received in confirm_payee/confirm responses.
3308
+ */
3309
+ parsedData?: {
3310
+ [key: string]: unknown;
3311
+ };
2465
3312
  };
2466
3313
 
2467
3314
  export type NlpTransactionInfoDto = {
@@ -3524,7 +4371,7 @@ export type AccountControllerCreateData = {
3524
4371
  /**
3525
4372
  * Region code for tenant context
3526
4373
  */
3527
- region: 'cn' | 'us' | 'de';
4374
+ region: 'cn' | 'us' | 'de' | 'gb';
3528
4375
  requestBody: CreateAccountDto;
3529
4376
  };
3530
4377
 
@@ -3546,7 +4393,7 @@ export type AccountControllerFindAllData = {
3546
4393
  /**
3547
4394
  * Region code for tenant context
3548
4395
  */
3549
- region: 'cn' | 'us' | 'de';
4396
+ region: 'cn' | 'us' | 'de' | 'gb';
3550
4397
  /**
3551
4398
  * Search term for path or i18nKey
3552
4399
  */
@@ -3571,7 +4418,7 @@ export type AccountControllerFindOneData = {
3571
4418
  /**
3572
4419
  * Region code for tenant context
3573
4420
  */
3574
- region: 'cn' | 'us' | 'de';
4421
+ region: 'cn' | 'us' | 'de' | 'gb';
3575
4422
  };
3576
4423
 
3577
4424
  export type AccountControllerFindOneResponse = AccountResponseDto;
@@ -3584,7 +4431,7 @@ export type AccountControllerUpdateData = {
3584
4431
  /**
3585
4432
  * Region code for tenant context
3586
4433
  */
3587
- region: 'cn' | 'us' | 'de';
4434
+ region: 'cn' | 'us' | 'de' | 'gb';
3588
4435
  requestBody: UpdateAccountDto;
3589
4436
  };
3590
4437
 
@@ -3598,7 +4445,7 @@ export type AccountControllerDeleteData = {
3598
4445
  /**
3599
4446
  * Region code for tenant context
3600
4447
  */
3601
- region: 'cn' | 'us' | 'de';
4448
+ region: 'cn' | 'us' | 'de' | 'gb';
3602
4449
  };
3603
4450
 
3604
4451
  export type AccountControllerDeleteResponse = void;
@@ -3611,7 +4458,7 @@ export type AccountControllerCloseData = {
3611
4458
  /**
3612
4459
  * Region code for tenant context
3613
4460
  */
3614
- region: 'cn' | 'us' | 'de';
4461
+ region: 'cn' | 'us' | 'de' | 'gb';
3615
4462
  requestBody: CloseAccountDto;
3616
4463
  };
3617
4464
 
@@ -3625,17 +4472,59 @@ export type AccountControllerReopenData = {
3625
4472
  /**
3626
4473
  * Region code for tenant context
3627
4474
  */
3628
- region: 'cn' | 'us' | 'de';
4475
+ region: 'cn' | 'us' | 'de' | 'gb';
3629
4476
  requestBody: ReopenAccountDto;
3630
4477
  };
3631
4478
 
3632
4479
  export type AccountControllerReopenResponse = AccountResponseDto;
3633
4480
 
4481
+ export type AccountStandardsControllerGetTemplatesData = {
4482
+ /**
4483
+ * Region code (cn, us, de)
4484
+ */
4485
+ region: 'cn' | 'us' | 'de' | 'gb';
4486
+ /**
4487
+ * Search term for path or description
4488
+ */
4489
+ search?: string;
4490
+ /**
4491
+ * Filter by account type
4492
+ */
4493
+ type?: 'Assets' | 'Liabilities' | 'Income' | 'Expenses' | 'Equity';
4494
+ };
4495
+
4496
+ export type AccountStandardsControllerGetTemplatesResponse =
4497
+ AccountStandardListResponseDto;
4498
+
4499
+ export type AccountStandardsControllerGetTemplateMetadataData = {
4500
+ /**
4501
+ * Account path to check
4502
+ */
4503
+ path: string;
4504
+ /**
4505
+ * Region code for tenant context
4506
+ */
4507
+ region: 'cn' | 'us' | 'de' | 'gb';
4508
+ };
4509
+
4510
+ export type AccountStandardsControllerGetTemplateMetadataResponse =
4511
+ TemplateMetadataResponseDto;
4512
+
4513
+ export type AccountStandardsControllerGetRegionsData = {
4514
+ /**
4515
+ * Region code for tenant context
4516
+ */
4517
+ region: 'cn' | 'us' | 'de' | 'gb';
4518
+ };
4519
+
4520
+ export type AccountStandardsControllerGetRegionsResponse =
4521
+ RegionsMetadataResponseDto;
4522
+
3634
4523
  export type TransactionControllerCreateData = {
3635
4524
  /**
3636
4525
  * Region code for tenant context
3637
4526
  */
3638
- region: 'cn' | 'us' | 'de';
4527
+ region: 'cn' | 'us' | 'de' | 'gb';
3639
4528
  /**
3640
4529
  * Transaction data with postings
3641
4530
  */
@@ -3668,7 +4557,7 @@ export type TransactionControllerListData = {
3668
4557
  /**
3669
4558
  * Region code for tenant context
3670
4559
  */
3671
- region: 'cn' | 'us' | 'de';
4560
+ region: 'cn' | 'us' | 'de' | 'gb';
3672
4561
  /**
3673
4562
  * Search in narration and payee fields (max 200 chars)
3674
4563
  */
@@ -3681,29 +4570,40 @@ export type TransactionControllerListData = {
3681
4570
 
3682
4571
  export type TransactionControllerListResponse = TransactionListResponseDto;
3683
4572
 
3684
- export type TransactionControllerData = {
4573
+ export type TransactionControllerCreateBatchData = {
3685
4574
  /**
3686
4575
  * Region code for tenant context
3687
4576
  */
3688
- region: 'cn' | 'us' | 'de';
4577
+ region: 'cn' | 'us' | 'de' | 'gb';
4578
+ requestBody: BatchCreateTransactionDto;
3689
4579
  };
3690
4580
 
3691
- export type TransactionControllerResponse = unknown;
4581
+ export type TransactionControllerCreateBatchResponse =
4582
+ BatchTransactionResponseDto;
3692
4583
 
3693
- export type TransactionControllerGetDetailData = {
4584
+ export type TransactionControllerSuggestTagsData = {
3694
4585
  /**
3695
- * Transaction ID
4586
+ * Max suggestions (1-100, default 10)
3696
4587
  */
3697
- id: string;
4588
+ limit?: number;
4589
+ /**
4590
+ * Prefix match, case-insensitive (max 50 chars)
4591
+ */
4592
+ q?: string;
3698
4593
  /**
3699
4594
  * Region code for tenant context
3700
4595
  */
3701
- region: 'cn' | 'us' | 'de';
4596
+ region: 'cn' | 'us' | 'de' | 'gb';
4597
+ /**
4598
+ * usage (default) or name
4599
+ */
4600
+ sort?: 'usage' | 'name';
3702
4601
  };
3703
4602
 
3704
- export type TransactionControllerGetDetailResponse = TransactionDetailDto;
4603
+ export type TransactionControllerSuggestTagsResponse =
4604
+ TagSuggestionsResponseDto;
3705
4605
 
3706
- export type TransactionControllerUpdateData = {
4606
+ export type TransactionControllerGetDetailData = {
3707
4607
  /**
3708
4608
  * Transaction ID
3709
4609
  */
@@ -3711,51 +4611,40 @@ export type TransactionControllerUpdateData = {
3711
4611
  /**
3712
4612
  * Region code for tenant context
3713
4613
  */
3714
- region: 'cn' | 'us' | 'de';
3715
- /**
3716
- * Fields to update (all optional)
3717
- */
3718
- requestBody: UpdateTransactionDto;
4614
+ region: 'cn' | 'us' | 'de' | 'gb';
3719
4615
  };
3720
4616
 
3721
- export type TransactionControllerUpdateResponse = TransactionDetailDto;
3722
-
3723
- export type TransactionController1Data = {
3724
- /**
3725
- * Region code for tenant context
3726
- */
3727
- region: 'cn' | 'us' | 'de';
3728
- };
3729
-
3730
- export type TransactionController1Response = void;
4617
+ export type TransactionControllerGetDetailResponse = TransactionDetailDto;
3731
4618
 
3732
- export type AccountStandardsControllerGetTemplatesData = {
4619
+ export type TransactionControllerUpdateData = {
3733
4620
  /**
3734
- * Region code (cn, us, de)
4621
+ * Transaction ID
3735
4622
  */
3736
- region: 'cn' | 'us' | 'de';
4623
+ id: string;
3737
4624
  /**
3738
- * Search term for path or description
4625
+ * Region code for tenant context
3739
4626
  */
3740
- search?: string;
4627
+ region: 'cn' | 'us' | 'de' | 'gb';
3741
4628
  /**
3742
- * Filter by account type
4629
+ * Fields to update (all optional)
3743
4630
  */
3744
- type?: 'Assets' | 'Liabilities' | 'Income' | 'Expenses' | 'Equity';
4631
+ requestBody: UpdateTransactionDto;
3745
4632
  };
3746
4633
 
3747
- export type AccountStandardsControllerGetTemplatesResponse =
3748
- AccountStandardListResponseDto;
4634
+ export type TransactionControllerUpdateResponse = TransactionDetailDto;
3749
4635
 
3750
- export type AccountStandardsControllerGetRegionsData = {
4636
+ export type TransactionControllerDeleteData = {
3751
4637
  /**
3752
- * Region code (cn, us, de)
4638
+ * Transaction ID
3753
4639
  */
3754
- region: 'cn' | 'us' | 'de';
4640
+ id: string;
4641
+ /**
4642
+ * Region code for tenant context
4643
+ */
4644
+ region: 'cn' | 'us' | 'de' | 'gb';
3755
4645
  };
3756
4646
 
3757
- export type AccountStandardsControllerGetRegionsResponse =
3758
- RegionsMetadataResponseDto;
4647
+ export type TransactionControllerDeleteResponse = void;
3759
4648
 
3760
4649
  export type BalanceControllerGetBalanceData = {
3761
4650
  /**
@@ -3771,18 +4660,18 @@ export type BalanceControllerGetBalanceData = {
3771
4660
  */
3772
4661
  date?: string;
3773
4662
  /**
3774
- * Region code (cn, us, de)
4663
+ * Region code for tenant context
3775
4664
  */
3776
- region: 'cn' | 'us' | 'de';
4665
+ region: 'cn' | 'us' | 'de' | 'gb';
3777
4666
  };
3778
4667
 
3779
4668
  export type BalanceControllerGetBalanceResponse = BalanceResponseDto;
3780
4669
 
3781
4670
  export type BalanceControllerGetMultiCurrencyBalanceData = {
3782
4671
  /**
3783
- * Region code (cn, us, de)
4672
+ * Region code for tenant context
3784
4673
  */
3785
- region: 'cn' | 'us' | 'de';
4674
+ region: 'cn' | 'us' | 'de' | 'gb';
3786
4675
  };
3787
4676
 
3788
4677
  export type BalanceControllerGetMultiCurrencyBalanceResponse =
@@ -3802,9 +4691,9 @@ export type ReviewControllerFindAllData = {
3802
4691
  */
3803
4692
  page?: number;
3804
4693
  /**
3805
- * Region code (cn, us, de)
4694
+ * Region code for tenant context
3806
4695
  */
3807
- region: 'cn' | 'us' | 'de';
4696
+ region: 'cn' | 'us' | 'de' | 'gb';
3808
4697
  /**
3809
4698
  * Sort order
3810
4699
  */
@@ -3824,9 +4713,9 @@ export type ReviewControllerFindAllResponse = ReviewListResponseDto;
3824
4713
 
3825
4714
  export type ReviewControllerGetStatsData = {
3826
4715
  /**
3827
- * Region code (cn, us, de)
4716
+ * Region code for tenant context
3828
4717
  */
3829
- region: 'cn' | 'us' | 'de';
4718
+ region: 'cn' | 'us' | 'de' | 'gb';
3830
4719
  };
3831
4720
 
3832
4721
  export type ReviewControllerGetStatsResponse = ReviewStatsDto;
@@ -3837,48 +4726,58 @@ export type ReviewControllerFindOneData = {
3837
4726
  */
3838
4727
  id: string;
3839
4728
  /**
3840
- * Region code (cn, us, de)
4729
+ * Region code for tenant context
3841
4730
  */
3842
- region: 'cn' | 'us' | 'de';
4731
+ region: 'cn' | 'us' | 'de' | 'gb';
3843
4732
  };
3844
4733
 
3845
4734
  export type ReviewControllerFindOneResponse = ReviewDetailDto;
3846
4735
 
3847
- export type ReviewControllerData = {
4736
+ export type ReviewControllerResolveData = {
3848
4737
  /**
3849
- * Region code (cn, us, de)
4738
+ * Review ID
3850
4739
  */
3851
- region: 'cn' | 'us' | 'de';
4740
+ id: string;
4741
+ /**
4742
+ * Region code for tenant context
4743
+ */
4744
+ region: 'cn' | 'us' | 'de' | 'gb';
4745
+ requestBody: ResolveReviewDto;
3852
4746
  };
3853
4747
 
3854
- export type ReviewControllerResponse = unknown;
4748
+ export type ReviewControllerResolveResponse = ResolveResultDto;
3855
4749
 
3856
- export type ReviewController1Data = {
4750
+ export type ReviewControllerUndoData = {
3857
4751
  /**
3858
- * Region code (cn, us, de)
4752
+ * Review ID
3859
4753
  */
3860
- region: 'cn' | 'us' | 'de';
4754
+ id: string;
4755
+ /**
4756
+ * Region code for tenant context
4757
+ */
4758
+ region: 'cn' | 'us' | 'de' | 'gb';
3861
4759
  };
3862
4760
 
3863
- export type ReviewController1Response = unknown;
4761
+ export type ReviewControllerUndoResponse = UndoResultDto;
3864
4762
 
3865
- export type ReviewController2Data = {
4763
+ export type ReviewControllerBatchResolveData = {
3866
4764
  /**
3867
- * Region code (cn, us, de)
4765
+ * Region code for tenant context
3868
4766
  */
3869
- region: 'cn' | 'us' | 'de';
4767
+ region: 'cn' | 'us' | 'de' | 'gb';
4768
+ /**
4769
+ * Batch resolution request containing review IDs and action
4770
+ */
4771
+ requestBody: BatchResolveDto;
3870
4772
  };
3871
4773
 
3872
- export type ReviewController2Response = unknown;
4774
+ export type ReviewControllerBatchResolveResponse = BatchResolveResultDto;
3873
4775
 
3874
- export type PayeeControllerData = {
3875
- /**
3876
- * Region code (cn, us, de)
3877
- */
3878
- region: 'cn' | 'us' | 'de';
4776
+ export type PayeeControllerCreateData = {
4777
+ requestBody: CreatePayeeDto;
3879
4778
  };
3880
4779
 
3881
- export type PayeeControllerResponse = unknown;
4780
+ export type PayeeControllerCreateResponse = PayeeResponseDto;
3882
4781
 
3883
4782
  export type PayeeControllerFindAllData = {
3884
4783
  /**
@@ -3893,10 +4792,6 @@ export type PayeeControllerFindAllData = {
3893
4792
  * Filter by exact payee name match
3894
4793
  */
3895
4794
  payee?: string;
3896
- /**
3897
- * Region code (cn, us, de)
3898
- */
3899
- region: 'cn' | 'us' | 'de';
3900
4795
  /**
3901
4796
  * Search term for payee name (partial match, case-insensitive). Useful for autocomplete.
3902
4797
  */
@@ -3918,10 +4813,6 @@ export type PayeeControllerAutocompleteData = {
3918
4813
  * Search query for payee name (partial match, case-insensitive)
3919
4814
  */
3920
4815
  q: string;
3921
- /**
3922
- * Region code (cn, us, de)
3923
- */
3924
- region: 'cn' | 'us' | 'de';
3925
4816
  };
3926
4817
 
3927
4818
  export type PayeeControllerAutocompleteResponse = PayeeAutocompleteResponseDto;
@@ -3931,10 +4822,6 @@ export type PayeeControllerGetTopPayeesData = {
3931
4822
  * Maximum number of results
3932
4823
  */
3933
4824
  limit?: number;
3934
- /**
3935
- * Region code (cn, us, de)
3936
- */
3937
- region: 'cn' | 'us' | 'de';
3938
4825
  };
3939
4826
 
3940
4827
  export type PayeeControllerGetTopPayeesResponse = Array<PayeeStatsResponseDto>;
@@ -3944,40 +4831,34 @@ export type PayeeControllerFindOneData = {
3944
4831
  * Payee UUID
3945
4832
  */
3946
4833
  id: string;
3947
- /**
3948
- * Region code (cn, us, de)
3949
- */
3950
- region: 'cn' | 'us' | 'de';
3951
4834
  };
3952
4835
 
3953
4836
  export type PayeeControllerFindOneResponse = PayeeResponseDto;
3954
4837
 
3955
- export type PayeeController1Data = {
4838
+ export type PayeeControllerUpdateData = {
3956
4839
  /**
3957
- * Region code (cn, us, de)
4840
+ * Payee UUID
3958
4841
  */
3959
- region: 'cn' | 'us' | 'de';
4842
+ id: string;
4843
+ requestBody: UpdatePayeeDto;
3960
4844
  };
3961
4845
 
3962
- export type PayeeController1Response = unknown;
4846
+ export type PayeeControllerUpdateResponse = PayeeResponseDto;
3963
4847
 
3964
- export type PayeeController2Data = {
4848
+ export type PayeeControllerDeleteData = {
3965
4849
  /**
3966
- * Region code (cn, us, de)
4850
+ * Payee UUID
3967
4851
  */
3968
- region: 'cn' | 'us' | 'de';
4852
+ id: string;
3969
4853
  };
3970
4854
 
3971
- export type PayeeController2Response = void;
4855
+ export type PayeeControllerDeleteResponse = void;
3972
4856
 
3973
- export type PayeeProfileAdminControllerData = {
3974
- /**
3975
- * Region code (cn, us, de)
3976
- */
3977
- region: 'cn' | 'us' | 'de';
4857
+ export type PayeeProfileAdminControllerCreateData = {
4858
+ requestBody: CreatePayeeProfileDto;
3978
4859
  };
3979
4860
 
3980
- export type PayeeProfileAdminControllerResponse = unknown;
4861
+ export type PayeeProfileAdminControllerCreateResponse = PayeeProfileResponseDto;
3981
4862
 
3982
4863
  export type PayeeProfileAdminControllerFindAllData = {
3983
4864
  /**
@@ -4019,10 +4900,6 @@ export type PayeeProfileAdminControllerFindAllData = {
4019
4900
  * Filter by active status (default: true - show only active)
4020
4901
  */
4021
4902
  isActive?: boolean;
4022
- /**
4023
- * Region code (cn, us, de)
4024
- */
4025
- region: 'cn' | 'us' | 'de';
4026
4903
  /**
4027
4904
  * Search term for canonical name and aliases (case-insensitive)
4028
4905
  */
@@ -4041,65 +4918,64 @@ export type PayeeProfileAdminControllerFindOneData = {
4041
4918
  * Payee profile ID (UUID)
4042
4919
  */
4043
4920
  id: string;
4044
- /**
4045
- * Region code (cn, us, de)
4046
- */
4047
- region: 'cn' | 'us' | 'de';
4048
4921
  };
4049
4922
 
4050
4923
  export type PayeeProfileAdminControllerFindOneResponse =
4051
4924
  PayeeProfileResponseDto;
4052
4925
 
4053
- export type PayeeProfileAdminController1Data = {
4926
+ export type PayeeProfileAdminControllerUpdateData = {
4054
4927
  /**
4055
- * Region code (cn, us, de)
4928
+ * Payee profile ID (UUID)
4056
4929
  */
4057
- region: 'cn' | 'us' | 'de';
4930
+ id: string;
4931
+ requestBody: UpdatePayeeProfileDto;
4058
4932
  };
4059
4933
 
4060
- export type PayeeProfileAdminController1Response = unknown;
4934
+ export type PayeeProfileAdminControllerUpdateResponse = PayeeProfileResponseDto;
4061
4935
 
4062
- export type PayeeProfileAdminController2Data = {
4936
+ export type PayeeProfileAdminControllerDeleteData = {
4063
4937
  /**
4064
- * Region code (cn, us, de)
4938
+ * Payee profile ID (UUID)
4065
4939
  */
4066
- region: 'cn' | 'us' | 'de';
4940
+ id: string;
4067
4941
  };
4068
4942
 
4069
- export type PayeeProfileAdminController2Response = void;
4943
+ export type PayeeProfileAdminControllerDeleteResponse = void;
4070
4944
 
4071
- export type PayeeProfileAdminController3Data = {
4945
+ export type PayeeProfileAdminControllerVerifyData = {
4072
4946
  /**
4073
- * Region code (cn, us, de)
4947
+ * Payee profile ID (UUID)
4074
4948
  */
4075
- region: 'cn' | 'us' | 'de';
4949
+ id: string;
4076
4950
  };
4077
4951
 
4078
- export type PayeeProfileAdminController3Response = unknown;
4952
+ export type PayeeProfileAdminControllerVerifyResponse = PayeeProfileResponseDto;
4079
4953
 
4080
- export type PayeeProfileAdminController4Data = {
4954
+ export type PayeeProfileAdminControllerUnverifyData = {
4081
4955
  /**
4082
- * Region code (cn, us, de)
4956
+ * Payee profile ID (UUID)
4083
4957
  */
4084
- region: 'cn' | 'us' | 'de';
4958
+ id: string;
4085
4959
  };
4086
4960
 
4087
- export type PayeeProfileAdminController4Response = unknown;
4961
+ export type PayeeProfileAdminControllerUnverifyResponse =
4962
+ PayeeProfileResponseDto;
4088
4963
 
4089
- export type CommodityControllerData = {
4964
+ export type CommodityControllerCreateData = {
4090
4965
  /**
4091
- * Region code (cn, us, de)
4966
+ * Region code for tenant context
4092
4967
  */
4093
- region: 'cn' | 'us' | 'de';
4968
+ region: 'cn' | 'us' | 'de' | 'gb';
4969
+ requestBody: CreateCommodityDto;
4094
4970
  };
4095
4971
 
4096
- export type CommodityControllerResponse = unknown;
4972
+ export type CommodityControllerCreateResponse = CommodityResponseDto;
4097
4973
 
4098
4974
  export type CommodityControllerFindAllData = {
4099
4975
  /**
4100
- * Region code (cn, us, de)
4976
+ * Region code for tenant context
4101
4977
  */
4102
- region: 'cn' | 'us' | 'de';
4978
+ region: 'cn' | 'us' | 'de' | 'gb';
4103
4979
  /**
4104
4980
  * Search term for symbol or metadata fields (partial match). Searches symbol and metadata.name.
4105
4981
  */
@@ -4114,9 +4990,9 @@ export type CommodityControllerFindAllResponse = CommodityListResponseDto;
4114
4990
 
4115
4991
  export type CommodityControllerFindOneData = {
4116
4992
  /**
4117
- * Region code (cn, us, de)
4993
+ * Region code for tenant context
4118
4994
  */
4119
- region: 'cn' | 'us' | 'de';
4995
+ region: 'cn' | 'us' | 'de' | 'gb';
4120
4996
  /**
4121
4997
  * Commodity symbol
4122
4998
  */
@@ -4125,50 +5001,64 @@ export type CommodityControllerFindOneData = {
4125
5001
 
4126
5002
  export type CommodityControllerFindOneResponse = CommodityResponseDto;
4127
5003
 
4128
- export type CommodityController1Data = {
5004
+ export type CommodityControllerUpdateData = {
4129
5005
  /**
4130
- * Region code (cn, us, de)
5006
+ * Region code for tenant context
4131
5007
  */
4132
- region: 'cn' | 'us' | 'de';
5008
+ region: 'cn' | 'us' | 'de' | 'gb';
5009
+ requestBody: UpdateCommodityDto;
5010
+ /**
5011
+ * Commodity symbol
5012
+ */
5013
+ symbol: string;
4133
5014
  };
4134
5015
 
4135
- export type CommodityController1Response = unknown;
5016
+ export type CommodityControllerUpdateResponse = CommodityResponseDto;
4136
5017
 
4137
- export type CommodityController2Data = {
5018
+ export type CommodityControllerDeleteData = {
4138
5019
  /**
4139
- * Region code (cn, us, de)
5020
+ * Region code for tenant context
5021
+ */
5022
+ region: 'cn' | 'us' | 'de' | 'gb';
5023
+ /**
5024
+ * Commodity symbol
4140
5025
  */
4141
- region: 'cn' | 'us' | 'de';
5026
+ symbol: string;
4142
5027
  };
4143
5028
 
4144
- export type CommodityController2Response = void;
5029
+ export type CommodityControllerDeleteResponse = void;
4145
5030
 
4146
- export type CommodityController3Data = {
5031
+ export type CommodityControllerGetOrCreateData = {
4147
5032
  /**
4148
- * Region code (cn, us, de)
5033
+ * Region code for tenant context
4149
5034
  */
4150
- region: 'cn' | 'us' | 'de';
5035
+ region: 'cn' | 'us' | 'de' | 'gb';
5036
+ /**
5037
+ * Commodity symbol
5038
+ */
5039
+ symbol: string;
4151
5040
  };
4152
5041
 
4153
- export type CommodityController3Response = unknown;
5042
+ export type CommodityControllerGetOrCreateResponse = CommodityResponseDto;
4154
5043
 
4155
- export type CommodityController4Data = {
5044
+ export type CommodityControllerBulkCreateData = {
4156
5045
  /**
4157
- * Region code (cn, us, de)
5046
+ * Region code for tenant context
4158
5047
  */
4159
- region: 'cn' | 'us' | 'de';
5048
+ region: 'cn' | 'us' | 'de' | 'gb';
4160
5049
  };
4161
5050
 
4162
- export type CommodityController4Response = unknown;
5051
+ export type CommodityControllerBulkCreateResponse = Array<CommodityResponseDto>;
4163
5052
 
4164
- export type RecurringRuleControllerData = {
5053
+ export type RecurringRuleControllerCreateData = {
4165
5054
  /**
4166
- * Region code (cn, us, de)
5055
+ * Region code for tenant context
4167
5056
  */
4168
- region: 'cn' | 'us' | 'de';
5057
+ region: 'cn' | 'us' | 'de' | 'gb';
5058
+ requestBody: CreateRecurringRuleDto;
4169
5059
  };
4170
5060
 
4171
- export type RecurringRuleControllerResponse = unknown;
5061
+ export type RecurringRuleControllerCreateResponse = RecurringRuleResponseDto;
4172
5062
 
4173
5063
  export type RecurringRuleControllerFindAllData = {
4174
5064
  /**
@@ -4184,22 +5074,28 @@ export type RecurringRuleControllerFindAllData = {
4184
5074
  */
4185
5075
  isActive?: boolean;
4186
5076
  /**
4187
- * Region code (cn, us, de)
5077
+ * Region code for tenant context
4188
5078
  */
4189
- region: 'cn' | 'us' | 'de';
5079
+ region: 'cn' | 'us' | 'de' | 'gb';
4190
5080
  };
4191
5081
 
4192
5082
  export type RecurringRuleControllerFindAllResponse =
4193
5083
  Array<RecurringRuleResponseDto>;
4194
5084
 
4195
- export type RecurringRuleController1Data = {
5085
+ export type RecurringRuleControllerCreateFromTransactionData = {
4196
5086
  /**
4197
- * Region code (cn, us, de)
5087
+ * Region code for tenant context
4198
5088
  */
4199
- region: 'cn' | 'us' | 'de';
5089
+ region: 'cn' | 'us' | 'de' | 'gb';
5090
+ requestBody: CreateRuleFromTransactionDto;
5091
+ /**
5092
+ * Source transaction ID
5093
+ */
5094
+ transactionId: string;
4200
5095
  };
4201
5096
 
4202
- export type RecurringRuleController1Response = unknown;
5097
+ export type RecurringRuleControllerCreateFromTransactionResponse =
5098
+ RecurringRuleResponseDto;
4203
5099
 
4204
5100
  export type RecurringRuleControllerFindOneData = {
4205
5101
  /**
@@ -4207,30 +5103,39 @@ export type RecurringRuleControllerFindOneData = {
4207
5103
  */
4208
5104
  id: string;
4209
5105
  /**
4210
- * Region code (cn, us, de)
5106
+ * Region code for tenant context
4211
5107
  */
4212
- region: 'cn' | 'us' | 'de';
5108
+ region: 'cn' | 'us' | 'de' | 'gb';
4213
5109
  };
4214
5110
 
4215
5111
  export type RecurringRuleControllerFindOneResponse = RecurringRuleResponseDto;
4216
5112
 
4217
- export type RecurringRuleController2Data = {
5113
+ export type RecurringRuleControllerUpdateData = {
4218
5114
  /**
4219
- * Region code (cn, us, de)
5115
+ * Rule ID
5116
+ */
5117
+ id: string;
5118
+ /**
5119
+ * Region code for tenant context
4220
5120
  */
4221
- region: 'cn' | 'us' | 'de';
5121
+ region: 'cn' | 'us' | 'de' | 'gb';
5122
+ requestBody: UpdateRecurringRuleDto;
4222
5123
  };
4223
5124
 
4224
- export type RecurringRuleController2Response = unknown;
5125
+ export type RecurringRuleControllerUpdateResponse = RecurringRuleResponseDto;
4225
5126
 
4226
- export type RecurringRuleController3Data = {
5127
+ export type RecurringRuleControllerDeleteData = {
4227
5128
  /**
4228
- * Region code (cn, us, de)
5129
+ * Rule ID
5130
+ */
5131
+ id: string;
5132
+ /**
5133
+ * Region code for tenant context
4229
5134
  */
4230
- region: 'cn' | 'us' | 'de';
5135
+ region: 'cn' | 'us' | 'de' | 'gb';
4231
5136
  };
4232
5137
 
4233
- export type RecurringRuleController3Response = void;
5138
+ export type RecurringRuleControllerDeleteResponse = void;
4234
5139
 
4235
5140
  export type RecurringRuleControllerGetWithStatsData = {
4236
5141
  /**
@@ -4238,9 +5143,9 @@ export type RecurringRuleControllerGetWithStatsData = {
4238
5143
  */
4239
5144
  id: string;
4240
5145
  /**
4241
- * Region code (cn, us, de)
5146
+ * Region code for tenant context
4242
5147
  */
4243
- region: 'cn' | 'us' | 'de';
5148
+ region: 'cn' | 'us' | 'de' | 'gb';
4244
5149
  };
4245
5150
 
4246
5151
  export type RecurringRuleControllerGetWithStatsResponse =
@@ -4252,9 +5157,9 @@ export type ExpectedTransactionControllerFindAllData = {
4252
5157
  */
4253
5158
  fromDate?: string;
4254
5159
  /**
4255
- * Region code (cn, us, de)
5160
+ * Region code for tenant context
4256
5161
  */
4257
- region: 'cn' | 'us' | 'de';
5162
+ region: 'cn' | 'us' | 'de' | 'gb';
4258
5163
  /**
4259
5164
  * Filter by recurring rule ID
4260
5165
  */
@@ -4274,9 +5179,9 @@ export type ExpectedTransactionControllerFindAllResponse =
4274
5179
 
4275
5180
  export type ExpectedTransactionControllerFindOverdueData = {
4276
5181
  /**
4277
- * Region code (cn, us, de)
5182
+ * Region code for tenant context
4278
5183
  */
4279
- region: 'cn' | 'us' | 'de';
5184
+ region: 'cn' | 'us' | 'de' | 'gb';
4280
5185
  };
4281
5186
 
4282
5187
  export type ExpectedTransactionControllerFindOverdueResponse =
@@ -4288,58 +5193,82 @@ export type ExpectedTransactionControllerFindOneData = {
4288
5193
  */
4289
5194
  id: string;
4290
5195
  /**
4291
- * Region code (cn, us, de)
5196
+ * Region code for tenant context
4292
5197
  */
4293
- region: 'cn' | 'us' | 'de';
5198
+ region: 'cn' | 'us' | 'de' | 'gb';
4294
5199
  };
4295
5200
 
4296
5201
  export type ExpectedTransactionControllerFindOneResponse =
4297
5202
  ExpectedTransactionResponseDto;
4298
5203
 
4299
- export type ExpectedTransactionControllerData = {
5204
+ export type ExpectedTransactionControllerSkipData = {
4300
5205
  /**
4301
- * Region code (cn, us, de)
5206
+ * Expected transaction ID
4302
5207
  */
4303
- region: 'cn' | 'us' | 'de';
5208
+ id: string;
5209
+ /**
5210
+ * Region code for tenant context
5211
+ */
5212
+ region: 'cn' | 'us' | 'de' | 'gb';
4304
5213
  };
4305
5214
 
4306
- export type ExpectedTransactionControllerResponse = unknown;
5215
+ export type ExpectedTransactionControllerSkipResponse =
5216
+ ExpectedTransactionResponseDto;
4307
5217
 
4308
- export type ExpectedTransactionController1Data = {
5218
+ export type ExpectedTransactionControllerUndoSkipData = {
4309
5219
  /**
4310
- * Region code (cn, us, de)
5220
+ * Expected transaction ID
4311
5221
  */
4312
- region: 'cn' | 'us' | 'de';
5222
+ id: string;
5223
+ /**
5224
+ * Region code for tenant context
5225
+ */
5226
+ region: 'cn' | 'us' | 'de' | 'gb';
4313
5227
  };
4314
5228
 
4315
- export type ExpectedTransactionController1Response = unknown;
5229
+ export type ExpectedTransactionControllerUndoSkipResponse =
5230
+ ExpectedTransactionResponseDto;
4316
5231
 
4317
- export type ExpectedTransactionController2Data = {
5232
+ export type ExpectedTransactionControllerConfirmMatchData = {
4318
5233
  /**
4319
- * Region code (cn, us, de)
5234
+ * Expected transaction ID
5235
+ */
5236
+ id: string;
5237
+ /**
5238
+ * Region code for tenant context
4320
5239
  */
4321
- region: 'cn' | 'us' | 'de';
5240
+ region: 'cn' | 'us' | 'de' | 'gb';
5241
+ requestBody: ConfirmMatchDto;
4322
5242
  };
4323
5243
 
4324
- export type ExpectedTransactionController2Response = unknown;
5244
+ export type ExpectedTransactionControllerConfirmMatchResponse = unknown;
4325
5245
 
4326
- export type ExpectedTransactionController3Data = {
5246
+ export type ExpectedTransactionControllerUnmatchData = {
4327
5247
  /**
4328
- * Region code (cn, us, de)
5248
+ * Expected transaction ID
4329
5249
  */
4330
- region: 'cn' | 'us' | 'de';
5250
+ id: string;
5251
+ /**
5252
+ * Region code for tenant context
5253
+ */
5254
+ region: 'cn' | 'us' | 'de' | 'gb';
4331
5255
  };
4332
5256
 
4333
- export type ExpectedTransactionController3Response = unknown;
5257
+ export type ExpectedTransactionControllerUnmatchResponse = unknown;
4334
5258
 
4335
- export type ExpectedTransactionController4Data = {
5259
+ export type ExpectedTransactionControllerEnterNowData = {
4336
5260
  /**
4337
- * Region code (cn, us, de)
5261
+ * Expected transaction ID
4338
5262
  */
4339
- region: 'cn' | 'us' | 'de';
5263
+ id: string;
5264
+ /**
5265
+ * Region code for tenant context
5266
+ */
5267
+ region: 'cn' | 'us' | 'de' | 'gb';
5268
+ requestBody: EnterNowDto;
4340
5269
  };
4341
5270
 
4342
- export type ExpectedTransactionController4Response = unknown;
5271
+ export type ExpectedTransactionControllerEnterNowResponse = unknown;
4343
5272
 
4344
5273
  export type ForecastControllerGetForecastData = {
4345
5274
  /**
@@ -4347,21 +5276,23 @@ export type ForecastControllerGetForecastData = {
4347
5276
  */
4348
5277
  months?: number;
4349
5278
  /**
4350
- * Region code (cn, us, de)
5279
+ * Region code for tenant context
4351
5280
  */
4352
- region: 'cn' | 'us' | 'de';
5281
+ region: 'cn' | 'us' | 'de' | 'gb';
4353
5282
  };
4354
5283
 
4355
5284
  export type ForecastControllerGetForecastResponse = ForecastResponseDto;
4356
5285
 
4357
- export type TransactionRuleControllerData = {
5286
+ export type TransactionRuleControllerCreateData = {
4358
5287
  /**
4359
- * Region code (cn, us, de)
5288
+ * Region code for tenant context
4360
5289
  */
4361
- region: 'cn' | 'us' | 'de';
5290
+ region: 'cn' | 'us' | 'de' | 'gb';
5291
+ requestBody: CreateTransactionRuleDto;
4362
5292
  };
4363
5293
 
4364
- export type TransactionRuleControllerResponse = unknown;
5294
+ export type TransactionRuleControllerCreateResponse =
5295
+ TransactionRuleResponseDto;
4365
5296
 
4366
5297
  export type TransactionRuleControllerListData = {
4367
5298
  /**
@@ -4385,9 +5316,9 @@ export type TransactionRuleControllerListData = {
4385
5316
  */
4386
5317
  offset?: number;
4387
5318
  /**
4388
- * Region code (cn, us, de)
5319
+ * Region code for tenant context
4389
5320
  */
4390
- region: 'cn' | 'us' | 'de';
5321
+ region: 'cn' | 'us' | 'de' | 'gb';
4391
5322
  };
4392
5323
 
4393
5324
  export type TransactionRuleControllerListResponse =
@@ -4395,22 +5326,24 @@ export type TransactionRuleControllerListResponse =
4395
5326
 
4396
5327
  export type TransactionRuleControllerValidateData = {
4397
5328
  /**
4398
- * Region code (cn, us, de)
5329
+ * Region code for tenant context
4399
5330
  */
4400
- region: 'cn' | 'us' | 'de';
5331
+ region: 'cn' | 'us' | 'de' | 'gb';
4401
5332
  requestBody: ValidateRuleDto;
4402
5333
  };
4403
5334
 
4404
5335
  export type TransactionRuleControllerValidateResponse = ValidateRuleResponseDto;
4405
5336
 
4406
- export type TransactionRuleController1Data = {
5337
+ export type TransactionRuleControllerBulkCreateData = {
4407
5338
  /**
4408
- * Region code (cn, us, de)
5339
+ * Region code for tenant context
4409
5340
  */
4410
- region: 'cn' | 'us' | 'de';
5341
+ region: 'cn' | 'us' | 'de' | 'gb';
5342
+ requestBody: BulkCreateRulesDto;
4411
5343
  };
4412
5344
 
4413
- export type TransactionRuleController1Response = unknown;
5345
+ export type TransactionRuleControllerBulkCreateResponse =
5346
+ BulkCreateRulesResponseDto;
4414
5347
 
4415
5348
  export type TransactionRuleControllerExportData = {
4416
5349
  /**
@@ -4418,9 +5351,9 @@ export type TransactionRuleControllerExportData = {
4418
5351
  */
4419
5352
  format: 'json';
4420
5353
  /**
4421
- * Region code (cn, us, de)
5354
+ * Region code for tenant context
4422
5355
  */
4423
- region: 'cn' | 'us' | 'de';
5356
+ region: 'cn' | 'us' | 'de' | 'gb';
4424
5357
  };
4425
5358
 
4426
5359
  export type TransactionRuleControllerExportResponse = ExportRulesResponseDto;
@@ -4431,9 +5364,9 @@ export type TransactionRuleControllerGetStatisticsData = {
4431
5364
  */
4432
5365
  period: '7d' | '30d' | '90d';
4433
5366
  /**
4434
- * Region code (cn, us, de)
5367
+ * Region code for tenant context
4435
5368
  */
4436
- region: 'cn' | 'us' | 'de';
5369
+ region: 'cn' | 'us' | 'de' | 'gb';
4437
5370
  };
4438
5371
 
4439
5372
  export type TransactionRuleControllerGetStatisticsResponse =
@@ -4441,9 +5374,9 @@ export type TransactionRuleControllerGetStatisticsResponse =
4441
5374
 
4442
5375
  export type TransactionRuleControllerGetDetailData = {
4443
5376
  /**
4444
- * Region code (cn, us, de)
5377
+ * Region code for tenant context
4445
5378
  */
4446
- region: 'cn' | 'us' | 'de';
5379
+ region: 'cn' | 'us' | 'de' | 'gb';
4447
5380
  /**
4448
5381
  * Rule ID
4449
5382
  */
@@ -4453,29 +5386,39 @@ export type TransactionRuleControllerGetDetailData = {
4453
5386
  export type TransactionRuleControllerGetDetailResponse =
4454
5387
  TransactionRuleResponseDto;
4455
5388
 
4456
- export type TransactionRuleController2Data = {
5389
+ export type TransactionRuleControllerUpdateData = {
4457
5390
  /**
4458
- * Region code (cn, us, de)
5391
+ * Region code for tenant context
4459
5392
  */
4460
- region: 'cn' | 'us' | 'de';
5393
+ region: 'cn' | 'us' | 'de' | 'gb';
5394
+ requestBody: UpdateTransactionRuleDto;
5395
+ /**
5396
+ * Rule ID to update
5397
+ */
5398
+ ruleId: string;
4461
5399
  };
4462
5400
 
4463
- export type TransactionRuleController2Response = unknown;
5401
+ export type TransactionRuleControllerUpdateResponse =
5402
+ TransactionRuleResponseDto;
4464
5403
 
4465
- export type TransactionRuleController3Data = {
5404
+ export type TransactionRuleControllerDeleteData = {
4466
5405
  /**
4467
- * Region code (cn, us, de)
5406
+ * Region code for tenant context
4468
5407
  */
4469
- region: 'cn' | 'us' | 'de';
5408
+ region: 'cn' | 'us' | 'de' | 'gb';
5409
+ /**
5410
+ * Rule ID to delete
5411
+ */
5412
+ ruleId: string;
4470
5413
  };
4471
5414
 
4472
- export type TransactionRuleController3Response = void;
5415
+ export type TransactionRuleControllerDeleteResponse = void;
4473
5416
 
4474
5417
  export type TransactionRuleControllerTestData = {
4475
5418
  /**
4476
- * Region code (cn, us, de)
5419
+ * Region code for tenant context
4477
5420
  */
4478
- region: 'cn' | 'us' | 'de';
5421
+ region: 'cn' | 'us' | 'de' | 'gb';
4479
5422
  requestBody: TestRuleDto;
4480
5423
  /**
4481
5424
  * Rule ID to test
@@ -4486,10 +5429,6 @@ export type TransactionRuleControllerTestData = {
4486
5429
  export type TransactionRuleControllerTestResponse = TestRuleResponseDto;
4487
5430
 
4488
5431
  export type UserControllerDeleteOwnUserData = {
4489
- /**
4490
- * Region code (cn, us, de)
4491
- */
4492
- region: 'cn' | 'us' | 'de';
4493
5432
  requestBody: DeleteOwnUserDto;
4494
5433
  };
4495
5434
 
@@ -4497,19 +5436,11 @@ export type UserControllerDeleteOwnUserResponse = void;
4497
5436
 
4498
5437
  export type UserControllerGetUserData = {
4499
5438
  acceptLanguage: string;
4500
- /**
4501
- * Region code (cn, us, de)
4502
- */
4503
- region: 'cn' | 'us' | 'de';
4504
5439
  };
4505
5440
 
4506
5441
  export type UserControllerGetUserResponse = unknown;
4507
5442
 
4508
5443
  export type UserControllerSignupUserData = {
4509
- /**
4510
- * Region code (cn, us, de)
4511
- */
4512
- region: 'cn' | 'us' | 'de';
4513
5444
  requestBody: SignupDto;
4514
5445
  };
4515
5446
 
@@ -4520,705 +5451,431 @@ export type UserControllerDeleteUserData = {
4520
5451
  * User ID to delete
4521
5452
  */
4522
5453
  id: string;
4523
- /**
4524
- * Region code (cn, us, de)
4525
- */
4526
- region: 'cn' | 'us' | 'de';
4527
- };
4528
-
4529
- export type UserControllerDeleteUserResponse = void;
4530
-
4531
- export type UserControllerGetUserInfoData = {
4532
- /**
4533
- * User ID
4534
- */
4535
- id: string;
4536
- /**
4537
- * Region code (cn, us, de)
4538
- */
4539
- region: 'cn' | 'us' | 'de';
4540
- };
4541
-
4542
- export type UserControllerGetUserInfoResponse = unknown;
4543
-
4544
- export type UserControllerUpdateUserSettingData = {
4545
- /**
4546
- * Region code (cn, us, de)
4547
- */
4548
- region: 'cn' | 'us' | 'de';
4549
- requestBody: UpdateUserSettingDto;
4550
- };
4551
-
4552
- export type UserControllerUpdateUserSettingResponse = unknown;
4553
-
4554
- export type UserControllerGetAllUserSettingsByPageData = {
4555
- /**
4556
- * Page number
4557
- */
4558
- pageNo: number;
4559
- /**
4560
- * Page size
4561
- */
4562
- pageSize: number;
4563
- /**
4564
- * Region code (cn, us, de)
4565
- */
4566
- region: 'cn' | 'us' | 'de';
4567
- };
4568
-
4569
- export type UserControllerGetAllUserSettingsByPageResponse = unknown;
4570
-
4571
- export type UserControllerGetAssetLiabilitySummaryData = {
4572
- /**
4573
- * Region code (cn, us, de)
4574
- */
4575
- region: 'cn' | 'us' | 'de';
4576
- };
4577
-
4578
- export type UserControllerGetAssetLiabilitySummaryResponse = unknown;
4579
-
4580
- export type PropertyControllerGetAllData = {
4581
- /**
4582
- * Region code (cn, us, de)
4583
- */
4584
- region: 'cn' | 'us' | 'de';
4585
- };
4586
-
4587
- export type PropertyControllerGetAllResponse = unknown;
4588
-
4589
- export type PropertyControllerGetByKeyData = {
4590
- /**
4591
- * Property key
4592
- */
4593
- key: string;
4594
- /**
4595
- * Region code (cn, us, de)
4596
- */
4597
- region: 'cn' | 'us' | 'de';
4598
- };
4599
-
4600
- export type PropertyControllerGetByKeyResponse = unknown;
4601
-
4602
- export type PropertyControllerData = {
4603
- /**
4604
- * Region code (cn, us, de)
4605
- */
4606
- region: 'cn' | 'us' | 'de';
4607
- };
4608
-
4609
- export type PropertyControllerResponse = unknown;
4610
-
4611
- export type PropertyController1Data = {
4612
- /**
4613
- * Region code (cn, us, de)
4614
- */
4615
- region: 'cn' | 'us' | 'de';
4616
- };
4617
-
4618
- export type PropertyController1Response = void;
4619
-
4620
- export type FileImportControllerImportFileData = {
4621
- /**
4622
- * Bill file to import
4623
- */
4624
- formData: FileImportDto;
4625
- /**
4626
- * Region code (cn, us, de)
4627
- */
4628
- region: 'cn' | 'us' | 'de';
4629
- };
4630
-
4631
- export type FileImportControllerImportFileResponse = ImportResultDto;
4632
-
4633
- export type FileImportControllerIdentifyFileData = {
4634
- /**
4635
- * File to identify
4636
- */
4637
- formData: FileImportDto;
4638
- /**
4639
- * Region code (cn, us, de)
4640
- */
4641
- region: 'cn' | 'us' | 'de';
4642
- };
4643
-
4644
- export type FileImportControllerIdentifyFileResponse = IdentifyResultDto;
4645
-
4646
- export type ImporterConfigControllerGetConfigData = {
4647
- /**
4648
- * Importer identifier. Supported importers: alipay, alipay-web, wechat, boc, boc-credit, ccb, cmb, cmbc, cmbc-credit, icbc, icbc-credit, hsbc-hk
4649
- */
4650
- importerId: string;
4651
- /**
4652
- * Region code (cn, us, de)
4653
- */
4654
- region: 'cn' | 'us' | 'de';
4655
- };
4656
-
4657
- export type ImporterConfigControllerGetConfigResponse = ImporterConfigDto;
4658
-
4659
- export type ImporterConfigControllerData = {
4660
- /**
4661
- * Region code (cn, us, de)
4662
- */
4663
- region: 'cn' | 'us' | 'de';
4664
- };
4665
-
4666
- export type ImporterConfigControllerResponse = unknown;
4667
-
4668
- export type ImporterConfigController1Data = {
4669
- /**
4670
- * Region code (cn, us, de)
4671
- */
4672
- region: 'cn' | 'us' | 'de';
4673
- };
4674
-
4675
- export type ImporterConfigController1Response = unknown;
4676
-
4677
- export type ProviderSyncControllerSyncData = {
4678
- /**
4679
- * Provider name
4680
- */
4681
- providerName:
4682
- | 'plaid'
4683
- | 'teller'
4684
- | 'truelayer'
4685
- | 'gocardless'
4686
- | 'simplefin'
4687
- | 'yodlee'
4688
- | 'beancount-direct'
4689
- | 'parsed-bill';
4690
- /**
4691
- * Region code
4692
- */
4693
- region: unknown;
4694
- requestBody: ProviderSyncDto;
4695
- };
4696
-
4697
- export type ProviderSyncControllerSyncResponse = ProviderSyncResponseDto;
4698
-
4699
- export type ProviderSyncControllerGetSupportedProvidersData = {
4700
- /**
4701
- * Region code (cn, us, de)
4702
- */
4703
- region: 'cn' | 'us' | 'de';
4704
- };
4705
-
4706
- export type ProviderSyncControllerGetSupportedProvidersResponse =
4707
- SupportedProvidersResponseDto;
4708
-
4709
- export type ProviderSyncControllerIsProviderSupportedData = {
4710
- /**
4711
- * Provider name to check
4712
- */
4713
- providerName: string;
4714
- /**
4715
- * Region code (cn, us, de)
4716
- */
4717
- region: 'cn' | 'us' | 'de';
4718
- };
4719
-
4720
- export type ProviderSyncControllerIsProviderSupportedResponse = unknown;
4721
-
4722
- export type TelemetryControllerReportTelemetryData = {
4723
- /**
4724
- * Region code (cn, us, de)
4725
- */
4726
- region: 'cn' | 'us' | 'de';
4727
- requestBody: ParserTelemetryReportDto;
4728
- };
4729
-
4730
- export type TelemetryControllerReportTelemetryResponse = unknown;
4731
-
4732
- export type NlpControllerProcessNaturalLanguageData = {
4733
- /**
4734
- * Region code (cn, us, de)
4735
- */
4736
- region: 'cn' | 'us' | 'de';
4737
- /**
4738
- * Natural language transaction input with optional session ID
4739
- */
4740
- requestBody: ProcessNlpDto;
4741
- };
4742
-
4743
- export type NlpControllerProcessNaturalLanguageResponse = NlpResponseDto;
4744
-
4745
- export type NlpControllerClearSessionData = {
4746
- /**
4747
- * Region code (cn, us, de)
4748
- */
4749
- region: 'cn' | 'us' | 'de';
4750
- /**
4751
- * Specific session ID to clear (defaults to user session)
4752
- */
4753
- sessionId?: string;
4754
- };
4755
-
4756
- export type NlpControllerClearSessionResponse = void;
4757
-
4758
- export type NlpControllerGetSessionData = {
4759
- /**
4760
- * Region code (cn, us, de)
4761
- */
4762
- region: 'cn' | 'us' | 'de';
4763
- /**
4764
- * Specific session ID to get (defaults to user session)
4765
- */
4766
- sessionId?: string;
4767
- };
4768
-
4769
- export type NlpControllerGetSessionResponse = unknown;
4770
-
4771
- export type PlatformControllerFindAllData = {
4772
- /**
4773
- * Region code (cn, us, de)
4774
- */
4775
- region: 'cn' | 'us' | 'de';
4776
- };
4777
-
4778
- export type PlatformControllerFindAllResponse = unknown;
4779
-
4780
- export type PlatformControllerData = {
4781
- /**
4782
- * Region code (cn, us, de)
4783
- */
4784
- region: 'cn' | 'us' | 'de';
4785
- };
4786
-
4787
- export type PlatformControllerResponse = unknown;
4788
-
4789
- export type PlatformControllerGetPlatformListData = {
4790
- /**
4791
- * Region code (cn, us, de)
4792
- */
4793
- region: 'cn' | 'us' | 'de';
4794
5454
  };
4795
5455
 
4796
- export type PlatformControllerGetPlatformListResponse = unknown;
5456
+ export type UserControllerDeleteUserResponse = void;
4797
5457
 
4798
- export type PlatformController1Data = {
5458
+ export type UserControllerGetUserInfoData = {
4799
5459
  /**
4800
- * Region code (cn, us, de)
5460
+ * User ID
4801
5461
  */
4802
- region: 'cn' | 'us' | 'de';
5462
+ id: string;
4803
5463
  };
4804
5464
 
4805
- export type PlatformController1Response = unknown;
5465
+ export type UserControllerGetUserInfoResponse = unknown;
4806
5466
 
4807
- export type PlatformController2Data = {
4808
- /**
4809
- * Region code (cn, us, de)
4810
- */
4811
- region: 'cn' | 'us' | 'de';
5467
+ export type UserControllerUpdateUserSettingData = {
5468
+ requestBody: UpdateUserSettingDto;
4812
5469
  };
4813
5470
 
4814
- export type PlatformController2Response = void;
5471
+ export type UserControllerUpdateUserSettingResponse = unknown;
4815
5472
 
4816
- export type SymbolControllerLookupSymbolData = {
4817
- /**
4818
- * Geographic area filter (e.g., CN, US)
4819
- */
4820
- area?: unknown;
4821
- /**
4822
- * Asset class filter
4823
- */
4824
- assetClass?: unknown;
4825
- /**
4826
- * Asset sub-class filter
4827
- */
4828
- assetSubClass?: unknown;
4829
- /**
4830
- * Include index symbols in results
4831
- */
4832
- includeIndices?: unknown;
5473
+ export type UserControllerGetAllUserSettingsByPageData = {
4833
5474
  /**
4834
- * Search query string
5475
+ * Page number
4835
5476
  */
4836
- query?: unknown;
5477
+ pageNo: number;
4837
5478
  /**
4838
- * Region code (cn, us, de)
5479
+ * Page size
4839
5480
  */
4840
- region: 'cn' | 'us' | 'de';
5481
+ pageSize: number;
4841
5482
  };
4842
5483
 
4843
- export type SymbolControllerLookupSymbolResponse = unknown;
5484
+ export type UserControllerGetAllUserSettingsByPageResponse = unknown;
4844
5485
 
4845
- export type SymbolControllerGetSymbolDataData = {
4846
- /**
4847
- * Data source provider
4848
- */
4849
- dataSource:
4850
- | 'ALPHA_VANTAGE'
4851
- | 'EOD_HISTORICAL_DATA'
4852
- | 'FINANCIAL_MODELING_PREP'
4853
- | 'MANUAL'
4854
- | 'RAPID_API'
4855
- | 'YAHOO'
4856
- | 'COINGECKO'
4857
- | 'TUSHARE'
4858
- | 'BLOOMBERG'
4859
- | 'CSI'
4860
- | 'STOOQ'
4861
- | 'TRADING_VIEW';
4862
- /**
4863
- * Include historical price data (0 or 1)
4864
- */
4865
- includeHistoricalData?: unknown;
4866
- /**
4867
- * Region code (cn, us, de)
4868
- */
4869
- region: 'cn' | 'us' | 'de';
5486
+ export type UserControllerGetAssetLiabilitySummaryResponse = unknown;
5487
+
5488
+ export type PropertyControllerGetAllResponse = unknown;
5489
+
5490
+ export type PropertyControllerGetByKeyData = {
4870
5491
  /**
4871
- * Symbol identifier (e.g., ticker code)
5492
+ * Property key
4872
5493
  */
4873
- symbol: string;
5494
+ key: string;
4874
5495
  };
4875
5496
 
4876
- export type SymbolControllerGetSymbolDataResponse = unknown;
5497
+ export type PropertyControllerGetByKeyResponse = unknown;
4877
5498
 
4878
- export type SymbolControllerGatherSymbolForDateData = {
4879
- /**
4880
- * Data source provider
4881
- */
4882
- dataSource:
4883
- | 'ALPHA_VANTAGE'
4884
- | 'EOD_HISTORICAL_DATA'
4885
- | 'FINANCIAL_MODELING_PREP'
4886
- | 'MANUAL'
4887
- | 'RAPID_API'
4888
- | 'YAHOO'
4889
- | 'COINGECKO'
4890
- | 'TUSHARE'
4891
- | 'BLOOMBERG'
4892
- | 'CSI'
4893
- | 'STOOQ'
4894
- | 'TRADING_VIEW';
4895
- /**
4896
- * Date in ISO 8601 format (YYYY-MM-DD)
4897
- */
4898
- dateString: string;
4899
- /**
4900
- * Region code (cn, us, de)
4901
- */
4902
- region: 'cn' | 'us' | 'de';
5499
+ export type PropertyControllerUpdateData = {
4903
5500
  /**
4904
- * Symbol identifier (e.g., ticker code)
5501
+ * Property key
4905
5502
  */
4906
- symbol: string;
5503
+ key: string;
5504
+ requestBody: UpdatePropertyDto;
4907
5505
  };
4908
5506
 
4909
- export type SymbolControllerGatherSymbolForDateResponse = unknown;
5507
+ export type PropertyControllerUpdateResponse = unknown;
4910
5508
 
4911
- export type SymbolControllerData = {
5509
+ export type PropertyControllerDeleteData = {
4912
5510
  /**
4913
- * Region code (cn, us, de)
5511
+ * Property key
4914
5512
  */
4915
- region: 'cn' | 'us' | 'de';
5513
+ key: string;
4916
5514
  };
4917
5515
 
4918
- export type SymbolControllerResponse = unknown;
5516
+ export type PropertyControllerDeleteResponse = void;
4919
5517
 
4920
- export type CacheControllerFlushCacheData = {
5518
+ export type ExportControllerExportBeancountResponse = unknown;
5519
+
5520
+ export type FileImportControllerImportFileData = {
4921
5521
  /**
4922
- * Region code (cn, us, de)
5522
+ * Bill file to import
5523
+ */
5524
+ formData: FileImportDto;
5525
+ /**
5526
+ * Region code for tenant context
4923
5527
  */
4924
- region: 'cn' | 'us' | 'de';
5528
+ region: 'cn' | 'us' | 'de' | 'gb';
4925
5529
  };
4926
5530
 
4927
- export type CacheControllerFlushCacheResponse = unknown;
5531
+ export type FileImportControllerImportFileResponse = ImportResultDto;
4928
5532
 
4929
- export type DashboardControllerGetNetWorthData = {
5533
+ export type FileImportControllerIdentifyFileData = {
4930
5534
  /**
4931
- * Date for balance calculation (ISO 8601 format)
5535
+ * File to identify
4932
5536
  */
4933
- date?: string;
5537
+ formData: FileImportDto;
4934
5538
  /**
4935
- * Region code (cn, us, de)
5539
+ * Region code for tenant context
4936
5540
  */
4937
- region: 'cn' | 'us' | 'de';
5541
+ region: 'cn' | 'us' | 'de' | 'gb';
4938
5542
  };
4939
5543
 
4940
- export type DashboardControllerGetNetWorthResponse = NetWorthResponseDto;
5544
+ export type FileImportControllerIdentifyFileResponse = IdentifyResultDto;
4941
5545
 
4942
- export type DashboardControllerGetAccountsData = {
4943
- /**
4944
- * Date for balance calculation (ISO 8601 format)
4945
- */
4946
- date?: string;
5546
+ export type FileImportControllerImportBeancountData = {
4947
5547
  /**
4948
- * Grouping strategy
5548
+ * Beancount file to import
4949
5549
  */
4950
- groupBy?: 'platform' | 'assetClass';
5550
+ formData: FileImportDto;
4951
5551
  /**
4952
- * Region code (cn, us, de)
5552
+ * Region code for tenant context
4953
5553
  */
4954
- region: 'cn' | 'us' | 'de';
5554
+ region: 'cn' | 'us' | 'de' | 'gb';
4955
5555
  };
4956
5556
 
4957
- export type DashboardControllerGetAccountsResponse =
4958
- | AccountsResponseDto
4959
- | AssetClassAccountsResponseDto;
5557
+ export type FileImportControllerImportBeancountResponse = {
5558
+ imported?: number;
5559
+ skipped?: number;
5560
+ failed?: number;
5561
+ accountsCreated?: number;
5562
+ errors?: Array<{
5563
+ [key: string]: unknown;
5564
+ }>;
5565
+ };
4960
5566
 
4961
- export type DashboardControllerGetCashFlowData = {
5567
+ export type ImporterConfigControllerGetConfigData = {
4962
5568
  /**
4963
- * Period in YYYY-MM format
5569
+ * 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
4964
5570
  */
4965
- period: string;
5571
+ importerId: string;
4966
5572
  /**
4967
- * Region code (cn, us, de)
5573
+ * Region code for tenant context
4968
5574
  */
4969
- region: 'cn' | 'us' | 'de';
5575
+ region: 'cn' | 'us' | 'de' | 'gb';
4970
5576
  };
4971
5577
 
4972
- export type DashboardControllerGetCashFlowResponse = CashFlowResponseDto;
5578
+ export type ImporterConfigControllerGetConfigResponse = ImporterConfigDto;
4973
5579
 
4974
- export type ReportingControllerGetPortfolioTrendsData = {
5580
+ export type ImporterConfigControllerUpdateConfigData = {
4975
5581
  /**
4976
- * Data granularity
5582
+ * 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
4977
5583
  */
4978
- granularity?: 'day' | 'week' | 'month';
5584
+ importerId: string;
4979
5585
  /**
4980
- * Time period
5586
+ * Region code for tenant context
4981
5587
  */
4982
- period?: '1m' | '3m' | '6m' | '1y';
5588
+ region: 'cn' | 'us' | 'de' | 'gb';
4983
5589
  /**
4984
- * Region code (cn, us, de)
5590
+ * Partial configuration update. Only provided fields will be updated.
4985
5591
  */
4986
- region: 'cn' | 'us' | 'de';
5592
+ requestBody: UpdateImporterConfigDto;
4987
5593
  };
4988
5594
 
4989
- export type ReportingControllerGetPortfolioTrendsResponse =
4990
- PortfolioTrendsResponseDto;
5595
+ export type ImporterConfigControllerUpdateConfigResponse = ImporterConfigDto;
4991
5596
 
4992
- export type ReportingControllerGenerateSnapshotData = {
5597
+ export type ImporterConfigControllerResetConfigData = {
4993
5598
  /**
4994
- * Region code (cn, us, de)
5599
+ * 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
4995
5600
  */
4996
- region: 'cn' | 'us' | 'de';
5601
+ importerId: string;
4997
5602
  /**
4998
- * Optional date (defaults to today)
5603
+ * Region code for tenant context
4999
5604
  */
5000
- requestBody: GenerateSnapshotBody;
5605
+ region: 'cn' | 'us' | 'de' | 'gb';
5001
5606
  };
5002
5607
 
5003
- export type ReportingControllerGenerateSnapshotResponse =
5004
- GenerateSnapshotResponse;
5608
+ export type ImporterConfigControllerResetConfigResponse = ImporterConfigDto;
5005
5609
 
5006
- export type ReportingControllerBackfillSnapshotsData = {
5007
- /**
5008
- * Region code (cn, us, de)
5009
- */
5010
- region: 'cn' | 'us' | 'de';
5011
- requestBody: BackfillSnapshotsBody;
5610
+ export type PlatformControllerFindAllResponse = unknown;
5611
+
5612
+ export type PlatformControllerCreateData = {
5613
+ requestBody: CreatePlatformDto;
5012
5614
  };
5013
5615
 
5014
- export type ReportingControllerBackfillSnapshotsResponse =
5015
- BackfillSnapshotsResponse;
5616
+ export type PlatformControllerCreateResponse = unknown;
5617
+
5618
+ export type PlatformControllerGetPlatformListResponse = unknown;
5016
5619
 
5017
- export type ApiKeysControllerData = {
5620
+ export type PlatformControllerMatchPlatformsData = {
5018
5621
  /**
5019
- * Region code (cn, us, de)
5622
+ * Search query — Chinese name, English name, or abbreviation
5623
+ */
5624
+ q: string;
5625
+ /**
5626
+ * Region code for category override lookup
5020
5627
  */
5021
- region: 'cn' | 'us' | 'de';
5628
+ region?: string;
5022
5629
  };
5023
5630
 
5024
- export type ApiKeysControllerResponse = unknown;
5631
+ export type PlatformControllerMatchPlatformsResponse = unknown;
5025
5632
 
5026
- export type AuthControllerAccessTokenLoginData = {
5633
+ export type PlatformControllerUpdateData = {
5027
5634
  /**
5028
- * Region code (cn, us, de)
5635
+ * Platform ID
5029
5636
  */
5030
- region: 'cn' | 'us' | 'de';
5031
- requestBody: AnonymousLoginDto;
5637
+ id: string;
5638
+ requestBody: UpdatePlatformDto;
5032
5639
  };
5033
5640
 
5034
- export type AuthControllerAccessTokenLoginResponse = unknown;
5641
+ export type PlatformControllerUpdateResponse = unknown;
5035
5642
 
5036
- export type ExchangeRateControllerGetExchangeRateData = {
5643
+ export type PlatformControllerDeleteData = {
5037
5644
  /**
5038
- * Date in ISO format (YYYY-MM-DD)
5645
+ * Platform ID
5039
5646
  */
5040
- dateString: string;
5647
+ id: string;
5648
+ };
5649
+
5650
+ export type PlatformControllerDeleteResponse = void;
5651
+
5652
+ export type ProviderSyncControllerSyncData = {
5041
5653
  /**
5042
- * Region code (cn, us, de)
5654
+ * Provider name
5043
5655
  */
5044
- region: 'cn' | 'us' | 'de';
5656
+ providerName:
5657
+ | 'plaid'
5658
+ | 'teller'
5659
+ | 'truelayer'
5660
+ | 'gocardless'
5661
+ | 'simplefin'
5662
+ | 'yodlee'
5663
+ | 'beancount-direct'
5664
+ | 'parsed-bill';
5045
5665
  /**
5046
- * Currency pair symbol (e.g., USDCNY, EURUSD)
5666
+ * Region code
5047
5667
  */
5048
- symbol: string;
5668
+ region: unknown;
5669
+ requestBody: ProviderSyncDto;
5049
5670
  };
5050
5671
 
5051
- export type ExchangeRateControllerGetExchangeRateResponse = unknown;
5672
+ export type ProviderSyncControllerSyncResponse = ProviderSyncResponseDto;
5052
5673
 
5053
- export type HealthControllerGetHealthData = {
5674
+ export type ProviderSyncControllerGetSupportedProvidersData = {
5054
5675
  /**
5055
- * Region code (cn, us, de)
5676
+ * Region code for tenant context
5056
5677
  */
5057
- region: 'cn' | 'us' | 'de';
5678
+ region: 'cn' | 'us' | 'de' | 'gb';
5058
5679
  };
5059
5680
 
5060
- export type HealthControllerGetHealthResponse = unknown;
5681
+ export type ProviderSyncControllerGetSupportedProvidersResponse =
5682
+ SupportedProvidersResponseDto;
5061
5683
 
5062
- export type HealthControllerCheckDatabaseData = {
5684
+ export type ProviderSyncControllerIsProviderSupportedData = {
5063
5685
  /**
5064
- * Region code (cn, us, de)
5686
+ * Provider name to check
5065
5687
  */
5066
- region: 'cn' | 'us' | 'de';
5067
- };
5068
-
5069
- export type HealthControllerCheckDatabaseResponse = unknown;
5070
-
5071
- export type HealthControllerCheckRedisData = {
5688
+ providerName: string;
5072
5689
  /**
5073
- * Region code (cn, us, de)
5690
+ * Region code for tenant context
5074
5691
  */
5075
- region: 'cn' | 'us' | 'de';
5692
+ region: 'cn' | 'us' | 'de' | 'gb';
5076
5693
  };
5077
5694
 
5078
- export type HealthControllerCheckRedisResponse = unknown;
5695
+ export type ProviderSyncControllerIsProviderSupportedResponse = unknown;
5079
5696
 
5080
- export type HealthControllerGetCircuitBreakersHealthData = {
5697
+ export type TelemetryControllerReportTelemetryData = {
5081
5698
  /**
5082
- * Region code (cn, us, de)
5699
+ * Region code for tenant context
5083
5700
  */
5084
- region: 'cn' | 'us' | 'de';
5701
+ region: 'cn' | 'us' | 'de' | 'gb';
5702
+ requestBody: ParserTelemetryReportDto;
5085
5703
  };
5086
5704
 
5087
- export type HealthControllerGetCircuitBreakersHealthResponse = unknown;
5705
+ export type TelemetryControllerReportTelemetryResponse = unknown;
5088
5706
 
5089
- export type HealthControllerResetCircuitBreakerData = {
5707
+ export type NlpControllerProcessNaturalLanguageData = {
5090
5708
  /**
5091
- * Circuit breaker name to reset
5709
+ * Region code for tenant context
5092
5710
  */
5093
- name: string;
5711
+ region: 'cn' | 'us' | 'de' | 'gb';
5094
5712
  /**
5095
- * Region code (cn, us, de)
5713
+ * Natural language transaction input with optional session ID
5096
5714
  */
5097
- region: 'cn' | 'us' | 'de';
5715
+ requestBody: ProcessNlpDto;
5098
5716
  };
5099
5717
 
5100
- export type HealthControllerResetCircuitBreakerResponse = unknown;
5718
+ export type NlpControllerProcessNaturalLanguageResponse = NlpResponseDto;
5101
5719
 
5102
- export type HealthControllerGetMetricsData = {
5720
+ export type NlpControllerClearSessionData = {
5103
5721
  /**
5104
- * Region code (cn, us, de)
5722
+ * Region code for tenant context
5723
+ */
5724
+ region: 'cn' | 'us' | 'de' | 'gb';
5725
+ /**
5726
+ * Specific session ID to clear (defaults to user session)
5105
5727
  */
5106
- region: 'cn' | 'us' | 'de';
5728
+ sessionId?: string;
5107
5729
  };
5108
5730
 
5109
- export type HealthControllerGetMetricsResponse = unknown;
5731
+ export type NlpControllerClearSessionResponse = void;
5110
5732
 
5111
- export type HealthControllerGetHealthOfDataEnhancerData = {
5733
+ export type NlpControllerGetSessionData = {
5112
5734
  /**
5113
- * Data enhancer name
5735
+ * Region code for tenant context
5114
5736
  */
5115
- name: string;
5737
+ region: 'cn' | 'us' | 'de' | 'gb';
5116
5738
  /**
5117
- * Region code (cn, us, de)
5739
+ * Specific session ID to get (defaults to user session)
5118
5740
  */
5119
- region: 'cn' | 'us' | 'de';
5741
+ sessionId?: string;
5120
5742
  };
5121
5743
 
5122
- export type HealthControllerGetHealthOfDataEnhancerResponse = unknown;
5744
+ export type NlpControllerGetSessionResponse = unknown;
5123
5745
 
5124
- export type HealthControllerCheckDataProvidersData = {
5746
+ export type DashboardControllerGetNetWorthData = {
5125
5747
  /**
5126
- * Region code (cn, us, de)
5748
+ * Date for balance calculation (ISO 8601 format)
5749
+ */
5750
+ date?: string;
5751
+ /**
5752
+ * Region code for tenant context
5127
5753
  */
5128
- region: 'cn' | 'us' | 'de';
5754
+ region: 'cn' | 'us' | 'de' | 'gb';
5129
5755
  };
5130
5756
 
5131
- export type HealthControllerCheckDataProvidersResponse = unknown;
5757
+ export type DashboardControllerGetNetWorthResponse = NetWorthResponseDto;
5132
5758
 
5133
- export type HealthControllerGetHealthOfDataProviderData = {
5759
+ export type DashboardControllerGetAccountsData = {
5134
5760
  /**
5135
- * Data source identifier
5761
+ * Date for balance calculation (ISO 8601 format)
5136
5762
  */
5137
- dataSource: string;
5763
+ date?: string;
5138
5764
  /**
5139
- * Region code (cn, us, de)
5765
+ * Grouping strategy
5140
5766
  */
5141
- region: 'cn' | 'us' | 'de';
5767
+ groupBy?: 'platform' | 'assetClass';
5768
+ /**
5769
+ * Region code for tenant context
5770
+ */
5771
+ region: 'cn' | 'us' | 'de' | 'gb';
5142
5772
  };
5143
5773
 
5144
- export type HealthControllerGetHealthOfDataProviderResponse = unknown;
5774
+ export type DashboardControllerGetAccountsResponse =
5775
+ | AccountsResponseDto
5776
+ | AssetClassAccountsResponseDto;
5145
5777
 
5146
- export type InfoControllerGetInfoData = {
5778
+ export type DashboardControllerGetCashFlowData = {
5147
5779
  /**
5148
- * Region code (cn, us, de)
5780
+ * Period in YYYY-MM format
5781
+ */
5782
+ period: string;
5783
+ /**
5784
+ * Region code for tenant context
5149
5785
  */
5150
- region: 'cn' | 'us' | 'de';
5786
+ region: 'cn' | 'us' | 'de' | 'gb';
5151
5787
  };
5152
5788
 
5153
- export type InfoControllerGetInfoResponse = unknown;
5789
+ export type DashboardControllerGetCashFlowResponse = CashFlowResponseDto;
5154
5790
 
5155
- export type LogoControllerGetLogoByDataSourceAndSymbolData = {
5791
+ export type ReportingControllerGetPortfolioTrendsData = {
5156
5792
  /**
5157
- * Data source identifier (e.g., YAHOO, COINGECKO)
5793
+ * Data granularity
5158
5794
  */
5159
- dataSource: string;
5795
+ granularity?: 'day' | 'week' | 'month';
5160
5796
  /**
5161
- * Region code (cn, us, de)
5797
+ * Time period
5162
5798
  */
5163
- region: 'cn' | 'us' | 'de';
5799
+ period?: '1m' | '3m' | '6m' | '1y';
5164
5800
  /**
5165
- * Asset symbol (e.g., AAPL, BTC)
5801
+ * Region code for tenant context
5166
5802
  */
5167
- symbol: string;
5803
+ region: 'cn' | 'us' | 'de' | 'gb';
5168
5804
  };
5169
5805
 
5170
- export type LogoControllerGetLogoByDataSourceAndSymbolResponse = unknown;
5806
+ export type ReportingControllerGetPortfolioTrendsResponse =
5807
+ PortfolioTrendsResponseDto;
5171
5808
 
5172
- export type LogoControllerGetLogoByUrlData = {
5809
+ export type ReportingControllerGenerateSnapshotData = {
5173
5810
  /**
5174
- * Region code (cn, us, de)
5811
+ * Region code for tenant context
5175
5812
  */
5176
- region: 'cn' | 'us' | 'de';
5813
+ region: 'cn' | 'us' | 'de' | 'gb';
5177
5814
  /**
5178
- * Website URL to fetch favicon from
5815
+ * Optional date (defaults to today)
5179
5816
  */
5180
- url: string;
5817
+ requestBody: GenerateSnapshotBody;
5181
5818
  };
5182
5819
 
5183
- export type LogoControllerGetLogoByUrlResponse = unknown;
5820
+ export type ReportingControllerGenerateSnapshotResponse =
5821
+ GenerateSnapshotResponse;
5184
5822
 
5185
- export type MarketDataControllerGetMarketDataBySymbolData = {
5823
+ export type ReportingControllerBackfillSnapshotsData = {
5186
5824
  /**
5187
- * Data source provider
5825
+ * Region code for tenant context
5188
5826
  */
5189
- dataSource:
5190
- | 'ALPHA_VANTAGE'
5191
- | 'EOD_HISTORICAL_DATA'
5192
- | 'FINANCIAL_MODELING_PREP'
5193
- | 'MANUAL'
5194
- | 'RAPID_API'
5195
- | 'YAHOO'
5196
- | 'COINGECKO'
5197
- | 'TUSHARE'
5198
- | 'BLOOMBERG'
5199
- | 'CSI'
5200
- | 'STOOQ'
5201
- | 'TRADING_VIEW';
5827
+ region: 'cn' | 'us' | 'de' | 'gb';
5828
+ requestBody: BackfillSnapshotsBody;
5829
+ };
5830
+
5831
+ export type ReportingControllerBackfillSnapshotsResponse =
5832
+ BackfillSnapshotsResponse;
5833
+
5834
+ export type ApiKeysControllerCreateApiKeyResponse = unknown;
5835
+
5836
+ export type AuthControllerAccessTokenLoginData = {
5837
+ requestBody: AnonymousLoginDto;
5838
+ };
5839
+
5840
+ export type AuthControllerAccessTokenLoginResponse = unknown;
5841
+
5842
+ export type CacheControllerFlushCacheResponse = unknown;
5843
+
5844
+ export type ExchangeRateControllerGetExchangeRateData = {
5202
5845
  /**
5203
- * Region code (cn, us, de)
5846
+ * Date in ISO format (YYYY-MM-DD)
5204
5847
  */
5205
- region: 'cn' | 'us' | 'de';
5848
+ dateString: string;
5206
5849
  /**
5207
- * Symbol code
5850
+ * Currency pair symbol (e.g., USDCNY, EURUSD)
5208
5851
  */
5209
5852
  symbol: string;
5210
5853
  };
5211
5854
 
5212
- export type MarketDataControllerGetMarketDataBySymbolResponse = unknown;
5855
+ export type ExchangeRateControllerGetExchangeRateResponse = unknown;
5856
+
5857
+ export type HealthControllerGetHealthResponse = unknown;
5858
+
5859
+ export type HealthControllerCheckDatabaseResponse = unknown;
5860
+
5861
+ export type HealthControllerCheckOpenBbResponse = unknown;
5862
+
5863
+ export type HealthControllerCheckRedisResponse = unknown;
5213
5864
 
5214
- export type MarketDataControllerData = {
5865
+ export type HealthControllerGetCircuitBreakersHealthResponse = unknown;
5866
+
5867
+ export type HealthControllerResetCircuitBreakerData = {
5215
5868
  /**
5216
- * Region code (cn, us, de)
5869
+ * Circuit breaker name to reset
5217
5870
  */
5218
- region: 'cn' | 'us' | 'de';
5871
+ name: string;
5219
5872
  };
5220
5873
 
5221
- export type MarketDataControllerResponse = unknown;
5874
+ export type HealthControllerResetCircuitBreakerResponse = unknown;
5875
+
5876
+ export type HealthControllerGetMetricsResponse = unknown;
5877
+
5878
+ export type InfoControllerGetInfoResponse = unknown;
5222
5879
 
5223
5880
  export type $OpenApiTs = {
5224
5881
  '/api/v1/{region}/bean/accounts': {
@@ -5328,6 +5985,39 @@ export type $OpenApiTs = {
5328
5985
  };
5329
5986
  };
5330
5987
  };
5988
+ '/api/v1/{region}/bean/account-standards': {
5989
+ get: {
5990
+ req: AccountStandardsControllerGetTemplatesData;
5991
+ res: {
5992
+ /**
5993
+ * Account templates retrieved successfully
5994
+ */
5995
+ 200: AccountStandardListResponseDto;
5996
+ };
5997
+ };
5998
+ };
5999
+ '/api/v1/{region}/bean/account-standards/template-metadata': {
6000
+ get: {
6001
+ req: AccountStandardsControllerGetTemplateMetadataData;
6002
+ res: {
6003
+ /**
6004
+ * Template metadata retrieved successfully
6005
+ */
6006
+ 200: TemplateMetadataResponseDto;
6007
+ };
6008
+ };
6009
+ };
6010
+ '/api/v1/{region}/bean/account-standards/regions': {
6011
+ get: {
6012
+ req: AccountStandardsControllerGetRegionsData;
6013
+ res: {
6014
+ /**
6015
+ * Regions metadata retrieved successfully
6016
+ */
6017
+ 200: RegionsMetadataResponseDto;
6018
+ };
6019
+ };
6020
+ };
5331
6021
  '/api/v1/{region}/bean/transactions': {
5332
6022
  post: {
5333
6023
  req: TransactionControllerCreateData;
@@ -5361,6 +6051,10 @@ export type $OpenApiTs = {
5361
6051
  * Transaction list
5362
6052
  */
5363
6053
  200: TransactionListResponseDto;
6054
+ /**
6055
+ * Validation failed
6056
+ */
6057
+ 400: ApiProblemResponseDto;
5364
6058
  /**
5365
6059
  * Authentication required
5366
6060
  */
@@ -5370,9 +6064,39 @@ export type $OpenApiTs = {
5370
6064
  };
5371
6065
  '/api/v1/{region}/bean/transactions/batch': {
5372
6066
  post: {
5373
- req: TransactionControllerData;
6067
+ req: TransactionControllerCreateBatchData;
5374
6068
  res: {
5375
- 201: unknown;
6069
+ /**
6070
+ * Transactions processed
6071
+ */
6072
+ 201: BatchTransactionResponseDto;
6073
+ /**
6074
+ * Invalid input
6075
+ */
6076
+ 400: ApiProblemResponseDto;
6077
+ /**
6078
+ * Authentication required
6079
+ */
6080
+ 401: ApiProblemResponseDto;
6081
+ };
6082
+ };
6083
+ };
6084
+ '/api/v1/{region}/bean/transactions/tags': {
6085
+ get: {
6086
+ req: TransactionControllerSuggestTagsData;
6087
+ res: {
6088
+ /**
6089
+ * Tag suggestions
6090
+ */
6091
+ 200: TagSuggestionsResponseDto;
6092
+ /**
6093
+ * Validation failed
6094
+ */
6095
+ 400: ApiProblemResponseDto;
6096
+ /**
6097
+ * Authentication required
6098
+ */
6099
+ 401: ApiProblemResponseDto;
5376
6100
  };
5377
6101
  };
5378
6102
  };
@@ -5416,31 +6140,24 @@ export type $OpenApiTs = {
5416
6140
  };
5417
6141
  };
5418
6142
  delete: {
5419
- req: TransactionController1Data;
6143
+ req: TransactionControllerDeleteData;
5420
6144
  res: {
6145
+ /**
6146
+ * Transaction voided successfully
6147
+ */
5421
6148
  204: void;
5422
- };
5423
- };
5424
- };
5425
- '/api/v1/{region}/bean/account-standards': {
5426
- get: {
5427
- req: AccountStandardsControllerGetTemplatesData;
5428
- res: {
5429
6149
  /**
5430
- * Account templates retrieved successfully
6150
+ * Transaction already voided
5431
6151
  */
5432
- 200: AccountStandardListResponseDto;
5433
- };
5434
- };
5435
- };
5436
- '/api/v1/{region}/bean/account-standards/regions': {
5437
- get: {
5438
- req: AccountStandardsControllerGetRegionsData;
5439
- res: {
6152
+ 400: ApiProblemResponseDto;
5440
6153
  /**
5441
- * Regions metadata retrieved successfully
6154
+ * Authentication required
5442
6155
  */
5443
- 200: RegionsMetadataResponseDto;
6156
+ 401: ApiProblemResponseDto;
6157
+ /**
6158
+ * Transaction not found
6159
+ */
6160
+ 404: ApiProblemResponseDto;
5444
6161
  };
5445
6162
  };
5446
6163
  };
@@ -5508,33 +6225,44 @@ export type $OpenApiTs = {
5508
6225
  };
5509
6226
  '/api/v1/{region}/bean/reviews/{id}/resolve': {
5510
6227
  post: {
5511
- req: ReviewControllerData;
6228
+ req: ReviewControllerResolveData;
5512
6229
  res: {
5513
- 201: unknown;
6230
+ 200: ResolveResultDto;
5514
6231
  };
5515
6232
  };
5516
6233
  };
5517
6234
  '/api/v1/{region}/bean/reviews/{id}/undo': {
5518
6235
  post: {
5519
- req: ReviewController1Data;
6236
+ req: ReviewControllerUndoData;
5520
6237
  res: {
5521
- 201: unknown;
6238
+ 200: UndoResultDto;
5522
6239
  };
5523
6240
  };
5524
6241
  };
5525
6242
  '/api/v1/{region}/bean/reviews/batch-resolve': {
5526
6243
  post: {
5527
- req: ReviewController2Data;
6244
+ req: ReviewControllerBatchResolveData;
5528
6245
  res: {
5529
- 201: unknown;
6246
+ 200: BatchResolveResultDto;
5530
6247
  };
5531
6248
  };
5532
6249
  };
5533
6250
  '/api/v1/bean/payees': {
5534
6251
  post: {
5535
- req: PayeeControllerData;
6252
+ req: PayeeControllerCreateData;
5536
6253
  res: {
5537
- 201: unknown;
6254
+ /**
6255
+ * Payee created successfully
6256
+ */
6257
+ 201: PayeeResponseDto;
6258
+ /**
6259
+ * Invalid input data
6260
+ */
6261
+ 400: ApiProblemResponseDto;
6262
+ /**
6263
+ * Payee already exists
6264
+ */
6265
+ 409: ApiProblemResponseDto;
5538
6266
  };
5539
6267
  };
5540
6268
  get: {
@@ -5588,23 +6316,56 @@ export type $OpenApiTs = {
5588
6316
  };
5589
6317
  };
5590
6318
  put: {
5591
- req: PayeeController1Data;
6319
+ req: PayeeControllerUpdateData;
5592
6320
  res: {
5593
- 200: unknown;
6321
+ /**
6322
+ * Payee updated successfully
6323
+ */
6324
+ 200: PayeeResponseDto;
6325
+ /**
6326
+ * Invalid input data
6327
+ */
6328
+ 400: ApiProblemResponseDto;
6329
+ /**
6330
+ * Payee not found
6331
+ */
6332
+ 404: ApiProblemResponseDto;
5594
6333
  };
5595
6334
  };
5596
6335
  delete: {
5597
- req: PayeeController2Data;
6336
+ req: PayeeControllerDeleteData;
5598
6337
  res: {
6338
+ /**
6339
+ * Payee deleted successfully
6340
+ */
5599
6341
  204: void;
6342
+ /**
6343
+ * Payee not found
6344
+ */
6345
+ 404: ApiProblemResponseDto;
5600
6346
  };
5601
6347
  };
5602
6348
  };
5603
6349
  '/api/v1/admin/payee-profiles': {
5604
6350
  post: {
5605
- req: PayeeProfileAdminControllerData;
6351
+ req: PayeeProfileAdminControllerCreateData;
5606
6352
  res: {
5607
- 201: unknown;
6353
+ /**
6354
+ * Payee profile created successfully
6355
+ */
6356
+ 201: PayeeProfileResponseDto;
6357
+ /**
6358
+ * Validation failed
6359
+ */
6360
+ 400: ApiProblemResponseDto;
6361
+ /**
6362
+ * Admin access required
6363
+ */
6364
+ 403: ApiProblemResponseDto;
6365
+ /**
6366
+ * Payee profile already exists
6367
+ */
6368
+ 409: ApiProblemResponseDto;
5608
6369
  };
5609
6370
  };
5610
6371
  get: {
@@ -5640,37 +6401,96 @@ export type $OpenApiTs = {
5640
6401
  };
5641
6402
  };
5642
6403
  put: {
5643
- req: PayeeProfileAdminController1Data;
6404
+ req: PayeeProfileAdminControllerUpdateData;
5644
6405
  res: {
5645
- 200: unknown;
6406
+ /**
6407
+ * Payee profile updated successfully
6408
+ */
6409
+ 200: PayeeProfileResponseDto;
6410
+ /**
6411
+ * Admin access required
6412
+ */
6413
+ 403: ApiProblemResponseDto;
6414
+ /**
6415
+ * Payee profile not found
6416
+ */
6417
+ 404: ApiProblemResponseDto;
5646
6418
  };
5647
6419
  };
5648
6420
  delete: {
5649
- req: PayeeProfileAdminController2Data;
6421
+ req: PayeeProfileAdminControllerDeleteData;
5650
6422
  res: {
6423
+ /**
6424
+ * Payee profile deleted successfully
6425
+ */
5651
6426
  204: void;
6427
+ /**
6428
+ * Admin access required
6429
+ */
6430
+ 403: ApiProblemResponseDto;
6431
+ /**
6432
+ * Payee profile not found
6433
+ */
6434
+ 404: ApiProblemResponseDto;
6435
+ /**
6436
+ * Payee profile is in use and cannot be deleted
6437
+ */
6438
+ 409: ApiProblemResponseDto;
5652
6439
  };
5653
6440
  };
5654
6441
  };
5655
6442
  '/api/v1/admin/payee-profiles/{id}/verify': {
5656
6443
  post: {
5657
- req: PayeeProfileAdminController3Data;
6444
+ req: PayeeProfileAdminControllerVerifyData;
5658
6445
  res: {
5659
- 201: unknown;
6446
+ /**
6447
+ * Payee profile verified successfully
6448
+ */
6449
+ 201: PayeeProfileResponseDto;
6450
+ /**
6451
+ * Admin access required
6452
+ */
6453
+ 403: ApiProblemResponseDto;
6454
+ /**
6455
+ * Payee profile not found
6456
+ */
6457
+ 404: ApiProblemResponseDto;
5660
6458
  };
5661
6459
  };
5662
6460
  delete: {
5663
- req: PayeeProfileAdminController4Data;
6461
+ req: PayeeProfileAdminControllerUnverifyData;
5664
6462
  res: {
5665
- 200: unknown;
6463
+ /**
6464
+ * Payee profile unverified successfully
6465
+ */
6466
+ 200: PayeeProfileResponseDto;
6467
+ /**
6468
+ * Admin access required
6469
+ */
6470
+ 403: ApiProblemResponseDto;
6471
+ /**
6472
+ * Payee profile not found
6473
+ */
6474
+ 404: ApiProblemResponseDto;
5666
6475
  };
5667
6476
  };
5668
6477
  };
5669
6478
  '/api/v1/{region}/bean/commodities': {
5670
6479
  post: {
5671
- req: CommodityControllerData;
6480
+ req: CommodityControllerCreateData;
5672
6481
  res: {
5673
- 201: unknown;
6482
+ /**
6483
+ * Commodity created successfully
6484
+ */
6485
+ 201: CommodityResponseDto;
6486
+ /**
6487
+ * Invalid input data
6488
+ */
6489
+ 400: ApiProblemResponseDto;
6490
+ /**
6491
+ * Commodity already exists
6492
+ */
6493
+ 409: ApiProblemResponseDto;
5674
6494
  };
5675
6495
  };
5676
6496
  get: {
@@ -5698,39 +6518,74 @@ export type $OpenApiTs = {
5698
6518
  };
5699
6519
  };
5700
6520
  put: {
5701
- req: CommodityController1Data;
6521
+ req: CommodityControllerUpdateData;
5702
6522
  res: {
5703
- 200: unknown;
6523
+ /**
6524
+ * Commodity updated successfully
6525
+ */
6526
+ 200: CommodityResponseDto;
6527
+ /**
6528
+ * Invalid input data
6529
+ */
6530
+ 400: ApiProblemResponseDto;
6531
+ /**
6532
+ * Commodity not found
6533
+ */
6534
+ 404: ApiProblemResponseDto;
5704
6535
  };
5705
6536
  };
5706
6537
  delete: {
5707
- req: CommodityController2Data;
6538
+ req: CommodityControllerDeleteData;
5708
6539
  res: {
6540
+ /**
6541
+ * Commodity deleted successfully
6542
+ */
5709
6543
  204: void;
6544
+ /**
6545
+ * Commodity not found
6546
+ */
6547
+ 404: ApiProblemResponseDto;
5710
6548
  };
5711
6549
  };
5712
6550
  };
5713
6551
  '/api/v1/{region}/bean/commodities/{symbol}/ensure': {
5714
6552
  post: {
5715
- req: CommodityController3Data;
6553
+ req: CommodityControllerGetOrCreateData;
5716
6554
  res: {
5717
- 201: unknown;
6555
+ /**
6556
+ * Commodity retrieved or created
6557
+ */
6558
+ 200: CommodityResponseDto;
5718
6559
  };
5719
6560
  };
5720
6561
  };
5721
6562
  '/api/v1/{region}/bean/commodities/bulk': {
5722
6563
  post: {
5723
- req: CommodityController4Data;
6564
+ req: CommodityControllerBulkCreateData;
5724
6565
  res: {
5725
- 201: unknown;
6566
+ /**
6567
+ * Commodities created successfully
6568
+ */
6569
+ 201: Array<CommodityResponseDto>;
5726
6570
  };
5727
6571
  };
5728
6572
  };
5729
6573
  '/api/v1/{region}/bean/recurring-rules': {
5730
6574
  post: {
5731
- req: RecurringRuleControllerData;
6575
+ req: RecurringRuleControllerCreateData;
5732
6576
  res: {
5733
- 201: unknown;
6577
+ /**
6578
+ * Rule created successfully
6579
+ */
6580
+ 201: RecurringRuleResponseDto;
6581
+ /**
6582
+ * Invalid input data (e.g., autoCreate without accounts)
6583
+ */
6584
+ 400: unknown;
6585
+ /**
6586
+ * Rule with same name already exists
6587
+ */
6588
+ 409: unknown;
5734
6589
  };
5735
6590
  };
5736
6591
  get: {
@@ -5745,9 +6600,20 @@ export type $OpenApiTs = {
5745
6600
  };
5746
6601
  '/api/v1/{region}/bean/recurring-rules/from-transaction/{transactionId}': {
5747
6602
  post: {
5748
- req: RecurringRuleController1Data;
6603
+ req: RecurringRuleControllerCreateFromTransactionData;
5749
6604
  res: {
5750
- 201: unknown;
6605
+ /**
6606
+ * Rule created successfully
6607
+ */
6608
+ 201: RecurringRuleResponseDto;
6609
+ /**
6610
+ * Transaction not found
6611
+ */
6612
+ 404: ApiProblemResponseDto;
6613
+ /**
6614
+ * Rule with same name already exists or transaction already linked
6615
+ */
6616
+ 409: ApiProblemResponseDto;
5751
6617
  };
5752
6618
  };
5753
6619
  };
@@ -5766,15 +6632,33 @@ export type $OpenApiTs = {
5766
6632
  };
5767
6633
  };
5768
6634
  patch: {
5769
- req: RecurringRuleController2Data;
6635
+ req: RecurringRuleControllerUpdateData;
5770
6636
  res: {
5771
- 200: unknown;
6637
+ /**
6638
+ * Rule updated successfully
6639
+ */
6640
+ 200: RecurringRuleResponseDto;
6641
+ /**
6642
+ * Invalid input data
6643
+ */
6644
+ 400: unknown;
6645
+ /**
6646
+ * Rule not found
6647
+ */
6648
+ 404: unknown;
5772
6649
  };
5773
6650
  };
5774
6651
  delete: {
5775
- req: RecurringRuleController3Data;
6652
+ req: RecurringRuleControllerDeleteData;
5776
6653
  res: {
6654
+ /**
6655
+ * Rule deleted successfully
6656
+ */
5777
6657
  204: void;
6658
+ /**
6659
+ * Rule not found
6660
+ */
6661
+ 404: unknown;
5778
6662
  };
5779
6663
  };
5780
6664
  };
@@ -5832,37 +6716,96 @@ export type $OpenApiTs = {
5832
6716
  };
5833
6717
  '/api/v1/{region}/bean/expected-transactions/{id}/skip': {
5834
6718
  post: {
5835
- req: ExpectedTransactionControllerData;
6719
+ req: ExpectedTransactionControllerSkipData;
5836
6720
  res: {
5837
- 200: unknown;
6721
+ /**
6722
+ * Expected transaction skipped successfully
6723
+ */
6724
+ 200: ExpectedTransactionResponseDto;
6725
+ /**
6726
+ * Cannot skip - not in PENDING status
6727
+ */
6728
+ 400: unknown;
6729
+ /**
6730
+ * Expected transaction not found
6731
+ */
6732
+ 404: unknown;
5838
6733
  };
5839
6734
  };
5840
6735
  delete: {
5841
- req: ExpectedTransactionController1Data;
6736
+ req: ExpectedTransactionControllerUndoSkipData;
5842
6737
  res: {
5843
- 200: unknown;
6738
+ /**
6739
+ * Skip undone successfully
6740
+ */
6741
+ 200: ExpectedTransactionResponseDto;
6742
+ /**
6743
+ * Cannot undo - not in SKIPPED status
6744
+ */
6745
+ 400: unknown;
6746
+ /**
6747
+ * Expected transaction not found
6748
+ */
6749
+ 404: unknown;
5844
6750
  };
5845
6751
  };
5846
6752
  };
5847
6753
  '/api/v1/{region}/bean/expected-transactions/{id}/match': {
5848
6754
  post: {
5849
- req: ExpectedTransactionController2Data;
6755
+ req: ExpectedTransactionControllerConfirmMatchData;
5850
6756
  res: {
6757
+ /**
6758
+ * Match confirmed successfully
6759
+ */
5851
6760
  200: unknown;
6761
+ /**
6762
+ * Cannot match - not in PENDING status
6763
+ */
6764
+ 400: unknown;
6765
+ /**
6766
+ * Expected or actual transaction not found
6767
+ */
6768
+ 404: unknown;
6769
+ /**
6770
+ * Actual transaction already matched to another rule
6771
+ */
6772
+ 409: unknown;
5852
6773
  };
5853
6774
  };
5854
6775
  delete: {
5855
- req: ExpectedTransactionController3Data;
6776
+ req: ExpectedTransactionControllerUnmatchData;
5856
6777
  res: {
6778
+ /**
6779
+ * Match removed successfully
6780
+ */
5857
6781
  200: unknown;
6782
+ /**
6783
+ * Cannot unmatch - not in COMPLETED status
6784
+ */
6785
+ 400: unknown;
6786
+ /**
6787
+ * Expected transaction not found
6788
+ */
6789
+ 404: unknown;
5858
6790
  };
5859
6791
  };
5860
6792
  };
5861
6793
  '/api/v1/{region}/bean/expected-transactions/{id}/enter': {
5862
6794
  post: {
5863
- req: ExpectedTransactionController4Data;
6795
+ req: ExpectedTransactionControllerEnterNowData;
5864
6796
  res: {
6797
+ /**
6798
+ * Transaction created successfully
6799
+ */
5865
6800
  201: unknown;
6801
+ /**
6802
+ * Cannot enter - not in PENDING status or missing accounts
6803
+ */
6804
+ 400: unknown;
6805
+ /**
6806
+ * Expected transaction or accounts not found
6807
+ */
6808
+ 404: unknown;
5866
6809
  };
5867
6810
  };
5868
6811
  };
@@ -5879,9 +6822,24 @@ export type $OpenApiTs = {
5879
6822
  };
5880
6823
  '/api/v1/{region}/bean/transaction-rules': {
5881
6824
  post: {
5882
- req: TransactionRuleControllerData;
6825
+ req: TransactionRuleControllerCreateData;
5883
6826
  res: {
5884
- 201: unknown;
6827
+ /**
6828
+ * Rule updated successfully (upsert mode)
6829
+ */
6830
+ 200: TransactionRuleResponseDto;
6831
+ /**
6832
+ * Validation failed
6833
+ */
6834
+ 400: ApiProblemResponseDto;
6835
+ /**
6836
+ * Unauthorized
6837
+ */
6838
+ 401: ApiProblemResponseDto;
6839
+ /**
6840
+ * Resource conflict - another process is updating this rule
6841
+ */
6842
+ 409: ApiProblemResponseDto;
5885
6843
  };
5886
6844
  };
5887
6845
  get: {
@@ -5906,6 +6864,10 @@ export type $OpenApiTs = {
5906
6864
  * Validation result
5907
6865
  */
5908
6866
  200: ValidateRuleResponseDto;
6867
+ /**
6868
+ * Validation failed
6869
+ */
6870
+ 400: ApiProblemResponseDto;
5909
6871
  /**
5910
6872
  * Unauthorized
5911
6873
  */
@@ -5915,9 +6877,20 @@ export type $OpenApiTs = {
5915
6877
  };
5916
6878
  '/api/v1/{region}/bean/transaction-rules/bulk': {
5917
6879
  post: {
5918
- req: TransactionRuleController1Data;
6880
+ req: TransactionRuleControllerBulkCreateData;
5919
6881
  res: {
5920
- 201: unknown;
6882
+ /**
6883
+ * Bulk create completed
6884
+ */
6885
+ 201: BulkCreateRulesResponseDto;
6886
+ /**
6887
+ * Invalid bulk create data
6888
+ */
6889
+ 400: ApiProblemResponseDto;
6890
+ /**
6891
+ * Unauthorized
6892
+ */
6893
+ 401: ApiProblemResponseDto;
5921
6894
  };
5922
6895
  };
5923
6896
  };
@@ -5978,15 +6951,57 @@ export type $OpenApiTs = {
5978
6951
  };
5979
6952
  };
5980
6953
  put: {
5981
- req: TransactionRuleController2Data;
6954
+ req: TransactionRuleControllerUpdateData;
5982
6955
  res: {
5983
- 200: unknown;
6956
+ /**
6957
+ * Rule updated successfully
6958
+ */
6959
+ 200: TransactionRuleResponseDto;
6960
+ /**
6961
+ * Validation failed
6962
+ */
6963
+ 400: ApiProblemResponseDto;
6964
+ /**
6965
+ * Unauthorized
6966
+ */
6967
+ 401: ApiProblemResponseDto;
6968
+ /**
6969
+ * Forbidden - not owner of rule
6970
+ */
6971
+ 403: ApiProblemResponseDto;
6972
+ /**
6973
+ * Rule not found
6974
+ */
6975
+ 404: ApiProblemResponseDto;
6976
+ /**
6977
+ * Resource conflict - rule is being modified by another process
6978
+ */
6979
+ 409: ApiProblemResponseDto;
5984
6980
  };
5985
6981
  };
5986
6982
  delete: {
5987
- req: TransactionRuleController3Data;
6983
+ req: TransactionRuleControllerDeleteData;
5988
6984
  res: {
6985
+ /**
6986
+ * Rule deleted successfully
6987
+ */
5989
6988
  204: void;
6989
+ /**
6990
+ * Unauthorized
6991
+ */
6992
+ 401: ApiProblemResponseDto;
6993
+ /**
6994
+ * Forbidden - not owner of rule
6995
+ */
6996
+ 403: ApiProblemResponseDto;
6997
+ /**
6998
+ * Rule not found
6999
+ */
7000
+ 404: ApiProblemResponseDto;
7001
+ /**
7002
+ * Resource conflict - rule is being modified by another process
7003
+ */
7004
+ 409: ApiProblemResponseDto;
5990
7005
  };
5991
7006
  };
5992
7007
  };
@@ -6112,7 +7127,6 @@ export type $OpenApiTs = {
6112
7127
  };
6113
7128
  '/api/v1/users/asset-liability-summary': {
6114
7129
  get: {
6115
- req: UserControllerGetAssetLiabilitySummaryData;
6116
7130
  res: {
6117
7131
  /**
6118
7132
  * Summary retrieved successfully
@@ -6123,7 +7137,6 @@ export type $OpenApiTs = {
6123
7137
  };
6124
7138
  '/api/v1/admin/properties': {
6125
7139
  get: {
6126
- req: PropertyControllerGetAllData;
6127
7140
  res: {
6128
7141
  /**
6129
7142
  * Properties retrieved successfully
@@ -6163,15 +7176,48 @@ export type $OpenApiTs = {
6163
7176
  };
6164
7177
  };
6165
7178
  put: {
6166
- req: PropertyControllerData;
7179
+ req: PropertyControllerUpdateData;
6167
7180
  res: {
7181
+ /**
7182
+ * Property updated successfully
7183
+ */
6168
7184
  200: unknown;
7185
+ /**
7186
+ * Unauthorized
7187
+ */
7188
+ 401: unknown;
7189
+ /**
7190
+ * Forbidden - insufficient permissions
7191
+ */
7192
+ 403: unknown;
6169
7193
  };
6170
7194
  };
6171
7195
  delete: {
6172
- req: PropertyController1Data;
7196
+ req: PropertyControllerDeleteData;
6173
7197
  res: {
7198
+ /**
7199
+ * Property deleted successfully
7200
+ */
6174
7201
  204: void;
7202
+ /**
7203
+ * Unauthorized
7204
+ */
7205
+ 401: unknown;
7206
+ /**
7207
+ * Forbidden - insufficient permissions
7208
+ */
7209
+ 403: unknown;
7210
+ /**
7211
+ * Property not found
7212
+ */
7213
+ 404: unknown;
7214
+ };
7215
+ };
7216
+ };
7217
+ '/api/v1/{region}/bean/export/beancount': {
7218
+ get: {
7219
+ res: {
7220
+ 200: unknown;
6175
7221
  };
6176
7222
  };
6177
7223
  };
@@ -6244,36 +7290,149 @@ export type $OpenApiTs = {
6244
7290
  };
6245
7291
  };
6246
7292
  };
6247
- '/api/v1/{region}/bean/import/config/{importerId}': {
7293
+ '/api/v1/{region}/bean/import/beancount': {
7294
+ post: {
7295
+ req: FileImportControllerImportBeancountData;
7296
+ res: {
7297
+ /**
7298
+ * Beancount file imported successfully
7299
+ */
7300
+ 200: {
7301
+ imported?: number;
7302
+ skipped?: number;
7303
+ failed?: number;
7304
+ accountsCreated?: number;
7305
+ errors?: Array<{
7306
+ [key: string]: unknown;
7307
+ }>;
7308
+ };
7309
+ /**
7310
+ * Bad request - invalid file or no file uploaded
7311
+ */
7312
+ 400: ApiProblemResponseDto;
7313
+ };
7314
+ };
7315
+ };
7316
+ '/api/v1/{region}/bean/import/config/{importerId}': {
7317
+ get: {
7318
+ req: ImporterConfigControllerGetConfigData;
7319
+ res: {
7320
+ /**
7321
+ * Configuration retrieved successfully
7322
+ */
7323
+ 200: ImporterConfigDto;
7324
+ /**
7325
+ * Invalid input - Unsupported importer
7326
+ */
7327
+ 400: ApiProblemResponseDto;
7328
+ /**
7329
+ * Unauthorized - Authentication required
7330
+ */
7331
+ 401: ApiProblemResponseDto;
7332
+ };
7333
+ };
7334
+ put: {
7335
+ req: ImporterConfigControllerUpdateConfigData;
7336
+ res: {
7337
+ /**
7338
+ * Configuration updated successfully
7339
+ */
7340
+ 200: ImporterConfigDto;
7341
+ /**
7342
+ * Invalid input - Validation failed
7343
+ */
7344
+ 400: ApiProblemResponseDto;
7345
+ /**
7346
+ * Configuration not found
7347
+ */
7348
+ 404: ApiProblemResponseDto;
7349
+ };
7350
+ };
7351
+ };
7352
+ '/api/v1/{region}/bean/import/config/{importerId}/reset': {
7353
+ post: {
7354
+ req: ImporterConfigControllerResetConfigData;
7355
+ res: {
7356
+ /**
7357
+ * Configuration reset successfully
7358
+ */
7359
+ 200: ImporterConfigDto;
7360
+ /**
7361
+ * Invalid input - Unsupported importer
7362
+ */
7363
+ 400: ApiProblemResponseDto;
7364
+ };
7365
+ };
7366
+ };
7367
+ '/api/v1/bean/platforms': {
7368
+ get: {
7369
+ res: {
7370
+ /**
7371
+ * List of platforms with binding and account counts
7372
+ */
7373
+ 200: unknown;
7374
+ };
7375
+ };
7376
+ post: {
7377
+ req: PlatformControllerCreateData;
7378
+ res: {
7379
+ /**
7380
+ * Platform created successfully
7381
+ */
7382
+ 201: unknown;
7383
+ /**
7384
+ * Platform already exists
7385
+ */
7386
+ 409: unknown;
7387
+ };
7388
+ };
7389
+ };
7390
+ '/api/v1/bean/platforms/list': {
6248
7391
  get: {
6249
- req: ImporterConfigControllerGetConfigData;
6250
7392
  res: {
6251
7393
  /**
6252
- * Configuration retrieved successfully
6253
- */
6254
- 200: ImporterConfigDto;
6255
- /**
6256
- * Invalid input - Unsupported importer
7394
+ * List of platforms with user binding status
6257
7395
  */
6258
- 400: ApiProblemResponseDto;
7396
+ 200: unknown;
7397
+ };
7398
+ };
7399
+ };
7400
+ '/api/v1/bean/platforms/match': {
7401
+ get: {
7402
+ req: PlatformControllerMatchPlatformsData;
7403
+ res: {
6259
7404
  /**
6260
- * Unauthorized - Authentication required
7405
+ * List of matching platforms with suggested segment names
6261
7406
  */
6262
- 401: ApiProblemResponseDto;
7407
+ 200: unknown;
6263
7408
  };
6264
7409
  };
7410
+ };
7411
+ '/api/v1/bean/platforms/{id}': {
6265
7412
  put: {
6266
- req: ImporterConfigControllerData;
7413
+ req: PlatformControllerUpdateData;
6267
7414
  res: {
7415
+ /**
7416
+ * Platform updated successfully
7417
+ */
6268
7418
  200: unknown;
7419
+ /**
7420
+ * Platform not found
7421
+ */
7422
+ 404: unknown;
6269
7423
  };
6270
7424
  };
6271
- };
6272
- '/api/v1/{region}/bean/import/config/{importerId}/reset': {
6273
- post: {
6274
- req: ImporterConfigController1Data;
7425
+ delete: {
7426
+ req: PlatformControllerDeleteData;
6275
7427
  res: {
6276
- 201: unknown;
7428
+ /**
7429
+ * Platform deleted successfully
7430
+ */
7431
+ 204: void;
7432
+ /**
7433
+ * Platform not found
7434
+ */
7435
+ 404: unknown;
6277
7436
  };
6278
7437
  };
6279
7438
  };
@@ -6392,117 +7551,6 @@ export type $OpenApiTs = {
6392
7551
  };
6393
7552
  };
6394
7553
  };
6395
- '/api/v1/bean/platforms': {
6396
- get: {
6397
- req: PlatformControllerFindAllData;
6398
- res: {
6399
- /**
6400
- * List of platforms with binding and account counts
6401
- */
6402
- 200: unknown;
6403
- };
6404
- };
6405
- post: {
6406
- req: PlatformControllerData;
6407
- res: {
6408
- 201: unknown;
6409
- };
6410
- };
6411
- };
6412
- '/api/v1/bean/platforms/list': {
6413
- get: {
6414
- req: PlatformControllerGetPlatformListData;
6415
- res: {
6416
- /**
6417
- * List of platforms with user binding status
6418
- */
6419
- 200: unknown;
6420
- };
6421
- };
6422
- };
6423
- '/api/v1/bean/platforms/{id}': {
6424
- put: {
6425
- req: PlatformController1Data;
6426
- res: {
6427
- 200: unknown;
6428
- };
6429
- };
6430
- delete: {
6431
- req: PlatformController2Data;
6432
- res: {
6433
- 204: void;
6434
- };
6435
- };
6436
- };
6437
- '/api/v1/market/symbols/lookup': {
6438
- get: {
6439
- req: SymbolControllerLookupSymbolData;
6440
- res: {
6441
- /**
6442
- * Symbols found successfully
6443
- */
6444
- 200: unknown;
6445
- /**
6446
- * Invalid query parameters
6447
- */
6448
- 400: unknown;
6449
- };
6450
- };
6451
- };
6452
- '/api/v1/market/symbols/{dataSource}/{symbol}': {
6453
- get: {
6454
- req: SymbolControllerGetSymbolDataData;
6455
- res: {
6456
- /**
6457
- * Symbol data retrieved successfully
6458
- */
6459
- 200: unknown;
6460
- /**
6461
- * Invalid data source
6462
- */
6463
- 400: unknown;
6464
- /**
6465
- * Symbol not found
6466
- */
6467
- 404: unknown;
6468
- };
6469
- };
6470
- };
6471
- '/api/v1/market/symbols/{dataSource}/{symbol}/{dateString}': {
6472
- get: {
6473
- req: SymbolControllerGatherSymbolForDateData;
6474
- res: {
6475
- /**
6476
- * Historical data retrieved successfully
6477
- */
6478
- 200: unknown;
6479
- /**
6480
- * Invalid date format
6481
- */
6482
- 400: unknown;
6483
- /**
6484
- * Symbol data not found for specified date
6485
- */
6486
- 404: unknown;
6487
- };
6488
- };
6489
- };
6490
- '/api/v1/market/symbols/yahoo/batch-update': {
6491
- put: {
6492
- req: SymbolControllerData;
6493
- res: {
6494
- 200: unknown;
6495
- };
6496
- };
6497
- };
6498
- '/api/v1/cache/flush': {
6499
- post: {
6500
- req: CacheControllerFlushCacheData;
6501
- res: {
6502
- 201: unknown;
6503
- };
6504
- };
6505
- };
6506
7554
  '/api/v1/{region}/dashboard/net-worth': {
6507
7555
  get: {
6508
7556
  req: DashboardControllerGetNetWorthData;
@@ -6611,9 +7659,15 @@ export type $OpenApiTs = {
6611
7659
  };
6612
7660
  '/api/v1/auth/api-keys': {
6613
7661
  post: {
6614
- req: ApiKeysControllerData;
6615
7662
  res: {
7663
+ /**
7664
+ * API key created successfully
7665
+ */
6616
7666
  201: unknown;
7667
+ /**
7668
+ * Insufficient permissions to create API key
7669
+ */
7670
+ 403: unknown;
6617
7671
  };
6618
7672
  };
6619
7673
  };
@@ -6632,6 +7686,13 @@ export type $OpenApiTs = {
6632
7686
  };
6633
7687
  };
6634
7688
  };
7689
+ '/api/v1/cache/flush': {
7690
+ post: {
7691
+ res: {
7692
+ 201: unknown;
7693
+ };
7694
+ };
7695
+ };
6635
7696
  '/api/v1/market/exchange-rates/{symbol}/{dateString}': {
6636
7697
  get: {
6637
7698
  req: ExchangeRateControllerGetExchangeRateData;
@@ -6649,7 +7710,6 @@ export type $OpenApiTs = {
6649
7710
  };
6650
7711
  '/api/v1/health': {
6651
7712
  get: {
6652
- req: HealthControllerGetHealthData;
6653
7713
  res: {
6654
7714
  /**
6655
7715
  * Service is healthy
@@ -6664,7 +7724,6 @@ export type $OpenApiTs = {
6664
7724
  };
6665
7725
  '/api/v1/health/database': {
6666
7726
  get: {
6667
- req: HealthControllerCheckDatabaseData;
6668
7727
  res: {
6669
7728
  /**
6670
7729
  * Database is healthy
@@ -6677,9 +7736,22 @@ export type $OpenApiTs = {
6677
7736
  };
6678
7737
  };
6679
7738
  };
7739
+ '/api/v1/health/openbb': {
7740
+ get: {
7741
+ res: {
7742
+ /**
7743
+ * OpenBB status
7744
+ */
7745
+ 200: unknown;
7746
+ /**
7747
+ * OpenBB unavailable
7748
+ */
7749
+ 503: unknown;
7750
+ };
7751
+ };
7752
+ };
6680
7753
  '/api/v1/health/redis': {
6681
7754
  get: {
6682
- req: HealthControllerCheckRedisData;
6683
7755
  res: {
6684
7756
  /**
6685
7757
  * Redis is healthy
@@ -6694,7 +7766,6 @@ export type $OpenApiTs = {
6694
7766
  };
6695
7767
  '/api/v1/health/circuit-breakers': {
6696
7768
  get: {
6697
- req: HealthControllerGetCircuitBreakersHealthData;
6698
7769
  res: {
6699
7770
  /**
6700
7771
  * Circuit breaker status
@@ -6732,7 +7803,6 @@ export type $OpenApiTs = {
6732
7803
  };
6733
7804
  '/api/v1/health/metrics': {
6734
7805
  get: {
6735
- req: HealthControllerGetMetricsData;
6736
7806
  res: {
6737
7807
  /**
6738
7808
  * Health metrics
@@ -6745,70 +7815,8 @@ export type $OpenApiTs = {
6745
7815
  };
6746
7816
  };
6747
7817
  };
6748
- '/api/v1/health/data-enhancer/{name}': {
6749
- get: {
6750
- req: HealthControllerGetHealthOfDataEnhancerData;
6751
- res: {
6752
- /**
6753
- * Data enhancer is healthy
6754
- */
6755
- 200: unknown;
6756
- /**
6757
- * Unauthorized
6758
- */
6759
- 401: unknown;
6760
- /**
6761
- * Data enhancer unavailable
6762
- */
6763
- 503: unknown;
6764
- };
6765
- };
6766
- };
6767
- '/api/v1/health/data-providers': {
6768
- get: {
6769
- req: HealthControllerCheckDataProvidersData;
6770
- res: {
6771
- /**
6772
- * Data providers health status
6773
- */
6774
- 200: unknown;
6775
- /**
6776
- * Unauthorized
6777
- */
6778
- 401: unknown;
6779
- /**
6780
- * Data providers check failed
6781
- */
6782
- 503: unknown;
6783
- };
6784
- };
6785
- };
6786
- '/api/v1/health/data-provider/{dataSource}': {
6787
- get: {
6788
- req: HealthControllerGetHealthOfDataProviderData;
6789
- res: {
6790
- /**
6791
- * Data provider is healthy
6792
- */
6793
- 200: unknown;
6794
- /**
6795
- * Invalid data source
6796
- */
6797
- 400: unknown;
6798
- /**
6799
- * Unauthorized
6800
- */
6801
- 401: unknown;
6802
- /**
6803
- * Data provider unavailable
6804
- */
6805
- 503: unknown;
6806
- };
6807
- };
6808
- };
6809
7818
  '/api/v1/system/info': {
6810
7819
  get: {
6811
- req: InfoControllerGetInfoData;
6812
7820
  res: {
6813
7821
  /**
6814
7822
  * System information retrieved successfully
@@ -6817,71 +7825,4 @@ export type $OpenApiTs = {
6817
7825
  };
6818
7826
  };
6819
7827
  };
6820
- '/api/v1/market/logos/{dataSource}/{symbol}': {
6821
- get: {
6822
- req: LogoControllerGetLogoByDataSourceAndSymbolData;
6823
- res: {
6824
- /**
6825
- * Logo image stream (favicon)
6826
- */
6827
- 200: unknown;
6828
- /**
6829
- * Unauthorized
6830
- */
6831
- 401: unknown;
6832
- /**
6833
- * Logo not found for the specified asset
6834
- */
6835
- 404: unknown;
6836
- /**
6837
- * Service unavailable
6838
- */
6839
- 503: unknown;
6840
- };
6841
- };
6842
- };
6843
- '/api/v1/market/logos': {
6844
- get: {
6845
- req: LogoControllerGetLogoByUrlData;
6846
- res: {
6847
- /**
6848
- * Logo image stream (favicon)
6849
- */
6850
- 200: unknown;
6851
- /**
6852
- * Unauthorized
6853
- */
6854
- 401: unknown;
6855
- /**
6856
- * Service unavailable
6857
- */
6858
- 503: unknown;
6859
- };
6860
- };
6861
- };
6862
- '/api/v1/market-data/{dataSource}/{symbol}': {
6863
- get: {
6864
- req: MarketDataControllerGetMarketDataBySymbolData;
6865
- res: {
6866
- /**
6867
- * Market data retrieved successfully
6868
- */
6869
- 200: unknown;
6870
- /**
6871
- * Insufficient permissions to read market data
6872
- */
6873
- 403: unknown;
6874
- /**
6875
- * Market data not found
6876
- */
6877
- 404: unknown;
6878
- };
6879
- };
6880
- post: {
6881
- req: MarketDataControllerData;
6882
- res: {
6883
- 201: unknown;
6884
- };
6885
- };
6886
- };
6887
7828
  };