import * as z from "zod"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { ActivityBlockchainInfo, ActivityBlockchainInfo$Outbound } from "./activityblockchaininfo.js"; import { Asset, Asset$Outbound } from "./asset.js"; import { AssetType, AssetType$Outbound } from "./assettype.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; import { OrderActivityMatchSide, OrderActivityMatchSide$Outbound } from "./orderactivitymatchside.js"; import { OrderActivitySource } from "./orderactivitysource.js"; export declare const AtTypeL2Withdrawal: { readonly L2Withdrawal: "L2_WITHDRAWAL"; }; export type AtTypeL2Withdrawal = ClosedEnum; export type L2WithdrawalActivity = { atType: AtTypeL2Withdrawal; /** * Blockchain address in Union format `${blockchainGroup}:${token}` */ user: string; status: string; /** * Item Id, has format `ETHEREUM:${token}:${tokenId}` */ itemId: string; /** * Collection id */ collection?: string | undefined; value?: string | undefined; id: string; date: Date; lastUpdatedAt?: Date | undefined; cursor?: string | undefined; reverted?: boolean | undefined; version?: number | undefined; }; export declare const AtTypeL2Deposit: { readonly L2Deposit: "L2_DEPOSIT"; }; export type AtTypeL2Deposit = ClosedEnum; export type L2DepositActivity = { atType: AtTypeL2Deposit; /** * Blockchain address in Union format `${blockchainGroup}:${token}` */ user: string; status: string; /** * Item Id, has format `ETHEREUM:${token}:${tokenId}` */ itemId: string; /** * Collection id */ collection?: string | undefined; value?: string | undefined; id: string; date: Date; lastUpdatedAt?: Date | undefined; cursor?: string | undefined; reverted?: boolean | undefined; version?: number | undefined; }; export declare const AtTypeCancelList: { readonly CancelList: "CANCEL_LIST"; }; export type AtTypeCancelList = ClosedEnum; export type OrderCancelListActivity = { atType: AtTypeCancelList; orderId?: string | undefined; hash: string; /** * Blockchain address in Union format `${blockchainGroup}:${token}` */ maker: string; make: AssetType; take: AssetType; source?: OrderActivitySource | undefined; transactionHash: string; /** * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ blockchainInfo?: ActivityBlockchainInfo | undefined; id: string; date: Date; lastUpdatedAt?: Date | undefined; cursor?: string | undefined; reverted?: boolean | undefined; version?: number | undefined; }; export declare const AtTypeCancelBid: { readonly CancelBid: "CANCEL_BID"; }; export type AtTypeCancelBid = ClosedEnum; export type OrderCancelBidActivity = { atType: AtTypeCancelBid; orderId?: string | undefined; hash: string; /** * Blockchain address in Union format `${blockchainGroup}:${token}` */ maker: string; make: AssetType; take: AssetType; source?: OrderActivitySource | undefined; transactionHash: string; /** * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ blockchainInfo?: ActivityBlockchainInfo | undefined; id: string; date: Date; lastUpdatedAt?: Date | undefined; cursor?: string | undefined; reverted?: boolean | undefined; version?: number | undefined; }; export declare const AtTypeList: { readonly List: "LIST"; }; export type AtTypeList = ClosedEnum; export type OrderListActivity = { atType: AtTypeList; orderId?: string | undefined; hash: string; /** * Blockchain address in Union format `${blockchainGroup}:${token}` */ maker: string; make: Asset; take: Asset; price: string; priceUsd?: string | undefined; source?: OrderActivitySource | undefined; id: string; date: Date; lastUpdatedAt?: Date | undefined; cursor?: string | undefined; reverted?: boolean | undefined; version?: number | undefined; }; export declare const AtTypeBid: { readonly Bid: "BID"; }; export type AtTypeBid = ClosedEnum; export type OrderBidActivity = { atType: AtTypeBid; orderId?: string | undefined; hash: string; /** * Blockchain address in Union format `${blockchainGroup}:${token}` */ maker: string; make: Asset; take: Asset; price: string; priceUsd?: string | undefined; source?: OrderActivitySource | undefined; marketplaceMarker?: string | undefined; id: string; date: Date; lastUpdatedAt?: Date | undefined; cursor?: string | undefined; reverted?: boolean | undefined; version?: number | undefined; }; export declare const ActivityOrderMatchActivityType: { readonly Sell: "SELL"; readonly AcceptBid: "ACCEPT_BID"; }; export type ActivityOrderMatchActivityType = ClosedEnum; export type OrderMatchSell = { atType?: OrderMatchActivityAtType | undefined; nft: Asset; payment: Asset; /** * Blockchain address in Union format `${blockchainGroup}:${token}` */ buyer: string; /** * Blockchain address in Union format `${blockchainGroup}:${token}` */ seller: string; buyerOrderHash?: string | undefined; sellerOrderHash?: string | undefined; price: string; priceUsd?: string | undefined; amountUsd?: string | undefined; type: ActivityOrderMatchActivityType; sellMarketplaceMarker?: string | undefined; buyMarketplaceMarker?: string | undefined; orderId?: string | undefined; source: OrderActivitySource; transactionHash: string; /** * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ blockchainInfo?: ActivityBlockchainInfo | undefined; id: string; date: Date; lastUpdatedAt?: Date | undefined; cursor?: string | undefined; reverted?: boolean | undefined; version?: number | undefined; }; export declare const OrderMatchActivityAtType: { readonly Match: "MATCH"; }; export type OrderMatchActivityAtType = ClosedEnum; export type OrderMatchSwap = { atType?: OrderMatchActivityAtType | undefined; left: OrderActivityMatchSide; right: OrderActivityMatchSide; orderId?: string | undefined; source: OrderActivitySource; transactionHash: string; /** * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ blockchainInfo?: ActivityBlockchainInfo | undefined; id: string; date: Date; lastUpdatedAt?: Date | undefined; cursor?: string | undefined; reverted?: boolean | undefined; version?: number | undefined; }; export type OrderMatchActivity = OrderMatchSwap | OrderMatchSell; export declare const AtTypeReceiveFromChain: { readonly ReceiveFromChain: "RECEIVE_FROM_CHAIN"; }; export type AtTypeReceiveFromChain = ClosedEnum; export type ReceiveFromChainActivity = { atType: AtTypeReceiveFromChain; /** * Blockchain address in Union format `${blockchainGroup}:${token}` */ owner: string; from: string; chainId: string; /** * Blockchain contract address in Union format `ETHEREUM:${token}` */ contract?: string | undefined; /** * Collection id */ collection?: string | undefined; /** * Item Id, has format `ETHEREUM:${token}:${tokenId}` */ itemId: string; value: string; transactionHash: string; /** * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ blockchainInfo?: ActivityBlockchainInfo | undefined; id: string; date: Date; lastUpdatedAt?: Date | undefined; cursor?: string | undefined; reverted?: boolean | undefined; version?: number | undefined; }; export declare const AtTypeSendToChain: { readonly SendToChain: "SEND_TO_CHAIN"; }; export type AtTypeSendToChain = ClosedEnum; export type SendToChainActivity = { atType: AtTypeSendToChain; /** * Blockchain address in Union format `${blockchainGroup}:${token}` */ owner: string; to: string; chainId: string; /** * Blockchain contract address in Union format `ETHEREUM:${token}` */ contract?: string | undefined; /** * Collection id */ collection?: string | undefined; /** * Item Id, has format `ETHEREUM:${token}:${tokenId}` */ itemId: string; value: string; transactionHash: string; /** * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ blockchainInfo?: ActivityBlockchainInfo | undefined; id: string; date: Date; lastUpdatedAt?: Date | undefined; cursor?: string | undefined; reverted?: boolean | undefined; version?: number | undefined; }; export declare const ActivityAtTypeTransfer: { readonly Transfer: "TRANSFER"; }; export type ActivityAtTypeTransfer = ClosedEnum; export type TransferActivity = { atType: ActivityAtTypeTransfer; /** * Blockchain address in Union format `${blockchainGroup}:${token}` */ from: string; /** * Blockchain address in Union format `${blockchainGroup}:${token}` */ owner: string; /** * Blockchain contract address in Union format `ETHEREUM:${token}` */ contract?: string | undefined; /** * Collection id */ collection?: string | undefined; tokenId?: string | undefined; /** * Item Id, has format `ETHEREUM:${token}:${tokenId}` */ itemId?: string | undefined; value: string; purchase?: boolean | undefined; transactionHash: string; /** * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ blockchainInfo?: ActivityBlockchainInfo | undefined; id: string; date: Date; lastUpdatedAt?: Date | undefined; cursor?: string | undefined; reverted?: boolean | undefined; version?: number | undefined; }; export declare const AtTypeBurn: { readonly Burn: "BURN"; }; export type AtTypeBurn = ClosedEnum; export type BurnActivity = { atType: AtTypeBurn; /** * Blockchain address in Union format `${blockchainGroup}:${token}` */ owner: string; /** * Blockchain contract address in Union format `ETHEREUM:${token}` */ contract?: string | undefined; /** * Collection id */ collection?: string | undefined; tokenId?: string | undefined; /** * Item Id, has format `ETHEREUM:${token}:${tokenId}` */ itemId?: string | undefined; value: string; transactionHash: string; /** * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ blockchainInfo?: ActivityBlockchainInfo | undefined; id: string; date: Date; lastUpdatedAt?: Date | undefined; cursor?: string | undefined; reverted?: boolean | undefined; version?: number | undefined; }; export declare const AtTypeMint: { readonly Mint: "MINT"; }; export type AtTypeMint = ClosedEnum; export type MintActivity = { atType: AtTypeMint; /** * Blockchain address in Union format `${blockchainGroup}:${token}` */ owner: string; /** * Blockchain contract address in Union format `ETHEREUM:${token}` */ contract?: string | undefined; /** * Collection id */ collection?: string | undefined; tokenId?: string | undefined; /** * Item Id, has format `ETHEREUM:${token}:${tokenId}` */ itemId?: string | undefined; value: string; mintPrice?: string | undefined; mintPayment?: Asset | undefined; mintPriceUsd?: string | undefined; transactionHash: string; /** * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ blockchainInfo?: ActivityBlockchainInfo | undefined; id: string; date: Date; lastUpdatedAt?: Date | undefined; cursor?: string | undefined; reverted?: boolean | undefined; version?: number | undefined; }; export type Activity = L2DepositActivity | L2WithdrawalActivity | BurnActivity | OrderListActivity | OrderCancelBidActivity | OrderCancelListActivity | SendToChainActivity | ReceiveFromChainActivity | OrderBidActivity | TransferActivity | MintActivity | OrderMatchSwap | OrderMatchSell; /** @internal */ export declare const AtTypeL2Withdrawal$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AtTypeL2Withdrawal$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace AtTypeL2Withdrawal$ { /** @deprecated use `AtTypeL2Withdrawal$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly L2Withdrawal: "L2_WITHDRAWAL"; }>; /** @deprecated use `AtTypeL2Withdrawal$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly L2Withdrawal: "L2_WITHDRAWAL"; }>; } /** @internal */ export declare const L2WithdrawalActivity$inboundSchema: z.ZodType; /** @internal */ export type L2WithdrawalActivity$Outbound = { "@type": string; user: string; status: string; itemId: string; collection?: string | undefined; value?: string | undefined; id: string; date: string; lastUpdatedAt?: string | undefined; cursor?: string | undefined; reverted?: boolean | undefined; version?: number | undefined; }; /** @internal */ export declare const L2WithdrawalActivity$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace L2WithdrawalActivity$ { /** @deprecated use `L2WithdrawalActivity$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `L2WithdrawalActivity$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `L2WithdrawalActivity$Outbound` instead. */ type Outbound = L2WithdrawalActivity$Outbound; } export declare function l2WithdrawalActivityToJSON(l2WithdrawalActivity: L2WithdrawalActivity): string; export declare function l2WithdrawalActivityFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AtTypeL2Deposit$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AtTypeL2Deposit$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace AtTypeL2Deposit$ { /** @deprecated use `AtTypeL2Deposit$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly L2Deposit: "L2_DEPOSIT"; }>; /** @deprecated use `AtTypeL2Deposit$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly L2Deposit: "L2_DEPOSIT"; }>; } /** @internal */ export declare const L2DepositActivity$inboundSchema: z.ZodType; /** @internal */ export type L2DepositActivity$Outbound = { "@type": string; user: string; status: string; itemId: string; collection?: string | undefined; value?: string | undefined; id: string; date: string; lastUpdatedAt?: string | undefined; cursor?: string | undefined; reverted?: boolean | undefined; version?: number | undefined; }; /** @internal */ export declare const L2DepositActivity$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace L2DepositActivity$ { /** @deprecated use `L2DepositActivity$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `L2DepositActivity$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `L2DepositActivity$Outbound` instead. */ type Outbound = L2DepositActivity$Outbound; } export declare function l2DepositActivityToJSON(l2DepositActivity: L2DepositActivity): string; export declare function l2DepositActivityFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AtTypeCancelList$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AtTypeCancelList$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace AtTypeCancelList$ { /** @deprecated use `AtTypeCancelList$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly CancelList: "CANCEL_LIST"; }>; /** @deprecated use `AtTypeCancelList$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly CancelList: "CANCEL_LIST"; }>; } /** @internal */ export declare const OrderCancelListActivity$inboundSchema: z.ZodType; /** @internal */ export type OrderCancelListActivity$Outbound = { "@type": string; orderId?: string | undefined; hash: string; maker: string; make: AssetType$Outbound; take: AssetType$Outbound; source?: string | undefined; transactionHash: string; blockchainInfo?: ActivityBlockchainInfo$Outbound | undefined; id: string; date: string; lastUpdatedAt?: string | undefined; cursor?: string | undefined; reverted?: boolean | undefined; version?: number | undefined; }; /** @internal */ export declare const OrderCancelListActivity$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace OrderCancelListActivity$ { /** @deprecated use `OrderCancelListActivity$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OrderCancelListActivity$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `OrderCancelListActivity$Outbound` instead. */ type Outbound = OrderCancelListActivity$Outbound; } export declare function orderCancelListActivityToJSON(orderCancelListActivity: OrderCancelListActivity): string; export declare function orderCancelListActivityFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AtTypeCancelBid$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AtTypeCancelBid$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace AtTypeCancelBid$ { /** @deprecated use `AtTypeCancelBid$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly CancelBid: "CANCEL_BID"; }>; /** @deprecated use `AtTypeCancelBid$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly CancelBid: "CANCEL_BID"; }>; } /** @internal */ export declare const OrderCancelBidActivity$inboundSchema: z.ZodType; /** @internal */ export type OrderCancelBidActivity$Outbound = { "@type": string; orderId?: string | undefined; hash: string; maker: string; make: AssetType$Outbound; take: AssetType$Outbound; source?: string | undefined; transactionHash: string; blockchainInfo?: ActivityBlockchainInfo$Outbound | undefined; id: string; date: string; lastUpdatedAt?: string | undefined; cursor?: string | undefined; reverted?: boolean | undefined; version?: number | undefined; }; /** @internal */ export declare const OrderCancelBidActivity$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace OrderCancelBidActivity$ { /** @deprecated use `OrderCancelBidActivity$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OrderCancelBidActivity$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `OrderCancelBidActivity$Outbound` instead. */ type Outbound = OrderCancelBidActivity$Outbound; } export declare function orderCancelBidActivityToJSON(orderCancelBidActivity: OrderCancelBidActivity): string; export declare function orderCancelBidActivityFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AtTypeList$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AtTypeList$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace AtTypeList$ { /** @deprecated use `AtTypeList$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly List: "LIST"; }>; /** @deprecated use `AtTypeList$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly List: "LIST"; }>; } /** @internal */ export declare const OrderListActivity$inboundSchema: z.ZodType; /** @internal */ export type OrderListActivity$Outbound = { "@type": string; orderId?: string | undefined; hash: string; maker: string; make: Asset$Outbound; take: Asset$Outbound; price: string; priceUsd?: string | undefined; source?: string | undefined; id: string; date: string; lastUpdatedAt?: string | undefined; cursor?: string | undefined; reverted?: boolean | undefined; version?: number | undefined; }; /** @internal */ export declare const OrderListActivity$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace OrderListActivity$ { /** @deprecated use `OrderListActivity$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OrderListActivity$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `OrderListActivity$Outbound` instead. */ type Outbound = OrderListActivity$Outbound; } export declare function orderListActivityToJSON(orderListActivity: OrderListActivity): string; export declare function orderListActivityFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AtTypeBid$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AtTypeBid$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace AtTypeBid$ { /** @deprecated use `AtTypeBid$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Bid: "BID"; }>; /** @deprecated use `AtTypeBid$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Bid: "BID"; }>; } /** @internal */ export declare const OrderBidActivity$inboundSchema: z.ZodType; /** @internal */ export type OrderBidActivity$Outbound = { "@type": string; orderId?: string | undefined; hash: string; maker: string; make: Asset$Outbound; take: Asset$Outbound; price: string; priceUsd?: string | undefined; source?: string | undefined; marketplaceMarker?: string | undefined; id: string; date: string; lastUpdatedAt?: string | undefined; cursor?: string | undefined; reverted?: boolean | undefined; version?: number | undefined; }; /** @internal */ export declare const OrderBidActivity$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace OrderBidActivity$ { /** @deprecated use `OrderBidActivity$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OrderBidActivity$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `OrderBidActivity$Outbound` instead. */ type Outbound = OrderBidActivity$Outbound; } export declare function orderBidActivityToJSON(orderBidActivity: OrderBidActivity): string; export declare function orderBidActivityFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ActivityOrderMatchActivityType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ActivityOrderMatchActivityType$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace ActivityOrderMatchActivityType$ { /** @deprecated use `ActivityOrderMatchActivityType$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Sell: "SELL"; readonly AcceptBid: "ACCEPT_BID"; }>; /** @deprecated use `ActivityOrderMatchActivityType$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Sell: "SELL"; readonly AcceptBid: "ACCEPT_BID"; }>; } /** @internal */ export declare const OrderMatchActivityAtType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const OrderMatchActivityAtType$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const OrderMatchSell$inboundSchema: z.ZodType; /** @internal */ export type OrderMatchSell$Outbound = { "@type"?: string | undefined; nft: Asset$Outbound; payment: Asset$Outbound; buyer: string; seller: string; buyerOrderHash?: string | undefined; sellerOrderHash?: string | undefined; price: string; priceUsd?: string | undefined; amountUsd?: string | undefined; type: string; sellMarketplaceMarker?: string | undefined; buyMarketplaceMarker?: string | undefined; orderId?: string | undefined; source: string; transactionHash: string; blockchainInfo?: ActivityBlockchainInfo$Outbound | undefined; id: string; date: string; lastUpdatedAt?: string | undefined; cursor?: string | undefined; reverted?: boolean | undefined; version?: number | undefined; }; /** @internal */ export declare const OrderMatchSell$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace OrderMatchSell$ { /** @deprecated use `OrderMatchSell$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OrderMatchSell$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `OrderMatchSell$Outbound` instead. */ type Outbound = OrderMatchSell$Outbound; } export declare function orderMatchSellToJSON(orderMatchSell: OrderMatchSell): string; export declare function orderMatchSellFromJSON(jsonString: string): SafeParseResult; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace OrderMatchActivityAtType$ { /** @deprecated use `OrderMatchActivityAtType$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Match: "MATCH"; }>; /** @deprecated use `OrderMatchActivityAtType$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Match: "MATCH"; }>; } /** @internal */ export declare const OrderMatchSwap$inboundSchema: z.ZodType; /** @internal */ export type OrderMatchSwap$Outbound = { "@type"?: string | undefined; left: OrderActivityMatchSide$Outbound; right: OrderActivityMatchSide$Outbound; orderId?: string | undefined; source: string; transactionHash: string; blockchainInfo?: ActivityBlockchainInfo$Outbound | undefined; id: string; date: string; lastUpdatedAt?: string | undefined; cursor?: string | undefined; reverted?: boolean | undefined; version?: number | undefined; }; /** @internal */ export declare const OrderMatchSwap$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace OrderMatchSwap$ { /** @deprecated use `OrderMatchSwap$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OrderMatchSwap$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `OrderMatchSwap$Outbound` instead. */ type Outbound = OrderMatchSwap$Outbound; } export declare function orderMatchSwapToJSON(orderMatchSwap: OrderMatchSwap): string; export declare function orderMatchSwapFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const OrderMatchActivity$inboundSchema: z.ZodType; /** @internal */ export type OrderMatchActivity$Outbound = OrderMatchSwap$Outbound | OrderMatchSell$Outbound; /** @internal */ export declare const OrderMatchActivity$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace OrderMatchActivity$ { /** @deprecated use `OrderMatchActivity$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `OrderMatchActivity$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `OrderMatchActivity$Outbound` instead. */ type Outbound = OrderMatchActivity$Outbound; } export declare function orderMatchActivityToJSON(orderMatchActivity: OrderMatchActivity): string; export declare function orderMatchActivityFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AtTypeReceiveFromChain$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AtTypeReceiveFromChain$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace AtTypeReceiveFromChain$ { /** @deprecated use `AtTypeReceiveFromChain$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly ReceiveFromChain: "RECEIVE_FROM_CHAIN"; }>; /** @deprecated use `AtTypeReceiveFromChain$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly ReceiveFromChain: "RECEIVE_FROM_CHAIN"; }>; } /** @internal */ export declare const ReceiveFromChainActivity$inboundSchema: z.ZodType; /** @internal */ export type ReceiveFromChainActivity$Outbound = { "@type": string; owner: string; from: string; chainId: string; contract?: string | undefined; collection?: string | undefined; itemId: string; value: string; transactionHash: string; blockchainInfo?: ActivityBlockchainInfo$Outbound | undefined; id: string; date: string; lastUpdatedAt?: string | undefined; cursor?: string | undefined; reverted?: boolean | undefined; version?: number | undefined; }; /** @internal */ export declare const ReceiveFromChainActivity$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace ReceiveFromChainActivity$ { /** @deprecated use `ReceiveFromChainActivity$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ReceiveFromChainActivity$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ReceiveFromChainActivity$Outbound` instead. */ type Outbound = ReceiveFromChainActivity$Outbound; } export declare function receiveFromChainActivityToJSON(receiveFromChainActivity: ReceiveFromChainActivity): string; export declare function receiveFromChainActivityFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AtTypeSendToChain$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AtTypeSendToChain$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace AtTypeSendToChain$ { /** @deprecated use `AtTypeSendToChain$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly SendToChain: "SEND_TO_CHAIN"; }>; /** @deprecated use `AtTypeSendToChain$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly SendToChain: "SEND_TO_CHAIN"; }>; } /** @internal */ export declare const SendToChainActivity$inboundSchema: z.ZodType; /** @internal */ export type SendToChainActivity$Outbound = { "@type": string; owner: string; to: string; chainId: string; contract?: string | undefined; collection?: string | undefined; itemId: string; value: string; transactionHash: string; blockchainInfo?: ActivityBlockchainInfo$Outbound | undefined; id: string; date: string; lastUpdatedAt?: string | undefined; cursor?: string | undefined; reverted?: boolean | undefined; version?: number | undefined; }; /** @internal */ export declare const SendToChainActivity$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace SendToChainActivity$ { /** @deprecated use `SendToChainActivity$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `SendToChainActivity$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `SendToChainActivity$Outbound` instead. */ type Outbound = SendToChainActivity$Outbound; } export declare function sendToChainActivityToJSON(sendToChainActivity: SendToChainActivity): string; export declare function sendToChainActivityFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ActivityAtTypeTransfer$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ActivityAtTypeTransfer$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace ActivityAtTypeTransfer$ { /** @deprecated use `ActivityAtTypeTransfer$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Transfer: "TRANSFER"; }>; /** @deprecated use `ActivityAtTypeTransfer$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Transfer: "TRANSFER"; }>; } /** @internal */ export declare const TransferActivity$inboundSchema: z.ZodType; /** @internal */ export type TransferActivity$Outbound = { "@type": string; from: string; owner: string; contract?: string | undefined; collection?: string | undefined; tokenId?: string | undefined; itemId?: string | undefined; value: string; purchase?: boolean | undefined; transactionHash: string; blockchainInfo?: ActivityBlockchainInfo$Outbound | undefined; id: string; date: string; lastUpdatedAt?: string | undefined; cursor?: string | undefined; reverted?: boolean | undefined; version?: number | undefined; }; /** @internal */ export declare const TransferActivity$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace TransferActivity$ { /** @deprecated use `TransferActivity$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `TransferActivity$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `TransferActivity$Outbound` instead. */ type Outbound = TransferActivity$Outbound; } export declare function transferActivityToJSON(transferActivity: TransferActivity): string; export declare function transferActivityFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AtTypeBurn$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AtTypeBurn$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace AtTypeBurn$ { /** @deprecated use `AtTypeBurn$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Burn: "BURN"; }>; /** @deprecated use `AtTypeBurn$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Burn: "BURN"; }>; } /** @internal */ export declare const BurnActivity$inboundSchema: z.ZodType; /** @internal */ export type BurnActivity$Outbound = { "@type": string; owner: string; contract?: string | undefined; collection?: string | undefined; tokenId?: string | undefined; itemId?: string | undefined; value: string; transactionHash: string; blockchainInfo?: ActivityBlockchainInfo$Outbound | undefined; id: string; date: string; lastUpdatedAt?: string | undefined; cursor?: string | undefined; reverted?: boolean | undefined; version?: number | undefined; }; /** @internal */ export declare const BurnActivity$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace BurnActivity$ { /** @deprecated use `BurnActivity$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `BurnActivity$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `BurnActivity$Outbound` instead. */ type Outbound = BurnActivity$Outbound; } export declare function burnActivityToJSON(burnActivity: BurnActivity): string; export declare function burnActivityFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AtTypeMint$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const AtTypeMint$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace AtTypeMint$ { /** @deprecated use `AtTypeMint$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Mint: "MINT"; }>; /** @deprecated use `AtTypeMint$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Mint: "MINT"; }>; } /** @internal */ export declare const MintActivity$inboundSchema: z.ZodType; /** @internal */ export type MintActivity$Outbound = { "@type": string; owner: string; contract?: string | undefined; collection?: string | undefined; tokenId?: string | undefined; itemId?: string | undefined; value: string; mintPrice?: string | undefined; mintPayment?: Asset$Outbound | undefined; mintPriceUsd?: string | undefined; transactionHash: string; blockchainInfo?: ActivityBlockchainInfo$Outbound | undefined; id: string; date: string; lastUpdatedAt?: string | undefined; cursor?: string | undefined; reverted?: boolean | undefined; version?: number | undefined; }; /** @internal */ export declare const MintActivity$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace MintActivity$ { /** @deprecated use `MintActivity$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `MintActivity$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `MintActivity$Outbound` instead. */ type Outbound = MintActivity$Outbound; } export declare function mintActivityToJSON(mintActivity: MintActivity): string; export declare function mintActivityFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Activity$inboundSchema: z.ZodType; /** @internal */ export type Activity$Outbound = L2DepositActivity$Outbound | L2WithdrawalActivity$Outbound | BurnActivity$Outbound | OrderListActivity$Outbound | OrderCancelBidActivity$Outbound | OrderCancelListActivity$Outbound | SendToChainActivity$Outbound | ReceiveFromChainActivity$Outbound | OrderBidActivity$Outbound | TransferActivity$Outbound | MintActivity$Outbound | OrderMatchSwap$Outbound | OrderMatchSell$Outbound; /** @internal */ export declare const Activity$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Activity$ { /** @deprecated use `Activity$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Activity$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Activity$Outbound` instead. */ type Outbound = Activity$Outbound; } export declare function activityToJSON(activity: Activity): string; export declare function activityFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=activity.d.ts.map