UNPKG

bitpay-sdk

Version:

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

123 lines (122 loc) 4.32 kB
import { z } from 'zod'; export declare const refundInterfaceSchema: z.ZodObject<{ params: z.ZodOptional<z.ZodObject<{ requesterType: z.ZodOptional<z.ZodString>; requesterEmail: z.ZodOptional<z.ZodString>; amount: z.ZodOptional<z.ZodNumber>; currency: z.ZodOptional<z.ZodString>; email: z.ZodOptional<z.ZodString>; purchaserNotifyEmail: z.ZodOptional<z.ZodString>; refundAddress: z.ZodOptional<z.ZodString>; supportRequestEid: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { currency?: string | undefined; email?: string | undefined; amount?: number | undefined; requesterType?: string | undefined; requesterEmail?: string | undefined; purchaserNotifyEmail?: string | undefined; refundAddress?: string | undefined; supportRequestEid?: string | undefined; }, { currency?: string | undefined; email?: string | undefined; amount?: number | undefined; requesterType?: string | undefined; requesterEmail?: string | undefined; purchaserNotifyEmail?: string | undefined; refundAddress?: string | undefined; supportRequestEid?: string | undefined; }>>; guid: z.ZodOptional<z.ZodString>; refundEmail: z.ZodOptional<z.ZodString>; amount: z.ZodNumber; currency: z.ZodString; token: z.ZodOptional<z.ZodString>; id: z.ZodString; requestDate: z.ZodString; status: z.ZodString; invoice: z.ZodString; supportRequest: z.ZodOptional<z.ZodString>; refundAddress: z.ZodOptional<z.ZodString>; txid: z.ZodOptional<z.ZodString>; type: z.ZodOptional<z.ZodString>; reference: z.ZodOptional<z.ZodString>; transactionCurrency: z.ZodString; transactionAmount: z.ZodNumber; transactionRefundFee: z.ZodNumber; lastRefundNotification: z.ZodOptional<z.ZodString>; notificationURL: z.ZodOptional<z.ZodString>; refundFee: z.ZodNumber; immediate: z.ZodBoolean; buyerPaysRefundFee: z.ZodBoolean; preview: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { currency: string; id: string; status: string; amount: number; transactionCurrency: string; requestDate: string; invoice: string; transactionAmount: number; transactionRefundFee: number; refundFee: number; immediate: boolean; buyerPaysRefundFee: boolean; type?: string | undefined; token?: string | undefined; guid?: string | undefined; params?: { currency?: string | undefined; email?: string | undefined; amount?: number | undefined; requesterType?: string | undefined; requesterEmail?: string | undefined; purchaserNotifyEmail?: string | undefined; refundAddress?: string | undefined; supportRequestEid?: string | undefined; } | undefined; txid?: string | undefined; supportRequest?: string | undefined; notificationURL?: string | undefined; refundAddress?: string | undefined; refundEmail?: string | undefined; reference?: string | undefined; lastRefundNotification?: string | undefined; preview?: boolean | undefined; }, { currency: string; id: string; status: string; amount: number; transactionCurrency: string; requestDate: string; invoice: string; transactionAmount: number; transactionRefundFee: number; refundFee: number; immediate: boolean; buyerPaysRefundFee: boolean; type?: string | undefined; token?: string | undefined; guid?: string | undefined; params?: { currency?: string | undefined; email?: string | undefined; amount?: number | undefined; requesterType?: string | undefined; requesterEmail?: string | undefined; purchaserNotifyEmail?: string | undefined; refundAddress?: string | undefined; supportRequestEid?: string | undefined; } | undefined; txid?: string | undefined; supportRequest?: string | undefined; notificationURL?: string | undefined; refundAddress?: string | undefined; refundEmail?: string | undefined; reference?: string | undefined; lastRefundNotification?: string | undefined; preview?: boolean | undefined; }>;