@polymarket/bindings 0.1.0-beta.1 → 0.1.0-beta.10
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-CCTEF2UT.js +2 -0
- package/dist/chunk-CCTEF2UT.js.map +1 -0
- package/dist/chunk-GYP7YNXL.js +2 -0
- package/dist/chunk-GYP7YNXL.js.map +1 -0
- package/dist/chunk-HOD4LKZU.js +2 -0
- package/dist/chunk-HOD4LKZU.js.map +1 -0
- package/dist/chunk-VBHCYSM7.js +2 -0
- package/dist/chunk-VBHCYSM7.js.map +1 -0
- package/dist/clob/index.d.ts +110 -135
- package/dist/clob/index.js +1 -1
- package/dist/clob/index.js.map +1 -1
- package/dist/data/index.d.ts +849 -60
- package/dist/data/index.js +1 -1
- package/dist/data/index.js.map +1 -1
- package/dist/gamma/index.d.ts +168 -198
- package/dist/gamma/index.js +1 -1
- package/dist/gamma/index.js.map +1 -1
- package/dist/index.d.ts +39 -7
- package/dist/index.js +1 -1
- package/dist/orders-DHP1WzKt.d.ts +720 -0
- package/dist/perps/index.d.ts +1414 -0
- package/dist/perps/index.js +2 -0
- package/dist/perps/index.js.map +1 -0
- package/dist/relayer/index.js +1 -1
- package/dist/relayer/index.js.map +1 -1
- package/dist/rfq.d.ts +701 -0
- package/dist/rfq.js +2 -0
- package/dist/rfq.js.map +1 -0
- package/dist/signature-type-CrLAA9AN.d.ts +23 -0
- package/dist/subscriptions/index.d.ts +2030 -12
- package/dist/subscriptions/index.js +1 -1
- package/dist/subscriptions/index.js.map +1 -1
- package/package.json +25 -3
- package/dist/chunk-6WCDEPBE.js +0 -2
- package/dist/chunk-6WCDEPBE.js.map +0 -1
- package/dist/chunk-TM2ZY32Q.js +0 -2
- package/dist/chunk-TM2ZY32Q.js.map +0 -1
package/dist/gamma/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { C as Comment, a as CommentMedia, b as CommentMediaSchema, c as CommentPosition, d as CommentPositionSchema, e as CommentProfile, f as CommentProfileSchema, g as CommentSchema, L as ListCommentsResponse, h as ListCommentsResponseSchema, i as Reaction, j as ReactionSchema, R as ReactionType, k as ReactionTypeSchema } from '../comment-C-jBbhp7.js';
|
|
2
|
-
import { CategoryId, IsoDateTimeString, ClobRewardId,
|
|
2
|
+
import { CategoryId, IsoDateTimeString, ClobRewardId, CtfConditionId, DecimalString, IsoCalendarDateString, ImageOptimizationId, EventId, InternalUserId, MarketId, TagId, TokenId, TickSizeValue, QuestionId, ResolutionRequestId, PositionId, MixedDateTimeString, PaginationCursor, BestLineId, ChatId, CollectionId, TeamId, SportId, EventExternalPartnerMappingId, PartnerId, SeriesId, EventCreatorId, TemplateId } from '../index.js';
|
|
3
3
|
export { TagIdSchema } from '../index.js';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
import * as _polymarket_types from '@polymarket/types';
|
|
@@ -54,7 +54,7 @@ declare const TagReferenceSchema: z.ZodObject<{
|
|
|
54
54
|
}, z.core.$strip>;
|
|
55
55
|
declare const RelatedMarketSchema: z.ZodObject<{
|
|
56
56
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
57
|
-
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
57
|
+
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
|
|
58
58
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
59
|
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
60
|
volume: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
@@ -66,7 +66,7 @@ declare const RelatedMarketSchema: z.ZodObject<{
|
|
|
66
66
|
}, z.core.$strip>;
|
|
67
67
|
declare const ClobRewardsSchema: z.ZodObject<{
|
|
68
68
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
69
|
-
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
69
|
+
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
|
|
70
70
|
assetAddress: z.ZodString;
|
|
71
71
|
rewardsAmount: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
72
72
|
rewardsDailyRate: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
@@ -177,8 +177,9 @@ type MarketTag = {
|
|
|
177
177
|
type Market = {
|
|
178
178
|
id: MarketId;
|
|
179
179
|
slug?: string | null;
|
|
180
|
-
conditionId:
|
|
180
|
+
conditionId: CtfConditionId | null;
|
|
181
181
|
question?: string | null;
|
|
182
|
+
groupItemTitle?: string | null;
|
|
182
183
|
description?: string | null;
|
|
183
184
|
category?: string | null;
|
|
184
185
|
image?: string | null;
|
|
@@ -193,11 +194,12 @@ type Market = {
|
|
|
193
194
|
sports: MarketSportsMetadata;
|
|
194
195
|
events: MarketEvent[];
|
|
195
196
|
tags: MarketTag[];
|
|
197
|
+
positionIds: PositionId[];
|
|
196
198
|
};
|
|
197
199
|
declare const GammaMarketSchema: z.ZodObject<{
|
|
198
200
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
199
201
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
200
|
-
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
202
|
+
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>>, z.ZodTransform<CtfConditionId | null, CtfConditionId | null | undefined>>;
|
|
201
203
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
202
204
|
twitterCardImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
203
205
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -252,7 +254,7 @@ declare const GammaMarketSchema: z.ZodObject<{
|
|
|
252
254
|
questionID: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<QuestionId, string>>>>>, z.ZodTransform<QuestionId | null, QuestionId | null | undefined>>;
|
|
253
255
|
umaEndDate: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<MixedDateTimeString, string>>>>;
|
|
254
256
|
enableOrderBook: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
255
|
-
orderPriceMinTickSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0.1>, z.ZodLiteral<0.01>, z.ZodLiteral<0.001>, z.ZodLiteral<0.0001>]>>>;
|
|
257
|
+
orderPriceMinTickSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0.1>, z.ZodLiteral<0.01>, z.ZodLiteral<0.005>, z.ZodLiteral<0.0025>, z.ZodLiteral<0.001>, z.ZodLiteral<0.0001>]>>>;
|
|
256
258
|
orderMinSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
257
259
|
umaResolutionStatus: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof UmaResolutionStatus>>>>, z.ZodTransform<UmaResolutionStatus | null, UmaResolutionStatus | null | undefined>>;
|
|
258
260
|
curationOrder: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -271,6 +273,7 @@ declare const GammaMarketSchema: z.ZodObject<{
|
|
|
271
273
|
gameStartTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
272
274
|
secondsDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
273
275
|
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>>;
|
|
276
|
+
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>>;
|
|
274
277
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
275
278
|
shortOutcomes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
276
279
|
teamAID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -331,7 +334,7 @@ declare const GammaMarketSchema: z.ZodObject<{
|
|
|
331
334
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
332
335
|
markets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
333
336
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
334
|
-
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
337
|
+
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
|
|
335
338
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
336
339
|
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
337
340
|
volume: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
@@ -369,7 +372,7 @@ declare const GammaMarketSchema: z.ZodObject<{
|
|
|
369
372
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
370
373
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
371
374
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
372
|
-
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
375
|
+
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
|
|
373
376
|
assetAddress: z.ZodString;
|
|
374
377
|
rewardsAmount: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
375
378
|
rewardsDailyRate: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
@@ -423,10 +426,16 @@ declare const GammaMarketSchema: z.ZodObject<{
|
|
|
423
426
|
rebateRate: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
424
427
|
}, z.core.$strip>>>;
|
|
425
428
|
}, z.core.$strip>;
|
|
429
|
+
/**
|
|
430
|
+
* Parses a single market into the normalized binary {@link Market} model.
|
|
431
|
+
*
|
|
432
|
+
* Markets without exactly two outcomes cannot be represented by the binary
|
|
433
|
+
* model and fail validation instead of throwing during normalization.
|
|
434
|
+
*/
|
|
426
435
|
declare const MarketSchema: z.ZodPipe<z.ZodObject<{
|
|
427
436
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
428
437
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
429
|
-
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
438
|
+
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>>, z.ZodTransform<CtfConditionId | null, CtfConditionId | null | undefined>>;
|
|
430
439
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
431
440
|
twitterCardImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
432
441
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -481,7 +490,7 @@ declare const MarketSchema: z.ZodPipe<z.ZodObject<{
|
|
|
481
490
|
questionID: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<QuestionId, string>>>>>, z.ZodTransform<QuestionId | null, QuestionId | null | undefined>>;
|
|
482
491
|
umaEndDate: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<MixedDateTimeString, string>>>>;
|
|
483
492
|
enableOrderBook: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
484
|
-
orderPriceMinTickSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0.1>, z.ZodLiteral<0.01>, z.ZodLiteral<0.001>, z.ZodLiteral<0.0001>]>>>;
|
|
493
|
+
orderPriceMinTickSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0.1>, z.ZodLiteral<0.01>, z.ZodLiteral<0.005>, z.ZodLiteral<0.0025>, z.ZodLiteral<0.001>, z.ZodLiteral<0.0001>]>>>;
|
|
485
494
|
orderMinSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
486
495
|
umaResolutionStatus: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof UmaResolutionStatus>>>>, z.ZodTransform<UmaResolutionStatus | null, UmaResolutionStatus | null | undefined>>;
|
|
487
496
|
curationOrder: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -500,6 +509,7 @@ declare const MarketSchema: z.ZodPipe<z.ZodObject<{
|
|
|
500
509
|
gameStartTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
501
510
|
secondsDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
502
511
|
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>>;
|
|
512
|
+
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>>;
|
|
503
513
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
504
514
|
shortOutcomes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
505
515
|
teamAID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -560,7 +570,7 @@ declare const MarketSchema: z.ZodPipe<z.ZodObject<{
|
|
|
560
570
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
561
571
|
markets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
562
572
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
563
|
-
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
573
|
+
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
|
|
564
574
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
565
575
|
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
566
576
|
volume: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
@@ -598,7 +608,7 @@ declare const MarketSchema: z.ZodPipe<z.ZodObject<{
|
|
|
598
608
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
599
609
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
600
610
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
601
|
-
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
611
|
+
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
|
|
602
612
|
assetAddress: z.ZodString;
|
|
603
613
|
rewardsAmount: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
604
614
|
rewardsDailyRate: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
@@ -653,7 +663,7 @@ declare const MarketSchema: z.ZodPipe<z.ZodObject<{
|
|
|
653
663
|
}, z.core.$strip>>>;
|
|
654
664
|
}, z.core.$strip>, z.ZodTransform<Market, {
|
|
655
665
|
id: MarketId;
|
|
656
|
-
conditionId:
|
|
666
|
+
conditionId: CtfConditionId | null;
|
|
657
667
|
outcomes: string[];
|
|
658
668
|
outcomePrices: DecimalString[];
|
|
659
669
|
marketMakerAddress: string;
|
|
@@ -661,6 +671,7 @@ declare const MarketSchema: z.ZodPipe<z.ZodObject<{
|
|
|
661
671
|
questionID: QuestionId | null;
|
|
662
672
|
umaResolutionStatus: UmaResolutionStatus | null;
|
|
663
673
|
clobTokenIds: TokenId[];
|
|
674
|
+
positionIds: PositionId[];
|
|
664
675
|
negRiskRequestID: ResolutionRequestId | null;
|
|
665
676
|
question?: string | null | undefined;
|
|
666
677
|
slug?: string | null | undefined;
|
|
@@ -712,7 +723,7 @@ declare const MarketSchema: z.ZodPipe<z.ZodObject<{
|
|
|
712
723
|
groupItemThreshold?: DecimalString | null | undefined;
|
|
713
724
|
umaEndDate?: MixedDateTimeString | null | undefined;
|
|
714
725
|
enableOrderBook?: boolean | null | undefined;
|
|
715
|
-
orderPriceMinTickSize?: 0.1 | 0.01 | 0.001 | 0.0001 | null | undefined;
|
|
726
|
+
orderPriceMinTickSize?: 0.1 | 0.01 | 0.005 | 0.0025 | 0.001 | 0.0001 | null | undefined;
|
|
716
727
|
orderMinSize?: DecimalString | null | undefined;
|
|
717
728
|
curationOrder?: number | null | undefined;
|
|
718
729
|
volumeNum?: DecimalString | null | undefined;
|
|
@@ -788,7 +799,7 @@ declare const MarketSchema: z.ZodPipe<z.ZodObject<{
|
|
|
788
799
|
categories?: unknown[] | null | undefined;
|
|
789
800
|
markets?: {
|
|
790
801
|
id: MarketId;
|
|
791
|
-
conditionId?:
|
|
802
|
+
conditionId?: CtfConditionId | undefined;
|
|
792
803
|
slug?: string | null | undefined;
|
|
793
804
|
image?: string | null | undefined;
|
|
794
805
|
volume?: DecimalString | null | undefined;
|
|
@@ -826,7 +837,7 @@ declare const MarketSchema: z.ZodPipe<z.ZodObject<{
|
|
|
826
837
|
approved?: boolean | null | undefined;
|
|
827
838
|
clobRewards?: {
|
|
828
839
|
id: ClobRewardId;
|
|
829
|
-
conditionId:
|
|
840
|
+
conditionId: CtfConditionId;
|
|
830
841
|
assetAddress: string;
|
|
831
842
|
rewardsAmount: DecimalString;
|
|
832
843
|
rewardsDailyRate: DecimalString;
|
|
@@ -880,10 +891,10 @@ declare const MarketSchema: z.ZodPipe<z.ZodObject<{
|
|
|
880
891
|
rebateRate: DecimalString;
|
|
881
892
|
} | null | undefined;
|
|
882
893
|
}>>;
|
|
883
|
-
declare const ListMarketsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
894
|
+
declare const ListMarketsResponseSchema: z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
884
895
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
885
896
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
886
|
-
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
897
|
+
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>>, z.ZodTransform<CtfConditionId | null, CtfConditionId | null | undefined>>;
|
|
887
898
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
888
899
|
twitterCardImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
889
900
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -938,7 +949,7 @@ declare const ListMarketsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
938
949
|
questionID: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<QuestionId, string>>>>>, z.ZodTransform<QuestionId | null, QuestionId | null | undefined>>;
|
|
939
950
|
umaEndDate: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<MixedDateTimeString, string>>>>;
|
|
940
951
|
enableOrderBook: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
941
|
-
orderPriceMinTickSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0.1>, z.ZodLiteral<0.01>, z.ZodLiteral<0.001>, z.ZodLiteral<0.0001>]>>>;
|
|
952
|
+
orderPriceMinTickSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0.1>, z.ZodLiteral<0.01>, z.ZodLiteral<0.005>, z.ZodLiteral<0.0025>, z.ZodLiteral<0.001>, z.ZodLiteral<0.0001>]>>>;
|
|
942
953
|
orderMinSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
943
954
|
umaResolutionStatus: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof UmaResolutionStatus>>>>, z.ZodTransform<UmaResolutionStatus | null, UmaResolutionStatus | null | undefined>>;
|
|
944
955
|
curationOrder: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -957,6 +968,7 @@ declare const ListMarketsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
957
968
|
gameStartTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
958
969
|
secondsDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
959
970
|
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>>;
|
|
971
|
+
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>>;
|
|
960
972
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
961
973
|
shortOutcomes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
962
974
|
teamAID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1017,7 +1029,7 @@ declare const ListMarketsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
1017
1029
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
1018
1030
|
markets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1019
1031
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
1020
|
-
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
1032
|
+
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
|
|
1021
1033
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1022
1034
|
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1023
1035
|
volume: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
@@ -1055,7 +1067,7 @@ declare const ListMarketsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
1055
1067
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1056
1068
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1057
1069
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
1058
|
-
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
1070
|
+
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
|
|
1059
1071
|
assetAddress: z.ZodString;
|
|
1060
1072
|
rewardsAmount: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
1061
1073
|
rewardsDailyRate: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
@@ -1108,9 +1120,9 @@ declare const ListMarketsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
1108
1120
|
takerOnly: z.ZodBoolean;
|
|
1109
1121
|
rebateRate: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
1110
1122
|
}, z.core.$strip>>>;
|
|
1111
|
-
}, z.core.$strip>, z.ZodTransform<Market, {
|
|
1123
|
+
}, z.core.$strip>, z.ZodTransform<Market | null, {
|
|
1112
1124
|
id: MarketId;
|
|
1113
|
-
conditionId:
|
|
1125
|
+
conditionId: CtfConditionId | null;
|
|
1114
1126
|
outcomes: string[];
|
|
1115
1127
|
outcomePrices: DecimalString[];
|
|
1116
1128
|
marketMakerAddress: string;
|
|
@@ -1118,6 +1130,7 @@ declare const ListMarketsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
1118
1130
|
questionID: QuestionId | null;
|
|
1119
1131
|
umaResolutionStatus: UmaResolutionStatus | null;
|
|
1120
1132
|
clobTokenIds: TokenId[];
|
|
1133
|
+
positionIds: PositionId[];
|
|
1121
1134
|
negRiskRequestID: ResolutionRequestId | null;
|
|
1122
1135
|
question?: string | null | undefined;
|
|
1123
1136
|
slug?: string | null | undefined;
|
|
@@ -1169,7 +1182,7 @@ declare const ListMarketsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
1169
1182
|
groupItemThreshold?: DecimalString | null | undefined;
|
|
1170
1183
|
umaEndDate?: MixedDateTimeString | null | undefined;
|
|
1171
1184
|
enableOrderBook?: boolean | null | undefined;
|
|
1172
|
-
orderPriceMinTickSize?: 0.1 | 0.01 | 0.001 | 0.0001 | null | undefined;
|
|
1185
|
+
orderPriceMinTickSize?: 0.1 | 0.01 | 0.005 | 0.0025 | 0.001 | 0.0001 | null | undefined;
|
|
1173
1186
|
orderMinSize?: DecimalString | null | undefined;
|
|
1174
1187
|
curationOrder?: number | null | undefined;
|
|
1175
1188
|
volumeNum?: DecimalString | null | undefined;
|
|
@@ -1245,7 +1258,7 @@ declare const ListMarketsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
1245
1258
|
categories?: unknown[] | null | undefined;
|
|
1246
1259
|
markets?: {
|
|
1247
1260
|
id: MarketId;
|
|
1248
|
-
conditionId?:
|
|
1261
|
+
conditionId?: CtfConditionId | undefined;
|
|
1249
1262
|
slug?: string | null | undefined;
|
|
1250
1263
|
image?: string | null | undefined;
|
|
1251
1264
|
volume?: DecimalString | null | undefined;
|
|
@@ -1283,7 +1296,7 @@ declare const ListMarketsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
1283
1296
|
approved?: boolean | null | undefined;
|
|
1284
1297
|
clobRewards?: {
|
|
1285
1298
|
id: ClobRewardId;
|
|
1286
|
-
conditionId:
|
|
1299
|
+
conditionId: CtfConditionId;
|
|
1287
1300
|
assetAddress: string;
|
|
1288
1301
|
rewardsAmount: DecimalString;
|
|
1289
1302
|
rewardsDailyRate: DecimalString;
|
|
@@ -1336,12 +1349,12 @@ declare const ListMarketsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
1336
1349
|
takerOnly: boolean;
|
|
1337
1350
|
rebateRate: DecimalString;
|
|
1338
1351
|
} | null | undefined;
|
|
1339
|
-
}
|
|
1352
|
+
}>>>, z.ZodTransform<Market[], (Market | null)[]>>;
|
|
1340
1353
|
declare const ListMarketsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
1341
1354
|
markets: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
1342
1355
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
1343
1356
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1344
|
-
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
1357
|
+
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>>, z.ZodTransform<CtfConditionId | null, CtfConditionId | null | undefined>>;
|
|
1345
1358
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1346
1359
|
twitterCardImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1347
1360
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1396,7 +1409,7 @@ declare const ListMarketsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1396
1409
|
questionID: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<QuestionId, string>>>>>, z.ZodTransform<QuestionId | null, QuestionId | null | undefined>>;
|
|
1397
1410
|
umaEndDate: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<MixedDateTimeString, string>>>>;
|
|
1398
1411
|
enableOrderBook: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1399
|
-
orderPriceMinTickSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0.1>, z.ZodLiteral<0.01>, z.ZodLiteral<0.001>, z.ZodLiteral<0.0001>]>>>;
|
|
1412
|
+
orderPriceMinTickSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0.1>, z.ZodLiteral<0.01>, z.ZodLiteral<0.005>, z.ZodLiteral<0.0025>, z.ZodLiteral<0.001>, z.ZodLiteral<0.0001>]>>>;
|
|
1400
1413
|
orderMinSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
1401
1414
|
umaResolutionStatus: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof UmaResolutionStatus>>>>, z.ZodTransform<UmaResolutionStatus | null, UmaResolutionStatus | null | undefined>>;
|
|
1402
1415
|
curationOrder: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1415,6 +1428,7 @@ declare const ListMarketsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1415
1428
|
gameStartTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
1416
1429
|
secondsDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1417
1430
|
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>>;
|
|
1431
|
+
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>>;
|
|
1418
1432
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1419
1433
|
shortOutcomes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1420
1434
|
teamAID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1475,7 +1489,7 @@ declare const ListMarketsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1475
1489
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
1476
1490
|
markets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1477
1491
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
1478
|
-
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
1492
|
+
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
|
|
1479
1493
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1480
1494
|
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1481
1495
|
volume: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
@@ -1513,7 +1527,7 @@ declare const ListMarketsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1513
1527
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1514
1528
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1515
1529
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
1516
|
-
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
1530
|
+
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
|
|
1517
1531
|
assetAddress: z.ZodString;
|
|
1518
1532
|
rewardsAmount: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
1519
1533
|
rewardsDailyRate: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
@@ -1566,9 +1580,9 @@ declare const ListMarketsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1566
1580
|
takerOnly: z.ZodBoolean;
|
|
1567
1581
|
rebateRate: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
1568
1582
|
}, z.core.$strip>>>;
|
|
1569
|
-
}, z.core.$strip>, z.ZodTransform<Market, {
|
|
1583
|
+
}, z.core.$strip>, z.ZodTransform<Market | null, {
|
|
1570
1584
|
id: MarketId;
|
|
1571
|
-
conditionId:
|
|
1585
|
+
conditionId: CtfConditionId | null;
|
|
1572
1586
|
outcomes: string[];
|
|
1573
1587
|
outcomePrices: DecimalString[];
|
|
1574
1588
|
marketMakerAddress: string;
|
|
@@ -1576,6 +1590,7 @@ declare const ListMarketsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1576
1590
|
questionID: QuestionId | null;
|
|
1577
1591
|
umaResolutionStatus: UmaResolutionStatus | null;
|
|
1578
1592
|
clobTokenIds: TokenId[];
|
|
1593
|
+
positionIds: PositionId[];
|
|
1579
1594
|
negRiskRequestID: ResolutionRequestId | null;
|
|
1580
1595
|
question?: string | null | undefined;
|
|
1581
1596
|
slug?: string | null | undefined;
|
|
@@ -1627,7 +1642,7 @@ declare const ListMarketsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1627
1642
|
groupItemThreshold?: DecimalString | null | undefined;
|
|
1628
1643
|
umaEndDate?: MixedDateTimeString | null | undefined;
|
|
1629
1644
|
enableOrderBook?: boolean | null | undefined;
|
|
1630
|
-
orderPriceMinTickSize?: 0.1 | 0.01 | 0.001 | 0.0001 | null | undefined;
|
|
1645
|
+
orderPriceMinTickSize?: 0.1 | 0.01 | 0.005 | 0.0025 | 0.001 | 0.0001 | null | undefined;
|
|
1631
1646
|
orderMinSize?: DecimalString | null | undefined;
|
|
1632
1647
|
curationOrder?: number | null | undefined;
|
|
1633
1648
|
volumeNum?: DecimalString | null | undefined;
|
|
@@ -1703,7 +1718,7 @@ declare const ListMarketsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1703
1718
|
categories?: unknown[] | null | undefined;
|
|
1704
1719
|
markets?: {
|
|
1705
1720
|
id: MarketId;
|
|
1706
|
-
conditionId?:
|
|
1721
|
+
conditionId?: CtfConditionId | undefined;
|
|
1707
1722
|
slug?: string | null | undefined;
|
|
1708
1723
|
image?: string | null | undefined;
|
|
1709
1724
|
volume?: DecimalString | null | undefined;
|
|
@@ -1741,7 +1756,7 @@ declare const ListMarketsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1741
1756
|
approved?: boolean | null | undefined;
|
|
1742
1757
|
clobRewards?: {
|
|
1743
1758
|
id: ClobRewardId;
|
|
1744
|
-
conditionId:
|
|
1759
|
+
conditionId: CtfConditionId;
|
|
1745
1760
|
assetAddress: string;
|
|
1746
1761
|
rewardsAmount: DecimalString;
|
|
1747
1762
|
rewardsDailyRate: DecimalString;
|
|
@@ -1795,12 +1810,12 @@ declare const ListMarketsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
1795
1810
|
rebateRate: DecimalString;
|
|
1796
1811
|
} | null | undefined;
|
|
1797
1812
|
}>>>;
|
|
1798
|
-
next_cursor: z.ZodOptional<z.
|
|
1813
|
+
next_cursor: z.ZodOptional<z.ZodCustom<PaginationCursor, PaginationCursor>>;
|
|
1799
1814
|
}, z.core.$strip>, z.ZodTransform<{
|
|
1800
1815
|
items: Market[];
|
|
1801
1816
|
nextCursor: PaginationCursor | undefined;
|
|
1802
1817
|
}, {
|
|
1803
|
-
markets: Market[];
|
|
1818
|
+
markets: (Market | null)[];
|
|
1804
1819
|
next_cursor?: PaginationCursor | undefined;
|
|
1805
1820
|
}>>;
|
|
1806
1821
|
declare const FetchMarketTagsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
@@ -1823,6 +1838,11 @@ type ListMarketsResponse = z.infer<typeof ListMarketsResponseSchema>;
|
|
|
1823
1838
|
type ListMarketsKeysetResponse = z.infer<typeof ListMarketsKeysetResponseSchema>;
|
|
1824
1839
|
type FetchMarketTagsResponse = z.infer<typeof FetchMarketTagsResponseSchema>;
|
|
1825
1840
|
declare function normalizeMarket(market: GammaMarket): Market;
|
|
1841
|
+
/**
|
|
1842
|
+
* Whether a raw market has exactly the two outcomes required by the binary
|
|
1843
|
+
* {@link Market} model. Callers must check this before {@link normalizeMarket}.
|
|
1844
|
+
*/
|
|
1845
|
+
declare function hasBinaryOutcomes(market: GammaMarket): boolean;
|
|
1826
1846
|
|
|
1827
1847
|
declare const SeriesIdSchema: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodNumber, z.ZodTransform<string, number>>]>, z.ZodTransform<SeriesId, string>>;
|
|
1828
1848
|
declare const CollectionReferenceSchema: z.ZodObject<{
|
|
@@ -2136,6 +2156,7 @@ type EventPartner = {
|
|
|
2136
2156
|
};
|
|
2137
2157
|
type Event = {
|
|
2138
2158
|
id: EventId;
|
|
2159
|
+
parentEventId?: EventId | null;
|
|
2139
2160
|
ticker?: string | null;
|
|
2140
2161
|
slug?: string | null;
|
|
2141
2162
|
title?: string | null;
|
|
@@ -2204,7 +2225,7 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2204
2225
|
volume1yr: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
2205
2226
|
featuredImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2206
2227
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2207
|
-
parentEventId: z.ZodOptional<z.ZodNullable<z.ZodNumber
|
|
2228
|
+
parentEventId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodNumber, z.ZodTransform<string, number>>]>, z.ZodTransform<EventId, string>>>>;
|
|
2208
2229
|
enableOrderBook: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2209
2230
|
liquidityAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
2210
2231
|
liquidityClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
@@ -2252,7 +2273,7 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2252
2273
|
markets: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
2253
2274
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
2254
2275
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2255
|
-
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
2276
|
+
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>>, z.ZodTransform<CtfConditionId | null, CtfConditionId | null | undefined>>;
|
|
2256
2277
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2257
2278
|
twitterCardImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2258
2279
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2307,7 +2328,7 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2307
2328
|
questionID: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<QuestionId, string>>>>>, z.ZodTransform<QuestionId | null, QuestionId | null | undefined>>;
|
|
2308
2329
|
umaEndDate: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<MixedDateTimeString, string>>>>;
|
|
2309
2330
|
enableOrderBook: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2310
|
-
orderPriceMinTickSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0.1>, z.ZodLiteral<0.01>, z.ZodLiteral<0.001>, z.ZodLiteral<0.0001>]>>>;
|
|
2331
|
+
orderPriceMinTickSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0.1>, z.ZodLiteral<0.01>, z.ZodLiteral<0.005>, z.ZodLiteral<0.0025>, z.ZodLiteral<0.001>, z.ZodLiteral<0.0001>]>>>;
|
|
2311
2332
|
orderMinSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
2312
2333
|
umaResolutionStatus: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof UmaResolutionStatus>>>>, z.ZodTransform<UmaResolutionStatus | null, UmaResolutionStatus | null | undefined>>;
|
|
2313
2334
|
curationOrder: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -2326,6 +2347,7 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2326
2347
|
gameStartTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
2327
2348
|
secondsDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2328
2349
|
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>>;
|
|
2350
|
+
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>>;
|
|
2329
2351
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2330
2352
|
shortOutcomes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2331
2353
|
teamAID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2386,7 +2408,7 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2386
2408
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
2387
2409
|
markets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2388
2410
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
2389
|
-
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
2411
|
+
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
|
|
2390
2412
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2391
2413
|
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2392
2414
|
volume: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
@@ -2424,7 +2446,7 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2424
2446
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2425
2447
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2426
2448
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
2427
|
-
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
2449
|
+
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
|
|
2428
2450
|
assetAddress: z.ZodString;
|
|
2429
2451
|
rewardsAmount: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
2430
2452
|
rewardsDailyRate: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
@@ -2479,7 +2501,7 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2479
2501
|
}, z.core.$strip>>>;
|
|
2480
2502
|
}, z.core.$strip>, z.ZodTransform<Market | null, {
|
|
2481
2503
|
id: MarketId;
|
|
2482
|
-
conditionId:
|
|
2504
|
+
conditionId: CtfConditionId | null;
|
|
2483
2505
|
outcomes: string[];
|
|
2484
2506
|
outcomePrices: DecimalString[];
|
|
2485
2507
|
marketMakerAddress: string;
|
|
@@ -2487,6 +2509,7 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2487
2509
|
questionID: QuestionId | null;
|
|
2488
2510
|
umaResolutionStatus: UmaResolutionStatus | null;
|
|
2489
2511
|
clobTokenIds: TokenId[];
|
|
2512
|
+
positionIds: PositionId[];
|
|
2490
2513
|
negRiskRequestID: ResolutionRequestId | null;
|
|
2491
2514
|
question?: string | null | undefined;
|
|
2492
2515
|
slug?: string | null | undefined;
|
|
@@ -2538,7 +2561,7 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2538
2561
|
groupItemThreshold?: DecimalString | null | undefined;
|
|
2539
2562
|
umaEndDate?: MixedDateTimeString | null | undefined;
|
|
2540
2563
|
enableOrderBook?: boolean | null | undefined;
|
|
2541
|
-
orderPriceMinTickSize?: 0.1 | 0.01 | 0.001 | 0.0001 | null | undefined;
|
|
2564
|
+
orderPriceMinTickSize?: 0.1 | 0.01 | 0.005 | 0.0025 | 0.001 | 0.0001 | null | undefined;
|
|
2542
2565
|
orderMinSize?: DecimalString | null | undefined;
|
|
2543
2566
|
curationOrder?: number | null | undefined;
|
|
2544
2567
|
volumeNum?: DecimalString | null | undefined;
|
|
@@ -2614,7 +2637,7 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2614
2637
|
categories?: unknown[] | null | undefined;
|
|
2615
2638
|
markets?: {
|
|
2616
2639
|
id: MarketId;
|
|
2617
|
-
conditionId?:
|
|
2640
|
+
conditionId?: CtfConditionId | undefined;
|
|
2618
2641
|
slug?: string | null | undefined;
|
|
2619
2642
|
image?: string | null | undefined;
|
|
2620
2643
|
volume?: DecimalString | null | undefined;
|
|
@@ -2652,7 +2675,7 @@ declare const GammaEventSchema: z.ZodObject<{
|
|
|
2652
2675
|
approved?: boolean | null | undefined;
|
|
2653
2676
|
clobRewards?: {
|
|
2654
2677
|
id: ClobRewardId;
|
|
2655
|
-
conditionId:
|
|
2678
|
+
conditionId: CtfConditionId;
|
|
2656
2679
|
assetAddress: string;
|
|
2657
2680
|
rewardsAmount: DecimalString;
|
|
2658
2681
|
rewardsDailyRate: DecimalString;
|
|
@@ -2972,7 +2995,7 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
2972
2995
|
volume1yr: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
2973
2996
|
featuredImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2974
2997
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2975
|
-
parentEventId: z.ZodOptional<z.ZodNullable<z.ZodNumber
|
|
2998
|
+
parentEventId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodNumber, z.ZodTransform<string, number>>]>, z.ZodTransform<EventId, string>>>>;
|
|
2976
2999
|
enableOrderBook: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2977
3000
|
liquidityAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
2978
3001
|
liquidityClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
@@ -3020,7 +3043,7 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3020
3043
|
markets: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
3021
3044
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
3022
3045
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3023
|
-
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
3046
|
+
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>>, z.ZodTransform<CtfConditionId | null, CtfConditionId | null | undefined>>;
|
|
3024
3047
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3025
3048
|
twitterCardImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3026
3049
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3075,7 +3098,7 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3075
3098
|
questionID: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<QuestionId, string>>>>>, z.ZodTransform<QuestionId | null, QuestionId | null | undefined>>;
|
|
3076
3099
|
umaEndDate: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<MixedDateTimeString, string>>>>;
|
|
3077
3100
|
enableOrderBook: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3078
|
-
orderPriceMinTickSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0.1>, z.ZodLiteral<0.01>, z.ZodLiteral<0.001>, z.ZodLiteral<0.0001>]>>>;
|
|
3101
|
+
orderPriceMinTickSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0.1>, z.ZodLiteral<0.01>, z.ZodLiteral<0.005>, z.ZodLiteral<0.0025>, z.ZodLiteral<0.001>, z.ZodLiteral<0.0001>]>>>;
|
|
3079
3102
|
orderMinSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
3080
3103
|
umaResolutionStatus: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof UmaResolutionStatus>>>>, z.ZodTransform<UmaResolutionStatus | null, UmaResolutionStatus | null | undefined>>;
|
|
3081
3104
|
curationOrder: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -3094,6 +3117,7 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3094
3117
|
gameStartTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
3095
3118
|
secondsDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3096
3119
|
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>>;
|
|
3120
|
+
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>>;
|
|
3097
3121
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3098
3122
|
shortOutcomes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3099
3123
|
teamAID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3154,7 +3178,7 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3154
3178
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
3155
3179
|
markets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3156
3180
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
3157
|
-
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
3181
|
+
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
|
|
3158
3182
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3159
3183
|
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3160
3184
|
volume: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
@@ -3192,7 +3216,7 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3192
3216
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3193
3217
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3194
3218
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
3195
|
-
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
3219
|
+
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
|
|
3196
3220
|
assetAddress: z.ZodString;
|
|
3197
3221
|
rewardsAmount: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
3198
3222
|
rewardsDailyRate: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
@@ -3247,7 +3271,7 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3247
3271
|
}, z.core.$strip>>>;
|
|
3248
3272
|
}, z.core.$strip>, z.ZodTransform<Market | null, {
|
|
3249
3273
|
id: MarketId;
|
|
3250
|
-
conditionId:
|
|
3274
|
+
conditionId: CtfConditionId | null;
|
|
3251
3275
|
outcomes: string[];
|
|
3252
3276
|
outcomePrices: DecimalString[];
|
|
3253
3277
|
marketMakerAddress: string;
|
|
@@ -3255,6 +3279,7 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3255
3279
|
questionID: QuestionId | null;
|
|
3256
3280
|
umaResolutionStatus: UmaResolutionStatus | null;
|
|
3257
3281
|
clobTokenIds: TokenId[];
|
|
3282
|
+
positionIds: PositionId[];
|
|
3258
3283
|
negRiskRequestID: ResolutionRequestId | null;
|
|
3259
3284
|
question?: string | null | undefined;
|
|
3260
3285
|
slug?: string | null | undefined;
|
|
@@ -3306,7 +3331,7 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3306
3331
|
groupItemThreshold?: DecimalString | null | undefined;
|
|
3307
3332
|
umaEndDate?: MixedDateTimeString | null | undefined;
|
|
3308
3333
|
enableOrderBook?: boolean | null | undefined;
|
|
3309
|
-
orderPriceMinTickSize?: 0.1 | 0.01 | 0.001 | 0.0001 | null | undefined;
|
|
3334
|
+
orderPriceMinTickSize?: 0.1 | 0.01 | 0.005 | 0.0025 | 0.001 | 0.0001 | null | undefined;
|
|
3310
3335
|
orderMinSize?: DecimalString | null | undefined;
|
|
3311
3336
|
curationOrder?: number | null | undefined;
|
|
3312
3337
|
volumeNum?: DecimalString | null | undefined;
|
|
@@ -3382,7 +3407,7 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3382
3407
|
categories?: unknown[] | null | undefined;
|
|
3383
3408
|
markets?: {
|
|
3384
3409
|
id: MarketId;
|
|
3385
|
-
conditionId?:
|
|
3410
|
+
conditionId?: CtfConditionId | undefined;
|
|
3386
3411
|
slug?: string | null | undefined;
|
|
3387
3412
|
image?: string | null | undefined;
|
|
3388
3413
|
volume?: DecimalString | null | undefined;
|
|
@@ -3420,7 +3445,7 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3420
3445
|
approved?: boolean | null | undefined;
|
|
3421
3446
|
clobRewards?: {
|
|
3422
3447
|
id: ClobRewardId;
|
|
3423
|
-
conditionId:
|
|
3448
|
+
conditionId: CtfConditionId;
|
|
3424
3449
|
assetAddress: string;
|
|
3425
3450
|
rewardsAmount: DecimalString;
|
|
3426
3451
|
rewardsDailyRate: DecimalString;
|
|
@@ -3739,7 +3764,7 @@ declare const EventSchema: z.ZodPipe<z.ZodObject<{
|
|
|
3739
3764
|
volume1yr?: DecimalString | null | undefined;
|
|
3740
3765
|
featuredImage?: string | null | undefined;
|
|
3741
3766
|
disqusThread?: string | null | undefined;
|
|
3742
|
-
parentEventId?:
|
|
3767
|
+
parentEventId?: EventId | null | undefined;
|
|
3743
3768
|
enableOrderBook?: boolean | null | undefined;
|
|
3744
3769
|
liquidityAmm?: DecimalString | null | undefined;
|
|
3745
3770
|
liquidityClob?: DecimalString | null | undefined;
|
|
@@ -4051,7 +4076,7 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4051
4076
|
volume1yr: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
4052
4077
|
featuredImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4053
4078
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4054
|
-
parentEventId: z.ZodOptional<z.ZodNullable<z.ZodNumber
|
|
4079
|
+
parentEventId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodNumber, z.ZodTransform<string, number>>]>, z.ZodTransform<EventId, string>>>>;
|
|
4055
4080
|
enableOrderBook: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4056
4081
|
liquidityAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
4057
4082
|
liquidityClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
@@ -4099,7 +4124,7 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4099
4124
|
markets: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
4100
4125
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
4101
4126
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4102
|
-
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
4127
|
+
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>>, z.ZodTransform<CtfConditionId | null, CtfConditionId | null | undefined>>;
|
|
4103
4128
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4104
4129
|
twitterCardImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4105
4130
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4154,7 +4179,7 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4154
4179
|
questionID: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<QuestionId, string>>>>>, z.ZodTransform<QuestionId | null, QuestionId | null | undefined>>;
|
|
4155
4180
|
umaEndDate: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<MixedDateTimeString, string>>>>;
|
|
4156
4181
|
enableOrderBook: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4157
|
-
orderPriceMinTickSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0.1>, z.ZodLiteral<0.01>, z.ZodLiteral<0.001>, z.ZodLiteral<0.0001>]>>>;
|
|
4182
|
+
orderPriceMinTickSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0.1>, z.ZodLiteral<0.01>, z.ZodLiteral<0.005>, z.ZodLiteral<0.0025>, z.ZodLiteral<0.001>, z.ZodLiteral<0.0001>]>>>;
|
|
4158
4183
|
orderMinSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
4159
4184
|
umaResolutionStatus: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof UmaResolutionStatus>>>>, z.ZodTransform<UmaResolutionStatus | null, UmaResolutionStatus | null | undefined>>;
|
|
4160
4185
|
curationOrder: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -4173,6 +4198,7 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4173
4198
|
gameStartTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
4174
4199
|
secondsDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4175
4200
|
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>>;
|
|
4201
|
+
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>>;
|
|
4176
4202
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4177
4203
|
shortOutcomes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4178
4204
|
teamAID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4233,7 +4259,7 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4233
4259
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
4234
4260
|
markets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
4235
4261
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
4236
|
-
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
4262
|
+
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
|
|
4237
4263
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4238
4264
|
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4239
4265
|
volume: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
@@ -4271,7 +4297,7 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4271
4297
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4272
4298
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
4273
4299
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
4274
|
-
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
4300
|
+
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
|
|
4275
4301
|
assetAddress: z.ZodString;
|
|
4276
4302
|
rewardsAmount: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
4277
4303
|
rewardsDailyRate: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
@@ -4326,7 +4352,7 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4326
4352
|
}, z.core.$strip>>>;
|
|
4327
4353
|
}, z.core.$strip>, z.ZodTransform<Market | null, {
|
|
4328
4354
|
id: MarketId;
|
|
4329
|
-
conditionId:
|
|
4355
|
+
conditionId: CtfConditionId | null;
|
|
4330
4356
|
outcomes: string[];
|
|
4331
4357
|
outcomePrices: DecimalString[];
|
|
4332
4358
|
marketMakerAddress: string;
|
|
@@ -4334,6 +4360,7 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4334
4360
|
questionID: QuestionId | null;
|
|
4335
4361
|
umaResolutionStatus: UmaResolutionStatus | null;
|
|
4336
4362
|
clobTokenIds: TokenId[];
|
|
4363
|
+
positionIds: PositionId[];
|
|
4337
4364
|
negRiskRequestID: ResolutionRequestId | null;
|
|
4338
4365
|
question?: string | null | undefined;
|
|
4339
4366
|
slug?: string | null | undefined;
|
|
@@ -4385,7 +4412,7 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4385
4412
|
groupItemThreshold?: DecimalString | null | undefined;
|
|
4386
4413
|
umaEndDate?: MixedDateTimeString | null | undefined;
|
|
4387
4414
|
enableOrderBook?: boolean | null | undefined;
|
|
4388
|
-
orderPriceMinTickSize?: 0.1 | 0.01 | 0.001 | 0.0001 | null | undefined;
|
|
4415
|
+
orderPriceMinTickSize?: 0.1 | 0.01 | 0.005 | 0.0025 | 0.001 | 0.0001 | null | undefined;
|
|
4389
4416
|
orderMinSize?: DecimalString | null | undefined;
|
|
4390
4417
|
curationOrder?: number | null | undefined;
|
|
4391
4418
|
volumeNum?: DecimalString | null | undefined;
|
|
@@ -4461,7 +4488,7 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4461
4488
|
categories?: unknown[] | null | undefined;
|
|
4462
4489
|
markets?: {
|
|
4463
4490
|
id: MarketId;
|
|
4464
|
-
conditionId?:
|
|
4491
|
+
conditionId?: CtfConditionId | undefined;
|
|
4465
4492
|
slug?: string | null | undefined;
|
|
4466
4493
|
image?: string | null | undefined;
|
|
4467
4494
|
volume?: DecimalString | null | undefined;
|
|
@@ -4499,7 +4526,7 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4499
4526
|
approved?: boolean | null | undefined;
|
|
4500
4527
|
clobRewards?: {
|
|
4501
4528
|
id: ClobRewardId;
|
|
4502
|
-
conditionId:
|
|
4529
|
+
conditionId: CtfConditionId;
|
|
4503
4530
|
assetAddress: string;
|
|
4504
4531
|
rewardsAmount: DecimalString;
|
|
4505
4532
|
rewardsDailyRate: DecimalString;
|
|
@@ -4818,7 +4845,7 @@ declare const ListEventsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
|
4818
4845
|
volume1yr?: DecimalString | null | undefined;
|
|
4819
4846
|
featuredImage?: string | null | undefined;
|
|
4820
4847
|
disqusThread?: string | null | undefined;
|
|
4821
|
-
parentEventId?:
|
|
4848
|
+
parentEventId?: EventId | null | undefined;
|
|
4822
4849
|
enableOrderBook?: boolean | null | undefined;
|
|
4823
4850
|
liquidityAmm?: DecimalString | null | undefined;
|
|
4824
4851
|
liquidityClob?: DecimalString | null | undefined;
|
|
@@ -5131,7 +5158,7 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5131
5158
|
volume1yr: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
5132
5159
|
featuredImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5133
5160
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5134
|
-
parentEventId: z.ZodOptional<z.ZodNullable<z.ZodNumber
|
|
5161
|
+
parentEventId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodNumber, z.ZodTransform<string, number>>]>, z.ZodTransform<EventId, string>>>>;
|
|
5135
5162
|
enableOrderBook: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5136
5163
|
liquidityAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
5137
5164
|
liquidityClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
@@ -5179,7 +5206,7 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5179
5206
|
markets: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
5180
5207
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
5181
5208
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5182
|
-
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
5209
|
+
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>>, z.ZodTransform<CtfConditionId | null, CtfConditionId | null | undefined>>;
|
|
5183
5210
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5184
5211
|
twitterCardImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5185
5212
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -5234,7 +5261,7 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5234
5261
|
questionID: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<QuestionId, string>>>>>, z.ZodTransform<QuestionId | null, QuestionId | null | undefined>>;
|
|
5235
5262
|
umaEndDate: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<MixedDateTimeString, string>>>>;
|
|
5236
5263
|
enableOrderBook: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5237
|
-
orderPriceMinTickSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0.1>, z.ZodLiteral<0.01>, z.ZodLiteral<0.001>, z.ZodLiteral<0.0001>]>>>;
|
|
5264
|
+
orderPriceMinTickSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0.1>, z.ZodLiteral<0.01>, z.ZodLiteral<0.005>, z.ZodLiteral<0.0025>, z.ZodLiteral<0.001>, z.ZodLiteral<0.0001>]>>>;
|
|
5238
5265
|
orderMinSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
5239
5266
|
umaResolutionStatus: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof UmaResolutionStatus>>>>, z.ZodTransform<UmaResolutionStatus | null, UmaResolutionStatus | null | undefined>>;
|
|
5240
5267
|
curationOrder: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -5253,6 +5280,7 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5253
5280
|
gameStartTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
5254
5281
|
secondsDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5255
5282
|
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>>;
|
|
5283
|
+
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>>;
|
|
5256
5284
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5257
5285
|
shortOutcomes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5258
5286
|
teamAID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -5313,7 +5341,7 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5313
5341
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
5314
5342
|
markets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
5315
5343
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
5316
|
-
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
5344
|
+
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
|
|
5317
5345
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5318
5346
|
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5319
5347
|
volume: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
@@ -5351,7 +5379,7 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5351
5379
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5352
5380
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
5353
5381
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
5354
|
-
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
5382
|
+
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
|
|
5355
5383
|
assetAddress: z.ZodString;
|
|
5356
5384
|
rewardsAmount: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
5357
5385
|
rewardsDailyRate: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
@@ -5406,7 +5434,7 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5406
5434
|
}, z.core.$strip>>>;
|
|
5407
5435
|
}, z.core.$strip>, z.ZodTransform<Market | null, {
|
|
5408
5436
|
id: MarketId;
|
|
5409
|
-
conditionId:
|
|
5437
|
+
conditionId: CtfConditionId | null;
|
|
5410
5438
|
outcomes: string[];
|
|
5411
5439
|
outcomePrices: DecimalString[];
|
|
5412
5440
|
marketMakerAddress: string;
|
|
@@ -5414,6 +5442,7 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5414
5442
|
questionID: QuestionId | null;
|
|
5415
5443
|
umaResolutionStatus: UmaResolutionStatus | null;
|
|
5416
5444
|
clobTokenIds: TokenId[];
|
|
5445
|
+
positionIds: PositionId[];
|
|
5417
5446
|
negRiskRequestID: ResolutionRequestId | null;
|
|
5418
5447
|
question?: string | null | undefined;
|
|
5419
5448
|
slug?: string | null | undefined;
|
|
@@ -5465,7 +5494,7 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5465
5494
|
groupItemThreshold?: DecimalString | null | undefined;
|
|
5466
5495
|
umaEndDate?: MixedDateTimeString | null | undefined;
|
|
5467
5496
|
enableOrderBook?: boolean | null | undefined;
|
|
5468
|
-
orderPriceMinTickSize?: 0.1 | 0.01 | 0.001 | 0.0001 | null | undefined;
|
|
5497
|
+
orderPriceMinTickSize?: 0.1 | 0.01 | 0.005 | 0.0025 | 0.001 | 0.0001 | null | undefined;
|
|
5469
5498
|
orderMinSize?: DecimalString | null | undefined;
|
|
5470
5499
|
curationOrder?: number | null | undefined;
|
|
5471
5500
|
volumeNum?: DecimalString | null | undefined;
|
|
@@ -5541,7 +5570,7 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5541
5570
|
categories?: unknown[] | null | undefined;
|
|
5542
5571
|
markets?: {
|
|
5543
5572
|
id: MarketId;
|
|
5544
|
-
conditionId?:
|
|
5573
|
+
conditionId?: CtfConditionId | undefined;
|
|
5545
5574
|
slug?: string | null | undefined;
|
|
5546
5575
|
image?: string | null | undefined;
|
|
5547
5576
|
volume?: DecimalString | null | undefined;
|
|
@@ -5579,7 +5608,7 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5579
5608
|
approved?: boolean | null | undefined;
|
|
5580
5609
|
clobRewards?: {
|
|
5581
5610
|
id: ClobRewardId;
|
|
5582
|
-
conditionId:
|
|
5611
|
+
conditionId: CtfConditionId;
|
|
5583
5612
|
assetAddress: string;
|
|
5584
5613
|
rewardsAmount: DecimalString;
|
|
5585
5614
|
rewardsDailyRate: DecimalString;
|
|
@@ -5898,7 +5927,7 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
5898
5927
|
volume1yr?: DecimalString | null | undefined;
|
|
5899
5928
|
featuredImage?: string | null | undefined;
|
|
5900
5929
|
disqusThread?: string | null | undefined;
|
|
5901
|
-
parentEventId?:
|
|
5930
|
+
parentEventId?: EventId | null | undefined;
|
|
5902
5931
|
enableOrderBook?: boolean | null | undefined;
|
|
5903
5932
|
liquidityAmm?: DecimalString | null | undefined;
|
|
5904
5933
|
liquidityClob?: DecimalString | null | undefined;
|
|
@@ -6170,7 +6199,7 @@ declare const ListEventsKeysetResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
|
6170
6199
|
updatedAt?: IsoDateTimeString | null | undefined;
|
|
6171
6200
|
}[] | null | undefined;
|
|
6172
6201
|
}>>>;
|
|
6173
|
-
next_cursor: z.ZodOptional<z.
|
|
6202
|
+
next_cursor: z.ZodOptional<z.ZodCustom<PaginationCursor, PaginationCursor>>;
|
|
6174
6203
|
}, z.core.$strip>, z.ZodTransform<{
|
|
6175
6204
|
items: Event[];
|
|
6176
6205
|
nextCursor: PaginationCursor | undefined;
|
|
@@ -6463,7 +6492,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
6463
6492
|
volume1yr: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
6464
6493
|
featuredImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6465
6494
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6466
|
-
parentEventId: z.ZodOptional<z.ZodNullable<z.ZodNumber
|
|
6495
|
+
parentEventId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodNumber, z.ZodTransform<string, number>>]>, z.ZodTransform<EventId, string>>>>;
|
|
6467
6496
|
enableOrderBook: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6468
6497
|
liquidityAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
6469
6498
|
liquidityClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
@@ -6511,7 +6540,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
6511
6540
|
markets: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
6512
6541
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
6513
6542
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6514
|
-
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
6543
|
+
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>>, z.ZodTransform<CtfConditionId | null, CtfConditionId | null | undefined>>;
|
|
6515
6544
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6516
6545
|
twitterCardImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6517
6546
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -6566,7 +6595,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
6566
6595
|
questionID: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<QuestionId, string>>>>>, z.ZodTransform<QuestionId | null, QuestionId | null | undefined>>;
|
|
6567
6596
|
umaEndDate: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<MixedDateTimeString, string>>>>;
|
|
6568
6597
|
enableOrderBook: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6569
|
-
orderPriceMinTickSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0.1>, z.ZodLiteral<0.01>, z.ZodLiteral<0.001>, z.ZodLiteral<0.0001>]>>>;
|
|
6598
|
+
orderPriceMinTickSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0.1>, z.ZodLiteral<0.01>, z.ZodLiteral<0.005>, z.ZodLiteral<0.0025>, z.ZodLiteral<0.001>, z.ZodLiteral<0.0001>]>>>;
|
|
6570
6599
|
orderMinSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
6571
6600
|
umaResolutionStatus: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof UmaResolutionStatus>>>>, z.ZodTransform<UmaResolutionStatus | null, UmaResolutionStatus | null | undefined>>;
|
|
6572
6601
|
curationOrder: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -6585,6 +6614,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
6585
6614
|
gameStartTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
6586
6615
|
secondsDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6587
6616
|
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>>;
|
|
6617
|
+
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>>;
|
|
6588
6618
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6589
6619
|
shortOutcomes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6590
6620
|
teamAID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -6645,7 +6675,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
6645
6675
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
6646
6676
|
markets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
6647
6677
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
6648
|
-
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
6678
|
+
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
|
|
6649
6679
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6650
6680
|
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6651
6681
|
volume: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
@@ -6683,7 +6713,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
6683
6713
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6684
6714
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
6685
6715
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
6686
|
-
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
6716
|
+
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
|
|
6687
6717
|
assetAddress: z.ZodString;
|
|
6688
6718
|
rewardsAmount: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
6689
6719
|
rewardsDailyRate: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
@@ -6738,7 +6768,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
6738
6768
|
}, z.core.$strip>>>;
|
|
6739
6769
|
}, z.core.$strip>, z.ZodTransform<Market | null, {
|
|
6740
6770
|
id: MarketId;
|
|
6741
|
-
conditionId:
|
|
6771
|
+
conditionId: CtfConditionId | null;
|
|
6742
6772
|
outcomes: string[];
|
|
6743
6773
|
outcomePrices: DecimalString[];
|
|
6744
6774
|
marketMakerAddress: string;
|
|
@@ -6746,6 +6776,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
6746
6776
|
questionID: QuestionId | null;
|
|
6747
6777
|
umaResolutionStatus: UmaResolutionStatus | null;
|
|
6748
6778
|
clobTokenIds: TokenId[];
|
|
6779
|
+
positionIds: PositionId[];
|
|
6749
6780
|
negRiskRequestID: ResolutionRequestId | null;
|
|
6750
6781
|
question?: string | null | undefined;
|
|
6751
6782
|
slug?: string | null | undefined;
|
|
@@ -6797,7 +6828,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
6797
6828
|
groupItemThreshold?: DecimalString | null | undefined;
|
|
6798
6829
|
umaEndDate?: MixedDateTimeString | null | undefined;
|
|
6799
6830
|
enableOrderBook?: boolean | null | undefined;
|
|
6800
|
-
orderPriceMinTickSize?: 0.1 | 0.01 | 0.001 | 0.0001 | null | undefined;
|
|
6831
|
+
orderPriceMinTickSize?: 0.1 | 0.01 | 0.005 | 0.0025 | 0.001 | 0.0001 | null | undefined;
|
|
6801
6832
|
orderMinSize?: DecimalString | null | undefined;
|
|
6802
6833
|
curationOrder?: number | null | undefined;
|
|
6803
6834
|
volumeNum?: DecimalString | null | undefined;
|
|
@@ -6873,7 +6904,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
6873
6904
|
categories?: unknown[] | null | undefined;
|
|
6874
6905
|
markets?: {
|
|
6875
6906
|
id: MarketId;
|
|
6876
|
-
conditionId?:
|
|
6907
|
+
conditionId?: CtfConditionId | undefined;
|
|
6877
6908
|
slug?: string | null | undefined;
|
|
6878
6909
|
image?: string | null | undefined;
|
|
6879
6910
|
volume?: DecimalString | null | undefined;
|
|
@@ -6911,7 +6942,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
6911
6942
|
approved?: boolean | null | undefined;
|
|
6912
6943
|
clobRewards?: {
|
|
6913
6944
|
id: ClobRewardId;
|
|
6914
|
-
conditionId:
|
|
6945
|
+
conditionId: CtfConditionId;
|
|
6915
6946
|
assetAddress: string;
|
|
6916
6947
|
rewardsAmount: DecimalString;
|
|
6917
6948
|
rewardsDailyRate: DecimalString;
|
|
@@ -7230,7 +7261,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
|
|
|
7230
7261
|
volume1yr?: DecimalString | null | undefined;
|
|
7231
7262
|
featuredImage?: string | null | undefined;
|
|
7232
7263
|
disqusThread?: string | null | undefined;
|
|
7233
|
-
parentEventId?:
|
|
7264
|
+
parentEventId?: EventId | null | undefined;
|
|
7234
7265
|
enableOrderBook?: boolean | null | undefined;
|
|
7235
7266
|
liquidityAmm?: DecimalString | null | undefined;
|
|
7236
7267
|
liquidityClob?: DecimalString | null | undefined;
|
|
@@ -7730,7 +7761,7 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
7730
7761
|
volume1yr: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
7731
7762
|
featuredImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7732
7763
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7733
|
-
parentEventId: z.ZodOptional<z.ZodNullable<z.ZodNumber
|
|
7764
|
+
parentEventId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodNumber, z.ZodTransform<string, number>>]>, z.ZodTransform<EventId, string>>>>;
|
|
7734
7765
|
enableOrderBook: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7735
7766
|
liquidityAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
7736
7767
|
liquidityClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
@@ -7778,7 +7809,7 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
7778
7809
|
markets: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
7779
7810
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
7780
7811
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7781
|
-
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
7812
|
+
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>>, z.ZodTransform<CtfConditionId | null, CtfConditionId | null | undefined>>;
|
|
7782
7813
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7783
7814
|
twitterCardImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7784
7815
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -7833,7 +7864,7 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
7833
7864
|
questionID: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<QuestionId, string>>>>>, z.ZodTransform<QuestionId | null, QuestionId | null | undefined>>;
|
|
7834
7865
|
umaEndDate: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<MixedDateTimeString, string>>>>;
|
|
7835
7866
|
enableOrderBook: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7836
|
-
orderPriceMinTickSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0.1>, z.ZodLiteral<0.01>, z.ZodLiteral<0.001>, z.ZodLiteral<0.0001>]>>>;
|
|
7867
|
+
orderPriceMinTickSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0.1>, z.ZodLiteral<0.01>, z.ZodLiteral<0.005>, z.ZodLiteral<0.0025>, z.ZodLiteral<0.001>, z.ZodLiteral<0.0001>]>>>;
|
|
7837
7868
|
orderMinSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
7838
7869
|
umaResolutionStatus: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof UmaResolutionStatus>>>>, z.ZodTransform<UmaResolutionStatus | null, UmaResolutionStatus | null | undefined>>;
|
|
7839
7870
|
curationOrder: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -7852,6 +7883,7 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
7852
7883
|
gameStartTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
7853
7884
|
secondsDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
7854
7885
|
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>>;
|
|
7886
|
+
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>>;
|
|
7855
7887
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7856
7888
|
shortOutcomes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7857
7889
|
teamAID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -7912,7 +7944,7 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
7912
7944
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
7913
7945
|
markets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
7914
7946
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
7915
|
-
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
7947
|
+
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
|
|
7916
7948
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7917
7949
|
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7918
7950
|
volume: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
@@ -7950,7 +7982,7 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
7950
7982
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
7951
7983
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
7952
7984
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
7953
|
-
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
7985
|
+
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
|
|
7954
7986
|
assetAddress: z.ZodString;
|
|
7955
7987
|
rewardsAmount: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
7956
7988
|
rewardsDailyRate: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
@@ -8005,7 +8037,7 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
8005
8037
|
}, z.core.$strip>>>;
|
|
8006
8038
|
}, z.core.$strip>, z.ZodTransform<Market | null, {
|
|
8007
8039
|
id: MarketId;
|
|
8008
|
-
conditionId:
|
|
8040
|
+
conditionId: CtfConditionId | null;
|
|
8009
8041
|
outcomes: string[];
|
|
8010
8042
|
outcomePrices: DecimalString[];
|
|
8011
8043
|
marketMakerAddress: string;
|
|
@@ -8013,6 +8045,7 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
8013
8045
|
questionID: QuestionId | null;
|
|
8014
8046
|
umaResolutionStatus: UmaResolutionStatus | null;
|
|
8015
8047
|
clobTokenIds: TokenId[];
|
|
8048
|
+
positionIds: PositionId[];
|
|
8016
8049
|
negRiskRequestID: ResolutionRequestId | null;
|
|
8017
8050
|
question?: string | null | undefined;
|
|
8018
8051
|
slug?: string | null | undefined;
|
|
@@ -8064,7 +8097,7 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
8064
8097
|
groupItemThreshold?: DecimalString | null | undefined;
|
|
8065
8098
|
umaEndDate?: MixedDateTimeString | null | undefined;
|
|
8066
8099
|
enableOrderBook?: boolean | null | undefined;
|
|
8067
|
-
orderPriceMinTickSize?: 0.1 | 0.01 | 0.001 | 0.0001 | null | undefined;
|
|
8100
|
+
orderPriceMinTickSize?: 0.1 | 0.01 | 0.005 | 0.0025 | 0.001 | 0.0001 | null | undefined;
|
|
8068
8101
|
orderMinSize?: DecimalString | null | undefined;
|
|
8069
8102
|
curationOrder?: number | null | undefined;
|
|
8070
8103
|
volumeNum?: DecimalString | null | undefined;
|
|
@@ -8140,7 +8173,7 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
8140
8173
|
categories?: unknown[] | null | undefined;
|
|
8141
8174
|
markets?: {
|
|
8142
8175
|
id: MarketId;
|
|
8143
|
-
conditionId?:
|
|
8176
|
+
conditionId?: CtfConditionId | undefined;
|
|
8144
8177
|
slug?: string | null | undefined;
|
|
8145
8178
|
image?: string | null | undefined;
|
|
8146
8179
|
volume?: DecimalString | null | undefined;
|
|
@@ -8178,7 +8211,7 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
8178
8211
|
approved?: boolean | null | undefined;
|
|
8179
8212
|
clobRewards?: {
|
|
8180
8213
|
id: ClobRewardId;
|
|
8181
|
-
conditionId:
|
|
8214
|
+
conditionId: CtfConditionId;
|
|
8182
8215
|
assetAddress: string;
|
|
8183
8216
|
rewardsAmount: DecimalString;
|
|
8184
8217
|
rewardsDailyRate: DecimalString;
|
|
@@ -8497,7 +8530,7 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
8497
8530
|
volume1yr?: DecimalString | null | undefined;
|
|
8498
8531
|
featuredImage?: string | null | undefined;
|
|
8499
8532
|
disqusThread?: string | null | undefined;
|
|
8500
|
-
parentEventId?:
|
|
8533
|
+
parentEventId?: EventId | null | undefined;
|
|
8501
8534
|
enableOrderBook?: boolean | null | undefined;
|
|
8502
8535
|
liquidityAmm?: DecimalString | null | undefined;
|
|
8503
8536
|
liquidityClob?: DecimalString | null | undefined;
|
|
@@ -8798,26 +8831,6 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
8798
8831
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8799
8832
|
commentsEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8800
8833
|
}, z.core.$strip>>>>;
|
|
8801
|
-
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
8802
|
-
id: z.ZodPipe<z.ZodString, z.ZodTransform<CategoryId, string>>;
|
|
8803
|
-
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8804
|
-
parentCategory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8805
|
-
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8806
|
-
publishedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
8807
|
-
createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8808
|
-
updatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8809
|
-
createdAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
8810
|
-
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
8811
|
-
}, z.core.$strip>>>>;
|
|
8812
|
-
chats: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
8813
|
-
id: z.ZodPipe<z.ZodString, z.ZodTransform<ChatId, string>>;
|
|
8814
|
-
channelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8815
|
-
channelName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8816
|
-
channelImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8817
|
-
live: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8818
|
-
startTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
8819
|
-
endTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
8820
|
-
}, z.core.$strip>>>>;
|
|
8821
8834
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
8822
8835
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<TagId, string>>;
|
|
8823
8836
|
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -8832,15 +8845,6 @@ declare const SeriesSchema: z.ZodObject<{
|
|
|
8832
8845
|
isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8833
8846
|
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8834
8847
|
activeEventsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8835
|
-
chats: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
8836
|
-
id: z.ZodPipe<z.ZodString, z.ZodTransform<ChatId, string>>;
|
|
8837
|
-
channelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8838
|
-
channelName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8839
|
-
channelImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8840
|
-
live: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8841
|
-
startTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
8842
|
-
endTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
8843
|
-
}, z.core.$strip>>>>;
|
|
8844
8848
|
templates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
8845
8849
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<TemplateId, string>>;
|
|
8846
8850
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -8936,7 +8940,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
8936
8940
|
volume1yr: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
8937
8941
|
featuredImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8938
8942
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8939
|
-
parentEventId: z.ZodOptional<z.ZodNullable<z.ZodNumber
|
|
8943
|
+
parentEventId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodNumber, z.ZodTransform<string, number>>]>, z.ZodTransform<EventId, string>>>>;
|
|
8940
8944
|
enableOrderBook: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8941
8945
|
liquidityAmm: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
8942
8946
|
liquidityClob: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
@@ -8984,7 +8988,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
8984
8988
|
markets: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
8985
8989
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
8986
8990
|
question: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8987
|
-
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
8991
|
+
conditionId: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>>, z.ZodTransform<CtfConditionId | null, CtfConditionId | null | undefined>>;
|
|
8988
8992
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8989
8993
|
twitterCardImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8990
8994
|
resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -9039,7 +9043,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9039
9043
|
questionID: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<QuestionId, string>>>>>, z.ZodTransform<QuestionId | null, QuestionId | null | undefined>>;
|
|
9040
9044
|
umaEndDate: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<MixedDateTimeString, string>>>>;
|
|
9041
9045
|
enableOrderBook: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
9042
|
-
orderPriceMinTickSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0.1>, z.ZodLiteral<0.01>, z.ZodLiteral<0.001>, z.ZodLiteral<0.0001>]>>>;
|
|
9046
|
+
orderPriceMinTickSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0.1>, z.ZodLiteral<0.01>, z.ZodLiteral<0.005>, z.ZodLiteral<0.0025>, z.ZodLiteral<0.001>, z.ZodLiteral<0.0001>]>>>;
|
|
9043
9047
|
orderMinSize: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
|
|
9044
9048
|
umaResolutionStatus: z.ZodPipe<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof UmaResolutionStatus>>>>, z.ZodTransform<UmaResolutionStatus | null, UmaResolutionStatus | null | undefined>>;
|
|
9045
9049
|
curationOrder: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -9058,6 +9062,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9058
9062
|
gameStartTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
9059
9063
|
secondsDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9060
9064
|
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>>;
|
|
9065
|
+
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>>;
|
|
9061
9066
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9062
9067
|
shortOutcomes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9063
9068
|
teamAID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -9118,7 +9123,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9118
9123
|
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
9119
9124
|
markets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
9120
9125
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
|
|
9121
|
-
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
9126
|
+
conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
|
|
9122
9127
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9123
9128
|
image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9124
9129
|
volume: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
|
|
@@ -9156,7 +9161,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9156
9161
|
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
9157
9162
|
clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
9158
9163
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
|
|
9159
|
-
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<
|
|
9164
|
+
conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
|
|
9160
9165
|
assetAddress: z.ZodString;
|
|
9161
9166
|
rewardsAmount: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
9162
9167
|
rewardsDailyRate: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
|
|
@@ -9211,7 +9216,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9211
9216
|
}, z.core.$strip>>>;
|
|
9212
9217
|
}, z.core.$strip>, z.ZodTransform<Market | null, {
|
|
9213
9218
|
id: MarketId;
|
|
9214
|
-
conditionId:
|
|
9219
|
+
conditionId: CtfConditionId | null;
|
|
9215
9220
|
outcomes: string[];
|
|
9216
9221
|
outcomePrices: DecimalString[];
|
|
9217
9222
|
marketMakerAddress: string;
|
|
@@ -9219,6 +9224,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9219
9224
|
questionID: QuestionId | null;
|
|
9220
9225
|
umaResolutionStatus: UmaResolutionStatus | null;
|
|
9221
9226
|
clobTokenIds: TokenId[];
|
|
9227
|
+
positionIds: PositionId[];
|
|
9222
9228
|
negRiskRequestID: ResolutionRequestId | null;
|
|
9223
9229
|
question?: string | null | undefined;
|
|
9224
9230
|
slug?: string | null | undefined;
|
|
@@ -9270,7 +9276,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9270
9276
|
groupItemThreshold?: DecimalString | null | undefined;
|
|
9271
9277
|
umaEndDate?: MixedDateTimeString | null | undefined;
|
|
9272
9278
|
enableOrderBook?: boolean | null | undefined;
|
|
9273
|
-
orderPriceMinTickSize?: 0.1 | 0.01 | 0.001 | 0.0001 | null | undefined;
|
|
9279
|
+
orderPriceMinTickSize?: 0.1 | 0.01 | 0.005 | 0.0025 | 0.001 | 0.0001 | null | undefined;
|
|
9274
9280
|
orderMinSize?: DecimalString | null | undefined;
|
|
9275
9281
|
curationOrder?: number | null | undefined;
|
|
9276
9282
|
volumeNum?: DecimalString | null | undefined;
|
|
@@ -9346,7 +9352,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9346
9352
|
categories?: unknown[] | null | undefined;
|
|
9347
9353
|
markets?: {
|
|
9348
9354
|
id: MarketId;
|
|
9349
|
-
conditionId?:
|
|
9355
|
+
conditionId?: CtfConditionId | undefined;
|
|
9350
9356
|
slug?: string | null | undefined;
|
|
9351
9357
|
image?: string | null | undefined;
|
|
9352
9358
|
volume?: DecimalString | null | undefined;
|
|
@@ -9384,7 +9390,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9384
9390
|
approved?: boolean | null | undefined;
|
|
9385
9391
|
clobRewards?: {
|
|
9386
9392
|
id: ClobRewardId;
|
|
9387
|
-
conditionId:
|
|
9393
|
+
conditionId: CtfConditionId;
|
|
9388
9394
|
assetAddress: string;
|
|
9389
9395
|
rewardsAmount: DecimalString;
|
|
9390
9396
|
rewardsDailyRate: DecimalString;
|
|
@@ -9703,7 +9709,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
9703
9709
|
volume1yr?: DecimalString | null | undefined;
|
|
9704
9710
|
featuredImage?: string | null | undefined;
|
|
9705
9711
|
disqusThread?: string | null | undefined;
|
|
9706
|
-
parentEventId?:
|
|
9712
|
+
parentEventId?: EventId | null | undefined;
|
|
9707
9713
|
enableOrderBook?: boolean | null | undefined;
|
|
9708
9714
|
liquidityAmm?: DecimalString | null | undefined;
|
|
9709
9715
|
liquidityClob?: DecimalString | null | undefined;
|
|
@@ -10004,26 +10010,6 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
10004
10010
|
disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10005
10011
|
commentsEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10006
10012
|
}, z.core.$strip>>>>;
|
|
10007
|
-
categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10008
|
-
id: z.ZodPipe<z.ZodString, z.ZodTransform<CategoryId, string>>;
|
|
10009
|
-
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10010
|
-
parentCategory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10011
|
-
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10012
|
-
publishedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
10013
|
-
createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10014
|
-
updatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10015
|
-
createdAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
10016
|
-
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
10017
|
-
}, z.core.$strip>>>>;
|
|
10018
|
-
chats: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10019
|
-
id: z.ZodPipe<z.ZodString, z.ZodTransform<ChatId, string>>;
|
|
10020
|
-
channelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10021
|
-
channelName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10022
|
-
channelImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10023
|
-
live: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10024
|
-
startTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
10025
|
-
endTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
10026
|
-
}, z.core.$strip>>>>;
|
|
10027
10013
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10028
10014
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<TagId, string>>;
|
|
10029
10015
|
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -10038,15 +10024,6 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
10038
10024
|
isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10039
10025
|
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10040
10026
|
activeEventsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10041
|
-
chats: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10042
|
-
id: z.ZodPipe<z.ZodString, z.ZodTransform<ChatId, string>>;
|
|
10043
|
-
channelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10044
|
-
channelName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10045
|
-
channelImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10046
|
-
live: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10047
|
-
startTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
10048
|
-
endTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
10049
|
-
}, z.core.$strip>>>>;
|
|
10050
10027
|
templates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10051
10028
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<TemplateId, string>>;
|
|
10052
10029
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -10083,15 +10060,6 @@ declare const TagSchema: z.ZodObject<{
|
|
|
10083
10060
|
isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10084
10061
|
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10085
10062
|
activeEventsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10086
|
-
chats: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10087
|
-
id: z.ZodPipe<z.ZodString, z.ZodTransform<ChatId, string>>;
|
|
10088
|
-
channelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10089
|
-
channelName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10090
|
-
channelImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10091
|
-
live: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10092
|
-
startTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
10093
|
-
endTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
10094
|
-
}, z.core.$strip>>>>;
|
|
10095
10063
|
templates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10096
10064
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<TemplateId, string>>;
|
|
10097
10065
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -10110,12 +10078,22 @@ declare const TagSchema: z.ZodObject<{
|
|
|
10110
10078
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
10111
10079
|
}, z.core.$strip>>>>;
|
|
10112
10080
|
}, z.core.$strip>;
|
|
10113
|
-
declare const RelatedTagSchema: z.ZodObject<{
|
|
10081
|
+
declare const RelatedTagSchema: z.ZodPipe<z.ZodObject<{
|
|
10114
10082
|
id: z.ZodString;
|
|
10115
10083
|
tagID: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10116
10084
|
relatedTagID: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10117
10085
|
rank: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10118
|
-
}, z.core.$strip
|
|
10086
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
10087
|
+
tagId: number | null | undefined;
|
|
10088
|
+
relatedTagId: number | null | undefined;
|
|
10089
|
+
id: string;
|
|
10090
|
+
rank?: number | null | undefined;
|
|
10091
|
+
}, {
|
|
10092
|
+
id: string;
|
|
10093
|
+
tagID?: number | null | undefined;
|
|
10094
|
+
relatedTagID?: number | null | undefined;
|
|
10095
|
+
rank?: number | null | undefined;
|
|
10096
|
+
}>>;
|
|
10119
10097
|
declare const ListTagsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
10120
10098
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<TagId, string>>;
|
|
10121
10099
|
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -10130,15 +10108,6 @@ declare const ListTagsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
10130
10108
|
isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10131
10109
|
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10132
10110
|
activeEventsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10133
|
-
chats: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10134
|
-
id: z.ZodPipe<z.ZodString, z.ZodTransform<ChatId, string>>;
|
|
10135
|
-
channelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10136
|
-
channelName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10137
|
-
channelImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10138
|
-
live: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10139
|
-
startTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
10140
|
-
endTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
10141
|
-
}, z.core.$strip>>>>;
|
|
10142
10111
|
templates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10143
10112
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<TemplateId, string>>;
|
|
10144
10113
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -10157,12 +10126,22 @@ declare const ListTagsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
10157
10126
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
10158
10127
|
}, z.core.$strip>>>>;
|
|
10159
10128
|
}, z.core.$strip>>;
|
|
10160
|
-
declare const ListRelatedTagsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
10129
|
+
declare const ListRelatedTagsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
10161
10130
|
id: z.ZodString;
|
|
10162
10131
|
tagID: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10163
10132
|
relatedTagID: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10164
10133
|
rank: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10165
|
-
}, z.core.$strip
|
|
10134
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
10135
|
+
tagId: number | null | undefined;
|
|
10136
|
+
relatedTagId: number | null | undefined;
|
|
10137
|
+
id: string;
|
|
10138
|
+
rank?: number | null | undefined;
|
|
10139
|
+
}, {
|
|
10140
|
+
id: string;
|
|
10141
|
+
tagID?: number | null | undefined;
|
|
10142
|
+
relatedTagID?: number | null | undefined;
|
|
10143
|
+
rank?: number | null | undefined;
|
|
10144
|
+
}>>>;
|
|
10166
10145
|
declare const ListRelatedTagResourcesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
10167
10146
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<TagId, string>>;
|
|
10168
10147
|
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -10177,15 +10156,6 @@ declare const ListRelatedTagResourcesResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
10177
10156
|
isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10178
10157
|
requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10179
10158
|
activeEventsCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10180
|
-
chats: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10181
|
-
id: z.ZodPipe<z.ZodString, z.ZodTransform<ChatId, string>>;
|
|
10182
|
-
channelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10183
|
-
channelName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10184
|
-
channelImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10185
|
-
live: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10186
|
-
startTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
10187
|
-
endTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
|
|
10188
|
-
}, z.core.$strip>>>>;
|
|
10189
10159
|
templates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10190
10160
|
id: z.ZodPipe<z.ZodString, z.ZodTransform<TemplateId, string>>;
|
|
10191
10161
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -10226,4 +10196,4 @@ declare const WalletTypeSchema: z.ZodObject<{
|
|
|
10226
10196
|
}>;
|
|
10227
10197
|
}, z.core.$strip>;
|
|
10228
10198
|
|
|
10229
|
-
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 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 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, normalizeMarket };
|
|
10199
|
+
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 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 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 };
|