import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model departments_shorts
 * 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 departments_shortsModel = runtime.Types.Result.DefaultSelection<Prisma.$departments_shortsPayload>;
export type AggregateDepartments_shorts = {
    _count: Departments_shortsCountAggregateOutputType | null;
    _avg: Departments_shortsAvgAggregateOutputType | null;
    _sum: Departments_shortsSumAggregateOutputType | null;
    _min: Departments_shortsMinAggregateOutputType | null;
    _max: Departments_shortsMaxAggregateOutputType | null;
};
export type Departments_shortsAvgAggregateOutputType = {
    id: number | null;
    departments_id: number | null;
    shorts_id: number | null;
};
export type Departments_shortsSumAggregateOutputType = {
    id: number | null;
    departments_id: number | null;
    shorts_id: number | null;
};
export type Departments_shortsMinAggregateOutputType = {
    id: number | null;
    departments_id: number | null;
    shorts_id: number | null;
};
export type Departments_shortsMaxAggregateOutputType = {
    id: number | null;
    departments_id: number | null;
    shorts_id: number | null;
};
export type Departments_shortsCountAggregateOutputType = {
    id: number;
    departments_id: number;
    shorts_id: number;
    _all: number;
};
export type Departments_shortsAvgAggregateInputType = {
    id?: true;
    departments_id?: true;
    shorts_id?: true;
};
export type Departments_shortsSumAggregateInputType = {
    id?: true;
    departments_id?: true;
    shorts_id?: true;
};
export type Departments_shortsMinAggregateInputType = {
    id?: true;
    departments_id?: true;
    shorts_id?: true;
};
export type Departments_shortsMaxAggregateInputType = {
    id?: true;
    departments_id?: true;
    shorts_id?: true;
};
export type Departments_shortsCountAggregateInputType = {
    id?: true;
    departments_id?: true;
    shorts_id?: true;
    _all?: true;
};
export type Departments_shortsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which departments_shorts to aggregate.
     */
    where?: Prisma.departments_shortsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of departments_shorts to fetch.
     */
    orderBy?: Prisma.departments_shortsOrderByWithRelationInput | Prisma.departments_shortsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.departments_shortsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` departments_shorts 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` departments_shorts.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned departments_shorts
    **/
    _count?: true | Departments_shortsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Departments_shortsAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Departments_shortsSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Departments_shortsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Departments_shortsMaxAggregateInputType;
};
export type GetDepartments_shortsAggregateType<T extends Departments_shortsAggregateArgs> = {
    [P in keyof T & keyof AggregateDepartments_shorts]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateDepartments_shorts[P]> : Prisma.GetScalarType<T[P], AggregateDepartments_shorts[P]>;
};
export type departments_shortsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.departments_shortsWhereInput;
    orderBy?: Prisma.departments_shortsOrderByWithAggregationInput | Prisma.departments_shortsOrderByWithAggregationInput[];
    by: Prisma.Departments_shortsScalarFieldEnum[] | Prisma.Departments_shortsScalarFieldEnum;
    having?: Prisma.departments_shortsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Departments_shortsCountAggregateInputType | true;
    _avg?: Departments_shortsAvgAggregateInputType;
    _sum?: Departments_shortsSumAggregateInputType;
    _min?: Departments_shortsMinAggregateInputType;
    _max?: Departments_shortsMaxAggregateInputType;
};
export type Departments_shortsGroupByOutputType = {
    id: number;
    departments_id: number | null;
    shorts_id: number | null;
    _count: Departments_shortsCountAggregateOutputType | null;
    _avg: Departments_shortsAvgAggregateOutputType | null;
    _sum: Departments_shortsSumAggregateOutputType | null;
    _min: Departments_shortsMinAggregateOutputType | null;
    _max: Departments_shortsMaxAggregateOutputType | null;
};
type GetDepartments_shortsGroupByPayload<T extends departments_shortsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Departments_shortsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Departments_shortsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Departments_shortsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Departments_shortsGroupByOutputType[P]>;
}>>;
export type departments_shortsWhereInput = {
    AND?: Prisma.departments_shortsWhereInput | Prisma.departments_shortsWhereInput[];
    OR?: Prisma.departments_shortsWhereInput[];
    NOT?: Prisma.departments_shortsWhereInput | Prisma.departments_shortsWhereInput[];
    id?: Prisma.IntFilter<"departments_shorts"> | number;
    departments_id?: Prisma.IntNullableFilter<"departments_shorts"> | number | null;
    shorts_id?: Prisma.IntNullableFilter<"departments_shorts"> | number | null;
    departments?: Prisma.XOR<Prisma.DepartmentsNullableScalarRelationFilter, Prisma.departmentsWhereInput> | null;
    shorts?: Prisma.XOR<Prisma.ShortsNullableScalarRelationFilter, Prisma.shortsWhereInput> | null;
};
export type departments_shortsOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    departments_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    shorts_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    departments?: Prisma.departmentsOrderByWithRelationInput;
    shorts?: Prisma.shortsOrderByWithRelationInput;
};
export type departments_shortsWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.departments_shortsWhereInput | Prisma.departments_shortsWhereInput[];
    OR?: Prisma.departments_shortsWhereInput[];
    NOT?: Prisma.departments_shortsWhereInput | Prisma.departments_shortsWhereInput[];
    departments_id?: Prisma.IntNullableFilter<"departments_shorts"> | number | null;
    shorts_id?: Prisma.IntNullableFilter<"departments_shorts"> | number | null;
    departments?: Prisma.XOR<Prisma.DepartmentsNullableScalarRelationFilter, Prisma.departmentsWhereInput> | null;
    shorts?: Prisma.XOR<Prisma.ShortsNullableScalarRelationFilter, Prisma.shortsWhereInput> | null;
}, "id">;
export type departments_shortsOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    departments_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    shorts_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.departments_shortsCountOrderByAggregateInput;
    _avg?: Prisma.departments_shortsAvgOrderByAggregateInput;
    _max?: Prisma.departments_shortsMaxOrderByAggregateInput;
    _min?: Prisma.departments_shortsMinOrderByAggregateInput;
    _sum?: Prisma.departments_shortsSumOrderByAggregateInput;
};
export type departments_shortsScalarWhereWithAggregatesInput = {
    AND?: Prisma.departments_shortsScalarWhereWithAggregatesInput | Prisma.departments_shortsScalarWhereWithAggregatesInput[];
    OR?: Prisma.departments_shortsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.departments_shortsScalarWhereWithAggregatesInput | Prisma.departments_shortsScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"departments_shorts"> | number;
    departments_id?: Prisma.IntNullableWithAggregatesFilter<"departments_shorts"> | number | null;
    shorts_id?: Prisma.IntNullableWithAggregatesFilter<"departments_shorts"> | number | null;
};
export type departments_shortsCreateInput = {
    departments?: Prisma.departmentsCreateNestedOneWithoutDepartments_shortsInput;
    shorts?: Prisma.shortsCreateNestedOneWithoutDepartments_shortsInput;
};
export type departments_shortsUncheckedCreateInput = {
    id?: number;
    departments_id?: number | null;
    shorts_id?: number | null;
};
export type departments_shortsUpdateInput = {
    departments?: Prisma.departmentsUpdateOneWithoutDepartments_shortsNestedInput;
    shorts?: Prisma.shortsUpdateOneWithoutDepartments_shortsNestedInput;
};
export type departments_shortsUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    departments_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    shorts_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type departments_shortsCreateManyInput = {
    id?: number;
    departments_id?: number | null;
    shorts_id?: number | null;
};
export type departments_shortsUpdateManyMutationInput = {};
export type departments_shortsUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    departments_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    shorts_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type Departments_shortsListRelationFilter = {
    every?: Prisma.departments_shortsWhereInput;
    some?: Prisma.departments_shortsWhereInput;
    none?: Prisma.departments_shortsWhereInput;
};
export type departments_shortsOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type departments_shortsCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    departments_id?: Prisma.SortOrder;
    shorts_id?: Prisma.SortOrder;
};
export type departments_shortsAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    departments_id?: Prisma.SortOrder;
    shorts_id?: Prisma.SortOrder;
};
export type departments_shortsMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    departments_id?: Prisma.SortOrder;
    shorts_id?: Prisma.SortOrder;
};
export type departments_shortsMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    departments_id?: Prisma.SortOrder;
    shorts_id?: Prisma.SortOrder;
};
export type departments_shortsSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    departments_id?: Prisma.SortOrder;
    shorts_id?: Prisma.SortOrder;
};
export type departments_shortsCreateNestedManyWithoutDepartmentsInput = {
    create?: Prisma.XOR<Prisma.departments_shortsCreateWithoutDepartmentsInput, Prisma.departments_shortsUncheckedCreateWithoutDepartmentsInput> | Prisma.departments_shortsCreateWithoutDepartmentsInput[] | Prisma.departments_shortsUncheckedCreateWithoutDepartmentsInput[];
    connectOrCreate?: Prisma.departments_shortsCreateOrConnectWithoutDepartmentsInput | Prisma.departments_shortsCreateOrConnectWithoutDepartmentsInput[];
    createMany?: Prisma.departments_shortsCreateManyDepartmentsInputEnvelope;
    connect?: Prisma.departments_shortsWhereUniqueInput | Prisma.departments_shortsWhereUniqueInput[];
};
export type departments_shortsUncheckedCreateNestedManyWithoutDepartmentsInput = {
    create?: Prisma.XOR<Prisma.departments_shortsCreateWithoutDepartmentsInput, Prisma.departments_shortsUncheckedCreateWithoutDepartmentsInput> | Prisma.departments_shortsCreateWithoutDepartmentsInput[] | Prisma.departments_shortsUncheckedCreateWithoutDepartmentsInput[];
    connectOrCreate?: Prisma.departments_shortsCreateOrConnectWithoutDepartmentsInput | Prisma.departments_shortsCreateOrConnectWithoutDepartmentsInput[];
    createMany?: Prisma.departments_shortsCreateManyDepartmentsInputEnvelope;
    connect?: Prisma.departments_shortsWhereUniqueInput | Prisma.departments_shortsWhereUniqueInput[];
};
export type departments_shortsUpdateManyWithoutDepartmentsNestedInput = {
    create?: Prisma.XOR<Prisma.departments_shortsCreateWithoutDepartmentsInput, Prisma.departments_shortsUncheckedCreateWithoutDepartmentsInput> | Prisma.departments_shortsCreateWithoutDepartmentsInput[] | Prisma.departments_shortsUncheckedCreateWithoutDepartmentsInput[];
    connectOrCreate?: Prisma.departments_shortsCreateOrConnectWithoutDepartmentsInput | Prisma.departments_shortsCreateOrConnectWithoutDepartmentsInput[];
    upsert?: Prisma.departments_shortsUpsertWithWhereUniqueWithoutDepartmentsInput | Prisma.departments_shortsUpsertWithWhereUniqueWithoutDepartmentsInput[];
    createMany?: Prisma.departments_shortsCreateManyDepartmentsInputEnvelope;
    set?: Prisma.departments_shortsWhereUniqueInput | Prisma.departments_shortsWhereUniqueInput[];
    disconnect?: Prisma.departments_shortsWhereUniqueInput | Prisma.departments_shortsWhereUniqueInput[];
    delete?: Prisma.departments_shortsWhereUniqueInput | Prisma.departments_shortsWhereUniqueInput[];
    connect?: Prisma.departments_shortsWhereUniqueInput | Prisma.departments_shortsWhereUniqueInput[];
    update?: Prisma.departments_shortsUpdateWithWhereUniqueWithoutDepartmentsInput | Prisma.departments_shortsUpdateWithWhereUniqueWithoutDepartmentsInput[];
    updateMany?: Prisma.departments_shortsUpdateManyWithWhereWithoutDepartmentsInput | Prisma.departments_shortsUpdateManyWithWhereWithoutDepartmentsInput[];
    deleteMany?: Prisma.departments_shortsScalarWhereInput | Prisma.departments_shortsScalarWhereInput[];
};
export type departments_shortsUncheckedUpdateManyWithoutDepartmentsNestedInput = {
    create?: Prisma.XOR<Prisma.departments_shortsCreateWithoutDepartmentsInput, Prisma.departments_shortsUncheckedCreateWithoutDepartmentsInput> | Prisma.departments_shortsCreateWithoutDepartmentsInput[] | Prisma.departments_shortsUncheckedCreateWithoutDepartmentsInput[];
    connectOrCreate?: Prisma.departments_shortsCreateOrConnectWithoutDepartmentsInput | Prisma.departments_shortsCreateOrConnectWithoutDepartmentsInput[];
    upsert?: Prisma.departments_shortsUpsertWithWhereUniqueWithoutDepartmentsInput | Prisma.departments_shortsUpsertWithWhereUniqueWithoutDepartmentsInput[];
    createMany?: Prisma.departments_shortsCreateManyDepartmentsInputEnvelope;
    set?: Prisma.departments_shortsWhereUniqueInput | Prisma.departments_shortsWhereUniqueInput[];
    disconnect?: Prisma.departments_shortsWhereUniqueInput | Prisma.departments_shortsWhereUniqueInput[];
    delete?: Prisma.departments_shortsWhereUniqueInput | Prisma.departments_shortsWhereUniqueInput[];
    connect?: Prisma.departments_shortsWhereUniqueInput | Prisma.departments_shortsWhereUniqueInput[];
    update?: Prisma.departments_shortsUpdateWithWhereUniqueWithoutDepartmentsInput | Prisma.departments_shortsUpdateWithWhereUniqueWithoutDepartmentsInput[];
    updateMany?: Prisma.departments_shortsUpdateManyWithWhereWithoutDepartmentsInput | Prisma.departments_shortsUpdateManyWithWhereWithoutDepartmentsInput[];
    deleteMany?: Prisma.departments_shortsScalarWhereInput | Prisma.departments_shortsScalarWhereInput[];
};
export type departments_shortsCreateNestedManyWithoutShortsInput = {
    create?: Prisma.XOR<Prisma.departments_shortsCreateWithoutShortsInput, Prisma.departments_shortsUncheckedCreateWithoutShortsInput> | Prisma.departments_shortsCreateWithoutShortsInput[] | Prisma.departments_shortsUncheckedCreateWithoutShortsInput[];
    connectOrCreate?: Prisma.departments_shortsCreateOrConnectWithoutShortsInput | Prisma.departments_shortsCreateOrConnectWithoutShortsInput[];
    createMany?: Prisma.departments_shortsCreateManyShortsInputEnvelope;
    connect?: Prisma.departments_shortsWhereUniqueInput | Prisma.departments_shortsWhereUniqueInput[];
};
export type departments_shortsUncheckedCreateNestedManyWithoutShortsInput = {
    create?: Prisma.XOR<Prisma.departments_shortsCreateWithoutShortsInput, Prisma.departments_shortsUncheckedCreateWithoutShortsInput> | Prisma.departments_shortsCreateWithoutShortsInput[] | Prisma.departments_shortsUncheckedCreateWithoutShortsInput[];
    connectOrCreate?: Prisma.departments_shortsCreateOrConnectWithoutShortsInput | Prisma.departments_shortsCreateOrConnectWithoutShortsInput[];
    createMany?: Prisma.departments_shortsCreateManyShortsInputEnvelope;
    connect?: Prisma.departments_shortsWhereUniqueInput | Prisma.departments_shortsWhereUniqueInput[];
};
export type departments_shortsUpdateManyWithoutShortsNestedInput = {
    create?: Prisma.XOR<Prisma.departments_shortsCreateWithoutShortsInput, Prisma.departments_shortsUncheckedCreateWithoutShortsInput> | Prisma.departments_shortsCreateWithoutShortsInput[] | Prisma.departments_shortsUncheckedCreateWithoutShortsInput[];
    connectOrCreate?: Prisma.departments_shortsCreateOrConnectWithoutShortsInput | Prisma.departments_shortsCreateOrConnectWithoutShortsInput[];
    upsert?: Prisma.departments_shortsUpsertWithWhereUniqueWithoutShortsInput | Prisma.departments_shortsUpsertWithWhereUniqueWithoutShortsInput[];
    createMany?: Prisma.departments_shortsCreateManyShortsInputEnvelope;
    set?: Prisma.departments_shortsWhereUniqueInput | Prisma.departments_shortsWhereUniqueInput[];
    disconnect?: Prisma.departments_shortsWhereUniqueInput | Prisma.departments_shortsWhereUniqueInput[];
    delete?: Prisma.departments_shortsWhereUniqueInput | Prisma.departments_shortsWhereUniqueInput[];
    connect?: Prisma.departments_shortsWhereUniqueInput | Prisma.departments_shortsWhereUniqueInput[];
    update?: Prisma.departments_shortsUpdateWithWhereUniqueWithoutShortsInput | Prisma.departments_shortsUpdateWithWhereUniqueWithoutShortsInput[];
    updateMany?: Prisma.departments_shortsUpdateManyWithWhereWithoutShortsInput | Prisma.departments_shortsUpdateManyWithWhereWithoutShortsInput[];
    deleteMany?: Prisma.departments_shortsScalarWhereInput | Prisma.departments_shortsScalarWhereInput[];
};
export type departments_shortsUncheckedUpdateManyWithoutShortsNestedInput = {
    create?: Prisma.XOR<Prisma.departments_shortsCreateWithoutShortsInput, Prisma.departments_shortsUncheckedCreateWithoutShortsInput> | Prisma.departments_shortsCreateWithoutShortsInput[] | Prisma.departments_shortsUncheckedCreateWithoutShortsInput[];
    connectOrCreate?: Prisma.departments_shortsCreateOrConnectWithoutShortsInput | Prisma.departments_shortsCreateOrConnectWithoutShortsInput[];
    upsert?: Prisma.departments_shortsUpsertWithWhereUniqueWithoutShortsInput | Prisma.departments_shortsUpsertWithWhereUniqueWithoutShortsInput[];
    createMany?: Prisma.departments_shortsCreateManyShortsInputEnvelope;
    set?: Prisma.departments_shortsWhereUniqueInput | Prisma.departments_shortsWhereUniqueInput[];
    disconnect?: Prisma.departments_shortsWhereUniqueInput | Prisma.departments_shortsWhereUniqueInput[];
    delete?: Prisma.departments_shortsWhereUniqueInput | Prisma.departments_shortsWhereUniqueInput[];
    connect?: Prisma.departments_shortsWhereUniqueInput | Prisma.departments_shortsWhereUniqueInput[];
    update?: Prisma.departments_shortsUpdateWithWhereUniqueWithoutShortsInput | Prisma.departments_shortsUpdateWithWhereUniqueWithoutShortsInput[];
    updateMany?: Prisma.departments_shortsUpdateManyWithWhereWithoutShortsInput | Prisma.departments_shortsUpdateManyWithWhereWithoutShortsInput[];
    deleteMany?: Prisma.departments_shortsScalarWhereInput | Prisma.departments_shortsScalarWhereInput[];
};
export type departments_shortsCreateWithoutDepartmentsInput = {
    shorts?: Prisma.shortsCreateNestedOneWithoutDepartments_shortsInput;
};
export type departments_shortsUncheckedCreateWithoutDepartmentsInput = {
    id?: number;
    shorts_id?: number | null;
};
export type departments_shortsCreateOrConnectWithoutDepartmentsInput = {
    where: Prisma.departments_shortsWhereUniqueInput;
    create: Prisma.XOR<Prisma.departments_shortsCreateWithoutDepartmentsInput, Prisma.departments_shortsUncheckedCreateWithoutDepartmentsInput>;
};
export type departments_shortsCreateManyDepartmentsInputEnvelope = {
    data: Prisma.departments_shortsCreateManyDepartmentsInput | Prisma.departments_shortsCreateManyDepartmentsInput[];
    skipDuplicates?: boolean;
};
export type departments_shortsUpsertWithWhereUniqueWithoutDepartmentsInput = {
    where: Prisma.departments_shortsWhereUniqueInput;
    update: Prisma.XOR<Prisma.departments_shortsUpdateWithoutDepartmentsInput, Prisma.departments_shortsUncheckedUpdateWithoutDepartmentsInput>;
    create: Prisma.XOR<Prisma.departments_shortsCreateWithoutDepartmentsInput, Prisma.departments_shortsUncheckedCreateWithoutDepartmentsInput>;
};
export type departments_shortsUpdateWithWhereUniqueWithoutDepartmentsInput = {
    where: Prisma.departments_shortsWhereUniqueInput;
    data: Prisma.XOR<Prisma.departments_shortsUpdateWithoutDepartmentsInput, Prisma.departments_shortsUncheckedUpdateWithoutDepartmentsInput>;
};
export type departments_shortsUpdateManyWithWhereWithoutDepartmentsInput = {
    where: Prisma.departments_shortsScalarWhereInput;
    data: Prisma.XOR<Prisma.departments_shortsUpdateManyMutationInput, Prisma.departments_shortsUncheckedUpdateManyWithoutDepartmentsInput>;
};
export type departments_shortsScalarWhereInput = {
    AND?: Prisma.departments_shortsScalarWhereInput | Prisma.departments_shortsScalarWhereInput[];
    OR?: Prisma.departments_shortsScalarWhereInput[];
    NOT?: Prisma.departments_shortsScalarWhereInput | Prisma.departments_shortsScalarWhereInput[];
    id?: Prisma.IntFilter<"departments_shorts"> | number;
    departments_id?: Prisma.IntNullableFilter<"departments_shorts"> | number | null;
    shorts_id?: Prisma.IntNullableFilter<"departments_shorts"> | number | null;
};
export type departments_shortsCreateWithoutShortsInput = {
    departments?: Prisma.departmentsCreateNestedOneWithoutDepartments_shortsInput;
};
export type departments_shortsUncheckedCreateWithoutShortsInput = {
    id?: number;
    departments_id?: number | null;
};
export type departments_shortsCreateOrConnectWithoutShortsInput = {
    where: Prisma.departments_shortsWhereUniqueInput;
    create: Prisma.XOR<Prisma.departments_shortsCreateWithoutShortsInput, Prisma.departments_shortsUncheckedCreateWithoutShortsInput>;
};
export type departments_shortsCreateManyShortsInputEnvelope = {
    data: Prisma.departments_shortsCreateManyShortsInput | Prisma.departments_shortsCreateManyShortsInput[];
    skipDuplicates?: boolean;
};
export type departments_shortsUpsertWithWhereUniqueWithoutShortsInput = {
    where: Prisma.departments_shortsWhereUniqueInput;
    update: Prisma.XOR<Prisma.departments_shortsUpdateWithoutShortsInput, Prisma.departments_shortsUncheckedUpdateWithoutShortsInput>;
    create: Prisma.XOR<Prisma.departments_shortsCreateWithoutShortsInput, Prisma.departments_shortsUncheckedCreateWithoutShortsInput>;
};
export type departments_shortsUpdateWithWhereUniqueWithoutShortsInput = {
    where: Prisma.departments_shortsWhereUniqueInput;
    data: Prisma.XOR<Prisma.departments_shortsUpdateWithoutShortsInput, Prisma.departments_shortsUncheckedUpdateWithoutShortsInput>;
};
export type departments_shortsUpdateManyWithWhereWithoutShortsInput = {
    where: Prisma.departments_shortsScalarWhereInput;
    data: Prisma.XOR<Prisma.departments_shortsUpdateManyMutationInput, Prisma.departments_shortsUncheckedUpdateManyWithoutShortsInput>;
};
export type departments_shortsCreateManyDepartmentsInput = {
    id?: number;
    shorts_id?: number | null;
};
export type departments_shortsUpdateWithoutDepartmentsInput = {
    shorts?: Prisma.shortsUpdateOneWithoutDepartments_shortsNestedInput;
};
export type departments_shortsUncheckedUpdateWithoutDepartmentsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    shorts_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type departments_shortsUncheckedUpdateManyWithoutDepartmentsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    shorts_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type departments_shortsCreateManyShortsInput = {
    id?: number;
    departments_id?: number | null;
};
export type departments_shortsUpdateWithoutShortsInput = {
    departments?: Prisma.departmentsUpdateOneWithoutDepartments_shortsNestedInput;
};
export type departments_shortsUncheckedUpdateWithoutShortsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    departments_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type departments_shortsUncheckedUpdateManyWithoutShortsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    departments_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type departments_shortsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    departments_id?: boolean;
    shorts_id?: boolean;
    departments?: boolean | Prisma.departments_shorts$departmentsArgs<ExtArgs>;
    shorts?: boolean | Prisma.departments_shorts$shortsArgs<ExtArgs>;
}, ExtArgs["result"]["departments_shorts"]>;
export type departments_shortsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    departments_id?: boolean;
    shorts_id?: boolean;
    departments?: boolean | Prisma.departments_shorts$departmentsArgs<ExtArgs>;
    shorts?: boolean | Prisma.departments_shorts$shortsArgs<ExtArgs>;
}, ExtArgs["result"]["departments_shorts"]>;
export type departments_shortsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    departments_id?: boolean;
    shorts_id?: boolean;
    departments?: boolean | Prisma.departments_shorts$departmentsArgs<ExtArgs>;
    shorts?: boolean | Prisma.departments_shorts$shortsArgs<ExtArgs>;
}, ExtArgs["result"]["departments_shorts"]>;
export type departments_shortsSelectScalar = {
    id?: boolean;
    departments_id?: boolean;
    shorts_id?: boolean;
};
export type departments_shortsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "departments_id" | "shorts_id", ExtArgs["result"]["departments_shorts"]>;
export type departments_shortsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    departments?: boolean | Prisma.departments_shorts$departmentsArgs<ExtArgs>;
    shorts?: boolean | Prisma.departments_shorts$shortsArgs<ExtArgs>;
};
export type departments_shortsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    departments?: boolean | Prisma.departments_shorts$departmentsArgs<ExtArgs>;
    shorts?: boolean | Prisma.departments_shorts$shortsArgs<ExtArgs>;
};
export type departments_shortsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    departments?: boolean | Prisma.departments_shorts$departmentsArgs<ExtArgs>;
    shorts?: boolean | Prisma.departments_shorts$shortsArgs<ExtArgs>;
};
export type $departments_shortsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "departments_shorts";
    objects: {
        departments: Prisma.$departmentsPayload<ExtArgs> | null;
        shorts: Prisma.$shortsPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        departments_id: number | null;
        shorts_id: number | null;
    }, ExtArgs["result"]["departments_shorts"]>;
    composites: {};
};
export type departments_shortsGetPayload<S extends boolean | null | undefined | departments_shortsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$departments_shortsPayload, S>;
export type departments_shortsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<departments_shortsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Departments_shortsCountAggregateInputType | true;
};
export interface departments_shortsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['departments_shorts'];
        meta: {
            name: 'departments_shorts';
        };
    };
    /**
     * Find zero or one Departments_shorts that matches the filter.
     * @param {departments_shortsFindUniqueArgs} args - Arguments to find a Departments_shorts
     * @example
     * // Get one Departments_shorts
     * const departments_shorts = await prisma.departments_shorts.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends departments_shortsFindUniqueArgs>(args: Prisma.SelectSubset<T, departments_shortsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__departments_shortsClient<runtime.Types.Result.GetResult<Prisma.$departments_shortsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Departments_shorts that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {departments_shortsFindUniqueOrThrowArgs} args - Arguments to find a Departments_shorts
     * @example
     * // Get one Departments_shorts
     * const departments_shorts = await prisma.departments_shorts.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends departments_shortsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, departments_shortsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__departments_shortsClient<runtime.Types.Result.GetResult<Prisma.$departments_shortsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Departments_shorts 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 {departments_shortsFindFirstArgs} args - Arguments to find a Departments_shorts
     * @example
     * // Get one Departments_shorts
     * const departments_shorts = await prisma.departments_shorts.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends departments_shortsFindFirstArgs>(args?: Prisma.SelectSubset<T, departments_shortsFindFirstArgs<ExtArgs>>): Prisma.Prisma__departments_shortsClient<runtime.Types.Result.GetResult<Prisma.$departments_shortsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Departments_shorts 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 {departments_shortsFindFirstOrThrowArgs} args - Arguments to find a Departments_shorts
     * @example
     * // Get one Departments_shorts
     * const departments_shorts = await prisma.departments_shorts.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends departments_shortsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, departments_shortsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__departments_shortsClient<runtime.Types.Result.GetResult<Prisma.$departments_shortsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Departments_shorts 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 {departments_shortsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Departments_shorts
     * const departments_shorts = await prisma.departments_shorts.findMany()
     *
     * // Get first 10 Departments_shorts
     * const departments_shorts = await prisma.departments_shorts.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const departments_shortsWithIdOnly = await prisma.departments_shorts.findMany({ select: { id: true } })
     *
     */
    findMany<T extends departments_shortsFindManyArgs>(args?: Prisma.SelectSubset<T, departments_shortsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$departments_shortsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Departments_shorts.
     * @param {departments_shortsCreateArgs} args - Arguments to create a Departments_shorts.
     * @example
     * // Create one Departments_shorts
     * const Departments_shorts = await prisma.departments_shorts.create({
     *   data: {
     *     // ... data to create a Departments_shorts
     *   }
     * })
     *
     */
    create<T extends departments_shortsCreateArgs>(args: Prisma.SelectSubset<T, departments_shortsCreateArgs<ExtArgs>>): Prisma.Prisma__departments_shortsClient<runtime.Types.Result.GetResult<Prisma.$departments_shortsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Departments_shorts.
     * @param {departments_shortsCreateManyArgs} args - Arguments to create many Departments_shorts.
     * @example
     * // Create many Departments_shorts
     * const departments_shorts = await prisma.departments_shorts.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends departments_shortsCreateManyArgs>(args?: Prisma.SelectSubset<T, departments_shortsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Departments_shorts and returns the data saved in the database.
     * @param {departments_shortsCreateManyAndReturnArgs} args - Arguments to create many Departments_shorts.
     * @example
     * // Create many Departments_shorts
     * const departments_shorts = await prisma.departments_shorts.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Departments_shorts and only return the `id`
     * const departments_shortsWithIdOnly = await prisma.departments_shorts.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 departments_shortsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, departments_shortsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$departments_shortsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Departments_shorts.
     * @param {departments_shortsDeleteArgs} args - Arguments to delete one Departments_shorts.
     * @example
     * // Delete one Departments_shorts
     * const Departments_shorts = await prisma.departments_shorts.delete({
     *   where: {
     *     // ... filter to delete one Departments_shorts
     *   }
     * })
     *
     */
    delete<T extends departments_shortsDeleteArgs>(args: Prisma.SelectSubset<T, departments_shortsDeleteArgs<ExtArgs>>): Prisma.Prisma__departments_shortsClient<runtime.Types.Result.GetResult<Prisma.$departments_shortsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Departments_shorts.
     * @param {departments_shortsUpdateArgs} args - Arguments to update one Departments_shorts.
     * @example
     * // Update one Departments_shorts
     * const departments_shorts = await prisma.departments_shorts.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends departments_shortsUpdateArgs>(args: Prisma.SelectSubset<T, departments_shortsUpdateArgs<ExtArgs>>): Prisma.Prisma__departments_shortsClient<runtime.Types.Result.GetResult<Prisma.$departments_shortsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Departments_shorts.
     * @param {departments_shortsDeleteManyArgs} args - Arguments to filter Departments_shorts to delete.
     * @example
     * // Delete a few Departments_shorts
     * const { count } = await prisma.departments_shorts.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends departments_shortsDeleteManyArgs>(args?: Prisma.SelectSubset<T, departments_shortsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Departments_shorts.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {departments_shortsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Departments_shorts
     * const departments_shorts = await prisma.departments_shorts.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends departments_shortsUpdateManyArgs>(args: Prisma.SelectSubset<T, departments_shortsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Departments_shorts and returns the data updated in the database.
     * @param {departments_shortsUpdateManyAndReturnArgs} args - Arguments to update many Departments_shorts.
     * @example
     * // Update many Departments_shorts
     * const departments_shorts = await prisma.departments_shorts.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Departments_shorts and only return the `id`
     * const departments_shortsWithIdOnly = await prisma.departments_shorts.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 departments_shortsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, departments_shortsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$departments_shortsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Departments_shorts.
     * @param {departments_shortsUpsertArgs} args - Arguments to update or create a Departments_shorts.
     * @example
     * // Update or create a Departments_shorts
     * const departments_shorts = await prisma.departments_shorts.upsert({
     *   create: {
     *     // ... data to create a Departments_shorts
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Departments_shorts we want to update
     *   }
     * })
     */
    upsert<T extends departments_shortsUpsertArgs>(args: Prisma.SelectSubset<T, departments_shortsUpsertArgs<ExtArgs>>): Prisma.Prisma__departments_shortsClient<runtime.Types.Result.GetResult<Prisma.$departments_shortsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Departments_shorts.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {departments_shortsCountArgs} args - Arguments to filter Departments_shorts to count.
     * @example
     * // Count the number of Departments_shorts
     * const count = await prisma.departments_shorts.count({
     *   where: {
     *     // ... the filter for the Departments_shorts we want to count
     *   }
     * })
    **/
    count<T extends departments_shortsCountArgs>(args?: Prisma.Subset<T, departments_shortsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Departments_shortsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Departments_shorts.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Departments_shortsAggregateArgs} 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 Departments_shortsAggregateArgs>(args: Prisma.Subset<T, Departments_shortsAggregateArgs>): Prisma.PrismaPromise<GetDepartments_shortsAggregateType<T>>;
    /**
     * Group by Departments_shorts.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {departments_shortsGroupByArgs} 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 departments_shortsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: departments_shortsGroupByArgs['orderBy'];
    } : {
        orderBy?: departments_shortsGroupByArgs['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, departments_shortsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDepartments_shortsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the departments_shorts model
     */
    readonly fields: departments_shortsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for departments_shorts.
 * 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__departments_shortsClient<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.departments_shorts$departmentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.departments_shorts$departmentsArgs<ExtArgs>>): Prisma.Prisma__departmentsClient<runtime.Types.Result.GetResult<Prisma.$departmentsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    shorts<T extends Prisma.departments_shorts$shortsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.departments_shorts$shortsArgs<ExtArgs>>): Prisma.Prisma__shortsClient<runtime.Types.Result.GetResult<Prisma.$shortsPayload<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 departments_shorts model
 */
export interface departments_shortsFieldRefs {
    readonly id: Prisma.FieldRef<"departments_shorts", 'Int'>;
    readonly departments_id: Prisma.FieldRef<"departments_shorts", 'Int'>;
    readonly shorts_id: Prisma.FieldRef<"departments_shorts", 'Int'>;
}
/**
 * departments_shorts findUnique
 */
export type departments_shortsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the departments_shorts
     */
    select?: Prisma.departments_shortsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the departments_shorts
     */
    omit?: Prisma.departments_shortsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.departments_shortsInclude<ExtArgs> | null;
    /**
     * Filter, which departments_shorts to fetch.
     */
    where: Prisma.departments_shortsWhereUniqueInput;
};
/**
 * departments_shorts findUniqueOrThrow
 */
export type departments_shortsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the departments_shorts
     */
    select?: Prisma.departments_shortsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the departments_shorts
     */
    omit?: Prisma.departments_shortsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.departments_shortsInclude<ExtArgs> | null;
    /**
     * Filter, which departments_shorts to fetch.
     */
    where: Prisma.departments_shortsWhereUniqueInput;
};
/**
 * departments_shorts findFirst
 */
export type departments_shortsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the departments_shorts
     */
    select?: Prisma.departments_shortsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the departments_shorts
     */
    omit?: Prisma.departments_shortsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.departments_shortsInclude<ExtArgs> | null;
    /**
     * Filter, which departments_shorts to fetch.
     */
    where?: Prisma.departments_shortsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of departments_shorts to fetch.
     */
    orderBy?: Prisma.departments_shortsOrderByWithRelationInput | Prisma.departments_shortsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for departments_shorts.
     */
    cursor?: Prisma.departments_shortsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` departments_shorts 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` departments_shorts.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of departments_shorts.
     */
    distinct?: Prisma.Departments_shortsScalarFieldEnum | Prisma.Departments_shortsScalarFieldEnum[];
};
/**
 * departments_shorts findFirstOrThrow
 */
