import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model projects_calendar
 * 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 projects_calendarModel = runtime.Types.Result.DefaultSelection<Prisma.$projects_calendarPayload>;
export type AggregateProjects_calendar = {
    _count: Projects_calendarCountAggregateOutputType | null;
    _avg: Projects_calendarAvgAggregateOutputType | null;
    _sum: Projects_calendarSumAggregateOutputType | null;
    _min: Projects_calendarMinAggregateOutputType | null;
    _max: Projects_calendarMaxAggregateOutputType | null;
};
export type Projects_calendarAvgAggregateOutputType = {
    id: number | null;
    projects_id: number | null;
    calendar_id: number | null;
};
export type Projects_calendarSumAggregateOutputType = {
    id: number | null;
    projects_id: number | null;
    calendar_id: number | null;
};
export type Projects_calendarMinAggregateOutputType = {
    id: number | null;
    projects_id: number | null;
    calendar_id: number | null;
};
export type Projects_calendarMaxAggregateOutputType = {
    id: number | null;
    projects_id: number | null;
    calendar_id: number | null;
};
export type Projects_calendarCountAggregateOutputType = {
    id: number;
    projects_id: number;
    calendar_id: number;
    _all: number;
};
export type Projects_calendarAvgAggregateInputType = {
    id?: true;
    projects_id?: true;
    calendar_id?: true;
};
export type Projects_calendarSumAggregateInputType = {
    id?: true;
    projects_id?: true;
    calendar_id?: true;
};
export type Projects_calendarMinAggregateInputType = {
    id?: true;
    projects_id?: true;
    calendar_id?: true;
};
export type Projects_calendarMaxAggregateInputType = {
    id?: true;
    projects_id?: true;
    calendar_id?: true;
};
export type Projects_calendarCountAggregateInputType = {
    id?: true;
    projects_id?: true;
    calendar_id?: true;
    _all?: true;
};
export type Projects_calendarAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which projects_calendar to aggregate.
     */
    where?: Prisma.projects_calendarWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of projects_calendars to fetch.
     */
    orderBy?: Prisma.projects_calendarOrderByWithRelationInput | Prisma.projects_calendarOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.projects_calendarWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` projects_calendars 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` projects_calendars.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned projects_calendars
    **/
    _count?: true | Projects_calendarCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Projects_calendarAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Projects_calendarSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Projects_calendarMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Projects_calendarMaxAggregateInputType;
};
export type GetProjects_calendarAggregateType<T extends Projects_calendarAggregateArgs> = {
    [P in keyof T & keyof AggregateProjects_calendar]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateProjects_calendar[P]> : Prisma.GetScalarType<T[P], AggregateProjects_calendar[P]>;
};
export type projects_calendarGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.projects_calendarWhereInput;
    orderBy?: Prisma.projects_calendarOrderByWithAggregationInput | Prisma.projects_calendarOrderByWithAggregationInput[];
    by: Prisma.Projects_calendarScalarFieldEnum[] | Prisma.Projects_calendarScalarFieldEnum;
    having?: Prisma.projects_calendarScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Projects_calendarCountAggregateInputType | true;
    _avg?: Projects_calendarAvgAggregateInputType;
    _sum?: Projects_calendarSumAggregateInputType;
    _min?: Projects_calendarMinAggregateInputType;
    _max?: Projects_calendarMaxAggregateInputType;
};
export type Projects_calendarGroupByOutputType = {
    id: number;
    projects_id: number | null;
    calendar_id: number | null;
    _count: Projects_calendarCountAggregateOutputType | null;
    _avg: Projects_calendarAvgAggregateOutputType | null;
    _sum: Projects_calendarSumAggregateOutputType | null;
    _min: Projects_calendarMinAggregateOutputType | null;
    _max: Projects_calendarMaxAggregateOutputType | null;
};
type GetProjects_calendarGroupByPayload<T extends projects_calendarGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Projects_calendarGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Projects_calendarGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Projects_calendarGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Projects_calendarGroupByOutputType[P]>;
}>>;
export type projects_calendarWhereInput = {
    AND?: Prisma.projects_calendarWhereInput | Prisma.projects_calendarWhereInput[];
    OR?: Prisma.projects_calendarWhereInput[];
    NOT?: Prisma.projects_calendarWhereInput | Prisma.projects_calendarWhereInput[];
    id?: Prisma.IntFilter<"projects_calendar"> | number;
    projects_id?: Prisma.IntNullableFilter<"projects_calendar"> | number | null;
    calendar_id?: Prisma.IntNullableFilter<"projects_calendar"> | number | null;
    calendar?: Prisma.XOR<Prisma.CalendarNullableScalarRelationFilter, Prisma.calendarWhereInput> | null;
    projects?: Prisma.XOR<Prisma.ProjectsNullableScalarRelationFilter, Prisma.projectsWhereInput> | null;
};
export type projects_calendarOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    projects_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    calendar_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    calendar?: Prisma.calendarOrderByWithRelationInput;
    projects?: Prisma.projectsOrderByWithRelationInput;
};
export type projects_calendarWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.projects_calendarWhereInput | Prisma.projects_calendarWhereInput[];
    OR?: Prisma.projects_calendarWhereInput[];
    NOT?: Prisma.projects_calendarWhereInput | Prisma.projects_calendarWhereInput[];
    projects_id?: Prisma.IntNullableFilter<"projects_calendar"> | number | null;
    calendar_id?: Prisma.IntNullableFilter<"projects_calendar"> | number | null;
    calendar?: Prisma.XOR<Prisma.CalendarNullableScalarRelationFilter, Prisma.calendarWhereInput> | null;
    projects?: Prisma.XOR<Prisma.ProjectsNullableScalarRelationFilter, Prisma.projectsWhereInput> | null;
}, "id">;
export type projects_calendarOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    projects_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    calendar_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.projects_calendarCountOrderByAggregateInput;
    _avg?: Prisma.projects_calendarAvgOrderByAggregateInput;
    _max?: Prisma.projects_calendarMaxOrderByAggregateInput;
    _min?: Prisma.projects_calendarMinOrderByAggregateInput;
    _sum?: Prisma.projects_calendarSumOrderByAggregateInput;
};
export type projects_calendarScalarWhereWithAggregatesInput = {
    AND?: Prisma.projects_calendarScalarWhereWithAggregatesInput | Prisma.projects_calendarScalarWhereWithAggregatesInput[];
    OR?: Prisma.projects_calendarScalarWhereWithAggregatesInput[];
    NOT?: Prisma.projects_calendarScalarWhereWithAggregatesInput | Prisma.projects_calendarScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"projects_calendar"> | number;
    projects_id?: Prisma.IntNullableWithAggregatesFilter<"projects_calendar"> | number | null;
    calendar_id?: Prisma.IntNullableWithAggregatesFilter<"projects_calendar"> | number | null;
};
export type projects_calendarCreateInput = {
    calendar?: Prisma.calendarCreateNestedOneWithoutProjects_calendarInput;
    projects?: Prisma.projectsCreateNestedOneWithoutProjects_calendarInput;
};
export type projects_calendarUncheckedCreateInput = {
    id?: number;
    projects_id?: number | null;
    calendar_id?: number | null;
};
export type projects_calendarUpdateInput = {
    calendar?: Prisma.calendarUpdateOneWithoutProjects_calendarNestedInput;
    projects?: Prisma.projectsUpdateOneWithoutProjects_calendarNestedInput;
};
export type projects_calendarUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    projects_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    calendar_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type projects_calendarCreateManyInput = {
    id?: number;
    projects_id?: number | null;
    calendar_id?: number | null;
};
export type projects_calendarUpdateManyMutationInput = {};
export type projects_calendarUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    projects_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    calendar_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type Projects_calendarListRelationFilter = {
    every?: Prisma.projects_calendarWhereInput;
    some?: Prisma.projects_calendarWhereInput;
    none?: Prisma.projects_calendarWhereInput;
};
export type projects_calendarOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type projects_calendarCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    projects_id?: Prisma.SortOrder;
    calendar_id?: Prisma.SortOrder;
};
export type projects_calendarAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    projects_id?: Prisma.SortOrder;
    calendar_id?: Prisma.SortOrder;
};
export type projects_calendarMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    projects_id?: Prisma.SortOrder;
    calendar_id?: Prisma.SortOrder;
};
export type projects_calendarMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    projects_id?: Prisma.SortOrder;
    calendar_id?: Prisma.SortOrder;
};
export type projects_calendarSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    projects_id?: Prisma.SortOrder;
    calendar_id?: Prisma.SortOrder;
};
export type projects_calendarCreateNestedManyWithoutCalendarInput = {
    create?: Prisma.XOR<Prisma.projects_calendarCreateWithoutCalendarInput, Prisma.projects_calendarUncheckedCreateWithoutCalendarInput> | Prisma.projects_calendarCreateWithoutCalendarInput[] | Prisma.projects_calendarUncheckedCreateWithoutCalendarInput[];
    connectOrCreate?: Prisma.projects_calendarCreateOrConnectWithoutCalendarInput | Prisma.projects_calendarCreateOrConnectWithoutCalendarInput[];
    createMany?: Prisma.projects_calendarCreateManyCalendarInputEnvelope;
    connect?: Prisma.projects_calendarWhereUniqueInput | Prisma.projects_calendarWhereUniqueInput[];
};
export type projects_calendarUncheckedCreateNestedManyWithoutCalendarInput = {
    create?: Prisma.XOR<Prisma.projects_calendarCreateWithoutCalendarInput, Prisma.projects_calendarUncheckedCreateWithoutCalendarInput> | Prisma.projects_calendarCreateWithoutCalendarInput[] | Prisma.projects_calendarUncheckedCreateWithoutCalendarInput[];
    connectOrCreate?: Prisma.projects_calendarCreateOrConnectWithoutCalendarInput | Prisma.projects_calendarCreateOrConnectWithoutCalendarInput[];
    createMany?: Prisma.projects_calendarCreateManyCalendarInputEnvelope;
    connect?: Prisma.projects_calendarWhereUniqueInput | Prisma.projects_calendarWhereUniqueInput[];
};
export type projects_calendarUpdateManyWithoutCalendarNestedInput = {
    create?: Prisma.XOR<Prisma.projects_calendarCreateWithoutCalendarInput, Prisma.projects_calendarUncheckedCreateWithoutCalendarInput> | Prisma.projects_calendarCreateWithoutCalendarInput[] | Prisma.projects_calendarUncheckedCreateWithoutCalendarInput[];
    connectOrCreate?: Prisma.projects_calendarCreateOrConnectWithoutCalendarInput | Prisma.projects_calendarCreateOrConnectWithoutCalendarInput[];
    upsert?: Prisma.projects_calendarUpsertWithWhereUniqueWithoutCalendarInput | Prisma.projects_calendarUpsertWithWhereUniqueWithoutCalendarInput[];
    createMany?: Prisma.projects_calendarCreateManyCalendarInputEnvelope;
    set?: Prisma.projects_calendarWhereUniqueInput | Prisma.projects_calendarWhereUniqueInput[];
    disconnect?: Prisma.projects_calendarWhereUniqueInput | Prisma.projects_calendarWhereUniqueInput[];
    delete?: Prisma.projects_calendarWhereUniqueInput | Prisma.projects_calendarWhereUniqueInput[];
    connect?: Prisma.projects_calendarWhereUniqueInput | Prisma.projects_calendarWhereUniqueInput[];
    update?: Prisma.projects_calendarUpdateWithWhereUniqueWithoutCalendarInput | Prisma.projects_calendarUpdateWithWhereUniqueWithoutCalendarInput[];
    updateMany?: Prisma.projects_calendarUpdateManyWithWhereWithoutCalendarInput | Prisma.projects_calendarUpdateManyWithWhereWithoutCalendarInput[];
    deleteMany?: Prisma.projects_calendarScalarWhereInput | Prisma.projects_calendarScalarWhereInput[];
};
export type projects_calendarUncheckedUpdateManyWithoutCalendarNestedInput = {
    create?: Prisma.XOR<Prisma.projects_calendarCreateWithoutCalendarInput, Prisma.projects_calendarUncheckedCreateWithoutCalendarInput> | Prisma.projects_calendarCreateWithoutCalendarInput[] | Prisma.projects_calendarUncheckedCreateWithoutCalendarInput[];
    connectOrCreate?: Prisma.projects_calendarCreateOrConnectWithoutCalendarInput | Prisma.projects_calendarCreateOrConnectWithoutCalendarInput[];
    upsert?: Prisma.projects_calendarUpsertWithWhereUniqueWithoutCalendarInput | Prisma.projects_calendarUpsertWithWhereUniqueWithoutCalendarInput[];
    createMany?: Prisma.projects_calendarCreateManyCalendarInputEnvelope;
    set?: Prisma.projects_calendarWhereUniqueInput | Prisma.projects_calendarWhereUniqueInput[];
    disconnect?: Prisma.projects_calendarWhereUniqueInput | Prisma.projects_calendarWhereUniqueInput[];
    delete?: Prisma.projects_calendarWhereUniqueInput | Prisma.projects_calendarWhereUniqueInput[];
    connect?: Prisma.projects_calendarWhereUniqueInput | Prisma.projects_calendarWhereUniqueInput[];
    update?: Prisma.projects_calendarUpdateWithWhereUniqueWithoutCalendarInput | Prisma.projects_calendarUpdateWithWhereUniqueWithoutCalendarInput[];
    updateMany?: Prisma.projects_calendarUpdateManyWithWhereWithoutCalendarInput | Prisma.projects_calendarUpdateManyWithWhereWithoutCalendarInput[];
    deleteMany?: Prisma.projects_calendarScalarWhereInput | Prisma.projects_calendarScalarWhereInput[];
};
export type projects_calendarCreateNestedManyWithoutProjectsInput = {
    create?: Prisma.XOR<Prisma.projects_calendarCreateWithoutProjectsInput, Prisma.projects_calendarUncheckedCreateWithoutProjectsInput> | Prisma.projects_calendarCreateWithoutProjectsInput[] | Prisma.projects_calendarUncheckedCreateWithoutProjectsInput[];
    connectOrCreate?: Prisma.projects_calendarCreateOrConnectWithoutProjectsInput | Prisma.projects_calendarCreateOrConnectWithoutProjectsInput[];
    createMany?: Prisma.projects_calendarCreateManyProjectsInputEnvelope;
    connect?: Prisma.projects_calendarWhereUniqueInput | Prisma.projects_calendarWhereUniqueInput[];
};
export type projects_calendarUncheckedCreateNestedManyWithoutProjectsInput = {
    create?: Prisma.XOR<Prisma.projects_calendarCreateWithoutProjectsInput, Prisma.projects_calendarUncheckedCreateWithoutProjectsInput> | Prisma.projects_calendarCreateWithoutProjectsInput[] | Prisma.projects_calendarUncheckedCreateWithoutProjectsInput[];
    connectOrCreate?: Prisma.projects_calendarCreateOrConnectWithoutProjectsInput | Prisma.projects_calendarCreateOrConnectWithoutProjectsInput[];
    createMany?: Prisma.projects_calendarCreateManyProjectsInputEnvelope;
    connect?: Prisma.projects_calendarWhereUniqueInput | Prisma.projects_calendarWhereUniqueInput[];
};
export type projects_calendarUpdateManyWithoutProjectsNestedInput = {
    create?: Prisma.XOR<Prisma.projects_calendarCreateWithoutProjectsInput, Prisma.projects_calendarUncheckedCreateWithoutProjectsInput> | Prisma.projects_calendarCreateWithoutProjectsInput[] | Prisma.projects_calendarUncheckedCreateWithoutProjectsInput[];
    connectOrCreate?: Prisma.projects_calendarCreateOrConnectWithoutProjectsInput | Prisma.projects_calendarCreateOrConnectWithoutProjectsInput[];
    upsert?: Prisma.projects_calendarUpsertWithWhereUniqueWithoutProjectsInput | Prisma.projects_calendarUpsertWithWhereUniqueWithoutProjectsInput[];
    createMany?: Prisma.projects_calendarCreateManyProjectsInputEnvelope;
    set?: Prisma.projects_calendarWhereUniqueInput | Prisma.projects_calendarWhereUniqueInput[];
    disconnect?: Prisma.projects_calendarWhereUniqueInput | Prisma.projects_calendarWhereUniqueInput[];
    delete?: Prisma.projects_calendarWhereUniqueInput | Prisma.projects_calendarWhereUniqueInput[];
    connect?: Prisma.projects_calendarWhereUniqueInput | Prisma.projects_calendarWhereUniqueInput[];
    update?: Prisma.projects_calendarUpdateWithWhereUniqueWithoutProjectsInput | Prisma.projects_calendarUpdateWithWhereUniqueWithoutProjectsInput[];
    updateMany?: Prisma.projects_calendarUpdateManyWithWhereWithoutProjectsInput | Prisma.projects_calendarUpdateManyWithWhereWithoutProjectsInput[];
    deleteMany?: Prisma.projects_calendarScalarWhereInput | Prisma.projects_calendarScalarWhereInput[];
};
export type projects_calendarUncheckedUpdateManyWithoutProjectsNestedInput = {
    create?: Prisma.XOR<Prisma.projects_calendarCreateWithoutProjectsInput, Prisma.projects_calendarUncheckedCreateWithoutProjectsInput> | Prisma.projects_calendarCreateWithoutProjectsInput[] | Prisma.projects_calendarUncheckedCreateWithoutProjectsInput[];
    connectOrCreate?: Prisma.projects_calendarCreateOrConnectWithoutProjectsInput | Prisma.projects_calendarCreateOrConnectWithoutProjectsInput[];
    upsert?: Prisma.projects_calendarUpsertWithWhereUniqueWithoutProjectsInput | Prisma.projects_calendarUpsertWithWhereUniqueWithoutProjectsInput[];
    createMany?: Prisma.projects_calendarCreateManyProjectsInputEnvelope;
    set?: Prisma.projects_calendarWhereUniqueInput | Prisma.projects_calendarWhereUniqueInput[];
    disconnect?: Prisma.projects_calendarWhereUniqueInput | Prisma.projects_calendarWhereUniqueInput[];
    delete?: Prisma.projects_calendarWhereUniqueInput | Prisma.projects_calendarWhereUniqueInput[];
    connect?: Prisma.projects_calendarWhereUniqueInput | Prisma.projects_calendarWhereUniqueInput[];
    update?: Prisma.projects_calendarUpdateWithWhereUniqueWithoutProjectsInput | Prisma.projects_calendarUpdateWithWhereUniqueWithoutProjectsInput[];
    updateMany?: Prisma.projects_calendarUpdateManyWithWhereWithoutProjectsInput | Prisma.projects_calendarUpdateManyWithWhereWithoutProjectsInput[];
    deleteMany?: Prisma.projects_calendarScalarWhereInput | Prisma.projects_calendarScalarWhereInput[];
};
export type projects_calendarCreateWithoutCalendarInput = {
    projects?: Prisma.projectsCreateNestedOneWithoutProjects_calendarInput;
};
export type projects_calendarUncheckedCreateWithoutCalendarInput = {
    id?: number;
    projects_id?: number | null;
};
export type projects_calendarCreateOrConnectWithoutCalendarInput = {
    where: Prisma.projects_calendarWhereUniqueInput;
    create: Prisma.XOR<Prisma.projects_calendarCreateWithoutCalendarInput, Prisma.projects_calendarUncheckedCreateWithoutCalendarInput>;
};
export type projects_calendarCreateManyCalendarInputEnvelope = {
    data: Prisma.projects_calendarCreateManyCalendarInput | Prisma.projects_calendarCreateManyCalendarInput[];
    skipDuplicates?: boolean;
};
export type projects_calendarUpsertWithWhereUniqueWithoutCalendarInput = {
    where: Prisma.projects_calendarWhereUniqueInput;
    update: Prisma.XOR<Prisma.projects_calendarUpdateWithoutCalendarInput, Prisma.projects_calendarUncheckedUpdateWithoutCalendarInput>;
    create: Prisma.XOR<Prisma.projects_calendarCreateWithoutCalendarInput, Prisma.projects_calendarUncheckedCreateWithoutCalendarInput>;
};
export type projects_calendarUpdateWithWhereUniqueWithoutCalendarInput = {
    where: Prisma.projects_calendarWhereUniqueInput;
    data: Prisma.XOR<Prisma.projects_calendarUpdateWithoutCalendarInput, Prisma.projects_calendarUncheckedUpdateWithoutCalendarInput>;
};
export type projects_calendarUpdateManyWithWhereWithoutCalendarInput = {
    where: Prisma.projects_calendarScalarWhereInput;
    data: Prisma.XOR<Prisma.projects_calendarUpdateManyMutationInput, Prisma.projects_calendarUncheckedUpdateManyWithoutCalendarInput>;
};
export type projects_calendarScalarWhereInput = {
    AND?: Prisma.projects_calendarScalarWhereInput | Prisma.projects_calendarScalarWhereInput[];
    OR?: Prisma.projects_calendarScalarWhereInput[];
    NOT?: Prisma.projects_calendarScalarWhereInput | Prisma.projects_calendarScalarWhereInput[];
    id?: Prisma.IntFilter<"projects_calendar"> | number;
    projects_id?: Prisma.IntNullableFilter<"projects_calendar"> | number | null;
    calendar_id?: Prisma.IntNullableFilter<"projects_calendar"> | number | null;
};
export type projects_calendarCreateWithoutProjectsInput = {
    calendar?: Prisma.calendarCreateNestedOneWithoutProjects_calendarInput;
};
export type projects_calendarUncheckedCreateWithoutProjectsInput = {
    id?: number;
    calendar_id?: number | null;
};
export type projects_calendarCreateOrConnectWithoutProjectsInput = {
    where: Prisma.projects_calendarWhereUniqueInput;
    create: Prisma.XOR<Prisma.projects_calendarCreateWithoutProjectsInput, Prisma.projects_calendarUncheckedCreateWithoutProjectsInput>;
};
export type projects_calendarCreateManyProjectsInputEnvelope = {
    data: Prisma.projects_calendarCreateManyProjectsInput | Prisma.projects_calendarCreateManyProjectsInput[];
    skipDuplicates?: boolean;
};
export type projects_calendarUpsertWithWhereUniqueWithoutProjectsInput = {
    where: Prisma.projects_calendarWhereUniqueInput;
    update: Prisma.XOR<Prisma.projects_calendarUpdateWithoutProjectsInput, Prisma.projects_calendarUncheckedUpdateWithoutProjectsInput>;
    create: Prisma.XOR<Prisma.projects_calendarCreateWithoutProjectsInput, Prisma.projects_calendarUncheckedCreateWithoutProjectsInput>;
};
export type projects_calendarUpdateWithWhereUniqueWithoutProjectsInput = {
    where: Prisma.projects_calendarWhereUniqueInput;
    data: Prisma.XOR<Prisma.projects_calendarUpdateWithoutProjectsInput, Prisma.projects_calendarUncheckedUpdateWithoutProjectsInput>;
};
export type projects_calendarUpdateManyWithWhereWithoutProjectsInput = {
    where: Prisma.projects_calendarScalarWhereInput;
    data: Prisma.XOR<Prisma.projects_calendarUpdateManyMutationInput, Prisma.projects_calendarUncheckedUpdateManyWithoutProjectsInput>;
};
export type projects_calendarCreateManyCalendarInput = {
    id?: number;
    projects_id?: number | null;
};
export type projects_calendarUpdateWithoutCalendarInput = {
    projects?: Prisma.projectsUpdateOneWithoutProjects_calendarNestedInput;
};
export type projects_calendarUncheckedUpdateWithoutCalendarInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    projects_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type projects_calendarUncheckedUpdateManyWithoutCalendarInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    projects_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type projects_calendarCreateManyProjectsInput = {
    id?: number;
    calendar_id?: number | null;
};
export type projects_calendarUpdateWithoutProjectsInput = {
    calendar?: Prisma.calendarUpdateOneWithoutProjects_calendarNestedInput;
};
export type projects_calendarUncheckedUpdateWithoutProjectsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    calendar_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type projects_calendarUncheckedUpdateManyWithoutProjectsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    calendar_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type projects_calendarSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    projects_id?: boolean;
    calendar_id?: boolean;
    calendar?: boolean | Prisma.projects_calendar$calendarArgs<ExtArgs>;
    projects?: boolean | Prisma.projects_calendar$projectsArgs<ExtArgs>;
}, ExtArgs["result"]["projects_calendar"]>;
export type projects_calendarSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    projects_id?: boolean;
    calendar_id?: boolean;
    calendar?: boolean | Prisma.projects_calendar$calendarArgs<ExtArgs>;
    projects?: boolean | Prisma.projects_calendar$projectsArgs<ExtArgs>;
}, ExtArgs["result"]["projects_calendar"]>;
export type projects_calendarSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    projects_id?: boolean;
    calendar_id?: boolean;
    calendar?: boolean | Prisma.projects_calendar$calendarArgs<ExtArgs>;
    projects?: boolean | Prisma.projects_calendar$projectsArgs<ExtArgs>;
}, ExtArgs["result"]["projects_calendar"]>;
export type projects_calendarSelectScalar = {
    id?: boolean;
    projects_id?: boolean;
    calendar_id?: boolean;
};
export type projects_calendarOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "projects_id" | "calendar_id", ExtArgs["result"]["projects_calendar"]>;
export type projects_calendarInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    calendar?: boolean | Prisma.projects_calendar$calendarArgs<ExtArgs>;
    projects?: boolean | Prisma.projects_calendar$projectsArgs<ExtArgs>;
};
export type projects_calendarIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    calendar?: boolean | Prisma.projects_calendar$calendarArgs<ExtArgs>;
    projects?: boolean | Prisma.projects_calendar$projectsArgs<ExtArgs>;
};
export type projects_calendarIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    calendar?: boolean | Prisma.projects_calendar$calendarArgs<ExtArgs>;
    projects?: boolean | Prisma.projects_calendar$projectsArgs<ExtArgs>;
};
export type $projects_calendarPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "projects_calendar";
    objects: {
        calendar: Prisma.$calendarPayload<ExtArgs> | null;
        projects: Prisma.$projectsPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        projects_id: number | null;
        calendar_id: number | null;
    }, ExtArgs["result"]["projects_calendar"]>;
    composites: {};
};
export type projects_calendarGetPayload<S extends boolean | null | undefined | projects_calendarDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$projects_calendarPayload, S>;
export type projects_calendarCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<projects_calendarFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Projects_calendarCountAggregateInputType | true;
};
export interface projects_calendarDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['projects_calendar'];
        meta: {
            name: 'projects_calendar';
        };
    };
    /**
     * Find zero or one Projects_calendar that matches the filter.
     * @param {projects_calendarFindUniqueArgs} args - Arguments to find a Projects_calendar
     * @example
     * // Get one Projects_calendar
     * const projects_calendar = await prisma.projects_calendar.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends projects_calendarFindUniqueArgs>(args: Prisma.SelectSubset<T, projects_calendarFindUniqueArgs<ExtArgs>>): Prisma.Prisma__projects_calendarClient<runtime.Types.Result.GetResult<Prisma.$projects_calendarPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Projects_calendar that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {projects_calendarFindUniqueOrThrowArgs} args - Arguments to find a Projects_calendar
     * @example
     * // Get one Projects_calendar
     * const projects_calendar = await prisma.projects_calendar.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends projects_calendarFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, projects_calendarFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__projects_calendarClient<runtime.Types.Result.GetResult<Prisma.$projects_calendarPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Projects_calendar 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 {projects_calendarFindFirstArgs} args - Arguments to find a Projects_calendar
     * @example
     * // Get one Projects_calendar
     * const projects_calendar = await prisma.projects_calendar.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends projects_calendarFindFirstArgs>(args?: Prisma.SelectSubset<T, projects_calendarFindFirstArgs<ExtArgs>>): Prisma.Prisma__projects_calendarClient<runtime.Types.Result.GetResult<Prisma.$projects_calendarPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Projects_calendar 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 {projects_calendarFindFirstOrThrowArgs} args - Arguments to find a Projects_calendar
     * @example
     * // Get one Projects_calendar
     * const projects_calendar = await prisma.projects_calendar.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends projects_calendarFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, projects_calendarFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__projects_calendarClient<runtime.Types.Result.GetResult<Prisma.$projects_calendarPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Projects_calendars 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 {projects_calendarFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Projects_calendars
     * const projects_calendars = await prisma.projects_calendar.findMany()
     *
     * // Get first 10 Projects_calendars
     * const projects_calendars = await prisma.projects_calendar.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const projects_calendarWithIdOnly = await prisma.projects_calendar.findMany({ select: { id: true } })
     *
     */
    findMany<T extends projects_calendarFindManyArgs>(args?: Prisma.SelectSubset<T, projects_calendarFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$projects_calendarPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Projects_calendar.
     * @param {projects_calendarCreateArgs} args - Arguments to create a Projects_calendar.
     * @example
     * // Create one Projects_calendar
     * const Projects_calendar = await prisma.projects_calendar.create({
     *   data: {
     *     // ... data to create a Projects_calendar
     *   }
     * })
     *
     */
    create<T extends projects_calendarCreateArgs>(args: Prisma.SelectSubset<T, projects_calendarCreateArgs<ExtArgs>>): Prisma.Prisma__projects_calendarClient<runtime.Types.Result.GetResult<Prisma.$projects_calendarPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Projects_calendars.
     * @param {projects_calendarCreateManyArgs} args - Arguments to create many Projects_calendars.
     * @example
     * // Create many Projects_calendars
     * const projects_calendar = await prisma.projects_calendar.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends projects_calendarCreateManyArgs>(args?: Prisma.SelectSubset<T, projects_calendarCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Projects_calendars and returns the data saved in the database.
     * @param {projects_calendarCreateManyAndReturnArgs} args - Arguments to create many Projects_calendars.
     * @example
     * // Create many Projects_calendars
     * const projects_calendar = await prisma.projects_calendar.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Projects_calendars and only return the `id`
     * const projects_calendarWithIdOnly = await prisma.projects_calendar.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 projects_calendarCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, projects_calendarCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$projects_calendarPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Projects_calendar.
     * @param {projects_calendarDeleteArgs} args - Arguments to delete one Projects_calendar.
     * @example
     * // Delete one Projects_calendar
     * const Projects_calendar = await prisma.projects_calendar.delete({
     *   where: {
     *     // ... filter to delete one Projects_calendar
     *   }
     * })
     *
     */
    delete<T extends projects_calendarDeleteArgs>(args: Prisma.SelectSubset<T, projects_calendarDeleteArgs<ExtArgs>>): Prisma.Prisma__projects_calendarClient<runtime.Types.Result.GetResult<Prisma.$projects_calendarPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Projects_calendar.
     * @param {projects_calendarUpdateArgs} args - Arguments to update one Projects_calendar.
     * @example
     * // Update one Projects_calendar
     * const projects_calendar = await prisma.projects_calendar.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends projects_calendarUpdateArgs>(args: Prisma.SelectSubset<T, projects_calendarUpdateArgs<ExtArgs>>): Prisma.Prisma__projects_calendarClient<runtime.Types.Result.GetResult<Prisma.$projects_calendarPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Projects_calendars.
     * @param {projects_calendarDeleteManyArgs} args - Arguments to filter Projects_calendars to delete.
     * @example
     * // Delete a few Projects_calendars
     * const { count } = await prisma.projects_calendar.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends projects_calendarDeleteManyArgs>(args?: Prisma.SelectSubset<T, projects_calendarDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Projects_calendars.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {projects_calendarUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Projects_calendars
     * const projects_calendar = await prisma.projects_calendar.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends projects_calendarUpdateManyArgs>(args: Prisma.SelectSubset<T, projects_calendarUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Projects_calendars and returns the data updated in the database.
     * @param {projects_calendarUpdateManyAndReturnArgs} args - Arguments to update many Projects_calendars.
     * @example
     * // Update many Projects_calendars
     * const projects_calendar = await prisma.projects_calendar.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Projects_calendars and only return the `id`
     * const projects_calendarWithIdOnly = await prisma.projects_calendar.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 projects_calendarUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, projects_calendarUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$projects_calendarPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Projects_calendar.
     * @param {projects_calendarUpsertArgs} args - Arguments to update or create a Projects_calendar.
     * @example
     * // Update or create a Projects_calendar
     * const projects_calendar = await prisma.projects_calendar.upsert({
     *   create: {
     *     // ... data to create a Projects_calendar
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Projects_calendar we want to update
     *   }
     * })
     */
    upsert<T extends projects_calendarUpsertArgs>(args: Prisma.SelectSubset<T, projects_calendarUpsertArgs<ExtArgs>>): Prisma.Prisma__projects_calendarClient<runtime.Types.Result.GetResult<Prisma.$projects_calendarPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Projects_calendars.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {projects_calendarCountArgs} args - Arguments to filter Projects_calendars to count.
     * @example
     * // Count the number of Projects_calendars
     * const count = await prisma.projects_calendar.count({
     *   where: {
     *     // ... the filter for the Projects_calendars we want to count
     *   }
     * })
    **/
    count<T extends projects_calendarCountArgs>(args?: Prisma.Subset<T, projects_calendarCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Projects_calendarCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Projects_calendar.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Projects_calendarAggregateArgs} 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 Projects_calendarAggregateArgs>(args: Prisma.Subset<T, Projects_calendarAggregateArgs>): Prisma.PrismaPromise<GetProjects_calendarAggregateType<T>>;
    /**
     * Group by Projects_calendar.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {projects_calendarGroupByArgs} 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 projects_calendarGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: projects_calendarGroupByArgs['orderBy'];
    } : {
        orderBy?: projects_calendarGroupByArgs['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, projects_calendarGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProjects_calendarGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the projects_calendar model
     */
    readonly fields: projects_calendarFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for projects_calendar.
 * 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__projects_calendarClient<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.projects_calendar$calendarArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.projects_calendar$calendarArgs<ExtArgs>>): Prisma.Prisma__calendarClient<runtime.Types.Result.GetResult<Prisma.$calendarPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    projects<T extends Prisma.projects_calendar$projectsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.projects_calendar$projectsArgs<ExtArgs>>): Prisma.Prisma__projectsClient<runtime.Types.Result.GetResult<Prisma.$projectsPayload<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 projects_calendar model
 */
export interface projects_calendarFieldRefs {
    readonly id: Prisma.FieldRef<"projects_calendar", 'Int'>;
    readonly projects_id: Prisma.FieldRef<"projects_calendar", 'Int'>;
    readonly calendar_id: Prisma.FieldRef<"projects_calendar", 'Int'>;
}
/**
 * projects_calendar findUnique
 */
export type projects_calendarFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the projects_calendar
     */
    select?: Prisma.projects_calendarSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the projects_calendar
     */
    omit?: Prisma.projects_calendarOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.projects_calendarInclude<ExtArgs> | null;
    /**
     * Filter, which projects_calendar to fetch.
     */
    where: Prisma.projects_calendarWhereUniqueInput;
};
/**
 * projects_calendar findUniqueOrThrow
 */
export type projects_calendarFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the projects_calendar
     */
    select?: Prisma.projects_calendarSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the projects_calendar
     */
    omit?: Prisma.projects_calendarOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.projects_calendarInclude<ExtArgs> | null;
    /**
     * Filter, which projects_calendar to fetch.
     */
    where: Prisma.projects_calendarWhereUniqueInput;
};
/**
 * projects_calendar findFirst
 */
export type projects_calendarFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the projects_calendar
     */
    select?: Prisma.projects_calendarSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the projects_calendar
     */
    omit?: Prisma.projects_calendarOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.projects_calendarInclude<ExtArgs> | null;
    /**
     * Filter, which projects_calendar to fetch.
     */
    where?: Prisma.projects_calendarWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of projects_calendars to fetch.
     */
    orderBy?: Prisma.projects_calendarOrderByWithRelationInput | Prisma.projects_calendarOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for projects_calendars.
     */
    cursor?: Prisma.projects_calendarWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` projects_calendars 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` projects_calendars.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of projects_calendars.
     */
    distinct?: Prisma.Projects_calendarScalarFieldEnum | Prisma.Projects_calendarScalarFieldEnum[];
};
/**
 * projects_calendar findFirstOrThrow
 */
