import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model calendar_events
 * This model contains row level security and requires additional setup for migrations. Visit https://pris.ly/d/row-level-security for more info.
 */
export type calendar_eventsModel = runtime.Types.Result.DefaultSelection<Prisma.$calendar_eventsPayload>;
export type AggregateCalendar_events = {
    _count: Calendar_eventsCountAggregateOutputType | null;
    _avg: Calendar_eventsAvgAggregateOutputType | null;
    _sum: Calendar_eventsSumAggregateOutputType | null;
    _min: Calendar_eventsMinAggregateOutputType | null;
    _max: Calendar_eventsMaxAggregateOutputType | null;
};
export type Calendar_eventsAvgAggregateOutputType = {
    id: number | null;
    calendar_id: number | null;
    events_id: number | null;
};
export type Calendar_eventsSumAggregateOutputType = {
    id: number | null;
    calendar_id: number | null;
    events_id: number | null;
};
export type Calendar_eventsMinAggregateOutputType = {
    id: number | null;
    calendar_id: number | null;
    events_id: number | null;
};
export type Calendar_eventsMaxAggregateOutputType = {
    id: number | null;
    calendar_id: number | null;
    events_id: number | null;
};
export type Calendar_eventsCountAggregateOutputType = {
    id: number;
    calendar_id: number;
    events_id: number;
    _all: number;
};
export type Calendar_eventsAvgAggregateInputType = {
    id?: true;
    calendar_id?: true;
    events_id?: true;
};
export type Calendar_eventsSumAggregateInputType = {
    id?: true;
    calendar_id?: true;
    events_id?: true;
};
export type Calendar_eventsMinAggregateInputType = {
    id?: true;
    calendar_id?: true;
    events_id?: true;
};
export type Calendar_eventsMaxAggregateInputType = {
    id?: true;
    calendar_id?: true;
    events_id?: true;
};
export type Calendar_eventsCountAggregateInputType = {
    id?: true;
    calendar_id?: true;
    events_id?: true;
    _all?: true;
};
export type Calendar_eventsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which calendar_events to aggregate.
     */
    where?: Prisma.calendar_eventsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of calendar_events to fetch.
     */
    orderBy?: Prisma.calendar_eventsOrderByWithRelationInput | Prisma.calendar_eventsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.calendar_eventsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` calendar_events from the position of the cursor.
     */
    take?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Skip the first `n` calendar_events.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned calendar_events
    **/
    _count?: true | Calendar_eventsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Calendar_eventsAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Calendar_eventsSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Calendar_eventsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Calendar_eventsMaxAggregateInputType;
};
export type GetCalendar_eventsAggregateType<T extends Calendar_eventsAggregateArgs> = {
    [P in keyof T & keyof AggregateCalendar_events]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateCalendar_events[P]> : Prisma.GetScalarType<T[P], AggregateCalendar_events[P]>;
};
export type calendar_eventsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.calendar_eventsWhereInput;
    orderBy?: Prisma.calendar_eventsOrderByWithAggregationInput | Prisma.calendar_eventsOrderByWithAggregationInput[];
    by: Prisma.Calendar_eventsScalarFieldEnum[] | Prisma.Calendar_eventsScalarFieldEnum;
    having?: Prisma.calendar_eventsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Calendar_eventsCountAggregateInputType | true;
    _avg?: Calendar_eventsAvgAggregateInputType;
    _sum?: Calendar_eventsSumAggregateInputType;
    _min?: Calendar_eventsMinAggregateInputType;
    _max?: Calendar_eventsMaxAggregateInputType;
};
export type Calendar_eventsGroupByOutputType = {
    id: number;
    calendar_id: number | null;
    events_id: number | null;
    _count: Calendar_eventsCountAggregateOutputType | null;
    _avg: Calendar_eventsAvgAggregateOutputType | null;
    _sum: Calendar_eventsSumAggregateOutputType | null;
    _min: Calendar_eventsMinAggregateOutputType | null;
    _max: Calendar_eventsMaxAggregateOutputType | null;
};
type GetCalendar_eventsGroupByPayload<T extends calendar_eventsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Calendar_eventsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Calendar_eventsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Calendar_eventsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Calendar_eventsGroupByOutputType[P]>;
}>>;
export type calendar_eventsWhereInput = {
    AND?: Prisma.calendar_eventsWhereInput | Prisma.calendar_eventsWhereInput[];
    OR?: Prisma.calendar_eventsWhereInput[];
    NOT?: Prisma.calendar_eventsWhereInput | Prisma.calendar_eventsWhereInput[];
    id?: Prisma.IntFilter<"calendar_events"> | number;
    calendar_id?: Prisma.IntNullableFilter<"calendar_events"> | number | null;
    events_id?: Prisma.IntNullableFilter<"calendar_events"> | number | null;
    calendar?: Prisma.XOR<Prisma.CalendarNullableScalarRelationFilter, Prisma.calendarWhereInput> | null;
    events?: Prisma.XOR<Prisma.EventsNullableScalarRelationFilter, Prisma.eventsWhereInput> | null;
};
export type calendar_eventsOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    calendar_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    events_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    calendar?: Prisma.calendarOrderByWithRelationInput;
    events?: Prisma.eventsOrderByWithRelationInput;
};
export type calendar_eventsWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.calendar_eventsWhereInput | Prisma.calendar_eventsWhereInput[];
    OR?: Prisma.calendar_eventsWhereInput[];
    NOT?: Prisma.calendar_eventsWhereInput | Prisma.calendar_eventsWhereInput[];
    calendar_id?: Prisma.IntNullableFilter<"calendar_events"> | number | null;
    events_id?: Prisma.IntNullableFilter<"calendar_events"> | number | null;
    calendar?: Prisma.XOR<Prisma.CalendarNullableScalarRelationFilter, Prisma.calendarWhereInput> | null;
    events?: Prisma.XOR<Prisma.EventsNullableScalarRelationFilter, Prisma.eventsWhereInput> | null;
}, "id">;
export type calendar_eventsOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    calendar_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    events_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.calendar_eventsCountOrderByAggregateInput;
    _avg?: Prisma.calendar_eventsAvgOrderByAggregateInput;
    _max?: Prisma.calendar_eventsMaxOrderByAggregateInput;
    _min?: Prisma.calendar_eventsMinOrderByAggregateInput;
    _sum?: Prisma.calendar_eventsSumOrderByAggregateInput;
};
export type calendar_eventsScalarWhereWithAggregatesInput = {
    AND?: Prisma.calendar_eventsScalarWhereWithAggregatesInput | Prisma.calendar_eventsScalarWhereWithAggregatesInput[];
    OR?: Prisma.calendar_eventsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.calendar_eventsScalarWhereWithAggregatesInput | Prisma.calendar_eventsScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"calendar_events"> | number;
    calendar_id?: Prisma.IntNullableWithAggregatesFilter<"calendar_events"> | number | null;
    events_id?: Prisma.IntNullableWithAggregatesFilter<"calendar_events"> | number | null;
};
export type calendar_eventsCreateInput = {
    calendar?: Prisma.calendarCreateNestedOneWithoutCalendar_eventsInput;
    events?: Prisma.eventsCreateNestedOneWithoutCalendar_eventsInput;
};
export type calendar_eventsUncheckedCreateInput = {
    id?: number;
    calendar_id?: number | null;
    events_id?: number | null;
};
export type calendar_eventsUpdateInput = {
    calendar?: Prisma.calendarUpdateOneWithoutCalendar_eventsNestedInput;
    events?: Prisma.eventsUpdateOneWithoutCalendar_eventsNestedInput;
};
export type calendar_eventsUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    calendar_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    events_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type calendar_eventsCreateManyInput = {
    id?: number;
    calendar_id?: number | null;
    events_id?: number | null;
};
export type calendar_eventsUpdateManyMutationInput = {};
export type calendar_eventsUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    calendar_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    events_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type Calendar_eventsListRelationFilter = {
    every?: Prisma.calendar_eventsWhereInput;
    some?: Prisma.calendar_eventsWhereInput;
    none?: Prisma.calendar_eventsWhereInput;
};
export type calendar_eventsOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type calendar_eventsCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    calendar_id?: Prisma.SortOrder;
    events_id?: Prisma.SortOrder;
};
export type calendar_eventsAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    calendar_id?: Prisma.SortOrder;
    events_id?: Prisma.SortOrder;
};
export type calendar_eventsMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    calendar_id?: Prisma.SortOrder;
    events_id?: Prisma.SortOrder;
};
export type calendar_eventsMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    calendar_id?: Prisma.SortOrder;
    events_id?: Prisma.SortOrder;
};
export type calendar_eventsSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    calendar_id?: Prisma.SortOrder;
    events_id?: Prisma.SortOrder;
};
export type calendar_eventsCreateNestedManyWithoutCalendarInput = {
    create?: Prisma.XOR<Prisma.calendar_eventsCreateWithoutCalendarInput, Prisma.calendar_eventsUncheckedCreateWithoutCalendarInput> | Prisma.calendar_eventsCreateWithoutCalendarInput[] | Prisma.calendar_eventsUncheckedCreateWithoutCalendarInput[];
    connectOrCreate?: Prisma.calendar_eventsCreateOrConnectWithoutCalendarInput | Prisma.calendar_eventsCreateOrConnectWithoutCalendarInput[];
    createMany?: Prisma.calendar_eventsCreateManyCalendarInputEnvelope;
    connect?: Prisma.calendar_eventsWhereUniqueInput | Prisma.calendar_eventsWhereUniqueInput[];
};
export type calendar_eventsUncheckedCreateNestedManyWithoutCalendarInput = {
    create?: Prisma.XOR<Prisma.calendar_eventsCreateWithoutCalendarInput, Prisma.calendar_eventsUncheckedCreateWithoutCalendarInput> | Prisma.calendar_eventsCreateWithoutCalendarInput[] | Prisma.calendar_eventsUncheckedCreateWithoutCalendarInput[];
    connectOrCreate?: Prisma.calendar_eventsCreateOrConnectWithoutCalendarInput | Prisma.calendar_eventsCreateOrConnectWithoutCalendarInput[];
    createMany?: Prisma.calendar_eventsCreateManyCalendarInputEnvelope;
    connect?: Prisma.calendar_eventsWhereUniqueInput | Prisma.calendar_eventsWhereUniqueInput[];
};
export type calendar_eventsUpdateManyWithoutCalendarNestedInput = {
    create?: Prisma.XOR<Prisma.calendar_eventsCreateWithoutCalendarInput, Prisma.calendar_eventsUncheckedCreateWithoutCalendarInput> | Prisma.calendar_eventsCreateWithoutCalendarInput[] | Prisma.calendar_eventsUncheckedCreateWithoutCalendarInput[];
    connectOrCreate?: Prisma.calendar_eventsCreateOrConnectWithoutCalendarInput | Prisma.calendar_eventsCreateOrConnectWithoutCalendarInput[];
    upsert?: Prisma.calendar_eventsUpsertWithWhereUniqueWithoutCalendarInput | Prisma.calendar_eventsUpsertWithWhereUniqueWithoutCalendarInput[];
    createMany?: Prisma.calendar_eventsCreateManyCalendarInputEnvelope;
    set?: Prisma.calendar_eventsWhereUniqueInput | Prisma.calendar_eventsWhereUniqueInput[];
    disconnect?: Prisma.calendar_eventsWhereUniqueInput | Prisma.calendar_eventsWhereUniqueInput[];
    delete?: Prisma.calendar_eventsWhereUniqueInput | Prisma.calendar_eventsWhereUniqueInput[];
    connect?: Prisma.calendar_eventsWhereUniqueInput | Prisma.calendar_eventsWhereUniqueInput[];
    update?: Prisma.calendar_eventsUpdateWithWhereUniqueWithoutCalendarInput | Prisma.calendar_eventsUpdateWithWhereUniqueWithoutCalendarInput[];
    updateMany?: Prisma.calendar_eventsUpdateManyWithWhereWithoutCalendarInput | Prisma.calendar_eventsUpdateManyWithWhereWithoutCalendarInput[];
    deleteMany?: Prisma.calendar_eventsScalarWhereInput | Prisma.calendar_eventsScalarWhereInput[];
};
export type calendar_eventsUncheckedUpdateManyWithoutCalendarNestedInput = {
    create?: Prisma.XOR<Prisma.calendar_eventsCreateWithoutCalendarInput, Prisma.calendar_eventsUncheckedCreateWithoutCalendarInput> | Prisma.calendar_eventsCreateWithoutCalendarInput[] | Prisma.calendar_eventsUncheckedCreateWithoutCalendarInput[];
    connectOrCreate?: Prisma.calendar_eventsCreateOrConnectWithoutCalendarInput | Prisma.calendar_eventsCreateOrConnectWithoutCalendarInput[];
    upsert?: Prisma.calendar_eventsUpsertWithWhereUniqueWithoutCalendarInput | Prisma.calendar_eventsUpsertWithWhereUniqueWithoutCalendarInput[];
    createMany?: Prisma.calendar_eventsCreateManyCalendarInputEnvelope;
    set?: Prisma.calendar_eventsWhereUniqueInput | Prisma.calendar_eventsWhereUniqueInput[];
    disconnect?: Prisma.calendar_eventsWhereUniqueInput | Prisma.calendar_eventsWhereUniqueInput[];
    delete?: Prisma.calendar_eventsWhereUniqueInput | Prisma.calendar_eventsWhereUniqueInput[];
    connect?: Prisma.calendar_eventsWhereUniqueInput | Prisma.calendar_eventsWhereUniqueInput[];
    update?: Prisma.calendar_eventsUpdateWithWhereUniqueWithoutCalendarInput | Prisma.calendar_eventsUpdateWithWhereUniqueWithoutCalendarInput[];
    updateMany?: Prisma.calendar_eventsUpdateManyWithWhereWithoutCalendarInput | Prisma.calendar_eventsUpdateManyWithWhereWithoutCalendarInput[];
    deleteMany?: Prisma.calendar_eventsScalarWhereInput | Prisma.calendar_eventsScalarWhereInput[];
};
export type calendar_eventsCreateNestedManyWithoutEventsInput = {
    create?: Prisma.XOR<Prisma.calendar_eventsCreateWithoutEventsInput, Prisma.calendar_eventsUncheckedCreateWithoutEventsInput> | Prisma.calendar_eventsCreateWithoutEventsInput[] | Prisma.calendar_eventsUncheckedCreateWithoutEventsInput[];
    connectOrCreate?: Prisma.calendar_eventsCreateOrConnectWithoutEventsInput | Prisma.calendar_eventsCreateOrConnectWithoutEventsInput[];
    createMany?: Prisma.calendar_eventsCreateManyEventsInputEnvelope;
    connect?: Prisma.calendar_eventsWhereUniqueInput | Prisma.calendar_eventsWhereUniqueInput[];
};
export type calendar_eventsUncheckedCreateNestedManyWithoutEventsInput = {
    create?: Prisma.XOR<Prisma.calendar_eventsCreateWithoutEventsInput, Prisma.calendar_eventsUncheckedCreateWithoutEventsInput> | Prisma.calendar_eventsCreateWithoutEventsInput[] | Prisma.calendar_eventsUncheckedCreateWithoutEventsInput[];
    connectOrCreate?: Prisma.calendar_eventsCreateOrConnectWithoutEventsInput | Prisma.calendar_eventsCreateOrConnectWithoutEventsInput[];
    createMany?: Prisma.calendar_eventsCreateManyEventsInputEnvelope;
    connect?: Prisma.calendar_eventsWhereUniqueInput | Prisma.calendar_eventsWhereUniqueInput[];
};
export type calendar_eventsUpdateManyWithoutEventsNestedInput = {
    create?: Prisma.XOR<Prisma.calendar_eventsCreateWithoutEventsInput, Prisma.calendar_eventsUncheckedCreateWithoutEventsInput> | Prisma.calendar_eventsCreateWithoutEventsInput[] | Prisma.calendar_eventsUncheckedCreateWithoutEventsInput[];
    connectOrCreate?: Prisma.calendar_eventsCreateOrConnectWithoutEventsInput | Prisma.calendar_eventsCreateOrConnectWithoutEventsInput[];
    upsert?: Prisma.calendar_eventsUpsertWithWhereUniqueWithoutEventsInput | Prisma.calendar_eventsUpsertWithWhereUniqueWithoutEventsInput[];
    createMany?: Prisma.calendar_eventsCreateManyEventsInputEnvelope;
    set?: Prisma.calendar_eventsWhereUniqueInput | Prisma.calendar_eventsWhereUniqueInput[];
    disconnect?: Prisma.calendar_eventsWhereUniqueInput | Prisma.calendar_eventsWhereUniqueInput[];
    delete?: Prisma.calendar_eventsWhereUniqueInput | Prisma.calendar_eventsWhereUniqueInput[];
    connect?: Prisma.calendar_eventsWhereUniqueInput | Prisma.calendar_eventsWhereUniqueInput[];
    update?: Prisma.calendar_eventsUpdateWithWhereUniqueWithoutEventsInput | Prisma.calendar_eventsUpdateWithWhereUniqueWithoutEventsInput[];
    updateMany?: Prisma.calendar_eventsUpdateManyWithWhereWithoutEventsInput | Prisma.calendar_eventsUpdateManyWithWhereWithoutEventsInput[];
    deleteMany?: Prisma.calendar_eventsScalarWhereInput | Prisma.calendar_eventsScalarWhereInput[];
};
export type calendar_eventsUncheckedUpdateManyWithoutEventsNestedInput = {
    create?: Prisma.XOR<Prisma.calendar_eventsCreateWithoutEventsInput, Prisma.calendar_eventsUncheckedCreateWithoutEventsInput> | Prisma.calendar_eventsCreateWithoutEventsInput[] | Prisma.calendar_eventsUncheckedCreateWithoutEventsInput[];
    connectOrCreate?: Prisma.calendar_eventsCreateOrConnectWithoutEventsInput | Prisma.calendar_eventsCreateOrConnectWithoutEventsInput[];
    upsert?: Prisma.calendar_eventsUpsertWithWhereUniqueWithoutEventsInput | Prisma.calendar_eventsUpsertWithWhereUniqueWithoutEventsInput[];
    createMany?: Prisma.calendar_eventsCreateManyEventsInputEnvelope;
    set?: Prisma.calendar_eventsWhereUniqueInput | Prisma.calendar_eventsWhereUniqueInput[];
    disconnect?: Prisma.calendar_eventsWhereUniqueInput | Prisma.calendar_eventsWhereUniqueInput[];
    delete?: Prisma.calendar_eventsWhereUniqueInput | Prisma.calendar_eventsWhereUniqueInput[];
    connect?: Prisma.calendar_eventsWhereUniqueInput | Prisma.calendar_eventsWhereUniqueInput[];
    update?: Prisma.calendar_eventsUpdateWithWhereUniqueWithoutEventsInput | Prisma.calendar_eventsUpdateWithWhereUniqueWithoutEventsInput[];
    updateMany?: Prisma.calendar_eventsUpdateManyWithWhereWithoutEventsInput | Prisma.calendar_eventsUpdateManyWithWhereWithoutEventsInput[];
    deleteMany?: Prisma.calendar_eventsScalarWhereInput | Prisma.calendar_eventsScalarWhereInput[];
};
export type calendar_eventsCreateWithoutCalendarInput = {
    events?: Prisma.eventsCreateNestedOneWithoutCalendar_eventsInput;
};
export type calendar_eventsUncheckedCreateWithoutCalendarInput = {
    id?: number;
    events_id?: number | null;
};
export type calendar_eventsCreateOrConnectWithoutCalendarInput = {
    where: Prisma.calendar_eventsWhereUniqueInput;
    create: Prisma.XOR<Prisma.calendar_eventsCreateWithoutCalendarInput, Prisma.calendar_eventsUncheckedCreateWithoutCalendarInput>;
};
export type calendar_eventsCreateManyCalendarInputEnvelope = {
    data: Prisma.calendar_eventsCreateManyCalendarInput | Prisma.calendar_eventsCreateManyCalendarInput[];
    skipDuplicates?: boolean;
};
export type calendar_eventsUpsertWithWhereUniqueWithoutCalendarInput = {
    where: Prisma.calendar_eventsWhereUniqueInput;
    update: Prisma.XOR<Prisma.calendar_eventsUpdateWithoutCalendarInput, Prisma.calendar_eventsUncheckedUpdateWithoutCalendarInput>;
    create: Prisma.XOR<Prisma.calendar_eventsCreateWithoutCalendarInput, Prisma.calendar_eventsUncheckedCreateWithoutCalendarInput>;
};
export type calendar_eventsUpdateWithWhereUniqueWithoutCalendarInput = {
    where: Prisma.calendar_eventsWhereUniqueInput;
    data: Prisma.XOR<Prisma.calendar_eventsUpdateWithoutCalendarInput, Prisma.calendar_eventsUncheckedUpdateWithoutCalendarInput>;
};
export type calendar_eventsUpdateManyWithWhereWithoutCalendarInput = {
    where: Prisma.calendar_eventsScalarWhereInput;
    data: Prisma.XOR<Prisma.calendar_eventsUpdateManyMutationInput, Prisma.calendar_eventsUncheckedUpdateManyWithoutCalendarInput>;
};
export type calendar_eventsScalarWhereInput = {
    AND?: Prisma.calendar_eventsScalarWhereInput | Prisma.calendar_eventsScalarWhereInput[];
    OR?: Prisma.calendar_eventsScalarWhereInput[];
    NOT?: Prisma.calendar_eventsScalarWhereInput | Prisma.calendar_eventsScalarWhereInput[];
    id?: Prisma.IntFilter<"calendar_events"> | number;
    calendar_id?: Prisma.IntNullableFilter<"calendar_events"> | number | null;
    events_id?: Prisma.IntNullableFilter<"calendar_events"> | number | null;
};
export type calendar_eventsCreateWithoutEventsInput = {
    calendar?: Prisma.calendarCreateNestedOneWithoutCalendar_eventsInput;
};
export type calendar_eventsUncheckedCreateWithoutEventsInput = {
    id?: number;
    calendar_id?: number | null;
};
export type calendar_eventsCreateOrConnectWithoutEventsInput = {
    where: Prisma.calendar_eventsWhereUniqueInput;
    create: Prisma.XOR<Prisma.calendar_eventsCreateWithoutEventsInput, Prisma.calendar_eventsUncheckedCreateWithoutEventsInput>;
};
export type calendar_eventsCreateManyEventsInputEnvelope = {
    data: Prisma.calendar_eventsCreateManyEventsInput | Prisma.calendar_eventsCreateManyEventsInput[];
    skipDuplicates?: boolean;
};
export type calendar_eventsUpsertWithWhereUniqueWithoutEventsInput = {
    where: Prisma.calendar_eventsWhereUniqueInput;
    update: Prisma.XOR<Prisma.calendar_eventsUpdateWithoutEventsInput, Prisma.calendar_eventsUncheckedUpdateWithoutEventsInput>;
    create: Prisma.XOR<Prisma.calendar_eventsCreateWithoutEventsInput, Prisma.calendar_eventsUncheckedCreateWithoutEventsInput>;
};
export type calendar_eventsUpdateWithWhereUniqueWithoutEventsInput = {
    where: Prisma.calendar_eventsWhereUniqueInput;
    data: Prisma.XOR<Prisma.calendar_eventsUpdateWithoutEventsInput, Prisma.calendar_eventsUncheckedUpdateWithoutEventsInput>;
};
export type calendar_eventsUpdateManyWithWhereWithoutEventsInput = {
    where: Prisma.calendar_eventsScalarWhereInput;
    data: Prisma.XOR<Prisma.calendar_eventsUpdateManyMutationInput, Prisma.calendar_eventsUncheckedUpdateManyWithoutEventsInput>;
};
export type calendar_eventsCreateManyCalendarInput = {
    id?: number;
    events_id?: number | null;
};
export type calendar_eventsUpdateWithoutCalendarInput = {
    events?: Prisma.eventsUpdateOneWithoutCalendar_eventsNestedInput;
};
export type calendar_eventsUncheckedUpdateWithoutCalendarInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    events_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type calendar_eventsUncheckedUpdateManyWithoutCalendarInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    events_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type calendar_eventsCreateManyEventsInput = {
    id?: number;
    calendar_id?: number | null;
};
export type calendar_eventsUpdateWithoutEventsInput = {
    calendar?: Prisma.calendarUpdateOneWithoutCalendar_eventsNestedInput;
};
export type calendar_eventsUncheckedUpdateWithoutEventsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    calendar_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type calendar_eventsUncheckedUpdateManyWithoutEventsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    calendar_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type calendar_eventsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    calendar_id?: boolean;
    events_id?: boolean;
    calendar?: boolean | Prisma.calendar_events$calendarArgs<ExtArgs>;
    events?: boolean | Prisma.calendar_events$eventsArgs<ExtArgs>;
}, ExtArgs["result"]["calendar_events"]>;
export type calendar_eventsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    calendar_id?: boolean;
    events_id?: boolean;
    calendar?: boolean | Prisma.calendar_events$calendarArgs<ExtArgs>;
    events?: boolean | Prisma.calendar_events$eventsArgs<ExtArgs>;
}, ExtArgs["result"]["calendar_events"]>;
export type calendar_eventsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    calendar_id?: boolean;
    events_id?: boolean;
    calendar?: boolean | Prisma.calendar_events$calendarArgs<ExtArgs>;
    events?: boolean | Prisma.calendar_events$eventsArgs<ExtArgs>;
}, ExtArgs["result"]["calendar_events"]>;
export type calendar_eventsSelectScalar = {
    id?: boolean;
    calendar_id?: boolean;
    events_id?: boolean;
};
export type calendar_eventsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "calendar_id" | "events_id", ExtArgs["result"]["calendar_events"]>;
export type calendar_eventsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    calendar?: boolean | Prisma.calendar_events$calendarArgs<ExtArgs>;
    events?: boolean | Prisma.calendar_events$eventsArgs<ExtArgs>;
};
export type calendar_eventsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    calendar?: boolean | Prisma.calendar_events$calendarArgs<ExtArgs>;
    events?: boolean | Prisma.calendar_events$eventsArgs<ExtArgs>;
};
export type calendar_eventsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    calendar?: boolean | Prisma.calendar_events$calendarArgs<ExtArgs>;
    events?: boolean | Prisma.calendar_events$eventsArgs<ExtArgs>;
};
export type $calendar_eventsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "calendar_events";
    objects: {
        calendar: Prisma.$calendarPayload<ExtArgs> | null;
        events: Prisma.$eventsPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        calendar_id: number | null;
        events_id: number | null;
    }, ExtArgs["result"]["calendar_events"]>;
    composites: {};
};
export type calendar_eventsGetPayload<S extends boolean | null | undefined | calendar_eventsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$calendar_eventsPayload, S>;
export type calendar_eventsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<calendar_eventsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Calendar_eventsCountAggregateInputType | true;
};
export interface calendar_eventsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['calendar_events'];
        meta: {
            name: 'calendar_events';
        };
    };
    /**
     * Find zero or one Calendar_events that matches the filter.
     * @param {calendar_eventsFindUniqueArgs} args - Arguments to find a Calendar_events
     * @example
     * // Get one Calendar_events
     * const calendar_events = await prisma.calendar_events.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends calendar_eventsFindUniqueArgs>(args: Prisma.SelectSubset<T, calendar_eventsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__calendar_eventsClient<runtime.Types.Result.GetResult<Prisma.$calendar_eventsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Calendar_events that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {calendar_eventsFindUniqueOrThrowArgs} args - Arguments to find a Calendar_events
     * @example
     * // Get one Calendar_events
     * const calendar_events = await prisma.calendar_events.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends calendar_eventsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, calendar_eventsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__calendar_eventsClient<runtime.Types.Result.GetResult<Prisma.$calendar_eventsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Calendar_events that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {calendar_eventsFindFirstArgs} args - Arguments to find a Calendar_events
     * @example
     * // Get one Calendar_events
     * const calendar_events = await prisma.calendar_events.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends calendar_eventsFindFirstArgs>(args?: Prisma.SelectSubset<T, calendar_eventsFindFirstArgs<ExtArgs>>): Prisma.Prisma__calendar_eventsClient<runtime.Types.Result.GetResult<Prisma.$calendar_eventsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Calendar_events that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {calendar_eventsFindFirstOrThrowArgs} args - Arguments to find a Calendar_events
     * @example
     * // Get one Calendar_events
     * const calendar_events = await prisma.calendar_events.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends calendar_eventsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, calendar_eventsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__calendar_eventsClient<runtime.Types.Result.GetResult<Prisma.$calendar_eventsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Calendar_events that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {calendar_eventsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Calendar_events
     * const calendar_events = await prisma.calendar_events.findMany()
     *
     * // Get first 10 Calendar_events
     * const calendar_events = await prisma.calendar_events.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const calendar_eventsWithIdOnly = await prisma.calendar_events.findMany({ select: { id: true } })
     *
     */
    findMany<T extends calendar_eventsFindManyArgs>(args?: Prisma.SelectSubset<T, calendar_eventsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$calendar_eventsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Calendar_events.
     * @param {calendar_eventsCreateArgs} args - Arguments to create a Calendar_events.
     * @example
     * // Create one Calendar_events
     * const Calendar_events = await prisma.calendar_events.create({
     *   data: {
     *     // ... data to create a Calendar_events
     *   }
     * })
     *
     */
    create<T extends calendar_eventsCreateArgs>(args: Prisma.SelectSubset<T, calendar_eventsCreateArgs<ExtArgs>>): Prisma.Prisma__calendar_eventsClient<runtime.Types.Result.GetResult<Prisma.$calendar_eventsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Calendar_events.
     * @param {calendar_eventsCreateManyArgs} args - Arguments to create many Calendar_events.
     * @example
     * // Create many Calendar_events
     * const calendar_events = await prisma.calendar_events.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends calendar_eventsCreateManyArgs>(args?: Prisma.SelectSubset<T, calendar_eventsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Calendar_events and returns the data saved in the database.
     * @param {calendar_eventsCreateManyAndReturnArgs} args - Arguments to create many Calendar_events.
     * @example
     * // Create many Calendar_events
     * const calendar_events = await prisma.calendar_events.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Calendar_events and only return the `id`
     * const calendar_eventsWithIdOnly = await prisma.calendar_events.createManyAndReturn({
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     *
     */
    createManyAndReturn<T extends calendar_eventsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, calendar_eventsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$calendar_eventsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Calendar_events.
     * @param {calendar_eventsDeleteArgs} args - Arguments to delete one Calendar_events.
     * @example
     * // Delete one Calendar_events
     * const Calendar_events = await prisma.calendar_events.delete({
     *   where: {
     *     // ... filter to delete one Calendar_events
     *   }
     * })
     *
     */
    delete<T extends calendar_eventsDeleteArgs>(args: Prisma.SelectSubset<T, calendar_eventsDeleteArgs<ExtArgs>>): Prisma.Prisma__calendar_eventsClient<runtime.Types.Result.GetResult<Prisma.$calendar_eventsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Calendar_events.
     * @param {calendar_eventsUpdateArgs} args - Arguments to update one Calendar_events.
     * @example
     * // Update one Calendar_events
     * const calendar_events = await prisma.calendar_events.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends calendar_eventsUpdateArgs>(args: Prisma.SelectSubset<T, calendar_eventsUpdateArgs<ExtArgs>>): Prisma.Prisma__calendar_eventsClient<runtime.Types.Result.GetResult<Prisma.$calendar_eventsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Calendar_events.
     * @param {calendar_eventsDeleteManyArgs} args - Arguments to filter Calendar_events to delete.
     * @example
     * // Delete a few Calendar_events
     * const { count } = await prisma.calendar_events.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends calendar_eventsDeleteManyArgs>(args?: Prisma.SelectSubset<T, calendar_eventsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Calendar_events.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {calendar_eventsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Calendar_events
     * const calendar_events = await prisma.calendar_events.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends calendar_eventsUpdateManyArgs>(args: Prisma.SelectSubset<T, calendar_eventsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Calendar_events and returns the data updated in the database.
     * @param {calendar_eventsUpdateManyAndReturnArgs} args - Arguments to update many Calendar_events.
     * @example
     * // Update many Calendar_events
     * const calendar_events = await prisma.calendar_events.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Calendar_events and only return the `id`
     * const calendar_eventsWithIdOnly = await prisma.calendar_events.updateManyAndReturn({
     *   select: { id: true },
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     *
     */
    updateManyAndReturn<T extends calendar_eventsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, calendar_eventsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$calendar_eventsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Calendar_events.
     * @param {calendar_eventsUpsertArgs} args - Arguments to update or create a Calendar_events.
     * @example
     * // Update or create a Calendar_events
     * const calendar_events = await prisma.calendar_events.upsert({
     *   create: {
     *     // ... data to create a Calendar_events
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Calendar_events we want to update
     *   }
     * })
     */
    upsert<T extends calendar_eventsUpsertArgs>(args: Prisma.SelectSubset<T, calendar_eventsUpsertArgs<ExtArgs>>): Prisma.Prisma__calendar_eventsClient<runtime.Types.Result.GetResult<Prisma.$calendar_eventsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Calendar_events.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {calendar_eventsCountArgs} args - Arguments to filter Calendar_events to count.
     * @example
     * // Count the number of Calendar_events
     * const count = await prisma.calendar_events.count({
     *   where: {
     *     // ... the filter for the Calendar_events we want to count
     *   }
     * })
    **/
    count<T extends calendar_eventsCountArgs>(args?: Prisma.Subset<T, calendar_eventsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Calendar_eventsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Calendar_events.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Calendar_eventsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends Calendar_eventsAggregateArgs>(args: Prisma.Subset<T, Calendar_eventsAggregateArgs>): Prisma.PrismaPromise<GetCalendar_eventsAggregateType<T>>;
    /**
     * Group by Calendar_events.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {calendar_eventsGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     *
    **/
    groupBy<T extends calendar_eventsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: calendar_eventsGroupByArgs['orderBy'];
    } : {
        orderBy?: calendar_eventsGroupByArgs['orderBy'];
    }, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
        [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
            Error,
            'Field ',
            P,
            ` in "having" needs to be provided in "by"`
        ];
    }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
        [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
    }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
        [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
    }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
        [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
    }[OrderFields]>(args: Prisma.SubsetIntersection<T, calendar_eventsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCalendar_eventsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the calendar_events model
     */
    readonly fields: calendar_eventsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for calendar_events.
 * Why is this prefixed with `Prisma__`?
 * Because we want to prevent naming conflicts as mentioned in
 * https://github.com/prisma/prisma-client-js/issues/707
 */
export interface Prisma__calendar_eventsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    calendar<T extends Prisma.calendar_events$calendarArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.calendar_events$calendarArgs<ExtArgs>>): Prisma.Prisma__calendarClient<runtime.Types.Result.GetResult<Prisma.$calendarPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    events<T extends Prisma.calendar_events$eventsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.calendar_events$eventsArgs<ExtArgs>>): Prisma.Prisma__eventsClient<runtime.Types.Result.GetResult<Prisma.$eventsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
}
/**
 * Fields of the calendar_events model
 */
export interface calendar_eventsFieldRefs {
    readonly id: Prisma.FieldRef<"calendar_events", 'Int'>;
    readonly calendar_id: Prisma.FieldRef<"calendar_events", 'Int'>;
    readonly events_id: Prisma.FieldRef<"calendar_events", 'Int'>;
}
/**
 * calendar_events findUnique
 */
export type calendar_eventsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the calendar_events
     */
    select?: Prisma.calendar_eventsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the calendar_events
     */
    omit?: Prisma.calendar_eventsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.calendar_eventsInclude<ExtArgs> | null;
    /**
     * Filter, which calendar_events to fetch.
     */
    where: Prisma.calendar_eventsWhereUniqueInput;
};
/**
 * calendar_events findUniqueOrThrow
 */
export type calendar_eventsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the calendar_events
     */
    select?: Prisma.calendar_eventsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the calendar_events
     */
    omit?: Prisma.calendar_eventsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.calendar_eventsInclude<ExtArgs> | null;
    /**
     * Filter, which calendar_events to fetch.
     */
    where: Prisma.calendar_eventsWhereUniqueInput;
};
/**
 * calendar_events findFirst
 */
export type calendar_eventsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the calendar_events
     */
    select?: Prisma.calendar_eventsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the calendar_events
     */
    omit?: Prisma.calendar_eventsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.calendar_eventsInclude<ExtArgs> | null;
    /**
     * Filter, which calendar_events to fetch.
     */
    where?: Prisma.calendar_eventsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of calendar_events to fetch.
     */
    orderBy?: Prisma.calendar_eventsOrderByWithRelationInput | Prisma.calendar_eventsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for calendar_events.
     */
    cursor?: Prisma.calendar_eventsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` calendar_events from the position of the cursor.
     */
    take?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Skip the first `n` calendar_events.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of calendar_events.
     */
    distinct?: Prisma.Calendar_eventsScalarFieldEnum | Prisma.Calendar_eventsScalarFieldEnum[];
};
/**
 * calendar_events findFirstOrThrow
 */
