@polymarket/bindings 0.1.0-beta.1 → 0.1.0-beta.11

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.
@@ -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, ConditionId, DecimalString, IsoCalendarDateString, ImageOptimizationId, EventId, InternalUserId, MarketId, TagId, TokenId, TickSizeValue, QuestionId, ResolutionRequestId, MixedDateTimeString, PaginationCursor, BestLineId, ChatId, CollectionId, TeamId, SportId, EventExternalPartnerMappingId, PartnerId, SeriesId, EventCreatorId, TemplateId } from '../index.js';
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<ConditionId, string>>>>;
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<ConditionId, string>>;
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: ConditionId | null;
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<ConditionId, string>>>>>, z.ZodTransform<ConditionId | null, ConditionId | null | undefined>>;
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<ConditionId, string>>>>;
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<ConditionId, string>>;
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<ConditionId, string>>>>>, z.ZodTransform<ConditionId | null, ConditionId | null | undefined>>;
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<ConditionId, string>>>>;
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<ConditionId, string>>;
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: ConditionId | null;
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?: ConditionId | undefined;
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: 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<ConditionId, string>>>>>, z.ZodTransform<ConditionId | null, ConditionId | null | undefined>>;
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<ConditionId, string>>>>;
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<ConditionId, string>>;
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: ConditionId | null;
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?: ConditionId | undefined;
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: 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<ConditionId, string>>>>>, z.ZodTransform<ConditionId | null, ConditionId | null | undefined>>;
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<ConditionId, string>>>>;
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<ConditionId, string>>;
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: ConditionId | null;
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?: ConditionId | undefined;
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: 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.ZodPipe<z.ZodString, z.ZodTransform<PaginationCursor, string>>>;
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<ConditionId, string>>>>>, z.ZodTransform<ConditionId | null, ConditionId | null | undefined>>;
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<ConditionId, string>>>>;
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<ConditionId, string>>;
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: ConditionId | null;
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?: ConditionId | undefined;
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: 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<ConditionId, string>>>>>, z.ZodTransform<ConditionId | null, ConditionId | null | undefined>>;
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<ConditionId, string>>>>;
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<ConditionId, string>>;
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: ConditionId | null;
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?: ConditionId | undefined;
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: 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?: number | null | undefined;
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<ConditionId, string>>>>>, z.ZodTransform<ConditionId | null, ConditionId | null | undefined>>;
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<ConditionId, string>>>>;
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<ConditionId, string>>;
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: ConditionId | null;
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?: ConditionId | undefined;
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: 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?: number | null | undefined;
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<ConditionId, string>>>>>, z.ZodTransform<ConditionId | null, ConditionId | null | undefined>>;
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<ConditionId, string>>>>;
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<ConditionId, string>>;
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: ConditionId | null;
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?: ConditionId | undefined;
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: 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?: number | null | undefined;
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.ZodPipe<z.ZodString, z.ZodTransform<PaginationCursor, string>>>;
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;
@@ -6210,6 +6239,53 @@ type BestLine = z.infer<typeof BestLineSchema>;
6210
6239
  type Team = z.infer<typeof TeamSchema>;
6211
6240
  type SportsMetadata = z.infer<typeof SportsMetadataSchema>;
6212
6241
 
