Files
DentalManagementMHAprilgg/packages/db/shared/schemas/objects/ServiceLineTransactionCreateWithoutServiceLineInput.schema.d.ts
2026-04-04 22:13:55 -04:00

36 lines
3.1 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import Decimal from "decimal.js";
export declare const ServiceLineTransactionCreateWithoutServiceLineInputObjectSchema: z.ZodType<Prisma.ServiceLineTransactionCreateWithoutServiceLineInput>;
export declare const ServiceLineTransactionCreateWithoutServiceLineInputObjectZodSchema: z.ZodObject<{
transactionId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
paidAmount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodType<Decimal, z.ZodTypeDef, Decimal>, z.ZodType<Decimal, z.ZodTypeDef, Decimal>, z.ZodType<import("../../../generated/prisma/runtime/client").DecimalJsLike, z.ZodTypeDef, import("../../../generated/prisma/runtime/client").DecimalJsLike>]>, string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Decimal, string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Decimal>;
adjustedAmount: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodType<Decimal, z.ZodTypeDef, Decimal>, z.ZodType<Decimal, z.ZodTypeDef, Decimal>, z.ZodType<import("../../../generated/prisma/runtime/client").DecimalJsLike, z.ZodTypeDef, import("../../../generated/prisma/runtime/client").DecimalJsLike>]>, string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Decimal, string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Decimal>>;
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.ZodOptional<z.ZodDate>;
payment: z.ZodLazy<z.ZodType<Prisma.PaymentCreateNestedOneWithoutServiceLineTransactionsInput, z.ZodTypeDef, Prisma.PaymentCreateNestedOneWithoutServiceLineTransactionsInput>>;
}, "strict", z.ZodTypeAny, {
paidAmount: string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Decimal;
method: "OTHER" | "EFT" | "CHECK" | "CASH" | "CARD";
receivedDate: Date;
payment: Prisma.PaymentCreateNestedOneWithoutServiceLineTransactionsInput;
createdAt?: Date | undefined;
notes?: string | null | undefined;
transactionId?: string | null | undefined;
adjustedAmount?: string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Decimal | undefined;
payerName?: string | null | undefined;
}, {
paidAmount: string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Decimal;
method: "OTHER" | "EFT" | "CHECK" | "CASH" | "CARD";
receivedDate: Date;
payment: Prisma.PaymentCreateNestedOneWithoutServiceLineTransactionsInput;
createdAt?: Date | undefined;
notes?: string | null | undefined;
transactionId?: string | null | undefined;
adjustedAmount?: string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Decimal | undefined;
payerName?: string | null | undefined;
}>;
//# sourceMappingURL=ServiceLineTransactionCreateWithoutServiceLineInput.schema.d.ts.map