export type calendar_eventsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the calendar_events
     */
    select?: Prisma.calendar_eventsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the calendar_events
     */
    omit?: Prisma.calendar_eventsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.calendar_eventsInclude<ExtArgs> | null;
    /**
     * Filter, which calendar_events to fetch.
     */
    where?: Prisma.calendar_eventsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of calendar_events to fetch.
     */
    orderBy?: Prisma.calendar_eventsOrderByWithRelationInput | Prisma.calendar_eventsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for calendar_events.
     */
    cursor?: Prisma.calendar_eventsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` calendar_events from the position of the cursor.
     */
    take?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Skip the first `n` calendar_events.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of calendar_events.
     */
    distinct?: Prisma.Calendar_eventsScalarFieldEnum | Prisma.Calendar_eventsScalarFieldEnum[];
};
/**
 * calendar_events findMany
 */
export type calendar_eventsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the calendar_events
     */
    select?: Prisma.calendar_eventsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the calendar_events
     */
    omit?: Prisma.calendar_eventsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.calendar_eventsInclude<ExtArgs> | null;
    /**
     * Filter, which calendar_events to fetch.
     */
    where?: Prisma.calendar_eventsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of calendar_events to fetch.
     */
    orderBy?: Prisma.calendar_eventsOrderByWithRelationInput | Prisma.calendar_eventsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing calendar_events.
     */
    cursor?: Prisma.calendar_eventsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` calendar_events from the position of the cursor.
     */
    take?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Skip the first `n` calendar_events.
     */
    skip?: number;
    distinct?: Prisma.Calendar_eventsScalarFieldEnum | Prisma.Calendar_eventsScalarFieldEnum[];
};
/**
 * calendar_events create
 */
