sentisense 0.78.1 → 0.79.0

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
@@ -494,7 +494,12 @@ interface EpsBasisRepair {
494
494
  */
495
495
  interface Fundamentals {
496
496
  ticker: string;
497
- timeframe: string;
497
+ /**
498
+ * @deprecated Not sent on a statement period. Read the period's `fiscalPeriod`, or
499
+ * `FundamentalsHistory.timeframe` for the timeframe a history was requested in. Kept optional
500
+ * so existing code keeps compiling.
501
+ */
502
+ timeframe?: string;
498
503
  /**
499
504
  * The currency the filer reports in ("USD", "KRW", "EUR", ...). Statement figures are as
500
505
  * reported in this currency and are never converted to US dollars: foreign companies listed
@@ -2878,6 +2883,16 @@ interface RankedReportedEarnings {
2878
2883
  reactionPending?: boolean;
2879
2884
  /** Signed percent, present only while the reacting session is trading. */
2880
2885
  liveReactionPct?: number;
2886
+ /**
2887
+ * The extended-hours move in signed percent, against the report day's regular close. Present
2888
+ * from 16:00 ET on the report date until the reacting session opens at 09:30 ET (across the
2889
+ * weekend for a Friday report), for a company whose calendar entry says it reports after the
2890
+ * close, and only while `movePct` and `liveReactionPct` are both absent; `reactionPending` stays
2891
+ * true alongside it. Once pre-market trading has begun on the reacting morning it can carry the
2892
+ * pre-market move, against the same close. Omitted otherwise. Read it as the extended-hours move,
2893
+ * not as the reaction: `movePct`, which replaces it, covers a different interval.
2894
+ */
2895
+ afterHoursReactionPct?: number;
2881
2896
  awaitingConsensus?: boolean;
2882
2897
  /** US dollars. */
2883
2898
  marketCap?: number;
@@ -2891,10 +2906,15 @@ interface RankedReportedEarnings {
2891
2906
  /** One upcoming company in the earnings ranking. */
2892
2907
  interface RankedUpcomingEarnings {
2893
2908
  ticker: string;
2894
- companyName: string;
2909
+ /** Omitted when the calendar entry carries no company name. */
2910
+ companyName?: string;
2895
2911
  /** ISO calendar day `"YYYY-MM-DD"`. */
2896
2912
  earningsDate: string;
2897
- earningsTime: "before_open" | "after_close" | "during_market" | "unknown";
2913
+ /**
2914
+ * Omitted when no timing value is available, which is different from the explicit
2915
+ * `"unknown"`.
2916
+ */
2917
+ earningsTime?: "before_open" | "after_close" | "during_market" | "unknown";
2898
2918
  confirmed: boolean;
2899
2919
  estimatedEps?: number;
2900
2920
  /** US dollars. */
@@ -5885,6 +5905,6 @@ declare class APIError extends SentiSenseError {
5885
5905
  constructor(message: string, status: number, code?: string, body?: ErrorBody);
5886
5906
  }
5887
5907
 
5888
- declare const VERSION = "0.78.1";
5908
+ declare const VERSION = "0.79.0";
5889
5909
 
5890
5910
  export { type AISummary, APIError, type AnalystAction, type AnalystCall, type AnalystCalledItCall, type AnalystCalledItMove, type AnalystConsensus, type AnalystConsensusHistory, type AnalystConsensusHistoryPoint, type AnalystCoverage, type AnalystCoverageAnalyst, type AnalystCoverageBookEntry, type AnalystCoverageFirm, type AnalystEarningsSurprise, type AnalystEstimate, type AnalystEstimatePeriodType, type AnalystEstimatesResponse, type AnalystFirmRating, type AnalystFirmTenure, type AnalystNote, type AnalystProfile, type AnalystRatingBuckets, type AnalystRef, type AssetMetadata, AuthenticationError, type CalendarMeta, type ChartData, type ChartDataPoint, type ClusterBuy, type CompanyKpisData, type CongressTrade, DeepHistoryUnavailableError, type Document, type DocumentSearchResponse, type DocumentSource, type EarlyFilers, type EarningsCalendarResponse, type EarningsEvent, type EarningsKpiHighlight, type EarningsOutcomeStatistics, type EarningsQuarter, type EarningsReaction, type EarningsReactionsResponse, type EarningsSource, type EarningsStatistics, type EarningsStatisticsBaseline, type EarningsStatisticsDeviation, type EarningsStatisticsThresholds, type EarningsStatisticsWindow, type EarningsSummariesResponse, type EntitySearchResult, type EntitySearchType, type ErrorBody, type EtfAggregateCoverage, type EtfAnalystAggregate, type EtfAnalystContributor, type EtfHolding, type EtfHoldings, type EtfInfo, type EtfInsiderAggregate, type EtfInsiderContributor, type EtfMembership, type EtfQuote, type EtfScreenerExecuteResponse, type EtfScreenerRow, type EtfSentimentAggregate, type EtfSentimentReading, type ExtendedHoursInfo, type FeaturedScreen, type FloatInfo, type Fundamentals, type FundamentalsHistory, type FundamentalsLineSource, type FundamentalsPeriod, type FundamentalsPeriodsResponse, type GetAnalystActionsOptions, type GetAnalystCalledItOptions, type GetAnalystCallsOptions, type GetAnalystConsensusHistoryOptions, type GetAnalystCoverageOptions, type GetAnalystMarketActivityOptions, type GetEarningsCalendarOptions, type GetEarningsStatisticsOptions, type GetEarningsSummariesOptions, type GetEtfInsiderAggregateOptions, type GetFundamentalsHistoryOptions, type GetHoldersHistoryOptions, type GetHoldersOptions, type GetInsiderOptions, type GetInsightsOptions, type GetInstitutionDetailOptions, type GetInstitutionHistoryOptions, type GetLatestInsightsOptions, type GetOptionsHistoryOptions, type GetOptionsIntradayHistoryOptions, type GetPoliticianActivityOptions, type GetPoliticianDirectoryOptions, type GetPoliticianMemberOptions, type GetPoliticiansOptions, type GetRankedEarningsOptions, type GetRecentEarningsOptions, type GetShortInterestOptions, type GetShortVolumeOptions, type GetStockEtfsOptions, type GetStockGraphOptions, type GetStockInsightsRangeOptions, type GetUserInsightsOptions, type GraphCounts, type GraphEdge, type GraphGroups, type GraphNode, type GraphProductFamily, type Holder, type HolderComparisonStatus, type HolderNotableChanges, type HoldersHistory, type HoldersHistoryQuarter, type IndexConstituent, type IndexHistoryPoint, type IndexHistoryResponse, type IndexListResponse, type IndexListing, type IndexSnapshot, type InsiderActivityResponse, type InsiderActivitySummary, type InsiderTrade, type Insight, type InsightPreviewResponse, type InstitutionChangeFilter, type InstitutionChangeType, type InstitutionDetail, type InstitutionHistory, type InstitutionHistoryQuarter, type InstitutionHolding, type InstitutionList, type InstitutionListResponse, type InstitutionMatchTotals, type InstitutionPositionPoint, type InstitutionSummary, type InstitutionalFlow, type InstitutionalFlows, type InstitutionalFlowsResponse, type KBEntity, type KpiCoverageEntry, type KpiCoverageResponse, type KpiDataPoint, type KpiSeries, type KpiTypeEntry, type ListInstitutionsOptions, type LockedInsight, type MarketMood, type MarketMoodOptions, type MarketStatus, type MarketSummary, type MetricDistribution, type MetricDistributionOptions, type MetricType, type MetricsBreakdown, type MetricsOptions, NotFoundError, type NotableHolder, type OptionsAggregate, type OptionsCapabilities, type OptionsContext, type OptionsHighlight, type OptionsHistory, type OptionsHistoryWindow, type OptionsIntradayBoardCapability, type OptionsIntradayFlow, type OptionsIntradayHistory, type OptionsIntradayPoint, type OptionsOiFollowUp, type OptionsOiWalls, type OptionsOverview, type OptionsOverviewRow, type OptionsSummary, type OptionsUnusualContract, type OptionsWall, type OwnershipSelection, type PoliticianDetail, type PoliticianDirectory, type PoliticianDirectoryEntry, type PoliticianDirectoryResponse, type PoliticianSummary, type PreviewResponse, type Quarter, type RankedEarnings, type RankedEarningsSection, type RankedReportedEarnings, type RankedUpcomingEarnings, RateLimitError, type RatingBase, type RatingDimension, type RatingDimensionKey, type RatingFlag, type RatingNotRatedReason, type RatingSubLeg, type RecentEarningsEntry, type RiskAdjustment, type RiskCondition, type ScreenerExecuteOptions, type ScreenerExecuteResponse, type ScreenerFieldCatalog, type ScreenerFieldDescriptor, type ScreenerFieldOption, type ScreenerFilter, type ScreenerPlan, type ScreenerRow, type ScreenerScreensResponse, type ScreenerSort, type SearchEntitiesOptions, type SearchStoriesOptions, SentiSense, SentiSenseError, type SentiSenseOptions, type SentimentEntry, type ServingMetric, type ShareClass, type ShortInterest, type ShortInterestDataPoint, type ShortVolume, type ShortVolumeDataPoint, type SimilarStock, type StockDetail, type StockEntity, type StockGraph, type StockImage, type StockNotRated, type StockPrice, type StockProfile, type StockQuote, type StockRating, type StockRatingResponse, type StockSocialDominance, type Story, type StoryCluster, type StoryTimelineEntry, TemporarilyUnavailableError, type TickerHolders, type TrackerEvent, type TrackerFilter, type TrackerGeoEntry, type TrackerGetParams, type TrackerHeadlineMetric, type TrackerListResponse, type TrackerListing, type TrackerMetricValue, type TrackerSignal, type TrackerSnapshot, type TrackerSnapshotResponse, type TrackerSourceRef, type TrackerTableRow, type TrackerTimeSeriesPoint, type TtmFundamentals, VERSION, type WeightedConsensus, type WeightedNetFlow, SentiSense as default };
package/dist/index.d.ts CHANGED
@@ -494,7 +494,12 @@ interface EpsBasisRepair {
494
494
  */
495
495
  interface Fundamentals {
496
496
  ticker: string;
497
- timeframe: string;
497
+ /**
498
+ * @deprecated Not sent on a statement period. Read the period's `fiscalPeriod`, or
499
+ * `FundamentalsHistory.timeframe` for the timeframe a history was requested in. Kept optional
500
+ * so existing code keeps compiling.
501
+ */
502
+ timeframe?: string;
498
503
  /**
499
504
  * The currency the filer reports in ("USD", "KRW", "EUR", ...). Statement figures are as
500
505
  * reported in this currency and are never converted to US dollars: foreign companies listed
@@ -2878,6 +2883,16 @@ interface RankedReportedEarnings {
2878
2883
  reactionPending?: boolean;
2879
2884
  /** Signed percent, present only while the reacting session is trading. */
2880
2885
  liveReactionPct?: number;
2886
+ /**
2887
+ * The extended-hours move in signed percent, against the report day's regular close. Present
2888
+ * from 16:00 ET on the report date until the reacting session opens at 09:30 ET (across the
2889
+ * weekend for a Friday report), for a company whose calendar entry says it reports after the
2890
+ * close, and only while `movePct` and `liveReactionPct` are both absent; `reactionPending` stays
2891
+ * true alongside it. Once pre-market trading has begun on the reacting morning it can carry the
2892
+ * pre-market move, against the same close. Omitted otherwise. Read it as the extended-hours move,
2893
+ * not as the reaction: `movePct`, which replaces it, covers a different interval.
2894
+ */
2895
+ afterHoursReactionPct?: number;
2881
2896
  awaitingConsensus?: boolean;
2882
2897
  /** US dollars. */
2883
2898
  marketCap?: number;
@@ -2891,10 +2906,15 @@ interface RankedReportedEarnings {
2891
2906
  /** One upcoming company in the earnings ranking. */
2892
2907
  interface RankedUpcomingEarnings {
2893
2908
  ticker: string;
2894
- companyName: string;
2909
+ /** Omitted when the calendar entry carries no company name. */
2910
+ companyName?: string;
2895
2911
  /** ISO calendar day `"YYYY-MM-DD"`. */
2896
2912
  earningsDate: string;
2897
- earningsTime: "before_open" | "after_close" | "during_market" | "unknown";
2913
+ /**
2914
+ * Omitted when no timing value is available, which is different from the explicit
2915
+ * `"unknown"`.
2916
+ */
2917
+ earningsTime?: "before_open" | "after_close" | "during_market" | "unknown";
2898
2918
  confirmed: boolean;
2899
2919
  estimatedEps?: number;
2900
2920
  /** US dollars. */
@@ -5885,6 +5905,6 @@ declare class APIError extends SentiSenseError {
5885
5905
  constructor(message: string, status: number, code?: string, body?: ErrorBody);
5886
5906
  }
5887
5907
 
5888
- declare const VERSION = "0.78.1";
5908
+ declare const VERSION = "0.79.0";
5889
5909
 
5890
5910
  export { type AISummary, APIError, type AnalystAction, type AnalystCall, type AnalystCalledItCall, type AnalystCalledItMove, type AnalystConsensus, type AnalystConsensusHistory, type AnalystConsensusHistoryPoint, type AnalystCoverage, type AnalystCoverageAnalyst, type AnalystCoverageBookEntry, type AnalystCoverageFirm, type AnalystEarningsSurprise, type AnalystEstimate, type AnalystEstimatePeriodType, type AnalystEstimatesResponse, type AnalystFirmRating, type AnalystFirmTenure, type AnalystNote, type AnalystProfile, type AnalystRatingBuckets, type AnalystRef, type AssetMetadata, AuthenticationError, type CalendarMeta, type ChartData, type ChartDataPoint, type ClusterBuy, type CompanyKpisData, type CongressTrade, DeepHistoryUnavailableError, type Document, type DocumentSearchResponse, type DocumentSource, type EarlyFilers, type EarningsCalendarResponse, type EarningsEvent, type EarningsKpiHighlight, type EarningsOutcomeStatistics, type EarningsQuarter, type EarningsReaction, type EarningsReactionsResponse, type EarningsSource, type EarningsStatistics, type EarningsStatisticsBaseline, type EarningsStatisticsDeviation, type EarningsStatisticsThresholds, type EarningsStatisticsWindow, type EarningsSummariesResponse, type EntitySearchResult, type EntitySearchType, type ErrorBody, type EtfAggregateCoverage, type EtfAnalystAggregate, type EtfAnalystContributor, type EtfHolding, type EtfHoldings, type EtfInfo, type EtfInsiderAggregate, type EtfInsiderContributor, type EtfMembership, type EtfQuote, type EtfScreenerExecuteResponse, type EtfScreenerRow, type EtfSentimentAggregate, type EtfSentimentReading, type ExtendedHoursInfo, type FeaturedScreen, type FloatInfo, type Fundamentals, type FundamentalsHistory, type FundamentalsLineSource, type FundamentalsPeriod, type FundamentalsPeriodsResponse, type GetAnalystActionsOptions, type GetAnalystCalledItOptions, type GetAnalystCallsOptions, type GetAnalystConsensusHistoryOptions, type GetAnalystCoverageOptions, type GetAnalystMarketActivityOptions, type GetEarningsCalendarOptions, type GetEarningsStatisticsOptions, type GetEarningsSummariesOptions, type GetEtfInsiderAggregateOptions, type GetFundamentalsHistoryOptions, type GetHoldersHistoryOptions, type GetHoldersOptions, type GetInsiderOptions, type GetInsightsOptions, type GetInstitutionDetailOptions, type GetInstitutionHistoryOptions, type GetLatestInsightsOptions, type GetOptionsHistoryOptions, type GetOptionsIntradayHistoryOptions, type GetPoliticianActivityOptions, type GetPoliticianDirectoryOptions, type GetPoliticianMemberOptions, type GetPoliticiansOptions, type GetRankedEarningsOptions, type GetRecentEarningsOptions, type GetShortInterestOptions, type GetShortVolumeOptions, type GetStockEtfsOptions, type GetStockGraphOptions, type GetStockInsightsRangeOptions, type GetUserInsightsOptions, type GraphCounts, type GraphEdge, type GraphGroups, type GraphNode, type GraphProductFamily, type Holder, type HolderComparisonStatus, type HolderNotableChanges, type HoldersHistory, type HoldersHistoryQuarter, type IndexConstituent, type IndexHistoryPoint, type IndexHistoryResponse, type IndexListResponse, type IndexListing, type IndexSnapshot, type InsiderActivityResponse, type InsiderActivitySummary, type InsiderTrade, type Insight, type InsightPreviewResponse, type InstitutionChangeFilter, type InstitutionChangeType, type InstitutionDetail, type InstitutionHistory, type InstitutionHistoryQuarter, type InstitutionHolding, type InstitutionList, type InstitutionListResponse, type InstitutionMatchTotals, type InstitutionPositionPoint, type InstitutionSummary, type InstitutionalFlow, type InstitutionalFlows, type InstitutionalFlowsResponse, type KBEntity, type KpiCoverageEntry, type KpiCoverageResponse, type KpiDataPoint, type KpiSeries, type KpiTypeEntry, type ListInstitutionsOptions, type LockedInsight, type MarketMood, type MarketMoodOptions, type MarketStatus, type MarketSummary, type MetricDistribution, type MetricDistributionOptions, type MetricType, type MetricsBreakdown, type MetricsOptions, NotFoundError, type NotableHolder, type OptionsAggregate, type OptionsCapabilities, type OptionsContext, type OptionsHighlight, type OptionsHistory, type OptionsHistoryWindow, type OptionsIntradayBoardCapability, type OptionsIntradayFlow, type OptionsIntradayHistory, type OptionsIntradayPoint, type OptionsOiFollowUp, type OptionsOiWalls, type OptionsOverview, type OptionsOverviewRow, type OptionsSummary, type OptionsUnusualContract, type OptionsWall, type OwnershipSelection, type PoliticianDetail, type PoliticianDirectory, type PoliticianDirectoryEntry, type PoliticianDirectoryResponse, type PoliticianSummary, type PreviewResponse, type Quarter, type RankedEarnings, type RankedEarningsSection, type RankedReportedEarnings, type RankedUpcomingEarnings, RateLimitError, type RatingBase, type RatingDimension, type RatingDimensionKey, type RatingFlag, type RatingNotRatedReason, type RatingSubLeg, type RecentEarningsEntry, type RiskAdjustment, type RiskCondition, type ScreenerExecuteOptions, type ScreenerExecuteResponse, type ScreenerFieldCatalog, type ScreenerFieldDescriptor, type ScreenerFieldOption, type ScreenerFilter, type ScreenerPlan, type ScreenerRow, type ScreenerScreensResponse, type ScreenerSort, type SearchEntitiesOptions, type SearchStoriesOptions, SentiSense, SentiSenseError, type SentiSenseOptions, type SentimentEntry, type ServingMetric, type ShareClass, type ShortInterest, type ShortInterestDataPoint, type ShortVolume, type ShortVolumeDataPoint, type SimilarStock, type StockDetail, type StockEntity, type StockGraph, type StockImage, type StockNotRated, type StockPrice, type StockProfile, type StockQuote, type StockRating, type StockRatingResponse, type StockSocialDominance, type Story, type StoryCluster, type StoryTimelineEntry, TemporarilyUnavailableError, type TickerHolders, type TrackerEvent, type TrackerFilter, type TrackerGeoEntry, type TrackerGetParams, type TrackerHeadlineMetric, type TrackerListResponse, type TrackerListing, type TrackerMetricValue, type TrackerSignal, type TrackerSnapshot, type TrackerSnapshotResponse, type TrackerSourceRef, type TrackerTableRow, type TrackerTimeSeriesPoint, type TtmFundamentals, VERSION, type WeightedConsensus, type WeightedNetFlow, SentiSense as default };
package/dist/index.mjs CHANGED
@@ -1557,7 +1557,7 @@ function serializeTrackerParams(params) {
1557
1557
  }
1558
1558
 
1559
1559
  // src/version.ts
1560
- var VERSION = "0.78.1";
1560
+ var VERSION = "0.79.0";
1561
1561
 
1562
1562
  // src/client.ts
1563
1563
  var DEFAULT_BASE_URL = "https://app.sentisense.ai";