import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model site_preference_departments
 * 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 site_preference_departmentsModel = runtime.Types.Result.DefaultSelection<Prisma.$site_preference_departmentsPayload>;
export type AggregateSite_preference_departments = {
    _count: Site_preference_departmentsCountAggregateOutputType | null;
    _avg: Site_preference_departmentsAvgAggregateOutputType | null;
    _sum: Site_preference_departmentsSumAggregateOutputType | null;
    _min: Site_preference_departmentsMinAggregateOutputType | null;
    _max: Site_preference_departmentsMaxAggregateOutputType | null;
};
export type Site_preference_departmentsAvgAggregateOutputType = {
    id: number | null;
    departments_id: number | null;
};
export type Site_preference_departmentsSumAggregateOutputType = {
    id: number | null;
    departments_id: number | null;
};
export type Site_preference_departmentsMinAggregateOutputType = {
    id: number | null;
    departments_id: number | null;
};
export type Site_preference_departmentsMaxAggregateOutputType = {
    id: number | null;
    departments_id: number | null;
};
export type Site_preference_departmentsCountAggregateOutputType = {
    id: number;
    departments_id: number;
    _all: number;
};
export type Site_preference_departmentsAvgAggregateInputType = {
    id?: true;
    departments_id?: true;
};
export type Site_preference_departmentsSumAggregateInputType = {
    id?: true;
    departments_id?: true;
};
export type Site_preference_departmentsMinAggregateInputType = {
    id?: true;
    departments_id?: true;
};
export type Site_preference_departmentsMaxAggregateInputType = {
    id?: true;
    departments_id?: true;
};
export type Site_preference_departmentsCountAggregateInputType = {
    id?: true;
    departments_id?: true;
    _all?: true;
};
export type Site_preference_departmentsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which site_preference_departments to aggregate.
     */
    where?: Prisma.site_preference_departmentsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of site_preference_departments to fetch.
     */
    orderBy?: Prisma.site_preference_departmentsOrderByWithRelationInput | Prisma.site_preference_departmentsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.site_preference_departmentsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` site_preference_departments 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` site_preference_departments.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned site_preference_departments
    **/
    _count?: true | Site_preference_departmentsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Site_preference_departmentsAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Site_preference_departmentsSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Site_preference_departmentsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Site_preference_departmentsMaxAggregateInputType;
};
export type GetSite_preference_departmentsAggregateType<T extends Site_preference_departmentsAggregateArgs> = {
    [P in keyof T & keyof AggregateSite_preference_departments]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateSite_preference_departments[P]> : Prisma.GetScalarType<T[P], AggregateSite_preference_departments[P]>;
};
export type site_preference_departmentsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.site_preference_departmentsWhereInput;
    orderBy?: Prisma.site_preference_departmentsOrderByWithAggregationInput | Prisma.site_preference_departmentsOrderByWithAggregationInput[];
    by: Prisma.Site_preference_departmentsScalarFieldEnum[] | Prisma.Site_preference_departmentsScalarFieldEnum;
    having?: Prisma.site_preference_departmentsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Site_preference_departmentsCountAggregateInputType | true;
    _avg?: Site_preference_departmentsAvgAggregateInputType;
    _sum?: Site_preference_departmentsSumAggregateInputType;
    _min?: Site_preference_departmentsMinAggregateInputType;
    _max?: Site_preference_departmentsMaxAggregateInputType;
};
export type Site_preference_departmentsGroupByOutputType = {
    id: number;
    departments_id: number | null;
    _count: Site_preference_departmentsCountAggregateOutputType | null;
    _avg: Site_preference_departmentsAvgAggregateOutputType | null;
    _sum: Site_preference_departmentsSumAggregateOutputType | null;
    _min: Site_preference_departmentsMinAggregateOutputType | null;
    _max: Site_preference_departmentsMaxAggregateOutputType | null;
};
type GetSite_preference_departmentsGroupByPayload<T extends site_preference_departmentsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Site_preference_departmentsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Site_preference_departmentsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Site_preference_departmentsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Site_preference_departmentsGroupByOutputType[P]>;
}>>;
export type site_preference_departmentsWhereInput = {
    AND?: Prisma.site_preference_departmentsWhereInput | Prisma.site_preference_departmentsWhereInput[];
    OR?: Prisma.site_preference_departmentsWhereInput[];
    NOT?: Prisma.site_preference_departmentsWhereInput | Prisma.site_preference_departmentsWhereInput[];
    id?: Prisma.IntFilter<"site_preference_departments"> | number;
    departments_id?: Prisma.IntNullableFilter<"site_preference_departments"> | number | null;
    departments?: Prisma.XOR<Prisma.DepartmentsNullableScalarRelationFilter, Prisma.departmentsWhereInput> | null;
};
export type site_preference_departmentsOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    departments_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    departments?: Prisma.departmentsOrderByWithRelationInput;
};
export type site_preference_departmentsWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.site_preference_departmentsWhereInput | Prisma.site_preference_departmentsWhereInput[];
    OR?: Prisma.site_preference_departmentsWhereInput[];
    NOT?: Prisma.site_preference_departmentsWhereInput | Prisma.site_preference_departmentsWhereInput[];
    departments_id?: Prisma.IntNullableFilter<"site_preference_departments"> | number | null;
    departments?: Prisma.XOR<Prisma.DepartmentsNullableScalarRelationFilter, Prisma.departmentsWhereInput> | null;
}, "id">;
export type site_preference_departmentsOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    departments_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.site_preference_departmentsCountOrderByAggregateInput;
    _avg?: Prisma.site_preference_departmentsAvgOrderByAggregateInput;
    _max?: Prisma.site_preference_departmentsMaxOrderByAggregateInput;
    _min?: Prisma.site_preference_departmentsMinOrderByAggregateInput;
    _sum?: Prisma.site_preference_departmentsSumOrderByAggregateInput;
};
export type site_preference_departmentsScalarWhereWithAggregatesInput = {
    AND?: Prisma.site_preference_departmentsScalarWhereWithAggregatesInput | Prisma.site_preference_departmentsScalarWhereWithAggregatesInput[];
    OR?: Prisma.site_preference_departmentsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.site_preference_departmentsScalarWhereWithAggregatesInput | Prisma.site_preference_departmentsScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"site_preference_departments"> | number;
    departments_id?: Prisma.IntNullableWithAggregatesFilter<"site_preference_departments"> | number | null;
};
export type site_preference_departmentsCreateInput = {
    departments?: Prisma.departmentsCreateNestedOneWithoutSite_preference_departmentsInput;
};
export type site_preference_departmentsUncheckedCreateInput = {
    id?: number;
    departments_id?: number | null;
};
export type site_preference_departmentsUpdateInput = {
    departments?: Prisma.departmentsUpdateOneWithoutSite_preference_departmentsNestedInput;
};
export type site_preference_departmentsUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    departments_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type site_preference_departmentsCreateManyInput = {
    id?: number;
    departments_id?: number | null;
};
export type site_preference_departmentsUpdateManyMutationInput = {};
export type site_preference_departmentsUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    departments_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type Site_preference_departmentsListRelationFilter = {
    every?: Prisma.site_preference_departmentsWhereInput;
    some?: Prisma.site_preference_departmentsWhereInput;
    none?: Prisma.site_preference_departmentsWhereInput;
};
export type site_preference_departmentsOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type site_preference_departmentsCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    departments_id?: Prisma.SortOrder;
};
export type site_preference_departmentsAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    departments_id?: Prisma.SortOrder;
};
export type site_preference_departmentsMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    departments_id?: Prisma.SortOrder;
};
export type site_preference_departmentsMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    departments_id?: Prisma.SortOrder;
};
export type site_preference_departmentsSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    departments_id?: Prisma.SortOrder;
};
export type site_preference_departmentsCreateNestedManyWithoutDepartmentsInput = {
    create?: Prisma.XOR<Prisma.site_preference_departmentsCreateWithoutDepartmentsInput, Prisma.site_preference_departmentsUncheckedCreateWithoutDepartmentsInput> | Prisma.site_preference_departmentsCreateWithoutDepartmentsInput[] | Prisma.site_preference_departmentsUncheckedCreateWithoutDepartmentsInput[];
    connectOrCreate?: Prisma.site_preference_departmentsCreateOrConnectWithoutDepartmentsInput | Prisma.site_preference_departmentsCreateOrConnectWithoutDepartmentsInput[];
    createMany?: Prisma.site_preference_departmentsCreateManyDepartmentsInputEnvelope;
    connect?: Prisma.site_preference_departmentsWhereUniqueInput | Prisma.site_preference_departmentsWhereUniqueInput[];
};
export type site_preference_departmentsUncheckedCreateNestedManyWithoutDepartmentsInput = {
    create?: Prisma.XOR<Prisma.site_preference_departmentsCreateWithoutDepartmentsInput, Prisma.site_preference_departmentsUncheckedCreateWithoutDepartmentsInput> | Prisma.site_preference_departmentsCreateWithoutDepartmentsInput[] | Prisma.site_preference_departmentsUncheckedCreateWithoutDepartmentsInput[];
    connectOrCreate?: Prisma.site_preference_departmentsCreateOrConnectWithoutDepartmentsInput | Prisma.site_preference_departmentsCreateOrConnectWithoutDepartmentsInput[];
    createMany?: Prisma.site_preference_departmentsCreateManyDepartmentsInputEnvelope;
    connect?: Prisma.site_preference_departmentsWhereUniqueInput | Prisma.site_preference_departmentsWhereUniqueInput[];
};
export type site_preference_departmentsUpdateManyWithoutDepartmentsNestedInput = {
    create?: Prisma.XOR<Prisma.site_preference_departmentsCreateWithoutDepartmentsInput, Prisma.site_preference_departmentsUncheckedCreateWithoutDepartmentsInput> | Prisma.site_preference_departmentsCreateWithoutDepartmentsInput[] | Prisma.site_preference_departmentsUncheckedCreateWithoutDepartmentsInput[];
    connectOrCreate?: Prisma.site_preference_departmentsCreateOrConnectWithoutDepartmentsInput | Prisma.site_preference_departmentsCreateOrConnectWithoutDepartmentsInput[];
    upsert?: Prisma.site_preference_departmentsUpsertWithWhereUniqueWithoutDepartmentsInput | Prisma.site_preference_departmentsUpsertWithWhereUniqueWithoutDepartmentsInput[];
    createMany?: Prisma.site_preference_departmentsCreateManyDepartmentsInputEnvelope;
    set?: Prisma.site_preference_departmentsWhereUniqueInput | Prisma.site_preference_departmentsWhereUniqueInput[];
    disconnect?: Prisma.site_preference_departmentsWhereUniqueInput | Prisma.site_preference_departmentsWhereUniqueInput[];
    delete?: Prisma.site_preference_departmentsWhereUniqueInput | Prisma.site_preference_departmentsWhereUniqueInput[];
    connect?: Prisma.site_preference_departmentsWhereUniqueInput | Prisma.site_preference_departmentsWhereUniqueInput[];
    update?: Prisma.site_preference_departmentsUpdateWithWhereUniqueWithoutDepartmentsInput | Prisma.site_preference_departmentsUpdateWithWhereUniqueWithoutDepartmentsInput[];
    updateMany?: Prisma.site_preference_departmentsUpdateManyWithWhereWithoutDepartmentsInput | Prisma.site_preference_departmentsUpdateManyWithWhereWithoutDepartmentsInput[];
    deleteMany?: Prisma.site_preference_departmentsScalarWhereInput | Prisma.site_preference_departmentsScalarWhereInput[];
};
export type site_preference_departmentsUncheckedUpdateManyWithoutDepartmentsNestedInput = {
    create?: Prisma.XOR<Prisma.site_preference_departmentsCreateWithoutDepartmentsInput, Prisma.site_preference_departmentsUncheckedCreateWithoutDepartmentsInput> | Prisma.site_preference_departmentsCreateWithoutDepartmentsInput[] | Prisma.site_preference_departmentsUncheckedCreateWithoutDepartmentsInput[];
    connectOrCreate?: Prisma.site_preference_departmentsCreateOrConnectWithoutDepartmentsInput | Prisma.site_preference_departmentsCreateOrConnectWithoutDepartmentsInput[];
    upsert?: Prisma.site_preference_departmentsUpsertWithWhereUniqueWithoutDepartmentsInput | Prisma.site_preference_departmentsUpsertWithWhereUniqueWithoutDepartmentsInput[];
    createMany?: Prisma.site_preference_departmentsCreateManyDepartmentsInputEnvelope;
    set?: Prisma.site_preference_departmentsWhereUniqueInput | Prisma.site_preference_departmentsWhereUniqueInput[];
    disconnect?: Prisma.site_preference_departmentsWhereUniqueInput | Prisma.site_preference_departmentsWhereUniqueInput[];
    delete?: Prisma.site_preference_departmentsWhereUniqueInput | Prisma.site_preference_departmentsWhereUniqueInput[];
    connect?: Prisma.site_preference_departmentsWhereUniqueInput | Prisma.site_preference_departmentsWhereUniqueInput[];
    update?: Prisma.site_preference_departmentsUpdateWithWhereUniqueWithoutDepartmentsInput | Prisma.site_preference_departmentsUpdateWithWhereUniqueWithoutDepartmentsInput[];
    updateMany?: Prisma.site_preference_departmentsUpdateManyWithWhereWithoutDepartmentsInput | Prisma.site_preference_departmentsUpdateManyWithWhereWithoutDepartmentsInput[];
    deleteMany?: Prisma.site_preference_departmentsScalarWhereInput | Prisma.site_preference_departmentsScalarWhereInput[];
};
export type site_preference_departmentsCreateWithoutDepartmentsInput = {};
export type site_preference_departmentsUncheckedCreateWithoutDepartmentsInput = {
    id?: number;
};
export type site_preference_departmentsCreateOrConnectWithoutDepartmentsInput = {
    where: Prisma.site_preference_departmentsWhereUniqueInput;
    create: Prisma.XOR<Prisma.site_preference_departmentsCreateWithoutDepartmentsInput, Prisma.site_preference_departmentsUncheckedCreateWithoutDepartmentsInput>;
};
export type site_preference_departmentsCreateManyDepartmentsInputEnvelope = {
    data: Prisma.site_preference_departmentsCreateManyDepartmentsInput | Prisma.site_preference_departmentsCreateManyDepartmentsInput[];
    skipDuplicates?: boolean;
};
export type site_preference_departmentsUpsertWithWhereUniqueWithoutDepartmentsInput = {
    where: Prisma.site_preference_departmentsWhereUniqueInput;
    update: Prisma.XOR<Prisma.site_preference_departmentsUpdateWithoutDepartmentsInput, Prisma.site_preference_departmentsUncheckedUpdateWithoutDepartmentsInput>;
    create: Prisma.XOR<Prisma.site_preference_departmentsCreateWithoutDepartmentsInput, Prisma.site_preference_departmentsUncheckedCreateWithoutDepartmentsInput>;
};
export type site_preference_departmentsUpdateWithWhereUniqueWithoutDepartmentsInput = {
    where: Prisma.site_preference_departmentsWhereUniqueInput;
    data: Prisma.XOR<Prisma.site_preference_departmentsUpdateWithoutDepartmentsInput, Prisma.site_preference_departmentsUncheckedUpdateWithoutDepartmentsInput>;
};
export type site_preference_departmentsUpdateManyWithWhereWithoutDepartmentsInput = {
    where: Prisma.site_preference_departmentsScalarWhereInput;
    data: Prisma.XOR<Prisma.site_preference_departmentsUpdateManyMutationInput, Prisma.site_preference_departmentsUncheckedUpdateManyWithoutDepartmentsInput>;
};
export type site_preference_departmentsScalarWhereInput = {
    AND?: Prisma.site_preference_departmentsScalarWhereInput | Prisma.site_preference_departmentsScalarWhereInput[];
    OR?: Prisma.site_preference_departmentsScalarWhereInput[];
    NOT?: Prisma.site_preference_departmentsScalarWhereInput | Prisma.site_preference_departmentsScalarWhereInput[];
    id?: Prisma.IntFilter<"site_preference_departments"> | number;
    departments_id?: Prisma.IntNullableFilter<"site_preference_departments"> | number | null;
};
export type site_preference_departmentsCreateManyDepartmentsInput = {
    id?: number;
};
export type site_preference_departmentsUpdateWithoutDepartmentsInput = {};
export type site_preference_departmentsUncheckedUpdateWithoutDepartmentsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
};
export type site_preference_departmentsUncheckedUpdateManyWithoutDepartmentsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
};
export type site_preference_departmentsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    departments_id?: boolean;
    departments?: boolean | Prisma.site_preference_departments$departmentsArgs<ExtArgs>;
}, ExtArgs["result"]["site_preference_departments"]>;
export type site_preference_departmentsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    departments_id?: boolean;
    departments?: boolean | Prisma.site_preference_departments$departmentsArgs<ExtArgs>;
}, ExtArgs["result"]["site_preference_departments"]>;
export type site_preference_departmentsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    departments_id?: boolean;
    departments?: boolean | Prisma.site_preference_departments$departmentsArgs<ExtArgs>;
}, ExtArgs["result"]["site_preference_departments"]>;
export type site_preference_departmentsSelectScalar = {
    id?: boolean;
    departments_id?: boolean;
};
export type site_preference_departmentsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "departments_id", ExtArgs["result"]["site_preference_departments"]>;
export type site_preference_departmentsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    departments?: boolean | Prisma.site_preference_departments$departmentsArgs<ExtArgs>;
};
export type site_preference_departmentsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    departments?: boolean | Prisma.site_preference_departments$departmentsArgs<ExtArgs>;
};
export type site_preference_departmentsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    departments?: boolean | Prisma.site_preference_departments$departmentsArgs<ExtArgs>;
};
export type $site_preference_departmentsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "site_preference_departments";
    objects: {
        departments: Prisma.$departmentsPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        departments_id: number | null;
    }, ExtArgs["result"]["site_preference_departments"]>;
    composites: {};
};
export type site_preference_departmentsGetPayload<S extends boolean | null | undefined | site_preference_departmentsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$site_preference_departmentsPayload, S>;
export type site_preference_departmentsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<site_preference_departmentsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Site_preference_departmentsCountAggregateInputType | true;
};
export interface site_preference_departmentsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['site_preference_departments'];
        meta: {
            name: 'site_preference_departments';
        };
    };
    /**
     * Find zero or one Site_preference_departments that matches the filter.
     * @param {site_preference_departmentsFindUniqueArgs} args - Arguments to find a Site_preference_departments
     * @example
     * // Get one Site_preference_departments
     * const site_preference_departments = await prisma.site_preference_departments.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends site_preference_departmentsFindUniqueArgs>(args: Prisma.SelectSubset<T, site_preference_departmentsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__site_preference_departmentsClient<runtime.Types.Result.GetResult<Prisma.$site_preference_departmentsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Site_preference_departments that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {site_preference_departmentsFindUniqueOrThrowArgs} args - Arguments to find a Site_preference_departments
     * @example
     * // Get one Site_preference_departments
     * const site_preference_departments = await prisma.site_preference_departments.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends site_preference_departmentsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, site_preference_departmentsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__site_preference_departmentsClient<runtime.Types.Result.GetResult<Prisma.$site_preference_departmentsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Site_preference_departments 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 {site_preference_departmentsFindFirstArgs} args - Arguments to find a Site_preference_departments
     * @example
     * // Get one Site_preference_departments
     * const site_preference_departments = await prisma.site_preference_departments.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends site_preference_departmentsFindFirstArgs>(args?: Prisma.SelectSubset<T, site_preference_departmentsFindFirstArgs<ExtArgs>>): Prisma.Prisma__site_preference_departmentsClient<runtime.Types.Result.GetResult<Prisma.$site_preference_departmentsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Site_preference_departments 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 {site_preference_departmentsFindFirstOrThrowArgs} args - Arguments to find a Site_preference_departments
     * @example
     * // Get one Site_preference_departments
     * const site_preference_departments = await prisma.site_preference_departments.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends site_preference_departmentsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, site_preference_departmentsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__site_preference_departmentsClient<runtime.Types.Result.GetResult<Prisma.$site_preference_departmentsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Site_preference_departments 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 {site_preference_departmentsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Site_preference_departments
     * const site_preference_departments = await prisma.site_preference_departments.findMany()
     *
     * // Get first 10 Site_preference_departments
     * const site_preference_departments = await prisma.site_preference_departments.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const site_preference_departmentsWithIdOnly = await prisma.site_preference_departments.findMany({ select: { id: true } })
     *
     */
    findMany<T extends site_preference_departmentsFindManyArgs>(args?: Prisma.SelectSubset<T, site_preference_departmentsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$site_preference_departmentsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Site_preference_departments.
     * @param {site_preference_departmentsCreateArgs} args - Arguments to create a Site_preference_departments.
     * @example
     * // Create one Site_preference_departments
     * const Site_preference_departments = await prisma.site_preference_departments.create({
     *   data: {
     *     // ... data to create a Site_preference_departments
     *   }
     * })
     *
     */
    create<T extends site_preference_departmentsCreateArgs>(args: Prisma.SelectSubset<T, site_preference_departmentsCreateArgs<ExtArgs>>): Prisma.Prisma__site_preference_departmentsClient<runtime.Types.Result.GetResult<Prisma.$site_preference_departmentsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Site_preference_departments.
     * @param {site_preference_departmentsCreateManyArgs} args - Arguments to create many Site_preference_departments.
     * @example
     * // Create many Site_preference_departments
     * const site_preference_departments = await prisma.site_preference_departments.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends site_preference_departmentsCreateManyArgs>(args?: Prisma.SelectSubset<T, site_preference_departmentsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Site_preference_departments and returns the data saved in the database.
     * @param {site_preference_departmentsCreateManyAndReturnArgs} args - Arguments to create many Site_preference_departments.
     * @example
     * // Create many Site_preference_departments
     * const site_preference_departments = await prisma.site_preference_departments.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Site_preference_departments and only return the `id`
     * const site_preference_departmentsWithIdOnly = await prisma.site_preference_departments.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 site_preference_departmentsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, site_preference_departmentsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$site_preference_departmentsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Site_preference_departments.
     * @param {site_preference_departmentsDeleteArgs} args - Arguments to delete one Site_preference_departments.
     * @example
     * // Delete one Site_preference_departments
     * const Site_preference_departments = await prisma.site_preference_departments.delete({
     *   where: {
     *     // ... filter to delete one Site_preference_departments
     *   }
     * })
     *
     */
    delete<T extends site_preference_departmentsDeleteArgs>(args: Prisma.SelectSubset<T, site_preference_departmentsDeleteArgs<ExtArgs>>): Prisma.Prisma__site_preference_departmentsClient<runtime.Types.Result.GetResult<Prisma.$site_preference_departmentsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Site_preference_departments.
     * @param {site_preference_departmentsUpdateArgs} args - Arguments to update one Site_preference_departments.
     * @example
     * // Update one Site_preference_departments
     * const site_preference_departments = await prisma.site_preference_departments.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends site_preference_departmentsUpdateArgs>(args: Prisma.SelectSubset<T, site_preference_departmentsUpdateArgs<ExtArgs>>): Prisma.Prisma__site_preference_departmentsClient<runtime.Types.Result.GetResult<Prisma.$site_preference_departmentsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Site_preference_departments.
     * @param {site_preference_departmentsDeleteManyArgs} args - Arguments to filter Site_preference_departments to delete.
     * @example
     * // Delete a few Site_preference_departments
     * const { count } = await prisma.site_preference_departments.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends site_preference_departmentsDeleteManyArgs>(args?: Prisma.SelectSubset<T, site_preference_departmentsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Site_preference_departments.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {site_preference_departmentsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Site_preference_departments
     * const site_preference_departments = await prisma.site_preference_departments.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends site_preference_departmentsUpdateManyArgs>(args: Prisma.SelectSubset<T, site_preference_departmentsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Site_preference_departments and returns the data updated in the database.
     * @param {site_preference_departmentsUpdateManyAndReturnArgs} args - Arguments to update many Site_preference_departments.
     * @example
     * // Update many Site_preference_departments
     * const site_preference_departments = await prisma.site_preference_departments.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Site_preference_departments and only return the `id`
     * const site_preference_departmentsWithIdOnly = await prisma.site_preference_departments.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 site_preference_departmentsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, site_preference_departmentsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$site_preference_departmentsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Site_preference_departments.
     * @param {site_preference_departmentsUpsertArgs} args - Arguments to update or create a Site_preference_departments.
     * @example
     * // Update or create a Site_preference_departments
     * const site_preference_departments = await prisma.site_preference_departments.upsert({
     *   create: {
     *     // ... data to create a Site_preference_departments
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Site_preference_departments we want to update
     *   }
     * })
     */
    upsert<T extends site_preference_departmentsUpsertArgs>(args: Prisma.SelectSubset<T, site_preference_departmentsUpsertArgs<ExtArgs>>): Prisma.Prisma__site_preference_departmentsClient<runtime.Types.Result.GetResult<Prisma.$site_preference_departmentsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Site_preference_departments.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {site_preference_departmentsCountArgs} args - Arguments to filter Site_preference_departments to count.
     * @example
     * // Count the number of Site_preference_departments
     * const count = await prisma.site_preference_departments.count({
     *   where: {
     *     // ... the filter for the Site_preference_departments we want to count
     *   }
     * })
    **/
    count<T extends site_preference_departmentsCountArgs>(args?: Prisma.Subset<T, site_preference_departmentsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Site_preference_departmentsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Site_preference_departments.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Site_preference_departmentsAggregateArgs} 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 Site_preference_departmentsAggregateArgs>(args: Prisma.Subset<T, Site_preference_departmentsAggregateArgs>): Prisma.PrismaPromise<GetSite_preference_departmentsAggregateType<T>>;
    /**
     * Group by Site_preference_departments.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {site_preference_departmentsGroupByArgs} 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 site_preference_departmentsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: site_preference_departmentsGroupByArgs['orderBy'];
    } : {
        orderBy?: site_preference_departmentsGroupByArgs['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, site_preference_departmentsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSite_preference_departmentsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the site_preference_departments model
     */
    readonly fields: site_preference_departmentsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for site_preference_departments.
 * 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__site_preference_departmentsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    departments<T extends Prisma.site_preference_departments$departmentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.site_preference_departments$departmentsArgs<ExtArgs>>): Prisma.Prisma__departmentsClient<runtime.Types.Result.GetResult<Prisma.$departmentsPayload<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 site_preference_departments model
 */
export interface site_preference_departmentsFieldRefs {
    readonly id: Prisma.FieldRef<"site_preference_departments", 'Int'>;
    readonly departments_id: Prisma.FieldRef<"site_preference_departments", 'Int'>;
}
/**
 * site_preference_departments findUnique
 */
export type site_preference_departmentsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the site_preference_departments
     */
    select?: Prisma.site_preference_departmentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the site_preference_departments
     */
    omit?: Prisma.site_preference_departmentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.site_preference_departmentsInclude<ExtArgs> | null;
    /**
     * Filter, which site_preference_departments to fetch.
     */
    where: Prisma.site_preference_departmentsWhereUniqueInput;
};
/**
 * site_preference_departments findUniqueOrThrow
 */
export type site_preference_departmentsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the site_preference_departments
     */
    select?: Prisma.site_preference_departmentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the site_preference_departments
     */
    omit?: Prisma.site_preference_departmentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.site_preference_departmentsInclude<ExtArgs> | null;
    /**
     * Filter, which site_preference_departments to fetch.
     */
    where: Prisma.site_preference_departmentsWhereUniqueInput;
};
/**
 * site_preference_departments findFirst
 */
export type site_preference_departmentsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the site_preference_departments
     */
    select?: Prisma.site_preference_departmentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the site_preference_departments
     */
    omit?: Prisma.site_preference_departmentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.site_preference_departmentsInclude<ExtArgs> | null;
    /**
     * Filter, which site_preference_departments to fetch.
     */
    where?: Prisma.site_preference_departmentsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of site_preference_departments to fetch.
     */
    orderBy?: Prisma.site_preference_departmentsOrderByWithRelationInput | Prisma.site_preference_departmentsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for site_preference_departments.
     */
    cursor?: Prisma.site_preference_departmentsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` site_preference_departments 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` site_preference_departments.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of site_preference_departments.
     */
    distinct?: Prisma.Site_preference_departmentsScalarFieldEnum | Prisma.Site_preference_departmentsScalarFieldEnum[];
};
/**
 * site_preference_departments findFirstOrThrow
 */
export type site_preference_departmentsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the site_preference_departments
     */
    select?: Prisma.site_preference_departmentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the site_preference_departments
     */
    omit?: Prisma.site_preference_departmentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.site_preference_departmentsInclude<ExtArgs> | null;
    /**
     * Filter, which site_preference_departments to fetch.
     */
    where?: Prisma.site_preference_departmentsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of site_preference_departments to fetch.
     */
    orderBy?: Prisma.site_preference_departmentsOrderByWithRelationInput | Prisma.site_preference_departmentsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for site_preference_departments.
     */
    cursor?: Prisma.site_preference_departmentsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` site_preference_departments 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` site_preference_departments.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of site_preference_departments.
     */
    distinct?: Prisma.Site_preference_departmentsScalarFieldEnum | Prisma.Site_preference_departmentsScalarFieldEnum[];
};
/**
 * site_preference_departments findMany
 */
