@streamlayer/sl-eslib 5.218.1 → 5.219.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 +1 -1
- package/streamlayer/polymarket/sportsClient-PolymarketSportsClient_connectquery.d.ts +18 -0
- package/streamlayer/polymarket/sportsClient-PolymarketSportsClient_connectquery.js +20 -0
- package/streamlayer/polymarket/sportsClient_pb.d.ts +824 -0
- package/streamlayer/polymarket/sportsClient_pb.js +157 -0
package/package.json
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-query v2.0.1 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file streamlayer/polymarket/sportsClient.proto (package streamlayer.polymarket, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { PolymarketSportsClient } from "./sportsClient_pb";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* @generated from rpc streamlayer.polymarket.PolymarketSportsClient.ListSports
|
|
9
|
+
*/
|
|
10
|
+
export const listSports: typeof PolymarketSportsClient["method"]["listSports"];
|
|
11
|
+
/**
|
|
12
|
+
* @generated from rpc streamlayer.polymarket.PolymarketSportsClient.ListMarketsBySport
|
|
13
|
+
*/
|
|
14
|
+
export const listMarketsBySport: typeof PolymarketSportsClient["method"]["listMarketsBySport"];
|
|
15
|
+
/**
|
|
16
|
+
* @generated from rpc streamlayer.polymarket.PolymarketSportsClient.GetMarketWithSeries
|
|
17
|
+
*/
|
|
18
|
+
export const getMarketWithSeries: typeof PolymarketSportsClient["method"]["getMarketWithSeries"];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-query v2.0.1 with parameter "target=js+dts"
|
|
2
|
+
// @generated from file streamlayer/polymarket/sportsClient.proto (package streamlayer.polymarket, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { PolymarketSportsClient } from "./sportsClient_pb";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* @generated from rpc streamlayer.polymarket.PolymarketSportsClient.ListSports
|
|
9
|
+
*/
|
|
10
|
+
export const listSports = PolymarketSportsClient.method.listSports;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @generated from rpc streamlayer.polymarket.PolymarketSportsClient.ListMarketsBySport
|
|
14
|
+
*/
|
|
15
|
+
export const listMarketsBySport = PolymarketSportsClient.method.listMarketsBySport;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* @generated from rpc streamlayer.polymarket.PolymarketSportsClient.GetMarketWithSeries
|
|
19
|
+
*/
|
|
20
|
+
export const getMarketWithSeries = PolymarketSportsClient.method.getMarketWithSeries;
|
|
@@ -0,0 +1,824 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file streamlayer/polymarket/sportsClient.proto (package streamlayer.polymarket, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file streamlayer/polymarket/sportsClient.proto.
|
|
10
|
+
*/
|
|
11
|
+
export declare const file_streamlayer_polymarket_sportsClient: GenFile;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* @generated from message streamlayer.polymarket.Sport
|
|
15
|
+
*/
|
|
16
|
+
export declare type Sport = Message<"streamlayer.polymarket.Sport"> & {
|
|
17
|
+
/**
|
|
18
|
+
* Stable identifier used in API and filters, e.g. "soccer", "nfl"
|
|
19
|
+
*
|
|
20
|
+
* @generated from field: string id = 1;
|
|
21
|
+
*/
|
|
22
|
+
id: string;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Human readable name, e.g. "Soccer", "NFL"
|
|
26
|
+
*
|
|
27
|
+
* @generated from field: string name = 2;
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Normalized sport type
|
|
33
|
+
*
|
|
34
|
+
* @generated from field: streamlayer.polymarket.SportType type = 3;
|
|
35
|
+
*/
|
|
36
|
+
type: SportType;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Optional extra data, e.g. icon URL, color
|
|
40
|
+
*
|
|
41
|
+
* @generated from field: map<string, string> metadata = 10;
|
|
42
|
+
*/
|
|
43
|
+
metadata: { [key: string]: string };
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Describes the message streamlayer.polymarket.Sport.
|
|
48
|
+
* Use `create(SportSchema)` to create a new message.
|
|
49
|
+
*/
|
|
50
|
+
export declare const SportSchema: GenMessage<Sport>;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* @generated from message streamlayer.polymarket.OutcomeSnapshot
|
|
54
|
+
*/
|
|
55
|
+
export declare type OutcomeSnapshot = Message<"streamlayer.polymarket.OutcomeSnapshot"> & {
|
|
56
|
+
/**
|
|
57
|
+
* Outcome label, e.g. "Yes", "No" or team name
|
|
58
|
+
*
|
|
59
|
+
* @generated from field: string label = 1;
|
|
60
|
+
*/
|
|
61
|
+
label: string;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Probability in [0,1]
|
|
65
|
+
*
|
|
66
|
+
* @generated from field: double probability = 2;
|
|
67
|
+
*/
|
|
68
|
+
probability: number;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Probability in [0,100]
|
|
72
|
+
*
|
|
73
|
+
* @generated from field: double probability_pct = 3;
|
|
74
|
+
*/
|
|
75
|
+
probabilityPct: number;
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Describes the message streamlayer.polymarket.OutcomeSnapshot.
|
|
80
|
+
* Use `create(OutcomeSnapshotSchema)` to create a new message.
|
|
81
|
+
*/
|
|
82
|
+
export declare const OutcomeSnapshotSchema: GenMessage<OutcomeSnapshot>;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* @generated from message streamlayer.polymarket.PricePoint
|
|
86
|
+
*/
|
|
87
|
+
export declare type PricePoint = Message<"streamlayer.polymarket.PricePoint"> & {
|
|
88
|
+
/**
|
|
89
|
+
* ISO timestamp
|
|
90
|
+
*
|
|
91
|
+
* @generated from field: string t = 1;
|
|
92
|
+
*/
|
|
93
|
+
t: string;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Price in [0,1]
|
|
97
|
+
*
|
|
98
|
+
* @generated from field: double price = 2;
|
|
99
|
+
*/
|
|
100
|
+
price: number;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Optional size/volume at this point
|
|
104
|
+
*
|
|
105
|
+
* @generated from field: optional double size = 3;
|
|
106
|
+
*/
|
|
107
|
+
size?: number;
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Describes the message streamlayer.polymarket.PricePoint.
|
|
112
|
+
* Use `create(PricePointSchema)` to create a new message.
|
|
113
|
+
*/
|
|
114
|
+
export declare const PricePointSchema: GenMessage<PricePoint>;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* @generated from message streamlayer.polymarket.OutcomeSeries
|
|
118
|
+
*/
|
|
119
|
+
export declare type OutcomeSeries = Message<"streamlayer.polymarket.OutcomeSeries"> & {
|
|
120
|
+
/**
|
|
121
|
+
* Outcome label, same as in OutcomeSnapshot
|
|
122
|
+
*
|
|
123
|
+
* @generated from field: string label = 1;
|
|
124
|
+
*/
|
|
125
|
+
label: string;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Time series points for this outcome
|
|
129
|
+
*
|
|
130
|
+
* @generated from field: repeated streamlayer.polymarket.PricePoint points = 2;
|
|
131
|
+
*/
|
|
132
|
+
points: PricePoint[];
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Describes the message streamlayer.polymarket.OutcomeSeries.
|
|
137
|
+
* Use `create(OutcomeSeriesSchema)` to create a new message.
|
|
138
|
+
*/
|
|
139
|
+
export declare const OutcomeSeriesSchema: GenMessage<OutcomeSeries>;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Simplified market snapshot for listing views
|
|
143
|
+
*
|
|
144
|
+
* @generated from message streamlayer.polymarket.SportsMarketSummary
|
|
145
|
+
*/
|
|
146
|
+
export declare type SportsMarketSummary = Message<"streamlayer.polymarket.SportsMarketSummary"> & {
|
|
147
|
+
/**
|
|
148
|
+
* Full Polymarket symbol, e.g. "aec-nfl-buf-nyj-2025-01-15"
|
|
149
|
+
*
|
|
150
|
+
* @generated from field: string symbol = 1;
|
|
151
|
+
*/
|
|
152
|
+
symbol: string;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Slug used in REST, e.g. "will-italy-qualify-for-the-2026-fifa-world-cup"
|
|
156
|
+
*
|
|
157
|
+
* @generated from field: string slug = 2;
|
|
158
|
+
*/
|
|
159
|
+
slug: string;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Market title/question for UI
|
|
163
|
+
*
|
|
164
|
+
* @generated from field: string title = 3;
|
|
165
|
+
*/
|
|
166
|
+
title: string;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Market subtitle or event date label
|
|
170
|
+
*
|
|
171
|
+
* @generated from field: optional string subtitle = 4;
|
|
172
|
+
*/
|
|
173
|
+
subtitle?: string;
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* League identifier, e.g. "nfl", "soccer"
|
|
177
|
+
*
|
|
178
|
+
* @generated from field: string league = 5;
|
|
179
|
+
*/
|
|
180
|
+
league: string;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Event series, mapped from eventSeries / event_series
|
|
184
|
+
*
|
|
185
|
+
* @generated from field: optional string event_series = 6;
|
|
186
|
+
*/
|
|
187
|
+
eventSeries?: string;
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Market category, e.g. "moneyline", "spread"
|
|
191
|
+
*
|
|
192
|
+
* @generated from field: optional string market_category = 7;
|
|
193
|
+
*/
|
|
194
|
+
marketCategory?: string;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Long side team or participant name
|
|
198
|
+
*
|
|
199
|
+
* @generated from field: optional string long_team = 8;
|
|
200
|
+
*/
|
|
201
|
+
longTeam?: string;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Short side team or participant name
|
|
205
|
+
*
|
|
206
|
+
* @generated from field: optional string short_team = 9;
|
|
207
|
+
*/
|
|
208
|
+
shortTeam?: string;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Outcome type, e.g. "moneyline"
|
|
212
|
+
*
|
|
213
|
+
* @generated from field: optional string outcome_type = 10;
|
|
214
|
+
*/
|
|
215
|
+
outcomeType?: string;
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Instrument state, e.g. "INSTRUMENT_STATE_OPEN"
|
|
219
|
+
*
|
|
220
|
+
* @generated from field: string state = 11;
|
|
221
|
+
*/
|
|
222
|
+
state: string;
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Event start time in ISO format
|
|
226
|
+
*
|
|
227
|
+
* @generated from field: string event_start_time = 12;
|
|
228
|
+
*/
|
|
229
|
+
eventStartTime: string;
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* Event end/settlement time in ISO format
|
|
233
|
+
*
|
|
234
|
+
* @generated from field: string event_end_time = 13;
|
|
235
|
+
*/
|
|
236
|
+
eventEndTime: string;
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Total trading volume (null if not available)
|
|
240
|
+
*
|
|
241
|
+
* @generated from field: optional double volume = 20;
|
|
242
|
+
*/
|
|
243
|
+
volume?: number;
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* Current market liquidity (null if not available)
|
|
247
|
+
*
|
|
248
|
+
* @generated from field: optional double liquidity = 21;
|
|
249
|
+
*/
|
|
250
|
+
liquidity?: number;
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* Current outcome probabilities
|
|
254
|
+
*
|
|
255
|
+
* @generated from field: repeated streamlayer.polymarket.OutcomeSnapshot outcomes = 30;
|
|
256
|
+
*/
|
|
257
|
+
outcomes: OutcomeSnapshot[];
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Raw Polymarket metadata (flattened key-value)
|
|
261
|
+
*
|
|
262
|
+
* @generated from field: map<string, string> raw_metadata = 40;
|
|
263
|
+
*/
|
|
264
|
+
rawMetadata: { [key: string]: string };
|
|
265
|
+
};
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* Describes the message streamlayer.polymarket.SportsMarketSummary.
|
|
269
|
+
* Use `create(SportsMarketSummarySchema)` to create a new message.
|
|
270
|
+
*/
|
|
271
|
+
export declare const SportsMarketSummarySchema: GenMessage<SportsMarketSummary>;
|
|
272
|
+
|
|
273
|
+
/**
|
|
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
|
+
* @generated from message streamlayer.polymarket.ListSportsRequest
|
|
523
|
+
*/
|
|
524
|
+
export declare type ListSportsRequest = Message<"streamlayer.polymarket.ListSportsRequest"> & {
|
|
525
|
+
};
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* Describes the message streamlayer.polymarket.ListSportsRequest.
|
|
529
|
+
* Use `create(ListSportsRequestSchema)` to create a new message.
|
|
530
|
+
*/
|
|
531
|
+
export declare const ListSportsRequestSchema: GenMessage<ListSportsRequest>;
|
|
532
|
+
|
|
533
|
+
/**
|
|
534
|
+
* @generated from message streamlayer.polymarket.ListSportsResponse
|
|
535
|
+
*/
|
|
536
|
+
export declare type ListSportsResponse = Message<"streamlayer.polymarket.ListSportsResponse"> & {
|
|
537
|
+
/**
|
|
538
|
+
* List of supported sports
|
|
539
|
+
*
|
|
540
|
+
* @generated from field: repeated streamlayer.polymarket.Sport sports = 1;
|
|
541
|
+
*/
|
|
542
|
+
sports: Sport[];
|
|
543
|
+
};
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* Describes the message streamlayer.polymarket.ListSportsResponse.
|
|
547
|
+
* Use `create(ListSportsResponseSchema)` to create a new message.
|
|
548
|
+
*/
|
|
549
|
+
export declare const ListSportsResponseSchema: GenMessage<ListSportsResponse>;
|
|
550
|
+
|
|
551
|
+
/**
|
|
552
|
+
* List markets by sport or tag.
|
|
553
|
+
* For simplicity we use a single sport identifier matching Polymarket league/tag configuration
|
|
554
|
+
*
|
|
555
|
+
* @generated from message streamlayer.polymarket.ListMarketsBySportRequest
|
|
556
|
+
*/
|
|
557
|
+
export declare type ListMarketsBySportRequest = Message<"streamlayer.polymarket.ListMarketsBySportRequest"> & {
|
|
558
|
+
/**
|
|
559
|
+
* Sport identifier, e.g. "soccer", "nfl"
|
|
560
|
+
*
|
|
561
|
+
* @generated from field: string sport = 1;
|
|
562
|
+
*/
|
|
563
|
+
sport: string;
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* Optional sports market type filter
|
|
567
|
+
*
|
|
568
|
+
* @generated from field: optional string market_type = 2;
|
|
569
|
+
*/
|
|
570
|
+
marketType?: string;
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* Optional Polymarket Gamma tag identifier
|
|
574
|
+
*
|
|
575
|
+
* @generated from field: optional string tag_id = 3;
|
|
576
|
+
*/
|
|
577
|
+
tagId?: string;
|
|
578
|
+
|
|
579
|
+
/**
|
|
580
|
+
* Page size, default decided on server
|
|
581
|
+
*
|
|
582
|
+
* @generated from field: uint32 limit = 10;
|
|
583
|
+
*/
|
|
584
|
+
limit: number;
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* Pagination token from previous response
|
|
588
|
+
*
|
|
589
|
+
* @generated from field: optional string page_token = 11;
|
|
590
|
+
*/
|
|
591
|
+
pageToken?: string;
|
|
592
|
+
|
|
593
|
+
/**
|
|
594
|
+
* If true, return only open markets
|
|
595
|
+
*
|
|
596
|
+
* @generated from field: bool only_open = 20;
|
|
597
|
+
*/
|
|
598
|
+
onlyOpen: boolean;
|
|
599
|
+
};
|
|
600
|
+
|
|
601
|
+
/**
|
|
602
|
+
* Describes the message streamlayer.polymarket.ListMarketsBySportRequest.
|
|
603
|
+
* Use `create(ListMarketsBySportRequestSchema)` to create a new message.
|
|
604
|
+
*/
|
|
605
|
+
export declare const ListMarketsBySportRequestSchema: GenMessage<ListMarketsBySportRequest>;
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* @generated from message streamlayer.polymarket.ListMarketsBySportResponse
|
|
609
|
+
*/
|
|
610
|
+
export declare type ListMarketsBySportResponse = Message<"streamlayer.polymarket.ListMarketsBySportResponse"> & {
|
|
611
|
+
/**
|
|
612
|
+
* List of markets for the given sport
|
|
613
|
+
*
|
|
614
|
+
* @generated from field: repeated streamlayer.polymarket.SportsMarketSummary markets = 1;
|
|
615
|
+
*/
|
|
616
|
+
markets: SportsMarketSummary[];
|
|
617
|
+
|
|
618
|
+
/**
|
|
619
|
+
* Pagination token for the next page
|
|
620
|
+
*
|
|
621
|
+
* @generated from field: optional string next_page_token = 2;
|
|
622
|
+
*/
|
|
623
|
+
nextPageToken?: string;
|
|
624
|
+
};
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* Describes the message streamlayer.polymarket.ListMarketsBySportResponse.
|
|
628
|
+
* Use `create(ListMarketsBySportResponseSchema)` to create a new message.
|
|
629
|
+
*/
|
|
630
|
+
export declare const ListMarketsBySportResponseSchema: GenMessage<ListMarketsBySportResponse>;
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* Time series request for market outcome charts
|
|
634
|
+
*
|
|
635
|
+
* @generated from message streamlayer.polymarket.TimeSeriesRequest
|
|
636
|
+
*/
|
|
637
|
+
export declare type TimeSeriesRequest = Message<"streamlayer.polymarket.TimeSeriesRequest"> & {
|
|
638
|
+
/**
|
|
639
|
+
* Requested timeframes for charts
|
|
640
|
+
*
|
|
641
|
+
* @generated from field: repeated streamlayer.polymarket.Timeframe timeframes = 1;
|
|
642
|
+
*/
|
|
643
|
+
timeframes: Timeframe[];
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* Maximum number of points per outcome series after bucketing
|
|
647
|
+
*
|
|
648
|
+
* @generated from field: optional uint32 max_points_per_series = 2;
|
|
649
|
+
*/
|
|
650
|
+
maxPointsPerSeries?: number;
|
|
651
|
+
};
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* Describes the message streamlayer.polymarket.TimeSeriesRequest.
|
|
655
|
+
* Use `create(TimeSeriesRequestSchema)` to create a new message.
|
|
656
|
+
*/
|
|
657
|
+
export declare const TimeSeriesRequestSchema: GenMessage<TimeSeriesRequest>;
|
|
658
|
+
|
|
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
|
+
/**
|
|
666
|
+
* Primary identifier, Polymarket slug
|
|
667
|
+
*
|
|
668
|
+
* @generated from field: string slug = 1;
|
|
669
|
+
*/
|
|
670
|
+
slug: string;
|
|
671
|
+
|
|
672
|
+
/**
|
|
673
|
+
* Optional symbol if already known
|
|
674
|
+
*
|
|
675
|
+
* @generated from field: optional string symbol = 2;
|
|
676
|
+
*/
|
|
677
|
+
symbol?: string;
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* Additional CLOB parameters, e.g. depth
|
|
681
|
+
*
|
|
682
|
+
* @generated from field: map<string, string> clob_params = 3;
|
|
683
|
+
*/
|
|
684
|
+
clobParams: { [key: string]: string };
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* Time series configuration
|
|
688
|
+
*
|
|
689
|
+
* @generated from field: streamlayer.polymarket.TimeSeriesRequest series = 4;
|
|
690
|
+
*/
|
|
691
|
+
series?: TimeSeriesRequest;
|
|
692
|
+
};
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* Describes the message streamlayer.polymarket.GetMarketWithSeriesRequest.
|
|
696
|
+
* Use `create(GetMarketWithSeriesRequestSchema)` to create a new message.
|
|
697
|
+
*/
|
|
698
|
+
export declare const GetMarketWithSeriesRequestSchema: GenMessage<GetMarketWithSeriesRequest>;
|
|
699
|
+
|
|
700
|
+
/**
|
|
701
|
+
* @generated from message streamlayer.polymarket.GetMarketWithSeriesResponse
|
|
702
|
+
*/
|
|
703
|
+
export declare type GetMarketWithSeriesResponse = Message<"streamlayer.polymarket.GetMarketWithSeriesResponse"> & {
|
|
704
|
+
/**
|
|
705
|
+
* Full market card payload
|
|
706
|
+
*
|
|
707
|
+
* @generated from field: streamlayer.polymarket.MarketWithSeries market = 1;
|
|
708
|
+
*/
|
|
709
|
+
market?: MarketWithSeries;
|
|
710
|
+
};
|
|
711
|
+
|
|
712
|
+
/**
|
|
713
|
+
* Describes the message streamlayer.polymarket.GetMarketWithSeriesResponse.
|
|
714
|
+
* Use `create(GetMarketWithSeriesResponseSchema)` to create a new message.
|
|
715
|
+
*/
|
|
716
|
+
export declare const GetMarketWithSeriesResponseSchema: GenMessage<GetMarketWithSeriesResponse>;
|
|
717
|
+
|
|
718
|
+
/**
|
|
719
|
+
* @generated from enum streamlayer.polymarket.SportType
|
|
720
|
+
*/
|
|
721
|
+
export enum SportType {
|
|
722
|
+
/**
|
|
723
|
+
* @generated from enum value: SPORT_TYPE_UNSET = 0;
|
|
724
|
+
*/
|
|
725
|
+
UNSET = 0,
|
|
726
|
+
|
|
727
|
+
/**
|
|
728
|
+
* @generated from enum value: SPORT_TYPE_SOCCER = 1;
|
|
729
|
+
*/
|
|
730
|
+
SOCCER = 1,
|
|
731
|
+
|
|
732
|
+
/**
|
|
733
|
+
* @generated from enum value: SPORT_TYPE_NFL = 2;
|
|
734
|
+
*/
|
|
735
|
+
NFL = 2,
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
/**
|
|
739
|
+
* Describes the enum streamlayer.polymarket.SportType.
|
|
740
|
+
*/
|
|
741
|
+
export declare const SportTypeSchema: GenEnum<SportType>;
|
|
742
|
+
|
|
743
|
+
/**
|
|
744
|
+
* Polymarket Timeframes
|
|
745
|
+
*
|
|
746
|
+
* @generated from enum streamlayer.polymarket.Timeframe
|
|
747
|
+
*/
|
|
748
|
+
export enum Timeframe {
|
|
749
|
+
/**
|
|
750
|
+
* @generated from enum value: TIMEFRAME_UNSET = 0;
|
|
751
|
+
*/
|
|
752
|
+
TIMEFRAME_UNSET = 0,
|
|
753
|
+
|
|
754
|
+
/**
|
|
755
|
+
* 1 hour, preset "1H"
|
|
756
|
+
*
|
|
757
|
+
* @generated from enum value: TIMEFRAME_1H = 1;
|
|
758
|
+
*/
|
|
759
|
+
TIMEFRAME_1H = 1,
|
|
760
|
+
|
|
761
|
+
/**
|
|
762
|
+
* 6 hours, preset "6H"
|
|
763
|
+
*
|
|
764
|
+
* @generated from enum value: TIMEFRAME_6H = 2;
|
|
765
|
+
*/
|
|
766
|
+
TIMEFRAME_6H = 2,
|
|
767
|
+
|
|
768
|
+
/**
|
|
769
|
+
* 1 day, preset "1D"
|
|
770
|
+
*
|
|
771
|
+
* @generated from enum value: TIMEFRAME_1D = 3;
|
|
772
|
+
*/
|
|
773
|
+
TIMEFRAME_1D = 3,
|
|
774
|
+
|
|
775
|
+
/**
|
|
776
|
+
* 1 month, preset "1M"
|
|
777
|
+
*
|
|
778
|
+
* @generated from enum value: TIMEFRAME_1M = 4;
|
|
779
|
+
*/
|
|
780
|
+
TIMEFRAME_1M = 4,
|
|
781
|
+
|
|
782
|
+
/**
|
|
783
|
+
* All available history, preset "ALL"
|
|
784
|
+
*
|
|
785
|
+
* @generated from enum value: TIMEFRAME_ALL = 5;
|
|
786
|
+
*/
|
|
787
|
+
TIMEFRAME_ALL = 5,
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
/**
|
|
791
|
+
* Describes the enum streamlayer.polymarket.Timeframe.
|
|
792
|
+
*/
|
|
793
|
+
export declare const TimeframeSchema: GenEnum<Timeframe>;
|
|
794
|
+
|
|
795
|
+
/**
|
|
796
|
+
* @generated from service streamlayer.polymarket.PolymarketSportsClient
|
|
797
|
+
*/
|
|
798
|
+
export declare const PolymarketSportsClient: GenService<{
|
|
799
|
+
/**
|
|
800
|
+
* @generated from rpc streamlayer.polymarket.PolymarketSportsClient.ListSports
|
|
801
|
+
*/
|
|
802
|
+
listSports: {
|
|
803
|
+
methodKind: "unary";
|
|
804
|
+
input: typeof ListSportsRequestSchema;
|
|
805
|
+
output: typeof ListSportsResponseSchema;
|
|
806
|
+
},
|
|
807
|
+
/**
|
|
808
|
+
* @generated from rpc streamlayer.polymarket.PolymarketSportsClient.ListMarketsBySport
|
|
809
|
+
*/
|
|
810
|
+
listMarketsBySport: {
|
|
811
|
+
methodKind: "unary";
|
|
812
|
+
input: typeof ListMarketsBySportRequestSchema;
|
|
813
|
+
output: typeof ListMarketsBySportResponseSchema;
|
|
814
|
+
},
|
|
815
|
+
/**
|
|
816
|
+
* @generated from rpc streamlayer.polymarket.PolymarketSportsClient.GetMarketWithSeries
|
|
817
|
+
*/
|
|
818
|
+
getMarketWithSeries: {
|
|
819
|
+
methodKind: "unary";
|
|
820
|
+
input: typeof GetMarketWithSeriesRequestSchema;
|
|
821
|
+
output: typeof GetMarketWithSeriesResponseSchema;
|
|
822
|
+
},
|
|
823
|
+
}>;
|
|
824
|
+
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=js+dts,import_extension=js"
|
|
2
|
+
// @generated from file streamlayer/polymarket/sportsClient.proto (package streamlayer.polymarket, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc, tsEnum } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import { file_streamlayer_common_streamlayer_common } from "../common/streamlayer_common_pb.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file streamlayer/polymarket/sportsClient.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_streamlayer_polymarket_sportsClient = /*@__PURE__*/
|
|
12
|
+
fileDesc("CilzdHJlYW1sYXllci9wb2x5bWFya2V0L3Nwb3J0c0NsaWVudC5wcm90bxIWc3RyZWFtbGF5ZXIucG9seW1hcmtldCLCAQoFU3BvcnQSCgoCaWQYASABK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0NsaWVudKICBlNMX0FQSWIGcHJvdG8z", [file_streamlayer_common_streamlayer_common]);
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Describes the message streamlayer.polymarket.Sport.
|
|
16
|
+
* Use `create(SportSchema)` to create a new message.
|
|
17
|
+
*/
|
|
18
|
+
export const SportSchema = /*@__PURE__*/
|
|
19
|
+
messageDesc(file_streamlayer_polymarket_sportsClient, 0);
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message streamlayer.polymarket.OutcomeSnapshot.
|
|
23
|
+
* Use `create(OutcomeSnapshotSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export const OutcomeSnapshotSchema = /*@__PURE__*/
|
|
26
|
+
messageDesc(file_streamlayer_polymarket_sportsClient, 1);
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Describes the message streamlayer.polymarket.PricePoint.
|
|
30
|
+
* Use `create(PricePointSchema)` to create a new message.
|
|
31
|
+
*/
|
|
32
|
+
export const PricePointSchema = /*@__PURE__*/
|
|
33
|
+
messageDesc(file_streamlayer_polymarket_sportsClient, 2);
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Describes the message streamlayer.polymarket.OutcomeSeries.
|
|
37
|
+
* Use `create(OutcomeSeriesSchema)` to create a new message.
|
|
38
|
+
*/
|
|
39
|
+
export const OutcomeSeriesSchema = /*@__PURE__*/
|
|
40
|
+
messageDesc(file_streamlayer_polymarket_sportsClient, 3);
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Describes the message streamlayer.polymarket.SportsMarketSummary.
|
|
44
|
+
* Use `create(SportsMarketSummarySchema)` to create a new message.
|
|
45
|
+
*/
|
|
46
|
+
export const SportsMarketSummarySchema = /*@__PURE__*/
|
|
47
|
+
messageDesc(file_streamlayer_polymarket_sportsClient, 4);
|
|
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
|
+
/**
|
|
78
|
+
* Describes the message streamlayer.polymarket.ListSportsRequest.
|
|
79
|
+
* Use `create(ListSportsRequestSchema)` to create a new message.
|
|
80
|
+
*/
|
|
81
|
+
export const ListSportsRequestSchema = /*@__PURE__*/
|
|
82
|
+
messageDesc(file_streamlayer_polymarket_sportsClient, 8);
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Describes the message streamlayer.polymarket.ListSportsResponse.
|
|
86
|
+
* Use `create(ListSportsResponseSchema)` to create a new message.
|
|
87
|
+
*/
|
|
88
|
+
export const ListSportsResponseSchema = /*@__PURE__*/
|
|
89
|
+
messageDesc(file_streamlayer_polymarket_sportsClient, 9);
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Describes the message streamlayer.polymarket.ListMarketsBySportRequest.
|
|
93
|
+
* Use `create(ListMarketsBySportRequestSchema)` to create a new message.
|
|
94
|
+
*/
|
|
95
|
+
export const ListMarketsBySportRequestSchema = /*@__PURE__*/
|
|
96
|
+
messageDesc(file_streamlayer_polymarket_sportsClient, 10);
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Describes the message streamlayer.polymarket.ListMarketsBySportResponse.
|
|
100
|
+
* Use `create(ListMarketsBySportResponseSchema)` to create a new message.
|
|
101
|
+
*/
|
|
102
|
+
export const ListMarketsBySportResponseSchema = /*@__PURE__*/
|
|
103
|
+
messageDesc(file_streamlayer_polymarket_sportsClient, 11);
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Describes the message streamlayer.polymarket.TimeSeriesRequest.
|
|
107
|
+
* Use `create(TimeSeriesRequestSchema)` to create a new message.
|
|
108
|
+
*/
|
|
109
|
+
export const TimeSeriesRequestSchema = /*@__PURE__*/
|
|
110
|
+
messageDesc(file_streamlayer_polymarket_sportsClient, 12);
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Describes the message streamlayer.polymarket.GetMarketWithSeriesRequest.
|
|
114
|
+
* Use `create(GetMarketWithSeriesRequestSchema)` to create a new message.
|
|
115
|
+
*/
|
|
116
|
+
export const GetMarketWithSeriesRequestSchema = /*@__PURE__*/
|
|
117
|
+
messageDesc(file_streamlayer_polymarket_sportsClient, 13);
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Describes the message streamlayer.polymarket.GetMarketWithSeriesResponse.
|
|
121
|
+
* Use `create(GetMarketWithSeriesResponseSchema)` to create a new message.
|
|
122
|
+
*/
|
|
123
|
+
export const GetMarketWithSeriesResponseSchema = /*@__PURE__*/
|
|
124
|
+
messageDesc(file_streamlayer_polymarket_sportsClient, 14);
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Describes the enum streamlayer.polymarket.SportType.
|
|
128
|
+
*/
|
|
129
|
+
export const SportTypeSchema = /*@__PURE__*/
|
|
130
|
+
enumDesc(file_streamlayer_polymarket_sportsClient, 0);
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* @generated from enum streamlayer.polymarket.SportType
|
|
134
|
+
*/
|
|
135
|
+
export const SportType = /*@__PURE__*/
|
|
136
|
+
tsEnum(SportTypeSchema);
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Describes the enum streamlayer.polymarket.Timeframe.
|
|
140
|
+
*/
|
|
141
|
+
export const TimeframeSchema = /*@__PURE__*/
|
|
142
|
+
enumDesc(file_streamlayer_polymarket_sportsClient, 1);
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Polymarket Timeframes
|
|
146
|
+
*
|
|
147
|
+
* @generated from enum streamlayer.polymarket.Timeframe
|
|
148
|
+
*/
|
|
149
|
+
export const Timeframe = /*@__PURE__*/
|
|
150
|
+
tsEnum(TimeframeSchema);
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* @generated from service streamlayer.polymarket.PolymarketSportsClient
|
|
154
|
+
*/
|
|
155
|
+
export const PolymarketSportsClient = /*@__PURE__*/
|
|
156
|
+
serviceDesc(file_streamlayer_polymarket_sportsClient, 0);
|
|
157
|
+
|