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

75 lines
9.9 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
import Decimal from "decimal.js";
export declare const PaymentWhereInputObjectSchema: z.ZodType<Prisma.PaymentWhereInput>;
export declare const PaymentWhereInputObjectZodSchema: z.ZodObject<{
AND: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.PaymentWhereInput, z.ZodTypeDef, Prisma.PaymentWhereInput>>, z.ZodArray<z.ZodLazy<z.ZodType<Prisma.PaymentWhereInput, z.ZodTypeDef, Prisma.PaymentWhereInput>>, "many">]>>;
OR: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodType<Prisma.PaymentWhereInput, z.ZodTypeDef, Prisma.PaymentWhereInput>>, "many">>;
NOT: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.PaymentWhereInput, z.ZodTypeDef, Prisma.PaymentWhereInput>>, z.ZodArray<z.ZodLazy<z.ZodType<Prisma.PaymentWhereInput, z.ZodTypeDef, Prisma.PaymentWhereInput>>, "many">]>>;
id: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.IntFilter<never>, z.ZodTypeDef, Prisma.IntFilter<never>>>, z.ZodNumber]>>;
claimId: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.IntNullableFilter<never>, z.ZodTypeDef, Prisma.IntNullableFilter<never>>>, z.ZodNumber]>>>;
patientId: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.IntFilter<never>, z.ZodTypeDef, Prisma.IntFilter<never>>>, z.ZodNumber]>>;
userId: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.IntFilter<never>, z.ZodTypeDef, Prisma.IntFilter<never>>>, z.ZodNumber]>>;
updatedById: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.IntNullableFilter<never>, z.ZodTypeDef, Prisma.IntNullableFilter<never>>>, z.ZodNumber]>>>;
totalBilled: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.DecimalFilter<never>, z.ZodTypeDef, Prisma.DecimalFilter<never>>>, 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.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.DecimalFilter<never>, z.ZodTypeDef, Prisma.DecimalFilter<never>>>, 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.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.DecimalFilter<never>, z.ZodTypeDef, Prisma.DecimalFilter<never>>>, 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.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.DecimalFilter<never>, z.ZodTypeDef, Prisma.DecimalFilter<never>>>, 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.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.EnumPaymentStatusFilter<never>, z.ZodTypeDef, Prisma.EnumPaymentStatusFilter<never>>>, z.ZodEnum<["PENDING", "PARTIALLY_PAID", "PAID", "OVERPAID", "DENIED", "VOID"]>]>>;
notes: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.StringNullableFilter<never>, z.ZodTypeDef, Prisma.StringNullableFilter<never>>>, z.ZodString]>>>;
icn: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.StringNullableFilter<never>, z.ZodTypeDef, Prisma.StringNullableFilter<never>>>, z.ZodString]>>>;
createdAt: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.DateTimeFilter<never>, z.ZodTypeDef, Prisma.DateTimeFilter<never>>>, z.ZodDate]>>;
updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.DateTimeFilter<never>, z.ZodTypeDef, Prisma.DateTimeFilter<never>>>, z.ZodDate]>>;
claim: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.ClaimNullableScalarRelationFilter, z.ZodTypeDef, Prisma.ClaimNullableScalarRelationFilter>>, z.ZodLazy<z.ZodType<Prisma.ClaimWhereInput, z.ZodTypeDef, Prisma.ClaimWhereInput>>]>>;
patient: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.PatientScalarRelationFilter, z.ZodTypeDef, Prisma.PatientScalarRelationFilter>>, z.ZodLazy<z.ZodType<Prisma.PatientWhereInput, z.ZodTypeDef, Prisma.PatientWhereInput>>]>>;
updatedBy: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.UserNullableScalarRelationFilter, z.ZodTypeDef, Prisma.UserNullableScalarRelationFilter>>, z.ZodLazy<z.ZodType<Prisma.UserWhereInput, z.ZodTypeDef, Prisma.UserWhereInput>>]>>;
serviceLineTransactions: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.ServiceLineTransactionListRelationFilter, z.ZodTypeDef, Prisma.ServiceLineTransactionListRelationFilter>>>;
serviceLines: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.ServiceLineListRelationFilter, z.ZodTypeDef, Prisma.ServiceLineListRelationFilter>>>;
}, "strict", z.ZodTypeAny, {
status?: "PENDING" | "VOID" | "PARTIALLY_PAID" | "PAID" | "OVERPAID" | "DENIED" | Prisma.EnumPaymentStatusFilter<never> | undefined;
createdAt?: Date | Prisma.DateTimeFilter<never> | undefined;
id?: number | Prisma.IntFilter<never> | undefined;
userId?: number | Prisma.IntFilter<never> | undefined;
AND?: Prisma.PaymentWhereInput | Prisma.PaymentWhereInput[] | undefined;
OR?: Prisma.PaymentWhereInput[] | undefined;
NOT?: Prisma.PaymentWhereInput | Prisma.PaymentWhereInput[] | undefined;
patientId?: number | Prisma.IntFilter<never> | undefined;
patient?: Prisma.PatientWhereInput | Prisma.PatientScalarRelationFilter | undefined;
notes?: string | Prisma.StringNullableFilter<never> | null | undefined;
claimId?: number | Prisma.IntNullableFilter<never> | null | undefined;
claim?: Prisma.ClaimNullableScalarRelationFilter | Prisma.ClaimWhereInput | undefined;
totalBilled?: string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Decimal | Prisma.DecimalFilter<never> | undefined;
totalPaid?: string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Decimal | Prisma.DecimalFilter<never> | undefined;
totalAdjusted?: string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Decimal | Prisma.DecimalFilter<never> | undefined;
totalDue?: string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Decimal | Prisma.DecimalFilter<never> | undefined;
serviceLineTransactions?: Prisma.ServiceLineTransactionListRelationFilter | undefined;
icn?: string | Prisma.StringNullableFilter<never> | null | undefined;
updatedAt?: Date | Prisma.DateTimeFilter<never> | undefined;
updatedBy?: Prisma.UserNullableScalarRelationFilter | Prisma.UserWhereInput | undefined;
serviceLines?: Prisma.ServiceLineListRelationFilter | undefined;
updatedById?: number | Prisma.IntNullableFilter<never> | null | undefined;
}, {
status?: "PENDING" | "VOID" | "PARTIALLY_PAID" | "PAID" | "OVERPAID" | "DENIED" | Prisma.EnumPaymentStatusFilter<never> | undefined;
createdAt?: Date | Prisma.DateTimeFilter<never> | undefined;
id?: number | Prisma.IntFilter<never> | undefined;
userId?: number | Prisma.IntFilter<never> | undefined;
AND?: Prisma.PaymentWhereInput | Prisma.PaymentWhereInput[] | undefined;
OR?: Prisma.PaymentWhereInput[] | undefined;
NOT?: Prisma.PaymentWhereInput | Prisma.PaymentWhereInput[] | undefined;
patientId?: number | Prisma.IntFilter<never> | undefined;
patient?: Prisma.PatientWhereInput | Prisma.PatientScalarRelationFilter | undefined;
notes?: string | Prisma.StringNullableFilter<never> | null | undefined;
claimId?: number | Prisma.IntNullableFilter<never> | null | undefined;
claim?: Prisma.ClaimNullableScalarRelationFilter | Prisma.ClaimWhereInput | undefined;
totalBilled?: string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Decimal | Prisma.DecimalFilter<never> | undefined;
totalPaid?: string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Decimal | Prisma.DecimalFilter<never> | undefined;
totalAdjusted?: string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Decimal | Prisma.DecimalFilter<never> | undefined;
totalDue?: string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Decimal | Prisma.DecimalFilter<never> | undefined;
serviceLineTransactions?: Prisma.ServiceLineTransactionListRelationFilter | undefined;
icn?: string | Prisma.StringNullableFilter<never> | null | undefined;
updatedAt?: Date | Prisma.DateTimeFilter<never> | undefined;
updatedBy?: Prisma.UserNullableScalarRelationFilter | Prisma.UserWhereInput | undefined;
serviceLines?: Prisma.ServiceLineListRelationFilter | undefined;
updatedById?: number | Prisma.IntNullableFilter<never> | null | undefined;
}>;
//# sourceMappingURL=PaymentWhereInput.schema.d.ts.map