UNPKG

bitpay-sdk

Version:

Complete version of the NodeJS library for the new cryptographically secure BitPay API

90 lines (89 loc) 2.97 kB
import { z } from 'zod'; export declare const walletInterfaceSchema: z.ZodObject<{ currencies: z.ZodOptional<z.ZodArray<z.ZodObject<{ qr: z.ZodOptional<z.ZodObject<{ type: z.ZodString; collapsed: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { type: string; collapsed?: string | undefined; }, { type: string; collapsed?: string | undefined; }>>; code: z.ZodString; p2p: z.ZodOptional<z.ZodBoolean>; dappBrowser: z.ZodOptional<z.ZodBoolean>; payPro: z.ZodOptional<z.ZodBoolean>; image: z.ZodOptional<z.ZodString>; withdrawalFee: z.ZodOptional<z.ZodString>; walletConnect: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { code: string; image?: string | undefined; qr?: { type: string; collapsed?: string | undefined; } | undefined; p2p?: boolean | undefined; dappBrowser?: boolean | undefined; payPro?: boolean | undefined; withdrawalFee?: string | undefined; walletConnect?: boolean | undefined; }, { code: string; image?: string | undefined; qr?: { type: string; collapsed?: string | undefined; } | undefined; p2p?: boolean | undefined; dappBrowser?: boolean | undefined; payPro?: boolean | undefined; withdrawalFee?: string | undefined; walletConnect?: boolean | undefined; }>, "many">>; key: z.ZodOptional<z.ZodString>; displayName: z.ZodOptional<z.ZodString>; avatar: z.ZodOptional<z.ZodString>; payPro: z.ZodOptional<z.ZodBoolean>; image: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { key?: string | undefined; image?: string | undefined; currencies?: { code: string; image?: string | undefined; qr?: { type: string; collapsed?: string | undefined; } | undefined; p2p?: boolean | undefined; dappBrowser?: boolean | undefined; payPro?: boolean | undefined; withdrawalFee?: string | undefined; walletConnect?: boolean | undefined; }[] | undefined; payPro?: boolean | undefined; displayName?: string | undefined; avatar?: string | undefined; }, { key?: string | undefined; image?: string | undefined; currencies?: { code: string; image?: string | undefined; qr?: { type: string; collapsed?: string | undefined; } | undefined; p2p?: boolean | undefined; dappBrowser?: boolean | undefined; payPro?: boolean | undefined; withdrawalFee?: string | undefined; walletConnect?: boolean | undefined; }[] | undefined; payPro?: boolean | undefined; displayName?: string | undefined; avatar?: string | undefined; }>;