import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { InvoiceStatus } from "./invoice-status.js"; import { InvoiceType } from "./invoice-type.js"; import { PaymentStatus } from "./payment-status.js"; import { SDKValidationError } from "./sdk-validation-error.js"; import { WebhookDtoCustomer } from "./webhook-dto-customer.js"; import { WebhookDtoInvoiceLineItem } from "./webhook-dto-invoice-line-item.js"; import { WebhookDtoSubscription } from "./webhook-dto-subscription.js"; export type WebhookDtoInvoice = { amountDue?: string | undefined; amountPaid?: string | undefined; amountRemaining?: string | undefined; billingReason?: string | undefined; currency?: string | undefined; customer?: WebhookDtoCustomer | undefined; customerId?: string | undefined; dueDate?: Date | undefined; environmentId?: string | undefined; finalizedAt?: Date | undefined; id?: string | undefined; invoiceNumber?: string | undefined; invoicePdfUrl?: string | undefined; invoiceStatus?: InvoiceStatus | undefined; invoiceType?: InvoiceType | undefined; lineItems?: Array | undefined; metadata?: { [k: string]: string; } | undefined; paidAt?: Date | undefined; paymentStatus?: PaymentStatus | undefined; periodEnd?: Date | undefined; periodStart?: Date | undefined; subscription?: WebhookDtoSubscription | undefined; subscriptionId?: string | undefined; subtotal?: string | undefined; total?: string | undefined; voidedAt?: Date | undefined; }; /** @internal */ export declare const WebhookDtoInvoice$inboundSchema: z.ZodMiniType; export declare function webhookDtoInvoiceFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=webhook-dto-invoice.d.ts.map