UNPKG

bitpay-sdk

Version:

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

100 lines (99 loc) 3.56 kB
import { z } from 'zod'; export declare const payoutInterfaceSchema: z.ZodObject<{ transactions: z.ZodOptional<z.ZodArray<z.ZodObject<{ txid: z.ZodString; amount: z.ZodNumber; date: z.ZodString; confirmations: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { date: string; amount: number; txid: string; confirmations?: number | undefined; }, { date: string; amount: number; txid: string; confirmations?: number | undefined; }>, "many">>; token: z.ZodOptional<z.ZodString>; amount: z.ZodOptional<z.ZodNumber>; currency: z.ZodOptional<z.ZodString>; effectiveDate: z.ZodOptional<z.ZodString>; dateExecuted: z.ZodOptional<z.ZodString>; ledgerCurrency: z.ZodOptional<z.ZodString>; accountId: z.ZodOptional<z.ZodString>; reference: z.ZodOptional<z.ZodString>; notificationEmail: z.ZodOptional<z.ZodString>; notificationURL: z.ZodOptional<z.ZodString>; email: z.ZodOptional<z.ZodString>; recipientId: z.ZodOptional<z.ZodString>; shopperId: z.ZodOptional<z.ZodString>; label: z.ZodOptional<z.ZodString>; message: z.ZodOptional<z.ZodString>; id: z.ZodOptional<z.ZodString>; status: z.ZodOptional<z.ZodString>; groupId: z.ZodOptional<z.ZodString>; requestDate: z.ZodOptional<z.ZodString>; exchangeRates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodNumber>>>; code: z.ZodOptional<z.ZodNumber>; ignoreEmails: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { currency?: string | undefined; code?: number | undefined; message?: string | undefined; id?: string | undefined; label?: string | undefined; email?: string | undefined; status?: string | undefined; token?: string | undefined; amount?: number | undefined; transactions?: { date: string; amount: number; txid: string; confirmations?: number | undefined; }[] | undefined; notificationURL?: string | undefined; notificationEmail?: string | undefined; exchangeRates?: Record<string, Record<string, number>> | undefined; requestDate?: string | undefined; reference?: string | undefined; effectiveDate?: string | undefined; dateExecuted?: string | undefined; ledgerCurrency?: string | undefined; accountId?: string | undefined; recipientId?: string | undefined; shopperId?: string | undefined; groupId?: string | undefined; ignoreEmails?: boolean | undefined; }, { currency?: string | undefined; code?: number | undefined; message?: string | undefined; id?: string | undefined; label?: string | undefined; email?: string | undefined; status?: string | undefined; token?: string | undefined; amount?: number | undefined; transactions?: { date: string; amount: number; txid: string; confirmations?: number | undefined; }[] | undefined; notificationURL?: string | undefined; notificationEmail?: string | undefined; exchangeRates?: Record<string, Record<string, number>> | undefined; requestDate?: string | undefined; reference?: string | undefined; effectiveDate?: string | undefined; dateExecuted?: string | undefined; ledgerCurrency?: string | undefined; accountId?: string | undefined; recipientId?: string | undefined; shopperId?: string | undefined; groupId?: string | undefined; ignoreEmails?: boolean | undefined; }>;