export type departments_shortsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the departments_shorts
     */
    select?: Prisma.departments_shortsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the departments_shorts
     */
    omit?: Prisma.departments_shortsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.departments_shortsInclude<ExtArgs> | null;
    /**
     * Filter, which departments_shorts to fetch.
     */
    where?: Prisma.departments_shortsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of departments_shorts to fetch.
     */
    orderBy?: Prisma.departments_shortsOrderByWithRelationInput | Prisma.departments_shortsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for departments_shorts.
     */
    cursor?: Prisma.departments_shortsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` departments_shorts 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` departments_shorts.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of departments_shorts.
     */
    distinct?: Prisma.Departments_shortsScalarFieldEnum | Prisma.Departments_shortsScalarFieldEnum[];
};
/**
 * departments_shorts findMany
 */
export type departments_shortsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the departments_shorts
     */
    select?: Prisma.departments_shortsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the departments_shorts
     */
    omit?: Prisma.departments_shortsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.departments_shortsInclude<ExtArgs> | null;
    /**
     * Filter, which departments_shorts to fetch.
     */
    where?: Prisma.departments_shortsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of departments_shorts to fetch.
     */
    orderBy?: Prisma.departments_shortsOrderByWithRelationInput | Prisma.departments_shortsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing departments_shorts.
     */
    cursor?: Prisma.departments_shortsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` departments_shorts 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` departments_shorts.
     */
    skip?: number;
    distinct?: Prisma.Departments_shortsScalarFieldEnum | Prisma.Departments_shortsScalarFieldEnum[];
};
/**
 * departments_shorts create
 */
