"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || (function () {
    var ownKeys = function(o) {
        ownKeys = Object.getOwnPropertyNames || function (o) {
            var ar = [];
            for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
            return ar;
        };
        return ownKeys(o);
    };
    return function (mod) {
        if (mod && mod.__esModule) return mod;
        var result = {};
        if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
        __setModuleDefault(result, mod);
        return result;
    };
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.CommunicationUncheckedUpdateWithoutPatientInputObjectZodSchema = exports.CommunicationUncheckedUpdateWithoutPatientInputObjectSchema = void 0;
const z = __importStar(require("zod"));
const IntFieldUpdateOperationsInput_schema_1 = require("./IntFieldUpdateOperationsInput.schema");
const NullableIntFieldUpdateOperationsInput_schema_1 = require("./NullableIntFieldUpdateOperationsInput.schema");
const CommunicationChannel_schema_1 = require("../enums/CommunicationChannel.schema");
const EnumCommunicationChannelFieldUpdateOperationsInput_schema_1 = require("./EnumCommunicationChannelFieldUpdateOperationsInput.schema");
const CommunicationDirection_schema_1 = require("../enums/CommunicationDirection.schema");
const EnumCommunicationDirectionFieldUpdateOperationsInput_schema_1 = require("./EnumCommunicationDirectionFieldUpdateOperationsInput.schema");
const CommunicationStatus_schema_1 = require("../enums/CommunicationStatus.schema");
const EnumCommunicationStatusFieldUpdateOperationsInput_schema_1 = require("./EnumCommunicationStatusFieldUpdateOperationsInput.schema");
const NullableStringFieldUpdateOperationsInput_schema_1 = require("./NullableStringFieldUpdateOperationsInput.schema");
const DateTimeFieldUpdateOperationsInput_schema_1 = require("./DateTimeFieldUpdateOperationsInput.schema");
const makeSchema = () => z.object({
    id: z.union([z.number().int(), z.lazy(() => IntFieldUpdateOperationsInput_schema_1.IntFieldUpdateOperationsInputObjectSchema)]).optional(),
    userId: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
    channel: z.union([CommunicationChannel_schema_1.CommunicationChannelSchema, z.lazy(() => EnumCommunicationChannelFieldUpdateOperationsInput_schema_1.EnumCommunicationChannelFieldUpdateOperationsInputObjectSchema)]).optional(),
    direction: z.union([CommunicationDirection_schema_1.CommunicationDirectionSchema, z.lazy(() => EnumCommunicationDirectionFieldUpdateOperationsInput_schema_1.EnumCommunicationDirectionFieldUpdateOperationsInputObjectSchema)]).optional(),
    status: z.union([CommunicationStatus_schema_1.CommunicationStatusSchema, z.lazy(() => EnumCommunicationStatusFieldUpdateOperationsInput_schema_1.EnumCommunicationStatusFieldUpdateOperationsInputObjectSchema)]).optional(),
    body: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
    callDuration: z.union([z.number().int(), z.lazy(() => NullableIntFieldUpdateOperationsInput_schema_1.NullableIntFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
    twilioSid: z.union([z.string(), z.lazy(() => NullableStringFieldUpdateOperationsInput_schema_1.NullableStringFieldUpdateOperationsInputObjectSchema)]).optional().nullable(),
    createdAt: z.union([z.coerce.date(), z.lazy(() => DateTimeFieldUpdateOperationsInput_schema_1.DateTimeFieldUpdateOperationsInputObjectSchema)]).optional()
}).strict();
exports.CommunicationUncheckedUpdateWithoutPatientInputObjectSchema = makeSchema();
exports.CommunicationUncheckedUpdateWithoutPatientInputObjectZodSchema = makeSchema();
