@polymarket/bindings 0.12.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/chunk-JPPG656Y.js +2 -0
  2. package/dist/chunk-JPPG656Y.js.map +1 -0
  3. package/dist/chunk-YXNKEMRF.js +2 -0
  4. package/dist/chunk-YXNKEMRF.js.map +1 -0
  5. package/dist/chunk-ZMJTXTXA.js +2 -0
  6. package/dist/chunk-ZMJTXTXA.js.map +1 -0
  7. package/dist/clob/index.d.ts +489 -8
  8. package/dist/clob/index.js +1 -1
  9. package/dist/clob/index.js.map +1 -1
  10. package/dist/combos/index.d.ts +1 -1
  11. package/dist/combos/index.js +1 -1
  12. package/dist/combos/index.js.map +1 -1
  13. package/dist/{comment-CKJIqOZS.d.ts → comment-tQ-L48Di.d.ts} +2 -2
  14. package/dist/data/index.d.ts +446 -10
  15. package/dist/data/index.js +1 -1
  16. package/dist/data/index.js.map +1 -1
  17. package/dist/gamma/index.d.ts +79 -4
  18. package/dist/gamma/index.js +1 -1
  19. package/dist/gamma/index.js.map +1 -1
  20. package/dist/index.d.ts +108 -213
  21. package/dist/index.js +1 -1
  22. package/dist/index.js.map +1 -1
  23. package/dist/{orders-BMW5PN-Q.d.ts → orders-SIFuRgWc.d.ts} +608 -35
  24. package/dist/perps/index.d.ts +995 -4
  25. package/dist/perps/index.js +1 -1
  26. package/dist/perps/index.js.map +1 -1
  27. package/dist/relayer/index.d.ts +1 -1
  28. package/dist/relayer/index.js +1 -1
  29. package/dist/shared-QrXQ5O6x.d.ts +223 -0
  30. package/dist/subscriptions/index.d.ts +668 -78
  31. package/dist/subscriptions/index.js +1 -1
  32. package/dist/subscriptions/index.js.map +1 -1
  33. package/package.json +2 -2
  34. package/dist/chunk-2FRDSBWY.js +0 -2
  35. package/dist/chunk-2FRDSBWY.js.map +0 -1
  36. package/dist/chunk-3IZ4N7C2.js +0 -2
  37. package/dist/chunk-3IZ4N7C2.js.map +0 -1
  38. package/dist/chunk-DAWT25YZ.js +0 -2
  39. package/dist/chunk-DAWT25YZ.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import * as _polymarket_types from '@polymarket/types';
2
2
  import { TxHash, EvmAddress } from '@polymarket/types';
3
- import { BaseUnits, TokenId, PositionId, ConditionId, DecimalString, IsoDateTimeString, TradeStatus, ApiKey, OrderSide, OrderId, TickSizeValue, NotificationId, EpochMilliseconds, CommentId, CommentParentEntityType, ImageOptimizationId, ComboConditionId, QuestionId, OrderType, SessionSignerScope, SessionSignerKnownScope } from '../index.js';
3
+ import { B as BaseUnits, aK as TokenId, am as PositionId, u as ConditionId, y as DecimalString, $ as IsoDateTimeString, aM as TradeStatus, A as ApiKey, af as OrderSide, ad as OrderId, aI as TickSizeValue, a7 as NotificationId, H as EpochMilliseconds, q as CommentId, s as CommentParentEntityType, V as ImageOptimizationId, o as ComboConditionId, ap as QuestionId, ah as OrderType, Z as IsoCalendarDateString, a1 as MarketId, O as EventId, aB as SessionSignerScope, aA as SessionSignerKnownScope } from '../shared-QrXQ5O6x.js';
4
4
  import { z } from 'zod';
5
5
  export { S as SignatureType, a as SignatureTypeSchema } from '../signature-type-CrLAA9AN.js';
6
6
 
@@ -694,10 +694,14 @@ declare const TotalUserEarningSchema: z.ZodPipe<z.ZodObject<{
694
694
  date: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodTransform<IsoDateTimeString, number>>, z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>]>;
695
695
  earnings: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
696
696
  maker_address: z.ZodString;
697
+ native_earnings: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>;
698
+ sponsored_earnings: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>;
697
699
  }, z.core.$strip>, z.ZodTransform<{
698
700
  assetAddress: string;
699
701
  assetRate: DecimalString;
700
702
  makerAddress: string;
703
+ nativeEarnings: DecimalString | undefined;
704
+ sponsoredEarnings: DecimalString | undefined;
701
705
  date: IsoDateTimeString;
702
706
  earnings: DecimalString;
703
707
  }, {
@@ -706,6 +710,8 @@ declare const TotalUserEarningSchema: z.ZodPipe<z.ZodObject<{
706
710
  date: IsoDateTimeString;
707
711
  earnings: DecimalString;
708
712
  maker_address: string;
713
+ native_earnings?: DecimalString | undefined;
714
+ sponsored_earnings?: DecimalString | undefined;
709
715
  }>>;
710
716
  type TotalUserEarning = z.infer<typeof TotalUserEarningSchema>;
711
717
  declare const TotalUserEarningsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
@@ -714,10 +720,14 @@ declare const TotalUserEarningsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<
714
720
  date: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodTransform<IsoDateTimeString, number>>, z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>]>;
715
721
  earnings: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
716
722
  maker_address: z.ZodString;
723
+ native_earnings: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>;
724
+ sponsored_earnings: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>;
717
725
  }, z.core.$strip>, z.ZodTransform<{
718
726
  assetAddress: string;
719
727
  assetRate: DecimalString;
720
728
  makerAddress: string;
729
+ nativeEarnings: DecimalString | undefined;
730
+ sponsoredEarnings: DecimalString | undefined;
721
731
  date: IsoDateTimeString;
722
732
  earnings: DecimalString;
723
733
  }, {
@@ -726,6 +736,8 @@ declare const TotalUserEarningsResponseSchema: z.ZodArray<z.ZodPipe<z.ZodObject<
726
736
  date: IsoDateTimeString;
727
737
  earnings: DecimalString;
728
738
  maker_address: string;
739
+ native_earnings?: DecimalString | undefined;
740
+ sponsored_earnings?: DecimalString | undefined;
729
741
  }>>>;