export type site_preference_departmentsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the site_preference_departments
     */
    select?: Prisma.site_preference_departmentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the site_preference_departments
     */
    omit?: Prisma.site_preference_departmentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.site_preference_departmentsInclude<ExtArgs> | null;
    /**
     * Filter, which site_preference_departments to fetch.
     */
    where?: Prisma.site_preference_departmentsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of site_preference_departments to fetch.
     */
    orderBy?: Prisma.site_preference_departmentsOrderByWithRelationInput | Prisma.site_preference_departmentsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing site_preference_departments.
     */
    cursor?: Prisma.site_preference_departmentsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` site_preference_departments 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` site_preference_departments.
     */
    skip?: number;
    distinct?: Prisma.Site_preference_departmentsScalarFieldEnum | Prisma.Site_preference_departmentsScalarFieldEnum[];
};
/**
 * site_preference_departments create
 */
export type site_preference_departmentsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the site_preference_departments
     */
    select?: Prisma.site_preference_departmentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the site_preference_departments
     */
    omit?: Prisma.site_preference_departmentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.site_preference_departmentsInclude<ExtArgs> | null;
    /**
     * The data needed to create a site_preference_departments.
     */
    data?: Prisma.XOR<Prisma.site_preference_departmentsCreateInput, Prisma.site_preference_departmentsUncheckedCreateInput>;
};
/**
 * site_preference_departments createMany
 */
