UNPKG

@yoroi/exchange

Version:

The Exchange package of Yoroi SDK

58 lines 2.29 kB
import { z } from 'zod'; export declare const urlReferralQueryStringParamsSchema: z.ZodEffects<z.ZodObject<{ orderType: z.ZodOptional<z.ZodEffects<z.ZodString, import("@yoroi/types/lib/typescript/exchange/order-type").ExchangeOrderType, string>>; fiatType: z.ZodEffects<z.ZodString, import("@yoroi/types/lib/typescript/exchange/fiat").ExchangeFiat, string>; fiatAmount: z.ZodOptional<z.ZodNumber>; coinType: z.ZodEffects<z.ZodString, "ADA", string>; coinAmount: z.ZodOptional<z.ZodNumber>; blockchain: z.ZodOptional<z.ZodEffects<z.ZodString, "ADA", string>>; walletAddress: z.ZodString; returnUrl: z.ZodOptional<z.ZodString>; access_token: z.ZodOptional<z.ZodString>; balance: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { fiatType: "USD" | "EUR"; coinType: "ADA"; walletAddress: string; orderType?: import("@yoroi/types/lib/typescript/exchange/order-type").ExchangeOrderType | undefined; fiatAmount?: number | undefined; coinAmount?: number | undefined; blockchain?: "ADA" | undefined; returnUrl?: string | undefined; access_token?: string | undefined; balance?: string | undefined; }, { fiatType: string; coinType: string; walletAddress: string; orderType?: string | undefined; fiatAmount?: number | undefined; coinAmount?: number | undefined; blockchain?: string | undefined; returnUrl?: string | undefined; access_token?: string | undefined; balance?: string | undefined; }>, { fiatType: "USD" | "EUR"; coinType: "ADA"; walletAddress: string; orderType?: import("@yoroi/types/lib/typescript/exchange/order-type").ExchangeOrderType | undefined; fiatAmount?: number | undefined; coinAmount?: number | undefined; blockchain?: "ADA" | undefined; returnUrl?: string | undefined; access_token?: string | undefined; balance?: string | undefined; }, { fiatType: string; coinType: string; walletAddress: string; orderType?: string | undefined; fiatAmount?: number | undefined; coinAmount?: number | undefined; blockchain?: string | undefined; returnUrl?: string | undefined; access_token?: string | undefined; balance?: string | undefined; }>; //# sourceMappingURL=zod-schema.d.ts.map