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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -732,9 +732,15 @@ type ReviewSummaryDto = {
732
732
  */
733
733
  confidenceLevel: 'HIGH' | 'MEDIUM' | 'LOW';
734
734
  /**
735
- * Human-readable summary of the review item
735
+ * i18n message key for summary (e.g., review.summary.duplicate). Translate on frontend with summaryParams.
736
736
  */
737
- summary: string;
737
+ summaryKey: string;
738
+ /**
739
+ * Parameters for summary message interpolation (e.g., { date: "2024-01-15", amount: "50" })
740
+ */
741
+ summaryParams?: {
742
+ [key: string]: string;
743
+ };
738
744
  /**
739
745
  * Human-readable reasons for branching
740
746
  */
@@ -863,9 +869,15 @@ type ReviewDetailDto = {
863
869
  */
864
870
  confidenceLevel: 'HIGH' | 'MEDIUM' | 'LOW';
865
871
  /**
866
- * Human-readable summary of the review item
872
+ * i18n message key for summary (e.g., review.summary.duplicate). Translate on frontend with summaryParams.
867
873
  */
868
- summary: string;
874
+ summaryKey: string;
875
+ /**
876
+ * Parameters for summary message interpolation (e.g., { date: "2024-01-15", amount: "50" })
877
+ */
878
+ summaryParams?: {
879
+ [key: string]: string;
880
+ };
869
881
  /**
870
882
  * Human-readable reasons for branching
871
883
  */
@@ -2212,6 +2224,7 @@ type SupportedProvidersResponseDto = {
2212
2224
  */
2213
2225
  providers: Array<string>;
2214
2226
  };
2227
+ type ParserTelemetryReportDto = unknown;
2215
2228
  type ProcessNlpDto = {
2216
2229
  /**
2217
2230
  * Natural language text describing a transaction (Chinese)
@@ -4130,7 +4143,7 @@ type ProviderSyncControllerSyncData = {
4130
4143
  /**
4131
4144
  * Provider name
4132
4145
  */
4133
- providerName: 'plaid' | 'teller' | 'truelayer' | 'gocardless' | 'simplefin' | 'yodlee' | 'beancount-direct';
4146
+ providerName: 'plaid' | 'teller' | 'truelayer' | 'gocardless' | 'simplefin' | 'yodlee' | 'beancount-direct' | 'parsed-bill';
4134
4147
  /**
4135
4148
  * Region code
4136
4149
  */
@@ -4156,6 +4169,14 @@ type ProviderSyncControllerIsProviderSupportedData = {
4156
4169
  region: 'cn' | 'us' | 'de';
4157
4170
  };
4158
4171
  type ProviderSyncControllerIsProviderSupportedResponse = unknown;
4172
+ type TelemetryControllerReportTelemetryData = {
4173
+ /**
4174
+ * Region code (cn, us, de)
4175
+ */
4176
+ region: 'cn' | 'us' | 'de';
4177
+ requestBody: ParserTelemetryReportDto;
4178
+ };
4179
+ type TelemetryControllerReportTelemetryResponse = unknown;
4159
4180
  type NlpControllerProcessNaturalLanguageData = {
4160
4181
  /**
4161
4182
  * Region code (cn, us, de)
@@ -5644,6 +5665,21 @@ type $OpenApiTs = {
5644
5665
  };
5645
5666
  };
5646
5667
  };
5668
+ '/api/v1/{region}/bean/import/parser-telemetry': {
5669
+ post: {
5670
+ req: TelemetryControllerReportTelemetryData;
5671
+ res: {
5672
+ /**
5673
+ * Telemetry report received
5674
+ */
5675
+ 200: unknown;
5676
+ /**
5677
+ * Unauthorized
5678
+ */
5679
+ 401: unknown;
5680
+ };
5681
+ };
5682
+ };
5647
5683
  '/api/v1/{region}/bean/nlp/process': {
5648
5684
  post: {
5649
5685
  req: NlpControllerProcessNaturalLanguageData;
@@ -6267,8 +6303,9 @@ declare class BeanAccountsService {
6267
6303
  }
6268
6304
  declare class BeanTransactionsService {
6269
6305
  /**
6270
- * Create transaction
6271
- * Creates a new double-entry transaction. Missing accounts are auto-created by default.
6306
+ * @deprecated
6307
+ * Create transaction (DEPRECATED)
6308
+ * DEPRECATED: Use POST /:region/bean/import/provider/:name/sync instead. This endpoint skips dedup, rule matching, and review branching.
6272
6309
  * @param data The data for the request.
6273
6310
  * @param data.region Region code for tenant context
6274
6311
  * @param data.requestBody Transaction data with postings
@@ -6423,6 +6460,7 @@ declare class ProviderSyncService {
6423
6460
  * - **simplefin**: SimpleFIN (Self-hosted)
6424
6461
  * - **yodlee**: Yodlee (Global)
6425
6462
  * - **beancount-direct**: Beancount format transactions
6463
+ * - **parsed-bill**: Client-side parsed bill transactions
6426
6464
  *
6427
6465
  * **Processing Flow:**
6428
6466
  * 1. Transform raw data via provider adapter
@@ -6578,4 +6616,4 @@ type OpenAPIConfig = {
6578
6616
  };
6579
6617
  declare const OpenAPI: OpenAPIConfig;
6580
6618
 
6581
- export { type $OpenApiTs, type AccountControllerCloseData, type AccountControllerCloseResponse, type AccountControllerCreateData, type AccountControllerCreateResponse, type AccountControllerDeleteData, type AccountControllerDeleteResponse, type AccountControllerFindAllData, type AccountControllerFindAllResponse, type AccountControllerFindOneData, type AccountControllerFindOneResponse, type AccountControllerReopenData, type AccountControllerReopenResponse, type AccountControllerUpdateData, type AccountControllerUpdateResponse, type AccountExchangeRateWarningDto, type AccountItemDto, type AccountItemWithAssetClassDto, type AccountListResponseDto, type AccountResponseDto, type AccountStandardListResponseDto, type AccountStandardResponseDto, type AccountStandardsControllerGetRegionsData, type AccountStandardsControllerGetRegionsResponse, type AccountStandardsControllerGetTemplatesData, type AccountStandardsControllerGetTemplatesResponse, type AccountsResponseDto, type AccountsSummaryDto, type AnonymousLoginDto, type ApiKeysControllerData, type ApiKeysControllerResponse, type ApiProblemResponseDto, type AssetClassAccountsResponseDto, type AssetClassGroupDto, type AssetClassSummaryDto, type AuthControllerAccessTokenLoginData, type AuthControllerAccessTokenLoginResponse, type BackfillSnapshotsBody, type BackfillSnapshotsResponse, type BalanceByCurrencyDto, type BalanceControllerGetBalanceData, type BalanceControllerGetBalanceResponse, type BalanceControllerGetMultiCurrencyBalanceData, type BalanceControllerGetMultiCurrencyBalanceResponse, type BalanceResponseDto, BeanAccountsService, BeanBalancesService, BeanCommoditiesService, BeanTransactionsService, type CacheControllerFlushCacheData, type CacheControllerFlushCacheResponse, type CashFlowByCurrencyDto, type CashFlowResponseDto, type CloseAccountDto, type CommodityController1Data, type CommodityController1Response, type CommodityController2Data, type CommodityController2Response, type CommodityController3Data, type CommodityController3Response, type CommodityController4Data, type CommodityController4Response, type CommodityControllerData, type CommodityControllerFindAllData, type CommodityControllerFindAllResponse, type CommodityControllerFindOneData, type CommodityControllerFindOneResponse, type CommodityControllerResponse, type CommodityListResponseDto, type CommodityResponseDto, type ConvertedCashFlowDto, type ConvertedNetWorthDto, type CreateAccountDto, type CreatePostingDto, type CreateTransactionDto, type CurrencyBalanceDto, type DashboardControllerGetAccountsData, type DashboardControllerGetAccountsResponse, type DashboardControllerGetCashFlowData, type DashboardControllerGetCashFlowResponse, type DashboardControllerGetNetWorthData, type DashboardControllerGetNetWorthResponse, type DecisionOptionDto, type DeleteOwnUserDto, type ExchangeRateControllerGetExchangeRateData, type ExchangeRateControllerGetExchangeRateResponse, type ExchangeRateWarningDto, type ExpectedTransactionController1Data, type ExpectedTransactionController1Response, type ExpectedTransactionController2Data, type ExpectedTransactionController2Response, type ExpectedTransactionController3Data, type ExpectedTransactionController3Response, type ExpectedTransactionController4Data, type ExpectedTransactionController4Response, type ExpectedTransactionControllerData, type ExpectedTransactionControllerFindAllData, type ExpectedTransactionControllerFindAllResponse, type ExpectedTransactionControllerFindOneData, type ExpectedTransactionControllerFindOneResponse, type ExpectedTransactionControllerFindOverdueData, type ExpectedTransactionControllerFindOverdueResponse, type ExpectedTransactionControllerResponse, type ExpectedTransactionListResponseDto, type ExpectedTransactionResponseDto, type ExpectedTransactionRuleDto, type ExportRulesResponseDto, type FileImportControllerIdentifyFileData, type FileImportControllerIdentifyFileResponse, type FileImportControllerImportFileData, type FileImportControllerImportFileResponse, type FileImportDto, type ForecastControllerGetForecastData, type ForecastControllerGetForecastResponse, type ForecastItemDto, type ForecastResponseDto, type GenerateSnapshotBody, type GenerateSnapshotResponse, type HealthControllerCheckDataProvidersData, type HealthControllerCheckDataProvidersResponse, type HealthControllerCheckDatabaseData, type HealthControllerCheckDatabaseResponse, type HealthControllerCheckRedisData, type HealthControllerCheckRedisResponse, type HealthControllerGetCircuitBreakersHealthData, type HealthControllerGetCircuitBreakersHealthResponse, type HealthControllerGetHealthData, type HealthControllerGetHealthOfDataEnhancerData, type HealthControllerGetHealthOfDataEnhancerResponse, type HealthControllerGetHealthOfDataProviderData, type HealthControllerGetHealthOfDataProviderResponse, type HealthControllerGetHealthResponse, type HealthControllerGetMetricsData, type HealthControllerGetMetricsResponse, type HealthControllerResetCircuitBreakerData, type HealthControllerResetCircuitBreakerResponse, HealthService, type IdentifyResultDto, type ImportErrorDto, type ImportResultDto, type ImporterConfigController1Data, type ImporterConfigController1Response, type ImporterConfigControllerData, type ImporterConfigControllerGetConfigData, type ImporterConfigControllerGetConfigResponse, type ImporterConfigControllerResponse, type ImporterConfigDataDto, type ImporterConfigDto, type InfoControllerGetInfoData, type InfoControllerGetInfoResponse, type LogoControllerGetLogoByDataSourceAndSymbolData, type LogoControllerGetLogoByDataSourceAndSymbolResponse, type LogoControllerGetLogoByUrlData, type LogoControllerGetLogoByUrlResponse, type MapperDefaultsDto, type MarketDataControllerData, type MarketDataControllerGetMarketDataBySymbolData, type MarketDataControllerGetMarketDataBySymbolResponse, type MarketDataControllerResponse, type MonthlyForecastDto, type MultiCurrencyBalanceResponseDto, type MultiCurrencyPointDto, type NetWorthByCurrencyDto, type NetWorthResponseDto, type NlpAccountConfirmationDataDto, type NlpAlternativePayeeDto, type NlpControllerClearSessionData, type NlpControllerClearSessionResponse, type NlpControllerGetSessionData, type NlpControllerGetSessionResponse, type NlpControllerProcessNaturalLanguageData, type NlpControllerProcessNaturalLanguageResponse, type NlpDefaultAccountsDto, type NlpDuplicateConfirmationDataDto, type NlpParsedDataDto, type NlpPayeeConfirmationDataDto, type NlpResponseDto, type NlpRuleConfirmationDataDto, type NlpSimilarityDto, type NlpSourceTransactionDto, type NlpSuggestedAccountDto, type NlpSuggestedAccountsDto, type NlpSuggestedPayeeDto, type NlpTargetTransactionDto, type NlpTransactionInfoDto, OpenAPI, type OpenAPIConfig, type PayeeAutocompleteResponseDto, type PayeeController1Data, type PayeeController1Response, type PayeeController2Data, type PayeeController2Response, type PayeeControllerAutocompleteData, type PayeeControllerAutocompleteResponse, type PayeeControllerData, type PayeeControllerFindAllData, type PayeeControllerFindAllResponse, type PayeeControllerFindOneData, type PayeeControllerFindOneResponse, type PayeeControllerGetTopPayeesData, type PayeeControllerGetTopPayeesResponse, type PayeeControllerResponse, type PayeeListResponseDto, type PayeeProfileAdminController1Data, type PayeeProfileAdminController1Response, type PayeeProfileAdminController2Data, type PayeeProfileAdminController2Response, type PayeeProfileAdminController3Data, type PayeeProfileAdminController3Response, type PayeeProfileAdminController4Data, type PayeeProfileAdminController4Response, type PayeeProfileAdminControllerData, type PayeeProfileAdminControllerFindAllData, type PayeeProfileAdminControllerFindAllResponse, type PayeeProfileAdminControllerFindOneData, type PayeeProfileAdminControllerFindOneResponse, type PayeeProfileAdminControllerResponse, type PayeeProfileListResponseDto, type PayeeProfileResponseDto, type PayeeResponseDto, type PayeeStatsResponseDto, type PlatformController1Data, type PlatformController1Response, type PlatformController2Data, type PlatformController2Response, type PlatformControllerData, type PlatformControllerFindAllData, type PlatformControllerFindAllResponse, type PlatformControllerGetPlatformListData, type PlatformControllerGetPlatformListResponse, type PlatformControllerResponse, type PlatformGroupDto, type PortfolioTrendsResponseDto, type PostingDetailDto, type PostingResponseDto, type ProcessNlpDto, type PropertyController1Data, type PropertyController1Response, type PropertyControllerData, type PropertyControllerGetAllData, type PropertyControllerGetAllResponse, type PropertyControllerGetByKeyData, type PropertyControllerGetByKeyResponse, type PropertyControllerResponse, type ProviderSyncConfigDto, type ProviderSyncControllerGetSupportedProvidersData, type ProviderSyncControllerGetSupportedProvidersResponse, type ProviderSyncControllerIsProviderSupportedData, type ProviderSyncControllerIsProviderSupportedResponse, type ProviderSyncControllerSyncData, type ProviderSyncControllerSyncResponse, type ProviderSyncDto, type ProviderSyncResponseDto, ProviderSyncService, type RecurringMatchInfoDto, type RecurringRuleController1Data, type RecurringRuleController1Response, type RecurringRuleController2Data, type RecurringRuleController2Response, type RecurringRuleController3Data, type RecurringRuleController3Response, type RecurringRuleControllerData, type RecurringRuleControllerFindAllData, type RecurringRuleControllerFindAllResponse, type RecurringRuleControllerFindOneData, type RecurringRuleControllerFindOneResponse, type RecurringRuleControllerGetWithStatsData, type RecurringRuleControllerGetWithStatsResponse, type RecurringRuleControllerResponse, type RecurringRuleResponseDto, type RecurringRuleWithStatsResponseDto, type RecurringSuggestionDto, type RegionConfigDto, type RegionInfoDto, type RegionsMetadataResponseDto, type ReopenAccountDto, type ReportingControllerBackfillSnapshotsData, type ReportingControllerBackfillSnapshotsResponse, type ReportingControllerGenerateSnapshotData, type ReportingControllerGenerateSnapshotResponse, type ReportingControllerGetPortfolioTrendsData, type ReportingControllerGetPortfolioTrendsResponse, type ReviewController1Data, type ReviewController1Response, type ReviewController2Data, type ReviewController2Response, type ReviewControllerData, type ReviewControllerFindAllData, type ReviewControllerFindAllResponse, type ReviewControllerFindOneData, type ReviewControllerFindOneResponse, type ReviewControllerGetStatsData, type ReviewControllerGetStatsResponse, type ReviewControllerResponse, type ReviewDetailDto, type ReviewItemPreviewDto, type ReviewListResponseDto, type ReviewStatsDto, type ReviewSummaryDto, type RuleStatisticsResponseDto, type SignupDto, type SupportedProvidersResponseDto, type SymbolControllerData, type SymbolControllerGatherSymbolForDateData, type SymbolControllerGatherSymbolForDateResponse, type SymbolControllerGetSymbolDataData, type SymbolControllerGetSymbolDataResponse, type SymbolControllerLookupSymbolData, type SymbolControllerLookupSymbolResponse, type SymbolControllerResponse, type TestRuleDto, type TestRuleResponseDto, type TimeSeriesPointDto, type TransactionController1Data, type TransactionController1Response, type TransactionControllerCreateData, type TransactionControllerCreateResponse, type TransactionControllerData, type TransactionControllerGetDetailData, type TransactionControllerGetDetailResponse, type TransactionControllerListData, type TransactionControllerListResponse, type TransactionControllerResponse, type TransactionControllerUpdateData, type TransactionControllerUpdateResponse, type TransactionDetailDto, type TransactionListResponseDto, type TransactionResponseDto, type TransactionRuleController1Data, type TransactionRuleController1Response, type TransactionRuleController2Data, type TransactionRuleController2Response, type TransactionRuleController3Data, type TransactionRuleController3Response, type TransactionRuleControllerData, type TransactionRuleControllerExportData, type TransactionRuleControllerExportResponse, type TransactionRuleControllerGetDetailData, type TransactionRuleControllerGetDetailResponse, type TransactionRuleControllerGetStatisticsData, type TransactionRuleControllerGetStatisticsResponse, type TransactionRuleControllerListData, type TransactionRuleControllerListResponse, type TransactionRuleControllerResponse, type TransactionRuleControllerTestData, type TransactionRuleControllerTestResponse, type TransactionRuleControllerValidateData, type TransactionRuleControllerValidateResponse, type TransactionRuleListResponseDto, type TransactionRuleResponseDto, type TransactionSummaryDto, type TrendSummaryDto, type UpdateAccountDto, type UpdateTransactionDto, type UpdateUserSettingDto, type UserControllerDeleteOwnUserData, type UserControllerDeleteOwnUserResponse, type UserControllerDeleteUserData, type UserControllerDeleteUserResponse, type UserControllerGetAllUserSettingsByPageData, type UserControllerGetAllUserSettingsByPageResponse, type UserControllerGetAssetLiabilitySummaryData, type UserControllerGetAssetLiabilitySummaryResponse, type UserControllerGetUserData, type UserControllerGetUserInfoData, type UserControllerGetUserInfoResponse, type UserControllerGetUserResponse, type UserControllerSignupUserData, type UserControllerSignupUserResponse, type UserControllerUpdateUserSettingData, type UserControllerUpdateUserSettingResponse, type ValidateRuleDto, type ValidateRuleResponseDto, type VersionedConfigDto, type action, type assetClass, type assetSubType, type bookingMethod, type branchType, type category, type colorScheme, type confidenceLevel, type dataSource, type equitySubType, type flag, type flag2, type importerId, type intent, type investmentAction, type learningSource, type liabilitySubType, type matchLogic, type paymentSource, type period, type source, type sourceType, type status, type status2, type status3, type status4, type suggestedFrequency, type type, type type2, type viewMode };
6619
+ export { type $OpenApiTs, type AccountControllerCloseData, type AccountControllerCloseResponse, type AccountControllerCreateData, type AccountControllerCreateResponse, type AccountControllerDeleteData, type AccountControllerDeleteResponse, type AccountControllerFindAllData, type AccountControllerFindAllResponse, type AccountControllerFindOneData, type AccountControllerFindOneResponse, type AccountControllerReopenData, type AccountControllerReopenResponse, type AccountControllerUpdateData, type AccountControllerUpdateResponse, type AccountExchangeRateWarningDto, type AccountItemDto, type AccountItemWithAssetClassDto, type AccountListResponseDto, type AccountResponseDto, type AccountStandardListResponseDto, type AccountStandardResponseDto, type AccountStandardsControllerGetRegionsData, type AccountStandardsControllerGetRegionsResponse, type AccountStandardsControllerGetTemplatesData, type AccountStandardsControllerGetTemplatesResponse, type AccountsResponseDto, type AccountsSummaryDto, type AnonymousLoginDto, type ApiKeysControllerData, type ApiKeysControllerResponse, type ApiProblemResponseDto, type AssetClassAccountsResponseDto, type AssetClassGroupDto, type AssetClassSummaryDto, type AuthControllerAccessTokenLoginData, type AuthControllerAccessTokenLoginResponse, type BackfillSnapshotsBody, type BackfillSnapshotsResponse, type BalanceByCurrencyDto, type BalanceControllerGetBalanceData, type BalanceControllerGetBalanceResponse, type BalanceControllerGetMultiCurrencyBalanceData, type BalanceControllerGetMultiCurrencyBalanceResponse, type BalanceResponseDto, BeanAccountsService, BeanBalancesService, BeanCommoditiesService, BeanTransactionsService, type CacheControllerFlushCacheData, type CacheControllerFlushCacheResponse, type CashFlowByCurrencyDto, type CashFlowResponseDto, type CloseAccountDto, type CommodityController1Data, type CommodityController1Response, type CommodityController2Data, type CommodityController2Response, type CommodityController3Data, type CommodityController3Response, type CommodityController4Data, type CommodityController4Response, type CommodityControllerData, type CommodityControllerFindAllData, type CommodityControllerFindAllResponse, type CommodityControllerFindOneData, type CommodityControllerFindOneResponse, type CommodityControllerResponse, type CommodityListResponseDto, type CommodityResponseDto, type ConvertedCashFlowDto, type ConvertedNetWorthDto, type CreateAccountDto, type CreatePostingDto, type CreateTransactionDto, type CurrencyBalanceDto, type DashboardControllerGetAccountsData, type DashboardControllerGetAccountsResponse, type DashboardControllerGetCashFlowData, type DashboardControllerGetCashFlowResponse, type DashboardControllerGetNetWorthData, type DashboardControllerGetNetWorthResponse, type DecisionOptionDto, type DeleteOwnUserDto, type ExchangeRateControllerGetExchangeRateData, type ExchangeRateControllerGetExchangeRateResponse, type ExchangeRateWarningDto, type ExpectedTransactionController1Data, type ExpectedTransactionController1Response, type ExpectedTransactionController2Data, type ExpectedTransactionController2Response, type ExpectedTransactionController3Data, type ExpectedTransactionController3Response, type ExpectedTransactionController4Data, type ExpectedTransactionController4Response, type ExpectedTransactionControllerData, type ExpectedTransactionControllerFindAllData, type ExpectedTransactionControllerFindAllResponse, type ExpectedTransactionControllerFindOneData, type ExpectedTransactionControllerFindOneResponse, type ExpectedTransactionControllerFindOverdueData, type ExpectedTransactionControllerFindOverdueResponse, type ExpectedTransactionControllerResponse, type ExpectedTransactionListResponseDto, type ExpectedTransactionResponseDto, type ExpectedTransactionRuleDto, type ExportRulesResponseDto, type FileImportControllerIdentifyFileData, type FileImportControllerIdentifyFileResponse, type FileImportControllerImportFileData, type FileImportControllerImportFileResponse, type FileImportDto, type ForecastControllerGetForecastData, type ForecastControllerGetForecastResponse, type ForecastItemDto, type ForecastResponseDto, type GenerateSnapshotBody, type GenerateSnapshotResponse, type HealthControllerCheckDataProvidersData, type HealthControllerCheckDataProvidersResponse, type HealthControllerCheckDatabaseData, type HealthControllerCheckDatabaseResponse, type HealthControllerCheckRedisData, type HealthControllerCheckRedisResponse, type HealthControllerGetCircuitBreakersHealthData, type HealthControllerGetCircuitBreakersHealthResponse, type HealthControllerGetHealthData, type HealthControllerGetHealthOfDataEnhancerData, type HealthControllerGetHealthOfDataEnhancerResponse, type HealthControllerGetHealthOfDataProviderData, type HealthControllerGetHealthOfDataProviderResponse, type HealthControllerGetHealthResponse, type HealthControllerGetMetricsData, type HealthControllerGetMetricsResponse, type HealthControllerResetCircuitBreakerData, type HealthControllerResetCircuitBreakerResponse, HealthService, type IdentifyResultDto, type ImportErrorDto, type ImportResultDto, type ImporterConfigController1Data, type ImporterConfigController1Response, type ImporterConfigControllerData, type ImporterConfigControllerGetConfigData, type ImporterConfigControllerGetConfigResponse, type ImporterConfigControllerResponse, type ImporterConfigDataDto, type ImporterConfigDto, type InfoControllerGetInfoData, type InfoControllerGetInfoResponse, type LogoControllerGetLogoByDataSourceAndSymbolData, type LogoControllerGetLogoByDataSourceAndSymbolResponse, type LogoControllerGetLogoByUrlData, type LogoControllerGetLogoByUrlResponse, type MapperDefaultsDto, type MarketDataControllerData, type MarketDataControllerGetMarketDataBySymbolData, type MarketDataControllerGetMarketDataBySymbolResponse, type MarketDataControllerResponse, type MonthlyForecastDto, type MultiCurrencyBalanceResponseDto, type MultiCurrencyPointDto, type NetWorthByCurrencyDto, type NetWorthResponseDto, type NlpAccountConfirmationDataDto, type NlpAlternativePayeeDto, type NlpControllerClearSessionData, type NlpControllerClearSessionResponse, type NlpControllerGetSessionData, type NlpControllerGetSessionResponse, type NlpControllerProcessNaturalLanguageData, type NlpControllerProcessNaturalLanguageResponse, type NlpDefaultAccountsDto, type NlpDuplicateConfirmationDataDto, type NlpParsedDataDto, type NlpPayeeConfirmationDataDto, type NlpResponseDto, type NlpRuleConfirmationDataDto, type NlpSimilarityDto, type NlpSourceTransactionDto, type NlpSuggestedAccountDto, type NlpSuggestedAccountsDto, type NlpSuggestedPayeeDto, type NlpTargetTransactionDto, type NlpTransactionInfoDto, OpenAPI, type OpenAPIConfig, type ParserTelemetryReportDto, type PayeeAutocompleteResponseDto, type PayeeController1Data, type PayeeController1Response, type PayeeController2Data, type PayeeController2Response, type PayeeControllerAutocompleteData, type PayeeControllerAutocompleteResponse, type PayeeControllerData, type PayeeControllerFindAllData, type PayeeControllerFindAllResponse, type PayeeControllerFindOneData, type PayeeControllerFindOneResponse, type PayeeControllerGetTopPayeesData, type PayeeControllerGetTopPayeesResponse, type PayeeControllerResponse, type PayeeListResponseDto, type PayeeProfileAdminController1Data, type PayeeProfileAdminController1Response, type PayeeProfileAdminController2Data, type PayeeProfileAdminController2Response, type PayeeProfileAdminController3Data, type PayeeProfileAdminController3Response, type PayeeProfileAdminController4Data, type PayeeProfileAdminController4Response, type PayeeProfileAdminControllerData, type PayeeProfileAdminControllerFindAllData, type PayeeProfileAdminControllerFindAllResponse, type PayeeProfileAdminControllerFindOneData, type PayeeProfileAdminControllerFindOneResponse, type PayeeProfileAdminControllerResponse, type PayeeProfileListResponseDto, type PayeeProfileResponseDto, type PayeeResponseDto, type PayeeStatsResponseDto, type PlatformController1Data, type PlatformController1Response, type PlatformController2Data, type PlatformController2Response, type PlatformControllerData, type PlatformControllerFindAllData, type PlatformControllerFindAllResponse, type PlatformControllerGetPlatformListData, type PlatformControllerGetPlatformListResponse, type PlatformControllerResponse, type PlatformGroupDto, type PortfolioTrendsResponseDto, type PostingDetailDto, type PostingResponseDto, type ProcessNlpDto, type PropertyController1Data, type PropertyController1Response, type PropertyControllerData, type PropertyControllerGetAllData, type PropertyControllerGetAllResponse, type PropertyControllerGetByKeyData, type PropertyControllerGetByKeyResponse, type PropertyControllerResponse, type ProviderSyncConfigDto, type ProviderSyncControllerGetSupportedProvidersData, type ProviderSyncControllerGetSupportedProvidersResponse, type ProviderSyncControllerIsProviderSupportedData, type ProviderSyncControllerIsProviderSupportedResponse, type ProviderSyncControllerSyncData, type ProviderSyncControllerSyncResponse, type ProviderSyncDto, type ProviderSyncResponseDto, ProviderSyncService, type RecurringMatchInfoDto, type RecurringRuleController1Data, type RecurringRuleController1Response, type RecurringRuleController2Data, type RecurringRuleController2Response, type RecurringRuleController3Data, type RecurringRuleController3Response, type RecurringRuleControllerData, type RecurringRuleControllerFindAllData, type RecurringRuleControllerFindAllResponse, type RecurringRuleControllerFindOneData, type RecurringRuleControllerFindOneResponse, type RecurringRuleControllerGetWithStatsData, type RecurringRuleControllerGetWithStatsResponse, type RecurringRuleControllerResponse, type RecurringRuleResponseDto, type RecurringRuleWithStatsResponseDto, type RecurringSuggestionDto, type RegionConfigDto, type RegionInfoDto, type RegionsMetadataResponseDto, type ReopenAccountDto, type ReportingControllerBackfillSnapshotsData, type ReportingControllerBackfillSnapshotsResponse, type ReportingControllerGenerateSnapshotData, type ReportingControllerGenerateSnapshotResponse, type ReportingControllerGetPortfolioTrendsData, type ReportingControllerGetPortfolioTrendsResponse, type ReviewController1Data, type ReviewController1Response, type ReviewController2Data, type ReviewController2Response, type ReviewControllerData, type ReviewControllerFindAllData, type ReviewControllerFindAllResponse, type ReviewControllerFindOneData, type ReviewControllerFindOneResponse, type ReviewControllerGetStatsData, type ReviewControllerGetStatsResponse, type ReviewControllerResponse, type ReviewDetailDto, type ReviewItemPreviewDto, type ReviewListResponseDto, type ReviewStatsDto, type ReviewSummaryDto, type RuleStatisticsResponseDto, type SignupDto, type SupportedProvidersResponseDto, type SymbolControllerData, type SymbolControllerGatherSymbolForDateData, type SymbolControllerGatherSymbolForDateResponse, type SymbolControllerGetSymbolDataData, type SymbolControllerGetSymbolDataResponse, type SymbolControllerLookupSymbolData, type SymbolControllerLookupSymbolResponse, type SymbolControllerResponse, type TelemetryControllerReportTelemetryData, type TelemetryControllerReportTelemetryResponse, type TestRuleDto, type TestRuleResponseDto, type TimeSeriesPointDto, type TransactionController1Data, type TransactionController1Response, type TransactionControllerCreateData, type TransactionControllerCreateResponse, type TransactionControllerData, type TransactionControllerGetDetailData, type TransactionControllerGetDetailResponse, type TransactionControllerListData, type TransactionControllerListResponse, type TransactionControllerResponse, type TransactionControllerUpdateData, type TransactionControllerUpdateResponse, type TransactionDetailDto, type TransactionListResponseDto, type TransactionResponseDto, type TransactionRuleController1Data, type TransactionRuleController1Response, type TransactionRuleController2Data, type TransactionRuleController2Response, type TransactionRuleController3Data, type TransactionRuleController3Response, type TransactionRuleControllerData, type TransactionRuleControllerExportData, type TransactionRuleControllerExportResponse, type TransactionRuleControllerGetDetailData, type TransactionRuleControllerGetDetailResponse, type TransactionRuleControllerGetStatisticsData, type TransactionRuleControllerGetStatisticsResponse, type TransactionRuleControllerListData, type TransactionRuleControllerListResponse, type TransactionRuleControllerResponse, type TransactionRuleControllerTestData, type TransactionRuleControllerTestResponse, type TransactionRuleControllerValidateData, type TransactionRuleControllerValidateResponse, type TransactionRuleListResponseDto, type TransactionRuleResponseDto, type TransactionSummaryDto, type TrendSummaryDto, type UpdateAccountDto, type UpdateTransactionDto, type UpdateUserSettingDto, type UserControllerDeleteOwnUserData, type UserControllerDeleteOwnUserResponse, type UserControllerDeleteUserData, type UserControllerDeleteUserResponse, type UserControllerGetAllUserSettingsByPageData, type UserControllerGetAllUserSettingsByPageResponse, type UserControllerGetAssetLiabilitySummaryData, type UserControllerGetAssetLiabilitySummaryResponse, type UserControllerGetUserData, type UserControllerGetUserInfoData, type UserControllerGetUserInfoResponse, type UserControllerGetUserResponse, type UserControllerSignupUserData, type UserControllerSignupUserResponse, type UserControllerUpdateUserSettingData, type UserControllerUpdateUserSettingResponse, type ValidateRuleDto, type ValidateRuleResponseDto, type VersionedConfigDto, type action, type assetClass, type assetSubType, type bookingMethod, type branchType, type category, type colorScheme, type confidenceLevel, type dataSource, type equitySubType, type flag, type flag2, type importerId, type intent, type investmentAction, type learningSource, type liabilitySubType, type matchLogic, type paymentSource, type period, type source, type sourceType, type status, type status2, type status3, type status4, type suggestedFrequency, type type, type type2, type viewMode };
package/dist/index.d.ts CHANGED
@@ -732,9 +732,15 @@ type ReviewSummaryDto = {
732
732
  */
733
733
  confidenceLevel: 'HIGH' | 'MEDIUM' | 'LOW';
734
734
  /**
735
- * Human-readable summary of the review item
735
+ * i18n message key for summary (e.g., review.summary.duplicate). Translate on frontend with summaryParams.
736
736
  */
737
- summary: string;
737
+ summaryKey: string;
738
+ /**
739
+ * Parameters for summary message interpolation (e.g., { date: "2024-01-15", amount: "50" })
740
+ */
741
+ summaryParams?: {
742
+ [key: string]: string;
743
+ };
738
744
  /**
739
745
  * Human-readable reasons for branching
740
746
  */
@@ -863,9 +869,15 @@ type ReviewDetailDto = {
863
869
  */
864
870
  confidenceLevel: 'HIGH' | 'MEDIUM' | 'LOW';
865
871
  /**
866
- * Human-readable summary of the review item
872
+ * i18n message key for summary (e.g., review.summary.duplicate). Translate on frontend with summaryParams.
867
873
  */
868
- summary: string;
874
+ summaryKey: string;
875
+ /**
876
+ * Parameters for summary message interpolation (e.g., { date: "2024-01-15", amount: "50" })
877
+ */
878
+ summaryParams?: {
879
+ [key: string]: string;
880
+ };
869
881
  /**
870
882
  * Human-readable reasons for branching
871
883
  */
@@ -2212,6 +2224,7 @@ type SupportedProvidersResponseDto = {
2212
2224
  */
2213
2225
  providers: Array<string>;
2214
2226
  };
2227
+ type ParserTelemetryReportDto = unknown;
2215
2228
  type ProcessNlpDto = {
2216
2229
  /**
2217
2230
  * Natural language text describing a transaction (Chinese)
@@ -4130,7 +4143,7 @@ type ProviderSyncControllerSyncData = {
4130
4143
  /**
4131
4144
  * Provider name
4132
4145
  */
4133
- providerName: 'plaid' | 'teller' | 'truelayer' | 'gocardless' | 'simplefin' | 'yodlee' | 'beancount-direct';
4146
+ providerName: 'plaid' | 'teller' | 'truelayer' | 'gocardless' | 'simplefin' | 'yodlee' | 'beancount-direct' | 'parsed-bill';
4134
4147
  /**
4135
4148
  * Region code
4136
4149
  */
@@ -4156,6 +4169,14 @@ type ProviderSyncControllerIsProviderSupportedData = {
4156
4169
  region: 'cn' | 'us' | 'de';
4157
4170
  };
4158
4171
  type ProviderSyncControllerIsProviderSupportedResponse = unknown;
4172
+ type TelemetryControllerReportTelemetryData = {
4173
+ /**
4174
+ * Region code (cn, us, de)
4175
+ */
4176
+ region: 'cn' | 'us' | 'de';
4177
+ requestBody: ParserTelemetryReportDto;
4178
+ };
4179
+ type TelemetryControllerReportTelemetryResponse = unknown;
4159
4180
  type NlpControllerProcessNaturalLanguageData = {
4160
4181
  /**
4161
4182
  * Region code (cn, us, de)
@@ -5644,6 +5665,21 @@ type $OpenApiTs = {
5644
5665
  };
5645
5666
  };
5646
5667
  };
5668
+ '/api/v1/{region}/bean/import/parser-telemetry': {
5669
+ post: {
5670
+ req: TelemetryControllerReportTelemetryData;
5671
+ res: {
5672
+ /**
5673
+ * Telemetry report received
5674
+ */
5675
+ 200: unknown;
5676
+ /**
5677
+ * Unauthorized
5678
+ */
5679
+ 401: unknown;
5680
+ };
5681
+ };
5682
+ };
5647
5683
  '/api/v1/{region}/bean/nlp/process': {
5648
5684
  post: {
5649
5685
  req: NlpControllerProcessNaturalLanguageData;
@@ -6267,8 +6303,9 @@ declare class BeanAccountsService {
6267
6303
  }
6268
6304
  declare class BeanTransactionsService {
6269
6305
  /**
6270
- * Create transaction
6271
- * Creates a new double-entry transaction. Missing accounts are auto-created by default.
6306
+ * @deprecated
6307
+ * Create transaction (DEPRECATED)
6308
+ * DEPRECATED: Use POST /:region/bean/import/provider/:name/sync instead. This endpoint skips dedup, rule matching, and review branching.
6272
6309
  * @param data The data for the request.
6273
6310
  * @param data.region Region code for tenant context
6274
6311
  * @param data.requestBody Transaction data with postings
@@ -6423,6 +6460,7 @@ declare class ProviderSyncService {
6423
6460
  * - **simplefin**: SimpleFIN (Self-hosted)
6424
6461
  * - **yodlee**: Yodlee (Global)
6425
6462
  * - **beancount-direct**: Beancount format transactions
6463
+ * - **parsed-bill**: Client-side parsed bill transactions
6426
6464
  *
6427
6465
  * **Processing Flow:**
6428
6466
  * 1. Transform raw data via provider adapter
@@ -6578,4 +6616,4 @@ type OpenAPIConfig = {
6578
6616
  };
6579
6617
  declare const OpenAPI: OpenAPIConfig;
6580
6618
 
6581
- export { type $OpenApiTs, type AccountControllerCloseData, type AccountControllerCloseResponse, type AccountControllerCreateData, type AccountControllerCreateResponse, type AccountControllerDeleteData, type AccountControllerDeleteResponse, type AccountControllerFindAllData, type AccountControllerFindAllResponse, type AccountControllerFindOneData, type AccountControllerFindOneResponse, type AccountControllerReopenData, type AccountControllerReopenResponse, type AccountControllerUpdateData, type AccountControllerUpdateResponse, type AccountExchangeRateWarningDto, type AccountItemDto, type AccountItemWithAssetClassDto, type AccountListResponseDto, type AccountResponseDto, type AccountStandardListResponseDto, type AccountStandardResponseDto, type AccountStandardsControllerGetRegionsData, type AccountStandardsControllerGetRegionsResponse, type AccountStandardsControllerGetTemplatesData, type AccountStandardsControllerGetTemplatesResponse, type AccountsResponseDto, type AccountsSummaryDto, type AnonymousLoginDto, type ApiKeysControllerData, type ApiKeysControllerResponse, type ApiProblemResponseDto, type AssetClassAccountsResponseDto, type AssetClassGroupDto, type AssetClassSummaryDto, type AuthControllerAccessTokenLoginData, type AuthControllerAccessTokenLoginResponse, type BackfillSnapshotsBody, type BackfillSnapshotsResponse, type BalanceByCurrencyDto, type BalanceControllerGetBalanceData, type BalanceControllerGetBalanceResponse, type BalanceControllerGetMultiCurrencyBalanceData, type BalanceControllerGetMultiCurrencyBalanceResponse, type BalanceResponseDto, BeanAccountsService, BeanBalancesService, BeanCommoditiesService, BeanTransactionsService, type CacheControllerFlushCacheData, type CacheControllerFlushCacheResponse, type CashFlowByCurrencyDto, type CashFlowResponseDto, type CloseAccountDto, type CommodityController1Data, type CommodityController1Response, type CommodityController2Data, type CommodityController2Response, type CommodityController3Data, type CommodityController3Response, type CommodityController4Data, type CommodityController4Response, type CommodityControllerData, type CommodityControllerFindAllData, type CommodityControllerFindAllResponse, type CommodityControllerFindOneData, type CommodityControllerFindOneResponse, type CommodityControllerResponse, type CommodityListResponseDto, type CommodityResponseDto, type ConvertedCashFlowDto, type ConvertedNetWorthDto, type CreateAccountDto, type CreatePostingDto, type CreateTransactionDto, type CurrencyBalanceDto, type DashboardControllerGetAccountsData, type DashboardControllerGetAccountsResponse, type DashboardControllerGetCashFlowData, type DashboardControllerGetCashFlowResponse, type DashboardControllerGetNetWorthData, type DashboardControllerGetNetWorthResponse, type DecisionOptionDto, type DeleteOwnUserDto, type ExchangeRateControllerGetExchangeRateData, type ExchangeRateControllerGetExchangeRateResponse, type ExchangeRateWarningDto, type ExpectedTransactionController1Data, type ExpectedTransactionController1Response, type ExpectedTransactionController2Data, type ExpectedTransactionController2Response, type ExpectedTransactionController3Data, type ExpectedTransactionController3Response, type ExpectedTransactionController4Data, type ExpectedTransactionController4Response, type ExpectedTransactionControllerData, type ExpectedTransactionControllerFindAllData, type ExpectedTransactionControllerFindAllResponse, type ExpectedTransactionControllerFindOneData, type ExpectedTransactionControllerFindOneResponse, type ExpectedTransactionControllerFindOverdueData, type ExpectedTransactionControllerFindOverdueResponse, type ExpectedTransactionControllerResponse, type ExpectedTransactionListResponseDto, type ExpectedTransactionResponseDto, type ExpectedTransactionRuleDto, type ExportRulesResponseDto, type FileImportControllerIdentifyFileData, type FileImportControllerIdentifyFileResponse, type FileImportControllerImportFileData, type FileImportControllerImportFileResponse, type FileImportDto, type ForecastControllerGetForecastData, type ForecastControllerGetForecastResponse, type ForecastItemDto, type ForecastResponseDto, type GenerateSnapshotBody, type GenerateSnapshotResponse, type HealthControllerCheckDataProvidersData, type HealthControllerCheckDataProvidersResponse, type HealthControllerCheckDatabaseData, type HealthControllerCheckDatabaseResponse, type HealthControllerCheckRedisData, type HealthControllerCheckRedisResponse, type HealthControllerGetCircuitBreakersHealthData, type HealthControllerGetCircuitBreakersHealthResponse, type HealthControllerGetHealthData, type HealthControllerGetHealthOfDataEnhancerData, type HealthControllerGetHealthOfDataEnhancerResponse, type HealthControllerGetHealthOfDataProviderData, type HealthControllerGetHealthOfDataProviderResponse, type HealthControllerGetHealthResponse, type HealthControllerGetMetricsData, type HealthControllerGetMetricsResponse, type HealthControllerResetCircuitBreakerData, type HealthControllerResetCircuitBreakerResponse, HealthService, type IdentifyResultDto, type ImportErrorDto, type ImportResultDto, type ImporterConfigController1Data, type ImporterConfigController1Response, type ImporterConfigControllerData, type ImporterConfigControllerGetConfigData, type ImporterConfigControllerGetConfigResponse, type ImporterConfigControllerResponse, type ImporterConfigDataDto, type ImporterConfigDto, type InfoControllerGetInfoData, type InfoControllerGetInfoResponse, type LogoControllerGetLogoByDataSourceAndSymbolData, type LogoControllerGetLogoByDataSourceAndSymbolResponse, type LogoControllerGetLogoByUrlData, type LogoControllerGetLogoByUrlResponse, type MapperDefaultsDto, type MarketDataControllerData, type MarketDataControllerGetMarketDataBySymbolData, type MarketDataControllerGetMarketDataBySymbolResponse, type MarketDataControllerResponse, type MonthlyForecastDto, type MultiCurrencyBalanceResponseDto, type MultiCurrencyPointDto, type NetWorthByCurrencyDto, type NetWorthResponseDto, type NlpAccountConfirmationDataDto, type NlpAlternativePayeeDto, type NlpControllerClearSessionData, type NlpControllerClearSessionResponse, type NlpControllerGetSessionData, type NlpControllerGetSessionResponse, type NlpControllerProcessNaturalLanguageData, type NlpControllerProcessNaturalLanguageResponse, type NlpDefaultAccountsDto, type NlpDuplicateConfirmationDataDto, type NlpParsedDataDto, type NlpPayeeConfirmationDataDto, type NlpResponseDto, type NlpRuleConfirmationDataDto, type NlpSimilarityDto, type NlpSourceTransactionDto, type NlpSuggestedAccountDto, type NlpSuggestedAccountsDto, type NlpSuggestedPayeeDto, type NlpTargetTransactionDto, type NlpTransactionInfoDto, OpenAPI, type OpenAPIConfig, type PayeeAutocompleteResponseDto, type PayeeController1Data, type PayeeController1Response, type PayeeController2Data, type PayeeController2Response, type PayeeControllerAutocompleteData, type PayeeControllerAutocompleteResponse, type PayeeControllerData, type PayeeControllerFindAllData, type PayeeControllerFindAllResponse, type PayeeControllerFindOneData, type PayeeControllerFindOneResponse, type PayeeControllerGetTopPayeesData, type PayeeControllerGetTopPayeesResponse, type PayeeControllerResponse, type PayeeListResponseDto, type PayeeProfileAdminController1Data, type PayeeProfileAdminController1Response, type PayeeProfileAdminController2Data, type PayeeProfileAdminController2Response, type PayeeProfileAdminController3Data, type PayeeProfileAdminController3Response, type PayeeProfileAdminController4Data, type PayeeProfileAdminController4Response, type PayeeProfileAdminControllerData, type PayeeProfileAdminControllerFindAllData, type PayeeProfileAdminControllerFindAllResponse, type PayeeProfileAdminControllerFindOneData, type PayeeProfileAdminControllerFindOneResponse, type PayeeProfileAdminControllerResponse, type PayeeProfileListResponseDto, type PayeeProfileResponseDto, type PayeeResponseDto, type PayeeStatsResponseDto, type PlatformController1Data, type PlatformController1Response, type PlatformController2Data, type PlatformController2Response, type PlatformControllerData, type PlatformControllerFindAllData, type PlatformControllerFindAllResponse, type PlatformControllerGetPlatformListData, type PlatformControllerGetPlatformListResponse, type PlatformControllerResponse, type PlatformGroupDto, type PortfolioTrendsResponseDto, type PostingDetailDto, type PostingResponseDto, type ProcessNlpDto, type PropertyController1Data, type PropertyController1Response, type PropertyControllerData, type PropertyControllerGetAllData, type PropertyControllerGetAllResponse, type PropertyControllerGetByKeyData, type PropertyControllerGetByKeyResponse, type PropertyControllerResponse, type ProviderSyncConfigDto, type ProviderSyncControllerGetSupportedProvidersData, type ProviderSyncControllerGetSupportedProvidersResponse, type ProviderSyncControllerIsProviderSupportedData, type ProviderSyncControllerIsProviderSupportedResponse, type ProviderSyncControllerSyncData, type ProviderSyncControllerSyncResponse, type ProviderSyncDto, type ProviderSyncResponseDto, ProviderSyncService, type RecurringMatchInfoDto, type RecurringRuleController1Data, type RecurringRuleController1Response, type RecurringRuleController2Data, type RecurringRuleController2Response, type RecurringRuleController3Data, type RecurringRuleController3Response, type RecurringRuleControllerData, type RecurringRuleControllerFindAllData, type RecurringRuleControllerFindAllResponse, type RecurringRuleControllerFindOneData, type RecurringRuleControllerFindOneResponse, type RecurringRuleControllerGetWithStatsData, type RecurringRuleControllerGetWithStatsResponse, type RecurringRuleControllerResponse, type RecurringRuleResponseDto, type RecurringRuleWithStatsResponseDto, type RecurringSuggestionDto, type RegionConfigDto, type RegionInfoDto, type RegionsMetadataResponseDto, type ReopenAccountDto, type ReportingControllerBackfillSnapshotsData, type ReportingControllerBackfillSnapshotsResponse, type ReportingControllerGenerateSnapshotData, type ReportingControllerGenerateSnapshotResponse, type ReportingControllerGetPortfolioTrendsData, type ReportingControllerGetPortfolioTrendsResponse, type ReviewController1Data, type ReviewController1Response, type ReviewController2Data, type ReviewController2Response, type ReviewControllerData, type ReviewControllerFindAllData, type ReviewControllerFindAllResponse, type ReviewControllerFindOneData, type ReviewControllerFindOneResponse, type ReviewControllerGetStatsData, type ReviewControllerGetStatsResponse, type ReviewControllerResponse, type ReviewDetailDto, type ReviewItemPreviewDto, type ReviewListResponseDto, type ReviewStatsDto, type ReviewSummaryDto, type RuleStatisticsResponseDto, type SignupDto, type SupportedProvidersResponseDto, type SymbolControllerData, type SymbolControllerGatherSymbolForDateData, type SymbolControllerGatherSymbolForDateResponse, type SymbolControllerGetSymbolDataData, type SymbolControllerGetSymbolDataResponse, type SymbolControllerLookupSymbolData, type SymbolControllerLookupSymbolResponse, type SymbolControllerResponse, type TestRuleDto, type TestRuleResponseDto, type TimeSeriesPointDto, type TransactionController1Data, type TransactionController1Response, type TransactionControllerCreateData, type TransactionControllerCreateResponse, type TransactionControllerData, type TransactionControllerGetDetailData, type TransactionControllerGetDetailResponse, type TransactionControllerListData, type TransactionControllerListResponse, type TransactionControllerResponse, type TransactionControllerUpdateData, type TransactionControllerUpdateResponse, type TransactionDetailDto, type TransactionListResponseDto, type TransactionResponseDto, type TransactionRuleController1Data, type TransactionRuleController1Response, type TransactionRuleController2Data, type TransactionRuleController2Response, type TransactionRuleController3Data, type TransactionRuleController3Response, type TransactionRuleControllerData, type TransactionRuleControllerExportData, type TransactionRuleControllerExportResponse, type TransactionRuleControllerGetDetailData, type TransactionRuleControllerGetDetailResponse, type TransactionRuleControllerGetStatisticsData, type TransactionRuleControllerGetStatisticsResponse, type TransactionRuleControllerListData, type TransactionRuleControllerListResponse, type TransactionRuleControllerResponse, type TransactionRuleControllerTestData, type TransactionRuleControllerTestResponse, type TransactionRuleControllerValidateData, type TransactionRuleControllerValidateResponse, type TransactionRuleListResponseDto, type TransactionRuleResponseDto, type TransactionSummaryDto, type TrendSummaryDto, type UpdateAccountDto, type UpdateTransactionDto, type UpdateUserSettingDto, type UserControllerDeleteOwnUserData, type UserControllerDeleteOwnUserResponse, type UserControllerDeleteUserData, type UserControllerDeleteUserResponse, type UserControllerGetAllUserSettingsByPageData, type UserControllerGetAllUserSettingsByPageResponse, type UserControllerGetAssetLiabilitySummaryData, type UserControllerGetAssetLiabilitySummaryResponse, type UserControllerGetUserData, type UserControllerGetUserInfoData, type UserControllerGetUserInfoResponse, type UserControllerGetUserResponse, type UserControllerSignupUserData, type UserControllerSignupUserResponse, type UserControllerUpdateUserSettingData, type UserControllerUpdateUserSettingResponse, type ValidateRuleDto, type ValidateRuleResponseDto, type VersionedConfigDto, type action, type assetClass, type assetSubType, type bookingMethod, type branchType, type category, type colorScheme, type confidenceLevel, type dataSource, type equitySubType, type flag, type flag2, type importerId, type intent, type investmentAction, type learningSource, type liabilitySubType, type matchLogic, type paymentSource, type period, type source, type sourceType, type status, type status2, type status3, type status4, type suggestedFrequency, type type, type type2, type viewMode };
6619
+ export { type $OpenApiTs, type AccountControllerCloseData, type AccountControllerCloseResponse, type AccountControllerCreateData, type AccountControllerCreateResponse, type AccountControllerDeleteData, type AccountControllerDeleteResponse, type AccountControllerFindAllData, type AccountControllerFindAllResponse, type AccountControllerFindOneData, type AccountControllerFindOneResponse, type AccountControllerReopenData, type AccountControllerReopenResponse, type AccountControllerUpdateData, type AccountControllerUpdateResponse, type AccountExchangeRateWarningDto, type AccountItemDto, type AccountItemWithAssetClassDto, type AccountListResponseDto, type AccountResponseDto, type AccountStandardListResponseDto, type AccountStandardResponseDto, type AccountStandardsControllerGetRegionsData, type AccountStandardsControllerGetRegionsResponse, type AccountStandardsControllerGetTemplatesData, type AccountStandardsControllerGetTemplatesResponse, type AccountsResponseDto, type AccountsSummaryDto, type AnonymousLoginDto, type ApiKeysControllerData, type ApiKeysControllerResponse, type ApiProblemResponseDto, type AssetClassAccountsResponseDto, type AssetClassGroupDto, type AssetClassSummaryDto, type AuthControllerAccessTokenLoginData, type AuthControllerAccessTokenLoginResponse, type BackfillSnapshotsBody, type BackfillSnapshotsResponse, type BalanceByCurrencyDto, type BalanceControllerGetBalanceData, type BalanceControllerGetBalanceResponse, type BalanceControllerGetMultiCurrencyBalanceData, type BalanceControllerGetMultiCurrencyBalanceResponse, type BalanceResponseDto, BeanAccountsService, BeanBalancesService, BeanCommoditiesService, BeanTransactionsService, type CacheControllerFlushCacheData, type CacheControllerFlushCacheResponse, type CashFlowByCurrencyDto, type CashFlowResponseDto, type CloseAccountDto, type CommodityController1Data, type CommodityController1Response, type CommodityController2Data, type CommodityController2Response, type CommodityController3Data, type CommodityController3Response, type CommodityController4Data, type CommodityController4Response, type CommodityControllerData, type CommodityControllerFindAllData, type CommodityControllerFindAllResponse, type CommodityControllerFindOneData, type CommodityControllerFindOneResponse, type CommodityControllerResponse, type CommodityListResponseDto, type CommodityResponseDto, type ConvertedCashFlowDto, type ConvertedNetWorthDto, type CreateAccountDto, type CreatePostingDto, type CreateTransactionDto, type CurrencyBalanceDto, type DashboardControllerGetAccountsData, type DashboardControllerGetAccountsResponse, type DashboardControllerGetCashFlowData, type DashboardControllerGetCashFlowResponse, type DashboardControllerGetNetWorthData, type DashboardControllerGetNetWorthResponse, type DecisionOptionDto, type DeleteOwnUserDto, type ExchangeRateControllerGetExchangeRateData, type ExchangeRateControllerGetExchangeRateResponse, type ExchangeRateWarningDto, type ExpectedTransactionController1Data, type ExpectedTransactionController1Response, type ExpectedTransactionController2Data, type ExpectedTransactionController2Response, type ExpectedTransactionController3Data, type ExpectedTransactionController3Response, type ExpectedTransactionController4Data, type ExpectedTransactionController4Response, type ExpectedTransactionControllerData, type ExpectedTransactionControllerFindAllData, type ExpectedTransactionControllerFindAllResponse, type ExpectedTransactionControllerFindOneData, type ExpectedTransactionControllerFindOneResponse, type ExpectedTransactionControllerFindOverdueData, type ExpectedTransactionControllerFindOverdueResponse, type ExpectedTransactionControllerResponse, type ExpectedTransactionListResponseDto, type ExpectedTransactionResponseDto, type ExpectedTransactionRuleDto, type ExportRulesResponseDto, type FileImportControllerIdentifyFileData, type FileImportControllerIdentifyFileResponse, type FileImportControllerImportFileData, type FileImportControllerImportFileResponse, type FileImportDto, type ForecastControllerGetForecastData, type ForecastControllerGetForecastResponse, type ForecastItemDto, type ForecastResponseDto, type GenerateSnapshotBody, type GenerateSnapshotResponse, type HealthControllerCheckDataProvidersData, type HealthControllerCheckDataProvidersResponse, type HealthControllerCheckDatabaseData, type HealthControllerCheckDatabaseResponse, type HealthControllerCheckRedisData, type HealthControllerCheckRedisResponse, type HealthControllerGetCircuitBreakersHealthData, type HealthControllerGetCircuitBreakersHealthResponse, type HealthControllerGetHealthData, type HealthControllerGetHealthOfDataEnhancerData, type HealthControllerGetHealthOfDataEnhancerResponse, type HealthControllerGetHealthOfDataProviderData, type HealthControllerGetHealthOfDataProviderResponse, type HealthControllerGetHealthResponse, type HealthControllerGetMetricsData, type HealthControllerGetMetricsResponse, type HealthControllerResetCircuitBreakerData, type HealthControllerResetCircuitBreakerResponse, HealthService, type IdentifyResultDto, type ImportErrorDto, type ImportResultDto, type ImporterConfigController1Data, type ImporterConfigController1Response, type ImporterConfigControllerData, type ImporterConfigControllerGetConfigData, type ImporterConfigControllerGetConfigResponse, type ImporterConfigControllerResponse, type ImporterConfigDataDto, type ImporterConfigDto, type InfoControllerGetInfoData, type InfoControllerGetInfoResponse, type LogoControllerGetLogoByDataSourceAndSymbolData, type LogoControllerGetLogoByDataSourceAndSymbolResponse, type LogoControllerGetLogoByUrlData, type LogoControllerGetLogoByUrlResponse, type MapperDefaultsDto, type MarketDataControllerData, type MarketDataControllerGetMarketDataBySymbolData, type MarketDataControllerGetMarketDataBySymbolResponse, type MarketDataControllerResponse, type MonthlyForecastDto, type MultiCurrencyBalanceResponseDto, type MultiCurrencyPointDto, type NetWorthByCurrencyDto, type NetWorthResponseDto, type NlpAccountConfirmationDataDto, type NlpAlternativePayeeDto, type NlpControllerClearSessionData, type NlpControllerClearSessionResponse, type NlpControllerGetSessionData, type NlpControllerGetSessionResponse, type NlpControllerProcessNaturalLanguageData, type NlpControllerProcessNaturalLanguageResponse, type NlpDefaultAccountsDto, type NlpDuplicateConfirmationDataDto, type NlpParsedDataDto, type NlpPayeeConfirmationDataDto, type NlpResponseDto, type NlpRuleConfirmationDataDto, type NlpSimilarityDto, type NlpSourceTransactionDto, type NlpSuggestedAccountDto, type NlpSuggestedAccountsDto, type NlpSuggestedPayeeDto, type NlpTargetTransactionDto, type NlpTransactionInfoDto, OpenAPI, type OpenAPIConfig, type ParserTelemetryReportDto, type PayeeAutocompleteResponseDto, type PayeeController1Data, type PayeeController1Response, type PayeeController2Data, type PayeeController2Response, type PayeeControllerAutocompleteData, type PayeeControllerAutocompleteResponse, type PayeeControllerData, type PayeeControllerFindAllData, type PayeeControllerFindAllResponse, type PayeeControllerFindOneData, type PayeeControllerFindOneResponse, type PayeeControllerGetTopPayeesData, type PayeeControllerGetTopPayeesResponse, type PayeeControllerResponse, type PayeeListResponseDto, type PayeeProfileAdminController1Data, type PayeeProfileAdminController1Response, type PayeeProfileAdminController2Data, type PayeeProfileAdminController2Response, type PayeeProfileAdminController3Data, type PayeeProfileAdminController3Response, type PayeeProfileAdminController4Data, type PayeeProfileAdminController4Response, type PayeeProfileAdminControllerData, type PayeeProfileAdminControllerFindAllData, type PayeeProfileAdminControllerFindAllResponse, type PayeeProfileAdminControllerFindOneData, type PayeeProfileAdminControllerFindOneResponse, type PayeeProfileAdminControllerResponse, type PayeeProfileListResponseDto, type PayeeProfileResponseDto, type PayeeResponseDto, type PayeeStatsResponseDto, type PlatformController1Data, type PlatformController1Response, type PlatformController2Data, type PlatformController2Response, type PlatformControllerData, type PlatformControllerFindAllData, type PlatformControllerFindAllResponse, type PlatformControllerGetPlatformListData, type PlatformControllerGetPlatformListResponse, type PlatformControllerResponse, type PlatformGroupDto, type PortfolioTrendsResponseDto, type PostingDetailDto, type PostingResponseDto, type ProcessNlpDto, type PropertyController1Data, type PropertyController1Response, type PropertyControllerData, type PropertyControllerGetAllData, type PropertyControllerGetAllResponse, type PropertyControllerGetByKeyData, type PropertyControllerGetByKeyResponse, type PropertyControllerResponse, type ProviderSyncConfigDto, type ProviderSyncControllerGetSupportedProvidersData, type ProviderSyncControllerGetSupportedProvidersResponse, type ProviderSyncControllerIsProviderSupportedData, type ProviderSyncControllerIsProviderSupportedResponse, type ProviderSyncControllerSyncData, type ProviderSyncControllerSyncResponse, type ProviderSyncDto, type ProviderSyncResponseDto, ProviderSyncService, type RecurringMatchInfoDto, type RecurringRuleController1Data, type RecurringRuleController1Response, type RecurringRuleController2Data, type RecurringRuleController2Response, type RecurringRuleController3Data, type RecurringRuleController3Response, type RecurringRuleControllerData, type RecurringRuleControllerFindAllData, type RecurringRuleControllerFindAllResponse, type RecurringRuleControllerFindOneData, type RecurringRuleControllerFindOneResponse, type RecurringRuleControllerGetWithStatsData, type RecurringRuleControllerGetWithStatsResponse, type RecurringRuleControllerResponse, type RecurringRuleResponseDto, type RecurringRuleWithStatsResponseDto, type RecurringSuggestionDto, type RegionConfigDto, type RegionInfoDto, type RegionsMetadataResponseDto, type ReopenAccountDto, type ReportingControllerBackfillSnapshotsData, type ReportingControllerBackfillSnapshotsResponse, type ReportingControllerGenerateSnapshotData, type ReportingControllerGenerateSnapshotResponse, type ReportingControllerGetPortfolioTrendsData, type ReportingControllerGetPortfolioTrendsResponse, type ReviewController1Data, type ReviewController1Response, type ReviewController2Data, type ReviewController2Response, type ReviewControllerData, type ReviewControllerFindAllData, type ReviewControllerFindAllResponse, type ReviewControllerFindOneData, type ReviewControllerFindOneResponse, type ReviewControllerGetStatsData, type ReviewControllerGetStatsResponse, type ReviewControllerResponse, type ReviewDetailDto, type ReviewItemPreviewDto, type ReviewListResponseDto, type ReviewStatsDto, type ReviewSummaryDto, type RuleStatisticsResponseDto, type SignupDto, type SupportedProvidersResponseDto, type SymbolControllerData, type SymbolControllerGatherSymbolForDateData, type SymbolControllerGatherSymbolForDateResponse, type SymbolControllerGetSymbolDataData, type SymbolControllerGetSymbolDataResponse, type SymbolControllerLookupSymbolData, type SymbolControllerLookupSymbolResponse, type SymbolControllerResponse, type TelemetryControllerReportTelemetryData, type TelemetryControllerReportTelemetryResponse, type TestRuleDto, type TestRuleResponseDto, type TimeSeriesPointDto, type TransactionController1Data, type TransactionController1Response, type TransactionControllerCreateData, type TransactionControllerCreateResponse, type TransactionControllerData, type TransactionControllerGetDetailData, type TransactionControllerGetDetailResponse, type TransactionControllerListData, type TransactionControllerListResponse, type TransactionControllerResponse, type TransactionControllerUpdateData, type TransactionControllerUpdateResponse, type TransactionDetailDto, type TransactionListResponseDto, type TransactionResponseDto, type TransactionRuleController1Data, type TransactionRuleController1Response, type TransactionRuleController2Data, type TransactionRuleController2Response, type TransactionRuleController3Data, type TransactionRuleController3Response, type TransactionRuleControllerData, type TransactionRuleControllerExportData, type TransactionRuleControllerExportResponse, type TransactionRuleControllerGetDetailData, type TransactionRuleControllerGetDetailResponse, type TransactionRuleControllerGetStatisticsData, type TransactionRuleControllerGetStatisticsResponse, type TransactionRuleControllerListData, type TransactionRuleControllerListResponse, type TransactionRuleControllerResponse, type TransactionRuleControllerTestData, type TransactionRuleControllerTestResponse, type TransactionRuleControllerValidateData, type TransactionRuleControllerValidateResponse, type TransactionRuleListResponseDto, type TransactionRuleResponseDto, type TransactionSummaryDto, type TrendSummaryDto, type UpdateAccountDto, type UpdateTransactionDto, type UpdateUserSettingDto, type UserControllerDeleteOwnUserData, type UserControllerDeleteOwnUserResponse, type UserControllerDeleteUserData, type UserControllerDeleteUserResponse, type UserControllerGetAllUserSettingsByPageData, type UserControllerGetAllUserSettingsByPageResponse, type UserControllerGetAssetLiabilitySummaryData, type UserControllerGetAssetLiabilitySummaryResponse, type UserControllerGetUserData, type UserControllerGetUserInfoData, type UserControllerGetUserInfoResponse, type UserControllerGetUserResponse, type UserControllerSignupUserData, type UserControllerSignupUserResponse, type UserControllerUpdateUserSettingData, type UserControllerUpdateUserSettingResponse, type ValidateRuleDto, type ValidateRuleResponseDto, type VersionedConfigDto, type action, type assetClass, type assetSubType, type bookingMethod, type branchType, type category, type colorScheme, type confidenceLevel, type dataSource, type equitySubType, type flag, type flag2, type importerId, type intent, type investmentAction, type learningSource, type liabilitySubType, type matchLogic, type paymentSource, type period, type source, type sourceType, type status, type status2, type status3, type status4, type suggestedFrequency, type type, type type2, type viewMode };
package/dist/index.js CHANGED
@@ -632,8 +632,9 @@ var BeanAccountsService = class {
632
632
  };
633
633
  var BeanTransactionsService = class {
634
634
  /**
635
- * Create transaction
636
- * Creates a new double-entry transaction. Missing accounts are auto-created by default.
635
+ * @deprecated
636
+ * Create transaction (DEPRECATED)
637
+ * DEPRECATED: Use POST /:region/bean/import/provider/:name/sync instead. This endpoint skips dedup, rule matching, and review branching.
637
638
  * @param data The data for the request.
638
639
  * @param data.region Region code for tenant context
639
640
  * @param data.requestBody Transaction data with postings
@@ -962,6 +963,7 @@ var ProviderSyncService = class {
962
963
  * - **simplefin**: SimpleFIN (Self-hosted)
963
964
  * - **yodlee**: Yodlee (Global)
964
965
  * - **beancount-direct**: Beancount format transactions
966
+ * - **parsed-bill**: Client-side parsed bill transactions
965
967
  *
966
968
  * **Processing Flow:**
967
969
  * 1. Transform raw data via provider adapter
package/dist/index.mjs CHANGED
@@ -600,8 +600,9 @@ var BeanAccountsService = class {
600
600
  };
601
601
  var BeanTransactionsService = class {
602
602
  /**
603
- * Create transaction
604
- * Creates a new double-entry transaction. Missing accounts are auto-created by default.
603
+ * @deprecated
604
+ * Create transaction (DEPRECATED)
605
+ * DEPRECATED: Use POST /:region/bean/import/provider/:name/sync instead. This endpoint skips dedup, rule matching, and review branching.
605
606
  * @param data The data for the request.
606
607
  * @param data.region Region code for tenant context
607
608
  * @param data.requestBody Transaction data with postings
@@ -930,6 +931,7 @@ var ProviderSyncService = class {
930
931
  * - **simplefin**: SimpleFIN (Self-hosted)
931
932
  * - **yodlee**: Yodlee (Global)
932
933
  * - **beancount-direct**: Beancount format transactions
934
+ * - **parsed-bill**: Client-side parsed bill transactions
933
935
  *
934
936
  * **Processing Flow:**
935
937
  * 1. Transform raw data via provider adapter
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firela/api-types",
3
- "version": "0.0.0-canary.209967",
3
+ "version": "0.0.0-canary.b3b7767b",
4
4
  "description": "TypeScript types generated from IGN OpenAPI specification",
5
5
  "license": "MIT",
6
6
  "author": "FireLa Team",
@@ -17,11 +17,6 @@
17
17
  "import": "./dist/index.mjs",
18
18
  "require": "./dist/index.js",
19
19
  "types": "./dist/index.d.ts"
20
- },
21
- "./client": {
22
- "types": "./dist/generated/sdk.gen.d.ts",
23
- "import": "./dist/generated/sdk.gen.mjs",
24
- "default": "./dist/generated/sdk.gen.js"
25
20
  }
26
21
  },
27
22
  "files": [
@@ -1139,9 +1139,18 @@ export const $ReviewSummaryDto = {
1139
1139
  description: 'Confidence level derived from score',
1140
1140
  enum: ['HIGH', 'MEDIUM', 'LOW']
1141
1141
  },
1142
- summary: {
1142
+ summaryKey: {
1143
1143
  type: 'string',
1144
- description: 'Human-readable summary of the review item'
1144
+ description:
1145
+ 'i18n message key for summary (e.g., review.summary.duplicate). Translate on frontend with summaryParams.'
1146
+ },
1147
+ summaryParams: {
1148
+ type: 'object',
1149
+ description:
1150
+ 'Parameters for summary message interpolation (e.g., { date: "2024-01-15", amount: "50" })',
1151
+ additionalProperties: {
1152
+ type: 'string'
1153
+ }
1145
1154
  },
1146
1155
  matchReasons: {
1147
1156
  description: 'Human-readable reasons for branching',
@@ -1201,7 +1210,7 @@ export const $ReviewSummaryDto = {
1201
1210
  'status',
1202
1211
  'confidence',
1203
1212
  'confidenceLevel',
1204
- 'summary',
1213
+ 'summaryKey',
1205
1214
  'matchReasons',
1206
1215
  'sourceType',
1207
1216
  'createdAt'
@@ -1313,9 +1322,18 @@ export const $ReviewDetailDto = {
1313
1322
  description: 'Confidence level derived from score',
1314
1323
  enum: ['HIGH', 'MEDIUM', 'LOW']
1315
1324
  },
1316
- summary: {
1325
+ summaryKey: {
1317
1326
  type: 'string',
1318
- description: 'Human-readable summary of the review item'
1327
+ description:
1328
+ 'i18n message key for summary (e.g., review.summary.duplicate). Translate on frontend with summaryParams.'
1329
+ },
1330
+ summaryParams: {
1331
+ type: 'object',
1332
+ description:
1333
+ 'Parameters for summary message interpolation (e.g., { date: "2024-01-15", amount: "50" })',
1334
+ additionalProperties: {
1335
+ type: 'string'
1336
+ }
1319
1337
  },
1320
1338
  matchReasons: {
1321
1339
  description: 'Human-readable reasons for branching',
@@ -1391,7 +1409,7 @@ export const $ReviewDetailDto = {
1391
1409
  'status',
1392
1410
  'confidence',
1393
1411
  'confidenceLevel',
1394
- 'summary',
1412
+ 'summaryKey',
1395
1413
  'matchReasons',
1396
1414
  'sourceType',
1397
1415
  'createdAt',
@@ -3329,7 +3347,8 @@ export const $SupportedProvidersResponseDto = {
3329
3347
  'gocardless',
3330
3348
  'simplefin',
3331
3349
  'yodlee',
3332
- 'beancount-direct'
3350
+ 'beancount-direct',
3351
+ 'parsed-bill'
3333
3352
  ],
3334
3353
  type: 'array',
3335
3354
  items: {
@@ -3340,6 +3359,11 @@ export const $SupportedProvidersResponseDto = {
3340
3359
  required: ['providers']
3341
3360
  } as const;
3342
3361
 
3362
+ export const $ParserTelemetryReportDto = {
3363
+ type: 'object',
3364
+ properties: {}
3365
+ } as const;
3366
+
3343
3367
  export const $ProcessNlpDto = {
3344
3368
  type: 'object',
3345
3369
  properties: {
@@ -183,6 +183,8 @@ import type {
183
183
  ProviderSyncControllerGetSupportedProvidersResponse,
184
184
  ProviderSyncControllerIsProviderSupportedData,
185
185
  ProviderSyncControllerIsProviderSupportedResponse,
186
+ TelemetryControllerReportTelemetryData,
187
+ TelemetryControllerReportTelemetryResponse,
186
188
  NlpControllerProcessNaturalLanguageData,
187
189
  NlpControllerProcessNaturalLanguageResponse,
188
190
  NlpControllerClearSessionData,
@@ -458,8 +460,9 @@ export class BeanAccountsService {
458
460
 
459
461
  export class BeanTransactionsService {
460
462
  /**
461
- * Create transaction
462
- * Creates a new double-entry transaction. Missing accounts are auto-created by default.
463
+ * @deprecated
464
+ * Create transaction (DEPRECATED)
465
+ * DEPRECATED: Use POST /:region/bean/import/provider/:name/sync instead. This endpoint skips dedup, rule matching, and review branching.
463
466
  * @param data The data for the request.
464
467
  * @param data.region Region code for tenant context
465
468
  * @param data.requestBody Transaction data with postings
@@ -2309,6 +2312,7 @@ export class ProviderSyncService {
2309
2312
  * - **simplefin**: SimpleFIN (Self-hosted)
2310
2313
  * - **yodlee**: Yodlee (Global)
2311
2314
  * - **beancount-direct**: Beancount format transactions
2315
+ * - **parsed-bill**: Client-side parsed bill transactions
2312
2316
  *
2313
2317
  * **Processing Flow:**
2314
2318
  * 1. Transform raw data via provider adapter
@@ -2394,6 +2398,33 @@ export class ProviderSyncService {
2394
2398
  }
2395
2399
  }
2396
2400
 
2401
+ export class ImportTelemetryService {
2402
+ /**
2403
+ * Receive anonymous parser failure telemetry
2404
+ * @param data The data for the request.
2405
+ * @param data.region Region code (cn, us, de)
2406
+ * @param data.requestBody
2407
+ * @returns unknown Telemetry report received
2408
+ * @throws ApiError
2409
+ */
2410
+ public static telemetryControllerReportTelemetry(
2411
+ data: TelemetryControllerReportTelemetryData
2412
+ ): CancelablePromise<TelemetryControllerReportTelemetryResponse> {
2413
+ return __request(OpenAPI, {
2414
+ method: 'POST',
2415
+ url: '/api/v1/{region}/bean/import/parser-telemetry',
2416
+ path: {
2417
+ region: data.region
2418
+ },
2419
+ body: data.requestBody,
2420
+ mediaType: 'application/json',
2421
+ errors: {
2422
+ 401: 'Unauthorized'
2423
+ }
2424
+ });
2425
+ }
2426
+ }
2427
+
2397
2428
  export class BeanNlpService {
2398
2429
  /**
2399
2430
  * Process natural language input
@@ -808,9 +808,15 @@ export type ReviewSummaryDto = {
808
808
  */
809
809
  confidenceLevel: 'HIGH' | 'MEDIUM' | 'LOW';
810
810
  /**
811
- * Human-readable summary of the review item
811
+ * i18n message key for summary (e.g., review.summary.duplicate). Translate on frontend with summaryParams.
812
812
  */
813
- summary: string;
813
+ summaryKey: string;
814
+ /**
815
+ * Parameters for summary message interpolation (e.g., { date: "2024-01-15", amount: "50" })
816
+ */
817
+ summaryParams?: {
818
+ [key: string]: string;
819
+ };
814
820
  /**
815
821
  * Human-readable reasons for branching
816
822
  */
@@ -956,9 +962,15 @@ export type ReviewDetailDto = {
956
962
  */
957
963
  confidenceLevel: 'HIGH' | 'MEDIUM' | 'LOW';
958
964
  /**
959
- * Human-readable summary of the review item
965
+ * i18n message key for summary (e.g., review.summary.duplicate). Translate on frontend with summaryParams.
960
966
  */
961
- summary: string;
967
+ summaryKey: string;
968
+ /**
969
+ * Parameters for summary message interpolation (e.g., { date: "2024-01-15", amount: "50" })
970
+ */
971
+ summaryParams?: {
972
+ [key: string]: string;
973
+ };
962
974
  /**
963
975
  * Human-readable reasons for branching
964
976
  */
@@ -2439,6 +2451,8 @@ export type SupportedProvidersResponseDto = {
2439
2451
  providers: Array<string>;
2440
2452
  };
2441
2453
 
2454
+ export type ParserTelemetryReportDto = unknown;
2455
+
2442
2456
  export type ProcessNlpDto = {
2443
2457
  /**
2444
2458
  * Natural language text describing a transaction (Chinese)
@@ -4671,7 +4685,8 @@ export type ProviderSyncControllerSyncData = {
4671
4685
  | 'gocardless'
4672
4686
  | 'simplefin'
4673
4687
  | 'yodlee'
4674
- | 'beancount-direct';
4688
+ | 'beancount-direct'
4689
+ | 'parsed-bill';
4675
4690
  /**
4676
4691
  * Region code
4677
4692
  */
@@ -4704,6 +4719,16 @@ export type ProviderSyncControllerIsProviderSupportedData = {
4704
4719
 
4705
4720
  export type ProviderSyncControllerIsProviderSupportedResponse = unknown;
4706
4721
 
4722
+ export type TelemetryControllerReportTelemetryData = {
4723
+ /**
4724
+ * Region code (cn, us, de)
4725
+ */
4726
+ region: 'cn' | 'us' | 'de';
4727
+ requestBody: ParserTelemetryReportDto;
4728
+ };
4729
+
4730
+ export type TelemetryControllerReportTelemetryResponse = unknown;
4731
+
4707
4732
  export type NlpControllerProcessNaturalLanguageData = {
4708
4733
  /**
4709
4734
  * Region code (cn, us, de)
@@ -6305,6 +6330,21 @@ export type $OpenApiTs = {
6305
6330
  };
6306
6331
  };
6307
6332
  };
6333
+ '/api/v1/{region}/bean/import/parser-telemetry': {
6334
+ post: {
6335
+ req: TelemetryControllerReportTelemetryData;
6336
+ res: {
6337
+ /**
6338
+ * Telemetry report received
6339
+ */
6340
+ 200: unknown;
6341
+ /**
6342
+ * Unauthorized
6343
+ */
6344
+ 401: unknown;
6345
+ };
6346
+ };
6347
+ };
6308
6348
  '/api/v1/{region}/bean/nlp/process': {
6309
6349
  post: {
6310
6350
  req: NlpControllerProcessNaturalLanguageData;