export type site_preference_departmentsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many site_preference_departments.
     */
    data: Prisma.site_preference_departmentsCreateManyInput | Prisma.site_preference_departmentsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * site_preference_departments createManyAndReturn
 */
export type site_preference_departmentsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the site_preference_departments
     */
    select?: Prisma.site_preference_departmentsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the site_preference_departments
     */
    omit?: Prisma.site_preference_departmentsOmit<ExtArgs> | null;
    /**
     * The data used to create many site_preference_departments.
     */
    data: Prisma.site_preference_departmentsCreateManyInput | Prisma.site_preference_departmentsCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.site_preference_departmentsIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * site_preference_departments update
 */
export type site_preference_departmentsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the site_preference_departments
     */
    select?: Prisma.site_preference_departmentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the site_preference_departments
     */
    omit?: Prisma.site_preference_departmentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.site_preference_departmentsInclude<ExtArgs> | null;
    /**
     * The data needed to update a site_preference_departments.
     */
    data: Prisma.XOR<Prisma.site_preference_departmentsUpdateInput, Prisma.site_preference_departmentsUncheckedUpdateInput>;
    /**
     * Choose, which site_preference_departments to update.
     */
    where: Prisma.site_preference_departmentsWhereUniqueInput;
};
/**
 * site_preference_departments updateMany
 */
export type site_preference_departmentsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update site_preference_departments.
     */
    data: Prisma.XOR<Prisma.site_preference_departmentsUpdateManyMutationInput, Prisma.site_preference_departmentsUncheckedUpdateManyInput>;
    /**
     * Filter which site_preference_departments to update
     */
    where?: Prisma.site_preference_departmentsWhereInput;
    /**
     * Limit how many site_preference_departments to update.
     */
    limit?: number;
};
/**
 * site_preference_departments updateManyAndReturn
 */
