@firela/api-types 0.0.0-canary.e1146c01 → 0.0.0-canary.ebb51de2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +739 -766
- package/dist/index.d.ts +739 -766
- package/dist/index.js +17 -72
- package/dist/index.mjs +17 -72
- package/package.json +1 -1
- package/src/generated/schemas.gen.ts +866 -993
- package/src/generated/services.gen.ts +291 -91
- package/src/generated/types.gen.ts +860 -839
package/dist/index.d.mts
CHANGED
|
@@ -293,6 +293,50 @@ type RegionInfoDto = {
|
|
|
293
293
|
type RegionsMetadataResponseDto = {
|
|
294
294
|
regions: Array<RegionInfoDto>;
|
|
295
295
|
};
|
|
296
|
+
type CostSpecDto = {
|
|
297
|
+
/**
|
|
298
|
+
* Cost specification mode (mirrors engine CostSpec)
|
|
299
|
+
*/
|
|
300
|
+
mode: 'per-unit' | 'total' | 'date' | 'label' | 'auto';
|
|
301
|
+
/**
|
|
302
|
+
* Per-unit cost (required when mode is "per-unit")
|
|
303
|
+
*/
|
|
304
|
+
numberPerUnit?: string;
|
|
305
|
+
/**
|
|
306
|
+
* Total cost for all units (required when mode is "total")
|
|
307
|
+
*/
|
|
308
|
+
totalNumber?: string;
|
|
309
|
+
/**
|
|
310
|
+
* Cost currency (required in all modes)
|
|
311
|
+
*/
|
|
312
|
+
currency: string;
|
|
313
|
+
/**
|
|
314
|
+
* Lot acquisition date, ISO 8601 (required when mode is "date")
|
|
315
|
+
*/
|
|
316
|
+
date?: string;
|
|
317
|
+
/**
|
|
318
|
+
* Lot label (required when mode is "label"; optional tag in buy modes)
|
|
319
|
+
*/
|
|
320
|
+
label?: string;
|
|
321
|
+
/**
|
|
322
|
+
* Merge lots for AVERAGE booking (mode: auto)
|
|
323
|
+
*/
|
|
324
|
+
merge?: boolean;
|
|
325
|
+
};
|
|
326
|
+
/**
|
|
327
|
+
* Cost specification mode (mirrors engine CostSpec)
|
|
328
|
+
*/
|
|
329
|
+
type mode = 'per-unit' | 'total' | 'date' | 'label' | 'auto';
|
|
330
|
+
type AmountDto = {
|
|
331
|
+
/**
|
|
332
|
+
* Amount as decimal string (max 15 integer + 15 decimal digits)
|
|
333
|
+
*/
|
|
334
|
+
number: string;
|
|
335
|
+
/**
|
|
336
|
+
* Currency/commodity code
|
|
337
|
+
*/
|
|
338
|
+
currency: string;
|
|
339
|
+
};
|
|
296
340
|
type CreatePostingDto = {
|
|
297
341
|
/**
|
|
298
342
|
* Account name in Beancount format (must start with uppercase, colon-separated)
|
|
@@ -312,6 +356,14 @@ type CreatePostingDto = {
|
|
|
312
356
|
meta?: {
|
|
313
357
|
[key: string]: unknown;
|
|
314
358
|
};
|
|
359
|
+
/**
|
|
360
|
+
* Cost basis (Beancount `{...}`). Maps to engine costSpec. Required for commodity holdings so they carry a monetary weight that can balance.
|
|
361
|
+
*/
|
|
362
|
+
cost?: CostSpecDto;
|
|
363
|
+
/**
|
|
364
|
+
* Price annotation (Beancount `@...`). Maps to engine price. Used for valuation; cost takes priority for balance weight.
|
|
365
|
+
*/
|
|
366
|
+
price?: AmountDto;
|
|
315
367
|
};
|
|
316
368
|
type CreateTransactionDto = {
|
|
317
369
|
/**
|
|
@@ -361,6 +413,24 @@ type CreateTransactionDto = {
|
|
|
361
413
|
* Transaction flag: * (cleared), ! (pending)
|
|
362
414
|
*/
|
|
363
415
|
type flag = '*' | '!';
|
|
416
|
+
type CostDetailDto = {
|
|
417
|
+
/**
|
|
418
|
+
* Per-unit cost basis (mirrors engine Cost.number)
|
|
419
|
+
*/
|
|
420
|
+
number?: string;
|
|
421
|
+
/**
|
|
422
|
+
* Cost currency
|
|
423
|
+
*/
|
|
424
|
+
currency?: string;
|
|
425
|
+
/**
|
|
426
|
+
* Lot acquisition date (ISO yyyy-mm-dd)
|
|
427
|
+
*/
|
|
428
|
+
date?: string;
|
|
429
|
+
/**
|
|
430
|
+
* Lot label
|
|
431
|
+
*/
|
|
432
|
+
label?: string;
|
|
433
|
+
};
|
|
364
434
|
type PostingResponseDto = {
|
|
365
435
|
/**
|
|
366
436
|
* Account name
|
|
@@ -374,6 +444,10 @@ type PostingResponseDto = {
|
|
|
374
444
|
* Currency
|
|
375
445
|
*/
|
|
376
446
|
currency?: string;
|
|
447
|
+
/**
|
|
448
|
+
* Booking-resolved cost (mirrors engine Cost). Undefined when the posting has no cost basis.
|
|
449
|
+
*/
|
|
450
|
+
cost?: CostDetailDto;
|
|
377
451
|
};
|
|
378
452
|
type RecurringSuggestionDto = {
|
|
379
453
|
/**
|
|
@@ -571,9 +645,9 @@ type PostingDetailDto = {
|
|
|
571
645
|
*/
|
|
572
646
|
accountId: string;
|
|
573
647
|
/**
|
|
574
|
-
*
|
|
648
|
+
* Fully-qualified Beancount account path
|
|
575
649
|
*/
|
|
576
|
-
|
|
650
|
+
account: string;
|
|
577
651
|
/**
|
|
578
652
|
* Amount as decimal string. Typed optional but always present in responses: interpolation fills any MISSING posting before it is persisted or returned.
|
|
579
653
|
*/
|
|
@@ -594,6 +668,10 @@ type PostingDetailDto = {
|
|
|
594
668
|
* Cost date
|
|
595
669
|
*/
|
|
596
670
|
costDate?: string;
|
|
671
|
+
/**
|
|
672
|
+
* Booking-resolved cost (mirrors engine Cost). Undefined when the posting has no cost basis.
|
|
673
|
+
*/
|
|
674
|
+
cost?: CostDetailDto;
|
|
597
675
|
/**
|
|
598
676
|
* Price amount
|
|
599
677
|
*/
|
|
@@ -2959,32 +3037,6 @@ type ProviderSyncDto = {
|
|
|
2959
3037
|
*/
|
|
2960
3038
|
transactions: unknown[];
|
|
2961
3039
|
};
|
|
2962
|
-
type ProviderSyncResponseDto = {
|
|
2963
|
-
/**
|
|
2964
|
-
* Number of transactions successfully imported
|
|
2965
|
-
*/
|
|
2966
|
-
imported: number;
|
|
2967
|
-
/**
|
|
2968
|
-
* Number of transactions skipped (duplicates)
|
|
2969
|
-
*/
|
|
2970
|
-
skipped: number;
|
|
2971
|
-
/**
|
|
2972
|
-
* Number of transactions pending review
|
|
2973
|
-
*/
|
|
2974
|
-
pendingReview: number;
|
|
2975
|
-
/**
|
|
2976
|
-
* Number of transactions that failed to import
|
|
2977
|
-
*/
|
|
2978
|
-
failed: number;
|
|
2979
|
-
/**
|
|
2980
|
-
* IDs of successfully imported transactions
|
|
2981
|
-
*/
|
|
2982
|
-
importedTransactionIds?: Array<string>;
|
|
2983
|
-
/**
|
|
2984
|
-
* IDs of review items created for branched transactions
|
|
2985
|
-
*/
|
|
2986
|
-
reviewItemIds?: Array<string>;
|
|
2987
|
-
};
|
|
2988
3040
|
type SupportedProvidersResponseDto = {
|
|
2989
3041
|
/**
|
|
2990
3042
|
* List of supported provider names
|
|
@@ -2992,6 +3044,7 @@ type SupportedProvidersResponseDto = {
|
|
|
2992
3044
|
providers: Array<string>;
|
|
2993
3045
|
};
|
|
2994
3046
|
type ParserTelemetryReportDto = unknown;
|
|
3047
|
+
type UncoveredFormatMissDto = unknown;
|
|
2995
3048
|
type ProcessNlpDto = {
|
|
2996
3049
|
/**
|
|
2997
3050
|
* Natural language text describing a transaction (Chinese)
|
|
@@ -3008,564 +3061,373 @@ type ProcessNlpDto = {
|
|
|
3008
3061
|
[key: string]: unknown;
|
|
3009
3062
|
};
|
|
3010
3063
|
};
|
|
3011
|
-
type
|
|
3064
|
+
type BalanceByCurrencyDto = {
|
|
3012
3065
|
/**
|
|
3013
|
-
*
|
|
3066
|
+
* ISO 4217 currency code
|
|
3014
3067
|
*/
|
|
3015
|
-
|
|
3068
|
+
currency: string;
|
|
3016
3069
|
/**
|
|
3017
|
-
*
|
|
3070
|
+
* Balance amount
|
|
3018
3071
|
*/
|
|
3019
|
-
|
|
3072
|
+
balance: string;
|
|
3073
|
+
};
|
|
3074
|
+
type NetWorthByCurrencyDto = {
|
|
3020
3075
|
/**
|
|
3021
|
-
*
|
|
3076
|
+
* Net worth by currency
|
|
3022
3077
|
*/
|
|
3023
|
-
|
|
3078
|
+
netWorth: Array<BalanceByCurrencyDto>;
|
|
3024
3079
|
/**
|
|
3025
|
-
*
|
|
3080
|
+
* Assets by currency
|
|
3026
3081
|
*/
|
|
3027
|
-
|
|
3082
|
+
assets: Array<BalanceByCurrencyDto>;
|
|
3028
3083
|
/**
|
|
3029
|
-
*
|
|
3084
|
+
* Liabilities by currency
|
|
3030
3085
|
*/
|
|
3031
|
-
|
|
3086
|
+
liabilities: Array<BalanceByCurrencyDto>;
|
|
3087
|
+
};
|
|
3088
|
+
type ConvertedNetWorthDto = {
|
|
3032
3089
|
/**
|
|
3033
|
-
*
|
|
3090
|
+
* Base currency for conversion
|
|
3034
3091
|
*/
|
|
3035
|
-
|
|
3092
|
+
baseCurrency: string;
|
|
3036
3093
|
/**
|
|
3037
|
-
*
|
|
3094
|
+
* Converted net worth
|
|
3038
3095
|
*/
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3096
|
+
netWorth: string;
|
|
3097
|
+
/**
|
|
3098
|
+
* Converted assets
|
|
3099
|
+
*/
|
|
3100
|
+
assets: string;
|
|
3042
3101
|
/**
|
|
3043
|
-
*
|
|
3102
|
+
* Converted liabilities
|
|
3044
3103
|
*/
|
|
3045
|
-
|
|
3104
|
+
liabilities: string;
|
|
3046
3105
|
/**
|
|
3047
|
-
*
|
|
3106
|
+
* Exchange rates used for conversion
|
|
3048
3107
|
*/
|
|
3049
|
-
|
|
3108
|
+
exchangeRates: {
|
|
3109
|
+
[key: string]: unknown;
|
|
3110
|
+
};
|
|
3111
|
+
};
|
|
3112
|
+
type ExchangeRateWarningDto = {
|
|
3050
3113
|
/**
|
|
3051
|
-
*
|
|
3114
|
+
* Warning type
|
|
3052
3115
|
*/
|
|
3053
|
-
|
|
3116
|
+
type: string;
|
|
3054
3117
|
/**
|
|
3055
|
-
*
|
|
3118
|
+
* Currency without exchange rate
|
|
3056
3119
|
*/
|
|
3057
|
-
|
|
3120
|
+
currency: string;
|
|
3058
3121
|
/**
|
|
3059
|
-
*
|
|
3122
|
+
* Total amount affected
|
|
3060
3123
|
*/
|
|
3061
|
-
|
|
3124
|
+
totalAmount: string;
|
|
3125
|
+
};
|
|
3126
|
+
type NetWorthResponseDto = {
|
|
3062
3127
|
/**
|
|
3063
|
-
*
|
|
3128
|
+
* Total net worth (assets - liabilities, converted to base currency)
|
|
3064
3129
|
*/
|
|
3065
|
-
|
|
3130
|
+
netWorth: string;
|
|
3066
3131
|
/**
|
|
3067
|
-
*
|
|
3132
|
+
* Total assets value (converted)
|
|
3068
3133
|
*/
|
|
3069
|
-
|
|
3134
|
+
assets: string;
|
|
3070
3135
|
/**
|
|
3071
|
-
*
|
|
3136
|
+
* Total liabilities value (positive number, converted)
|
|
3072
3137
|
*/
|
|
3073
|
-
|
|
3138
|
+
liabilities: string;
|
|
3074
3139
|
/**
|
|
3075
|
-
*
|
|
3140
|
+
* Monthly return (change from last month)
|
|
3076
3141
|
*/
|
|
3077
|
-
|
|
3142
|
+
monthlyReturn: string;
|
|
3078
3143
|
/**
|
|
3079
|
-
*
|
|
3144
|
+
* Monthly return percentage
|
|
3080
3145
|
*/
|
|
3081
|
-
|
|
3146
|
+
monthlyReturnPercentage: string;
|
|
3082
3147
|
/**
|
|
3083
|
-
*
|
|
3148
|
+
* Base currency code
|
|
3084
3149
|
*/
|
|
3085
|
-
|
|
3150
|
+
currency: string;
|
|
3086
3151
|
/**
|
|
3087
|
-
*
|
|
3152
|
+
* Data as of date (ISO 8601)
|
|
3088
3153
|
*/
|
|
3089
|
-
|
|
3154
|
+
asOf: string;
|
|
3090
3155
|
/**
|
|
3091
|
-
*
|
|
3156
|
+
* Balances grouped by original currency
|
|
3092
3157
|
*/
|
|
3093
|
-
|
|
3158
|
+
byCurrency?: NetWorthByCurrencyDto;
|
|
3094
3159
|
/**
|
|
3095
|
-
*
|
|
3160
|
+
* Converted values in base currency (undefined if no exchange rates available)
|
|
3096
3161
|
*/
|
|
3097
|
-
|
|
3162
|
+
converted?: ConvertedNetWorthDto;
|
|
3098
3163
|
/**
|
|
3099
|
-
*
|
|
3164
|
+
* Exchange rate warnings
|
|
3100
3165
|
*/
|
|
3101
|
-
|
|
3166
|
+
warnings?: Array<ExchangeRateWarningDto>;
|
|
3102
3167
|
};
|
|
3103
|
-
|
|
3104
|
-
* Investment action
|
|
3105
|
-
*/
|
|
3106
|
-
type investmentAction = 'buy' | 'sell';
|
|
3107
|
-
/**
|
|
3108
|
-
* Payment source: asset (default) or liability (credit card)
|
|
3109
|
-
*/
|
|
3110
|
-
type paymentSource = 'asset' | 'liability';
|
|
3111
|
-
type NlpSourceTransactionDto = {
|
|
3168
|
+
type AccountItemDto = {
|
|
3112
3169
|
/**
|
|
3113
|
-
*
|
|
3170
|
+
* Account ID
|
|
3114
3171
|
*/
|
|
3115
|
-
|
|
3172
|
+
id: string;
|
|
3116
3173
|
/**
|
|
3117
|
-
*
|
|
3174
|
+
* Full account name
|
|
3118
3175
|
*/
|
|
3119
|
-
|
|
3176
|
+
name: string;
|
|
3120
3177
|
/**
|
|
3121
|
-
*
|
|
3178
|
+
* Display name (last part of account path)
|
|
3122
3179
|
*/
|
|
3123
|
-
|
|
3180
|
+
displayName: string;
|
|
3124
3181
|
/**
|
|
3125
|
-
*
|
|
3182
|
+
* Account balance
|
|
3126
3183
|
*/
|
|
3127
|
-
|
|
3184
|
+
balance: string;
|
|
3128
3185
|
/**
|
|
3129
|
-
*
|
|
3186
|
+
* Currency code
|
|
3130
3187
|
*/
|
|
3131
|
-
|
|
3188
|
+
currency: string;
|
|
3132
3189
|
};
|
|
3133
|
-
type
|
|
3190
|
+
type PlatformGroupDto = {
|
|
3134
3191
|
/**
|
|
3135
|
-
*
|
|
3192
|
+
* Platform ID
|
|
3136
3193
|
*/
|
|
3137
|
-
|
|
3194
|
+
platformId: string;
|
|
3138
3195
|
/**
|
|
3139
|
-
*
|
|
3196
|
+
* Platform display name
|
|
3140
3197
|
*/
|
|
3141
|
-
|
|
3198
|
+
platformName: string;
|
|
3142
3199
|
/**
|
|
3143
|
-
*
|
|
3200
|
+
* Accounts within this platform
|
|
3144
3201
|
*/
|
|
3145
|
-
|
|
3202
|
+
accounts: Array<AccountItemDto>;
|
|
3146
3203
|
/**
|
|
3147
|
-
*
|
|
3204
|
+
* Total balance across all accounts in platform
|
|
3148
3205
|
*/
|
|
3149
|
-
|
|
3206
|
+
totalBalance: string;
|
|
3207
|
+
};
|
|
3208
|
+
type AccountsSummaryDto = {
|
|
3150
3209
|
/**
|
|
3151
|
-
*
|
|
3210
|
+
* Total number of accounts
|
|
3152
3211
|
*/
|
|
3153
|
-
|
|
3212
|
+
totalAccounts: number;
|
|
3154
3213
|
/**
|
|
3155
|
-
*
|
|
3214
|
+
* Total number of platforms
|
|
3156
3215
|
*/
|
|
3157
|
-
|
|
3216
|
+
totalPlatforms: number;
|
|
3158
3217
|
};
|
|
3159
|
-
type
|
|
3218
|
+
type AccountsResponseDto = {
|
|
3160
3219
|
/**
|
|
3161
|
-
*
|
|
3220
|
+
* Account groups by platform
|
|
3162
3221
|
*/
|
|
3163
|
-
|
|
3222
|
+
groups: Array<PlatformGroupDto>;
|
|
3164
3223
|
/**
|
|
3165
|
-
*
|
|
3224
|
+
* Summary statistics
|
|
3166
3225
|
*/
|
|
3167
|
-
|
|
3226
|
+
summary: AccountsSummaryDto;
|
|
3227
|
+
};
|
|
3228
|
+
type AccountItemWithAssetClassDto = {
|
|
3168
3229
|
/**
|
|
3169
|
-
*
|
|
3230
|
+
* Account ID
|
|
3170
3231
|
*/
|
|
3171
|
-
|
|
3232
|
+
id: string;
|
|
3172
3233
|
/**
|
|
3173
|
-
*
|
|
3234
|
+
* Full account name
|
|
3174
3235
|
*/
|
|
3175
|
-
|
|
3236
|
+
name: string;
|
|
3176
3237
|
/**
|
|
3177
|
-
*
|
|
3238
|
+
* Display name (last part of account path)
|
|
3178
3239
|
*/
|
|
3179
|
-
|
|
3240
|
+
displayName: string;
|
|
3180
3241
|
/**
|
|
3181
|
-
*
|
|
3242
|
+
* Account balance
|
|
3182
3243
|
*/
|
|
3183
|
-
|
|
3244
|
+
balance: string;
|
|
3184
3245
|
/**
|
|
3185
|
-
*
|
|
3246
|
+
* Currency code
|
|
3186
3247
|
*/
|
|
3187
|
-
|
|
3188
|
-
};
|
|
3189
|
-
type NlpDuplicateConfirmationDataDto = {
|
|
3248
|
+
currency: string;
|
|
3190
3249
|
/**
|
|
3191
|
-
*
|
|
3250
|
+
* Asset class
|
|
3192
3251
|
*/
|
|
3193
|
-
|
|
3252
|
+
assetClass: string;
|
|
3194
3253
|
/**
|
|
3195
|
-
*
|
|
3254
|
+
* Asset sub-class (Prisma-compatible)
|
|
3196
3255
|
*/
|
|
3197
|
-
|
|
3256
|
+
assetSubClass?: string;
|
|
3198
3257
|
/**
|
|
3199
|
-
*
|
|
3258
|
+
* Regional sub-class (region-specific, for display)
|
|
3200
3259
|
*/
|
|
3201
|
-
|
|
3260
|
+
regionalSubClass?: string;
|
|
3202
3261
|
/**
|
|
3203
|
-
*
|
|
3262
|
+
* Risk level
|
|
3204
3263
|
*/
|
|
3205
|
-
|
|
3264
|
+
riskLevel?: string;
|
|
3206
3265
|
/**
|
|
3207
|
-
*
|
|
3266
|
+
* ADR-0105 classification provenance (holding level always; account level only on FALLBACK)
|
|
3208
3267
|
*/
|
|
3209
|
-
|
|
3268
|
+
source?: 'USER_META' | 'FIAT_CURRENCY' | 'OPENBB_MAPPING' | 'FALLBACK';
|
|
3210
3269
|
};
|
|
3211
|
-
|
|
3270
|
+
/**
|
|
3271
|
+
* ADR-0105 classification provenance (holding level always; account level only on FALLBACK)
|
|
3272
|
+
*/
|
|
3273
|
+
type source = 'USER_META' | 'FIAT_CURRENCY' | 'OPENBB_MAPPING' | 'FALLBACK';
|
|
3274
|
+
type AssetClassGroupDto = {
|
|
3212
3275
|
/**
|
|
3213
|
-
*
|
|
3276
|
+
* Asset class name
|
|
3214
3277
|
*/
|
|
3215
|
-
|
|
3278
|
+
assetClass: 'LIQUIDITY' | 'EQUITY' | 'FIXED_INCOME' | 'PRECIOUS_METALS' | 'COMMODITY' | 'INSURANCE' | 'ALTERNATIVE_INVESTMENT' | 'PERSONAL_ASSETS' | 'LIABILITY' | 'REAL_ESTATE' | 'INDEX';
|
|
3216
3279
|
/**
|
|
3217
|
-
*
|
|
3280
|
+
* Asset sub-class name
|
|
3218
3281
|
*/
|
|
3219
|
-
|
|
3220
|
-
[key: string]: unknown;
|
|
3221
|
-
};
|
|
3282
|
+
assetSubClass?: string;
|
|
3222
3283
|
/**
|
|
3223
|
-
*
|
|
3284
|
+
* Accounts within this asset class
|
|
3224
3285
|
*/
|
|
3225
|
-
|
|
3226
|
-
[key: string]: unknown;
|
|
3227
|
-
};
|
|
3286
|
+
accounts: Array<AccountItemWithAssetClassDto>;
|
|
3228
3287
|
/**
|
|
3229
|
-
*
|
|
3288
|
+
* Balances grouped by currency
|
|
3230
3289
|
*/
|
|
3231
|
-
|
|
3290
|
+
balanceByCurrency: Array<BalanceByCurrencyDto>;
|
|
3232
3291
|
/**
|
|
3233
|
-
*
|
|
3292
|
+
* Converted balance in base currency
|
|
3234
3293
|
*/
|
|
3235
|
-
|
|
3294
|
+
convertedBalance?: string;
|
|
3236
3295
|
};
|
|
3237
|
-
|
|
3296
|
+
/**
|
|
3297
|
+
* Asset class name
|
|
3298
|
+
*/
|
|
3299
|
+
type assetClass = 'LIQUIDITY' | 'EQUITY' | 'FIXED_INCOME' | 'PRECIOUS_METALS' | 'COMMODITY' | 'INSURANCE' | 'ALTERNATIVE_INVESTMENT' | 'PERSONAL_ASSETS' | 'LIABILITY' | 'REAL_ESTATE' | 'INDEX';
|
|
3300
|
+
type AccountExchangeRateWarningDto = {
|
|
3238
3301
|
/**
|
|
3239
|
-
*
|
|
3302
|
+
* Warning type
|
|
3240
3303
|
*/
|
|
3241
|
-
|
|
3304
|
+
type: string;
|
|
3242
3305
|
/**
|
|
3243
|
-
*
|
|
3306
|
+
* Currency without exchange rate
|
|
3244
3307
|
*/
|
|
3245
|
-
|
|
3308
|
+
currency: string;
|
|
3246
3309
|
/**
|
|
3247
|
-
*
|
|
3310
|
+
* Affected account paths
|
|
3248
3311
|
*/
|
|
3249
|
-
|
|
3312
|
+
accounts: Array<string>;
|
|
3250
3313
|
/**
|
|
3251
|
-
*
|
|
3314
|
+
* Total amount in this currency
|
|
3252
3315
|
*/
|
|
3253
|
-
|
|
3316
|
+
totalAmount: string;
|
|
3317
|
+
};
|
|
3318
|
+
type AssetClassSummaryDto = {
|
|
3254
3319
|
/**
|
|
3255
|
-
*
|
|
3320
|
+
* Total number of accounts
|
|
3256
3321
|
*/
|
|
3257
|
-
|
|
3258
|
-
[key: string]: unknown;
|
|
3259
|
-
};
|
|
3260
|
-
};
|
|
3261
|
-
type NlpSuggestedPayeeDto = {
|
|
3262
|
-
/**
|
|
3263
|
-
* Payee ID
|
|
3264
|
-
*/
|
|
3265
|
-
id: string;
|
|
3266
|
-
/**
|
|
3267
|
-
* Payee name
|
|
3268
|
-
*/
|
|
3269
|
-
name: string;
|
|
3270
|
-
/**
|
|
3271
|
-
* Payee category
|
|
3272
|
-
*/
|
|
3273
|
-
category?: string;
|
|
3274
|
-
/**
|
|
3275
|
-
* Source of the payee
|
|
3276
|
-
*/
|
|
3277
|
-
source?: 'user' | 'global';
|
|
3278
|
-
/**
|
|
3279
|
-
* PayeeProfile ID (if matched from global)
|
|
3280
|
-
*/
|
|
3281
|
-
payeeProfileId?: string;
|
|
3282
|
-
};
|
|
3283
|
-
/**
|
|
3284
|
-
* Source of the payee
|
|
3285
|
-
*/
|
|
3286
|
-
type source = 'user' | 'global';
|
|
3287
|
-
type NlpAlternativePayeeDto = {
|
|
3288
|
-
/**
|
|
3289
|
-
* Payee ID
|
|
3290
|
-
*/
|
|
3291
|
-
id: string;
|
|
3292
|
-
/**
|
|
3293
|
-
* Payee name
|
|
3294
|
-
*/
|
|
3295
|
-
name: string;
|
|
3296
|
-
/**
|
|
3297
|
-
* Similarity score (0-1)
|
|
3298
|
-
*/
|
|
3299
|
-
similarity: number;
|
|
3300
|
-
};
|
|
3301
|
-
type NlpPayeeConfirmationDataDto = {
|
|
3302
|
-
/**
|
|
3303
|
-
* Confidence score for the payee match (0-1)
|
|
3304
|
-
*/
|
|
3305
|
-
confidence: number;
|
|
3306
|
-
/**
|
|
3307
|
-
* Original payee string from user input
|
|
3308
|
-
*/
|
|
3309
|
-
originalPayee: string;
|
|
3310
|
-
/**
|
|
3311
|
-
* Suggested payee to use (null when no similar payees found)
|
|
3312
|
-
*/
|
|
3313
|
-
suggestedPayee?: NlpSuggestedPayeeDto | null;
|
|
3314
|
-
/**
|
|
3315
|
-
* Similarity score between original and suggested (0-1)
|
|
3316
|
-
*/
|
|
3317
|
-
similarity: number;
|
|
3318
|
-
/**
|
|
3319
|
-
* Alternative payee options
|
|
3320
|
-
*/
|
|
3321
|
-
alternatives: Array<NlpAlternativePayeeDto>;
|
|
3322
|
-
/**
|
|
3323
|
-
* Human-readable reasons for the match
|
|
3324
|
-
*/
|
|
3325
|
-
reasons: Array<string>;
|
|
3326
|
-
};
|
|
3327
|
-
type RecurringMatchInfoDto = {
|
|
3328
|
-
/**
|
|
3329
|
-
* Expected transaction ID
|
|
3330
|
-
*/
|
|
3331
|
-
expectedId: string;
|
|
3332
|
-
/**
|
|
3333
|
-
* Recurring rule ID
|
|
3334
|
-
*/
|
|
3335
|
-
ruleId: string;
|
|
3336
|
-
/**
|
|
3337
|
-
* Rule name for display
|
|
3338
|
-
*/
|
|
3339
|
-
ruleName: string;
|
|
3340
|
-
/**
|
|
3341
|
-
* Rule icon
|
|
3342
|
-
*/
|
|
3343
|
-
ruleIcon?: string;
|
|
3344
|
-
/**
|
|
3345
|
-
* Expected date (YYYY-MM-DD)
|
|
3346
|
-
*/
|
|
3347
|
-
expectedDate: string;
|
|
3348
|
-
/**
|
|
3349
|
-
* Expected amount
|
|
3350
|
-
*/
|
|
3351
|
-
expectedAmount: number;
|
|
3352
|
-
/**
|
|
3353
|
-
* Match confidence score (0-1)
|
|
3354
|
-
*/
|
|
3355
|
-
confidence: number;
|
|
3356
|
-
/**
|
|
3357
|
-
* Whether auto-matched (confidence >= 0.82)
|
|
3358
|
-
*/
|
|
3359
|
-
isAutoMatched: boolean;
|
|
3360
|
-
};
|
|
3361
|
-
type NlpSuggestedAccountDto = {
|
|
3362
|
-
/**
|
|
3363
|
-
* Suggested account path
|
|
3364
|
-
*/
|
|
3365
|
-
account: string;
|
|
3366
|
-
/**
|
|
3367
|
-
* Confidence score for this suggestion (0-1)
|
|
3368
|
-
*/
|
|
3369
|
-
confidence?: number;
|
|
3370
|
-
};
|
|
3371
|
-
type NlpSuggestedAccountsDto = {
|
|
3372
|
-
/**
|
|
3373
|
-
* Source account suggestion (where money comes from). For expense: asset/liability account. For income: income account.
|
|
3374
|
-
*/
|
|
3375
|
-
source?: NlpSuggestedAccountDto;
|
|
3376
|
-
/**
|
|
3377
|
-
* Destination account suggestion (where money goes to). For expense: expense account. For income: asset/liability account.
|
|
3378
|
-
*/
|
|
3379
|
-
destination?: NlpSuggestedAccountDto;
|
|
3380
|
-
};
|
|
3381
|
-
type NlpDefaultAccountsDto = {
|
|
3382
|
-
/**
|
|
3383
|
-
* Default asset account
|
|
3384
|
-
*/
|
|
3385
|
-
asset: string;
|
|
3386
|
-
/**
|
|
3387
|
-
* Default expense account
|
|
3388
|
-
*/
|
|
3389
|
-
expense: string;
|
|
3390
|
-
/**
|
|
3391
|
-
* Default income account
|
|
3392
|
-
*/
|
|
3393
|
-
income: string;
|
|
3394
|
-
/**
|
|
3395
|
-
* Default liability account
|
|
3396
|
-
*/
|
|
3397
|
-
liability: string;
|
|
3398
|
-
};
|
|
3399
|
-
type NlpResponseDto = {
|
|
3400
|
-
/**
|
|
3401
|
-
* Response status
|
|
3402
|
-
*/
|
|
3403
|
-
status: 'success' | 'pending' | 'error';
|
|
3404
|
-
/**
|
|
3405
|
-
* Action taken or requested
|
|
3406
|
-
*/
|
|
3407
|
-
action: 'created' | 'ask' | 'confirm' | 'confirm_duplicate' | 'confirm_rule' | 'confirm_account' | 'confirm_payee' | 'cancel';
|
|
3408
|
-
/**
|
|
3409
|
-
* Transaction intent detected by EntityRouter (v6.0: 5 core intents). Frontend uses this to render scenario-specific form fields.
|
|
3410
|
-
*/
|
|
3411
|
-
intent?: 'expense' | 'asset' | 'income' | 'liability' | 'equity';
|
|
3412
|
-
/**
|
|
3413
|
-
* Asset sub-type (only present when intent is "asset"). Determines which asset-related form to render.
|
|
3414
|
-
*/
|
|
3415
|
-
assetSubType?: 'transfer' | 'banking' | 'investment';
|
|
3416
|
-
/**
|
|
3417
|
-
* Liability sub-type (only present when intent is "liability"). borrow: borrowing money (Liabilities → Assets), repay: repaying debt (Assets → Liabilities).
|
|
3418
|
-
*/
|
|
3419
|
-
liabilitySubType?: 'borrow' | 'repay';
|
|
3420
|
-
/**
|
|
3421
|
-
* Equity sub-type (only present when intent is "equity"). opening: account opening balance (Equity → Assets), adjustment: balance correction.
|
|
3422
|
-
*/
|
|
3423
|
-
equitySubType?: 'opening' | 'adjustment';
|
|
3424
|
-
/**
|
|
3425
|
-
* Payment source for expense transactions (v6.1). Indicates whether payment comes from asset or liability account. Only present when intent is "expense".
|
|
3426
|
-
*/
|
|
3427
|
-
paymentSource?: 'asset' | 'liability';
|
|
3322
|
+
totalAccounts: number;
|
|
3428
3323
|
/**
|
|
3429
|
-
*
|
|
3324
|
+
* Total number of asset classes
|
|
3430
3325
|
*/
|
|
3431
|
-
|
|
3326
|
+
totalAssetClasses: number;
|
|
3432
3327
|
/**
|
|
3433
|
-
*
|
|
3434
|
-
* @deprecated
|
|
3328
|
+
* Base currency for conversion
|
|
3435
3329
|
*/
|
|
3436
|
-
|
|
3330
|
+
baseCurrency: string;
|
|
3437
3331
|
/**
|
|
3438
|
-
*
|
|
3332
|
+
* Exchange rate warnings
|
|
3439
3333
|
*/
|
|
3440
|
-
|
|
3334
|
+
warnings?: Array<AccountExchangeRateWarningDto>;
|
|
3441
3335
|
/**
|
|
3442
|
-
*
|
|
3336
|
+
* ADR-0105 §4 fallback provenance stats (holding level only). valueRatio is the grey-area share of total converted value; count is the number of source=FALLBACK holdings.
|
|
3443
3337
|
*/
|
|
3444
|
-
|
|
3338
|
+
fallback?: {
|
|
3445
3339
|
[key: string]: unknown;
|
|
3446
3340
|
};
|
|
3341
|
+
};
|
|
3342
|
+
type AssetClassAccountsResponseDto = {
|
|
3447
3343
|
/**
|
|
3448
|
-
*
|
|
3449
|
-
*/
|
|
3450
|
-
sessionId?: string;
|
|
3451
|
-
/**
|
|
3452
|
-
* Which slot is waiting for user input
|
|
3453
|
-
*/
|
|
3454
|
-
waitingFor?: string;
|
|
3455
|
-
/**
|
|
3456
|
-
* Created transaction info (for created action)
|
|
3457
|
-
*/
|
|
3458
|
-
transaction?: NlpTransactionInfoDto;
|
|
3459
|
-
/**
|
|
3460
|
-
* Parsed data for confirmation (when action is "confirm"). Contains extracted fields that user should verify before transaction creation.
|
|
3344
|
+
* Account groups by asset class
|
|
3461
3345
|
*/
|
|
3462
|
-
|
|
3346
|
+
groups: Array<AssetClassGroupDto>;
|
|
3463
3347
|
/**
|
|
3464
|
-
*
|
|
3348
|
+
* Summary statistics
|
|
3465
3349
|
*/
|
|
3466
|
-
|
|
3350
|
+
summary: AssetClassSummaryDto;
|
|
3467
3351
|
/**
|
|
3468
|
-
*
|
|
3352
|
+
* ADR-0105 §6 holding-level grey-area bucket (source=FALLBACK holdings peeled out of groups). Present only for groupBy=holdingAssetClass when FALLBACK holdings exist.
|
|
3469
3353
|
*/
|
|
3470
|
-
|
|
3354
|
+
uncategorized?: AssetClassGroupDto;
|
|
3355
|
+
};
|
|
3356
|
+
type HoldingAssetClassAccountSliceDto = {
|
|
3471
3357
|
/**
|
|
3472
|
-
* Account
|
|
3358
|
+
* Account ID
|
|
3473
3359
|
*/
|
|
3474
|
-
|
|
3360
|
+
accountId: string;
|
|
3475
3361
|
/**
|
|
3476
|
-
*
|
|
3362
|
+
* Full account path
|
|
3477
3363
|
*/
|
|
3478
|
-
|
|
3364
|
+
accountPath: string;
|
|
3479
3365
|
/**
|
|
3480
|
-
*
|
|
3366
|
+
* Currency of the holding with the largest converted base value; undefined when no holding is convertible
|
|
3481
3367
|
*/
|
|
3482
|
-
|
|
3368
|
+
accountCurrency?: string;
|
|
3483
3369
|
/**
|
|
3484
|
-
*
|
|
3370
|
+
* Account's market value in base currency (Σ converted holdings; grey bucket included)
|
|
3485
3371
|
*/
|
|
3486
|
-
|
|
3372
|
+
marketValueBase: string;
|
|
3487
3373
|
/**
|
|
3488
|
-
*
|
|
3374
|
+
* Share of the global total (0-100). 0 when globalTotal is zero (no NaN/Infinity).
|
|
3489
3375
|
*/
|
|
3490
|
-
|
|
3376
|
+
shareOfTotalPct: number;
|
|
3491
3377
|
/**
|
|
3492
|
-
*
|
|
3378
|
+
* Per-account asset-class breakdown
|
|
3493
3379
|
*/
|
|
3494
|
-
|
|
3380
|
+
groups: Array<AssetClassGroupDto>;
|
|
3495
3381
|
/**
|
|
3496
|
-
*
|
|
3382
|
+
* Per-account grey bucket (source=FALLBACK holdings, incl. broker cash)
|
|
3497
3383
|
*/
|
|
3498
|
-
|
|
3384
|
+
uncategorized?: AssetClassGroupDto;
|
|
3499
3385
|
/**
|
|
3500
|
-
*
|
|
3386
|
+
* Every holding row for this account (account ID in each row’s `id` field)
|
|
3501
3387
|
*/
|
|
3502
|
-
|
|
3388
|
+
holdings: Array<AccountItemWithAssetClassDto>;
|
|
3503
3389
|
};
|
|
3504
|
-
|
|
3505
|
-
* Response status
|
|
3506
|
-
*/
|
|
3507
|
-
type status4 = 'success' | 'pending' | 'error';
|
|
3508
|
-
/**
|
|
3509
|
-
* Action taken or requested
|
|
3510
|
-
*/
|
|
3511
|
-
type action2 = 'created' | 'ask' | 'confirm' | 'confirm_duplicate' | 'confirm_rule' | 'confirm_account' | 'confirm_payee' | 'cancel';
|
|
3512
|
-
/**
|
|
3513
|
-
* Transaction intent detected by EntityRouter (v6.0: 5 core intents). Frontend uses this to render scenario-specific form fields.
|
|
3514
|
-
*/
|
|
3515
|
-
type intent = 'expense' | 'asset' | 'income' | 'liability' | 'equity';
|
|
3516
|
-
/**
|
|
3517
|
-
* Asset sub-type (only present when intent is "asset"). Determines which asset-related form to render.
|
|
3518
|
-
*/
|
|
3519
|
-
type assetSubType = 'transfer' | 'banking' | 'investment';
|
|
3520
|
-
/**
|
|
3521
|
-
* Liability sub-type (only present when intent is "liability"). borrow: borrowing money (Liabilities → Assets), repay: repaying debt (Assets → Liabilities).
|
|
3522
|
-
*/
|
|
3523
|
-
type liabilitySubType = 'borrow' | 'repay';
|
|
3524
|
-
/**
|
|
3525
|
-
* Equity sub-type (only present when intent is "equity"). opening: account opening balance (Equity → Assets), adjustment: balance correction.
|
|
3526
|
-
*/
|
|
3527
|
-
type equitySubType = 'opening' | 'adjustment';
|
|
3528
|
-
type BalanceByCurrencyDto = {
|
|
3390
|
+
type HoldingAssetClassCrossAccountResponseDto = {
|
|
3529
3391
|
/**
|
|
3530
|
-
*
|
|
3392
|
+
* Merged cross-account holding aggregation
|
|
3531
3393
|
*/
|
|
3532
|
-
|
|
3394
|
+
global: AssetClassAccountsResponseDto;
|
|
3533
3395
|
/**
|
|
3534
|
-
*
|
|
3396
|
+
* Per-account slices
|
|
3535
3397
|
*/
|
|
3536
|
-
|
|
3398
|
+
byAccount: Array<HoldingAssetClassAccountSliceDto>;
|
|
3537
3399
|
};
|
|
3538
|
-
type
|
|
3400
|
+
type CashFlowByCurrencyDto = {
|
|
3539
3401
|
/**
|
|
3540
|
-
*
|
|
3402
|
+
* Income by currency
|
|
3541
3403
|
*/
|
|
3542
|
-
|
|
3404
|
+
income: Array<BalanceByCurrencyDto>;
|
|
3543
3405
|
/**
|
|
3544
|
-
*
|
|
3406
|
+
* Expense by currency
|
|
3545
3407
|
*/
|
|
3546
|
-
|
|
3408
|
+
expense: Array<BalanceByCurrencyDto>;
|
|
3547
3409
|
/**
|
|
3548
|
-
*
|
|
3410
|
+
* Net savings by currency
|
|
3549
3411
|
*/
|
|
3550
|
-
|
|
3412
|
+
netSavings: Array<BalanceByCurrencyDto>;
|
|
3551
3413
|
};
|
|
3552
|
-
type
|
|
3414
|
+
type ConvertedCashFlowDto = {
|
|
3553
3415
|
/**
|
|
3554
3416
|
* Base currency for conversion
|
|
3555
3417
|
*/
|
|
3556
3418
|
baseCurrency: string;
|
|
3557
3419
|
/**
|
|
3558
|
-
* Converted
|
|
3420
|
+
* Converted income
|
|
3559
3421
|
*/
|
|
3560
|
-
|
|
3422
|
+
income: string;
|
|
3561
3423
|
/**
|
|
3562
|
-
* Converted
|
|
3424
|
+
* Converted expense
|
|
3563
3425
|
*/
|
|
3564
|
-
|
|
3426
|
+
expense: string;
|
|
3565
3427
|
/**
|
|
3566
|
-
* Converted
|
|
3428
|
+
* Converted net savings
|
|
3567
3429
|
*/
|
|
3568
|
-
|
|
3430
|
+
netSavings: string;
|
|
3569
3431
|
/**
|
|
3570
3432
|
* Exchange rates used for conversion
|
|
3571
3433
|
*/
|
|
@@ -3573,307 +3435,312 @@ type ConvertedNetWorthDto = {
|
|
|
3573
3435
|
[key: string]: unknown;
|
|
3574
3436
|
};
|
|
3575
3437
|
};
|
|
3576
|
-
type
|
|
3577
|
-
/**
|
|
3578
|
-
* Warning type
|
|
3579
|
-
*/
|
|
3580
|
-
type: string;
|
|
3581
|
-
/**
|
|
3582
|
-
* Currency without exchange rate
|
|
3583
|
-
*/
|
|
3584
|
-
currency: string;
|
|
3585
|
-
/**
|
|
3586
|
-
* Total amount affected
|
|
3587
|
-
*/
|
|
3588
|
-
totalAmount: string;
|
|
3589
|
-
};
|
|
3590
|
-
type NetWorthResponseDto = {
|
|
3438
|
+
type CashFlowResponseDto = {
|
|
3591
3439
|
/**
|
|
3592
|
-
*
|
|
3440
|
+
* Period identifier (YYYY-MM)
|
|
3593
3441
|
*/
|
|
3594
|
-
|
|
3442
|
+
period: string;
|
|
3595
3443
|
/**
|
|
3596
|
-
* Total
|
|
3444
|
+
* Total income for the period (converted)
|
|
3597
3445
|
*/
|
|
3598
|
-
|
|
3446
|
+
income: string;
|
|
3599
3447
|
/**
|
|
3600
|
-
* Total
|
|
3448
|
+
* Total expenses for the period (converted)
|
|
3601
3449
|
*/
|
|
3602
|
-
|
|
3450
|
+
expense: string;
|
|
3603
3451
|
/**
|
|
3604
|
-
*
|
|
3452
|
+
* Net savings (income - expense, converted)
|
|
3605
3453
|
*/
|
|
3606
|
-
|
|
3454
|
+
netSavings: string;
|
|
3607
3455
|
/**
|
|
3608
|
-
*
|
|
3456
|
+
* Savings rate percentage (netSavings / income * 100)
|
|
3609
3457
|
*/
|
|
3610
|
-
|
|
3458
|
+
savingsRate: string;
|
|
3611
3459
|
/**
|
|
3612
3460
|
* Base currency code
|
|
3613
3461
|
*/
|
|
3614
3462
|
currency: string;
|
|
3615
3463
|
/**
|
|
3616
|
-
*
|
|
3617
|
-
*/
|
|
3618
|
-
asOf: string;
|
|
3619
|
-
/**
|
|
3620
|
-
* Balances grouped by original currency
|
|
3464
|
+
* Cash flow grouped by original currency
|
|
3621
3465
|
*/
|
|
3622
|
-
byCurrency?:
|
|
3466
|
+
byCurrency?: CashFlowByCurrencyDto;
|
|
3623
3467
|
/**
|
|
3624
|
-
* Converted values in base currency
|
|
3468
|
+
* Converted values in base currency
|
|
3625
3469
|
*/
|
|
3626
|
-
converted?:
|
|
3470
|
+
converted?: ConvertedCashFlowDto;
|
|
3627
3471
|
/**
|
|
3628
3472
|
* Exchange rate warnings
|
|
3629
3473
|
*/
|
|
3630
3474
|
warnings?: Array<ExchangeRateWarningDto>;
|
|
3631
3475
|
};
|
|
3632
|
-
type
|
|
3476
|
+
type MonetaryDto = {
|
|
3633
3477
|
/**
|
|
3634
|
-
*
|
|
3478
|
+
* Amount (Decimal string)
|
|
3635
3479
|
*/
|
|
3636
|
-
|
|
3480
|
+
amount: string;
|
|
3637
3481
|
/**
|
|
3638
|
-
*
|
|
3482
|
+
* ISO 4217 currency
|
|
3639
3483
|
*/
|
|
3640
|
-
|
|
3484
|
+
currency: string;
|
|
3641
3485
|
/**
|
|
3642
|
-
*
|
|
3486
|
+
* Converted to user base currency (Decimal string)
|
|
3643
3487
|
*/
|
|
3644
|
-
|
|
3488
|
+
baseCcyEquivalent?: {
|
|
3489
|
+
[key: string]: unknown;
|
|
3490
|
+
} | null;
|
|
3491
|
+
};
|
|
3492
|
+
type CurrentPriceDto = {
|
|
3645
3493
|
/**
|
|
3646
|
-
*
|
|
3494
|
+
* Price amount (Decimal string)
|
|
3647
3495
|
*/
|
|
3648
|
-
|
|
3496
|
+
amount: string;
|
|
3649
3497
|
/**
|
|
3650
|
-
*
|
|
3498
|
+
* Price currency (ISO 4217)
|
|
3651
3499
|
*/
|
|
3652
3500
|
currency: string;
|
|
3653
|
-
};
|
|
3654
|
-
type PlatformGroupDto = {
|
|
3655
3501
|
/**
|
|
3656
|
-
*
|
|
3502
|
+
* Price date (ISO 8601)
|
|
3657
3503
|
*/
|
|
3658
|
-
|
|
3504
|
+
date: string;
|
|
3659
3505
|
/**
|
|
3660
|
-
*
|
|
3506
|
+
* Price source
|
|
3661
3507
|
*/
|
|
3662
|
-
|
|
3508
|
+
source: 'USER_OVERRIDE' | 'OPENBB_EQUITY' | 'OPENBB_CURRENCY';
|
|
3509
|
+
};
|
|
3510
|
+
/**
|
|
3511
|
+
* Price source
|
|
3512
|
+
*/
|
|
3513
|
+
type source2 = 'USER_OVERRIDE' | 'OPENBB_EQUITY' | 'OPENBB_CURRENCY';
|
|
3514
|
+
type FxRateDto = {
|
|
3515
|
+
from: string;
|
|
3516
|
+
to: string;
|
|
3663
3517
|
/**
|
|
3664
|
-
*
|
|
3518
|
+
* FX rate (Decimal string)
|
|
3665
3519
|
*/
|
|
3666
|
-
|
|
3520
|
+
rate: string;
|
|
3667
3521
|
/**
|
|
3668
|
-
*
|
|
3522
|
+
* Rate date (ISO 8601)
|
|
3669
3523
|
*/
|
|
3670
|
-
|
|
3524
|
+
date: string;
|
|
3671
3525
|
};
|
|
3672
|
-
type
|
|
3673
|
-
/**
|
|
3674
|
-
* Total number of accounts
|
|
3675
|
-
*/
|
|
3676
|
-
totalAccounts: number;
|
|
3526
|
+
type HoldingPnlRowDto = {
|
|
3677
3527
|
/**
|
|
3678
|
-
*
|
|
3528
|
+
* Account UUID
|
|
3679
3529
|
*/
|
|
3680
|
-
|
|
3681
|
-
};
|
|
3682
|
-
type AccountsResponseDto = {
|
|
3530
|
+
accountId: string;
|
|
3683
3531
|
/**
|
|
3684
|
-
*
|
|
3532
|
+
* Full account path
|
|
3685
3533
|
*/
|
|
3686
|
-
|
|
3534
|
+
accountPath: string;
|
|
3687
3535
|
/**
|
|
3688
|
-
*
|
|
3536
|
+
* Account settlement currency (ISO 4217), from cost currency
|
|
3689
3537
|
*/
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3538
|
+
accountCcy?: {
|
|
3539
|
+
[key: string]: unknown;
|
|
3540
|
+
} | null;
|
|
3693
3541
|
/**
|
|
3694
|
-
*
|
|
3542
|
+
* Broker type derived from Platform.type
|
|
3695
3543
|
*/
|
|
3696
|
-
|
|
3544
|
+
brokerType?: {
|
|
3545
|
+
[key: string]: unknown;
|
|
3546
|
+
} | null;
|
|
3697
3547
|
/**
|
|
3698
|
-
*
|
|
3548
|
+
* Commodity symbol
|
|
3699
3549
|
*/
|
|
3700
|
-
|
|
3550
|
+
symbol: string;
|
|
3701
3551
|
/**
|
|
3702
|
-
*
|
|
3552
|
+
* Chart segment token (libs/common resolver)
|
|
3703
3553
|
*/
|
|
3704
|
-
|
|
3554
|
+
chartToken: 'equity' | 'fund' | 'bond' | 'cash' | 'other';
|
|
3555
|
+
assetClass: string;
|
|
3556
|
+
assetSubClass?: {
|
|
3557
|
+
[key: string]: unknown;
|
|
3558
|
+
} | null;
|
|
3705
3559
|
/**
|
|
3706
|
-
*
|
|
3560
|
+
* Net held units (Decimal string)
|
|
3707
3561
|
*/
|
|
3708
|
-
|
|
3562
|
+
units: string;
|
|
3709
3563
|
/**
|
|
3710
|
-
*
|
|
3564
|
+
* Average cost per unit; null when cost currency conflicts or no cost
|
|
3711
3565
|
*/
|
|
3712
|
-
|
|
3566
|
+
averageCostPerUnit?: MonetaryDto | null;
|
|
3713
3567
|
/**
|
|
3714
|
-
*
|
|
3568
|
+
* Cost basis of held units
|
|
3715
3569
|
*/
|
|
3716
|
-
|
|
3570
|
+
costBasis?: MonetaryDto | null;
|
|
3717
3571
|
/**
|
|
3718
|
-
*
|
|
3572
|
+
* Market value at asOf price
|
|
3719
3573
|
*/
|
|
3720
|
-
|
|
3574
|
+
marketValue?: MonetaryDto | null;
|
|
3721
3575
|
/**
|
|
3722
|
-
*
|
|
3576
|
+
* Price used for market value
|
|
3723
3577
|
*/
|
|
3724
|
-
|
|
3578
|
+
currentPrice?: CurrentPriceDto | null;
|
|
3725
3579
|
/**
|
|
3726
|
-
*
|
|
3580
|
+
* Unrealized P&L in base currency (Decimal string); null when any FX/price missing
|
|
3727
3581
|
*/
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3582
|
+
unrealizedPnlBase?: {
|
|
3583
|
+
[key: string]: unknown;
|
|
3584
|
+
} | null;
|
|
3731
3585
|
/**
|
|
3732
|
-
*
|
|
3586
|
+
* Unrealized P&L % (Decimal string)
|
|
3733
3587
|
*/
|
|
3734
|
-
|
|
3588
|
+
unrealizedPnlPct?: {
|
|
3589
|
+
[key: string]: unknown;
|
|
3590
|
+
} | null;
|
|
3735
3591
|
/**
|
|
3736
|
-
*
|
|
3592
|
+
* Historical FX rate applied to cost basis
|
|
3737
3593
|
*/
|
|
3738
|
-
|
|
3594
|
+
costFxRate?: FxRateDto | null;
|
|
3739
3595
|
/**
|
|
3740
|
-
*
|
|
3596
|
+
* FX rate applied to market value
|
|
3741
3597
|
*/
|
|
3742
|
-
|
|
3598
|
+
marketFxRate?: FxRateDto | null;
|
|
3743
3599
|
/**
|
|
3744
|
-
*
|
|
3600
|
+
* Share of invested assets % (Decimal string); only for invested chartTokens
|
|
3745
3601
|
*/
|
|
3746
|
-
|
|
3602
|
+
pctOfInvestedAssets?: {
|
|
3603
|
+
[key: string]: unknown;
|
|
3604
|
+
} | null;
|
|
3747
3605
|
/**
|
|
3748
|
-
*
|
|
3606
|
+
* Cumulative realized P&L on sold lots (asOf-date cutoff); null when the method has no applicable sells, a sell lacks a price, or any required FX rate is missing (never-mix). When a sell spans multiple currencies (cross-currency sale), amount and currency reflect the base currency; baseCcyEquivalent is always the authoritative dual-FX figure
|
|
3749
3607
|
*/
|
|
3750
|
-
|
|
3608
|
+
realizedPnl?: MonetaryDto | null;
|
|
3751
3609
|
};
|
|
3752
3610
|
/**
|
|
3753
|
-
*
|
|
3611
|
+
* Chart segment token (libs/common resolver)
|
|
3754
3612
|
*/
|
|
3755
|
-
type
|
|
3756
|
-
type
|
|
3613
|
+
type chartToken = 'equity' | 'fund' | 'bond' | 'cash' | 'other';
|
|
3614
|
+
type HoldingPnlWarningDto = {
|
|
3757
3615
|
/**
|
|
3758
3616
|
* Warning type
|
|
3759
3617
|
*/
|
|
3760
|
-
type:
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
* Total amount in this currency
|
|
3771
|
-
*/
|
|
3772
|
-
totalAmount: string;
|
|
3618
|
+
type: 'MISSING_COST_FX_RATE' | 'MISSING_MARKET_FX_RATE' | 'MISSING_SALE_PRICE' | 'MISSING_REALIZED_FX_RATE' | 'OVERSOLD_LOTS' | 'NO_PRICE' | 'MIXED_COST_CURRENCY';
|
|
3619
|
+
symbol?: {
|
|
3620
|
+
[key: string]: unknown;
|
|
3621
|
+
} | null;
|
|
3622
|
+
accountId?: {
|
|
3623
|
+
[key: string]: unknown;
|
|
3624
|
+
} | null;
|
|
3625
|
+
currency?: {
|
|
3626
|
+
[key: string]: unknown;
|
|
3627
|
+
} | null;
|
|
3773
3628
|
};
|
|
3774
|
-
|
|
3629
|
+
/**
|
|
3630
|
+
* Warning type
|
|
3631
|
+
*/
|
|
3632
|
+
type type4 = 'MISSING_COST_FX_RATE' | 'MISSING_MARKET_FX_RATE' | 'MISSING_SALE_PRICE' | 'MISSING_REALIZED_FX_RATE' | 'OVERSOLD_LOTS' | 'NO_PRICE' | 'MIXED_COST_CURRENCY';
|
|
3633
|
+
type HoldingPnlResponseDto = {
|
|
3634
|
+
asOfDate: string;
|
|
3635
|
+
baseCurrency: string;
|
|
3775
3636
|
/**
|
|
3776
|
-
*
|
|
3637
|
+
* Realized-P&L lot-matching method (FIFO or average). Unrealized cost basis remains average regardless of this value (#473).
|
|
3777
3638
|
*/
|
|
3778
|
-
|
|
3639
|
+
method: 'average' | 'FIFO';
|
|
3640
|
+
rows: Array<HoldingPnlRowDto>;
|
|
3641
|
+
warnings: Array<HoldingPnlWarningDto>;
|
|
3642
|
+
};
|
|
3643
|
+
/**
|
|
3644
|
+
* Realized-P&L lot-matching method (FIFO or average). Unrealized cost basis remains average regardless of this value (#473).
|
|
3645
|
+
*/
|
|
3646
|
+
type method = 'average' | 'FIFO';
|
|
3647
|
+
type CreateBeanPriceDto = {
|
|
3779
3648
|
/**
|
|
3780
|
-
*
|
|
3649
|
+
* Currency being priced (e.g., USD, AAPL, BTC)
|
|
3781
3650
|
*/
|
|
3782
|
-
|
|
3651
|
+
currency: string;
|
|
3783
3652
|
/**
|
|
3784
|
-
*
|
|
3653
|
+
* Quote currency (pricing currency, e.g., CNY, EUR)
|
|
3785
3654
|
*/
|
|
3786
|
-
|
|
3655
|
+
quoteCurrency: string;
|
|
3787
3656
|
/**
|
|
3788
|
-
*
|
|
3657
|
+
* Price amount (MUST be >= 0 per Beancount spec, supports up to 15 decimal places). Zero allowed for conversion entries, negative strictly prohibited.
|
|
3789
3658
|
*/
|
|
3790
|
-
|
|
3791
|
-
};
|
|
3792
|
-
type AssetClassAccountsResponseDto = {
|
|
3659
|
+
amount: number;
|
|
3793
3660
|
/**
|
|
3794
|
-
*
|
|
3661
|
+
* Price date (ISO 8601 format)
|
|
3795
3662
|
*/
|
|
3796
|
-
|
|
3663
|
+
date: string;
|
|
3797
3664
|
/**
|
|
3798
|
-
*
|
|
3665
|
+
* Metadata (validated by Zod schema, max field lengths enforced)
|
|
3799
3666
|
*/
|
|
3800
|
-
|
|
3667
|
+
metadata?: {
|
|
3668
|
+
[key: string]: unknown;
|
|
3669
|
+
};
|
|
3801
3670
|
};
|
|
3802
|
-
type
|
|
3803
|
-
/**
|
|
3804
|
-
* Income by currency
|
|
3805
|
-
*/
|
|
3806
|
-
income: Array<BalanceByCurrencyDto>;
|
|
3671
|
+
type PriceResponseDto = {
|
|
3807
3672
|
/**
|
|
3808
|
-
*
|
|
3673
|
+
* Unique identifier
|
|
3809
3674
|
*/
|
|
3810
|
-
|
|
3675
|
+
id: string;
|
|
3811
3676
|
/**
|
|
3812
|
-
*
|
|
3677
|
+
* User ID (owner of the price)
|
|
3813
3678
|
*/
|
|
3814
|
-
|
|
3815
|
-
};
|
|
3816
|
-
type ConvertedCashFlowDto = {
|
|
3679
|
+
userId: string;
|
|
3817
3680
|
/**
|
|
3818
|
-
*
|
|
3681
|
+
* Currency being priced (e.g., USD, AAPL, BTC)
|
|
3819
3682
|
*/
|
|
3820
|
-
|
|
3683
|
+
currency: string;
|
|
3821
3684
|
/**
|
|
3822
|
-
*
|
|
3685
|
+
* Quote currency (pricing currency, e.g., USD, CNY)
|
|
3823
3686
|
*/
|
|
3824
|
-
|
|
3687
|
+
quoteCurrency: string;
|
|
3825
3688
|
/**
|
|
3826
|
-
*
|
|
3689
|
+
* Price amount (corresponds to Beancount Amount.number). Supports up to 15 decimal places.
|
|
3827
3690
|
*/
|
|
3828
|
-
|
|
3691
|
+
amount: number;
|
|
3829
3692
|
/**
|
|
3830
|
-
*
|
|
3693
|
+
* Price date (ISO 8601 format). Represents the date this price was valid.
|
|
3831
3694
|
*/
|
|
3832
|
-
|
|
3695
|
+
date: string;
|
|
3833
3696
|
/**
|
|
3834
|
-
*
|
|
3697
|
+
* Metadata (corresponds to Beancount meta field). Contains source, confidence, note, etc.
|
|
3835
3698
|
*/
|
|
3836
|
-
|
|
3699
|
+
meta: {
|
|
3837
3700
|
[key: string]: unknown;
|
|
3838
3701
|
};
|
|
3839
|
-
};
|
|
3840
|
-
type CashFlowResponseDto = {
|
|
3841
3702
|
/**
|
|
3842
|
-
*
|
|
3703
|
+
* Creation timestamp
|
|
3843
3704
|
*/
|
|
3844
|
-
|
|
3705
|
+
createdAt: string;
|
|
3845
3706
|
/**
|
|
3846
|
-
*
|
|
3707
|
+
* Last update timestamp
|
|
3847
3708
|
*/
|
|
3848
|
-
|
|
3709
|
+
updatedAt: string;
|
|
3710
|
+
};
|
|
3711
|
+
type PriceListResponseDto = {
|
|
3849
3712
|
/**
|
|
3850
|
-
*
|
|
3713
|
+
* List of prices
|
|
3851
3714
|
*/
|
|
3852
|
-
|
|
3715
|
+
items: Array<PriceResponseDto>;
|
|
3853
3716
|
/**
|
|
3854
|
-
*
|
|
3717
|
+
* Total number of prices
|
|
3855
3718
|
*/
|
|
3856
|
-
|
|
3719
|
+
total: number;
|
|
3720
|
+
};
|
|
3721
|
+
type UpdateBeanPriceDto = {
|
|
3857
3722
|
/**
|
|
3858
|
-
*
|
|
3723
|
+
* Currency being priced
|
|
3859
3724
|
*/
|
|
3860
|
-
|
|
3725
|
+
currency?: string;
|
|
3861
3726
|
/**
|
|
3862
|
-
*
|
|
3727
|
+
* Quote currency (pricing currency)
|
|
3863
3728
|
*/
|
|
3864
|
-
|
|
3729
|
+
quoteCurrency?: string;
|
|
3865
3730
|
/**
|
|
3866
|
-
*
|
|
3731
|
+
* Price amount (MUST be >= 0 per Beancount spec)
|
|
3867
3732
|
*/
|
|
3868
|
-
|
|
3733
|
+
amount?: number;
|
|
3869
3734
|
/**
|
|
3870
|
-
*
|
|
3735
|
+
* Price date (ISO 8601 format)
|
|
3871
3736
|
*/
|
|
3872
|
-
|
|
3737
|
+
date?: string;
|
|
3873
3738
|
/**
|
|
3874
|
-
*
|
|
3739
|
+
* Metadata
|
|
3875
3740
|
*/
|
|
3876
|
-
|
|
3741
|
+
metadata?: {
|
|
3742
|
+
[key: string]: unknown;
|
|
3743
|
+
};
|
|
3877
3744
|
};
|
|
3878
3745
|
type CurrencyBalanceDto = {
|
|
3879
3746
|
/**
|
|
@@ -3980,7 +3847,7 @@ type AccountControllerCreateData = {
|
|
|
3980
3847
|
region: 'cn' | 'us' | 'de' | 'gb';
|
|
3981
3848
|
requestBody: CreateAccountDto;
|
|
3982
3849
|
};
|
|
3983
|
-
type AccountControllerCreateResponse =
|
|
3850
|
+
type AccountControllerCreateResponse = unknown;
|
|
3984
3851
|
type AccountControllerFindAllData = {
|
|
3985
3852
|
/**
|
|
3986
3853
|
* Filter by custom (user-created) accounts only
|
|
@@ -4024,9 +3891,6 @@ type AccountControllerFindOneData = {
|
|
|
4024
3891
|
};
|
|
4025
3892
|
type AccountControllerFindOneResponse = AccountResponseDto;
|
|
4026
3893
|
type AccountControllerUpdateData = {
|
|
4027
|
-
/**
|
|
4028
|
-
* Account UUID
|
|
4029
|
-
*/
|
|
4030
3894
|
id: string;
|
|
4031
3895
|
/**
|
|
4032
3896
|
* Region code for tenant context
|
|
@@ -4034,22 +3898,16 @@ type AccountControllerUpdateData = {
|
|
|
4034
3898
|
region: 'cn' | 'us' | 'de' | 'gb';
|
|
4035
3899
|
requestBody: UpdateAccountDto;
|
|
4036
3900
|
};
|
|
4037
|
-
type AccountControllerUpdateResponse =
|
|
3901
|
+
type AccountControllerUpdateResponse = unknown;
|
|
4038
3902
|
type AccountControllerDeleteData = {
|
|
4039
|
-
/**
|
|
4040
|
-
* Account UUID
|
|
4041
|
-
*/
|
|
4042
3903
|
id: string;
|
|
4043
3904
|
/**
|
|
4044
3905
|
* Region code for tenant context
|
|
4045
3906
|
*/
|
|
4046
3907
|
region: 'cn' | 'us' | 'de' | 'gb';
|
|
4047
3908
|
};
|
|
4048
|
-
type AccountControllerDeleteResponse =
|
|
3909
|
+
type AccountControllerDeleteResponse = unknown;
|
|
4049
3910
|
type AccountControllerCloseData = {
|
|
4050
|
-
/**
|
|
4051
|
-
* Account UUID
|
|
4052
|
-
*/
|
|
4053
3911
|
id: string;
|
|
4054
3912
|
/**
|
|
4055
3913
|
* Region code for tenant context
|
|
@@ -4057,11 +3915,8 @@ type AccountControllerCloseData = {
|
|
|
4057
3915
|
region: 'cn' | 'us' | 'de' | 'gb';
|
|
4058
3916
|
requestBody: CloseAccountDto;
|
|
4059
3917
|
};
|
|
4060
|
-
type AccountControllerCloseResponse =
|
|
3918
|
+
type AccountControllerCloseResponse = unknown;
|
|
4061
3919
|
type AccountControllerReopenData = {
|
|
4062
|
-
/**
|
|
4063
|
-
* Account UUID
|
|
4064
|
-
*/
|
|
4065
3920
|
id: string;
|
|
4066
3921
|
/**
|
|
4067
3922
|
* Region code for tenant context
|
|
@@ -4069,7 +3924,7 @@ type AccountControllerReopenData = {
|
|
|
4069
3924
|
region: 'cn' | 'us' | 'de' | 'gb';
|
|
4070
3925
|
requestBody: ReopenAccountDto;
|
|
4071
3926
|
};
|
|
4072
|
-
type AccountControllerReopenResponse =
|
|
3927
|
+
type AccountControllerReopenResponse = unknown;
|
|
4073
3928
|
type AccountStandardsControllerGetTemplatesData = {
|
|
4074
3929
|
/**
|
|
4075
3930
|
* Region code (cn, us, de)
|
|
@@ -4940,24 +4795,12 @@ type FileImportControllerIdentifyFileData = {
|
|
|
4940
4795
|
};
|
|
4941
4796
|
type FileImportControllerIdentifyFileResponse = IdentifyResultDto;
|
|
4942
4797
|
type FileImportControllerImportBeancountData = {
|
|
4943
|
-
/**
|
|
4944
|
-
* Beancount file to import
|
|
4945
|
-
*/
|
|
4946
|
-
formData: FileImportDto;
|
|
4947
4798
|
/**
|
|
4948
4799
|
* Region code for tenant context
|
|
4949
4800
|
*/
|
|
4950
4801
|
region: 'cn' | 'us' | 'de' | 'gb';
|
|
4951
4802
|
};
|
|
4952
|
-
type FileImportControllerImportBeancountResponse =
|
|
4953
|
-
imported?: number;
|
|
4954
|
-
skipped?: number;
|
|
4955
|
-
failed?: number;
|
|
4956
|
-
accountsCreated?: number;
|
|
4957
|
-
errors?: Array<{
|
|
4958
|
-
[key: string]: unknown;
|
|
4959
|
-
}>;
|
|
4960
|
-
};
|
|
4803
|
+
type FileImportControllerImportBeancountResponse = unknown;
|
|
4961
4804
|
type ImporterConfigControllerGetConfigData = {
|
|
4962
4805
|
/**
|
|
4963
4806
|
* 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
|
|
@@ -5028,17 +4871,14 @@ type PlatformControllerDeleteData = {
|
|
|
5028
4871
|
};
|
|
5029
4872
|
type PlatformControllerDeleteResponse = void;
|
|
5030
4873
|
type ProviderSyncControllerSyncData = {
|
|
4874
|
+
providerName: string;
|
|
5031
4875
|
/**
|
|
5032
|
-
*
|
|
5033
|
-
*/
|
|
5034
|
-
providerName: 'plaid' | 'teller' | 'truelayer' | 'gocardless' | 'simplefin' | 'yodlee' | 'beancount-direct' | 'parsed-bill';
|
|
5035
|
-
/**
|
|
5036
|
-
* Region code
|
|
4876
|
+
* Region code for tenant context
|
|
5037
4877
|
*/
|
|
5038
|
-
region:
|
|
4878
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5039
4879
|
requestBody: ProviderSyncDto;
|
|
5040
4880
|
};
|
|
5041
|
-
type ProviderSyncControllerSyncResponse =
|
|
4881
|
+
type ProviderSyncControllerSyncResponse = unknown;
|
|
5042
4882
|
type ProviderSyncControllerGetSupportedProvidersData = {
|
|
5043
4883
|
/**
|
|
5044
4884
|
* Region code for tenant context
|
|
@@ -5065,17 +4905,33 @@ type TelemetryControllerReportTelemetryData = {
|
|
|
5065
4905
|
requestBody: ParserTelemetryReportDto;
|
|
5066
4906
|
};
|
|
5067
4907
|
type TelemetryControllerReportTelemetryResponse = unknown;
|
|
5068
|
-
type
|
|
4908
|
+
type TelemetryControllerReportCoverageMissData = {
|
|
4909
|
+
/**
|
|
4910
|
+
* Region code for tenant context
|
|
4911
|
+
*/
|
|
4912
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
4913
|
+
requestBody: UncoveredFormatMissDto;
|
|
4914
|
+
};
|
|
4915
|
+
type TelemetryControllerReportCoverageMissResponse = unknown;
|
|
4916
|
+
type TelemetryControllerGetCoverageMetricsData = {
|
|
5069
4917
|
/**
|
|
5070
4918
|
* Region code for tenant context
|
|
5071
4919
|
*/
|
|
5072
4920
|
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5073
4921
|
/**
|
|
5074
|
-
*
|
|
4922
|
+
* Top-N uncovered formats (default 10)
|
|
4923
|
+
*/
|
|
4924
|
+
topN?: unknown;
|
|
4925
|
+
};
|
|
4926
|
+
type TelemetryControllerGetCoverageMetricsResponse = unknown;
|
|
4927
|
+
type NlpControllerProcessNaturalLanguageData = {
|
|
4928
|
+
/**
|
|
4929
|
+
* Region code for tenant context
|
|
5075
4930
|
*/
|
|
4931
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5076
4932
|
requestBody: ProcessNlpDto;
|
|
5077
4933
|
};
|
|
5078
|
-
type NlpControllerProcessNaturalLanguageResponse =
|
|
4934
|
+
type NlpControllerProcessNaturalLanguageResponse = unknown;
|
|
5079
4935
|
type NlpControllerClearSessionData = {
|
|
5080
4936
|
/**
|
|
5081
4937
|
* Region code for tenant context
|
|
@@ -5110,6 +4966,10 @@ type DashboardControllerGetNetWorthData = {
|
|
|
5110
4966
|
};
|
|
5111
4967
|
type DashboardControllerGetNetWorthResponse = NetWorthResponseDto;
|
|
5112
4968
|
type DashboardControllerGetAccountsData = {
|
|
4969
|
+
/**
|
|
4970
|
+
* Scope to a single account (only valid with groupBy=holdingAssetClass, ADR-0105 §6)
|
|
4971
|
+
*/
|
|
4972
|
+
accountId?: string;
|
|
5113
4973
|
/**
|
|
5114
4974
|
* Date for balance calculation (ISO 8601 format)
|
|
5115
4975
|
*/
|
|
@@ -5117,13 +4977,13 @@ type DashboardControllerGetAccountsData = {
|
|
|
5117
4977
|
/**
|
|
5118
4978
|
* Grouping strategy
|
|
5119
4979
|
*/
|
|
5120
|
-
groupBy?: 'platform' | 'assetClass';
|
|
4980
|
+
groupBy?: 'platform' | 'assetClass' | 'holdingAssetClass' | 'holdingAssetClassByAccount';
|
|
5121
4981
|
/**
|
|
5122
4982
|
* Region code for tenant context
|
|
5123
4983
|
*/
|
|
5124
4984
|
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5125
4985
|
};
|
|
5126
|
-
type DashboardControllerGetAccountsResponse = AccountsResponseDto | AssetClassAccountsResponseDto;
|
|
4986
|
+
type DashboardControllerGetAccountsResponse = AccountsResponseDto | AssetClassAccountsResponseDto | HoldingAssetClassCrossAccountResponseDto;
|
|
5127
4987
|
type DashboardControllerGetCashFlowData = {
|
|
5128
4988
|
/**
|
|
5129
4989
|
* Period in YYYY-MM format
|
|
@@ -5135,6 +4995,110 @@ type DashboardControllerGetCashFlowData = {
|
|
|
5135
4995
|
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5136
4996
|
};
|
|
5137
4997
|
type DashboardControllerGetCashFlowResponse = CashFlowResponseDto;
|
|
4998
|
+
type HoldingPnlControllerGetHoldingPnlData = {
|
|
4999
|
+
/**
|
|
5000
|
+
* Scope to a single account
|
|
5001
|
+
*/
|
|
5002
|
+
accountId?: string;
|
|
5003
|
+
/**
|
|
5004
|
+
* As-of date (ISO 8601), defaults to today
|
|
5005
|
+
*/
|
|
5006
|
+
asOf?: string;
|
|
5007
|
+
/**
|
|
5008
|
+
* Realized-P&L lot-matching method (default average). Does not affect the average-cost unrealized basis.
|
|
5009
|
+
*/
|
|
5010
|
+
method?: 'FIFO' | 'average';
|
|
5011
|
+
/**
|
|
5012
|
+
* Region code for tenant context
|
|
5013
|
+
*/
|
|
5014
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5015
|
+
};
|
|
5016
|
+
type HoldingPnlControllerGetHoldingPnlResponse = HoldingPnlResponseDto;
|
|
5017
|
+
type PriceControllerCreateData = {
|
|
5018
|
+
/**
|
|
5019
|
+
* Region code for tenant context
|
|
5020
|
+
*/
|
|
5021
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5022
|
+
requestBody: CreateBeanPriceDto;
|
|
5023
|
+
};
|
|
5024
|
+
type PriceControllerCreateResponse = PriceResponseDto;
|
|
5025
|
+
type PriceControllerFindAllData = {
|
|
5026
|
+
/**
|
|
5027
|
+
* Filter by currency (e.g., BTC, AAPL, USD)
|
|
5028
|
+
*/
|
|
5029
|
+
currency?: string;
|
|
5030
|
+
/**
|
|
5031
|
+
* Filter prices from this date (ISO 8601 format)
|
|
5032
|
+
*/
|
|
5033
|
+
dateFrom?: string;
|
|
5034
|
+
/**
|
|
5035
|
+
* Filter prices to this date (ISO 8601 format)
|
|
5036
|
+
*/
|
|
5037
|
+
dateTo?: string;
|
|
5038
|
+
/**
|
|
5039
|
+
* Number of items per page (default: 20, max: 100)
|
|
5040
|
+
*/
|
|
5041
|
+
limit?: number;
|
|
5042
|
+
/**
|
|
5043
|
+
* Page number for pagination (default: 1)
|
|
5044
|
+
*/
|
|
5045
|
+
page?: number;
|
|
5046
|
+
/**
|
|
5047
|
+
* Filter by quote currency (pricing currency, e.g., USD, CNY)
|
|
5048
|
+
*/
|
|
5049
|
+
quoteCurrency?: string;
|
|
5050
|
+
/**
|
|
5051
|
+
* Region code for tenant context
|
|
5052
|
+
*/
|
|
5053
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5054
|
+
/**
|
|
5055
|
+
* Search term for currency or quoteCurrency (case-insensitive partial match)
|
|
5056
|
+
*/
|
|
5057
|
+
search?: string;
|
|
5058
|
+
};
|
|
5059
|
+
type PriceControllerFindAllResponse = PriceListResponseDto;
|
|
5060
|
+
type PriceControllerFindOneData = {
|
|
5061
|
+
/**
|
|
5062
|
+
* Price ID
|
|
5063
|
+
*/
|
|
5064
|
+
id: string;
|
|
5065
|
+
/**
|
|
5066
|
+
* Region code for tenant context
|
|
5067
|
+
*/
|
|
5068
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5069
|
+
};
|
|
5070
|
+
type PriceControllerFindOneResponse = PriceResponseDto;
|
|
5071
|
+
type PriceControllerUpdateData = {
|
|
5072
|
+
/**
|
|
5073
|
+
* Price ID
|
|
5074
|
+
*/
|
|
5075
|
+
id: string;
|
|
5076
|
+
/**
|
|
5077
|
+
* Region code for tenant context
|
|
5078
|
+
*/
|
|
5079
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5080
|
+
requestBody: UpdateBeanPriceDto;
|
|
5081
|
+
};
|
|
5082
|
+
type PriceControllerUpdateResponse = PriceResponseDto;
|
|
5083
|
+
type PriceControllerDeleteData = {
|
|
5084
|
+
/**
|
|
5085
|
+
* Price ID
|
|
5086
|
+
*/
|
|
5087
|
+
id: string;
|
|
5088
|
+
/**
|
|
5089
|
+
* Region code for tenant context
|
|
5090
|
+
*/
|
|
5091
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5092
|
+
};
|
|
5093
|
+
type PriceControllerDeleteResponse = void;
|
|
5094
|
+
type PriceControllerBulkCreateData = {
|
|
5095
|
+
/**
|
|
5096
|
+
* Region code for tenant context
|
|
5097
|
+
*/
|
|
5098
|
+
region: 'cn' | 'us' | 'de' | 'gb';
|
|
5099
|
+
requestBody: Array<string>;
|
|
5100
|
+
};
|
|
5101
|
+
type PriceControllerBulkCreateResponse = Array<PriceResponseDto>;
|
|
5138
5102
|
type ReportingControllerGetPortfolioTrendsData = {
|
|
5139
5103
|
/**
|
|
5140
5104
|
* Data granularity
|
|
@@ -5205,14 +5169,7 @@ type $OpenApiTs = {
|
|
|
5205
5169
|
post: {
|
|
5206
5170
|
req: AccountControllerCreateData;
|
|
5207
5171
|
res: {
|
|
5208
|
-
|
|
5209
|
-
* Account created successfully
|
|
5210
|
-
*/
|
|
5211
|
-
201: AccountResponseDto;
|
|
5212
|
-
/**
|
|
5213
|
-
* Account already exists
|
|
5214
|
-
*/
|
|
5215
|
-
409: unknown;
|
|
5172
|
+
201: unknown;
|
|
5216
5173
|
};
|
|
5217
5174
|
};
|
|
5218
5175
|
get: {
|
|
@@ -5242,31 +5199,13 @@ type $OpenApiTs = {
|
|
|
5242
5199
|
put: {
|
|
5243
5200
|
req: AccountControllerUpdateData;
|
|
5244
5201
|
res: {
|
|
5245
|
-
|
|
5246
|
-
* Account updated successfully
|
|
5247
|
-
*/
|
|
5248
|
-
200: AccountResponseDto;
|
|
5249
|
-
/**
|
|
5250
|
-
* Account not found
|
|
5251
|
-
*/
|
|
5252
|
-
404: unknown;
|
|
5202
|
+
200: unknown;
|
|
5253
5203
|
};
|
|
5254
5204
|
};
|
|
5255
5205
|
delete: {
|
|
5256
5206
|
req: AccountControllerDeleteData;
|
|
5257
5207
|
res: {
|
|
5258
|
-
|
|
5259
|
-
* Account deleted successfully
|
|
5260
|
-
*/
|
|
5261
|
-
204: void;
|
|
5262
|
-
/**
|
|
5263
|
-
* Account not found
|
|
5264
|
-
*/
|
|
5265
|
-
404: unknown;
|
|
5266
|
-
/**
|
|
5267
|
-
* Account has transactions and cannot be deleted
|
|
5268
|
-
*/
|
|
5269
|
-
409: unknown;
|
|
5208
|
+
200: unknown;
|
|
5270
5209
|
};
|
|
5271
5210
|
};
|
|
5272
5211
|
};
|
|
@@ -5274,18 +5213,7 @@ type $OpenApiTs = {
|
|
|
5274
5213
|
post: {
|
|
5275
5214
|
req: AccountControllerCloseData;
|
|
5276
5215
|
res: {
|
|
5277
|
-
|
|
5278
|
-
* Account closed successfully
|
|
5279
|
-
*/
|
|
5280
|
-
200: AccountResponseDto;
|
|
5281
|
-
/**
|
|
5282
|
-
* Account is already closed
|
|
5283
|
-
*/
|
|
5284
|
-
400: unknown;
|
|
5285
|
-
/**
|
|
5286
|
-
* Account not found
|
|
5287
|
-
*/
|
|
5288
|
-
404: unknown;
|
|
5216
|
+
201: unknown;
|
|
5289
5217
|
};
|
|
5290
5218
|
};
|
|
5291
5219
|
};
|
|
@@ -5293,18 +5221,7 @@ type $OpenApiTs = {
|
|
|
5293
5221
|
post: {
|
|
5294
5222
|
req: AccountControllerReopenData;
|
|
5295
5223
|
res: {
|
|
5296
|
-
|
|
5297
|
-
* Account reopened successfully
|
|
5298
|
-
*/
|
|
5299
|
-
200: AccountResponseDto;
|
|
5300
|
-
/**
|
|
5301
|
-
* Account is not closed
|
|
5302
|
-
*/
|
|
5303
|
-
400: unknown;
|
|
5304
|
-
/**
|
|
5305
|
-
* Account not found
|
|
5306
|
-
*/
|
|
5307
|
-
404: unknown;
|
|
5224
|
+
201: unknown;
|
|
5308
5225
|
};
|
|
5309
5226
|
};
|
|
5310
5227
|
};
|
|
@@ -6640,22 +6557,7 @@ type $OpenApiTs = {
|
|
|
6640
6557
|
post: {
|
|
6641
6558
|
req: FileImportControllerImportBeancountData;
|
|
6642
6559
|
res: {
|
|
6643
|
-
|
|
6644
|
-
* Beancount file imported successfully
|
|
6645
|
-
*/
|
|
6646
|
-
200: {
|
|
6647
|
-
imported?: number;
|
|
6648
|
-
skipped?: number;
|
|
6649
|
-
failed?: number;
|
|
6650
|
-
accountsCreated?: number;
|
|
6651
|
-
errors?: Array<{
|
|
6652
|
-
[key: string]: unknown;
|
|
6653
|
-
}>;
|
|
6654
|
-
};
|
|
6655
|
-
/**
|
|
6656
|
-
* Bad request - invalid file or no file uploaded
|
|
6657
|
-
*/
|
|
6658
|
-
400: ApiProblemResponseDto;
|
|
6560
|
+
201: unknown;
|
|
6659
6561
|
};
|
|
6660
6562
|
};
|
|
6661
6563
|
};
|
|
@@ -6786,22 +6688,7 @@ type $OpenApiTs = {
|
|
|
6786
6688
|
post: {
|
|
6787
6689
|
req: ProviderSyncControllerSyncData;
|
|
6788
6690
|
res: {
|
|
6789
|
-
|
|
6790
|
-
* Sync completed successfully
|
|
6791
|
-
*/
|
|
6792
|
-
200: ProviderSyncResponseDto;
|
|
6793
|
-
/**
|
|
6794
|
-
* Invalid request data
|
|
6795
|
-
*/
|
|
6796
|
-
400: unknown;
|
|
6797
|
-
/**
|
|
6798
|
-
* Missing or invalid authentication
|
|
6799
|
-
*/
|
|
6800
|
-
401: unknown;
|
|
6801
|
-
/**
|
|
6802
|
-
* Provider not supported
|
|
6803
|
-
*/
|
|
6804
|
-
404: unknown;
|
|
6691
|
+
201: unknown;
|
|
6805
6692
|
};
|
|
6806
6693
|
};
|
|
6807
6694
|
};
|
|
@@ -6850,18 +6737,14 @@ type $OpenApiTs = {
|
|
|
6850
6737
|
};
|
|
6851
6738
|
};
|
|
6852
6739
|
};
|
|
6853
|
-
'/api/v1/{region}/bean/
|
|
6740
|
+
'/api/v1/{region}/bean/import/parser-coverage-miss': {
|
|
6854
6741
|
post: {
|
|
6855
|
-
req:
|
|
6742
|
+
req: TelemetryControllerReportCoverageMissData;
|
|
6856
6743
|
res: {
|
|
6857
6744
|
/**
|
|
6858
|
-
*
|
|
6859
|
-
*/
|
|
6860
|
-
200: NlpResponseDto;
|
|
6861
|
-
/**
|
|
6862
|
-
* Invalid input
|
|
6745
|
+
* Coverage miss report received
|
|
6863
6746
|
*/
|
|
6864
|
-
|
|
6747
|
+
200: unknown;
|
|
6865
6748
|
/**
|
|
6866
6749
|
* Unauthorized
|
|
6867
6750
|
*/
|
|
@@ -6869,6 +6752,25 @@ type $OpenApiTs = {
|
|
|
6869
6752
|
};
|
|
6870
6753
|
};
|
|
6871
6754
|
};
|
|
6755
|
+
'/api/v1/{region}/bean/import/parser-coverage-metrics': {
|
|
6756
|
+
get: {
|
|
6757
|
+
req: TelemetryControllerGetCoverageMetricsData;
|
|
6758
|
+
res: {
|
|
6759
|
+
/**
|
|
6760
|
+
* Coverage metrics
|
|
6761
|
+
*/
|
|
6762
|
+
200: unknown;
|
|
6763
|
+
};
|
|
6764
|
+
};
|
|
6765
|
+
};
|
|
6766
|
+
'/api/v1/{region}/bean/nlp/process': {
|
|
6767
|
+
post: {
|
|
6768
|
+
req: NlpControllerProcessNaturalLanguageData;
|
|
6769
|
+
res: {
|
|
6770
|
+
201: unknown;
|
|
6771
|
+
};
|
|
6772
|
+
};
|
|
6773
|
+
};
|
|
6872
6774
|
'/api/v1/{region}/bean/nlp/session': {
|
|
6873
6775
|
delete: {
|
|
6874
6776
|
req: NlpControllerClearSessionData;
|
|
@@ -6919,7 +6821,7 @@ type $OpenApiTs = {
|
|
|
6919
6821
|
/**
|
|
6920
6822
|
* Accounts retrieved successfully. Response type depends on groupBy parameter.
|
|
6921
6823
|
*/
|
|
6922
|
-
200: AccountsResponseDto | AssetClassAccountsResponseDto;
|
|
6824
|
+
200: AccountsResponseDto | AssetClassAccountsResponseDto | HoldingAssetClassCrossAccountResponseDto;
|
|
6923
6825
|
/**
|
|
6924
6826
|
* User not authenticated
|
|
6925
6827
|
*/
|
|
@@ -6946,6 +6848,109 @@ type $OpenApiTs = {
|
|
|
6946
6848
|
};
|
|
6947
6849
|
};
|
|
6948
6850
|
};
|
|
6851
|
+
'/api/v1/{region}/investment/holdings/pnl': {
|
|
6852
|
+
get: {
|
|
6853
|
+
req: HoldingPnlControllerGetHoldingPnlData;
|
|
6854
|
+
res: {
|
|
6855
|
+
/**
|
|
6856
|
+
* Holding P&L retrieved successfully
|
|
6857
|
+
*/
|
|
6858
|
+
200: HoldingPnlResponseDto;
|
|
6859
|
+
/**
|
|
6860
|
+
* Invalid asOf format/value/future date, invalid accountId format, or unsupported method
|
|
6861
|
+
*/
|
|
6862
|
+
400: unknown;
|
|
6863
|
+
/**
|
|
6864
|
+
* User not authenticated
|
|
6865
|
+
*/
|
|
6866
|
+
401: unknown;
|
|
6867
|
+
};
|
|
6868
|
+
};
|
|
6869
|
+
};
|
|
6870
|
+
'/api/v1/{region}/bean/prices': {
|
|
6871
|
+
post: {
|
|
6872
|
+
req: PriceControllerCreateData;
|
|
6873
|
+
res: {
|
|
6874
|
+
/**
|
|
6875
|
+
* Price created successfully
|
|
6876
|
+
*/
|
|
6877
|
+
201: PriceResponseDto;
|
|
6878
|
+
/**
|
|
6879
|
+
* Currency or quoteCurrency commodity not found
|
|
6880
|
+
*/
|
|
6881
|
+
404: unknown;
|
|
6882
|
+
/**
|
|
6883
|
+
* Price already exists for this currency pair and date
|
|
6884
|
+
*/
|
|
6885
|
+
409: unknown;
|
|
6886
|
+
};
|
|
6887
|
+
};
|
|
6888
|
+
get: {
|
|
6889
|
+
req: PriceControllerFindAllData;
|
|
6890
|
+
res: {
|
|
6891
|
+
/**
|
|
6892
|
+
* Prices retrieved successfully
|
|
6893
|
+
*/
|
|
6894
|
+
200: PriceListResponseDto;
|
|
6895
|
+
};
|
|
6896
|
+
};
|
|
6897
|
+
};
|
|
6898
|
+
'/api/v1/{region}/bean/prices/{id}': {
|
|
6899
|
+
get: {
|
|
6900
|
+
req: PriceControllerFindOneData;
|
|
6901
|
+
res: {
|
|
6902
|
+
/**
|
|
6903
|
+
* Price retrieved successfully
|
|
6904
|
+
*/
|
|
6905
|
+
200: PriceResponseDto;
|
|
6906
|
+
/**
|
|
6907
|
+
* Price not found
|
|
6908
|
+
*/
|
|
6909
|
+
404: unknown;
|
|
6910
|
+
};
|
|
6911
|
+
};
|
|
6912
|
+
put: {
|
|
6913
|
+
req: PriceControllerUpdateData;
|
|
6914
|
+
res: {
|
|
6915
|
+
/**
|
|
6916
|
+
* Price updated successfully
|
|
6917
|
+
*/
|
|
6918
|
+
200: PriceResponseDto;
|
|
6919
|
+
/**
|
|
6920
|
+
* Price not found
|
|
6921
|
+
*/
|
|
6922
|
+
404: unknown;
|
|
6923
|
+
/**
|
|
6924
|
+
* Updated price conflicts with existing price
|
|
6925
|
+
*/
|
|
6926
|
+
409: unknown;
|
|
6927
|
+
};
|
|
6928
|
+
};
|
|
6929
|
+
delete: {
|
|
6930
|
+
req: PriceControllerDeleteData;
|
|
6931
|
+
res: {
|
|
6932
|
+
/**
|
|
6933
|
+
* Price deleted successfully
|
|
6934
|
+
*/
|
|
6935
|
+
204: void;
|
|
6936
|
+
/**
|
|
6937
|
+
* Price not found
|
|
6938
|
+
*/
|
|
6939
|
+
404: unknown;
|
|
6940
|
+
};
|
|
6941
|
+
};
|
|
6942
|
+
};
|
|
6943
|
+
'/api/v1/{region}/bean/prices/bulk': {
|
|
6944
|
+
post: {
|
|
6945
|
+
req: PriceControllerBulkCreateData;
|
|
6946
|
+
res: {
|
|
6947
|
+
/**
|
|
6948
|
+
* Prices created successfully
|
|
6949
|
+
*/
|
|
6950
|
+
201: Array<PriceResponseDto>;
|
|
6951
|
+
};
|
|
6952
|
+
};
|
|
6953
|
+
};
|
|
6949
6954
|
'/api/v1/{region}/reporting/portfolio/trends': {
|
|
6950
6955
|
get: {
|
|
6951
6956
|
req: ReportingControllerGetPortfolioTrendsData;
|
|
@@ -7175,12 +7180,10 @@ type $OpenApiTs = {
|
|
|
7175
7180
|
|
|
7176
7181
|
declare class BeanAccountsService {
|
|
7177
7182
|
/**
|
|
7178
|
-
* Create a new account
|
|
7179
|
-
* Creates a new account (Beancount Open directive)
|
|
7180
7183
|
* @param data The data for the request.
|
|
7181
7184
|
* @param data.region Region code for tenant context
|
|
7182
7185
|
* @param data.requestBody
|
|
7183
|
-
* @returns
|
|
7186
|
+
* @returns unknown
|
|
7184
7187
|
* @throws ApiError
|
|
7185
7188
|
*/
|
|
7186
7189
|
static accountControllerCreate(data: AccountControllerCreateData): CancelablePromise<AccountControllerCreateResponse>;
|
|
@@ -7210,45 +7213,37 @@ declare class BeanAccountsService {
|
|
|
7210
7213
|
*/
|
|
7211
7214
|
static accountControllerFindOne(data: AccountControllerFindOneData): CancelablePromise<AccountControllerFindOneResponse>;
|
|
7212
7215
|
/**
|
|
7213
|
-
* Update account
|
|
7214
|
-
* Updates account metadata (path cannot be changed)
|
|
7215
7216
|
* @param data The data for the request.
|
|
7216
|
-
* @param data.id
|
|
7217
|
+
* @param data.id
|
|
7217
7218
|
* @param data.region Region code for tenant context
|
|
7218
7219
|
* @param data.requestBody
|
|
7219
|
-
* @returns
|
|
7220
|
+
* @returns unknown
|
|
7220
7221
|
* @throws ApiError
|
|
7221
7222
|
*/
|
|
7222
7223
|
static accountControllerUpdate(data: AccountControllerUpdateData): CancelablePromise<AccountControllerUpdateResponse>;
|
|
7223
7224
|
/**
|
|
7224
|
-
* Delete account
|
|
7225
|
-
* Deletes an account (only if no transactions)
|
|
7226
7225
|
* @param data The data for the request.
|
|
7227
|
-
* @param data.id
|
|
7226
|
+
* @param data.id
|
|
7228
7227
|
* @param data.region Region code for tenant context
|
|
7229
|
-
* @returns
|
|
7228
|
+
* @returns unknown
|
|
7230
7229
|
* @throws ApiError
|
|
7231
7230
|
*/
|
|
7232
7231
|
static accountControllerDelete(data: AccountControllerDeleteData): CancelablePromise<AccountControllerDeleteResponse>;
|
|
7233
7232
|
/**
|
|
7234
|
-
* Close account
|
|
7235
|
-
* Closes an account (Beancount Close directive)
|
|
7236
7233
|
* @param data The data for the request.
|
|
7237
|
-
* @param data.id
|
|
7234
|
+
* @param data.id
|
|
7238
7235
|
* @param data.region Region code for tenant context
|
|
7239
7236
|
* @param data.requestBody
|
|
7240
|
-
* @returns
|
|
7237
|
+
* @returns unknown
|
|
7241
7238
|
* @throws ApiError
|
|
7242
7239
|
*/
|
|
7243
7240
|
static accountControllerClose(data: AccountControllerCloseData): CancelablePromise<AccountControllerCloseResponse>;
|
|
7244
7241
|
/**
|
|
7245
|
-
* Reopen account
|
|
7246
|
-
* Reopens a previously closed account
|
|
7247
7242
|
* @param data The data for the request.
|
|
7248
|
-
* @param data.id
|
|
7243
|
+
* @param data.id
|
|
7249
7244
|
* @param data.region Region code for tenant context
|
|
7250
7245
|
* @param data.requestBody
|
|
7251
|
-
* @returns
|
|
7246
|
+
* @returns unknown
|
|
7252
7247
|
* @throws ApiError
|
|
7253
7248
|
*/
|
|
7254
7249
|
static accountControllerReopen(data: AccountControllerReopenData): CancelablePromise<AccountControllerReopenResponse>;
|
|
@@ -7445,33 +7440,11 @@ declare class BeanCommoditiesService {
|
|
|
7445
7440
|
}
|
|
7446
7441
|
declare class ProviderSyncService {
|
|
7447
7442
|
/**
|
|
7448
|
-
* Sync transactions from financial data provider
|
|
7449
|
-
*
|
|
7450
|
-
* Accepts raw transactions from external financial data providers, transforms them to Beancount format, and processes them through the ingestion pipeline.
|
|
7451
|
-
*
|
|
7452
|
-
* **Supported Providers:**
|
|
7453
|
-
* - **plaid**: Plaid API (US, Canada, Europe)
|
|
7454
|
-
* - **teller**: Teller API (US)
|
|
7455
|
-
* - **truelayer**: TrueLayer Open Banking (UK, Europe)
|
|
7456
|
-
* - **gocardless**: GoCardless Bank Account Data (Europe)
|
|
7457
|
-
* - **simplefin**: SimpleFIN (Self-hosted)
|
|
7458
|
-
* - **yodlee**: Yodlee (Global)
|
|
7459
|
-
* - **beancount-direct**: Beancount format transactions
|
|
7460
|
-
* - **parsed-bill**: Client-side parsed bill transactions
|
|
7461
|
-
*
|
|
7462
|
-
* **Processing Flow:**
|
|
7463
|
-
* 1. Transform raw data via provider adapter
|
|
7464
|
-
* 2. Validate transaction format
|
|
7465
|
-
* 3. Deduplicate using originalId
|
|
7466
|
-
* 4. Classify using rule engine
|
|
7467
|
-
* 5. Route low-confidence to Review Center
|
|
7468
|
-
* 6. Persist validated transactions
|
|
7469
|
-
*
|
|
7470
7443
|
* @param data The data for the request.
|
|
7471
|
-
* @param data.providerName
|
|
7472
|
-
* @param data.region Region code
|
|
7444
|
+
* @param data.providerName
|
|
7445
|
+
* @param data.region Region code for tenant context
|
|
7473
7446
|
* @param data.requestBody
|
|
7474
|
-
* @returns
|
|
7447
|
+
* @returns unknown
|
|
7475
7448
|
* @throws ApiError
|
|
7476
7449
|
*/
|
|
7477
7450
|
static providerSyncControllerSync(data: ProviderSyncControllerSyncData): CancelablePromise<ProviderSyncControllerSyncResponse>;
|
|
@@ -7582,4 +7555,4 @@ type OpenAPIConfig = {
|
|
|
7582
7555
|
};
|
|
7583
7556
|
declare const OpenAPI: OpenAPIConfig;
|
|
7584
7557
|
|
|
7585
|
-
export { type $OpenApiTs, type AccountControllerCloseData, type AccountControllerCloseResponse, type AccountControllerCreateData, type AccountControllerCreateResponse, type AccountControllerDeleteData, type AccountControllerDeleteResponse, type AccountControllerFindAllData, type AccountControllerFindAllResponse, type AccountControllerFindOneData, type AccountControllerFindOneResponse, type AccountControllerReopenData, type AccountControllerReopenResponse, type AccountControllerUpdateData, type AccountControllerUpdateResponse, type AccountExchangeRateWarningDto, type AccountItemDto, type AccountItemWithAssetClassDto, type AccountListResponseDto, type AccountResponseDto, type AccountStandardListResponseDto, type AccountStandardResponseDto, type AccountStandardsControllerGetRegionsData, type AccountStandardsControllerGetRegionsResponse, type AccountStandardsControllerGetTemplateMetadataData, type AccountStandardsControllerGetTemplateMetadataResponse, type AccountStandardsControllerGetTemplatesData, type AccountStandardsControllerGetTemplatesResponse, type AccountsResponseDto, type AccountsSummaryDto, type AmountRangeDto, type AnonymousLoginDto, type ApiKeysControllerCreateApiKeyResponse, type ApiProblemResponseDto, type AssetClassAccountsResponseDto, type AssetClassGroupDto, type AssetClassSummaryDto, type AuthControllerAccessTokenLoginData, type AuthControllerAccessTokenLoginResponse, type BackfillSnapshotsBody, type BackfillSnapshotsResponse, type BalanceByCurrencyDto, type BalanceControllerGetBalanceData, type BalanceControllerGetBalanceResponse, type BalanceControllerGetMultiCurrencyBalanceData, type BalanceControllerGetMultiCurrencyBalanceResponse, type BalanceResponseDto, type BatchCreateTransactionDto, type BatchResolveDto, type BatchResolveResultDto, type BatchTransactionErrorDto, type BatchTransactionResponseDto, BeanAccountsService, BeanBalancesService, BeanCommoditiesService, BeanTransactionsService, type BulkCreateRulesDto, type BulkCreateRulesResponseDto, type CacheControllerFlushCacheResponse, type CashFlowByCurrencyDto, type CashFlowResponseDto, type CloseAccountDto, type CommodityControllerBulkCreateData, type CommodityControllerBulkCreateResponse, type CommodityControllerCreateData, type CommodityControllerCreateResponse, type CommodityControllerDeleteData, type CommodityControllerDeleteResponse, type CommodityControllerFindAllData, type CommodityControllerFindAllResponse, type CommodityControllerFindOneData, type CommodityControllerFindOneResponse, type CommodityControllerGetOrCreateData, type CommodityControllerGetOrCreateResponse, type CommodityControllerUpdateData, type CommodityControllerUpdateResponse, type CommodityListResponseDto, type CommodityResponseDto, type ConfirmMatchDto, type ConvertedCashFlowDto, type ConvertedNetWorthDto, type CorrectTransactionDto, type CreateAccountDto, type CreateCommodityDto, type CreatePayeeDto, type CreatePayeeProfileDto, type CreatePlatformDto, type CreatePostingDto, type CreateRecurringRuleDto, type CreateRuleFromTransactionDto, type CreateTransactionDto, type CreateTransactionRuleDto, type CurrencyBalanceDto, type DashboardControllerGetAccountsData, type DashboardControllerGetAccountsResponse, type DashboardControllerGetCashFlowData, type DashboardControllerGetCashFlowResponse, type DashboardControllerGetNetWorthData, type DashboardControllerGetNetWorthResponse, type DecisionOptionDto, type DeleteOwnUserDto, type EnterNowDto, type ExchangeRateControllerGetExchangeRateData, type ExchangeRateControllerGetExchangeRateResponse, type ExchangeRateWarningDto, type ExpectedTransactionControllerConfirmMatchData, type ExpectedTransactionControllerConfirmMatchResponse, type ExpectedTransactionControllerEnterNowData, type ExpectedTransactionControllerEnterNowResponse, type ExpectedTransactionControllerFindAllData, type ExpectedTransactionControllerFindAllResponse, type ExpectedTransactionControllerFindOneData, type ExpectedTransactionControllerFindOneResponse, type ExpectedTransactionControllerFindOverdueData, type ExpectedTransactionControllerFindOverdueResponse, type ExpectedTransactionControllerSkipData, type ExpectedTransactionControllerSkipResponse, type ExpectedTransactionControllerUndoSkipData, type ExpectedTransactionControllerUndoSkipResponse, type ExpectedTransactionControllerUnmatchData, type ExpectedTransactionControllerUnmatchResponse, type ExpectedTransactionListResponseDto, type ExpectedTransactionResponseDto, type ExpectedTransactionRuleDto, type ExportControllerExportBeancountResponse, type ExportRulesResponseDto, type FileImportControllerIdentifyFileData, type FileImportControllerIdentifyFileResponse, type FileImportControllerImportBeancountData, type FileImportControllerImportBeancountResponse, type FileImportControllerImportFileData, type FileImportControllerImportFileResponse, type FileImportDto, type ForecastControllerGetForecastData, type ForecastControllerGetForecastResponse, type ForecastItemDto, type ForecastResponseDto, type GenerateSnapshotBody, type GenerateSnapshotResponse, type HealthControllerCheckDatabaseResponse, type HealthControllerCheckOpenBbResponse, type HealthControllerCheckRedisResponse, type HealthControllerGetCircuitBreakersHealthResponse, type HealthControllerGetHealthResponse, type HealthControllerGetMetricsResponse, type HealthControllerResetCircuitBreakerData, type HealthControllerResetCircuitBreakerResponse, HealthService, type IdentifyResultDto, type ImportErrorDto, type ImportResultDto, type ImporterConfigControllerGetConfigData, type ImporterConfigControllerGetConfigResponse, type ImporterConfigControllerResetConfigData, type ImporterConfigControllerResetConfigResponse, type ImporterConfigControllerUpdateConfigData, type ImporterConfigControllerUpdateConfigResponse, type ImporterConfigDataDto, type ImporterConfigDto, type InfoControllerGetInfoResponse, type MapperDefaultsDto, type MonthlyForecastDto, type MultiCurrencyBalanceResponseDto, type MultiCurrencyPointDto, type NetWorthByCurrencyDto, type NetWorthResponseDto, type NlpAccountConfirmationDataDto, type NlpAlternativePayeeDto, type NlpControllerClearSessionData, type NlpControllerClearSessionResponse, type NlpControllerGetSessionData, type NlpControllerGetSessionResponse, type NlpControllerProcessNaturalLanguageData, type NlpControllerProcessNaturalLanguageResponse, type NlpDefaultAccountsDto, type NlpDuplicateConfirmationDataDto, type NlpParsedDataDto, type NlpPayeeConfirmationDataDto, type NlpResponseDto, type NlpRuleConfirmationDataDto, type NlpSimilarityDto, type NlpSourceTransactionDto, type NlpSuggestedAccountDto, type NlpSuggestedAccountsDto, type NlpSuggestedPayeeDto, type NlpTargetTransactionDto, type NlpTransactionInfoDto, OpenAPI, type OpenAPIConfig, type ParserTelemetryReportDto, type PayeeAutocompleteResponseDto, type PayeeControllerAutocompleteData, type PayeeControllerAutocompleteResponse, type PayeeControllerCreateData, type PayeeControllerCreateResponse, type PayeeControllerDeleteData, type PayeeControllerDeleteResponse, type PayeeControllerFindAllData, type PayeeControllerFindAllResponse, type PayeeControllerFindOneData, type PayeeControllerFindOneResponse, type PayeeControllerGetTopPayeesData, type PayeeControllerGetTopPayeesResponse, type PayeeControllerUpdateData, type PayeeControllerUpdateResponse, type PayeeListResponseDto, type PayeeProfileAdminControllerCreateData, type PayeeProfileAdminControllerCreateResponse, type PayeeProfileAdminControllerDeleteData, type PayeeProfileAdminControllerDeleteResponse, type PayeeProfileAdminControllerFindAllData, type PayeeProfileAdminControllerFindAllResponse, type PayeeProfileAdminControllerFindOneData, type PayeeProfileAdminControllerFindOneResponse, type PayeeProfileAdminControllerUnverifyData, type PayeeProfileAdminControllerUnverifyResponse, type PayeeProfileAdminControllerUpdateData, type PayeeProfileAdminControllerUpdateResponse, type PayeeProfileAdminControllerVerifyData, type PayeeProfileAdminControllerVerifyResponse, type PayeeProfileListResponseDto, type PayeeProfileResponseDto, type PayeeResponseDto, type PayeeStatsResponseDto, type PlatformControllerCreateData, type PlatformControllerCreateResponse, type PlatformControllerDeleteData, type PlatformControllerDeleteResponse, type PlatformControllerFindAllResponse, type PlatformControllerGetPlatformListResponse, type PlatformControllerMatchPlatformsData, type PlatformControllerMatchPlatformsResponse, type PlatformControllerUpdateData, type PlatformControllerUpdateResponse, type PlatformGroupDto, type PortfolioTrendsResponseDto, type PostingDetailDto, type PostingResponseDto, type ProcessNlpDto, type PropertyControllerDeleteData, type PropertyControllerDeleteResponse, type PropertyControllerGetAllResponse, type PropertyControllerGetByKeyData, type PropertyControllerGetByKeyResponse, type PropertyControllerUpdateData, type PropertyControllerUpdateResponse, type ProviderSyncConfigDto, type ProviderSyncControllerGetSupportedProvidersData, type ProviderSyncControllerGetSupportedProvidersResponse, type ProviderSyncControllerIsProviderSupportedData, type ProviderSyncControllerIsProviderSupportedResponse, type ProviderSyncControllerSyncData, type ProviderSyncControllerSyncResponse, type ProviderSyncDto, type ProviderSyncResponseDto, ProviderSyncService, type RecurringMatchInfoDto, type RecurringRuleControllerCreateData, type RecurringRuleControllerCreateFromTransactionData, type RecurringRuleControllerCreateFromTransactionResponse, type RecurringRuleControllerCreateResponse, type RecurringRuleControllerDeleteData, type RecurringRuleControllerDeleteResponse, type RecurringRuleControllerFindAllData, type RecurringRuleControllerFindAllResponse, type RecurringRuleControllerFindOneData, type RecurringRuleControllerFindOneResponse, type RecurringRuleControllerGetWithStatsData, type RecurringRuleControllerGetWithStatsResponse, type RecurringRuleControllerUpdateData, type RecurringRuleControllerUpdateResponse, type RecurringRuleResponseDto, type RecurringRuleWithStatsResponseDto, type RecurringSuggestionDto, type RegionConfigDto, type RegionInfoDto, type RegionsMetadataResponseDto, type ReopenAccountDto, type ReportingControllerBackfillSnapshotsData, type ReportingControllerBackfillSnapshotsResponse, type ReportingControllerGenerateSnapshotData, type ReportingControllerGenerateSnapshotResponse, type ReportingControllerGetPortfolioTrendsData, type ReportingControllerGetPortfolioTrendsResponse, type ResolveResultDto, type ResolveReviewDto, type ReviewControllerBatchResolveData, type ReviewControllerBatchResolveResponse, type ReviewControllerFindAllData, type ReviewControllerFindAllResponse, type ReviewControllerFindOneData, type ReviewControllerFindOneResponse, type ReviewControllerGetStatsData, type ReviewControllerGetStatsResponse, type ReviewControllerResolveData, type ReviewControllerResolveResponse, type ReviewControllerUndoData, type ReviewControllerUndoResponse, type ReviewDetailDto, type ReviewItemPreviewDto, type ReviewListResponseDto, type ReviewStatsDto, type ReviewSummaryDto, type RuleStatisticsResponseDto, type SignupDto, type SupportedProvidersResponseDto, type TagSuggestionDto, type TagSuggestionsResponseDto, type TelemetryControllerReportTelemetryData, type TelemetryControllerReportTelemetryResponse, type TemplateMetadataDto, type TemplateMetadataResponseDto, type TestRuleDto, type TestRuleResponseDto, type TimeSeriesPointDto, type TransactionControllerCorrectData, type TransactionControllerCorrectResponse, type TransactionControllerCreateBatchData, type TransactionControllerCreateBatchResponse, type TransactionControllerCreateData, type TransactionControllerCreateResponse, type TransactionControllerDeleteData, type TransactionControllerDeleteResponse, type TransactionControllerGetDetailData, type TransactionControllerGetDetailResponse, type TransactionControllerListData, type TransactionControllerListResponse, type TransactionControllerSuggestTagsData, type TransactionControllerSuggestTagsResponse, type TransactionControllerUpdateData, type TransactionControllerUpdateResponse, type TransactionDetailDto, type TransactionListResponseDto, type TransactionResponseDto, type TransactionRuleControllerBulkCreateData, type TransactionRuleControllerBulkCreateResponse, type TransactionRuleControllerCreateData, type TransactionRuleControllerCreateResponse, type TransactionRuleControllerDeleteData, type TransactionRuleControllerDeleteResponse, type TransactionRuleControllerExportData, type TransactionRuleControllerExportResponse, type TransactionRuleControllerGetDetailData, type TransactionRuleControllerGetDetailResponse, type TransactionRuleControllerGetStatisticsData, type TransactionRuleControllerGetStatisticsResponse, type TransactionRuleControllerListData, type TransactionRuleControllerListResponse, type TransactionRuleControllerTestData, type TransactionRuleControllerTestResponse, type TransactionRuleControllerUpdateData, type TransactionRuleControllerUpdateResponse, type TransactionRuleControllerValidateData, type TransactionRuleControllerValidateResponse, type TransactionRuleListResponseDto, type TransactionRuleResponseDto, type TransactionSummaryDto, type TrendSummaryDto, type UndoResultDto, type UpdateAccountDto, type UpdateCommodityDto, type UpdateConfigDataDto, type UpdateImporterConfigDto, type UpdateMapperDefaultsDto, type UpdatePayeeDto, type UpdatePayeeProfileDto, type UpdatePlatformDto, type UpdatePropertyDto, type UpdateRecurringRuleDto, type UpdateTransactionDto, type UpdateTransactionRuleDto, type UpdateUserSettingDto, type UserControllerDeleteOwnUserData, type UserControllerDeleteOwnUserResponse, type UserControllerDeleteUserData, type UserControllerDeleteUserResponse, type UserControllerGetAllUserSettingsByPageData, type UserControllerGetAllUserSettingsByPageResponse, type UserControllerGetAssetLiabilitySummaryResponse, type UserControllerGetUserData, type UserControllerGetUserInfoData, type UserControllerGetUserInfoResponse, type UserControllerGetUserResponse, type UserControllerSignupUserData, type UserControllerSignupUserResponse, type UserControllerUpdateUserSettingData, type UserControllerUpdateUserSettingResponse, type ValidateRuleDto, type ValidateRuleResponseDto, type VersionedConfigDto, type action, type action2, type assetClass, type assetSubType, type bookingMethod, type branchType, type category, type colorScheme, type confidenceLevel, type conflictStrategy, type dataSource, type equitySubType, type flag, type flag2, type frequency, type importerId, type intent, type investmentAction, type learningSource, type liabilitySubType, type matchLogic, type paymentSource, type period, type source, type status, type status2, type status3, type status4, type suggestedFrequency, type type, type type2, type type3, type value, type viewMode };
|
|
7558
|
+
export { type $OpenApiTs, type AccountControllerCloseData, type AccountControllerCloseResponse, type AccountControllerCreateData, type AccountControllerCreateResponse, type AccountControllerDeleteData, type AccountControllerDeleteResponse, type AccountControllerFindAllData, type AccountControllerFindAllResponse, type AccountControllerFindOneData, type AccountControllerFindOneResponse, type AccountControllerReopenData, type AccountControllerReopenResponse, type AccountControllerUpdateData, type AccountControllerUpdateResponse, type AccountExchangeRateWarningDto, type AccountItemDto, type AccountItemWithAssetClassDto, type AccountListResponseDto, type AccountResponseDto, type AccountStandardListResponseDto, type AccountStandardResponseDto, type AccountStandardsControllerGetRegionsData, type AccountStandardsControllerGetRegionsResponse, type AccountStandardsControllerGetTemplateMetadataData, type AccountStandardsControllerGetTemplateMetadataResponse, type AccountStandardsControllerGetTemplatesData, type AccountStandardsControllerGetTemplatesResponse, type AccountsResponseDto, type AccountsSummaryDto, type AmountDto, type AmountRangeDto, type AnonymousLoginDto, type ApiKeysControllerCreateApiKeyResponse, type ApiProblemResponseDto, type AssetClassAccountsResponseDto, type AssetClassGroupDto, type AssetClassSummaryDto, type AuthControllerAccessTokenLoginData, type AuthControllerAccessTokenLoginResponse, type BackfillSnapshotsBody, type BackfillSnapshotsResponse, type BalanceByCurrencyDto, type BalanceControllerGetBalanceData, type BalanceControllerGetBalanceResponse, type BalanceControllerGetMultiCurrencyBalanceData, type BalanceControllerGetMultiCurrencyBalanceResponse, type BalanceResponseDto, type BatchCreateTransactionDto, type BatchResolveDto, type BatchResolveResultDto, type BatchTransactionErrorDto, type BatchTransactionResponseDto, BeanAccountsService, BeanBalancesService, BeanCommoditiesService, BeanTransactionsService, type BulkCreateRulesDto, type BulkCreateRulesResponseDto, type CacheControllerFlushCacheResponse, type CashFlowByCurrencyDto, type CashFlowResponseDto, type CloseAccountDto, type CommodityControllerBulkCreateData, type CommodityControllerBulkCreateResponse, type CommodityControllerCreateData, type CommodityControllerCreateResponse, type CommodityControllerDeleteData, type CommodityControllerDeleteResponse, type CommodityControllerFindAllData, type CommodityControllerFindAllResponse, type CommodityControllerFindOneData, type CommodityControllerFindOneResponse, type CommodityControllerGetOrCreateData, type CommodityControllerGetOrCreateResponse, type CommodityControllerUpdateData, type CommodityControllerUpdateResponse, type CommodityListResponseDto, type CommodityResponseDto, type ConfirmMatchDto, type ConvertedCashFlowDto, type ConvertedNetWorthDto, type CorrectTransactionDto, type CostDetailDto, type CostSpecDto, type CreateAccountDto, type CreateBeanPriceDto, type CreateCommodityDto, type CreatePayeeDto, type CreatePayeeProfileDto, type CreatePlatformDto, type CreatePostingDto, type CreateRecurringRuleDto, type CreateRuleFromTransactionDto, type CreateTransactionDto, type CreateTransactionRuleDto, type CurrencyBalanceDto, type CurrentPriceDto, type DashboardControllerGetAccountsData, type DashboardControllerGetAccountsResponse, type DashboardControllerGetCashFlowData, type DashboardControllerGetCashFlowResponse, type DashboardControllerGetNetWorthData, type DashboardControllerGetNetWorthResponse, type DecisionOptionDto, type DeleteOwnUserDto, type EnterNowDto, type ExchangeRateControllerGetExchangeRateData, type ExchangeRateControllerGetExchangeRateResponse, type ExchangeRateWarningDto, type ExpectedTransactionControllerConfirmMatchData, type ExpectedTransactionControllerConfirmMatchResponse, type ExpectedTransactionControllerEnterNowData, type ExpectedTransactionControllerEnterNowResponse, type ExpectedTransactionControllerFindAllData, type ExpectedTransactionControllerFindAllResponse, type ExpectedTransactionControllerFindOneData, type ExpectedTransactionControllerFindOneResponse, type ExpectedTransactionControllerFindOverdueData, type ExpectedTransactionControllerFindOverdueResponse, type ExpectedTransactionControllerSkipData, type ExpectedTransactionControllerSkipResponse, type ExpectedTransactionControllerUndoSkipData, type ExpectedTransactionControllerUndoSkipResponse, type ExpectedTransactionControllerUnmatchData, type ExpectedTransactionControllerUnmatchResponse, type ExpectedTransactionListResponseDto, type ExpectedTransactionResponseDto, type ExpectedTransactionRuleDto, type ExportControllerExportBeancountResponse, type ExportRulesResponseDto, type FileImportControllerIdentifyFileData, type FileImportControllerIdentifyFileResponse, type FileImportControllerImportBeancountData, type FileImportControllerImportBeancountResponse, type FileImportControllerImportFileData, type FileImportControllerImportFileResponse, type FileImportDto, type ForecastControllerGetForecastData, type ForecastControllerGetForecastResponse, type ForecastItemDto, type ForecastResponseDto, type FxRateDto, type GenerateSnapshotBody, type GenerateSnapshotResponse, type HealthControllerCheckDatabaseResponse, type HealthControllerCheckOpenBbResponse, type HealthControllerCheckRedisResponse, type HealthControllerGetCircuitBreakersHealthResponse, type HealthControllerGetHealthResponse, type HealthControllerGetMetricsResponse, type HealthControllerResetCircuitBreakerData, type HealthControllerResetCircuitBreakerResponse, HealthService, type HoldingAssetClassAccountSliceDto, type HoldingAssetClassCrossAccountResponseDto, type HoldingPnlControllerGetHoldingPnlData, type HoldingPnlControllerGetHoldingPnlResponse, type HoldingPnlResponseDto, type HoldingPnlRowDto, type HoldingPnlWarningDto, type IdentifyResultDto, type ImportErrorDto, type ImportResultDto, type ImporterConfigControllerGetConfigData, type ImporterConfigControllerGetConfigResponse, type ImporterConfigControllerResetConfigData, type ImporterConfigControllerResetConfigResponse, type ImporterConfigControllerUpdateConfigData, type ImporterConfigControllerUpdateConfigResponse, type ImporterConfigDataDto, type ImporterConfigDto, type InfoControllerGetInfoResponse, type MapperDefaultsDto, type MonetaryDto, type MonthlyForecastDto, type MultiCurrencyBalanceResponseDto, type MultiCurrencyPointDto, type NetWorthByCurrencyDto, type NetWorthResponseDto, type NlpControllerClearSessionData, type NlpControllerClearSessionResponse, type NlpControllerGetSessionData, type NlpControllerGetSessionResponse, type NlpControllerProcessNaturalLanguageData, type NlpControllerProcessNaturalLanguageResponse, OpenAPI, type OpenAPIConfig, type ParserTelemetryReportDto, type PayeeAutocompleteResponseDto, type PayeeControllerAutocompleteData, type PayeeControllerAutocompleteResponse, type PayeeControllerCreateData, type PayeeControllerCreateResponse, type PayeeControllerDeleteData, type PayeeControllerDeleteResponse, type PayeeControllerFindAllData, type PayeeControllerFindAllResponse, type PayeeControllerFindOneData, type PayeeControllerFindOneResponse, type PayeeControllerGetTopPayeesData, type PayeeControllerGetTopPayeesResponse, type PayeeControllerUpdateData, type PayeeControllerUpdateResponse, type PayeeListResponseDto, type PayeeProfileAdminControllerCreateData, type PayeeProfileAdminControllerCreateResponse, type PayeeProfileAdminControllerDeleteData, type PayeeProfileAdminControllerDeleteResponse, type PayeeProfileAdminControllerFindAllData, type PayeeProfileAdminControllerFindAllResponse, type PayeeProfileAdminControllerFindOneData, type PayeeProfileAdminControllerFindOneResponse, type PayeeProfileAdminControllerUnverifyData, type PayeeProfileAdminControllerUnverifyResponse, type PayeeProfileAdminControllerUpdateData, type PayeeProfileAdminControllerUpdateResponse, type PayeeProfileAdminControllerVerifyData, type PayeeProfileAdminControllerVerifyResponse, type PayeeProfileListResponseDto, type PayeeProfileResponseDto, type PayeeResponseDto, type PayeeStatsResponseDto, type PlatformControllerCreateData, type PlatformControllerCreateResponse, type PlatformControllerDeleteData, type PlatformControllerDeleteResponse, type PlatformControllerFindAllResponse, type PlatformControllerGetPlatformListResponse, type PlatformControllerMatchPlatformsData, type PlatformControllerMatchPlatformsResponse, type PlatformControllerUpdateData, type PlatformControllerUpdateResponse, type PlatformGroupDto, type PortfolioTrendsResponseDto, type PostingDetailDto, type PostingResponseDto, type PriceControllerBulkCreateData, type PriceControllerBulkCreateResponse, type PriceControllerCreateData, type PriceControllerCreateResponse, type PriceControllerDeleteData, type PriceControllerDeleteResponse, type PriceControllerFindAllData, type PriceControllerFindAllResponse, type PriceControllerFindOneData, type PriceControllerFindOneResponse, type PriceControllerUpdateData, type PriceControllerUpdateResponse, type PriceListResponseDto, type PriceResponseDto, type ProcessNlpDto, type PropertyControllerDeleteData, type PropertyControllerDeleteResponse, type PropertyControllerGetAllResponse, type PropertyControllerGetByKeyData, type PropertyControllerGetByKeyResponse, type PropertyControllerUpdateData, type PropertyControllerUpdateResponse, type ProviderSyncConfigDto, type ProviderSyncControllerGetSupportedProvidersData, type ProviderSyncControllerGetSupportedProvidersResponse, type ProviderSyncControllerIsProviderSupportedData, type ProviderSyncControllerIsProviderSupportedResponse, type ProviderSyncControllerSyncData, type ProviderSyncControllerSyncResponse, type ProviderSyncDto, ProviderSyncService, type RecurringRuleControllerCreateData, type RecurringRuleControllerCreateFromTransactionData, type RecurringRuleControllerCreateFromTransactionResponse, type RecurringRuleControllerCreateResponse, type RecurringRuleControllerDeleteData, type RecurringRuleControllerDeleteResponse, type RecurringRuleControllerFindAllData, type RecurringRuleControllerFindAllResponse, type RecurringRuleControllerFindOneData, type RecurringRuleControllerFindOneResponse, type RecurringRuleControllerGetWithStatsData, type RecurringRuleControllerGetWithStatsResponse, type RecurringRuleControllerUpdateData, type RecurringRuleControllerUpdateResponse, type RecurringRuleResponseDto, type RecurringRuleWithStatsResponseDto, type RecurringSuggestionDto, type RegionConfigDto, type RegionInfoDto, type RegionsMetadataResponseDto, type ReopenAccountDto, type ReportingControllerBackfillSnapshotsData, type ReportingControllerBackfillSnapshotsResponse, type ReportingControllerGenerateSnapshotData, type ReportingControllerGenerateSnapshotResponse, type ReportingControllerGetPortfolioTrendsData, type ReportingControllerGetPortfolioTrendsResponse, type ResolveResultDto, type ResolveReviewDto, type ReviewControllerBatchResolveData, type ReviewControllerBatchResolveResponse, type ReviewControllerFindAllData, type ReviewControllerFindAllResponse, type ReviewControllerFindOneData, type ReviewControllerFindOneResponse, type ReviewControllerGetStatsData, type ReviewControllerGetStatsResponse, type ReviewControllerResolveData, type ReviewControllerResolveResponse, type ReviewControllerUndoData, type ReviewControllerUndoResponse, type ReviewDetailDto, type ReviewItemPreviewDto, type ReviewListResponseDto, type ReviewStatsDto, type ReviewSummaryDto, type RuleStatisticsResponseDto, type SignupDto, type SupportedProvidersResponseDto, type TagSuggestionDto, type TagSuggestionsResponseDto, type TelemetryControllerGetCoverageMetricsData, type TelemetryControllerGetCoverageMetricsResponse, type TelemetryControllerReportCoverageMissData, type TelemetryControllerReportCoverageMissResponse, type TelemetryControllerReportTelemetryData, type TelemetryControllerReportTelemetryResponse, type TemplateMetadataDto, type TemplateMetadataResponseDto, type TestRuleDto, type TestRuleResponseDto, type TimeSeriesPointDto, type TransactionControllerCorrectData, type TransactionControllerCorrectResponse, type TransactionControllerCreateBatchData, type TransactionControllerCreateBatchResponse, type TransactionControllerCreateData, type TransactionControllerCreateResponse, type TransactionControllerDeleteData, type TransactionControllerDeleteResponse, type TransactionControllerGetDetailData, type TransactionControllerGetDetailResponse, type TransactionControllerListData, type TransactionControllerListResponse, type TransactionControllerSuggestTagsData, type TransactionControllerSuggestTagsResponse, type TransactionControllerUpdateData, type TransactionControllerUpdateResponse, type TransactionDetailDto, type TransactionListResponseDto, type TransactionResponseDto, type TransactionRuleControllerBulkCreateData, type TransactionRuleControllerBulkCreateResponse, type TransactionRuleControllerCreateData, type TransactionRuleControllerCreateResponse, type TransactionRuleControllerDeleteData, type TransactionRuleControllerDeleteResponse, type TransactionRuleControllerExportData, type TransactionRuleControllerExportResponse, type TransactionRuleControllerGetDetailData, type TransactionRuleControllerGetDetailResponse, type TransactionRuleControllerGetStatisticsData, type TransactionRuleControllerGetStatisticsResponse, type TransactionRuleControllerListData, type TransactionRuleControllerListResponse, type TransactionRuleControllerTestData, type TransactionRuleControllerTestResponse, type TransactionRuleControllerUpdateData, type TransactionRuleControllerUpdateResponse, type TransactionRuleControllerValidateData, type TransactionRuleControllerValidateResponse, type TransactionRuleListResponseDto, type TransactionRuleResponseDto, type TransactionSummaryDto, type TrendSummaryDto, type UncoveredFormatMissDto, type UndoResultDto, type UpdateAccountDto, type UpdateBeanPriceDto, type UpdateCommodityDto, type UpdateConfigDataDto, type UpdateImporterConfigDto, type UpdateMapperDefaultsDto, type UpdatePayeeDto, type UpdatePayeeProfileDto, type UpdatePlatformDto, type UpdatePropertyDto, type UpdateRecurringRuleDto, type UpdateTransactionDto, type UpdateTransactionRuleDto, type UpdateUserSettingDto, type UserControllerDeleteOwnUserData, type UserControllerDeleteOwnUserResponse, type UserControllerDeleteUserData, type UserControllerDeleteUserResponse, type UserControllerGetAllUserSettingsByPageData, type UserControllerGetAllUserSettingsByPageResponse, type UserControllerGetAssetLiabilitySummaryResponse, type UserControllerGetUserData, type UserControllerGetUserInfoData, type UserControllerGetUserInfoResponse, type UserControllerGetUserResponse, type UserControllerSignupUserData, type UserControllerSignupUserResponse, type UserControllerUpdateUserSettingData, type UserControllerUpdateUserSettingResponse, type ValidateRuleDto, type ValidateRuleResponseDto, type VersionedConfigDto, type action, type assetClass, type bookingMethod, type branchType, type category, type chartToken, type colorScheme, type confidenceLevel, type conflictStrategy, type dataSource, type flag, type flag2, type frequency, type importerId, type learningSource, type matchLogic, type method, type mode, type period, type source, type source2, type status, type status2, type status3, type suggestedFrequency, type type, type type2, type type3, type type4, type value, type viewMode };
|