UNPKG

bitpay-sdk

Version:

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

94 lines (93 loc) 2.94 kB
import { z } from 'zod'; export declare const billInterfaceSchema: z.ZodObject<{ number: z.ZodString; currency: z.ZodString; email: z.ZodString; token: z.ZodOptional<z.ZodString>; name: z.ZodOptional<z.ZodString>; items: z.ZodArray<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodString>; price: z.ZodNumber; quantity: z.ZodNumber; }, "strip", z.ZodTypeAny, { price: number; quantity: number; id?: string | undefined; description?: string | undefined; }, { price: number; quantity: number; id?: string | undefined; description?: string | undefined; }>, "many">; address1: z.ZodOptional<z.ZodString>; address2: z.ZodOptional<z.ZodString>; city: z.ZodOptional<z.ZodString>; state: z.ZodOptional<z.ZodString>; zip: z.ZodOptional<z.ZodString>; country: z.ZodOptional<z.ZodString>; phone: z.ZodOptional<z.ZodString>; dueDate: z.ZodOptional<z.ZodString>; passProcessingFee: z.ZodOptional<z.ZodBoolean>; status: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; createdDate: z.ZodOptional<z.ZodString>; id: z.ZodOptional<z.ZodString>; merchant: z.ZodOptional<z.ZodString>; cc: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodTuple<[], null>]>; }, "strip", z.ZodTypeAny, { number: string; currency: string; email: string; items: { price: number; quantity: number; id?: string | undefined; description?: string | undefined; }[]; cc: string[] | []; name?: string | undefined; id?: string | undefined; state?: string | undefined; url?: string | undefined; country?: string | undefined; status?: string | undefined; token?: string | undefined; merchant?: string | undefined; address1?: string | undefined; address2?: string | undefined; city?: string | undefined; zip?: string | undefined; phone?: string | undefined; dueDate?: string | undefined; passProcessingFee?: boolean | undefined; createdDate?: string | undefined; }, { number: string; currency: string; email: string; items: { price: number; quantity: number; id?: string | undefined; description?: string | undefined; }[]; cc: string[] | []; name?: string | undefined; id?: string | undefined; state?: string | undefined; url?: string | undefined; country?: string | undefined; status?: string | undefined; token?: string | undefined; merchant?: string | undefined; address1?: string | undefined; address2?: string | undefined; city?: string | undefined; zip?: string | undefined; phone?: string | undefined; dueDate?: string | undefined; passProcessingFee?: boolean | undefined; createdDate?: string | undefined; }>;