sentisense 0.76.0 → 0.77.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/README.md +14 -2
- package/dist/cli.cjs +28 -3
- package/dist/index.cjs +9 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +24 -1
- package/dist/index.d.ts +24 -1
- package/dist/index.mjs +9 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3909,6 +3909,21 @@ interface AnalystAction {
|
|
|
3909
3909
|
actionType: string;
|
|
3910
3910
|
fromGrade: string | null;
|
|
3911
3911
|
toGrade: string | null;
|
|
3912
|
+
/**
|
|
3913
|
+
* The price target the firm stated with this action, raw as stated on the day. `null`
|
|
3914
|
+
* when the firm stated none or the row is not covered, never zero. PRO (and sample
|
|
3915
|
+
* companies): every free preview row carries `null`. On {@link Analyst.actions}, rows
|
|
3916
|
+
* dated before a split of the ticker carry `null`, because firms do not restate old
|
|
3917
|
+
* targets. Absent on older responses.
|
|
3918
|
+
*/
|
|
3919
|
+
priceTarget?: number | null;
|
|
3920
|
+
/**
|
|
3921
|
+
* The target the firm moved from, as stated with this action; read the pair as
|
|
3922
|
+
* "400 to 200". `null` when we hold none, when the firm kept its target unchanged, and
|
|
3923
|
+
* always when `priceTarget` is `null`. Same PRO and split rules as `priceTarget`.
|
|
3924
|
+
* Absent on older responses.
|
|
3925
|
+
*/
|
|
3926
|
+
priorPriceTarget?: number | null;
|
|
3912
3927
|
}
|
|
3913
3928
|
/** Which forward period an {@link AnalystEstimate} covers. */
|
|
3914
3929
|
type AnalystEstimatePeriodType = "CURRENT_QUARTER" | "NEXT_QUARTER" | "CURRENT_YEAR" | "NEXT_YEAR";
|
|
@@ -4198,6 +4213,10 @@ declare class Analyst {
|
|
|
4198
4213
|
/**
|
|
4199
4214
|
* Get recent analyst upgrade/downgrade actions for a ticker, newest first.
|
|
4200
4215
|
* Free users receive the 3 most recent.
|
|
4216
|
+
*
|
|
4217
|
+
* Each row carries `priceTarget`, the target the firm stated with the action, and
|
|
4218
|
+
* `priorPriceTarget`, the target it moved from (PRO; `null` on free preview rows,
|
|
4219
|
+
* `null` when the firm stated none or kept its target unchanged).
|
|
4201
4220
|
*/
|
|
4202
4221
|
actions(ticker: string, options?: GetAnalystActionsOptions): Promise<PreviewResponse<AnalystAction[]>>;
|
|
4203
4222
|
/**
|
|
@@ -4208,6 +4227,10 @@ declare class Analyst {
|
|
|
4208
4227
|
/**
|
|
4209
4228
|
* Get market-wide recent analyst actions across all covered tickers, newest first.
|
|
4210
4229
|
* Free users receive the 5 most recent.
|
|
4230
|
+
*
|
|
4231
|
+
* Rows carry the same `priceTarget` and `priorPriceTarget` as {@link actions} (PRO;
|
|
4232
|
+
* `null` on free preview rows). This feed does not check for stock splits, so for a
|
|
4233
|
+
* stock that split inside the window, read its targets from {@link actions}.
|
|
4211
4234
|
*/
|
|
4212
4235
|
marketActivity(options?: GetAnalystMarketActivityOptions): Promise<PreviewResponse<AnalystAction[]>>;
|
|
4213
4236
|
/**
|
|
@@ -5652,6 +5675,6 @@ declare class APIError extends SentiSenseError {
|
|
|
5652
5675
|
constructor(message: string, status: number, code?: string);
|
|
5653
5676
|
}
|
|
5654
5677
|
|
|
5655
|
-
declare const VERSION = "0.
|
|
5678
|
+
declare const VERSION = "0.77.0";
|
|
5656
5679
|
|
|
5657
5680
|
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 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 FundamentalsPeriod, type FundamentalsPeriodsResponse, type GetAnalystActionsOptions, type GetAnalystCalledItOptions, type GetAnalystCallsOptions, type GetAnalystConsensusHistoryOptions, type GetAnalystCoverageOptions, type GetAnalystMarketActivityOptions, type GetEarningsCalendarOptions, type GetEarningsStatisticsOptions, type GetEarningsSummariesOptions, type GetEtfInsiderAggregateOptions, 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
|
@@ -3909,6 +3909,21 @@ interface AnalystAction {
|
|
|
3909
3909
|
actionType: string;
|
|
3910
3910
|
fromGrade: string | null;
|
|
3911
3911
|
toGrade: string | null;
|
|
3912
|
+
/**
|
|
3913
|
+
* The price target the firm stated with this action, raw as stated on the day. `null`
|
|
3914
|
+
* when the firm stated none or the row is not covered, never zero. PRO (and sample
|
|
3915
|
+
* companies): every free preview row carries `null`. On {@link Analyst.actions}, rows
|
|
3916
|
+
* dated before a split of the ticker carry `null`, because firms do not restate old
|
|
3917
|
+
* targets. Absent on older responses.
|
|
3918
|
+
*/
|
|
3919
|
+
priceTarget?: number | null;
|
|
3920
|
+
/**
|
|
3921
|
+
* The target the firm moved from, as stated with this action; read the pair as
|
|
3922
|
+
* "400 to 200". `null` when we hold none, when the firm kept its target unchanged, and
|
|
3923
|
+
* always when `priceTarget` is `null`. Same PRO and split rules as `priceTarget`.
|
|
3924
|
+
* Absent on older responses.
|
|
3925
|
+
*/
|
|
3926
|
+
priorPriceTarget?: number | null;
|
|
3912
3927
|
}
|
|
3913
3928
|
/** Which forward period an {@link AnalystEstimate} covers. */
|
|
3914
3929
|
type AnalystEstimatePeriodType = "CURRENT_QUARTER" | "NEXT_QUARTER" | "CURRENT_YEAR" | "NEXT_YEAR";
|
|
@@ -4198,6 +4213,10 @@ declare class Analyst {
|
|
|
4198
4213
|
/**
|
|
4199
4214
|
* Get recent analyst upgrade/downgrade actions for a ticker, newest first.
|
|
4200
4215
|
* Free users receive the 3 most recent.
|
|
4216
|
+
*
|
|
4217
|
+
* Each row carries `priceTarget`, the target the firm stated with the action, and
|
|
4218
|
+
* `priorPriceTarget`, the target it moved from (PRO; `null` on free preview rows,
|
|
4219
|
+
* `null` when the firm stated none or kept its target unchanged).
|
|
4201
4220
|
*/
|
|
4202
4221
|
actions(ticker: string, options?: GetAnalystActionsOptions): Promise<PreviewResponse<AnalystAction[]>>;
|
|
4203
4222
|
/**
|
|
@@ -4208,6 +4227,10 @@ declare class Analyst {
|
|
|
4208
4227
|
/**
|
|
4209
4228
|
* Get market-wide recent analyst actions across all covered tickers, newest first.
|
|
4210
4229
|
* Free users receive the 5 most recent.
|
|
4230
|
+
*
|
|
4231
|
+
* Rows carry the same `priceTarget` and `priorPriceTarget` as {@link actions} (PRO;
|
|
4232
|
+
* `null` on free preview rows). This feed does not check for stock splits, so for a
|
|
4233
|
+
* stock that split inside the window, read its targets from {@link actions}.
|
|
4211
4234
|
*/
|
|
4212
4235
|
marketActivity(options?: GetAnalystMarketActivityOptions): Promise<PreviewResponse<AnalystAction[]>>;
|
|
4213
4236
|
/**
|
|
@@ -5652,6 +5675,6 @@ declare class APIError extends SentiSenseError {
|
|
|
5652
5675
|
constructor(message: string, status: number, code?: string);
|
|
5653
5676
|
}
|
|
5654
5677
|
|
|
5655
|
-
declare const VERSION = "0.
|
|
5678
|
+
declare const VERSION = "0.77.0";
|
|
5656
5679
|
|
|
5657
5680
|
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 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 FundamentalsPeriod, type FundamentalsPeriodsResponse, type GetAnalystActionsOptions, type GetAnalystCalledItOptions, type GetAnalystCallsOptions, type GetAnalystConsensusHistoryOptions, type GetAnalystCoverageOptions, type GetAnalystMarketActivityOptions, type GetEarningsCalendarOptions, type GetEarningsStatisticsOptions, type GetEarningsSummariesOptions, type GetEtfInsiderAggregateOptions, 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
|
@@ -96,6 +96,10 @@ var Analyst = class {
|
|
|
96
96
|
/**
|
|
97
97
|
* Get recent analyst upgrade/downgrade actions for a ticker, newest first.
|
|
98
98
|
* Free users receive the 3 most recent.
|
|
99
|
+
*
|
|
100
|
+
* Each row carries `priceTarget`, the target the firm stated with the action, and
|
|
101
|
+
* `priorPriceTarget`, the target it moved from (PRO; `null` on free preview rows,
|
|
102
|
+
* `null` when the firm stated none or kept its target unchanged).
|
|
99
103
|
*/
|
|
100
104
|
async actions(ticker, options) {
|
|
101
105
|
return this.client.get(
|
|
@@ -115,6 +119,10 @@ var Analyst = class {
|
|
|
115
119
|
/**
|
|
116
120
|
* Get market-wide recent analyst actions across all covered tickers, newest first.
|
|
117
121
|
* Free users receive the 5 most recent.
|
|
122
|
+
*
|
|
123
|
+
* Rows carry the same `priceTarget` and `priorPriceTarget` as {@link actions} (PRO;
|
|
124
|
+
* `null` on free preview rows). This feed does not check for stock splits, so for a
|
|
125
|
+
* stock that split inside the window, read its targets from {@link actions}.
|
|
118
126
|
*/
|
|
119
127
|
async marketActivity(options) {
|
|
120
128
|
return this.client.get("/api/v1/analyst/activity", options);
|
|
@@ -1528,7 +1536,7 @@ function serializeTrackerParams(params) {
|
|
|
1528
1536
|
}
|
|
1529
1537
|
|
|
1530
1538
|
// src/version.ts
|
|
1531
|
-
var VERSION = "0.
|
|
1539
|
+
var VERSION = "0.77.0";
|
|
1532
1540
|
|
|
1533
1541
|
// src/client.ts
|
|
1534
1542
|
var DEFAULT_BASE_URL = "https://app.sentisense.ai";
|