export type projects_calendarFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the projects_calendar
     */
    select?: Prisma.projects_calendarSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the projects_calendar
     */
    omit?: Prisma.projects_calendarOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.projects_calendarInclude<ExtArgs> | null;
    /**
     * Filter, which projects_calendar to fetch.
     */
    where?: Prisma.projects_calendarWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of projects_calendars to fetch.
     */
    orderBy?: Prisma.projects_calendarOrderByWithRelationInput | Prisma.projects_calendarOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for projects_calendars.
     */
    cursor?: Prisma.projects_calendarWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` projects_calendars 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` projects_calendars.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of projects_calendars.
     */
    distinct?: Prisma.Projects_calendarScalarFieldEnum | Prisma.Projects_calendarScalarFieldEnum[];
};
/**
 * projects_calendar findMany
 */
export type projects_calendarFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the projects_calendar
     */
    select?: Prisma.projects_calendarSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the projects_calendar
     */
    omit?: Prisma.projects_calendarOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.projects_calendarInclude<ExtArgs> | null;
    /**
     * Filter, which projects_calendars to fetch.
     */
    where?: Prisma.projects_calendarWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of projects_calendars to fetch.
     */
    orderBy?: Prisma.projects_calendarOrderByWithRelationInput | Prisma.projects_calendarOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing projects_calendars.
     */
    cursor?: Prisma.projects_calendarWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` projects_calendars 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` projects_calendars.
     */
    skip?: number;
    distinct?: Prisma.Projects_calendarScalarFieldEnum | Prisma.Projects_calendarScalarFieldEnum[];
};
/**
 * projects_calendar create
 */
