UNPKG

bitpay-sdk

Version:

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

99 lines (98 loc) 3.76 kB
import { z } from 'zod'; export declare const settlementLedgerEntryInterfaceSchema: z.ZodObject<{ invoiceData: z.ZodOptional<z.ZodObject<{ refundInfo: z.ZodOptional<z.ZodObject<{ supportRequest: z.ZodOptional<z.ZodString>; currency: z.ZodString; refundRequestEid: z.ZodOptional<z.ZodString>; amounts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>; }, "strip", z.ZodTypeAny, { currency: string; supportRequest?: string | undefined; amounts?: Record<string, number> | undefined; refundRequestEid?: string | undefined; }, { currency: string; supportRequest?: string | undefined; amounts?: Record<string, number> | undefined; refundRequestEid?: string | undefined; }>>; price: z.ZodNumber; orderId: z.ZodOptional<z.ZodString>; date: z.ZodOptional<z.ZodString>; currency: z.ZodOptional<z.ZodString>; transactionCurrency: z.ZodOptional<z.ZodString>; payoutPercentage: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>; }, "strip", z.ZodTypeAny, { price: number; currency?: string | undefined; date?: string | undefined; refundInfo?: { currency: string; supportRequest?: string | undefined; amounts?: Record<string, number> | undefined; refundRequestEid?: string | undefined; } | undefined; orderId?: string | undefined; transactionCurrency?: string | undefined; payoutPercentage?: Record<string, number> | undefined; }, { price: number; currency?: string | undefined; date?: string | undefined; refundInfo?: { currency: string; supportRequest?: string | undefined; amounts?: Record<string, number> | undefined; refundRequestEid?: string | undefined; } | undefined; orderId?: string | undefined; transactionCurrency?: string | undefined; payoutPercentage?: Record<string, number> | undefined; }>>; amount: z.ZodNumber; code: z.ZodOptional<z.ZodNumber>; invoiceId: z.ZodOptional<z.ZodString>; timestamp: z.ZodOptional<z.ZodString>; description: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { amount: number; code?: number | undefined; description?: string | undefined; timestamp?: string | undefined; invoiceId?: string | undefined; invoiceData?: { price: number; currency?: string | undefined; date?: string | undefined; refundInfo?: { currency: string; supportRequest?: string | undefined; amounts?: Record<string, number> | undefined; refundRequestEid?: string | undefined; } | undefined; orderId?: string | undefined; transactionCurrency?: string | undefined; payoutPercentage?: Record<string, number> | undefined; } | undefined; }, { amount: number; code?: number | undefined; description?: string | undefined; timestamp?: string | undefined; invoiceId?: string | undefined; invoiceData?: { price: number; currency?: string | undefined; date?: string | undefined; refundInfo?: { currency: string; supportRequest?: string | undefined; amounts?: Record<string, number> | undefined; refundRequestEid?: string | undefined; } | undefined; orderId?: string | undefined; transactionCurrency?: string | undefined; payoutPercentage?: Record<string, number> | undefined; } | undefined; }>;