sentisense 0.52.0 → 0.54.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 +40 -4
- package/dist/cli.cjs +10 -2
- package/dist/index.cjs +9 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +114 -9
- package/dist/index.d.ts +114 -9
- package/dist/index.mjs +9 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -453,6 +453,26 @@ interface OptionsAggregate {
|
|
|
453
453
|
/** Raw 25-delta call and put implied volatilities. */
|
|
454
454
|
iv25c?: number;
|
|
455
455
|
iv25p?: number;
|
|
456
|
+
/**
|
|
457
|
+
* Calibrated 90% expected move over 1 trading session, as a fraction of price, so `0.0407`
|
|
458
|
+
* is 4.07%. `k * atmIv * Math.sqrt(h / 252)` with an empirical `k` (1.48 here) fit on
|
|
459
|
+
* SentiSense's own stored option history. The 90% is a measured historical coverage rate,
|
|
460
|
+
* not a guarantee, and the range carries no direction and no price target.
|
|
461
|
+
*/
|
|
462
|
+
expectedMove1d?: number;
|
|
463
|
+
/** The same calibrated 90% range over 5 trading sessions (`k` = 1.56). */
|
|
464
|
+
expectedMove5d?: number;
|
|
465
|
+
/** The same calibrated 90% range over 20 trading sessions (`k` = 1.56). */
|
|
466
|
+
expectedMove20d?: number;
|
|
467
|
+
/**
|
|
468
|
+
* One-sigma expected move over 1 trading session, `atmIv * Math.sqrt(h / 252)`: the industry
|
|
469
|
+
* convention, roughly 68% of moves, with no calibration applied.
|
|
470
|
+
*/
|
|
471
|
+
expectedMove1s1d?: number;
|
|
472
|
+
/** One-sigma expected move over 5 trading sessions. */
|
|
473
|
+
expectedMove1s5d?: number;
|
|
474
|
+
/** One-sigma expected move over 20 trading sessions. */
|
|
475
|
+
expectedMove1s20d?: number;
|
|
456
476
|
netDelta?: number;
|
|
457
477
|
notionalVol?: number;
|
|
458
478
|
contracts?: number;
|
|
@@ -600,6 +620,18 @@ interface OptionsOverviewRow {
|
|
|
600
620
|
notionalVol?: number;
|
|
601
621
|
/** Signed change of `atmIv` against its ~20-session mean. Rank "biggest IV moves" by absolute value. */
|
|
602
622
|
ivMove20?: number;
|
|
623
|
+
/** Calibrated 90% expected move over 1 trading session, as a fraction of price. */
|
|
624
|
+
expectedMove1d?: number;
|
|
625
|
+
/** The same calibrated 90% range over 5 trading sessions. */
|
|
626
|
+
expectedMove5d?: number;
|
|
627
|
+
/** The same calibrated 90% range over 20 trading sessions. */
|
|
628
|
+
expectedMove20d?: number;
|
|
629
|
+
/** One-sigma expected move over 1 trading session: the industry convention, uncalibrated. */
|
|
630
|
+
expectedMove1s1d?: number;
|
|
631
|
+
/** One-sigma expected move over 5 trading sessions. */
|
|
632
|
+
expectedMove1s5d?: number;
|
|
633
|
+
/** One-sigma expected move over 20 trading sessions. */
|
|
634
|
+
expectedMove1s20d?: number;
|
|
603
635
|
/** Trailing-1y observation count, which is what drives the building-baseline state. */
|
|
604
636
|
observations1y?: number;
|
|
605
637
|
/** Unusually-active contracts this session. */
|
|
@@ -657,8 +689,8 @@ interface OptionsOverview {
|
|
|
657
689
|
/** Full ETF board size on a FREE response, mirroring what the envelope's `totalCount` does for stocks. */
|
|
658
690
|
etfTotalCount?: number;
|
|
659
691
|
}
|
|
660
|
-
/** The
|
|
661
|
-
type RatingDimensionKey = "crowd" | "smart_money" | "options" | "analysts" | "fundamentals" | "earnings";
|
|
692
|
+
/** The seven dimensions the composite is blended from, by stable `key`. */
|
|
693
|
+
type RatingDimensionKey = "crowd" | "smart_money" | "options" | "analysts" | "fundamentals" | "earnings" | "technicals";
|
|
662
694
|
/**
|
|
663
695
|
* Why a stock has no grade.
|
|
664
696
|
*
|
|
@@ -703,9 +735,9 @@ interface RatingSubLeg {
|
|
|
703
735
|
unit: string;
|
|
704
736
|
}
|
|
705
737
|
/**
|
|
706
|
-
* One of the
|
|
738
|
+
* One of the seven dimensions the composite is blended from.
|
|
707
739
|
*
|
|
708
|
-
* **All
|
|
740
|
+
* **All seven always arrive, in a fixed order, whether or not they had data.** An absent
|
|
709
741
|
* dimension is a full row with `present` false and a `null` percentile; the server never
|
|
710
742
|
* drops it, precisely so a client cannot mistake a gap for a five-dimension rating. Read
|
|
711
743
|
* `present` before reading `percentile`, and never substitute zero for a `null`: zero is the
|
|
@@ -749,7 +781,7 @@ interface RatingBase {
|
|
|
749
781
|
kbEntityId: string;
|
|
750
782
|
/** The New York calendar day this answer describes, `"YYYY-MM-DD"`. */
|
|
751
783
|
asOf: string;
|
|
752
|
-
/** Always all
|
|
784
|
+
/** Always all seven, in a fixed order, absent ones with `present` false. */
|
|
753
785
|
dimensions: RatingDimension[];
|
|
754
786
|
flags: RatingFlag[];
|
|
755
787
|
/** The standard financial disclaimer. Display it alongside the grade. */
|
|
@@ -821,7 +853,7 @@ interface StockNotRated extends RatingBase {
|
|
|
821
853
|
rated: false;
|
|
822
854
|
/** Why there is no grade. */
|
|
823
855
|
reason: RatingNotRatedReason;
|
|
824
|
-
/** How many of the
|
|
856
|
+
/** How many of the seven dimensions had data. */
|
|
825
857
|
dimensionsPresent?: number;
|
|
826
858
|
/** Which dimensions had data, by `key`. */
|
|
827
859
|
presentDimensions: RatingDimensionKey[];
|
|
@@ -892,6 +924,37 @@ interface StoryCluster {
|
|
|
892
924
|
averageSentiment: number;
|
|
893
925
|
/** Unix timestamp in seconds when the cluster was assembled by our pipeline. */
|
|
894
926
|
clusteredAt: number;
|
|
927
|
+
/**
|
|
928
|
+
* How the story was authored: `"ORIGINAL"` for an editorially authored SentiSense
|
|
929
|
+
* Original, `"AI"` for a pipeline-generated story. Optional because an older API
|
|
930
|
+
* build omits it, in which case it is `undefined` rather than `"AI"`.
|
|
931
|
+
*/
|
|
932
|
+
storySource?: "ORIGINAL" | "AI";
|
|
933
|
+
/**
|
|
934
|
+
* True while the story is still being revised as the event develops. Optional
|
|
935
|
+
* because an older API build omits it, in which case it is `undefined` rather than
|
|
936
|
+
* `false`: read that as "not known", not as "settled".
|
|
937
|
+
*/
|
|
938
|
+
isLive?: boolean;
|
|
939
|
+
}
|
|
940
|
+
/**
|
|
941
|
+
* One dated update on a live story, as served inside the story detail response's
|
|
942
|
+
* `timeline` array (newest first, empty when a story has none).
|
|
943
|
+
*
|
|
944
|
+
* `documents.getStoryDetail()` returns `unknown`, so this type is exported for callers
|
|
945
|
+
* that narrow the response themselves.
|
|
946
|
+
*/
|
|
947
|
+
interface StoryTimelineEntry {
|
|
948
|
+
/** Publication time of this update, Unix milliseconds. */
|
|
949
|
+
publishedAt: number;
|
|
950
|
+
/**
|
|
951
|
+
* `"INITIAL"`, `"UPDATE"` or `"CORRECTION"`. Left open: an unrecognised label is
|
|
952
|
+
* served through rather than rejected, so branch on the three known values and let
|
|
953
|
+
* anything else fall through to a neutral rendering.
|
|
954
|
+
*/
|
|
955
|
+
updateType: "INITIAL" | "UPDATE" | "CORRECTION" | (string & {});
|
|
956
|
+
/** The update text, markdown. */
|
|
957
|
+
content: string;
|
|
895
958
|
}
|
|
896
959
|
interface Story {
|
|
897
960
|
cluster: StoryCluster;
|
|
@@ -1210,6 +1273,8 @@ interface InsiderTrade {
|
|
|
1210
1273
|
transactionCode: string;
|
|
1211
1274
|
transactionType: "BUY" | "SELL" | "EXERCISE" | "AWARD" | "GIFT" | "OTHER";
|
|
1212
1275
|
securityTitle: string;
|
|
1276
|
+
/** The security the row was filed in when it is not the US listing `ticker` names (e.g. "Common Shares (2330.TW)"); null on the ordinary case, and when set `pricePerShare` is null because the filed price is per foreign ordinary share. */
|
|
1277
|
+
securityBasis?: string | null;
|
|
1213
1278
|
sharesTransacted: number;
|
|
1214
1279
|
pricePerShare: number | null;
|
|
1215
1280
|
totalValue: number;
|
|
@@ -1539,9 +1604,33 @@ interface GetRecentEarningsOptions {
|
|
|
1539
1604
|
/** Max rows returned, 1 to 100. Omitted, the API applies its own default of 50. */
|
|
1540
1605
|
limit?: number;
|
|
1541
1606
|
}
|
|
1607
|
+
/**
|
|
1608
|
+
* What lifts the gate on a preview response, in a form you can show a user directly.
|
|
1609
|
+
*
|
|
1610
|
+
* Present only when `isPreview` is `true`. Every field is optional: the copy and the
|
|
1611
|
+
* offer are set server-side and can change without an SDK release, so read what is
|
|
1612
|
+
* there rather than depending on any one field.
|
|
1613
|
+
*/
|
|
1614
|
+
interface UpgradeHint {
|
|
1615
|
+
/** Plan that lifts the gate, e.g. `"PRO"`. */
|
|
1616
|
+
plan?: string;
|
|
1617
|
+
/** One sentence naming what was withheld. Safe to show verbatim. */
|
|
1618
|
+
message?: string;
|
|
1619
|
+
/** Current price, including any active discount code. */
|
|
1620
|
+
price?: string;
|
|
1621
|
+
/** Where to complete the upgrade. */
|
|
1622
|
+
url?: string;
|
|
1623
|
+
/** What an automated caller should do with this object. */
|
|
1624
|
+
relay?: string;
|
|
1625
|
+
}
|
|
1542
1626
|
interface PreviewResponse<T> {
|
|
1543
1627
|
isPreview: boolean;
|
|
1544
1628
|
previewReason: "PRO_REQUIRED" | null;
|
|
1629
|
+
/**
|
|
1630
|
+
* How to lift the gate. Present only on a preview; absent from full responses.
|
|
1631
|
+
* Surface `message` and `url` to your user rather than hard-coding a price.
|
|
1632
|
+
*/
|
|
1633
|
+
upgrade?: UpgradeHint;
|
|
1545
1634
|
/**
|
|
1546
1635
|
* Size of the full result set, before any truncation your response went through.
|
|
1547
1636
|
*
|
|
@@ -1896,6 +1985,8 @@ interface TrackerSnapshotResponse {
|
|
|
1896
1985
|
previewReason: "PRO_REQUIRED" | null;
|
|
1897
1986
|
/** Full row count before truncation. Only set on preview responses. */
|
|
1898
1987
|
totalCount?: number;
|
|
1988
|
+
/** How to lift the gate. Only set on preview responses. */
|
|
1989
|
+
upgrade?: UpgradeHint;
|
|
1899
1990
|
data: TrackerSnapshot;
|
|
1900
1991
|
}
|
|
1901
1992
|
/** Per-index discovery row returned by `client.indexes.list()`. */
|
|
@@ -2607,7 +2698,14 @@ declare class Documents {
|
|
|
2607
2698
|
getBySource(source: DocumentSource, options?: GetBySourceOptions): Promise<DocumentSearchResponse>;
|
|
2608
2699
|
/** Get AI-curated news story clusters. */
|
|
2609
2700
|
getStories(options?: GetStoriesOptions): Promise<Story[]>;
|
|
2610
|
-
/**
|
|
2701
|
+
/**
|
|
2702
|
+
* Get full story detail by cluster ID.
|
|
2703
|
+
*
|
|
2704
|
+
* Deliberately untyped: narrow it yourself. The response carries `storySource` and
|
|
2705
|
+
* `isLive` alongside the story body, plus a `timeline` array of dated updates,
|
|
2706
|
+
* newest first and empty when the story has none. {@link StoryTimelineEntry} is
|
|
2707
|
+
* exported for that array.
|
|
2708
|
+
*/
|
|
2611
2709
|
getStoryDetail(clusterId: string): Promise<unknown>;
|
|
2612
2710
|
/** Get stories for a specific stock. */
|
|
2613
2711
|
getStoriesByTicker(ticker: string, options?: GetStoriesByTickerOptions): Promise<Story[]>;
|
|
@@ -2702,12 +2800,19 @@ interface EtfInfo {
|
|
|
2702
2800
|
imageUrl: string | null;
|
|
2703
2801
|
}
|
|
2704
2802
|
interface EtfHolding {
|
|
2803
|
+
/** The symbol as the issuer filed it. For an international fund this is the local exchange code, not a US ticker, so resolve stocks with `linkedTicker` instead. */
|
|
2705
2804
|
ticker: string;
|
|
2706
2805
|
name: string | null;
|
|
2707
2806
|
/** Weight in the fund as a percentage (0-100). */
|
|
2708
2807
|
weightPct: number;
|
|
2709
2808
|
/** ISO date "YYYY-MM-DD". First date this holding appeared in the composition. */
|
|
2710
2809
|
firstSeen: string | null;
|
|
2810
|
+
/** Listing venue the issuer reported for this position, verbatim (e.g. "NYSE", "SIX Swiss Exchange"). Null when the source carries no venue column. */
|
|
2811
|
+
exchange?: string | null;
|
|
2812
|
+
/** The symbol as listed on `exchange`. Same value as `ticker`, named to make it clear the symbol is venue-local and may not identify a US company. */
|
|
2813
|
+
localTicker?: string | null;
|
|
2814
|
+
/** The US stock symbol this holding resolves to, or null when it cannot be resolved to one. */
|
|
2815
|
+
linkedTicker?: string | null;
|
|
2711
2816
|
}
|
|
2712
2817
|
interface EtfHoldings {
|
|
2713
2818
|
ticker: string;
|
|
@@ -3639,6 +3744,6 @@ declare class APIError extends SentiSenseError {
|
|
|
3639
3744
|
constructor(message: string, status: number, code?: string);
|
|
3640
3745
|
}
|
|
3641
3746
|
|
|
3642
|
-
declare const VERSION = "0.
|
|
3747
|
+
declare const VERSION = "0.54.0";
|
|
3643
3748
|
|
|
3644
|
-
export { type AISummary, APIError, type AnalystAction, type AnalystCall, type AnalystConsensus, type AnalystCoverage, type AnalystCoverageAnalyst, type AnalystCoverageBookEntry, type AnalystCoverageFirm, type AnalystEarningsSurprise, type AnalystEstimate, type AnalystEstimatesResponse, type AnalystFirmRating, type AnalystFirmTenure, type AnalystNote, type AnalystProfile, type AnalystRatingBuckets, type AssetMetadata, AuthenticationError, type CalendarMeta, type ChartData, type ChartDataPoint, type ClusterBuy, type CompanyKpisData, type CongressTrade, DeepHistoryUnavailableError, type Document, type DocumentSearchResponse, type DocumentSource, type EarningsCalendarResponse, type EarningsEvent, type EarningsKpiHighlight, type EarningsQuarter, type EarningsSource, type EntitySearchResult, type EntitySearchType, type EtfAggregateCoverage, type EtfAnalystAggregate, type EtfAnalystContributor, type EtfHolding, type EtfHoldings, type EtfInfo, type EtfInsiderAggregate, type EtfInsiderContributor, type EtfScreenerExecuteResponse, type EtfScreenerRow, type EtfSentimentAggregate, type EtfSentimentReading, type FeaturedScreen, type FloatInfo, type Fundamentals, type FundamentalsPeriod, type FundamentalsPeriodsResponse, type GetAnalystActionsOptions, type GetAnalystCallsOptions, type GetAnalystCoverageOptions, type GetAnalystMarketActivityOptions, type GetEarningsCalendarOptions, type GetEarningsSummariesOptions, type GetEtfInsiderAggregateOptions, type GetHoldersOptions, type GetInsiderOptions, type GetInsightsOptions, type GetLatestInsightsOptions, type GetOptionsHistoryOptions, type GetPoliticianActivityOptions, type GetPoliticianDirectoryOptions, type GetPoliticianMemberOptions, type GetPoliticiansOptions, type GetRecentEarningsOptions, type GetStockInsightsRangeOptions, type GetUserInsightsOptions, type Holder, type HolderNotableChanges, type IndexConstituent, type IndexHistoryPoint, type IndexHistoryResponse, type IndexListResponse, type IndexListing, type IndexSnapshot, type InsiderActivityResponse, type InsiderActivitySummary, type InsiderTrade, type Insight, type InsightPreviewResponse, type InstitutionList, type InstitutionListResponse, 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 MarketStatus, type MarketSummary, type MetricDistribution, type MetricDistributionOptions, type MetricType, type MetricsBreakdown, type MetricsOptions, NotFoundError, type OptionsAggregate, type OptionsContext, type OptionsHistory, type OptionsHistoryWindow, type OptionsOiWalls, type OptionsOverview, type OptionsOverviewRow, type OptionsSummary, type OptionsUnusualContract, type OptionsWall, type PoliticianDetail, type PoliticianDirectory, type PoliticianDirectoryEntry, type PoliticianDirectoryResponse, type PoliticianSummary, type PreviewResponse, type Quarter, 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, SentiSense, SentiSenseError, type SentiSenseOptions, type SentimentEntry, type ServingMetric, type ShortInterest, type ShortVolume, type SimilarStock, type StockDetail, type StockEntity, type StockImage, type StockNotRated, type StockPrice, type StockProfile, type StockQuote, type StockRating, type StockRatingResponse, type StockSocialDominance, type Story, type StoryCluster, type TickerHolders, type TrackerEvent, type TrackerGeoEntry, 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 };
|
|
3749
|
+
export { type AISummary, APIError, type AnalystAction, type AnalystCall, type AnalystConsensus, type AnalystCoverage, type AnalystCoverageAnalyst, type AnalystCoverageBookEntry, type AnalystCoverageFirm, type AnalystEarningsSurprise, type AnalystEstimate, type AnalystEstimatesResponse, type AnalystFirmRating, type AnalystFirmTenure, type AnalystNote, type AnalystProfile, type AnalystRatingBuckets, type AssetMetadata, AuthenticationError, type CalendarMeta, type ChartData, type ChartDataPoint, type ClusterBuy, type CompanyKpisData, type CongressTrade, DeepHistoryUnavailableError, type Document, type DocumentSearchResponse, type DocumentSource, type EarningsCalendarResponse, type EarningsEvent, type EarningsKpiHighlight, type EarningsQuarter, type EarningsSource, type EntitySearchResult, type EntitySearchType, type EtfAggregateCoverage, type EtfAnalystAggregate, type EtfAnalystContributor, type EtfHolding, type EtfHoldings, type EtfInfo, type EtfInsiderAggregate, type EtfInsiderContributor, type EtfScreenerExecuteResponse, type EtfScreenerRow, type EtfSentimentAggregate, type EtfSentimentReading, type FeaturedScreen, type FloatInfo, type Fundamentals, type FundamentalsPeriod, type FundamentalsPeriodsResponse, type GetAnalystActionsOptions, type GetAnalystCallsOptions, type GetAnalystCoverageOptions, type GetAnalystMarketActivityOptions, type GetEarningsCalendarOptions, type GetEarningsSummariesOptions, type GetEtfInsiderAggregateOptions, type GetHoldersOptions, type GetInsiderOptions, type GetInsightsOptions, type GetLatestInsightsOptions, type GetOptionsHistoryOptions, type GetPoliticianActivityOptions, type GetPoliticianDirectoryOptions, type GetPoliticianMemberOptions, type GetPoliticiansOptions, type GetRecentEarningsOptions, type GetStockInsightsRangeOptions, type GetUserInsightsOptions, type Holder, type HolderNotableChanges, type IndexConstituent, type IndexHistoryPoint, type IndexHistoryResponse, type IndexListResponse, type IndexListing, type IndexSnapshot, type InsiderActivityResponse, type InsiderActivitySummary, type InsiderTrade, type Insight, type InsightPreviewResponse, type InstitutionList, type InstitutionListResponse, 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 MarketStatus, type MarketSummary, type MetricDistribution, type MetricDistributionOptions, type MetricType, type MetricsBreakdown, type MetricsOptions, NotFoundError, type OptionsAggregate, type OptionsContext, type OptionsHistory, type OptionsHistoryWindow, type OptionsOiWalls, type OptionsOverview, type OptionsOverviewRow, type OptionsSummary, type OptionsUnusualContract, type OptionsWall, type PoliticianDetail, type PoliticianDirectory, type PoliticianDirectoryEntry, type PoliticianDirectoryResponse, type PoliticianSummary, type PreviewResponse, type Quarter, 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, SentiSense, SentiSenseError, type SentiSenseOptions, type SentimentEntry, type ServingMetric, type ShortInterest, type ShortVolume, type SimilarStock, type StockDetail, type StockEntity, type StockImage, type StockNotRated, type StockPrice, type StockProfile, type StockQuote, type StockRating, type StockRatingResponse, type StockSocialDominance, type Story, type StoryCluster, type StoryTimelineEntry, type TickerHolders, type TrackerEvent, type TrackerGeoEntry, 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
|
@@ -453,6 +453,26 @@ interface OptionsAggregate {
|
|
|
453
453
|
/** Raw 25-delta call and put implied volatilities. */
|
|
454
454
|
iv25c?: number;
|
|
455
455
|
iv25p?: number;
|
|
456
|
+
/**
|
|
457
|
+
* Calibrated 90% expected move over 1 trading session, as a fraction of price, so `0.0407`
|
|
458
|
+
* is 4.07%. `k * atmIv * Math.sqrt(h / 252)` with an empirical `k` (1.48 here) fit on
|
|
459
|
+
* SentiSense's own stored option history. The 90% is a measured historical coverage rate,
|
|
460
|
+
* not a guarantee, and the range carries no direction and no price target.
|
|
461
|
+
*/
|
|
462
|
+
expectedMove1d?: number;
|
|
463
|
+
/** The same calibrated 90% range over 5 trading sessions (`k` = 1.56). */
|
|
464
|
+
expectedMove5d?: number;
|
|
465
|
+
/** The same calibrated 90% range over 20 trading sessions (`k` = 1.56). */
|
|
466
|
+
expectedMove20d?: number;
|
|
467
|
+
/**
|
|
468
|
+
* One-sigma expected move over 1 trading session, `atmIv * Math.sqrt(h / 252)`: the industry
|
|
469
|
+
* convention, roughly 68% of moves, with no calibration applied.
|
|
470
|
+
*/
|
|
471
|
+
expectedMove1s1d?: number;
|
|
472
|
+
/** One-sigma expected move over 5 trading sessions. */
|
|
473
|
+
expectedMove1s5d?: number;
|
|
474
|
+
/** One-sigma expected move over 20 trading sessions. */
|
|
475
|
+
expectedMove1s20d?: number;
|
|
456
476
|
netDelta?: number;
|
|
457
477
|
notionalVol?: number;
|
|
458
478
|
contracts?: number;
|
|
@@ -600,6 +620,18 @@ interface OptionsOverviewRow {
|
|
|
600
620
|
notionalVol?: number;
|
|
601
621
|
/** Signed change of `atmIv` against its ~20-session mean. Rank "biggest IV moves" by absolute value. */
|
|
602
622
|
ivMove20?: number;
|
|
623
|
+
/** Calibrated 90% expected move over 1 trading session, as a fraction of price. */
|
|
624
|
+
expectedMove1d?: number;
|
|
625
|
+
/** The same calibrated 90% range over 5 trading sessions. */
|
|
626
|
+
expectedMove5d?: number;
|
|
627
|
+
/** The same calibrated 90% range over 20 trading sessions. */
|
|
628
|
+
expectedMove20d?: number;
|
|
629
|
+
/** One-sigma expected move over 1 trading session: the industry convention, uncalibrated. */
|
|
630
|
+
expectedMove1s1d?: number;
|
|
631
|
+
/** One-sigma expected move over 5 trading sessions. */
|
|
632
|
+
expectedMove1s5d?: number;
|
|
633
|
+
/** One-sigma expected move over 20 trading sessions. */
|
|
634
|
+
expectedMove1s20d?: number;
|
|
603
635
|
/** Trailing-1y observation count, which is what drives the building-baseline state. */
|
|
604
636
|
observations1y?: number;
|
|
605
637
|
/** Unusually-active contracts this session. */
|
|
@@ -657,8 +689,8 @@ interface OptionsOverview {
|
|
|
657
689
|
/** Full ETF board size on a FREE response, mirroring what the envelope's `totalCount` does for stocks. */
|
|
658
690
|
etfTotalCount?: number;
|
|
659
691
|
}
|
|
660
|
-
/** The
|
|
661
|
-
type RatingDimensionKey = "crowd" | "smart_money" | "options" | "analysts" | "fundamentals" | "earnings";
|
|
692
|
+
/** The seven dimensions the composite is blended from, by stable `key`. */
|
|
693
|
+
type RatingDimensionKey = "crowd" | "smart_money" | "options" | "analysts" | "fundamentals" | "earnings" | "technicals";
|
|
662
694
|
/**
|
|
663
695
|
* Why a stock has no grade.
|
|
664
696
|
*
|
|
@@ -703,9 +735,9 @@ interface RatingSubLeg {
|
|
|
703
735
|
unit: string;
|
|
704
736
|
}
|
|
705
737
|
/**
|
|
706
|
-
* One of the
|
|
738
|
+
* One of the seven dimensions the composite is blended from.
|
|
707
739
|
*
|
|
708
|
-
* **All
|
|
740
|
+
* **All seven always arrive, in a fixed order, whether or not they had data.** An absent
|
|
709
741
|
* dimension is a full row with `present` false and a `null` percentile; the server never
|
|
710
742
|
* drops it, precisely so a client cannot mistake a gap for a five-dimension rating. Read
|
|
711
743
|
* `present` before reading `percentile`, and never substitute zero for a `null`: zero is the
|
|
@@ -749,7 +781,7 @@ interface RatingBase {
|
|
|
749
781
|
kbEntityId: string;
|
|
750
782
|
/** The New York calendar day this answer describes, `"YYYY-MM-DD"`. */
|
|
751
783
|
asOf: string;
|
|
752
|
-
/** Always all
|
|
784
|
+
/** Always all seven, in a fixed order, absent ones with `present` false. */
|
|
753
785
|
dimensions: RatingDimension[];
|
|
754
786
|
flags: RatingFlag[];
|
|
755
787
|
/** The standard financial disclaimer. Display it alongside the grade. */
|
|
@@ -821,7 +853,7 @@ interface StockNotRated extends RatingBase {
|
|
|
821
853
|
rated: false;
|
|
822
854
|
/** Why there is no grade. */
|
|
823
855
|
reason: RatingNotRatedReason;
|
|
824
|
-
/** How many of the
|
|
856
|
+
/** How many of the seven dimensions had data. */
|
|
825
857
|
dimensionsPresent?: number;
|
|
826
858
|
/** Which dimensions had data, by `key`. */
|
|
827
859
|
presentDimensions: RatingDimensionKey[];
|
|
@@ -892,6 +924,37 @@ interface StoryCluster {
|
|
|
892
924
|
averageSentiment: number;
|
|
893
925
|
/** Unix timestamp in seconds when the cluster was assembled by our pipeline. */
|
|
894
926
|
clusteredAt: number;
|
|
927
|
+
/**
|
|
928
|
+
* How the story was authored: `"ORIGINAL"` for an editorially authored SentiSense
|
|
929
|
+
* Original, `"AI"` for a pipeline-generated story. Optional because an older API
|
|
930
|
+
* build omits it, in which case it is `undefined` rather than `"AI"`.
|
|
931
|
+
*/
|
|
932
|
+
storySource?: "ORIGINAL" | "AI";
|
|
933
|
+
/**
|
|
934
|
+
* True while the story is still being revised as the event develops. Optional
|
|
935
|
+
* because an older API build omits it, in which case it is `undefined` rather than
|
|
936
|
+
* `false`: read that as "not known", not as "settled".
|
|
937
|
+
*/
|
|
938
|
+
isLive?: boolean;
|
|
939
|
+
}
|
|
940
|
+
/**
|
|
941
|
+
* One dated update on a live story, as served inside the story detail response's
|
|
942
|
+
* `timeline` array (newest first, empty when a story has none).
|
|
943
|
+
*
|
|
944
|
+
* `documents.getStoryDetail()` returns `unknown`, so this type is exported for callers
|
|
945
|
+
* that narrow the response themselves.
|
|
946
|
+
*/
|
|
947
|
+
interface StoryTimelineEntry {
|
|
948
|
+
/** Publication time of this update, Unix milliseconds. */
|
|
949
|
+
publishedAt: number;
|
|
950
|
+
/**
|
|
951
|
+
* `"INITIAL"`, `"UPDATE"` or `"CORRECTION"`. Left open: an unrecognised label is
|
|
952
|
+
* served through rather than rejected, so branch on the three known values and let
|
|
953
|
+
* anything else fall through to a neutral rendering.
|
|
954
|
+
*/
|
|
955
|
+
updateType: "INITIAL" | "UPDATE" | "CORRECTION" | (string & {});
|
|
956
|
+
/** The update text, markdown. */
|
|
957
|
+
content: string;
|
|
895
958
|
}
|
|
896
959
|
interface Story {
|
|
897
960
|
cluster: StoryCluster;
|
|
@@ -1210,6 +1273,8 @@ interface InsiderTrade {
|
|
|
1210
1273
|
transactionCode: string;
|
|
1211
1274
|
transactionType: "BUY" | "SELL" | "EXERCISE" | "AWARD" | "GIFT" | "OTHER";
|
|
1212
1275
|
securityTitle: string;
|
|
1276
|
+
/** The security the row was filed in when it is not the US listing `ticker` names (e.g. "Common Shares (2330.TW)"); null on the ordinary case, and when set `pricePerShare` is null because the filed price is per foreign ordinary share. */
|
|
1277
|
+
securityBasis?: string | null;
|
|
1213
1278
|
sharesTransacted: number;
|
|
1214
1279
|
pricePerShare: number | null;
|
|
1215
1280
|
totalValue: number;
|
|
@@ -1539,9 +1604,33 @@ interface GetRecentEarningsOptions {
|
|
|
1539
1604
|
/** Max rows returned, 1 to 100. Omitted, the API applies its own default of 50. */
|
|
1540
1605
|
limit?: number;
|
|
1541
1606
|
}
|
|
1607
|
+
/**
|
|
1608
|
+
* What lifts the gate on a preview response, in a form you can show a user directly.
|
|
1609
|
+
*
|
|
1610
|
+
* Present only when `isPreview` is `true`. Every field is optional: the copy and the
|
|
1611
|
+
* offer are set server-side and can change without an SDK release, so read what is
|
|
1612
|
+
* there rather than depending on any one field.
|
|
1613
|
+
*/
|
|
1614
|
+
interface UpgradeHint {
|
|
1615
|
+
/** Plan that lifts the gate, e.g. `"PRO"`. */
|
|
1616
|
+
plan?: string;
|
|
1617
|
+
/** One sentence naming what was withheld. Safe to show verbatim. */
|
|
1618
|
+
message?: string;
|
|
1619
|
+
/** Current price, including any active discount code. */
|
|
1620
|
+
price?: string;
|
|
1621
|
+
/** Where to complete the upgrade. */
|
|
1622
|
+
url?: string;
|
|
1623
|
+
/** What an automated caller should do with this object. */
|
|
1624
|
+
relay?: string;
|
|
1625
|
+
}
|
|
1542
1626
|
interface PreviewResponse<T> {
|
|
1543
1627
|
isPreview: boolean;
|
|
1544
1628
|
previewReason: "PRO_REQUIRED" | null;
|
|
1629
|
+
/**
|
|
1630
|
+
* How to lift the gate. Present only on a preview; absent from full responses.
|
|
1631
|
+
* Surface `message` and `url` to your user rather than hard-coding a price.
|
|
1632
|
+
*/
|
|
1633
|
+
upgrade?: UpgradeHint;
|
|
1545
1634
|
/**
|
|
1546
1635
|
* Size of the full result set, before any truncation your response went through.
|
|
1547
1636
|
*
|
|
@@ -1896,6 +1985,8 @@ interface TrackerSnapshotResponse {
|
|
|
1896
1985
|
previewReason: "PRO_REQUIRED" | null;
|
|
1897
1986
|
/** Full row count before truncation. Only set on preview responses. */
|
|
1898
1987
|
totalCount?: number;
|
|
1988
|
+
/** How to lift the gate. Only set on preview responses. */
|
|
1989
|
+
upgrade?: UpgradeHint;
|
|
1899
1990
|
data: TrackerSnapshot;
|
|
1900
1991
|
}
|
|
1901
1992
|
/** Per-index discovery row returned by `client.indexes.list()`. */
|
|
@@ -2607,7 +2698,14 @@ declare class Documents {
|
|
|
2607
2698
|
getBySource(source: DocumentSource, options?: GetBySourceOptions): Promise<DocumentSearchResponse>;
|
|
2608
2699
|
/** Get AI-curated news story clusters. */
|
|
2609
2700
|
getStories(options?: GetStoriesOptions): Promise<Story[]>;
|
|
2610
|
-
/**
|
|
2701
|
+
/**
|
|
2702
|
+
* Get full story detail by cluster ID.
|
|
2703
|
+
*
|
|
2704
|
+
* Deliberately untyped: narrow it yourself. The response carries `storySource` and
|
|
2705
|
+
* `isLive` alongside the story body, plus a `timeline` array of dated updates,
|
|
2706
|
+
* newest first and empty when the story has none. {@link StoryTimelineEntry} is
|
|
2707
|
+
* exported for that array.
|
|
2708
|
+
*/
|
|
2611
2709
|
getStoryDetail(clusterId: string): Promise<unknown>;
|
|
2612
2710
|
/** Get stories for a specific stock. */
|
|
2613
2711
|
getStoriesByTicker(ticker: string, options?: GetStoriesByTickerOptions): Promise<Story[]>;
|
|
@@ -2702,12 +2800,19 @@ interface EtfInfo {
|
|
|
2702
2800
|
imageUrl: string | null;
|
|
2703
2801
|
}
|
|
2704
2802
|
interface EtfHolding {
|
|
2803
|
+
/** The symbol as the issuer filed it. For an international fund this is the local exchange code, not a US ticker, so resolve stocks with `linkedTicker` instead. */
|
|
2705
2804
|
ticker: string;
|
|
2706
2805
|
name: string | null;
|
|
2707
2806
|
/** Weight in the fund as a percentage (0-100). */
|
|
2708
2807
|
weightPct: number;
|
|
2709
2808
|
/** ISO date "YYYY-MM-DD". First date this holding appeared in the composition. */
|
|
2710
2809
|
firstSeen: string | null;
|
|
2810
|
+
/** Listing venue the issuer reported for this position, verbatim (e.g. "NYSE", "SIX Swiss Exchange"). Null when the source carries no venue column. */
|
|
2811
|
+
exchange?: string | null;
|
|
2812
|
+
/** The symbol as listed on `exchange`. Same value as `ticker`, named to make it clear the symbol is venue-local and may not identify a US company. */
|
|
2813
|
+
localTicker?: string | null;
|
|
2814
|
+
/** The US stock symbol this holding resolves to, or null when it cannot be resolved to one. */
|
|
2815
|
+
linkedTicker?: string | null;
|
|
2711
2816
|
}
|
|
2712
2817
|
interface EtfHoldings {
|
|
2713
2818
|
ticker: string;
|
|
@@ -3639,6 +3744,6 @@ declare class APIError extends SentiSenseError {
|
|
|
3639
3744
|
constructor(message: string, status: number, code?: string);
|
|
3640
3745
|
}
|
|
3641
3746
|
|
|
3642
|
-
declare const VERSION = "0.
|
|
3747
|
+
declare const VERSION = "0.54.0";
|
|
3643
3748
|
|
|
3644
|
-
export { type AISummary, APIError, type AnalystAction, type AnalystCall, type AnalystConsensus, type AnalystCoverage, type AnalystCoverageAnalyst, type AnalystCoverageBookEntry, type AnalystCoverageFirm, type AnalystEarningsSurprise, type AnalystEstimate, type AnalystEstimatesResponse, type AnalystFirmRating, type AnalystFirmTenure, type AnalystNote, type AnalystProfile, type AnalystRatingBuckets, type AssetMetadata, AuthenticationError, type CalendarMeta, type ChartData, type ChartDataPoint, type ClusterBuy, type CompanyKpisData, type CongressTrade, DeepHistoryUnavailableError, type Document, type DocumentSearchResponse, type DocumentSource, type EarningsCalendarResponse, type EarningsEvent, type EarningsKpiHighlight, type EarningsQuarter, type EarningsSource, type EntitySearchResult, type EntitySearchType, type EtfAggregateCoverage, type EtfAnalystAggregate, type EtfAnalystContributor, type EtfHolding, type EtfHoldings, type EtfInfo, type EtfInsiderAggregate, type EtfInsiderContributor, type EtfScreenerExecuteResponse, type EtfScreenerRow, type EtfSentimentAggregate, type EtfSentimentReading, type FeaturedScreen, type FloatInfo, type Fundamentals, type FundamentalsPeriod, type FundamentalsPeriodsResponse, type GetAnalystActionsOptions, type GetAnalystCallsOptions, type GetAnalystCoverageOptions, type GetAnalystMarketActivityOptions, type GetEarningsCalendarOptions, type GetEarningsSummariesOptions, type GetEtfInsiderAggregateOptions, type GetHoldersOptions, type GetInsiderOptions, type GetInsightsOptions, type GetLatestInsightsOptions, type GetOptionsHistoryOptions, type GetPoliticianActivityOptions, type GetPoliticianDirectoryOptions, type GetPoliticianMemberOptions, type GetPoliticiansOptions, type GetRecentEarningsOptions, type GetStockInsightsRangeOptions, type GetUserInsightsOptions, type Holder, type HolderNotableChanges, type IndexConstituent, type IndexHistoryPoint, type IndexHistoryResponse, type IndexListResponse, type IndexListing, type IndexSnapshot, type InsiderActivityResponse, type InsiderActivitySummary, type InsiderTrade, type Insight, type InsightPreviewResponse, type InstitutionList, type InstitutionListResponse, 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 MarketStatus, type MarketSummary, type MetricDistribution, type MetricDistributionOptions, type MetricType, type MetricsBreakdown, type MetricsOptions, NotFoundError, type OptionsAggregate, type OptionsContext, type OptionsHistory, type OptionsHistoryWindow, type OptionsOiWalls, type OptionsOverview, type OptionsOverviewRow, type OptionsSummary, type OptionsUnusualContract, type OptionsWall, type PoliticianDetail, type PoliticianDirectory, type PoliticianDirectoryEntry, type PoliticianDirectoryResponse, type PoliticianSummary, type PreviewResponse, type Quarter, 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, SentiSense, SentiSenseError, type SentiSenseOptions, type SentimentEntry, type ServingMetric, type ShortInterest, type ShortVolume, type SimilarStock, type StockDetail, type StockEntity, type StockImage, type StockNotRated, type StockPrice, type StockProfile, type StockQuote, type StockRating, type StockRatingResponse, type StockSocialDominance, type Story, type StoryCluster, type TickerHolders, type TrackerEvent, type TrackerGeoEntry, 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 };
|
|
3749
|
+
export { type AISummary, APIError, type AnalystAction, type AnalystCall, type AnalystConsensus, type AnalystCoverage, type AnalystCoverageAnalyst, type AnalystCoverageBookEntry, type AnalystCoverageFirm, type AnalystEarningsSurprise, type AnalystEstimate, type AnalystEstimatesResponse, type AnalystFirmRating, type AnalystFirmTenure, type AnalystNote, type AnalystProfile, type AnalystRatingBuckets, type AssetMetadata, AuthenticationError, type CalendarMeta, type ChartData, type ChartDataPoint, type ClusterBuy, type CompanyKpisData, type CongressTrade, DeepHistoryUnavailableError, type Document, type DocumentSearchResponse, type DocumentSource, type EarningsCalendarResponse, type EarningsEvent, type EarningsKpiHighlight, type EarningsQuarter, type EarningsSource, type EntitySearchResult, type EntitySearchType, type EtfAggregateCoverage, type EtfAnalystAggregate, type EtfAnalystContributor, type EtfHolding, type EtfHoldings, type EtfInfo, type EtfInsiderAggregate, type EtfInsiderContributor, type EtfScreenerExecuteResponse, type EtfScreenerRow, type EtfSentimentAggregate, type EtfSentimentReading, type FeaturedScreen, type FloatInfo, type Fundamentals, type FundamentalsPeriod, type FundamentalsPeriodsResponse, type GetAnalystActionsOptions, type GetAnalystCallsOptions, type GetAnalystCoverageOptions, type GetAnalystMarketActivityOptions, type GetEarningsCalendarOptions, type GetEarningsSummariesOptions, type GetEtfInsiderAggregateOptions, type GetHoldersOptions, type GetInsiderOptions, type GetInsightsOptions, type GetLatestInsightsOptions, type GetOptionsHistoryOptions, type GetPoliticianActivityOptions, type GetPoliticianDirectoryOptions, type GetPoliticianMemberOptions, type GetPoliticiansOptions, type GetRecentEarningsOptions, type GetStockInsightsRangeOptions, type GetUserInsightsOptions, type Holder, type HolderNotableChanges, type IndexConstituent, type IndexHistoryPoint, type IndexHistoryResponse, type IndexListResponse, type IndexListing, type IndexSnapshot, type InsiderActivityResponse, type InsiderActivitySummary, type InsiderTrade, type Insight, type InsightPreviewResponse, type InstitutionList, type InstitutionListResponse, 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 MarketStatus, type MarketSummary, type MetricDistribution, type MetricDistributionOptions, type MetricType, type MetricsBreakdown, type MetricsOptions, NotFoundError, type OptionsAggregate, type OptionsContext, type OptionsHistory, type OptionsHistoryWindow, type OptionsOiWalls, type OptionsOverview, type OptionsOverviewRow, type OptionsSummary, type OptionsUnusualContract, type OptionsWall, type PoliticianDetail, type PoliticianDirectory, type PoliticianDirectoryEntry, type PoliticianDirectoryResponse, type PoliticianSummary, type PreviewResponse, type Quarter, 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, SentiSense, SentiSenseError, type SentiSenseOptions, type SentimentEntry, type ServingMetric, type ShortInterest, type ShortVolume, type SimilarStock, type StockDetail, type StockEntity, type StockImage, type StockNotRated, type StockPrice, type StockProfile, type StockQuote, type StockRating, type StockRatingResponse, type StockSocialDominance, type Story, type StoryCluster, type StoryTimelineEntry, type TickerHolders, type TrackerEvent, type TrackerGeoEntry, 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
|
@@ -221,7 +221,14 @@ var Documents = class {
|
|
|
221
221
|
async getStories(options) {
|
|
222
222
|
return this.client.get("/api/v1/documents/stories", options);
|
|
223
223
|
}
|
|
224
|
-
/**
|
|
224
|
+
/**
|
|
225
|
+
* Get full story detail by cluster ID.
|
|
226
|
+
*
|
|
227
|
+
* Deliberately untyped: narrow it yourself. The response carries `storySource` and
|
|
228
|
+
* `isLive` alongside the story body, plus a `timeline` array of dated updates,
|
|
229
|
+
* newest first and empty when the story has none. {@link StoryTimelineEntry} is
|
|
230
|
+
* exported for that array.
|
|
231
|
+
*/
|
|
225
232
|
async getStoryDetail(clusterId) {
|
|
226
233
|
return this.client.get(`/api/v1/documents/stories/${encodeURIComponent(clusterId)}`);
|
|
227
234
|
}
|
|
@@ -1208,7 +1215,7 @@ var Trackers = class {
|
|
|
1208
1215
|
};
|
|
1209
1216
|
|
|
1210
1217
|
// src/version.ts
|
|
1211
|
-
var VERSION = "0.
|
|
1218
|
+
var VERSION = "0.54.0";
|
|
1212
1219
|
|
|
1213
1220
|
// src/client.ts
|
|
1214
1221
|
var DEFAULT_BASE_URL = "https://app.sentisense.ai";
|