730
742
  type TotalUserEarningsResponse = z.infer<typeof TotalUserEarningsResponseSchema>;
731
743
  declare const RewardsPercentagesSchema: z.ZodRecord<z.ZodPipe<z.ZodString, z.ZodTransform<ConditionId, string>>, z.ZodNumber>;
@@ -1687,7 +1699,8 @@ declare enum NotificationType {
1687
1699
  YIELD_PAYOUT = 7,
1688
1700
  ORDER_FILL_FAILED = 8,
1689
1701
  AUTO_REDEEMED = 9,
1690
- COMBO_AUTO_REDEEMED = 10
1702
+ COMBO_AUTO_REDEEMED = 10,
1703
+ TAKER_TIER_UPGRADED = 11
1691
1704
  }
1692
1705
  declare const NotificationTypeSchema: z.ZodEnum<typeof NotificationType>;
1693
1706
  /**
@@ -1863,7 +1876,7 @@ declare const MarketNotificationPayloadSchema: z.ZodPipe<z.ZodObject<{
1863
1876
  end_date_iso: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodTransform<IsoDateTimeString, number>>, z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>]>>>;
1864
1877
  eventSlug: z.ZodOptional<z.ZodString>;
1865
1878
  fpmm: z.ZodString;
1866
- game_start_time: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodTransform<IsoDateTimeString, number>>, z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>]>>>;
1879
+ game_start_time: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodTransform<IsoDateTimeString, number>>, z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>]>>>>;
1867
1880
  icon: z.ZodString;
1868
1881
  image: z.ZodString;
1869
1882
  is_50_50_outcome: z.ZodOptional<z.ZodBoolean>;
@@ -2249,6 +2262,24 @@ declare const ComboAutoRedeemedNotificationPayloadSchema: z.ZodPipe<z.ZodObject<
2249
2262
  portfolioUrl?: string | undefined;
2250
2263
  }>>;
2251
2264
  type ComboAutoRedeemedNotificationPayload = z.infer<typeof ComboAutoRedeemedNotificationPayloadSchema>;
2265
+ /** A taker tier upgrade in a daily snapshot; rebateBps is in basis points. */
2266
+ declare const TakerTierUpgradedNotificationPayloadSchema: z.ZodPipe<z.ZodObject<{
2267
+ previous_tier: z.ZodNumber;
2268
+ tier: z.ZodNumber;
2269
+ rebate_bps: z.ZodNumber;
2270
+ snapshot_date: z.ZodPipe<z.ZodISODate, z.ZodTransform<IsoCalendarDateString, string>>;
2271
+ }, z.core.$strip>, z.ZodTransform<{
2272
+ previousTier: number;
2273
+ tier: number;
2274
+ rebateBps: number;
2275
+ snapshotDate: IsoCalendarDateString;
2276
+ }, {
2277
+ previous_tier: number;
2278
+ tier: number;
2279
+ rebate_bps: number;
2280
+ snapshot_date: IsoCalendarDateString;
2281
+ }>>;
2282
+ type TakerTierUpgradedNotificationPayload = z.infer<typeof TakerTierUpgradedNotificationPayloadSchema>;
2252
2283
  declare const OrderCancellationNotificationSchema: z.ZodObject<{
2253
2284
  id: z.ZodPipe<z.ZodNumber, z.ZodTransform<NotificationId, number>>;
2254
2285
  owner: z.ZodPipe<z.ZodString, z.ZodTransform<ApiKey, string>>;
@@ -2402,7 +2433,7 @@ declare const MarketRegisteredNotificationSchema: z.ZodObject<{
2402
2433
  end_date_iso: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodTransform<IsoDateTimeString, number>>, z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>]>>>;
2403
2434
  eventSlug: z.ZodOptional<z.ZodString>;
2404
2435
  fpmm: z.ZodString;
2405
- game_start_time: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodTransform<IsoDateTimeString, number>>, z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>]>>>;
2436
+ game_start_time: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodTransform<IsoDateTimeString, number>>, z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>]>>>>;
2406
2437
  icon: z.ZodString;
2407
2438
  image: z.ZodString;
2408
2439
  is_50_50_outcome: z.ZodOptional<z.ZodBoolean>;
@@ -2572,7 +2603,7 @@ declare const MarketResolvedNotificationSchema: z.ZodObject<{
2572
2603
  end_date_iso: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodTransform<IsoDateTimeString, number>>, z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>]>>>;
2573
2604
  eventSlug: z.ZodOptional<z.ZodString>;
2574
2605
  fpmm: z.ZodString;
2575
- game_start_time: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodTransform<IsoDateTimeString, number>>, z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>]>>>;
2606
+ game_start_time: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodTransform<IsoDateTimeString, number>>, z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>]>>>>;
2576
2607
  icon: z.ZodString;
2577
2608
  image: z.ZodString;
2578
2609
  is_50_50_outcome: z.ZodOptional<z.ZodBoolean>;
@@ -3015,6 +3046,29 @@ declare const ComboAutoRedeemedNotificationSchema: z.ZodObject<{
3015
3046
  type: z.ZodLiteral<NotificationType.COMBO_AUTO_REDEEMED>;
3016
3047
  }, z.core.$strip>;
3017
3048
  type ComboAutoRedeemedNotification = z.infer<typeof ComboAutoRedeemedNotificationSchema>;
