"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.CommunicationUpdateManyWithoutPatientNestedInputObjectZodSchema = exports.CommunicationUpdateManyWithoutPatientNestedInputObjectSchema = void 0;
const z = __importStar(require("zod"));
const CommunicationCreateWithoutPatientInput_schema_1 = require("./CommunicationCreateWithoutPatientInput.schema");
const CommunicationUncheckedCreateWithoutPatientInput_schema_1 = require("./CommunicationUncheckedCreateWithoutPatientInput.schema");
const CommunicationCreateOrConnectWithoutPatientInput_schema_1 = require("./CommunicationCreateOrConnectWithoutPatientInput.schema");
const CommunicationUpsertWithWhereUniqueWithoutPatientInput_schema_1 = require("./CommunicationUpsertWithWhereUniqueWithoutPatientInput.schema");
const CommunicationCreateManyPatientInputEnvelope_schema_1 = require("./CommunicationCreateManyPatientInputEnvelope.schema");
const CommunicationWhereUniqueInput_schema_1 = require("./CommunicationWhereUniqueInput.schema");
const CommunicationUpdateWithWhereUniqueWithoutPatientInput_schema_1 = require("./CommunicationUpdateWithWhereUniqueWithoutPatientInput.schema");
const CommunicationUpdateManyWithWhereWithoutPatientInput_schema_1 = require("./CommunicationUpdateManyWithWhereWithoutPatientInput.schema");
const CommunicationScalarWhereInput_schema_1 = require("./CommunicationScalarWhereInput.schema");
const makeSchema = () => z.object({
    create: z.union([z.lazy(() => CommunicationCreateWithoutPatientInput_schema_1.CommunicationCreateWithoutPatientInputObjectSchema), z.lazy(() => CommunicationCreateWithoutPatientInput_schema_1.CommunicationCreateWithoutPatientInputObjectSchema).array(), z.lazy(() => CommunicationUncheckedCreateWithoutPatientInput_schema_1.CommunicationUncheckedCreateWithoutPatientInputObjectSchema), z.lazy(() => CommunicationUncheckedCreateWithoutPatientInput_schema_1.CommunicationUncheckedCreateWithoutPatientInputObjectSchema).array()]).optional(),
    connectOrCreate: z.union([z.lazy(() => CommunicationCreateOrConnectWithoutPatientInput_schema_1.CommunicationCreateOrConnectWithoutPatientInputObjectSchema), z.lazy(() => CommunicationCreateOrConnectWithoutPatientInput_schema_1.CommunicationCreateOrConnectWithoutPatientInputObjectSchema).array()]).optional(),
    upsert: z.union([z.lazy(() => CommunicationUpsertWithWhereUniqueWithoutPatientInput_schema_1.CommunicationUpsertWithWhereUniqueWithoutPatientInputObjectSchema), z.lazy(() => CommunicationUpsertWithWhereUniqueWithoutPatientInput_schema_1.CommunicationUpsertWithWhereUniqueWithoutPatientInputObjectSchema).array()]).optional(),
    createMany: z.lazy(() => CommunicationCreateManyPatientInputEnvelope_schema_1.CommunicationCreateManyPatientInputEnvelopeObjectSchema).optional(),
    set: z.union([z.lazy(() => CommunicationWhereUniqueInput_schema_1.CommunicationWhereUniqueInputObjectSchema), z.lazy(() => CommunicationWhereUniqueInput_schema_1.CommunicationWhereUniqueInputObjectSchema).array()]).optional(),
    disconnect: z.union([z.lazy(() => CommunicationWhereUniqueInput_schema_1.CommunicationWhereUniqueInputObjectSchema), z.lazy(() => CommunicationWhereUniqueInput_schema_1.CommunicationWhereUniqueInputObjectSchema).array()]).optional(),
    delete: z.union([z.lazy(() => CommunicationWhereUniqueInput_schema_1.CommunicationWhereUniqueInputObjectSchema), z.lazy(() => CommunicationWhereUniqueInput_schema_1.CommunicationWhereUniqueInputObjectSchema).array()]).optional(),
    connect: z.union([z.lazy(() => CommunicationWhereUniqueInput_schema_1.CommunicationWhereUniqueInputObjectSchema), z.lazy(() => CommunicationWhereUniqueInput_schema_1.CommunicationWhereUniqueInputObjectSchema).array()]).optional(),
    update: z.union([z.lazy(() => CommunicationUpdateWithWhereUniqueWithoutPatientInput_schema_1.CommunicationUpdateWithWhereUniqueWithoutPatientInputObjectSchema), z.lazy(() => CommunicationUpdateWithWhereUniqueWithoutPatientInput_schema_1.CommunicationUpdateWithWhereUniqueWithoutPatientInputObjectSchema).array()]).optional(),
    updateMany: z.union([z.lazy(() => CommunicationUpdateManyWithWhereWithoutPatientInput_schema_1.CommunicationUpdateManyWithWhereWithoutPatientInputObjectSchema), z.lazy(() => CommunicationUpdateManyWithWhereWithoutPatientInput_schema_1.CommunicationUpdateManyWithWhereWithoutPatientInputObjectSchema).array()]).optional(),
    deleteMany: z.union([z.lazy(() => CommunicationScalarWhereInput_schema_1.CommunicationScalarWhereInputObjectSchema), z.lazy(() => CommunicationScalarWhereInput_schema_1.CommunicationScalarWhereInputObjectSchema).array()]).optional()
}).strict();
exports.CommunicationUpdateManyWithoutPatientNestedInputObjectSchema = makeSchema();
exports.CommunicationUpdateManyWithoutPatientNestedInputObjectZodSchema = makeSchema();
