@polymarket/client 0.1.0-beta.10 → 0.1.0-beta.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { OrderResponse } from '@polymarket/bindings/clob';
2
- import { aR as RateLimitError, aT as RequestRejectedError, bz as SigningError, bG as TransportError, bJ as UnexpectedResponseError, U as UserInputError, a9 as InsufficientLiquidityError, h as BaseSecureClient, eD as PrepareLimitOrderRequest, eb as OrderWorkflow, ea as OrderPostingWorkflow, eF as PrepareMarketOrderRequest, m as CancelledSigningError, aI as PostOrderError, bB as TimeoutError, bC as TransactionFailedError, fi as SignedOrder, B as BaseClient } from './types-M1U0um0G.js';
2
+ import { aR as RateLimitError, aT as RequestRejectedError, bz as SigningError, bG as TransportError, bJ as UnexpectedResponseError, U as UserInputError, a9 as InsufficientLiquidityError, h as BaseSecureClient, eC as PrepareLimitOrderRequest, ea as OrderWorkflow, e9 as OrderPostingWorkflow, eE as PrepareMarketOrderRequest, m as CancelledSigningError, aI as PostOrderError, bB as TimeoutError, bC as TransactionFailedError, fh as SignedOrder, B as BaseClient } from './types-CnxVkr1p.js';
3
3
  import { SportsMarketTypesResponse, SportsMetadata } from '@polymarket/bindings/gamma';
4
4
 
5
5
  type PrepareMarketOrderError = InsufficientLiquidityError | RateLimitError | RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
@@ -11,7 +11,7 @@ import * as _polymarket_bindings_data from '@polymarket/bindings/data';
11
11
  import { Value, Traded, ClosedPosition, ComboPosition, Position, MetaMarketPosition, Activity, LeaderboardEntry, BuilderVolumeEntry, TraderLeaderboardEntry, LiveVolume, OpenInterest, MetaHolder, Trade } from '@polymarket/bindings/data';
12
12
  import { ComboMarket, RfqQuoteRequest, RfqRequestedSize, RfqSide, RfqQuoteAck, RfqConfirmationRequest, RfqConfirmationAck as RfqConfirmationAck$1, RfqExecutionUpdate, RfqTrade, RfqQuoteCancelAck, RfqErrorCode, RfqId, RfqQuoteId } from '@polymarket/bindings/rfq';
13
13
  import * as _polymarket_bindings_perps from '@polymarket/bindings/perps';
14
- import { PerpsInstrument, PerpsTicker, PerpsBook, PerpsCandle, PerpsFundingRate, PerpsPublicTrade, PerpsFeeScheduleEntry, PerpsWithdrawalId, PerpsInstrumentId, PerpsDepositStatusSchema, PerpsWithdrawalStatusSchema, PerpsPnlIntervalSchema, PerpsDecimalInput, PerpsTimeInForce, PerpsCredentials, PerpsBalance, PerpsPortfolio, PerpsAccountConfig, PerpsOrder, PerpsAccountFill, PerpsAccountFundingPayment, PerpsDeposit, PerpsWithdrawal, PerpsEquityPoint, PerpsPnlPoint, PerpsPostOrderAck, PerpsCancelOrderResult, PerpsKlineInterval, PerpsInstrumentIdSchema } from '@polymarket/bindings/perps';
14
+ import { PerpsInstrument, PerpsTicker, PerpsBook, PerpsCandle, PerpsFundingRate, PerpsPublicTrade, PerpsFeeScheduleEntry, PerpsWithdrawalId, PerpsInstrumentId, PerpsDepositStatusSchema, PerpsWithdrawalStatusSchema, PerpsPnlIntervalSchema, PerpsDecimalInput, PerpsTimeInForce, PerpsCredentials, PerpsBalance, PerpsPortfolio, PerpsAccountConfig, PerpsOrder, PerpsAccountFill, PerpsAccountFundingPayment, PerpsDeposit, PerpsWithdrawal, PerpsEquityPoint, PerpsPnlPoint, PerpsPostOrderAck, PerpsCancelOrderResult, PerpsUpdateLeverageResult, PerpsKlineInterval, PerpsInstrumentIdSchema } from '@polymarket/bindings/perps';
15
15
  import { PerpsSessionEvent, CommentsEvent, CryptoPricesTopic, EquityPricesTopic, EquityPricesEvent, MarketEvent, StandardMarketEvent, UserEvent, SportsEvent, CryptoPricesBinanceEvent, CryptoPricesChainlinkEvent, PerpsTradeEvent, PerpsBboEvent, PerpsBookEvent, PerpsCandleEvent, PerpsTickerEvent, PerpsStatisticEvent, CryptoPricesEvent, PerpsMarketDataEvent } from '@polymarket/bindings/subscriptions';
16
16
  import { Hex } from 'ox';
17
17
 
@@ -281,7 +281,7 @@ type Paginated<T> = AsyncIterable<Page<T>> & {
281
281
  };
282
282
 