6242
+ /** Lifecycle state of a clarification as it is scheduled and posted on-chain. */
6243
+ declare enum MarketClarificationState {
6244
+ Pending = "pending",
6245
+ Queued = "queued",
6246
+ Success = "success",
6247
+ Failed = "failed",
6248
+ Cancelled = "cancelled"
6249
+ }
6250
+ declare const MarketClarificationSchema: z.ZodObject<{
6251
+ id: z.ZodNumber;
6252
+ marketId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodNumber, z.ZodTransform<string, number>>]>, z.ZodTransform<MarketId, string>>>>;
6253
+ eventId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodNumber, z.ZodTransform<string, number>>]>, z.ZodTransform<EventId, string>>>>;
6254
+ questionId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<QuestionId, string>>>>;
6255
+ content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6256
+ state: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof MarketClarificationState>>>;
6257
+ clearBook: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
6258
+ notifyDiscord: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
6259
+ showInFrontend: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
6260
+ adapterAddress: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_types.EvmAddress, string>>>>;
6261
+ negRiskRequestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6262
+ txHash: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_types.TxHash, string>>>>;
6263
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
6264
+ queuedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
6265
+ scheduledFor: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
6266
+ txTimestamp: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
6267
+ }, z.core.$strip>;
6268
+ declare const ListMarketClarificationsResponseSchema: z.ZodArray<z.ZodObject<{
6269
+ id: z.ZodNumber;
6270
+ marketId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodNumber, z.ZodTransform<string, number>>]>, z.ZodTransform<MarketId, string>>>>;
6271
+ eventId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodNumber, z.ZodTransform<string, number>>]>, z.ZodTransform<EventId, string>>>>;
6272
+ questionId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<QuestionId, string>>>>;
6273
+ content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6274
+ state: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof MarketClarificationState>>>;
6275
+ clearBook: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
6276
+ notifyDiscord: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
6277
+ showInFrontend: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
6278
+ adapterAddress: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_types.EvmAddress, string>>>>;
6279
+ negRiskRequestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6280
+ txHash: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_types.TxHash, string>>>>;
6281
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
6282
+ queuedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
6283
+ scheduledFor: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
6284
+ txTimestamp: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
6285
+ }, z.core.$strip>>;
6286
+ type MarketClarification = z.infer<typeof MarketClarificationSchema>;
6287
+ type ListMarketClarificationsResponse = z.infer<typeof ListMarketClarificationsResponseSchema>;
6288
+
6213
6289
  declare const PaginationEnvelopeSchema: z.ZodObject<{
6214
6290
  hasMore: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
6215
6291
  totalResults: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -6463,7 +6539,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
6463
6539
  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
6540
  featuredImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6465
6541
  disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6466
- parentEventId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
6542
+ 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
6543
  enableOrderBook: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
6468
6544
  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
6545
  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 +6587,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
6511
6587
  markets: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
6512
6588
  id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
6513
6589
  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<ConditionId, string>>>>>, z.ZodTransform<ConditionId | null, ConditionId | null | undefined>>;
6590
+ 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
6591
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6516
6592
  twitterCardImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6517
6593
  resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6566,7 +6642,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
6566
6642
  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
6643
  umaEndDate: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<MixedDateTimeString, string>>>>;
6568
6644
  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>]>>>;
6645
+ 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
6646
  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
6647
  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
6648
  curationOrder: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -6585,6 +6661,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
6585
6661
  gameStartTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
6586
6662
  secondsDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
6587
6663
  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>>;
6664
+ 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
6665
  disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6589
6666
  shortOutcomes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6590
6667
  teamAID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6645,7 +6722,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
6645
6722
  categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
6646
6723
  markets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
6647
6724
  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<ConditionId, string>>>>;
6725
+ conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
6649
6726
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6650
6727
  image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6651
6728
  volume: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
@@ -6683,7 +6760,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
6683
6760
  approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
6684
6761
  clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
6685
6762
  id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
6686
- conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<ConditionId, string>>;
6763
+ conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
6687
6764
  assetAddress: z.ZodString;
6688
6765
  rewardsAmount: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
6689
6766
  rewardsDailyRate: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
@@ -6738,7 +6815,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
6738
6815
  }, z.core.$strip>>>;
