@polymarket/bindings 0.10.0 → 0.12.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.
@@ -1,6 +1,6 @@
1
1
  import * as _polymarket_types from '@polymarket/types';
2
- import { P as PerpsInstrumentId, a as PerpsEntityId, b as PerpsFundingPaymentId, c as PerpsDepositStatus, d as PerpsWithdrawalId, e as PerpsKnownWithdrawalStatus, f as PerpsInternalTransferId, g as PerpsInternalTransferDirection, h as PerpsInstrumentType, i as PerpsInstrumentCategory, j as PerpsTradeId, k as PerpsSide } from '../orders-CAELACaR.js';
3
- export { F as FetchPerpsOpenOrdersResponseSchema, l as FetchPerpsOrdersResponseSchema, m as FetchPerpsUnreadNotificationsCountResponseSchema, L as ListPerpsFillsResponseSchema, n as ListPerpsNotificationsResponseSchema, M as MarkPerpsNotificationsReadResponseSchema, o as PerpsAccountFill, p as PerpsAccountFillSchema, q as PerpsAccountFillUpdateSchema, r as PerpsAssetSchema, s as PerpsCancelAllOrdersResponse, t as PerpsCancelAllOrdersResponseSchema, u as PerpsCancelOrderResult, v as PerpsCancelOrderResultSchema, w as PerpsClientOrderId, x as PerpsClientOrderIdSchema, y as PerpsCommandAck, z as PerpsCommandAckSchema, A as PerpsCommandStatusSchema, B as PerpsCredentials, C as PerpsDataResponseSchema, D as PerpsDecimal, E as PerpsDecimalInput, G as PerpsDecimalInputSchema, H as PerpsDepositAmount, I as PerpsDepositStatusSchema, J as PerpsEntityIdSchema, K as PerpsFundingInterval, N as PerpsFundingIntervalSchema, O as PerpsFundingPaymentIdSchema, Q as PerpsInstrumentCategorySchema, R as PerpsInstrumentIdSchema, S as PerpsInstrumentTypeSchema, T as PerpsInternalTransferDirectionSchema, U as PerpsInternalTransferIdSchema, V as PerpsKlineInterval, W as PerpsKlineIntervalSchema, X as PerpsLimitOrderCanceledNotification, Y as PerpsLimitOrderCanceledNotificationSchema, Z as PerpsLiquidationWarningNotification, _ as PerpsLiquidationWarningNotificationSchema, $ as PerpsMarginType, a0 as PerpsMarginTypeSchema, a1 as PerpsNotification, a2 as PerpsNotificationEntry, a3 as PerpsNotificationEntrySchema, a4 as PerpsNotificationId, a5 as PerpsNotificationIdSchema, a6 as PerpsNotificationOrderType, a7 as PerpsNotificationOrderTypeSchema, a8 as PerpsNotificationSchema, a9 as PerpsNotificationType, aa as PerpsNotificationTypeSchema, ab as PerpsOrder, ac as PerpsOrderId, ad as PerpsOrderIdSchema, ae as PerpsOrderSchema, af as PerpsOrderStatus, ag as PerpsOrderStatusSchema, ah as PerpsOrderUpdateSchema, ai as PerpsPnlInterval, aj as PerpsPnlIntervalSchema, ak as PerpsPositionChangeNotification, al as PerpsPositionChangeNotificationSchema, am as PerpsPositionClosedNotification, an as PerpsPositionClosedNotificationSchema, ao as PerpsPositionLiquidatedNotification, ap as PerpsPositionLiquidatedNotificationSchema, aq as PerpsPostOrderAck, ar as PerpsPostOrderAckSchema, as as PerpsSideSchema, at as PerpsSortDirection, au as PerpsSortDirectionSchema, av as PerpsTimeInForce, aw as PerpsTimeInForceSchema, ax as PerpsTpSlKind, ay as PerpsTpSlKindSchema, az as PerpsTpSlOrderFields, aA as PerpsTpSlOrderFieldsSchema, aB as PerpsTpSlScope, aC as PerpsTpSlScopeSchema, aD as PerpsTradeIdSchema, aE as PerpsTxHash, aF as PerpsTxHashSchema, aG as PerpsUpdateLeverageResult, aH as PerpsUpdateLeverageResultSchema, aI as PerpsWithdrawalAmount, aJ as PerpsWithdrawalIdSchema, aK as PerpsWithdrawalStatus, aL as PerpsWithdrawalStatusSchema, aM as decimalString, aN as perpsBaseUnits, aO as perpsDecimal } from '../orders-CAELACaR.js';
2
+ import { P as PerpsInstrumentId, a as PerpsEntityId, b as PerpsFundingPaymentId, c as PerpsDepositStatus, d as PerpsInternalTransferId, e as PerpsKnownInternalTransferType, f as PerpsInternalTransferDirection, g as PerpsWithdrawalId, h as PerpsKnownWithdrawalStatus, i as PerpsInstrumentType, j as PerpsInstrumentCategory, k as PerpsTradeId, l as PerpsSide } from '../orders-BMW5PN-Q.js';
3
+ export { F as FetchPerpsBuilderApprovalsResponseSchema, m as FetchPerpsOpenOrdersResponseSchema, n as FetchPerpsOrdersResponseSchema, o as FetchPerpsUnreadNotificationsCountResponseSchema, L as ListPerpsBuilderEarningsResponseSchema, p as ListPerpsFillsResponseSchema, q as ListPerpsNotificationsResponseSchema, M as MarkPerpsNotificationsReadResponseSchema, r as PerpsAccountFill, s as PerpsAccountFillSchema, t as PerpsAccountFillUpdateSchema, u as PerpsAssetSchema, v as PerpsBuilderApproval, w as PerpsBuilderApprovalSchema, x as PerpsBuilderEarning, y as PerpsBuilderEarningId, z as PerpsBuilderEarningIdSchema, A as PerpsBuilderEarningSchema, B as PerpsBuilderEarningsAsset, C as PerpsBuilderEarningsAssetSchema, D as PerpsBuilderEarningsSnapshot, E as PerpsBuilderEarningsSnapshotSchema, G as PerpsBuilderEarningsSummary, H as PerpsBuilderEarningsSummarySchema, I as PerpsBuilderStatus, J as PerpsBuilderStatusSchema, K as PerpsBuilderTerms, N as PerpsBuilderTermsSchema, O as PerpsCancelAllOrdersResponse, Q as PerpsCancelAllOrdersResponseSchema, R as PerpsCancelOrderErrorCode, S as PerpsCancelOrderErrorCodeSchema, T as PerpsCancelOrderResult, U as PerpsCancelOrderResultSchema, V as PerpsClientOrderId, W as PerpsClientOrderIdSchema, X as PerpsCommandAck, Y as PerpsCommandAckSchema, Z as PerpsCommandStatusSchema, _ as PerpsCredentials, $ as PerpsDataResponseSchema, a0 as PerpsDecimal, a1 as PerpsDecimalInput, a2 as PerpsDecimalInputSchema, a3 as PerpsDepositAmount, a4 as PerpsDepositStatusSchema, a5 as PerpsEntityIdSchema, a6 as PerpsFundingInterval, a7 as PerpsFundingIntervalSchema, a8 as PerpsFundingPaymentIdSchema, a9 as PerpsInstrumentCategorySchema, aa as PerpsInstrumentIdSchema, ab as PerpsInstrumentTypeSchema, ac as PerpsInternalTransferDirectionSchema, ad as PerpsInternalTransferIdSchema, ae as PerpsInternalTransferType, af as PerpsInternalTransferTypeSchema, ag as PerpsKlineInterval, ah as PerpsKlineIntervalSchema, ai as PerpsKnownCancelOrderErrorCode, aj as PerpsLimitOrderCanceledNotification, ak as PerpsLimitOrderCanceledNotificationSchema, al as PerpsLiquidationWarningNotification, am as PerpsLiquidationWarningNotificationSchema, an as PerpsLiquidityRole, ao as PerpsMarginType, ap as PerpsMarginTypeSchema, aq as PerpsNotification, ar as PerpsNotificationEntry, as as PerpsNotificationEntrySchema, at as PerpsNotificationId, au as PerpsNotificationIdSchema, av as PerpsNotificationOrderType, aw as PerpsNotificationOrderTypeSchema, ax as PerpsNotificationSchema, ay as PerpsNotificationType, az as PerpsNotificationTypeSchema, aA as PerpsOrder, aB as PerpsOrderId, aC as PerpsOrderIdSchema, aD as PerpsOrderSchema, aE as PerpsOrderStatus, aF as PerpsOrderStatusSchema, aG as PerpsOrderUpdateSchema, aH as PerpsPnlInterval, aI as PerpsPnlIntervalSchema, aJ as PerpsPositionChangeNotification, aK as PerpsPositionChangeNotificationSchema, aL as PerpsPositionClosedNotification, aM as PerpsPositionClosedNotificationSchema, aN as PerpsPositionLiquidatedNotification, aO as PerpsPositionLiquidatedNotificationSchema, aP as PerpsPostOrderAck, aQ as PerpsPostOrderAckSchema, aR as PerpsSideSchema, aS as PerpsSortDirection, aT as PerpsSortDirectionSchema, aU as PerpsTimeInForce, aV as PerpsTimeInForceSchema, aW as PerpsTpSlKind, aX as PerpsTpSlKindSchema, aY as PerpsTpSlOrderFields, aZ as PerpsTpSlOrderFieldsSchema, a_ as PerpsTpSlScope, a$ as PerpsTpSlScopeSchema, b0 as PerpsTradeIdSchema, b1 as PerpsTxHash, b2 as PerpsTxHashSchema, b3 as PerpsUpdateLeverageResult, b4 as PerpsUpdateLeverageResultSchema, b5 as PerpsWithdrawalAmount, b6 as PerpsWithdrawalIdSchema, b7 as PerpsWithdrawalStatus, b8 as PerpsWithdrawalStatusSchema, b9 as decimalString, ba as perpsBaseUnits, bb as perpsDecimal } from '../orders-BMW5PN-Q.js';
4
4
  import { DecimalString, EpochMilliseconds, BaseUnits } from '../index.js';
