@yoroi/banxa
Version:
The Banxa integration package of Yoroi SDK
118 lines (116 loc) • 3.73 kB
Flow
/**
* Flowtype definitions for zod-schema
* Generated by Flowgen from a Typescript Definition
* Flowgen v1.21.0
*/
import * as $Flowgen$Import$_2e__2e__2f_helpers_2f_order_2d_types from "../helpers/order-types";
import * as $Flowgen$Import$_2e__2e__2f_helpers_2f_fiat_2d_types from "../helpers/fiat-types";
import * as $Flowgen$Import$_2e__2e__2f_helpers_2f_theme from "../helpers/theme";
import { z } from "zod";
declare export var BanxaUrlReferralQueryStringParamsSchema: z.ZodEffects<
z.ZodObject<
{
orderType: z.ZodOptional<
z.ZodEffects<
z.ZodString,
$Flowgen$Import$_2e__2e__2f_helpers_2f_order_2d_types.BanxaOrderType,
string
>
>,
fiatType: z.ZodEffects<
z.ZodString,
$Flowgen$Import$_2e__2e__2f_helpers_2f_fiat_2d_types.BanxaFiatType,
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,
walletAddressTag: z.ZodOptional<z.ZodString>,
backgroundColor: z.ZodOptional<z.ZodString>,
primaryColor: z.ZodOptional<z.ZodString>,
secondaryColor: z.ZodOptional<z.ZodString>,
textColor: z.ZodOptional<z.ZodString>,
theme: z.ZodOptional<
z.ZodEffects<
z.ZodString,
$Flowgen$Import$_2e__2e__2f_helpers_2f_theme.BanxaTheme,
string
>
>,
returnUrl: z.ZodOptional<z.ZodString>,
...
},
"strip",
z.ZodTypeAny,
{
fiatType: "USD" | "EUR",
coinType: "ADA",
walletAddress: string,
orderType?: $Flowgen$Import$_2e__2e__2f_helpers_2f_order_2d_types.BanxaOrderType | void,
fiatAmount?: number | void,
coinAmount?: number | void,
blockchain?: "ADA" | void,
walletAddressTag?: string | void,
backgroundColor?: string | void,
primaryColor?: string | void,
secondaryColor?: string | void,
textColor?: string | void,
theme?: $Flowgen$Import$_2e__2e__2f_helpers_2f_theme.BanxaTheme | void,
returnUrl?: string | void,
...
},
{
fiatType: string,
coinType: string,
walletAddress: string,
orderType?: string | void,
fiatAmount?: number | void,
coinAmount?: number | void,
blockchain?: string | void,
walletAddressTag?: string | void,
backgroundColor?: string | void,
primaryColor?: string | void,
secondaryColor?: string | void,
textColor?: string | void,
theme?: string | void,
returnUrl?: string | void,
...
}
>,
{
fiatType: "USD" | "EUR",
coinType: "ADA",
walletAddress: string,
orderType?: $Flowgen$Import$_2e__2e__2f_helpers_2f_order_2d_types.BanxaOrderType | void,
fiatAmount?: number | void,
coinAmount?: number | void,
blockchain?: "ADA" | void,
walletAddressTag?: string | void,
backgroundColor?: string | void,
primaryColor?: string | void,
secondaryColor?: string | void,
textColor?: string | void,
theme?: $Flowgen$Import$_2e__2e__2f_helpers_2f_theme.BanxaTheme | void,
returnUrl?: string | void,
...
},
{
fiatType: string,
coinType: string,
walletAddress: string,
orderType?: string | void,
fiatAmount?: number | void,
coinAmount?: number | void,
blockchain?: string | void,
walletAddressTag?: string | void,
backgroundColor?: string | void,
primaryColor?: string | void,
secondaryColor?: string | void,
textColor?: string | void,
theme?: string | void,
returnUrl?: string | void,
...
}
>;