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

35 lines
4.0 KiB
TypeScript

import * as z from 'zod';
import type { Prisma } from '../../../generated/prisma';
export declare const CommunicationUpdateInputObjectSchema: z.ZodType<Prisma.CommunicationUpdateInput>;
export declare const CommunicationUpdateInputObjectZodSchema: z.ZodObject<{
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>>]>>;
patient: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.PatientUpdateOneRequiredWithoutCommunicationsNestedInput, z.ZodTypeDef, Prisma.PatientUpdateOneRequiredWithoutCommunicationsNestedInput>>>;
user: z.ZodOptional<z.ZodLazy<z.ZodType<Prisma.UserUpdateOneWithoutCommunicationsNestedInput, z.ZodTypeDef, Prisma.UserUpdateOneWithoutCommunicationsNestedInput>>>;
}, "strict", z.ZodTypeAny, {
status?: "queued" | "sent" | "delivered" | "failed" | "completed" | "busy" | "no_answer" | Prisma.EnumCommunicationStatusFieldUpdateOperationsInput | undefined;
createdAt?: Date | Prisma.DateTimeFieldUpdateOperationsInput | undefined;
user?: Prisma.UserUpdateOneWithoutCommunicationsNestedInput | undefined;
patient?: Prisma.PatientUpdateOneRequiredWithoutCommunicationsNestedInput | 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;
user?: Prisma.UserUpdateOneWithoutCommunicationsNestedInput | undefined;
patient?: Prisma.PatientUpdateOneRequiredWithoutCommunicationsNestedInput | 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=CommunicationUpdateInput.schema.d.ts.map