5
5
  import { z } from 'zod';
6
6
 
@@ -922,19 +922,85 @@ declare const PerpsWithdrawalUpdateSchema: z.ZodPipe<z.ZodObject<{
922
922
  /**
923
923
  * @experimental This API may change in a breaking way in any release, including patch releases.
924
924
  */
925
- declare const PerpsInternalTransferSchema: z.ZodObject<{
926
- transferId: z.ZodPipe<z.ZodNumber, z.ZodTransform<PerpsInternalTransferId, number>>;
925
+ declare const PerpsInternalTransferSchema: z.ZodPipe<z.ZodObject<{
926
+ transfer_id: z.ZodPipe<z.ZodNumber, z.ZodTransform<PerpsInternalTransferId, number>>;
927
+ type: z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | PerpsKnownInternalTransferType, string>>;
927
928
  asset: z.ZodString;
928
- amount: z.ZodPipe<z.ZodString, z.ZodTransform<BaseUnits, string>>;
929
+ amount: z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>;
929
930
  direction: z.ZodEnum<typeof PerpsInternalTransferDirection>;
930
931
  counterparty: z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_types.EvmAddress, string>>;
931
932
  label: z.ZodOptional<z.ZodString>;
932
- createdTimestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<EpochMilliseconds, number>>;
933
- }, z.core.$strip>;
933
+ created_timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<EpochMilliseconds, number>>;
934
+ }, z.core.$strip>, z.ZodTransform<{
935
+ transferId: PerpsInternalTransferId;
936
+ type: (string & {}) | PerpsKnownInternalTransferType;
937
+ asset: string;
938
+ amount: DecimalString;
939
+ direction: PerpsInternalTransferDirection;
940
+ counterparty: _polymarket_types.EvmAddress;
941
+ label: string | undefined;
942
+ createdTimestamp: EpochMilliseconds;
943
+ }, {
944
+ transfer_id: PerpsInternalTransferId;
945
+ type: (string & {}) | PerpsKnownInternalTransferType;
946
+ asset: string;
947
+ amount: DecimalString;
948
+ direction: PerpsInternalTransferDirection;
949
+ counterparty: _polymarket_types.EvmAddress;
950
+ created_timestamp: EpochMilliseconds;
951
+ label?: string | undefined;
952
+ }>>;
934
953
  /**
935
954
  * @experimental This API may change in a breaking way in any release, including patch releases.
936
955
  */
937
956
  type PerpsInternalTransfer = z.infer<typeof PerpsInternalTransferSchema>;
957
+ /**
958
+ * @experimental This API may change in a breaking way in any release, including patch releases.
959
+ */
960
+ declare const ListPerpsInternalTransfersResponseSchema: z.ZodObject<{
961
+ data: z.ZodArray<z.ZodPipe<z.ZodObject<{
962
+ transfer_id: z.ZodPipe<z.ZodNumber, z.ZodTransform<PerpsInternalTransferId, number>>;
963
+ type: z.ZodPipe<z.ZodString, z.ZodTransform<(string & {}) | PerpsKnownInternalTransferType, string>>;
964
+ asset: z.ZodString;
965
+ amount: z.ZodPipe<z.ZodString, z.ZodTransform<DecimalString, string>>;
966
+ direction: z.ZodEnum<typeof PerpsInternalTransferDirection>;
967
+ counterparty: z.ZodPipe<z.ZodString, z.ZodTransform<_polymarket_types.EvmAddress, string>>;
968
+ label: z.ZodOptional<z.ZodString>;
969
+ created_timestamp: z.ZodPipe<z.ZodNumber, z.ZodTransform<EpochMilliseconds, number>>;
970
+ }, z.core.$strip>, z.ZodTransform<{
971
+ transferId: PerpsInternalTransferId;
972
+ type: (string & {}) | PerpsKnownInternalTransferType;
973
+ asset: string;
974
+ amount: DecimalString;
975
+ direction: PerpsInternalTransferDirection;
976
+ counterparty: _polymarket_types.EvmAddress;
977
+ label: string | undefined;
978
+ createdTimestamp: EpochMilliseconds;
979
+ }, {
980
+ transfer_id: PerpsInternalTransferId;
981
+ type: (string & {}) | PerpsKnownInternalTransferType;
982
+ asset: string;
983
+ amount: DecimalString;
984
+ direction: PerpsInternalTransferDirection;
985
+ counterparty: _polymarket_types.EvmAddress;
986
+ created_timestamp: EpochMilliseconds;
987
+ label?: string | undefined;
988
+ }>>>;
989
+ more: z.ZodBoolean;
990
+ }, z.core.$strip>;
991
+ /**
992
+ * @experimental This API may change in a breaking way in any release, including patch releases.
993
+ */
994
+ declare const PerpsInternalTransferResponseSchema: z.ZodPipe<z.ZodObject<{
995
+ status: z.ZodLiteral<"ok">;
996
+ transfer_id: z.ZodPipe<z.ZodNumber, z.ZodTransform<PerpsInternalTransferId, number>>;
997
+ }, z.core.$strict>, z.ZodTransform<{
998
+ status: "ok";
999
+ transferId: PerpsInternalTransferId;
1000
+ }, {
1001
+ status: "ok";
1002
+ transfer_id: PerpsInternalTransferId;
1003
+ }>>;
938
1004
 
939
1005
  /**
940
1006
  * @experimental This API may change in a breaking way in any release, including patch releases.
@@ -1824,4 +1890,4 @@ declare const FetchPerpsCandlesResponseSchema: z.ZodObject<{
1824
1890
  more: z.ZodBoolean;
1825
1891
  }, z.core.$strip>;
1826
1892
 
1827
- export { FetchPerpsAccountConfigResponseSchema, FetchPerpsAccountStatsResponseSchema, FetchPerpsAutoCancelStatusResponseSchema, FetchPerpsBalancesResponseSchema, FetchPerpsCandlesResponseSchema, FetchPerpsFeesResponseSchema, FetchPerpsFundingHistoryResponseSchema, FetchPerpsInstrumentsResponseSchema, FetchPerpsPortfolioResponseSchema, FetchPerpsStatisticsResponseSchema, FetchPerpsTickersResponseSchema, FetchPerpsTradesResponseSchema, ListPerpsDepositsResponseSchema, ListPerpsEquityHistoryResponseSchema, ListPerpsFundingPaymentsResponseSchema, ListPerpsPnlHistoryResponseSchema, ListPerpsWithdrawalsResponseSchema, type PerpsAccountConfig, PerpsAccountConfigSchema, type PerpsAccountFundingPayment, PerpsAccountFundingPaymentEntrySchema, PerpsAccountFundingPaymentSchema, type PerpsAccountStats, PerpsAccountStatsSchema, type PerpsAutoCancelResponse, PerpsAutoCancelResponseSchema, type PerpsAutoCancelStatus, PerpsAutoCancelStatusSchema, type PerpsBalance, PerpsBalanceSchema, type PerpsBbo, PerpsBboSchema, PerpsBboUpdateSchema, type PerpsBook, type PerpsBookLevel, PerpsBookLevelSchema, PerpsBookSchema, PerpsBookUpdateSchema, type PerpsCandle, PerpsCandleSchema, PerpsCreateProxyResponseSchema, PerpsCredentialsResponseSchema, PerpsDeleteProxyResponseSchema, type PerpsDeposit, PerpsDepositSchema, PerpsDepositStatus, PerpsDepositUpdateSchema, PerpsEntityId, type PerpsEquityPoint, PerpsEquityPointSchema, type PerpsFeeScheduleEntry, PerpsFeeScheduleEntrySchema, type PerpsFeeTier, PerpsFeeTierSchema, type PerpsFeesInfo, PerpsFeesInfoSchema, PerpsFundingPaymentId, type PerpsFundingRate, PerpsFundingRateSchema, type PerpsInstrument, PerpsInstrumentCategory, PerpsInstrumentId, PerpsInstrumentSchema, PerpsInstrumentType, type PerpsInternalTransfer, PerpsInternalTransferDirection, PerpsInternalTransferId, PerpsInternalTransferSchema, PerpsKnownWithdrawalStatus, type PerpsMarginSummary, PerpsMarginSummarySchema, type PerpsPnlPoint, PerpsPnlPointSchema, type PerpsPortfolio, type PerpsPortfolioPosition, PerpsPortfolioPositionSchema, PerpsPortfolioSchema, type PerpsProxyKey, PerpsProxyKeySchema, type PerpsPublicTrade, PerpsPublicTradeSchema, PerpsPublicTradeUpdateSchema, type PerpsRiskTier, PerpsRiskTierSchema, PerpsSide, type PerpsStatistic, PerpsStatisticSchema, PerpsStatisticUpdateSchema, type PerpsTicker, PerpsTickerEntrySchema, PerpsTickerSchema, PerpsTradeId, PerpsWithdrawResponseSchema, type PerpsWithdrawal, PerpsWithdrawalId, PerpsWithdrawalSchema, PerpsWithdrawalUpdateSchema };
1893
+ export { FetchPerpsAccountConfigResponseSchema, FetchPerpsAccountStatsResponseSchema, FetchPerpsAutoCancelStatusResponseSchema, FetchPerpsBalancesResponseSchema, FetchPerpsCandlesResponseSchema, FetchPerpsFeesResponseSchema, FetchPerpsFundingHistoryResponseSchema, FetchPerpsInstrumentsResponseSchema, FetchPerpsPortfolioResponseSchema, FetchPerpsStatisticsResponseSchema, FetchPerpsTickersResponseSchema, FetchPerpsTradesResponseSchema, ListPerpsDepositsResponseSchema, ListPerpsEquityHistoryResponseSchema, ListPerpsFundingPaymentsResponseSchema, ListPerpsInternalTransfersResponseSchema, ListPerpsPnlHistoryResponseSchema, ListPerpsWithdrawalsResponseSchema, type PerpsAccountConfig, PerpsAccountConfigSchema, type PerpsAccountFundingPayment, PerpsAccountFundingPaymentEntrySchema, PerpsAccountFundingPaymentSchema, type PerpsAccountStats, PerpsAccountStatsSchema, type PerpsAutoCancelResponse, PerpsAutoCancelResponseSchema, type PerpsAutoCancelStatus, PerpsAutoCancelStatusSchema, type PerpsBalance, PerpsBalanceSchema, type PerpsBbo, PerpsBboSchema, PerpsBboUpdateSchema, type PerpsBook, type PerpsBookLevel, PerpsBookLevelSchema, PerpsBookSchema, PerpsBookUpdateSchema, type PerpsCandle, PerpsCandleSchema, PerpsCreateProxyResponseSchema, PerpsCredentialsResponseSchema, PerpsDeleteProxyResponseSchema, type PerpsDeposit, PerpsDepositSchema, PerpsDepositStatus, PerpsDepositUpdateSchema, PerpsEntityId, type PerpsEquityPoint, PerpsEquityPointSchema, type PerpsFeeScheduleEntry, PerpsFeeScheduleEntrySchema, type PerpsFeeTier, PerpsFeeTierSchema, type PerpsFeesInfo, PerpsFeesInfoSchema, PerpsFundingPaymentId, type PerpsFundingRate, PerpsFundingRateSchema, type PerpsInstrument, PerpsInstrumentCategory, PerpsInstrumentId, PerpsInstrumentSchema, PerpsInstrumentType, type PerpsInternalTransfer, PerpsInternalTransferDirection, PerpsInternalTransferId, PerpsInternalTransferResponseSchema, PerpsInternalTransferSchema, PerpsKnownInternalTransferType, PerpsKnownWithdrawalStatus, type PerpsMarginSummary, PerpsMarginSummarySchema, type PerpsPnlPoint, PerpsPnlPointSchema, type PerpsPortfolio, type PerpsPortfolioPosition, PerpsPortfolioPositionSchema, PerpsPortfolioSchema, type PerpsProxyKey, PerpsProxyKeySchema, type PerpsPublicTrade, PerpsPublicTradeSchema, PerpsPublicTradeUpdateSchema, type PerpsRiskTier, PerpsRiskTierSchema, PerpsSide, type PerpsStatistic, PerpsStatisticSchema, PerpsStatisticUpdateSchema, type PerpsTicker, PerpsTickerEntrySchema, PerpsTickerSchema, PerpsTradeId, PerpsWithdrawResponseSchema, type PerpsWithdrawal, PerpsWithdrawalId, PerpsWithdrawalSchema, PerpsWithdrawalUpdateSchema };
@@ -1,2 +1,2 @@
1
- export{$ as FetchPerpsAccountConfigResponseSchema,S as FetchPerpsAccountStatsResponseSchema,Q as FetchPerpsBalancesResponseSchema,Oa as FetchPerpsCandlesResponseSchema,Na as FetchPerpsFeesResponseSchema,Ja as FetchPerpsFundingHistoryResponseSchema,sa as FetchPerpsInstrumentsResponseSchema,ob as FetchPerpsOpenOrdersResponseSchema,nb as FetchPerpsOrdersResponseSchema,W as FetchPerpsPortfolioResponseSchema,ya as FetchPerpsStatisticsResponseSchema,ua as FetchPerpsTickersResponseSchema,Ha as FetchPerpsTradesResponseSchema,bb as FetchPerpsUnreadNotificationsCountResponseSchema,ja as ListPerpsDepositsResponseSchema,ba as ListPerpsEquityHistoryResponseSchema,rb as ListPerpsFillsResponseSchema,Y as ListPerpsFundingPaymentsResponseSchema,ab as ListPerpsNotificationsResponseSchema,da as ListPerpsPnlHistoryResponseSchema,ma as ListPerpsWithdrawalsResponseSchema,cb as MarkPerpsNotificationsReadResponseSchema,_ as PerpsAccountConfigSchema,qb as PerpsAccountFillSchema,sb as PerpsAccountFillUpdateSchema,Z as PerpsAccountFundingPaymentEntrySchema,X as PerpsAccountFundingPaymentSchema,R as PerpsAccountStatsSchema,J as PerpsAssetSchema,P as PerpsBalanceSchema,Da as PerpsBboSchema,Ea as PerpsBboUpdateSchema,Aa as PerpsBookLevelSchema,Ba as PerpsBookSchema,Ca as PerpsBookUpdateSchema,kb as PerpsCancelAllOrdersResponseSchema,jb as PerpsCancelOrderResultSchema,wa as PerpsCandleSchema,c as PerpsClientOrderIdSchema,hb as PerpsCommandAckSchema,gb as PerpsCommandStatusSchema,ga as PerpsCreateProxyResponseSchema,fa as PerpsCredentialsResponseSchema,L as PerpsDataResponseSchema,k as PerpsDecimalInputSchema,ha as PerpsDeleteProxyResponseSchema,ia as PerpsDepositSchema,r as PerpsDepositStatus,D as PerpsDepositStatusSchema,ka as PerpsDepositUpdateSchema,i as PerpsEntityIdSchema,aa as PerpsEquityPointSchema,La as PerpsFeeScheduleEntrySchema,Ka as PerpsFeeTierSchema,Ma as PerpsFeesInfoSchema,j as PerpsFundingIntervalSchema,f as PerpsFundingPaymentIdSchema,Ia as PerpsFundingRateSchema,m as PerpsInstrumentCategory,y as PerpsInstrumentCategorySchema,a as PerpsInstrumentIdSchema,ra as PerpsInstrumentSchema,l as PerpsInstrumentType,x as PerpsInstrumentTypeSchema,t as PerpsInternalTransferDirection,F as PerpsInternalTransferDirectionSchema,h as PerpsInternalTransferIdSchema,pa as PerpsInternalTransferSchema,u as PerpsKlineInterval,G as PerpsKlineIntervalSchema,s as PerpsKnownWithdrawalStatus,Xa as PerpsLimitOrderCanceledNotificationSchema,Ya as PerpsLiquidationWarningNotificationSchema,U as PerpsMarginSummarySchema,Ta as PerpsMarginType,Ua as PerpsMarginTypeSchema,$a as PerpsNotificationEntrySchema,d as PerpsNotificationIdSchema,Ra as PerpsNotificationOrderType,Sa as PerpsNotificationOrderTypeSchema,_a as PerpsNotificationSchema,Pa as PerpsNotificationType,Qa as PerpsNotificationTypeSchema,b as PerpsOrderIdSchema,mb as PerpsOrderSchema,db as PerpsOrderStatus,fb as PerpsOrderStatusSchema,pb as PerpsOrderUpdateSchema,v as PerpsPnlInterval,H as PerpsPnlIntervalSchema,ca as PerpsPnlPointSchema,T as PerpsPortfolioPositionSchema,V as PerpsPortfolioSchema,Va as PerpsPositionChangeNotificationSchema,Wa as PerpsPositionClosedNotificationSchema,Za as PerpsPositionLiquidatedNotificationSchema,ib as PerpsPostOrderAckSchema,ea as PerpsProxyKeySchema,Fa as PerpsPublicTradeSchema,Ga as PerpsPublicTradeUpdateSchema,qa as PerpsRiskTierSchema,n as PerpsSide,z as PerpsSideSchema,w as PerpsSortDirection,I as PerpsSortDirectionSchema,xa as PerpsStatisticSchema,za as PerpsStatisticUpdateSchema,va as PerpsTickerEntrySchema,ta as PerpsTickerSchema,o as PerpsTimeInForce,A as PerpsTimeInForceSchema,p as PerpsTpSlKind,B as PerpsTpSlKindSchema,eb as PerpsTpSlOrderFieldsSchema,q as PerpsTpSlScope,C as PerpsTpSlScopeSchema,e as PerpsTradeIdSchema,K as PerpsTxHashSchema,lb as PerpsUpdateLeverageResultSchema,na as PerpsWithdrawResponseSchema,g as PerpsWithdrawalIdSchema,la as PerpsWithdrawalSchema,E as PerpsWithdrawalStatusSchema,oa as PerpsWithdrawalUpdateSchema,O as decimalString,N as perpsBaseUnits,M as perpsDecimal}from'../chunk-V3FFOW6W.js';import {u,da}from'../chunk-RGWF46B7.js';import {z}from'zod';var n=z.number().int().transform(e=>e===0?null:u(e)),jt=z.object({status:z.literal("ok"),deadline:n}),i=z.object({deadline:n,triggered:z.number().int().nonnegative(),daily_limit:z.number().int().nonnegative(),next_reset:da}).transform(e=>({deadline:e.deadline,triggered:e.triggered,dailyLimit:e.daily_limit,nextReset:e.next_reset})),Et=i;export{Et as FetchPerpsAutoCancelStatusResponseSchema,jt as PerpsAutoCancelResponseSchema,i as PerpsAutoCancelStatusSchema};//# sourceMappingURL=index.js.map
1
+ export{ca as FetchPerpsAccountConfigResponseSchema,V as FetchPerpsAccountStatsResponseSchema,T as FetchPerpsBalancesResponseSchema,oa as FetchPerpsBuilderApprovalsResponseSchema,bb as FetchPerpsCandlesResponseSchema,ab as FetchPerpsFeesResponseSchema,Ya as FetchPerpsFundingHistoryResponseSchema,Ha as FetchPerpsInstrumentsResponseSchema,Fb as FetchPerpsOpenOrdersResponseSchema,Eb as FetchPerpsOrdersResponseSchema,Z as FetchPerpsPortfolioResponseSchema,Na as FetchPerpsStatisticsResponseSchema,Ja as FetchPerpsTickersResponseSchema,Wa as FetchPerpsTradesResponseSchema,qb as FetchPerpsUnreadNotificationsCountResponseSchema,sa as ListPerpsBuilderEarningsResponseSchema,wa as ListPerpsDepositsResponseSchema,ea as ListPerpsEquityHistoryResponseSchema,Ib as ListPerpsFillsResponseSchema,$ as ListPerpsFundingPaymentsResponseSchema,Da as ListPerpsInternalTransfersResponseSchema,pb as ListPerpsNotificationsResponseSchema,ga as ListPerpsPnlHistoryResponseSchema,za as ListPerpsWithdrawalsResponseSchema,rb as MarkPerpsNotificationsReadResponseSchema,ba as PerpsAccountConfigSchema,Hb as PerpsAccountFillSchema,Jb as PerpsAccountFillUpdateSchema,aa as PerpsAccountFundingPaymentEntrySchema,_ as PerpsAccountFundingPaymentSchema,U as PerpsAccountStatsSchema,M as PerpsAssetSchema,S as PerpsBalanceSchema,Sa as PerpsBboSchema,Ta as PerpsBboUpdateSchema,Pa as PerpsBookLevelSchema,Qa as PerpsBookSchema,Ra as PerpsBookUpdateSchema,na as PerpsBuilderApprovalSchema,e as PerpsBuilderEarningIdSchema,qa as PerpsBuilderEarningSchema,ta as PerpsBuilderEarningsAssetSchema,ra as PerpsBuilderEarningsSnapshotSchema,ua as PerpsBuilderEarningsSummarySchema,ma as PerpsBuilderStatusSchema,la as PerpsBuilderTermsSchema,Bb as PerpsCancelAllOrdersResponseSchema,xb as PerpsCancelOrderErrorCodeSchema,Ab as PerpsCancelOrderResultSchema,La as PerpsCandleSchema,c as PerpsClientOrderIdSchema,yb as PerpsCommandAckSchema,vb as PerpsCommandStatusSchema,ja as PerpsCreateProxyResponseSchema,ia as PerpsCredentialsResponseSchema,O as PerpsDataResponseSchema,l as PerpsDecimalInputSchema,ka as PerpsDeleteProxyResponseSchema,va as PerpsDepositSchema,s as PerpsDepositStatus,F as PerpsDepositStatusSchema,xa as PerpsDepositUpdateSchema,j as PerpsEntityIdSchema,da as PerpsEquityPointSchema,_a as PerpsFeeScheduleEntrySchema,Za as PerpsFeeTierSchema,$a as PerpsFeesInfoSchema,k as PerpsFundingIntervalSchema,g as PerpsFundingPaymentIdSchema,Xa as PerpsFundingRateSchema,n as PerpsInstrumentCategory,A as PerpsInstrumentCategorySchema,a as PerpsInstrumentIdSchema,Ga as PerpsInstrumentSchema,m as PerpsInstrumentType,z as PerpsInstrumentTypeSchema,v as PerpsInternalTransferDirection,I as PerpsInternalTransferDirectionSchema,i as PerpsInternalTransferIdSchema,Ea as PerpsInternalTransferResponseSchema,Ca as PerpsInternalTransferSchema,H as PerpsInternalTransferTypeSchema,w as PerpsKlineInterval,J as PerpsKlineIntervalSchema,wb as PerpsKnownCancelOrderErrorCode,u as PerpsKnownInternalTransferType,t as PerpsKnownWithdrawalStatus,kb as PerpsLimitOrderCanceledNotificationSchema,lb as PerpsLiquidationWarningNotificationSchema,pa as PerpsLiquidityRole,X as PerpsMarginSummarySchema,gb as PerpsMarginType,hb as PerpsMarginTypeSchema,ob as PerpsNotificationEntrySchema,d as PerpsNotificationIdSchema,eb as PerpsNotificationOrderType,fb as PerpsNotificationOrderTypeSchema,nb as PerpsNotificationSchema,cb as PerpsNotificationType,db as PerpsNotificationTypeSchema,b as PerpsOrderIdSchema,Db as PerpsOrderSchema,sb as PerpsOrderStatus,ub as PerpsOrderStatusSchema,Gb as PerpsOrderUpdateSchema,x as PerpsPnlInterval,K as PerpsPnlIntervalSchema,fa as PerpsPnlPointSchema,W as PerpsPortfolioPositionSchema,Y as PerpsPortfolioSchema,ib as PerpsPositionChangeNotificationSchema,jb as PerpsPositionClosedNotificationSchema,mb as PerpsPositionLiquidatedNotificationSchema,zb as PerpsPostOrderAckSchema,ha as PerpsProxyKeySchema,Ua as PerpsPublicTradeSchema,Va as PerpsPublicTradeUpdateSchema,Fa as PerpsRiskTierSchema,o as PerpsSide,B as PerpsSideSchema,y as PerpsSortDirection,L as PerpsSortDirectionSchema,Ma as PerpsStatisticSchema,Oa as PerpsStatisticUpdateSchema,Ka as PerpsTickerEntrySchema,Ia as PerpsTickerSchema,p as PerpsTimeInForce,C as PerpsTimeInForceSchema,q as PerpsTpSlKind,D as PerpsTpSlKindSchema,tb as PerpsTpSlOrderFieldsSchema,r as PerpsTpSlScope,E as PerpsTpSlScopeSchema,f as PerpsTradeIdSchema,N as PerpsTxHashSchema,Cb as PerpsUpdateLeverageResultSchema,Aa as PerpsWithdrawResponseSchema,h as PerpsWithdrawalIdSchema,ya as PerpsWithdrawalSchema,G as PerpsWithdrawalStatusSchema,Ba as PerpsWithdrawalUpdateSchema,R as decimalString,Q as perpsBaseUnits,P as perpsDecimal}from'../chunk-DAWT25YZ.js';import {u,da}from'../chunk-3IZ4N7C2.js';import {z}from'zod';var n=z.number().int().transform(e=>e===0?null:u(e)),Ot=z.object({status:z.literal("ok"),deadline:n}),p=z.object({deadline:n,triggered:z.number().int().nonnegative(),daily_limit:z.number().int().nonnegative(),next_reset:da}).transform(e=>({deadline:e.deadline,triggered:e.triggered,dailyLimit:e.daily_limit,nextReset:e.next_reset})),Qt=p;export{Qt as FetchPerpsAutoCancelStatusResponseSchema,Ot as PerpsAutoCancelResponseSchema,p as PerpsAutoCancelStatusSchema};//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/perps/auto-cancel.ts"],"names":["AutoCancelDeadlineSchema","z","value","toEpochMilliseconds","PerpsAutoCancelResponseSchema","PerpsAutoCancelStatusSchema","EpochMillisecondsSchema","status","FetchPerpsAutoCancelStatusResponseSchema"],"mappings":"8gIAIA,IAAMA,EAA2BC,CAAAA,CAC9B,MAAA,EAAO,CACP,GAAA,GACA,SAAA,CAAWC,CAAAA,EAAWA,CAAAA,GAAU,CAAA,CAAI,KAAOC,CAAAA,CAAoBD,CAAK,CAAE,CAAA,CAS5DE,GAAgCH,CAAAA,CAAE,MAAA,CAAO,CACpD,MAAA,CAAQA,EAAE,OAAA,CAAQ,IAAI,CAAA,CACtB,QAAA,CAAUD,CACZ,CAAC,CAAA,CAeYK,CAAAA,CAA8BJ,CAAAA,CACxC,OAAO,CACN,QAAA,CAAUD,CAAAA,CACV,SAAA,CAAWC,EAAE,MAAA,EAAO,CAAE,GAAA,EAAI,CAAE,aAAY,CACxC,WAAA,CAAaA,CAAAA,CAAE,MAAA,GAAS,GAAA,EAAI,CAAE,WAAA,EAAY,CAC1C,WAAYK,EACd,CAAC,CAAA,CACA,SAAA,CAAWC,IAAY,CACtB,QAAA,CAAUA,CAAAA,CAAO,QAAA,CACjB,UAAWA,CAAAA,CAAO,SAAA,CAClB,UAAA,CAAYA,CAAAA,CAAO,YACnB,SAAA,CAAWA,CAAAA,CAAO,UACpB,CAAA,CAAE,EAUSC,EAAAA,CACXH","file":"index.js","sourcesContent":["import { z } from 'zod';\nimport { EpochMillisecondsSchema, toEpochMilliseconds } from '../shared';\n\n// The API reports an unarmed schedule as `deadline: 0`.\nconst AutoCancelDeadlineSchema = z\n .number()\n .int()\n .transform((value) => (value === 0 ? null : toEpochMilliseconds(value)));\n\n/**\n * Acknowledgement for a Perps auto-cancel update. `deadline` echoes the armed\n * cancellation time in Unix milliseconds, or `null` when the schedule was\n * disarmed.\n *\n * @experimental This API may change in a breaking way in any release, including patch releases.\n */\nexport const PerpsAutoCancelResponseSchema = z.object({\n status: z.literal('ok'),\n deadline: AutoCancelDeadlineSchema,\n});\n\n/**\n * @experimental This API may change in a breaking way in any release, including patch releases.\n */\nexport type PerpsAutoCancelResponse = z.infer<\n typeof PerpsAutoCancelResponseSchema\n>;\n\n/**\n * Current auto-cancel state for an account. `deadline` is `null` when no\n * schedule is armed.\n *\n * @experimental This API may change in a breaking way in any release, including patch releases.\n */\nexport const PerpsAutoCancelStatusSchema = z\n .object({\n deadline: AutoCancelDeadlineSchema,\n triggered: z.number().int().nonnegative(),\n daily_limit: z.number().int().nonnegative(),\n next_reset: EpochMillisecondsSchema,\n })\n .transform((status) => ({\n deadline: status.deadline,\n triggered: status.triggered,\n dailyLimit: status.daily_limit,\n nextReset: status.next_reset,\n }));\n\n/**\n * @experimental This API may change in a breaking way in any release, including patch releases.\n */\nexport type PerpsAutoCancelStatus = z.infer<typeof PerpsAutoCancelStatusSchema>;\n\n/**\n * @experimental This API may change in a breaking way in any release, including patch releases.\n */\nexport const FetchPerpsAutoCancelStatusResponseSchema =\n PerpsAutoCancelStatusSchema;\n"]}
1
+ {"version":3,"sources":["../../src/perps/auto-cancel.ts"],"names":["AutoCancelDeadlineSchema","z","value","toEpochMilliseconds","PerpsAutoCancelResponseSchema","PerpsAutoCancelStatusSchema","EpochMillisecondsSchema","status","FetchPerpsAutoCancelStatusResponseSchema"],"mappings":"yoJAIA,IAAMA,EAA2BC,CAAAA,CAC9B,MAAA,EAAO,CACP,GAAA,GACA,SAAA,CAAWC,CAAAA,EAAWA,CAAAA,GAAU,CAAA,CAAI,KAAOC,CAAAA,CAAoBD,CAAK,CAAE,CAAA,CAS5DE,GAAgCH,CAAAA,CAAE,MAAA,CAAO,CACpD,MAAA,CAAQA,EAAE,OAAA,CAAQ,IAAI,CAAA,CACtB,QAAA,CAAUD,CACZ,CAAC,CAAA,CAeYK,CAAAA,CAA8BJ,CAAAA,CACxC,OAAO,CACN,QAAA,CAAUD,CAAAA,CACV,SAAA,CAAWC,EAAE,MAAA,EAAO,CAAE,GAAA,EAAI,CAAE,aAAY,CACxC,WAAA,CAAaA,CAAAA,CAAE,MAAA,GAAS,GAAA,EAAI,CAAE,WAAA,EAAY,CAC1C,WAAYK,EACd,CAAC,CAAA,CACA,SAAA,CAAWC,IAAY,CACtB,QAAA,CAAUA,CAAAA,CAAO,QAAA,CACjB,UAAWA,CAAAA,CAAO,SAAA,CAClB,UAAA,CAAYA,CAAAA,CAAO,YACnB,SAAA,CAAWA,CAAAA,CAAO,UACpB,CAAA,CAAE,EAUSC,EAAAA,CACXH","file":"index.js","sourcesContent":["import { z } from 'zod';\nimport { EpochMillisecondsSchema, toEpochMilliseconds } from '../shared';\n\n// The API reports an unarmed schedule as `deadline: 0`.\nconst AutoCancelDeadlineSchema = z\n .number()\n .int()\n .transform((value) => (value === 0 ? null : toEpochMilliseconds(value)));\n\n/**\n * Acknowledgement for a Perps auto-cancel update. `deadline` echoes the armed\n * cancellation time in Unix milliseconds, or `null` when the schedule was\n * disarmed.\n *\n * @experimental This API may change in a breaking way in any release, including patch releases.\n */\nexport const PerpsAutoCancelResponseSchema = z.object({\n status: z.literal('ok'),\n deadline: AutoCancelDeadlineSchema,\n});\n\n/**\n * @experimental This API may change in a breaking way in any release, including patch releases.\n */\nexport type PerpsAutoCancelResponse = z.infer<\n typeof PerpsAutoCancelResponseSchema\n>;\n\n/**\n * Current auto-cancel state for an account. `deadline` is `null` when no\n * schedule is armed.\n *\n * @experimental This API may change in a breaking way in any release, including patch releases.\n */\nexport const PerpsAutoCancelStatusSchema = z\n .object({\n deadline: AutoCancelDeadlineSchema,\n triggered: z.number().int().nonnegative(),\n daily_limit: z.number().int().nonnegative(),\n next_reset: EpochMillisecondsSchema,\n })\n .transform((status) => ({\n deadline: status.deadline,\n triggered: status.triggered,\n dailyLimit: status.daily_limit,\n nextReset: status.next_reset,\n }));\n\n/**\n * @experimental This API may change in a breaking way in any release, including patch releases.\n */\nexport type PerpsAutoCancelStatus = z.infer<typeof PerpsAutoCancelStatusSchema>;\n\n/**\n * @experimental This API may change in a breaking way in any release, including patch releases.\n */\nexport const FetchPerpsAutoCancelStatusResponseSchema =\n PerpsAutoCancelStatusSchema;\n"]}
@@ -1,2 +1,2 @@
1
- import {Ma,Na,ca}from'../chunk-RGWF46B7.js';import {z}from'zod';var E=(t=>(t.SUBMITTED="SUBMITTED",t.REGISTRY_PENDING="REGISTRY_PENDING",t.REGISTERED="REGISTERED",t.FAILED="FAILED",t.SUPERSEDED="SUPERSEDED",t.REPAIR_REQUIRED="REPAIR_REQUIRED",t))(E||{}),f=z.object({status:z.enum(E),transactionHash:Na.nullish().transform(o=>o??null),transactionId:Ma}),c=(t=>(t.PENDING="PENDING",t.FENCED="FENCED",t.SWEPT="SWEPT",t.CHAIN_SUBMITTED="CHAIN_SUBMITTED",t.CONFIRMED="CONFIRMED",t.FAILED="FAILED",t))(c||{}),L=z.object({status:z.enum(c),transactionId:Ma});var m=(s=>(s.SAFE="SAFE",s.PROXY="PROXY",s.SAFE_CREATE="SAFE-CREATE",s.WALLET="WALLET",s.WALLET_CREATE="WALLET-CREATE",s))(m||{}),C=z.enum(m),u=z.enum(["PROXY","SAFE","SAFE-CREATE"]),R=(t=>(t.STATE_NEW="STATE_NEW",t.STATE_EXECUTED="STATE_EXECUTED",t.STATE_MINED="STATE_MINED",t.STATE_CONFIRMED="STATE_CONFIRMED",t.STATE_INVALID="STATE_INVALID",t.STATE_FAILED="STATE_FAILED",t))(R||{}),T=z.enum(R),x=z.object({baseGas:z.string().optional(),gasLimit:z.string().optional(),gasPrice:z.string().optional(),gasToken:ca.optional(),operation:z.string().optional(),payment:z.string().optional(),paymentReceiver:ca.optional(),paymentToken:ca.optional(),refundReceiver:ca.optional(),relay:ca.optional(),relayHub:ca.optional(),relayerFee:z.string().optional(),safeTxnGas:z.string().optional()}),N=z.object({address:ca,nonce:z.string().min(1)}),D=z.object({data:z.string().min(1),from:ca,metadata:z.string().optional(),nonce:z.string().min(1).optional(),proxyWallet:ca,signature:z.string().min(1),signatureParams:x,to:ca,type:u,value:z.string().optional()}),I=z.object({data:z.string().min(1),target:ca,value:z.string().min(1)}),h=z.object({calls:z.array(I).min(1),deadline:z.string().min(1),depositWallet:ca}),A=z.object({depositWalletParams:h,from:ca,metadata:z.string().optional(),nonce:z.string().min(1),signature:z.string().min(1),to:ca,type:z.literal("WALLET")}),S=z.object({from:ca,metadata:z.string().optional(),to:ca,type:z.literal("WALLET-CREATE")}),F=z.union([D,A,S]),b=z.object({state:T,transactionHash:Na.nullish().transform(o=>o??null),transactionID:Ma}).transform(({transactionHash:o,transactionID:l,...i})=>({...i,transactionHash:o??null,transactionId:l})),G=z.object({deployed:z.boolean()}),j=z.object({error_msg:z.string().nullish(),state:T,transaction_hash:z.union([z.literal(""),Na]).transform(o=>o===""?null:o),transaction_id:Ma}).transform(({error_msg:o,transaction_hash:l,transaction_id:i,...y})=>({...y,errorMsg:o??null,transactionHash:l??null,transactionId:i}));export{I as DepositWalletCallSchema,h as DepositWalletParamsSchema,j as GaslessTransactionSchema,f as RelayerAuthorizeSessionSignerResponseSchema,E as RelayerAuthorizeSessionSignerStatus,G as RelayerDeployedResponseSchema,S as RelayerDepositWalletCreateRequestSchema,A as RelayerDepositWalletExecuteRequestSchema,N as RelayerExecuteParamsSchema,F as RelayerExecuteRequestSchema,b as RelayerExecuteResponseSchema,D as RelayerLegacyExecuteRequestSchema,L as RelayerRevokeSessionSignerResponseSchema,c as RelayerRevokeSessionSignerStatus,R as RelayerTransactionState,m as RelayerTransactionType,C as RelayerTransactionTypeSchema};//# sourceMappingURL=index.js.map
1
+ import {Ma,Na,ca}from'../chunk-3IZ4N7C2.js';import {z}from'zod';var E=(t=>(t.SUBMITTED="SUBMITTED",t.REGISTRY_PENDING="REGISTRY_PENDING",t.REGISTERED="REGISTERED",t.FAILED="FAILED",t.SUPERSEDED="SUPERSEDED",t.REPAIR_REQUIRED="REPAIR_REQUIRED",t))(E||{}),f=z.object({status:z.enum(E),transactionHash:Na.nullish().transform(o=>o??null),transactionId:Ma}),c=(t=>(t.PENDING="PENDING",t.FENCED="FENCED",t.SWEPT="SWEPT",t.CHAIN_SUBMITTED="CHAIN_SUBMITTED",t.CONFIRMED="CONFIRMED",t.FAILED="FAILED",t))(c||{}),L=z.object({status:z.enum(c),transactionId:Ma});var m=(s=>(s.SAFE="SAFE",s.PROXY="PROXY",s.SAFE_CREATE="SAFE-CREATE",s.WALLET="WALLET",s.WALLET_CREATE="WALLET-CREATE",s))(m||{}),C=z.enum(m),u=z.enum(["PROXY","SAFE","SAFE-CREATE"]),R=(t=>(t.STATE_NEW="STATE_NEW",t.STATE_EXECUTED="STATE_EXECUTED",t.STATE_MINED="STATE_MINED",t.STATE_CONFIRMED="STATE_CONFIRMED",t.STATE_INVALID="STATE_INVALID",t.STATE_FAILED="STATE_FAILED",t))(R||{}),T=z.enum(R),x=z.object({baseGas:z.string().optional(),gasLimit:z.string().optional(),gasPrice:z.string().optional(),gasToken:ca.optional(),operation:z.string().optional(),payment:z.string().optional(),paymentReceiver:ca.optional(),paymentToken:ca.optional(),refundReceiver:ca.optional(),relay:ca.optional(),relayHub:ca.optional(),relayerFee:z.string().optional(),safeTxnGas:z.string().optional()}),N=z.object({address:ca,nonce:z.string().min(1)}),D=z.object({data:z.string().min(1),from:ca,metadata:z.string().optional(),nonce:z.string().min(1).optional(),proxyWallet:ca,signature:z.string().min(1),signatureParams:x,to:ca,type:u,value:z.string().optional()}),I=z.object({data:z.string().min(1),target:ca,value:z.string().min(1)}),h=z.object({calls:z.array(I).min(1),deadline:z.string().min(1),depositWallet:ca}),A=z.object({depositWalletParams:h,from:ca,metadata:z.string().optional(),nonce:z.string().min(1),signature:z.string().min(1),to:ca,type:z.literal("WALLET")}),S=z.object({from:ca,metadata:z.string().optional(),to:ca,type:z.literal("WALLET-CREATE")}),F=z.union([D,A,S]),b=z.object({state:T,transactionHash:Na.nullish().transform(o=>o??null),transactionID:Ma}).transform(({transactionHash:o,transactionID:l,...i})=>({...i,transactionHash:o??null,transactionId:l})),G=z.object({deployed:z.boolean()}),j=z.object({error_msg:z.string().nullish(),state:T,transaction_hash:z.union([z.literal(""),Na]).transform(o=>o===""?null:o),transaction_id:Ma}).transform(({error_msg:o,transaction_hash:l,transaction_id:i,...y})=>({...y,errorMsg:o??null,transactionHash:l??null,transactionId:i}));export{I as DepositWalletCallSchema,h as DepositWalletParamsSchema,j as GaslessTransactionSchema,f as RelayerAuthorizeSessionSignerResponseSchema,E as RelayerAuthorizeSessionSignerStatus,G as RelayerDeployedResponseSchema,S as RelayerDepositWalletCreateRequestSchema,A as RelayerDepositWalletExecuteRequestSchema,N as RelayerExecuteParamsSchema,F as RelayerExecuteRequestSchema,b as RelayerExecuteResponseSchema,D as RelayerLegacyExecuteRequestSchema,L as RelayerRevokeSessionSignerResponseSchema,c as RelayerRevokeSessionSignerStatus,R as RelayerTransactionState,m as RelayerTransactionType,C as RelayerTransactionTypeSchema};//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map