export type calendar_eventsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the calendar_events
     */
    select?: Prisma.calendar_eventsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the calendar_events
     */
    omit?: Prisma.calendar_eventsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.calendar_eventsInclude<ExtArgs> | null;
    /**
     * The data needed to create a calendar_events.
     */
    data?: Prisma.XOR<Prisma.calendar_eventsCreateInput, Prisma.calendar_eventsUncheckedCreateInput>;
};
/**
 * calendar_events createMany
 */
export type calendar_eventsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many calendar_events.
     */
    data: Prisma.calendar_eventsCreateManyInput | Prisma.calendar_eventsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * calendar_events createManyAndReturn
 */
export type calendar_eventsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the calendar_events
     */
    select?: Prisma.calendar_eventsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the calendar_events
     */
    omit?: Prisma.calendar_eventsOmit<ExtArgs> | null;
    /**
     * The data used to create many calendar_events.
     */
    data: Prisma.calendar_eventsCreateManyInput | Prisma.calendar_eventsCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.calendar_eventsIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * calendar_events update
 */
export type calendar_eventsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the calendar_events
     */
    select?: Prisma.calendar_eventsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the calendar_events
     */
    omit?: Prisma.calendar_eventsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.calendar_eventsInclude<ExtArgs> | null;
    /**
     * The data needed to update a calendar_events.
     */
    data: Prisma.XOR<Prisma.calendar_eventsUpdateInput, Prisma.calendar_eventsUncheckedUpdateInput>;
    /**
     * Choose, which calendar_events to update.
     */
    where: Prisma.calendar_eventsWhereUniqueInput;
};
/**
 * calendar_events updateMany
 */
