Files
DentalManagementMH06/packages/db/shared/schemas/variants/input/ServiceLineTransaction.input.d.ts

46 lines
1.5 KiB
TypeScript

import * as z from 'zod';
export declare const ServiceLineTransactionInputSchema: z.ZodObject<{
id: z.ZodNumber;
paymentId: z.ZodNumber;
serviceLineId: z.ZodNumber;
transactionId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
paidAmount: z.ZodNumber;
adjustedAmount: z.ZodNumber;
method: z.ZodEnum<["EFT", "CHECK", "CASH", "CARD", "OTHER"]>;
receivedDate: z.ZodDate;
payerName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
createdAt: z.ZodDate;
payment: z.ZodUnknown;
serviceLine: z.ZodUnknown;
}, "strict", z.ZodTypeAny, {
id: number;
createdAt: Date;
paymentId: number;
paidAmount: number;
adjustedAmount: number;
method: "OTHER" | "EFT" | "CHECK" | "CASH" | "CARD";
receivedDate: Date;
serviceLineId: number;
notes?: string | null | undefined;
transactionId?: string | null | undefined;
payerName?: string | null | undefined;
payment?: unknown;
serviceLine?: unknown;
}, {
id: number;
createdAt: Date;
paymentId: number;
paidAmount: number;
adjustedAmount: number;
method: "OTHER" | "EFT" | "CHECK" | "CASH" | "CARD";
receivedDate: Date;
serviceLineId: number;
notes?: string | null | undefined;
transactionId?: string | null | undefined;
payerName?: string | null | undefined;
payment?: unknown;
serviceLine?: unknown;
}>;
export type ServiceLineTransactionInputType = z.infer<typeof ServiceLineTransactionInputSchema>;
//# sourceMappingURL=ServiceLineTransaction.input.d.ts.map