3049
+ declare const TakerTierUpgradedNotificationSchema: z.ZodObject<{
3050
+ id: z.ZodPipe<z.ZodNumber, z.ZodTransform<NotificationId, number>>;
3051
+ owner: z.ZodPipe<z.ZodString, z.ZodTransform<ApiKey, string>>;
3052
+ payload: z.ZodPipe<z.ZodObject<{
3053
+ previous_tier: z.ZodNumber;
3054
+ tier: z.ZodNumber;
3055
+ rebate_bps: z.ZodNumber;
3056
+ snapshot_date: z.ZodPipe<z.ZodISODate, z.ZodTransform<IsoCalendarDateString, string>>;
3057
+ }, z.core.$strip>, z.ZodTransform<{
3058
+ previousTier: number;
3059
+ tier: number;
3060
+ rebateBps: number;
3061
+ snapshotDate: IsoCalendarDateString;
3062
+ }, {
3063
+ previous_tier: number;
3064
+ tier: number;
3065
+ rebate_bps: number;
3066
+ snapshot_date: IsoCalendarDateString;
3067
+ }>>;
3068
+ timestamp: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodNumber, z.ZodTransform<EpochMilliseconds, number>>>;
3069
+ type: z.ZodLiteral<NotificationType.TAKER_TIER_UPGRADED>;
3070
+ }, z.core.$strip>;
3071
+ type TakerTierUpgradedNotification = z.infer<typeof TakerTierUpgradedNotificationSchema>;
3018
3072
  /**
3019
3073
  * Account notification. Discriminated on `type`: narrowing on it also
3020
3074
  * narrows `payload` to the shape carried by that notification kind.
@@ -3168,7 +3222,7 @@ declare const NotificationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3168
3222
  end_date_iso: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodTransform<IsoDateTimeString, number>>, z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>]>>>;
3169
3223
  eventSlug: z.ZodOptional<z.ZodString>;
3170
3224
  fpmm: z.ZodString;
3171
- game_start_time: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodTransform<IsoDateTimeString, number>>, z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>]>>>;
3225
+ game_start_time: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodTransform<IsoDateTimeString, number>>, z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>]>>>>;
3172
3226
  icon: z.ZodString;
3173
3227
  image: z.ZodString;
3174
3228
  is_50_50_outcome: z.ZodOptional<z.ZodBoolean>;
@@ -3336,7 +3390,7 @@ declare const NotificationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3336
3390
  end_date_iso: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodTransform<IsoDateTimeString, number>>, z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>]>>>;
3337
3391
  eventSlug: z.ZodOptional<z.ZodString>;
3338
3392
  fpmm: z.ZodString;
3339
- game_start_time: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodTransform<IsoDateTimeString, number>>, z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>]>>>;
3393
+ game_start_time: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodTransform<IsoDateTimeString, number>>, z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>]>>>>;
3340
3394
  icon: z.ZodString;
3341
3395
  image: z.ZodString;
3342
3396
  is_50_50_outcome: z.ZodOptional<z.ZodBoolean>;
@@ -3765,6 +3819,27 @@ declare const NotificationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3765
3819
  }>>;
3766
3820
  timestamp: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodNumber, z.ZodTransform<EpochMilliseconds, number>>>;
3767
3821
  type: z.ZodLiteral<NotificationType.COMBO_AUTO_REDEEMED>;
3822
+ }, z.core.$strip>, z.ZodObject<{
3823
+ id: z.ZodPipe<z.ZodNumber, z.ZodTransform<NotificationId, number>>;
3824
+ owner: z.ZodPipe<z.ZodString, z.ZodTransform<ApiKey, string>>;
3825
+ payload: z.ZodPipe<z.ZodObject<{
3826
+ previous_tier: z.ZodNumber;
3827
+ tier: z.ZodNumber;
3828
+ rebate_bps: z.ZodNumber;
3829
+ snapshot_date: z.ZodPipe<z.ZodISODate, z.ZodTransform<IsoCalendarDateString, string>>;
3830
+ }, z.core.$strip>, z.ZodTransform<{
3831
+ previousTier: number;
3832
+ tier: number;
3833
+ rebateBps: number;
3834
+ snapshotDate: IsoCalendarDateString;
3835
+ }, {
3836
+ previous_tier: number;
3837
+ tier: number;
3838
+ rebate_bps: number;
3839
+ snapshot_date: IsoCalendarDateString;
3840
+ }>>;
3841
+ timestamp: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodPipe<z.ZodNumber, z.ZodTransform<EpochMilliseconds, number>>>;
3842
+ type: z.ZodLiteral<NotificationType.TAKER_TIER_UPGRADED>;
3768
3843
  }, z.core.$strip>], "type">;
3769
3844
  type Notification = z.infer<typeof NotificationSchema>;
3770
3845
  /**
@@ -4051,6 +4126,17 @@ declare const NotificationsResponseSchema: z.ZodPipe<z.ZodArray<z.ZodUnknown>, z
4051
4126
  };
4052
4127
  timestamp: EpochMilliseconds;
4053
4128
  type: NotificationType.COMBO_AUTO_REDEEMED;
4129
+ } | {
4130
+ id: NotificationId;
4131
+ owner: ApiKey;
4132
+ payload: {
4133
+ previousTier: number;
4134
+ tier: number;
4135
+ rebateBps: number;
4136
+ snapshotDate: IsoCalendarDateString;
4137
+ };
4138
+ timestamp: EpochMilliseconds;
4139
+ type: NotificationType.TAKER_TIER_UPGRADED;
4054
4140
  })[], unknown[]>>;
4055
4141
  type NotificationsResponse = z.infer<typeof NotificationsResponseSchema>;
4056
4142
 
@@ -4247,6 +4333,21 @@ declare const OrderBooksSchema: z.ZodArray<z.ZodPipe<z.ZodObject<{
4247
4333
  type OrderBooks = OrderBook[];
4248
4334
  type FetchOrderBookResponse = OrderBook;
4249
4335
 
4336
+ /** Acknowledgement for an order heartbeat; retain the ID for the next send. */
4337
+ declare const OrderHeartbeatSchema: z.ZodPipe<z.ZodObject<{
4338
+ heartbeat_id: z.ZodString;
4339
+ }, z.core.$strip>, z.ZodTransform<{
4340
+ heartbeatId: string;
4341
+ }, {
4342
+ heartbeat_id: string;
4343
+ }>>;
4344
+ type OrderHeartbeat = z.infer<typeof OrderHeartbeatSchema>;
4345
+ /** Mismatch rejection carrying the currently expected order heartbeat ID. */
4346
+ declare const OrderHeartbeatMismatchResponseSchema: z.ZodObject<{
4347
+ error_msg: z.ZodLiteral<"Invalid Heartbeat ID">;
4348
+ heartbeat_id: z.ZodString;
4349
+ }, z.core.$strip>;
4350
+
4250
4351
  /**
4251
4352
  * Placement outcome of an accepted order.
4252
4353
  */
