51 lines
5.5 KiB
TypeScript
51 lines
5.5 KiB
TypeScript
import * as z from 'zod';
|
|
import type { Prisma } from '../../../generated/prisma';
|
|
import Decimal from "decimal.js";
|
|
export declare const PaymentCreateWithoutPatientInputObjectSchema: z.ZodType<Prisma.PaymentCreateWithoutPatientInput>;
|
|
export declare const PaymentCreateWithoutPatientInputObjectZodSchema: 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>;
|
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
claim: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.ClaimCreateNestedOneWithoutPaymentInput, z.ZodTypeDef, Prisma.ClaimCreateNestedOneWithoutPaymentInput>>>;
|
|
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;
|
|
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;
|
|
updatedAt?: Date | undefined;
|
|
updatedBy?: Prisma.UserCreateNestedOneWithoutUpdatedPaymentsInput | undefined;
|
|
serviceLines?: Prisma.ServiceLineCreateNestedManyWithoutPaymentInput | undefined;
|
|
}, {
|
|
userId: 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;
|
|
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;
|
|
updatedAt?: Date | undefined;
|
|
updatedBy?: Prisma.UserCreateNestedOneWithoutUpdatedPaymentsInput | undefined;
|
|
serviceLines?: Prisma.ServiceLineCreateNestedManyWithoutPaymentInput | undefined;
|
|
}>;
|
|
//# sourceMappingURL=PaymentCreateWithoutPatientInput.schema.d.ts.map
|