bitpay-sdk
Version:
Complete version of the NodeJS library for the new cryptographically secure BitPay API
15 lines • 651 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.invoiceDataInterfaceSchema = void 0;
const zod_1 = require("zod");
const RefundInfo_zod_1 = require("./RefundInfo.zod");
exports.invoiceDataInterfaceSchema = zod_1.z.object({
refundInfo: RefundInfo_zod_1.refundInfoInterfaceSchema.optional(),
price: zod_1.z.number(),
orderId: zod_1.z.string().optional(),
date: zod_1.z.string().optional(),
currency: zod_1.z.string().optional(),
transactionCurrency: zod_1.z.string().optional(),
payoutPercentage: zod_1.z.record(zod_1.z.number()).optional()
});
//# sourceMappingURL=InvoiceData.zod.js.map