@@ -4843,6 +4944,386 @@ declare const PaginatedMarketRewardsSchema: z.ZodPipe<z.ZodObject<{
4843
4944
  }[];
4844
4945
  }>>;
4845
4946
  type PaginatedMarketRewards = z.infer<typeof PaginatedMarketRewardsSchema>;
4947
+ /** Fields available for ordering reward market discovery. */
4948
+ declare enum RewardMarketSort {
4949
+ MarketId = "market_id",
4950
+ CreatedAt = "created_at",
4951
+ Volume24Hr = "volume_24hr",
4952
+ Spread = "spread",
4953
+ Competitiveness = "competitiveness",
4954
+ MaxSpread = "max_spread",
4955
+ MinSize = "min_size",
4956
+ Question = "question",
4957
+ OneDayPriceChange = "one_day_price_change",
4958
+ RatePerDay = "rate_per_day",
4959
+ Price = "price",
4960
+ EndDate = "end_date",
4961
+ StartDate = "start_date",
4962
+ RewardEndDate = "reward_end_date"
4963
+ }
4964
+ /** Active market with its reward configurations and discovery metadata. */
4965
+ declare const RewardMarketSchema: z.ZodPipe<z.ZodObject<{
4966
+ condition_id: z.ZodPipe<z.ZodString, z.ZodTransform<ConditionId, string>>;
4967
+ market_id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
4968
+ market_slug: z.ZodString;
4969
+ question: z.ZodString;
4970
+ image: z.ZodString;
4971
+ market_competitiveness: z.ZodNumber;
4972
+ rewards_config: z.ZodArray<z.ZodPipe<z.ZodObject<{
4973
+ id: z.ZodOptional<z.ZodNumber>;
4974
+ asset_address: z.ZodString;
4975
+ start_date: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodTransform<IsoDateTimeString, number>>, z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>]>;
4976
+ end_date: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodTransform<IsoDateTimeString, number>>, z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>]>>;
4977
+ rate_per_day: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
4978
+ total_rewards: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>;
4979
+ }, z.core.$strip>, z.ZodTransform<{
4980
+ assetAddress: string;
4981
+ startDate: IsoDateTimeString;
4982
+ endDate: IsoDateTimeString | undefined;
4983
+ ratePerDay: DecimalString;
4984
+ totalRewards: DecimalString | undefined;
4985
+ id?: number | undefined;
4986
+ }, {
4987
+ asset_address: string;
4988
+ start_date: IsoDateTimeString;
4989
+ rate_per_day: DecimalString;
4990
+ id?: number | undefined;
4991
+ end_date?: IsoDateTimeString | undefined;
4992
+ total_rewards?: DecimalString | undefined;
4993
+ }>>>;
4994
+ rewards_max_spread: z.ZodNumber;
4995
+ rewards_min_size: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
4996
+ spread: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
4997
+ tokens: z.ZodArray<z.ZodPipe<z.ZodObject<{
4998
+ token_id: z.ZodPipe<z.ZodString, z.ZodTransform<PositionId | TokenId, string>>;
4999
+ outcome: z.ZodString;
5000
+ price: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
5001
+ }, z.core.$strip>, z.ZodTransform<{
5002
+ assetId: PositionId | TokenId;
5003
+ tokenId: PositionId | TokenId;
5004
+ outcome: string;
5005
+ price: DecimalString;
5006
+ }, {
5007
+ token_id: PositionId | TokenId;
5008
+ outcome: string;
5009
+ price: DecimalString;
5010
+ }>>>;
5011
+ group_item_title: z.ZodString;
5012
+ volume_24hr: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
5013
+ event_id: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodNumber, z.ZodTransform<string, number>>]>, z.ZodTransform<EventId, string>>;
5014
+ event_slug: z.ZodString;
5015
+ created_at: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodTransform<IsoDateTimeString, number>>, z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>]>;
5016
+ one_day_price_change: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
5017
+ end_date: z.ZodUnion<[z.ZodPipe<z.ZodLiteral<"">, z.ZodTransform<undefined, "">>, z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodTransform<IsoDateTimeString, number>>, z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>]>]>;
5018
+ }, z.core.$strip>, z.ZodTransform<{
5019
+ conditionId: ConditionId;
5020
+ marketId: MarketId;
5021
+ marketSlug: string;
5022
+ marketCompetitiveness: number;
5023
+ rewardsConfig: {
5024
+ assetAddress: string;
5025
+ startDate: IsoDateTimeString;
5026
+ endDate: IsoDateTimeString | undefined;
5027
+ ratePerDay: DecimalString;
5028
+ totalRewards: DecimalString | undefined;
5029
+ id?: number | undefined;
5030
+ }[];
5031
+ rewardsMaxSpread: number;
5032
+ rewardsMinSize: DecimalString;
5033
+ groupItemTitle: string;
5034
+ volume24hr: DecimalString;
5035
+ eventId: EventId;
5036
+ eventSlug: string;
5037
+ createdAt: IsoDateTimeString;
5038
+ oneDayPriceChange: DecimalString;
5039
+ endDate: IsoDateTimeString | undefined;
5040
+ question: string;
5041
+ image: string;
5042
+ spread: DecimalString;
5043
+ tokens: {
5044
+ assetId: PositionId | TokenId;
5045
+ tokenId: PositionId | TokenId;
5046
+ outcome: string;
5047
+ price: DecimalString;
5048
+ }[];
5049
+ }, {
5050
+ condition_id: ConditionId;
5051
+ market_id: MarketId;
5052
+ market_slug: string;
5053
+ question: string;
5054
+ image: string;
5055
+ market_competitiveness: number;
5056
+ rewards_config: {
5057
+ assetAddress: string;
5058
+ startDate: IsoDateTimeString;
5059
+ endDate: IsoDateTimeString | undefined;
5060
+ ratePerDay: DecimalString;
5061
+ totalRewards: DecimalString | undefined;
5062
+ id?: number | undefined;
5063
+ }[];
5064
+ rewards_max_spread: number;
5065
+ rewards_min_size: DecimalString;
5066
+ spread: DecimalString;
5067
+ tokens: {
5068
+ assetId: PositionId | TokenId;
5069
+ tokenId: PositionId | TokenId;
5070
+ outcome: string;
5071
+ price: DecimalString;
5072
+ }[];
5073
+ group_item_title: string;
5074
+ volume_24hr: DecimalString;
5075
+ event_id: EventId;
5076
+ event_slug: string;
5077
+ created_at: IsoDateTimeString;
5078
+ one_day_price_change: DecimalString;
5079
+ end_date: IsoDateTimeString | undefined;
5080
+ }>>;
5081
+ type RewardMarket = z.infer<typeof RewardMarketSchema>;
5082
+ declare const PaginatedRewardMarketsSchema: z.ZodPipe<z.ZodObject<{
5083
+ limit: z.ZodNumber;
5084
+ count: z.ZodNumber;
5085
+ next_cursor: z.ZodString;
5086
+ data: z.ZodArray<z.ZodPipe<z.ZodObject<{
5087
+ condition_id: z.ZodPipe<z.ZodString, z.ZodTransform<ConditionId, string>>;
5088
+ market_id: z.ZodPipe<z.ZodString, z.ZodTransform<MarketId, string>>;
5089
+ market_slug: z.ZodString;
5090
+ question: z.ZodString;
5091
+ image: z.ZodString;
5092
+ market_competitiveness: z.ZodNumber;
5093
+ rewards_config: z.ZodArray<z.ZodPipe<z.ZodObject<{
5094
+ id: z.ZodOptional<z.ZodNumber>;
5095
+ asset_address: z.ZodString;
5096
+ start_date: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodTransform<IsoDateTimeString, number>>, z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>]>;
5097
+ end_date: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodTransform<IsoDateTimeString, number>>, z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>]>>;
5098
+ rate_per_day: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
5099
+ total_rewards: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>>;
5100
+ }, z.core.$strip>, z.ZodTransform<{
5101
+ assetAddress: string;
5102
+ startDate: IsoDateTimeString;
5103
+ endDate: IsoDateTimeString | undefined;
5104
+ ratePerDay: DecimalString;
5105
+ totalRewards: DecimalString | undefined;
5106
+ id?: number | undefined;
5107
+ }, {
5108
+ asset_address: string;
5109
+ start_date: IsoDateTimeString;
5110
+ rate_per_day: DecimalString;
5111
+ id?: number | undefined;
5112
+ end_date?: IsoDateTimeString | undefined;
5113
+ total_rewards?: DecimalString | undefined;
5114
+ }>>>;
5115
+ rewards_max_spread: z.ZodNumber;
5116
+ rewards_min_size: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
5117
+ spread: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
5118
+ tokens: z.ZodArray<z.ZodPipe<z.ZodObject<{
5119
+ token_id: z.ZodPipe<z.ZodString, z.ZodTransform<PositionId | TokenId, string>>;
5120
+ outcome: z.ZodString;
5121
+ price: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
5122
+ }, z.core.$strip>, z.ZodTransform<{
5123
+ assetId: PositionId | TokenId;
5124
+ tokenId: PositionId | TokenId;
5125
+ outcome: string;
5126
+ price: DecimalString;
5127
+ }, {
5128
+ token_id: PositionId | TokenId;
5129
+ outcome: string;
5130
+ price: DecimalString;
5131
+ }>>>;
5132
+ group_item_title: z.ZodString;
5133
+ volume_24hr: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
5134
+ event_id: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodNumber, z.ZodTransform<string, number>>]>, z.ZodTransform<EventId, string>>;
5135
+ event_slug: z.ZodString;
5136
+ created_at: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodTransform<IsoDateTimeString, number>>, z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>]>;
5137
+ one_day_price_change: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<DecimalString, number>>]>;
5138
+ end_date: z.ZodUnion<[z.ZodPipe<z.ZodLiteral<"">, z.ZodTransform<undefined, "">>, z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>, z.ZodTransform<IsoDateTimeString, number>>, z.ZodPipe<z.ZodString, z.ZodTransform<IsoDateTimeString, string>>]>]>;
5139
+ }, z.core.$strip>, z.ZodTransform<{
5140
+ conditionId: ConditionId;
5141
+ marketId: MarketId;
5142
+ marketSlug: string;
5143
+ marketCompetitiveness: number;
5144
+ rewardsConfig: {
5145
+ assetAddress: string;
5146
+ startDate: IsoDateTimeString;
5147
+ endDate: IsoDateTimeString | undefined;
5148
+ ratePerDay: DecimalString;
5149
+ totalRewards: DecimalString | undefined;
5150
+ id?: number | undefined;
5151
+ }[];
5152
+ rewardsMaxSpread: number;
5153
+ rewardsMinSize: DecimalString;
5154
+ groupItemTitle: string;
5155
+ volume24hr: DecimalString;
5156
+ eventId: EventId;
5157
+ eventSlug: string;
5158
+ createdAt: IsoDateTimeString;
5159
+ oneDayPriceChange: DecimalString;
5160
+ endDate: IsoDateTimeString | undefined;
5161
+ question: string;
5162
+ image: string;
5163
+ spread: DecimalString;
5164
+ tokens: {
5165
+ assetId: PositionId | TokenId;
5166
+ tokenId: PositionId | TokenId;
5167
+ outcome: string;
5168
+ price: DecimalString;
5169
+ }[];
5170
+ }, {
5171
+ condition_id: ConditionId;
5172
+ market_id: MarketId;
5173
+ market_slug: string;
5174
+ question: string;
5175
+ image: string;
5176
+ market_competitiveness: number;
5177
+ rewards_config: {
5178
+ assetAddress: string;
5179
+ startDate: IsoDateTimeString;
5180
+ endDate: IsoDateTimeString | undefined;
5181
+ ratePerDay: DecimalString;
5182
+ totalRewards: DecimalString | undefined;
5183
+ id?: number | undefined;
5184
+ }[];
5185
+ rewards_max_spread: number;
5186
+ rewards_min_size: DecimalString;
5187
+ spread: DecimalString;
5188
+ tokens: {
5189
+ assetId: PositionId | TokenId;
5190
+ tokenId: PositionId | TokenId;
5191
+ outcome: string;
5192
+ price: DecimalString;
5193
+ }[];
5194
+ group_item_title: string;
5195
+ volume_24hr: DecimalString;
5196
+ event_id: EventId;
5197
+ event_slug: string;
5198
+ created_at: IsoDateTimeString;
5199
+ one_day_price_change: DecimalString;
5200
+ end_date: IsoDateTimeString | undefined;
5201
+ }>>>;
5202
+ }, z.core.$strip>, z.ZodTransform<{
5203
+ nextCursor: string;
5204
+ limit: number;
5205
+ count: number;
5206
+ data: {
5207
+ conditionId: ConditionId;
5208
+ marketId: MarketId;
5209
+ marketSlug: string;
5210
+ marketCompetitiveness: number;
5211
+ rewardsConfig: {
5212
+ assetAddress: string;
5213
+ startDate: IsoDateTimeString;
5214
+ endDate: IsoDateTimeString | undefined;
5215
+ ratePerDay: DecimalString;
5216
+ totalRewards: DecimalString | undefined;
5217
+ id?: number | undefined;
5218
+ }[];
5219
+ rewardsMaxSpread: number;
5220
+ rewardsMinSize: DecimalString;
5221
+ groupItemTitle: string;
5222
+ volume24hr: DecimalString;
5223
+ eventId: EventId;
5224
+ eventSlug: string;
5225
+ createdAt: IsoDateTimeString;
5226
+ oneDayPriceChange: DecimalString;
5227
+ endDate: IsoDateTimeString | undefined;
5228
+ question: string;
5229
+ image: string;
5230
+ spread: DecimalString;
5231
+ tokens: {
5232
+ assetId: PositionId | TokenId;
5233
+ tokenId: PositionId | TokenId;
5234
+ outcome: string;
5235
+ price: DecimalString;
5236
+ }[];
5237
+ }[];
5238
+ }, {
5239
+ limit: number;
5240
+ count: number;
5241
+ next_cursor: string;
5242
+ data: {
5243
+ conditionId: ConditionId;
5244
+ marketId: MarketId;
5245
+ marketSlug: string;
5246
+ marketCompetitiveness: number;
5247
+ rewardsConfig: {
5248
+ assetAddress: string;
5249
+ startDate: IsoDateTimeString;
5250
+ endDate: IsoDateTimeString | undefined;
5251
+ ratePerDay: DecimalString;
5252
+ totalRewards: DecimalString | undefined;
5253
+ id?: number | undefined;
5254
+ }[];
5255
+ rewardsMaxSpread: number;
5256
+ rewardsMinSize: DecimalString;
5257
+ groupItemTitle: string;
5258
+ volume24hr: DecimalString;
5259
+ eventId: EventId;
5260
+ eventSlug: string;
5261
+ createdAt: IsoDateTimeString;
5262
+ oneDayPriceChange: DecimalString;
5263
+ endDate: IsoDateTimeString | undefined;
5264
+ question: string;
5265
+ image: string;
5266
+ spread: DecimalString;
5267
+ tokens: {
5268
+ assetId: PositionId | TokenId;
5269
+ tokenId: PositionId | TokenId;
5270
+ outcome: string;
5271
+ price: DecimalString;
5272
+ }[];
5273
+ }[];
5274
+ }>>;
5275
+ /** Maker fee rebates for a calendar day, in USDC units. */
5276
+ declare const RebatedFeeSchema: z.ZodPipe<z.ZodObject<{
5277
+ date: z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoCalendarDateString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoCalendarDateString, Date>>]>;
5278
+ condition_id: z.ZodPipe<z.ZodString, z.ZodTransform<ConditionId, string>>;
5279
+ asset_address: z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_types.EvmAddress, string>>;
5280
+ maker_address: z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_types.EvmAddress, string>>;
5281
+ rebated_fees_usdc: z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>;
5282
+ }, z.core.$strip>, z.ZodTransform<{
5283
+ conditionId: ConditionId;
5284
+ assetAddress: _polymarket_types.EvmAddress;
5285
+ makerAddress: _polymarket_types.EvmAddress;
5286
+ rebatedFeesUsdc: DecimalString;
5287
+ date: IsoCalendarDateString;
5288
+ }, {
5289
+ date: IsoCalendarDateString;
5290
+ condition_id: ConditionId;
5291
+ asset_address: _polymarket_types.EvmAddress;
5292
+ maker_address: _polymarket_types.EvmAddress;
5293
+ rebated_fees_usdc: DecimalString;
5294
+ }>>;
5295
+ type RebatedFee = z.infer<typeof RebatedFeeSchema>;
5296
+ declare const RebatedFeesResponseSchema: z.ZodPipe<z.ZodNullable<z.ZodArray<z.ZodPipe<z.ZodObject<{
5297
+ date: z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<IsoCalendarDateString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<IsoCalendarDateString, Date>>]>;
5298
+ condition_id: z.ZodPipe<z.ZodString, z.ZodTransform<ConditionId, string>>;
5299
+ asset_address: z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_types.EvmAddress, string>>;
5300
+ maker_address: z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_types.EvmAddress, string>>;
5301
+ rebated_fees_usdc: z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>;
5302
+ }, z.core.$strip>, z.ZodTransform<{
5303
+ conditionId: ConditionId;
5304
+ assetAddress: _polymarket_types.EvmAddress;
5305
+ makerAddress: _polymarket_types.EvmAddress;
5306
+ rebatedFeesUsdc: DecimalString;
5307
+ date: IsoCalendarDateString;
5308
+ }, {
5309
+ date: IsoCalendarDateString;
5310
+ condition_id: ConditionId;
5311
+ asset_address: _polymarket_types.EvmAddress;
5312
+ maker_address: _polymarket_types.EvmAddress;
5313
+ rebated_fees_usdc: DecimalString;
5314
+ }>>>>, z.ZodTransform<{
5315
+ conditionId: ConditionId;
5316
+ assetAddress: _polymarket_types.EvmAddress;
5317
+ makerAddress: _polymarket_types.EvmAddress;
5318
+ rebatedFeesUsdc: DecimalString;
5319
+ date: IsoCalendarDateString;
5320
+ }[], {
5321
+ conditionId: ConditionId;
5322
+ assetAddress: _polymarket_types.EvmAddress;
5323
+ makerAddress: _polymarket_types.EvmAddress;
5324
+ rebatedFeesUsdc: DecimalString;
5325
+ date: IsoCalendarDateString;
5326
+ }[] | null>>;
4846
5327
 
