import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model musicchart_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 musicchart_departmentsModel = runtime.Types.Result.DefaultSelection<Prisma.$musicchart_departmentsPayload>;
export type AggregateMusicchart_departments = {
    _count: Musicchart_departmentsCountAggregateOutputType | null;
    _avg: Musicchart_departmentsAvgAggregateOutputType | null;
    _sum: Musicchart_departmentsSumAggregateOutputType | null;
    _min: Musicchart_departmentsMinAggregateOutputType | null;
    _max: Musicchart_departmentsMaxAggregateOutputType | null;
};
export type Musicchart_departmentsAvgAggregateOutputType = {
    id: number | null;
    departments_id: number | null;
};
export type Musicchart_departmentsSumAggregateOutputType = {
    id: number | null;
    departments_id: number | null;
};
export type Musicchart_departmentsMinAggregateOutputType = {
    id: number | null;
    departments_id: number | null;
};
export type Musicchart_departmentsMaxAggregateOutputType = {
    id: number | null;
    departments_id: number | null;
};
export type Musicchart_departmentsCountAggregateOutputType = {
    id: number;
    departments_id: number;
    _all: number;
};
export type Musicchart_departmentsAvgAggregateInputType = {
    id?: true;
    departments_id?: true;
};
export type Musicchart_departmentsSumAggregateInputType = {
    id?: true;
    departments_id?: true;
};
export type Musicchart_departmentsMinAggregateInputType = {
    id?: true;
    departments_id?: true;
};
export type Musicchart_departmentsMaxAggregateInputType = {
    id?: true;
    departments_id?: true;
};
export type Musicchart_departmentsCountAggregateInputType = {
    id?: true;
    departments_id?: true;
    _all?: true;
};
export type Musicchart_departmentsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which musicchart_departments to aggregate.
     */
    where?: Prisma.musicchart_departmentsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of musicchart_departments to fetch.
     */
    orderBy?: Prisma.musicchart_departmentsOrderByWithRelationInput | Prisma.musicchart_departmentsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.musicchart_departmentsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` musicchart_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` musicchart_departments.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned musicchart_departments
    **/
    _count?: true | Musicchart_departmentsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Musicchart_departmentsAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Musicchart_departmentsSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Musicchart_departmentsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Musicchart_departmentsMaxAggregateInputType;
};
export type GetMusicchart_departmentsAggregateType<T extends Musicchart_departmentsAggregateArgs> = {
    [P in keyof T & keyof AggregateMusicchart_departments]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateMusicchart_departments[P]> : Prisma.GetScalarType<T[P], AggregateMusicchart_departments[P]>;
};
export type musicchart_departmentsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.musicchart_departmentsWhereInput;
    orderBy?: Prisma.musicchart_departmentsOrderByWithAggregationInput | Prisma.musicchart_departmentsOrderByWithAggregationInput[];
    by: Prisma.Musicchart_departmentsScalarFieldEnum[] | Prisma.Musicchart_departmentsScalarFieldEnum;
    having?: Prisma.musicchart_departmentsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Musicchart_departmentsCountAggregateInputType | true;
    _avg?: Musicchart_departmentsAvgAggregateInputType;
    _sum?: Musicchart_departmentsSumAggregateInputType;
    _min?: Musicchart_departmentsMinAggregateInputType;
    _max?: Musicchart_departmentsMaxAggregateInputType;
};
export type Musicchart_departmentsGroupByOutputType = {
    id: number;
    departments_id: number | null;
    _count: Musicchart_departmentsCountAggregateOutputType | null;
    _avg: Musicchart_departmentsAvgAggregateOutputType | null;
    _sum: Musicchart_departmentsSumAggregateOutputType | null;
    _min: Musicchart_departmentsMinAggregateOutputType | null;
    _max: Musicchart_departmentsMaxAggregateOutputType | null;
};
type GetMusicchart_departmentsGroupByPayload<T extends musicchart_departmentsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Musicchart_departmentsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Musicchart_departmentsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Musicchart_departmentsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Musicchart_departmentsGroupByOutputType[P]>;
}>>;
export type musicchart_departmentsWhereInput = {
    AND?: Prisma.musicchart_departmentsWhereInput | Prisma.musicchart_departmentsWhereInput[];
    OR?: Prisma.musicchart_departmentsWhereInput[];
    NOT?: Prisma.musicchart_departmentsWhereInput | Prisma.musicchart_departmentsWhereInput[];
    id?: Prisma.IntFilter<"musicchart_departments"> | number;
    departments_id?: Prisma.IntNullableFilter<"musicchart_departments"> | number | null;
    departments?: Prisma.XOR<Prisma.DepartmentsNullableScalarRelationFilter, Prisma.departmentsWhereInput> | null;
};
export type musicchart_departmentsOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    departments_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    departments?: Prisma.departmentsOrderByWithRelationInput;
};
export type musicchart_departmentsWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.musicchart_departmentsWhereInput | Prisma.musicchart_departmentsWhereInput[];
    OR?: Prisma.musicchart_departmentsWhereInput[];
    NOT?: Prisma.musicchart_departmentsWhereInput | Prisma.musicchart_departmentsWhereInput[];
    departments_id?: Prisma.IntNullableFilter<"musicchart_departments"> | number | null;
    departments?: Prisma.XOR<Prisma.DepartmentsNullableScalarRelationFilter, Prisma.departmentsWhereInput> | null;
}, "id">;
export type musicchart_departmentsOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    departments_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.musicchart_departmentsCountOrderByAggregateInput;
    _avg?: Prisma.musicchart_departmentsAvgOrderByAggregateInput;
    _max?: Prisma.musicchart_departmentsMaxOrderByAggregateInput;
    _min?: Prisma.musicchart_departmentsMinOrderByAggregateInput;
    _sum?: Prisma.musicchart_departmentsSumOrderByAggregateInput;
};
export type musicchart_departmentsScalarWhereWithAggregatesInput = {
    AND?: Prisma.musicchart_departmentsScalarWhereWithAggregatesInput | Prisma.musicchart_departmentsScalarWhereWithAggregatesInput[];
    OR?: Prisma.musicchart_departmentsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.musicchart_departmentsScalarWhereWithAggregatesInput | Prisma.musicchart_departmentsScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"musicchart_departments"> | number;
    departments_id?: Prisma.IntNullableWithAggregatesFilter<"musicchart_departments"> | number | null;
};
export type musicchart_departmentsCreateInput = {
    departments?: Prisma.departmentsCreateNestedOneWithoutMusicchart_departmentsInput;
};
export type musicchart_departmentsUncheckedCreateInput = {
    id?: number;
    departments_id?: number | null;
};
export type musicchart_departmentsUpdateInput = {
    departments?: Prisma.departmentsUpdateOneWithoutMusicchart_departmentsNestedInput;
};
export type musicchart_departmentsUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    departments_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type musicchart_departmentsCreateManyInput = {
    id?: number;
    departments_id?: number | null;
};
export type musicchart_departmentsUpdateManyMutationInput = {};
export type musicchart_departmentsUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    departments_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type Musicchart_departmentsListRelationFilter = {
    every?: Prisma.musicchart_departmentsWhereInput;
    some?: Prisma.musicchart_departmentsWhereInput;
    none?: Prisma.musicchart_departmentsWhereInput;
};
export type musicchart_departmentsOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type musicchart_departmentsCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    departments_id?: Prisma.SortOrder;
};
export type musicchart_departmentsAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    departments_id?: Prisma.SortOrder;
};
export type musicchart_departmentsMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    departments_id?: Prisma.SortOrder;
};
export type musicchart_departmentsMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    departments_id?: Prisma.SortOrder;
};
export type musicchart_departmentsSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    departments_id?: Prisma.SortOrder;
};
export type musicchart_departmentsCreateNestedManyWithoutDepartmentsInput = {
    create?: Prisma.XOR<Prisma.musicchart_departmentsCreateWithoutDepartmentsInput, Prisma.musicchart_departmentsUncheckedCreateWithoutDepartmentsInput> | Prisma.musicchart_departmentsCreateWithoutDepartmentsInput[] | Prisma.musicchart_departmentsUncheckedCreateWithoutDepartmentsInput[];
    connectOrCreate?: Prisma.musicchart_departmentsCreateOrConnectWithoutDepartmentsInput | Prisma.musicchart_departmentsCreateOrConnectWithoutDepartmentsInput[];
    createMany?: Prisma.musicchart_departmentsCreateManyDepartmentsInputEnvelope;
    connect?: Prisma.musicchart_departmentsWhereUniqueInput | Prisma.musicchart_departmentsWhereUniqueInput[];
};
export type musicchart_departmentsUncheckedCreateNestedManyWithoutDepartmentsInput = {
    create?: Prisma.XOR<Prisma.musicchart_departmentsCreateWithoutDepartmentsInput, Prisma.musicchart_departmentsUncheckedCreateWithoutDepartmentsInput> | Prisma.musicchart_departmentsCreateWithoutDepartmentsInput[] | Prisma.musicchart_departmentsUncheckedCreateWithoutDepartmentsInput[];
    connectOrCreate?: Prisma.musicchart_departmentsCreateOrConnectWithoutDepartmentsInput | Prisma.musicchart_departmentsCreateOrConnectWithoutDepartmentsInput[];
    createMany?: Prisma.musicchart_departmentsCreateManyDepartmentsInputEnvelope;
    connect?: Prisma.musicchart_departmentsWhereUniqueInput | Prisma.musicchart_departmentsWhereUniqueInput[];
};
export type musicchart_departmentsUpdateManyWithoutDepartmentsNestedInput = {
    create?: Prisma.XOR<Prisma.musicchart_departmentsCreateWithoutDepartmentsInput, Prisma.musicchart_departmentsUncheckedCreateWithoutDepartmentsInput> | Prisma.musicchart_departmentsCreateWithoutDepartmentsInput[] | Prisma.musicchart_departmentsUncheckedCreateWithoutDepartmentsInput[];
    connectOrCreate?: Prisma.musicchart_departmentsCreateOrConnectWithoutDepartmentsInput | Prisma.musicchart_departmentsCreateOrConnectWithoutDepartmentsInput[];
    upsert?: Prisma.musicchart_departmentsUpsertWithWhereUniqueWithoutDepartmentsInput | Prisma.musicchart_departmentsUpsertWithWhereUniqueWithoutDepartmentsInput[];
    createMany?: Prisma.musicchart_departmentsCreateManyDepartmentsInputEnvelope;
    set?: Prisma.musicchart_departmentsWhereUniqueInput | Prisma.musicchart_departmentsWhereUniqueInput[];
    disconnect?: Prisma.musicchart_departmentsWhereUniqueInput | Prisma.musicchart_departmentsWhereUniqueInput[];
    delete?: Prisma.musicchart_departmentsWhereUniqueInput | Prisma.musicchart_departmentsWhereUniqueInput[];
    connect?: Prisma.musicchart_departmentsWhereUniqueInput | Prisma.musicchart_departmentsWhereUniqueInput[];
    update?: Prisma.musicchart_departmentsUpdateWithWhereUniqueWithoutDepartmentsInput | Prisma.musicchart_departmentsUpdateWithWhereUniqueWithoutDepartmentsInput[];
    updateMany?: Prisma.musicchart_departmentsUpdateManyWithWhereWithoutDepartmentsInput | Prisma.musicchart_departmentsUpdateManyWithWhereWithoutDepartmentsInput[];
    deleteMany?: Prisma.musicchart_departmentsScalarWhereInput | Prisma.musicchart_departmentsScalarWhereInput[];
};
export type musicchart_departmentsUncheckedUpdateManyWithoutDepartmentsNestedInput = {
    create?: Prisma.XOR<Prisma.musicchart_departmentsCreateWithoutDepartmentsInput, Prisma.musicchart_departmentsUncheckedCreateWithoutDepartmentsInput> | Prisma.musicchart_departmentsCreateWithoutDepartmentsInput[] | Prisma.musicchart_departmentsUncheckedCreateWithoutDepartmentsInput[];
    connectOrCreate?: Prisma.musicchart_departmentsCreateOrConnectWithoutDepartmentsInput | Prisma.musicchart_departmentsCreateOrConnectWithoutDepartmentsInput[];
    upsert?: Prisma.musicchart_departmentsUpsertWithWhereUniqueWithoutDepartmentsInput | Prisma.musicchart_departmentsUpsertWithWhereUniqueWithoutDepartmentsInput[];
    createMany?: Prisma.musicchart_departmentsCreateManyDepartmentsInputEnvelope;
    set?: Prisma.musicchart_departmentsWhereUniqueInput | Prisma.musicchart_departmentsWhereUniqueInput[];
    disconnect?: Prisma.musicchart_departmentsWhereUniqueInput | Prisma.musicchart_departmentsWhereUniqueInput[];
    delete?: Prisma.musicchart_departmentsWhereUniqueInput | Prisma.musicchart_departmentsWhereUniqueInput[];
    connect?: Prisma.musicchart_departmentsWhereUniqueInput | Prisma.musicchart_departmentsWhereUniqueInput[];
    update?: Prisma.musicchart_departmentsUpdateWithWhereUniqueWithoutDepartmentsInput | Prisma.musicchart_departmentsUpdateWithWhereUniqueWithoutDepartmentsInput[];
    updateMany?: Prisma.musicchart_departmentsUpdateManyWithWhereWithoutDepartmentsInput | Prisma.musicchart_departmentsUpdateManyWithWhereWithoutDepartmentsInput[];
    deleteMany?: Prisma.musicchart_departmentsScalarWhereInput | Prisma.musicchart_departmentsScalarWhereInput[];
};
export type musicchart_departmentsCreateWithoutDepartmentsInput = {};
export type musicchart_departmentsUncheckedCreateWithoutDepartmentsInput = {
    id?: number;
};
export type musicchart_departmentsCreateOrConnectWithoutDepartmentsInput = {
    where: Prisma.musicchart_departmentsWhereUniqueInput;
    create: Prisma.XOR<Prisma.musicchart_departmentsCreateWithoutDepartmentsInput, Prisma.musicchart_departmentsUncheckedCreateWithoutDepartmentsInput>;
};
export type musicchart_departmentsCreateManyDepartmentsInputEnvelope = {
    data: Prisma.musicchart_departmentsCreateManyDepartmentsInput | Prisma.musicchart_departmentsCreateManyDepartmentsInput[];
    skipDuplicates?: boolean;
};
export type musicchart_departmentsUpsertWithWhereUniqueWithoutDepartmentsInput = {
    where: Prisma.musicchart_departmentsWhereUniqueInput;
    update: Prisma.XOR<Prisma.musicchart_departmentsUpdateWithoutDepartmentsInput, Prisma.musicchart_departmentsUncheckedUpdateWithoutDepartmentsInput>;
    create: Prisma.XOR<Prisma.musicchart_departmentsCreateWithoutDepartmentsInput, Prisma.musicchart_departmentsUncheckedCreateWithoutDepartmentsInput>;
};
export type musicchart_departmentsUpdateWithWhereUniqueWithoutDepartmentsInput = {
    where: Prisma.musicchart_departmentsWhereUniqueInput;
    data: Prisma.XOR<Prisma.musicchart_departmentsUpdateWithoutDepartmentsInput, Prisma.musicchart_departmentsUncheckedUpdateWithoutDepartmentsInput>;
};
export type musicchart_departmentsUpdateManyWithWhereWithoutDepartmentsInput = {
    where: Prisma.musicchart_departmentsScalarWhereInput;
    data: Prisma.XOR<Prisma.musicchart_departmentsUpdateManyMutationInput, Prisma.musicchart_departmentsUncheckedUpdateManyWithoutDepartmentsInput>;
};
export type musicchart_departmentsScalarWhereInput = {
    AND?: Prisma.musicchart_departmentsScalarWhereInput | Prisma.musicchart_departmentsScalarWhereInput[];
    OR?: Prisma.musicchart_departmentsScalarWhereInput[];
    NOT?: Prisma.musicchart_departmentsScalarWhereInput | Prisma.musicchart_departmentsScalarWhereInput[];
    id?: Prisma.IntFilter<"musicchart_departments"> | number;
    departments_id?: Prisma.IntNullableFilter<"musicchart_departments"> | number | null;
};
export type musicchart_departmentsCreateManyDepartmentsInput = {
    id?: number;
};
export type musicchart_departmentsUpdateWithoutDepartmentsInput = {};
export type musicchart_departmentsUncheckedUpdateWithoutDepartmentsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
};
export type musicchart_departmentsUncheckedUpdateManyWithoutDepartmentsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
};
export type musicchart_departmentsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    departments_id?: boolean;
    departments?: boolean | Prisma.musicchart_departments$departmentsArgs<ExtArgs>;
}, ExtArgs["result"]["musicchart_departments"]>;
export type musicchart_departmentsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    departments_id?: boolean;
    departments?: boolean | Prisma.musicchart_departments$departmentsArgs<ExtArgs>;
}, ExtArgs["result"]["musicchart_departments"]>;
export type musicchart_departmentsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    departments_id?: boolean;
    departments?: boolean | Prisma.musicchart_departments$departmentsArgs<ExtArgs>;
}, ExtArgs["result"]["musicchart_departments"]>;
export type musicchart_departmentsSelectScalar = {
    id?: boolean;
    departments_id?: boolean;
};
export type musicchart_departmentsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "departments_id", ExtArgs["result"]["musicchart_departments"]>;
export type musicchart_departmentsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    departments?: boolean | Prisma.musicchart_departments$departmentsArgs<ExtArgs>;
};
export type musicchart_departmentsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    departments?: boolean | Prisma.musicchart_departments$departmentsArgs<ExtArgs>;
};
export type musicchart_departmentsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    departments?: boolean | Prisma.musicchart_departments$departmentsArgs<ExtArgs>;
};
export type $musicchart_departmentsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "musicchart_departments";
    objects: {
        departments: Prisma.$departmentsPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        departments_id: number | null;
    }, ExtArgs["result"]["musicchart_departments"]>;
    composites: {};
};
export type musicchart_departmentsGetPayload<S extends boolean | null | undefined | musicchart_departmentsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$musicchart_departmentsPayload, S>;
export type musicchart_departmentsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<musicchart_departmentsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Musicchart_departmentsCountAggregateInputType | true;
};
export interface musicchart_departmentsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['musicchart_departments'];
        meta: {
            name: 'musicchart_departments';
        };
    };
    /**
     * Find zero or one Musicchart_departments that matches the filter.
     * @param {musicchart_departmentsFindUniqueArgs} args - Arguments to find a Musicchart_departments
     * @example
     * // Get one Musicchart_departments
     * const musicchart_departments = await prisma.musicchart_departments.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends musicchart_departmentsFindUniqueArgs>(args: Prisma.SelectSubset<T, musicchart_departmentsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__musicchart_departmentsClient<runtime.Types.Result.GetResult<Prisma.$musicchart_departmentsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Musicchart_departments that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {musicchart_departmentsFindUniqueOrThrowArgs} args - Arguments to find a Musicchart_departments
     * @example
     * // Get one Musicchart_departments
     * const musicchart_departments = await prisma.musicchart_departments.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends musicchart_departmentsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, musicchart_departmentsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__musicchart_departmentsClient<runtime.Types.Result.GetResult<Prisma.$musicchart_departmentsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Musicchart_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 {musicchart_departmentsFindFirstArgs} args - Arguments to find a Musicchart_departments
     * @example
     * // Get one Musicchart_departments
     * const musicchart_departments = await prisma.musicchart_departments.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends musicchart_departmentsFindFirstArgs>(args?: Prisma.SelectSubset<T, musicchart_departmentsFindFirstArgs<ExtArgs>>): Prisma.Prisma__musicchart_departmentsClient<runtime.Types.Result.GetResult<Prisma.$musicchart_departmentsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Musicchart_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 {musicchart_departmentsFindFirstOrThrowArgs} args - Arguments to find a Musicchart_departments
     * @example
     * // Get one Musicchart_departments
     * const musicchart_departments = await prisma.musicchart_departments.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends musicchart_departmentsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, musicchart_departmentsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__musicchart_departmentsClient<runtime.Types.Result.GetResult<Prisma.$musicchart_departmentsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Musicchart_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 {musicchart_departmentsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Musicchart_departments
     * const musicchart_departments = await prisma.musicchart_departments.findMany()
     *
     * // Get first 10 Musicchart_departments
     * const musicchart_departments = await prisma.musicchart_departments.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const musicchart_departmentsWithIdOnly = await prisma.musicchart_departments.findMany({ select: { id: true } })
     *
     */
    findMany<T extends musicchart_departmentsFindManyArgs>(args?: Prisma.SelectSubset<T, musicchart_departmentsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$musicchart_departmentsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Musicchart_departments.
     * @param {musicchart_departmentsCreateArgs} args - Arguments to create a Musicchart_departments.
     * @example
     * // Create one Musicchart_departments
     * const Musicchart_departments = await prisma.musicchart_departments.create({
     *   data: {
     *     // ... data to create a Musicchart_departments
     *   }
     * })
     *
     */
    create<T extends musicchart_departmentsCreateArgs>(args: Prisma.SelectSubset<T, musicchart_departmentsCreateArgs<ExtArgs>>): Prisma.Prisma__musicchart_departmentsClient<runtime.Types.Result.GetResult<Prisma.$musicchart_departmentsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Musicchart_departments.
     * @param {musicchart_departmentsCreateManyArgs} args - Arguments to create many Musicchart_departments.
     * @example
     * // Create many Musicchart_departments
     * const musicchart_departments = await prisma.musicchart_departments.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends musicchart_departmentsCreateManyArgs>(args?: Prisma.SelectSubset<T, musicchart_departmentsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Musicchart_departments and returns the data saved in the database.
     * @param {musicchart_departmentsCreateManyAndReturnArgs} args - Arguments to create many Musicchart_departments.
     * @example
     * // Create many Musicchart_departments
     * const musicchart_departments = await prisma.musicchart_departments.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Musicchart_departments and only return the `id`
     * const musicchart_departmentsWithIdOnly = await prisma.musicchart_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 musicchart_departmentsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, musicchart_departmentsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$musicchart_departmentsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Musicchart_departments.
     * @param {musicchart_departmentsDeleteArgs} args - Arguments to delete one Musicchart_departments.
     * @example
     * // Delete one Musicchart_departments
     * const Musicchart_departments = await prisma.musicchart_departments.delete({
     *   where: {
     *     // ... filter to delete one Musicchart_departments
     *   }
     * })
     *
     */
    delete<T extends musicchart_departmentsDeleteArgs>(args: Prisma.SelectSubset<T, musicchart_departmentsDeleteArgs<ExtArgs>>): Prisma.Prisma__musicchart_departmentsClient<runtime.Types.Result.GetResult<Prisma.$musicchart_departmentsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Musicchart_departments.
     * @param {musicchart_departmentsUpdateArgs} args - Arguments to update one Musicchart_departments.
     * @example
     * // Update one Musicchart_departments
     * const musicchart_departments = await prisma.musicchart_departments.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends musicchart_departmentsUpdateArgs>(args: Prisma.SelectSubset<T, musicchart_departmentsUpdateArgs<ExtArgs>>): Prisma.Prisma__musicchart_departmentsClient<runtime.Types.Result.GetResult<Prisma.$musicchart_departmentsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Musicchart_departments.
     * @param {musicchart_departmentsDeleteManyArgs} args - Arguments to filter Musicchart_departments to delete.
     * @example
     * // Delete a few Musicchart_departments
     * const { count } = await prisma.musicchart_departments.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends musicchart_departmentsDeleteManyArgs>(args?: Prisma.SelectSubset<T, musicchart_departmentsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Musicchart_departments.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {musicchart_departmentsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Musicchart_departments
     * const musicchart_departments = await prisma.musicchart_departments.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends musicchart_departmentsUpdateManyArgs>(args: Prisma.SelectSubset<T, musicchart_departmentsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Musicchart_departments and returns the data updated in the database.
     * @param {musicchart_departmentsUpdateManyAndReturnArgs} args - Arguments to update many Musicchart_departments.
     * @example
     * // Update many Musicchart_departments
     * const musicchart_departments = await prisma.musicchart_departments.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Musicchart_departments and only return the `id`
     * const musicchart_departmentsWithIdOnly = await prisma.musicchart_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 musicchart_departmentsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, musicchart_departmentsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$musicchart_departmentsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Musicchart_departments.
     * @param {musicchart_departmentsUpsertArgs} args - Arguments to update or create a Musicchart_departments.
     * @example
     * // Update or create a Musicchart_departments
     * const musicchart_departments = await prisma.musicchart_departments.upsert({
     *   create: {
     *     // ... data to create a Musicchart_departments
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Musicchart_departments we want to update
     *   }
     * })
     */
    upsert<T extends musicchart_departmentsUpsertArgs>(args: Prisma.SelectSubset<T, musicchart_departmentsUpsertArgs<ExtArgs>>): Prisma.Prisma__musicchart_departmentsClient<runtime.Types.Result.GetResult<Prisma.$musicchart_departmentsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Musicchart_departments.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {musicchart_departmentsCountArgs} args - Arguments to filter Musicchart_departments to count.
     * @example
     * // Count the number of Musicchart_departments
     * const count = await prisma.musicchart_departments.count({
     *   where: {
     *     // ... the filter for the Musicchart_departments we want to count
     *   }
     * })
    **/
    count<T extends musicchart_departmentsCountArgs>(args?: Prisma.Subset<T, musicchart_departmentsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Musicchart_departmentsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Musicchart_departments.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Musicchart_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 Musicchart_departmentsAggregateArgs>(args: Prisma.Subset<T, Musicchart_departmentsAggregateArgs>): Prisma.PrismaPromise<GetMusicchart_departmentsAggregateType<T>>;
    /**
     * Group by Musicchart_departments.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {musicchart_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 musicchart_departmentsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: musicchart_departmentsGroupByArgs['orderBy'];
    } : {
        orderBy?: musicchart_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, musicchart_departmentsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMusicchart_departmentsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the musicchart_departments model
     */
    readonly fields: musicchart_departmentsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for musicchart_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__musicchart_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.musicchart_departments$departmentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.musicchart_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 musicchart_departments model
 */
export interface musicchart_departmentsFieldRefs {
    readonly id: Prisma.FieldRef<"musicchart_departments", 'Int'>;
    readonly departments_id: Prisma.FieldRef<"musicchart_departments", 'Int'>;
}
/**
 * musicchart_departments findUnique
 */
export type musicchart_departmentsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the musicchart_departments
     */
    select?: Prisma.musicchart_departmentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the musicchart_departments
     */
    omit?: Prisma.musicchart_departmentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.musicchart_departmentsInclude<ExtArgs> | null;
    /**
     * Filter, which musicchart_departments to fetch.
     */
    where: Prisma.musicchart_departmentsWhereUniqueInput;
};
/**
 * musicchart_departments findUniqueOrThrow
 */
export type musicchart_departmentsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the musicchart_departments
     */
    select?: Prisma.musicchart_departmentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the musicchart_departments
     */
    omit?: Prisma.musicchart_departmentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.musicchart_departmentsInclude<ExtArgs> | null;
    /**
     * Filter, which musicchart_departments to fetch.
     */
    where: Prisma.musicchart_departmentsWhereUniqueInput;
};
/**
 * musicchart_departments findFirst
 */
export type musicchart_departmentsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the musicchart_departments
     */
    select?: Prisma.musicchart_departmentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the musicchart_departments
     */
    omit?: Prisma.musicchart_departmentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.musicchart_departmentsInclude<ExtArgs> | null;
    /**
     * Filter, which musicchart_departments to fetch.
     */
    where?: Prisma.musicchart_departmentsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of musicchart_departments to fetch.
     */
    orderBy?: Prisma.musicchart_departmentsOrderByWithRelationInput | Prisma.musicchart_departmentsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for musicchart_departments.
     */
    cursor?: Prisma.musicchart_departmentsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` musicchart_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` musicchart_departments.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of musicchart_departments.
     */
    distinct?: Prisma.Musicchart_departmentsScalarFieldEnum | Prisma.Musicchart_departmentsScalarFieldEnum[];
};
/**
 * musicchart_departments findFirstOrThrow
 */
export type musicchart_departmentsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the musicchart_departments
     */
    select?: Prisma.musicchart_departmentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the musicchart_departments
     */
    omit?: Prisma.musicchart_departmentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.musicchart_departmentsInclude<ExtArgs> | null;
    /**
     * Filter, which musicchart_departments to fetch.
     */
    where?: Prisma.musicchart_departmentsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of musicchart_departments to fetch.
     */
    orderBy?: Prisma.musicchart_departmentsOrderByWithRelationInput | Prisma.musicchart_departmentsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for musicchart_departments.
     */
    cursor?: Prisma.musicchart_departmentsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` musicchart_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` musicchart_departments.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of musicchart_departments.
     */
    distinct?: Prisma.Musicchart_departmentsScalarFieldEnum | Prisma.Musicchart_departmentsScalarFieldEnum[];
};
/**
 * musicchart_departments findMany
 */
export type musicchart_departmentsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the musicchart_departments
     */
    select?: Prisma.musicchart_departmentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the musicchart_departments
     */
    omit?: Prisma.musicchart_departmentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.musicchart_departmentsInclude<ExtArgs> | null;
    /**
     * Filter, which musicchart_departments to fetch.
     */
    where?: Prisma.musicchart_departmentsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of musicchart_departments to fetch.
     */
    orderBy?: Prisma.musicchart_departmentsOrderByWithRelationInput | Prisma.musicchart_departmentsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing musicchart_departments.
     */
    cursor?: Prisma.musicchart_departmentsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` musicchart_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` musicchart_departments.
     */
    skip?: number;
    distinct?: Prisma.Musicchart_departmentsScalarFieldEnum | Prisma.Musicchart_departmentsScalarFieldEnum[];
};
/**
 * musicchart_departments create
 */
export type musicchart_departmentsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the musicchart_departments
     */
    select?: Prisma.musicchart_departmentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the musicchart_departments
     */
    omit?: Prisma.musicchart_departmentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.musicchart_departmentsInclude<ExtArgs> | null;
    /**
     * The data needed to create a musicchart_departments.
     */
    data?: Prisma.XOR<Prisma.musicchart_departmentsCreateInput, Prisma.musicchart_departmentsUncheckedCreateInput>;
};
/**
 * musicchart_departments createMany
 */