export type projects_calendarCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the projects_calendar
     */
    select?: Prisma.projects_calendarSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the projects_calendar
     */
    omit?: Prisma.projects_calendarOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.projects_calendarInclude<ExtArgs> | null;
    /**
     * The data needed to create a projects_calendar.
     */
    data?: Prisma.XOR<Prisma.projects_calendarCreateInput, Prisma.projects_calendarUncheckedCreateInput>;
};
/**
 * projects_calendar createMany
 */
export type projects_calendarCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many projects_calendars.
     */
    data: Prisma.projects_calendarCreateManyInput | Prisma.projects_calendarCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * projects_calendar createManyAndReturn
 */
export type projects_calendarCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the projects_calendar
     */
    select?: Prisma.projects_calendarSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the projects_calendar
     */
    omit?: Prisma.projects_calendarOmit<ExtArgs> | null;
    /**
     * The data used to create many projects_calendars.
     */
    data: Prisma.projects_calendarCreateManyInput | Prisma.projects_calendarCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.projects_calendarIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * projects_calendar update
 */
export type projects_calendarUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the projects_calendar
     */
    select?: Prisma.projects_calendarSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the projects_calendar
     */
    omit?: Prisma.projects_calendarOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.projects_calendarInclude<ExtArgs> | null;
    /**
     * The data needed to update a projects_calendar.
     */
    data: Prisma.XOR<Prisma.projects_calendarUpdateInput, Prisma.projects_calendarUncheckedUpdateInput>;
    /**
     * Choose, which projects_calendar to update.
     */
    where: Prisma.projects_calendarWhereUniqueInput;
};
/**
 * projects_calendar updateMany
 */
