bitpay-sdk
Version:
Complete version of the NodeJS library for the new cryptographically secure BitPay API
63 lines (62 loc) • 2.17 kB
TypeScript
import { z } from 'zod';
export declare const refundWebhookSchema: z.ZodObject<{
amount: z.ZodNullable<z.ZodNumber>;
buyerPaysRefundFee: z.ZodNullable<z.ZodBoolean>;
currency: z.ZodNullable<z.ZodString>;
id: z.ZodNullable<z.ZodString>;
immediate: z.ZodNullable<z.ZodBoolean>;
invoice: z.ZodNullable<z.ZodString>;
lastRefundNotification: z.ZodNullable<z.ZodString>;
refundFee: z.ZodNullable<z.ZodNumber>;
requestDate: z.ZodNullable<z.ZodString>;
status: z.ZodNullable<z.ZodString>;
supportRequest: z.ZodNullable<z.ZodString>;
reference: z.ZodNullable<z.ZodString>;
guid: z.ZodNullable<z.ZodString>;
refundAddress: z.ZodNullable<z.ZodString>;
type: z.ZodNullable<z.ZodString>;
txid: z.ZodNullable<z.ZodString>;
transactionCurrency: z.ZodNullable<z.ZodString>;
transactionAmount: z.ZodNullable<z.ZodNumber>;
transactionRefundFee: z.ZodNullable<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
currency: string | null;
type: string | null;
id: string | null;
status: string | null;
guid: string | null;
amount: number | null;
txid: string | null;
supportRequest: string | null;
transactionCurrency: string | null;
refundAddress: string | null;
requestDate: string | null;
invoice: string | null;
reference: string | null;
transactionAmount: number | null;
transactionRefundFee: number | null;
lastRefundNotification: string | null;
refundFee: number | null;
immediate: boolean | null;
buyerPaysRefundFee: boolean | null;
}, {
currency: string | null;
type: string | null;
id: string | null;
status: string | null;
guid: string | null;
amount: number | null;
txid: string | null;
supportRequest: string | null;
transactionCurrency: string | null;
refundAddress: string | null;
requestDate: string | null;
invoice: string | null;
reference: string | null;
transactionAmount: number | null;
transactionRefundFee: number | null;
lastRefundNotification: string | null;
refundFee: number | null;
immediate: boolean | null;
buyerPaysRefundFee: boolean | null;
}>;