39 lines
3.3 KiB
TypeScript
39 lines
3.3 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import Decimal from "decimal.js";
|
|
export declare const ServiceLineTransactionCreateInputObjectSchema: z.ZodType<Prisma.ServiceLineTransactionCreateInput>;
|
|
export declare const ServiceLineTransactionCreateInputObjectZodSchema: 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>>;
|
|
serviceLine: z.ZodLazy<z.ZodType<Prisma.ServiceLineCreateNestedOneWithoutServiceLineTransactionsInput, z.ZodTypeDef, Prisma.ServiceLineCreateNestedOneWithoutServiceLineTransactionsInput>>;
|
|
}, "strict", z.ZodTypeAny, {
|
|
paidAmount: string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Decimal;
|
|
method: "OTHER" | "EFT" | "CHECK" | "CASH" | "CARD";
|
|
receivedDate: Date;
|
|
payment: Prisma.PaymentCreateNestedOneWithoutServiceLineTransactionsInput;
|
|
serviceLine: Prisma.ServiceLineCreateNestedOneWithoutServiceLineTransactionsInput;
|
|
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;
|
|
serviceLine: Prisma.ServiceLineCreateNestedOneWithoutServiceLineTransactionsInput;
|
|
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=ServiceLineTransactionCreateInput.schema.d.ts.map
|