export type musicchart_departmentsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many musicchart_departments.
     */
    data: Prisma.musicchart_departmentsCreateManyInput | Prisma.musicchart_departmentsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * musicchart_departments createManyAndReturn
 */
export type musicchart_departmentsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the musicchart_departments
     */
    select?: Prisma.musicchart_departmentsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the musicchart_departments
     */
    omit?: Prisma.musicchart_departmentsOmit<ExtArgs> | null;
    /**
     * The data used to create many musicchart_departments.
     */
    data: Prisma.musicchart_departmentsCreateManyInput | Prisma.musicchart_departmentsCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.musicchart_departmentsIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * musicchart_departments update
 */
export type musicchart_departmentsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the musicchart_departments
     */
    select?: Prisma.musicchart_departmentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the musicchart_departments
     */
    omit?: Prisma.musicchart_departmentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.musicchart_departmentsInclude<ExtArgs> | null;
    /**
     * The data needed to update a musicchart_departments.
     */
    data: Prisma.XOR<Prisma.musicchart_departmentsUpdateInput, Prisma.musicchart_departmentsUncheckedUpdateInput>;
    /**
     * Choose, which musicchart_departments to update.
     */
    where: Prisma.musicchart_departmentsWhereUniqueInput;
};
/**
 * musicchart_departments updateMany
 */
export type musicchart_departmentsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update musicchart_departments.
     */
    data: Prisma.XOR<Prisma.musicchart_departmentsUpdateManyMutationInput, Prisma.musicchart_departmentsUncheckedUpdateManyInput>;
    /**
     * Filter which musicchart_departments to update
     */
    where?: Prisma.musicchart_departmentsWhereInput;
    /**
     * Limit how many musicchart_departments to update.
     */
    limit?: number;
};
/**
 * musicchart_departments updateManyAndReturn
 */
