@codex-data/sdk 2.1.0 → 2.1.1
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/sdk/Subscribe.js +1 -1
- package/dist/sdk/Subscribe.mjs +1 -1
- package/dist/sdk/generated/gql.d.ts +20 -20
- package/dist/sdk/generated/gql.js +10 -10
- package/dist/sdk/generated/gql.mjs +10 -10
- package/dist/sdk/generated/graphql.d.ts +2 -86
- package/dist/sdk/generated/graphql.js +10 -16
- package/dist/sdk/generated/graphql.mjs +10 -16
- package/package.json +1 -1
|
@@ -992,8 +992,6 @@ export type DetailedPredictionEventStats = {
|
|
|
992
992
|
__typename?: 'DetailedPredictionEventStats';
|
|
993
993
|
/** All-time aggregate stats. */
|
|
994
994
|
allTimeStats: PredictionEventAllTimeStats;
|
|
995
|
-
/** Competitive scores across time windows. */
|
|
996
|
-
competitiveScores: DetailedPredictionStatsScores;
|
|
997
995
|
/** The ID of the prediction event. */
|
|
998
996
|
eventId: Scalars['String']['output'];
|
|
999
997
|
/** The timestamp of the last transaction. */
|
|
@@ -1191,8 +1189,6 @@ export type DetailedSubscriptionPredictionEventStats = {
|
|
|
1191
1189
|
__typename?: 'DetailedSubscriptionPredictionEventStats';
|
|
1192
1190
|
/** All-time aggregate stats. */
|
|
1193
1191
|
allTimeStats: PredictionEventAllTimeStats;
|
|
1194
|
-
/** Competitive scores across time windows. */
|
|
1195
|
-
competitiveScores: DetailedPredictionStatsScores;
|
|
1196
1192
|
/** The ID of the prediction event. */
|
|
1197
1193
|
eventId: Scalars['String']['output'];
|
|
1198
1194
|
/** The timestamp of the last transaction. */
|
|
@@ -1926,8 +1922,6 @@ export type FilterTrader = {
|
|
|
1926
1922
|
alias?: Maybe<Scalars['String']['output']>;
|
|
1927
1923
|
/** The unique identifier. */
|
|
1928
1924
|
id: Scalars['String']['output'];
|
|
1929
|
-
/** The is verified. */
|
|
1930
|
-
isVerified?: Maybe<Scalars['Boolean']['output']>;
|
|
1931
1925
|
/** Labels applied to this entity. */
|
|
1932
1926
|
labels?: Maybe<Array<Scalars['String']['output']>>;
|
|
1933
1927
|
/** The linked addresses. */
|
|
@@ -6698,18 +6692,6 @@ export type PredictionEventFilterResult = {
|
|
|
6698
6692
|
categories: Array<Scalars['String']['output']>;
|
|
6699
6693
|
/** The timestamp when this entity closes. */
|
|
6700
6694
|
closesAt: Scalars['Int']['output'];
|
|
6701
|
-
/** The competitive score. */
|
|
6702
|
-
competitiveScore1h?: Maybe<Scalars['Float']['output']>;
|
|
6703
|
-
/** The competitive score. */
|
|
6704
|
-
competitiveScore1w?: Maybe<Scalars['Float']['output']>;
|
|
6705
|
-
/** The competitive score. */
|
|
6706
|
-
competitiveScore4h?: Maybe<Scalars['Float']['output']>;
|
|
6707
|
-
/** The competitive score. */
|
|
6708
|
-
competitiveScore5m?: Maybe<Scalars['Float']['output']>;
|
|
6709
|
-
/** The competitive score. */
|
|
6710
|
-
competitiveScore12h?: Maybe<Scalars['Float']['output']>;
|
|
6711
|
-
/** The competitive score. */
|
|
6712
|
-
competitiveScore24h?: Maybe<Scalars['Float']['output']>;
|
|
6713
6695
|
/** The creation timestamp. */
|
|
6714
6696
|
createdAt: Scalars['Int']['output'];
|
|
6715
6697
|
/** Simplified event data from search index. Use predictionEvent for full event details. */
|
|
@@ -6895,18 +6877,6 @@ export type PredictionEventFilters = {
|
|
|
6895
6877
|
categories?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
6896
6878
|
/** The timestamp when this entity closes. */
|
|
6897
6879
|
closesAt?: InputMaybe<NumberFilter>;
|
|
6898
|
-
/** The competitive score. */
|
|
6899
|
-
competitiveScore1h?: InputMaybe<NumberFilter>;
|
|
6900
|
-
/** The competitive score. */
|
|
6901
|
-
competitiveScore1w?: InputMaybe<NumberFilter>;
|
|
6902
|
-
/** The competitive score. */
|
|
6903
|
-
competitiveScore4h?: InputMaybe<NumberFilter>;
|
|
6904
|
-
/** The competitive score. */
|
|
6905
|
-
competitiveScore5m?: InputMaybe<NumberFilter>;
|
|
6906
|
-
/** The competitive score. */
|
|
6907
|
-
competitiveScore12h?: InputMaybe<NumberFilter>;
|
|
6908
|
-
/** The competitive score. */
|
|
6909
|
-
competitiveScore24h?: InputMaybe<NumberFilter>;
|
|
6910
6880
|
/** The creation timestamp. */
|
|
6911
6881
|
createdAt?: InputMaybe<NumberFilter>;
|
|
6912
6882
|
/** The exclude categories. */
|
|
@@ -7088,12 +7058,6 @@ export type PredictionEventRanking = {
|
|
|
7088
7058
|
export declare enum PredictionEventRankingAttribute {
|
|
7089
7059
|
Age = "age",
|
|
7090
7060
|
ClosesAt = "closesAt",
|
|
7091
|
-
CompetitiveScore1h = "competitiveScore1h",
|
|
7092
|
-
CompetitiveScore1w = "competitiveScore1w",
|
|
7093
|
-
CompetitiveScore4h = "competitiveScore4h",
|
|
7094
|
-
CompetitiveScore5m = "competitiveScore5m",
|
|
7095
|
-
CompetitiveScore12h = "competitiveScore12h",
|
|
7096
|
-
CompetitiveScore24h = "competitiveScore24h",
|
|
7097
7061
|
CreatedAt = "createdAt",
|
|
7098
7062
|
ExpectedLifespan = "expectedLifespan",
|
|
7099
7063
|
LastTransactionAt = "lastTransactionAt",
|
|
@@ -7241,8 +7205,6 @@ export type PredictionEventTopMarketsBarsResponse = {
|
|
|
7241
7205
|
/** Trending, relevance, and competitive scores for an event window. */
|
|
7242
7206
|
export type PredictionEventWindowScores = {
|
|
7243
7207
|
__typename?: 'PredictionEventWindowScores';
|
|
7244
|
-
/** The competitive. */
|
|
7245
|
-
competitive: Scalars['Float']['output'];
|
|
7246
7208
|
/** The relevance. */
|
|
7247
7209
|
relevance: Scalars['Float']['output'];
|
|
7248
7210
|
/** The trending. */
|
|
@@ -8550,8 +8512,6 @@ export type PredictionTrader = {
|
|
|
8550
8512
|
firstTradeTimestamp: Scalars['Int']['output'];
|
|
8551
8513
|
/** The unique identifier. */
|
|
8552
8514
|
id: Scalars['String']['output'];
|
|
8553
|
-
/** The is verified. */
|
|
8554
|
-
isVerified?: Maybe<Scalars['Boolean']['output']>;
|
|
8555
8515
|
/** Labels applied to this entity. */
|
|
8556
8516
|
labels?: Maybe<Array<Scalars['String']['output']>>;
|
|
8557
8517
|
/** The timestamp of the last trade. */
|
|
@@ -8881,8 +8841,6 @@ export type PredictionTraderFilters = {
|
|
|
8881
8841
|
heldTokenAcquisitionCostCT?: InputMaybe<NumberFilter>;
|
|
8882
8842
|
/** Filter by held token acquisition cost USD */
|
|
8883
8843
|
heldTokenAcquisitionCostUsd?: InputMaybe<NumberFilter>;
|
|
8884
|
-
/** Filter by verified status */
|
|
8885
|
-
isVerified?: InputMaybe<Scalars['Boolean']['input']>;
|
|
8886
8844
|
/** Filter by labels */
|
|
8887
8845
|
labels?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
8888
8846
|
/** Filter by last trade timestamp */
|
|
@@ -10339,6 +10297,7 @@ export type QueryFilterTokensArgs = {
|
|
|
10339
10297
|
rankings?: InputMaybe<Array<InputMaybe<TokenRanking>>>;
|
|
10340
10298
|
statsType?: InputMaybe<TokenPairStatisticsType>;
|
|
10341
10299
|
tokens?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
10300
|
+
useAggregatedStats?: InputMaybe<Scalars['Boolean']['input']>;
|
|
10342
10301
|
};
|
|
10343
10302
|
/** Prediction data queries for markets, events, outcomes, traders, and analytics. */
|
|
10344
10303
|
export type QueryFilterWalletsArgs = {
|
|
@@ -15214,15 +15173,6 @@ export type DetailedPredictionEventStatsQuery = {
|
|
|
15214
15173
|
volumeCT?: string | null;
|
|
15215
15174
|
volumeUsd: string;
|
|
15216
15175
|
};
|
|
15217
|
-
competitiveScores: {
|
|
15218
|
-
__typename?: 'DetailedPredictionStatsScores';
|
|
15219
|
-
score1?: number | null;
|
|
15220
|
-
score1w?: number | null;
|
|
15221
|
-
score4?: number | null;
|
|
15222
|
-
score5m?: number | null;
|
|
15223
|
-
score12?: number | null;
|
|
15224
|
-
score24?: number | null;
|
|
15225
|
-
};
|
|
15226
15176
|
lifecycle: {
|
|
15227
15177
|
__typename?: 'PredictionLifecycleStats';
|
|
15228
15178
|
ageSeconds: number;
|
|
@@ -15348,7 +15298,6 @@ export type DetailedPredictionEventStatsQuery = {
|
|
|
15348
15298
|
};
|
|
15349
15299
|
scores: {
|
|
15350
15300
|
__typename?: 'PredictionEventWindowScores';
|
|
15351
|
-
competitive: number;
|
|
15352
15301
|
relevance: number;
|
|
15353
15302
|
trending: number;
|
|
15354
15303
|
};
|
|
@@ -15407,7 +15356,6 @@ export type DetailedPredictionEventStatsQuery = {
|
|
|
15407
15356
|
};
|
|
15408
15357
|
scores: {
|
|
15409
15358
|
__typename?: 'PredictionEventWindowScores';
|
|
15410
|
-
competitive: number;
|
|
15411
15359
|
relevance: number;
|
|
15412
15360
|
trending: number;
|
|
15413
15361
|
};
|
|
@@ -15466,7 +15414,6 @@ export type DetailedPredictionEventStatsQuery = {
|
|
|
15466
15414
|
};
|
|
15467
15415
|
scores: {
|
|
15468
15416
|
__typename?: 'PredictionEventWindowScores';
|
|
15469
|
-
competitive: number;
|
|
15470
15417
|
relevance: number;
|
|
15471
15418
|
trending: number;
|
|
15472
15419
|
};
|
|
@@ -15525,7 +15472,6 @@ export type DetailedPredictionEventStatsQuery = {
|
|
|
15525
15472
|
};
|
|
15526
15473
|
scores: {
|
|
15527
15474
|
__typename?: 'PredictionEventWindowScores';
|
|
15528
|
-
competitive: number;
|
|
15529
15475
|
relevance: number;
|
|
15530
15476
|
trending: number;
|
|
15531
15477
|
};
|
|
@@ -15584,7 +15530,6 @@ export type DetailedPredictionEventStatsQuery = {
|
|
|
15584
15530
|
};
|
|
15585
15531
|
scores: {
|
|
15586
15532
|
__typename?: 'PredictionEventWindowScores';
|
|
15587
|
-
competitive: number;
|
|
15588
15533
|
relevance: number;
|
|
15589
15534
|
trending: number;
|
|
15590
15535
|
};
|
|
@@ -15643,7 +15588,6 @@ export type DetailedPredictionEventStatsQuery = {
|
|
|
15643
15588
|
};
|
|
15644
15589
|
scores: {
|
|
15645
15590
|
__typename?: 'PredictionEventWindowScores';
|
|
15646
|
-
competitive: number;
|
|
15647
15591
|
relevance: number;
|
|
15648
15592
|
trending: number;
|
|
15649
15593
|
};
|
|
@@ -17393,7 +17337,6 @@ export type DetailedPredictionTraderStatsQuery = {
|
|
|
17393
17337
|
createdAt: number;
|
|
17394
17338
|
firstTradeTimestamp: number;
|
|
17395
17339
|
id: string;
|
|
17396
|
-
isVerified?: boolean | null;
|
|
17397
17340
|
labels?: Array<string> | null;
|
|
17398
17341
|
lastTradeTimestamp: number;
|
|
17399
17342
|
linkedAddresses?: Array<string> | null;
|
|
@@ -18191,12 +18134,6 @@ export type FilterPredictionEventsQuery = {
|
|
|
18191
18134
|
age?: number | null;
|
|
18192
18135
|
categories: Array<string>;
|
|
18193
18136
|
closesAt: number;
|
|
18194
|
-
competitiveScore1h?: number | null;
|
|
18195
|
-
competitiveScore1w?: number | null;
|
|
18196
|
-
competitiveScore4h?: number | null;
|
|
18197
|
-
competitiveScore5m?: number | null;
|
|
18198
|
-
competitiveScore12h?: number | null;
|
|
18199
|
-
competitiveScore24h?: number | null;
|
|
18200
18137
|
createdAt: number;
|
|
18201
18138
|
expectedLifespan?: number | null;
|
|
18202
18139
|
id: string;
|
|
@@ -18923,7 +18860,6 @@ export type FilterPredictionTraderMarketsQuery = {
|
|
|
18923
18860
|
createdAt: number;
|
|
18924
18861
|
firstTradeTimestamp: number;
|
|
18925
18862
|
id: string;
|
|
18926
|
-
isVerified?: boolean | null;
|
|
18927
18863
|
labels?: Array<string> | null;
|
|
18928
18864
|
lastTradeTimestamp: number;
|
|
18929
18865
|
linkedAddresses?: Array<string> | null;
|
|
@@ -18941,7 +18877,6 @@ export type FilterPredictionTraderMarketsQuery = {
|
|
|
18941
18877
|
__typename?: 'FilterTrader';
|
|
18942
18878
|
alias?: string | null;
|
|
18943
18879
|
id: string;
|
|
18944
|
-
isVerified?: boolean | null;
|
|
18945
18880
|
labels?: Array<string> | null;
|
|
18946
18881
|
linkedAddresses?: Array<string> | null;
|
|
18947
18882
|
primaryAddress?: string | null;
|
|
@@ -19074,7 +19009,6 @@ export type FilterPredictionTradersQuery = {
|
|
|
19074
19009
|
createdAt: number;
|
|
19075
19010
|
firstTradeTimestamp: number;
|
|
19076
19011
|
id: string;
|
|
19077
|
-
isVerified?: boolean | null;
|
|
19078
19012
|
labels?: Array<string> | null;
|
|
19079
19013
|
lastTradeTimestamp: number;
|
|
19080
19014
|
linkedAddresses?: Array<string> | null;
|
|
@@ -19092,7 +19026,6 @@ export type FilterPredictionTradersQuery = {
|
|
|
19092
19026
|
__typename?: 'FilterTrader';
|
|
19093
19027
|
alias?: string | null;
|
|
19094
19028
|
id: string;
|
|
19095
|
-
isVerified?: boolean | null;
|
|
19096
19029
|
labels?: Array<string> | null;
|
|
19097
19030
|
linkedAddresses?: Array<string> | null;
|
|
19098
19031
|
primaryAddress?: string | null;
|
|
@@ -19268,6 +19201,7 @@ export type FilterTokensQueryVariables = Exact<{
|
|
|
19268
19201
|
rankings?: InputMaybe<Array<InputMaybe<TokenRanking>> | InputMaybe<TokenRanking>>;
|
|
19269
19202
|
statsType?: InputMaybe<TokenPairStatisticsType>;
|
|
19270
19203
|
tokens?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
|
|
19204
|
+
useAggregatedStats?: InputMaybe<Scalars['Boolean']['input']>;
|
|
19271
19205
|
}>;
|
|
19272
19206
|
export type FilterTokensQuery = {
|
|
19273
19207
|
__typename?: 'Query';
|
|
@@ -26022,7 +25956,6 @@ export type PredictionTokenHoldersQuery = {
|
|
|
26022
25956
|
createdAt: number;
|
|
26023
25957
|
firstTradeTimestamp: number;
|
|
26024
25958
|
id: string;
|
|
26025
|
-
isVerified?: boolean | null;
|
|
26026
25959
|
labels?: Array<string> | null;
|
|
26027
25960
|
lastTradeTimestamp: number;
|
|
26028
25961
|
linkedAddresses?: Array<string> | null;
|
|
@@ -26080,7 +26013,6 @@ export type PredictionTraderBarsQuery = {
|
|
|
26080
26013
|
createdAt: number;
|
|
26081
26014
|
firstTradeTimestamp: number;
|
|
26082
26015
|
id: string;
|
|
26083
|
-
isVerified?: boolean | null;
|
|
26084
26016
|
labels?: Array<string> | null;
|
|
26085
26017
|
lastTradeTimestamp: number;
|
|
26086
26018
|
linkedAddresses?: Array<string> | null;
|
|
@@ -26226,7 +26158,6 @@ export type PredictionTradersQuery = {
|
|
|
26226
26158
|
createdAt: number;
|
|
26227
26159
|
firstTradeTimestamp: number;
|
|
26228
26160
|
id: string;
|
|
26229
|
-
isVerified?: boolean | null;
|
|
26230
26161
|
labels?: Array<string> | null;
|
|
26231
26162
|
lastTradeTimestamp: number;
|
|
26232
26163
|
linkedAddresses?: Array<string> | null;
|
|
@@ -27357,15 +27288,6 @@ export type OnDetailedPredictionEventStatsUpdatedSubscription = {
|
|
|
27357
27288
|
volumeCT?: string | null;
|
|
27358
27289
|
volumeUsd: string;
|
|
27359
27290
|
};
|
|
27360
|
-
competitiveScores: {
|
|
27361
|
-
__typename?: 'DetailedPredictionStatsScores';
|
|
27362
|
-
score1?: number | null;
|
|
27363
|
-
score1w?: number | null;
|
|
27364
|
-
score4?: number | null;
|
|
27365
|
-
score5m?: number | null;
|
|
27366
|
-
score12?: number | null;
|
|
27367
|
-
score24?: number | null;
|
|
27368
|
-
};
|
|
27369
27291
|
lifecycle: {
|
|
27370
27292
|
__typename?: 'PredictionLifecycleStats';
|
|
27371
27293
|
ageSeconds: number;
|
|
@@ -27397,7 +27319,6 @@ export type OnDetailedPredictionEventStatsUpdatedSubscription = {
|
|
|
27397
27319
|
};
|
|
27398
27320
|
scores: {
|
|
27399
27321
|
__typename?: 'PredictionEventWindowScores';
|
|
27400
|
-
competitive: number;
|
|
27401
27322
|
relevance: number;
|
|
27402
27323
|
trending: number;
|
|
27403
27324
|
};
|
|
@@ -27456,7 +27377,6 @@ export type OnDetailedPredictionEventStatsUpdatedSubscription = {
|
|
|
27456
27377
|
};
|
|
27457
27378
|
scores: {
|
|
27458
27379
|
__typename?: 'PredictionEventWindowScores';
|
|
27459
|
-
competitive: number;
|
|
27460
27380
|
relevance: number;
|
|
27461
27381
|
trending: number;
|
|
27462
27382
|
};
|
|
@@ -27515,7 +27435,6 @@ export type OnDetailedPredictionEventStatsUpdatedSubscription = {
|
|
|
27515
27435
|
};
|
|
27516
27436
|
scores: {
|
|
27517
27437
|
__typename?: 'PredictionEventWindowScores';
|
|
27518
|
-
competitive: number;
|
|
27519
27438
|
relevance: number;
|
|
27520
27439
|
trending: number;
|
|
27521
27440
|
};
|
|
@@ -27574,7 +27493,6 @@ export type OnDetailedPredictionEventStatsUpdatedSubscription = {
|
|
|
27574
27493
|
};
|
|
27575
27494
|
scores: {
|
|
27576
27495
|
__typename?: 'PredictionEventWindowScores';
|
|
27577
|
-
competitive: number;
|
|
27578
27496
|
relevance: number;
|
|
27579
27497
|
trending: number;
|
|
27580
27498
|
};
|
|
@@ -27633,7 +27551,6 @@ export type OnDetailedPredictionEventStatsUpdatedSubscription = {
|
|
|
27633
27551
|
};
|
|
27634
27552
|
scores: {
|
|
27635
27553
|
__typename?: 'PredictionEventWindowScores';
|
|
27636
|
-
competitive: number;
|
|
27637
27554
|
relevance: number;
|
|
27638
27555
|
trending: number;
|
|
27639
27556
|
};
|
|
@@ -27692,7 +27609,6 @@ export type OnDetailedPredictionEventStatsUpdatedSubscription = {
|
|
|
27692
27609
|
};
|
|
27693
27610
|
scores: {
|
|
27694
27611
|
__typename?: 'PredictionEventWindowScores';
|
|
27695
|
-
competitive: number;
|
|
27696
27612
|
relevance: number;
|
|
27697
27613
|
trending: number;
|
|
27698
27614
|
};
|