@streamlayer/sl-eslib 5.222.0 → 5.224.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/package.json
CHANGED
|
@@ -15,29 +15,21 @@ export declare const file_streamlayer_polymarket_sportsClient: GenFile;
|
|
|
15
15
|
*/
|
|
16
16
|
export declare type Sport = Message<"streamlayer.polymarket.Sport"> & {
|
|
17
17
|
/**
|
|
18
|
-
* Stable identifier used in API and filters, e.g. "soccer", "nfl"
|
|
19
|
-
*
|
|
20
18
|
* @generated from field: string id = 1;
|
|
21
19
|
*/
|
|
22
20
|
id: string;
|
|
23
21
|
|
|
24
22
|
/**
|
|
25
|
-
* Human readable name, e.g. "Soccer", "NFL"
|
|
26
|
-
*
|
|
27
23
|
* @generated from field: string name = 2;
|
|
28
24
|
*/
|
|
29
25
|
name: string;
|
|
30
26
|
|
|
31
27
|
/**
|
|
32
|
-
* Normalized sport type
|
|
33
|
-
*
|
|
34
28
|
* @generated from field: streamlayer.polymarket.SportType type = 3;
|
|
35
29
|
*/
|
|
36
30
|
type: SportType;
|
|
37
31
|
|
|
38
32
|
/**
|
|
39
|
-
* Optional extra data, e.g. icon URL, color
|
|
40
|
-
*
|
|
41
33
|
* @generated from field: map<string, string> metadata = 10;
|
|
42
34
|
*/
|
|
43
35
|
metadata: { [key: string]: string };
|
|
@@ -54,21 +46,21 @@ export declare const SportSchema: GenMessage<Sport>;
|
|
|
54
46
|
*/
|
|
55
47
|
export declare type OutcomeSnapshot = Message<"streamlayer.polymarket.OutcomeSnapshot"> & {
|
|
56
48
|
/**
|
|
57
|
-
*
|
|
49
|
+
* e.g. "Liverpool", "Draw", "Newcastle" (Soccer) or "Bills", "Chargers" (NFL)
|
|
58
50
|
*
|
|
59
51
|
* @generated from field: string label = 1;
|
|
60
52
|
*/
|
|
61
53
|
label: string;
|
|
62
54
|
|
|
63
55
|
/**
|
|
64
|
-
*
|
|
56
|
+
* [0..1]
|
|
65
57
|
*
|
|
66
58
|
* @generated from field: double probability = 2;
|
|
67
59
|
*/
|
|
68
60
|
probability: number;
|
|
69
61
|
|
|
70
62
|
/**
|
|
71
|
-
*
|
|
63
|
+
* [0..100]
|
|
72
64
|
*
|
|
73
65
|
* @generated from field: double probability_pct = 3;
|
|
74
66
|
*/
|
|
@@ -86,25 +78,18 @@ export declare const OutcomeSnapshotSchema: GenMessage<OutcomeSnapshot>;
|
|
|
86
78
|
*/
|
|
87
79
|
export declare type PricePoint = Message<"streamlayer.polymarket.PricePoint"> & {
|
|
88
80
|
/**
|
|
89
|
-
* ISO timestamp
|
|
81
|
+
* ISO timestamp (server maps from clob history "t")
|
|
90
82
|
*
|
|
91
83
|
* @generated from field: string t = 1;
|
|
92
84
|
*/
|
|
93
85
|
t: string;
|
|
94
86
|
|
|
95
87
|
/**
|
|
96
|
-
*
|
|
88
|
+
* price/probability [0..1] (server maps from clob history "p")
|
|
97
89
|
*
|
|
98
|
-
* @generated from field: double
|
|
90
|
+
* @generated from field: double p = 2;
|
|
99
91
|
*/
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* Optional size/volume at this point
|
|
104
|
-
*
|
|
105
|
-
* @generated from field: optional double size = 3;
|
|
106
|
-
*/
|
|
107
|
-
size?: number;
|
|
92
|
+
p: number;
|
|
108
93
|
};
|
|
109
94
|
|
|
110
95
|
/**
|
|
@@ -118,14 +103,14 @@ export declare const PricePointSchema: GenMessage<PricePoint>;
|
|
|
118
103
|
*/
|
|
119
104
|
export declare type OutcomeSeries = Message<"streamlayer.polymarket.OutcomeSeries"> & {
|
|
120
105
|
/**
|
|
121
|
-
*
|
|
106
|
+
* must match OutcomeSnapshot.label
|
|
122
107
|
*
|
|
123
108
|
* @generated from field: string label = 1;
|
|
124
109
|
*/
|
|
125
110
|
label: string;
|
|
126
111
|
|
|
127
112
|
/**
|
|
128
|
-
*
|
|
113
|
+
* time series for this outcome
|
|
129
114
|
*
|
|
130
115
|
* @generated from field: repeated streamlayer.polymarket.PricePoint points = 2;
|
|
131
116
|
*/
|
|
@@ -145,120 +130,86 @@ export declare const OutcomeSeriesSchema: GenMessage<OutcomeSeries>;
|
|
|
145
130
|
*/
|
|
146
131
|
export declare type SportsMarketSummary = Message<"streamlayer.polymarket.SportsMarketSummary"> & {
|
|
147
132
|
/**
|
|
148
|
-
* Full Polymarket symbol, e.g. "aec-nfl-buf-nyj-2025-01-15"
|
|
149
|
-
*
|
|
150
133
|
* @generated from field: string symbol = 1;
|
|
151
134
|
*/
|
|
152
135
|
symbol: string;
|
|
153
136
|
|
|
154
137
|
/**
|
|
155
|
-
* Slug used in REST, e.g. "will-italy-qualify-for-the-2026-fifa-world-cup"
|
|
156
|
-
*
|
|
157
138
|
* @generated from field: string slug = 2;
|
|
158
139
|
*/
|
|
159
140
|
slug: string;
|
|
160
141
|
|
|
161
142
|
/**
|
|
162
|
-
* Market title/question for UI
|
|
163
|
-
*
|
|
164
143
|
* @generated from field: string title = 3;
|
|
165
144
|
*/
|
|
166
145
|
title: string;
|
|
167
146
|
|
|
168
147
|
/**
|
|
169
|
-
* Market subtitle or event date label
|
|
170
|
-
*
|
|
171
148
|
* @generated from field: optional string subtitle = 4;
|
|
172
149
|
*/
|
|
173
150
|
subtitle?: string;
|
|
174
151
|
|
|
175
152
|
/**
|
|
176
|
-
* League identifier, e.g. "nfl", "soccer"
|
|
177
|
-
*
|
|
178
153
|
* @generated from field: string league = 5;
|
|
179
154
|
*/
|
|
180
155
|
league: string;
|
|
181
156
|
|
|
182
157
|
/**
|
|
183
|
-
* Event series, mapped from eventSeries / event_series
|
|
184
|
-
*
|
|
185
158
|
* @generated from field: optional string event_series = 6;
|
|
186
159
|
*/
|
|
187
160
|
eventSeries?: string;
|
|
188
161
|
|
|
189
162
|
/**
|
|
190
|
-
* Market category, e.g. "moneyline", "spread"
|
|
191
|
-
*
|
|
192
163
|
* @generated from field: optional string market_category = 7;
|
|
193
164
|
*/
|
|
194
165
|
marketCategory?: string;
|
|
195
166
|
|
|
196
167
|
/**
|
|
197
|
-
* Long side team or participant name
|
|
198
|
-
*
|
|
199
168
|
* @generated from field: optional string long_team = 8;
|
|
200
169
|
*/
|
|
201
170
|
longTeam?: string;
|
|
202
171
|
|
|
203
172
|
/**
|
|
204
|
-
* Short side team or participant name
|
|
205
|
-
*
|
|
206
173
|
* @generated from field: optional string short_team = 9;
|
|
207
174
|
*/
|
|
208
175
|
shortTeam?: string;
|
|
209
176
|
|
|
210
177
|
/**
|
|
211
|
-
* Outcome type, e.g. "moneyline"
|
|
212
|
-
*
|
|
213
178
|
* @generated from field: optional string outcome_type = 10;
|
|
214
179
|
*/
|
|
215
180
|
outcomeType?: string;
|
|
216
181
|
|
|
217
182
|
/**
|
|
218
|
-
* Instrument state, e.g. "INSTRUMENT_STATE_OPEN"
|
|
219
|
-
*
|
|
220
183
|
* @generated from field: string state = 11;
|
|
221
184
|
*/
|
|
222
185
|
state: string;
|
|
223
186
|
|
|
224
187
|
/**
|
|
225
|
-
* Event start time in ISO format
|
|
226
|
-
*
|
|
227
188
|
* @generated from field: string event_start_time = 12;
|
|
228
189
|
*/
|
|
229
190
|
eventStartTime: string;
|
|
230
191
|
|
|
231
192
|
/**
|
|
232
|
-
* Event end/settlement time in ISO format
|
|
233
|
-
*
|
|
234
193
|
* @generated from field: string event_end_time = 13;
|
|
235
194
|
*/
|
|
236
195
|
eventEndTime: string;
|
|
237
196
|
|
|
238
197
|
/**
|
|
239
|
-
* Total trading volume (null if not available)
|
|
240
|
-
*
|
|
241
198
|
* @generated from field: optional double volume = 20;
|
|
242
199
|
*/
|
|
243
200
|
volume?: number;
|
|
244
201
|
|
|
245
202
|
/**
|
|
246
|
-
* Current market liquidity (null if not available)
|
|
247
|
-
*
|
|
248
203
|
* @generated from field: optional double liquidity = 21;
|
|
249
204
|
*/
|
|
250
205
|
liquidity?: number;
|
|
251
206
|
|
|
252
207
|
/**
|
|
253
|
-
* Current outcome probabilities
|
|
254
|
-
*
|
|
255
208
|
* @generated from field: repeated streamlayer.polymarket.OutcomeSnapshot outcomes = 30;
|
|
256
209
|
*/
|
|
257
210
|
outcomes: OutcomeSnapshot[];
|
|
258
211
|
|
|
259
212
|
/**
|
|
260
|
-
* Raw Polymarket metadata (flattened key-value)
|
|
261
|
-
*
|
|
262
213
|
* @generated from field: map<string, string> raw_metadata = 40;
|
|
263
214
|
*/
|
|
264
215
|
rawMetadata: { [key: string]: string };
|
|
@@ -271,254 +222,6 @@ export declare type SportsMarketSummary = Message<"streamlayer.polymarket.Sports
|
|
|
271
222
|
export declare const SportsMarketSummarySchema: GenMessage<SportsMarketSummary>;
|
|
272
223
|
|
|
273
224
|
/**
|
|
274
|
-
* CLOB level metadata for sports markets
|
|
275
|
-
*
|
|
276
|
-
* @generated from message streamlayer.polymarket.ClobMetadata
|
|
277
|
-
*/
|
|
278
|
-
export declare type ClobMetadata = Message<"streamlayer.polymarket.ClobMetadata"> & {
|
|
279
|
-
/**
|
|
280
|
-
* CLOB clearing symbol, e.g. "AEC-NFL"
|
|
281
|
-
*
|
|
282
|
-
* @generated from field: string clearing_symbol = 1;
|
|
283
|
-
*/
|
|
284
|
-
clearingSymbol: string;
|
|
285
|
-
|
|
286
|
-
/**
|
|
287
|
-
* Base currency symbol
|
|
288
|
-
*
|
|
289
|
-
* @generated from field: string base_currency = 2;
|
|
290
|
-
*/
|
|
291
|
-
baseCurrency: string;
|
|
292
|
-
|
|
293
|
-
/**
|
|
294
|
-
* Settlement currency symbol
|
|
295
|
-
*
|
|
296
|
-
* @generated from field: string settlement_currency = 3;
|
|
297
|
-
*/
|
|
298
|
-
settlementCurrency: string;
|
|
299
|
-
|
|
300
|
-
/**
|
|
301
|
-
* Minimum price tick size
|
|
302
|
-
*
|
|
303
|
-
* @generated from field: double tick_size = 4;
|
|
304
|
-
*/
|
|
305
|
-
tickSize: number;
|
|
306
|
-
|
|
307
|
-
/**
|
|
308
|
-
* Multiplier for contract size
|
|
309
|
-
*
|
|
310
|
-
* @generated from field: double multiplier = 5;
|
|
311
|
-
*/
|
|
312
|
-
multiplier: number;
|
|
313
|
-
};
|
|
314
|
-
|
|
315
|
-
/**
|
|
316
|
-
* Describes the message streamlayer.polymarket.ClobMetadata.
|
|
317
|
-
* Use `create(ClobMetadataSchema)` to create a new message.
|
|
318
|
-
*/
|
|
319
|
-
export declare const ClobMetadataSchema: GenMessage<ClobMetadata>;
|
|
320
|
-
|
|
321
|
-
/**
|
|
322
|
-
* Enriched outcome data for UI, including team codes and logo URLs
|
|
323
|
-
*
|
|
324
|
-
* @generated from message streamlayer.polymarket.EnrichedOutcome
|
|
325
|
-
*/
|
|
326
|
-
export declare type EnrichedOutcome = Message<"streamlayer.polymarket.EnrichedOutcome"> & {
|
|
327
|
-
/**
|
|
328
|
-
* Original outcome label, e.g. "Los Angeles R"
|
|
329
|
-
*
|
|
330
|
-
* @generated from field: string label = 1;
|
|
331
|
-
*/
|
|
332
|
-
label: string;
|
|
333
|
-
|
|
334
|
-
/**
|
|
335
|
-
* Normalized team code, e.g. "LAR"
|
|
336
|
-
*
|
|
337
|
-
* @generated from field: optional string team_code = 2;
|
|
338
|
-
*/
|
|
339
|
-
teamCode?: string;
|
|
340
|
-
|
|
341
|
-
/**
|
|
342
|
-
* Logo URL for this team
|
|
343
|
-
*
|
|
344
|
-
* @generated from field: optional string team_logo_url = 3;
|
|
345
|
-
*/
|
|
346
|
-
teamLogoUrl?: string;
|
|
347
|
-
|
|
348
|
-
/**
|
|
349
|
-
* Probability in [0,1]
|
|
350
|
-
*
|
|
351
|
-
* @generated from field: double probability = 4;
|
|
352
|
-
*/
|
|
353
|
-
probability: number;
|
|
354
|
-
|
|
355
|
-
/**
|
|
356
|
-
* Probability in [0,100]
|
|
357
|
-
*
|
|
358
|
-
* @generated from field: double probability_pct = 5;
|
|
359
|
-
*/
|
|
360
|
-
probabilityPct: number;
|
|
361
|
-
};
|
|
362
|
-
|
|
363
|
-
/**
|
|
364
|
-
* Describes the message streamlayer.polymarket.EnrichedOutcome.
|
|
365
|
-
* Use `create(EnrichedOutcomeSchema)` to create a new message.
|
|
366
|
-
*/
|
|
367
|
-
export declare const EnrichedOutcomeSchema: GenMessage<EnrichedOutcome>;
|
|
368
|
-
|
|
369
|
-
/**
|
|
370
|
-
* Full market card data for UI: metadata + CLOB + time series
|
|
371
|
-
*
|
|
372
|
-
* @generated from message streamlayer.polymarket.MarketWithSeries
|
|
373
|
-
*/
|
|
374
|
-
export declare type MarketWithSeries = Message<"streamlayer.polymarket.MarketWithSeries"> & {
|
|
375
|
-
/**
|
|
376
|
-
* Market symbol
|
|
377
|
-
*
|
|
378
|
-
* @generated from field: string symbol = 1;
|
|
379
|
-
*/
|
|
380
|
-
symbol: string;
|
|
381
|
-
|
|
382
|
-
/**
|
|
383
|
-
* Market slug
|
|
384
|
-
*
|
|
385
|
-
* @generated from field: string slug = 2;
|
|
386
|
-
*/
|
|
387
|
-
slug: string;
|
|
388
|
-
|
|
389
|
-
/**
|
|
390
|
-
* UI title
|
|
391
|
-
*
|
|
392
|
-
* @generated from field: string title = 10;
|
|
393
|
-
*/
|
|
394
|
-
title: string;
|
|
395
|
-
|
|
396
|
-
/**
|
|
397
|
-
* Optional subtitle (usually event date label)
|
|
398
|
-
*
|
|
399
|
-
* @generated from field: optional string subtitle = 11;
|
|
400
|
-
*/
|
|
401
|
-
subtitle?: string;
|
|
402
|
-
|
|
403
|
-
/**
|
|
404
|
-
* Event start time in ISO format
|
|
405
|
-
*
|
|
406
|
-
* @generated from field: string event_start_time = 12;
|
|
407
|
-
*/
|
|
408
|
-
eventStartTime: string;
|
|
409
|
-
|
|
410
|
-
/**
|
|
411
|
-
* Event end or settlement time in ISO format
|
|
412
|
-
*
|
|
413
|
-
* @generated from field: string event_end_time = 13;
|
|
414
|
-
*/
|
|
415
|
-
eventEndTime: string;
|
|
416
|
-
|
|
417
|
-
/**
|
|
418
|
-
* Normalized market status, mapped from InstrumentState
|
|
419
|
-
*
|
|
420
|
-
* @generated from field: string market_status = 14;
|
|
421
|
-
*/
|
|
422
|
-
marketStatus: string;
|
|
423
|
-
|
|
424
|
-
/**
|
|
425
|
-
* Event timezone identifier, e.g. "America/New_York"
|
|
426
|
-
*
|
|
427
|
-
* @generated from field: optional string event_time_zone = 15;
|
|
428
|
-
*/
|
|
429
|
-
eventTimeZone?: string;
|
|
430
|
-
|
|
431
|
-
/**
|
|
432
|
-
* Total trading volume (null if not available)
|
|
433
|
-
*
|
|
434
|
-
* @generated from field: optional double volume = 20;
|
|
435
|
-
*/
|
|
436
|
-
volume?: number;
|
|
437
|
-
|
|
438
|
-
/**
|
|
439
|
-
* Current market liquidity (null if not available)
|
|
440
|
-
*
|
|
441
|
-
* @generated from field: optional double liquidity = 21;
|
|
442
|
-
*/
|
|
443
|
-
liquidity?: number;
|
|
444
|
-
|
|
445
|
-
/**
|
|
446
|
-
* Hero image URL used in UI card
|
|
447
|
-
*
|
|
448
|
-
* @generated from field: optional string hero_image_url = 30;
|
|
449
|
-
*/
|
|
450
|
-
heroImageUrl?: string;
|
|
451
|
-
|
|
452
|
-
/**
|
|
453
|
-
* Partner badge label, e.g. "NFL Game Pass"
|
|
454
|
-
*
|
|
455
|
-
* @generated from field: optional string partner_badge = 31;
|
|
456
|
-
*/
|
|
457
|
-
partnerBadge?: string;
|
|
458
|
-
|
|
459
|
-
/**
|
|
460
|
-
* Current enriched outcome probabilities
|
|
461
|
-
*
|
|
462
|
-
* @generated from field: repeated streamlayer.polymarket.EnrichedOutcome outcomes = 40;
|
|
463
|
-
*/
|
|
464
|
-
outcomes: EnrichedOutcome[];
|
|
465
|
-
|
|
466
|
-
/**
|
|
467
|
-
* CLOB level metadata
|
|
468
|
-
*
|
|
469
|
-
* @generated from field: streamlayer.polymarket.ClobMetadata clob = 50;
|
|
470
|
-
*/
|
|
471
|
-
clob?: ClobMetadata;
|
|
472
|
-
|
|
473
|
-
/**
|
|
474
|
-
* Multi-timeframe outcome series
|
|
475
|
-
*
|
|
476
|
-
* @generated from field: repeated streamlayer.polymarket.MarketWithSeries.TimeframeSeries timeframes = 60;
|
|
477
|
-
*/
|
|
478
|
-
timeframes: MarketWithSeries_TimeframeSeries[];
|
|
479
|
-
|
|
480
|
-
/**
|
|
481
|
-
* Flattened raw Polymarket metadata for debugging/extensibility
|
|
482
|
-
*
|
|
483
|
-
* @generated from field: map<string, string> raw_metadata = 70;
|
|
484
|
-
*/
|
|
485
|
-
rawMetadata: { [key: string]: string };
|
|
486
|
-
};
|
|
487
|
-
|
|
488
|
-
/**
|
|
489
|
-
* Describes the message streamlayer.polymarket.MarketWithSeries.
|
|
490
|
-
* Use `create(MarketWithSeriesSchema)` to create a new message.
|
|
491
|
-
*/
|
|
492
|
-
export declare const MarketWithSeriesSchema: GenMessage<MarketWithSeries>;
|
|
493
|
-
|
|
494
|
-
/**
|
|
495
|
-
* @generated from message streamlayer.polymarket.MarketWithSeries.TimeframeSeries
|
|
496
|
-
*/
|
|
497
|
-
export declare type MarketWithSeries_TimeframeSeries = Message<"streamlayer.polymarket.MarketWithSeries.TimeframeSeries"> & {
|
|
498
|
-
/**
|
|
499
|
-
* Timeframe of the series, aligned with HistoryPreset
|
|
500
|
-
*
|
|
501
|
-
* @generated from field: streamlayer.polymarket.Timeframe timeframe = 1;
|
|
502
|
-
*/
|
|
503
|
-
timeframe: Timeframe;
|
|
504
|
-
|
|
505
|
-
/**
|
|
506
|
-
* Outcome series for this timeframe
|
|
507
|
-
*
|
|
508
|
-
* @generated from field: repeated streamlayer.polymarket.OutcomeSeries series = 2;
|
|
509
|
-
*/
|
|
510
|
-
series: OutcomeSeries[];
|
|
511
|
-
};
|
|
512
|
-
|
|
513
|
-
/**
|
|
514
|
-
* Describes the message streamlayer.polymarket.MarketWithSeries.TimeframeSeries.
|
|
515
|
-
* Use `create(MarketWithSeries_TimeframeSeriesSchema)` to create a new message.
|
|
516
|
-
*/
|
|
517
|
-
export declare const MarketWithSeries_TimeframeSeriesSchema: GenMessage<MarketWithSeries_TimeframeSeries>;
|
|
518
|
-
|
|
519
|
-
/**
|
|
520
|
-
* Reserved for future filters, e.g. region or provider
|
|
521
|
-
*
|
|
522
225
|
* @generated from message streamlayer.polymarket.ListSportsRequest
|
|
523
226
|
*/
|
|
524
227
|
export declare type ListSportsRequest = Message<"streamlayer.polymarket.ListSportsRequest"> & {
|
|
@@ -535,8 +238,6 @@ export declare const ListSportsRequestSchema: GenMessage<ListSportsRequest>;
|
|
|
535
238
|
*/
|
|
536
239
|
export declare type ListSportsResponse = Message<"streamlayer.polymarket.ListSportsResponse"> & {
|
|
537
240
|
/**
|
|
538
|
-
* List of supported sports
|
|
539
|
-
*
|
|
540
241
|
* @generated from field: repeated streamlayer.polymarket.Sport sports = 1;
|
|
541
242
|
*/
|
|
542
243
|
sports: Sport[];
|
|
@@ -549,50 +250,35 @@ export declare type ListSportsResponse = Message<"streamlayer.polymarket.ListSpo
|
|
|
549
250
|
export declare const ListSportsResponseSchema: GenMessage<ListSportsResponse>;
|
|
550
251
|
|
|
551
252
|
/**
|
|
552
|
-
* List markets by sport or tag.
|
|
553
|
-
* For simplicity we use a single sport identifier matching Polymarket league/tag configuration
|
|
554
|
-
*
|
|
555
253
|
* @generated from message streamlayer.polymarket.ListMarketsBySportRequest
|
|
556
254
|
*/
|
|
557
255
|
export declare type ListMarketsBySportRequest = Message<"streamlayer.polymarket.ListMarketsBySportRequest"> & {
|
|
558
256
|
/**
|
|
559
|
-
* Sport identifier, e.g. "soccer", "nfl"
|
|
560
|
-
*
|
|
561
257
|
* @generated from field: string sport = 1;
|
|
562
258
|
*/
|
|
563
259
|
sport: string;
|
|
564
260
|
|
|
565
261
|
/**
|
|
566
|
-
* Optional sports market type filter
|
|
567
|
-
*
|
|
568
262
|
* @generated from field: optional string market_type = 2;
|
|
569
263
|
*/
|
|
570
264
|
marketType?: string;
|
|
571
265
|
|
|
572
266
|
/**
|
|
573
|
-
* Optional Polymarket Gamma tag identifier
|
|
574
|
-
*
|
|
575
267
|
* @generated from field: optional string tag_id = 3;
|
|
576
268
|
*/
|
|
577
269
|
tagId?: string;
|
|
578
270
|
|
|
579
271
|
/**
|
|
580
|
-
* Page size, default decided on server
|
|
581
|
-
*
|
|
582
272
|
* @generated from field: uint32 limit = 10;
|
|
583
273
|
*/
|
|
584
274
|
limit: number;
|
|
585
275
|
|
|
586
276
|
/**
|
|
587
|
-
* Pagination token from previous response
|
|
588
|
-
*
|
|
589
277
|
* @generated from field: optional string page_token = 11;
|
|
590
278
|
*/
|
|
591
279
|
pageToken?: string;
|
|
592
280
|
|
|
593
281
|
/**
|
|
594
|
-
* If true, return only open markets
|
|
595
|
-
*
|
|
596
282
|
* @generated from field: bool only_open = 20;
|
|
597
283
|
*/
|
|
598
284
|
onlyOpen: boolean;
|
|
@@ -609,15 +295,11 @@ export declare const ListMarketsBySportRequestSchema: GenMessage<ListMarketsBySp
|
|
|
609
295
|
*/
|
|
610
296
|
export declare type ListMarketsBySportResponse = Message<"streamlayer.polymarket.ListMarketsBySportResponse"> & {
|
|
611
297
|
/**
|
|
612
|
-
* List of markets for the given sport
|
|
613
|
-
*
|
|
614
298
|
* @generated from field: repeated streamlayer.polymarket.SportsMarketSummary markets = 1;
|
|
615
299
|
*/
|
|
616
300
|
markets: SportsMarketSummary[];
|
|
617
301
|
|
|
618
302
|
/**
|
|
619
|
-
* Pagination token for the next page
|
|
620
|
-
*
|
|
621
303
|
* @generated from field: optional string next_page_token = 2;
|
|
622
304
|
*/
|
|
623
305
|
nextPageToken?: string;
|
|
@@ -630,72 +312,142 @@ export declare type ListMarketsBySportResponse = Message<"streamlayer.polymarket
|
|
|
630
312
|
export declare const ListMarketsBySportResponseSchema: GenMessage<ListMarketsBySportResponse>;
|
|
631
313
|
|
|
632
314
|
/**
|
|
633
|
-
*
|
|
315
|
+
* Event-level card for UI
|
|
634
316
|
*
|
|
635
|
-
* @generated from message streamlayer.polymarket.
|
|
317
|
+
* @generated from message streamlayer.polymarket.EventWithSeries
|
|
636
318
|
*/
|
|
637
|
-
export declare type
|
|
319
|
+
export declare type EventWithSeries = Message<"streamlayer.polymarket.EventWithSeries"> & {
|
|
638
320
|
/**
|
|
639
|
-
*
|
|
321
|
+
* StreamLayer event id (from our mapping)
|
|
640
322
|
*
|
|
641
|
-
* @generated from field:
|
|
323
|
+
* @generated from field: uint64 event_id = 1;
|
|
642
324
|
*/
|
|
643
|
-
|
|
325
|
+
eventId: bigint;
|
|
644
326
|
|
|
645
327
|
/**
|
|
646
|
-
*
|
|
328
|
+
* Gamma event slug (e.g. "epl-liv-new-2026-01-31")
|
|
647
329
|
*
|
|
648
|
-
* @generated from field:
|
|
330
|
+
* @generated from field: string event_slug = 2;
|
|
649
331
|
*/
|
|
650
|
-
|
|
651
|
-
};
|
|
332
|
+
eventSlug: string;
|
|
652
333
|
|
|
653
|
-
/**
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
334
|
+
/**
|
|
335
|
+
* Optional gamma event id for debugging
|
|
336
|
+
*
|
|
337
|
+
* @generated from field: optional uint64 gamma_event_id = 3;
|
|
338
|
+
*/
|
|
339
|
+
gammaEventId?: bigint;
|
|
658
340
|
|
|
659
|
-
/**
|
|
660
|
-
* Get full market card with time series data
|
|
661
|
-
*
|
|
662
|
-
* @generated from message streamlayer.polymarket.GetMarketWithSeriesRequest
|
|
663
|
-
*/
|
|
664
|
-
export declare type GetMarketWithSeriesRequest = Message<"streamlayer.polymarket.GetMarketWithSeriesRequest"> & {
|
|
665
341
|
/**
|
|
666
|
-
*
|
|
342
|
+
* UI info
|
|
667
343
|
*
|
|
668
|
-
* @generated from field: string
|
|
344
|
+
* @generated from field: string title = 10;
|
|
669
345
|
*/
|
|
670
|
-
|
|
346
|
+
title: string;
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* @generated from field: optional string description = 11;
|
|
350
|
+
*/
|
|
351
|
+
description?: string;
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* @generated from field: optional string resolution_source = 12;
|
|
355
|
+
*/
|
|
356
|
+
resolutionSource?: string;
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* ISO
|
|
360
|
+
*
|
|
361
|
+
* @generated from field: string start_time = 20;
|
|
362
|
+
*/
|
|
363
|
+
startTime: string;
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* ISO
|
|
367
|
+
*
|
|
368
|
+
* @generated from field: string end_time = 21;
|
|
369
|
+
*/
|
|
370
|
+
endTime: string;
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* @generated from field: optional string hero_image_url = 30;
|
|
374
|
+
*/
|
|
375
|
+
heroImageUrl?: string;
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* @generated from field: optional string icon_url = 31;
|
|
379
|
+
*/
|
|
380
|
+
iconUrl?: string;
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* "Polymarket"
|
|
384
|
+
*
|
|
385
|
+
* @generated from field: optional string partner_badge = 32;
|
|
386
|
+
*/
|
|
387
|
+
partnerBadge?: string;
|
|
671
388
|
|
|
672
389
|
/**
|
|
673
|
-
*
|
|
390
|
+
* Aggregated event metrics (Gamma-level)
|
|
674
391
|
*
|
|
675
|
-
* @generated from field: optional
|
|
392
|
+
* @generated from field: optional double volume = 40;
|
|
676
393
|
*/
|
|
677
|
-
|
|
394
|
+
volume?: number;
|
|
678
395
|
|
|
679
396
|
/**
|
|
680
|
-
*
|
|
397
|
+
* @generated from field: optional double liquidity = 41;
|
|
398
|
+
*/
|
|
399
|
+
liquidity?: number;
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* Current probabilities for outcomes shown in UI
|
|
681
403
|
*
|
|
682
|
-
* @generated from field:
|
|
404
|
+
* @generated from field: repeated streamlayer.polymarket.OutcomeSnapshot outcomes = 50;
|
|
683
405
|
*/
|
|
684
|
-
|
|
406
|
+
outcomes: OutcomeSnapshot[];
|
|
685
407
|
|
|
686
408
|
/**
|
|
687
|
-
*
|
|
409
|
+
* Series for the selected timeframe only
|
|
688
410
|
*
|
|
689
|
-
* @generated from field: streamlayer.polymarket.
|
|
411
|
+
* @generated from field: repeated streamlayer.polymarket.OutcomeSeries outcome_series = 60;
|
|
690
412
|
*/
|
|
691
|
-
|
|
413
|
+
outcomeSeries: OutcomeSeries[];
|
|
692
414
|
|
|
693
415
|
/**
|
|
694
|
-
*
|
|
416
|
+
* Raw, flattened metadata for debugging/extensibility
|
|
695
417
|
*
|
|
696
|
-
* @generated from field:
|
|
418
|
+
* @generated from field: map<string, string> raw_metadata = 70;
|
|
419
|
+
*/
|
|
420
|
+
rawMetadata: { [key: string]: string };
|
|
421
|
+
};
|
|
422
|
+
|
|
423
|
+
/**
|
|
424
|
+
* Describes the message streamlayer.polymarket.EventWithSeries.
|
|
425
|
+
* Use `create(EventWithSeriesSchema)` to create a new message.
|
|
426
|
+
*/
|
|
427
|
+
export declare const EventWithSeriesSchema: GenMessage<EventWithSeries>;
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* @generated from message streamlayer.polymarket.GetMarketWithSeriesRequest
|
|
431
|
+
*/
|
|
432
|
+
export declare type GetMarketWithSeriesRequest = Message<"streamlayer.polymarket.GetMarketWithSeriesRequest"> & {
|
|
433
|
+
/**
|
|
434
|
+
* @generated from field: optional uint64 event_id = 1;
|
|
697
435
|
*/
|
|
698
436
|
eventId?: bigint;
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* @generated from field: optional string event_slug = 2;
|
|
440
|
+
*/
|
|
441
|
+
eventSlug?: string;
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* SDK selects timeframe, grpc-proxy maps to CLOB (interval,fidelity)
|
|
445
|
+
*
|
|
446
|
+
* default TIMEFRAME_1H
|
|
447
|
+
*
|
|
448
|
+
* @generated from field: optional streamlayer.polymarket.Timeframe timeframe = 3;
|
|
449
|
+
*/
|
|
450
|
+
timeframe?: Timeframe;
|
|
699
451
|
};
|
|
700
452
|
|
|
701
453
|
/**
|
|
@@ -709,11 +461,9 @@ export declare const GetMarketWithSeriesRequestSchema: GenMessage<GetMarketWithS
|
|
|
709
461
|
*/
|
|
710
462
|
export declare type GetMarketWithSeriesResponse = Message<"streamlayer.polymarket.GetMarketWithSeriesResponse"> & {
|
|
711
463
|
/**
|
|
712
|
-
*
|
|
713
|
-
*
|
|
714
|
-
* @generated from field: streamlayer.polymarket.MarketWithSeries market = 1;
|
|
464
|
+
* @generated from field: streamlayer.polymarket.EventWithSeries event = 1;
|
|
715
465
|
*/
|
|
716
|
-
|
|
466
|
+
event?: EventWithSeries;
|
|
717
467
|
};
|
|
718
468
|
|
|
719
469
|
/**
|
|
@@ -748,8 +498,6 @@ export enum SportType {
|
|
|
748
498
|
export declare const SportTypeSchema: GenEnum<SportType>;
|
|
749
499
|
|
|
750
500
|
/**
|
|
751
|
-
* Polymarket Timeframes
|
|
752
|
-
*
|
|
753
501
|
* @generated from enum streamlayer.polymarket.Timeframe
|
|
754
502
|
*/
|
|
755
503
|
export enum Timeframe {
|
|
@@ -759,36 +507,33 @@ export enum Timeframe {
|
|
|
759
507
|
TIMEFRAME_UNSET = 0,
|
|
760
508
|
|
|
761
509
|
/**
|
|
762
|
-
*
|
|
510
|
+
* CLOB timeseries mapping (server-side):
|
|
511
|
+
* - 1H -> interval=1h, fidelity=1
|
|
512
|
+
* - 6H -> interval=6h, fidelity=5
|
|
513
|
+
* - 1D -> interval=1d, fidelity=60
|
|
514
|
+
* - 1W -> interval=1w, fidelity=240
|
|
515
|
+
* - ALL -> interval=max, fidelity=1440
|
|
763
516
|
*
|
|
764
517
|
* @generated from enum value: TIMEFRAME_1H = 1;
|
|
765
518
|
*/
|
|
766
519
|
TIMEFRAME_1H = 1,
|
|
767
520
|
|
|
768
521
|
/**
|
|
769
|
-
* 6 hours, preset "6H"
|
|
770
|
-
*
|
|
771
522
|
* @generated from enum value: TIMEFRAME_6H = 2;
|
|
772
523
|
*/
|
|
773
524
|
TIMEFRAME_6H = 2,
|
|
774
525
|
|
|
775
526
|
/**
|
|
776
|
-
* 1 day, preset "1D"
|
|
777
|
-
*
|
|
778
527
|
* @generated from enum value: TIMEFRAME_1D = 3;
|
|
779
528
|
*/
|
|
780
529
|
TIMEFRAME_1D = 3,
|
|
781
530
|
|
|
782
531
|
/**
|
|
783
|
-
*
|
|
784
|
-
*
|
|
785
|
-
* @generated from enum value: TIMEFRAME_1M = 4;
|
|
532
|
+
* @generated from enum value: TIMEFRAME_1W = 4;
|
|
786
533
|
*/
|
|
787
|
-
|
|
534
|
+
TIMEFRAME_1W = 4,
|
|
788
535
|
|
|
789
536
|
/**
|
|
790
|
-
* All available history, preset "ALL"
|
|
791
|
-
*
|
|
792
537
|
* @generated from enum value: TIMEFRAME_ALL = 5;
|
|
793
538
|
*/
|
|
794
539
|
TIMEFRAME_ALL = 5,
|
|
@@ -9,7 +9,7 @@ import { file_streamlayer_common_streamlayer_common } from "../common/streamlaye
|
|
|
9
9
|
* Describes the file streamlayer/polymarket/sportsClient.proto.
|
|
10
10
|
*/
|
|
11
11
|
export const file_streamlayer_polymarket_sportsClient = /*@__PURE__*/
|
|
12
|
-
fileDesc("
|
|
12
|
+
fileDesc("CilzdHJlYW1sYXllci9wb2x5bWFya2V0L3Nwb3J0c0NsaWVudC5wcm90bxIWc3RyZWFtbGF5ZXIucG9seW1hcmtldCLCAQoFU3BvcnQSCgoCaWQYASABKAkSDAoEbmFtZRgCIAEoCRIvCgR0eXBlGAMgASgOMiEuc3RyZWFtbGF5ZXIucG9seW1hcmtldC5TcG9ydFR5cGUSPQoIbWV0YWRhdGEYCiADKAsyKy5zdHJlYW1sYXllci5wb2x5bWFya2V0LlNwb3J0Lk1ldGFkYXRhRW50cnkaLwoNTWV0YWRhdGFFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIk4KD091dGNvbWVTbmFwc2hvdBINCgVsYWJlbBgBIAEoCRITCgtwcm9iYWJpbGl0eRgCIAEoARIXCg9wcm9iYWJpbGl0eV9wY3QYAyABKAEiIgoKUHJpY2VQb2ludBIJCgF0G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2x5bWFya2V0Lkxpc3RTcG9ydHNSZXF1ZXN0Giouc3RyZWFtbGF5ZXIucG9seW1hcmtldC5MaXN0U3BvcnRzUmVzcG9uc2UiFoqmHQpsaXN0U3BvcnRzoKYdAqimHQISmwEKEkxpc3RNYXJrZXRzQnlTcG9ydBIxLnN0cmVhbWxheWVyLnBvbHltYXJrZXQuTGlzdE1hcmtldHNCeVNwb3J0UmVxdWVzdBoyLnN0cmVhbWxheWVyLnBvbHltYXJrZXQuTGlzdE1hcmtldHNCeVNwb3J0UmVzcG9uc2UiHoqmHRJsaXN0TWFya2V0c0J5U3BvcnSgph0CqKYdAhKfAQoTR2V0TWFya2V0V2l0aFNlcmllcxIyLnN0cmVhbWxheWVyLnBvbHltYXJrZXQuR2V0TWFya2V0V2l0aFNlcmllc1JlcXVlc3QaMy5zdHJlYW1sYXllci5wb2x5bWFya2V0LkdldE1hcmtldFdpdGhTZXJpZXNSZXNwb25zZSIfiqYdE2dldE1hcmtldFdpdGhTZXJpZXOgph0CqKYdAhoVirUYEXNwb3J0cy5wb2x5bWFya2V0QssBCidjb20uc3RyZWFtbGF5ZXIucG9seW1hcmtldC5zcG9ydHNDbGllbnRCJlN0cmVhbUxheWVyUG9seW1hcmtldFNwb3J0c0NsaWVudFByb3RvUAFabWdpdGh1Yi5jb20vc3RyZWFtbGF5ZXIvc2wtcHJvdG9maWxlcy8uYnVpbGQvZ28vc3RyZWFtbGF5ZXIvcG9seW1hcmtldC9zcG9ydHNDbGllbnQ7c2xfcG9seW1hcmtldF9zcG9ydHNDbGllbnSiAgZTTF9BUEliBnByb3RvMw", [file_streamlayer_common_streamlayer_common]);
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Describes the message streamlayer.polymarket.Sport.
|
|
@@ -46,82 +46,54 @@ export const OutcomeSeriesSchema = /*@__PURE__*/
|
|
|
46
46
|
export const SportsMarketSummarySchema = /*@__PURE__*/
|
|
47
47
|
messageDesc(file_streamlayer_polymarket_sportsClient, 4);
|
|
48
48
|
|
|
49
|
-
/**
|
|
50
|
-
* Describes the message streamlayer.polymarket.ClobMetadata.
|
|
51
|
-
* Use `create(ClobMetadataSchema)` to create a new message.
|
|
52
|
-
*/
|
|
53
|
-
export const ClobMetadataSchema = /*@__PURE__*/
|
|
54
|
-
messageDesc(file_streamlayer_polymarket_sportsClient, 5);
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Describes the message streamlayer.polymarket.EnrichedOutcome.
|
|
58
|
-
* Use `create(EnrichedOutcomeSchema)` to create a new message.
|
|
59
|
-
*/
|
|
60
|
-
export const EnrichedOutcomeSchema = /*@__PURE__*/
|
|
61
|
-
messageDesc(file_streamlayer_polymarket_sportsClient, 6);
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* Describes the message streamlayer.polymarket.MarketWithSeries.
|
|
65
|
-
* Use `create(MarketWithSeriesSchema)` to create a new message.
|
|
66
|
-
*/
|
|
67
|
-
export const MarketWithSeriesSchema = /*@__PURE__*/
|
|
68
|
-
messageDesc(file_streamlayer_polymarket_sportsClient, 7);
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Describes the message streamlayer.polymarket.MarketWithSeries.TimeframeSeries.
|
|
72
|
-
* Use `create(MarketWithSeries_TimeframeSeriesSchema)` to create a new message.
|
|
73
|
-
*/
|
|
74
|
-
export const MarketWithSeries_TimeframeSeriesSchema = /*@__PURE__*/
|
|
75
|
-
messageDesc(file_streamlayer_polymarket_sportsClient, 7, 0);
|
|
76
|
-
|
|
77
49
|
/**
|
|
78
50
|
* Describes the message streamlayer.polymarket.ListSportsRequest.
|
|
79
51
|
* Use `create(ListSportsRequestSchema)` to create a new message.
|
|
80
52
|
*/
|
|
81
53
|
export const ListSportsRequestSchema = /*@__PURE__*/
|
|
82
|
-
messageDesc(file_streamlayer_polymarket_sportsClient,
|
|
54
|
+
messageDesc(file_streamlayer_polymarket_sportsClient, 5);
|
|
83
55
|
|
|
84
56
|
/**
|
|
85
57
|
* Describes the message streamlayer.polymarket.ListSportsResponse.
|
|
86
58
|
* Use `create(ListSportsResponseSchema)` to create a new message.
|
|
87
59
|
*/
|
|
88
60
|
export const ListSportsResponseSchema = /*@__PURE__*/
|
|
89
|
-
messageDesc(file_streamlayer_polymarket_sportsClient,
|
|
61
|
+
messageDesc(file_streamlayer_polymarket_sportsClient, 6);
|
|
90
62
|
|
|
91
63
|
/**
|
|
92
64
|
* Describes the message streamlayer.polymarket.ListMarketsBySportRequest.
|
|
93
65
|
* Use `create(ListMarketsBySportRequestSchema)` to create a new message.
|
|
94
66
|
*/
|
|
95
67
|
export const ListMarketsBySportRequestSchema = /*@__PURE__*/
|
|
96
|
-
messageDesc(file_streamlayer_polymarket_sportsClient,
|
|
68
|
+
messageDesc(file_streamlayer_polymarket_sportsClient, 7);
|
|
97
69
|
|
|
98
70
|
/**
|
|
99
71
|
* Describes the message streamlayer.polymarket.ListMarketsBySportResponse.
|
|
100
72
|
* Use `create(ListMarketsBySportResponseSchema)` to create a new message.
|
|
101
73
|
*/
|
|
102
74
|
export const ListMarketsBySportResponseSchema = /*@__PURE__*/
|
|
103
|
-
messageDesc(file_streamlayer_polymarket_sportsClient,
|
|
75
|
+
messageDesc(file_streamlayer_polymarket_sportsClient, 8);
|
|
104
76
|
|
|
105
77
|
/**
|
|
106
|
-
* Describes the message streamlayer.polymarket.
|
|
107
|
-
* Use `create(
|
|
78
|
+
* Describes the message streamlayer.polymarket.EventWithSeries.
|
|
79
|
+
* Use `create(EventWithSeriesSchema)` to create a new message.
|
|
108
80
|
*/
|
|
109
|
-
export const
|
|
110
|
-
messageDesc(file_streamlayer_polymarket_sportsClient,
|
|
81
|
+
export const EventWithSeriesSchema = /*@__PURE__*/
|
|
82
|
+
messageDesc(file_streamlayer_polymarket_sportsClient, 9);
|
|
111
83
|
|
|
112
84
|
/**
|
|
113
85
|
* Describes the message streamlayer.polymarket.GetMarketWithSeriesRequest.
|
|
114
86
|
* Use `create(GetMarketWithSeriesRequestSchema)` to create a new message.
|
|
115
87
|
*/
|
|
116
88
|
export const GetMarketWithSeriesRequestSchema = /*@__PURE__*/
|
|
117
|
-
messageDesc(file_streamlayer_polymarket_sportsClient,
|
|
89
|
+
messageDesc(file_streamlayer_polymarket_sportsClient, 10);
|
|
118
90
|
|
|
119
91
|
/**
|
|
120
92
|
* Describes the message streamlayer.polymarket.GetMarketWithSeriesResponse.
|
|
121
93
|
* Use `create(GetMarketWithSeriesResponseSchema)` to create a new message.
|
|
122
94
|
*/
|
|
123
95
|
export const GetMarketWithSeriesResponseSchema = /*@__PURE__*/
|
|
124
|
-
messageDesc(file_streamlayer_polymarket_sportsClient,
|
|
96
|
+
messageDesc(file_streamlayer_polymarket_sportsClient, 11);
|
|
125
97
|
|
|
126
98
|
/**
|
|
127
99
|
* Describes the enum streamlayer.polymarket.SportType.
|
|
@@ -142,8 +114,6 @@ export const TimeframeSchema = /*@__PURE__*/
|
|
|
142
114
|
enumDesc(file_streamlayer_polymarket_sportsClient, 1);
|
|
143
115
|
|
|
144
116
|
/**
|
|
145
|
-
* Polymarket Timeframes
|
|
146
|
-
*
|
|
147
117
|
* @generated from enum streamlayer.polymarket.Timeframe
|
|
148
118
|
*/
|
|
149
119
|
export const Timeframe = /*@__PURE__*/
|