UNPKG

bitpay-sdk

Version:

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

26 lines 1.18 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.settlementInterfaceSchema = void 0; const zod_1 = require("zod"); const WithHoldings_zod_1 = require("./WithHoldings.zod"); const PayoutInfo_zod_1 = require("./PayoutInfo.zod"); const SettlementLedgerEntry_zod_1 = require("./SettlementLedgerEntry.zod"); exports.settlementInterfaceSchema = zod_1.z.object({ payoutInfo: PayoutInfo_zod_1.payoutInfoInterfaceSchema.optional(), withholdings: WithHoldings_zod_1.withHoldingsInterfaceSchema.array().optional(), ledgerEntries: SettlementLedgerEntry_zod_1.settlementLedgerEntryInterfaceSchema.array().optional(), id: zod_1.z.string().nullable(), accountId: zod_1.z.string().nullable(), currency: zod_1.z.string(), status: zod_1.z.string(), dateCreated: zod_1.z.string(), dateExecuted: zod_1.z.string(), openingDate: zod_1.z.string(), closingDate: zod_1.z.string(), openingBalance: zod_1.z.number(), ledgerEntriesSum: zod_1.z.number(), withholdingsSum: zod_1.z.number().optional(), totalAmount: zod_1.z.number(), token: zod_1.z.string().optional() }); //# sourceMappingURL=Settlement.zod.js.map