fix: fix remote browser socket connection and related updates
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { AppointmentFileWhereInputObjectSchema as AppointmentFileWhereInputObjectSchema } from './AppointmentFileWhereInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => AppointmentFileWhereInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const AppointmentCountOutputTypeCountFilesArgsObjectSchema = makeSchema();
|
||||
export const AppointmentCountOutputTypeCountFilesArgsObjectZodSchema = makeSchema();
|
||||
@@ -1,11 +1,13 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { AppointmentCountOutputTypeCountProceduresArgsObjectSchema as AppointmentCountOutputTypeCountProceduresArgsObjectSchema } from './AppointmentCountOutputTypeCountProceduresArgs.schema';
|
||||
import { AppointmentCountOutputTypeCountClaimsArgsObjectSchema as AppointmentCountOutputTypeCountClaimsArgsObjectSchema } from './AppointmentCountOutputTypeCountClaimsArgs.schema'
|
||||
import { AppointmentCountOutputTypeCountClaimsArgsObjectSchema as AppointmentCountOutputTypeCountClaimsArgsObjectSchema } from './AppointmentCountOutputTypeCountClaimsArgs.schema';
|
||||
import { AppointmentCountOutputTypeCountFilesArgsObjectSchema as AppointmentCountOutputTypeCountFilesArgsObjectSchema } from './AppointmentCountOutputTypeCountFilesArgs.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
procedures: z.union([z.boolean(), z.lazy(() => AppointmentCountOutputTypeCountProceduresArgsObjectSchema)]).optional(),
|
||||
claims: z.union([z.boolean(), z.lazy(() => AppointmentCountOutputTypeCountClaimsArgsObjectSchema)]).optional()
|
||||
claims: z.union([z.boolean(), z.lazy(() => AppointmentCountOutputTypeCountClaimsArgsObjectSchema)]).optional(),
|
||||
files: z.union([z.boolean(), z.lazy(() => AppointmentCountOutputTypeCountFilesArgsObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const AppointmentCountOutputTypeSelectObjectSchema: z.ZodType<Prisma.AppointmentCountOutputTypeSelect> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentCountOutputTypeSelect>;
|
||||
export const AppointmentCountOutputTypeSelectObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -5,7 +5,8 @@ import { PatientCreateNestedOneWithoutAppointmentsInputObjectSchema as PatientCr
|
||||
import { UserCreateNestedOneWithoutAppointmentsInputObjectSchema as UserCreateNestedOneWithoutAppointmentsInputObjectSchema } from './UserCreateNestedOneWithoutAppointmentsInput.schema';
|
||||
import { StaffCreateNestedOneWithoutAppointmentsInputObjectSchema as StaffCreateNestedOneWithoutAppointmentsInputObjectSchema } from './StaffCreateNestedOneWithoutAppointmentsInput.schema';
|
||||
import { AppointmentProcedureCreateNestedManyWithoutAppointmentInputObjectSchema as AppointmentProcedureCreateNestedManyWithoutAppointmentInputObjectSchema } from './AppointmentProcedureCreateNestedManyWithoutAppointmentInput.schema';
|
||||
import { ClaimCreateNestedManyWithoutAppointmentInputObjectSchema as ClaimCreateNestedManyWithoutAppointmentInputObjectSchema } from './ClaimCreateNestedManyWithoutAppointmentInput.schema'
|
||||
import { ClaimCreateNestedManyWithoutAppointmentInputObjectSchema as ClaimCreateNestedManyWithoutAppointmentInputObjectSchema } from './ClaimCreateNestedManyWithoutAppointmentInput.schema';
|
||||
import { AppointmentFileCreateNestedManyWithoutAppointmentInputObjectSchema as AppointmentFileCreateNestedManyWithoutAppointmentInputObjectSchema } from './AppointmentFileCreateNestedManyWithoutAppointmentInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
title: z.string(),
|
||||
@@ -22,7 +23,8 @@ const makeSchema = () => z.object({
|
||||
user: z.lazy(() => UserCreateNestedOneWithoutAppointmentsInputObjectSchema),
|
||||
staff: z.lazy(() => StaffCreateNestedOneWithoutAppointmentsInputObjectSchema).optional(),
|
||||
procedures: z.lazy(() => AppointmentProcedureCreateNestedManyWithoutAppointmentInputObjectSchema).optional(),
|
||||
claims: z.lazy(() => ClaimCreateNestedManyWithoutAppointmentInputObjectSchema).optional()
|
||||
claims: z.lazy(() => ClaimCreateNestedManyWithoutAppointmentInputObjectSchema).optional(),
|
||||
files: z.lazy(() => AppointmentFileCreateNestedManyWithoutAppointmentInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const AppointmentCreateInputObjectSchema: z.ZodType<Prisma.AppointmentCreateInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentCreateInput>;
|
||||
export const AppointmentCreateInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { AppointmentCreateWithoutFilesInputObjectSchema as AppointmentCreateWithoutFilesInputObjectSchema } from './AppointmentCreateWithoutFilesInput.schema';
|
||||
import { AppointmentUncheckedCreateWithoutFilesInputObjectSchema as AppointmentUncheckedCreateWithoutFilesInputObjectSchema } from './AppointmentUncheckedCreateWithoutFilesInput.schema';
|
||||
import { AppointmentCreateOrConnectWithoutFilesInputObjectSchema as AppointmentCreateOrConnectWithoutFilesInputObjectSchema } from './AppointmentCreateOrConnectWithoutFilesInput.schema';
|
||||
import { AppointmentWhereUniqueInputObjectSchema as AppointmentWhereUniqueInputObjectSchema } from './AppointmentWhereUniqueInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => AppointmentCreateWithoutFilesInputObjectSchema), z.lazy(() => AppointmentUncheckedCreateWithoutFilesInputObjectSchema)]).optional(),
|
||||
connectOrCreate: z.lazy(() => AppointmentCreateOrConnectWithoutFilesInputObjectSchema).optional(),
|
||||
connect: z.lazy(() => AppointmentWhereUniqueInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const AppointmentCreateNestedOneWithoutFilesInputObjectSchema: z.ZodType<Prisma.AppointmentCreateNestedOneWithoutFilesInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentCreateNestedOneWithoutFilesInput>;
|
||||
export const AppointmentCreateNestedOneWithoutFilesInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { AppointmentWhereUniqueInputObjectSchema as AppointmentWhereUniqueInputObjectSchema } from './AppointmentWhereUniqueInput.schema';
|
||||
import { AppointmentCreateWithoutFilesInputObjectSchema as AppointmentCreateWithoutFilesInputObjectSchema } from './AppointmentCreateWithoutFilesInput.schema';
|
||||
import { AppointmentUncheckedCreateWithoutFilesInputObjectSchema as AppointmentUncheckedCreateWithoutFilesInputObjectSchema } from './AppointmentUncheckedCreateWithoutFilesInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => AppointmentWhereUniqueInputObjectSchema),
|
||||
create: z.union([z.lazy(() => AppointmentCreateWithoutFilesInputObjectSchema), z.lazy(() => AppointmentUncheckedCreateWithoutFilesInputObjectSchema)])
|
||||
}).strict();
|
||||
export const AppointmentCreateOrConnectWithoutFilesInputObjectSchema: z.ZodType<Prisma.AppointmentCreateOrConnectWithoutFilesInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentCreateOrConnectWithoutFilesInput>;
|
||||
export const AppointmentCreateOrConnectWithoutFilesInputObjectZodSchema = makeSchema();
|
||||
@@ -4,7 +4,8 @@ import { PatientStatusSchema } from '../enums/PatientStatus.schema';
|
||||
import { PatientCreateNestedOneWithoutAppointmentsInputObjectSchema as PatientCreateNestedOneWithoutAppointmentsInputObjectSchema } from './PatientCreateNestedOneWithoutAppointmentsInput.schema';
|
||||
import { UserCreateNestedOneWithoutAppointmentsInputObjectSchema as UserCreateNestedOneWithoutAppointmentsInputObjectSchema } from './UserCreateNestedOneWithoutAppointmentsInput.schema';
|
||||
import { StaffCreateNestedOneWithoutAppointmentsInputObjectSchema as StaffCreateNestedOneWithoutAppointmentsInputObjectSchema } from './StaffCreateNestedOneWithoutAppointmentsInput.schema';
|
||||
import { AppointmentProcedureCreateNestedManyWithoutAppointmentInputObjectSchema as AppointmentProcedureCreateNestedManyWithoutAppointmentInputObjectSchema } from './AppointmentProcedureCreateNestedManyWithoutAppointmentInput.schema'
|
||||
import { AppointmentProcedureCreateNestedManyWithoutAppointmentInputObjectSchema as AppointmentProcedureCreateNestedManyWithoutAppointmentInputObjectSchema } from './AppointmentProcedureCreateNestedManyWithoutAppointmentInput.schema';
|
||||
import { AppointmentFileCreateNestedManyWithoutAppointmentInputObjectSchema as AppointmentFileCreateNestedManyWithoutAppointmentInputObjectSchema } from './AppointmentFileCreateNestedManyWithoutAppointmentInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
title: z.string(),
|
||||
@@ -20,7 +21,8 @@ const makeSchema = () => z.object({
|
||||
patient: z.lazy(() => PatientCreateNestedOneWithoutAppointmentsInputObjectSchema),
|
||||
user: z.lazy(() => UserCreateNestedOneWithoutAppointmentsInputObjectSchema),
|
||||
staff: z.lazy(() => StaffCreateNestedOneWithoutAppointmentsInputObjectSchema).optional(),
|
||||
procedures: z.lazy(() => AppointmentProcedureCreateNestedManyWithoutAppointmentInputObjectSchema).optional()
|
||||
procedures: z.lazy(() => AppointmentProcedureCreateNestedManyWithoutAppointmentInputObjectSchema).optional(),
|
||||
files: z.lazy(() => AppointmentFileCreateNestedManyWithoutAppointmentInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const AppointmentCreateWithoutClaimsInputObjectSchema: z.ZodType<Prisma.AppointmentCreateWithoutClaimsInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentCreateWithoutClaimsInput>;
|
||||
export const AppointmentCreateWithoutClaimsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientStatusSchema } from '../enums/PatientStatus.schema';
|
||||
import { PatientCreateNestedOneWithoutAppointmentsInputObjectSchema as PatientCreateNestedOneWithoutAppointmentsInputObjectSchema } from './PatientCreateNestedOneWithoutAppointmentsInput.schema';
|
||||
import { UserCreateNestedOneWithoutAppointmentsInputObjectSchema as UserCreateNestedOneWithoutAppointmentsInputObjectSchema } from './UserCreateNestedOneWithoutAppointmentsInput.schema';
|
||||
import { StaffCreateNestedOneWithoutAppointmentsInputObjectSchema as StaffCreateNestedOneWithoutAppointmentsInputObjectSchema } from './StaffCreateNestedOneWithoutAppointmentsInput.schema';
|
||||
import { AppointmentProcedureCreateNestedManyWithoutAppointmentInputObjectSchema as AppointmentProcedureCreateNestedManyWithoutAppointmentInputObjectSchema } from './AppointmentProcedureCreateNestedManyWithoutAppointmentInput.schema';
|
||||
import { ClaimCreateNestedManyWithoutAppointmentInputObjectSchema as ClaimCreateNestedManyWithoutAppointmentInputObjectSchema } from './ClaimCreateNestedManyWithoutAppointmentInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
title: z.string(),
|
||||
date: z.coerce.date(),
|
||||
startTime: z.string(),
|
||||
endTime: z.string(),
|
||||
type: z.string(),
|
||||
notes: z.string().optional().nullable(),
|
||||
procedureCodeNotes: z.string().optional().nullable(),
|
||||
status: z.string().optional(),
|
||||
createdAt: z.coerce.date().optional(),
|
||||
eligibilityStatus: PatientStatusSchema.optional(),
|
||||
patient: z.lazy(() => PatientCreateNestedOneWithoutAppointmentsInputObjectSchema),
|
||||
user: z.lazy(() => UserCreateNestedOneWithoutAppointmentsInputObjectSchema),
|
||||
staff: z.lazy(() => StaffCreateNestedOneWithoutAppointmentsInputObjectSchema).optional(),
|
||||
procedures: z.lazy(() => AppointmentProcedureCreateNestedManyWithoutAppointmentInputObjectSchema).optional(),
|
||||
claims: z.lazy(() => ClaimCreateNestedManyWithoutAppointmentInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const AppointmentCreateWithoutFilesInputObjectSchema: z.ZodType<Prisma.AppointmentCreateWithoutFilesInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentCreateWithoutFilesInput>;
|
||||
export const AppointmentCreateWithoutFilesInputObjectZodSchema = makeSchema();
|
||||
@@ -4,7 +4,8 @@ import { PatientStatusSchema } from '../enums/PatientStatus.schema';
|
||||
import { UserCreateNestedOneWithoutAppointmentsInputObjectSchema as UserCreateNestedOneWithoutAppointmentsInputObjectSchema } from './UserCreateNestedOneWithoutAppointmentsInput.schema';
|
||||
import { StaffCreateNestedOneWithoutAppointmentsInputObjectSchema as StaffCreateNestedOneWithoutAppointmentsInputObjectSchema } from './StaffCreateNestedOneWithoutAppointmentsInput.schema';
|
||||
import { AppointmentProcedureCreateNestedManyWithoutAppointmentInputObjectSchema as AppointmentProcedureCreateNestedManyWithoutAppointmentInputObjectSchema } from './AppointmentProcedureCreateNestedManyWithoutAppointmentInput.schema';
|
||||
import { ClaimCreateNestedManyWithoutAppointmentInputObjectSchema as ClaimCreateNestedManyWithoutAppointmentInputObjectSchema } from './ClaimCreateNestedManyWithoutAppointmentInput.schema'
|
||||
import { ClaimCreateNestedManyWithoutAppointmentInputObjectSchema as ClaimCreateNestedManyWithoutAppointmentInputObjectSchema } from './ClaimCreateNestedManyWithoutAppointmentInput.schema';
|
||||
import { AppointmentFileCreateNestedManyWithoutAppointmentInputObjectSchema as AppointmentFileCreateNestedManyWithoutAppointmentInputObjectSchema } from './AppointmentFileCreateNestedManyWithoutAppointmentInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
title: z.string(),
|
||||
@@ -20,7 +21,8 @@ const makeSchema = () => z.object({
|
||||
user: z.lazy(() => UserCreateNestedOneWithoutAppointmentsInputObjectSchema),
|
||||
staff: z.lazy(() => StaffCreateNestedOneWithoutAppointmentsInputObjectSchema).optional(),
|
||||
procedures: z.lazy(() => AppointmentProcedureCreateNestedManyWithoutAppointmentInputObjectSchema).optional(),
|
||||
claims: z.lazy(() => ClaimCreateNestedManyWithoutAppointmentInputObjectSchema).optional()
|
||||
claims: z.lazy(() => ClaimCreateNestedManyWithoutAppointmentInputObjectSchema).optional(),
|
||||
files: z.lazy(() => AppointmentFileCreateNestedManyWithoutAppointmentInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const AppointmentCreateWithoutPatientInputObjectSchema: z.ZodType<Prisma.AppointmentCreateWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentCreateWithoutPatientInput>;
|
||||
export const AppointmentCreateWithoutPatientInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -4,7 +4,8 @@ import { PatientStatusSchema } from '../enums/PatientStatus.schema';
|
||||
import { PatientCreateNestedOneWithoutAppointmentsInputObjectSchema as PatientCreateNestedOneWithoutAppointmentsInputObjectSchema } from './PatientCreateNestedOneWithoutAppointmentsInput.schema';
|
||||
import { UserCreateNestedOneWithoutAppointmentsInputObjectSchema as UserCreateNestedOneWithoutAppointmentsInputObjectSchema } from './UserCreateNestedOneWithoutAppointmentsInput.schema';
|
||||
import { StaffCreateNestedOneWithoutAppointmentsInputObjectSchema as StaffCreateNestedOneWithoutAppointmentsInputObjectSchema } from './StaffCreateNestedOneWithoutAppointmentsInput.schema';
|
||||
import { ClaimCreateNestedManyWithoutAppointmentInputObjectSchema as ClaimCreateNestedManyWithoutAppointmentInputObjectSchema } from './ClaimCreateNestedManyWithoutAppointmentInput.schema'
|
||||
import { ClaimCreateNestedManyWithoutAppointmentInputObjectSchema as ClaimCreateNestedManyWithoutAppointmentInputObjectSchema } from './ClaimCreateNestedManyWithoutAppointmentInput.schema';
|
||||
import { AppointmentFileCreateNestedManyWithoutAppointmentInputObjectSchema as AppointmentFileCreateNestedManyWithoutAppointmentInputObjectSchema } from './AppointmentFileCreateNestedManyWithoutAppointmentInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
title: z.string(),
|
||||
@@ -20,7 +21,8 @@ const makeSchema = () => z.object({
|
||||
patient: z.lazy(() => PatientCreateNestedOneWithoutAppointmentsInputObjectSchema),
|
||||
user: z.lazy(() => UserCreateNestedOneWithoutAppointmentsInputObjectSchema),
|
||||
staff: z.lazy(() => StaffCreateNestedOneWithoutAppointmentsInputObjectSchema).optional(),
|
||||
claims: z.lazy(() => ClaimCreateNestedManyWithoutAppointmentInputObjectSchema).optional()
|
||||
claims: z.lazy(() => ClaimCreateNestedManyWithoutAppointmentInputObjectSchema).optional(),
|
||||
files: z.lazy(() => AppointmentFileCreateNestedManyWithoutAppointmentInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const AppointmentCreateWithoutProceduresInputObjectSchema: z.ZodType<Prisma.AppointmentCreateWithoutProceduresInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentCreateWithoutProceduresInput>;
|
||||
export const AppointmentCreateWithoutProceduresInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -4,7 +4,8 @@ import { PatientStatusSchema } from '../enums/PatientStatus.schema';
|
||||
import { PatientCreateNestedOneWithoutAppointmentsInputObjectSchema as PatientCreateNestedOneWithoutAppointmentsInputObjectSchema } from './PatientCreateNestedOneWithoutAppointmentsInput.schema';
|
||||
import { UserCreateNestedOneWithoutAppointmentsInputObjectSchema as UserCreateNestedOneWithoutAppointmentsInputObjectSchema } from './UserCreateNestedOneWithoutAppointmentsInput.schema';
|
||||
import { AppointmentProcedureCreateNestedManyWithoutAppointmentInputObjectSchema as AppointmentProcedureCreateNestedManyWithoutAppointmentInputObjectSchema } from './AppointmentProcedureCreateNestedManyWithoutAppointmentInput.schema';
|
||||
import { ClaimCreateNestedManyWithoutAppointmentInputObjectSchema as ClaimCreateNestedManyWithoutAppointmentInputObjectSchema } from './ClaimCreateNestedManyWithoutAppointmentInput.schema'
|
||||
import { ClaimCreateNestedManyWithoutAppointmentInputObjectSchema as ClaimCreateNestedManyWithoutAppointmentInputObjectSchema } from './ClaimCreateNestedManyWithoutAppointmentInput.schema';
|
||||
import { AppointmentFileCreateNestedManyWithoutAppointmentInputObjectSchema as AppointmentFileCreateNestedManyWithoutAppointmentInputObjectSchema } from './AppointmentFileCreateNestedManyWithoutAppointmentInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
title: z.string(),
|
||||
@@ -20,7 +21,8 @@ const makeSchema = () => z.object({
|
||||
patient: z.lazy(() => PatientCreateNestedOneWithoutAppointmentsInputObjectSchema),
|
||||
user: z.lazy(() => UserCreateNestedOneWithoutAppointmentsInputObjectSchema),
|
||||
procedures: z.lazy(() => AppointmentProcedureCreateNestedManyWithoutAppointmentInputObjectSchema).optional(),
|
||||
claims: z.lazy(() => ClaimCreateNestedManyWithoutAppointmentInputObjectSchema).optional()
|
||||
claims: z.lazy(() => ClaimCreateNestedManyWithoutAppointmentInputObjectSchema).optional(),
|
||||
files: z.lazy(() => AppointmentFileCreateNestedManyWithoutAppointmentInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const AppointmentCreateWithoutStaffInputObjectSchema: z.ZodType<Prisma.AppointmentCreateWithoutStaffInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentCreateWithoutStaffInput>;
|
||||
export const AppointmentCreateWithoutStaffInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -4,7 +4,8 @@ import { PatientStatusSchema } from '../enums/PatientStatus.schema';
|
||||
import { PatientCreateNestedOneWithoutAppointmentsInputObjectSchema as PatientCreateNestedOneWithoutAppointmentsInputObjectSchema } from './PatientCreateNestedOneWithoutAppointmentsInput.schema';
|
||||
import { StaffCreateNestedOneWithoutAppointmentsInputObjectSchema as StaffCreateNestedOneWithoutAppointmentsInputObjectSchema } from './StaffCreateNestedOneWithoutAppointmentsInput.schema';
|
||||
import { AppointmentProcedureCreateNestedManyWithoutAppointmentInputObjectSchema as AppointmentProcedureCreateNestedManyWithoutAppointmentInputObjectSchema } from './AppointmentProcedureCreateNestedManyWithoutAppointmentInput.schema';
|
||||
import { ClaimCreateNestedManyWithoutAppointmentInputObjectSchema as ClaimCreateNestedManyWithoutAppointmentInputObjectSchema } from './ClaimCreateNestedManyWithoutAppointmentInput.schema'
|
||||
import { ClaimCreateNestedManyWithoutAppointmentInputObjectSchema as ClaimCreateNestedManyWithoutAppointmentInputObjectSchema } from './ClaimCreateNestedManyWithoutAppointmentInput.schema';
|
||||
import { AppointmentFileCreateNestedManyWithoutAppointmentInputObjectSchema as AppointmentFileCreateNestedManyWithoutAppointmentInputObjectSchema } from './AppointmentFileCreateNestedManyWithoutAppointmentInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
title: z.string(),
|
||||
@@ -20,7 +21,8 @@ const makeSchema = () => z.object({
|
||||
patient: z.lazy(() => PatientCreateNestedOneWithoutAppointmentsInputObjectSchema),
|
||||
staff: z.lazy(() => StaffCreateNestedOneWithoutAppointmentsInputObjectSchema).optional(),
|
||||
procedures: z.lazy(() => AppointmentProcedureCreateNestedManyWithoutAppointmentInputObjectSchema).optional(),
|
||||
claims: z.lazy(() => ClaimCreateNestedManyWithoutAppointmentInputObjectSchema).optional()
|
||||
claims: z.lazy(() => ClaimCreateNestedManyWithoutAppointmentInputObjectSchema).optional(),
|
||||
files: z.lazy(() => AppointmentFileCreateNestedManyWithoutAppointmentInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const AppointmentCreateWithoutUserInputObjectSchema: z.ZodType<Prisma.AppointmentCreateWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentCreateWithoutUserInput>;
|
||||
export const AppointmentCreateWithoutUserInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { AppointmentFileSelectObjectSchema as AppointmentFileSelectObjectSchema } from './AppointmentFileSelect.schema';
|
||||
import { AppointmentFileIncludeObjectSchema as AppointmentFileIncludeObjectSchema } from './AppointmentFileInclude.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
select: z.lazy(() => AppointmentFileSelectObjectSchema).optional(),
|
||||
include: z.lazy(() => AppointmentFileIncludeObjectSchema).optional()
|
||||
}).strict();
|
||||
export const AppointmentFileArgsObjectSchema = makeSchema();
|
||||
export const AppointmentFileArgsObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,10 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.literal(true).optional(),
|
||||
appointmentId: z.literal(true).optional()
|
||||
}).strict();
|
||||
export const AppointmentFileAvgAggregateInputObjectSchema: z.ZodType<Prisma.AppointmentFileAvgAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileAvgAggregateInputType>;
|
||||
export const AppointmentFileAvgAggregateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,10 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { SortOrderSchema } from '../enums/SortOrder.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: SortOrderSchema.optional(),
|
||||
appointmentId: SortOrderSchema.optional()
|
||||
}).strict();
|
||||
export const AppointmentFileAvgOrderByAggregateInputObjectSchema: z.ZodType<Prisma.AppointmentFileAvgOrderByAggregateInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileAvgOrderByAggregateInput>;
|
||||
export const AppointmentFileAvgOrderByAggregateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.literal(true).optional(),
|
||||
appointmentId: z.literal(true).optional(),
|
||||
filename: z.literal(true).optional(),
|
||||
mimeType: z.literal(true).optional(),
|
||||
filePath: z.literal(true).optional(),
|
||||
_all: z.literal(true).optional()
|
||||
}).strict();
|
||||
export const AppointmentFileCountAggregateInputObjectSchema: z.ZodType<Prisma.AppointmentFileCountAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileCountAggregateInputType>;
|
||||
export const AppointmentFileCountAggregateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,13 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { SortOrderSchema } from '../enums/SortOrder.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: SortOrderSchema.optional(),
|
||||
appointmentId: SortOrderSchema.optional(),
|
||||
filename: SortOrderSchema.optional(),
|
||||
mimeType: SortOrderSchema.optional(),
|
||||
filePath: SortOrderSchema.optional()
|
||||
}).strict();
|
||||
export const AppointmentFileCountOrderByAggregateInputObjectSchema: z.ZodType<Prisma.AppointmentFileCountOrderByAggregateInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileCountOrderByAggregateInput>;
|
||||
export const AppointmentFileCountOrderByAggregateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { AppointmentCreateNestedOneWithoutFilesInputObjectSchema as AppointmentCreateNestedOneWithoutFilesInputObjectSchema } from './AppointmentCreateNestedOneWithoutFilesInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
filename: z.string(),
|
||||
mimeType: z.string().optional().nullable(),
|
||||
filePath: z.string().optional().nullable(),
|
||||
appointment: z.lazy(() => AppointmentCreateNestedOneWithoutFilesInputObjectSchema)
|
||||
}).strict();
|
||||
export const AppointmentFileCreateInputObjectSchema: z.ZodType<Prisma.AppointmentFileCreateInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileCreateInput>;
|
||||
export const AppointmentFileCreateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
filename: z.string(),
|
||||
mimeType: z.string().optional().nullable(),
|
||||
filePath: z.string().optional().nullable()
|
||||
}).strict();
|
||||
export const AppointmentFileCreateManyAppointmentInputObjectSchema: z.ZodType<Prisma.AppointmentFileCreateManyAppointmentInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileCreateManyAppointmentInput>;
|
||||
export const AppointmentFileCreateManyAppointmentInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,10 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { AppointmentFileCreateManyAppointmentInputObjectSchema as AppointmentFileCreateManyAppointmentInputObjectSchema } from './AppointmentFileCreateManyAppointmentInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
data: z.union([z.lazy(() => AppointmentFileCreateManyAppointmentInputObjectSchema), z.lazy(() => AppointmentFileCreateManyAppointmentInputObjectSchema).array()]),
|
||||
skipDuplicates: z.boolean().optional()
|
||||
}).strict();
|
||||
export const AppointmentFileCreateManyAppointmentInputEnvelopeObjectSchema: z.ZodType<Prisma.AppointmentFileCreateManyAppointmentInputEnvelope> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileCreateManyAppointmentInputEnvelope>;
|
||||
export const AppointmentFileCreateManyAppointmentInputEnvelopeObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,13 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
appointmentId: z.number().int(),
|
||||
filename: z.string(),
|
||||
mimeType: z.string().optional().nullable(),
|
||||
filePath: z.string().optional().nullable()
|
||||
}).strict();
|
||||
export const AppointmentFileCreateManyInputObjectSchema: z.ZodType<Prisma.AppointmentFileCreateManyInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileCreateManyInput>;
|
||||
export const AppointmentFileCreateManyInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,16 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { AppointmentFileCreateWithoutAppointmentInputObjectSchema as AppointmentFileCreateWithoutAppointmentInputObjectSchema } from './AppointmentFileCreateWithoutAppointmentInput.schema';
|
||||
import { AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema as AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema } from './AppointmentFileUncheckedCreateWithoutAppointmentInput.schema';
|
||||
import { AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema as AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema } from './AppointmentFileCreateOrConnectWithoutAppointmentInput.schema';
|
||||
import { AppointmentFileCreateManyAppointmentInputEnvelopeObjectSchema as AppointmentFileCreateManyAppointmentInputEnvelopeObjectSchema } from './AppointmentFileCreateManyAppointmentInputEnvelope.schema';
|
||||
import { AppointmentFileWhereUniqueInputObjectSchema as AppointmentFileWhereUniqueInputObjectSchema } from './AppointmentFileWhereUniqueInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => AppointmentFileCreateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileCreateWithoutAppointmentInputObjectSchema).array(), z.lazy(() => AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema).array()]).optional(),
|
||||
connectOrCreate: z.union([z.lazy(() => AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema).array()]).optional(),
|
||||
createMany: z.lazy(() => AppointmentFileCreateManyAppointmentInputEnvelopeObjectSchema).optional(),
|
||||
connect: z.union([z.lazy(() => AppointmentFileWhereUniqueInputObjectSchema), z.lazy(() => AppointmentFileWhereUniqueInputObjectSchema).array()]).optional()
|
||||
}).strict();
|
||||
export const AppointmentFileCreateNestedManyWithoutAppointmentInputObjectSchema: z.ZodType<Prisma.AppointmentFileCreateNestedManyWithoutAppointmentInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileCreateNestedManyWithoutAppointmentInput>;
|
||||
export const AppointmentFileCreateNestedManyWithoutAppointmentInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { AppointmentFileWhereUniqueInputObjectSchema as AppointmentFileWhereUniqueInputObjectSchema } from './AppointmentFileWhereUniqueInput.schema';
|
||||
import { AppointmentFileCreateWithoutAppointmentInputObjectSchema as AppointmentFileCreateWithoutAppointmentInputObjectSchema } from './AppointmentFileCreateWithoutAppointmentInput.schema';
|
||||
import { AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema as AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema } from './AppointmentFileUncheckedCreateWithoutAppointmentInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => AppointmentFileWhereUniqueInputObjectSchema),
|
||||
create: z.union([z.lazy(() => AppointmentFileCreateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema)])
|
||||
}).strict();
|
||||
export const AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema: z.ZodType<Prisma.AppointmentFileCreateOrConnectWithoutAppointmentInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileCreateOrConnectWithoutAppointmentInput>;
|
||||
export const AppointmentFileCreateOrConnectWithoutAppointmentInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,11 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
filename: z.string(),
|
||||
mimeType: z.string().optional().nullable(),
|
||||
filePath: z.string().optional().nullable()
|
||||
}).strict();
|
||||
export const AppointmentFileCreateWithoutAppointmentInputObjectSchema: z.ZodType<Prisma.AppointmentFileCreateWithoutAppointmentInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileCreateWithoutAppointmentInput>;
|
||||
export const AppointmentFileCreateWithoutAppointmentInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,9 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { AppointmentArgsObjectSchema as AppointmentArgsObjectSchema } from './AppointmentArgs.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
appointment: z.union([z.boolean(), z.lazy(() => AppointmentArgsObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const AppointmentFileIncludeObjectSchema: z.ZodType<Prisma.AppointmentFileInclude> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileInclude>;
|
||||
export const AppointmentFileIncludeObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,11 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { AppointmentFileWhereInputObjectSchema as AppointmentFileWhereInputObjectSchema } from './AppointmentFileWhereInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
every: z.lazy(() => AppointmentFileWhereInputObjectSchema).optional(),
|
||||
some: z.lazy(() => AppointmentFileWhereInputObjectSchema).optional(),
|
||||
none: z.lazy(() => AppointmentFileWhereInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const AppointmentFileListRelationFilterObjectSchema: z.ZodType<Prisma.AppointmentFileListRelationFilter> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileListRelationFilter>;
|
||||
export const AppointmentFileListRelationFilterObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,13 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.literal(true).optional(),
|
||||
appointmentId: z.literal(true).optional(),
|
||||
filename: z.literal(true).optional(),
|
||||
mimeType: z.literal(true).optional(),
|
||||
filePath: z.literal(true).optional()
|
||||
}).strict();
|
||||
export const AppointmentFileMaxAggregateInputObjectSchema: z.ZodType<Prisma.AppointmentFileMaxAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileMaxAggregateInputType>;
|
||||
export const AppointmentFileMaxAggregateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,13 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { SortOrderSchema } from '../enums/SortOrder.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: SortOrderSchema.optional(),
|
||||
appointmentId: SortOrderSchema.optional(),
|
||||
filename: SortOrderSchema.optional(),
|
||||
mimeType: SortOrderSchema.optional(),
|
||||
filePath: SortOrderSchema.optional()
|
||||
}).strict();
|
||||
export const AppointmentFileMaxOrderByAggregateInputObjectSchema: z.ZodType<Prisma.AppointmentFileMaxOrderByAggregateInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileMaxOrderByAggregateInput>;
|
||||
export const AppointmentFileMaxOrderByAggregateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,13 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.literal(true).optional(),
|
||||
appointmentId: z.literal(true).optional(),
|
||||
filename: z.literal(true).optional(),
|
||||
mimeType: z.literal(true).optional(),
|
||||
filePath: z.literal(true).optional()
|
||||
}).strict();
|
||||
export const AppointmentFileMinAggregateInputObjectSchema: z.ZodType<Prisma.AppointmentFileMinAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileMinAggregateInputType>;
|
||||
export const AppointmentFileMinAggregateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,13 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { SortOrderSchema } from '../enums/SortOrder.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: SortOrderSchema.optional(),
|
||||
appointmentId: SortOrderSchema.optional(),
|
||||
filename: SortOrderSchema.optional(),
|
||||
mimeType: SortOrderSchema.optional(),
|
||||
filePath: SortOrderSchema.optional()
|
||||
}).strict();
|
||||
export const AppointmentFileMinOrderByAggregateInputObjectSchema: z.ZodType<Prisma.AppointmentFileMinOrderByAggregateInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileMinOrderByAggregateInput>;
|
||||
export const AppointmentFileMinOrderByAggregateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,9 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { SortOrderSchema } from '../enums/SortOrder.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
_count: SortOrderSchema.optional()
|
||||
}).strict();
|
||||
export const AppointmentFileOrderByRelationAggregateInputObjectSchema: z.ZodType<Prisma.AppointmentFileOrderByRelationAggregateInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileOrderByRelationAggregateInput>;
|
||||
export const AppointmentFileOrderByRelationAggregateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,24 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { SortOrderSchema } from '../enums/SortOrder.schema';
|
||||
import { SortOrderInputObjectSchema as SortOrderInputObjectSchema } from './SortOrderInput.schema';
|
||||
import { AppointmentFileCountOrderByAggregateInputObjectSchema as AppointmentFileCountOrderByAggregateInputObjectSchema } from './AppointmentFileCountOrderByAggregateInput.schema';
|
||||
import { AppointmentFileAvgOrderByAggregateInputObjectSchema as AppointmentFileAvgOrderByAggregateInputObjectSchema } from './AppointmentFileAvgOrderByAggregateInput.schema';
|
||||
import { AppointmentFileMaxOrderByAggregateInputObjectSchema as AppointmentFileMaxOrderByAggregateInputObjectSchema } from './AppointmentFileMaxOrderByAggregateInput.schema';
|
||||
import { AppointmentFileMinOrderByAggregateInputObjectSchema as AppointmentFileMinOrderByAggregateInputObjectSchema } from './AppointmentFileMinOrderByAggregateInput.schema';
|
||||
import { AppointmentFileSumOrderByAggregateInputObjectSchema as AppointmentFileSumOrderByAggregateInputObjectSchema } from './AppointmentFileSumOrderByAggregateInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: SortOrderSchema.optional(),
|
||||
appointmentId: SortOrderSchema.optional(),
|
||||
filename: SortOrderSchema.optional(),
|
||||
mimeType: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
|
||||
filePath: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
|
||||
_count: z.lazy(() => AppointmentFileCountOrderByAggregateInputObjectSchema).optional(),
|
||||
_avg: z.lazy(() => AppointmentFileAvgOrderByAggregateInputObjectSchema).optional(),
|
||||
_max: z.lazy(() => AppointmentFileMaxOrderByAggregateInputObjectSchema).optional(),
|
||||
_min: z.lazy(() => AppointmentFileMinOrderByAggregateInputObjectSchema).optional(),
|
||||
_sum: z.lazy(() => AppointmentFileSumOrderByAggregateInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const AppointmentFileOrderByWithAggregationInputObjectSchema: z.ZodType<Prisma.AppointmentFileOrderByWithAggregationInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileOrderByWithAggregationInput>;
|
||||
export const AppointmentFileOrderByWithAggregationInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,16 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { SortOrderSchema } from '../enums/SortOrder.schema';
|
||||
import { SortOrderInputObjectSchema as SortOrderInputObjectSchema } from './SortOrderInput.schema';
|
||||
import { AppointmentOrderByWithRelationInputObjectSchema as AppointmentOrderByWithRelationInputObjectSchema } from './AppointmentOrderByWithRelationInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: SortOrderSchema.optional(),
|
||||
appointmentId: SortOrderSchema.optional(),
|
||||
filename: SortOrderSchema.optional(),
|
||||
mimeType: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
|
||||
filePath: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
|
||||
appointment: z.lazy(() => AppointmentOrderByWithRelationInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const AppointmentFileOrderByWithRelationInputObjectSchema: z.ZodType<Prisma.AppointmentFileOrderByWithRelationInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileOrderByWithRelationInput>;
|
||||
export const AppointmentFileOrderByWithRelationInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,18 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { IntFilterObjectSchema as IntFilterObjectSchema } from './IntFilter.schema';
|
||||
import { StringFilterObjectSchema as StringFilterObjectSchema } from './StringFilter.schema';
|
||||
import { StringNullableFilterObjectSchema as StringNullableFilterObjectSchema } from './StringNullableFilter.schema'
|
||||
|
||||
const appointmentfilescalarwhereinputSchema = z.object({
|
||||
AND: z.union([z.lazy(() => AppointmentFileScalarWhereInputObjectSchema), z.lazy(() => AppointmentFileScalarWhereInputObjectSchema).array()]).optional(),
|
||||
OR: z.lazy(() => AppointmentFileScalarWhereInputObjectSchema).array().optional(),
|
||||
NOT: z.union([z.lazy(() => AppointmentFileScalarWhereInputObjectSchema), z.lazy(() => AppointmentFileScalarWhereInputObjectSchema).array()]).optional(),
|
||||
id: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(),
|
||||
appointmentId: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(),
|
||||
filename: z.union([z.lazy(() => StringFilterObjectSchema), z.string()]).optional(),
|
||||
mimeType: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
|
||||
filePath: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable()
|
||||
}).strict();
|
||||
export const AppointmentFileScalarWhereInputObjectSchema: z.ZodType<Prisma.AppointmentFileScalarWhereInput> = appointmentfilescalarwhereinputSchema as unknown as z.ZodType<Prisma.AppointmentFileScalarWhereInput>;
|
||||
export const AppointmentFileScalarWhereInputObjectZodSchema = appointmentfilescalarwhereinputSchema;
|
||||
@@ -0,0 +1,18 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { IntWithAggregatesFilterObjectSchema as IntWithAggregatesFilterObjectSchema } from './IntWithAggregatesFilter.schema';
|
||||
import { StringWithAggregatesFilterObjectSchema as StringWithAggregatesFilterObjectSchema } from './StringWithAggregatesFilter.schema';
|
||||
import { StringNullableWithAggregatesFilterObjectSchema as StringNullableWithAggregatesFilterObjectSchema } from './StringNullableWithAggregatesFilter.schema'
|
||||
|
||||
const appointmentfilescalarwherewithaggregatesinputSchema = z.object({
|
||||
AND: z.union([z.lazy(() => AppointmentFileScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => AppointmentFileScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
|
||||
OR: z.lazy(() => AppointmentFileScalarWhereWithAggregatesInputObjectSchema).array().optional(),
|
||||
NOT: z.union([z.lazy(() => AppointmentFileScalarWhereWithAggregatesInputObjectSchema), z.lazy(() => AppointmentFileScalarWhereWithAggregatesInputObjectSchema).array()]).optional(),
|
||||
id: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(),
|
||||
appointmentId: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(),
|
||||
filename: z.union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]).optional(),
|
||||
mimeType: z.union([z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(),
|
||||
filePath: z.union([z.lazy(() => StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable()
|
||||
}).strict();
|
||||
export const AppointmentFileScalarWhereWithAggregatesInputObjectSchema: z.ZodType<Prisma.AppointmentFileScalarWhereWithAggregatesInput> = appointmentfilescalarwherewithaggregatesinputSchema as unknown as z.ZodType<Prisma.AppointmentFileScalarWhereWithAggregatesInput>;
|
||||
export const AppointmentFileScalarWhereWithAggregatesInputObjectZodSchema = appointmentfilescalarwherewithaggregatesinputSchema;
|
||||
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { AppointmentArgsObjectSchema as AppointmentArgsObjectSchema } from './AppointmentArgs.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.boolean().optional(),
|
||||
appointmentId: z.boolean().optional(),
|
||||
filename: z.boolean().optional(),
|
||||
mimeType: z.boolean().optional(),
|
||||
filePath: z.boolean().optional(),
|
||||
appointment: z.union([z.boolean(), z.lazy(() => AppointmentArgsObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const AppointmentFileSelectObjectSchema: z.ZodType<Prisma.AppointmentFileSelect> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileSelect>;
|
||||
export const AppointmentFileSelectObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,10 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.literal(true).optional(),
|
||||
appointmentId: z.literal(true).optional()
|
||||
}).strict();
|
||||
export const AppointmentFileSumAggregateInputObjectSchema: z.ZodType<Prisma.AppointmentFileSumAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileSumAggregateInputType>;
|
||||
export const AppointmentFileSumAggregateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,10 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { SortOrderSchema } from '../enums/SortOrder.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: SortOrderSchema.optional(),
|
||||
appointmentId: SortOrderSchema.optional()
|
||||
}).strict();
|
||||
export const AppointmentFileSumOrderByAggregateInputObjectSchema: z.ZodType<Prisma.AppointmentFileSumOrderByAggregateInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileSumOrderByAggregateInput>;
|
||||
export const AppointmentFileSumOrderByAggregateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,13 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
appointmentId: z.number().int(),
|
||||
filename: z.string(),
|
||||
mimeType: z.string().optional().nullable(),
|
||||
filePath: z.string().optional().nullable()
|
||||
}).strict();
|
||||
export const AppointmentFileUncheckedCreateInputObjectSchema: z.ZodType<Prisma.AppointmentFileUncheckedCreateInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileUncheckedCreateInput>;
|
||||
export const AppointmentFileUncheckedCreateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,16 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { AppointmentFileCreateWithoutAppointmentInputObjectSchema as AppointmentFileCreateWithoutAppointmentInputObjectSchema } from './AppointmentFileCreateWithoutAppointmentInput.schema';
|
||||
import { AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema as AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema } from './AppointmentFileUncheckedCreateWithoutAppointmentInput.schema';
|
||||
import { AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema as AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema } from './AppointmentFileCreateOrConnectWithoutAppointmentInput.schema';
|
||||
import { AppointmentFileCreateManyAppointmentInputEnvelopeObjectSchema as AppointmentFileCreateManyAppointmentInputEnvelopeObjectSchema } from './AppointmentFileCreateManyAppointmentInputEnvelope.schema';
|
||||
import { AppointmentFileWhereUniqueInputObjectSchema as AppointmentFileWhereUniqueInputObjectSchema } from './AppointmentFileWhereUniqueInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => AppointmentFileCreateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileCreateWithoutAppointmentInputObjectSchema).array(), z.lazy(() => AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema).array()]).optional(),
|
||||
connectOrCreate: z.union([z.lazy(() => AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema).array()]).optional(),
|
||||
createMany: z.lazy(() => AppointmentFileCreateManyAppointmentInputEnvelopeObjectSchema).optional(),
|
||||
connect: z.union([z.lazy(() => AppointmentFileWhereUniqueInputObjectSchema), z.lazy(() => AppointmentFileWhereUniqueInputObjectSchema).array()]).optional()
|
||||
}).strict();
|
||||
export const AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInputObjectSchema: z.ZodType<Prisma.AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInput>;
|
||||
export const AppointmentFileUncheckedCreateNestedManyWithoutAppointmentInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
filename: z.string(),
|
||||
mimeType: z.string().optional().nullable(),
|
||||
filePath: z.string().optional().nullable()
|
||||
}).strict();
|
||||
export const AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema: z.ZodType<Prisma.AppointmentFileUncheckedCreateWithoutAppointmentInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileUncheckedCreateWithoutAppointmentInput>;
|
||||
export const AppointmentFileUncheckedCreateWithoutAppointmentInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,15 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { IntFieldUpdateOperationsInputObjectSchema as IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema';
|
||||
import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema';
|
||||
import { NullableStringFieldUpdateOperationsInputObjectSchema as NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
appointmentId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
filename: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
mimeType: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
filePath: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable()
|
||||
}).strict();
|
||||
export const AppointmentFileUncheckedUpdateInputObjectSchema: z.ZodType<Prisma.AppointmentFileUncheckedUpdateInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileUncheckedUpdateInput>;
|
||||
export const AppointmentFileUncheckedUpdateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,15 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { IntFieldUpdateOperationsInputObjectSchema as IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema';
|
||||
import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema';
|
||||
import { NullableStringFieldUpdateOperationsInputObjectSchema as NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
appointmentId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
filename: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
mimeType: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
filePath: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable()
|
||||
}).strict();
|
||||
export const AppointmentFileUncheckedUpdateManyInputObjectSchema: z.ZodType<Prisma.AppointmentFileUncheckedUpdateManyInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileUncheckedUpdateManyInput>;
|
||||
export const AppointmentFileUncheckedUpdateManyInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { IntFieldUpdateOperationsInputObjectSchema as IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema';
|
||||
import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema';
|
||||
import { NullableStringFieldUpdateOperationsInputObjectSchema as NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
filename: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
mimeType: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
filePath: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable()
|
||||
}).strict();
|
||||
export const AppointmentFileUncheckedUpdateManyWithoutAppointmentInputObjectSchema: z.ZodType<Prisma.AppointmentFileUncheckedUpdateManyWithoutAppointmentInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileUncheckedUpdateManyWithoutAppointmentInput>;
|
||||
export const AppointmentFileUncheckedUpdateManyWithoutAppointmentInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,27 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { AppointmentFileCreateWithoutAppointmentInputObjectSchema as AppointmentFileCreateWithoutAppointmentInputObjectSchema } from './AppointmentFileCreateWithoutAppointmentInput.schema';
|
||||
import { AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema as AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema } from './AppointmentFileUncheckedCreateWithoutAppointmentInput.schema';
|
||||
import { AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema as AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema } from './AppointmentFileCreateOrConnectWithoutAppointmentInput.schema';
|
||||
import { AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInputObjectSchema as AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInputObjectSchema } from './AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInput.schema';
|
||||
import { AppointmentFileCreateManyAppointmentInputEnvelopeObjectSchema as AppointmentFileCreateManyAppointmentInputEnvelopeObjectSchema } from './AppointmentFileCreateManyAppointmentInputEnvelope.schema';
|
||||
import { AppointmentFileWhereUniqueInputObjectSchema as AppointmentFileWhereUniqueInputObjectSchema } from './AppointmentFileWhereUniqueInput.schema';
|
||||
import { AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInputObjectSchema as AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInputObjectSchema } from './AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInput.schema';
|
||||
import { AppointmentFileUpdateManyWithWhereWithoutAppointmentInputObjectSchema as AppointmentFileUpdateManyWithWhereWithoutAppointmentInputObjectSchema } from './AppointmentFileUpdateManyWithWhereWithoutAppointmentInput.schema';
|
||||
import { AppointmentFileScalarWhereInputObjectSchema as AppointmentFileScalarWhereInputObjectSchema } from './AppointmentFileScalarWhereInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => AppointmentFileCreateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileCreateWithoutAppointmentInputObjectSchema).array(), z.lazy(() => AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema).array()]).optional(),
|
||||
connectOrCreate: z.union([z.lazy(() => AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema).array()]).optional(),
|
||||
upsert: z.union([z.lazy(() => AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInputObjectSchema).array()]).optional(),
|
||||
createMany: z.lazy(() => AppointmentFileCreateManyAppointmentInputEnvelopeObjectSchema).optional(),
|
||||
set: z.union([z.lazy(() => AppointmentFileWhereUniqueInputObjectSchema), z.lazy(() => AppointmentFileWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
disconnect: z.union([z.lazy(() => AppointmentFileWhereUniqueInputObjectSchema), z.lazy(() => AppointmentFileWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
delete: z.union([z.lazy(() => AppointmentFileWhereUniqueInputObjectSchema), z.lazy(() => AppointmentFileWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
connect: z.union([z.lazy(() => AppointmentFileWhereUniqueInputObjectSchema), z.lazy(() => AppointmentFileWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
update: z.union([z.lazy(() => AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInputObjectSchema).array()]).optional(),
|
||||
updateMany: z.union([z.lazy(() => AppointmentFileUpdateManyWithWhereWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUpdateManyWithWhereWithoutAppointmentInputObjectSchema).array()]).optional(),
|
||||
deleteMany: z.union([z.lazy(() => AppointmentFileScalarWhereInputObjectSchema), z.lazy(() => AppointmentFileScalarWhereInputObjectSchema).array()]).optional()
|
||||
}).strict();
|
||||
export const AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInputObjectSchema: z.ZodType<Prisma.AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInput>;
|
||||
export const AppointmentFileUncheckedUpdateManyWithoutAppointmentNestedInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { IntFieldUpdateOperationsInputObjectSchema as IntFieldUpdateOperationsInputObjectSchema } from './IntFieldUpdateOperationsInput.schema';
|
||||
import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema';
|
||||
import { NullableStringFieldUpdateOperationsInputObjectSchema as NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
filename: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
mimeType: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
filePath: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable()
|
||||
}).strict();
|
||||
export const AppointmentFileUncheckedUpdateWithoutAppointmentInputObjectSchema: z.ZodType<Prisma.AppointmentFileUncheckedUpdateWithoutAppointmentInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileUncheckedUpdateWithoutAppointmentInput>;
|
||||
export const AppointmentFileUncheckedUpdateWithoutAppointmentInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema';
|
||||
import { NullableStringFieldUpdateOperationsInputObjectSchema as NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema';
|
||||
import { AppointmentUpdateOneRequiredWithoutFilesNestedInputObjectSchema as AppointmentUpdateOneRequiredWithoutFilesNestedInputObjectSchema } from './AppointmentUpdateOneRequiredWithoutFilesNestedInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
filename: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
mimeType: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
filePath: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
appointment: z.lazy(() => AppointmentUpdateOneRequiredWithoutFilesNestedInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const AppointmentFileUpdateInputObjectSchema: z.ZodType<Prisma.AppointmentFileUpdateInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileUpdateInput>;
|
||||
export const AppointmentFileUpdateInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema';
|
||||
import { NullableStringFieldUpdateOperationsInputObjectSchema as NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
filename: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
mimeType: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
filePath: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable()
|
||||
}).strict();
|
||||
export const AppointmentFileUpdateManyMutationInputObjectSchema: z.ZodType<Prisma.AppointmentFileUpdateManyMutationInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileUpdateManyMutationInput>;
|
||||
export const AppointmentFileUpdateManyMutationInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { AppointmentFileScalarWhereInputObjectSchema as AppointmentFileScalarWhereInputObjectSchema } from './AppointmentFileScalarWhereInput.schema';
|
||||
import { AppointmentFileUpdateManyMutationInputObjectSchema as AppointmentFileUpdateManyMutationInputObjectSchema } from './AppointmentFileUpdateManyMutationInput.schema';
|
||||
import { AppointmentFileUncheckedUpdateManyWithoutAppointmentInputObjectSchema as AppointmentFileUncheckedUpdateManyWithoutAppointmentInputObjectSchema } from './AppointmentFileUncheckedUpdateManyWithoutAppointmentInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => AppointmentFileScalarWhereInputObjectSchema),
|
||||
data: z.union([z.lazy(() => AppointmentFileUpdateManyMutationInputObjectSchema), z.lazy(() => AppointmentFileUncheckedUpdateManyWithoutAppointmentInputObjectSchema)])
|
||||
}).strict();
|
||||
export const AppointmentFileUpdateManyWithWhereWithoutAppointmentInputObjectSchema: z.ZodType<Prisma.AppointmentFileUpdateManyWithWhereWithoutAppointmentInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileUpdateManyWithWhereWithoutAppointmentInput>;
|
||||
export const AppointmentFileUpdateManyWithWhereWithoutAppointmentInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,27 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { AppointmentFileCreateWithoutAppointmentInputObjectSchema as AppointmentFileCreateWithoutAppointmentInputObjectSchema } from './AppointmentFileCreateWithoutAppointmentInput.schema';
|
||||
import { AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema as AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema } from './AppointmentFileUncheckedCreateWithoutAppointmentInput.schema';
|
||||
import { AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema as AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema } from './AppointmentFileCreateOrConnectWithoutAppointmentInput.schema';
|
||||
import { AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInputObjectSchema as AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInputObjectSchema } from './AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInput.schema';
|
||||
import { AppointmentFileCreateManyAppointmentInputEnvelopeObjectSchema as AppointmentFileCreateManyAppointmentInputEnvelopeObjectSchema } from './AppointmentFileCreateManyAppointmentInputEnvelope.schema';
|
||||
import { AppointmentFileWhereUniqueInputObjectSchema as AppointmentFileWhereUniqueInputObjectSchema } from './AppointmentFileWhereUniqueInput.schema';
|
||||
import { AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInputObjectSchema as AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInputObjectSchema } from './AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInput.schema';
|
||||
import { AppointmentFileUpdateManyWithWhereWithoutAppointmentInputObjectSchema as AppointmentFileUpdateManyWithWhereWithoutAppointmentInputObjectSchema } from './AppointmentFileUpdateManyWithWhereWithoutAppointmentInput.schema';
|
||||
import { AppointmentFileScalarWhereInputObjectSchema as AppointmentFileScalarWhereInputObjectSchema } from './AppointmentFileScalarWhereInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => AppointmentFileCreateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileCreateWithoutAppointmentInputObjectSchema).array(), z.lazy(() => AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema).array()]).optional(),
|
||||
connectOrCreate: z.union([z.lazy(() => AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileCreateOrConnectWithoutAppointmentInputObjectSchema).array()]).optional(),
|
||||
upsert: z.union([z.lazy(() => AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInputObjectSchema).array()]).optional(),
|
||||
createMany: z.lazy(() => AppointmentFileCreateManyAppointmentInputEnvelopeObjectSchema).optional(),
|
||||
set: z.union([z.lazy(() => AppointmentFileWhereUniqueInputObjectSchema), z.lazy(() => AppointmentFileWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
disconnect: z.union([z.lazy(() => AppointmentFileWhereUniqueInputObjectSchema), z.lazy(() => AppointmentFileWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
delete: z.union([z.lazy(() => AppointmentFileWhereUniqueInputObjectSchema), z.lazy(() => AppointmentFileWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
connect: z.union([z.lazy(() => AppointmentFileWhereUniqueInputObjectSchema), z.lazy(() => AppointmentFileWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
update: z.union([z.lazy(() => AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInputObjectSchema).array()]).optional(),
|
||||
updateMany: z.union([z.lazy(() => AppointmentFileUpdateManyWithWhereWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUpdateManyWithWhereWithoutAppointmentInputObjectSchema).array()]).optional(),
|
||||
deleteMany: z.union([z.lazy(() => AppointmentFileScalarWhereInputObjectSchema), z.lazy(() => AppointmentFileScalarWhereInputObjectSchema).array()]).optional()
|
||||
}).strict();
|
||||
export const AppointmentFileUpdateManyWithoutAppointmentNestedInputObjectSchema: z.ZodType<Prisma.AppointmentFileUpdateManyWithoutAppointmentNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileUpdateManyWithoutAppointmentNestedInput>;
|
||||
export const AppointmentFileUpdateManyWithoutAppointmentNestedInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { AppointmentFileWhereUniqueInputObjectSchema as AppointmentFileWhereUniqueInputObjectSchema } from './AppointmentFileWhereUniqueInput.schema';
|
||||
import { AppointmentFileUpdateWithoutAppointmentInputObjectSchema as AppointmentFileUpdateWithoutAppointmentInputObjectSchema } from './AppointmentFileUpdateWithoutAppointmentInput.schema';
|
||||
import { AppointmentFileUncheckedUpdateWithoutAppointmentInputObjectSchema as AppointmentFileUncheckedUpdateWithoutAppointmentInputObjectSchema } from './AppointmentFileUncheckedUpdateWithoutAppointmentInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => AppointmentFileWhereUniqueInputObjectSchema),
|
||||
data: z.union([z.lazy(() => AppointmentFileUpdateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUncheckedUpdateWithoutAppointmentInputObjectSchema)])
|
||||
}).strict();
|
||||
export const AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInputObjectSchema: z.ZodType<Prisma.AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInput>;
|
||||
export const AppointmentFileUpdateWithWhereUniqueWithoutAppointmentInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema';
|
||||
import { NullableStringFieldUpdateOperationsInputObjectSchema as NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
filename: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
mimeType: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
filePath: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable()
|
||||
}).strict();
|
||||
export const AppointmentFileUpdateWithoutAppointmentInputObjectSchema: z.ZodType<Prisma.AppointmentFileUpdateWithoutAppointmentInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileUpdateWithoutAppointmentInput>;
|
||||
export const AppointmentFileUpdateWithoutAppointmentInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,15 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { AppointmentFileWhereUniqueInputObjectSchema as AppointmentFileWhereUniqueInputObjectSchema } from './AppointmentFileWhereUniqueInput.schema';
|
||||
import { AppointmentFileUpdateWithoutAppointmentInputObjectSchema as AppointmentFileUpdateWithoutAppointmentInputObjectSchema } from './AppointmentFileUpdateWithoutAppointmentInput.schema';
|
||||
import { AppointmentFileUncheckedUpdateWithoutAppointmentInputObjectSchema as AppointmentFileUncheckedUpdateWithoutAppointmentInputObjectSchema } from './AppointmentFileUncheckedUpdateWithoutAppointmentInput.schema';
|
||||
import { AppointmentFileCreateWithoutAppointmentInputObjectSchema as AppointmentFileCreateWithoutAppointmentInputObjectSchema } from './AppointmentFileCreateWithoutAppointmentInput.schema';
|
||||
import { AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema as AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema } from './AppointmentFileUncheckedCreateWithoutAppointmentInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => AppointmentFileWhereUniqueInputObjectSchema),
|
||||
update: z.union([z.lazy(() => AppointmentFileUpdateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUncheckedUpdateWithoutAppointmentInputObjectSchema)]),
|
||||
create: z.union([z.lazy(() => AppointmentFileCreateWithoutAppointmentInputObjectSchema), z.lazy(() => AppointmentFileUncheckedCreateWithoutAppointmentInputObjectSchema)])
|
||||
}).strict();
|
||||
export const AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInputObjectSchema: z.ZodType<Prisma.AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInput>;
|
||||
export const AppointmentFileUpsertWithWhereUniqueWithoutAppointmentInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,21 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { IntFilterObjectSchema as IntFilterObjectSchema } from './IntFilter.schema';
|
||||
import { StringFilterObjectSchema as StringFilterObjectSchema } from './StringFilter.schema';
|
||||
import { StringNullableFilterObjectSchema as StringNullableFilterObjectSchema } from './StringNullableFilter.schema';
|
||||
import { AppointmentScalarRelationFilterObjectSchema as AppointmentScalarRelationFilterObjectSchema } from './AppointmentScalarRelationFilter.schema';
|
||||
import { AppointmentWhereInputObjectSchema as AppointmentWhereInputObjectSchema } from './AppointmentWhereInput.schema'
|
||||
|
||||
const appointmentfilewhereinputSchema = z.object({
|
||||
AND: z.union([z.lazy(() => AppointmentFileWhereInputObjectSchema), z.lazy(() => AppointmentFileWhereInputObjectSchema).array()]).optional(),
|
||||
OR: z.lazy(() => AppointmentFileWhereInputObjectSchema).array().optional(),
|
||||
NOT: z.union([z.lazy(() => AppointmentFileWhereInputObjectSchema), z.lazy(() => AppointmentFileWhereInputObjectSchema).array()]).optional(),
|
||||
id: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(),
|
||||
appointmentId: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(),
|
||||
filename: z.union([z.lazy(() => StringFilterObjectSchema), z.string()]).optional(),
|
||||
mimeType: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
|
||||
filePath: z.union([z.lazy(() => StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
|
||||
appointment: z.union([z.lazy(() => AppointmentScalarRelationFilterObjectSchema), z.lazy(() => AppointmentWhereInputObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const AppointmentFileWhereInputObjectSchema: z.ZodType<Prisma.AppointmentFileWhereInput> = appointmentfilewhereinputSchema as unknown as z.ZodType<Prisma.AppointmentFileWhereInput>;
|
||||
export const AppointmentFileWhereInputObjectZodSchema = appointmentfilewhereinputSchema;
|
||||
@@ -0,0 +1,9 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional()
|
||||
}).strict();
|
||||
export const AppointmentFileWhereUniqueInputObjectSchema: z.ZodType<Prisma.AppointmentFileWhereUniqueInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentFileWhereUniqueInput>;
|
||||
export const AppointmentFileWhereUniqueInputObjectZodSchema = makeSchema();
|
||||
@@ -5,6 +5,7 @@ import { UserArgsObjectSchema as UserArgsObjectSchema } from './UserArgs.schema'
|
||||
import { StaffArgsObjectSchema as StaffArgsObjectSchema } from './StaffArgs.schema';
|
||||
import { AppointmentProcedureFindManySchema as AppointmentProcedureFindManySchema } from '../findManyAppointmentProcedure.schema';
|
||||
import { ClaimFindManySchema as ClaimFindManySchema } from '../findManyClaim.schema';
|
||||
import { AppointmentFileFindManySchema as AppointmentFileFindManySchema } from '../findManyAppointmentFile.schema';
|
||||
import { AppointmentCountOutputTypeArgsObjectSchema as AppointmentCountOutputTypeArgsObjectSchema } from './AppointmentCountOutputTypeArgs.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
@@ -13,6 +14,7 @@ const makeSchema = () => z.object({
|
||||
staff: z.union([z.boolean(), z.lazy(() => StaffArgsObjectSchema)]).optional(),
|
||||
procedures: z.union([z.boolean(), z.lazy(() => AppointmentProcedureFindManySchema)]).optional(),
|
||||
claims: z.union([z.boolean(), z.lazy(() => ClaimFindManySchema)]).optional(),
|
||||
files: z.union([z.boolean(), z.lazy(() => AppointmentFileFindManySchema)]).optional(),
|
||||
_count: z.union([z.boolean(), z.lazy(() => AppointmentCountOutputTypeArgsObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const AppointmentIncludeObjectSchema: z.ZodType<Prisma.AppointmentInclude> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentInclude>;
|
||||
|
||||
@@ -6,7 +6,8 @@ import { PatientOrderByWithRelationInputObjectSchema as PatientOrderByWithRelati
|
||||
import { UserOrderByWithRelationInputObjectSchema as UserOrderByWithRelationInputObjectSchema } from './UserOrderByWithRelationInput.schema';
|
||||
import { StaffOrderByWithRelationInputObjectSchema as StaffOrderByWithRelationInputObjectSchema } from './StaffOrderByWithRelationInput.schema';
|
||||
import { AppointmentProcedureOrderByRelationAggregateInputObjectSchema as AppointmentProcedureOrderByRelationAggregateInputObjectSchema } from './AppointmentProcedureOrderByRelationAggregateInput.schema';
|
||||
import { ClaimOrderByRelationAggregateInputObjectSchema as ClaimOrderByRelationAggregateInputObjectSchema } from './ClaimOrderByRelationAggregateInput.schema'
|
||||
import { ClaimOrderByRelationAggregateInputObjectSchema as ClaimOrderByRelationAggregateInputObjectSchema } from './ClaimOrderByRelationAggregateInput.schema';
|
||||
import { AppointmentFileOrderByRelationAggregateInputObjectSchema as AppointmentFileOrderByRelationAggregateInputObjectSchema } from './AppointmentFileOrderByRelationAggregateInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: SortOrderSchema.optional(),
|
||||
@@ -27,7 +28,8 @@ const makeSchema = () => z.object({
|
||||
user: z.lazy(() => UserOrderByWithRelationInputObjectSchema).optional(),
|
||||
staff: z.lazy(() => StaffOrderByWithRelationInputObjectSchema).optional(),
|
||||
procedures: z.lazy(() => AppointmentProcedureOrderByRelationAggregateInputObjectSchema).optional(),
|
||||
claims: z.lazy(() => ClaimOrderByRelationAggregateInputObjectSchema).optional()
|
||||
claims: z.lazy(() => ClaimOrderByRelationAggregateInputObjectSchema).optional(),
|
||||
files: z.lazy(() => AppointmentFileOrderByRelationAggregateInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const AppointmentOrderByWithRelationInputObjectSchema: z.ZodType<Prisma.AppointmentOrderByWithRelationInput> = makeSchema() as unknown as z.ZodType<Prisma.AppointmentOrderByWithRelationInput>;
|
||||
export const AppointmentOrderByWithRelationInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -39,6 +39,7 @@ const makeSchema = () => z.object({
|
||||
id: z.literal(true).optional(),
|
||||
appointmentId: z.literal(true).optional(),
|
||||
patientId: z.literal(true).optional(),
|
||||
npiProviderId: z.literal(true).optional(),
|
||||
fee: z.literal(true).optional()
|
||||
}).strict();
|
||||
exports.AppointmentProcedureAvgAggregateInputObjectSchema = makeSchema();
|
||||
|
||||
@@ -40,6 +40,7 @@ const makeSchema = () => z.object({
|
||||
id: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
appointmentId: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
patientId: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
npiProviderId: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
fee: SortOrder_schema_1.SortOrderSchema.optional()
|
||||
}).strict();
|
||||
exports.AppointmentProcedureAvgOrderByAggregateInputObjectSchema = makeSchema();
|
||||
|
||||
@@ -39,6 +39,7 @@ const makeSchema = () => z.object({
|
||||
id: z.literal(true).optional(),
|
||||
appointmentId: z.literal(true).optional(),
|
||||
patientId: z.literal(true).optional(),
|
||||
npiProviderId: z.literal(true).optional(),
|
||||
procedureCode: z.literal(true).optional(),
|
||||
procedureLabel: z.literal(true).optional(),
|
||||
fee: z.literal(true).optional(),
|
||||
|
||||
@@ -40,6 +40,7 @@ const makeSchema = () => z.object({
|
||||
id: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
appointmentId: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
patientId: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
npiProviderId: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
procedureCode: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
procedureLabel: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
fee: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
|
||||
@@ -43,6 +43,7 @@ const decimal_js_1 = __importDefault(require("decimal.js"));
|
||||
const ProcedureSource_schema_1 = require("../enums/ProcedureSource.schema");
|
||||
const AppointmentCreateNestedOneWithoutProceduresInput_schema_1 = require("./AppointmentCreateNestedOneWithoutProceduresInput.schema");
|
||||
const PatientCreateNestedOneWithoutProceduresInput_schema_1 = require("./PatientCreateNestedOneWithoutProceduresInput.schema");
|
||||
const NpiProviderCreateNestedOneWithoutAppointmentProceduresInput_schema_1 = require("./NpiProviderCreateNestedOneWithoutAppointmentProceduresInput.schema");
|
||||
const decimal_helpers_1 = require("../../helpers/decimal-helpers");
|
||||
const makeSchema = () => z.object({
|
||||
procedureCode: z.string(),
|
||||
@@ -64,7 +65,8 @@ const makeSchema = () => z.object({
|
||||
comboKey: z.string().optional().nullable(),
|
||||
createdAt: z.coerce.date().optional(),
|
||||
appointment: z.lazy(() => AppointmentCreateNestedOneWithoutProceduresInput_schema_1.AppointmentCreateNestedOneWithoutProceduresInputObjectSchema),
|
||||
patient: z.lazy(() => PatientCreateNestedOneWithoutProceduresInput_schema_1.PatientCreateNestedOneWithoutProceduresInputObjectSchema)
|
||||
patient: z.lazy(() => PatientCreateNestedOneWithoutProceduresInput_schema_1.PatientCreateNestedOneWithoutProceduresInputObjectSchema),
|
||||
npiProvider: z.lazy(() => NpiProviderCreateNestedOneWithoutAppointmentProceduresInput_schema_1.NpiProviderCreateNestedOneWithoutAppointmentProceduresInputObjectSchema).optional()
|
||||
}).strict();
|
||||
exports.AppointmentProcedureCreateInputObjectSchema = makeSchema();
|
||||
exports.AppointmentProcedureCreateInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -45,6 +45,7 @@ const decimal_helpers_1 = require("../../helpers/decimal-helpers");
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
patientId: z.number().int(),
|
||||
npiProviderId: z.number().int().optional().nullable(),
|
||||
procedureCode: z.string(),
|
||||
procedureLabel: z.string().optional().nullable(),
|
||||
fee: z.union([
|
||||
|
||||
@@ -46,6 +46,7 @@ const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
appointmentId: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
npiProviderId: z.number().int().optional().nullable(),
|
||||
procedureCode: z.string(),
|
||||
procedureLabel: z.string().optional().nullable(),
|
||||
fee: z.union([
|
||||
|
||||
48
packages/db/shared/schemas/objects/AppointmentProcedureCreateManyNpiProviderInput.schema.d.ts
vendored
Normal file
48
packages/db/shared/schemas/objects/AppointmentProcedureCreateManyNpiProviderInput.schema.d.ts
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
import * as z from 'zod';
|
||||
import { Prisma } from '../../../generated/prisma';
|
||||
import Decimal from 'decimal.js';
|
||||
export declare const AppointmentProcedureCreateManyNpiProviderInputObjectSchema: z.ZodType<Prisma.AppointmentProcedureCreateManyNpiProviderInput>;
|
||||
export declare const AppointmentProcedureCreateManyNpiProviderInputObjectZodSchema: z.ZodObject<{
|
||||
id: z.ZodOptional<z.ZodNumber>;
|
||||
appointmentId: z.ZodNumber;
|
||||
patientId: z.ZodNumber;
|
||||
procedureCode: z.ZodString;
|
||||
procedureLabel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
||||
fee: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodType<Decimal, z.ZodTypeDef, Decimal>, z.ZodType<Prisma.Decimal, z.ZodTypeDef, Prisma.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 | Prisma.Decimal | Decimal, string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Prisma.Decimal | Decimal>>>;
|
||||
category: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
||||
toothNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
||||
toothSurface: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
||||
oralCavityArea: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
||||
source: z.ZodOptional<z.ZodEnum<["COMBO", "MANUAL"]>>;
|
||||
comboKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
||||
createdAt: z.ZodOptional<z.ZodDate>;
|
||||
}, "strict", z.ZodTypeAny, {
|
||||
patientId: number;
|
||||
procedureCode: string;
|
||||
appointmentId: number;
|
||||
id?: number | undefined;
|
||||
createdAt?: Date | undefined;
|
||||
procedureLabel?: string | null | undefined;
|
||||
fee?: string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Prisma.Decimal | Decimal | null | undefined;
|
||||
category?: string | null | undefined;
|
||||
toothNumber?: string | null | undefined;
|
||||
toothSurface?: string | null | undefined;
|
||||
oralCavityArea?: string | null | undefined;
|
||||
source?: "COMBO" | "MANUAL" | undefined;
|
||||
comboKey?: string | null | undefined;
|
||||
}, {
|
||||
patientId: number;
|
||||
procedureCode: string;
|
||||
appointmentId: number;
|
||||
id?: number | undefined;
|
||||
createdAt?: Date | undefined;
|
||||
procedureLabel?: string | null | undefined;
|
||||
fee?: string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Prisma.Decimal | Decimal | null | undefined;
|
||||
category?: string | null | undefined;
|
||||
toothNumber?: string | null | undefined;
|
||||
toothSurface?: string | null | undefined;
|
||||
oralCavityArea?: string | null | undefined;
|
||||
source?: "COMBO" | "MANUAL" | undefined;
|
||||
comboKey?: string | null | undefined;
|
||||
}>;
|
||||
//# sourceMappingURL=AppointmentProcedureCreateManyNpiProviderInput.schema.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppointmentProcedureCreateManyNpiProviderInput.schema.d.ts","sourceRoot":"","sources":["AppointmentProcedureCreateManyNpiProviderInput.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,OAAO,MAAM,YAAY,CAAC;AA2BjC,eAAO,MAAM,0DAA0D,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,CAA+F,CAAC;AACxO,eAAO,MAAM,6DAA6D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAe,CAAC"}
|
||||
@@ -0,0 +1,69 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AppointmentProcedureCreateManyNpiProviderInputObjectZodSchema = exports.AppointmentProcedureCreateManyNpiProviderInputObjectSchema = void 0;
|
||||
const z = __importStar(require("zod"));
|
||||
const prisma_1 = require("../../../generated/prisma");
|
||||
const decimal_js_1 = __importDefault(require("decimal.js"));
|
||||
const ProcedureSource_schema_1 = require("../enums/ProcedureSource.schema");
|
||||
const decimal_helpers_1 = require("../../helpers/decimal-helpers");
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
appointmentId: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
procedureCode: z.string(),
|
||||
procedureLabel: z.string().optional().nullable(),
|
||||
fee: z.union([
|
||||
z.number(),
|
||||
z.string(),
|
||||
z.instanceof(decimal_js_1.default),
|
||||
z.instanceof(prisma_1.Prisma.Decimal),
|
||||
decimal_helpers_1.DecimalJSLikeSchema,
|
||||
]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), {
|
||||
message: "Field 'fee' must be a Decimal",
|
||||
}).optional().nullable(),
|
||||
category: z.string().optional().nullable(),
|
||||
toothNumber: z.string().optional().nullable(),
|
||||
toothSurface: z.string().optional().nullable(),
|
||||
oralCavityArea: z.string().optional().nullable(),
|
||||
source: ProcedureSource_schema_1.ProcedureSourceSchema.optional(),
|
||||
comboKey: z.string().optional().nullable(),
|
||||
createdAt: z.coerce.date().optional()
|
||||
}).strict();
|
||||
exports.AppointmentProcedureCreateManyNpiProviderInputObjectSchema = makeSchema();
|
||||
exports.AppointmentProcedureCreateManyNpiProviderInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
export declare const AppointmentProcedureCreateManyNpiProviderInputEnvelopeObjectSchema: z.ZodType<Prisma.AppointmentProcedureCreateManyNpiProviderInputEnvelope>;
|
||||
export declare const AppointmentProcedureCreateManyNpiProviderInputEnvelopeObjectZodSchema: z.ZodObject<{
|
||||
data: z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.AppointmentProcedureCreateManyNpiProviderInput, z.ZodTypeDef, Prisma.AppointmentProcedureCreateManyNpiProviderInput>>, z.ZodArray<z.ZodLazy<z.ZodType<Prisma.AppointmentProcedureCreateManyNpiProviderInput, z.ZodTypeDef, Prisma.AppointmentProcedureCreateManyNpiProviderInput>>, "many">]>;
|
||||
skipDuplicates: z.ZodOptional<z.ZodBoolean>;
|
||||
}, "strict", z.ZodTypeAny, {
|
||||
data: Prisma.AppointmentProcedureCreateManyNpiProviderInput | Prisma.AppointmentProcedureCreateManyNpiProviderInput[];
|
||||
skipDuplicates?: boolean | undefined;
|
||||
}, {
|
||||
data: Prisma.AppointmentProcedureCreateManyNpiProviderInput | Prisma.AppointmentProcedureCreateManyNpiProviderInput[];
|
||||
skipDuplicates?: boolean | undefined;
|
||||
}>;
|
||||
//# sourceMappingURL=AppointmentProcedureCreateManyNpiProviderInputEnvelope.schema.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppointmentProcedureCreateManyNpiProviderInputEnvelope.schema.d.ts","sourceRoot":"","sources":["AppointmentProcedureCreateManyNpiProviderInputEnvelope.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAOxD,eAAO,MAAM,kEAAkE,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,CAAuG,CAAC;AAChQ,eAAO,MAAM,qEAAqE;;;;;;;;;EAAe,CAAC"}
|
||||
@@ -0,0 +1,44 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AppointmentProcedureCreateManyNpiProviderInputEnvelopeObjectZodSchema = exports.AppointmentProcedureCreateManyNpiProviderInputEnvelopeObjectSchema = void 0;
|
||||
const z = __importStar(require("zod"));
|
||||
const AppointmentProcedureCreateManyNpiProviderInput_schema_1 = require("./AppointmentProcedureCreateManyNpiProviderInput.schema");
|
||||
const makeSchema = () => z.object({
|
||||
data: z.union([z.lazy(() => AppointmentProcedureCreateManyNpiProviderInput_schema_1.AppointmentProcedureCreateManyNpiProviderInputObjectSchema), z.lazy(() => AppointmentProcedureCreateManyNpiProviderInput_schema_1.AppointmentProcedureCreateManyNpiProviderInputObjectSchema).array()]),
|
||||
skipDuplicates: z.boolean().optional()
|
||||
}).strict();
|
||||
exports.AppointmentProcedureCreateManyNpiProviderInputEnvelopeObjectSchema = makeSchema();
|
||||
exports.AppointmentProcedureCreateManyNpiProviderInputEnvelopeObjectZodSchema = makeSchema();
|
||||
@@ -45,6 +45,7 @@ const decimal_helpers_1 = require("../../helpers/decimal-helpers");
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
appointmentId: z.number().int(),
|
||||
npiProviderId: z.number().int().optional().nullable(),
|
||||
procedureCode: z.string(),
|
||||
procedureLabel: z.string().optional().nullable(),
|
||||
fee: z.union([
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
export declare const AppointmentProcedureCreateNestedManyWithoutNpiProviderInputObjectSchema: z.ZodType<Prisma.AppointmentProcedureCreateNestedManyWithoutNpiProviderInput>;
|
||||
export declare const AppointmentProcedureCreateNestedManyWithoutNpiProviderInputObjectZodSchema: z.ZodObject<{
|
||||
create: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.AppointmentProcedureCreateWithoutNpiProviderInput, z.ZodTypeDef, Prisma.AppointmentProcedureCreateWithoutNpiProviderInput>>, z.ZodArray<z.ZodLazy<z.ZodType<Prisma.AppointmentProcedureCreateWithoutNpiProviderInput, z.ZodTypeDef, Prisma.AppointmentProcedureCreateWithoutNpiProviderInput>>, "many">, z.ZodLazy<z.ZodType<Prisma.AppointmentProcedureUncheckedCreateWithoutNpiProviderInput, z.ZodTypeDef, Prisma.AppointmentProcedureUncheckedCreateWithoutNpiProviderInput>>, z.ZodArray<z.ZodLazy<z.ZodType<Prisma.AppointmentProcedureUncheckedCreateWithoutNpiProviderInput, z.ZodTypeDef, Prisma.AppointmentProcedureUncheckedCreateWithoutNpiProviderInput>>, "many">]>>;
|
||||
connectOrCreate: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.AppointmentProcedureCreateOrConnectWithoutNpiProviderInput, z.ZodTypeDef, Prisma.AppointmentProcedureCreateOrConnectWithoutNpiProviderInput>>, z.ZodArray<z.ZodLazy<z.ZodType<Prisma.AppointmentProcedureCreateOrConnectWithoutNpiProviderInput, z.ZodTypeDef, Prisma.AppointmentProcedureCreateOrConnectWithoutNpiProviderInput>>, "many">]>>;
|
||||
createMany: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.AppointmentProcedureCreateManyNpiProviderInputEnvelope, z.ZodTypeDef, Prisma.AppointmentProcedureCreateManyNpiProviderInputEnvelope>>>;
|
||||
connect: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.AppointmentProcedureWhereUniqueInput, z.ZodTypeDef, Prisma.AppointmentProcedureWhereUniqueInput>>, z.ZodArray<z.ZodLazy<z.ZodType<Prisma.AppointmentProcedureWhereUniqueInput, z.ZodTypeDef, Prisma.AppointmentProcedureWhereUniqueInput>>, "many">]>>;
|
||||
}, "strict", z.ZodTypeAny, {
|
||||
create?: Prisma.AppointmentProcedureCreateWithoutNpiProviderInput | Prisma.AppointmentProcedureUncheckedCreateWithoutNpiProviderInput | Prisma.AppointmentProcedureCreateWithoutNpiProviderInput[] | Prisma.AppointmentProcedureUncheckedCreateWithoutNpiProviderInput[] | undefined;
|
||||
connectOrCreate?: Prisma.AppointmentProcedureCreateOrConnectWithoutNpiProviderInput | Prisma.AppointmentProcedureCreateOrConnectWithoutNpiProviderInput[] | undefined;
|
||||
createMany?: Prisma.AppointmentProcedureCreateManyNpiProviderInputEnvelope | undefined;
|
||||
connect?: Prisma.AppointmentProcedureWhereUniqueInput | Prisma.AppointmentProcedureWhereUniqueInput[] | undefined;
|
||||
}, {
|
||||
create?: Prisma.AppointmentProcedureCreateWithoutNpiProviderInput | Prisma.AppointmentProcedureUncheckedCreateWithoutNpiProviderInput | Prisma.AppointmentProcedureCreateWithoutNpiProviderInput[] | Prisma.AppointmentProcedureUncheckedCreateWithoutNpiProviderInput[] | undefined;
|
||||
connectOrCreate?: Prisma.AppointmentProcedureCreateOrConnectWithoutNpiProviderInput | Prisma.AppointmentProcedureCreateOrConnectWithoutNpiProviderInput[] | undefined;
|
||||
createMany?: Prisma.AppointmentProcedureCreateManyNpiProviderInputEnvelope | undefined;
|
||||
connect?: Prisma.AppointmentProcedureWhereUniqueInput | Prisma.AppointmentProcedureWhereUniqueInput[] | undefined;
|
||||
}>;
|
||||
//# sourceMappingURL=AppointmentProcedureCreateNestedManyWithoutNpiProviderInput.schema.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppointmentProcedureCreateNestedManyWithoutNpiProviderInput.schema.d.ts","sourceRoot":"","sources":["AppointmentProcedureCreateNestedManyWithoutNpiProviderInput.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAaxD,eAAO,MAAM,uEAAuE,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,2DAA2D,CAA4G,CAAC;AAC/Q,eAAO,MAAM,0EAA0E;;;;;;;;;;;;;;;EAAe,CAAC"}
|
||||
@@ -0,0 +1,50 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AppointmentProcedureCreateNestedManyWithoutNpiProviderInputObjectZodSchema = exports.AppointmentProcedureCreateNestedManyWithoutNpiProviderInputObjectSchema = void 0;
|
||||
const z = __importStar(require("zod"));
|
||||
const AppointmentProcedureCreateWithoutNpiProviderInput_schema_1 = require("./AppointmentProcedureCreateWithoutNpiProviderInput.schema");
|
||||
const AppointmentProcedureUncheckedCreateWithoutNpiProviderInput_schema_1 = require("./AppointmentProcedureUncheckedCreateWithoutNpiProviderInput.schema");
|
||||
const AppointmentProcedureCreateOrConnectWithoutNpiProviderInput_schema_1 = require("./AppointmentProcedureCreateOrConnectWithoutNpiProviderInput.schema");
|
||||
const AppointmentProcedureCreateManyNpiProviderInputEnvelope_schema_1 = require("./AppointmentProcedureCreateManyNpiProviderInputEnvelope.schema");
|
||||
const AppointmentProcedureWhereUniqueInput_schema_1 = require("./AppointmentProcedureWhereUniqueInput.schema");
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => AppointmentProcedureCreateWithoutNpiProviderInput_schema_1.AppointmentProcedureCreateWithoutNpiProviderInputObjectSchema), z.lazy(() => AppointmentProcedureCreateWithoutNpiProviderInput_schema_1.AppointmentProcedureCreateWithoutNpiProviderInputObjectSchema).array(), z.lazy(() => AppointmentProcedureUncheckedCreateWithoutNpiProviderInput_schema_1.AppointmentProcedureUncheckedCreateWithoutNpiProviderInputObjectSchema), z.lazy(() => AppointmentProcedureUncheckedCreateWithoutNpiProviderInput_schema_1.AppointmentProcedureUncheckedCreateWithoutNpiProviderInputObjectSchema).array()]).optional(),
|
||||
connectOrCreate: z.union([z.lazy(() => AppointmentProcedureCreateOrConnectWithoutNpiProviderInput_schema_1.AppointmentProcedureCreateOrConnectWithoutNpiProviderInputObjectSchema), z.lazy(() => AppointmentProcedureCreateOrConnectWithoutNpiProviderInput_schema_1.AppointmentProcedureCreateOrConnectWithoutNpiProviderInputObjectSchema).array()]).optional(),
|
||||
createMany: z.lazy(() => AppointmentProcedureCreateManyNpiProviderInputEnvelope_schema_1.AppointmentProcedureCreateManyNpiProviderInputEnvelopeObjectSchema).optional(),
|
||||
connect: z.union([z.lazy(() => AppointmentProcedureWhereUniqueInput_schema_1.AppointmentProcedureWhereUniqueInputObjectSchema), z.lazy(() => AppointmentProcedureWhereUniqueInput_schema_1.AppointmentProcedureWhereUniqueInputObjectSchema).array()]).optional()
|
||||
}).strict();
|
||||
exports.AppointmentProcedureCreateNestedManyWithoutNpiProviderInputObjectSchema = makeSchema();
|
||||
exports.AppointmentProcedureCreateNestedManyWithoutNpiProviderInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
export declare const AppointmentProcedureCreateOrConnectWithoutNpiProviderInputObjectSchema: z.ZodType<Prisma.AppointmentProcedureCreateOrConnectWithoutNpiProviderInput>;
|
||||
export declare const AppointmentProcedureCreateOrConnectWithoutNpiProviderInputObjectZodSchema: z.ZodObject<{
|
||||
where: z.ZodLazy<z.ZodType<Prisma.AppointmentProcedureWhereUniqueInput, z.ZodTypeDef, Prisma.AppointmentProcedureWhereUniqueInput>>;
|
||||
create: z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.AppointmentProcedureCreateWithoutNpiProviderInput, z.ZodTypeDef, Prisma.AppointmentProcedureCreateWithoutNpiProviderInput>>, z.ZodLazy<z.ZodType<Prisma.AppointmentProcedureUncheckedCreateWithoutNpiProviderInput, z.ZodTypeDef, Prisma.AppointmentProcedureUncheckedCreateWithoutNpiProviderInput>>]>;
|
||||
}, "strict", z.ZodTypeAny, {
|
||||
create: Prisma.AppointmentProcedureCreateWithoutNpiProviderInput | Prisma.AppointmentProcedureUncheckedCreateWithoutNpiProviderInput;
|
||||
where: Prisma.AppointmentProcedureWhereUniqueInput;
|
||||
}, {
|
||||
create: Prisma.AppointmentProcedureCreateWithoutNpiProviderInput | Prisma.AppointmentProcedureUncheckedCreateWithoutNpiProviderInput;
|
||||
where: Prisma.AppointmentProcedureWhereUniqueInput;
|
||||
}>;
|
||||
//# sourceMappingURL=AppointmentProcedureCreateOrConnectWithoutNpiProviderInput.schema.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppointmentProcedureCreateOrConnectWithoutNpiProviderInput.schema.d.ts","sourceRoot":"","sources":["AppointmentProcedureCreateOrConnectWithoutNpiProviderInput.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AASxD,eAAO,MAAM,sEAAsE,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,CAA2G,CAAC;AAC5Q,eAAO,MAAM,yEAAyE;;;;;;;;;EAAe,CAAC"}
|
||||
@@ -0,0 +1,46 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AppointmentProcedureCreateOrConnectWithoutNpiProviderInputObjectZodSchema = exports.AppointmentProcedureCreateOrConnectWithoutNpiProviderInputObjectSchema = void 0;
|
||||
const z = __importStar(require("zod"));
|
||||
const AppointmentProcedureWhereUniqueInput_schema_1 = require("./AppointmentProcedureWhereUniqueInput.schema");
|
||||
const AppointmentProcedureCreateWithoutNpiProviderInput_schema_1 = require("./AppointmentProcedureCreateWithoutNpiProviderInput.schema");
|
||||
const AppointmentProcedureUncheckedCreateWithoutNpiProviderInput_schema_1 = require("./AppointmentProcedureUncheckedCreateWithoutNpiProviderInput.schema");
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => AppointmentProcedureWhereUniqueInput_schema_1.AppointmentProcedureWhereUniqueInputObjectSchema),
|
||||
create: z.union([z.lazy(() => AppointmentProcedureCreateWithoutNpiProviderInput_schema_1.AppointmentProcedureCreateWithoutNpiProviderInputObjectSchema), z.lazy(() => AppointmentProcedureUncheckedCreateWithoutNpiProviderInput_schema_1.AppointmentProcedureUncheckedCreateWithoutNpiProviderInputObjectSchema)])
|
||||
}).strict();
|
||||
exports.AppointmentProcedureCreateOrConnectWithoutNpiProviderInputObjectSchema = makeSchema();
|
||||
exports.AppointmentProcedureCreateOrConnectWithoutNpiProviderInputObjectZodSchema = makeSchema();
|
||||
@@ -42,6 +42,7 @@ const prisma_1 = require("../../../generated/prisma");
|
||||
const decimal_js_1 = __importDefault(require("decimal.js"));
|
||||
const ProcedureSource_schema_1 = require("../enums/ProcedureSource.schema");
|
||||
const PatientCreateNestedOneWithoutProceduresInput_schema_1 = require("./PatientCreateNestedOneWithoutProceduresInput.schema");
|
||||
const NpiProviderCreateNestedOneWithoutAppointmentProceduresInput_schema_1 = require("./NpiProviderCreateNestedOneWithoutAppointmentProceduresInput.schema");
|
||||
const decimal_helpers_1 = require("../../helpers/decimal-helpers");
|
||||
const makeSchema = () => z.object({
|
||||
procedureCode: z.string(),
|
||||
@@ -62,7 +63,8 @@ const makeSchema = () => z.object({
|
||||
source: ProcedureSource_schema_1.ProcedureSourceSchema.optional(),
|
||||
comboKey: z.string().optional().nullable(),
|
||||
createdAt: z.coerce.date().optional(),
|
||||
patient: z.lazy(() => PatientCreateNestedOneWithoutProceduresInput_schema_1.PatientCreateNestedOneWithoutProceduresInputObjectSchema)
|
||||
patient: z.lazy(() => PatientCreateNestedOneWithoutProceduresInput_schema_1.PatientCreateNestedOneWithoutProceduresInputObjectSchema),
|
||||
npiProvider: z.lazy(() => NpiProviderCreateNestedOneWithoutAppointmentProceduresInput_schema_1.NpiProviderCreateNestedOneWithoutAppointmentProceduresInputObjectSchema).optional()
|
||||
}).strict();
|
||||
exports.AppointmentProcedureCreateWithoutAppointmentInputObjectSchema = makeSchema();
|
||||
exports.AppointmentProcedureCreateWithoutAppointmentInputObjectZodSchema = makeSchema();
|
||||
|
||||
45
packages/db/shared/schemas/objects/AppointmentProcedureCreateWithoutNpiProviderInput.schema.d.ts
vendored
Normal file
45
packages/db/shared/schemas/objects/AppointmentProcedureCreateWithoutNpiProviderInput.schema.d.ts
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
import * as z from 'zod';
|
||||
import { Prisma } from '../../../generated/prisma';
|
||||
import Decimal from 'decimal.js';
|
||||
export declare const AppointmentProcedureCreateWithoutNpiProviderInputObjectSchema: z.ZodType<Prisma.AppointmentProcedureCreateWithoutNpiProviderInput>;
|
||||
export declare const AppointmentProcedureCreateWithoutNpiProviderInputObjectZodSchema: z.ZodObject<{
|
||||
procedureCode: z.ZodString;
|
||||
procedureLabel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
||||
fee: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodType<Decimal, z.ZodTypeDef, Decimal>, z.ZodType<Prisma.Decimal, z.ZodTypeDef, Prisma.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 | Prisma.Decimal | Decimal, string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Prisma.Decimal | Decimal>>>;
|
||||
category: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
||||
toothNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
||||
toothSurface: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
||||
oralCavityArea: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
||||
source: z.ZodOptional<z.ZodEnum<["COMBO", "MANUAL"]>>;
|
||||
comboKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
||||
createdAt: z.ZodOptional<z.ZodDate>;
|
||||
appointment: z.ZodLazy<z.ZodType<Prisma.AppointmentCreateNestedOneWithoutProceduresInput, z.ZodTypeDef, Prisma.AppointmentCreateNestedOneWithoutProceduresInput>>;
|
||||
patient: z.ZodLazy<z.ZodType<Prisma.PatientCreateNestedOneWithoutProceduresInput, z.ZodTypeDef, Prisma.PatientCreateNestedOneWithoutProceduresInput>>;
|
||||
}, "strict", z.ZodTypeAny, {
|
||||
patient: Prisma.PatientCreateNestedOneWithoutProceduresInput;
|
||||
procedureCode: string;
|
||||
appointment: Prisma.AppointmentCreateNestedOneWithoutProceduresInput;
|
||||
createdAt?: Date | undefined;
|
||||
procedureLabel?: string | null | undefined;
|
||||
fee?: string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Prisma.Decimal | Decimal | null | undefined;
|
||||
category?: string | null | undefined;
|
||||
toothNumber?: string | null | undefined;
|
||||
toothSurface?: string | null | undefined;
|
||||
oralCavityArea?: string | null | undefined;
|
||||
source?: "COMBO" | "MANUAL" | undefined;
|
||||
comboKey?: string | null | undefined;
|
||||
}, {
|
||||
patient: Prisma.PatientCreateNestedOneWithoutProceduresInput;
|
||||
procedureCode: string;
|
||||
appointment: Prisma.AppointmentCreateNestedOneWithoutProceduresInput;
|
||||
createdAt?: Date | undefined;
|
||||
procedureLabel?: string | null | undefined;
|
||||
fee?: string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Prisma.Decimal | Decimal | null | undefined;
|
||||
category?: string | null | undefined;
|
||||
toothNumber?: string | null | undefined;
|
||||
toothSurface?: string | null | undefined;
|
||||
oralCavityArea?: string | null | undefined;
|
||||
source?: "COMBO" | "MANUAL" | undefined;
|
||||
comboKey?: string | null | undefined;
|
||||
}>;
|
||||
//# sourceMappingURL=AppointmentProcedureCreateWithoutNpiProviderInput.schema.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppointmentProcedureCreateWithoutNpiProviderInput.schema.d.ts","sourceRoot":"","sources":["AppointmentProcedureCreateWithoutNpiProviderInput.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,OAAO,MAAM,YAAY,CAAC;AA4BjC,eAAO,MAAM,6DAA6D,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,CAAkG,CAAC;AACjP,eAAO,MAAM,gEAAgE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAe,CAAC"}
|
||||
@@ -0,0 +1,70 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AppointmentProcedureCreateWithoutNpiProviderInputObjectZodSchema = exports.AppointmentProcedureCreateWithoutNpiProviderInputObjectSchema = void 0;
|
||||
const z = __importStar(require("zod"));
|
||||
const prisma_1 = require("../../../generated/prisma");
|
||||
const decimal_js_1 = __importDefault(require("decimal.js"));
|
||||
const ProcedureSource_schema_1 = require("../enums/ProcedureSource.schema");
|
||||
const AppointmentCreateNestedOneWithoutProceduresInput_schema_1 = require("./AppointmentCreateNestedOneWithoutProceduresInput.schema");
|
||||
const PatientCreateNestedOneWithoutProceduresInput_schema_1 = require("./PatientCreateNestedOneWithoutProceduresInput.schema");
|
||||
const decimal_helpers_1 = require("../../helpers/decimal-helpers");
|
||||
const makeSchema = () => z.object({
|
||||
procedureCode: z.string(),
|
||||
procedureLabel: z.string().optional().nullable(),
|
||||
fee: z.union([
|
||||
z.number(),
|
||||
z.string(),
|
||||
z.instanceof(decimal_js_1.default),
|
||||
z.instanceof(prisma_1.Prisma.Decimal),
|
||||
decimal_helpers_1.DecimalJSLikeSchema,
|
||||
]).refine((v) => (0, decimal_helpers_1.isValidDecimalInput)(v), {
|
||||
message: "Field 'fee' must be a Decimal",
|
||||
}).optional().nullable(),
|
||||
category: z.string().optional().nullable(),
|
||||
toothNumber: z.string().optional().nullable(),
|
||||
toothSurface: z.string().optional().nullable(),
|
||||
oralCavityArea: z.string().optional().nullable(),
|
||||
source: ProcedureSource_schema_1.ProcedureSourceSchema.optional(),
|
||||
comboKey: z.string().optional().nullable(),
|
||||
createdAt: z.coerce.date().optional(),
|
||||
appointment: z.lazy(() => AppointmentCreateNestedOneWithoutProceduresInput_schema_1.AppointmentCreateNestedOneWithoutProceduresInputObjectSchema),
|
||||
patient: z.lazy(() => PatientCreateNestedOneWithoutProceduresInput_schema_1.PatientCreateNestedOneWithoutProceduresInputObjectSchema)
|
||||
}).strict();
|
||||
exports.AppointmentProcedureCreateWithoutNpiProviderInputObjectSchema = makeSchema();
|
||||
exports.AppointmentProcedureCreateWithoutNpiProviderInputObjectZodSchema = makeSchema();
|
||||
@@ -42,6 +42,7 @@ const prisma_1 = require("../../../generated/prisma");
|
||||
const decimal_js_1 = __importDefault(require("decimal.js"));
|
||||
const ProcedureSource_schema_1 = require("../enums/ProcedureSource.schema");
|
||||
const AppointmentCreateNestedOneWithoutProceduresInput_schema_1 = require("./AppointmentCreateNestedOneWithoutProceduresInput.schema");
|
||||
const NpiProviderCreateNestedOneWithoutAppointmentProceduresInput_schema_1 = require("./NpiProviderCreateNestedOneWithoutAppointmentProceduresInput.schema");
|
||||
const decimal_helpers_1 = require("../../helpers/decimal-helpers");
|
||||
const makeSchema = () => z.object({
|
||||
procedureCode: z.string(),
|
||||
@@ -62,7 +63,8 @@ const makeSchema = () => z.object({
|
||||
source: ProcedureSource_schema_1.ProcedureSourceSchema.optional(),
|
||||
comboKey: z.string().optional().nullable(),
|
||||
createdAt: z.coerce.date().optional(),
|
||||
appointment: z.lazy(() => AppointmentCreateNestedOneWithoutProceduresInput_schema_1.AppointmentCreateNestedOneWithoutProceduresInputObjectSchema)
|
||||
appointment: z.lazy(() => AppointmentCreateNestedOneWithoutProceduresInput_schema_1.AppointmentCreateNestedOneWithoutProceduresInputObjectSchema),
|
||||
npiProvider: z.lazy(() => NpiProviderCreateNestedOneWithoutAppointmentProceduresInput_schema_1.NpiProviderCreateNestedOneWithoutAppointmentProceduresInputObjectSchema).optional()
|
||||
}).strict();
|
||||
exports.AppointmentProcedureCreateWithoutPatientInputObjectSchema = makeSchema();
|
||||
exports.AppointmentProcedureCreateWithoutPatientInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -37,9 +37,11 @@ exports.AppointmentProcedureIncludeObjectZodSchema = exports.AppointmentProcedur
|
||||
const z = __importStar(require("zod"));
|
||||
const AppointmentArgs_schema_1 = require("./AppointmentArgs.schema");
|
||||
const PatientArgs_schema_1 = require("./PatientArgs.schema");
|
||||
const NpiProviderArgs_schema_1 = require("./NpiProviderArgs.schema");
|
||||
const makeSchema = () => z.object({
|
||||
appointment: z.union([z.boolean(), z.lazy(() => AppointmentArgs_schema_1.AppointmentArgsObjectSchema)]).optional(),
|
||||
patient: z.union([z.boolean(), z.lazy(() => PatientArgs_schema_1.PatientArgsObjectSchema)]).optional()
|
||||
patient: z.union([z.boolean(), z.lazy(() => PatientArgs_schema_1.PatientArgsObjectSchema)]).optional(),
|
||||
npiProvider: z.union([z.boolean(), z.lazy(() => NpiProviderArgs_schema_1.NpiProviderArgsObjectSchema)]).optional()
|
||||
}).strict();
|
||||
exports.AppointmentProcedureIncludeObjectSchema = makeSchema();
|
||||
exports.AppointmentProcedureIncludeObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -39,6 +39,7 @@ const makeSchema = () => z.object({
|
||||
id: z.literal(true).optional(),
|
||||
appointmentId: z.literal(true).optional(),
|
||||
patientId: z.literal(true).optional(),
|
||||
npiProviderId: z.literal(true).optional(),
|
||||
procedureCode: z.literal(true).optional(),
|
||||
procedureLabel: z.literal(true).optional(),
|
||||
fee: z.literal(true).optional(),
|
||||
|
||||
@@ -40,6 +40,7 @@ const makeSchema = () => z.object({
|
||||
id: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
appointmentId: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
patientId: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
npiProviderId: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
procedureCode: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
procedureLabel: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
fee: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
|
||||
@@ -39,6 +39,7 @@ const makeSchema = () => z.object({
|
||||
id: z.literal(true).optional(),
|
||||
appointmentId: z.literal(true).optional(),
|
||||
patientId: z.literal(true).optional(),
|
||||
npiProviderId: z.literal(true).optional(),
|
||||
procedureCode: z.literal(true).optional(),
|
||||
procedureLabel: z.literal(true).optional(),
|
||||
fee: z.literal(true).optional(),
|
||||
|
||||
@@ -40,6 +40,7 @@ const makeSchema = () => z.object({
|
||||
id: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
appointmentId: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
patientId: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
npiProviderId: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
procedureCode: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
procedureLabel: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
fee: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
|
||||
@@ -46,6 +46,7 @@ const makeSchema = () => z.object({
|
||||
id: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
appointmentId: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
patientId: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
npiProviderId: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(),
|
||||
procedureCode: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
procedureLabel: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(),
|
||||
fee: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(),
|
||||
|
||||
@@ -39,10 +39,12 @@ const SortOrder_schema_1 = require("../enums/SortOrder.schema");
|
||||
const SortOrderInput_schema_1 = require("./SortOrderInput.schema");
|
||||
const AppointmentOrderByWithRelationInput_schema_1 = require("./AppointmentOrderByWithRelationInput.schema");
|
||||
const PatientOrderByWithRelationInput_schema_1 = require("./PatientOrderByWithRelationInput.schema");
|
||||
const NpiProviderOrderByWithRelationInput_schema_1 = require("./NpiProviderOrderByWithRelationInput.schema");
|
||||
const makeSchema = () => z.object({
|
||||
id: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
appointmentId: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
patientId: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
npiProviderId: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(),
|
||||
procedureCode: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
procedureLabel: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(),
|
||||
fee: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(),
|
||||
@@ -54,7 +56,8 @@ const makeSchema = () => z.object({
|
||||
comboKey: z.union([SortOrder_schema_1.SortOrderSchema, z.lazy(() => SortOrderInput_schema_1.SortOrderInputObjectSchema)]).optional(),
|
||||
createdAt: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
appointment: z.lazy(() => AppointmentOrderByWithRelationInput_schema_1.AppointmentOrderByWithRelationInputObjectSchema).optional(),
|
||||
patient: z.lazy(() => PatientOrderByWithRelationInput_schema_1.PatientOrderByWithRelationInputObjectSchema).optional()
|
||||
patient: z.lazy(() => PatientOrderByWithRelationInput_schema_1.PatientOrderByWithRelationInputObjectSchema).optional(),
|
||||
npiProvider: z.lazy(() => NpiProviderOrderByWithRelationInput_schema_1.NpiProviderOrderByWithRelationInputObjectSchema).optional()
|
||||
}).strict();
|
||||
exports.AppointmentProcedureOrderByWithRelationInputObjectSchema = makeSchema();
|
||||
exports.AppointmentProcedureOrderByWithRelationInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -41,6 +41,7 @@ const z = __importStar(require("zod"));
|
||||
const prisma_1 = require("../../../generated/prisma");
|
||||
const decimal_js_1 = __importDefault(require("decimal.js"));
|
||||
const IntFilter_schema_1 = require("./IntFilter.schema");
|
||||
const IntNullableFilter_schema_1 = require("./IntNullableFilter.schema");
|
||||
const StringFilter_schema_1 = require("./StringFilter.schema");
|
||||
const StringNullableFilter_schema_1 = require("./StringNullableFilter.schema");
|
||||
const DecimalNullableFilter_schema_1 = require("./DecimalNullableFilter.schema");
|
||||
@@ -55,6 +56,7 @@ const appointmentprocedurescalarwhereinputSchema = z.object({
|
||||
id: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(),
|
||||
appointmentId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(),
|
||||
patientId: z.union([z.lazy(() => IntFilter_schema_1.IntFilterObjectSchema), z.number().int()]).optional(),
|
||||
npiProviderId: z.union([z.lazy(() => IntNullableFilter_schema_1.IntNullableFilterObjectSchema), z.number().int()]).optional().nullable(),
|
||||
procedureCode: z.union([z.lazy(() => StringFilter_schema_1.StringFilterObjectSchema), z.string()]).optional(),
|
||||
procedureLabel: z.union([z.lazy(() => StringNullableFilter_schema_1.StringNullableFilterObjectSchema), z.string()]).optional().nullable(),
|
||||
fee: z.union([z.lazy(() => DecimalNullableFilter_schema_1.DecimalNullableFilterObjectSchema), z.union([
|
||||
|
||||
@@ -41,6 +41,7 @@ const z = __importStar(require("zod"));
|
||||
const prisma_1 = require("../../../generated/prisma");
|
||||
const decimal_js_1 = __importDefault(require("decimal.js"));
|
||||
const IntWithAggregatesFilter_schema_1 = require("./IntWithAggregatesFilter.schema");
|
||||
const IntNullableWithAggregatesFilter_schema_1 = require("./IntNullableWithAggregatesFilter.schema");
|
||||
const StringWithAggregatesFilter_schema_1 = require("./StringWithAggregatesFilter.schema");
|
||||
const StringNullableWithAggregatesFilter_schema_1 = require("./StringNullableWithAggregatesFilter.schema");
|
||||
const DecimalNullableWithAggregatesFilter_schema_1 = require("./DecimalNullableWithAggregatesFilter.schema");
|
||||
@@ -55,6 +56,7 @@ const appointmentprocedurescalarwherewithaggregatesinputSchema = z.object({
|
||||
id: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(),
|
||||
appointmentId: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(),
|
||||
patientId: z.union([z.lazy(() => IntWithAggregatesFilter_schema_1.IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(),
|
||||
npiProviderId: z.union([z.lazy(() => IntNullableWithAggregatesFilter_schema_1.IntNullableWithAggregatesFilterObjectSchema), z.number().int()]).optional().nullable(),
|
||||
procedureCode: z.union([z.lazy(() => StringWithAggregatesFilter_schema_1.StringWithAggregatesFilterObjectSchema), z.string()]).optional(),
|
||||
procedureLabel: z.union([z.lazy(() => StringNullableWithAggregatesFilter_schema_1.StringNullableWithAggregatesFilterObjectSchema), z.string()]).optional().nullable(),
|
||||
fee: z.union([z.lazy(() => DecimalNullableWithAggregatesFilter_schema_1.DecimalNullableWithAggregatesFilterObjectSchema), z.union([
|
||||
|
||||
@@ -37,10 +37,12 @@ exports.AppointmentProcedureSelectObjectZodSchema = exports.AppointmentProcedure
|
||||
const z = __importStar(require("zod"));
|
||||
const AppointmentArgs_schema_1 = require("./AppointmentArgs.schema");
|
||||
const PatientArgs_schema_1 = require("./PatientArgs.schema");
|
||||
const NpiProviderArgs_schema_1 = require("./NpiProviderArgs.schema");
|
||||
const makeSchema = () => z.object({
|
||||
id: z.boolean().optional(),
|
||||
appointmentId: z.boolean().optional(),
|
||||
patientId: z.boolean().optional(),
|
||||
npiProviderId: z.boolean().optional(),
|
||||
procedureCode: z.boolean().optional(),
|
||||
procedureLabel: z.boolean().optional(),
|
||||
fee: z.boolean().optional(),
|
||||
@@ -52,7 +54,8 @@ const makeSchema = () => z.object({
|
||||
comboKey: z.boolean().optional(),
|
||||
createdAt: z.boolean().optional(),
|
||||
appointment: z.union([z.boolean(), z.lazy(() => AppointmentArgs_schema_1.AppointmentArgsObjectSchema)]).optional(),
|
||||
patient: z.union([z.boolean(), z.lazy(() => PatientArgs_schema_1.PatientArgsObjectSchema)]).optional()
|
||||
patient: z.union([z.boolean(), z.lazy(() => PatientArgs_schema_1.PatientArgsObjectSchema)]).optional(),
|
||||
npiProvider: z.union([z.boolean(), z.lazy(() => NpiProviderArgs_schema_1.NpiProviderArgsObjectSchema)]).optional()
|
||||
}).strict();
|
||||
exports.AppointmentProcedureSelectObjectSchema = makeSchema();
|
||||
exports.AppointmentProcedureSelectObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -39,6 +39,7 @@ const makeSchema = () => z.object({
|
||||
id: z.literal(true).optional(),
|
||||
appointmentId: z.literal(true).optional(),
|
||||
patientId: z.literal(true).optional(),
|
||||
npiProviderId: z.literal(true).optional(),
|
||||
fee: z.literal(true).optional()
|
||||
}).strict();
|
||||
exports.AppointmentProcedureSumAggregateInputObjectSchema = makeSchema();
|
||||
|
||||
@@ -40,6 +40,7 @@ const makeSchema = () => z.object({
|
||||
id: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
appointmentId: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
patientId: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
npiProviderId: SortOrder_schema_1.SortOrderSchema.optional(),
|
||||
fee: SortOrder_schema_1.SortOrderSchema.optional()
|
||||
}).strict();
|
||||
exports.AppointmentProcedureSumOrderByAggregateInputObjectSchema = makeSchema();
|
||||
|
||||
@@ -46,6 +46,7 @@ const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
appointmentId: z.number().int(),
|
||||
patientId: z.number().int(),
|
||||
npiProviderId: z.number().int().optional().nullable(),
|
||||
procedureCode: z.string(),
|
||||
procedureLabel: z.string().optional().nullable(),
|
||||
fee: z.union([
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
export declare const AppointmentProcedureUncheckedCreateNestedManyWithoutNpiProviderInputObjectSchema: z.ZodType<Prisma.AppointmentProcedureUncheckedCreateNestedManyWithoutNpiProviderInput>;
|
||||
export declare const AppointmentProcedureUncheckedCreateNestedManyWithoutNpiProviderInputObjectZodSchema: z.ZodObject<{
|
||||
create: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.AppointmentProcedureCreateWithoutNpiProviderInput, z.ZodTypeDef, Prisma.AppointmentProcedureCreateWithoutNpiProviderInput>>, z.ZodArray<z.ZodLazy<z.ZodType<Prisma.AppointmentProcedureCreateWithoutNpiProviderInput, z.ZodTypeDef, Prisma.AppointmentProcedureCreateWithoutNpiProviderInput>>, "many">, z.ZodLazy<z.ZodType<Prisma.AppointmentProcedureUncheckedCreateWithoutNpiProviderInput, z.ZodTypeDef, Prisma.AppointmentProcedureUncheckedCreateWithoutNpiProviderInput>>, z.ZodArray<z.ZodLazy<z.ZodType<Prisma.AppointmentProcedureUncheckedCreateWithoutNpiProviderInput, z.ZodTypeDef, Prisma.AppointmentProcedureUncheckedCreateWithoutNpiProviderInput>>, "many">]>>;
|
||||
connectOrCreate: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.AppointmentProcedureCreateOrConnectWithoutNpiProviderInput, z.ZodTypeDef, Prisma.AppointmentProcedureCreateOrConnectWithoutNpiProviderInput>>, z.ZodArray<z.ZodLazy<z.ZodType<Prisma.AppointmentProcedureCreateOrConnectWithoutNpiProviderInput, z.ZodTypeDef, Prisma.AppointmentProcedureCreateOrConnectWithoutNpiProviderInput>>, "many">]>>;
|
||||
createMany: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.AppointmentProcedureCreateManyNpiProviderInputEnvelope, z.ZodTypeDef, Prisma.AppointmentProcedureCreateManyNpiProviderInputEnvelope>>>;
|
||||
connect: z.ZodOptional<z.ZodUnion<[z.ZodLazy<z.ZodType<Prisma.AppointmentProcedureWhereUniqueInput, z.ZodTypeDef, Prisma.AppointmentProcedureWhereUniqueInput>>, z.ZodArray<z.ZodLazy<z.ZodType<Prisma.AppointmentProcedureWhereUniqueInput, z.ZodTypeDef, Prisma.AppointmentProcedureWhereUniqueInput>>, "many">]>>;
|
||||
}, "strict", z.ZodTypeAny, {
|
||||
create?: Prisma.AppointmentProcedureCreateWithoutNpiProviderInput | Prisma.AppointmentProcedureUncheckedCreateWithoutNpiProviderInput | Prisma.AppointmentProcedureCreateWithoutNpiProviderInput[] | Prisma.AppointmentProcedureUncheckedCreateWithoutNpiProviderInput[] | undefined;
|
||||
connectOrCreate?: Prisma.AppointmentProcedureCreateOrConnectWithoutNpiProviderInput | Prisma.AppointmentProcedureCreateOrConnectWithoutNpiProviderInput[] | undefined;
|
||||
createMany?: Prisma.AppointmentProcedureCreateManyNpiProviderInputEnvelope | undefined;
|
||||
connect?: Prisma.AppointmentProcedureWhereUniqueInput | Prisma.AppointmentProcedureWhereUniqueInput[] | undefined;
|
||||
}, {
|
||||
create?: Prisma.AppointmentProcedureCreateWithoutNpiProviderInput | Prisma.AppointmentProcedureUncheckedCreateWithoutNpiProviderInput | Prisma.AppointmentProcedureCreateWithoutNpiProviderInput[] | Prisma.AppointmentProcedureUncheckedCreateWithoutNpiProviderInput[] | undefined;
|
||||
connectOrCreate?: Prisma.AppointmentProcedureCreateOrConnectWithoutNpiProviderInput | Prisma.AppointmentProcedureCreateOrConnectWithoutNpiProviderInput[] | undefined;
|
||||
createMany?: Prisma.AppointmentProcedureCreateManyNpiProviderInputEnvelope | undefined;
|
||||
connect?: Prisma.AppointmentProcedureWhereUniqueInput | Prisma.AppointmentProcedureWhereUniqueInput[] | undefined;
|
||||
}>;
|
||||
//# sourceMappingURL=AppointmentProcedureUncheckedCreateNestedManyWithoutNpiProviderInput.schema.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppointmentProcedureUncheckedCreateNestedManyWithoutNpiProviderInput.schema.d.ts","sourceRoot":"","sources":["AppointmentProcedureUncheckedCreateNestedManyWithoutNpiProviderInput.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAaxD,eAAO,MAAM,gFAAgF,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,oEAAoE,CAAqH,CAAC;AAC1S,eAAO,MAAM,mFAAmF;;;;;;;;;;;;;;;EAAe,CAAC"}
|
||||
@@ -0,0 +1,50 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
||||
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
||||
}) : function(o, v) {
|
||||
o["default"] = v;
|
||||
});
|
||||
var __importStar = (this && this.__importStar) || (function () {
|
||||
var ownKeys = function(o) {
|
||||
ownKeys = Object.getOwnPropertyNames || function (o) {
|
||||
var ar = [];
|
||||
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
||||
return ar;
|
||||
};
|
||||
return ownKeys(o);
|
||||
};
|
||||
return function (mod) {
|
||||
if (mod && mod.__esModule) return mod;
|
||||
var result = {};
|
||||
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
||||
__setModuleDefault(result, mod);
|
||||
return result;
|
||||
};
|
||||
})();
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.AppointmentProcedureUncheckedCreateNestedManyWithoutNpiProviderInputObjectZodSchema = exports.AppointmentProcedureUncheckedCreateNestedManyWithoutNpiProviderInputObjectSchema = void 0;
|
||||
const z = __importStar(require("zod"));
|
||||
const AppointmentProcedureCreateWithoutNpiProviderInput_schema_1 = require("./AppointmentProcedureCreateWithoutNpiProviderInput.schema");
|
||||
const AppointmentProcedureUncheckedCreateWithoutNpiProviderInput_schema_1 = require("./AppointmentProcedureUncheckedCreateWithoutNpiProviderInput.schema");
|
||||
const AppointmentProcedureCreateOrConnectWithoutNpiProviderInput_schema_1 = require("./AppointmentProcedureCreateOrConnectWithoutNpiProviderInput.schema");
|
||||
const AppointmentProcedureCreateManyNpiProviderInputEnvelope_schema_1 = require("./AppointmentProcedureCreateManyNpiProviderInputEnvelope.schema");
|
||||
const AppointmentProcedureWhereUniqueInput_schema_1 = require("./AppointmentProcedureWhereUniqueInput.schema");
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => AppointmentProcedureCreateWithoutNpiProviderInput_schema_1.AppointmentProcedureCreateWithoutNpiProviderInputObjectSchema), z.lazy(() => AppointmentProcedureCreateWithoutNpiProviderInput_schema_1.AppointmentProcedureCreateWithoutNpiProviderInputObjectSchema).array(), z.lazy(() => AppointmentProcedureUncheckedCreateWithoutNpiProviderInput_schema_1.AppointmentProcedureUncheckedCreateWithoutNpiProviderInputObjectSchema), z.lazy(() => AppointmentProcedureUncheckedCreateWithoutNpiProviderInput_schema_1.AppointmentProcedureUncheckedCreateWithoutNpiProviderInputObjectSchema).array()]).optional(),
|
||||
connectOrCreate: z.union([z.lazy(() => AppointmentProcedureCreateOrConnectWithoutNpiProviderInput_schema_1.AppointmentProcedureCreateOrConnectWithoutNpiProviderInputObjectSchema), z.lazy(() => AppointmentProcedureCreateOrConnectWithoutNpiProviderInput_schema_1.AppointmentProcedureCreateOrConnectWithoutNpiProviderInputObjectSchema).array()]).optional(),
|
||||
createMany: z.lazy(() => AppointmentProcedureCreateManyNpiProviderInputEnvelope_schema_1.AppointmentProcedureCreateManyNpiProviderInputEnvelopeObjectSchema).optional(),
|
||||
connect: z.union([z.lazy(() => AppointmentProcedureWhereUniqueInput_schema_1.AppointmentProcedureWhereUniqueInputObjectSchema), z.lazy(() => AppointmentProcedureWhereUniqueInput_schema_1.AppointmentProcedureWhereUniqueInputObjectSchema).array()]).optional()
|
||||
}).strict();
|
||||
exports.AppointmentProcedureUncheckedCreateNestedManyWithoutNpiProviderInputObjectSchema = makeSchema();
|
||||
exports.AppointmentProcedureUncheckedCreateNestedManyWithoutNpiProviderInputObjectZodSchema = makeSchema();
|
||||
@@ -45,6 +45,7 @@ const decimal_helpers_1 = require("../../helpers/decimal-helpers");
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
patientId: z.number().int(),
|
||||
npiProviderId: z.number().int().optional().nullable(),
|
||||
procedureCode: z.string(),
|
||||
procedureLabel: z.string().optional().nullable(),
|
||||
fee: z.union([
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
import * as z from 'zod';
|
||||
import { Prisma } from '../../../generated/prisma';
|
||||
import Decimal from 'decimal.js';
|
||||
export declare const AppointmentProcedureUncheckedCreateWithoutNpiProviderInputObjectSchema: z.ZodType<Prisma.AppointmentProcedureUncheckedCreateWithoutNpiProviderInput>;
|
||||
export declare const AppointmentProcedureUncheckedCreateWithoutNpiProviderInputObjectZodSchema: z.ZodObject<{
|
||||
id: z.ZodOptional<z.ZodNumber>;
|
||||
appointmentId: z.ZodNumber;
|
||||
patientId: z.ZodNumber;
|
||||
procedureCode: z.ZodString;
|
||||
procedureLabel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
||||
fee: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodType<Decimal, z.ZodTypeDef, Decimal>, z.ZodType<Prisma.Decimal, z.ZodTypeDef, Prisma.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 | Prisma.Decimal | Decimal, string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Prisma.Decimal | Decimal>>>;
|
||||
category: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
||||
toothNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
||||
toothSurface: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
||||
oralCavityArea: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
||||
source: z.ZodOptional<z.ZodEnum<["COMBO", "MANUAL"]>>;
|
||||
comboKey: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
||||
createdAt: z.ZodOptional<z.ZodDate>;
|
||||
}, "strict", z.ZodTypeAny, {
|
||||
patientId: number;
|
||||
procedureCode: string;
|
||||
appointmentId: number;
|
||||
id?: number | undefined;
|
||||
createdAt?: Date | undefined;
|
||||
procedureLabel?: string | null | undefined;
|
||||
fee?: string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Prisma.Decimal | Decimal | null | undefined;
|
||||
category?: string | null | undefined;
|
||||
toothNumber?: string | null | undefined;
|
||||
toothSurface?: string | null | undefined;
|
||||
oralCavityArea?: string | null | undefined;
|
||||
source?: "COMBO" | "MANUAL" | undefined;
|
||||
comboKey?: string | null | undefined;
|
||||
}, {
|
||||
patientId: number;
|
||||
procedureCode: string;
|
||||
appointmentId: number;
|
||||
id?: number | undefined;
|
||||
createdAt?: Date | undefined;
|
||||
procedureLabel?: string | null | undefined;
|
||||
fee?: string | number | import("../../../generated/prisma/runtime/client").DecimalJsLike | Prisma.Decimal | Decimal | null | undefined;
|
||||
category?: string | null | undefined;
|
||||
toothNumber?: string | null | undefined;
|
||||
toothSurface?: string | null | undefined;
|
||||
oralCavityArea?: string | null | undefined;
|
||||
source?: "COMBO" | "MANUAL" | undefined;
|
||||
comboKey?: string | null | undefined;
|
||||
}>;
|
||||
//# sourceMappingURL=AppointmentProcedureUncheckedCreateWithoutNpiProviderInput.schema.d.ts.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"AppointmentProcedureUncheckedCreateWithoutNpiProviderInput.schema.d.ts","sourceRoot":"","sources":["AppointmentProcedureUncheckedCreateWithoutNpiProviderInput.schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,OAAO,MAAM,YAAY,CAAC;AA2BjC,eAAO,MAAM,sEAAsE,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,CAA2G,CAAC;AAC5Q,eAAO,MAAM,yEAAyE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAe,CAAC"}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user