283
283
  declare const ListPositionsRequestSchema: z.ZodObject<{
284
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.PaginationCursor, string>>>;
284
+ cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
285
285
  user: z.ZodString;
286
286
  market: z.ZodOptional<z.ZodArray<z.ZodString>>;
287
287
  eventId: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
@@ -307,7 +307,7 @@ declare const ListPositionsRequestSchema: z.ZodObject<{
307
307
  title: z.ZodOptional<z.ZodString>;
308
308
  }, z.core.$strip>;
309
309
  declare const ListClosedPositionsRequestSchema: z.ZodObject<{
310
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.PaginationCursor, string>>>;
310
+ cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
311
311
  user: z.ZodString;
312
312
  market: z.ZodOptional<z.ZodArray<z.ZodString>>;
313
313
  title: z.ZodOptional<z.ZodString>;
@@ -326,7 +326,7 @@ declare const ListClosedPositionsRequestSchema: z.ZodObject<{
326
326
  }>>;
327
327
  }, z.core.$strip>;
328
328
  declare const ListComboPositionsRequestSchema: z.ZodObject<{
329
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.PaginationCursor, string>>>;
329
+ cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
330
330
  user: z.ZodString;
331
331
  pageSize: z.ZodDefault<z.ZodNumber>;
332
332
  status: z.ZodOptional<z.ZodEnum<typeof _polymarket_bindings_data.ComboPositionStatus>>;
@@ -3653,7 +3653,7 @@ declare const FetchClosedOnlyModeError: {
3653
3653
  declare function fetchClosedOnlyMode(client: BaseSecureClient): Promise<boolean>;
3654
3654
  declare const ListOpenOrdersRequestSchema: z.ZodDefault<z.ZodObject<{
3655
3655
  tokenId: z.ZodOptional<z.ZodString>;
3656
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.PaginationCursor, string>>>;
3656
+ cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
3657
3657
  id: z.ZodOptional<z.ZodString>;
3658
3658
  market: z.ZodOptional<z.ZodString>;
3659
3659
  }, z.core.$strip>>;
@@ -3726,7 +3726,7 @@ declare const ListAccountTradesRequestSchema: z.ZodDefault<z.ZodObject<{
3726
3726
  after: z.ZodOptional<z.ZodString>;
3727
3727
  tokenId: z.ZodOptional<z.ZodString>;
3728
3728
  before: z.ZodOptional<z.ZodString>;
3729
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.PaginationCursor, string>>>;
3729
+ cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
3730
3730
  id: z.ZodOptional<z.ZodString>;
3731
3731
  makerAddress: z.ZodOptional<z.ZodString>;
3732
3732
  market: z.ZodOptional<z.ZodString>;
@@ -3916,7 +3916,7 @@ declare const FetchOrdersScoringError: {
3916
3916
  */
3917
3917
  declare function fetchOrdersScoring(client: BaseSecureClient, request: FetchOrdersScoringRequest): Promise<OrdersScoringResponse>;
3918
3918
  declare const ListUserEarningsForDayRequestSchema: z.ZodObject<{
3919
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.PaginationCursor, string>>>;
3919
+ cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
3920
3920
  date: z.ZodString;
3921
3921
  }, z.core.$strip>;
3922
3922
  type ListUserEarningsForDayRequest = z.input<typeof ListUserEarningsForDayRequestSchema>;
@@ -3982,7 +3982,7 @@ declare const FetchTotalEarningsForUserForDayError: {
3982
3982
  */
3983
3983
  declare function fetchTotalEarningsForUserForDay(client: BaseSecureClient, request: FetchTotalEarningsForUserForDayRequest): Promise<TotalUserEarning[]>;
3984
3984
  declare const ListUserEarningsAndMarketsConfigRequestSchema: z.ZodObject<{
3985
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.PaginationCursor, string>>>;
3985
+ cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
3986
3986
  date: z.ZodString;
3987
3987
  noCompetition: z.ZodOptional<z.ZodBoolean>;
3988
3988
  orderBy: z.ZodOptional<z.ZodString>;
@@ -4050,7 +4050,7 @@ declare const FetchRewardPercentagesError: {
4050
4050
  declare function fetchRewardPercentages(client: BaseSecureClient): Promise<RewardsPercentages>;
4051
4051
 
4052
4052
  declare const ListTradesRequestSchema: z.ZodObject<{
4053
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.PaginationCursor, string>>>;
4053
+ cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
4054
4054
  pageSize: z.ZodDefault<z.ZodNumber>;
4055
4055
  takerOnly: z.ZodOptional<z.ZodBoolean>;
4056
4056
  filterType: z.ZodOptional<z.ZodEnum<{
@@ -4067,7 +4067,7 @@ declare const ListTradesRequestSchema: z.ZodObject<{
4067
4067
  }>>;
4068
4068
  }, z.core.$strip>;
4069
4069
  declare const ListActivityRequestSchema: z.ZodObject<{
4070
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.PaginationCursor, string>>>;
4070
+ cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
4071
4071
  pageSize: z.ZodDefault<z.ZodNumber>;
4072
4072
  user: z.ZodString;
4073
4073
  market: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -4316,7 +4316,7 @@ declare const ListBuilderTradesRequestSchema: z.ZodObject<{
4316
4316
  after: z.ZodOptional<z.ZodString>;
4317
4317
  before: z.ZodOptional<z.ZodString>;
4318
4318
  builderCode: z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.BuilderCode, string>>;
4319
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.PaginationCursor, string>>>;
4319
+ cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
4320
4320
  id: z.ZodOptional<z.ZodString>;
4321
4321
  market: z.ZodOptional<z.ZodString>;
4322
4322
  tokenId: z.ZodOptional<z.ZodString>;
@@ -4808,7 +4808,7 @@ declare const FetchPriceHistoryError: {
4808
4808
  */
4809
4809
  declare function fetchPriceHistory(client: BaseClient, request: FetchPriceHistoryRequest): Promise<PriceHistoryPoint[]>;
4810
4810
  declare const ListCurrentRewardsRequestSchema: z.ZodDefault<z.ZodObject<{
4811
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.PaginationCursor, string>>>;
4811
+ cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
4812
4812
  sponsored: z.ZodOptional<z.ZodBoolean>;
4813
4813
  }, z.core.$strip>>;
4814
4814
  type ListCurrentRewardsRequest = z.input<typeof ListCurrentRewardsRequestSchema>;
@@ -4851,7 +4851,7 @@ declare const ListCurrentRewardsError: {
4851
4851
  declare function listCurrentRewards(client: BaseClient, request?: ListCurrentRewardsRequest): Paginated<CurrentReward[]>;
4852
4852
  declare const ListMarketRewardsRequestSchema: z.ZodObject<{
4853
4853
  conditionId: z.ZodPipe<z.ZodString, z.ZodTransform<CtfConditionId, string>>;
4854
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.PaginationCursor, string>>>;
4854
+ cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
4855
4855
  sponsored: z.ZodOptional<z.ZodBoolean>;
4856
4856
  }, z.core.$strip>;
4857
4857
  type ListMarketRewardsRequest = z.input<typeof ListMarketRewardsRequestSchema>;
@@ -4901,7 +4901,7 @@ declare function listMarketRewards(client: BaseClient, request: ListMarketReward
4901
4901
 
4902
4902
  declare const ListCommentsRequestSchema: z.ZodObject<{
4903
4903
  ascending: z.ZodOptional<z.ZodBoolean>;
4904
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.PaginationCursor, string>>>;
4904
+ cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
4905
4905
  pageSize: z.ZodDefault<z.ZodNumber>;
4906
4906
  getPositions: z.ZodOptional<z.ZodBoolean>;
4907
4907
  holdersOnly: z.ZodOptional<z.ZodBoolean>;
@@ -4916,7 +4916,7 @@ declare const FetchCommentsByIdRequestSchema: z.ZodObject<{
4916
4916
  declare const ListCommentsByUserAddressRequestSchema: z.ZodObject<{
4917
4917
  address: z.ZodString;
4918
4918
  ascending: z.ZodOptional<z.ZodBoolean>;
4919
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.PaginationCursor, string>>>;
4919
+ cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
4920
4920
  order: z.ZodOptional<z.ZodString>;
4921
4921
  pageSize: z.ZodDefault<z.ZodNumber>;
4922
4922
  }, z.core.$strip>;
@@ -5041,7 +5041,7 @@ declare function listCommentsByUserAddress(client: BaseClient, request: ListComm
5041
5041
  declare const ListEventsRequestSchema: z.ZodObject<{
5042
5042
  ascending: z.ZodOptional<z.ZodBoolean>;
5043
5043
  closed: z.ZodDefault<z.ZodBoolean>;
5044
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.PaginationCursor, string>>>;
5044
+ cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
5045
5045
  pageSize: z.ZodOptional<z.ZodNumber>;
5046
5046
  cyom: z.ZodOptional<z.ZodBoolean>;
5047
5047
  endDateMax: z.ZodOptional<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.IsoDateTimeString, string>>, z.ZodPipe<z.ZodDate, z.ZodTransform<_polymarket_bindings.IsoDateTimeString, Date>>]>>;
@@ -5240,7 +5240,7 @@ declare const FetchEventLiveVolumeError: {
5240
5240
  declare function fetchEventLiveVolume(client: BaseClient, request: FetchEventLiveVolumeRequest): Promise<LiveVolume[]>;
5241
5241
 
5242
5242
  declare const ListBuilderLeaderboardRequestSchema: z.ZodObject<{
5243
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.PaginationCursor, string>>>;
5243
+ cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
5244
5244
  pageSize: z.ZodDefault<z.ZodNumber>;
5245
5245
  timePeriod: z.ZodOptional<z.ZodEnum<{
5246
5246
  DAY: "DAY";
@@ -5270,7 +5270,7 @@ declare const ListTraderLeaderboardRequestSchema: z.ZodObject<{
5270
5270
  TECH: "TECH";
5271
5271
  FINANCE: "FINANCE";
5272
5272
  }>>;
5273
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.PaginationCursor, string>>>;
5273
+ cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
5274
5274
  pageSize: z.ZodDefault<z.ZodNumber>;
5275
5275
  timePeriod: z.ZodOptional<z.ZodEnum<{
5276
5276
  DAY: "DAY";
@@ -5404,7 +5404,7 @@ declare const ListMarketsRequestSchema: z.ZodObject<{
5404
5404
  ascending: z.ZodOptional<z.ZodBoolean>;
5405
5405
  closed: z.ZodOptional<z.ZodBoolean>;
5406
5406
  clobTokenIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
5407
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.PaginationCursor, string>>>;
5407
+ cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
5408
5408
  pageSize: z.ZodOptional<z.ZodNumber>;
5409
5409
  conditionIds: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.CtfConditionId, string>>>>;
5410
5410
  cyom: z.ZodOptional<z.ZodBoolean>;
@@ -5465,7 +5465,7 @@ declare const ListOpenInterestRequestSchema: z.ZodObject<{
5465
5465
  market: z.ZodOptional<z.ZodArray<z.ZodString>>;
5466
5466
  }, z.core.$strip>;
5467
5467
  declare const ListMarketPositionsRequestSchema: z.ZodObject<{
5468
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.PaginationCursor, string>>>;
5468
+ cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
5469
5469
  market: z.ZodString;
5470
5470
  pageSize: z.ZodDefault<z.ZodNumber>;
5471
5471
  user: z.ZodOptional<z.ZodString>;
@@ -5535,7 +5535,7 @@ declare const ListMarketsError: {
5535
5535
  */
5536
5536
  declare function listMarkets(client: BaseClient, request?: ListMarketsRequest): Paginated<Market[]>;
5537
5537
  declare const ListComboMarketsRequestSchema: z.ZodObject<{
5538
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.PaginationCursor, string>>>;
5538
+ cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
5539
5539
  pageSize: z.ZodOptional<z.ZodNumber>;
5540
5540
  exclude: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.CtfConditionId, string>>>>;
5541
5541
  }, z.core.$strip>;
@@ -5769,7 +5769,7 @@ type FetchPerpsOrdersRequest = z.input<typeof FetchPerpsOrdersRequestSchema>;
5769
5769
  declare const ListPerpsFillsRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
5770
5770
  start: z.ZodOptional<z.ZodNumber>;
5771
5771
  end: z.ZodOptional<z.ZodNumber>;
5772
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PaginationCursor, string>>>;
5772
+ cursor: z.ZodOptional<z.ZodCustom<PaginationCursor, PaginationCursor>>;
5773
5773
  }, z.core.$strip>, z.ZodTransform<{
5774
5774
  cursor: PaginationCursor | undefined;
5775
5775
  params: Omit<Record<string, unknown>, "start" | "end"> & PerpsHistoryParams;
@@ -5778,7 +5778,7 @@ declare const ListPerpsFillsRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodO
5778
5778
  end?: number | undefined;
5779
5779
  cursor?: PaginationCursor | undefined;
5780
5780
  }>>, z.ZodPipe<z.ZodObject<{
5781
- cursor: z.ZodPipe<z.ZodString, z.ZodTransform<PaginationCursor, string>>;
5781
+ cursor: z.ZodCustom<PaginationCursor, PaginationCursor>;
5782
5782
  }, z.core.$strip>, z.ZodTransform<{
5783
5783
  cursor: PaginationCursor;
5784
5784
  params: undefined;
@@ -5789,7 +5789,7 @@ type ListPerpsFillsRequest = z.input<typeof ListPerpsFillsRequestSchema>;
5789
5789
  declare const ListPerpsFundingPaymentsRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
5790
5790
  start: z.ZodOptional<z.ZodNumber>;
5791
5791
  end: z.ZodOptional<z.ZodNumber>;
5792
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PaginationCursor, string>>>;
5792
+ cursor: z.ZodOptional<z.ZodCustom<PaginationCursor, PaginationCursor>>;
5793
5793
  instrumentId: z.ZodOptional<z.ZodPipe<z.ZodNumber, z.ZodTransform<PerpsInstrumentId, number>>>;
5794
5794
  }, z.core.$strip>, z.ZodTransform<{
5795
5795
  cursor: PaginationCursor | undefined;
@@ -5804,7 +5804,7 @@ declare const ListPerpsFundingPaymentsRequestSchema: z.ZodUnion<readonly [z.ZodP
5804
5804
  cursor?: PaginationCursor | undefined;
5805
5805
  instrumentId?: PerpsInstrumentId | undefined;
5806
5806
  }>>, z.ZodPipe<z.ZodObject<{
5807
- cursor: z.ZodPipe<z.ZodString, z.ZodTransform<PaginationCursor, string>>;
5807
+ cursor: z.ZodCustom<PaginationCursor, PaginationCursor>;
5808
5808
  }, z.core.$strip>, z.ZodTransform<{
5809
5809
  cursor: PaginationCursor;
5810
5810
  params: undefined;
@@ -5815,7 +5815,7 @@ type ListPerpsFundingPaymentsRequest = z.input<typeof ListPerpsFundingPaymentsRe
5815
5815
  declare const ListPerpsDepositsRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
5816
5816
  start: z.ZodOptional<z.ZodNumber>;
5817
5817
  end: z.ZodOptional<z.ZodNumber>;
5818
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PaginationCursor, string>>>;
5818
+ cursor: z.ZodOptional<z.ZodCustom<PaginationCursor, PaginationCursor>>;
5819
5819
  depositStatus: z.ZodOptional<z.ZodEnum<typeof _polymarket_bindings_perps.PerpsDepositStatus>>;
5820
5820
  hash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_types.TxHash, string>>>;
5821
5821
  }, z.core.$strip>, z.ZodTransform<{
@@ -5833,7 +5833,7 @@ declare const ListPerpsDepositsRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.Z
5833
5833
  depositStatus?: _polymarket_bindings_perps.PerpsDepositStatus | undefined;
5834
5834
  hash?: _polymarket_types.TxHash | undefined;
5835
5835
  }>>, z.ZodPipe<z.ZodObject<{
5836
- cursor: z.ZodPipe<z.ZodString, z.ZodTransform<PaginationCursor, string>>;
5836
+ cursor: z.ZodCustom<PaginationCursor, PaginationCursor>;
5837
5837
  }, z.core.$strip>, z.ZodTransform<{
5838
5838
  cursor: PaginationCursor;
5839
5839
  params: undefined;
@@ -5844,7 +5844,7 @@ type ListPerpsDepositsRequest = z.input<typeof ListPerpsDepositsRequestSchema>;
5844
5844
  declare const ListPerpsWithdrawalsRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
5845
5845
  start: z.ZodOptional<z.ZodNumber>;
5846
5846
  end: z.ZodOptional<z.ZodNumber>;
5847
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PaginationCursor, string>>>;
5847
+ cursor: z.ZodOptional<z.ZodCustom<PaginationCursor, PaginationCursor>>;
5848
5848
  withdrawalStatus: z.ZodOptional<z.ZodEnum<typeof _polymarket_bindings_perps.PerpsWithdrawalStatus>>;
5849
5849
  hash: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_types.TxHash, string>>>;
5850
5850
  }, z.core.$strip>, z.ZodTransform<{
@@ -5862,7 +5862,7 @@ declare const ListPerpsWithdrawalsRequestSchema: z.ZodUnion<readonly [z.ZodPipe<
5862
5862
  withdrawalStatus?: _polymarket_bindings_perps.PerpsWithdrawalStatus | undefined;
5863
5863
  hash?: _polymarket_types.TxHash | undefined;
5864
5864
  }>>, z.ZodPipe<z.ZodObject<{
5865
- cursor: z.ZodPipe<z.ZodString, z.ZodTransform<PaginationCursor, string>>;
5865
+ cursor: z.ZodCustom<PaginationCursor, PaginationCursor>;
5866
5866
  }, z.core.$strip>, z.ZodTransform<{
5867
5867
  cursor: PaginationCursor;
5868
5868
  params: undefined;
@@ -5874,7 +5874,7 @@ declare const ListPerpsEquityHistoryRequestSchema: z.ZodUnion<readonly [z.ZodPip
5874
5874
  interval: z.ZodEnum<typeof _polymarket_bindings_perps.PerpsPnlInterval>;
5875
5875
  start: z.ZodNumber;
5876
5876
  end: z.ZodOptional<z.ZodNumber>;
5877
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PaginationCursor, string>>>;
5877
+ cursor: z.ZodOptional<z.ZodCustom<PaginationCursor, PaginationCursor>>;
5878
5878
  }, z.core.$strip>, z.ZodTransform<{
5879
5879
  cursor: PaginationCursor | undefined;
5880
5880
  params: PerpsIntervalHistoryParams;
@@ -5884,7 +5884,7 @@ declare const ListPerpsEquityHistoryRequestSchema: z.ZodUnion<readonly [z.ZodPip
5884
5884
  end?: number | undefined;
5885
5885
  cursor?: PaginationCursor | undefined;
5886
5886
  }>>, z.ZodPipe<z.ZodObject<{
5887
- cursor: z.ZodPipe<z.ZodString, z.ZodTransform<PaginationCursor, string>>;
5887
+ cursor: z.ZodCustom<PaginationCursor, PaginationCursor>;
5888
5888
  }, z.core.$strip>, z.ZodTransform<{
5889
5889
  cursor: PaginationCursor;
5890
5890
  params: undefined;
@@ -5896,7 +5896,7 @@ declare const ListPerpsPnlHistoryRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z
5896
5896
  interval: z.ZodEnum<typeof _polymarket_bindings_perps.PerpsPnlInterval>;
5897
5897
  start: z.ZodNumber;
5898
5898
  end: z.ZodOptional<z.ZodNumber>;
5899
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PaginationCursor, string>>>;
5899
+ cursor: z.ZodOptional<z.ZodCustom<PaginationCursor, PaginationCursor>>;
5900
5900
  }, z.core.$strip>, z.ZodTransform<{
5901
5901
  cursor: PaginationCursor | undefined;
5902
5902
  params: PerpsIntervalHistoryParams;
@@ -5906,7 +5906,7 @@ declare const ListPerpsPnlHistoryRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z
5906
5906
  end?: number | undefined;
5907
5907
  cursor?: PaginationCursor | undefined;
5908
5908
  }>>, z.ZodPipe<z.ZodObject<{
5909
- cursor: z.ZodPipe<z.ZodString, z.ZodTransform<PaginationCursor, string>>;
5909
+ cursor: z.ZodCustom<PaginationCursor, PaginationCursor>;
5910
5910
  }, z.core.$strip>, z.ZodTransform<{
5911
5911
  cursor: PaginationCursor;
5912
5912
  params: undefined;
@@ -6011,15 +6011,6 @@ type UpdatePerpsLeverageError = RequestRejectedError | SigningError | TransportE
6011
6011
  declare const UpdatePerpsLeverageError: {
6012
6012
  isError(error: unknown): error is SigningError | TransportError | UserInputError | RequestRejectedError;
6013
6013
  };
6014
- declare const UpdatePerpsMarginRequestSchema: z.ZodObject<{
6015
- instrumentId: z.ZodPipe<z.ZodNumber, z.ZodTransform<PerpsInstrumentId, number>>;
6016
- amount: z.ZodUnion<readonly [z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.DecimalString, string>>, z.ZodPipe<z.ZodNumber, z.ZodTransform<_polymarket_bindings.DecimalString, number>>]>;
6017
- }, z.core.$strip>;
6018
- type UpdatePerpsMarginRequest = z.input<typeof UpdatePerpsMarginRequestSchema>;
6019
- type UpdatePerpsMarginError = RequestRejectedError | SigningError | TransportError | UnexpectedResponseError | UserInputError;
6020
- declare const UpdatePerpsMarginError: {
6021
- isError(error: unknown): error is SigningError | TransportError | UserInputError | UnexpectedResponseError | RequestRejectedError;
6022
- };
6023
6014
 
6024
6015
  type PerpsSessionOptions = {
6025
6016
  chainId: number;
@@ -6075,8 +6066,7 @@ declare class PerpsSession implements AsyncIterable<PerpsSessionEvent> {
6075
6066
  * Each returned status reflects whether that cancel happened.
6076
6067
  */
6077
6068
  cancelOrders(request: CancelPerpsOrdersRequest): Promise<PerpsCancelOrderResult[]>;
6078
- updateLeverage(request: UpdatePerpsLeverageRequest): Promise<void>;
6079
- updateMargin(request: UpdatePerpsMarginRequest): Promise<void>;
6069
+ updateLeverage(request: UpdatePerpsLeverageRequest): Promise<PerpsUpdateLeverageResult>;
6080
6070
  }
6081
6071
 
6082
6072
  type PerpsPublicReadError = RateLimitError | RequestRejectedError | TransportError | UnexpectedResponseError | UserInputError;
@@ -6175,7 +6165,7 @@ declare const ListPerpsCandlesRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.Zo
6175
6165
  interval: z.ZodEnum<typeof PerpsKlineInterval>;
6176
6166
  start: z.ZodOptional<z.ZodNumber>;
6177
6167
  end: z.ZodOptional<z.ZodNumber>;
6178
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PaginationCursor, string>>>;
6168
+ cursor: z.ZodOptional<z.ZodCustom<PaginationCursor, PaginationCursor>>;
6179
6169
  }, z.core.$strip>, z.ZodTransform<{
6180
6170
  cursor: PaginationCursor | undefined;
6181
6171
  params: PerpsCandlesParams;
@@ -6186,7 +6176,7 @@ declare const ListPerpsCandlesRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.Zo
6186
6176
  end?: number | undefined;
6187
6177
  cursor?: PaginationCursor | undefined;
6188
6178
  }>>, z.ZodPipe<z.ZodObject<{
6189
- cursor: z.ZodPipe<z.ZodString, z.ZodTransform<PaginationCursor, string>>;
6179
+ cursor: z.ZodCustom<PaginationCursor, PaginationCursor>;
6190
6180
  }, z.core.$strip>, z.ZodTransform<{
6191
6181
  cursor: PaginationCursor;
6192
6182
  params: undefined;
@@ -6212,7 +6202,7 @@ declare const ListPerpsFundingHistoryRequestSchema: z.ZodUnion<readonly [z.ZodPi
6212
6202
  instrumentId: z.ZodPipe<z.ZodNumber, z.ZodTransform<_polymarket_bindings_perps.PerpsInstrumentId, number>>;
6213
6203
  start: z.ZodOptional<z.ZodNumber>;
6214
6204
  end: z.ZodOptional<z.ZodNumber>;
6215
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PaginationCursor, string>>>;
6205
+ cursor: z.ZodOptional<z.ZodCustom<PaginationCursor, PaginationCursor>>;
6216
6206
  }, z.core.$strip>, z.ZodTransform<{
6217
6207
  cursor: PaginationCursor | undefined;
6218
6208
  params: PerpsTimeRangeParams;
@@ -6222,7 +6212,7 @@ declare const ListPerpsFundingHistoryRequestSchema: z.ZodUnion<readonly [z.ZodPi
6222
6212
  end?: number | undefined;
6223
6213
  cursor?: PaginationCursor | undefined;
6224
6214
  }>>, z.ZodPipe<z.ZodObject<{
6225
- cursor: z.ZodPipe<z.ZodString, z.ZodTransform<PaginationCursor, string>>;
6215
+ cursor: z.ZodCustom<PaginationCursor, PaginationCursor>;
6226
6216
  }, z.core.$strip>, z.ZodTransform<{
6227
6217
  cursor: PaginationCursor;
6228
6218
  params: undefined;
@@ -6248,7 +6238,7 @@ declare const ListPerpsTradesRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.Zod
6248
6238
  instrumentId: z.ZodPipe<z.ZodNumber, z.ZodTransform<_polymarket_bindings_perps.PerpsInstrumentId, number>>;
6249
6239
  start: z.ZodOptional<z.ZodNumber>;
6250
6240
  end: z.ZodOptional<z.ZodNumber>;
6251
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<PaginationCursor, string>>>;
6241
+ cursor: z.ZodOptional<z.ZodCustom<PaginationCursor, PaginationCursor>>;
6252
6242
  }, z.core.$strip>, z.ZodTransform<{
6253
6243
  cursor: PaginationCursor | undefined;
6254
6244
  params: PerpsTimeRangeParams;
@@ -6258,7 +6248,7 @@ declare const ListPerpsTradesRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.Zod
6258
6248
  end?: number | undefined;
6259
6249
  cursor?: PaginationCursor | undefined;
6260
6250
  }>>, z.ZodPipe<z.ZodObject<{
6261
- cursor: z.ZodPipe<z.ZodString, z.ZodTransform<PaginationCursor, string>>;
6251
+ cursor: z.ZodCustom<PaginationCursor, PaginationCursor>;
6262
6252
  }, z.core.$strip>, z.ZodTransform<{
6263
6253
  cursor: PaginationCursor;
6264
6254
  params: undefined;
@@ -6816,7 +6806,7 @@ declare const SearchRequestSchema: z.ZodObject<{
6816
6806
  q: z.ZodString;
6817
6807
  ascending: z.ZodOptional<z.ZodBoolean>;
6818
6808
  cache: z.ZodOptional<z.ZodBoolean>;
6819
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.PaginationCursor, string>>>;
6809
+ cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
6820
6810
  eventsStatus: z.ZodOptional<z.ZodString>;
6821
6811
  eventsTag: z.ZodOptional<z.ZodArray<z.ZodString>>;
6822
6812
  excludeTagIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
@@ -6877,7 +6867,7 @@ declare function search(client: BaseClient, request: SearchRequest): Paginated<S
6877
6867
  declare const ListSeriesRequestSchema: z.ZodObject<{
6878
6868
  ascending: z.ZodOptional<z.ZodBoolean>;
6879
6869
  closed: z.ZodOptional<z.ZodBoolean>;
6880
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.PaginationCursor, string>>>;
6870
+ cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
6881
6871
  excludeEvents: z.ZodOptional<z.ZodBoolean>;
6882
6872
  locale: z.ZodOptional<z.ZodString>;
6883
6873
  order: z.ZodOptional<z.ZodString>;
@@ -7089,7 +7079,7 @@ declare function subscribe<const TSubscriptions extends readonly SecureSubscript
7089
7079
 
7090
7080
  declare const ListTagsRequestSchema: z.ZodObject<{
7091
7081
  ascending: z.ZodOptional<z.ZodBoolean>;
7092
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.PaginationCursor, string>>>;
7082
+ cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
7093
7083
  includeTemplate: z.ZodOptional<z.ZodBoolean>;
7094
7084
  isCarousel: z.ZodOptional<z.ZodBoolean>;
7095
7085
  locale: z.ZodOptional<z.ZodString>;
@@ -7261,7 +7251,7 @@ declare function fetchRelatedTagResources(client: BaseClient, request: FetchRela
7261
7251
  declare const ListTeamsRequestSchema: z.ZodObject<{
7262
7252
  abbreviation: z.ZodOptional<z.ZodArray<z.ZodString>>;
7263
7253
  ascending: z.ZodOptional<z.ZodBoolean>;
7264
- cursor: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_bindings.PaginationCursor, string>>>;
7254
+ cursor: z.ZodOptional<z.ZodCustom<_polymarket_bindings.PaginationCursor, _polymarket_bindings.PaginationCursor>>;
7265
7255
  league: z.ZodOptional<z.ZodArray<z.ZodString>>;
7266
7256
  name: z.ZodOptional<z.ZodArray<z.ZodString>>;
7267
7257
  order: z.ZodOptional<z.ZodString>;
@@ -7431,4 +7421,4 @@ type Signer = {
7431
7421
  sendTransaction(request: SignerTransactionRequest): Promise<TransactionHandle>;
7432
7422
  };
7433
7423
 
7434
- export { FetchPublicProfileError as $, type ApiKeyAuthorization as A, type BaseClient as B, CancelAllError as C, type DataActions as D, type EnvironmentConfig as E, FetchClosedOnlyModeError as F, FetchEventLiveVolumeError as G, FetchEventTagsError as H, FetchLastTradePriceError as I, FetchLastTradePricesError as J, FetchMarketError as K, FetchMarketTagsError as L, FetchMidpointError as M, FetchMidpointsError as N, FetchNotificationsError as O, FetchOrderBookError as P, FetchOrderBooksError as Q, FetchOrderError as R, type Signer as S, type TypedDataPayload as T, UserInputError as U, FetchOrderScoringError as V, FetchOrdersScoringError as W, FetchPortfolioValueError as X, FetchPriceError as Y, FetchPriceHistoryError as Z, FetchPricesError as _, type TypedData as a, RfqConfirmationError as a$, FetchRelatedTagResourcesError as a0, FetchRelatedTagsError as a1, FetchRewardPercentagesError as a2, FetchSeriesError as a3, FetchSpreadError as a4, FetchSpreadsError as a5, FetchTagError as a6, FetchTotalEarningsForUserForDayError as a7, FetchTradedMarketCountError as a8, InsufficientLiquidityError as a9, MergePositionsError as aA, OpenRfqSessionError as aB, type Page as aC, PageSizeSchema as aD, type Paginated as aE, type PerpsActions as aF, type PerpsEndpoints as aG, PerpsSession as aH, PostOrderError as aI, PostOrdersError as aJ, type PublicAccountActions as aK, type PublicActions as aL, type PublicClient as aM, type PublicClientOptions as aN, type PublicPerpsActions as aO, type PublicRewardsActions as aP, type PublicSubscriptionsActions as aQ, RateLimitError as aR, RedeemPositionsError as aS, RequestRejectedError as aT, type RequestRejectedErrorOptions as aU, type RestEndpoint as aV, type RfqCancelQuoteAck as aW, RfqCancelQuoteError as aX, RfqCancelQuoteRejectedError as aY, type RfqCancelQuoteRejectedErrorOptions as aZ, type RfqConfirmationAck as a_, ListAccountTradesError as aa, ListActivityError as ab, ListBuilderLeaderboardError as ac, ListBuilderTradesError as ad, ListBuilderVolumeError as ae, ListClosedPositionsError as af, ListComboMarketsError as ag, ListComboPositionsError as ah, ListCommentsByUserAddressError as ai, ListCommentsError as aj, ListCurrentRewardsError as ak, ListEventsError as al, ListMarketHoldersError as am, ListMarketPositionsError as an, ListMarketRewardsError as ao, ListMarketsError as ap, ListOpenInterestError as aq, ListOpenOrdersError as ar, ListPositionsError as as, ListSeriesError as at, ListTagsError as au, ListTeamsError as av, ListTraderLeaderboardError as aw, ListTradesError as ax, ListUserEarningsAndMarketsConfigError as ay, ListUserEarningsForDayError as az, type TransactionCall as b, rfqActions as b$, RfqConfirmationRejectedError as b0, type RfqConfirmationRequestEvent as b1, type RfqEndpoints as b2, type RfqEvent as b3, RfqQuoteError as b4, type RfqQuoteReference as b5, RfqQuoteRejectedError as b6, type RfqQuoteRejectedErrorOptions as b7, type RfqQuoteRequestEvent as b8, type RfqQuoteResponse as b9, SplitPositionError as bA, TimeoutError as bB, TransactionFailedError as bC, type TransactionHandle as bD, type TransactionOutcome as bE, TransferErc20Error as bF, TransportError as bG, type TypedDataDomain as bH, type TypedDataField as bI, UnexpectedResponseError as bJ, UpdatePerpsLeverageError as bK, UpdatePerpsMarginError as bL, WaitForTransactionError as bM, type WalletDerivationConfig as bN, type WebSocketEndpoint as bO, accountActions as bP, allActions as bQ, analyticsActions as bR, createPublicClient as bS, createSecureClient as bT, dataActions as bU, discoveryActions as bV, forkEnvironmentConfig as bW, makeErrorGuard as bX, perpsActions as bY, production as bZ, rewardsActions as b_, type RfqQuoteSource as ba, type RfqSession as bb, type RfqTradeEvent as bc, SearchError as bd, SearchSort as be, type SecureAccountActions as bf, type SecureActions as bg, type SecureClient as bh, type SecureClientOptions as bi, type SecureDownloadAccountingSnapshotRequest as bj, type SecureFetchPortfolioValueRequest as bk, type SecureFetchTradedMarketCountRequest as bl, type SecureListActivityRequest as bm, type SecureListClosedPositionsRequest as bn, type SecureListComboPositionsRequest as bo, type SecureListPositionsRequest as bp, type SecurePerpsActions as bq, type SecureRewardsActions as br, type SecureRfqActions as bs, type SecureSubscriptionsActions as bt, type SecureTradingActions as bu, type SecureWalletActions as bv, SetupGaslessWalletError as bw, SetupTradingApprovalsError as bx, type SignerTransactionRequest as by, SigningError as bz, type AccountIdentity as c, type FetchPerpsInstrumentsRequest as c$, subscriptionsActions as c0, tradingActions as c1, walletActions as c2, type CancelMarketOrdersRequest as c3, type CancelOrderRequest as c4, type CancelOrdersRequest as c5, type CancelPerpsOrderRequest as c6, type CancelPerpsOrdersRequest as c7, type CommentsEventType as c8, type CommentsSubscription as c9, type FetchCommentsByIdRequest as cA, type FetchEventLiveVolumeRequest as cB, type FetchEventRequest as cC, type FetchEventTagsRequest as cD, FetchExecuteParamsError as cE, type FetchExecuteParamsRequest as cF, type FetchGaslessTransactionRequest as cG, type FetchLastTradePriceRequest as cH, type FetchLastTradePricesRequest as cI, FetchMarketInfoError as cJ, type FetchMarketInfoRequest as cK, type FetchMarketRequest as cL, type FetchMarketTagsRequest as cM, type FetchMidpointRequest as cN, type FetchMidpointsRequest as cO, FetchNegRiskError as cP, type FetchNegRiskRequest as cQ, type FetchOrderBookRequest as cR, type FetchOrderBooksRequest as cS, type FetchOrderRequest as cT, type FetchOrderScoringRequest as cU, type FetchOrdersScoringRequest as cV, type FetchPerpsAccountConfigRequest as cW, FetchPerpsBookError as cX, type FetchPerpsBookRequest as cY, FetchPerpsFeesError as cZ, FetchPerpsInstrumentsError as c_, type CreatePerpsSessionRequest as ca, type CryptoPricesEventType as cb, type CryptoPricesSubscription as cc, DeployDepositWalletError as cd, DepositToPerpsError as ce, type DepositToPerpsRequest as cf, type DeprecatedTransactionHandle as cg, type DownloadAccountingSnapshotRequest as ch, type DropNotificationsRequest as ci, type EquityPricesEventType as cj, type EquityPricesSubscription as ck, type Erc1155ApprovalForAllWorkflow as cl, type Erc1155ApprovalForAllWorkflowRequest as cm, type Erc20ApprovalWorkflow as cn, type Erc20ApprovalWorkflowRequest as co, type Erc20TransferWorkflow as cp, type Erc20TransferWorkflowRequest as cq, type EstimateMarketBuyPriceRequest as cr, type EstimateMarketPriceRequest as cs, type EstimateMarketSellPriceRequest as ct, type EventForSubscriptionSpec as cu, type EventForSubscriptionSpecs as cv, FetchBalanceAllowanceError as cw, type FetchBalanceAllowanceRequest as cx, FetchBuilderFeeRatesError as cy, type FetchBuilderFeeRatesRequest as cz, type AnalyticsActions as d, type ListUserEarningsAndMarketsConfigRequest as d$, type FetchPerpsOpenOrdersRequest as d0, type FetchPerpsOrdersRequest as d1, FetchPerpsTickerError as d2, type FetchPerpsTickerRequest as d3, FetchPerpsTickersError as d4, type FetchPerpsTickersRequest as d5, type FetchPortfolioValueRequest as d6, type FetchPriceHistoryRequest as d7, type FetchPriceRequest as d8, type FetchPricesRequest as d9, type ListCommentsRequest as dA, type ListCurrentRewardsRequest as dB, type ListEventsRequest as dC, type ListMarketHoldersRequest as dD, type ListMarketPositionsRequest as dE, type ListMarketRewardsRequest as dF, type ListMarketsRequest as dG, type ListOpenInterestRequest as dH, type ListOpenOrdersRequest as dI, ListPerpsCandlesError as dJ, type ListPerpsCandlesRequest as dK, type ListPerpsDepositsRequest as dL, type ListPerpsEquityHistoryRequest as dM, type ListPerpsFillsRequest as dN, ListPerpsFundingHistoryError as dO, type ListPerpsFundingHistoryRequest as dP, type ListPerpsFundingPaymentsRequest as dQ, type ListPerpsPnlHistoryRequest as dR, ListPerpsTradesError as dS, type ListPerpsTradesRequest as dT, type ListPerpsWithdrawalsRequest as dU, type ListPositionsRequest as dV, type ListSeriesRequest as dW, type ListTagsRequest as dX, type ListTeamsRequest as dY, type ListTraderLeaderboardRequest as dZ, type ListTradesRequest as d_, type FetchPublicProfileRequest as da, type FetchRelatedTagResourcesRequest as db, type FetchRelatedTagsRequest as dc, type FetchSeriesRequest as dd, type FetchSpreadRequest as de, type FetchSpreadsRequest as df, type FetchTagRequest as dg, FetchTickSizeError as dh, type FetchTickSizeRequest as di, type FetchTotalEarningsForUserForDayRequest as dj, type FetchTradedMarketCountRequest as dk, GaslessTransactionMetadataSchema as dl, type GaslessWorkflow as dm, type GaslessWorkflowRequest as dn, IsWalletDeployedError as dp, type IsWalletDeployedRequest as dq, type ListAccountTradesRequest as dr, type ListActivityRequest as ds, type ListBuilderLeaderboardRequest as dt, type ListBuilderTradesRequest as du, type ListBuilderVolumeRequest as dv, type ListClosedPositionsRequest as dw, type ListComboMarketsRequest as dx, type ListComboPositionsRequest as dy, type ListCommentsByUserAddressRequest as dz, ApproveErc1155ForAllError as e, type PrepareSplitPositionRequest as e$, type ListUserEarningsForDayRequest as e0, type MarketEventType as e1, type MarketSubscription as e2, MergeComboPositionError as e3, MergeMarketPositionError as e4, type MergePositionsWorkflow as e5, type MergePositionsWorkflowRequest as e6, OpenPerpsSessionError as e7, type OpenPerpsSessionRequest as e8, type OrderDraft as e9, type PrepareErc20TransferRequest as eA, PrepareGaslessTransactionError as eB, type PrepareGaslessTransactionRequest as eC, type PrepareLimitOrderRequest as eD, type PrepareMarketBuyOrderRequest as eE, type PrepareMarketOrderRequest as eF, type PrepareMarketSellOrderRequest as eG, PrepareMergeComboPositionError as eH, type PrepareMergeComboPositionRequest as eI, PrepareMergeMarketPositionError as eJ, type PrepareMergeMarketPositionRequest as eK, PrepareMergePositionsError as eL, type PrepareMergePositionsRequest as eM, PreparePerpsDepositError as eN, PrepareRedeemComboPositionError as eO, type PrepareRedeemComboPositionRequest as eP, type PrepareRedeemMarketPositionsByConditionIdRequest as eQ, type PrepareRedeemMarketPositionsByMarketIdRequest as eR, PrepareRedeemMarketPositionsError as eS, type PrepareRedeemMarketPositionsRequest as eT, PrepareRedeemPositionsError as eU, type PrepareRedeemPositionsRequest as eV, PrepareSplitComboPositionError as eW, type PrepareSplitComboPositionRequest as eX, PrepareSplitMarketPositionError as eY, type PrepareSplitMarketPositionRequest as eZ, PrepareSplitPositionError as e_, type OrderPostingWorkflow as ea, type OrderWorkflow as eb, type OrderWorkflowRequest as ec, type PerpsBboSubscription as ed, type PerpsBookDepth as ee, type PerpsBookSubscription as ef, type PerpsCandlesSubscription as eg, type PerpsDepositWorkflow as eh, type PerpsDepositWorkflowRequest as ei, type PerpsMarketDataEventType as ej, type PerpsMarketDataSubscription as ek, type PerpsPlaceFokOrderRequest as el, type PerpsPlaceGtcOrderRequest as em, type PerpsPlaceIocOrderRequest as en, type PerpsStatisticsSubscription as eo, type PerpsStreamingCandleInterval as ep, type PerpsTickersSubscription as eq, type PerpsTradesSubscription as er, type PlacePerpsOrderRequest as es, type PostOrdersRequest as et, type PostPerpsOrdersRequest as eu, PrepareErc1155ApprovalForAllError as ev, type PrepareErc1155ApprovalForAllRequest as ew, PrepareErc20ApprovalError as ex, type PrepareErc20ApprovalRequest as ey, PrepareErc20TransferError as ez, ApproveErc20Error as f, fetchMidpoint as f$, PrepareTradingApprovalsError as f0, type PublicRealtimeEvent as f1, type PublicRealtimeTopic as f2, type PublicSubscriptionSpec as f3, type RedeemPositionsWorkflow as f4, type RedeemPositionsWorkflowRequest as f5, ResolveConditionByTokenError as f6, type ResolveConditionByTokenRequest as f7, type ResumePerpsSessionRequest as f8, RevokePerpsCredentialsError as f9, WithdrawFromPerpsError as fA, type WithdrawFromPerpsRequest as fB, approveErc1155ForAll as fC, approveErc20 as fD, cancelAll as fE, cancelMarketOrders as fF, cancelOrder as fG, cancelOrders as fH, deployDepositWallet as fI, depositToPerps as fJ, downloadAccountingSnapshot as fK, dropNotifications as fL, estimateMarketPrice as fM, fetchBalanceAllowance as fN, fetchBuilderFeeRates as fO, fetchBuilderVolume as fP, fetchClosedOnlyMode as fQ, fetchCommentsById as fR, fetchEvent as fS, fetchEventLiveVolume as fT, fetchEventTags as fU, fetchExecuteParams as fV, fetchLastTradePrice as fW, fetchLastTradePrices as fX, fetchMarket as fY, fetchMarketInfo as fZ, fetchMarketTags as f_, type RevokePerpsCredentialsRequest as fa, type RfqConfirmationRejectedErrorOptions as fb, type RfqExecutionUpdateEvent as fc, type SearchRequest as fd, type SearchResults as fe, type SecureRealtimeEvent as ff, type SecureRealtimeTopic as fg, type SecureSubscriptionSpec as fh, type SignedOrder as fi, SplitComboPositionError as fj, SplitMarketPositionError as fk, type SplitPositionWorkflow as fl, type SplitPositionWorkflowRequest as fm, type SportsEventType as fn, type SportsSubscription as fo, type SubscribeError as fp, type SubscriptionHandle as fq, type TradingApprovalsWorkflow as fr, type TradingApprovalsWorkflowRequest as fs, UpdateBalanceAllowanceError as ft, type UpdateBalanceAllowanceRequest as fu, type UpdatePerpsLeverageRequest as fv, type UpdatePerpsMarginRequest as fw, type UserEventType as fx, type UserSubscription as fy, WaitForGaslessTransactionError as fz, BasePublicClient as g, postOrder as g$, fetchMidpoints as g0, fetchNegRisk as g1, fetchNotifications as g2, fetchOrder as g3, fetchOrderBook as g4, fetchOrderBooks as g5, fetchOrderScoring as g6, fetchOrdersScoring as g7, fetchPerpsBook as g8, fetchPerpsFees as g9, listComboPositions as gA, listComments as gB, listCommentsByUserAddress as gC, listCurrentRewards as gD, listEvents as gE, listMarketHolders as gF, listMarketPositions as gG, listMarketRewards as gH, listMarkets as gI, listOpenInterest as gJ, listOpenOrders as gK, listPerpsCandles as gL, listPerpsFundingHistory as gM, listPerpsTrades as gN, listPositions as gO, listSeries as gP, listTags as gQ, listTeams as gR, listTraderLeaderboard as gS, listTrades as gT, listUserEarningsAndMarketsConfig as gU, listUserEarningsForDay as gV, mergeComboPosition as gW, mergeMarketPosition as gX, mergePositions as gY, openPerpsSession as gZ, openRfqSession as g_, fetchPerpsInstruments as ga, fetchPerpsTicker as gb, fetchPerpsTickers as gc, fetchPortfolioValue as gd, fetchPrice as ge, fetchPriceHistory as gf, fetchPrices as gg, fetchPublicProfile as gh, fetchRelatedTagResources as gi, fetchRelatedTags as gj, fetchRewardPercentages as gk, fetchSeries as gl, fetchSpread as gm, fetchSpreads as gn, fetchTag as go, fetchTickSize as gp, fetchTotalEarningsForUserForDay as gq, fetchTradedMarketCount as gr, fetchTransaction as gs, isWalletDeployed as gt, listAccountTrades as gu, listActivity as gv, listBuilderLeaderboard as gw, listBuilderTrades as gx, listClosedPositions as gy, listComboMarkets as gz, BaseSecureClient as h, postOrders as h0, prepareErc1155ApprovalForAll as h1, prepareErc20Approval as h2, prepareErc20Transfer as h3, prepareGaslessTransaction as h4, prepareMergeComboPosition as h5, prepareMergeMarketPosition as h6, prepareMergePositions as h7, preparePerpsDeposit as h8, prepareRedeemComboPosition as h9, prepareRedeemMarketPositions as ha, prepareRedeemPositions as hb, prepareSplitComboPosition as hc, prepareSplitMarketPosition as hd, prepareSplitPosition as he, prepareTradingApprovals as hf, redeemPositions as hg, resolveConditionByToken as hh, revokePerpsCredentials as hi, search as hj, setupTradingApprovals as hk, splitComboPosition as hl, splitMarketPosition as hm, splitPosition as hn, subscribe as ho, transferErc20 as hp, updateBalanceAllowance as hq, withdrawFromPerps as hr, type BeginAuthenticationRequest as i, CancelMarketOrdersError as j, CancelOrderError as k, CancelOrdersError as l, CancelledSigningError as m, type Client as n, type ClientActions as o, type ClientDecorator as p, type ClobEndpoints as q, CreateSecureClientError as r, type DiscoveryActions as s, DownloadAccountingSnapshotError as t, DropNotificationsError as u, type EnvironmentConfigFork as v, type EnvironmentContracts as w, EstimateMarketPriceError as x, FetchCommentsByIdError as y, FetchEventError as z };
7424
+ export { FetchPublicProfileError as $, type ApiKeyAuthorization as A, type BaseClient as B, CancelAllError as C, type DataActions as D, type EnvironmentConfig as E, FetchClosedOnlyModeError as F, FetchEventLiveVolumeError as G, FetchEventTagsError as H, FetchLastTradePriceError as I, FetchLastTradePricesError as J, FetchMarketError as K, FetchMarketTagsError as L, FetchMidpointError as M, FetchMidpointsError as N, FetchNotificationsError as O, FetchOrderBookError as P, FetchOrderBooksError as Q, FetchOrderError as R, type Signer as S, type TypedDataPayload as T, UserInputError as U, FetchOrderScoringError as V, FetchOrdersScoringError as W, FetchPortfolioValueError as X, FetchPriceError as Y, FetchPriceHistoryError as Z, FetchPricesError as _, type TypedData as a, RfqConfirmationError as a$, FetchRelatedTagResourcesError as a0, FetchRelatedTagsError as a1, FetchRewardPercentagesError as a2, FetchSeriesError as a3, FetchSpreadError as a4, FetchSpreadsError as a5, FetchTagError as a6, FetchTotalEarningsForUserForDayError as a7, FetchTradedMarketCountError as a8, InsufficientLiquidityError as a9, MergePositionsError as aA, OpenRfqSessionError as aB, type Page as aC, PageSizeSchema as aD, type Paginated as aE, type PerpsActions as aF, type PerpsEndpoints as aG, PerpsSession as aH, PostOrderError as aI, PostOrdersError as aJ, type PublicAccountActions as aK, type PublicActions as aL, type PublicClient as aM, type PublicClientOptions as aN, type PublicPerpsActions as aO, type PublicRewardsActions as aP, type PublicSubscriptionsActions as aQ, RateLimitError as aR, RedeemPositionsError as aS, RequestRejectedError as aT, type RequestRejectedErrorOptions as aU, type RestEndpoint as aV, type RfqCancelQuoteAck as aW, RfqCancelQuoteError as aX, RfqCancelQuoteRejectedError as aY, type RfqCancelQuoteRejectedErrorOptions as aZ, type RfqConfirmationAck as a_, ListAccountTradesError as aa, ListActivityError as ab, ListBuilderLeaderboardError as ac, ListBuilderTradesError as ad, ListBuilderVolumeError as ae, ListClosedPositionsError as af, ListComboMarketsError as ag, ListComboPositionsError as ah, ListCommentsByUserAddressError as ai, ListCommentsError as aj, ListCurrentRewardsError as ak, ListEventsError as al, ListMarketHoldersError as am, ListMarketPositionsError as an, ListMarketRewardsError as ao, ListMarketsError as ap, ListOpenInterestError as aq, ListOpenOrdersError as ar, ListPositionsError as as, ListSeriesError as at, ListTagsError as au, ListTeamsError as av, ListTraderLeaderboardError as aw, ListTradesError as ax, ListUserEarningsAndMarketsConfigError as ay, ListUserEarningsForDayError as az, type TransactionCall as b, subscriptionsActions as b$, RfqConfirmationRejectedError as b0, type RfqConfirmationRequestEvent as b1, type RfqEndpoints as b2, type RfqEvent as b3, RfqQuoteError as b4, type RfqQuoteReference as b5, RfqQuoteRejectedError as b6, type RfqQuoteRejectedErrorOptions as b7, type RfqQuoteRequestEvent as b8, type RfqQuoteResponse as b9, SplitPositionError as bA, TimeoutError as bB, TransactionFailedError as bC, type TransactionHandle as bD, type TransactionOutcome as bE, TransferErc20Error as bF, TransportError as bG, type TypedDataDomain as bH, type TypedDataField as bI, UnexpectedResponseError as bJ, UpdatePerpsLeverageError as bK, WaitForTransactionError as bL, type WalletDerivationConfig as bM, type WebSocketEndpoint as bN, accountActions as bO, allActions as bP, analyticsActions as bQ, createPublicClient as bR, createSecureClient as bS, dataActions as bT, discoveryActions as bU, forkEnvironmentConfig as bV, makeErrorGuard as bW, perpsActions as bX, production as bY, rewardsActions as bZ, rfqActions as b_, type RfqQuoteSource as ba, type RfqSession as bb, type RfqTradeEvent as bc, SearchError as bd, SearchSort as be, type SecureAccountActions as bf, type SecureActions as bg, type SecureClient as bh, type SecureClientOptions as bi, type SecureDownloadAccountingSnapshotRequest as bj, type SecureFetchPortfolioValueRequest as bk, type SecureFetchTradedMarketCountRequest as bl, type SecureListActivityRequest as bm, type SecureListClosedPositionsRequest as bn, type SecureListComboPositionsRequest as bo, type SecureListPositionsRequest as bp, type SecurePerpsActions as bq, type SecureRewardsActions as br, type SecureRfqActions as bs, type SecureSubscriptionsActions as bt, type SecureTradingActions as bu, type SecureWalletActions as bv, SetupGaslessWalletError as bw, SetupTradingApprovalsError as bx, type SignerTransactionRequest as by, SigningError as bz, type AccountIdentity as c, type FetchPerpsOpenOrdersRequest as c$, tradingActions as c0, walletActions as c1, type CancelMarketOrdersRequest as c2, type CancelOrderRequest as c3, type CancelOrdersRequest as c4, type CancelPerpsOrderRequest as c5, type CancelPerpsOrdersRequest as c6, type CommentsEventType as c7, type CommentsSubscription as c8, type CreatePerpsSessionRequest as c9, type FetchEventLiveVolumeRequest as cA, type FetchEventRequest as cB, type FetchEventTagsRequest as cC, FetchExecuteParamsError as cD, type FetchExecuteParamsRequest as cE, type FetchGaslessTransactionRequest as cF, type FetchLastTradePriceRequest as cG, type FetchLastTradePricesRequest as cH, FetchMarketInfoError as cI, type FetchMarketInfoRequest as cJ, type FetchMarketRequest as cK, type FetchMarketTagsRequest as cL, type FetchMidpointRequest as cM, type FetchMidpointsRequest as cN, FetchNegRiskError as cO, type FetchNegRiskRequest as cP, type FetchOrderBookRequest as cQ, type FetchOrderBooksRequest as cR, type FetchOrderRequest as cS, type FetchOrderScoringRequest as cT, type FetchOrdersScoringRequest as cU, type FetchPerpsAccountConfigRequest as cV, FetchPerpsBookError as cW, type FetchPerpsBookRequest as cX, FetchPerpsFeesError as cY, FetchPerpsInstrumentsError as cZ, type FetchPerpsInstrumentsRequest as c_, type CryptoPricesEventType as ca, type CryptoPricesSubscription as cb, DeployDepositWalletError as cc, DepositToPerpsError as cd, type DepositToPerpsRequest as ce, type DeprecatedTransactionHandle as cf, type DownloadAccountingSnapshotRequest as cg, type DropNotificationsRequest as ch, type EquityPricesEventType as ci, type EquityPricesSubscription as cj, type Erc1155ApprovalForAllWorkflow as ck, type Erc1155ApprovalForAllWorkflowRequest as cl, type Erc20ApprovalWorkflow as cm, type Erc20ApprovalWorkflowRequest as cn, type Erc20TransferWorkflow as co, type Erc20TransferWorkflowRequest as cp, type EstimateMarketBuyPriceRequest as cq, type EstimateMarketPriceRequest as cr, type EstimateMarketSellPriceRequest as cs, type EventForSubscriptionSpec as ct, type EventForSubscriptionSpecs as cu, FetchBalanceAllowanceError as cv, type FetchBalanceAllowanceRequest as cw, FetchBuilderFeeRatesError as cx, type FetchBuilderFeeRatesRequest as cy, type FetchCommentsByIdRequest as cz, type AnalyticsActions as d, type ListUserEarningsForDayRequest as d$, type FetchPerpsOrdersRequest as d0, FetchPerpsTickerError as d1, type FetchPerpsTickerRequest as d2, FetchPerpsTickersError as d3, type FetchPerpsTickersRequest as d4, type FetchPortfolioValueRequest as d5, type FetchPriceHistoryRequest as d6, type FetchPriceRequest as d7, type FetchPricesRequest as d8, type FetchPublicProfileRequest as d9, type ListCurrentRewardsRequest as dA, type ListEventsRequest as dB, type ListMarketHoldersRequest as dC, type ListMarketPositionsRequest as dD, type ListMarketRewardsRequest as dE, type ListMarketsRequest as dF, type ListOpenInterestRequest as dG, type ListOpenOrdersRequest as dH, ListPerpsCandlesError as dI, type ListPerpsCandlesRequest as dJ, type ListPerpsDepositsRequest as dK, type ListPerpsEquityHistoryRequest as dL, type ListPerpsFillsRequest as dM, ListPerpsFundingHistoryError as dN, type ListPerpsFundingHistoryRequest as dO, type ListPerpsFundingPaymentsRequest as dP, type ListPerpsPnlHistoryRequest as dQ, ListPerpsTradesError as dR, type ListPerpsTradesRequest as dS, type ListPerpsWithdrawalsRequest as dT, type ListPositionsRequest as dU, type ListSeriesRequest as dV, type ListTagsRequest as dW, type ListTeamsRequest as dX, type ListTraderLeaderboardRequest as dY, type ListTradesRequest as dZ, type ListUserEarningsAndMarketsConfigRequest as d_, type FetchRelatedTagResourcesRequest as da, type FetchRelatedTagsRequest as db, type FetchSeriesRequest as dc, type FetchSpreadRequest as dd, type FetchSpreadsRequest as de, type FetchTagRequest as df, FetchTickSizeError as dg, type FetchTickSizeRequest as dh, type FetchTotalEarningsForUserForDayRequest as di, type FetchTradedMarketCountRequest as dj, GaslessTransactionMetadataSchema as dk, type GaslessWorkflow as dl, type GaslessWorkflowRequest as dm, IsWalletDeployedError as dn, type IsWalletDeployedRequest as dp, type ListAccountTradesRequest as dq, type ListActivityRequest as dr, type ListBuilderLeaderboardRequest as ds, type ListBuilderTradesRequest as dt, type ListBuilderVolumeRequest as du, type ListClosedPositionsRequest as dv, type ListComboMarketsRequest as dw, type ListComboPositionsRequest as dx, type ListCommentsByUserAddressRequest as dy, type ListCommentsRequest as dz, ApproveErc1155ForAllError as e, PrepareTradingApprovalsError as e$, type MarketEventType as e0, type MarketSubscription as e1, MergeComboPositionError as e2, MergeMarketPositionError as e3, type MergePositionsWorkflow as e4, type MergePositionsWorkflowRequest as e5, OpenPerpsSessionError as e6, type OpenPerpsSessionRequest as e7, type OrderDraft as e8, type OrderPostingWorkflow as e9, PrepareGaslessTransactionError as eA, type PrepareGaslessTransactionRequest as eB, type PrepareLimitOrderRequest as eC, type PrepareMarketBuyOrderRequest as eD, type PrepareMarketOrderRequest as eE, type PrepareMarketSellOrderRequest as eF, PrepareMergeComboPositionError as eG, type PrepareMergeComboPositionRequest as eH, PrepareMergeMarketPositionError as eI, type PrepareMergeMarketPositionRequest as eJ, PrepareMergePositionsError as eK, type PrepareMergePositionsRequest as eL, PreparePerpsDepositError as eM, PrepareRedeemComboPositionError as eN, type PrepareRedeemComboPositionRequest as eO, type PrepareRedeemMarketPositionsByConditionIdRequest as eP, type PrepareRedeemMarketPositionsByMarketIdRequest as eQ, PrepareRedeemMarketPositionsError as eR, type PrepareRedeemMarketPositionsRequest as eS, PrepareRedeemPositionsError as eT, type PrepareRedeemPositionsRequest as eU, PrepareSplitComboPositionError as eV, type PrepareSplitComboPositionRequest as eW, PrepareSplitMarketPositionError as eX, type PrepareSplitMarketPositionRequest as eY, PrepareSplitPositionError as eZ, type PrepareSplitPositionRequest as e_, type OrderWorkflow as ea, type OrderWorkflowRequest as eb, type PerpsBboSubscription as ec, type PerpsBookDepth as ed, type PerpsBookSubscription as ee, type PerpsCandlesSubscription as ef, type PerpsDepositWorkflow as eg, type PerpsDepositWorkflowRequest as eh, type PerpsMarketDataEventType as ei, type PerpsMarketDataSubscription as ej, type PerpsPlaceFokOrderRequest as ek, type PerpsPlaceGtcOrderRequest as el, type PerpsPlaceIocOrderRequest as em, type PerpsStatisticsSubscription as en, type PerpsStreamingCandleInterval as eo, type PerpsTickersSubscription as ep, type PerpsTradesSubscription as eq, type PlacePerpsOrderRequest as er, type PostOrdersRequest as es, type PostPerpsOrdersRequest as et, PrepareErc1155ApprovalForAllError as eu, type PrepareErc1155ApprovalForAllRequest as ev, PrepareErc20ApprovalError as ew, type PrepareErc20ApprovalRequest as ex, PrepareErc20TransferError as ey, type PrepareErc20TransferRequest as ez, ApproveErc20Error as f, fetchNegRisk as f$, type PublicRealtimeEvent as f0, type PublicRealtimeTopic as f1, type PublicSubscriptionSpec as f2, type RedeemPositionsWorkflow as f3, type RedeemPositionsWorkflowRequest as f4, ResolveConditionByTokenError as f5, type ResolveConditionByTokenRequest as f6, type ResumePerpsSessionRequest as f7, RevokePerpsCredentialsError as f8, type RevokePerpsCredentialsRequest as f9, approveErc1155ForAll as fA, approveErc20 as fB, cancelAll as fC, cancelMarketOrders as fD, cancelOrder as fE, cancelOrders as fF, deployDepositWallet as fG, depositToPerps as fH, downloadAccountingSnapshot as fI, dropNotifications as fJ, estimateMarketPrice as fK, fetchBalanceAllowance as fL, fetchBuilderFeeRates as fM, fetchBuilderVolume as fN, fetchClosedOnlyMode as fO, fetchCommentsById as fP, fetchEvent as fQ, fetchEventLiveVolume as fR, fetchEventTags as fS, fetchExecuteParams as fT, fetchLastTradePrice as fU, fetchLastTradePrices as fV, fetchMarket as fW, fetchMarketInfo as fX, fetchMarketTags as fY, fetchMidpoint as fZ, fetchMidpoints as f_, type RfqConfirmationRejectedErrorOptions as fa, type RfqExecutionUpdateEvent as fb, type SearchRequest as fc, type SearchResults as fd, type SecureRealtimeEvent as fe, type SecureRealtimeTopic as ff, type SecureSubscriptionSpec as fg, type SignedOrder as fh, SplitComboPositionError as fi, SplitMarketPositionError as fj, type SplitPositionWorkflow as fk, type SplitPositionWorkflowRequest as fl, type SportsEventType as fm, type SportsSubscription as fn, type SubscribeError as fo, type SubscriptionHandle as fp, type TradingApprovalsWorkflow as fq, type TradingApprovalsWorkflowRequest as fr, UpdateBalanceAllowanceError as fs, type UpdateBalanceAllowanceRequest as ft, type UpdatePerpsLeverageRequest as fu, type UserEventType as fv, type UserSubscription as fw, WaitForGaslessTransactionError as fx, WithdrawFromPerpsError as fy, type WithdrawFromPerpsRequest as fz, BasePublicClient as g, prepareErc1155ApprovalForAll as g$, fetchNotifications as g0, fetchOrder as g1, fetchOrderBook as g2, fetchOrderBooks as g3, fetchOrderScoring as g4, fetchOrdersScoring as g5, fetchPerpsBook as g6, fetchPerpsFees as g7, fetchPerpsInstruments as g8, fetchPerpsTicker as g9, listCommentsByUserAddress as gA, listCurrentRewards as gB, listEvents as gC, listMarketHolders as gD, listMarketPositions as gE, listMarketRewards as gF, listMarkets as gG, listOpenInterest as gH, listOpenOrders as gI, listPerpsCandles as gJ, listPerpsFundingHistory as gK, listPerpsTrades as gL, listPositions as gM, listSeries as gN, listTags as gO, listTeams as gP, listTraderLeaderboard as gQ, listTrades as gR, listUserEarningsAndMarketsConfig as gS, listUserEarningsForDay as gT, mergeComboPosition as gU, mergeMarketPosition as gV, mergePositions as gW, openPerpsSession as gX, openRfqSession as gY, postOrder as gZ, postOrders as g_, fetchPerpsTickers as ga, fetchPortfolioValue as gb, fetchPrice as gc, fetchPriceHistory as gd, fetchPrices as ge, fetchPublicProfile as gf, fetchRelatedTagResources as gg, fetchRelatedTags as gh, fetchRewardPercentages as gi, fetchSeries as gj, fetchSpread as gk, fetchSpreads as gl, fetchTag as gm, fetchTickSize as gn, fetchTotalEarningsForUserForDay as go, fetchTradedMarketCount as gp, fetchTransaction as gq, isWalletDeployed as gr, listAccountTrades as gs, listActivity as gt, listBuilderLeaderboard as gu, listBuilderTrades as gv, listClosedPositions as gw, listComboMarkets as gx, listComboPositions as gy, listComments as gz, BaseSecureClient as h, prepareErc20Approval as h0, prepareErc20Transfer as h1, prepareGaslessTransaction as h2, prepareMergeComboPosition as h3, prepareMergeMarketPosition as h4, prepareMergePositions as h5, preparePerpsDeposit as h6, prepareRedeemComboPosition as h7, prepareRedeemMarketPositions as h8, prepareRedeemPositions as h9, prepareSplitComboPosition as ha, prepareSplitMarketPosition as hb, prepareSplitPosition as hc, prepareTradingApprovals as hd, redeemPositions as he, resolveConditionByToken as hf, revokePerpsCredentials as hg, search as hh, setupTradingApprovals as hi, splitComboPosition as hj, splitMarketPosition as hk, splitPosition as hl, subscribe as hm, transferErc20 as hn, updateBalanceAllowance as ho, withdrawFromPerps as hp, type BeginAuthenticationRequest as i, CancelMarketOrdersError as j, CancelOrderError as k, CancelOrdersError as l, CancelledSigningError as m, type Client as n, type ClientActions as o, type ClientDecorator as p, type ClobEndpoints as q, CreateSecureClientError as r, type DiscoveryActions as s, DownloadAccountingSnapshotError as t, DropNotificationsError as u, type EnvironmentConfigFork as v, type EnvironmentContracts as w, EstimateMarketPriceError as x, FetchCommentsByIdError as y, FetchEventError as z };
package/dist/viem.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { PrivateKey } from '@polymarket/types';
2
2
  import { Chain, Transport, WalletClient } from 'viem';
3
- import { S as Signer } from './types-M1U0um0G.js';
3
+ import { S as Signer } from './types-CnxVkr1p.js';
4
4
  import '@polymarket/bindings';
5
5
  import '@polymarket/bindings/gamma';
6
6
  import '@polymarket/bindings/relayer';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polymarket/client",
3
- "version": "0.1.0-beta.10",
3
+ "version": "0.1.0-beta.11",
4
4
  "description": "The Polymarket TypeScript client",
5
5
  "repository": {
6
6
  "type": "git",
@@ -93,7 +93,7 @@
93
93
  "ky": "^1.14.3",
94
94
  "ox": "^0.14.16",
95
95
  "zod": "^4.3.6",
96
- "@polymarket/bindings": "0.1.0-beta.8",
96
+ "@polymarket/bindings": "0.1.0-beta.9",
97
97
  "@polymarket/types": "0.1.0-beta.4"
98
98
  },
99
99
  "publishConfig": {