feat: add per-patient Local folder in Documents page backed by Cloud Storage
- Documents page shows a "Local Folder" card for each selected patient
with an "Open in Cloud Storage" button that deep-links to their folder
- Cloud Storage page reads ?folderId URL param on mount and auto-opens
the folder panel for seamless navigation from Documents
- Backend: GET /api/cloud-storage/patient-folder/:patientId endpoint
that idempotently gets or creates a top-level CloudFolder per patient
- CloudFolder schema gains optional patientId field linked to Patient
- Disk directories for cloud storage folders now use the folder's name
(e.g. "Xiaohui Wang/") instead of the opaque "folder-{id}/" path
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -5,7 +5,8 @@ import type { Prisma } from '../../../generated/prisma';
|
||||
const makeSchema = () => z.object({
|
||||
id: z.literal(true).optional(),
|
||||
userId: z.literal(true).optional(),
|
||||
parentId: z.literal(true).optional()
|
||||
parentId: z.literal(true).optional(),
|
||||
patientId: z.literal(true).optional()
|
||||
}).strict();
|
||||
export const CloudFolderAvgAggregateInputObjectSchema: z.ZodType<Prisma.CloudFolderAvgAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderAvgAggregateInputType>;
|
||||
export const CloudFolderAvgAggregateInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -5,7 +5,8 @@ import { SortOrderSchema } from '../enums/SortOrder.schema'
|
||||
const makeSchema = () => z.object({
|
||||
id: SortOrderSchema.optional(),
|
||||
userId: SortOrderSchema.optional(),
|
||||
parentId: SortOrderSchema.optional()
|
||||
parentId: SortOrderSchema.optional(),
|
||||
patientId: SortOrderSchema.optional()
|
||||
}).strict();
|
||||
export const CloudFolderAvgOrderByAggregateInputObjectSchema: z.ZodType<Prisma.CloudFolderAvgOrderByAggregateInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderAvgOrderByAggregateInput>;
|
||||
export const CloudFolderAvgOrderByAggregateInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -7,6 +7,7 @@ const makeSchema = () => z.object({
|
||||
userId: z.literal(true).optional(),
|
||||
name: z.literal(true).optional(),
|
||||
parentId: z.literal(true).optional(),
|
||||
patientId: z.literal(true).optional(),
|
||||
createdAt: z.literal(true).optional(),
|
||||
updatedAt: z.literal(true).optional(),
|
||||
_all: z.literal(true).optional()
|
||||
|
||||
@@ -7,6 +7,7 @@ const makeSchema = () => z.object({
|
||||
userId: SortOrderSchema.optional(),
|
||||
name: SortOrderSchema.optional(),
|
||||
parentId: SortOrderSchema.optional(),
|
||||
patientId: SortOrderSchema.optional(),
|
||||
createdAt: SortOrderSchema.optional(),
|
||||
updatedAt: SortOrderSchema.optional()
|
||||
}).strict();
|
||||
|
||||
@@ -3,6 +3,7 @@ import type { Prisma } from '../../../generated/prisma';
|
||||
import { CloudFolderCreateNestedOneWithoutChildrenInputObjectSchema as CloudFolderCreateNestedOneWithoutChildrenInputObjectSchema } from './CloudFolderCreateNestedOneWithoutChildrenInput.schema';
|
||||
import { CloudFolderCreateNestedManyWithoutParentInputObjectSchema as CloudFolderCreateNestedManyWithoutParentInputObjectSchema } from './CloudFolderCreateNestedManyWithoutParentInput.schema';
|
||||
import { UserCreateNestedOneWithoutCloudFoldersInputObjectSchema as UserCreateNestedOneWithoutCloudFoldersInputObjectSchema } from './UserCreateNestedOneWithoutCloudFoldersInput.schema';
|
||||
import { PatientCreateNestedOneWithoutCloudFoldersInputObjectSchema as PatientCreateNestedOneWithoutCloudFoldersInputObjectSchema } from './PatientCreateNestedOneWithoutCloudFoldersInput.schema';
|
||||
import { CloudFileCreateNestedManyWithoutFolderInputObjectSchema as CloudFileCreateNestedManyWithoutFolderInputObjectSchema } from './CloudFileCreateNestedManyWithoutFolderInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
@@ -11,6 +12,7 @@ const makeSchema = () => z.object({
|
||||
parent: z.lazy(() => CloudFolderCreateNestedOneWithoutChildrenInputObjectSchema).optional(),
|
||||
children: z.lazy(() => CloudFolderCreateNestedManyWithoutParentInputObjectSchema).optional(),
|
||||
user: z.lazy(() => UserCreateNestedOneWithoutCloudFoldersInputObjectSchema),
|
||||
patient: z.lazy(() => PatientCreateNestedOneWithoutCloudFoldersInputObjectSchema).optional(),
|
||||
files: z.lazy(() => CloudFileCreateNestedManyWithoutFolderInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const CloudFolderCreateInputObjectSchema: z.ZodType<Prisma.CloudFolderCreateInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderCreateInput>;
|
||||
|
||||
@@ -7,6 +7,7 @@ const makeSchema = () => z.object({
|
||||
userId: z.number().int(),
|
||||
name: z.string(),
|
||||
parentId: z.number().int().optional().nullable(),
|
||||
patientId: z.number().int().optional().nullable(),
|
||||
createdAt: z.coerce.date().optional(),
|
||||
updatedAt: z.coerce.date().optional()
|
||||
}).strict();
|
||||
|
||||
@@ -6,6 +6,7 @@ const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
userId: z.number().int(),
|
||||
name: z.string(),
|
||||
patientId: z.number().int().optional().nullable(),
|
||||
createdAt: z.coerce.date().optional(),
|
||||
updatedAt: z.coerce.date().optional()
|
||||
}).strict();
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
userId: z.number().int(),
|
||||
name: z.string(),
|
||||
parentId: z.number().int().optional().nullable(),
|
||||
createdAt: z.coerce.date().optional(),
|
||||
updatedAt: z.coerce.date().optional()
|
||||
}).strict();
|
||||
export const CloudFolderCreateManyPatientInputObjectSchema: z.ZodType<Prisma.CloudFolderCreateManyPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderCreateManyPatientInput>;
|
||||
export const CloudFolderCreateManyPatientInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,10 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { CloudFolderCreateManyPatientInputObjectSchema as CloudFolderCreateManyPatientInputObjectSchema } from './CloudFolderCreateManyPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
data: z.union([z.lazy(() => CloudFolderCreateManyPatientInputObjectSchema), z.lazy(() => CloudFolderCreateManyPatientInputObjectSchema).array()]),
|
||||
skipDuplicates: z.boolean().optional()
|
||||
}).strict();
|
||||
export const CloudFolderCreateManyPatientInputEnvelopeObjectSchema: z.ZodType<Prisma.CloudFolderCreateManyPatientInputEnvelope> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderCreateManyPatientInputEnvelope>;
|
||||
export const CloudFolderCreateManyPatientInputEnvelopeObjectZodSchema = makeSchema();
|
||||
@@ -6,6 +6,7 @@ const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
name: z.string(),
|
||||
parentId: z.number().int().optional().nullable(),
|
||||
patientId: z.number().int().optional().nullable(),
|
||||
createdAt: z.coerce.date().optional(),
|
||||
updatedAt: z.coerce.date().optional()
|
||||
}).strict();
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { CloudFolderCreateWithoutPatientInputObjectSchema as CloudFolderCreateWithoutPatientInputObjectSchema } from './CloudFolderCreateWithoutPatientInput.schema';
|
||||
import { CloudFolderUncheckedCreateWithoutPatientInputObjectSchema as CloudFolderUncheckedCreateWithoutPatientInputObjectSchema } from './CloudFolderUncheckedCreateWithoutPatientInput.schema';
|
||||
import { CloudFolderCreateOrConnectWithoutPatientInputObjectSchema as CloudFolderCreateOrConnectWithoutPatientInputObjectSchema } from './CloudFolderCreateOrConnectWithoutPatientInput.schema';
|
||||
import { CloudFolderCreateManyPatientInputEnvelopeObjectSchema as CloudFolderCreateManyPatientInputEnvelopeObjectSchema } from './CloudFolderCreateManyPatientInputEnvelope.schema';
|
||||
import { CloudFolderWhereUniqueInputObjectSchema as CloudFolderWhereUniqueInputObjectSchema } from './CloudFolderWhereUniqueInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => CloudFolderCreateWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderCreateWithoutPatientInputObjectSchema).array(), z.lazy(() => CloudFolderUncheckedCreateWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUncheckedCreateWithoutPatientInputObjectSchema).array()]).optional(),
|
||||
connectOrCreate: z.union([z.lazy(() => CloudFolderCreateOrConnectWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderCreateOrConnectWithoutPatientInputObjectSchema).array()]).optional(),
|
||||
createMany: z.lazy(() => CloudFolderCreateManyPatientInputEnvelopeObjectSchema).optional(),
|
||||
connect: z.union([z.lazy(() => CloudFolderWhereUniqueInputObjectSchema), z.lazy(() => CloudFolderWhereUniqueInputObjectSchema).array()]).optional()
|
||||
}).strict();
|
||||
export const CloudFolderCreateNestedManyWithoutPatientInputObjectSchema: z.ZodType<Prisma.CloudFolderCreateNestedManyWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderCreateNestedManyWithoutPatientInput>;
|
||||
export const CloudFolderCreateNestedManyWithoutPatientInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { CloudFolderWhereUniqueInputObjectSchema as CloudFolderWhereUniqueInputObjectSchema } from './CloudFolderWhereUniqueInput.schema';
|
||||
import { CloudFolderCreateWithoutPatientInputObjectSchema as CloudFolderCreateWithoutPatientInputObjectSchema } from './CloudFolderCreateWithoutPatientInput.schema';
|
||||
import { CloudFolderUncheckedCreateWithoutPatientInputObjectSchema as CloudFolderUncheckedCreateWithoutPatientInputObjectSchema } from './CloudFolderUncheckedCreateWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => CloudFolderWhereUniqueInputObjectSchema),
|
||||
create: z.union([z.lazy(() => CloudFolderCreateWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUncheckedCreateWithoutPatientInputObjectSchema)])
|
||||
}).strict();
|
||||
export const CloudFolderCreateOrConnectWithoutPatientInputObjectSchema: z.ZodType<Prisma.CloudFolderCreateOrConnectWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderCreateOrConnectWithoutPatientInput>;
|
||||
export const CloudFolderCreateOrConnectWithoutPatientInputObjectZodSchema = makeSchema();
|
||||
@@ -2,6 +2,7 @@ import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { CloudFolderCreateNestedOneWithoutChildrenInputObjectSchema as CloudFolderCreateNestedOneWithoutChildrenInputObjectSchema } from './CloudFolderCreateNestedOneWithoutChildrenInput.schema';
|
||||
import { UserCreateNestedOneWithoutCloudFoldersInputObjectSchema as UserCreateNestedOneWithoutCloudFoldersInputObjectSchema } from './UserCreateNestedOneWithoutCloudFoldersInput.schema';
|
||||
import { PatientCreateNestedOneWithoutCloudFoldersInputObjectSchema as PatientCreateNestedOneWithoutCloudFoldersInputObjectSchema } from './PatientCreateNestedOneWithoutCloudFoldersInput.schema';
|
||||
import { CloudFileCreateNestedManyWithoutFolderInputObjectSchema as CloudFileCreateNestedManyWithoutFolderInputObjectSchema } from './CloudFileCreateNestedManyWithoutFolderInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
@@ -10,6 +11,7 @@ const makeSchema = () => z.object({
|
||||
updatedAt: z.coerce.date().optional(),
|
||||
parent: z.lazy(() => CloudFolderCreateNestedOneWithoutChildrenInputObjectSchema).optional(),
|
||||
user: z.lazy(() => UserCreateNestedOneWithoutCloudFoldersInputObjectSchema),
|
||||
patient: z.lazy(() => PatientCreateNestedOneWithoutCloudFoldersInputObjectSchema).optional(),
|
||||
files: z.lazy(() => CloudFileCreateNestedManyWithoutFolderInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const CloudFolderCreateWithoutChildrenInputObjectSchema: z.ZodType<Prisma.CloudFolderCreateWithoutChildrenInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderCreateWithoutChildrenInput>;
|
||||
|
||||
@@ -2,7 +2,8 @@ import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { CloudFolderCreateNestedOneWithoutChildrenInputObjectSchema as CloudFolderCreateNestedOneWithoutChildrenInputObjectSchema } from './CloudFolderCreateNestedOneWithoutChildrenInput.schema';
|
||||
import { CloudFolderCreateNestedManyWithoutParentInputObjectSchema as CloudFolderCreateNestedManyWithoutParentInputObjectSchema } from './CloudFolderCreateNestedManyWithoutParentInput.schema';
|
||||
import { UserCreateNestedOneWithoutCloudFoldersInputObjectSchema as UserCreateNestedOneWithoutCloudFoldersInputObjectSchema } from './UserCreateNestedOneWithoutCloudFoldersInput.schema'
|
||||
import { UserCreateNestedOneWithoutCloudFoldersInputObjectSchema as UserCreateNestedOneWithoutCloudFoldersInputObjectSchema } from './UserCreateNestedOneWithoutCloudFoldersInput.schema';
|
||||
import { PatientCreateNestedOneWithoutCloudFoldersInputObjectSchema as PatientCreateNestedOneWithoutCloudFoldersInputObjectSchema } from './PatientCreateNestedOneWithoutCloudFoldersInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
name: z.string(),
|
||||
@@ -10,7 +11,8 @@ const makeSchema = () => z.object({
|
||||
updatedAt: z.coerce.date().optional(),
|
||||
parent: z.lazy(() => CloudFolderCreateNestedOneWithoutChildrenInputObjectSchema).optional(),
|
||||
children: z.lazy(() => CloudFolderCreateNestedManyWithoutParentInputObjectSchema).optional(),
|
||||
user: z.lazy(() => UserCreateNestedOneWithoutCloudFoldersInputObjectSchema)
|
||||
user: z.lazy(() => UserCreateNestedOneWithoutCloudFoldersInputObjectSchema),
|
||||
patient: z.lazy(() => PatientCreateNestedOneWithoutCloudFoldersInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const CloudFolderCreateWithoutFilesInputObjectSchema: z.ZodType<Prisma.CloudFolderCreateWithoutFilesInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderCreateWithoutFilesInput>;
|
||||
export const CloudFolderCreateWithoutFilesInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -2,6 +2,7 @@ import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { CloudFolderCreateNestedManyWithoutParentInputObjectSchema as CloudFolderCreateNestedManyWithoutParentInputObjectSchema } from './CloudFolderCreateNestedManyWithoutParentInput.schema';
|
||||
import { UserCreateNestedOneWithoutCloudFoldersInputObjectSchema as UserCreateNestedOneWithoutCloudFoldersInputObjectSchema } from './UserCreateNestedOneWithoutCloudFoldersInput.schema';
|
||||
import { PatientCreateNestedOneWithoutCloudFoldersInputObjectSchema as PatientCreateNestedOneWithoutCloudFoldersInputObjectSchema } from './PatientCreateNestedOneWithoutCloudFoldersInput.schema';
|
||||
import { CloudFileCreateNestedManyWithoutFolderInputObjectSchema as CloudFileCreateNestedManyWithoutFolderInputObjectSchema } from './CloudFileCreateNestedManyWithoutFolderInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
@@ -10,6 +11,7 @@ const makeSchema = () => z.object({
|
||||
updatedAt: z.coerce.date().optional(),
|
||||
children: z.lazy(() => CloudFolderCreateNestedManyWithoutParentInputObjectSchema).optional(),
|
||||
user: z.lazy(() => UserCreateNestedOneWithoutCloudFoldersInputObjectSchema),
|
||||
patient: z.lazy(() => PatientCreateNestedOneWithoutCloudFoldersInputObjectSchema).optional(),
|
||||
files: z.lazy(() => CloudFileCreateNestedManyWithoutFolderInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const CloudFolderCreateWithoutParentInputObjectSchema: z.ZodType<Prisma.CloudFolderCreateWithoutParentInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderCreateWithoutParentInput>;
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { CloudFolderCreateNestedOneWithoutChildrenInputObjectSchema as CloudFolderCreateNestedOneWithoutChildrenInputObjectSchema } from './CloudFolderCreateNestedOneWithoutChildrenInput.schema';
|
||||
import { CloudFolderCreateNestedManyWithoutParentInputObjectSchema as CloudFolderCreateNestedManyWithoutParentInputObjectSchema } from './CloudFolderCreateNestedManyWithoutParentInput.schema';
|
||||
import { UserCreateNestedOneWithoutCloudFoldersInputObjectSchema as UserCreateNestedOneWithoutCloudFoldersInputObjectSchema } from './UserCreateNestedOneWithoutCloudFoldersInput.schema';
|
||||
import { CloudFileCreateNestedManyWithoutFolderInputObjectSchema as CloudFileCreateNestedManyWithoutFolderInputObjectSchema } from './CloudFileCreateNestedManyWithoutFolderInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
name: z.string(),
|
||||
createdAt: z.coerce.date().optional(),
|
||||
updatedAt: z.coerce.date().optional(),
|
||||
parent: z.lazy(() => CloudFolderCreateNestedOneWithoutChildrenInputObjectSchema).optional(),
|
||||
children: z.lazy(() => CloudFolderCreateNestedManyWithoutParentInputObjectSchema).optional(),
|
||||
user: z.lazy(() => UserCreateNestedOneWithoutCloudFoldersInputObjectSchema),
|
||||
files: z.lazy(() => CloudFileCreateNestedManyWithoutFolderInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const CloudFolderCreateWithoutPatientInputObjectSchema: z.ZodType<Prisma.CloudFolderCreateWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderCreateWithoutPatientInput>;
|
||||
export const CloudFolderCreateWithoutPatientInputObjectZodSchema = makeSchema();
|
||||
@@ -2,6 +2,7 @@ import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { CloudFolderCreateNestedOneWithoutChildrenInputObjectSchema as CloudFolderCreateNestedOneWithoutChildrenInputObjectSchema } from './CloudFolderCreateNestedOneWithoutChildrenInput.schema';
|
||||
import { CloudFolderCreateNestedManyWithoutParentInputObjectSchema as CloudFolderCreateNestedManyWithoutParentInputObjectSchema } from './CloudFolderCreateNestedManyWithoutParentInput.schema';
|
||||
import { PatientCreateNestedOneWithoutCloudFoldersInputObjectSchema as PatientCreateNestedOneWithoutCloudFoldersInputObjectSchema } from './PatientCreateNestedOneWithoutCloudFoldersInput.schema';
|
||||
import { CloudFileCreateNestedManyWithoutFolderInputObjectSchema as CloudFileCreateNestedManyWithoutFolderInputObjectSchema } from './CloudFileCreateNestedManyWithoutFolderInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
@@ -10,6 +11,7 @@ const makeSchema = () => z.object({
|
||||
updatedAt: z.coerce.date().optional(),
|
||||
parent: z.lazy(() => CloudFolderCreateNestedOneWithoutChildrenInputObjectSchema).optional(),
|
||||
children: z.lazy(() => CloudFolderCreateNestedManyWithoutParentInputObjectSchema).optional(),
|
||||
patient: z.lazy(() => PatientCreateNestedOneWithoutCloudFoldersInputObjectSchema).optional(),
|
||||
files: z.lazy(() => CloudFileCreateNestedManyWithoutFolderInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const CloudFolderCreateWithoutUserInputObjectSchema: z.ZodType<Prisma.CloudFolderCreateWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderCreateWithoutUserInput>;
|
||||
|
||||
@@ -3,6 +3,7 @@ import type { Prisma } from '../../../generated/prisma';
|
||||
import { CloudFolderArgsObjectSchema as CloudFolderArgsObjectSchema } from './CloudFolderArgs.schema';
|
||||
import { CloudFolderFindManySchema as CloudFolderFindManySchema } from '../findManyCloudFolder.schema';
|
||||
import { UserArgsObjectSchema as UserArgsObjectSchema } from './UserArgs.schema';
|
||||
import { PatientArgsObjectSchema as PatientArgsObjectSchema } from './PatientArgs.schema';
|
||||
import { CloudFileFindManySchema as CloudFileFindManySchema } from '../findManyCloudFile.schema';
|
||||
import { CloudFolderCountOutputTypeArgsObjectSchema as CloudFolderCountOutputTypeArgsObjectSchema } from './CloudFolderCountOutputTypeArgs.schema'
|
||||
|
||||
@@ -10,6 +11,7 @@ const makeSchema = () => z.object({
|
||||
parent: z.union([z.boolean(), z.lazy(() => CloudFolderArgsObjectSchema)]).optional(),
|
||||
children: z.union([z.boolean(), z.lazy(() => CloudFolderFindManySchema)]).optional(),
|
||||
user: z.union([z.boolean(), z.lazy(() => UserArgsObjectSchema)]).optional(),
|
||||
patient: z.union([z.boolean(), z.lazy(() => PatientArgsObjectSchema)]).optional(),
|
||||
files: z.union([z.boolean(), z.lazy(() => CloudFileFindManySchema)]).optional(),
|
||||
_count: z.union([z.boolean(), z.lazy(() => CloudFolderCountOutputTypeArgsObjectSchema)]).optional()
|
||||
}).strict();
|
||||
|
||||
@@ -7,6 +7,7 @@ const makeSchema = () => z.object({
|
||||
userId: z.literal(true).optional(),
|
||||
name: z.literal(true).optional(),
|
||||
parentId: z.literal(true).optional(),
|
||||
patientId: z.literal(true).optional(),
|
||||
createdAt: z.literal(true).optional(),
|
||||
updatedAt: z.literal(true).optional()
|
||||
}).strict();
|
||||
|
||||
@@ -7,6 +7,7 @@ const makeSchema = () => z.object({
|
||||
userId: SortOrderSchema.optional(),
|
||||
name: SortOrderSchema.optional(),
|
||||
parentId: SortOrderSchema.optional(),
|
||||
patientId: SortOrderSchema.optional(),
|
||||
createdAt: SortOrderSchema.optional(),
|
||||
updatedAt: SortOrderSchema.optional()
|
||||
}).strict();
|
||||
|
||||
@@ -7,6 +7,7 @@ const makeSchema = () => z.object({
|
||||
userId: z.literal(true).optional(),
|
||||
name: z.literal(true).optional(),
|
||||
parentId: z.literal(true).optional(),
|
||||
patientId: z.literal(true).optional(),
|
||||
createdAt: z.literal(true).optional(),
|
||||
updatedAt: z.literal(true).optional()
|
||||
}).strict();
|
||||
|
||||
@@ -7,6 +7,7 @@ const makeSchema = () => z.object({
|
||||
userId: SortOrderSchema.optional(),
|
||||
name: SortOrderSchema.optional(),
|
||||
parentId: SortOrderSchema.optional(),
|
||||
patientId: SortOrderSchema.optional(),
|
||||
createdAt: SortOrderSchema.optional(),
|
||||
updatedAt: SortOrderSchema.optional()
|
||||
}).strict();
|
||||
|
||||
@@ -13,6 +13,7 @@ const makeSchema = () => z.object({
|
||||
userId: SortOrderSchema.optional(),
|
||||
name: SortOrderSchema.optional(),
|
||||
parentId: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
|
||||
patientId: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
|
||||
createdAt: SortOrderSchema.optional(),
|
||||
updatedAt: SortOrderSchema.optional(),
|
||||
_count: z.lazy(() => CloudFolderCountOrderByAggregateInputObjectSchema).optional(),
|
||||
|
||||
@@ -4,6 +4,7 @@ import { SortOrderSchema } from '../enums/SortOrder.schema';
|
||||
import { SortOrderInputObjectSchema as SortOrderInputObjectSchema } from './SortOrderInput.schema';
|
||||
import { CloudFolderOrderByRelationAggregateInputObjectSchema as CloudFolderOrderByRelationAggregateInputObjectSchema } from './CloudFolderOrderByRelationAggregateInput.schema';
|
||||
import { UserOrderByWithRelationInputObjectSchema as UserOrderByWithRelationInputObjectSchema } from './UserOrderByWithRelationInput.schema';
|
||||
import { PatientOrderByWithRelationInputObjectSchema as PatientOrderByWithRelationInputObjectSchema } from './PatientOrderByWithRelationInput.schema';
|
||||
import { CloudFileOrderByRelationAggregateInputObjectSchema as CloudFileOrderByRelationAggregateInputObjectSchema } from './CloudFileOrderByRelationAggregateInput.schema'
|
||||
|
||||
const cloudfolderorderbywithrelationinputSchema = z.object({
|
||||
@@ -11,11 +12,13 @@ const cloudfolderorderbywithrelationinputSchema = z.object({
|
||||
userId: SortOrderSchema.optional(),
|
||||
name: SortOrderSchema.optional(),
|
||||
parentId: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
|
||||
patientId: z.union([SortOrderSchema, z.lazy(() => SortOrderInputObjectSchema)]).optional(),
|
||||
createdAt: SortOrderSchema.optional(),
|
||||
updatedAt: SortOrderSchema.optional(),
|
||||
parent: z.lazy(() => CloudFolderOrderByWithRelationInputObjectSchema).optional(),
|
||||
children: z.lazy(() => CloudFolderOrderByRelationAggregateInputObjectSchema).optional(),
|
||||
user: z.lazy(() => UserOrderByWithRelationInputObjectSchema).optional(),
|
||||
patient: z.lazy(() => PatientOrderByWithRelationInputObjectSchema).optional(),
|
||||
files: z.lazy(() => CloudFileOrderByRelationAggregateInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const CloudFolderOrderByWithRelationInputObjectSchema: z.ZodType<Prisma.CloudFolderOrderByWithRelationInput> = cloudfolderorderbywithrelationinputSchema as unknown as z.ZodType<Prisma.CloudFolderOrderByWithRelationInput>;
|
||||
|
||||
@@ -13,6 +13,7 @@ const cloudfolderscalarwhereinputSchema = z.object({
|
||||
userId: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(),
|
||||
name: z.union([z.lazy(() => StringFilterObjectSchema), z.string()]).optional(),
|
||||
parentId: z.union([z.lazy(() => IntNullableFilterObjectSchema), z.number().int()]).optional().nullable(),
|
||||
patientId: z.union([z.lazy(() => IntNullableFilterObjectSchema), z.number().int()]).optional().nullable(),
|
||||
createdAt: z.union([z.lazy(() => DateTimeFilterObjectSchema), z.coerce.date()]).optional(),
|
||||
updatedAt: z.union([z.lazy(() => DateTimeFilterObjectSchema), z.coerce.date()]).optional()
|
||||
}).strict();
|
||||
|
||||
@@ -13,6 +13,7 @@ const cloudfolderscalarwherewithaggregatesinputSchema = z.object({
|
||||
userId: z.union([z.lazy(() => IntWithAggregatesFilterObjectSchema), z.number().int()]).optional(),
|
||||
name: z.union([z.lazy(() => StringWithAggregatesFilterObjectSchema), z.string()]).optional(),
|
||||
parentId: z.union([z.lazy(() => IntNullableWithAggregatesFilterObjectSchema), z.number().int()]).optional().nullable(),
|
||||
patientId: z.union([z.lazy(() => IntNullableWithAggregatesFilterObjectSchema), z.number().int()]).optional().nullable(),
|
||||
createdAt: z.union([z.lazy(() => DateTimeWithAggregatesFilterObjectSchema), z.coerce.date()]).optional(),
|
||||
updatedAt: z.union([z.lazy(() => DateTimeWithAggregatesFilterObjectSchema), z.coerce.date()]).optional()
|
||||
}).strict();
|
||||
|
||||
@@ -3,6 +3,7 @@ import type { Prisma } from '../../../generated/prisma';
|
||||
import { CloudFolderArgsObjectSchema as CloudFolderArgsObjectSchema } from './CloudFolderArgs.schema';
|
||||
import { CloudFolderFindManySchema as CloudFolderFindManySchema } from '../findManyCloudFolder.schema';
|
||||
import { UserArgsObjectSchema as UserArgsObjectSchema } from './UserArgs.schema';
|
||||
import { PatientArgsObjectSchema as PatientArgsObjectSchema } from './PatientArgs.schema';
|
||||
import { CloudFileFindManySchema as CloudFileFindManySchema } from '../findManyCloudFile.schema';
|
||||
import { CloudFolderCountOutputTypeArgsObjectSchema as CloudFolderCountOutputTypeArgsObjectSchema } from './CloudFolderCountOutputTypeArgs.schema'
|
||||
|
||||
@@ -11,9 +12,11 @@ const makeSchema = () => z.object({
|
||||
userId: z.boolean().optional(),
|
||||
name: z.boolean().optional(),
|
||||
parentId: z.boolean().optional(),
|
||||
patientId: z.boolean().optional(),
|
||||
parent: z.union([z.boolean(), z.lazy(() => CloudFolderArgsObjectSchema)]).optional(),
|
||||
children: z.union([z.boolean(), z.lazy(() => CloudFolderFindManySchema)]).optional(),
|
||||
user: z.union([z.boolean(), z.lazy(() => UserArgsObjectSchema)]).optional(),
|
||||
patient: z.union([z.boolean(), z.lazy(() => PatientArgsObjectSchema)]).optional(),
|
||||
files: z.union([z.boolean(), z.lazy(() => CloudFileFindManySchema)]).optional(),
|
||||
createdAt: z.boolean().optional(),
|
||||
updatedAt: z.boolean().optional(),
|
||||
|
||||
@@ -5,7 +5,8 @@ import type { Prisma } from '../../../generated/prisma';
|
||||
const makeSchema = () => z.object({
|
||||
id: z.literal(true).optional(),
|
||||
userId: z.literal(true).optional(),
|
||||
parentId: z.literal(true).optional()
|
||||
parentId: z.literal(true).optional(),
|
||||
patientId: z.literal(true).optional()
|
||||
}).strict();
|
||||
export const CloudFolderSumAggregateInputObjectSchema: z.ZodType<Prisma.CloudFolderSumAggregateInputType> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderSumAggregateInputType>;
|
||||
export const CloudFolderSumAggregateInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -5,7 +5,8 @@ import { SortOrderSchema } from '../enums/SortOrder.schema'
|
||||
const makeSchema = () => z.object({
|
||||
id: SortOrderSchema.optional(),
|
||||
userId: SortOrderSchema.optional(),
|
||||
parentId: SortOrderSchema.optional()
|
||||
parentId: SortOrderSchema.optional(),
|
||||
patientId: SortOrderSchema.optional()
|
||||
}).strict();
|
||||
export const CloudFolderSumOrderByAggregateInputObjectSchema: z.ZodType<Prisma.CloudFolderSumOrderByAggregateInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderSumOrderByAggregateInput>;
|
||||
export const CloudFolderSumOrderByAggregateInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -8,6 +8,7 @@ const makeSchema = () => z.object({
|
||||
userId: z.number().int(),
|
||||
name: z.string(),
|
||||
parentId: z.number().int().optional().nullable(),
|
||||
patientId: z.number().int().optional().nullable(),
|
||||
createdAt: z.coerce.date().optional(),
|
||||
children: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutParentInputObjectSchema).optional(),
|
||||
files: z.lazy(() => CloudFileUncheckedCreateNestedManyWithoutFolderInputObjectSchema).optional()
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { CloudFolderCreateWithoutPatientInputObjectSchema as CloudFolderCreateWithoutPatientInputObjectSchema } from './CloudFolderCreateWithoutPatientInput.schema';
|
||||
import { CloudFolderUncheckedCreateWithoutPatientInputObjectSchema as CloudFolderUncheckedCreateWithoutPatientInputObjectSchema } from './CloudFolderUncheckedCreateWithoutPatientInput.schema';
|
||||
import { CloudFolderCreateOrConnectWithoutPatientInputObjectSchema as CloudFolderCreateOrConnectWithoutPatientInputObjectSchema } from './CloudFolderCreateOrConnectWithoutPatientInput.schema';
|
||||
import { CloudFolderCreateManyPatientInputEnvelopeObjectSchema as CloudFolderCreateManyPatientInputEnvelopeObjectSchema } from './CloudFolderCreateManyPatientInputEnvelope.schema';
|
||||
import { CloudFolderWhereUniqueInputObjectSchema as CloudFolderWhereUniqueInputObjectSchema } from './CloudFolderWhereUniqueInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => CloudFolderCreateWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderCreateWithoutPatientInputObjectSchema).array(), z.lazy(() => CloudFolderUncheckedCreateWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUncheckedCreateWithoutPatientInputObjectSchema).array()]).optional(),
|
||||
connectOrCreate: z.union([z.lazy(() => CloudFolderCreateOrConnectWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderCreateOrConnectWithoutPatientInputObjectSchema).array()]).optional(),
|
||||
createMany: z.lazy(() => CloudFolderCreateManyPatientInputEnvelopeObjectSchema).optional(),
|
||||
connect: z.union([z.lazy(() => CloudFolderWhereUniqueInputObjectSchema), z.lazy(() => CloudFolderWhereUniqueInputObjectSchema).array()]).optional()
|
||||
}).strict();
|
||||
export const CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema: z.ZodType<Prisma.CloudFolderUncheckedCreateNestedManyWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderUncheckedCreateNestedManyWithoutPatientInput>;
|
||||
export const CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectZodSchema = makeSchema();
|
||||
@@ -7,6 +7,7 @@ const makeSchema = () => z.object({
|
||||
userId: z.number().int(),
|
||||
name: z.string(),
|
||||
parentId: z.number().int().optional().nullable(),
|
||||
patientId: z.number().int().optional().nullable(),
|
||||
createdAt: z.coerce.date().optional(),
|
||||
updatedAt: z.coerce.date().optional(),
|
||||
files: z.lazy(() => CloudFileUncheckedCreateNestedManyWithoutFolderInputObjectSchema).optional()
|
||||
|
||||
@@ -7,6 +7,7 @@ const makeSchema = () => z.object({
|
||||
userId: z.number().int(),
|
||||
name: z.string(),
|
||||
parentId: z.number().int().optional().nullable(),
|
||||
patientId: z.number().int().optional().nullable(),
|
||||
createdAt: z.coerce.date().optional(),
|
||||
updatedAt: z.coerce.date().optional(),
|
||||
children: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutParentInputObjectSchema).optional()
|
||||
|
||||
@@ -7,6 +7,7 @@ const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
userId: z.number().int(),
|
||||
name: z.string(),
|
||||
patientId: z.number().int().optional().nullable(),
|
||||
createdAt: z.coerce.date().optional(),
|
||||
updatedAt: z.coerce.date().optional(),
|
||||
children: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutParentInputObjectSchema).optional(),
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { CloudFolderUncheckedCreateNestedManyWithoutParentInputObjectSchema as CloudFolderUncheckedCreateNestedManyWithoutParentInputObjectSchema } from './CloudFolderUncheckedCreateNestedManyWithoutParentInput.schema';
|
||||
import { CloudFileUncheckedCreateNestedManyWithoutFolderInputObjectSchema as CloudFileUncheckedCreateNestedManyWithoutFolderInputObjectSchema } from './CloudFileUncheckedCreateNestedManyWithoutFolderInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
userId: z.number().int(),
|
||||
name: z.string(),
|
||||
parentId: z.number().int().optional().nullable(),
|
||||
createdAt: z.coerce.date().optional(),
|
||||
updatedAt: z.coerce.date().optional(),
|
||||
children: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutParentInputObjectSchema).optional(),
|
||||
files: z.lazy(() => CloudFileUncheckedCreateNestedManyWithoutFolderInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const CloudFolderUncheckedCreateWithoutPatientInputObjectSchema: z.ZodType<Prisma.CloudFolderUncheckedCreateWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderUncheckedCreateWithoutPatientInput>;
|
||||
export const CloudFolderUncheckedCreateWithoutPatientInputObjectZodSchema = makeSchema();
|
||||
@@ -7,6 +7,7 @@ const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
name: z.string(),
|
||||
parentId: z.number().int().optional().nullable(),
|
||||
patientId: z.number().int().optional().nullable(),
|
||||
createdAt: z.coerce.date().optional(),
|
||||
updatedAt: z.coerce.date().optional(),
|
||||
children: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutParentInputObjectSchema).optional(),
|
||||
|
||||
@@ -12,6 +12,7 @@ const makeSchema = () => z.object({
|
||||
userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
parentId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
patientId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
children: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutParentNestedInputObjectSchema).optional(),
|
||||
|
||||
@@ -10,6 +10,7 @@ const makeSchema = () => z.object({
|
||||
userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
parentId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
patientId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional()
|
||||
}).strict();
|
||||
|
||||
@@ -2,12 +2,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 { NullableIntFieldUpdateOperationsInputObjectSchema as NullableIntFieldUpdateOperationsInputObjectSchema } from './NullableIntFieldUpdateOperationsInput.schema';
|
||||
import { DateTimeFieldUpdateOperationsInputObjectSchema as DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
patientId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional()
|
||||
}).strict();
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
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 { NullableIntFieldUpdateOperationsInputObjectSchema as NullableIntFieldUpdateOperationsInputObjectSchema } from './NullableIntFieldUpdateOperationsInput.schema';
|
||||
import { DateTimeFieldUpdateOperationsInputObjectSchema as DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
parentId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const CloudFolderUncheckedUpdateManyWithoutPatientInputObjectSchema: z.ZodType<Prisma.CloudFolderUncheckedUpdateManyWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderUncheckedUpdateManyWithoutPatientInput>;
|
||||
export const CloudFolderUncheckedUpdateManyWithoutPatientInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,27 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { CloudFolderCreateWithoutPatientInputObjectSchema as CloudFolderCreateWithoutPatientInputObjectSchema } from './CloudFolderCreateWithoutPatientInput.schema';
|
||||
import { CloudFolderUncheckedCreateWithoutPatientInputObjectSchema as CloudFolderUncheckedCreateWithoutPatientInputObjectSchema } from './CloudFolderUncheckedCreateWithoutPatientInput.schema';
|
||||
import { CloudFolderCreateOrConnectWithoutPatientInputObjectSchema as CloudFolderCreateOrConnectWithoutPatientInputObjectSchema } from './CloudFolderCreateOrConnectWithoutPatientInput.schema';
|
||||
import { CloudFolderUpsertWithWhereUniqueWithoutPatientInputObjectSchema as CloudFolderUpsertWithWhereUniqueWithoutPatientInputObjectSchema } from './CloudFolderUpsertWithWhereUniqueWithoutPatientInput.schema';
|
||||
import { CloudFolderCreateManyPatientInputEnvelopeObjectSchema as CloudFolderCreateManyPatientInputEnvelopeObjectSchema } from './CloudFolderCreateManyPatientInputEnvelope.schema';
|
||||
import { CloudFolderWhereUniqueInputObjectSchema as CloudFolderWhereUniqueInputObjectSchema } from './CloudFolderWhereUniqueInput.schema';
|
||||
import { CloudFolderUpdateWithWhereUniqueWithoutPatientInputObjectSchema as CloudFolderUpdateWithWhereUniqueWithoutPatientInputObjectSchema } from './CloudFolderUpdateWithWhereUniqueWithoutPatientInput.schema';
|
||||
import { CloudFolderUpdateManyWithWhereWithoutPatientInputObjectSchema as CloudFolderUpdateManyWithWhereWithoutPatientInputObjectSchema } from './CloudFolderUpdateManyWithWhereWithoutPatientInput.schema';
|
||||
import { CloudFolderScalarWhereInputObjectSchema as CloudFolderScalarWhereInputObjectSchema } from './CloudFolderScalarWhereInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => CloudFolderCreateWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderCreateWithoutPatientInputObjectSchema).array(), z.lazy(() => CloudFolderUncheckedCreateWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUncheckedCreateWithoutPatientInputObjectSchema).array()]).optional(),
|
||||
connectOrCreate: z.union([z.lazy(() => CloudFolderCreateOrConnectWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderCreateOrConnectWithoutPatientInputObjectSchema).array()]).optional(),
|
||||
upsert: z.union([z.lazy(() => CloudFolderUpsertWithWhereUniqueWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUpsertWithWhereUniqueWithoutPatientInputObjectSchema).array()]).optional(),
|
||||
createMany: z.lazy(() => CloudFolderCreateManyPatientInputEnvelopeObjectSchema).optional(),
|
||||
set: z.union([z.lazy(() => CloudFolderWhereUniqueInputObjectSchema), z.lazy(() => CloudFolderWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
disconnect: z.union([z.lazy(() => CloudFolderWhereUniqueInputObjectSchema), z.lazy(() => CloudFolderWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
delete: z.union([z.lazy(() => CloudFolderWhereUniqueInputObjectSchema), z.lazy(() => CloudFolderWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
connect: z.union([z.lazy(() => CloudFolderWhereUniqueInputObjectSchema), z.lazy(() => CloudFolderWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
update: z.union([z.lazy(() => CloudFolderUpdateWithWhereUniqueWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUpdateWithWhereUniqueWithoutPatientInputObjectSchema).array()]).optional(),
|
||||
updateMany: z.union([z.lazy(() => CloudFolderUpdateManyWithWhereWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUpdateManyWithWhereWithoutPatientInputObjectSchema).array()]).optional(),
|
||||
deleteMany: z.union([z.lazy(() => CloudFolderScalarWhereInputObjectSchema), z.lazy(() => CloudFolderScalarWhereInputObjectSchema).array()]).optional()
|
||||
}).strict();
|
||||
export const CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema: z.ZodType<Prisma.CloudFolderUncheckedUpdateManyWithoutPatientNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderUncheckedUpdateManyWithoutPatientNestedInput>;
|
||||
export const CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectZodSchema = makeSchema();
|
||||
@@ -9,6 +9,7 @@ const makeSchema = () => z.object({
|
||||
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
parentId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
patientId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional()
|
||||
}).strict();
|
||||
|
||||
@@ -11,6 +11,7 @@ const makeSchema = () => z.object({
|
||||
userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
parentId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
patientId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
files: z.lazy(() => CloudFileUncheckedUpdateManyWithoutFolderNestedInputObjectSchema).optional()
|
||||
|
||||
@@ -11,6 +11,7 @@ const makeSchema = () => z.object({
|
||||
userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
parentId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
patientId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
children: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutParentNestedInputObjectSchema).optional()
|
||||
|
||||
@@ -2,6 +2,7 @@ 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 { NullableIntFieldUpdateOperationsInputObjectSchema as NullableIntFieldUpdateOperationsInputObjectSchema } from './NullableIntFieldUpdateOperationsInput.schema';
|
||||
import { DateTimeFieldUpdateOperationsInputObjectSchema as DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema';
|
||||
import { CloudFolderUncheckedUpdateManyWithoutParentNestedInputObjectSchema as CloudFolderUncheckedUpdateManyWithoutParentNestedInputObjectSchema } from './CloudFolderUncheckedUpdateManyWithoutParentNestedInput.schema';
|
||||
import { CloudFileUncheckedUpdateManyWithoutFolderNestedInputObjectSchema as CloudFileUncheckedUpdateManyWithoutFolderNestedInputObjectSchema } from './CloudFileUncheckedUpdateManyWithoutFolderNestedInput.schema'
|
||||
@@ -10,6 +11,7 @@ const makeSchema = () => z.object({
|
||||
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
patientId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
children: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutParentNestedInputObjectSchema).optional(),
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
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 { NullableIntFieldUpdateOperationsInputObjectSchema as NullableIntFieldUpdateOperationsInputObjectSchema } from './NullableIntFieldUpdateOperationsInput.schema';
|
||||
import { DateTimeFieldUpdateOperationsInputObjectSchema as DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema';
|
||||
import { CloudFolderUncheckedUpdateManyWithoutParentNestedInputObjectSchema as CloudFolderUncheckedUpdateManyWithoutParentNestedInputObjectSchema } from './CloudFolderUncheckedUpdateManyWithoutParentNestedInput.schema';
|
||||
import { CloudFileUncheckedUpdateManyWithoutFolderNestedInputObjectSchema as CloudFileUncheckedUpdateManyWithoutFolderNestedInputObjectSchema } from './CloudFileUncheckedUpdateManyWithoutFolderNestedInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
parentId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
children: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutParentNestedInputObjectSchema).optional(),
|
||||
files: z.lazy(() => CloudFileUncheckedUpdateManyWithoutFolderNestedInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const CloudFolderUncheckedUpdateWithoutPatientInputObjectSchema: z.ZodType<Prisma.CloudFolderUncheckedUpdateWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderUncheckedUpdateWithoutPatientInput>;
|
||||
export const CloudFolderUncheckedUpdateWithoutPatientInputObjectZodSchema = makeSchema();
|
||||
@@ -11,6 +11,7 @@ const makeSchema = () => z.object({
|
||||
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
parentId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
patientId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
children: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutParentNestedInputObjectSchema).optional(),
|
||||
|
||||
@@ -5,6 +5,7 @@ import { DateTimeFieldUpdateOperationsInputObjectSchema as DateTimeFieldUpdateOp
|
||||
import { CloudFolderUpdateOneWithoutChildrenNestedInputObjectSchema as CloudFolderUpdateOneWithoutChildrenNestedInputObjectSchema } from './CloudFolderUpdateOneWithoutChildrenNestedInput.schema';
|
||||
import { CloudFolderUpdateManyWithoutParentNestedInputObjectSchema as CloudFolderUpdateManyWithoutParentNestedInputObjectSchema } from './CloudFolderUpdateManyWithoutParentNestedInput.schema';
|
||||
import { UserUpdateOneRequiredWithoutCloudFoldersNestedInputObjectSchema as UserUpdateOneRequiredWithoutCloudFoldersNestedInputObjectSchema } from './UserUpdateOneRequiredWithoutCloudFoldersNestedInput.schema';
|
||||
import { PatientUpdateOneWithoutCloudFoldersNestedInputObjectSchema as PatientUpdateOneWithoutCloudFoldersNestedInputObjectSchema } from './PatientUpdateOneWithoutCloudFoldersNestedInput.schema';
|
||||
import { CloudFileUpdateManyWithoutFolderNestedInputObjectSchema as CloudFileUpdateManyWithoutFolderNestedInputObjectSchema } from './CloudFileUpdateManyWithoutFolderNestedInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
@@ -14,6 +15,7 @@ const makeSchema = () => z.object({
|
||||
parent: z.lazy(() => CloudFolderUpdateOneWithoutChildrenNestedInputObjectSchema).optional(),
|
||||
children: z.lazy(() => CloudFolderUpdateManyWithoutParentNestedInputObjectSchema).optional(),
|
||||
user: z.lazy(() => UserUpdateOneRequiredWithoutCloudFoldersNestedInputObjectSchema).optional(),
|
||||
patient: z.lazy(() => PatientUpdateOneWithoutCloudFoldersNestedInputObjectSchema).optional(),
|
||||
files: z.lazy(() => CloudFileUpdateManyWithoutFolderNestedInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const CloudFolderUpdateInputObjectSchema: z.ZodType<Prisma.CloudFolderUpdateInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderUpdateInput>;
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { CloudFolderScalarWhereInputObjectSchema as CloudFolderScalarWhereInputObjectSchema } from './CloudFolderScalarWhereInput.schema';
|
||||
import { CloudFolderUpdateManyMutationInputObjectSchema as CloudFolderUpdateManyMutationInputObjectSchema } from './CloudFolderUpdateManyMutationInput.schema';
|
||||
import { CloudFolderUncheckedUpdateManyWithoutPatientInputObjectSchema as CloudFolderUncheckedUpdateManyWithoutPatientInputObjectSchema } from './CloudFolderUncheckedUpdateManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => CloudFolderScalarWhereInputObjectSchema),
|
||||
data: z.union([z.lazy(() => CloudFolderUpdateManyMutationInputObjectSchema), z.lazy(() => CloudFolderUncheckedUpdateManyWithoutPatientInputObjectSchema)])
|
||||
}).strict();
|
||||
export const CloudFolderUpdateManyWithWhereWithoutPatientInputObjectSchema: z.ZodType<Prisma.CloudFolderUpdateManyWithWhereWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderUpdateManyWithWhereWithoutPatientInput>;
|
||||
export const CloudFolderUpdateManyWithWhereWithoutPatientInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,27 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { CloudFolderCreateWithoutPatientInputObjectSchema as CloudFolderCreateWithoutPatientInputObjectSchema } from './CloudFolderCreateWithoutPatientInput.schema';
|
||||
import { CloudFolderUncheckedCreateWithoutPatientInputObjectSchema as CloudFolderUncheckedCreateWithoutPatientInputObjectSchema } from './CloudFolderUncheckedCreateWithoutPatientInput.schema';
|
||||
import { CloudFolderCreateOrConnectWithoutPatientInputObjectSchema as CloudFolderCreateOrConnectWithoutPatientInputObjectSchema } from './CloudFolderCreateOrConnectWithoutPatientInput.schema';
|
||||
import { CloudFolderUpsertWithWhereUniqueWithoutPatientInputObjectSchema as CloudFolderUpsertWithWhereUniqueWithoutPatientInputObjectSchema } from './CloudFolderUpsertWithWhereUniqueWithoutPatientInput.schema';
|
||||
import { CloudFolderCreateManyPatientInputEnvelopeObjectSchema as CloudFolderCreateManyPatientInputEnvelopeObjectSchema } from './CloudFolderCreateManyPatientInputEnvelope.schema';
|
||||
import { CloudFolderWhereUniqueInputObjectSchema as CloudFolderWhereUniqueInputObjectSchema } from './CloudFolderWhereUniqueInput.schema';
|
||||
import { CloudFolderUpdateWithWhereUniqueWithoutPatientInputObjectSchema as CloudFolderUpdateWithWhereUniqueWithoutPatientInputObjectSchema } from './CloudFolderUpdateWithWhereUniqueWithoutPatientInput.schema';
|
||||
import { CloudFolderUpdateManyWithWhereWithoutPatientInputObjectSchema as CloudFolderUpdateManyWithWhereWithoutPatientInputObjectSchema } from './CloudFolderUpdateManyWithWhereWithoutPatientInput.schema';
|
||||
import { CloudFolderScalarWhereInputObjectSchema as CloudFolderScalarWhereInputObjectSchema } from './CloudFolderScalarWhereInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => CloudFolderCreateWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderCreateWithoutPatientInputObjectSchema).array(), z.lazy(() => CloudFolderUncheckedCreateWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUncheckedCreateWithoutPatientInputObjectSchema).array()]).optional(),
|
||||
connectOrCreate: z.union([z.lazy(() => CloudFolderCreateOrConnectWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderCreateOrConnectWithoutPatientInputObjectSchema).array()]).optional(),
|
||||
upsert: z.union([z.lazy(() => CloudFolderUpsertWithWhereUniqueWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUpsertWithWhereUniqueWithoutPatientInputObjectSchema).array()]).optional(),
|
||||
createMany: z.lazy(() => CloudFolderCreateManyPatientInputEnvelopeObjectSchema).optional(),
|
||||
set: z.union([z.lazy(() => CloudFolderWhereUniqueInputObjectSchema), z.lazy(() => CloudFolderWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
disconnect: z.union([z.lazy(() => CloudFolderWhereUniqueInputObjectSchema), z.lazy(() => CloudFolderWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
delete: z.union([z.lazy(() => CloudFolderWhereUniqueInputObjectSchema), z.lazy(() => CloudFolderWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
connect: z.union([z.lazy(() => CloudFolderWhereUniqueInputObjectSchema), z.lazy(() => CloudFolderWhereUniqueInputObjectSchema).array()]).optional(),
|
||||
update: z.union([z.lazy(() => CloudFolderUpdateWithWhereUniqueWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUpdateWithWhereUniqueWithoutPatientInputObjectSchema).array()]).optional(),
|
||||
updateMany: z.union([z.lazy(() => CloudFolderUpdateManyWithWhereWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUpdateManyWithWhereWithoutPatientInputObjectSchema).array()]).optional(),
|
||||
deleteMany: z.union([z.lazy(() => CloudFolderScalarWhereInputObjectSchema), z.lazy(() => CloudFolderScalarWhereInputObjectSchema).array()]).optional()
|
||||
}).strict();
|
||||
export const CloudFolderUpdateManyWithoutPatientNestedInputObjectSchema: z.ZodType<Prisma.CloudFolderUpdateManyWithoutPatientNestedInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderUpdateManyWithoutPatientNestedInput>;
|
||||
export const CloudFolderUpdateManyWithoutPatientNestedInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { CloudFolderWhereUniqueInputObjectSchema as CloudFolderWhereUniqueInputObjectSchema } from './CloudFolderWhereUniqueInput.schema';
|
||||
import { CloudFolderUpdateWithoutPatientInputObjectSchema as CloudFolderUpdateWithoutPatientInputObjectSchema } from './CloudFolderUpdateWithoutPatientInput.schema';
|
||||
import { CloudFolderUncheckedUpdateWithoutPatientInputObjectSchema as CloudFolderUncheckedUpdateWithoutPatientInputObjectSchema } from './CloudFolderUncheckedUpdateWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => CloudFolderWhereUniqueInputObjectSchema),
|
||||
data: z.union([z.lazy(() => CloudFolderUpdateWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUncheckedUpdateWithoutPatientInputObjectSchema)])
|
||||
}).strict();
|
||||
export const CloudFolderUpdateWithWhereUniqueWithoutPatientInputObjectSchema: z.ZodType<Prisma.CloudFolderUpdateWithWhereUniqueWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderUpdateWithWhereUniqueWithoutPatientInput>;
|
||||
export const CloudFolderUpdateWithWhereUniqueWithoutPatientInputObjectZodSchema = makeSchema();
|
||||
@@ -4,6 +4,7 @@ import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperat
|
||||
import { DateTimeFieldUpdateOperationsInputObjectSchema as DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema';
|
||||
import { CloudFolderUpdateOneWithoutChildrenNestedInputObjectSchema as CloudFolderUpdateOneWithoutChildrenNestedInputObjectSchema } from './CloudFolderUpdateOneWithoutChildrenNestedInput.schema';
|
||||
import { UserUpdateOneRequiredWithoutCloudFoldersNestedInputObjectSchema as UserUpdateOneRequiredWithoutCloudFoldersNestedInputObjectSchema } from './UserUpdateOneRequiredWithoutCloudFoldersNestedInput.schema';
|
||||
import { PatientUpdateOneWithoutCloudFoldersNestedInputObjectSchema as PatientUpdateOneWithoutCloudFoldersNestedInputObjectSchema } from './PatientUpdateOneWithoutCloudFoldersNestedInput.schema';
|
||||
import { CloudFileUpdateManyWithoutFolderNestedInputObjectSchema as CloudFileUpdateManyWithoutFolderNestedInputObjectSchema } from './CloudFileUpdateManyWithoutFolderNestedInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
@@ -12,6 +13,7 @@ const makeSchema = () => z.object({
|
||||
updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
parent: z.lazy(() => CloudFolderUpdateOneWithoutChildrenNestedInputObjectSchema).optional(),
|
||||
user: z.lazy(() => UserUpdateOneRequiredWithoutCloudFoldersNestedInputObjectSchema).optional(),
|
||||
patient: z.lazy(() => PatientUpdateOneWithoutCloudFoldersNestedInputObjectSchema).optional(),
|
||||
files: z.lazy(() => CloudFileUpdateManyWithoutFolderNestedInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const CloudFolderUpdateWithoutChildrenInputObjectSchema: z.ZodType<Prisma.CloudFolderUpdateWithoutChildrenInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderUpdateWithoutChildrenInput>;
|
||||
|
||||
@@ -4,7 +4,8 @@ import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperat
|
||||
import { DateTimeFieldUpdateOperationsInputObjectSchema as DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema';
|
||||
import { CloudFolderUpdateOneWithoutChildrenNestedInputObjectSchema as CloudFolderUpdateOneWithoutChildrenNestedInputObjectSchema } from './CloudFolderUpdateOneWithoutChildrenNestedInput.schema';
|
||||
import { CloudFolderUpdateManyWithoutParentNestedInputObjectSchema as CloudFolderUpdateManyWithoutParentNestedInputObjectSchema } from './CloudFolderUpdateManyWithoutParentNestedInput.schema';
|
||||
import { UserUpdateOneRequiredWithoutCloudFoldersNestedInputObjectSchema as UserUpdateOneRequiredWithoutCloudFoldersNestedInputObjectSchema } from './UserUpdateOneRequiredWithoutCloudFoldersNestedInput.schema'
|
||||
import { UserUpdateOneRequiredWithoutCloudFoldersNestedInputObjectSchema as UserUpdateOneRequiredWithoutCloudFoldersNestedInputObjectSchema } from './UserUpdateOneRequiredWithoutCloudFoldersNestedInput.schema';
|
||||
import { PatientUpdateOneWithoutCloudFoldersNestedInputObjectSchema as PatientUpdateOneWithoutCloudFoldersNestedInputObjectSchema } from './PatientUpdateOneWithoutCloudFoldersNestedInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
@@ -12,7 +13,8 @@ const makeSchema = () => z.object({
|
||||
updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
parent: z.lazy(() => CloudFolderUpdateOneWithoutChildrenNestedInputObjectSchema).optional(),
|
||||
children: z.lazy(() => CloudFolderUpdateManyWithoutParentNestedInputObjectSchema).optional(),
|
||||
user: z.lazy(() => UserUpdateOneRequiredWithoutCloudFoldersNestedInputObjectSchema).optional()
|
||||
user: z.lazy(() => UserUpdateOneRequiredWithoutCloudFoldersNestedInputObjectSchema).optional(),
|
||||
patient: z.lazy(() => PatientUpdateOneWithoutCloudFoldersNestedInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const CloudFolderUpdateWithoutFilesInputObjectSchema: z.ZodType<Prisma.CloudFolderUpdateWithoutFilesInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderUpdateWithoutFilesInput>;
|
||||
export const CloudFolderUpdateWithoutFilesInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -4,6 +4,7 @@ import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperat
|
||||
import { DateTimeFieldUpdateOperationsInputObjectSchema as DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema';
|
||||
import { CloudFolderUpdateManyWithoutParentNestedInputObjectSchema as CloudFolderUpdateManyWithoutParentNestedInputObjectSchema } from './CloudFolderUpdateManyWithoutParentNestedInput.schema';
|
||||
import { UserUpdateOneRequiredWithoutCloudFoldersNestedInputObjectSchema as UserUpdateOneRequiredWithoutCloudFoldersNestedInputObjectSchema } from './UserUpdateOneRequiredWithoutCloudFoldersNestedInput.schema';
|
||||
import { PatientUpdateOneWithoutCloudFoldersNestedInputObjectSchema as PatientUpdateOneWithoutCloudFoldersNestedInputObjectSchema } from './PatientUpdateOneWithoutCloudFoldersNestedInput.schema';
|
||||
import { CloudFileUpdateManyWithoutFolderNestedInputObjectSchema as CloudFileUpdateManyWithoutFolderNestedInputObjectSchema } from './CloudFileUpdateManyWithoutFolderNestedInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
@@ -12,6 +13,7 @@ const makeSchema = () => z.object({
|
||||
updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
children: z.lazy(() => CloudFolderUpdateManyWithoutParentNestedInputObjectSchema).optional(),
|
||||
user: z.lazy(() => UserUpdateOneRequiredWithoutCloudFoldersNestedInputObjectSchema).optional(),
|
||||
patient: z.lazy(() => PatientUpdateOneWithoutCloudFoldersNestedInputObjectSchema).optional(),
|
||||
files: z.lazy(() => CloudFileUpdateManyWithoutFolderNestedInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const CloudFolderUpdateWithoutParentInputObjectSchema: z.ZodType<Prisma.CloudFolderUpdateWithoutParentInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderUpdateWithoutParentInput>;
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperationsInputObjectSchema } from './StringFieldUpdateOperationsInput.schema';
|
||||
import { DateTimeFieldUpdateOperationsInputObjectSchema as DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema';
|
||||
import { CloudFolderUpdateOneWithoutChildrenNestedInputObjectSchema as CloudFolderUpdateOneWithoutChildrenNestedInputObjectSchema } from './CloudFolderUpdateOneWithoutChildrenNestedInput.schema';
|
||||
import { CloudFolderUpdateManyWithoutParentNestedInputObjectSchema as CloudFolderUpdateManyWithoutParentNestedInputObjectSchema } from './CloudFolderUpdateManyWithoutParentNestedInput.schema';
|
||||
import { UserUpdateOneRequiredWithoutCloudFoldersNestedInputObjectSchema as UserUpdateOneRequiredWithoutCloudFoldersNestedInputObjectSchema } from './UserUpdateOneRequiredWithoutCloudFoldersNestedInput.schema';
|
||||
import { CloudFileUpdateManyWithoutFolderNestedInputObjectSchema as CloudFileUpdateManyWithoutFolderNestedInputObjectSchema } from './CloudFileUpdateManyWithoutFolderNestedInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
name: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
parent: z.lazy(() => CloudFolderUpdateOneWithoutChildrenNestedInputObjectSchema).optional(),
|
||||
children: z.lazy(() => CloudFolderUpdateManyWithoutParentNestedInputObjectSchema).optional(),
|
||||
user: z.lazy(() => UserUpdateOneRequiredWithoutCloudFoldersNestedInputObjectSchema).optional(),
|
||||
files: z.lazy(() => CloudFileUpdateManyWithoutFolderNestedInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const CloudFolderUpdateWithoutPatientInputObjectSchema: z.ZodType<Prisma.CloudFolderUpdateWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderUpdateWithoutPatientInput>;
|
||||
export const CloudFolderUpdateWithoutPatientInputObjectZodSchema = makeSchema();
|
||||
@@ -4,6 +4,7 @@ import { StringFieldUpdateOperationsInputObjectSchema as StringFieldUpdateOperat
|
||||
import { DateTimeFieldUpdateOperationsInputObjectSchema as DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema';
|
||||
import { CloudFolderUpdateOneWithoutChildrenNestedInputObjectSchema as CloudFolderUpdateOneWithoutChildrenNestedInputObjectSchema } from './CloudFolderUpdateOneWithoutChildrenNestedInput.schema';
|
||||
import { CloudFolderUpdateManyWithoutParentNestedInputObjectSchema as CloudFolderUpdateManyWithoutParentNestedInputObjectSchema } from './CloudFolderUpdateManyWithoutParentNestedInput.schema';
|
||||
import { PatientUpdateOneWithoutCloudFoldersNestedInputObjectSchema as PatientUpdateOneWithoutCloudFoldersNestedInputObjectSchema } from './PatientUpdateOneWithoutCloudFoldersNestedInput.schema';
|
||||
import { CloudFileUpdateManyWithoutFolderNestedInputObjectSchema as CloudFileUpdateManyWithoutFolderNestedInputObjectSchema } from './CloudFileUpdateManyWithoutFolderNestedInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
@@ -12,6 +13,7 @@ const makeSchema = () => z.object({
|
||||
updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
parent: z.lazy(() => CloudFolderUpdateOneWithoutChildrenNestedInputObjectSchema).optional(),
|
||||
children: z.lazy(() => CloudFolderUpdateManyWithoutParentNestedInputObjectSchema).optional(),
|
||||
patient: z.lazy(() => PatientUpdateOneWithoutCloudFoldersNestedInputObjectSchema).optional(),
|
||||
files: z.lazy(() => CloudFileUpdateManyWithoutFolderNestedInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const CloudFolderUpdateWithoutUserInputObjectSchema: z.ZodType<Prisma.CloudFolderUpdateWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderUpdateWithoutUserInput>;
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { CloudFolderWhereUniqueInputObjectSchema as CloudFolderWhereUniqueInputObjectSchema } from './CloudFolderWhereUniqueInput.schema';
|
||||
import { CloudFolderUpdateWithoutPatientInputObjectSchema as CloudFolderUpdateWithoutPatientInputObjectSchema } from './CloudFolderUpdateWithoutPatientInput.schema';
|
||||
import { CloudFolderUncheckedUpdateWithoutPatientInputObjectSchema as CloudFolderUncheckedUpdateWithoutPatientInputObjectSchema } from './CloudFolderUncheckedUpdateWithoutPatientInput.schema';
|
||||
import { CloudFolderCreateWithoutPatientInputObjectSchema as CloudFolderCreateWithoutPatientInputObjectSchema } from './CloudFolderCreateWithoutPatientInput.schema';
|
||||
import { CloudFolderUncheckedCreateWithoutPatientInputObjectSchema as CloudFolderUncheckedCreateWithoutPatientInputObjectSchema } from './CloudFolderUncheckedCreateWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => CloudFolderWhereUniqueInputObjectSchema),
|
||||
update: z.union([z.lazy(() => CloudFolderUpdateWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUncheckedUpdateWithoutPatientInputObjectSchema)]),
|
||||
create: z.union([z.lazy(() => CloudFolderCreateWithoutPatientInputObjectSchema), z.lazy(() => CloudFolderUncheckedCreateWithoutPatientInputObjectSchema)])
|
||||
}).strict();
|
||||
export const CloudFolderUpsertWithWhereUniqueWithoutPatientInputObjectSchema: z.ZodType<Prisma.CloudFolderUpsertWithWhereUniqueWithoutPatientInput> = makeSchema() as unknown as z.ZodType<Prisma.CloudFolderUpsertWithWhereUniqueWithoutPatientInput>;
|
||||
export const CloudFolderUpsertWithWhereUniqueWithoutPatientInputObjectZodSchema = makeSchema();
|
||||
@@ -8,6 +8,8 @@ import { CloudFolderNullableScalarRelationFilterObjectSchema as CloudFolderNulla
|
||||
import { CloudFolderListRelationFilterObjectSchema as CloudFolderListRelationFilterObjectSchema } from './CloudFolderListRelationFilter.schema';
|
||||
import { UserScalarRelationFilterObjectSchema as UserScalarRelationFilterObjectSchema } from './UserScalarRelationFilter.schema';
|
||||
import { UserWhereInputObjectSchema as UserWhereInputObjectSchema } from './UserWhereInput.schema';
|
||||
import { PatientNullableScalarRelationFilterObjectSchema as PatientNullableScalarRelationFilterObjectSchema } from './PatientNullableScalarRelationFilter.schema';
|
||||
import { PatientWhereInputObjectSchema as PatientWhereInputObjectSchema } from './PatientWhereInput.schema';
|
||||
import { CloudFileListRelationFilterObjectSchema as CloudFileListRelationFilterObjectSchema } from './CloudFileListRelationFilter.schema'
|
||||
|
||||
const cloudfolderwhereinputSchema = z.object({
|
||||
@@ -18,11 +20,13 @@ const cloudfolderwhereinputSchema = z.object({
|
||||
userId: z.union([z.lazy(() => IntFilterObjectSchema), z.number().int()]).optional(),
|
||||
name: z.union([z.lazy(() => StringFilterObjectSchema), z.string()]).optional(),
|
||||
parentId: z.union([z.lazy(() => IntNullableFilterObjectSchema), z.number().int()]).optional().nullable(),
|
||||
patientId: z.union([z.lazy(() => IntNullableFilterObjectSchema), z.number().int()]).optional().nullable(),
|
||||
createdAt: z.union([z.lazy(() => DateTimeFilterObjectSchema), z.coerce.date()]).optional(),
|
||||
updatedAt: z.union([z.lazy(() => DateTimeFilterObjectSchema), z.coerce.date()]).optional(),
|
||||
parent: z.union([z.lazy(() => CloudFolderNullableScalarRelationFilterObjectSchema), z.lazy(() => CloudFolderWhereInputObjectSchema)]).optional(),
|
||||
children: z.lazy(() => CloudFolderListRelationFilterObjectSchema).optional(),
|
||||
user: z.union([z.lazy(() => UserScalarRelationFilterObjectSchema), z.lazy(() => UserWhereInputObjectSchema)]).optional(),
|
||||
patient: z.union([z.lazy(() => PatientNullableScalarRelationFilterObjectSchema), z.lazy(() => PatientWhereInputObjectSchema)]).optional(),
|
||||
files: z.lazy(() => CloudFileListRelationFilterObjectSchema).optional()
|
||||
}).strict();
|
||||
export const CloudFolderWhereInputObjectSchema: z.ZodType<Prisma.CloudFolderWhereInput> = cloudfolderwhereinputSchema as unknown as z.ZodType<Prisma.CloudFolderWhereInput>;
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { CloudFolderWhereInputObjectSchema as CloudFolderWhereInputObjectSchema } from './CloudFolderWhereInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => CloudFolderWhereInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientCountOutputTypeCountCloudFoldersArgsObjectSchema = makeSchema();
|
||||
export const PatientCountOutputTypeCountCloudFoldersArgsObjectZodSchema = makeSchema();
|
||||
@@ -6,7 +6,8 @@ import { PatientCountOutputTypeCountClaimsArgsObjectSchema as PatientCountOutput
|
||||
import { PatientCountOutputTypeCountGroupsArgsObjectSchema as PatientCountOutputTypeCountGroupsArgsObjectSchema } from './PatientCountOutputTypeCountGroupsArgs.schema';
|
||||
import { PatientCountOutputTypeCountPaymentArgsObjectSchema as PatientCountOutputTypeCountPaymentArgsObjectSchema } from './PatientCountOutputTypeCountPaymentArgs.schema';
|
||||
import { PatientCountOutputTypeCountCommunicationsArgsObjectSchema as PatientCountOutputTypeCountCommunicationsArgsObjectSchema } from './PatientCountOutputTypeCountCommunicationsArgs.schema';
|
||||
import { PatientCountOutputTypeCountDocumentsArgsObjectSchema as PatientCountOutputTypeCountDocumentsArgsObjectSchema } from './PatientCountOutputTypeCountDocumentsArgs.schema'
|
||||
import { PatientCountOutputTypeCountDocumentsArgsObjectSchema as PatientCountOutputTypeCountDocumentsArgsObjectSchema } from './PatientCountOutputTypeCountDocumentsArgs.schema';
|
||||
import { PatientCountOutputTypeCountCloudFoldersArgsObjectSchema as PatientCountOutputTypeCountCloudFoldersArgsObjectSchema } from './PatientCountOutputTypeCountCloudFoldersArgs.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
appointments: z.union([z.boolean(), z.lazy(() => PatientCountOutputTypeCountAppointmentsArgsObjectSchema)]).optional(),
|
||||
@@ -15,7 +16,8 @@ const makeSchema = () => z.object({
|
||||
groups: z.union([z.boolean(), z.lazy(() => PatientCountOutputTypeCountGroupsArgsObjectSchema)]).optional(),
|
||||
payment: z.union([z.boolean(), z.lazy(() => PatientCountOutputTypeCountPaymentArgsObjectSchema)]).optional(),
|
||||
communications: z.union([z.boolean(), z.lazy(() => PatientCountOutputTypeCountCommunicationsArgsObjectSchema)]).optional(),
|
||||
documents: z.union([z.boolean(), z.lazy(() => PatientCountOutputTypeCountDocumentsArgsObjectSchema)]).optional()
|
||||
documents: z.union([z.boolean(), z.lazy(() => PatientCountOutputTypeCountDocumentsArgsObjectSchema)]).optional(),
|
||||
cloudFolders: z.union([z.boolean(), z.lazy(() => PatientCountOutputTypeCountCloudFoldersArgsObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const PatientCountOutputTypeSelectObjectSchema: z.ZodType<Prisma.PatientCountOutputTypeSelect> = makeSchema() as unknown as z.ZodType<Prisma.PatientCountOutputTypeSelect>;
|
||||
export const PatientCountOutputTypeSelectObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -9,7 +9,8 @@ import { PdfGroupCreateNestedManyWithoutPatientInputObjectSchema as PdfGroupCrea
|
||||
import { PaymentCreateNestedManyWithoutPatientInputObjectSchema as PaymentCreateNestedManyWithoutPatientInputObjectSchema } from './PaymentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { CommunicationCreateNestedManyWithoutPatientInputObjectSchema as CommunicationCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationCreateNestedOneWithoutPatientInput.schema'
|
||||
import { PatientConversationCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
firstName: z.string(),
|
||||
@@ -38,7 +39,8 @@ const makeSchema = () => z.object({
|
||||
payment: z.lazy(() => PaymentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional()
|
||||
conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientCreateInputObjectSchema: z.ZodType<Prisma.PatientCreateInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateInput>;
|
||||
export const PatientCreateInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientCreateWithoutCloudFoldersInputObjectSchema as PatientCreateWithoutCloudFoldersInputObjectSchema } from './PatientCreateWithoutCloudFoldersInput.schema';
|
||||
import { PatientUncheckedCreateWithoutCloudFoldersInputObjectSchema as PatientUncheckedCreateWithoutCloudFoldersInputObjectSchema } from './PatientUncheckedCreateWithoutCloudFoldersInput.schema';
|
||||
import { PatientCreateOrConnectWithoutCloudFoldersInputObjectSchema as PatientCreateOrConnectWithoutCloudFoldersInputObjectSchema } from './PatientCreateOrConnectWithoutCloudFoldersInput.schema';
|
||||
import { PatientWhereUniqueInputObjectSchema as PatientWhereUniqueInputObjectSchema } from './PatientWhereUniqueInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
create: z.union([z.lazy(() => PatientCreateWithoutCloudFoldersInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutCloudFoldersInputObjectSchema)]).optional(),
|
||||
connectOrCreate: z.lazy(() => PatientCreateOrConnectWithoutCloudFoldersInputObjectSchema).optional(),
|
||||
connect: z.lazy(() => PatientWhereUniqueInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientCreateNestedOneWithoutCloudFoldersInputObjectSchema: z.ZodType<Prisma.PatientCreateNestedOneWithoutCloudFoldersInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateNestedOneWithoutCloudFoldersInput>;
|
||||
export const PatientCreateNestedOneWithoutCloudFoldersInputObjectZodSchema = makeSchema();
|
||||
@@ -0,0 +1,12 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientWhereUniqueInputObjectSchema as PatientWhereUniqueInputObjectSchema } from './PatientWhereUniqueInput.schema';
|
||||
import { PatientCreateWithoutCloudFoldersInputObjectSchema as PatientCreateWithoutCloudFoldersInputObjectSchema } from './PatientCreateWithoutCloudFoldersInput.schema';
|
||||
import { PatientUncheckedCreateWithoutCloudFoldersInputObjectSchema as PatientUncheckedCreateWithoutCloudFoldersInputObjectSchema } from './PatientUncheckedCreateWithoutCloudFoldersInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
where: z.lazy(() => PatientWhereUniqueInputObjectSchema),
|
||||
create: z.union([z.lazy(() => PatientCreateWithoutCloudFoldersInputObjectSchema), z.lazy(() => PatientUncheckedCreateWithoutCloudFoldersInputObjectSchema)])
|
||||
}).strict();
|
||||
export const PatientCreateOrConnectWithoutCloudFoldersInputObjectSchema: z.ZodType<Prisma.PatientCreateOrConnectWithoutCloudFoldersInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateOrConnectWithoutCloudFoldersInput>;
|
||||
export const PatientCreateOrConnectWithoutCloudFoldersInputObjectZodSchema = makeSchema();
|
||||
@@ -8,7 +8,8 @@ import { PdfGroupCreateNestedManyWithoutPatientInputObjectSchema as PdfGroupCrea
|
||||
import { PaymentCreateNestedManyWithoutPatientInputObjectSchema as PaymentCreateNestedManyWithoutPatientInputObjectSchema } from './PaymentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { CommunicationCreateNestedManyWithoutPatientInputObjectSchema as CommunicationCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationCreateNestedOneWithoutPatientInput.schema'
|
||||
import { PatientConversationCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
firstName: z.string(),
|
||||
@@ -37,7 +38,8 @@ const makeSchema = () => z.object({
|
||||
payment: z.lazy(() => PaymentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional()
|
||||
conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientCreateWithoutAppointmentsInputObjectSchema: z.ZodType<Prisma.PatientCreateWithoutAppointmentsInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateWithoutAppointmentsInput>;
|
||||
export const PatientCreateWithoutAppointmentsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -8,7 +8,8 @@ import { PdfGroupCreateNestedManyWithoutPatientInputObjectSchema as PdfGroupCrea
|
||||
import { PaymentCreateNestedManyWithoutPatientInputObjectSchema as PaymentCreateNestedManyWithoutPatientInputObjectSchema } from './PaymentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { CommunicationCreateNestedManyWithoutPatientInputObjectSchema as CommunicationCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationCreateNestedOneWithoutPatientInput.schema'
|
||||
import { PatientConversationCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
firstName: z.string(),
|
||||
@@ -37,7 +38,8 @@ const makeSchema = () => z.object({
|
||||
payment: z.lazy(() => PaymentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional()
|
||||
conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientCreateWithoutClaimsInputObjectSchema: z.ZodType<Prisma.PatientCreateWithoutClaimsInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateWithoutClaimsInput>;
|
||||
export const PatientCreateWithoutClaimsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientStatusSchema } from '../enums/PatientStatus.schema';
|
||||
import { UserCreateNestedOneWithoutPatientsInputObjectSchema as UserCreateNestedOneWithoutPatientsInputObjectSchema } from './UserCreateNestedOneWithoutPatientsInput.schema';
|
||||
import { AppointmentCreateNestedManyWithoutPatientInputObjectSchema as AppointmentCreateNestedManyWithoutPatientInputObjectSchema } from './AppointmentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { AppointmentProcedureCreateNestedManyWithoutPatientInputObjectSchema as AppointmentProcedureCreateNestedManyWithoutPatientInputObjectSchema } from './AppointmentProcedureCreateNestedManyWithoutPatientInput.schema';
|
||||
import { ClaimCreateNestedManyWithoutPatientInputObjectSchema as ClaimCreateNestedManyWithoutPatientInputObjectSchema } from './ClaimCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PdfGroupCreateNestedManyWithoutPatientInputObjectSchema as PdfGroupCreateNestedManyWithoutPatientInputObjectSchema } from './PdfGroupCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PaymentCreateNestedManyWithoutPatientInputObjectSchema as PaymentCreateNestedManyWithoutPatientInputObjectSchema } from './PaymentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { CommunicationCreateNestedManyWithoutPatientInputObjectSchema as CommunicationCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationCreateNestedOneWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
firstName: z.string(),
|
||||
lastName: z.string(),
|
||||
dateOfBirth: z.coerce.date().optional().nullable(),
|
||||
gender: z.string(),
|
||||
phone: z.string(),
|
||||
email: z.string().optional().nullable(),
|
||||
address: z.string().optional().nullable(),
|
||||
city: z.string().optional().nullable(),
|
||||
zipCode: z.string().optional().nullable(),
|
||||
insuranceProvider: z.string().optional().nullable(),
|
||||
insuranceId: z.string().optional().nullable(),
|
||||
groupNumber: z.string().optional().nullable(),
|
||||
policyHolder: z.string().optional().nullable(),
|
||||
allergies: z.string().optional().nullable(),
|
||||
medicalConditions: z.string().optional().nullable(),
|
||||
preferredLanguage: z.string().optional().nullable(),
|
||||
status: PatientStatusSchema.optional(),
|
||||
createdAt: z.coerce.date().optional(),
|
||||
updatedAt: z.coerce.date().optional(),
|
||||
user: z.lazy(() => UserCreateNestedOneWithoutPatientsInputObjectSchema),
|
||||
appointments: z.lazy(() => AppointmentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
procedures: z.lazy(() => AppointmentProcedureCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
claims: z.lazy(() => ClaimCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
groups: z.lazy(() => PdfGroupCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
payment: z.lazy(() => PaymentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientCreateWithoutCloudFoldersInputObjectSchema: z.ZodType<Prisma.PatientCreateWithoutCloudFoldersInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateWithoutCloudFoldersInput>;
|
||||
export const PatientCreateWithoutCloudFoldersInputObjectZodSchema = makeSchema();
|
||||
@@ -8,7 +8,8 @@ import { ClaimCreateNestedManyWithoutPatientInputObjectSchema as ClaimCreateNest
|
||||
import { PdfGroupCreateNestedManyWithoutPatientInputObjectSchema as PdfGroupCreateNestedManyWithoutPatientInputObjectSchema } from './PdfGroupCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PaymentCreateNestedManyWithoutPatientInputObjectSchema as PaymentCreateNestedManyWithoutPatientInputObjectSchema } from './PaymentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationCreateNestedOneWithoutPatientInput.schema'
|
||||
import { PatientConversationCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
firstName: z.string(),
|
||||
@@ -37,7 +38,8 @@ const makeSchema = () => z.object({
|
||||
groups: z.lazy(() => PdfGroupCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
payment: z.lazy(() => PaymentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional()
|
||||
conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientCreateWithoutCommunicationsInputObjectSchema: z.ZodType<Prisma.PatientCreateWithoutCommunicationsInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateWithoutCommunicationsInput>;
|
||||
export const PatientCreateWithoutCommunicationsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -8,7 +8,8 @@ import { ClaimCreateNestedManyWithoutPatientInputObjectSchema as ClaimCreateNest
|
||||
import { PdfGroupCreateNestedManyWithoutPatientInputObjectSchema as PdfGroupCreateNestedManyWithoutPatientInputObjectSchema } from './PdfGroupCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PaymentCreateNestedManyWithoutPatientInputObjectSchema as PaymentCreateNestedManyWithoutPatientInputObjectSchema } from './PaymentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { CommunicationCreateNestedManyWithoutPatientInputObjectSchema as CommunicationCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentCreateNestedManyWithoutPatientInput.schema'
|
||||
import { PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { CloudFolderCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
firstName: z.string(),
|
||||
@@ -37,7 +38,8 @@ const makeSchema = () => z.object({
|
||||
groups: z.lazy(() => PdfGroupCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
payment: z.lazy(() => PaymentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientCreateWithoutConversationInputObjectSchema: z.ZodType<Prisma.PatientCreateWithoutConversationInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateWithoutConversationInput>;
|
||||
export const PatientCreateWithoutConversationInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -8,7 +8,8 @@ import { ClaimCreateNestedManyWithoutPatientInputObjectSchema as ClaimCreateNest
|
||||
import { PdfGroupCreateNestedManyWithoutPatientInputObjectSchema as PdfGroupCreateNestedManyWithoutPatientInputObjectSchema } from './PdfGroupCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PaymentCreateNestedManyWithoutPatientInputObjectSchema as PaymentCreateNestedManyWithoutPatientInputObjectSchema } from './PaymentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { CommunicationCreateNestedManyWithoutPatientInputObjectSchema as CommunicationCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationCreateNestedOneWithoutPatientInput.schema'
|
||||
import { PatientConversationCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
firstName: z.string(),
|
||||
@@ -37,7 +38,8 @@ const makeSchema = () => z.object({
|
||||
groups: z.lazy(() => PdfGroupCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
payment: z.lazy(() => PaymentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional()
|
||||
conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientCreateWithoutDocumentsInputObjectSchema: z.ZodType<Prisma.PatientCreateWithoutDocumentsInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateWithoutDocumentsInput>;
|
||||
export const PatientCreateWithoutDocumentsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -8,7 +8,8 @@ import { ClaimCreateNestedManyWithoutPatientInputObjectSchema as ClaimCreateNest
|
||||
import { PaymentCreateNestedManyWithoutPatientInputObjectSchema as PaymentCreateNestedManyWithoutPatientInputObjectSchema } from './PaymentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { CommunicationCreateNestedManyWithoutPatientInputObjectSchema as CommunicationCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationCreateNestedOneWithoutPatientInput.schema'
|
||||
import { PatientConversationCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
firstName: z.string(),
|
||||
@@ -37,7 +38,8 @@ const makeSchema = () => z.object({
|
||||
payment: z.lazy(() => PaymentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional()
|
||||
conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientCreateWithoutGroupsInputObjectSchema: z.ZodType<Prisma.PatientCreateWithoutGroupsInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateWithoutGroupsInput>;
|
||||
export const PatientCreateWithoutGroupsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -8,7 +8,8 @@ import { ClaimCreateNestedManyWithoutPatientInputObjectSchema as ClaimCreateNest
|
||||
import { PdfGroupCreateNestedManyWithoutPatientInputObjectSchema as PdfGroupCreateNestedManyWithoutPatientInputObjectSchema } from './PdfGroupCreateNestedManyWithoutPatientInput.schema';
|
||||
import { CommunicationCreateNestedManyWithoutPatientInputObjectSchema as CommunicationCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationCreateNestedOneWithoutPatientInput.schema'
|
||||
import { PatientConversationCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
firstName: z.string(),
|
||||
@@ -37,7 +38,8 @@ const makeSchema = () => z.object({
|
||||
groups: z.lazy(() => PdfGroupCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional()
|
||||
conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientCreateWithoutPaymentInputObjectSchema: z.ZodType<Prisma.PatientCreateWithoutPaymentInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateWithoutPaymentInput>;
|
||||
export const PatientCreateWithoutPaymentInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -8,7 +8,8 @@ import { PdfGroupCreateNestedManyWithoutPatientInputObjectSchema as PdfGroupCrea
|
||||
import { PaymentCreateNestedManyWithoutPatientInputObjectSchema as PaymentCreateNestedManyWithoutPatientInputObjectSchema } from './PaymentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { CommunicationCreateNestedManyWithoutPatientInputObjectSchema as CommunicationCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationCreateNestedOneWithoutPatientInput.schema'
|
||||
import { PatientConversationCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
firstName: z.string(),
|
||||
@@ -37,7 +38,8 @@ const makeSchema = () => z.object({
|
||||
payment: z.lazy(() => PaymentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional()
|
||||
conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientCreateWithoutProceduresInputObjectSchema: z.ZodType<Prisma.PatientCreateWithoutProceduresInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateWithoutProceduresInput>;
|
||||
export const PatientCreateWithoutProceduresInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -8,7 +8,8 @@ import { PdfGroupCreateNestedManyWithoutPatientInputObjectSchema as PdfGroupCrea
|
||||
import { PaymentCreateNestedManyWithoutPatientInputObjectSchema as PaymentCreateNestedManyWithoutPatientInputObjectSchema } from './PaymentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { CommunicationCreateNestedManyWithoutPatientInputObjectSchema as CommunicationCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationCreateNestedOneWithoutPatientInput.schema'
|
||||
import { PatientConversationCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
firstName: z.string(),
|
||||
@@ -37,7 +38,8 @@ const makeSchema = () => z.object({
|
||||
payment: z.lazy(() => PaymentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional()
|
||||
conversation: z.lazy(() => PatientConversationCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientCreateWithoutUserInputObjectSchema: z.ZodType<Prisma.PatientCreateWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientCreateWithoutUserInput>;
|
||||
export const PatientCreateWithoutUserInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -9,6 +9,7 @@ import { PaymentFindManySchema as PaymentFindManySchema } from '../findManyPayme
|
||||
import { CommunicationFindManySchema as CommunicationFindManySchema } from '../findManyCommunication.schema';
|
||||
import { PatientDocumentFindManySchema as PatientDocumentFindManySchema } from '../findManyPatientDocument.schema';
|
||||
import { PatientConversationArgsObjectSchema as PatientConversationArgsObjectSchema } from './PatientConversationArgs.schema';
|
||||
import { CloudFolderFindManySchema as CloudFolderFindManySchema } from '../findManyCloudFolder.schema';
|
||||
import { PatientCountOutputTypeArgsObjectSchema as PatientCountOutputTypeArgsObjectSchema } from './PatientCountOutputTypeArgs.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
@@ -21,6 +22,7 @@ const makeSchema = () => z.object({
|
||||
communications: z.union([z.boolean(), z.lazy(() => CommunicationFindManySchema)]).optional(),
|
||||
documents: z.union([z.boolean(), z.lazy(() => PatientDocumentFindManySchema)]).optional(),
|
||||
conversation: z.union([z.boolean(), z.lazy(() => PatientConversationArgsObjectSchema)]).optional(),
|
||||
cloudFolders: z.union([z.boolean(), z.lazy(() => CloudFolderFindManySchema)]).optional(),
|
||||
_count: z.union([z.boolean(), z.lazy(() => PatientCountOutputTypeArgsObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const PatientIncludeObjectSchema: z.ZodType<Prisma.PatientInclude> = makeSchema() as unknown as z.ZodType<Prisma.PatientInclude>;
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientWhereInputObjectSchema as PatientWhereInputObjectSchema } from './PatientWhereInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
is: z.lazy(() => PatientWhereInputObjectSchema).optional().nullable(),
|
||||
isNot: z.lazy(() => PatientWhereInputObjectSchema).optional().nullable()
|
||||
}).strict();
|
||||
export const PatientNullableScalarRelationFilterObjectSchema: z.ZodType<Prisma.PatientNullableScalarRelationFilter> = makeSchema() as unknown as z.ZodType<Prisma.PatientNullableScalarRelationFilter>;
|
||||
export const PatientNullableScalarRelationFilterObjectZodSchema = makeSchema();
|
||||
@@ -10,7 +10,8 @@ import { PdfGroupOrderByRelationAggregateInputObjectSchema as PdfGroupOrderByRel
|
||||
import { PaymentOrderByRelationAggregateInputObjectSchema as PaymentOrderByRelationAggregateInputObjectSchema } from './PaymentOrderByRelationAggregateInput.schema';
|
||||
import { CommunicationOrderByRelationAggregateInputObjectSchema as CommunicationOrderByRelationAggregateInputObjectSchema } from './CommunicationOrderByRelationAggregateInput.schema';
|
||||
import { PatientDocumentOrderByRelationAggregateInputObjectSchema as PatientDocumentOrderByRelationAggregateInputObjectSchema } from './PatientDocumentOrderByRelationAggregateInput.schema';
|
||||
import { PatientConversationOrderByWithRelationInputObjectSchema as PatientConversationOrderByWithRelationInputObjectSchema } from './PatientConversationOrderByWithRelationInput.schema'
|
||||
import { PatientConversationOrderByWithRelationInputObjectSchema as PatientConversationOrderByWithRelationInputObjectSchema } from './PatientConversationOrderByWithRelationInput.schema';
|
||||
import { CloudFolderOrderByRelationAggregateInputObjectSchema as CloudFolderOrderByRelationAggregateInputObjectSchema } from './CloudFolderOrderByRelationAggregateInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: SortOrderSchema.optional(),
|
||||
@@ -42,7 +43,8 @@ const makeSchema = () => z.object({
|
||||
payment: z.lazy(() => PaymentOrderByRelationAggregateInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationOrderByRelationAggregateInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentOrderByRelationAggregateInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationOrderByWithRelationInputObjectSchema).optional()
|
||||
conversation: z.lazy(() => PatientConversationOrderByWithRelationInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderOrderByRelationAggregateInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientOrderByWithRelationInputObjectSchema: z.ZodType<Prisma.PatientOrderByWithRelationInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientOrderByWithRelationInput>;
|
||||
export const PatientOrderByWithRelationInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -9,6 +9,7 @@ import { PaymentFindManySchema as PaymentFindManySchema } from '../findManyPayme
|
||||
import { CommunicationFindManySchema as CommunicationFindManySchema } from '../findManyCommunication.schema';
|
||||
import { PatientDocumentFindManySchema as PatientDocumentFindManySchema } from '../findManyPatientDocument.schema';
|
||||
import { PatientConversationArgsObjectSchema as PatientConversationArgsObjectSchema } from './PatientConversationArgs.schema';
|
||||
import { CloudFolderFindManySchema as CloudFolderFindManySchema } from '../findManyCloudFolder.schema';
|
||||
import { PatientCountOutputTypeArgsObjectSchema as PatientCountOutputTypeArgsObjectSchema } from './PatientCountOutputTypeArgs.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
@@ -42,6 +43,7 @@ const makeSchema = () => z.object({
|
||||
communications: z.union([z.boolean(), z.lazy(() => CommunicationFindManySchema)]).optional(),
|
||||
documents: z.union([z.boolean(), z.lazy(() => PatientDocumentFindManySchema)]).optional(),
|
||||
conversation: z.union([z.boolean(), z.lazy(() => PatientConversationArgsObjectSchema)]).optional(),
|
||||
cloudFolders: z.union([z.boolean(), z.lazy(() => CloudFolderFindManySchema)]).optional(),
|
||||
_count: z.union([z.boolean(), z.lazy(() => PatientCountOutputTypeArgsObjectSchema)]).optional()
|
||||
}).strict();
|
||||
export const PatientSelectObjectSchema: z.ZodType<Prisma.PatientSelect> = makeSchema() as unknown as z.ZodType<Prisma.PatientSelect>;
|
||||
|
||||
@@ -8,7 +8,8 @@ import { PdfGroupUncheckedCreateNestedManyWithoutPatientInputObjectSchema as Pdf
|
||||
import { PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PaymentUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema'
|
||||
import { PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
@@ -38,7 +39,8 @@ const makeSchema = () => z.object({
|
||||
payment: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional()
|
||||
conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientUncheckedCreateInputObjectSchema: z.ZodType<Prisma.PatientUncheckedCreateInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUncheckedCreateInput>;
|
||||
export const PatientUncheckedCreateInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -7,7 +7,8 @@ import { PdfGroupUncheckedCreateNestedManyWithoutPatientInputObjectSchema as Pdf
|
||||
import { PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PaymentUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema'
|
||||
import { PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
@@ -37,7 +38,8 @@ const makeSchema = () => z.object({
|
||||
payment: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional()
|
||||
conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientUncheckedCreateWithoutAppointmentsInputObjectSchema: z.ZodType<Prisma.PatientUncheckedCreateWithoutAppointmentsInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUncheckedCreateWithoutAppointmentsInput>;
|
||||
export const PatientUncheckedCreateWithoutAppointmentsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -7,7 +7,8 @@ import { PdfGroupUncheckedCreateNestedManyWithoutPatientInputObjectSchema as Pdf
|
||||
import { PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PaymentUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema'
|
||||
import { PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
@@ -37,7 +38,8 @@ const makeSchema = () => z.object({
|
||||
payment: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional()
|
||||
conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientUncheckedCreateWithoutClaimsInputObjectSchema: z.ZodType<Prisma.PatientUncheckedCreateWithoutClaimsInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUncheckedCreateWithoutClaimsInput>;
|
||||
export const PatientUncheckedCreateWithoutClaimsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
import * as z from 'zod';
|
||||
import type { Prisma } from '../../../generated/prisma';
|
||||
import { PatientStatusSchema } from '../enums/PatientStatus.schema';
|
||||
import { AppointmentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as AppointmentUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './AppointmentUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { AppointmentProcedureUncheckedCreateNestedManyWithoutPatientInputObjectSchema as AppointmentProcedureUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './AppointmentProcedureUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { ClaimUncheckedCreateNestedManyWithoutPatientInputObjectSchema as ClaimUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './ClaimUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PdfGroupUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PdfGroupUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PdfGroupUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PaymentUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
firstName: z.string(),
|
||||
lastName: z.string(),
|
||||
dateOfBirth: z.coerce.date().optional().nullable(),
|
||||
gender: z.string(),
|
||||
phone: z.string(),
|
||||
email: z.string().optional().nullable(),
|
||||
address: z.string().optional().nullable(),
|
||||
city: z.string().optional().nullable(),
|
||||
zipCode: z.string().optional().nullable(),
|
||||
insuranceProvider: z.string().optional().nullable(),
|
||||
insuranceId: z.string().optional().nullable(),
|
||||
groupNumber: z.string().optional().nullable(),
|
||||
policyHolder: z.string().optional().nullable(),
|
||||
allergies: z.string().optional().nullable(),
|
||||
medicalConditions: z.string().optional().nullable(),
|
||||
preferredLanguage: z.string().optional().nullable(),
|
||||
status: PatientStatusSchema.optional(),
|
||||
userId: z.number().int(),
|
||||
createdAt: z.coerce.date().optional(),
|
||||
updatedAt: z.coerce.date().optional(),
|
||||
appointments: z.lazy(() => AppointmentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
procedures: z.lazy(() => AppointmentProcedureUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
claims: z.lazy(() => ClaimUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
groups: z.lazy(() => PdfGroupUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
payment: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientUncheckedCreateWithoutCloudFoldersInputObjectSchema: z.ZodType<Prisma.PatientUncheckedCreateWithoutCloudFoldersInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUncheckedCreateWithoutCloudFoldersInput>;
|
||||
export const PatientUncheckedCreateWithoutCloudFoldersInputObjectZodSchema = makeSchema();
|
||||
@@ -7,7 +7,8 @@ import { ClaimUncheckedCreateNestedManyWithoutPatientInputObjectSchema as ClaimU
|
||||
import { PdfGroupUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PdfGroupUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PdfGroupUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PaymentUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema'
|
||||
import { PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
@@ -37,7 +38,8 @@ const makeSchema = () => z.object({
|
||||
groups: z.lazy(() => PdfGroupUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
payment: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional()
|
||||
conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientUncheckedCreateWithoutCommunicationsInputObjectSchema: z.ZodType<Prisma.PatientUncheckedCreateWithoutCommunicationsInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUncheckedCreateWithoutCommunicationsInput>;
|
||||
export const PatientUncheckedCreateWithoutCommunicationsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -7,7 +7,8 @@ import { ClaimUncheckedCreateNestedManyWithoutPatientInputObjectSchema as ClaimU
|
||||
import { PdfGroupUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PdfGroupUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PdfGroupUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PaymentUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentUncheckedCreateNestedManyWithoutPatientInput.schema'
|
||||
import { PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
@@ -37,7 +38,8 @@ const makeSchema = () => z.object({
|
||||
groups: z.lazy(() => PdfGroupUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
payment: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientUncheckedCreateWithoutConversationInputObjectSchema: z.ZodType<Prisma.PatientUncheckedCreateWithoutConversationInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUncheckedCreateWithoutConversationInput>;
|
||||
export const PatientUncheckedCreateWithoutConversationInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -7,7 +7,8 @@ import { ClaimUncheckedCreateNestedManyWithoutPatientInputObjectSchema as ClaimU
|
||||
import { PdfGroupUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PdfGroupUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PdfGroupUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PaymentUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema'
|
||||
import { PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
@@ -37,7 +38,8 @@ const makeSchema = () => z.object({
|
||||
groups: z.lazy(() => PdfGroupUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
payment: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional()
|
||||
conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientUncheckedCreateWithoutDocumentsInputObjectSchema: z.ZodType<Prisma.PatientUncheckedCreateWithoutDocumentsInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUncheckedCreateWithoutDocumentsInput>;
|
||||
export const PatientUncheckedCreateWithoutDocumentsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -7,7 +7,8 @@ import { ClaimUncheckedCreateNestedManyWithoutPatientInputObjectSchema as ClaimU
|
||||
import { PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PaymentUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema'
|
||||
import { PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
@@ -37,7 +38,8 @@ const makeSchema = () => z.object({
|
||||
payment: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional()
|
||||
conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientUncheckedCreateWithoutGroupsInputObjectSchema: z.ZodType<Prisma.PatientUncheckedCreateWithoutGroupsInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUncheckedCreateWithoutGroupsInput>;
|
||||
export const PatientUncheckedCreateWithoutGroupsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -7,7 +7,8 @@ import { ClaimUncheckedCreateNestedManyWithoutPatientInputObjectSchema as ClaimU
|
||||
import { PdfGroupUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PdfGroupUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PdfGroupUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema'
|
||||
import { PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
@@ -37,7 +38,8 @@ const makeSchema = () => z.object({
|
||||
groups: z.lazy(() => PdfGroupUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional()
|
||||
conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientUncheckedCreateWithoutPaymentInputObjectSchema: z.ZodType<Prisma.PatientUncheckedCreateWithoutPaymentInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUncheckedCreateWithoutPaymentInput>;
|
||||
export const PatientUncheckedCreateWithoutPaymentInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -7,7 +7,8 @@ import { PdfGroupUncheckedCreateNestedManyWithoutPatientInputObjectSchema as Pdf
|
||||
import { PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PaymentUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema'
|
||||
import { PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
@@ -37,7 +38,8 @@ const makeSchema = () => z.object({
|
||||
payment: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional()
|
||||
conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientUncheckedCreateWithoutProceduresInputObjectSchema: z.ZodType<Prisma.PatientUncheckedCreateWithoutProceduresInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUncheckedCreateWithoutProceduresInput>;
|
||||
export const PatientUncheckedCreateWithoutProceduresInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -8,7 +8,8 @@ import { PdfGroupUncheckedCreateNestedManyWithoutPatientInputObjectSchema as Pdf
|
||||
import { PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PaymentUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CommunicationUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema as PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './PatientDocumentUncheckedCreateNestedManyWithoutPatientInput.schema';
|
||||
import { PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema'
|
||||
import { PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema as PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema } from './PatientConversationUncheckedCreateNestedOneWithoutPatientInput.schema';
|
||||
import { CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema as CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema } from './CloudFolderUncheckedCreateNestedManyWithoutPatientInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.number().int().optional(),
|
||||
@@ -38,7 +39,8 @@ const makeSchema = () => z.object({
|
||||
payment: z.lazy(() => PaymentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional()
|
||||
conversation: z.lazy(() => PatientConversationUncheckedCreateNestedOneWithoutPatientInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderUncheckedCreateNestedManyWithoutPatientInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientUncheckedCreateWithoutUserInputObjectSchema: z.ZodType<Prisma.PatientUncheckedCreateWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUncheckedCreateWithoutUserInput>;
|
||||
export const PatientUncheckedCreateWithoutUserInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -14,7 +14,8 @@ import { PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as Pdf
|
||||
import { PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './PaymentUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './CommunicationUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema as PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema } from './PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema'
|
||||
import { PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema as PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema } from './PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema';
|
||||
import { CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './CloudFolderUncheckedUpdateManyWithoutPatientNestedInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
@@ -45,7 +46,8 @@ const makeSchema = () => z.object({
|
||||
payment: z.lazy(() => PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema).optional()
|
||||
conversation: z.lazy(() => PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientUncheckedUpdateInputObjectSchema: z.ZodType<Prisma.PatientUncheckedUpdateInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUncheckedUpdateInput>;
|
||||
export const PatientUncheckedUpdateInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -13,7 +13,8 @@ import { PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as Pdf
|
||||
import { PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './PaymentUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './CommunicationUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema as PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema } from './PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema'
|
||||
import { PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema as PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema } from './PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema';
|
||||
import { CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './CloudFolderUncheckedUpdateManyWithoutPatientNestedInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
@@ -43,7 +44,8 @@ const makeSchema = () => z.object({
|
||||
payment: z.lazy(() => PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema).optional()
|
||||
conversation: z.lazy(() => PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientUncheckedUpdateWithoutAppointmentsInputObjectSchema: z.ZodType<Prisma.PatientUncheckedUpdateWithoutAppointmentsInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUncheckedUpdateWithoutAppointmentsInput>;
|
||||
export const PatientUncheckedUpdateWithoutAppointmentsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -13,7 +13,8 @@ import { PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as Pdf
|
||||
import { PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './PaymentUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './CommunicationUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema as PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema } from './PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema'
|
||||
import { PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema as PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema } from './PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema';
|
||||
import { CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './CloudFolderUncheckedUpdateManyWithoutPatientNestedInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
@@ -43,7 +44,8 @@ const makeSchema = () => z.object({
|
||||
payment: z.lazy(() => PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema).optional()
|
||||
conversation: z.lazy(() => PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientUncheckedUpdateWithoutClaimsInputObjectSchema: z.ZodType<Prisma.PatientUncheckedUpdateWithoutClaimsInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUncheckedUpdateWithoutClaimsInput>;
|
||||
export const PatientUncheckedUpdateWithoutClaimsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
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 { NullableDateTimeFieldUpdateOperationsInputObjectSchema as NullableDateTimeFieldUpdateOperationsInputObjectSchema } from './NullableDateTimeFieldUpdateOperationsInput.schema';
|
||||
import { NullableStringFieldUpdateOperationsInputObjectSchema as NullableStringFieldUpdateOperationsInputObjectSchema } from './NullableStringFieldUpdateOperationsInput.schema';
|
||||
import { PatientStatusSchema } from '../enums/PatientStatus.schema';
|
||||
import { EnumPatientStatusFieldUpdateOperationsInputObjectSchema as EnumPatientStatusFieldUpdateOperationsInputObjectSchema } from './EnumPatientStatusFieldUpdateOperationsInput.schema';
|
||||
import { DateTimeFieldUpdateOperationsInputObjectSchema as DateTimeFieldUpdateOperationsInputObjectSchema } from './DateTimeFieldUpdateOperationsInput.schema';
|
||||
import { AppointmentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as AppointmentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './AppointmentUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { AppointmentProcedureUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as AppointmentProcedureUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './AppointmentProcedureUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { ClaimUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as ClaimUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './ClaimUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './PdfGroupUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './PaymentUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './CommunicationUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema as PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema } from './PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
firstName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
lastName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
dateOfBirth: z.union([z.coerce.date(), z.lazy(() => NullableDateTimeFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
gender: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
phone: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
email: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
address: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
city: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
zipCode: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
insuranceProvider: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
insuranceId: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
groupNumber: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
policyHolder: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
allergies: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
medicalConditions: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
preferredLanguage: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
|
||||
status: z.union([PatientStatusSchema, z.lazy(() => EnumPatientStatusFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
userId: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
updatedAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
appointments: z.lazy(() => AppointmentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
procedures: z.lazy(() => AppointmentProcedureUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
claims: z.lazy(() => ClaimUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
groups: z.lazy(() => PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
payment: z.lazy(() => PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientUncheckedUpdateWithoutCloudFoldersInputObjectSchema: z.ZodType<Prisma.PatientUncheckedUpdateWithoutCloudFoldersInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUncheckedUpdateWithoutCloudFoldersInput>;
|
||||
export const PatientUncheckedUpdateWithoutCloudFoldersInputObjectZodSchema = makeSchema();
|
||||
@@ -13,7 +13,8 @@ import { ClaimUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as ClaimU
|
||||
import { PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './PdfGroupUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './PaymentUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema as PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema } from './PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema'
|
||||
import { PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema as PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema } from './PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema';
|
||||
import { CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './CloudFolderUncheckedUpdateManyWithoutPatientNestedInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
@@ -43,7 +44,8 @@ const makeSchema = () => z.object({
|
||||
groups: z.lazy(() => PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
payment: z.lazy(() => PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema).optional()
|
||||
conversation: z.lazy(() => PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientUncheckedUpdateWithoutCommunicationsInputObjectSchema: z.ZodType<Prisma.PatientUncheckedUpdateWithoutCommunicationsInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUncheckedUpdateWithoutCommunicationsInput>;
|
||||
export const PatientUncheckedUpdateWithoutCommunicationsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -13,7 +13,8 @@ import { ClaimUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as ClaimU
|
||||
import { PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './PdfGroupUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './PaymentUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './CommunicationUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput.schema'
|
||||
import { PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './CloudFolderUncheckedUpdateManyWithoutPatientNestedInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
@@ -43,7 +44,8 @@ const makeSchema = () => z.object({
|
||||
groups: z.lazy(() => PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
payment: z.lazy(() => PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional()
|
||||
documents: z.lazy(() => PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientUncheckedUpdateWithoutConversationInputObjectSchema: z.ZodType<Prisma.PatientUncheckedUpdateWithoutConversationInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUncheckedUpdateWithoutConversationInput>;
|
||||
export const PatientUncheckedUpdateWithoutConversationInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -13,7 +13,8 @@ import { ClaimUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as ClaimU
|
||||
import { PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './PdfGroupUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './PaymentUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './CommunicationUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema as PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema } from './PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema'
|
||||
import { PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema as PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema } from './PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema';
|
||||
import { CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './CloudFolderUncheckedUpdateManyWithoutPatientNestedInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
@@ -43,7 +44,8 @@ const makeSchema = () => z.object({
|
||||
groups: z.lazy(() => PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
payment: z.lazy(() => PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema).optional()
|
||||
conversation: z.lazy(() => PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientUncheckedUpdateWithoutDocumentsInputObjectSchema: z.ZodType<Prisma.PatientUncheckedUpdateWithoutDocumentsInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUncheckedUpdateWithoutDocumentsInput>;
|
||||
export const PatientUncheckedUpdateWithoutDocumentsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -13,7 +13,8 @@ import { ClaimUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as ClaimU
|
||||
import { PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './PaymentUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './CommunicationUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema as PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema } from './PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema'
|
||||
import { PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema as PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema } from './PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema';
|
||||
import { CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './CloudFolderUncheckedUpdateManyWithoutPatientNestedInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
@@ -43,7 +44,8 @@ const makeSchema = () => z.object({
|
||||
payment: z.lazy(() => PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema).optional()
|
||||
conversation: z.lazy(() => PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientUncheckedUpdateWithoutGroupsInputObjectSchema: z.ZodType<Prisma.PatientUncheckedUpdateWithoutGroupsInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUncheckedUpdateWithoutGroupsInput>;
|
||||
export const PatientUncheckedUpdateWithoutGroupsInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -13,7 +13,8 @@ import { ClaimUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as ClaimU
|
||||
import { PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './PdfGroupUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './CommunicationUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema as PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema } from './PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema'
|
||||
import { PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema as PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema } from './PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema';
|
||||
import { CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './CloudFolderUncheckedUpdateManyWithoutPatientNestedInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
@@ -43,7 +44,8 @@ const makeSchema = () => z.object({
|
||||
groups: z.lazy(() => PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema).optional()
|
||||
conversation: z.lazy(() => PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientUncheckedUpdateWithoutPaymentInputObjectSchema: z.ZodType<Prisma.PatientUncheckedUpdateWithoutPaymentInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUncheckedUpdateWithoutPaymentInput>;
|
||||
export const PatientUncheckedUpdateWithoutPaymentInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -13,7 +13,8 @@ import { PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as Pdf
|
||||
import { PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './PaymentUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './CommunicationUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema as PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema } from './PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema'
|
||||
import { PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema as PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema } from './PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema';
|
||||
import { CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './CloudFolderUncheckedUpdateManyWithoutPatientNestedInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
@@ -43,7 +44,8 @@ const makeSchema = () => z.object({
|
||||
payment: z.lazy(() => PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema).optional()
|
||||
conversation: z.lazy(() => PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientUncheckedUpdateWithoutProceduresInputObjectSchema: z.ZodType<Prisma.PatientUncheckedUpdateWithoutProceduresInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUncheckedUpdateWithoutProceduresInput>;
|
||||
export const PatientUncheckedUpdateWithoutProceduresInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -14,7 +14,8 @@ import { PdfGroupUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as Pdf
|
||||
import { PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './PaymentUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './CommunicationUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './PatientDocumentUncheckedUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema as PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema } from './PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema'
|
||||
import { PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema as PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema } from './PatientConversationUncheckedUpdateOneWithoutPatientNestedInput.schema';
|
||||
import { CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema as CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema } from './CloudFolderUncheckedUpdateManyWithoutPatientNestedInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
@@ -44,7 +45,8 @@ const makeSchema = () => z.object({
|
||||
payment: z.lazy(() => PaymentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema).optional()
|
||||
conversation: z.lazy(() => PatientConversationUncheckedUpdateOneWithoutPatientNestedInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderUncheckedUpdateManyWithoutPatientNestedInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientUncheckedUpdateWithoutUserInputObjectSchema: z.ZodType<Prisma.PatientUncheckedUpdateWithoutUserInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUncheckedUpdateWithoutUserInput>;
|
||||
export const PatientUncheckedUpdateWithoutUserInputObjectZodSchema = makeSchema();
|
||||
|
||||
@@ -14,7 +14,8 @@ import { PdfGroupUpdateManyWithoutPatientNestedInputObjectSchema as PdfGroupUpda
|
||||
import { PaymentUpdateManyWithoutPatientNestedInputObjectSchema as PaymentUpdateManyWithoutPatientNestedInputObjectSchema } from './PaymentUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { CommunicationUpdateManyWithoutPatientNestedInputObjectSchema as CommunicationUpdateManyWithoutPatientNestedInputObjectSchema } from './CommunicationUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { PatientDocumentUpdateManyWithoutPatientNestedInputObjectSchema as PatientDocumentUpdateManyWithoutPatientNestedInputObjectSchema } from './PatientDocumentUpdateManyWithoutPatientNestedInput.schema';
|
||||
import { PatientConversationUpdateOneWithoutPatientNestedInputObjectSchema as PatientConversationUpdateOneWithoutPatientNestedInputObjectSchema } from './PatientConversationUpdateOneWithoutPatientNestedInput.schema'
|
||||
import { PatientConversationUpdateOneWithoutPatientNestedInputObjectSchema as PatientConversationUpdateOneWithoutPatientNestedInputObjectSchema } from './PatientConversationUpdateOneWithoutPatientNestedInput.schema';
|
||||
import { CloudFolderUpdateManyWithoutPatientNestedInputObjectSchema as CloudFolderUpdateManyWithoutPatientNestedInputObjectSchema } from './CloudFolderUpdateManyWithoutPatientNestedInput.schema'
|
||||
|
||||
const makeSchema = () => z.object({
|
||||
firstName: z.union([z.string(), z.lazy(() => StringFieldUpdateOperationsInputObjectSchema)]).optional(),
|
||||
@@ -44,7 +45,8 @@ const makeSchema = () => z.object({
|
||||
payment: z.lazy(() => PaymentUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
communications: z.lazy(() => CommunicationUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
documents: z.lazy(() => PatientDocumentUpdateManyWithoutPatientNestedInputObjectSchema).optional(),
|
||||
conversation: z.lazy(() => PatientConversationUpdateOneWithoutPatientNestedInputObjectSchema).optional()
|
||||
conversation: z.lazy(() => PatientConversationUpdateOneWithoutPatientNestedInputObjectSchema).optional(),
|
||||
cloudFolders: z.lazy(() => CloudFolderUpdateManyWithoutPatientNestedInputObjectSchema).optional()
|
||||
}).strict();
|
||||
export const PatientUpdateInputObjectSchema: z.ZodType<Prisma.PatientUpdateInput> = makeSchema() as unknown as z.ZodType<Prisma.PatientUpdateInput>;
|
||||
export const PatientUpdateInputObjectZodSchema = makeSchema();
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user