4847
5328
  type ActiveSessionSigner = {
4848
5329
  address: EvmAddress;
@@ -4900,4 +5381,4 @@ declare const FetchTickSizeResponseSchema: z.ZodPipe<z.ZodObject<{
4900
5381
  type TickSize = z.infer<typeof TickSizeSchema>;
4901
5382
  type FetchTickSizeResponse = z.infer<typeof FetchTickSizeResponseSchema>;
4902
5383
 
4903
- export { type AcceptedOrderResponse, AcceptedOrderResponseSchema, type ActiveSessionSigner, ActiveSessionSignerSchema, type ActiveSessionSignersResponse, ActiveSessionSignersResponseSchema, type ApiKeyCreds, ApiKeyCredsSchema, type ApiKeysResponse, ApiKeysResponseSchema, AssetType, AssetTypeSchema, type AutoRedeemedNotification, type AutoRedeemedNotificationPayload, AutoRedeemedNotificationPayloadSchema, AutoRedeemedNotificationSchema, type BalanceAllowanceResponse, BalanceAllowanceResponseSchema, type BuilderApiKey, type BuilderApiKeyCreds, BuilderApiKeyCredsSchema, BuilderApiKeySchema, type BuilderApiKeysResponse, BuilderApiKeysResponseSchema, type BuilderFeeRates, BuilderFeeRatesSchema, type BuilderTrade, BuilderTradeSchema, type CancelOrdersResponse, CancelOrdersResponseSchema, type ChildCommentCreatedNotification, ChildCommentCreatedNotificationSchema, type ChildCommentNotificationPayload, ChildCommentNotificationPayloadSchema, type ClobTrade, ClobTradeSchema, type ClobTradesPage, ClobTradesPageSchema, type ClosedOnlyMode, ClosedOnlyModeSchema, type ComboAutoRedeemedNotification, type ComboAutoRedeemedNotificationPayload, ComboAutoRedeemedNotificationPayloadSchema, ComboAutoRedeemedNotificationSchema, type ConditionByToken, ConditionByTokenSchema, type CurrentReward, type CurrentRewardConfig, CurrentRewardSchema, END_CURSOR, EarningSchema, type FetchBuilderFeeRatesResponse, FetchBuilderFeeRatesResponseSchema, type FetchMarketInfoResponse, FetchMarketInfoResponseSchema, type FetchNegRiskResponse, FetchNegRiskResponseSchema, type FetchOrderBookResponse, FetchOrderBookResponseSchema, type FetchTickSizeResponse, FetchTickSizeResponseSchema, type LastTradePrice, type LastTradePriceForAsset, type LastTradePriceForAssetResponse, type LastTradePriceForToken, type LastTradePriceForTokenResponse, LastTradePriceSchema, type LastTradePrices, LastTradePricesSchema, type MakerOrder, type MarketFeeInfo, MarketFeeInfoSchema, type MarketInfo, MarketInfoSchema, type MarketNotificationPayload, MarketNotificationPayloadSchema, type MarketNotificationRewards, MarketNotificationRewardsSchema, type MarketNotificationToken, MarketNotificationTokenSchema, type MarketRegisteredNotification, MarketRegisteredNotificationSchema, type MarketResolvedNotification, MarketResolvedNotificationSchema, type MarketReward, MarketRewardSchema, type MarketToken, MarketTokenSchema, type Midpoint, MidpointSchema, type Midpoints, MidpointsSchema, type NegRisk, NegRiskSchema, type Notification, NotificationSchema, NotificationType, NotificationTypeSchema, type NotificationsResponse, NotificationsResponseSchema, type OpenOrder, OpenOrderSchema, type OpenOrdersPage, OpenOrdersPageSchema, type OrderBook, type OrderBookHash, OrderBookHashSchema, type OrderBookLevel, OrderBookLevelSchema, OrderBookSchema, type OrderBooks, OrderBooksSchema, type OrderCancellationNotification, OrderCancellationNotificationSchema, type OrderFillFailedNotification, OrderFillFailedNotificationSchema, type OrderFillNotification, OrderFillNotificationSchema, type OrderNotificationPayload, OrderNotificationPayloadSchema, OrderPostStatus, OrderPostStatusSchema, type OrderResponse, OrderResponseErrorCode, OrderResponseErrorCodeSchema, OrderResponseSchema, type OrderResponses, OrderResponsesSchema, type OrderScoringResponse, OrderScoringResponseSchema, type OrdersScoringResponse, OrdersScoringResponseSchema, type PaginatedBuilderTrades, PaginatedBuilderTradesSchema, type PaginatedCurrentRewards, PaginatedCurrentRewardsSchema, type PaginatedMarketRewards, PaginatedMarketRewardsSchema, type Price, PriceSchema, type Prices, type PricesBySide, PricesSchema, type RejectedOrderResponse, RejectedOrderResponseSchema, type ResolveConditionByTokenResponse, ResolveConditionByTokenResponseSchema, type RewardConfig, type RewardPayoutNotification, type RewardPayoutNotificationPayload, RewardPayoutNotificationPayloadSchema, RewardPayoutNotificationSchema, type RewardToken, RewardsConfigSchema, type RewardsPercentages, RewardsPercentagesSchema, type Spread, SpreadSchema, type Spreads, SpreadsSchema, type TickSize, TickSizeSchema, TokenSchema, type TotalUserEarning, TotalUserEarningSchema, type TotalUserEarningsResponse, TotalUserEarningsResponseSchema, type UserEarning, UserEarningSchema, type UserEarningsPage, UserEarningsPageSchema, type UserRewardsEarning, UserRewardsEarningSchema, type UserRewardsEarningsPage, UserRewardsEarningsPageSchema, type YieldPayoutNotification, type YieldPayoutNotificationPayload, YieldPayoutNotificationPayloadSchema, YieldPayoutNotificationSchema };
5384
+ export { type AcceptedOrderResponse, AcceptedOrderResponseSchema, type ActiveSessionSigner, ActiveSessionSignerSchema, type ActiveSessionSignersResponse, ActiveSessionSignersResponseSchema, type ApiKeyCreds, ApiKeyCredsSchema, type ApiKeysResponse, ApiKeysResponseSchema, AssetType, AssetTypeSchema, type AutoRedeemedNotification, type AutoRedeemedNotificationPayload, AutoRedeemedNotificationPayloadSchema, AutoRedeemedNotificationSchema, type BalanceAllowanceResponse, BalanceAllowanceResponseSchema, type BuilderApiKey, type BuilderApiKeyCreds, BuilderApiKeyCredsSchema, BuilderApiKeySchema, type BuilderApiKeysResponse, BuilderApiKeysResponseSchema, type BuilderFeeRates, BuilderFeeRatesSchema, type BuilderTrade, BuilderTradeSchema, type CancelOrdersResponse, CancelOrdersResponseSchema, type ChildCommentCreatedNotification, ChildCommentCreatedNotificationSchema, type ChildCommentNotificationPayload, ChildCommentNotificationPayloadSchema, type ClobTrade, ClobTradeSchema, type ClobTradesPage, ClobTradesPageSchema, type ClosedOnlyMode, ClosedOnlyModeSchema, type ComboAutoRedeemedNotification, type ComboAutoRedeemedNotificationPayload, ComboAutoRedeemedNotificationPayloadSchema, ComboAutoRedeemedNotificationSchema, type ConditionByToken, ConditionByTokenSchema, type CurrentReward, type CurrentRewardConfig, CurrentRewardSchema, END_CURSOR, EarningSchema, type FetchBuilderFeeRatesResponse, FetchBuilderFeeRatesResponseSchema, type FetchMarketInfoResponse, FetchMarketInfoResponseSchema, type FetchNegRiskResponse, FetchNegRiskResponseSchema, type FetchOrderBookResponse, FetchOrderBookResponseSchema, type FetchTickSizeResponse, FetchTickSizeResponseSchema, type LastTradePrice, type LastTradePriceForAsset, type LastTradePriceForAssetResponse, type LastTradePriceForToken, type LastTradePriceForTokenResponse, LastTradePriceSchema, type LastTradePrices, LastTradePricesSchema, type MakerOrder, type MarketFeeInfo, MarketFeeInfoSchema, type MarketInfo, MarketInfoSchema, type MarketNotificationPayload, MarketNotificationPayloadSchema, type MarketNotificationRewards, MarketNotificationRewardsSchema, type MarketNotificationToken, MarketNotificationTokenSchema, type MarketRegisteredNotification, MarketRegisteredNotificationSchema, type MarketResolvedNotification, MarketResolvedNotificationSchema, type MarketReward, MarketRewardSchema, type MarketToken, MarketTokenSchema, type Midpoint, MidpointSchema, type Midpoints, MidpointsSchema, type NegRisk, NegRiskSchema, type Notification, NotificationSchema, NotificationType, NotificationTypeSchema, type NotificationsResponse, NotificationsResponseSchema, type OpenOrder, OpenOrderSchema, type OpenOrdersPage, OpenOrdersPageSchema, type OrderBook, type OrderBookHash, OrderBookHashSchema, type OrderBookLevel, OrderBookLevelSchema, OrderBookSchema, type OrderBooks, OrderBooksSchema, type OrderCancellationNotification, OrderCancellationNotificationSchema, type OrderFillFailedNotification, OrderFillFailedNotificationSchema, type OrderFillNotification, OrderFillNotificationSchema, type OrderHeartbeat, OrderHeartbeatMismatchResponseSchema, OrderHeartbeatSchema, type OrderNotificationPayload, OrderNotificationPayloadSchema, OrderPostStatus, OrderPostStatusSchema, type OrderResponse, OrderResponseErrorCode, OrderResponseErrorCodeSchema, OrderResponseSchema, type OrderResponses, OrderResponsesSchema, type OrderScoringResponse, OrderScoringResponseSchema, type OrdersScoringResponse, OrdersScoringResponseSchema, type PaginatedBuilderTrades, PaginatedBuilderTradesSchema, type PaginatedCurrentRewards, PaginatedCurrentRewardsSchema, type PaginatedMarketRewards, PaginatedMarketRewardsSchema, PaginatedRewardMarketsSchema, type Price, PriceSchema, type Prices, type PricesBySide, PricesSchema, type RebatedFee, RebatedFeeSchema, RebatedFeesResponseSchema, type RejectedOrderResponse, RejectedOrderResponseSchema, type ResolveConditionByTokenResponse, ResolveConditionByTokenResponseSchema, type RewardConfig, type RewardMarket, RewardMarketSchema, RewardMarketSort, type RewardPayoutNotification, type RewardPayoutNotificationPayload, RewardPayoutNotificationPayloadSchema, RewardPayoutNotificationSchema, type RewardToken, RewardsConfigSchema, type RewardsPercentages, RewardsPercentagesSchema, type Spread, SpreadSchema, type Spreads, SpreadsSchema, type TakerTierUpgradedNotification, type TakerTierUpgradedNotificationPayload, TakerTierUpgradedNotificationPayloadSchema, TakerTierUpgradedNotificationSchema, type TickSize, TickSizeSchema, TokenSchema, type TotalUserEarning, TotalUserEarningSchema, type TotalUserEarningsResponse, TotalUserEarningsResponseSchema, type UserEarning, UserEarningSchema, type UserEarningsPage, UserEarningsPageSchema, type UserRewardsEarning, UserRewardsEarningSchema, type UserRewardsEarningsPage, UserRewardsEarningsPageSchema, type YieldPayoutNotification, type YieldPayoutNotificationPayload, YieldPayoutNotificationPayloadSchema, YieldPayoutNotificationSchema };