UNPKG

@yoroi/exchange

Version:

The Exchange package of Yoroi SDK

91 lines (89 loc) 2.87 kB
/** * Flowtype definitions for zod-schema * Generated by Flowgen from a Typescript Definition * Flowgen v1.21.0 */ import * as $Flowgen$Import$_40_yoroi_2f_types_2f_lib_2f_typescript_2f_exchange_2f_order_2d_type from "@yoroi/types/lib/typescript/exchange/order-type"; import * as $Flowgen$Import$_40_yoroi_2f_types_2f_lib_2f_typescript_2f_exchange_2f_fiat from "@yoroi/types/lib/typescript/exchange/fiat"; import { z } from "zod"; declare export var urlReferralQueryStringParamsSchema: z.ZodEffects< z.ZodObject< { orderType: z.ZodOptional< z.ZodEffects< z.ZodString, $Flowgen$Import$_40_yoroi_2f_types_2f_lib_2f_typescript_2f_exchange_2f_order_2d_type.ExchangeOrderType, string > >, fiatType: z.ZodEffects< z.ZodString, $Flowgen$Import$_40_yoroi_2f_types_2f_lib_2f_typescript_2f_exchange_2f_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?: $Flowgen$Import$_40_yoroi_2f_types_2f_lib_2f_typescript_2f_exchange_2f_order_2d_type.ExchangeOrderType | void, fiatAmount?: number | void, coinAmount?: number | void, blockchain?: "ADA" | void, returnUrl?: string | void, access_token?: string | void, balance?: string | void, ... }, { fiatType: string, coinType: string, walletAddress: string, orderType?: string | void, fiatAmount?: number | void, coinAmount?: number | void, blockchain?: string | void, returnUrl?: string | void, access_token?: string | void, balance?: string | void, ... } >, { fiatType: "USD" | "EUR", coinType: "ADA", walletAddress: string, orderType?: $Flowgen$Import$_40_yoroi_2f_types_2f_lib_2f_typescript_2f_exchange_2f_order_2d_type.ExchangeOrderType | void, fiatAmount?: number | void, coinAmount?: number | void, blockchain?: "ADA" | void, returnUrl?: string | void, access_token?: string | void, balance?: string | void, ... }, { fiatType: string, coinType: string, walletAddress: string, orderType?: string | void, fiatAmount?: number | void, coinAmount?: number | void, blockchain?: string | void, returnUrl?: string | void, access_token?: string | void, balance?: string | void, ... } >;