export type departments_shortsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the departments_shorts
     */
    select?: Prisma.departments_shortsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the departments_shorts
     */
    omit?: Prisma.departments_shortsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.departments_shortsInclude<ExtArgs> | null;
    /**
     * The data needed to create a departments_shorts.
     */
    data?: Prisma.XOR<Prisma.departments_shortsCreateInput, Prisma.departments_shortsUncheckedCreateInput>;
};
/**
 * departments_shorts createMany
 */
export type departments_shortsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many departments_shorts.
     */
    data: Prisma.departments_shortsCreateManyInput | Prisma.departments_shortsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * departments_shorts createManyAndReturn
 */
export type departments_shortsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the departments_shorts
     */
    select?: Prisma.departments_shortsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the departments_shorts
     */
    omit?: Prisma.departments_shortsOmit<ExtArgs> | null;
    /**
     * The data used to create many departments_shorts.
     */
    data: Prisma.departments_shortsCreateManyInput | Prisma.departments_shortsCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.departments_shortsIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * departments_shorts update
 */
export type departments_shortsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the departments_shorts
     */
    select?: Prisma.departments_shortsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the departments_shorts
     */
    omit?: Prisma.departments_shortsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.departments_shortsInclude<ExtArgs> | null;
    /**
     * The data needed to update a departments_shorts.
     */
    data: Prisma.XOR<Prisma.departments_shortsUpdateInput, Prisma.departments_shortsUncheckedUpdateInput>;
    /**
     * Choose, which departments_shorts to update.
     */
    where: Prisma.departments_shortsWhereUniqueInput;
};
/**
 * departments_shorts updateMany
 */
