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

54 lines
5.1 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import Decimal from "decimal.js";
export declare const PaymentUncheckedCreateWithoutServiceLinesInputObjectSchema: z.ZodType<Prisma.PaymentUncheckedCreateWithoutServiceLinesInput>;
export declare const PaymentUncheckedCreateWithoutServiceLinesInputObjectZodSchema: z.ZodObject<{
id: z.ZodOptional<z.ZodNumber>;
claimId: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
patientId: z.ZodNumber;
userId: z.ZodNumber;
updatedById: z.ZodNullable<z.ZodOptional<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>;
updatedAt: z.ZodOptional<z.ZodDate>;
serviceLineTransactions: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInput, z.ZodTypeDef, Prisma.ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInput>>>;
}, "strict", z.ZodTypeAny, {
userId: number;
patientId: number;
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;
id?: number | undefined;
notes?: string | null | undefined;
claimId?: number | null | 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.ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInput | undefined;
icn?: string | null | undefined;
updatedAt?: Date | undefined;
updatedById?: number | null | undefined;
}, {
userId: number;
patientId: number;
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;
id?: number | undefined;
notes?: string | null | undefined;
claimId?: number | null | 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.ServiceLineTransactionUncheckedCreateNestedManyWithoutPaymentInput | undefined;
icn?: string | null | undefined;
updatedAt?: Date | undefined;
updatedById?: number | null | undefined;
}>;
//# sourceMappingURL=PaymentUncheckedCreateWithoutServiceLinesInput.schema.d.ts.map