export type site_preference_departmentsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the site_preference_departments
     */
    select?: Prisma.site_preference_departmentsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the site_preference_departments
     */
    omit?: Prisma.site_preference_departmentsOmit<ExtArgs> | null;
    /**
     * The data used to update site_preference_departments.
     */
    data: Prisma.XOR<Prisma.site_preference_departmentsUpdateManyMutationInput, Prisma.site_preference_departmentsUncheckedUpdateManyInput>;
    /**
     * Filter which site_preference_departments to update
     */
    where?: Prisma.site_preference_departmentsWhereInput;
    /**
     * Limit how many site_preference_departments to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.site_preference_departmentsIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * site_preference_departments upsert
 */
export type site_preference_departmentsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the site_preference_departments
     */
    select?: Prisma.site_preference_departmentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the site_preference_departments
     */
    omit?: Prisma.site_preference_departmentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.site_preference_departmentsInclude<ExtArgs> | null;
    /**
     * The filter to search for the site_preference_departments to update in case it exists.
     */
    where: Prisma.site_preference_departmentsWhereUniqueInput;
    /**
     * In case the site_preference_departments found by the `where` argument doesn't exist, create a new site_preference_departments with this data.
     */
    create: Prisma.XOR<Prisma.site_preference_departmentsCreateInput, Prisma.site_preference_departmentsUncheckedCreateInput>;
    /**
     * In case the site_preference_departments was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.site_preference_departmentsUpdateInput, Prisma.site_preference_departmentsUncheckedUpdateInput>;
};
/**
 * site_preference_departments delete
 */
export type site_preference_departmentsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the site_preference_departments
     */
    select?: Prisma.site_preference_departmentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the site_preference_departments
     */
    omit?: Prisma.site_preference_departmentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.site_preference_departmentsInclude<ExtArgs> | null;
    /**
     * Filter which site_preference_departments to delete.
     */
    where: Prisma.site_preference_departmentsWhereUniqueInput;
};
/**
 * site_preference_departments deleteMany
 */
export type site_preference_departmentsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which site_preference_departments to delete
     */
    where?: Prisma.site_preference_departmentsWhereInput;
    /**
     * Limit how many site_preference_departments to delete.
     */
    limit?: number;
};
/**
 * site_preference_departments.departments
 */
export type site_preference_departments$departmentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the departments
     */
    select?: Prisma.departmentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the departments
     */
    omit?: Prisma.departmentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.departmentsInclude<ExtArgs> | null;
    where?: Prisma.departmentsWhereInput;
};
/**
 * site_preference_departments without action
 */
export type site_preference_departmentsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the site_preference_departments
     */
    select?: Prisma.site_preference_departmentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the site_preference_departments
     */
    omit?: Prisma.site_preference_departmentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.site_preference_departmentsInclude<ExtArgs> | null;
};
export {};