export type musicchart_departmentsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the musicchart_departments
     */
    select?: Prisma.musicchart_departmentsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the musicchart_departments
     */
    omit?: Prisma.musicchart_departmentsOmit<ExtArgs> | null;
    /**
     * The data used to update musicchart_departments.
     */
    data: Prisma.XOR<Prisma.musicchart_departmentsUpdateManyMutationInput, Prisma.musicchart_departmentsUncheckedUpdateManyInput>;
    /**
     * Filter which musicchart_departments to update
     */
    where?: Prisma.musicchart_departmentsWhereInput;
    /**
     * Limit how many musicchart_departments to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.musicchart_departmentsIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * musicchart_departments upsert
 */
export type musicchart_departmentsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the musicchart_departments
     */
    select?: Prisma.musicchart_departmentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the musicchart_departments
     */
    omit?: Prisma.musicchart_departmentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.musicchart_departmentsInclude<ExtArgs> | null;
    /**
     * The filter to search for the musicchart_departments to update in case it exists.
     */
    where: Prisma.musicchart_departmentsWhereUniqueInput;
    /**
     * In case the musicchart_departments found by the `where` argument doesn't exist, create a new musicchart_departments with this data.
     */
    create: Prisma.XOR<Prisma.musicchart_departmentsCreateInput, Prisma.musicchart_departmentsUncheckedCreateInput>;
    /**
     * In case the musicchart_departments was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.musicchart_departmentsUpdateInput, Prisma.musicchart_departmentsUncheckedUpdateInput>;
};
/**
 * musicchart_departments delete
 */
export type musicchart_departmentsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the musicchart_departments
     */
    select?: Prisma.musicchart_departmentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the musicchart_departments
     */
    omit?: Prisma.musicchart_departmentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.musicchart_departmentsInclude<ExtArgs> | null;
    /**
     * Filter which musicchart_departments to delete.
     */
    where: Prisma.musicchart_departmentsWhereUniqueInput;
};
/**
 * musicchart_departments deleteMany
 */
export type musicchart_departmentsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which musicchart_departments to delete
     */
    where?: Prisma.musicchart_departmentsWhereInput;
    /**
     * Limit how many musicchart_departments to delete.
     */
    limit?: number;
};
/**
 * musicchart_departments.departments
 */
export type musicchart_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;
};
/**
 * musicchart_departments without action
 */
export type musicchart_departmentsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the musicchart_departments
     */
    select?: Prisma.musicchart_departmentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the musicchart_departments
     */
    omit?: Prisma.musicchart_departmentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.musicchart_departmentsInclude<ExtArgs> | null;
};
export {};