export type departments_shortsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update departments_shorts.
     */
    data: Prisma.XOR<Prisma.departments_shortsUpdateManyMutationInput, Prisma.departments_shortsUncheckedUpdateManyInput>;
    /**
     * Filter which departments_shorts to update
     */
    where?: Prisma.departments_shortsWhereInput;
    /**
     * Limit how many departments_shorts to update.
     */
    limit?: number;
};
/**
 * departments_shorts updateManyAndReturn
 */
export type departments_shortsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the departments_shorts
     */
    select?: Prisma.departments_shortsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the departments_shorts
     */
    omit?: Prisma.departments_shortsOmit<ExtArgs> | null;
    /**
     * The data used to update departments_shorts.
     */
    data: Prisma.XOR<Prisma.departments_shortsUpdateManyMutationInput, Prisma.departments_shortsUncheckedUpdateManyInput>;
    /**
     * Filter which departments_shorts to update
     */
    where?: Prisma.departments_shortsWhereInput;
    /**
     * Limit how many departments_shorts to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.departments_shortsIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * departments_shorts upsert
 */
export type departments_shortsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the departments_shorts
     */
    select?: Prisma.departments_shortsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the departments_shorts
     */
    omit?: Prisma.departments_shortsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.departments_shortsInclude<ExtArgs> | null;
    /**
     * The filter to search for the departments_shorts to update in case it exists.
     */
    where: Prisma.departments_shortsWhereUniqueInput;
    /**
     * In case the departments_shorts found by the `where` argument doesn't exist, create a new departments_shorts with this data.
     */
    create: Prisma.XOR<Prisma.departments_shortsCreateInput, Prisma.departments_shortsUncheckedCreateInput>;
    /**
     * In case the departments_shorts was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.departments_shortsUpdateInput, Prisma.departments_shortsUncheckedUpdateInput>;
};
/**
 * departments_shorts delete
 */
export type departments_shortsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the departments_shorts
     */
    select?: Prisma.departments_shortsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the departments_shorts
     */
    omit?: Prisma.departments_shortsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.departments_shortsInclude<ExtArgs> | null;
    /**
     * Filter which departments_shorts to delete.
     */
    where: Prisma.departments_shortsWhereUniqueInput;
};
/**
 * departments_shorts deleteMany
 */
export type departments_shortsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which departments_shorts to delete
     */
    where?: Prisma.departments_shortsWhereInput;
    /**
     * Limit how many departments_shorts to delete.
     */
    limit?: number;
};
/**
 * departments_shorts.departments
 */
export type departments_shorts$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;
};
/**
 * departments_shorts.shorts
 */
export type departments_shorts$shortsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shorts
     */
    select?: Prisma.shortsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shorts
     */
    omit?: Prisma.shortsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shortsInclude<ExtArgs> | null;
    where?: Prisma.shortsWhereInput;
};
/**
 * departments_shorts without action
 */
export type departments_shortsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the departments_shorts
     */
    select?: Prisma.departments_shortsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the departments_shorts
     */
    omit?: Prisma.departments_shortsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.departments_shortsInclude<ExtArgs> | null;
};
export {};