export type calendar_eventsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update calendar_events.
     */
    data: Prisma.XOR<Prisma.calendar_eventsUpdateManyMutationInput, Prisma.calendar_eventsUncheckedUpdateManyInput>;
    /**
     * Filter which calendar_events to update
     */
    where?: Prisma.calendar_eventsWhereInput;
    /**
     * Limit how many calendar_events to update.
     */
    limit?: number;
};
/**
 * calendar_events updateManyAndReturn
 */
export type calendar_eventsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the calendar_events
     */
    select?: Prisma.calendar_eventsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the calendar_events
     */
    omit?: Prisma.calendar_eventsOmit<ExtArgs> | null;
    /**
     * The data used to update calendar_events.
     */
    data: Prisma.XOR<Prisma.calendar_eventsUpdateManyMutationInput, Prisma.calendar_eventsUncheckedUpdateManyInput>;
    /**
     * Filter which calendar_events to update
     */
    where?: Prisma.calendar_eventsWhereInput;
    /**
     * Limit how many calendar_events to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.calendar_eventsIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * calendar_events upsert
 */
export type calendar_eventsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the calendar_events
     */
    select?: Prisma.calendar_eventsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the calendar_events
     */
    omit?: Prisma.calendar_eventsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.calendar_eventsInclude<ExtArgs> | null;
    /**
     * The filter to search for the calendar_events to update in case it exists.
     */
    where: Prisma.calendar_eventsWhereUniqueInput;
    /**
     * In case the calendar_events found by the `where` argument doesn't exist, create a new calendar_events with this data.
     */
    create: Prisma.XOR<Prisma.calendar_eventsCreateInput, Prisma.calendar_eventsUncheckedCreateInput>;
    /**
     * In case the calendar_events was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.calendar_eventsUpdateInput, Prisma.calendar_eventsUncheckedUpdateInput>;
};
/**
 * calendar_events delete
 */
