@polymarket/bindings 0.8.0 → 0.10.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/dist/chunk-NILFT6EF.js +2 -0
- package/dist/chunk-NILFT6EF.js.map +1 -0
- package/dist/{chunk-2WODFBG4.js → chunk-RGWF46B7.js} +2 -2
- package/dist/{chunk-2WODFBG4.js.map → chunk-RGWF46B7.js.map} +1 -1
- package/dist/{chunk-ZLKBCIHA.js → chunk-V3FFOW6W.js} +2 -2
- package/dist/{chunk-ZLKBCIHA.js.map → chunk-V3FFOW6W.js.map} +1 -1
- package/dist/clob/index.d.ts +1 -21
- package/dist/clob/index.js +1 -1
- package/dist/clob/index.js.map +1 -1
- package/dist/combos/index.js +1 -1
- package/dist/data/index.d.ts +3306 -1241
- package/dist/data/index.js +1 -1
- package/dist/data/index.js.map +1 -1
- package/dist/gamma/index.d.ts +102 -319
- package/dist/gamma/index.js +1 -1
- package/dist/gamma/index.js.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +1 -1
- package/dist/perps/index.js +1 -1
- package/dist/relayer/index.js +1 -1
- package/dist/subscriptions/index.js +1 -1
- package/dist/subscriptions/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-E3SBSYCF.js +0 -2
- package/dist/chunk-E3SBSYCF.js.map +0 -1
package/dist/gamma/index.d.ts
CHANGED
|
@@ -49,7 +49,6 @@ declare const TagReferenceSchema: z.ZodObject<{
|
|
|
49
49
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
50
50
|
forceHide: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
51
51
|
isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
52
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
53
52
|
activeEventsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
54
53
|
}, z.core.$strip>;
|
|
55
54
|
declare const RelatedMarketSchema: z.ZodObject<{
|
|
@@ -86,6 +85,27 @@ type RelatedMarket = z.infer<typeof RelatedMarketSchema>;
|
|
|
86
85
|
type ClobRewards = z.infer<typeof ClobRewardsSchema>;
|
|
87
86
|
type InternalUser = z.infer<typeof InternalUserSchema>;
|
|
88
87
|
|
|
88
|
+
/**
|
|
89
|
+
* Known Combo eligibility statuses.
|
|
90
|
+
*
|
|
91
|
+
* The service evolves this set independently of released clients, so market
|
|
92
|
+
* parsing accepts unknown statuses as plain strings; see {@link ComboStatus}.
|
|
93
|
+
*/
|
|
94
|
+
declare enum ComboKnownStatus {
|
|
95
|
+
Pending = "pending",
|
|
96
|
+
Enabled = "enabled",
|
|
97
|
+
Disabled = "disabled"
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* A Combo eligibility status. Known statuses are enumerated in
|
|
101
|
+
* {@link ComboKnownStatus}; newly introduced statuses flow through as plain
|
|
102
|
+
* strings so they can be handled before a client release enumerates them.
|
|
103
|
+
*/
|
|
104
|
+
type ComboStatus = ComboKnownStatus | (string & {});
|
|
105
|
+
declare enum ProtocolVersion {
|
|
106
|
+
V1 = "v1",
|
|
107
|
+
V2 = "v2"
|
|
108
|
+
}
|
|
89
109
|
declare enum UmaResolutionStatus {
|
|
90
110
|
Disputed = "disputed",
|
|
91
111
|
Proposed = "proposed",
|
|
@@ -97,6 +117,8 @@ type MarketState = {
|
|
|
97
117
|
active?: boolean | null;
|
|
98
118
|
closed?: boolean | null;
|
|
99
119
|
archived?: boolean | null;
|
|
120
|
+
/** Whether the market is available for combo bets. */
|
|
121
|
+
comboStatus?: ComboStatus | null;
|
|
100
122
|
acceptingOrders?: boolean | null;
|
|
101
123
|
enableOrderBook?: boolean | null;
|
|
102
124
|
negRisk?: boolean | null;
|
|
@@ -129,7 +151,6 @@ type MarketMetrics = {
|
|
|
129
151
|
volume1wk?: DecimalString | null;
|
|
130
152
|
volume1mo?: DecimalString | null;
|
|
131
153
|
volume1yr?: DecimalString | null;
|
|
132
|
-
volumeAmm?: DecimalString | null;
|
|
133
154
|
volumeClob?: DecimalString | null;
|
|
134
155
|
liquidity?: DecimalString | null;
|
|
135
156
|
liquidityNum?: DecimalString | null;
|
|
@@ -185,6 +206,8 @@ type MarketTag = {
|
|
|
185
206
|
};
|
|
186
207
|
type Market = {
|
|
187
208
|
id: MarketId;
|
|
209
|
+
/** Protocol version used to trade this market. */
|
|
210
|
+
version?: ProtocolVersion | null;
|
|
188
211
|
slug?: string | null;
|
|
189
212
|
conditionId: ConditionId | null;
|
|
190
213
|
question?: string | null;
|
|
@@ -208,6 +231,7 @@ type Market = {
|
|
|
208
231
|
};
|
|
209
232
|
declare const GammaMarketSchema: z.ZodObject<{
|
|
210
233
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
234
|
+
version: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof ProtocolVersion>>>;
|
|
211
235
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
212
236
|
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodCustom<ConditionId, ConditionId>>>>, z.ZodTransform<ConditionId | null, ConditionId | null | undefined>>;
|
|
213
237
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -215,7 +239,6 @@ declare const GammaMarketSchema: z.ZodObject<{
|
|
|
215
239
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
216
240
|
endDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
217
241
|
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
218
|
-
ammType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
219
242
|
liquidity: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
220
243
|
sponsorName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
221
244
|
sponsorImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -238,7 +261,6 @@ declare const GammaMarketSchema: z.ZodObject<{
|
|
|
238
261
|
lowerBoundDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoCalendarDateString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoCalendarDateString, Date>>]>>>;
|
|
239
262
|
upperBoundDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoCalendarDateString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoCalendarDateString, Date>>]>>>;
|
|
240
263
|
closed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
241
|
-
marketMakerAddress: z.ZodString;
|
|
242
264
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
243
265
|
updatedBy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
244
266
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
@@ -283,6 +305,7 @@ declare const GammaMarketSchema: z.ZodObject<{
|
|
|
283
305
|
gameStartTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
284
306
|
secondsDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
285
307
|
clobTokenIds: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<TokenId, string>>>>>>, z.ZodTransform<TokenId[], TokenId[] | null | undefined>>;
|
|
308
|
+
comboStatus: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | ComboKnownStatus, string>>>>;
|
|
286
309
|
positionIds: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<PositionId, string>>>>>>, z.ZodTransform<PositionId[], PositionId[] | null | undefined>>;
|
|
287
310
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
288
311
|
shortOutcomes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -290,18 +313,11 @@ declare const GammaMarketSchema: z.ZodObject<{
|
|
|
290
313
|
teamBID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
291
314
|
umaBond: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
292
315
|
umaReward: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
293
|
-
fpmmLive: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
294
|
-
volume24hrAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
295
|
-
volume1wkAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
296
|
-
volume1moAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
297
|
-
volume1yrAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
298
316
|
volume24hrClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
299
317
|
volume1wkClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
300
318
|
volume1moClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
301
319
|
volume1yrClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
302
|
-
volumeAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
303
320
|
volumeClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
304
|
-
liquidityAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
305
321
|
liquidityClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
306
322
|
makerBaseFee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
307
323
|
takerBaseFee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -373,12 +389,10 @@ declare const GammaMarketSchema: z.ZodObject<{
|
|
|
373
389
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
374
390
|
forceHide: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
375
391
|
isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
376
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
377
392
|
activeEventsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
378
393
|
}, z.core.$strip>>>>;
|
|
379
394
|
cyom: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
380
395
|
competitive: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
381
|
-
pagerDutyNotificationEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
382
396
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
383
397
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
384
398
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
@@ -426,7 +440,6 @@ declare const GammaMarketSchema: z.ZodObject<{
|
|
|
426
440
|
}, z.core.$strip>>>>;
|
|
427
441
|
holdingRewardsEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
428
442
|
feesEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
429
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
430
443
|
makerRebatesFeeShareBps: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
431
444
|
feeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
432
445
|
feeSchedule: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -444,6 +457,7 @@ declare const GammaMarketSchema: z.ZodObject<{
|
|
|
444
457
|
*/
|
|
445
458
|
declare const MarketSchema: z.ZodPipe<z.ZodObject<{
|
|
446
459
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
460
|
+
version: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof ProtocolVersion>>>;
|
|
447
461
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
448
462
|
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodCustom<ConditionId, ConditionId>>>>, z.ZodTransform<ConditionId | null, ConditionId | null | undefined>>;
|
|
449
463
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -451,7 +465,6 @@ declare const MarketSchema: z.ZodPipe<z.ZodObject<{
|
|
|
451
465
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
452
466
|
endDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
453
467
|
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
454
|
-
ammType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
455
468
|
liquidity: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
456
469
|
sponsorName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
457
470
|
sponsorImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -474,7 +487,6 @@ declare const MarketSchema: z.ZodPipe<z.ZodObject<{
|
|
|
474
487
|
lowerBoundDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoCalendarDateString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoCalendarDateString, Date>>]>>>;
|
|
475
488
|
upperBoundDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoCalendarDateString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoCalendarDateString, Date>>]>>>;
|
|
476
489
|
closed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
477
|
-
marketMakerAddress: z.ZodString;
|
|
478
490
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
479
491
|
updatedBy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
480
492
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
@@ -519,6 +531,7 @@ declare const MarketSchema: z.ZodPipe<z.ZodObject<{
|
|
|
519
531
|
gameStartTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
520
532
|
secondsDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
521
533
|
clobTokenIds: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<TokenId, string>>>>>>, z.ZodTransform<TokenId[], TokenId[] | null | undefined>>;
|
|
534
|
+
comboStatus: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | ComboKnownStatus, string>>>>;
|
|
522
535
|
positionIds: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<PositionId, string>>>>>>, z.ZodTransform<PositionId[], PositionId[] | null | undefined>>;
|
|
523
536
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
524
537
|
shortOutcomes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -526,18 +539,11 @@ declare const MarketSchema: z.ZodPipe<z.ZodObject<{
|
|
|
526
539
|
teamBID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
527
540
|
umaBond: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
528
541
|
umaReward: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
529
|
-
fpmmLive: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
530
|
-
volume24hrAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
531
|
-
volume1wkAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
532
|
-
volume1moAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
533
|
-
volume1yrAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
534
542
|
volume24hrClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
535
543
|
volume1wkClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
536
544
|
volume1moClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
537
545
|
volume1yrClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
538
|
-
volumeAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
539
546
|
volumeClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
540
|
-
liquidityAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
541
547
|
liquidityClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
542
548
|
makerBaseFee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
543
549
|
takerBaseFee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -609,12 +615,10 @@ declare const MarketSchema: z.ZodPipe<z.ZodObject<{
|
|
|
609
615
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
610
616
|
forceHide: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
611
617
|
isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
612
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
613
618
|
activeEventsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
614
619
|
}, z.core.$strip>>>>;
|
|
615
620
|
cyom: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
616
621
|
competitive: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
617
|
-
pagerDutyNotificationEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
618
622
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
619
623
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
620
624
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
@@ -662,7 +666,6 @@ declare const MarketSchema: z.ZodPipe<z.ZodObject<{
|
|
|
662
666
|
}, z.core.$strip>>>>;
|
|
663
667
|
holdingRewardsEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
664
668
|
feesEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
665
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
666
669
|
makerRebatesFeeShareBps: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
667
670
|
feeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
668
671
|
feeSchedule: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -676,20 +679,19 @@ declare const MarketSchema: z.ZodPipe<z.ZodObject<{
|
|
|
676
679
|
conditionId: ConditionId | null;
|
|
677
680
|
outcomes: string[];
|
|
678
681
|
outcomePrices: DecimalString[];
|
|
679
|
-
marketMakerAddress: string;
|
|
680
682
|
resolvedBy: EvmAddress | null;
|
|
681
683
|
questionID: QuestionId | null;
|
|
682
684
|
umaResolutionStatus: UmaResolutionStatus | null;
|
|
683
685
|
clobTokenIds: TokenId[];
|
|
684
686
|
positionIds: PositionId[];
|
|
685
687
|
negRiskRequestID: ResolutionRequestId | null;
|
|
688
|
+
version?: ProtocolVersion | null | undefined;
|
|
686
689
|
question?: string | null | undefined;
|
|
687
690
|
slug?: string | null | undefined;
|
|
688
691
|
twitterCardImage?: string | null | undefined;
|
|
689
692
|
resolutionSource?: string | null | undefined;
|
|
690
693
|
endDate?: IsoDateTimeString | null | undefined;
|
|
691
694
|
category?: string | null | undefined;
|
|
692
|
-
ammType?: string | null | undefined;
|
|
693
695
|
liquidity?: DecimalString | null | undefined;
|
|
694
696
|
sponsorName?: string | null | undefined;
|
|
695
697
|
sponsorImage?: string | null | undefined;
|
|
@@ -750,24 +752,18 @@ declare const MarketSchema: z.ZodPipe<z.ZodObject<{
|
|
|
750
752
|
volume1yr?: DecimalString | null | undefined;
|
|
751
753
|
gameStartTime?: IsoDateTimeString | null | undefined;
|
|
752
754
|
secondsDelay?: number | null | undefined;
|
|
755
|
+
comboStatus?: (string & {}) | ComboKnownStatus | null | undefined;
|
|
753
756
|
disqusThread?: string | null | undefined;
|
|
754
757
|
shortOutcomes?: string | null | undefined;
|
|
755
758
|
teamAID?: string | null | undefined;
|
|
756
759
|
teamBID?: string | null | undefined;
|
|
757
760
|
umaBond?: DecimalString | null | undefined;
|
|
758
761
|
umaReward?: DecimalString | null | undefined;
|
|
759
|
-
fpmmLive?: boolean | null | undefined;
|
|
760
|
-
volume24hrAmm?: DecimalString | null | undefined;
|
|
761
|
-
volume1wkAmm?: DecimalString | null | undefined;
|
|
762
|
-
volume1moAmm?: DecimalString | null | undefined;
|
|
763
|
-
volume1yrAmm?: DecimalString | null | undefined;
|
|
764
762
|
volume24hrClob?: DecimalString | null | undefined;
|
|
765
763
|
volume1wkClob?: DecimalString | null | undefined;
|
|
766
764
|
volume1moClob?: DecimalString | null | undefined;
|
|
767
765
|
volume1yrClob?: DecimalString | null | undefined;
|
|
768
|
-
volumeAmm?: DecimalString | null | undefined;
|
|
769
766
|
volumeClob?: DecimalString | null | undefined;
|
|
770
|
-
liquidityAmm?: DecimalString | null | undefined;
|
|
771
767
|
liquidityClob?: DecimalString | null | undefined;
|
|
772
768
|
makerBaseFee?: number | null | undefined;
|
|
773
769
|
takerBaseFee?: number | null | undefined;
|
|
@@ -838,12 +834,10 @@ declare const MarketSchema: z.ZodPipe<z.ZodObject<{
|
|
|
838
834
|
updatedAt?: IsoDateTimeString | null | undefined;
|
|
839
835
|
forceHide?: boolean | null | undefined;
|
|
840
836
|
isCarousel?: boolean | null | undefined;
|
|
841
|
-
requiresTranslation?: boolean | null | undefined;
|
|
842
837
|
activeEventsCount?: number | null | undefined;
|
|
843
838
|
}[] | null | undefined;
|
|
844
839
|
cyom?: boolean | null | undefined;
|
|
845
840
|
competitive?: number | null | undefined;
|
|
846
|
-
pagerDutyNotificationEnabled?: boolean | null | undefined;
|
|
847
841
|
approved?: boolean | null | undefined;
|
|
848
842
|
clobRewards?: {
|
|
849
843
|
id: ClobRewardId;
|
|
@@ -891,7 +885,6 @@ declare const MarketSchema: z.ZodPipe<z.ZodObject<{
|
|
|
891
885
|
}[] | null | undefined;
|
|
892
886
|
holdingRewardsEnabled?: boolean | null | undefined;
|
|
893
887
|
feesEnabled?: boolean | null | undefined;
|
|
894
|
-
requiresTranslation?: boolean | null | undefined;
|
|
895
888
|
makerRebatesFeeShareBps?: number | null | undefined;
|
|
896
889
|
feeType?: string | null | undefined;
|
|
897
890
|
feeSchedule?: {
|
|
@@ -903,6 +896,7 @@ declare const MarketSchema: z.ZodPipe<z.ZodObject<{
|
|
|
903
896
|
}>>;
|
|
904
897
|
declare const ListMarketsResponseSchema: z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
905
898
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
899
|
+
version: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof ProtocolVersion>>>;
|
|
906
900
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
907
901
|
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodCustom<ConditionId, ConditionId>>>>, z.ZodTransform<ConditionId | null, ConditionId | null | undefined>>;
|
|
908
902
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -910,7 +904,6 @@ declare const ListMarketsResponseSchema: z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObj
|
|
|
910
904
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
911
905
|
endDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
912
906
|
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
913
|
-
ammType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
914
907
|
liquidity: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
915
908
|
sponsorName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
916
909
|
sponsorImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -933,7 +926,6 @@ declare const ListMarketsResponseSchema: z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObj
|
|
|
933
926
|
lowerBoundDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoCalendarDateString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoCalendarDateString, Date>>]>>>;
|
|
934
927
|
upperBoundDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoCalendarDateString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoCalendarDateString, Date>>]>>>;
|
|
935
928
|
closed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
936
|
-
marketMakerAddress: z.ZodString;
|
|
937
929
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
938
930
|
updatedBy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
939
931
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
@@ -978,6 +970,7 @@ declare const ListMarketsResponseSchema: z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObj
|
|
|
978
970
|
gameStartTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
979
971
|
secondsDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
980
972
|
clobTokenIds: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<TokenId, string>>>>>>, z.ZodTransform<TokenId[], TokenId[] | null | undefined>>;
|
|
973
|
+
comboStatus: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | ComboKnownStatus, string>>>>;
|
|
981
974
|
positionIds: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<PositionId, string>>>>>>, z.ZodTransform<PositionId[], PositionId[] | null | undefined>>;
|
|
982
975
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
983
976
|
shortOutcomes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -985,18 +978,11 @@ declare const ListMarketsResponseSchema: z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObj
|
|
|
985
978
|
teamBID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
986
979
|
umaBond: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
987
980
|
umaReward: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
988
|
-
fpmmLive: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
989
|
-
volume24hrAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
990
|
-
volume1wkAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
991
|
-
volume1moAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
992
|
-
volume1yrAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
993
981
|
volume24hrClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
994
982
|
volume1wkClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
995
983
|
volume1moClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
996
984
|
volume1yrClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
997
|
-
volumeAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
998
985
|
volumeClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
999
|
-
liquidityAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
1000
986
|
liquidityClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
1001
987
|
makerBaseFee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1002
988
|
takerBaseFee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1068,12 +1054,10 @@ declare const ListMarketsResponseSchema: z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObj
|
|
|
1068
1054
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
1069
1055
|
forceHide: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1070
1056
|
isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1071
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1072
1057
|
activeEventsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1073
1058
|
}, z.core.$strip>>>>;
|
|
1074
1059
|
cyom: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1075
1060
|
competitive: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1076
|
-
pagerDutyNotificationEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1077
1061
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1078
1062
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1079
1063
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
@@ -1121,7 +1105,6 @@ declare const ListMarketsResponseSchema: z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObj
|
|
|
1121
1105
|
}, z.core.$strip>>>>;
|
|
1122
1106
|
holdingRewardsEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1123
1107
|
feesEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1124
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1125
1108
|
makerRebatesFeeShareBps: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1126
1109
|
feeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1127
1110
|
feeSchedule: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -1135,20 +1118,19 @@ declare const ListMarketsResponseSchema: z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObj
|
|
|
1135
1118
|
conditionId: ConditionId | null;
|
|
1136
1119
|
outcomes: string[];
|
|
1137
1120
|
outcomePrices: DecimalString[];
|
|
1138
|
-
marketMakerAddress: string;
|
|
1139
1121
|
resolvedBy: EvmAddress | null;
|
|
1140
1122
|
questionID: QuestionId | null;
|
|
1141
1123
|
umaResolutionStatus: UmaResolutionStatus | null;
|
|
1142
1124
|
clobTokenIds: TokenId[];
|
|
1143
1125
|
positionIds: PositionId[];
|
|
1144
1126
|
negRiskRequestID: ResolutionRequestId | null;
|
|
1127
|
+
version?: ProtocolVersion | null | undefined;
|
|
1145
1128
|
question?: string | null | undefined;
|
|
1146
1129
|
slug?: string | null | undefined;
|
|
1147
1130
|
twitterCardImage?: string | null | undefined;
|
|
1148
1131
|
resolutionSource?: string | null | undefined;
|
|
1149
1132
|
endDate?: IsoDateTimeString | null | undefined;
|
|
1150
1133
|
category?: string | null | undefined;
|
|
1151
|
-
ammType?: string | null | undefined;
|
|
1152
1134
|
liquidity?: DecimalString | null | undefined;
|
|
1153
1135
|
sponsorName?: string | null | undefined;
|
|
1154
1136
|
sponsorImage?: string | null | undefined;
|
|
@@ -1209,24 +1191,18 @@ declare const ListMarketsResponseSchema: z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObj
|
|
|
1209
1191
|
volume1yr?: DecimalString | null | undefined;
|
|
1210
1192
|
gameStartTime?: IsoDateTimeString | null | undefined;
|
|
1211
1193
|
secondsDelay?: number | null | undefined;
|
|
1194
|
+
comboStatus?: (string & {}) | ComboKnownStatus | null | undefined;
|
|
1212
1195
|
disqusThread?: string | null | undefined;
|
|
1213
1196
|
shortOutcomes?: string | null | undefined;
|
|
1214
1197
|
teamAID?: string | null | undefined;
|
|
1215
1198
|
teamBID?: string | null | undefined;
|
|
1216
1199
|
umaBond?: DecimalString | null | undefined;
|
|
1217
1200
|
umaReward?: DecimalString | null | undefined;
|
|
1218
|
-
fpmmLive?: boolean | null | undefined;
|
|
1219
|
-
volume24hrAmm?: DecimalString | null | undefined;
|
|
1220
|
-
volume1wkAmm?: DecimalString | null | undefined;
|
|
1221
|
-
volume1moAmm?: DecimalString | null | undefined;
|
|
1222
|
-
volume1yrAmm?: DecimalString | null | undefined;
|
|
1223
1201
|
volume24hrClob?: DecimalString | null | undefined;
|
|
1224
1202
|
volume1wkClob?: DecimalString | null | undefined;
|
|
1225
1203
|
volume1moClob?: DecimalString | null | undefined;
|
|
1226
1204
|
volume1yrClob?: DecimalString | null | undefined;
|
|
1227
|
-
volumeAmm?: DecimalString | null | undefined;
|
|
1228
1205
|
volumeClob?: DecimalString | null | undefined;
|
|
1229
|
-
liquidityAmm?: DecimalString | null | undefined;
|
|
1230
1206
|
liquidityClob?: DecimalString | null | undefined;
|
|
1231
1207
|
makerBaseFee?: number | null | undefined;
|
|
1232
1208
|
takerBaseFee?: number | null | undefined;
|
|
@@ -1297,12 +1273,10 @@ declare const ListMarketsResponseSchema: z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObj
|
|
|
1297
1273
|
updatedAt?: IsoDateTimeString | null | undefined;
|
|
1298
1274
|
forceHide?: boolean | null | undefined;
|
|
1299
1275
|
isCarousel?: boolean | null | undefined;
|
|
1300
|
-
requiresTranslation?: boolean | null | undefined;
|
|
1301
1276
|
activeEventsCount?: number | null | undefined;
|
|
1302
1277
|
}[] | null | undefined;
|
|
1303
1278
|
cyom?: boolean | null | undefined;
|
|
1304
1279
|
competitive?: number | null | undefined;
|
|
1305
|
-
pagerDutyNotificationEnabled?: boolean | null | undefined;
|
|
1306
1280
|
approved?: boolean | null | undefined;
|
|
1307
1281
|
clobRewards?: {
|
|
1308
1282
|
id: ClobRewardId;
|
|
@@ -1350,7 +1324,6 @@ declare const ListMarketsResponseSchema: z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObj
|
|
|
1350
1324
|
}[] | null | undefined;
|
|
1351
1325
|
holdingRewardsEnabled?: boolean | null | undefined;
|
|
1352
1326
|
feesEnabled?: boolean | null | undefined;
|
|
1353
|
-
requiresTranslation?: boolean | null | undefined;
|
|
1354
1327
|
makerRebatesFeeShareBps?: number | null | undefined;
|
|
1355
1328
|
feeType?: string | null | undefined;
|
|
1356
1329
|
feeSchedule?: {
|
|
@@ -1363,6 +1336,7 @@ declare const ListMarketsResponseSchema: z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObj
|
|
|
1363
1336
|
declare const ListMarketsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
1364
1337
|
markets: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
1365
1338
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
1339
|
+
version: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof ProtocolVersion>>>;
|
|
1366
1340
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1367
1341
|
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodCustom<ConditionId, ConditionId>>>>, z.ZodTransform<ConditionId | null, ConditionId | null | undefined>>;
|
|
1368
1342
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1370,7 +1344,6 @@ declare const ListMarketsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1370
1344
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1371
1345
|
endDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
1372
1346
|
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1373
|
-
ammType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1374
1347
|
liquidity: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
1375
1348
|
sponsorName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1376
1349
|
sponsorImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1393,7 +1366,6 @@ declare const ListMarketsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1393
1366
|
lowerBoundDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoCalendarDateString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoCalendarDateString, Date>>]>>>;
|
|
1394
1367
|
upperBoundDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoCalendarDateString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoCalendarDateString, Date>>]>>>;
|
|
1395
1368
|
closed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1396
|
-
marketMakerAddress: z.ZodString;
|
|
1397
1369
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1398
1370
|
updatedBy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1399
1371
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
@@ -1438,6 +1410,7 @@ declare const ListMarketsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1438
1410
|
gameStartTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
1439
1411
|
secondsDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1440
1412
|
clobTokenIds: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<TokenId, string>>>>>>, z.ZodTransform<TokenId[], TokenId[] | null | undefined>>;
|
|
1413
|
+
comboStatus: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | ComboKnownStatus, string>>>>;
|
|
1441
1414
|
positionIds: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<PositionId, string>>>>>>, z.ZodTransform<PositionId[], PositionId[] | null | undefined>>;
|
|
1442
1415
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1443
1416
|
shortOutcomes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1445,18 +1418,11 @@ declare const ListMarketsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1445
1418
|
teamBID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1446
1419
|
umaBond: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
1447
1420
|
umaReward: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
1448
|
-
fpmmLive: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1449
|
-
volume24hrAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
1450
|
-
volume1wkAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
1451
|
-
volume1moAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
1452
|
-
volume1yrAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
1453
1421
|
volume24hrClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
1454
1422
|
volume1wkClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
1455
1423
|
volume1moClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
1456
1424
|
volume1yrClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
1457
|
-
volumeAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
1458
1425
|
volumeClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
1459
|
-
liquidityAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
1460
1426
|
liquidityClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
1461
1427
|
makerBaseFee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1462
1428
|
takerBaseFee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1528,12 +1494,10 @@ declare const ListMarketsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1528
1494
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
1529
1495
|
forceHide: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1530
1496
|
isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1531
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1532
1497
|
activeEventsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1533
1498
|
}, z.core.$strip>>>>;
|
|
1534
1499
|
cyom: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1535
1500
|
competitive: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1536
|
-
pagerDutyNotificationEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1537
1501
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1538
1502
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1539
1503
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
@@ -1581,7 +1545,6 @@ declare const ListMarketsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1581
1545
|
}, z.core.$strip>>>>;
|
|
1582
1546
|
holdingRewardsEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1583
1547
|
feesEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1584
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1585
1548
|
makerRebatesFeeShareBps: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1586
1549
|
feeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1587
1550
|
feeSchedule: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -1595,20 +1558,19 @@ declare const ListMarketsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1595
1558
|
conditionId: ConditionId | null;
|
|
1596
1559
|
outcomes: string[];
|
|
1597
1560
|
outcomePrices: DecimalString[];
|
|
1598
|
-
marketMakerAddress: string;
|
|
1599
1561
|
resolvedBy: EvmAddress | null;
|
|
1600
1562
|
questionID: QuestionId | null;
|
|
1601
1563
|
umaResolutionStatus: UmaResolutionStatus | null;
|
|
1602
1564
|
clobTokenIds: TokenId[];
|
|
1603
1565
|
positionIds: PositionId[];
|
|
1604
1566
|
negRiskRequestID: ResolutionRequestId | null;
|
|
1567
|
+
version?: ProtocolVersion | null | undefined;
|
|
1605
1568
|
question?: string | null | undefined;
|
|
1606
1569
|
slug?: string | null | undefined;
|
|
1607
1570
|
twitterCardImage?: string | null | undefined;
|
|
1608
1571
|
resolutionSource?: string | null | undefined;
|
|
1609
1572
|
endDate?: IsoDateTimeString | null | undefined;
|
|
1610
1573
|
category?: string | null | undefined;
|
|
1611
|
-
ammType?: string | null | undefined;
|
|
1612
1574
|
liquidity?: DecimalString | null | undefined;
|
|
1613
1575
|
sponsorName?: string | null | undefined;
|
|
1614
1576
|
sponsorImage?: string | null | undefined;
|
|
@@ -1669,24 +1631,18 @@ declare const ListMarketsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1669
1631
|
volume1yr?: DecimalString | null | undefined;
|
|
1670
1632
|
gameStartTime?: IsoDateTimeString | null | undefined;
|
|
1671
1633
|
secondsDelay?: number | null | undefined;
|
|
1634
|
+
comboStatus?: (string & {}) | ComboKnownStatus | null | undefined;
|
|
1672
1635
|
disqusThread?: string | null | undefined;
|
|
1673
1636
|
shortOutcomes?: string | null | undefined;
|
|
1674
1637
|
teamAID?: string | null | undefined;
|
|
1675
1638
|
teamBID?: string | null | undefined;
|
|
1676
1639
|
umaBond?: DecimalString | null | undefined;
|
|
1677
1640
|
umaReward?: DecimalString | null | undefined;
|
|
1678
|
-
fpmmLive?: boolean | null | undefined;
|
|
1679
|
-
volume24hrAmm?: DecimalString | null | undefined;
|
|
1680
|
-
volume1wkAmm?: DecimalString | null | undefined;
|
|
1681
|
-
volume1moAmm?: DecimalString | null | undefined;
|
|
1682
|
-
volume1yrAmm?: DecimalString | null | undefined;
|
|
1683
1641
|
volume24hrClob?: DecimalString | null | undefined;
|
|
1684
1642
|
volume1wkClob?: DecimalString | null | undefined;
|
|
1685
1643
|
volume1moClob?: DecimalString | null | undefined;
|
|
1686
1644
|
volume1yrClob?: DecimalString | null | undefined;
|
|
1687
|
-
volumeAmm?: DecimalString | null | undefined;
|
|
1688
1645
|
volumeClob?: DecimalString | null | undefined;
|
|
1689
|
-
liquidityAmm?: DecimalString | null | undefined;
|
|
1690
1646
|
liquidityClob?: DecimalString | null | undefined;
|
|
1691
1647
|
makerBaseFee?: number | null | undefined;
|
|
1692
1648
|
takerBaseFee?: number | null | undefined;
|
|
@@ -1757,12 +1713,10 @@ declare const ListMarketsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1757
1713
|
updatedAt?: IsoDateTimeString | null | undefined;
|
|
1758
1714
|
forceHide?: boolean | null | undefined;
|
|
1759
1715
|
isCarousel?: boolean | null | undefined;
|
|
1760
|
-
requiresTranslation?: boolean | null | undefined;
|
|
1761
1716
|
activeEventsCount?: number | null | undefined;
|
|
1762
1717
|
}[] | null | undefined;
|
|
1763
1718
|
cyom?: boolean | null | undefined;
|
|
1764
1719
|
competitive?: number | null | undefined;
|
|
1765
|
-
pagerDutyNotificationEnabled?: boolean | null | undefined;
|
|
1766
1720
|
approved?: boolean | null | undefined;
|
|
1767
1721
|
clobRewards?: {
|
|
1768
1722
|
id: ClobRewardId;
|
|
@@ -1810,7 +1764,6 @@ declare const ListMarketsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1810
1764
|
}[] | null | undefined;
|
|
1811
1765
|
holdingRewardsEnabled?: boolean | null | undefined;
|
|
1812
1766
|
feesEnabled?: boolean | null | undefined;
|
|
1813
|
-
requiresTranslation?: boolean | null | undefined;
|
|
1814
1767
|
makerRebatesFeeShareBps?: number | null | undefined;
|
|
1815
1768
|
feeType?: string | null | undefined;
|
|
1816
1769
|
feeSchedule?: {
|
|
@@ -1840,7 +1793,6 @@ declare const FetchMarketTagsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
1840
1793
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
1841
1794
|
forceHide: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1842
1795
|
isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1843
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1844
1796
|
activeEventsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1845
1797
|
}, z.core.$strip>>;
|
|
1846
1798
|
type GammaMarket = z.infer<typeof GammaMarketSchema>;
|
|
@@ -1919,7 +1871,6 @@ declare const SeriesReferenceSchema: z.ZodObject<{
|
|
|
1919
1871
|
cgAssetName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1920
1872
|
score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1921
1873
|
commentCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1922
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1923
1874
|
}, z.core.$strip>;
|
|
1924
1875
|
declare const TemplateReferenceSchema: z.ZodObject<{
|
|
1925
1876
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<TemplateId, string>>;
|
|
@@ -1984,6 +1935,10 @@ declare const BestLineSchema: z.ZodObject<{
|
|
|
1984
1935
|
lineType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1985
1936
|
line: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1986
1937
|
}, z.core.$strip>;
|
|
1938
|
+
declare enum TeamOrdering {
|
|
1939
|
+
Home = "home",
|
|
1940
|
+
Away = "away"
|
|
1941
|
+
}
|
|
1987
1942
|
declare const TeamSchema: z.ZodObject<{
|
|
1988
1943
|
id: z.ZodPipe<z.ZodNumber, z.ZodTransform<TeamId, number>>;
|
|
1989
1944
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1996,6 +1951,7 @@ declare const TeamSchema: z.ZodObject<{
|
|
|
1996
1951
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
1997
1952
|
providerId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1998
1953
|
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1954
|
+
ordering: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof TeamOrdering>>>;
|
|
1999
1955
|
}, z.core.$strip>;
|
|
2000
1956
|
declare const SportsMetadataSchema: z.ZodObject<{
|
|
2001
1957
|
id: z.ZodPipe<z.ZodNumber, z.ZodTransform<SportId, number>>;
|
|
@@ -2020,6 +1976,7 @@ declare const ListTeamsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
2020
1976
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
2021
1977
|
providerId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2022
1978
|
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1979
|
+
ordering: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof TeamOrdering>>>;
|
|
2023
1980
|
}, z.core.$strip>>;
|
|
2024
1981
|
declare const ListSportsMetadataResponseSchema: z.ZodArray<z.ZodObject<{
|
|
2025
1982
|
id: z.ZodPipe<z.ZodNumber, z.ZodTransform<SportId, number>>;
|
|
@@ -2047,7 +2004,6 @@ type EventState = {
|
|
|
2047
2004
|
ended?: boolean | null;
|
|
2048
2005
|
automaticallyActive?: boolean | null;
|
|
2049
2006
|
commentsEnabled?: boolean | null;
|
|
2050
|
-
requiresTranslation?: boolean | null;
|
|
2051
2007
|
};
|
|
2052
2008
|
type EventSchedule = {
|
|
2053
2009
|
startDate?: IsoDateTimeString | null;
|
|
@@ -2061,7 +2017,6 @@ type EventSchedule = {
|
|
|
2061
2017
|
};
|
|
2062
2018
|
type EventMetrics = {
|
|
2063
2019
|
liquidity?: DecimalString | null;
|
|
2064
|
-
liquidityAmm?: DecimalString | null;
|
|
2065
2020
|
liquidityClob?: DecimalString | null;
|
|
2066
2021
|
volume?: DecimalString | null;
|
|
2067
2022
|
volume24hr?: DecimalString | null;
|
|
@@ -2166,6 +2121,8 @@ type EventPartner = {
|
|
|
2166
2121
|
};
|
|
2167
2122
|
type Event = {
|
|
2168
2123
|
id: EventId;
|
|
2124
|
+
/** Protocol version shared by every market in this event. */
|
|
2125
|
+
version?: ProtocolVersion | null;
|
|
2169
2126
|
parentEventId?: EventId | null;
|
|
2170
2127
|
ticker?: string | null;
|
|
2171
2128
|
slug?: string | null;
|
|
@@ -2197,6 +2154,7 @@ type Event = {
|
|
|
2197
2154
|
};
|
|
2198
2155
|
declare const GammaEventSchema: z.ZodObject<{
|
|
2199
2156
|
id: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodNumber, z.ZodTransform<string, number>>]>, z.ZodTransform<EventId, string>>;
|
|
2157
|
+
version: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof ProtocolVersion>>>;
|
|
2200
2158
|
ticker: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2201
2159
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2202
2160
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2237,7 +2195,6 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2237
2195
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2238
2196
|
parentEventId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodNumber, z.ZodTransform<string, number>>]>, z.ZodTransform<EventId, string>>>>;
|
|
2239
2197
|
enableOrderBook: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2240
|
-
liquidityAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
2241
2198
|
liquidityClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
2242
2199
|
negRisk: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2243
2200
|
negRiskMarketID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2282,6 +2239,7 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2282
2239
|
subEvents: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
2283
2240
|
markets: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
2284
2241
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
2242
|
+
version: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof ProtocolVersion>>>;
|
|
2285
2243
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2286
2244
|
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodCustom<ConditionId, ConditionId>>>>, z.ZodTransform<ConditionId | null, ConditionId | null | undefined>>;
|
|
2287
2245
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2289,7 +2247,6 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2289
2247
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2290
2248
|
endDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
2291
2249
|
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2292
|
-
ammType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2293
2250
|
liquidity: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
2294
2251
|
sponsorName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2295
2252
|
sponsorImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2312,7 +2269,6 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2312
2269
|
lowerBoundDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoCalendarDateString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoCalendarDateString, Date>>]>>>;
|
|
2313
2270
|
upperBoundDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoCalendarDateString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoCalendarDateString, Date>>]>>>;
|
|
2314
2271
|
closed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2315
|
-
marketMakerAddress: z.ZodString;
|
|
2316
2272
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2317
2273
|
updatedBy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2318
2274
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
@@ -2357,6 +2313,7 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2357
2313
|
gameStartTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
2358
2314
|
secondsDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2359
2315
|
clobTokenIds: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<TokenId, string>>>>>>, z.ZodTransform<TokenId[], TokenId[] | null | undefined>>;
|
|
2316
|
+
comboStatus: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | ComboKnownStatus, string>>>>;
|
|
2360
2317
|
positionIds: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<PositionId, string>>>>>>, z.ZodTransform<PositionId[], PositionId[] | null | undefined>>;
|
|
2361
2318
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2362
2319
|
shortOutcomes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2364,18 +2321,11 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2364
2321
|
teamBID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2365
2322
|
umaBond: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
2366
2323
|
umaReward: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
2367
|
-
fpmmLive: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2368
|
-
volume24hrAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
2369
|
-
volume1wkAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
2370
|
-
volume1moAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
2371
|
-
volume1yrAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
2372
2324
|
volume24hrClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
2373
2325
|
volume1wkClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
2374
2326
|
volume1moClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
2375
2327
|
volume1yrClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
2376
|
-
volumeAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
2377
2328
|
volumeClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
2378
|
-
liquidityAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
2379
2329
|
liquidityClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
2380
2330
|
makerBaseFee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2381
2331
|
takerBaseFee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -2447,12 +2397,10 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2447
2397
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
2448
2398
|
forceHide: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2449
2399
|
isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2450
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2451
2400
|
activeEventsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2452
2401
|
}, z.core.$strip>>>>;
|
|
2453
2402
|
cyom: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2454
2403
|
competitive: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2455
|
-
pagerDutyNotificationEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2456
2404
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2457
2405
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2458
2406
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
@@ -2500,7 +2448,6 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2500
2448
|
}, z.core.$strip>>>>;
|
|
2501
2449
|
holdingRewardsEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2502
2450
|
feesEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2503
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2504
2451
|
makerRebatesFeeShareBps: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2505
2452
|
feeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2506
2453
|
feeSchedule: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -2514,20 +2461,19 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2514
2461
|
conditionId: ConditionId | null;
|
|
2515
2462
|
outcomes: string[];
|
|
2516
2463
|
outcomePrices: DecimalString[];
|
|
2517
|
-
marketMakerAddress: string;
|
|
2518
2464
|
resolvedBy: _polymarket_types.EvmAddress | null;
|
|
2519
2465
|
questionID: QuestionId | null;
|
|
2520
2466
|
umaResolutionStatus: UmaResolutionStatus | null;
|
|
2521
2467
|
clobTokenIds: TokenId[];
|
|
2522
2468
|
positionIds: PositionId[];
|
|
2523
2469
|
negRiskRequestID: ResolutionRequestId | null;
|
|
2470
|
+
version?: ProtocolVersion | null | undefined;
|
|
2524
2471
|
question?: string | null | undefined;
|
|
2525
2472
|
slug?: string | null | undefined;
|
|
2526
2473
|
twitterCardImage?: string | null | undefined;
|
|
2527
2474
|
resolutionSource?: string | null | undefined;
|
|
2528
2475
|
endDate?: IsoDateTimeString | null | undefined;
|
|
2529
2476
|
category?: string | null | undefined;
|
|
2530
|
-
ammType?: string | null | undefined;
|
|
2531
2477
|
liquidity?: DecimalString | null | undefined;
|
|
2532
2478
|
sponsorName?: string | null | undefined;
|
|
2533
2479
|
sponsorImage?: string | null | undefined;
|
|
@@ -2588,24 +2534,18 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2588
2534
|
volume1yr?: DecimalString | null | undefined;
|
|
2589
2535
|
gameStartTime?: IsoDateTimeString | null | undefined;
|
|
2590
2536
|
secondsDelay?: number | null | undefined;
|
|
2537
|
+
comboStatus?: (string & {}) | ComboKnownStatus | null | undefined;
|
|
2591
2538
|
disqusThread?: string | null | undefined;
|
|
2592
2539
|
shortOutcomes?: string | null | undefined;
|
|
2593
2540
|
teamAID?: string | null | undefined;
|
|
2594
2541
|
teamBID?: string | null | undefined;
|
|
2595
2542
|
umaBond?: DecimalString | null | undefined;
|
|
2596
2543
|
umaReward?: DecimalString | null | undefined;
|
|
2597
|
-
fpmmLive?: boolean | null | undefined;
|
|
2598
|
-
volume24hrAmm?: DecimalString | null | undefined;
|
|
2599
|
-
volume1wkAmm?: DecimalString | null | undefined;
|
|
2600
|
-
volume1moAmm?: DecimalString | null | undefined;
|
|
2601
|
-
volume1yrAmm?: DecimalString | null | undefined;
|
|
2602
2544
|
volume24hrClob?: DecimalString | null | undefined;
|
|
2603
2545
|
volume1wkClob?: DecimalString | null | undefined;
|
|
2604
2546
|
volume1moClob?: DecimalString | null | undefined;
|
|
2605
2547
|
volume1yrClob?: DecimalString | null | undefined;
|
|
2606
|
-
volumeAmm?: DecimalString | null | undefined;
|
|
2607
2548
|
volumeClob?: DecimalString | null | undefined;
|
|
2608
|
-
liquidityAmm?: DecimalString | null | undefined;
|
|
2609
2549
|
liquidityClob?: DecimalString | null | undefined;
|
|
2610
2550
|
makerBaseFee?: number | null | undefined;
|
|
2611
2551
|
takerBaseFee?: number | null | undefined;
|
|
@@ -2676,12 +2616,10 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2676
2616
|
updatedAt?: IsoDateTimeString | null | undefined;
|
|
2677
2617
|
forceHide?: boolean | null | undefined;
|
|
2678
2618
|
isCarousel?: boolean | null | undefined;
|
|
2679
|
-
requiresTranslation?: boolean | null | undefined;
|
|
2680
2619
|
activeEventsCount?: number | null | undefined;
|
|
2681
2620
|
}[] | null | undefined;
|
|
2682
2621
|
cyom?: boolean | null | undefined;
|
|
2683
2622
|
competitive?: number | null | undefined;
|
|
2684
|
-
pagerDutyNotificationEnabled?: boolean | null | undefined;
|
|
2685
2623
|
approved?: boolean | null | undefined;
|
|
2686
2624
|
clobRewards?: {
|
|
2687
2625
|
id: ClobRewardId;
|
|
@@ -2729,7 +2667,6 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2729
2667
|
}[] | null | undefined;
|
|
2730
2668
|
holdingRewardsEnabled?: boolean | null | undefined;
|
|
2731
2669
|
feesEnabled?: boolean | null | undefined;
|
|
2732
|
-
requiresTranslation?: boolean | null | undefined;
|
|
2733
2670
|
makerRebatesFeeShareBps?: number | null | undefined;
|
|
2734
2671
|
feeType?: string | null | undefined;
|
|
2735
2672
|
feeSchedule?: {
|
|
@@ -2774,7 +2711,6 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2774
2711
|
cgAssetName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2775
2712
|
score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2776
2713
|
commentCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2777
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2778
2714
|
}, z.core.$strip>>>>;
|
|
2779
2715
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2780
2716
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<CategoryId, string>>;
|
|
@@ -2828,7 +2764,6 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2828
2764
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
2829
2765
|
forceHide: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2830
2766
|
isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2831
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2832
2767
|
activeEventsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2833
2768
|
}, z.core.$strip>>>>;
|
|
2834
2769
|
tag_labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -2919,7 +2854,6 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2919
2854
|
}, z.core.$strip>>>>;
|
|
2920
2855
|
homeTeamName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2921
2856
|
awayTeamName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2922
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2923
2857
|
turnProviderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2924
2858
|
lastHighlight: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2925
2859
|
lastHighlightType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2937,6 +2871,7 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2937
2871
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
2938
2872
|
providerId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2939
2873
|
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2874
|
+
ordering: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof TeamOrdering>>>;
|
|
2940
2875
|
}, z.core.$strip>>>>;
|
|
2941
2876
|
sport: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2942
2877
|
id: z.ZodPipe<z.ZodNumber, z.ZodTransform<SportId, number>>;
|
|
@@ -2967,6 +2902,7 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2967
2902
|
}, z.core.$strip>;
|
|
2968
2903
|
declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
2969
2904
|
id: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodNumber, z.ZodTransform<string, number>>]>, z.ZodTransform<EventId, string>>;
|
|
2905
|
+
version: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof ProtocolVersion>>>;
|
|
2970
2906
|
ticker: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2971
2907
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2972
2908
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3007,7 +2943,6 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3007
2943
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3008
2944
|
parentEventId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodNumber, z.ZodTransform<string, number>>]>, z.ZodTransform<EventId, string>>>>;
|
|
3009
2945
|
enableOrderBook: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3010
|
-
liquidityAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
3011
2946
|
liquidityClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
3012
2947
|
negRisk: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3013
2948
|
negRiskMarketID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3052,6 +2987,7 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3052
2987
|
subEvents: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
3053
2988
|
markets: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
3054
2989
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
2990
|
+
version: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof ProtocolVersion>>>;
|
|
3055
2991
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3056
2992
|
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodCustom<ConditionId, ConditionId>>>>, z.ZodTransform<ConditionId | null, ConditionId | null | undefined>>;
|
|
3057
2993
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3059,7 +2995,6 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3059
2995
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3060
2996
|
endDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
3061
2997
|
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3062
|
-
ammType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3063
2998
|
liquidity: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
3064
2999
|
sponsorName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3065
3000
|
sponsorImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3082,7 +3017,6 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3082
3017
|
lowerBoundDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoCalendarDateString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoCalendarDateString, Date>>]>>>;
|
|
3083
3018
|
upperBoundDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoCalendarDateString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoCalendarDateString, Date>>]>>>;
|
|
3084
3019
|
closed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3085
|
-
marketMakerAddress: z.ZodString;
|
|
3086
3020
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3087
3021
|
updatedBy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3088
3022
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
@@ -3127,6 +3061,7 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3127
3061
|
gameStartTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
3128
3062
|
secondsDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3129
3063
|
clobTokenIds: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<TokenId, string>>>>>>, z.ZodTransform<TokenId[], TokenId[] | null | undefined>>;
|
|
3064
|
+
comboStatus: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | ComboKnownStatus, string>>>>;
|
|
3130
3065
|
positionIds: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<PositionId, string>>>>>>, z.ZodTransform<PositionId[], PositionId[] | null | undefined>>;
|
|
3131
3066
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3132
3067
|
shortOutcomes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3134,18 +3069,11 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3134
3069
|
teamBID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3135
3070
|
umaBond: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
3136
3071
|
umaReward: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
3137
|
-
fpmmLive: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3138
|
-
volume24hrAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
3139
|
-
volume1wkAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
3140
|
-
volume1moAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
3141
|
-
volume1yrAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
3142
3072
|
volume24hrClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
3143
3073
|
volume1wkClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
3144
3074
|
volume1moClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
3145
3075
|
volume1yrClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
3146
|
-
volumeAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
3147
3076
|
volumeClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
3148
|
-
liquidityAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
3149
3077
|
liquidityClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
3150
3078
|
makerBaseFee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3151
3079
|
takerBaseFee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -3217,12 +3145,10 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3217
3145
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
3218
3146
|
forceHide: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3219
3147
|
isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3220
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3221
3148
|
activeEventsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3222
3149
|
}, z.core.$strip>>>>;
|
|
3223
3150
|
cyom: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3224
3151
|
competitive: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3225
|
-
pagerDutyNotificationEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3226
3152
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3227
3153
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3228
3154
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
@@ -3270,7 +3196,6 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3270
3196
|
}, z.core.$strip>>>>;
|
|
3271
3197
|
holdingRewardsEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3272
3198
|
feesEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3273
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3274
3199
|
makerRebatesFeeShareBps: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3275
3200
|
feeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3276
3201
|
feeSchedule: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -3284,20 +3209,19 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3284
3209
|
conditionId: ConditionId | null;
|
|
3285
3210
|
outcomes: string[];
|
|
3286
3211
|
outcomePrices: DecimalString[];
|
|
3287
|
-
marketMakerAddress: string;
|
|
3288
3212
|
resolvedBy: _polymarket_types.EvmAddress | null;
|
|
3289
3213
|
questionID: QuestionId | null;
|
|
3290
3214
|
umaResolutionStatus: UmaResolutionStatus | null;
|
|
3291
3215
|
clobTokenIds: TokenId[];
|
|
3292
3216
|
positionIds: PositionId[];
|
|
3293
3217
|
negRiskRequestID: ResolutionRequestId | null;
|
|
3218
|
+
version?: ProtocolVersion | null | undefined;
|
|
3294
3219
|
question?: string | null | undefined;
|
|
3295
3220
|
slug?: string | null | undefined;
|
|
3296
3221
|
twitterCardImage?: string | null | undefined;
|
|
3297
3222
|
resolutionSource?: string | null | undefined;
|
|
3298
3223
|
endDate?: IsoDateTimeString | null | undefined;
|
|
3299
3224
|
category?: string | null | undefined;
|
|
3300
|
-
ammType?: string | null | undefined;
|
|
3301
3225
|
liquidity?: DecimalString | null | undefined;
|
|
3302
3226
|
sponsorName?: string | null | undefined;
|
|
3303
3227
|
sponsorImage?: string | null | undefined;
|
|
@@ -3358,24 +3282,18 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3358
3282
|
volume1yr?: DecimalString | null | undefined;
|
|
3359
3283
|
gameStartTime?: IsoDateTimeString | null | undefined;
|
|
3360
3284
|
secondsDelay?: number | null | undefined;
|
|
3285
|
+
comboStatus?: (string & {}) | ComboKnownStatus | null | undefined;
|
|
3361
3286
|
disqusThread?: string | null | undefined;
|
|
3362
3287
|
shortOutcomes?: string | null | undefined;
|
|
3363
3288
|
teamAID?: string | null | undefined;
|
|
3364
3289
|
teamBID?: string | null | undefined;
|
|
3365
3290
|
umaBond?: DecimalString | null | undefined;
|
|
3366
3291
|
umaReward?: DecimalString | null | undefined;
|
|
3367
|
-
fpmmLive?: boolean | null | undefined;
|
|
3368
|
-
volume24hrAmm?: DecimalString | null | undefined;
|
|
3369
|
-
volume1wkAmm?: DecimalString | null | undefined;
|
|
3370
|
-
volume1moAmm?: DecimalString | null | undefined;
|
|
3371
|
-
volume1yrAmm?: DecimalString | null | undefined;
|
|
3372
3292
|
volume24hrClob?: DecimalString | null | undefined;
|
|
3373
3293
|
volume1wkClob?: DecimalString | null | undefined;
|
|
3374
3294
|
volume1moClob?: DecimalString | null | undefined;
|
|
3375
3295
|
volume1yrClob?: DecimalString | null | undefined;
|
|
3376
|
-
volumeAmm?: DecimalString | null | undefined;
|
|
3377
3296
|
volumeClob?: DecimalString | null | undefined;
|
|
3378
|
-
liquidityAmm?: DecimalString | null | undefined;
|
|
3379
3297
|
liquidityClob?: DecimalString | null | undefined;
|
|
3380
3298
|
makerBaseFee?: number | null | undefined;
|
|
3381
3299
|
takerBaseFee?: number | null | undefined;
|
|
@@ -3446,12 +3364,10 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3446
3364
|
updatedAt?: IsoDateTimeString | null | undefined;
|
|
3447
3365
|
forceHide?: boolean | null | undefined;
|
|
3448
3366
|
isCarousel?: boolean | null | undefined;
|
|
3449
|
-
requiresTranslation?: boolean | null | undefined;
|
|
3450
3367
|
activeEventsCount?: number | null | undefined;
|
|
3451
3368
|
}[] | null | undefined;
|
|
3452
3369
|
cyom?: boolean | null | undefined;
|
|
3453
3370
|
competitive?: number | null | undefined;
|
|
3454
|
-
pagerDutyNotificationEnabled?: boolean | null | undefined;
|
|
3455
3371
|
approved?: boolean | null | undefined;
|
|
3456
3372
|
clobRewards?: {
|
|
3457
3373
|
id: ClobRewardId;
|
|
@@ -3499,7 +3415,6 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3499
3415
|
}[] | null | undefined;
|
|
3500
3416
|
holdingRewardsEnabled?: boolean | null | undefined;
|
|
3501
3417
|
feesEnabled?: boolean | null | undefined;
|
|
3502
|
-
requiresTranslation?: boolean | null | undefined;
|
|
3503
3418
|
makerRebatesFeeShareBps?: number | null | undefined;
|
|
3504
3419
|
feeType?: string | null | undefined;
|
|
3505
3420
|
feeSchedule?: {
|
|
@@ -3544,7 +3459,6 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3544
3459
|
cgAssetName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3545
3460
|
score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3546
3461
|
commentCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3547
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3548
3462
|
}, z.core.$strip>>>>;
|
|
3549
3463
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3550
3464
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<CategoryId, string>>;
|
|
@@ -3598,7 +3512,6 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3598
3512
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
3599
3513
|
forceHide: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3600
3514
|
isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3601
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3602
3515
|
activeEventsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3603
3516
|
}, z.core.$strip>>>>;
|
|
3604
3517
|
tag_labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -3689,7 +3602,6 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3689
3602
|
}, z.core.$strip>>>>;
|
|
3690
3603
|
homeTeamName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3691
3604
|
awayTeamName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3692
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3693
3605
|
turnProviderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3694
3606
|
lastHighlight: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3695
3607
|
lastHighlightType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3707,6 +3619,7 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3707
3619
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
3708
3620
|
providerId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3709
3621
|
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3622
|
+
ordering: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof TeamOrdering>>>;
|
|
3710
3623
|
}, z.core.$strip>>>>;
|
|
3711
3624
|
sport: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3712
3625
|
id: z.ZodPipe<z.ZodNumber, z.ZodTransform<SportId, number>>;
|
|
@@ -3736,6 +3649,7 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3736
3649
|
}, z.core.$strip>>>>;
|
|
3737
3650
|
}, z.core.$strip>, z.ZodTransform<Event, {
|
|
3738
3651
|
id: EventId;
|
|
3652
|
+
version?: ProtocolVersion | null | undefined;
|
|
3739
3653
|
ticker?: string | null | undefined;
|
|
3740
3654
|
slug?: string | null | undefined;
|
|
3741
3655
|
title?: string | null | undefined;
|
|
@@ -3776,7 +3690,6 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3776
3690
|
disqusThread?: string | null | undefined;
|
|
3777
3691
|
parentEventId?: EventId | null | undefined;
|
|
3778
3692
|
enableOrderBook?: boolean | null | undefined;
|
|
3779
|
-
liquidityAmm?: DecimalString | null | undefined;
|
|
3780
3693
|
liquidityClob?: DecimalString | null | undefined;
|
|
3781
3694
|
negRisk?: boolean | null | undefined;
|
|
3782
3695
|
negRiskMarketID?: string | null | undefined;
|
|
@@ -3855,7 +3768,6 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3855
3768
|
cgAssetName?: string | null | undefined;
|
|
3856
3769
|
score?: number | null | undefined;
|
|
3857
3770
|
commentCount?: number | null | undefined;
|
|
3858
|
-
requiresTranslation?: boolean | null | undefined;
|
|
3859
3771
|
}[] | null | undefined;
|
|
3860
3772
|
categories?: {
|
|
3861
3773
|
id: CategoryId;
|
|
@@ -3909,7 +3821,6 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3909
3821
|
updatedAt?: IsoDateTimeString | null | undefined;
|
|
3910
3822
|
forceHide?: boolean | null | undefined;
|
|
3911
3823
|
isCarousel?: boolean | null | undefined;
|
|
3912
|
-
requiresTranslation?: boolean | null | undefined;
|
|
3913
3824
|
activeEventsCount?: number | null | undefined;
|
|
3914
3825
|
}[] | null | undefined;
|
|
3915
3826
|
tag_labels?: string[] | null | undefined;
|
|
@@ -4000,7 +3911,6 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
4000
3911
|
}[] | null | undefined;
|
|
4001
3912
|
homeTeamName?: string | null | undefined;
|
|
4002
3913
|
awayTeamName?: string | null | undefined;
|
|
4003
|
-
requiresTranslation?: boolean | null | undefined;
|
|
4004
3914
|
turnProviderId?: string | null | undefined;
|
|
4005
3915
|
lastHighlight?: string | null | undefined;
|
|
4006
3916
|
lastHighlightType?: string | null | undefined;
|
|
@@ -4018,6 +3928,7 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
4018
3928
|
updatedAt?: IsoDateTimeString | null | undefined;
|
|
4019
3929
|
providerId?: number | null | undefined;
|
|
4020
3930
|
color?: string | null | undefined;
|
|
3931
|
+
ordering?: TeamOrdering | null | undefined;
|
|
4021
3932
|
}[] | null | undefined;
|
|
4022
3933
|
sport?: {
|
|
4023
3934
|
id: SportId;
|
|
@@ -4048,6 +3959,7 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
4048
3959
|
}>>;
|
|
4049
3960
|
declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
4050
3961
|
id: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodNumber, z.ZodTransform<string, number>>]>, z.ZodTransform<EventId, string>>;
|
|
3962
|
+
version: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof ProtocolVersion>>>;
|
|
4051
3963
|
ticker: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4052
3964
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4053
3965
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4088,7 +4000,6 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4088
4000
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4089
4001
|
parentEventId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodNumber, z.ZodTransform<string, number>>]>, z.ZodTransform<EventId, string>>>>;
|
|
4090
4002
|
enableOrderBook: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4091
|
-
liquidityAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
4092
4003
|
liquidityClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
4093
4004
|
negRisk: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4094
4005
|
negRiskMarketID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4133,6 +4044,7 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4133
4044
|
subEvents: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
4134
4045
|
markets: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
4135
4046
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
4047
|
+
version: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof ProtocolVersion>>>;
|
|
4136
4048
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4137
4049
|
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodCustom<ConditionId, ConditionId>>>>, z.ZodTransform<ConditionId | null, ConditionId | null | undefined>>;
|
|
4138
4050
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4140,7 +4052,6 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4140
4052
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4141
4053
|
endDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
4142
4054
|
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4143
|
-
ammType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4144
4055
|
liquidity: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
4145
4056
|
sponsorName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4146
4057
|
sponsorImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4163,7 +4074,6 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4163
4074
|
lowerBoundDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoCalendarDateString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoCalendarDateString, Date>>]>>>;
|
|
4164
4075
|
upperBoundDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoCalendarDateString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoCalendarDateString, Date>>]>>>;
|
|
4165
4076
|
closed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4166
|
-
marketMakerAddress: z.ZodString;
|
|
4167
4077
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4168
4078
|
updatedBy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4169
4079
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
@@ -4208,6 +4118,7 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4208
4118
|
gameStartTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
4209
4119
|
secondsDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4210
4120
|
clobTokenIds: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<TokenId, string>>>>>>, z.ZodTransform<TokenId[], TokenId[] | null | undefined>>;
|
|
4121
|
+
comboStatus: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | ComboKnownStatus, string>>>>;
|
|
4211
4122
|
positionIds: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<PositionId, string>>>>>>, z.ZodTransform<PositionId[], PositionId[] | null | undefined>>;
|
|
4212
4123
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4213
4124
|
shortOutcomes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4215,18 +4126,11 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4215
4126
|
teamBID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4216
4127
|
umaBond: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
4217
4128
|
umaReward: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
4218
|
-
fpmmLive: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4219
|
-
volume24hrAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
4220
|
-
volume1wkAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
4221
|
-
volume1moAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
4222
|
-
volume1yrAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
4223
4129
|
volume24hrClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
4224
4130
|
volume1wkClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
4225
4131
|
volume1moClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
4226
4132
|
volume1yrClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
4227
|
-
volumeAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
4228
4133
|
volumeClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
4229
|
-
liquidityAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
4230
4134
|
liquidityClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
4231
4135
|
makerBaseFee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4232
4136
|
takerBaseFee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -4298,12 +4202,10 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4298
4202
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
4299
4203
|
forceHide: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4300
4204
|
isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4301
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4302
4205
|
activeEventsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4303
4206
|
}, z.core.$strip>>>>;
|
|
4304
4207
|
cyom: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4305
4208
|
competitive: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4306
|
-
pagerDutyNotificationEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4307
4209
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4308
4210
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
4309
4211
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
@@ -4351,7 +4253,6 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4351
4253
|
}, z.core.$strip>>>>;
|
|
4352
4254
|
holdingRewardsEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4353
4255
|
feesEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4354
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4355
4256
|
makerRebatesFeeShareBps: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4356
4257
|
feeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4357
4258
|
feeSchedule: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -4365,20 +4266,19 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4365
4266
|
conditionId: ConditionId | null;
|
|
4366
4267
|
outcomes: string[];
|
|
4367
4268
|
outcomePrices: DecimalString[];
|
|
4368
|
-
marketMakerAddress: string;
|
|
4369
4269
|
resolvedBy: _polymarket_types.EvmAddress | null;
|
|
4370
4270
|
questionID: QuestionId | null;
|
|
4371
4271
|
umaResolutionStatus: UmaResolutionStatus | null;
|
|
4372
4272
|
clobTokenIds: TokenId[];
|
|
4373
4273
|
positionIds: PositionId[];
|
|
4374
4274
|
negRiskRequestID: ResolutionRequestId | null;
|
|
4275
|
+
version?: ProtocolVersion | null | undefined;
|
|
4375
4276
|
question?: string | null | undefined;
|
|
4376
4277
|
slug?: string | null | undefined;
|
|
4377
4278
|
twitterCardImage?: string | null | undefined;
|
|
4378
4279
|
resolutionSource?: string | null | undefined;
|
|
4379
4280
|
endDate?: IsoDateTimeString | null | undefined;
|
|
4380
4281
|
category?: string | null | undefined;
|
|
4381
|
-
ammType?: string | null | undefined;
|
|
4382
4282
|
liquidity?: DecimalString | null | undefined;
|
|
4383
4283
|
sponsorName?: string | null | undefined;
|
|
4384
4284
|
sponsorImage?: string | null | undefined;
|
|
@@ -4439,24 +4339,18 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4439
4339
|
volume1yr?: DecimalString | null | undefined;
|
|
4440
4340
|
gameStartTime?: IsoDateTimeString | null | undefined;
|
|
4441
4341
|
secondsDelay?: number | null | undefined;
|
|
4342
|
+
comboStatus?: (string & {}) | ComboKnownStatus | null | undefined;
|
|
4442
4343
|
disqusThread?: string | null | undefined;
|
|
4443
4344
|
shortOutcomes?: string | null | undefined;
|
|
4444
4345
|
teamAID?: string | null | undefined;
|
|
4445
4346
|
teamBID?: string | null | undefined;
|
|
4446
4347
|
umaBond?: DecimalString | null | undefined;
|
|
4447
4348
|
umaReward?: DecimalString | null | undefined;
|
|
4448
|
-
fpmmLive?: boolean | null | undefined;
|
|
4449
|
-
volume24hrAmm?: DecimalString | null | undefined;
|
|
4450
|
-
volume1wkAmm?: DecimalString | null | undefined;
|
|
4451
|
-
volume1moAmm?: DecimalString | null | undefined;
|
|
4452
|
-
volume1yrAmm?: DecimalString | null | undefined;
|
|
4453
4349
|
volume24hrClob?: DecimalString | null | undefined;
|
|
4454
4350
|
volume1wkClob?: DecimalString | null | undefined;
|
|
4455
4351
|
volume1moClob?: DecimalString | null | undefined;
|
|
4456
4352
|
volume1yrClob?: DecimalString | null | undefined;
|
|
4457
|
-
volumeAmm?: DecimalString | null | undefined;
|
|
4458
4353
|
volumeClob?: DecimalString | null | undefined;
|
|
4459
|
-
liquidityAmm?: DecimalString | null | undefined;
|
|
4460
4354
|
liquidityClob?: DecimalString | null | undefined;
|
|
4461
4355
|
makerBaseFee?: number | null | undefined;
|
|
4462
4356
|
takerBaseFee?: number | null | undefined;
|
|
@@ -4527,12 +4421,10 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4527
4421
|
updatedAt?: IsoDateTimeString | null | undefined;
|
|
4528
4422
|
forceHide?: boolean | null | undefined;
|
|
4529
4423
|
isCarousel?: boolean | null | undefined;
|
|
4530
|
-
requiresTranslation?: boolean | null | undefined;
|
|
4531
4424
|
activeEventsCount?: number | null | undefined;
|
|
4532
4425
|
}[] | null | undefined;
|
|
4533
4426
|
cyom?: boolean | null | undefined;
|
|
4534
4427
|
competitive?: number | null | undefined;
|
|
4535
|
-
pagerDutyNotificationEnabled?: boolean | null | undefined;
|
|
4536
4428
|
approved?: boolean | null | undefined;
|
|
4537
4429
|
clobRewards?: {
|
|
4538
4430
|
id: ClobRewardId;
|
|
@@ -4580,7 +4472,6 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4580
4472
|
}[] | null | undefined;
|
|
4581
4473
|
holdingRewardsEnabled?: boolean | null | undefined;
|
|
4582
4474
|
feesEnabled?: boolean | null | undefined;
|
|
4583
|
-
requiresTranslation?: boolean | null | undefined;
|
|
4584
4475
|
makerRebatesFeeShareBps?: number | null | undefined;
|
|
4585
4476
|
feeType?: string | null | undefined;
|
|
4586
4477
|
feeSchedule?: {
|
|
@@ -4625,7 +4516,6 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4625
4516
|
cgAssetName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4626
4517
|
score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4627
4518
|
commentCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4628
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4629
4519
|
}, z.core.$strip>>>>;
|
|
4630
4520
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
4631
4521
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<CategoryId, string>>;
|
|
@@ -4679,7 +4569,6 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4679
4569
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
4680
4570
|
forceHide: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4681
4571
|
isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4682
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4683
4572
|
activeEventsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4684
4573
|
}, z.core.$strip>>>>;
|
|
4685
4574
|
tag_labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -4770,7 +4659,6 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4770
4659
|
}, z.core.$strip>>>>;
|
|
4771
4660
|
homeTeamName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4772
4661
|
awayTeamName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4773
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4774
4662
|
turnProviderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4775
4663
|
lastHighlight: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4776
4664
|
lastHighlightType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4788,6 +4676,7 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4788
4676
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
4789
4677
|
providerId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4790
4678
|
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4679
|
+
ordering: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof TeamOrdering>>>;
|
|
4791
4680
|
}, z.core.$strip>>>>;
|
|
4792
4681
|
sport: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4793
4682
|
id: z.ZodPipe<z.ZodNumber, z.ZodTransform<SportId, number>>;
|
|
@@ -4817,6 +4706,7 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4817
4706
|
}, z.core.$strip>>>>;
|
|
4818
4707
|
}, z.core.$strip>, z.ZodTransform<Event, {
|
|
4819
4708
|
id: EventId;
|
|
4709
|
+
version?: ProtocolVersion | null | undefined;
|
|
4820
4710
|
ticker?: string | null | undefined;
|
|
4821
4711
|
slug?: string | null | undefined;
|
|
4822
4712
|
title?: string | null | undefined;
|
|
@@ -4857,7 +4747,6 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4857
4747
|
disqusThread?: string | null | undefined;
|
|
4858
4748
|
parentEventId?: EventId | null | undefined;
|
|
4859
4749
|
enableOrderBook?: boolean | null | undefined;
|
|
4860
|
-
liquidityAmm?: DecimalString | null | undefined;
|
|
4861
4750
|
liquidityClob?: DecimalString | null | undefined;
|
|
4862
4751
|
negRisk?: boolean | null | undefined;
|
|
4863
4752
|
negRiskMarketID?: string | null | undefined;
|
|
@@ -4936,7 +4825,6 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4936
4825
|
cgAssetName?: string | null | undefined;
|
|
4937
4826
|
score?: number | null | undefined;
|
|
4938
4827
|
commentCount?: number | null | undefined;
|
|
4939
|
-
requiresTranslation?: boolean | null | undefined;
|
|
4940
4828
|
}[] | null | undefined;
|
|
4941
4829
|
categories?: {
|
|
4942
4830
|
id: CategoryId;
|
|
@@ -4990,7 +4878,6 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4990
4878
|
updatedAt?: IsoDateTimeString | null | undefined;
|
|
4991
4879
|
forceHide?: boolean | null | undefined;
|
|
4992
4880
|
isCarousel?: boolean | null | undefined;
|
|
4993
|
-
requiresTranslation?: boolean | null | undefined;
|
|
4994
4881
|
activeEventsCount?: number | null | undefined;
|
|
4995
4882
|
}[] | null | undefined;
|
|
4996
4883
|
tag_labels?: string[] | null | undefined;
|
|
@@ -5081,7 +4968,6 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
5081
4968
|
}[] | null | undefined;
|
|
5082
4969
|
homeTeamName?: string | null | undefined;
|
|
5083
4970
|
awayTeamName?: string | null | undefined;
|
|
5084
|
-
requiresTranslation?: boolean | null | undefined;
|
|
5085
4971
|
turnProviderId?: string | null | undefined;
|
|
5086
4972
|
lastHighlight?: string | null | undefined;
|
|
5087
4973
|
lastHighlightType?: string | null | undefined;
|
|
@@ -5099,6 +4985,7 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
5099
4985
|
updatedAt?: IsoDateTimeString | null | undefined;
|
|
5100
4986
|
providerId?: number | null | undefined;
|
|
5101
4987
|
color?: string | null | undefined;
|
|
4988
|
+
ordering?: TeamOrdering | null | undefined;
|
|
5102
4989
|
}[] | null | undefined;
|
|
5103
4990
|
sport?: {
|
|
5104
4991
|
id: SportId;
|
|
@@ -5130,6 +5017,7 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
5130
5017
|
declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
5131
5018
|
events: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
5132
5019
|
id: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodNumber, z.ZodTransform<string, number>>]>, z.ZodTransform<EventId, string>>;
|
|
5020
|
+
version: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof ProtocolVersion>>>;
|
|
5133
5021
|
ticker: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5134
5022
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5135
5023
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -5170,7 +5058,6 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5170
5058
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5171
5059
|
parentEventId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodNumber, z.ZodTransform<string, number>>]>, z.ZodTransform<EventId, string>>>>;
|
|
5172
5060
|
enableOrderBook: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5173
|
-
liquidityAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
5174
5061
|
liquidityClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
5175
5062
|
negRisk: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5176
5063
|
negRiskMarketID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -5215,6 +5102,7 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5215
5102
|
subEvents: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
5216
5103
|
markets: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
5217
5104
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
5105
|
+
version: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof ProtocolVersion>>>;
|
|
5218
5106
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5219
5107
|
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodCustom<ConditionId, ConditionId>>>>, z.ZodTransform<ConditionId | null, ConditionId | null | undefined>>;
|
|
5220
5108
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -5222,7 +5110,6 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5222
5110
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5223
5111
|
endDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
5224
5112
|
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5225
|
-
ammType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5226
5113
|
liquidity: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
5227
5114
|
sponsorName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5228
5115
|
sponsorImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -5245,7 +5132,6 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5245
5132
|
lowerBoundDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoCalendarDateString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoCalendarDateString, Date>>]>>>;
|
|
5246
5133
|
upperBoundDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoCalendarDateString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoCalendarDateString, Date>>]>>>;
|
|
5247
5134
|
closed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5248
|
-
marketMakerAddress: z.ZodString;
|
|
5249
5135
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5250
5136
|
updatedBy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5251
5137
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
@@ -5290,6 +5176,7 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5290
5176
|
gameStartTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
5291
5177
|
secondsDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5292
5178
|
clobTokenIds: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<TokenId, string>>>>>>, z.ZodTransform<TokenId[], TokenId[] | null | undefined>>;
|
|
5179
|
+
comboStatus: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | ComboKnownStatus, string>>>>;
|
|
5293
5180
|
positionIds: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<PositionId, string>>>>>>, z.ZodTransform<PositionId[], PositionId[] | null | undefined>>;
|
|
5294
5181
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5295
5182
|
shortOutcomes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -5297,18 +5184,11 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5297
5184
|
teamBID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5298
5185
|
umaBond: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
5299
5186
|
umaReward: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
5300
|
-
fpmmLive: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5301
|
-
volume24hrAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
5302
|
-
volume1wkAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
5303
|
-
volume1moAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
5304
|
-
volume1yrAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
5305
5187
|
volume24hrClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
5306
5188
|
volume1wkClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
5307
5189
|
volume1moClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
5308
5190
|
volume1yrClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
5309
|
-
volumeAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
5310
5191
|
volumeClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
5311
|
-
liquidityAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
5312
5192
|
liquidityClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
5313
5193
|
makerBaseFee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5314
5194
|
takerBaseFee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -5380,12 +5260,10 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5380
5260
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
5381
5261
|
forceHide: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5382
5262
|
isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5383
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5384
5263
|
activeEventsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5385
5264
|
}, z.core.$strip>>>>;
|
|
5386
5265
|
cyom: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5387
5266
|
competitive: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5388
|
-
pagerDutyNotificationEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5389
5267
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5390
5268
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
5391
5269
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
@@ -5433,7 +5311,6 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5433
5311
|
}, z.core.$strip>>>>;
|
|
5434
5312
|
holdingRewardsEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5435
5313
|
feesEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5436
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5437
5314
|
makerRebatesFeeShareBps: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5438
5315
|
feeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5439
5316
|
feeSchedule: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -5447,20 +5324,19 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5447
5324
|
conditionId: ConditionId | null;
|
|
5448
5325
|
outcomes: string[];
|
|
5449
5326
|
outcomePrices: DecimalString[];
|
|
5450
|
-
marketMakerAddress: string;
|
|
5451
5327
|
resolvedBy: _polymarket_types.EvmAddress | null;
|
|
5452
5328
|
questionID: QuestionId | null;
|
|
5453
5329
|
umaResolutionStatus: UmaResolutionStatus | null;
|
|
5454
5330
|
clobTokenIds: TokenId[];
|
|
5455
5331
|
positionIds: PositionId[];
|
|
5456
5332
|
negRiskRequestID: ResolutionRequestId | null;
|
|
5333
|
+
version?: ProtocolVersion | null | undefined;
|
|
5457
5334
|
question?: string | null | undefined;
|
|
5458
5335
|
slug?: string | null | undefined;
|
|
5459
5336
|
twitterCardImage?: string | null | undefined;
|
|
5460
5337
|
resolutionSource?: string | null | undefined;
|
|
5461
5338
|
endDate?: IsoDateTimeString | null | undefined;
|
|
5462
5339
|
category?: string | null | undefined;
|
|
5463
|
-
ammType?: string | null | undefined;
|
|
5464
5340
|
liquidity?: DecimalString | null | undefined;
|
|
5465
5341
|
sponsorName?: string | null | undefined;
|
|
5466
5342
|
sponsorImage?: string | null | undefined;
|
|
@@ -5521,24 +5397,18 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5521
5397
|
volume1yr?: DecimalString | null | undefined;
|
|
5522
5398
|
gameStartTime?: IsoDateTimeString | null | undefined;
|
|
5523
5399
|
secondsDelay?: number | null | undefined;
|
|
5400
|
+
comboStatus?: (string & {}) | ComboKnownStatus | null | undefined;
|
|
5524
5401
|
disqusThread?: string | null | undefined;
|
|
5525
5402
|
shortOutcomes?: string | null | undefined;
|
|
5526
5403
|
teamAID?: string | null | undefined;
|
|
5527
5404
|
teamBID?: string | null | undefined;
|
|
5528
5405
|
umaBond?: DecimalString | null | undefined;
|
|
5529
5406
|
umaReward?: DecimalString | null | undefined;
|
|
5530
|
-
fpmmLive?: boolean | null | undefined;
|
|
5531
|
-
volume24hrAmm?: DecimalString | null | undefined;
|
|
5532
|
-
volume1wkAmm?: DecimalString | null | undefined;
|
|
5533
|
-
volume1moAmm?: DecimalString | null | undefined;
|
|
5534
|
-
volume1yrAmm?: DecimalString | null | undefined;
|
|
5535
5407
|
volume24hrClob?: DecimalString | null | undefined;
|
|
5536
5408
|
volume1wkClob?: DecimalString | null | undefined;
|
|
5537
5409
|
volume1moClob?: DecimalString | null | undefined;
|
|
5538
5410
|
volume1yrClob?: DecimalString | null | undefined;
|
|
5539
|
-
volumeAmm?: DecimalString | null | undefined;
|
|
5540
5411
|
volumeClob?: DecimalString | null | undefined;
|
|
5541
|
-
liquidityAmm?: DecimalString | null | undefined;
|
|
5542
5412
|
liquidityClob?: DecimalString | null | undefined;
|
|
5543
5413
|
makerBaseFee?: number | null | undefined;
|
|
5544
5414
|
takerBaseFee?: number | null | undefined;
|
|
@@ -5609,12 +5479,10 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5609
5479
|
updatedAt?: IsoDateTimeString | null | undefined;
|
|
5610
5480
|
forceHide?: boolean | null | undefined;
|
|
5611
5481
|
isCarousel?: boolean | null | undefined;
|
|
5612
|
-
requiresTranslation?: boolean | null | undefined;
|
|
5613
5482
|
activeEventsCount?: number | null | undefined;
|
|
5614
5483
|
}[] | null | undefined;
|
|
5615
5484
|
cyom?: boolean | null | undefined;
|
|
5616
5485
|
competitive?: number | null | undefined;
|
|
5617
|
-
pagerDutyNotificationEnabled?: boolean | null | undefined;
|
|
5618
5486
|
approved?: boolean | null | undefined;
|
|
5619
5487
|
clobRewards?: {
|
|
5620
5488
|
id: ClobRewardId;
|
|
@@ -5662,7 +5530,6 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5662
5530
|
}[] | null | undefined;
|
|
5663
5531
|
holdingRewardsEnabled?: boolean | null | undefined;
|
|
5664
5532
|
feesEnabled?: boolean | null | undefined;
|
|
5665
|
-
requiresTranslation?: boolean | null | undefined;
|
|
5666
5533
|
makerRebatesFeeShareBps?: number | null | undefined;
|
|
5667
5534
|
feeType?: string | null | undefined;
|
|
5668
5535
|
feeSchedule?: {
|
|
@@ -5707,7 +5574,6 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5707
5574
|
cgAssetName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5708
5575
|
score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5709
5576
|
commentCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5710
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5711
5577
|
}, z.core.$strip>>>>;
|
|
5712
5578
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
5713
5579
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<CategoryId, string>>;
|
|
@@ -5761,7 +5627,6 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5761
5627
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
5762
5628
|
forceHide: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5763
5629
|
isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5764
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5765
5630
|
activeEventsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5766
5631
|
}, z.core.$strip>>>>;
|
|
5767
5632
|
tag_labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -5852,7 +5717,6 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5852
5717
|
}, z.core.$strip>>>>;
|
|
5853
5718
|
homeTeamName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5854
5719
|
awayTeamName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5855
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5856
5720
|
turnProviderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5857
5721
|
lastHighlight: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5858
5722
|
lastHighlightType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -5870,6 +5734,7 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5870
5734
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
5871
5735
|
providerId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5872
5736
|
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5737
|
+
ordering: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof TeamOrdering>>>;
|
|
5873
5738
|
}, z.core.$strip>>>>;
|
|
5874
5739
|
sport: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5875
5740
|
id: z.ZodPipe<z.ZodNumber, z.ZodTransform<SportId, number>>;
|
|
@@ -5899,6 +5764,7 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5899
5764
|
}, z.core.$strip>>>>;
|
|
5900
5765
|
}, z.core.$strip>, z.ZodTransform<Event, {
|
|
5901
5766
|
id: EventId;
|
|
5767
|
+
version?: ProtocolVersion | null | undefined;
|
|
5902
5768
|
ticker?: string | null | undefined;
|
|
5903
5769
|
slug?: string | null | undefined;
|
|
5904
5770
|
title?: string | null | undefined;
|
|
@@ -5939,7 +5805,6 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5939
5805
|
disqusThread?: string | null | undefined;
|
|
5940
5806
|
parentEventId?: EventId | null | undefined;
|
|
5941
5807
|
enableOrderBook?: boolean | null | undefined;
|
|
5942
|
-
liquidityAmm?: DecimalString | null | undefined;
|
|
5943
5808
|
liquidityClob?: DecimalString | null | undefined;
|
|
5944
5809
|
negRisk?: boolean | null | undefined;
|
|
5945
5810
|
negRiskMarketID?: string | null | undefined;
|
|
@@ -6018,7 +5883,6 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
6018
5883
|
cgAssetName?: string | null | undefined;
|
|
6019
5884
|
score?: number | null | undefined;
|
|
6020
5885
|
commentCount?: number | null | undefined;
|
|
6021
|
-
requiresTranslation?: boolean | null | undefined;
|
|
6022
5886
|
}[] | null | undefined;
|
|
6023
5887
|
categories?: {
|
|
6024
5888
|
id: CategoryId;
|
|
@@ -6072,7 +5936,6 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
6072
5936
|
updatedAt?: IsoDateTimeString | null | undefined;
|
|
6073
5937
|
forceHide?: boolean | null | undefined;
|
|
6074
5938
|
isCarousel?: boolean | null | undefined;
|
|
6075
|
-
requiresTranslation?: boolean | null | undefined;
|
|
6076
5939
|
activeEventsCount?: number | null | undefined;
|
|
6077
5940
|
}[] | null | undefined;
|
|
6078
5941
|
tag_labels?: string[] | null | undefined;
|
|
@@ -6163,7 +6026,6 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
6163
6026
|
}[] | null | undefined;
|
|
6164
6027
|
homeTeamName?: string | null | undefined;
|
|
6165
6028
|
awayTeamName?: string | null | undefined;
|
|
6166
|
-
requiresTranslation?: boolean | null | undefined;
|
|
6167
6029
|
turnProviderId?: string | null | undefined;
|
|
6168
6030
|
lastHighlight?: string | null | undefined;
|
|
6169
6031
|
lastHighlightType?: string | null | undefined;
|
|
@@ -6181,6 +6043,7 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
6181
6043
|
updatedAt?: IsoDateTimeString | null | undefined;
|
|
6182
6044
|
providerId?: number | null | undefined;
|
|
6183
6045
|
color?: string | null | undefined;
|
|
6046
|
+
ordering?: TeamOrdering | null | undefined;
|
|
6184
6047
|
}[] | null | undefined;
|
|
6185
6048
|
sport?: {
|
|
6186
6049
|
id: SportId;
|
|
@@ -6229,7 +6092,6 @@ declare const FetchEventTagsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
6229
6092
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
6230
6093
|
forceHide: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6231
6094
|
isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6232
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6233
6095
|
activeEventsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6234
6096
|
}, z.core.$strip>>;
|
|
6235
6097
|
type GammaEvent = z.infer<typeof GammaEventSchema>;
|
|
@@ -6511,6 +6373,7 @@ declare const SearchPaginationSchema: z.ZodObject<{
|
|
|
6511
6373
|
declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
6512
6374
|
events: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
6513
6375
|
id: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodNumber, z.ZodTransform<string, number>>]>, z.ZodTransform<EventId, string>>;
|
|
6376
|
+
version: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof ProtocolVersion>>>;
|
|
6514
6377
|
ticker: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6515
6378
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6516
6379
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -6551,7 +6414,6 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
6551
6414
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6552
6415
|
parentEventId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodNumber, z.ZodTransform<string, number>>]>, z.ZodTransform<EventId, string>>>>;
|
|
6553
6416
|
enableOrderBook: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6554
|
-
liquidityAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
6555
6417
|
liquidityClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
6556
6418
|
negRisk: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6557
6419
|
negRiskMarketID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -6596,6 +6458,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
6596
6458
|
subEvents: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6597
6459
|
markets: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
6598
6460
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
6461
|
+
version: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof ProtocolVersion>>>;
|
|
6599
6462
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6600
6463
|
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodCustom<ConditionId, ConditionId>>>>, z.ZodTransform<ConditionId | null, ConditionId | null | undefined>>;
|
|
6601
6464
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -6603,7 +6466,6 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
6603
6466
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6604
6467
|
endDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
6605
6468
|
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6606
|
-
ammType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6607
6469
|
liquidity: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
6608
6470
|
sponsorName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6609
6471
|
sponsorImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -6626,7 +6488,6 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
6626
6488
|
lowerBoundDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoCalendarDateString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoCalendarDateString, Date>>]>>>;
|
|
6627
6489
|
upperBoundDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoCalendarDateString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoCalendarDateString, Date>>]>>>;
|
|
6628
6490
|
closed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6629
|
-
marketMakerAddress: z.ZodString;
|
|
6630
6491
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6631
6492
|
updatedBy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6632
6493
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
@@ -6671,6 +6532,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
6671
6532
|
gameStartTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
6672
6533
|
secondsDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6673
6534
|
clobTokenIds: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<TokenId, string>>>>>>, z.ZodTransform<TokenId[], TokenId[] | null | undefined>>;
|
|
6535
|
+
comboStatus: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | ComboKnownStatus, string>>>>;
|
|
6674
6536
|
positionIds: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<PositionId, string>>>>>>, z.ZodTransform<PositionId[], PositionId[] | null | undefined>>;
|
|
6675
6537
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6676
6538
|
shortOutcomes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -6678,18 +6540,11 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
6678
6540
|
teamBID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6679
6541
|
umaBond: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
6680
6542
|
umaReward: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
6681
|
-
fpmmLive: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6682
|
-
volume24hrAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
6683
|
-
volume1wkAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
6684
|
-
volume1moAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
6685
|
-
volume1yrAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
6686
6543
|
volume24hrClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
6687
6544
|
volume1wkClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
6688
6545
|
volume1moClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
6689
6546
|
volume1yrClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
6690
|
-
volumeAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
6691
6547
|
volumeClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
6692
|
-
liquidityAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
6693
6548
|
liquidityClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
6694
6549
|
makerBaseFee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6695
6550
|
takerBaseFee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -6761,12 +6616,10 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
6761
6616
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
6762
6617
|
forceHide: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6763
6618
|
isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6764
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6765
6619
|
activeEventsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6766
6620
|
}, z.core.$strip>>>>;
|
|
6767
6621
|
cyom: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6768
6622
|
competitive: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6769
|
-
pagerDutyNotificationEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6770
6623
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6771
6624
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
6772
6625
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
@@ -6814,7 +6667,6 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
6814
6667
|
}, z.core.$strip>>>>;
|
|
6815
6668
|
holdingRewardsEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6816
6669
|
feesEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6817
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6818
6670
|
makerRebatesFeeShareBps: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6819
6671
|
feeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6820
6672
|
feeSchedule: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -6828,20 +6680,19 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
6828
6680
|
conditionId: ConditionId | null;
|
|
6829
6681
|
outcomes: string[];
|
|
6830
6682
|
outcomePrices: DecimalString[];
|
|
6831
|
-
marketMakerAddress: string;
|
|
6832
6683
|
resolvedBy: _polymarket_types.EvmAddress | null;
|
|
6833
6684
|
questionID: QuestionId | null;
|
|
6834
6685
|
umaResolutionStatus: UmaResolutionStatus | null;
|
|
6835
6686
|
clobTokenIds: TokenId[];
|
|
6836
6687
|
positionIds: PositionId[];
|
|
6837
6688
|
negRiskRequestID: ResolutionRequestId | null;
|
|
6689
|
+
version?: ProtocolVersion | null | undefined;
|
|
6838
6690
|
question?: string | null | undefined;
|
|
6839
6691
|
slug?: string | null | undefined;
|
|
6840
6692
|
twitterCardImage?: string | null | undefined;
|
|
6841
6693
|
resolutionSource?: string | null | undefined;
|
|
6842
6694
|
endDate?: IsoDateTimeString | null | undefined;
|
|
6843
6695
|
category?: string | null | undefined;
|
|
6844
|
-
ammType?: string | null | undefined;
|
|
6845
6696
|
liquidity?: DecimalString | null | undefined;
|
|
6846
6697
|
sponsorName?: string | null | undefined;
|
|
6847
6698
|
sponsorImage?: string | null | undefined;
|
|
@@ -6902,24 +6753,18 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
6902
6753
|
volume1yr?: DecimalString | null | undefined;
|
|
6903
6754
|
gameStartTime?: IsoDateTimeString | null | undefined;
|
|
6904
6755
|
secondsDelay?: number | null | undefined;
|
|
6756
|
+
comboStatus?: (string & {}) | ComboKnownStatus | null | undefined;
|
|
6905
6757
|
disqusThread?: string | null | undefined;
|
|
6906
6758
|
shortOutcomes?: string | null | undefined;
|
|
6907
6759
|
teamAID?: string | null | undefined;
|
|
6908
6760
|
teamBID?: string | null | undefined;
|
|
6909
6761
|
umaBond?: DecimalString | null | undefined;
|
|
6910
6762
|
umaReward?: DecimalString | null | undefined;
|
|
6911
|
-
fpmmLive?: boolean | null | undefined;
|
|
6912
|
-
volume24hrAmm?: DecimalString | null | undefined;
|
|
6913
|
-
volume1wkAmm?: DecimalString | null | undefined;
|
|
6914
|
-
volume1moAmm?: DecimalString | null | undefined;
|
|
6915
|
-
volume1yrAmm?: DecimalString | null | undefined;
|
|
6916
6763
|
volume24hrClob?: DecimalString | null | undefined;
|
|
6917
6764
|
volume1wkClob?: DecimalString | null | undefined;
|
|
6918
6765
|
volume1moClob?: DecimalString | null | undefined;
|
|
6919
6766
|
volume1yrClob?: DecimalString | null | undefined;
|
|
6920
|
-
volumeAmm?: DecimalString | null | undefined;
|
|
6921
6767
|
volumeClob?: DecimalString | null | undefined;
|
|
6922
|
-
liquidityAmm?: DecimalString | null | undefined;
|
|
6923
6768
|
liquidityClob?: DecimalString | null | undefined;
|
|
6924
6769
|
makerBaseFee?: number | null | undefined;
|
|
6925
6770
|
takerBaseFee?: number | null | undefined;
|
|
@@ -6990,12 +6835,10 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
6990
6835
|
updatedAt?: IsoDateTimeString | null | undefined;
|
|
6991
6836
|
forceHide?: boolean | null | undefined;
|
|
6992
6837
|
isCarousel?: boolean | null | undefined;
|
|
6993
|
-
requiresTranslation?: boolean | null | undefined;
|
|
6994
6838
|
activeEventsCount?: number | null | undefined;
|
|
6995
6839
|
}[] | null | undefined;
|
|
6996
6840
|
cyom?: boolean | null | undefined;
|
|
6997
6841
|
competitive?: number | null | undefined;
|
|
6998
|
-
pagerDutyNotificationEnabled?: boolean | null | undefined;
|
|
6999
6842
|
approved?: boolean | null | undefined;
|
|
7000
6843
|
clobRewards?: {
|
|
7001
6844
|
id: ClobRewardId;
|
|
@@ -7043,7 +6886,6 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
7043
6886
|
}[] | null | undefined;
|
|
7044
6887
|
holdingRewardsEnabled?: boolean | null | undefined;
|
|
7045
6888
|
feesEnabled?: boolean | null | undefined;
|
|
7046
|
-
requiresTranslation?: boolean | null | undefined;
|
|
7047
6889
|
makerRebatesFeeShareBps?: number | null | undefined;
|
|
7048
6890
|
feeType?: string | null | undefined;
|
|
7049
6891
|
feeSchedule?: {
|
|
@@ -7088,7 +6930,6 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
7088
6930
|
cgAssetName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7089
6931
|
score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7090
6932
|
commentCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7091
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7092
6933
|
}, z.core.$strip>>>>;
|
|
7093
6934
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
7094
6935
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<CategoryId, string>>;
|
|
@@ -7142,7 +6983,6 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
7142
6983
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
7143
6984
|
forceHide: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7144
6985
|
isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7145
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7146
6986
|
activeEventsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7147
6987
|
}, z.core.$strip>>>>;
|
|
7148
6988
|
tag_labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -7233,7 +7073,6 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
7233
7073
|
}, z.core.$strip>>>>;
|
|
7234
7074
|
homeTeamName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7235
7075
|
awayTeamName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7236
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7237
7076
|
turnProviderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7238
7077
|
lastHighlight: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7239
7078
|
lastHighlightType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -7251,6 +7090,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
7251
7090
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
7252
7091
|
providerId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7253
7092
|
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7093
|
+
ordering: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof TeamOrdering>>>;
|
|
7254
7094
|
}, z.core.$strip>>>>;
|
|
7255
7095
|
sport: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7256
7096
|
id: z.ZodPipe<z.ZodNumber, z.ZodTransform<SportId, number>>;
|
|
@@ -7280,6 +7120,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
7280
7120
|
}, z.core.$strip>>>>;
|
|
7281
7121
|
}, z.core.$strip>, z.ZodTransform<Event, {
|
|
7282
7122
|
id: EventId;
|
|
7123
|
+
version?: ProtocolVersion | null | undefined;
|
|
7283
7124
|
ticker?: string | null | undefined;
|
|
7284
7125
|
slug?: string | null | undefined;
|
|
7285
7126
|
title?: string | null | undefined;
|
|
@@ -7320,7 +7161,6 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
7320
7161
|
disqusThread?: string | null | undefined;
|
|
7321
7162
|
parentEventId?: EventId | null | undefined;
|
|
7322
7163
|
enableOrderBook?: boolean | null | undefined;
|
|
7323
|
-
liquidityAmm?: DecimalString | null | undefined;
|
|
7324
7164
|
liquidityClob?: DecimalString | null | undefined;
|
|
7325
7165
|
negRisk?: boolean | null | undefined;
|
|
7326
7166
|
negRiskMarketID?: string | null | undefined;
|
|
@@ -7399,7 +7239,6 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
7399
7239
|
cgAssetName?: string | null | undefined;
|
|
7400
7240
|
score?: number | null | undefined;
|
|
7401
7241
|
commentCount?: number | null | undefined;
|
|
7402
|
-
requiresTranslation?: boolean | null | undefined;
|
|
7403
7242
|
}[] | null | undefined;
|
|
7404
7243
|
categories?: {
|
|
7405
7244
|
id: CategoryId;
|
|
@@ -7453,7 +7292,6 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
7453
7292
|
updatedAt?: IsoDateTimeString | null | undefined;
|
|
7454
7293
|
forceHide?: boolean | null | undefined;
|
|
7455
7294
|
isCarousel?: boolean | null | undefined;
|
|
7456
|
-
requiresTranslation?: boolean | null | undefined;
|
|
7457
7295
|
activeEventsCount?: number | null | undefined;
|
|
7458
7296
|
}[] | null | undefined;
|
|
7459
7297
|
tag_labels?: string[] | null | undefined;
|
|
@@ -7544,7 +7382,6 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
7544
7382
|
}[] | null | undefined;
|
|
7545
7383
|
homeTeamName?: string | null | undefined;
|
|
7546
7384
|
awayTeamName?: string | null | undefined;
|
|
7547
|
-
requiresTranslation?: boolean | null | undefined;
|
|
7548
7385
|
turnProviderId?: string | null | undefined;
|
|
7549
7386
|
lastHighlight?: string | null | undefined;
|
|
7550
7387
|
lastHighlightType?: string | null | undefined;
|
|
@@ -7562,6 +7399,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
7562
7399
|
updatedAt?: IsoDateTimeString | null | undefined;
|
|
7563
7400
|
providerId?: number | null | undefined;
|
|
7564
7401
|
color?: string | null | undefined;
|
|
7402
|
+
ordering?: TeamOrdering | null | undefined;
|
|
7565
7403
|
}[] | null | undefined;
|
|
7566
7404
|
sport?: {
|
|
7567
7405
|
id: SportId;
|
|
@@ -7777,9 +7615,9 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
7777
7615
|
cgAssetName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7778
7616
|
score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7779
7617
|
commentCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7780
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7781
7618
|
events: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
7782
7619
|
id: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodNumber, z.ZodTransform<string, number>>]>, z.ZodTransform<EventId, string>>;
|
|
7620
|
+
version: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof ProtocolVersion>>>;
|
|
7783
7621
|
ticker: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7784
7622
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7785
7623
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -7820,7 +7658,6 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
7820
7658
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7821
7659
|
parentEventId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodNumber, z.ZodTransform<string, number>>]>, z.ZodTransform<EventId, string>>>>;
|
|
7822
7660
|
enableOrderBook: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7823
|
-
liquidityAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
7824
7661
|
liquidityClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
7825
7662
|
negRisk: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7826
7663
|
negRiskMarketID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -7865,6 +7702,7 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
7865
7702
|
subEvents: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
7866
7703
|
markets: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
7867
7704
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
7705
|
+
version: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof ProtocolVersion>>>;
|
|
7868
7706
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7869
7707
|
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodCustom<ConditionId, ConditionId>>>>, z.ZodTransform<ConditionId | null, ConditionId | null | undefined>>;
|
|
7870
7708
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -7872,7 +7710,6 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
7872
7710
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7873
7711
|
endDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
7874
7712
|
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7875
|
-
ammType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7876
7713
|
liquidity: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
7877
7714
|
sponsorName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7878
7715
|
sponsorImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -7895,7 +7732,6 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
7895
7732
|
lowerBoundDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoCalendarDateString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoCalendarDateString, Date>>]>>>;
|
|
7896
7733
|
upperBoundDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoCalendarDateString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoCalendarDateString, Date>>]>>>;
|
|
7897
7734
|
closed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7898
|
-
marketMakerAddress: z.ZodString;
|
|
7899
7735
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7900
7736
|
updatedBy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7901
7737
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
@@ -7940,6 +7776,7 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
7940
7776
|
gameStartTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
7941
7777
|
secondsDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7942
7778
|
clobTokenIds: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<TokenId, string>>>>>>, z.ZodTransform<TokenId[], TokenId[] | null | undefined>>;
|
|
7779
|
+
comboStatus: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | ComboKnownStatus, string>>>>;
|
|
7943
7780
|
positionIds: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<PositionId, string>>>>>>, z.ZodTransform<PositionId[], PositionId[] | null | undefined>>;
|
|
7944
7781
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7945
7782
|
shortOutcomes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -7947,18 +7784,11 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
7947
7784
|
teamBID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7948
7785
|
umaBond: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
7949
7786
|
umaReward: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
7950
|
-
fpmmLive: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7951
|
-
volume24hrAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
7952
|
-
volume1wkAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
7953
|
-
volume1moAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
7954
|
-
volume1yrAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
7955
7787
|
volume24hrClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
7956
7788
|
volume1wkClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
7957
7789
|
volume1moClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
7958
7790
|
volume1yrClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
7959
|
-
volumeAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
7960
7791
|
volumeClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
7961
|
-
liquidityAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
7962
7792
|
liquidityClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
7963
7793
|
makerBaseFee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7964
7794
|
takerBaseFee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -8030,12 +7860,10 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
8030
7860
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
8031
7861
|
forceHide: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8032
7862
|
isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8033
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8034
7863
|
activeEventsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8035
7864
|
}, z.core.$strip>>>>;
|
|
8036
7865
|
cyom: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8037
7866
|
competitive: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8038
|
-
pagerDutyNotificationEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8039
7867
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8040
7868
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
8041
7869
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
@@ -8083,7 +7911,6 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
8083
7911
|
}, z.core.$strip>>>>;
|
|
8084
7912
|
holdingRewardsEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8085
7913
|
feesEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8086
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8087
7914
|
makerRebatesFeeShareBps: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8088
7915
|
feeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8089
7916
|
feeSchedule: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -8097,20 +7924,19 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
8097
7924
|
conditionId: ConditionId | null;
|
|
8098
7925
|
outcomes: string[];
|
|
8099
7926
|
outcomePrices: DecimalString[];
|
|
8100
|
-
marketMakerAddress: string;
|
|
8101
7927
|
resolvedBy: _polymarket_types.EvmAddress | null;
|
|
8102
7928
|
questionID: QuestionId | null;
|
|
8103
7929
|
umaResolutionStatus: UmaResolutionStatus | null;
|
|
8104
7930
|
clobTokenIds: TokenId[];
|
|
8105
7931
|
positionIds: PositionId[];
|
|
8106
7932
|
negRiskRequestID: ResolutionRequestId | null;
|
|
7933
|
+
version?: ProtocolVersion | null | undefined;
|
|
8107
7934
|
question?: string | null | undefined;
|
|
8108
7935
|
slug?: string | null | undefined;
|
|
8109
7936
|
twitterCardImage?: string | null | undefined;
|
|
8110
7937
|
resolutionSource?: string | null | undefined;
|
|
8111
7938
|
endDate?: IsoDateTimeString | null | undefined;
|
|
8112
7939
|
category?: string | null | undefined;
|
|
8113
|
-
ammType?: string | null | undefined;
|
|
8114
7940
|
liquidity?: DecimalString | null | undefined;
|
|
8115
7941
|
sponsorName?: string | null | undefined;
|
|
8116
7942
|
sponsorImage?: string | null | undefined;
|
|
@@ -8171,24 +7997,18 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
8171
7997
|
volume1yr?: DecimalString | null | undefined;
|
|
8172
7998
|
gameStartTime?: IsoDateTimeString | null | undefined;
|
|
8173
7999
|
secondsDelay?: number | null | undefined;
|
|
8000
|
+
comboStatus?: (string & {}) | ComboKnownStatus | null | undefined;
|
|
8174
8001
|
disqusThread?: string | null | undefined;
|
|
8175
8002
|
shortOutcomes?: string | null | undefined;
|
|
8176
8003
|
teamAID?: string | null | undefined;
|
|
8177
8004
|
teamBID?: string | null | undefined;
|
|
8178
8005
|
umaBond?: DecimalString | null | undefined;
|
|
8179
8006
|
umaReward?: DecimalString | null | undefined;
|
|
8180
|
-
fpmmLive?: boolean | null | undefined;
|
|
8181
|
-
volume24hrAmm?: DecimalString | null | undefined;
|
|
8182
|
-
volume1wkAmm?: DecimalString | null | undefined;
|
|
8183
|
-
volume1moAmm?: DecimalString | null | undefined;
|
|
8184
|
-
volume1yrAmm?: DecimalString | null | undefined;
|
|
8185
8007
|
volume24hrClob?: DecimalString | null | undefined;
|
|
8186
8008
|
volume1wkClob?: DecimalString | null | undefined;
|
|
8187
8009
|
volume1moClob?: DecimalString | null | undefined;
|
|
8188
8010
|
volume1yrClob?: DecimalString | null | undefined;
|
|
8189
|
-
volumeAmm?: DecimalString | null | undefined;
|
|
8190
8011
|
volumeClob?: DecimalString | null | undefined;
|
|
8191
|
-
liquidityAmm?: DecimalString | null | undefined;
|
|
8192
8012
|
liquidityClob?: DecimalString | null | undefined;
|
|
8193
8013
|
makerBaseFee?: number | null | undefined;
|
|
8194
8014
|
takerBaseFee?: number | null | undefined;
|
|
@@ -8259,12 +8079,10 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
8259
8079
|
updatedAt?: IsoDateTimeString | null | undefined;
|
|
8260
8080
|
forceHide?: boolean | null | undefined;
|
|
8261
8081
|
isCarousel?: boolean | null | undefined;
|
|
8262
|
-
requiresTranslation?: boolean | null | undefined;
|
|
8263
8082
|
activeEventsCount?: number | null | undefined;
|
|
8264
8083
|
}[] | null | undefined;
|
|
8265
8084
|
cyom?: boolean | null | undefined;
|
|
8266
8085
|
competitive?: number | null | undefined;
|
|
8267
|
-
pagerDutyNotificationEnabled?: boolean | null | undefined;
|
|
8268
8086
|
approved?: boolean | null | undefined;
|
|
8269
8087
|
clobRewards?: {
|
|
8270
8088
|
id: ClobRewardId;
|
|
@@ -8312,7 +8130,6 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
8312
8130
|
}[] | null | undefined;
|
|
8313
8131
|
holdingRewardsEnabled?: boolean | null | undefined;
|
|
8314
8132
|
feesEnabled?: boolean | null | undefined;
|
|
8315
|
-
requiresTranslation?: boolean | null | undefined;
|
|
8316
8133
|
makerRebatesFeeShareBps?: number | null | undefined;
|
|
8317
8134
|
feeType?: string | null | undefined;
|
|
8318
8135
|
feeSchedule?: {
|
|
@@ -8357,7 +8174,6 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
8357
8174
|
cgAssetName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8358
8175
|
score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8359
8176
|
commentCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8360
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8361
8177
|
}, z.core.$strip>>>>;
|
|
8362
8178
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
8363
8179
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<CategoryId, string>>;
|
|
@@ -8411,7 +8227,6 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
8411
8227
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
8412
8228
|
forceHide: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8413
8229
|
isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8414
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8415
8230
|
activeEventsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8416
8231
|
}, z.core.$strip>>>>;
|
|
8417
8232
|
tag_labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -8502,7 +8317,6 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
8502
8317
|
}, z.core.$strip>>>>;
|
|
8503
8318
|
homeTeamName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8504
8319
|
awayTeamName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8505
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8506
8320
|
turnProviderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8507
8321
|
lastHighlight: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8508
8322
|
lastHighlightType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -8520,6 +8334,7 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
8520
8334
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
8521
8335
|
providerId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8522
8336
|
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8337
|
+
ordering: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof TeamOrdering>>>;
|
|
8523
8338
|
}, z.core.$strip>>>>;
|
|
8524
8339
|
sport: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8525
8340
|
id: z.ZodPipe<z.ZodNumber, z.ZodTransform<SportId, number>>;
|
|
@@ -8549,6 +8364,7 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
8549
8364
|
}, z.core.$strip>>>>;
|
|
8550
8365
|
}, z.core.$strip>, z.ZodTransform<Event, {
|
|
8551
8366
|
id: EventId;
|
|
8367
|
+
version?: ProtocolVersion | null | undefined;
|
|
8552
8368
|
ticker?: string | null | undefined;
|
|
8553
8369
|
slug?: string | null | undefined;
|
|
8554
8370
|
title?: string | null | undefined;
|
|
@@ -8589,7 +8405,6 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
8589
8405
|
disqusThread?: string | null | undefined;
|
|
8590
8406
|
parentEventId?: EventId | null | undefined;
|
|
8591
8407
|
enableOrderBook?: boolean | null | undefined;
|
|
8592
|
-
liquidityAmm?: DecimalString | null | undefined;
|
|
8593
8408
|
liquidityClob?: DecimalString | null | undefined;
|
|
8594
8409
|
negRisk?: boolean | null | undefined;
|
|
8595
8410
|
negRiskMarketID?: string | null | undefined;
|
|
@@ -8668,7 +8483,6 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
8668
8483
|
cgAssetName?: string | null | undefined;
|
|
8669
8484
|
score?: number | null | undefined;
|
|
8670
8485
|
commentCount?: number | null | undefined;
|
|
8671
|
-
requiresTranslation?: boolean | null | undefined;
|
|
8672
8486
|
}[] | null | undefined;
|
|
8673
8487
|
categories?: {
|
|
8674
8488
|
id: CategoryId;
|
|
@@ -8722,7 +8536,6 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
8722
8536
|
updatedAt?: IsoDateTimeString | null | undefined;
|
|
8723
8537
|
forceHide?: boolean | null | undefined;
|
|
8724
8538
|
isCarousel?: boolean | null | undefined;
|
|
8725
|
-
requiresTranslation?: boolean | null | undefined;
|
|
8726
8539
|
activeEventsCount?: number | null | undefined;
|
|
8727
8540
|
}[] | null | undefined;
|
|
8728
8541
|
tag_labels?: string[] | null | undefined;
|
|
@@ -8813,7 +8626,6 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
8813
8626
|
}[] | null | undefined;
|
|
8814
8627
|
homeTeamName?: string | null | undefined;
|
|
8815
8628
|
awayTeamName?: string | null | undefined;
|
|
8816
|
-
requiresTranslation?: boolean | null | undefined;
|
|
8817
8629
|
turnProviderId?: string | null | undefined;
|
|
8818
8630
|
lastHighlight?: string | null | undefined;
|
|
8819
8631
|
lastHighlightType?: string | null | undefined;
|
|
@@ -8831,6 +8643,7 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
8831
8643
|
updatedAt?: IsoDateTimeString | null | undefined;
|
|
8832
8644
|
providerId?: number | null | undefined;
|
|
8833
8645
|
color?: string | null | undefined;
|
|
8646
|
+
ordering?: TeamOrdering | null | undefined;
|
|
8834
8647
|
}[] | null | undefined;
|
|
8835
8648
|
sport?: {
|
|
8836
8649
|
id: SportId;
|
|
@@ -8900,7 +8713,6 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
8900
8713
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
8901
8714
|
forceHide: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8902
8715
|
isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8903
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8904
8716
|
activeEventsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8905
8717
|
templates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
8906
8718
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<TemplateId, string>>;
|
|
@@ -8956,9 +8768,9 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
8956
8768
|
cgAssetName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8957
8769
|
score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8958
8770
|
commentCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8959
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8960
8771
|
events: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
8961
8772
|
id: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodNumber, z.ZodTransform<string, number>>]>, z.ZodTransform<EventId, string>>;
|
|
8773
|
+
version: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof ProtocolVersion>>>;
|
|
8962
8774
|
ticker: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8963
8775
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8964
8776
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -8999,7 +8811,6 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
8999
8811
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9000
8812
|
parentEventId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodNumber, z.ZodTransform<string, number>>]>, z.ZodTransform<EventId, string>>>>;
|
|
9001
8813
|
enableOrderBook: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
9002
|
-
liquidityAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
9003
8814
|
liquidityClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
9004
8815
|
negRisk: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
9005
8816
|
negRiskMarketID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -9044,6 +8855,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9044
8855
|
subEvents: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
9045
8856
|
markets: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
9046
8857
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
8858
|
+
version: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof ProtocolVersion>>>;
|
|
9047
8859
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9048
8860
|
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodCustom<ConditionId, ConditionId>>>>, z.ZodTransform<ConditionId | null, ConditionId | null | undefined>>;
|
|
9049
8861
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -9051,7 +8863,6 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9051
8863
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9052
8864
|
endDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
9053
8865
|
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9054
|
-
ammType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9055
8866
|
liquidity: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
9056
8867
|
sponsorName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9057
8868
|
sponsorImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -9074,7 +8885,6 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9074
8885
|
lowerBoundDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoCalendarDateString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoCalendarDateString, Date>>]>>>;
|
|
9075
8886
|
upperBoundDate: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoCalendarDateString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoCalendarDateString, Date>>]>>>;
|
|
9076
8887
|
closed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
9077
|
-
marketMakerAddress: z.ZodString;
|
|
9078
8888
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9079
8889
|
updatedBy: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9080
8890
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
@@ -9119,6 +8929,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9119
8929
|
gameStartTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
9120
8930
|
secondsDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9121
8931
|
clobTokenIds: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<TokenId, string>>>>>>, z.ZodTransform<TokenId[], TokenId[] | null | undefined>>;
|
|
8932
|
+
comboStatus: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | ComboKnownStatus, string>>>>;
|
|
9122
8933
|
positionIds: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<PositionId, string>>>>>>, z.ZodTransform<PositionId[], PositionId[] | null | undefined>>;
|
|
9123
8934
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9124
8935
|
shortOutcomes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -9126,18 +8937,11 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9126
8937
|
teamBID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9127
8938
|
umaBond: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
9128
8939
|
umaReward: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
9129
|
-
fpmmLive: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
9130
|
-
volume24hrAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
9131
|
-
volume1wkAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
9132
|
-
volume1moAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
9133
|
-
volume1yrAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
9134
8940
|
volume24hrClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
9135
8941
|
volume1wkClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
9136
8942
|
volume1moClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
9137
8943
|
volume1yrClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
9138
|
-
volumeAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
9139
8944
|
volumeClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
9140
|
-
liquidityAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
9141
8945
|
liquidityClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
9142
8946
|
makerBaseFee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9143
8947
|
takerBaseFee: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -9209,12 +9013,10 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9209
9013
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
9210
9014
|
forceHide: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
9211
9015
|
isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
9212
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
9213
9016
|
activeEventsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9214
9017
|
}, z.core.$strip>>>>;
|
|
9215
9018
|
cyom: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
9216
9019
|
competitive: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9217
|
-
pagerDutyNotificationEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
9218
9020
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
9219
9021
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
9220
9022
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
@@ -9262,7 +9064,6 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9262
9064
|
}, z.core.$strip>>>>;
|
|
9263
9065
|
holdingRewardsEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
9264
9066
|
feesEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
9265
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
9266
9067
|
makerRebatesFeeShareBps: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9267
9068
|
feeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9268
9069
|
feeSchedule: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -9276,20 +9077,19 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9276
9077
|
conditionId: ConditionId | null;
|
|
9277
9078
|
outcomes: string[];
|
|
9278
9079
|
outcomePrices: DecimalString[];
|
|
9279
|
-
marketMakerAddress: string;
|
|
9280
9080
|
resolvedBy: _polymarket_types.EvmAddress | null;
|
|
9281
9081
|
questionID: QuestionId | null;
|
|
9282
9082
|
umaResolutionStatus: UmaResolutionStatus | null;
|
|
9283
9083
|
clobTokenIds: TokenId[];
|
|
9284
9084
|
positionIds: PositionId[];
|
|
9285
9085
|
negRiskRequestID: ResolutionRequestId | null;
|
|
9086
|
+
version?: ProtocolVersion | null | undefined;
|
|
9286
9087
|
question?: string | null | undefined;
|
|
9287
9088
|
slug?: string | null | undefined;
|
|
9288
9089
|
twitterCardImage?: string | null | undefined;
|
|
9289
9090
|
resolutionSource?: string | null | undefined;
|
|
9290
9091
|
endDate?: IsoDateTimeString | null | undefined;
|
|
9291
9092
|
category?: string | null | undefined;
|
|
9292
|
-
ammType?: string | null | undefined;
|
|
9293
9093
|
liquidity?: DecimalString | null | undefined;
|
|
9294
9094
|
sponsorName?: string | null | undefined;
|
|
9295
9095
|
sponsorImage?: string | null | undefined;
|
|
@@ -9350,24 +9150,18 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9350
9150
|
volume1yr?: DecimalString | null | undefined;
|
|
9351
9151
|
gameStartTime?: IsoDateTimeString | null | undefined;
|
|
9352
9152
|
secondsDelay?: number | null | undefined;
|
|
9153
|
+
comboStatus?: (string & {}) | ComboKnownStatus | null | undefined;
|
|
9353
9154
|
disqusThread?: string | null | undefined;
|
|
9354
9155
|
shortOutcomes?: string | null | undefined;
|
|
9355
9156
|
teamAID?: string | null | undefined;
|
|
9356
9157
|
teamBID?: string | null | undefined;
|
|
9357
9158
|
umaBond?: DecimalString | null | undefined;
|
|
9358
9159
|
umaReward?: DecimalString | null | undefined;
|
|
9359
|
-
fpmmLive?: boolean | null | undefined;
|
|
9360
|
-
volume24hrAmm?: DecimalString | null | undefined;
|
|
9361
|
-
volume1wkAmm?: DecimalString | null | undefined;
|
|
9362
|
-
volume1moAmm?: DecimalString | null | undefined;
|
|
9363
|
-
volume1yrAmm?: DecimalString | null | undefined;
|
|
9364
9160
|
volume24hrClob?: DecimalString | null | undefined;
|
|
9365
9161
|
volume1wkClob?: DecimalString | null | undefined;
|
|
9366
9162
|
volume1moClob?: DecimalString | null | undefined;
|
|
9367
9163
|
volume1yrClob?: DecimalString | null | undefined;
|
|
9368
|
-
volumeAmm?: DecimalString | null | undefined;
|
|
9369
9164
|
volumeClob?: DecimalString | null | undefined;
|
|
9370
|
-
liquidityAmm?: DecimalString | null | undefined;
|
|
9371
9165
|
liquidityClob?: DecimalString | null | undefined;
|
|
9372
9166
|
makerBaseFee?: number | null | undefined;
|
|
9373
9167
|
takerBaseFee?: number | null | undefined;
|
|
@@ -9438,12 +9232,10 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9438
9232
|
updatedAt?: IsoDateTimeString | null | undefined;
|
|
9439
9233
|
forceHide?: boolean | null | undefined;
|
|
9440
9234
|
isCarousel?: boolean | null | undefined;
|
|
9441
|
-
requiresTranslation?: boolean | null | undefined;
|
|
9442
9235
|
activeEventsCount?: number | null | undefined;
|
|
9443
9236
|
}[] | null | undefined;
|
|
9444
9237
|
cyom?: boolean | null | undefined;
|
|
9445
9238
|
competitive?: number | null | undefined;
|
|
9446
|
-
pagerDutyNotificationEnabled?: boolean | null | undefined;
|
|
9447
9239
|
approved?: boolean | null | undefined;
|
|
9448
9240
|
clobRewards?: {
|
|
9449
9241
|
id: ClobRewardId;
|
|
@@ -9491,7 +9283,6 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9491
9283
|
}[] | null | undefined;
|
|
9492
9284
|
holdingRewardsEnabled?: boolean | null | undefined;
|
|
9493
9285
|
feesEnabled?: boolean | null | undefined;
|
|
9494
|
-
requiresTranslation?: boolean | null | undefined;
|
|
9495
9286
|
makerRebatesFeeShareBps?: number | null | undefined;
|
|
9496
9287
|
feeType?: string | null | undefined;
|
|
9497
9288
|
feeSchedule?: {
|
|
@@ -9536,7 +9327,6 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9536
9327
|
cgAssetName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9537
9328
|
score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9538
9329
|
commentCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9539
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
9540
9330
|
}, z.core.$strip>>>>;
|
|
9541
9331
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
9542
9332
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<CategoryId, string>>;
|
|
@@ -9590,7 +9380,6 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9590
9380
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
9591
9381
|
forceHide: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
9592
9382
|
isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
9593
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
9594
9383
|
activeEventsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9595
9384
|
}, z.core.$strip>>>>;
|
|
9596
9385
|
tag_labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -9681,7 +9470,6 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9681
9470
|
}, z.core.$strip>>>>;
|
|
9682
9471
|
homeTeamName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9683
9472
|
awayTeamName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9684
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
9685
9473
|
turnProviderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9686
9474
|
lastHighlight: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9687
9475
|
lastHighlightType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -9699,6 +9487,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9699
9487
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
9700
9488
|
providerId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9701
9489
|
color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9490
|
+
ordering: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof TeamOrdering>>>;
|
|
9702
9491
|
}, z.core.$strip>>>>;
|
|
9703
9492
|
sport: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9704
9493
|
id: z.ZodPipe<z.ZodNumber, z.ZodTransform<SportId, number>>;
|
|
@@ -9728,6 +9517,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9728
9517
|
}, z.core.$strip>>>>;
|
|
9729
9518
|
}, z.core.$strip>, z.ZodTransform<Event, {
|
|
9730
9519
|
id: EventId;
|
|
9520
|
+
version?: ProtocolVersion | null | undefined;
|
|
9731
9521
|
ticker?: string | null | undefined;
|
|
9732
9522
|
slug?: string | null | undefined;
|
|
9733
9523
|
title?: string | null | undefined;
|
|
@@ -9768,7 +9558,6 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9768
9558
|
disqusThread?: string | null | undefined;
|
|
9769
9559
|
parentEventId?: EventId | null | undefined;
|
|
9770
9560
|
enableOrderBook?: boolean | null | undefined;
|
|
9771
|
-
liquidityAmm?: DecimalString | null | undefined;
|
|
9772
9561
|
liquidityClob?: DecimalString | null | undefined;
|
|
9773
9562
|
negRisk?: boolean | null | undefined;
|
|
9774
9563
|
negRiskMarketID?: string | null | undefined;
|
|
@@ -9847,7 +9636,6 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9847
9636
|
cgAssetName?: string | null | undefined;
|
|
9848
9637
|
score?: number | null | undefined;
|
|
9849
9638
|
commentCount?: number | null | undefined;
|
|
9850
|
-
requiresTranslation?: boolean | null | undefined;
|
|
9851
9639
|
}[] | null | undefined;
|
|
9852
9640
|
categories?: {
|
|
9853
9641
|
id: CategoryId;
|
|
@@ -9901,7 +9689,6 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9901
9689
|
updatedAt?: IsoDateTimeString | null | undefined;
|
|
9902
9690
|
forceHide?: boolean | null | undefined;
|
|
9903
9691
|
isCarousel?: boolean | null | undefined;
|
|
9904
|
-
requiresTranslation?: boolean | null | undefined;
|
|
9905
9692
|
activeEventsCount?: number | null | undefined;
|
|
9906
9693
|
}[] | null | undefined;
|
|
9907
9694
|
tag_labels?: string[] | null | undefined;
|
|
@@ -9992,7 +9779,6 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9992
9779
|
}[] | null | undefined;
|
|
9993
9780
|
homeTeamName?: string | null | undefined;
|
|
9994
9781
|
awayTeamName?: string | null | undefined;
|
|
9995
|
-
requiresTranslation?: boolean | null | undefined;
|
|
9996
9782
|
turnProviderId?: string | null | undefined;
|
|
9997
9783
|
lastHighlight?: string | null | undefined;
|
|
9998
9784
|
lastHighlightType?: string | null | undefined;
|
|
@@ -10010,6 +9796,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
10010
9796
|
updatedAt?: IsoDateTimeString | null | undefined;
|
|
10011
9797
|
providerId?: number | null | undefined;
|
|
10012
9798
|
color?: string | null | undefined;
|
|
9799
|
+
ordering?: TeamOrdering | null | undefined;
|
|
10013
9800
|
}[] | null | undefined;
|
|
10014
9801
|
sport?: {
|
|
10015
9802
|
id: SportId;
|
|
@@ -10079,7 +9866,6 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
10079
9866
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
10080
9867
|
forceHide: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10081
9868
|
isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10082
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10083
9869
|
activeEventsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10084
9870
|
templates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10085
9871
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<TemplateId, string>>;
|
|
@@ -10115,7 +9901,6 @@ declare const TagSchema: z.ZodObject<{
|
|
|
10115
9901
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
10116
9902
|
forceHide: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10117
9903
|
isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10118
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10119
9904
|
activeEventsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10120
9905
|
templates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10121
9906
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<TemplateId, string>>;
|
|
@@ -10163,7 +9948,6 @@ declare const ListTagsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
10163
9948
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
10164
9949
|
forceHide: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10165
9950
|
isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10166
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10167
9951
|
activeEventsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10168
9952
|
templates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10169
9953
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<TemplateId, string>>;
|
|
@@ -10211,7 +9995,6 @@ declare const ListRelatedTagResourcesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
10211
9995
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
10212
9996
|
forceHide: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10213
9997
|
isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10214
|
-
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10215
9998
|
activeEventsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10216
9999
|
templates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10217
10000
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<TemplateId, string>>;
|
|
@@ -10253,4 +10036,4 @@ declare const WalletTypeSchema: z.ZodObject<{
|
|
|
10253
10036
|
}>;
|
|
10254
10037
|
}, z.core.$strip>;
|
|
10255
10038
|
|
|
10256
|
-
export { type BestLine, BestLineSchema, type CategoryReference, CategoryReferenceSchema, type Chat, ChatSchema, type ClobRewards, ClobRewardsSchema, type CollectionReference, CollectionReferenceSchema, type Event, type EventCreator, EventCreatorSchema, type EventDisplay, type EventEstimation, type EventExternalPartnerMapping, EventExternalPartnerMappingSchema, type EventMetrics, type EventPartner, type EventReference, EventReferenceSchema, type EventResolution, type EventSchedule, EventSchema, type EventSeries, type EventSportsMetadata, type EventState, type EventTag, type EventTrading, type FeeSchedule, FeeScheduleSchema, type FetchEventTagsResponse, FetchEventTagsResponseSchema, type FetchMarketTagsResponse, FetchMarketTagsResponseSchema, type GammaEvent, GammaEventSchema, type GammaMarket, GammaMarketSchema, type ImageOptimization, ImageOptimizationSchema, type InternalUser, InternalUserSchema, type ListEventsKeysetResponse, ListEventsKeysetResponseSchema, type ListEventsResponse, ListEventsResponseSchema, type ListMarketClarificationsResponse, ListMarketClarificationsResponseSchema, type ListMarketsKeysetResponse, ListMarketsKeysetResponseSchema, type ListMarketsResponse, ListMarketsResponseSchema, type ListRelatedTagResourcesResponse, ListRelatedTagResourcesResponseSchema, type ListRelatedTagsResponse, ListRelatedTagsResponseSchema, type ListSeriesResponse, ListSeriesResponseSchema, type ListSportsMetadataResponse, ListSportsMetadataResponseSchema, type ListTagsResponse, ListTagsResponseSchema, type ListTeamsResponse, ListTeamsResponseSchema, type Market, type MarketClarification, MarketClarificationSchema, MarketClarificationState, type MarketEvent, type MarketMetrics, type MarketOutcome, type MarketOutcomes, type MarketPrices, type MarketResolution, type MarketRewards, MarketSchema, type MarketSportsMetadata, type MarketState, type MarketTag, type MarketTrading, type PaginationEnvelope, PaginationEnvelopeSchema, type Partner, PartnerSchema, type Profile, ProfileSchema, type PublicProfile, PublicProfileSchema, type PublicProfileUser, PublicProfileUserSchema, type PublicSearchResponse, PublicSearchResponseSchema, type RelatedMarket, RelatedMarketSchema, type RelatedTag, RelatedTagSchema, type SearchPagination, SearchPaginationSchema, type SearchTag, SearchTagSchema, type Series, SeriesIdSchema, type SeriesReference, SeriesReferenceSchema, SeriesSchema, type SportsMarketTypesResponse, SportsMarketTypesResponseSchema, type SportsMetadata, SportsMetadataSchema, type Tag, type TagReference, TagReferenceSchema, TagSchema, type Team, TeamSchema, type TemplateReference, TemplateReferenceSchema, UmaResolutionStatus, WalletType, WalletTypeSchema, hasBinaryOutcomes, normalizeMarket };
|
|
10039
|
+
export { type BestLine, BestLineSchema, type CategoryReference, CategoryReferenceSchema, type Chat, ChatSchema, type ClobRewards, ClobRewardsSchema, type CollectionReference, CollectionReferenceSchema, ComboKnownStatus, type ComboStatus, type Event, type EventCreator, EventCreatorSchema, type EventDisplay, type EventEstimation, type EventExternalPartnerMapping, EventExternalPartnerMappingSchema, type EventMetrics, type EventPartner, type EventReference, EventReferenceSchema, type EventResolution, type EventSchedule, EventSchema, type EventSeries, type EventSportsMetadata, type EventState, type EventTag, type EventTrading, type FeeSchedule, FeeScheduleSchema, type FetchEventTagsResponse, FetchEventTagsResponseSchema, type FetchMarketTagsResponse, FetchMarketTagsResponseSchema, type GammaEvent, GammaEventSchema, type GammaMarket, GammaMarketSchema, type ImageOptimization, ImageOptimizationSchema, type InternalUser, InternalUserSchema, type ListEventsKeysetResponse, ListEventsKeysetResponseSchema, type ListEventsResponse, ListEventsResponseSchema, type ListMarketClarificationsResponse, ListMarketClarificationsResponseSchema, type ListMarketsKeysetResponse, ListMarketsKeysetResponseSchema, type ListMarketsResponse, ListMarketsResponseSchema, type ListRelatedTagResourcesResponse, ListRelatedTagResourcesResponseSchema, type ListRelatedTagsResponse, ListRelatedTagsResponseSchema, type ListSeriesResponse, ListSeriesResponseSchema, type ListSportsMetadataResponse, ListSportsMetadataResponseSchema, type ListTagsResponse, ListTagsResponseSchema, type ListTeamsResponse, ListTeamsResponseSchema, type Market, type MarketClarification, MarketClarificationSchema, MarketClarificationState, type MarketEvent, type MarketMetrics, type MarketOutcome, type MarketOutcomes, type MarketPrices, type MarketResolution, type MarketRewards, MarketSchema, type MarketSportsMetadata, type MarketState, type MarketTag, type MarketTrading, type PaginationEnvelope, PaginationEnvelopeSchema, type Partner, PartnerSchema, type Profile, ProfileSchema, ProtocolVersion, type PublicProfile, PublicProfileSchema, type PublicProfileUser, PublicProfileUserSchema, type PublicSearchResponse, PublicSearchResponseSchema, type RelatedMarket, RelatedMarketSchema, type RelatedTag, RelatedTagSchema, type SearchPagination, SearchPaginationSchema, type SearchTag, SearchTagSchema, type Series, SeriesIdSchema, type SeriesReference, SeriesReferenceSchema, SeriesSchema, type SportsMarketTypesResponse, SportsMarketTypesResponseSchema, type SportsMetadata, SportsMetadataSchema, type Tag, type TagReference, TagReferenceSchema, TagSchema, type Team, TeamOrdering, TeamSchema, type TemplateReference, TemplateReferenceSchema, UmaResolutionStatus, WalletType, WalletTypeSchema, hasBinaryOutcomes, normalizeMarket };
|