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

51 lines
5.6 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import Decimal from "decimal.js";
export declare const PaymentCreateInputObjectSchema: z.ZodType<Prisma.PaymentCreateInput>;
export declare const PaymentCreateInputObjectZodSchema: z.ZodObject<{
userId: z.ZodNumber;
totalBilled: 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>;
totalPaid: 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>>;
totalAdjusted: 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>>;
totalDue: 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>;
status: z.ZodOptional<z.ZodEnum<["PENDING", "PARTIALLY_PAID", "PAID", "OVERPAID", "DENIED", "VOID"]>>;
notes: z.ZodNullable<z.ZodOptional<z.ZodString>>;
icn: z.ZodNullable<z.ZodOptional<z.ZodString>>;
createdAt: z.ZodOptional<z.ZodDate>;
claim: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.ClaimCreateNestedOneWithoutPaymentInput, z.ZodTypeDef, Prisma.ClaimCreateNestedOneWithoutPaymentInput>>>;
patient: z.ZodLazy<z.ZodType<Prisma.PatientCreateNestedOneWithoutPaymentInput, z.ZodTypeDef, Prisma.PatientCreateNestedOneWithoutPaymentInput>>;
updatedBy: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.UserCreateNestedOneWithoutUpdatedPaymentsInput, z.ZodTypeDef, Prisma.UserCreateNestedOneWithoutUpdatedPaymentsInput>>>;
serviceLineTransactions: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.ServiceLineTransactionCreateNestedManyWithoutPaymentInput, z.ZodTypeDef, Prisma.ServiceLineTransactionCreateNestedManyWithoutPaymentInput>>>;
serviceLines: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.ServiceLineCreateNestedManyWithoutPaymentInput, z.ZodTypeDef, Prisma.ServiceLineCreateNestedManyWithoutPaymentInput>>>;
}, "strict", z.ZodTypeAny, {
userId: number;
patient: Prisma.PatientCreateNestedOneWithoutPaymentInput;
totalBilled: string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Decimal;
totalDue: string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Decimal;
status?: "PENDING" | "VOID" | "PARTIALLY_PAID" | "PAID" | "OVERPAID" | "DENIED" | undefined;
createdAt?: Date | undefined;
notes?: string | null | undefined;
claim?: Prisma.ClaimCreateNestedOneWithoutPaymentInput | undefined;
totalPaid?: string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Decimal | undefined;
totalAdjusted?: string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Decimal | undefined;
serviceLineTransactions?: Prisma.ServiceLineTransactionCreateNestedManyWithoutPaymentInput | undefined;
icn?: string | null | undefined;
updatedBy?: Prisma.UserCreateNestedOneWithoutUpdatedPaymentsInput | undefined;
serviceLines?: Prisma.ServiceLineCreateNestedManyWithoutPaymentInput | undefined;
}, {
userId: number;
patient: Prisma.PatientCreateNestedOneWithoutPaymentInput;
totalBilled: string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Decimal;
totalDue: string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Decimal;
status?: "PENDING" | "VOID" | "PARTIALLY_PAID" | "PAID" | "OVERPAID" | "DENIED" | undefined;
createdAt?: Date | undefined;
notes?: string | null | undefined;
claim?: Prisma.ClaimCreateNestedOneWithoutPaymentInput | undefined;
totalPaid?: string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Decimal | undefined;
totalAdjusted?: string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Decimal | undefined;
serviceLineTransactions?: Prisma.ServiceLineTransactionCreateNestedManyWithoutPaymentInput | undefined;
icn?: string | null | undefined;
updatedBy?: Prisma.UserCreateNestedOneWithoutUpdatedPaymentsInput | undefined;
serviceLines?: Prisma.ServiceLineCreateNestedManyWithoutPaymentInput | undefined;
}>;
//# sourceMappingURL=PaymentCreateInput.schema.d.ts.map