export type calendar_eventsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the calendar_events
     */
    select?: Prisma.calendar_eventsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the calendar_events
     */
    omit?: Prisma.calendar_eventsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.calendar_eventsInclude<ExtArgs> | null;
    /**
     * Filter which calendar_events to delete.
     */
    where: Prisma.calendar_eventsWhereUniqueInput;
};
/**
 * calendar_events deleteMany
 */
export type calendar_eventsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which calendar_events to delete
     */
    where?: Prisma.calendar_eventsWhereInput;
    /**
     * Limit how many calendar_events to delete.
     */
    limit?: number;
};
/**
 * calendar_events.calendar
 */
export type calendar_events$calendarArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the calendar
     */
    select?: Prisma.calendarSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the calendar
     */
    omit?: Prisma.calendarOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.calendarInclude<ExtArgs> | null;
    where?: Prisma.calendarWhereInput;
};
/**
 * calendar_events.events
 */
export type calendar_events$eventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the events
     */
    select?: Prisma.eventsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the events
     */
    omit?: Prisma.eventsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.eventsInclude<ExtArgs> | null;
    where?: Prisma.eventsWhereInput;
};
/**
 * calendar_events without action
 */
export type calendar_eventsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the calendar_events
     */
    select?: Prisma.calendar_eventsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the calendar_events
     */
    omit?: Prisma.calendar_eventsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.calendar_eventsInclude<ExtArgs> | null;
};
export {};