6739
6816
  }, z.core.$strip>, z.ZodTransform<Market | null, {
6740
6817
  id: MarketId;
6741
- conditionId: ConditionId | null;
6818
+ conditionId: CtfConditionId | null;
6742
6819
  outcomes: string[];
6743
6820
  outcomePrices: DecimalString[];
6744
6821
  marketMakerAddress: string;
@@ -6746,6 +6823,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
6746
6823
  questionID: QuestionId | null;
6747
6824
  umaResolutionStatus: UmaResolutionStatus | null;
6748
6825
  clobTokenIds: TokenId[];
6826
+ positionIds: PositionId[];
6749
6827
  negRiskRequestID: ResolutionRequestId | null;
6750
6828
  question?: string | null | undefined;
6751
6829
  slug?: string | null | undefined;
@@ -6797,7 +6875,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
6797
6875
  groupItemThreshold?: DecimalString | null | undefined;
6798
6876
  umaEndDate?: MixedDateTimeString | null | undefined;
6799
6877
  enableOrderBook?: boolean | null | undefined;
6800
- orderPriceMinTickSize?: 0.1 | 0.01 | 0.001 | 0.0001 | null | undefined;
6878
+ orderPriceMinTickSize?: 0.1 | 0.01 | 0.005 | 0.0025 | 0.001 | 0.0001 | null | undefined;
6801
6879
  orderMinSize?: DecimalString | null | undefined;
6802
6880
  curationOrder?: number | null | undefined;
6803
6881
  volumeNum?: DecimalString | null | undefined;
@@ -6873,7 +6951,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
6873
6951
  categories?: unknown[] | null | undefined;
6874
6952
  markets?: {
6875
6953
  id: MarketId;
6876
- conditionId?: ConditionId | undefined;
6954
+ conditionId?: CtfConditionId | undefined;
6877
6955
  slug?: string | null | undefined;
6878
6956
  image?: string | null | undefined;
6879
6957
  volume?: DecimalString | null | undefined;
@@ -6911,7 +6989,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
6911
6989
  approved?: boolean | null | undefined;
6912
6990
  clobRewards?: {
6913
6991
  id: ClobRewardId;
6914
- conditionId: ConditionId;
6992
+ conditionId: CtfConditionId;
6915
6993
  assetAddress: string;
6916
6994
  rewardsAmount: DecimalString;
6917
6995
  rewardsDailyRate: DecimalString;
@@ -7230,7 +7308,7 @@ declare const PublicSearchResponseSchema: z.ZodObject<{
7230
7308
  volume1yr?: DecimalString | null | undefined;
7231
7309
  featuredImage?: string | null | undefined;
7232
7310
  disqusThread?: string | null | undefined;
7233
- parentEventId?: number | null | undefined;
7311
+ parentEventId?: EventId | null | undefined;
7234
7312
  enableOrderBook?: boolean | null | undefined;
7235
7313
  liquidityAmm?: DecimalString | null | undefined;
7236
7314
  liquidityClob?: DecimalString | null | undefined;
@@ -7730,7 +7808,7 @@ declare const SeriesSchema: z.ZodObject<{
7730
7808
  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
7809
  featuredImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7732
7810
  disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7733
- parentEventId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
7811
+ 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
7812
  enableOrderBook: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
7735
7813
  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
7814
  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 +7856,7 @@ declare const SeriesSchema: z.ZodObject<{
7778
7856
  markets: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
7779
7857
  id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
7780
7858
  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<ConditionId, string>>>>>, z.ZodTransform<ConditionId | null, ConditionId | null | undefined>>;
7859
+ 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
7860
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7783
7861
  twitterCardImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7784
7862
  resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -7833,7 +7911,7 @@ declare const SeriesSchema: z.ZodObject<{
7833
7911
  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
7912
  umaEndDate: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<MixedDateTimeString, string>>>>;
7835
7913
  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>]>>>;
7914
+ 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
7915
  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
7916
  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
7917
  curationOrder: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -7852,6 +7930,7 @@ declare const SeriesSchema: z.ZodObject<{
7852
7930
  gameStartTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
7853
7931
  secondsDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
7854
7932
  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>>;
7933
+ 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
7934
  disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7856
7935
  shortOutcomes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7857
7936
  teamAID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -7912,7 +7991,7 @@ declare const SeriesSchema: z.ZodObject<{
7912
7991
  categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
7913
7992
  markets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
7914
7993
  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<ConditionId, string>>>>;
7994
+ conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
7916
7995
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7917
7996
  image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7918
7997
  volume: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
@@ -7950,7 +8029,7 @@ declare const SeriesSchema: z.ZodObject<{
7950
8029
  approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
7951
8030
  clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
7952
8031
  id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
7953
- conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<ConditionId, string>>;
8032
+ conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
7954
8033
  assetAddress: z.ZodString;
7955
8034
  rewardsAmount: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
7956
8035
  rewardsDailyRate: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
@@ -8005,7 +8084,7 @@ declare const SeriesSchema: z.ZodObject<{
8005
8084
  }, z.core.$strip>>>;
8006
8085
  }, z.core.$strip>, z.ZodTransform<Market | null, {
8007
8086
  id: MarketId;
8008
- conditionId: ConditionId | null;
8087
+ conditionId: CtfConditionId | null;
8009
8088
  outcomes: string[];
8010
8089
  outcomePrices: DecimalString[];
8011
8090
  marketMakerAddress: string;
@@ -8013,6 +8092,7 @@ declare const SeriesSchema: z.ZodObject<{
8013
8092
  questionID: QuestionId | null;
8014
8093
  umaResolutionStatus: UmaResolutionStatus | null;
8015
8094
  clobTokenIds: TokenId[];
8095
+ positionIds: PositionId[];
8016
8096
  negRiskRequestID: ResolutionRequestId | null;
8017
8097
  question?: string | null | undefined;
8018
8098
  slug?: string | null | undefined;
@@ -8064,7 +8144,7 @@ declare const SeriesSchema: z.ZodObject<{
8064
8144
  groupItemThreshold?: DecimalString | null | undefined;
8065
8145
  umaEndDate?: MixedDateTimeString | null | undefined;
8066
8146
  enableOrderBook?: boolean | null | undefined;
8067
- orderPriceMinTickSize?: 0.1 | 0.01 | 0.001 | 0.0001 | null | undefined;
8147
+ orderPriceMinTickSize?: 0.1 | 0.01 | 0.005 | 0.0025 | 0.001 | 0.0001 | null | undefined;
8068
8148
  orderMinSize?: DecimalString | null | undefined;
8069
8149
  curationOrder?: number | null | undefined;
8070
8150
  volumeNum?: DecimalString | null | undefined;
@@ -8140,7 +8220,7 @@ declare const SeriesSchema: z.ZodObject<{
8140
8220
  categories?: unknown[] | null | undefined;
8141
8221
  markets?: {
8142
8222
  id: MarketId;
8143
- conditionId?: ConditionId | undefined;
8223
+ conditionId?: CtfConditionId | undefined;
8144
8224
  slug?: string | null | undefined;
8145
8225
  image?: string | null | undefined;
8146
8226
  volume?: DecimalString | null | undefined;
@@ -8178,7 +8258,7 @@ declare const SeriesSchema: z.ZodObject<{
8178
8258
  approved?: boolean | null | undefined;
8179
8259
  clobRewards?: {
8180
8260
  id: ClobRewardId;
8181
- conditionId: ConditionId;
8261
+ conditionId: CtfConditionId;
8182
8262
  assetAddress: string;
8183
8263
  rewardsAmount: DecimalString;
8184
8264
  rewardsDailyRate: DecimalString;
@@ -8497,7 +8577,7 @@ declare const SeriesSchema: z.ZodObject<{
8497
8577
  volume1yr?: DecimalString | null | undefined;
8498
8578
  featuredImage?: string | null | undefined;
8499
8579
  disqusThread?: string | null | undefined;
8500
- parentEventId?: number | null | undefined;
8580
+ parentEventId?: EventId | null | undefined;
8501
8581
  enableOrderBook?: boolean | null | undefined;
8502
8582
  liquidityAmm?: DecimalString | null | undefined;
8503
8583
  liquidityClob?: DecimalString | null | undefined;
@@ -8798,26 +8878,6 @@ declare const SeriesSchema: z.ZodObject<{
8798
8878
  disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8799
8879
  commentsEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
8800
8880
  }, 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
8881
  tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
8822
8882
  id: z.ZodPipe<z.ZodString, z.ZodTransform<TagId, string>>;
8823
8883
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8832,15 +8892,6 @@ declare const SeriesSchema: z.ZodObject<{
8832
8892
  isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
8833
8893
  requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
8834
8894
  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
8895
  templates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
8845
8896
  id: z.ZodPipe<z.ZodString, z.ZodTransform<TemplateId, string>>;
8846
8897
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -8936,7 +8987,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
8936
8987
  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
8988
  featuredImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8938
8989
  disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8939
- parentEventId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8990
+ 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
8991
  enableOrderBook: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
8941
8992
  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
8993
  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 +9035,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
8984
9035
  markets: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodArray<z.ZodPipe<z.ZodObject<{
8985
9036
  id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
8986
9037
  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<ConditionId, string>>>>>, z.ZodTransform<ConditionId | null, ConditionId | null | undefined>>;
9038
+ 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
9039
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8989
9040
  twitterCardImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8990
9041
  resolutionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -9039,7 +9090,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
9039
9090
  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
9091
  umaEndDate: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<MixedDateTimeString, string>>>>;
9041
9092
  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>]>>>;
9093
+ 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
9094
  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
9095
  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
9096
  curationOrder: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -9058,6 +9109,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
9058
9109
  gameStartTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
9059
9110
  secondsDelay: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9060
9111
  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>>;
9112
+ 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
9113
  disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9062
9114
  shortOutcomes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9063
9115
  teamAID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -9118,7 +9170,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
9118
9170
  categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
9119
9171
  markets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
9120
9172
  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<ConditionId, string>>>>;
9173
+ conditionId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
9122
9174
  slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9123
9175
  image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9124
9176
  volume: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>>>;
@@ -9156,7 +9208,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
9156
9208
  approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
9157
9209
  clobRewards: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
9158
9210
  id: z.ZodPipe<z.ZodString, z.ZodTransform<ClobRewardId, string>>;
9159
- conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<ConditionId, string>>;
9211
+ conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
9160
9212
  assetAddress: z.ZodString;
9161
9213
  rewardsAmount: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
9162
9214
  rewardsDailyRate: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
@@ -9211,7 +9263,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
9211
9263
  }, z.core.$strip>>>;
9212
9264
  }, z.core.$strip>, z.ZodTransform<Market | null, {
9213
9265
  id: MarketId;
9214
- conditionId: ConditionId | null;
9266
+ conditionId: CtfConditionId | null;
9215
9267
  outcomes: string[];
9216
9268
  outcomePrices: DecimalString[];
9217
9269
  marketMakerAddress: string;
@@ -9219,6 +9271,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
9219
9271
  questionID: QuestionId | null;
9220
9272
  umaResolutionStatus: UmaResolutionStatus | null;
9221
9273
  clobTokenIds: TokenId[];
9274
+ positionIds: PositionId[];
9222
9275
  negRiskRequestID: ResolutionRequestId | null;
9223
9276
  question?: string | null | undefined;
9224
9277
  slug?: string | null | undefined;
@@ -9270,7 +9323,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
9270
9323
  groupItemThreshold?: DecimalString | null | undefined;
9271
9324
  umaEndDate?: MixedDateTimeString | null | undefined;
9272
9325
  enableOrderBook?: boolean | null | undefined;
9273
- orderPriceMinTickSize?: 0.1 | 0.01 | 0.001 | 0.0001 | null | undefined;
9326
+ orderPriceMinTickSize?: 0.1 | 0.01 | 0.005 | 0.0025 | 0.001 | 0.0001 | null | undefined;
9274
9327
  orderMinSize?: DecimalString | null | undefined;
9275
9328
  curationOrder?: number | null | undefined;
9276
9329
  volumeNum?: DecimalString | null | undefined;
@@ -9346,7 +9399,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
9346
9399
  categories?: unknown[] | null | undefined;
9347
9400
  markets?: {
9348
9401
  id: MarketId;
9349
- conditionId?: ConditionId | undefined;
9402
+ conditionId?: CtfConditionId | undefined;
9350
9403
  slug?: string | null | undefined;
9351
9404
  image?: string | null | undefined;
9352
9405
  volume?: DecimalString | null | undefined;
@@ -9384,7 +9437,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
9384
9437
  approved?: boolean | null | undefined;
9385
9438
  clobRewards?: {
9386
9439
  id: ClobRewardId;
9387
- conditionId: ConditionId;
9440
+ conditionId: CtfConditionId;
9388
9441
  assetAddress: string;
9389
9442
  rewardsAmount: DecimalString;
9390
9443
  rewardsDailyRate: DecimalString;
@@ -9703,7 +9756,7 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
9703
9756
  volume1yr?: DecimalString | null | undefined;
9704
9757
  featuredImage?: string | null | undefined;
9705
9758
  disqusThread?: string | null | undefined;
9706
- parentEventId?: number | null | undefined;
9759
+ parentEventId?: EventId | null | undefined;
9707
9760
  enableOrderBook?: boolean | null | undefined;
9708
9761
  liquidityAmm?: DecimalString | null | undefined;
9709
9762
  liquidityClob?: DecimalString | null | undefined;
@@ -10004,26 +10057,6 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
10004
10057
  disqusThread: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10005
10058
  commentsEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10006
10059
  }, 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
10060
  tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
10028
10061
  id: z.ZodPipe<z.ZodString, z.ZodTransform<TagId, string>>;
10029
10062
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10038,15 +10071,6 @@ declare const ListSeriesResponseSchema: z.ZodArray<z.ZodObject<{
10038
10071
  isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10039
10072
  requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10040
10073
  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
10074
  templates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
10051
10075
  id: z.ZodPipe<z.ZodString, z.ZodTransform<TemplateId, string>>;
10052
10076
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10083,15 +10107,6 @@ declare const TagSchema: z.ZodObject<{
10083
10107
  isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10084
10108
  requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10085
10109
  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
10110
  templates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
10096
10111
  id: z.ZodPipe<z.ZodString, z.ZodTransform<TemplateId, string>>;
10097
10112
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10110,12 +10125,22 @@ declare const TagSchema: z.ZodObject<{
10110
10125
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
10111
10126
  }, z.core.$strip>>>>;
10112
10127
  }, z.core.$strip>;
10113
- declare const RelatedTagSchema: z.ZodObject<{
10128
+ declare const RelatedTagSchema: z.ZodPipe<z.ZodObject<{
10114
10129
  id: z.ZodString;
10115
10130
  tagID: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10116
10131
  relatedTagID: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10117
10132
  rank: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10118
- }, z.core.$strip>;
10133
+ }, z.core.$strip>, z.ZodTransform<{
10134
+ tagId: number | null | undefined;
10135
+ relatedTagId: number | null | undefined;
10136
+ id: string;
10137
+ rank?: number | null | undefined;
10138
+ }, {
10139
+ id: string;
10140
+ tagID?: number | null | undefined;
10141
+ relatedTagID?: number | null | undefined;
10142
+ rank?: number | null | undefined;
10143
+ }>>;
10119
10144
  declare const ListTagsResponseSchema: z.ZodArray<z.ZodObject<{
10120
10145
  id: z.ZodPipe<z.ZodString, z.ZodTransform<TagId, string>>;
10121
10146
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10130,15 +10155,6 @@ declare const ListTagsResponseSchema: z.ZodArray<z.ZodObject<{
10130
10155
  isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10131
10156
  requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10132
10157
  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
10158
  templates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
10143
10159
  id: z.ZodPipe<z.ZodString, z.ZodTransform<TemplateId, string>>;
10144
10160
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10157,12 +10173,22 @@ declare const ListTagsResponseSchema: z.ZodArray<z.ZodObject<{
10157
10173
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
10158
10174
  }, z.core.$strip>>>>;
10159
10175
  }, z.core.$strip>>;
10160
- declare const ListRelatedTagsResponseSchema: z.ZodArray<z.ZodObject<{
10176
+ declare const ListRelatedTagsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
10161
10177
  id: z.ZodString;
10162
10178
  tagID: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10163
10179
  relatedTagID: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10164
10180
  rank: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10165
- }, z.core.$strip>>;
10181
+ }, z.core.$strip>, z.ZodTransform<{
10182
+ tagId: number | null | undefined;
10183
+ relatedTagId: number | null | undefined;
10184
+ id: string;
10185
+ rank?: number | null | undefined;
10186
+ }, {
10187
+ id: string;
10188
+ tagID?: number | null | undefined;
10189
+ relatedTagID?: number | null | undefined;
10190
+ rank?: number | null | undefined;
10191
+ }>>>;
10166
10192
  declare const ListRelatedTagResourcesResponseSchema: z.ZodArray<z.ZodObject<{
10167
10193
  id: z.ZodPipe<z.ZodString, z.ZodTransform<TagId, string>>;
10168
10194
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10177,15 +10203,6 @@ declare const ListRelatedTagResourcesResponseSchema: z.ZodArray<z.ZodObject<{
10177
10203
  isCarousel: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10178
10204
  requiresTranslation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10179
10205
  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
10206
  templates: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
10190
10207
  id: z.ZodPipe<z.ZodString, z.ZodTransform<TemplateId, string>>;
10191
10208
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10226,4 +10243,4 @@ declare const WalletTypeSchema: z.ZodObject<{
10226
10243
  }>;
10227
10244
  }, z.core.$strip>;
10228
10245
 
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 };
10246
+ export { type BestLine, BestLineSchema, type CategoryReference, CategoryReferenceSchema, type Chat, ChatSchema, type ClobRewards, ClobRewardsSchema, type CollectionReference, CollectionReferenceSchema, type Event, type EventCreator, EventCreatorSchema, type EventDisplay, type EventEstimation, type EventExternalPartnerMapping, EventExternalPartnerMappingSchema, type EventMetrics, type EventPartner, type EventReference, EventReferenceSchema, type EventResolution, type EventSchedule, EventSchema, type EventSeries, type EventSportsMetadata, type EventState, type EventTag, type EventTrading, type FeeSchedule, FeeScheduleSchema, type FetchEventTagsResponse, FetchEventTagsResponseSchema, type FetchMarketTagsResponse, FetchMarketTagsResponseSchema, type GammaEvent, GammaEventSchema, type GammaMarket, GammaMarketSchema, type ImageOptimization, ImageOptimizationSchema, type InternalUser, InternalUserSchema, type ListEventsKeysetResponse, ListEventsKeysetResponseSchema, type ListEventsResponse, ListEventsResponseSchema, type ListMarketClarificationsResponse, ListMarketClarificationsResponseSchema, type ListMarketsKeysetResponse, ListMarketsKeysetResponseSchema, type ListMarketsResponse, ListMarketsResponseSchema, type ListRelatedTagResourcesResponse, ListRelatedTagResourcesResponseSchema, type ListRelatedTagsResponse, ListRelatedTagsResponseSchema, type ListSeriesResponse, ListSeriesResponseSchema, type ListSportsMetadataResponse, ListSportsMetadataResponseSchema, type ListTagsResponse, ListTagsResponseSchema, type ListTeamsResponse, ListTeamsResponseSchema, type Market, type MarketClarification, MarketClarificationSchema, MarketClarificationState, type MarketEvent, type MarketMetrics, type MarketOutcome, type MarketOutcomes, type MarketPrices, type MarketResolution, type MarketRewards, MarketSchema, type MarketSportsMetadata, type MarketState, type MarketTag, type MarketTrading, type PaginationEnvelope, PaginationEnvelopeSchema, type Partner, PartnerSchema, type Profile, ProfileSchema, type PublicProfile, PublicProfileSchema, type PublicProfileUser, PublicProfileUserSchema, type PublicSearchResponse, PublicSearchResponseSchema, type RelatedMarket, RelatedMarketSchema, type RelatedTag, RelatedTagSchema, type SearchPagination, SearchPaginationSchema, type SearchTag, SearchTagSchema, type Series, SeriesIdSchema, type SeriesReference, SeriesReferenceSchema, SeriesSchema, type SportsMarketTypesResponse, SportsMarketTypesResponseSchema, type SportsMetadata, SportsMetadataSchema, type Tag, type TagReference, TagReferenceSchema, TagSchema, type Team, TeamSchema, type TemplateReference, TemplateReferenceSchema, UmaResolutionStatus, WalletType, WalletTypeSchema, hasBinaryOutcomes, normalizeMarket };