export type projects_calendarUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update projects_calendars.
     */
    data: Prisma.XOR<Prisma.projects_calendarUpdateManyMutationInput, Prisma.projects_calendarUncheckedUpdateManyInput>;
    /**
     * Filter which projects_calendars to update
     */
    where?: Prisma.projects_calendarWhereInput;
    /**
     * Limit how many projects_calendars to update.
     */
    limit?: number;
};
/**
 * projects_calendar updateManyAndReturn
 */
export type projects_calendarUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the projects_calendar
     */
    select?: Prisma.projects_calendarSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the projects_calendar
     */
    omit?: Prisma.projects_calendarOmit<ExtArgs> | null;
    /**
     * The data used to update projects_calendars.
     */
    data: Prisma.XOR<Prisma.projects_calendarUpdateManyMutationInput, Prisma.projects_calendarUncheckedUpdateManyInput>;
    /**
     * Filter which projects_calendars to update
     */
    where?: Prisma.projects_calendarWhereInput;
    /**
     * Limit how many projects_calendars to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.projects_calendarIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * projects_calendar upsert
 */
export type projects_calendarUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the projects_calendar
     */
    select?: Prisma.projects_calendarSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the projects_calendar
     */
    omit?: Prisma.projects_calendarOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.projects_calendarInclude<ExtArgs> | null;
    /**
     * The filter to search for the projects_calendar to update in case it exists.
     */
    where: Prisma.projects_calendarWhereUniqueInput;
    /**
     * In case the projects_calendar found by the `where` argument doesn't exist, create a new projects_calendar with this data.
     */
    create: Prisma.XOR<Prisma.projects_calendarCreateInput, Prisma.projects_calendarUncheckedCreateInput>;
    /**
     * In case the projects_calendar was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.projects_calendarUpdateInput, Prisma.projects_calendarUncheckedUpdateInput>;
};
/**
 * projects_calendar delete
 */
export type projects_calendarDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the projects_calendar
     */
    select?: Prisma.projects_calendarSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the projects_calendar
     */
    omit?: Prisma.projects_calendarOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.projects_calendarInclude<ExtArgs> | null;
    /**
     * Filter which projects_calendar to delete.
     */
    where: Prisma.projects_calendarWhereUniqueInput;
};
/**
 * projects_calendar deleteMany
 */
export type projects_calendarDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which projects_calendars to delete
     */
    where?: Prisma.projects_calendarWhereInput;
    /**
     * Limit how many projects_calendars to delete.
     */
    limit?: number;
};
/**
 * projects_calendar.calendar
 */
export type projects_calendar$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;
};
/**
 * projects_calendar.projects
 */
export type projects_calendar$projectsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the projects
     */
    select?: Prisma.projectsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the projects
     */
    omit?: Prisma.projectsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.projectsInclude<ExtArgs> | null;
    where?: Prisma.projectsWhereInput;
};
/**
 * projects_calendar without action
 */
export type projects_calendarDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the projects_calendar
     */
    select?: Prisma.projects_calendarSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the projects_calendar
     */
    omit?: Prisma.projects_calendarOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.projects_calendarInclude<ExtArgs> | null;
};
export {};
