@0xinsider/sdk 0.126.3 → 0.126.5
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/provenance.d.ts +1 -1
- package/dist/provenance.js +2 -2
- package/dist/schema.d.ts +16 -13
- package/dist/schema.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/provenance.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const OPENAPI_SOURCE = "0xinsider/0xinsider:web/public/api/v1/openapi.json";
|
|
2
|
-
export declare const OPENAPI_SHA256 = "
|
|
2
|
+
export declare const OPENAPI_SHA256 = "94a4feca0a67dd09b2a7578a41fa508dbb25c07aca2936a2462809d862ff766f";
|
|
3
3
|
export declare const OPENAPI_VERSION = "1.0.0";
|
|
4
4
|
export declare const OPERATION_COUNT = 119;
|
|
5
5
|
export declare const APP_REPOSITORY = "0xinsider/0xinsider";
|
package/dist/provenance.js
CHANGED
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
// when it could be resolved, else null. Compare OPENAPI_SHA256 with the live
|
|
7
7
|
// document to see whether a release is behind the API.
|
|
8
8
|
export const OPENAPI_SOURCE = "0xinsider/0xinsider:web/public/api/v1/openapi.json";
|
|
9
|
-
export const OPENAPI_SHA256 = "
|
|
9
|
+
export const OPENAPI_SHA256 = "94a4feca0a67dd09b2a7578a41fa508dbb25c07aca2936a2462809d862ff766f";
|
|
10
10
|
export const OPENAPI_VERSION = "1.0.0";
|
|
11
11
|
export const OPERATION_COUNT = 119;
|
|
12
12
|
export const APP_REPOSITORY = "0xinsider/0xinsider";
|
|
13
13
|
export const APP_SPEC_PATH = "web/public/api/v1/openapi.json";
|
|
14
|
-
export const APP_COMMIT = "
|
|
14
|
+
export const APP_COMMIT = "4096408dd6f92f326d329a1b4c1a7100ce372553";
|
|
15
15
|
//# sourceMappingURL=provenance.js.map
|
package/dist/schema.d.ts
CHANGED
|
@@ -634,7 +634,7 @@ export type EdgeHunterBoard = {
|
|
|
634
634
|
unranked: {
|
|
635
635
|
/** A side is backed, but no wallet on it is at or above min_grade. */
|
|
636
636
|
below_grade_floor: number;
|
|
637
|
-
/** No S
|
|
637
|
+
/** No S or A wallet holds either side now; a market only B wallets hold counts here. */
|
|
638
638
|
no_graded_holders: number;
|
|
639
639
|
/** Graded money on the two sides is too evenly split to back a side. */
|
|
640
640
|
split_holder_pile: number;
|
|
@@ -706,7 +706,7 @@ export type EdgeHunterMostHeld48hCutoff = {
|
|
|
706
706
|
export type EdgeHunterObservation = {
|
|
707
707
|
/** The side profitable wallets hold, as a provider-backed display label. Canonical spelling of piled_side (#16310), same value: when provider group context is unavailable it may remain a bare Yes/No/Over/Under, so do not use it alone as participant identity. */
|
|
708
708
|
side: string | null;
|
|
709
|
-
/** Recorded side backing score; higher values indicate stronger backing. */
|
|
709
|
+
/** Recorded side backing score; higher values indicate stronger backing. It counts the piled side's S and A wallets and their share of S and A money; B wallets appear in b_count but are not counted. */
|
|
710
710
|
backing_score: number;
|
|
711
711
|
/** Signed share of graded money on the side, in [-1, 1]. Canonical spelling of smart_score (#16309, #16310), same value. */
|
|
712
712
|
side_share: number;
|
|
@@ -762,7 +762,7 @@ export type EdgeHunterObservation = {
|
|
|
762
762
|
/** Cumulative provider taker volume in shares, not cash or dollars. */
|
|
763
763
|
volume: number;
|
|
764
764
|
/**
|
|
765
|
-
* Recorded conviction score; higher values indicate stronger conviction.
|
|
765
|
+
* Recorded conviction score; higher values indicate stronger conviction. It counts the piled side's S and A wallets and their share of S and A money; B wallets appear in b_count but are not counted.
|
|
766
766
|
* @deprecated
|
|
767
767
|
*/
|
|
768
768
|
conviction_score: number;
|
|
@@ -778,7 +778,7 @@ export type EdgeHunterObservation = {
|
|
|
778
778
|
hedged_holder_count: number | null;
|
|
779
779
|
one_way_graded_usd: number | null;
|
|
780
780
|
directional_confidence: number | null;
|
|
781
|
-
/** Recorded side ordering score; higher values sort first. */
|
|
781
|
+
/** Recorded side ordering score; higher values sort first. Like conviction_score, it counts S and A wallets, not B wallets. */
|
|
782
782
|
directional_rank_score: number;
|
|
783
783
|
/** 1-based rank within this observation cohort and snapshot: directional_rank_score descending, then conviction_score descending, then category and condition_id. Admission decides which markets a response holds, not their rank, so under admission=most_held_48h or most_held_48h_by_type rank does not follow indexed_graded_holders. */
|
|
784
784
|
rank: number;
|
|
@@ -927,7 +927,7 @@ export type EdgeHunterRankedSignal = {
|
|
|
927
927
|
side: string | null;
|
|
928
928
|
/** UTC time at which the snapshot that ranked this row was computed. Canonical spelling of signal_created_at (#16310), same value. */
|
|
929
929
|
ranked_at: string;
|
|
930
|
-
/** Recorded side backing score; higher values indicate stronger backing. */
|
|
930
|
+
/** Recorded side backing score; higher values indicate stronger backing. It counts the piled side's S and A wallets and their share of S and A money; B wallets appear in b_count but are not counted. */
|
|
931
931
|
backing_score: number;
|
|
932
932
|
/** Signed share of graded money on the side, (yes_usd - no_usd)/(yes_usd + no_usd) in [-1, 1] (side-yes positive, side-no negative). Canonical spelling of smart_score (#16309, #16310), same value. */
|
|
933
933
|
side_share: number | null;
|
|
@@ -963,7 +963,7 @@ export type EdgeHunterRankedSignal = {
|
|
|
963
963
|
s_count: number;
|
|
964
964
|
/** A-grade graded holders on the piled side. */
|
|
965
965
|
a_count: number;
|
|
966
|
-
/** B-grade graded holders on the piled side. */
|
|
966
|
+
/** B-grade graded holders on the piled side. Listed, not counted in conviction_score or rank. */
|
|
967
967
|
b_count: number;
|
|
968
968
|
/** Piled-side graded holder count (s_count + a_count + b_count). */
|
|
969
969
|
graded_holders: number;
|
|
@@ -979,7 +979,7 @@ export type EdgeHunterRankedSignal = {
|
|
|
979
979
|
/** Aggregate recent flow direction on the market; null when unavailable. */
|
|
980
980
|
net_side: "BUY" | "SELL" | null;
|
|
981
981
|
/**
|
|
982
|
-
* Recorded conviction score; higher values indicate stronger conviction.
|
|
982
|
+
* Recorded conviction score; higher values indicate stronger conviction. It counts the piled side's S and A wallets and their share of S and A money; B wallets appear in b_count but are not counted.
|
|
983
983
|
* @deprecated
|
|
984
984
|
*/
|
|
985
985
|
conviction_score: number;
|
|
@@ -991,7 +991,7 @@ export type EdgeHunterRankedSignal = {
|
|
|
991
991
|
one_way_graded_usd: number | null;
|
|
992
992
|
/** One-way fraction, in [0, 1], of the piled graded dollars the directional read classified: hedged and two-sided dollars count against it, unclassified ones are left out. Null when the read was not computed or over 10% of the pile is unclassified. */
|
|
993
993
|
directional_confidence: number | null;
|
|
994
|
-
/** Recorded side ordering score; higher values sort first. */
|
|
994
|
+
/** Recorded side ordering score; higher values sort first. Like conviction_score, it counts S and A wallets, not B wallets. */
|
|
995
995
|
directional_rank_score: number;
|
|
996
996
|
category_skill: EdgeHunterCategorySkill;
|
|
997
997
|
/** 1-based rank within the (min_grade-filtered) ranked result. */
|
|
@@ -1098,7 +1098,7 @@ export type EdgeHunterSportFunnelReport = {
|
|
|
1098
1098
|
board_upcoming_unavailable_scopes: ("category" | "nfl" | "cfb" | "nba" | "wnba" | "euroleague-basketball" | "ncaa-basketball" | "cwbb" | "bkbsl" | "nhl" | "mls" | "valorant" | "league-of-legends" | "counter-strike-2" | "dota-2" | "registry" | "union" | "wave")[];
|
|
1099
1099
|
/** Stored-universe rows plus provider-board rows missing from storage. */
|
|
1100
1100
|
input: number;
|
|
1101
|
-
/** Sparse counts over the closed 25-value terminal vocabulary: outside_horizon, resolved, provider_closed, provider_excluded, invalid_market, missing_token, missing_stored_market, not_provider_live, board_source_unavailable, board_deadline_unavailable, primary_slate_candidate, zero_indexed_holder_research, capacity_limited, provider_unavailable, holder_deadline_unavailable, holder_computation_unavailable, holder_scan_incomplete, no_current_graded_holder, split_holder_pile, price_unavailable, wider_holder_emitted, in_play_emitted, in_play_stale_observed, in_play_directional_unavailable, or internal_unclassified. primary_slate_candidate means the view=signals snapshot named by signals_as_of lists the market at its widest selection (horizon_hours=48, min_grade=B, no selector), so it is not a wider_holder candidate; when no view=signals snapshot could be read (signals_as_of null), no market takes it. capacity_limited is intentional bounded provider-work admission, is fully accounted here, and does not itself set degraded=true. board_source_unavailable means a completed board source was unavailable; board_deadline_unavailable means live-board work missed either an internal configured-scope deadline or the outer fair-wave deadline; provider_unavailable means a holder read sent to the provider failed and the market had no reusable holder page; holder_deadline_unavailable means holder cache/provider work missed the absolute request deadline, or local capacity never sent the holder read, and the market had no reusable holder page; holder_computation_unavailable means post-holder provider or DB-backed price/metadata evaluation was unavailable. */
|
|
1101
|
+
/** Sparse counts over the closed 25-value terminal vocabulary: outside_horizon, resolved, provider_closed, provider_excluded, invalid_market, missing_token, missing_stored_market, not_provider_live, board_source_unavailable, board_deadline_unavailable, primary_slate_candidate, zero_indexed_holder_research, capacity_limited, provider_unavailable, holder_deadline_unavailable, holder_computation_unavailable, holder_scan_incomplete, no_current_graded_holder, split_holder_pile, price_unavailable, wider_holder_emitted, in_play_emitted, in_play_stale_observed, in_play_directional_unavailable, or internal_unclassified. primary_slate_candidate means the view=signals snapshot named by signals_as_of lists the market at its widest selection (horizon_hours=48, min_grade=B, no selector), so it is not a wider_holder candidate; when no view=signals snapshot could be read (signals_as_of null), no market takes it. capacity_limited is intentional bounded provider-work admission, is fully accounted here, and does not itself set degraded=true. board_source_unavailable means a completed board source was unavailable; board_deadline_unavailable means live-board work missed either an internal configured-scope deadline or the outer fair-wave deadline; provider_unavailable means a holder read sent to the provider failed and the market had no reusable holder page; holder_deadline_unavailable means holder cache/provider work missed the absolute request deadline, or local capacity never sent the holder read, and the market had no reusable holder page; holder_computation_unavailable means post-holder provider or DB-backed price/metadata evaluation was unavailable; no_current_graded_holder means no S or A wallet's money backs either side now, and a market only B wallets hold counts here. */
|
|
1102
1102
|
terminals: Record<string, number>;
|
|
1103
1103
|
/** Sum of every sparse terminal count. */
|
|
1104
1104
|
terminal_total: number;
|
|
@@ -1282,9 +1282,11 @@ export type ExploreMarket = {
|
|
|
1282
1282
|
/** The Polymarket CLOB token id (ERC1155 asset id, decimal string) for the NO outcome; null when unavailable (e.g. unsynced markets). */
|
|
1283
1283
|
token_id_no: string | null;
|
|
1284
1284
|
event_slug: string | null;
|
|
1285
|
+
/** Where graded money sits on the market, from -1 (all on NO) to 1 (all on YES): YES dollars minus NO dollars over both. Graded money is the money of wallets graded S or A; a B grade wallet's money is not counted. Null when no S or A grade wallet holds the market. */
|
|
1285
1286
|
smart_score: number | null;
|
|
1287
|
+
/** Distinct wallets graded S or A holding either side of the market, the wallets smart_score counts: 0 on a market held only by lower grades, B included. Null when the market's graded money was not read. */
|
|
1286
1288
|
smart_count: number | null;
|
|
1287
|
-
/** The outcome graded money leans toward RELATIVE TO THE PRICE: named only when the graded money's share of a side sits well past that side's price-implied share, enough graded money backs the leaning side that a few small positions cannot name it, and the side is not a long shot holding nearly all of the graded money. Null when the money sits with the price (no lean), when there is no graded money, or when the price is unavailable. The same rule as the market page. */
|
|
1289
|
+
/** The outcome graded money (wallets graded S or A) leans toward RELATIVE TO THE PRICE: named only when the graded money's share of a side sits well past that side's price-implied share, enough graded money backs the leaning side that a few small positions cannot name it, and the side is not a long shot holding nearly all of the graded money. Null when the money sits with the price (no lean), when there is no graded money, or when the price is unavailable. The same rule as the market page. */
|
|
1288
1290
|
smart_label: string | null;
|
|
1289
1291
|
/** When the oldest stored smart-money wallet behind this split (smart_score, smart_count and smart_label) last finished syncing. Graded wallets sync on different schedules, so this is often hours or days ago. Some holdings in the split can come from a Polymarket holder read cached for up to 3 minutes, which this time does not describe. Null when there is no split or a wallet's sync time is unknown. */
|
|
1290
1292
|
sharp_money_as_of: string | null;
|
|
@@ -1826,7 +1828,7 @@ export type GameSharpMoney = {
|
|
|
1826
1828
|
trader_count: number | null;
|
|
1827
1829
|
unallocated_usd: number | null;
|
|
1828
1830
|
verdict: GameSharpMoneyVerdict | null;
|
|
1829
|
-
/** The split as the site last recorded it before the game started (before its scheduled start and before it was reported live), valued at the prices of that moment, while lifecycle is in_play, ended or settled, so outcomes[].pct keeps meaning now. as_of is when that state was recorded. For a game postponed or cancelled after its scheduled start it is still the split before that time. null on every other lifecycle and when no state with graded money was recorded before the game started. */
|
|
1831
|
+
/** The split as the site last recorded it before the game started (before its scheduled start and before it was reported live), valued at the prices of that moment, while lifecycle is in_play, ended or settled, so outcomes[].pct keeps meaning now. as_of is when that state was recorded. For a game postponed or cancelled after its scheduled start it is still the split before that time. A game that started before the money counted only S and A grade wallets keeps the split it had then, B grade wallets included. money_grades names the grades its total_usd, trader_count, each outcome's usd and its verdict count: ["S", "A"], or ["S", "A", "B"] on a split recorded before B grade wallets' money stopped counting. null on every other lifecycle and when no state with graded money was recorded before the game started. */
|
|
1830
1832
|
at_kickoff: {
|
|
1831
1833
|
as_of: string;
|
|
1832
1834
|
outcomes: ({
|
|
@@ -1839,8 +1841,9 @@ export type GameSharpMoney = {
|
|
|
1839
1841
|
total_usd: number;
|
|
1840
1842
|
trader_count: number;
|
|
1841
1843
|
verdict: GameSharpMoneyVerdict;
|
|
1844
|
+
money_grades: ("S" | "A" | "B" | "C" | "D" | "F")[];
|
|
1842
1845
|
} | null;
|
|
1843
|
-
/** What S
|
|
1846
|
+
/** What S and A grade wallets bought on a game's moneyline since its start, by side, in dollars, while lifecycle is in_play. since is the earlier of scheduled_at and the first live score, so a scheduled_at later than the real start does not start the window late. On a 1X2 it has three outcomes and counts buys of each outcome's YES shares only: a NO buy is money against one outcome, so it is not counted. The verdict is their share alone, no price claim: in play, buys follow the score, so read avg_buy_price. as_of is when the trades were read. A read that found no buy since the start carries bought_usd 0, verdict no_sharp_money and every pct 0. null claims nothing: outside in_play, or with no reading available. */
|
|
1844
1847
|
since_start: {
|
|
1845
1848
|
as_of: string;
|
|
1846
1849
|
bought_usd: number;
|
|
@@ -7512,7 +7515,7 @@ export interface OperationQuery {
|
|
|
7512
7515
|
limit?: number;
|
|
7513
7516
|
/** Opaque gmk_v1_ cursor from next_cursor, sent with the same filters. It pins the page position (sports_market_type, line, condition_id), not a snapshot. A cursor this endpoint did not issue returns 400 with error.param=cursor. */
|
|
7514
7517
|
cursor?: string;
|
|
7515
|
-
/** sharp_money adds each row's sharp_money: the game page's per-line split, side USD and S, A and B wallet counts per outcome. One read for the event whatever the page size; the request costs 5 instead of 2. Pro and Max. quotes adds each outcome's quote: the cached display price and best bid and ask, each with its observation time, in one cache read for the page; it adds 1 to the cost, on every plan. trading_terms adds each row's fee schedule, reward settings and allocations, order delay, tick and minimum order size in shares from its Gamma record, with the read's time; it adds 1 to the cost, on every plan. Repeatable: sharp_money, quotes, trading_terms. */
|
|
7518
|
+
/** sharp_money adds each row's sharp_money: the game page's per-line split, side USD from S and A grade wallets and S, A and B wallet counts per outcome. One read for the event whatever the page size; the request costs 5 instead of 2. Pro and Max. quotes adds each outcome's quote: the cached display price and best bid and ask, each with its observation time, in one cache read for the page; it adds 1 to the cost, on every plan. trading_terms adds each row's fee schedule, reward settings and allocations, order delay, tick and minimum order size in shares from its Gamma record, with the read's time; it adds 1 to the cost, on every plan. Repeatable: sharp_money, quotes, trading_terms. */
|
|
7516
7519
|
expand?: ("sharp_money" | "quotes" | "trading_terms")[];
|
|
7517
7520
|
/** Backward-compatible alias for expand. Repeatable: sharp_money, quotes, trading_terms. */
|
|
7518
7521
|
"expand[]"?: ("sharp_money" | "quotes" | "trading_terms")[];
|