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

38 lines
4.3 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
export declare const CommunicationUncheckedUpdateInputObjectSchema: z.ZodType<Prisma.CommunicationUncheckedUpdateInput>;
export declare const CommunicationUncheckedUpdateInputObjectZodSchema: z.ZodObject<{
id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLazy<z.ZodType<Prisma.IntFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.IntFieldUpdateOperationsInput>>]>>;
patientId: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLazy<z.ZodType<Prisma.IntFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.IntFieldUpdateOperationsInput>>]>>;
userId: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLazy<z.ZodType<Prisma.NullableIntFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.NullableIntFieldUpdateOperationsInput>>]>>>;
channel: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["sms", "voice"]>, z.ZodLazy<z.ZodType<Prisma.EnumCommunicationChannelFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.EnumCommunicationChannelFieldUpdateOperationsInput>>]>>;
direction: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["outbound", "inbound"]>, z.ZodLazy<z.ZodType<Prisma.EnumCommunicationDirectionFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.EnumCommunicationDirectionFieldUpdateOperationsInput>>]>>;
status: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["queued", "sent", "delivered", "failed", "completed", "busy", "no_answer"]>, z.ZodLazy<z.ZodType<Prisma.EnumCommunicationStatusFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.EnumCommunicationStatusFieldUpdateOperationsInput>>]>>;
body: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.NullableStringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.NullableStringFieldUpdateOperationsInput>>]>>>;
callDuration: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLazy<z.ZodType<Prisma.NullableIntFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.NullableIntFieldUpdateOperationsInput>>]>>>;
twilioSid: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLazy<z.ZodType<Prisma.NullableStringFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.NullableStringFieldUpdateOperationsInput>>]>>>;
createdAt: z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodLazy<z.ZodType<Prisma.DateTimeFieldUpdateOperationsInput, z.ZodTypeDef, Prisma.DateTimeFieldUpdateOperationsInput>>]>>;
}, "strict", z.ZodTypeAny, {
status?: "queued" | "sent" | "delivered" | "failed" | "completed" | "busy" | "no_answer" | Prisma.EnumCommunicationStatusFieldUpdateOperationsInput | undefined;
createdAt?: Date | Prisma.DateTimeFieldUpdateOperationsInput | undefined;
id?: number | Prisma.IntFieldUpdateOperationsInput | undefined;
userId?: number | Prisma.NullableIntFieldUpdateOperationsInput | null | undefined;
patientId?: number | Prisma.IntFieldUpdateOperationsInput | undefined;
channel?: "sms" | "voice" | Prisma.EnumCommunicationChannelFieldUpdateOperationsInput | undefined;
direction?: "outbound" | "inbound" | Prisma.EnumCommunicationDirectionFieldUpdateOperationsInput | undefined;
body?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
callDuration?: number | Prisma.NullableIntFieldUpdateOperationsInput | null | undefined;
twilioSid?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
}, {
status?: "queued" | "sent" | "delivered" | "failed" | "completed" | "busy" | "no_answer" | Prisma.EnumCommunicationStatusFieldUpdateOperationsInput | undefined;
createdAt?: Date | Prisma.DateTimeFieldUpdateOperationsInput | undefined;
id?: number | Prisma.IntFieldUpdateOperationsInput | undefined;
userId?: number | Prisma.NullableIntFieldUpdateOperationsInput | null | undefined;
patientId?: number | Prisma.IntFieldUpdateOperationsInput | undefined;
channel?: "sms" | "voice" | Prisma.EnumCommunicationChannelFieldUpdateOperationsInput | undefined;
direction?: "outbound" | "inbound" | Prisma.EnumCommunicationDirectionFieldUpdateOperationsInput | undefined;
body?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
callDuration?: number | Prisma.NullableIntFieldUpdateOperationsInput | null | undefined;
twilioSid?: string | Prisma.NullableStringFieldUpdateOperationsInput | null | undefined;
}>;
//# sourceMappingURL=CommunicationUncheckedUpdateInput.schema.d.ts.map