@polymarket/bindings 0.1.0-beta.2 → 0.1.0-beta.4

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
  import { z } from 'zod';
2
- import { EpochMilliseconds, ConditionId, TokenId, DecimalString, IsoDateTimeString, MixedDateTimeString, IsoCalendarDateString } from '../index.js';
2
+ import { EpochMilliseconds, CtfConditionId, TokenId, DecimalString, IsoDateTimeString, MixedDateTimeString, ComboConditionId, PositionId, PaginationCursor, IsoCalendarDateString } from '../index.js';
3
3
  import { TxHash } from '@polymarket/types';
4
4
 
5
5
  declare const AddressSchema: z.ZodString;
@@ -71,7 +71,7 @@ type TradeActivity = ActivityBase & {
71
71
  /** A directional outcome-token trade. */
72
72
  type: 'TRADE';
73
73
  /** Condition id of the market traded by the wallet. */
74
- conditionId: ConditionId;
74
+ conditionId: CtfConditionId;
75
75
  /** Outcome token id bought or sold by the wallet. */
76
76
  tokenId: TokenId;
77
77
  /** Direction of the wallet's trade in the outcome token. */
@@ -90,8 +90,8 @@ type TradeActivity = ActivityBase & {
90
90
  title: string;
91
91
  /** URL slug of the market traded by the wallet. */
92
92
  slug: string;
93
- /** Icon URL for the market traded by the wallet. */
94
- icon: string;
93
+ /** Icon URL for the market traded by the wallet, when available. */
94
+ icon: string | null;
95
95
  /** URL slug of the event containing the traded market. */
96
96
  eventSlug: string;
97
97
  };
@@ -99,15 +99,15 @@ type SplitActivity = ActivityBase & {
99
99
  /** Splitting collateral into a complete market set. */
100
100
  type: 'SPLIT';
101
101
  /** Condition id of the market whose complete set was created. */
102
- conditionId: ConditionId;
102
+ conditionId: CtfConditionId;
103
103
  /** The collateral amount split into the complete set in USD. */
104
104
  amount: DecimalString;
105
105
  /** Human-readable title of the market whose complete set was created. */
106
106
  title: string;
107
107
  /** URL slug of the market whose complete set was created. */
108
108
  slug: string;
109
- /** Icon URL for the market whose complete set was created. */
110
- icon: string;
109
+ /** Icon URL for the market whose complete set was created, when available. */
110
+ icon: string | null;
111
111
  /** URL slug of the event containing the split market. */
112
112
  eventSlug: string;
113
113
  };
@@ -115,15 +115,15 @@ type MergeActivity = ActivityBase & {
115
115
  /** Merging a complete market set into collateral. */
116
116
  type: 'MERGE';
117
117
  /** Condition id of the market whose complete set was merged. */
118
- conditionId: ConditionId;
118
+ conditionId: CtfConditionId;
119
119
  /** The collateral amount received from merging the complete set in USD. */
120
120
  amount: DecimalString;
121
121
  /** Human-readable title of the market whose complete set was merged. */
122
122
  title: string;
123
123
  /** URL slug of the market whose complete set was merged. */
124
124
  slug: string;
125
- /** Icon URL for the market whose complete set was merged. */
126
- icon: string;
125
+ /** Icon URL for the market whose complete set was merged, when available. */
126
+ icon: string | null;
127
127
  /** URL slug of the event containing the merged market. */
128
128
  eventSlug: string;
129
129
  };
@@ -131,15 +131,15 @@ type RedeemActivity = ActivityBase & {
131
131
  /** Redeeming resolved market proceeds. */
132
132
  type: 'REDEEM';
133
133
  /** Condition id of the market redeemed by the wallet. */
134
- conditionId: ConditionId;
134
+ conditionId: CtfConditionId;
135
135
  /** The proceeds redeemed from the resolved market in USD. */
136
136
  amount: DecimalString;
137
137
  /** Human-readable title of the market redeemed by the wallet. */
138
138
  title: string;
139
139
  /** URL slug of the market redeemed by the wallet. */
140
140
  slug: string;
141
- /** Icon URL for the market redeemed by the wallet. */
142
- icon: string;
141
+ /** Icon URL for the market redeemed by the wallet, when available. */
142
+ icon: string | null;
143
143
  /** URL slug of the event containing the redeemed market. */
144
144
  eventSlug: string;
145
145
  };
@@ -147,15 +147,15 @@ type ConversionActivity = ActivityBase & {
147
147
  /** A market conversion or migration activity. */
148
148
  type: 'CONVERSION';
149
149
  /** Condition id of the market involved in the conversion. */
150
- conditionId: ConditionId;
150
+ conditionId: CtfConditionId;
151
151
  /** The amount converted or migrated for the market in USD. */
152
152
  amount: DecimalString;
153
153
  /** Human-readable title of the market involved in the conversion. */
154
154
  title: string;
155
155
  /** URL slug of the market involved in the conversion. */
156
156
  slug: string;
157
- /** Icon URL for the market involved in the conversion. */
158
- icon: string;
157
+ /** Icon URL for the market involved in the conversion, when available. */
158
+ icon: string | null;
159
159
  /** URL slug of the event containing the converted market. */
160
160
  eventSlug: string;
161
161
  };
@@ -191,7 +191,7 @@ declare const TradeSchema: z.ZodPipe<z.ZodObject<{
191
191
  SELL: "SELL";
192
192
  }>>>;
193
193
  asset: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<TokenId, string>>>>;
194
- conditionId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<ConditionId, string>>>>;
194
+ conditionId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
195
195
  size: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
196
196
  price: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
197
197
  timestamp: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodNumber, z.ZodTransform<EpochMilliseconds, number>>>>;
@@ -211,7 +211,7 @@ declare const TradeSchema: z.ZodPipe<z.ZodObject<{
211
211
  wallet: string | null | undefined;
212
212
  tokenId: TokenId | null | undefined;
213
213
  side?: "BUY" | "SELL" | null | undefined;
214
- conditionId?: ConditionId | null | undefined;
214
+ conditionId?: CtfConditionId | null | undefined;
215
215
  size?: DecimalString | null | undefined;
216
216
  price?: DecimalString | null | undefined;
217
217
  timestamp?: EpochMilliseconds | null | undefined;
@@ -231,7 +231,7 @@ declare const TradeSchema: z.ZodPipe<z.ZodObject<{
231
231
  proxyWallet?: string | null | undefined;
232
232
  side?: "BUY" | "SELL" | null | undefined;
233
233
  asset?: TokenId | null | undefined;
234
- conditionId?: ConditionId | null | undefined;
234
+ conditionId?: CtfConditionId | null | undefined;
235
235
  size?: DecimalString | null | undefined;
236
236
  price?: DecimalString | null | undefined;
237
237
  timestamp?: EpochMilliseconds | null | undefined;
@@ -260,7 +260,7 @@ declare const ListTradesResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
260
260
  SELL: "SELL";
261
261
  }>>>;
262
262
  asset: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<TokenId, string>>>>;
263
- conditionId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<ConditionId, string>>>>;
263
+ conditionId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
264
264
  size: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
265
265
  price: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
266
266
  timestamp: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodNumber, z.ZodTransform<EpochMilliseconds, number>>>>;
@@ -280,7 +280,7 @@ declare const ListTradesResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
280
280
  wallet: string | null | undefined;
281
281
  tokenId: TokenId | null | undefined;
282
282
  side?: "BUY" | "SELL" | null | undefined;
283
- conditionId?: ConditionId | null | undefined;
283
+ conditionId?: CtfConditionId | null | undefined;
284
284
  size?: DecimalString | null | undefined;
285
285
  price?: DecimalString | null | undefined;
286
286
  timestamp?: EpochMilliseconds | null | undefined;
@@ -300,7 +300,7 @@ declare const ListTradesResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
300
300
  proxyWallet?: string | null | undefined;
301
301
  side?: "BUY" | "SELL" | null | undefined;
302
302
  asset?: TokenId | null | undefined;
303
- conditionId?: ConditionId | null | undefined;
303
+ conditionId?: CtfConditionId | null | undefined;
304
304
  size?: DecimalString | null | undefined;
305
305
  price?: DecimalString | null | undefined;
306
306
  timestamp?: EpochMilliseconds | null | undefined;
@@ -595,10 +595,17 @@ type ListBuilderLeaderboardResponse = z.infer<typeof ListBuilderLeaderboardRespo
595
595
  type ListBuilderVolumeResponse = z.infer<typeof ListBuilderVolumeResponseSchema>;
596
596
  type ListTraderLeaderboardResponse = z.infer<typeof ListTraderLeaderboardResponseSchema>;
597
597
 
598
+ declare enum ComboPositionStatus {
599
+ Open = "OPEN",
600
+ Partial = "PARTIAL",
601
+ ResolvedWin = "RESOLVED_WIN",
602
+ ResolvedLoss = "RESOLVED_LOSS"
603
+ }
604
+ declare const ComboPositionStatusSchema: z.ZodEnum<typeof ComboPositionStatus>;
598
605
  declare const PositionSchema: z.ZodPipe<z.ZodObject<{
599
606
  proxyWallet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
600
607
  asset: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<TokenId, string>>>>;
601
- conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<ConditionId, string>>;
608
+ conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
602
609
  size: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
603
610
  avgPrice: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
604
611
  initialValue: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
@@ -626,7 +633,7 @@ declare const PositionSchema: z.ZodPipe<z.ZodObject<{
626
633
  wallet: string | null | undefined;
627
634
  tokenId: TokenId | null | undefined;
628
635
  oppositeTokenId: TokenId | null | undefined;
629
- conditionId: ConditionId;
636
+ conditionId: CtfConditionId;
630
637
  size?: DecimalString | null | undefined;
631
638
  avgPrice?: DecimalString | null | undefined;
632
639
  initialValue?: DecimalString | null | undefined;
@@ -650,7 +657,7 @@ declare const PositionSchema: z.ZodPipe<z.ZodObject<{
650
657
  endDate?: IsoCalendarDateString | null | undefined;
651
658
  negativeRisk?: boolean | null | undefined;
652
659
  }, {
653
- conditionId: ConditionId;
660
+ conditionId: CtfConditionId;
654
661
  proxyWallet?: string | null | undefined;
655
662
  asset?: TokenId | null | undefined;
656
663
  size?: DecimalString | null | undefined;
@@ -680,7 +687,7 @@ declare const PositionSchema: z.ZodPipe<z.ZodObject<{
680
687
  declare const ClosedPositionSchema: z.ZodPipe<z.ZodObject<{
681
688
  proxyWallet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
682
689
  asset: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<TokenId, string>>>>;
683
- conditionId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<ConditionId, string>>>>;
690
+ conditionId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
684
691
  avgPrice: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
685
692
  totalBought: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
686
693
  realizedPnl: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
@@ -699,7 +706,7 @@ declare const ClosedPositionSchema: z.ZodPipe<z.ZodObject<{
699
706
  wallet: string | null | undefined;
700
707
  tokenId: TokenId | null | undefined;
701
708
  oppositeTokenId: TokenId | null | undefined;
702
- conditionId?: ConditionId | null | undefined;
709
+ conditionId?: CtfConditionId | null | undefined;
703
710
  avgPrice?: DecimalString | null | undefined;
704
711
  totalBought?: DecimalString | null | undefined;
705
712
  realizedPnl?: DecimalString | null | undefined;
@@ -716,7 +723,7 @@ declare const ClosedPositionSchema: z.ZodPipe<z.ZodObject<{
716
723
  }, {
717
724
  proxyWallet?: string | null | undefined;
718
725
  asset?: TokenId | null | undefined;
719
- conditionId?: ConditionId | null | undefined;
726
+ conditionId?: CtfConditionId | null | undefined;
720
727
  avgPrice?: DecimalString | null | undefined;
721
728
  totalBought?: DecimalString | null | undefined;
722
729
  realizedPnl?: DecimalString | null | undefined;
@@ -742,7 +749,7 @@ declare const MarketPositionSchema: z.ZodPipe<z.ZodObject<{
742
749
  profileImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
743
750
  verified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
744
751
  asset: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<TokenId, string>>>>;
745
- conditionId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<ConditionId, string>>>>;
752
+ conditionId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
746
753
  avgPrice: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
747
754
  size: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
748
755
  currPrice: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
@@ -759,7 +766,7 @@ declare const MarketPositionSchema: z.ZodPipe<z.ZodObject<{
759
766
  name?: string | null | undefined;
760
767
  profileImage?: string | null | undefined;
761
768
  verified?: boolean | null | undefined;
762
- conditionId?: ConditionId | null | undefined;
769
+ conditionId?: CtfConditionId | null | undefined;
763
770
  avgPrice?: DecimalString | null | undefined;
764
771
  size?: DecimalString | null | undefined;
765
772
  currPrice?: DecimalString | null | undefined;
@@ -776,7 +783,7 @@ declare const MarketPositionSchema: z.ZodPipe<z.ZodObject<{
776
783
  profileImage?: string | null | undefined;
777
784
  verified?: boolean | null | undefined;
778
785
  asset?: TokenId | null | undefined;
779
- conditionId?: ConditionId | null | undefined;
786
+ conditionId?: CtfConditionId | null | undefined;
780
787
  avgPrice?: DecimalString | null | undefined;
781
788
  size?: DecimalString | null | undefined;
782
789
  currPrice?: DecimalString | null | undefined;
@@ -796,7 +803,7 @@ declare const MetaMarketPositionSchema: z.ZodObject<{
796
803
  profileImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
797
804
  verified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
798
805
  asset: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<TokenId, string>>>>;
799
- conditionId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<ConditionId, string>>>>;
806
+ conditionId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
800
807
  avgPrice: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
801
808
  size: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
802
809
  currPrice: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
@@ -813,7 +820,7 @@ declare const MetaMarketPositionSchema: z.ZodObject<{
813
820
  name?: string | null | undefined;
814
821
  profileImage?: string | null | undefined;
815
822
  verified?: boolean | null | undefined;
816
- conditionId?: ConditionId | null | undefined;
823
+ conditionId?: CtfConditionId | null | undefined;
817
824
  avgPrice?: DecimalString | null | undefined;
818
825
  size?: DecimalString | null | undefined;
819
826
  currPrice?: DecimalString | null | undefined;
@@ -830,7 +837,7 @@ declare const MetaMarketPositionSchema: z.ZodObject<{
830
837
  profileImage?: string | null | undefined;
831
838
  verified?: boolean | null | undefined;
832
839
  asset?: TokenId | null | undefined;
833
- conditionId?: ConditionId | null | undefined;
840
+ conditionId?: CtfConditionId | null | undefined;
834
841
  avgPrice?: DecimalString | null | undefined;
835
842
  size?: DecimalString | null | undefined;
836
843
  currPrice?: DecimalString | null | undefined;
@@ -843,10 +850,772 @@ declare const MetaMarketPositionSchema: z.ZodObject<{
843
850
  outcomeIndex?: number | null | undefined;
844
851
  }>>>>>;
845
852
  }, z.core.$strip>;
853
+ declare const ComboPositionMarketEventSchema: z.ZodPipe<z.ZodObject<{
854
+ event_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
855
+ event_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
856
+ event_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
857
+ event_image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
858
+ }, z.core.$strip>, z.ZodTransform<{
859
+ eventId: string | null | undefined;
860
+ eventSlug: string | null | undefined;
861
+ eventTitle: string | null | undefined;
862
+ eventImage: string | null | undefined;
863
+ }, {
864
+ event_id?: string | null | undefined;
865
+ event_slug?: string | null | undefined;
866
+ event_title?: string | null | undefined;
867
+ event_image?: string | null | undefined;
868
+ }>>;
869
+ declare const ComboPositionMarketSchema: z.ZodPipe<z.ZodObject<{
870
+ market_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
871
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
872
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
873
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodString>>;
874
+ image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
875
+ icon_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
876
+ category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
877
+ subcategory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
878
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
879
+ end_date: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
880
+ event: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
881
+ event_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
882
+ event_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
883
+ event_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
884
+ event_image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
885
+ }, z.core.$strip>, z.ZodTransform<{
886
+ eventId: string | null | undefined;
887
+ eventSlug: string | null | undefined;
888
+ eventTitle: string | null | undefined;
889
+ eventImage: string | null | undefined;
890
+ }, {
891
+ event_id?: string | null | undefined;
892
+ event_slug?: string | null | undefined;
893
+ event_title?: string | null | undefined;
894
+ event_image?: string | null | undefined;
895
+ }>>>>;
896
+ }, z.core.$strip>, z.ZodTransform<{
897
+ marketId: string | null | undefined;
898
+ imageUrl: string | null | undefined;
899
+ iconUrl: string | null | undefined;
900
+ endDate: IsoDateTimeString | null | undefined;
901
+ slug?: string | null | undefined;
902
+ title?: string | null | undefined;
903
+ outcome?: string | null | undefined;
904
+ category?: string | null | undefined;
905
+ subcategory?: string | null | undefined;
906
+ tags?: string[] | null | undefined;
907
+ event?: {
908
+ eventId: string | null | undefined;
909
+ eventSlug: string | null | undefined;
910
+ eventTitle: string | null | undefined;
911
+ eventImage: string | null | undefined;
912
+ } | null | undefined;
913
+ }, {
914
+ market_id?: string | null | undefined;
915
+ slug?: string | null | undefined;
916
+ title?: string | null | undefined;
917
+ outcome?: string | null | undefined;
918
+ image_url?: string | null | undefined;
919
+ icon_url?: string | null | undefined;
920
+ category?: string | null | undefined;
921
+ subcategory?: string | null | undefined;
922
+ tags?: string[] | null | undefined;
923
+ end_date?: IsoDateTimeString | null | undefined;
924
+ event?: {
925
+ eventId: string | null | undefined;
926
+ eventSlug: string | null | undefined;
927
+ eventTitle: string | null | undefined;
928
+ eventImage: string | null | undefined;
929
+ } | null | undefined;
930
+ }>>;
931
+ declare const ComboPositionLegSchema: z.ZodPipe<z.ZodObject<{
932
+ leg_index: z.ZodNumber;
933
+ leg_position_id: z.ZodPipe<z.ZodString, z.ZodTransform<PositionId, string>>;
934
+ leg_condition_id: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
935
+ leg_outcome_index: z.ZodNumber;
936
+ leg_outcome_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
937
+ leg_status: z.ZodEnum<typeof ComboPositionStatus>;
938
+ leg_resolved_at: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
939
+ leg_current_price: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
940
+ market: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
941
+ market_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
942
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
943
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
944
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodString>>;
945
+ image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
946
+ icon_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
947
+ category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
948
+ subcategory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
949
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
950
+ end_date: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
951
+ event: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
952
+ event_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
953
+ event_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
954
+ event_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
955
+ event_image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
956
+ }, z.core.$strip>, z.ZodTransform<{
957
+ eventId: string | null | undefined;
958
+ eventSlug: string | null | undefined;
959
+ eventTitle: string | null | undefined;
960
+ eventImage: string | null | undefined;
961
+ }, {
962
+ event_id?: string | null | undefined;
963
+ event_slug?: string | null | undefined;
964
+ event_title?: string | null | undefined;
965
+ event_image?: string | null | undefined;
966
+ }>>>>;
967
+ }, z.core.$strip>, z.ZodTransform<{
968
+ marketId: string | null | undefined;
969
+ imageUrl: string | null | undefined;
970
+ iconUrl: string | null | undefined;
971
+ endDate: IsoDateTimeString | null | undefined;
972
+ slug?: string | null | undefined;
973
+ title?: string | null | undefined;
974
+ outcome?: string | null | undefined;
975
+ category?: string | null | undefined;
976
+ subcategory?: string | null | undefined;
977
+ tags?: string[] | null | undefined;
978
+ event?: {
979
+ eventId: string | null | undefined;
980
+ eventSlug: string | null | undefined;
981
+ eventTitle: string | null | undefined;
982
+ eventImage: string | null | undefined;
983
+ } | null | undefined;
984
+ }, {
985
+ market_id?: string | null | undefined;
986
+ slug?: string | null | undefined;
987
+ title?: string | null | undefined;
988
+ outcome?: string | null | undefined;
989
+ image_url?: string | null | undefined;
990
+ icon_url?: string | null | undefined;
991
+ category?: string | null | undefined;
992
+ subcategory?: string | null | undefined;
993
+ tags?: string[] | null | undefined;
994
+ end_date?: IsoDateTimeString | null | undefined;
995
+ event?: {
996
+ eventId: string | null | undefined;
997
+ eventSlug: string | null | undefined;
998
+ eventTitle: string | null | undefined;
999
+ eventImage: string | null | undefined;
1000
+ } | null | undefined;
1001
+ }>>>>;
1002
+ }, z.core.$strip>, z.ZodTransform<{
1003
+ legIndex: number;
1004
+ legPositionId: PositionId;
1005
+ legConditionId: CtfConditionId;
1006
+ legOutcomeIndex: number;
1007
+ legOutcomeLabel: string | null | undefined;
1008
+ legStatus: ComboPositionStatus;
1009
+ legResolvedAt: IsoDateTimeString | null | undefined;
1010
+ legCurrentPrice: DecimalString | null | undefined;
1011
+ market?: {
1012
+ marketId: string | null | undefined;
1013
+ imageUrl: string | null | undefined;
1014
+ iconUrl: string | null | undefined;
1015
+ endDate: IsoDateTimeString | null | undefined;
1016
+ slug?: string | null | undefined;
1017
+ title?: string | null | undefined;
1018
+ outcome?: string | null | undefined;
1019
+ category?: string | null | undefined;
1020
+ subcategory?: string | null | undefined;
1021
+ tags?: string[] | null | undefined;
1022
+ event?: {
1023
+ eventId: string | null | undefined;
1024
+ eventSlug: string | null | undefined;
1025
+ eventTitle: string | null | undefined;
1026
+ eventImage: string | null | undefined;
1027
+ } | null | undefined;
1028
+ } | null | undefined;
1029
+ }, {
1030
+ leg_index: number;
1031
+ leg_position_id: PositionId;
1032
+ leg_condition_id: CtfConditionId;
1033
+ leg_outcome_index: number;
1034
+ leg_status: ComboPositionStatus;
1035
+ leg_outcome_label?: string | null | undefined;
1036
+ leg_resolved_at?: IsoDateTimeString | null | undefined;
1037
+ leg_current_price?: DecimalString | null | undefined;
1038
+ market?: {
1039
+ marketId: string | null | undefined;
1040
+ imageUrl: string | null | undefined;
1041
+ iconUrl: string | null | undefined;
1042
+ endDate: IsoDateTimeString | null | undefined;
1043
+ slug?: string | null | undefined;
1044
+ title?: string | null | undefined;
1045
+ outcome?: string | null | undefined;
1046
+ category?: string | null | undefined;
1047
+ subcategory?: string | null | undefined;
1048
+ tags?: string[] | null | undefined;
1049
+ event?: {
1050
+ eventId: string | null | undefined;
1051
+ eventSlug: string | null | undefined;
1052
+ eventTitle: string | null | undefined;
1053
+ eventImage: string | null | undefined;
1054
+ } | null | undefined;
1055
+ } | null | undefined;
1056
+ }>>;
1057
+ declare const ComboPositionSchema: z.ZodPipe<z.ZodObject<{
1058
+ combo_condition_id: z.ZodPipe<z.ZodString, z.ZodTransform<ComboConditionId, string>>;
1059
+ combo_position_id: z.ZodPipe<z.ZodString, z.ZodTransform<PositionId, string>>;
1060
+ module_id: z.ZodNumber;
1061
+ user_address: z.ZodString;
1062
+ shares_balance: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
1063
+ entry_avg_price_usdc: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
1064
+ entry_cost_usdc: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
1065
+ status: z.ZodEnum<typeof ComboPositionStatus>;
1066
+ first_entry_at: z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>;
1067
+ resolved_at: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
1068
+ legs_total: z.ZodNumber;
1069
+ legs_resolved: z.ZodNumber;
1070
+ legs_pending: z.ZodNumber;
1071
+ legs: z.ZodArray<z.ZodPipe<z.ZodObject<{
1072
+ leg_index: z.ZodNumber;
1073
+ leg_position_id: z.ZodPipe<z.ZodString, z.ZodTransform<PositionId, string>>;
1074
+ leg_condition_id: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
1075
+ leg_outcome_index: z.ZodNumber;
1076
+ leg_outcome_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1077
+ leg_status: z.ZodEnum<typeof ComboPositionStatus>;
1078
+ leg_resolved_at: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
1079
+ leg_current_price: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
1080
+ market: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
1081
+ market_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1082
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1083
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1084
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1085
+ image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1086
+ icon_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1087
+ category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1088
+ subcategory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1089
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1090
+ end_date: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
1091
+ event: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
1092
+ event_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1093
+ event_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1094
+ event_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1095
+ event_image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1096
+ }, z.core.$strip>, z.ZodTransform<{
1097
+ eventId: string | null | undefined;
1098
+ eventSlug: string | null | undefined;
1099
+ eventTitle: string | null | undefined;
1100
+ eventImage: string | null | undefined;
1101
+ }, {
1102
+ event_id?: string | null | undefined;
1103
+ event_slug?: string | null | undefined;
1104
+ event_title?: string | null | undefined;
1105
+ event_image?: string | null | undefined;
1106
+ }>>>>;
1107
+ }, z.core.$strip>, z.ZodTransform<{
1108
+ marketId: string | null | undefined;
1109
+ imageUrl: string | null | undefined;
1110
+ iconUrl: string | null | undefined;
1111
+ endDate: IsoDateTimeString | null | undefined;
1112
+ slug?: string | null | undefined;
1113
+ title?: string | null | undefined;
1114
+ outcome?: string | null | undefined;
1115
+ category?: string | null | undefined;
1116
+ subcategory?: string | null | undefined;
1117
+ tags?: string[] | null | undefined;
1118
+ event?: {
1119
+ eventId: string | null | undefined;
1120
+ eventSlug: string | null | undefined;
1121
+ eventTitle: string | null | undefined;
1122
+ eventImage: string | null | undefined;
1123
+ } | null | undefined;
1124
+ }, {
1125
+ market_id?: string | null | undefined;
1126
+ slug?: string | null | undefined;
1127
+ title?: string | null | undefined;
1128
+ outcome?: string | null | undefined;
1129
+ image_url?: string | null | undefined;
1130
+ icon_url?: string | null | undefined;
1131
+ category?: string | null | undefined;
1132
+ subcategory?: string | null | undefined;
1133
+ tags?: string[] | null | undefined;
1134
+ end_date?: IsoDateTimeString | null | undefined;
1135
+ event?: {
1136
+ eventId: string | null | undefined;
1137
+ eventSlug: string | null | undefined;
1138
+ eventTitle: string | null | undefined;
1139
+ eventImage: string | null | undefined;
1140
+ } | null | undefined;
1141
+ }>>>>;
1142
+ }, z.core.$strip>, z.ZodTransform<{
1143
+ legIndex: number;
1144
+ legPositionId: PositionId;
1145
+ legConditionId: CtfConditionId;
1146
+ legOutcomeIndex: number;
1147
+ legOutcomeLabel: string | null | undefined;
1148
+ legStatus: ComboPositionStatus;
1149
+ legResolvedAt: IsoDateTimeString | null | undefined;
1150
+ legCurrentPrice: DecimalString | null | undefined;
1151
+ market?: {
1152
+ marketId: string | null | undefined;
1153
+ imageUrl: string | null | undefined;
1154
+ iconUrl: string | null | undefined;
1155
+ endDate: IsoDateTimeString | null | undefined;
1156
+ slug?: string | null | undefined;
1157
+ title?: string | null | undefined;
1158
+ outcome?: string | null | undefined;
1159
+ category?: string | null | undefined;
1160
+ subcategory?: string | null | undefined;
1161
+ tags?: string[] | null | undefined;
1162
+ event?: {
1163
+ eventId: string | null | undefined;
1164
+ eventSlug: string | null | undefined;
1165
+ eventTitle: string | null | undefined;
1166
+ eventImage: string | null | undefined;
1167
+ } | null | undefined;
1168
+ } | null | undefined;
1169
+ }, {
1170
+ leg_index: number;
1171
+ leg_position_id: PositionId;
1172
+ leg_condition_id: CtfConditionId;
1173
+ leg_outcome_index: number;
1174
+ leg_status: ComboPositionStatus;
1175
+ leg_outcome_label?: string | null | undefined;
1176
+ leg_resolved_at?: IsoDateTimeString | null | undefined;
1177
+ leg_current_price?: DecimalString | null | undefined;
1178
+ market?: {
1179
+ marketId: string | null | undefined;
1180
+ imageUrl: string | null | undefined;
1181
+ iconUrl: string | null | undefined;
1182
+ endDate: IsoDateTimeString | null | undefined;
1183
+ slug?: string | null | undefined;
1184
+ title?: string | null | undefined;
1185
+ outcome?: string | null | undefined;
1186
+ category?: string | null | undefined;
1187
+ subcategory?: string | null | undefined;
1188
+ tags?: string[] | null | undefined;
1189
+ event?: {
1190
+ eventId: string | null | undefined;
1191
+ eventSlug: string | null | undefined;
1192
+ eventTitle: string | null | undefined;
1193
+ eventImage: string | null | undefined;
1194
+ } | null | undefined;
1195
+ } | null | undefined;
1196
+ }>>>;
1197
+ }, z.core.$strip>, z.ZodTransform<{
1198
+ conditionId: ComboConditionId;
1199
+ positionId: PositionId;
1200
+ moduleId: number;
1201
+ userAddress: string;
1202
+ shares: DecimalString;
1203
+ entryAvgPriceUsdc: DecimalString | null | undefined;
1204
+ entryCostUsdc: DecimalString | null | undefined;
1205
+ firstEntryAt: IsoDateTimeString;
1206
+ resolvedAt: IsoDateTimeString | null | undefined;
1207
+ legsTotal: number;
1208
+ legsResolved: number;
1209
+ legsPending: number;
1210
+ status: ComboPositionStatus;
1211
+ legs: {
1212
+ legIndex: number;
1213
+ legPositionId: PositionId;
1214
+ legConditionId: CtfConditionId;
1215
+ legOutcomeIndex: number;
1216
+ legOutcomeLabel: string | null | undefined;
1217
+ legStatus: ComboPositionStatus;
1218
+ legResolvedAt: IsoDateTimeString | null | undefined;
1219
+ legCurrentPrice: DecimalString | null | undefined;
1220
+ market?: {
1221
+ marketId: string | null | undefined;
1222
+ imageUrl: string | null | undefined;
1223
+ iconUrl: string | null | undefined;
1224
+ endDate: IsoDateTimeString | null | undefined;
1225
+ slug?: string | null | undefined;
1226
+ title?: string | null | undefined;
1227
+ outcome?: string | null | undefined;
1228
+ category?: string | null | undefined;
1229
+ subcategory?: string | null | undefined;
1230
+ tags?: string[] | null | undefined;
1231
+ event?: {
1232
+ eventId: string | null | undefined;
1233
+ eventSlug: string | null | undefined;
1234
+ eventTitle: string | null | undefined;
1235
+ eventImage: string | null | undefined;
1236
+ } | null | undefined;
1237
+ } | null | undefined;
1238
+ }[];
1239
+ }, {
1240
+ combo_condition_id: ComboConditionId;
1241
+ combo_position_id: PositionId;
1242
+ module_id: number;
1243
+ user_address: string;
1244
+ shares_balance: DecimalString;
1245
+ status: ComboPositionStatus;
1246
+ first_entry_at: IsoDateTimeString;
1247
+ legs_total: number;
1248
+ legs_resolved: number;
1249
+ legs_pending: number;
1250
+ legs: {
1251
+ legIndex: number;
1252
+ legPositionId: PositionId;
1253
+ legConditionId: CtfConditionId;
1254
+ legOutcomeIndex: number;
1255
+ legOutcomeLabel: string | null | undefined;
1256
+ legStatus: ComboPositionStatus;
1257
+ legResolvedAt: IsoDateTimeString | null | undefined;
1258
+ legCurrentPrice: DecimalString | null | undefined;
1259
+ market?: {
1260
+ marketId: string | null | undefined;
1261
+ imageUrl: string | null | undefined;
1262
+ iconUrl: string | null | undefined;
1263
+ endDate: IsoDateTimeString | null | undefined;
1264
+ slug?: string | null | undefined;
1265
+ title?: string | null | undefined;
1266
+ outcome?: string | null | undefined;
1267
+ category?: string | null | undefined;
1268
+ subcategory?: string | null | undefined;
1269
+ tags?: string[] | null | undefined;
1270
+ event?: {
1271
+ eventId: string | null | undefined;
1272
+ eventSlug: string | null | undefined;
1273
+ eventTitle: string | null | undefined;
1274
+ eventImage: string | null | undefined;
1275
+ } | null | undefined;
1276
+ } | null | undefined;
1277
+ }[];
1278
+ entry_avg_price_usdc?: DecimalString | null | undefined;
1279
+ entry_cost_usdc?: DecimalString | null | undefined;
1280
+ resolved_at?: IsoDateTimeString | null | undefined;
1281
+ }>>;
1282
+ declare const ListComboPositionsResponseSchema: z.ZodPipe<z.ZodObject<{
1283
+ combos: z.ZodArray<z.ZodPipe<z.ZodObject<{
1284
+ combo_condition_id: z.ZodPipe<z.ZodString, z.ZodTransform<ComboConditionId, string>>;
1285
+ combo_position_id: z.ZodPipe<z.ZodString, z.ZodTransform<PositionId, string>>;
1286
+ module_id: z.ZodNumber;
1287
+ user_address: z.ZodString;
1288
+ shares_balance: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
1289
+ entry_avg_price_usdc: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
1290
+ entry_cost_usdc: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
1291
+ status: z.ZodEnum<typeof ComboPositionStatus>;
1292
+ first_entry_at: z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>;
1293
+ resolved_at: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
1294
+ legs_total: z.ZodNumber;
1295
+ legs_resolved: z.ZodNumber;
1296
+ legs_pending: z.ZodNumber;
1297
+ legs: z.ZodArray<z.ZodPipe<z.ZodObject<{
1298
+ leg_index: z.ZodNumber;
1299
+ leg_position_id: z.ZodPipe<z.ZodString, z.ZodTransform<PositionId, string>>;
1300
+ leg_condition_id: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
1301
+ leg_outcome_index: z.ZodNumber;
1302
+ leg_outcome_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1303
+ leg_status: z.ZodEnum<typeof ComboPositionStatus>;
1304
+ leg_resolved_at: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
1305
+ leg_current_price: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
1306
+ market: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
1307
+ market_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1308
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1309
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1310
+ outcome: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1311
+ image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1312
+ icon_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1313
+ category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1314
+ subcategory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1315
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1316
+ end_date: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoDateTimeString, Date>>]>>>;
1317
+ event: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
1318
+ event_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1319
+ event_slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1320
+ event_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1321
+ event_image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1322
+ }, z.core.$strip>, z.ZodTransform<{
1323
+ eventId: string | null | undefined;
1324
+ eventSlug: string | null | undefined;
1325
+ eventTitle: string | null | undefined;
1326
+ eventImage: string | null | undefined;
1327
+ }, {
1328
+ event_id?: string | null | undefined;
1329
+ event_slug?: string | null | undefined;
1330
+ event_title?: string | null | undefined;
1331
+ event_image?: string | null | undefined;
1332
+ }>>>>;
1333
+ }, z.core.$strip>, z.ZodTransform<{
1334
+ marketId: string | null | undefined;
1335
+ imageUrl: string | null | undefined;
1336
+ iconUrl: string | null | undefined;
1337
+ endDate: IsoDateTimeString | null | undefined;
1338
+ slug?: string | null | undefined;
1339
+ title?: string | null | undefined;
1340
+ outcome?: string | null | undefined;
1341
+ category?: string | null | undefined;
1342
+ subcategory?: string | null | undefined;
1343
+ tags?: string[] | null | undefined;
1344
+ event?: {
1345
+ eventId: string | null | undefined;
1346
+ eventSlug: string | null | undefined;
1347
+ eventTitle: string | null | undefined;
1348
+ eventImage: string | null | undefined;
1349
+ } | null | undefined;
1350
+ }, {
1351
+ market_id?: string | null | undefined;
1352
+ slug?: string | null | undefined;
1353
+ title?: string | null | undefined;
1354
+ outcome?: string | null | undefined;
1355
+ image_url?: string | null | undefined;
1356
+ icon_url?: string | null | undefined;
1357
+ category?: string | null | undefined;
1358
+ subcategory?: string | null | undefined;
1359
+ tags?: string[] | null | undefined;
1360
+ end_date?: IsoDateTimeString | null | undefined;
1361
+ event?: {
1362
+ eventId: string | null | undefined;
1363
+ eventSlug: string | null | undefined;
1364
+ eventTitle: string | null | undefined;
1365
+ eventImage: string | null | undefined;
1366
+ } | null | undefined;
1367
+ }>>>>;
1368
+ }, z.core.$strip>, z.ZodTransform<{
1369
+ legIndex: number;
1370
+ legPositionId: PositionId;
1371
+ legConditionId: CtfConditionId;
1372
+ legOutcomeIndex: number;
1373
+ legOutcomeLabel: string | null | undefined;
1374
+ legStatus: ComboPositionStatus;
1375
+ legResolvedAt: IsoDateTimeString | null | undefined;
1376
+ legCurrentPrice: DecimalString | null | undefined;
1377
+ market?: {
1378
+ marketId: string | null | undefined;
1379
+ imageUrl: string | null | undefined;
1380
+ iconUrl: string | null | undefined;
1381
+ endDate: IsoDateTimeString | null | undefined;
1382
+ slug?: string | null | undefined;
1383
+ title?: string | null | undefined;
1384
+ outcome?: string | null | undefined;
1385
+ category?: string | null | undefined;
1386
+ subcategory?: string | null | undefined;
1387
+ tags?: string[] | null | undefined;
1388
+ event?: {
1389
+ eventId: string | null | undefined;
1390
+ eventSlug: string | null | undefined;
1391
+ eventTitle: string | null | undefined;
1392
+ eventImage: string | null | undefined;
1393
+ } | null | undefined;
1394
+ } | null | undefined;
1395
+ }, {
1396
+ leg_index: number;
1397
+ leg_position_id: PositionId;
1398
+ leg_condition_id: CtfConditionId;
1399
+ leg_outcome_index: number;
1400
+ leg_status: ComboPositionStatus;
1401
+ leg_outcome_label?: string | null | undefined;
1402
+ leg_resolved_at?: IsoDateTimeString | null | undefined;
1403
+ leg_current_price?: DecimalString | null | undefined;
1404
+ market?: {
1405
+ marketId: string | null | undefined;
1406
+ imageUrl: string | null | undefined;
1407
+ iconUrl: string | null | undefined;
1408
+ endDate: IsoDateTimeString | null | undefined;
1409
+ slug?: string | null | undefined;
1410
+ title?: string | null | undefined;
1411
+ outcome?: string | null | undefined;
1412
+ category?: string | null | undefined;
1413
+ subcategory?: string | null | undefined;
1414
+ tags?: string[] | null | undefined;
1415
+ event?: {
1416
+ eventId: string | null | undefined;
1417
+ eventSlug: string | null | undefined;
1418
+ eventTitle: string | null | undefined;
1419
+ eventImage: string | null | undefined;
1420
+ } | null | undefined;
1421
+ } | null | undefined;
1422
+ }>>>;
1423
+ }, z.core.$strip>, z.ZodTransform<{
1424
+ conditionId: ComboConditionId;
1425
+ positionId: PositionId;
1426
+ moduleId: number;
1427
+ userAddress: string;
1428
+ shares: DecimalString;
1429
+ entryAvgPriceUsdc: DecimalString | null | undefined;
1430
+ entryCostUsdc: DecimalString | null | undefined;
1431
+ firstEntryAt: IsoDateTimeString;
1432
+ resolvedAt: IsoDateTimeString | null | undefined;
1433
+ legsTotal: number;
1434
+ legsResolved: number;
1435
+ legsPending: number;
1436
+ status: ComboPositionStatus;
1437
+ legs: {
1438
+ legIndex: number;
1439
+ legPositionId: PositionId;
1440
+ legConditionId: CtfConditionId;
1441
+ legOutcomeIndex: number;
1442
+ legOutcomeLabel: string | null | undefined;
1443
+ legStatus: ComboPositionStatus;
1444
+ legResolvedAt: IsoDateTimeString | null | undefined;
1445
+ legCurrentPrice: DecimalString | null | undefined;
1446
+ market?: {
1447
+ marketId: string | null | undefined;
1448
+ imageUrl: string | null | undefined;
1449
+ iconUrl: string | null | undefined;
1450
+ endDate: IsoDateTimeString | null | undefined;
1451
+ slug?: string | null | undefined;
1452
+ title?: string | null | undefined;
1453
+ outcome?: string | null | undefined;
1454
+ category?: string | null | undefined;
1455
+ subcategory?: string | null | undefined;
1456
+ tags?: string[] | null | undefined;
1457
+ event?: {
1458
+ eventId: string | null | undefined;
1459
+ eventSlug: string | null | undefined;
1460
+ eventTitle: string | null | undefined;
1461
+ eventImage: string | null | undefined;
1462
+ } | null | undefined;
1463
+ } | null | undefined;
1464
+ }[];
1465
+ }, {
1466
+ combo_condition_id: ComboConditionId;
1467
+ combo_position_id: PositionId;
1468
+ module_id: number;
1469
+ user_address: string;
1470
+ shares_balance: DecimalString;
1471
+ status: ComboPositionStatus;
1472
+ first_entry_at: IsoDateTimeString;
1473
+ legs_total: number;
1474
+ legs_resolved: number;
1475
+ legs_pending: number;
1476
+ legs: {
1477
+ legIndex: number;
1478
+ legPositionId: PositionId;
1479
+ legConditionId: CtfConditionId;
1480
+ legOutcomeIndex: number;
1481
+ legOutcomeLabel: string | null | undefined;
1482
+ legStatus: ComboPositionStatus;
1483
+ legResolvedAt: IsoDateTimeString | null | undefined;
1484
+ legCurrentPrice: DecimalString | null | undefined;
1485
+ market?: {
1486
+ marketId: string | null | undefined;
1487
+ imageUrl: string | null | undefined;
1488
+ iconUrl: string | null | undefined;
1489
+ endDate: IsoDateTimeString | null | undefined;
1490
+ slug?: string | null | undefined;
1491
+ title?: string | null | undefined;
1492
+ outcome?: string | null | undefined;
1493
+ category?: string | null | undefined;
1494
+ subcategory?: string | null | undefined;
1495
+ tags?: string[] | null | undefined;
1496
+ event?: {
1497
+ eventId: string | null | undefined;
1498
+ eventSlug: string | null | undefined;
1499
+ eventTitle: string | null | undefined;
1500
+ eventImage: string | null | undefined;
1501
+ } | null | undefined;
1502
+ } | null | undefined;
1503
+ }[];
1504
+ entry_avg_price_usdc?: DecimalString | null | undefined;
1505
+ entry_cost_usdc?: DecimalString | null | undefined;
1506
+ resolved_at?: IsoDateTimeString | null | undefined;
1507
+ }>>>;
1508
+ pagination: z.ZodObject<{
1509
+ limit: z.ZodNumber;
1510
+ offset: z.ZodNumber;
1511
+ has_more: z.ZodBoolean;
1512
+ next_cursor: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<PaginationCursor, string>>>>;
1513
+ }, z.core.$strip>;
1514
+ }, z.core.$strip>, z.ZodTransform<{
1515
+ pagination: {
1516
+ limit: number;
1517
+ offset: number;
1518
+ hasMore: boolean;
1519
+ nextCursor: PaginationCursor | null | undefined;
1520
+ };
1521
+ combos: {
1522
+ conditionId: ComboConditionId;
1523
+ positionId: PositionId;
1524
+ moduleId: number;
1525
+ userAddress: string;
1526
+ shares: DecimalString;
1527
+ entryAvgPriceUsdc: DecimalString | null | undefined;
1528
+ entryCostUsdc: DecimalString | null | undefined;
1529
+ firstEntryAt: IsoDateTimeString;
1530
+ resolvedAt: IsoDateTimeString | null | undefined;
1531
+ legsTotal: number;
1532
+ legsResolved: number;
1533
+ legsPending: number;
1534
+ status: ComboPositionStatus;
1535
+ legs: {
1536
+ legIndex: number;
1537
+ legPositionId: PositionId;
1538
+ legConditionId: CtfConditionId;
1539
+ legOutcomeIndex: number;
1540
+ legOutcomeLabel: string | null | undefined;
1541
+ legStatus: ComboPositionStatus;
1542
+ legResolvedAt: IsoDateTimeString | null | undefined;
1543
+ legCurrentPrice: DecimalString | null | undefined;
1544
+ market?: {
1545
+ marketId: string | null | undefined;
1546
+ imageUrl: string | null | undefined;
1547
+ iconUrl: string | null | undefined;
1548
+ endDate: IsoDateTimeString | null | undefined;
1549
+ slug?: string | null | undefined;
1550
+ title?: string | null | undefined;
1551
+ outcome?: string | null | undefined;
1552
+ category?: string | null | undefined;
1553
+ subcategory?: string | null | undefined;
1554
+ tags?: string[] | null | undefined;
1555
+ event?: {
1556
+ eventId: string | null | undefined;
1557
+ eventSlug: string | null | undefined;
1558
+ eventTitle: string | null | undefined;
1559
+ eventImage: string | null | undefined;
1560
+ } | null | undefined;
1561
+ } | null | undefined;
1562
+ }[];
1563
+ }[];
1564
+ }, {
1565
+ combos: {
1566
+ conditionId: ComboConditionId;
1567
+ positionId: PositionId;
1568
+ moduleId: number;
1569
+ userAddress: string;
1570
+ shares: DecimalString;
1571
+ entryAvgPriceUsdc: DecimalString | null | undefined;
1572
+ entryCostUsdc: DecimalString | null | undefined;
1573
+ firstEntryAt: IsoDateTimeString;
1574
+ resolvedAt: IsoDateTimeString | null | undefined;
1575
+ legsTotal: number;
1576
+ legsResolved: number;
1577
+ legsPending: number;
1578
+ status: ComboPositionStatus;
1579
+ legs: {
1580
+ legIndex: number;
1581
+ legPositionId: PositionId;
1582
+ legConditionId: CtfConditionId;
1583
+ legOutcomeIndex: number;
1584
+ legOutcomeLabel: string | null | undefined;
1585
+ legStatus: ComboPositionStatus;
1586
+ legResolvedAt: IsoDateTimeString | null | undefined;
1587
+ legCurrentPrice: DecimalString | null | undefined;
1588
+ market?: {
1589
+ marketId: string | null | undefined;
1590
+ imageUrl: string | null | undefined;
1591
+ iconUrl: string | null | undefined;
1592
+ endDate: IsoDateTimeString | null | undefined;
1593
+ slug?: string | null | undefined;
1594
+ title?: string | null | undefined;
1595
+ outcome?: string | null | undefined;
1596
+ category?: string | null | undefined;
1597
+ subcategory?: string | null | undefined;
1598
+ tags?: string[] | null | undefined;
1599
+ event?: {
1600
+ eventId: string | null | undefined;
1601
+ eventSlug: string | null | undefined;
1602
+ eventTitle: string | null | undefined;
1603
+ eventImage: string | null | undefined;
1604
+ } | null | undefined;
1605
+ } | null | undefined;
1606
+ }[];
1607
+ }[];
1608
+ pagination: {
1609
+ limit: number;
1610
+ offset: number;
1611
+ has_more: boolean;
1612
+ next_cursor?: PaginationCursor | null | undefined;
1613
+ };
1614
+ }>>;
846
1615
  declare const ListPositionsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
847
1616
  proxyWallet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
848
1617
  asset: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<TokenId, string>>>>;
849
- conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<ConditionId, string>>;
1618
+ conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
850
1619
  size: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
851
1620
  avgPrice: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
852
1621
  initialValue: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
@@ -874,7 +1643,7 @@ declare const ListPositionsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
874
1643
  wallet: string | null | undefined;
875
1644
  tokenId: TokenId | null | undefined;
876
1645
  oppositeTokenId: TokenId | null | undefined;
877
- conditionId: ConditionId;
1646
+ conditionId: CtfConditionId;
878
1647
  size?: DecimalString | null | undefined;
879
1648
  avgPrice?: DecimalString | null | undefined;
880
1649
  initialValue?: DecimalString | null | undefined;
@@ -898,7 +1667,7 @@ declare const ListPositionsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
898
1667
  endDate?: IsoCalendarDateString | null | undefined;
899
1668
  negativeRisk?: boolean | null | undefined;
900
1669
  }, {
901
- conditionId: ConditionId;
1670
+ conditionId: CtfConditionId;
902
1671
  proxyWallet?: string | null | undefined;
903
1672
  asset?: TokenId | null | undefined;
904
1673
  size?: DecimalString | null | undefined;
@@ -928,7 +1697,7 @@ declare const ListPositionsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
928
1697
  declare const ListClosedPositionsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
929
1698
  proxyWallet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
930
1699
  asset: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<TokenId, string>>>>;
931
- conditionId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<ConditionId, string>>>>;
1700
+ conditionId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
932
1701
  avgPrice: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
933
1702
  totalBought: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
934
1703
  realizedPnl: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
@@ -947,7 +1716,7 @@ declare const ListClosedPositionsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObjec
947
1716
  wallet: string | null | undefined;
948
1717
  tokenId: TokenId | null | undefined;
949
1718
  oppositeTokenId: TokenId | null | undefined;
950
- conditionId?: ConditionId | null | undefined;
1719
+ conditionId?: CtfConditionId | null | undefined;
951
1720
  avgPrice?: DecimalString | null | undefined;
952
1721
  totalBought?: DecimalString | null | undefined;
953
1722
  realizedPnl?: DecimalString | null | undefined;
@@ -964,7 +1733,7 @@ declare const ListClosedPositionsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObjec
964
1733
  }, {
965
1734
  proxyWallet?: string | null | undefined;
966
1735
  asset?: TokenId | null | undefined;
967
- conditionId?: ConditionId | null | undefined;
1736
+ conditionId?: CtfConditionId | null | undefined;
968
1737
  avgPrice?: DecimalString | null | undefined;
969
1738
  totalBought?: DecimalString | null | undefined;
970
1739
  realizedPnl?: DecimalString | null | undefined;
@@ -992,7 +1761,7 @@ declare const ListMarketPositionsResponseSchema: z.ZodArray<z.ZodObject<{
992
1761
  profileImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
993
1762
  verified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
994
1763
  asset: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<TokenId, string>>>>;
995
- conditionId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<ConditionId, string>>>>;
1764
+ conditionId: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>>>;
996
1765
  avgPrice: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
997
1766
  size: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
998
1767
  currPrice: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>>;
@@ -1009,7 +1778,7 @@ declare const ListMarketPositionsResponseSchema: z.ZodArray<z.ZodObject<{
1009
1778
  name?: string | null | undefined;
1010
1779
  profileImage?: string | null | undefined;
1011
1780
  verified?: boolean | null | undefined;
1012
- conditionId?: ConditionId | null | undefined;
1781
+ conditionId?: CtfConditionId | null | undefined;
1013
1782
  avgPrice?: DecimalString | null | undefined;
1014
1783
  size?: DecimalString | null | undefined;
1015
1784
  currPrice?: DecimalString | null | undefined;
@@ -1026,7 +1795,7 @@ declare const ListMarketPositionsResponseSchema: z.ZodArray<z.ZodObject<{
1026
1795
  profileImage?: string | null | undefined;
1027
1796
  verified?: boolean | null | undefined;
1028
1797
  asset?: TokenId | null | undefined;
1029
- conditionId?: ConditionId | null | undefined;
1798
+ conditionId?: CtfConditionId | null | undefined;
1030
1799
  avgPrice?: DecimalString | null | undefined;
1031
1800
  size?: DecimalString | null | undefined;
1032
1801
  currPrice?: DecimalString | null | undefined;
@@ -1044,9 +1813,14 @@ type ClosedPosition = z.infer<typeof ClosedPositionSchema>;
1044
1813
  type Value = z.infer<typeof ValueSchema>;
1045
1814
  type MarketPosition = z.infer<typeof MarketPositionSchema>;
1046
1815
  type MetaMarketPosition = z.infer<typeof MetaMarketPositionSchema>;
1816
+ type ComboPositionMarketEvent = z.infer<typeof ComboPositionMarketEventSchema>;
1817
+ type ComboPositionMarket = z.infer<typeof ComboPositionMarketSchema>;
1818
+ type ComboPositionLeg = z.infer<typeof ComboPositionLegSchema>;
1819
+ type ComboPosition = z.infer<typeof ComboPositionSchema>;
1047
1820
  type ListPositionsResponse = z.infer<typeof ListPositionsResponseSchema>;
1048
1821
  type ListClosedPositionsResponse = z.infer<typeof ListClosedPositionsResponseSchema>;
1049
1822
  type FetchPortfolioValueResponse = z.infer<typeof FetchPortfolioValueResponseSchema>;
1050
1823
  type ListMarketPositionsResponse = z.infer<typeof ListMarketPositionsResponseSchema>;
1824
+ type ListComboPositionsResponse = z.infer<typeof ListComboPositionsResponseSchema>;
1051
1825
 
1052
- export { type Activity, type ActivityBase, ActivitySchema, ActivityType, ActivityTypeSchema, type Address, AddressSchema, type BuilderVolumeEntry, BuilderVolumeEntrySchema, type ClosedPosition, ClosedPositionSchema, type ConversionActivity, type FetchEventLiveVolumeResponse, FetchEventLiveVolumeResponseSchema, type FetchPortfolioValueResponse, FetchPortfolioValueResponseSchema, type Hash64, Hash64Schema, type Holder, HolderSchema, type LeaderboardCategory, LeaderboardCategorySchema, type LeaderboardEntry, LeaderboardEntrySchema, type LeaderboardOrderBy, LeaderboardOrderBySchema, type ListActivityResponse, ListActivityResponseSchema, type ListBuilderLeaderboardResponse, ListBuilderLeaderboardResponseSchema, type ListBuilderVolumeResponse, ListBuilderVolumeResponseSchema, type ListClosedPositionsResponse, ListClosedPositionsResponseSchema, type ListMarketHoldersResponse, ListMarketHoldersResponseSchema, type ListMarketPositionsResponse, ListMarketPositionsResponseSchema, type ListOpenInterestResponse, ListOpenInterestResponseSchema, type ListPositionsResponse, ListPositionsResponseSchema, type ListTraderLeaderboardResponse, ListTraderLeaderboardResponseSchema, type ListTradesResponse, ListTradesResponseSchema, type LiveVolume, LiveVolumeSchema, type MakerRebateActivity, type MarketPosition, MarketPositionSchema, type MarketVolume, MarketVolumeSchema, type MergeActivity, type MetaHolder, MetaHolderSchema, type MetaMarketPosition, MetaMarketPositionSchema, type OpenInterest, OpenInterestSchema, type Position, PositionSchema, type RedeemActivity, type ReferralRewardActivity, type RewardActivity, type Side, SideSchema, type SplitActivity, type TimePeriod, TimePeriodSchema, type Trade, type TradeActivity, TradeSchema, type Traded, TradedSchema, type TraderLeaderboardEntry, TraderLeaderboardEntrySchema, type Value, ValueSchema, type YieldActivity };
1826
+ export { type Activity, type ActivityBase, ActivitySchema, ActivityType, ActivityTypeSchema, type Address, AddressSchema, type BuilderVolumeEntry, BuilderVolumeEntrySchema, type ClosedPosition, ClosedPositionSchema, type ComboPosition, type ComboPositionLeg, ComboPositionLegSchema, type ComboPositionMarket, type ComboPositionMarketEvent, ComboPositionMarketEventSchema, ComboPositionMarketSchema, ComboPositionSchema, ComboPositionStatus, ComboPositionStatusSchema, type ConversionActivity, type FetchEventLiveVolumeResponse, FetchEventLiveVolumeResponseSchema, type FetchPortfolioValueResponse, FetchPortfolioValueResponseSchema, type Hash64, Hash64Schema, type Holder, HolderSchema, type LeaderboardCategory, LeaderboardCategorySchema, type LeaderboardEntry, LeaderboardEntrySchema, type LeaderboardOrderBy, LeaderboardOrderBySchema, type ListActivityResponse, ListActivityResponseSchema, type ListBuilderLeaderboardResponse, ListBuilderLeaderboardResponseSchema, type ListBuilderVolumeResponse, ListBuilderVolumeResponseSchema, type ListClosedPositionsResponse, ListClosedPositionsResponseSchema, type ListComboPositionsResponse, ListComboPositionsResponseSchema, type ListMarketHoldersResponse, ListMarketHoldersResponseSchema, type ListMarketPositionsResponse, ListMarketPositionsResponseSchema, type ListOpenInterestResponse, ListOpenInterestResponseSchema, type ListPositionsResponse, ListPositionsResponseSchema, type ListTraderLeaderboardResponse, ListTraderLeaderboardResponseSchema, type ListTradesResponse, ListTradesResponseSchema, type LiveVolume, LiveVolumeSchema, type MakerRebateActivity, type MarketPosition, MarketPositionSchema, type MarketVolume, MarketVolumeSchema, type MergeActivity, type MetaHolder, MetaHolderSchema, type MetaMarketPosition, MetaMarketPositionSchema, type OpenInterest, OpenInterestSchema, type Position, PositionSchema, type RedeemActivity, type ReferralRewardActivity, type RewardActivity, type Side, SideSchema, type SplitActivity, type TimePeriod, TimePeriodSchema, type Trade, type TradeActivity, TradeSchema, type Traded, TradedSchema, type TraderLeaderboardEntry, TraderLeaderboardEntrySchema, type Value, ValueSchema, type YieldActivity };