import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model videos_categories
 * 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 videos_categoriesModel = runtime.Types.Result.DefaultSelection<Prisma.$videos_categoriesPayload>;
export type AggregateVideos_categories = {
    _count: Videos_categoriesCountAggregateOutputType | null;
    _avg: Videos_categoriesAvgAggregateOutputType | null;
    _sum: Videos_categoriesSumAggregateOutputType | null;
    _min: Videos_categoriesMinAggregateOutputType | null;
    _max: Videos_categoriesMaxAggregateOutputType | null;
};
export type Videos_categoriesAvgAggregateOutputType = {
    id: number | null;
    videos_id: number | null;
    categories_id: number | null;
};
export type Videos_categoriesSumAggregateOutputType = {
    id: number | null;
    videos_id: number | null;
    categories_id: number | null;
};
export type Videos_categoriesMinAggregateOutputType = {
    id: number | null;
    videos_id: number | null;
    categories_id: number | null;
};
export type Videos_categoriesMaxAggregateOutputType = {
    id: number | null;
    videos_id: number | null;
    categories_id: number | null;
};
export type Videos_categoriesCountAggregateOutputType = {
    id: number;
    videos_id: number;
    categories_id: number;
    _all: number;
};
export type Videos_categoriesAvgAggregateInputType = {
    id?: true;
    videos_id?: true;
    categories_id?: true;
};
export type Videos_categoriesSumAggregateInputType = {
    id?: true;
    videos_id?: true;
    categories_id?: true;
};
export type Videos_categoriesMinAggregateInputType = {
    id?: true;
    videos_id?: true;
    categories_id?: true;
};
export type Videos_categoriesMaxAggregateInputType = {
    id?: true;
    videos_id?: true;
    categories_id?: true;
};
export type Videos_categoriesCountAggregateInputType = {
    id?: true;
    videos_id?: true;
    categories_id?: true;
    _all?: true;
};
export type Videos_categoriesAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which videos_categories to aggregate.
     */
    where?: Prisma.videos_categoriesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of videos_categories to fetch.
     */
    orderBy?: Prisma.videos_categoriesOrderByWithRelationInput | Prisma.videos_categoriesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.videos_categoriesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` videos_categories 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` videos_categories.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned videos_categories
    **/
    _count?: true | Videos_categoriesCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Videos_categoriesAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Videos_categoriesSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Videos_categoriesMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Videos_categoriesMaxAggregateInputType;
};
export type GetVideos_categoriesAggregateType<T extends Videos_categoriesAggregateArgs> = {
    [P in keyof T & keyof AggregateVideos_categories]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateVideos_categories[P]> : Prisma.GetScalarType<T[P], AggregateVideos_categories[P]>;
};
export type videos_categoriesGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.videos_categoriesWhereInput;
    orderBy?: Prisma.videos_categoriesOrderByWithAggregationInput | Prisma.videos_categoriesOrderByWithAggregationInput[];
    by: Prisma.Videos_categoriesScalarFieldEnum[] | Prisma.Videos_categoriesScalarFieldEnum;
    having?: Prisma.videos_categoriesScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Videos_categoriesCountAggregateInputType | true;
    _avg?: Videos_categoriesAvgAggregateInputType;
    _sum?: Videos_categoriesSumAggregateInputType;
    _min?: Videos_categoriesMinAggregateInputType;
    _max?: Videos_categoriesMaxAggregateInputType;
};
export type Videos_categoriesGroupByOutputType = {
    id: number;
    videos_id: number | null;
    categories_id: number | null;
    _count: Videos_categoriesCountAggregateOutputType | null;
    _avg: Videos_categoriesAvgAggregateOutputType | null;
    _sum: Videos_categoriesSumAggregateOutputType | null;
    _min: Videos_categoriesMinAggregateOutputType | null;
    _max: Videos_categoriesMaxAggregateOutputType | null;
};
type GetVideos_categoriesGroupByPayload<T extends videos_categoriesGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Videos_categoriesGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Videos_categoriesGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Videos_categoriesGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Videos_categoriesGroupByOutputType[P]>;
}>>;
export type videos_categoriesWhereInput = {
    AND?: Prisma.videos_categoriesWhereInput | Prisma.videos_categoriesWhereInput[];
    OR?: Prisma.videos_categoriesWhereInput[];
    NOT?: Prisma.videos_categoriesWhereInput | Prisma.videos_categoriesWhereInput[];
    id?: Prisma.IntFilter<"videos_categories"> | number;
    videos_id?: Prisma.IntNullableFilter<"videos_categories"> | number | null;
    categories_id?: Prisma.IntNullableFilter<"videos_categories"> | number | null;
    categories?: Prisma.XOR<Prisma.CategoriesNullableScalarRelationFilter, Prisma.categoriesWhereInput> | null;
    videos?: Prisma.XOR<Prisma.VideosNullableScalarRelationFilter, Prisma.videosWhereInput> | null;
};
export type videos_categoriesOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    videos_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    categories_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    categories?: Prisma.categoriesOrderByWithRelationInput;
    videos?: Prisma.videosOrderByWithRelationInput;
};
export type videos_categoriesWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.videos_categoriesWhereInput | Prisma.videos_categoriesWhereInput[];
    OR?: Prisma.videos_categoriesWhereInput[];
    NOT?: Prisma.videos_categoriesWhereInput | Prisma.videos_categoriesWhereInput[];
    videos_id?: Prisma.IntNullableFilter<"videos_categories"> | number | null;
    categories_id?: Prisma.IntNullableFilter<"videos_categories"> | number | null;
    categories?: Prisma.XOR<Prisma.CategoriesNullableScalarRelationFilter, Prisma.categoriesWhereInput> | null;
    videos?: Prisma.XOR<Prisma.VideosNullableScalarRelationFilter, Prisma.videosWhereInput> | null;
}, "id">;
export type videos_categoriesOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    videos_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    categories_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.videos_categoriesCountOrderByAggregateInput;
    _avg?: Prisma.videos_categoriesAvgOrderByAggregateInput;
    _max?: Prisma.videos_categoriesMaxOrderByAggregateInput;
    _min?: Prisma.videos_categoriesMinOrderByAggregateInput;
    _sum?: Prisma.videos_categoriesSumOrderByAggregateInput;
};
export type videos_categoriesScalarWhereWithAggregatesInput = {
    AND?: Prisma.videos_categoriesScalarWhereWithAggregatesInput | Prisma.videos_categoriesScalarWhereWithAggregatesInput[];
    OR?: Prisma.videos_categoriesScalarWhereWithAggregatesInput[];
    NOT?: Prisma.videos_categoriesScalarWhereWithAggregatesInput | Prisma.videos_categoriesScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"videos_categories"> | number;
    videos_id?: Prisma.IntNullableWithAggregatesFilter<"videos_categories"> | number | null;
    categories_id?: Prisma.IntNullableWithAggregatesFilter<"videos_categories"> | number | null;
};
export type videos_categoriesCreateInput = {
    categories?: Prisma.categoriesCreateNestedOneWithoutVideos_categoriesInput;
    videos?: Prisma.videosCreateNestedOneWithoutVideos_categoriesInput;
};
export type videos_categoriesUncheckedCreateInput = {
    id?: number;
    videos_id?: number | null;
    categories_id?: number | null;
};
export type videos_categoriesUpdateInput = {
    categories?: Prisma.categoriesUpdateOneWithoutVideos_categoriesNestedInput;
    videos?: Prisma.videosUpdateOneWithoutVideos_categoriesNestedInput;
};
export type videos_categoriesUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    videos_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    categories_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type videos_categoriesCreateManyInput = {
    id?: number;
    videos_id?: number | null;
    categories_id?: number | null;
};
export type videos_categoriesUpdateManyMutationInput = {};
export type videos_categoriesUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    videos_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    categories_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type Videos_categoriesListRelationFilter = {
    every?: Prisma.videos_categoriesWhereInput;
    some?: Prisma.videos_categoriesWhereInput;
    none?: Prisma.videos_categoriesWhereInput;
};
export type videos_categoriesOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type videos_categoriesCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    videos_id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
};
export type videos_categoriesAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    videos_id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
};
export type videos_categoriesMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    videos_id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
};
export type videos_categoriesMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    videos_id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
};
export type videos_categoriesSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    videos_id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
};
export type videos_categoriesCreateNestedManyWithoutCategoriesInput = {
    create?: Prisma.XOR<Prisma.videos_categoriesCreateWithoutCategoriesInput, Prisma.videos_categoriesUncheckedCreateWithoutCategoriesInput> | Prisma.videos_categoriesCreateWithoutCategoriesInput[] | Prisma.videos_categoriesUncheckedCreateWithoutCategoriesInput[];
    connectOrCreate?: Prisma.videos_categoriesCreateOrConnectWithoutCategoriesInput | Prisma.videos_categoriesCreateOrConnectWithoutCategoriesInput[];
    createMany?: Prisma.videos_categoriesCreateManyCategoriesInputEnvelope;
    connect?: Prisma.videos_categoriesWhereUniqueInput | Prisma.videos_categoriesWhereUniqueInput[];
};
export type videos_categoriesUncheckedCreateNestedManyWithoutCategoriesInput = {
    create?: Prisma.XOR<Prisma.videos_categoriesCreateWithoutCategoriesInput, Prisma.videos_categoriesUncheckedCreateWithoutCategoriesInput> | Prisma.videos_categoriesCreateWithoutCategoriesInput[] | Prisma.videos_categoriesUncheckedCreateWithoutCategoriesInput[];
    connectOrCreate?: Prisma.videos_categoriesCreateOrConnectWithoutCategoriesInput | Prisma.videos_categoriesCreateOrConnectWithoutCategoriesInput[];
    createMany?: Prisma.videos_categoriesCreateManyCategoriesInputEnvelope;
    connect?: Prisma.videos_categoriesWhereUniqueInput | Prisma.videos_categoriesWhereUniqueInput[];
};
export type videos_categoriesUpdateManyWithoutCategoriesNestedInput = {
    create?: Prisma.XOR<Prisma.videos_categoriesCreateWithoutCategoriesInput, Prisma.videos_categoriesUncheckedCreateWithoutCategoriesInput> | Prisma.videos_categoriesCreateWithoutCategoriesInput[] | Prisma.videos_categoriesUncheckedCreateWithoutCategoriesInput[];
    connectOrCreate?: Prisma.videos_categoriesCreateOrConnectWithoutCategoriesInput | Prisma.videos_categoriesCreateOrConnectWithoutCategoriesInput[];
    upsert?: Prisma.videos_categoriesUpsertWithWhereUniqueWithoutCategoriesInput | Prisma.videos_categoriesUpsertWithWhereUniqueWithoutCategoriesInput[];
    createMany?: Prisma.videos_categoriesCreateManyCategoriesInputEnvelope;
    set?: Prisma.videos_categoriesWhereUniqueInput | Prisma.videos_categoriesWhereUniqueInput[];
    disconnect?: Prisma.videos_categoriesWhereUniqueInput | Prisma.videos_categoriesWhereUniqueInput[];
    delete?: Prisma.videos_categoriesWhereUniqueInput | Prisma.videos_categoriesWhereUniqueInput[];
    connect?: Prisma.videos_categoriesWhereUniqueInput | Prisma.videos_categoriesWhereUniqueInput[];
    update?: Prisma.videos_categoriesUpdateWithWhereUniqueWithoutCategoriesInput | Prisma.videos_categoriesUpdateWithWhereUniqueWithoutCategoriesInput[];
    updateMany?: Prisma.videos_categoriesUpdateManyWithWhereWithoutCategoriesInput | Prisma.videos_categoriesUpdateManyWithWhereWithoutCategoriesInput[];
    deleteMany?: Prisma.videos_categoriesScalarWhereInput | Prisma.videos_categoriesScalarWhereInput[];
};
export type videos_categoriesUncheckedUpdateManyWithoutCategoriesNestedInput = {
    create?: Prisma.XOR<Prisma.videos_categoriesCreateWithoutCategoriesInput, Prisma.videos_categoriesUncheckedCreateWithoutCategoriesInput> | Prisma.videos_categoriesCreateWithoutCategoriesInput[] | Prisma.videos_categoriesUncheckedCreateWithoutCategoriesInput[];
    connectOrCreate?: Prisma.videos_categoriesCreateOrConnectWithoutCategoriesInput | Prisma.videos_categoriesCreateOrConnectWithoutCategoriesInput[];
    upsert?: Prisma.videos_categoriesUpsertWithWhereUniqueWithoutCategoriesInput | Prisma.videos_categoriesUpsertWithWhereUniqueWithoutCategoriesInput[];
    createMany?: Prisma.videos_categoriesCreateManyCategoriesInputEnvelope;
    set?: Prisma.videos_categoriesWhereUniqueInput | Prisma.videos_categoriesWhereUniqueInput[];
    disconnect?: Prisma.videos_categoriesWhereUniqueInput | Prisma.videos_categoriesWhereUniqueInput[];
    delete?: Prisma.videos_categoriesWhereUniqueInput | Prisma.videos_categoriesWhereUniqueInput[];
    connect?: Prisma.videos_categoriesWhereUniqueInput | Prisma.videos_categoriesWhereUniqueInput[];
    update?: Prisma.videos_categoriesUpdateWithWhereUniqueWithoutCategoriesInput | Prisma.videos_categoriesUpdateWithWhereUniqueWithoutCategoriesInput[];
    updateMany?: Prisma.videos_categoriesUpdateManyWithWhereWithoutCategoriesInput | Prisma.videos_categoriesUpdateManyWithWhereWithoutCategoriesInput[];
    deleteMany?: Prisma.videos_categoriesScalarWhereInput | Prisma.videos_categoriesScalarWhereInput[];
};
export type videos_categoriesCreateNestedManyWithoutVideosInput = {
    create?: Prisma.XOR<Prisma.videos_categoriesCreateWithoutVideosInput, Prisma.videos_categoriesUncheckedCreateWithoutVideosInput> | Prisma.videos_categoriesCreateWithoutVideosInput[] | Prisma.videos_categoriesUncheckedCreateWithoutVideosInput[];
    connectOrCreate?: Prisma.videos_categoriesCreateOrConnectWithoutVideosInput | Prisma.videos_categoriesCreateOrConnectWithoutVideosInput[];
    createMany?: Prisma.videos_categoriesCreateManyVideosInputEnvelope;
    connect?: Prisma.videos_categoriesWhereUniqueInput | Prisma.videos_categoriesWhereUniqueInput[];
};
export type videos_categoriesUncheckedCreateNestedManyWithoutVideosInput = {
    create?: Prisma.XOR<Prisma.videos_categoriesCreateWithoutVideosInput, Prisma.videos_categoriesUncheckedCreateWithoutVideosInput> | Prisma.videos_categoriesCreateWithoutVideosInput[] | Prisma.videos_categoriesUncheckedCreateWithoutVideosInput[];
    connectOrCreate?: Prisma.videos_categoriesCreateOrConnectWithoutVideosInput | Prisma.videos_categoriesCreateOrConnectWithoutVideosInput[];
    createMany?: Prisma.videos_categoriesCreateManyVideosInputEnvelope;
    connect?: Prisma.videos_categoriesWhereUniqueInput | Prisma.videos_categoriesWhereUniqueInput[];
};
export type videos_categoriesUpdateManyWithoutVideosNestedInput = {
    create?: Prisma.XOR<Prisma.videos_categoriesCreateWithoutVideosInput, Prisma.videos_categoriesUncheckedCreateWithoutVideosInput> | Prisma.videos_categoriesCreateWithoutVideosInput[] | Prisma.videos_categoriesUncheckedCreateWithoutVideosInput[];
    connectOrCreate?: Prisma.videos_categoriesCreateOrConnectWithoutVideosInput | Prisma.videos_categoriesCreateOrConnectWithoutVideosInput[];
    upsert?: Prisma.videos_categoriesUpsertWithWhereUniqueWithoutVideosInput | Prisma.videos_categoriesUpsertWithWhereUniqueWithoutVideosInput[];
    createMany?: Prisma.videos_categoriesCreateManyVideosInputEnvelope;
    set?: Prisma.videos_categoriesWhereUniqueInput | Prisma.videos_categoriesWhereUniqueInput[];
    disconnect?: Prisma.videos_categoriesWhereUniqueInput | Prisma.videos_categoriesWhereUniqueInput[];
    delete?: Prisma.videos_categoriesWhereUniqueInput | Prisma.videos_categoriesWhereUniqueInput[];
    connect?: Prisma.videos_categoriesWhereUniqueInput | Prisma.videos_categoriesWhereUniqueInput[];
    update?: Prisma.videos_categoriesUpdateWithWhereUniqueWithoutVideosInput | Prisma.videos_categoriesUpdateWithWhereUniqueWithoutVideosInput[];
    updateMany?: Prisma.videos_categoriesUpdateManyWithWhereWithoutVideosInput | Prisma.videos_categoriesUpdateManyWithWhereWithoutVideosInput[];
    deleteMany?: Prisma.videos_categoriesScalarWhereInput | Prisma.videos_categoriesScalarWhereInput[];
};
export type videos_categoriesUncheckedUpdateManyWithoutVideosNestedInput = {
    create?: Prisma.XOR<Prisma.videos_categoriesCreateWithoutVideosInput, Prisma.videos_categoriesUncheckedCreateWithoutVideosInput> | Prisma.videos_categoriesCreateWithoutVideosInput[] | Prisma.videos_categoriesUncheckedCreateWithoutVideosInput[];
    connectOrCreate?: Prisma.videos_categoriesCreateOrConnectWithoutVideosInput | Prisma.videos_categoriesCreateOrConnectWithoutVideosInput[];
    upsert?: Prisma.videos_categoriesUpsertWithWhereUniqueWithoutVideosInput | Prisma.videos_categoriesUpsertWithWhereUniqueWithoutVideosInput[];
    createMany?: Prisma.videos_categoriesCreateManyVideosInputEnvelope;
    set?: Prisma.videos_categoriesWhereUniqueInput | Prisma.videos_categoriesWhereUniqueInput[];
    disconnect?: Prisma.videos_categoriesWhereUniqueInput | Prisma.videos_categoriesWhereUniqueInput[];
    delete?: Prisma.videos_categoriesWhereUniqueInput | Prisma.videos_categoriesWhereUniqueInput[];
    connect?: Prisma.videos_categoriesWhereUniqueInput | Prisma.videos_categoriesWhereUniqueInput[];
    update?: Prisma.videos_categoriesUpdateWithWhereUniqueWithoutVideosInput | Prisma.videos_categoriesUpdateWithWhereUniqueWithoutVideosInput[];
    updateMany?: Prisma.videos_categoriesUpdateManyWithWhereWithoutVideosInput | Prisma.videos_categoriesUpdateManyWithWhereWithoutVideosInput[];
    deleteMany?: Prisma.videos_categoriesScalarWhereInput | Prisma.videos_categoriesScalarWhereInput[];
};
export type videos_categoriesCreateWithoutCategoriesInput = {
    videos?: Prisma.videosCreateNestedOneWithoutVideos_categoriesInput;
};
export type videos_categoriesUncheckedCreateWithoutCategoriesInput = {
    id?: number;
    videos_id?: number | null;
};
export type videos_categoriesCreateOrConnectWithoutCategoriesInput = {
    where: Prisma.videos_categoriesWhereUniqueInput;
    create: Prisma.XOR<Prisma.videos_categoriesCreateWithoutCategoriesInput, Prisma.videos_categoriesUncheckedCreateWithoutCategoriesInput>;
};
export type videos_categoriesCreateManyCategoriesInputEnvelope = {
    data: Prisma.videos_categoriesCreateManyCategoriesInput | Prisma.videos_categoriesCreateManyCategoriesInput[];
    skipDuplicates?: boolean;
};
export type videos_categoriesUpsertWithWhereUniqueWithoutCategoriesInput = {
    where: Prisma.videos_categoriesWhereUniqueInput;
    update: Prisma.XOR<Prisma.videos_categoriesUpdateWithoutCategoriesInput, Prisma.videos_categoriesUncheckedUpdateWithoutCategoriesInput>;
    create: Prisma.XOR<Prisma.videos_categoriesCreateWithoutCategoriesInput, Prisma.videos_categoriesUncheckedCreateWithoutCategoriesInput>;
};
export type videos_categoriesUpdateWithWhereUniqueWithoutCategoriesInput = {
    where: Prisma.videos_categoriesWhereUniqueInput;
    data: Prisma.XOR<Prisma.videos_categoriesUpdateWithoutCategoriesInput, Prisma.videos_categoriesUncheckedUpdateWithoutCategoriesInput>;
};
export type videos_categoriesUpdateManyWithWhereWithoutCategoriesInput = {
    where: Prisma.videos_categoriesScalarWhereInput;
    data: Prisma.XOR<Prisma.videos_categoriesUpdateManyMutationInput, Prisma.videos_categoriesUncheckedUpdateManyWithoutCategoriesInput>;
};
export type videos_categoriesScalarWhereInput = {
    AND?: Prisma.videos_categoriesScalarWhereInput | Prisma.videos_categoriesScalarWhereInput[];
    OR?: Prisma.videos_categoriesScalarWhereInput[];
    NOT?: Prisma.videos_categoriesScalarWhereInput | Prisma.videos_categoriesScalarWhereInput[];
    id?: Prisma.IntFilter<"videos_categories"> | number;
    videos_id?: Prisma.IntNullableFilter<"videos_categories"> | number | null;
    categories_id?: Prisma.IntNullableFilter<"videos_categories"> | number | null;
};
export type videos_categoriesCreateWithoutVideosInput = {
    categories?: Prisma.categoriesCreateNestedOneWithoutVideos_categoriesInput;
};
export type videos_categoriesUncheckedCreateWithoutVideosInput = {
    id?: number;
    categories_id?: number | null;
};
export type videos_categoriesCreateOrConnectWithoutVideosInput = {
    where: Prisma.videos_categoriesWhereUniqueInput;
    create: Prisma.XOR<Prisma.videos_categoriesCreateWithoutVideosInput, Prisma.videos_categoriesUncheckedCreateWithoutVideosInput>;
};
export type videos_categoriesCreateManyVideosInputEnvelope = {
    data: Prisma.videos_categoriesCreateManyVideosInput | Prisma.videos_categoriesCreateManyVideosInput[];
    skipDuplicates?: boolean;
};
export type videos_categoriesUpsertWithWhereUniqueWithoutVideosInput = {
    where: Prisma.videos_categoriesWhereUniqueInput;
    update: Prisma.XOR<Prisma.videos_categoriesUpdateWithoutVideosInput, Prisma.videos_categoriesUncheckedUpdateWithoutVideosInput>;
    create: Prisma.XOR<Prisma.videos_categoriesCreateWithoutVideosInput, Prisma.videos_categoriesUncheckedCreateWithoutVideosInput>;
};
export type videos_categoriesUpdateWithWhereUniqueWithoutVideosInput = {
    where: Prisma.videos_categoriesWhereUniqueInput;
    data: Prisma.XOR<Prisma.videos_categoriesUpdateWithoutVideosInput, Prisma.videos_categoriesUncheckedUpdateWithoutVideosInput>;
};
export type videos_categoriesUpdateManyWithWhereWithoutVideosInput = {
    where: Prisma.videos_categoriesScalarWhereInput;
    data: Prisma.XOR<Prisma.videos_categoriesUpdateManyMutationInput, Prisma.videos_categoriesUncheckedUpdateManyWithoutVideosInput>;
};
export type videos_categoriesCreateManyCategoriesInput = {
    id?: number;
    videos_id?: number | null;
};
export type videos_categoriesUpdateWithoutCategoriesInput = {
    videos?: Prisma.videosUpdateOneWithoutVideos_categoriesNestedInput;
};
export type videos_categoriesUncheckedUpdateWithoutCategoriesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    videos_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type videos_categoriesUncheckedUpdateManyWithoutCategoriesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    videos_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type videos_categoriesCreateManyVideosInput = {
    id?: number;
    categories_id?: number | null;
};
export type videos_categoriesUpdateWithoutVideosInput = {
    categories?: Prisma.categoriesUpdateOneWithoutVideos_categoriesNestedInput;
};
export type videos_categoriesUncheckedUpdateWithoutVideosInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    categories_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type videos_categoriesUncheckedUpdateManyWithoutVideosInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    categories_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type videos_categoriesSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    videos_id?: boolean;
    categories_id?: boolean;
    categories?: boolean | Prisma.videos_categories$categoriesArgs<ExtArgs>;
    videos?: boolean | Prisma.videos_categories$videosArgs<ExtArgs>;
}, ExtArgs["result"]["videos_categories"]>;
export type videos_categoriesSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    videos_id?: boolean;
    categories_id?: boolean;
    categories?: boolean | Prisma.videos_categories$categoriesArgs<ExtArgs>;
    videos?: boolean | Prisma.videos_categories$videosArgs<ExtArgs>;
}, ExtArgs["result"]["videos_categories"]>;
export type videos_categoriesSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    videos_id?: boolean;
    categories_id?: boolean;
    categories?: boolean | Prisma.videos_categories$categoriesArgs<ExtArgs>;
    videos?: boolean | Prisma.videos_categories$videosArgs<ExtArgs>;
}, ExtArgs["result"]["videos_categories"]>;
export type videos_categoriesSelectScalar = {
    id?: boolean;
    videos_id?: boolean;
    categories_id?: boolean;
};
export type videos_categoriesOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "videos_id" | "categories_id", ExtArgs["result"]["videos_categories"]>;
export type videos_categoriesInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    categories?: boolean | Prisma.videos_categories$categoriesArgs<ExtArgs>;
    videos?: boolean | Prisma.videos_categories$videosArgs<ExtArgs>;
};
export type videos_categoriesIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    categories?: boolean | Prisma.videos_categories$categoriesArgs<ExtArgs>;
    videos?: boolean | Prisma.videos_categories$videosArgs<ExtArgs>;
};
export type videos_categoriesIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    categories?: boolean | Prisma.videos_categories$categoriesArgs<ExtArgs>;
    videos?: boolean | Prisma.videos_categories$videosArgs<ExtArgs>;
};
export type $videos_categoriesPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "videos_categories";
    objects: {
        categories: Prisma.$categoriesPayload<ExtArgs> | null;
        videos: Prisma.$videosPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        videos_id: number | null;
        categories_id: number | null;
    }, ExtArgs["result"]["videos_categories"]>;
    composites: {};
};
export type videos_categoriesGetPayload<S extends boolean | null | undefined | videos_categoriesDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$videos_categoriesPayload, S>;
export type videos_categoriesCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<videos_categoriesFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Videos_categoriesCountAggregateInputType | true;
};
export interface videos_categoriesDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['videos_categories'];
        meta: {
            name: 'videos_categories';
        };
    };
    /**
     * Find zero or one Videos_categories that matches the filter.
     * @param {videos_categoriesFindUniqueArgs} args - Arguments to find a Videos_categories
     * @example
     * // Get one Videos_categories
     * const videos_categories = await prisma.videos_categories.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends videos_categoriesFindUniqueArgs>(args: Prisma.SelectSubset<T, videos_categoriesFindUniqueArgs<ExtArgs>>): Prisma.Prisma__videos_categoriesClient<runtime.Types.Result.GetResult<Prisma.$videos_categoriesPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Videos_categories that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {videos_categoriesFindUniqueOrThrowArgs} args - Arguments to find a Videos_categories
     * @example
     * // Get one Videos_categories
     * const videos_categories = await prisma.videos_categories.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends videos_categoriesFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, videos_categoriesFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__videos_categoriesClient<runtime.Types.Result.GetResult<Prisma.$videos_categoriesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Videos_categories 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 {videos_categoriesFindFirstArgs} args - Arguments to find a Videos_categories
     * @example
     * // Get one Videos_categories
     * const videos_categories = await prisma.videos_categories.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends videos_categoriesFindFirstArgs>(args?: Prisma.SelectSubset<T, videos_categoriesFindFirstArgs<ExtArgs>>): Prisma.Prisma__videos_categoriesClient<runtime.Types.Result.GetResult<Prisma.$videos_categoriesPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Videos_categories 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 {videos_categoriesFindFirstOrThrowArgs} args - Arguments to find a Videos_categories
     * @example
     * // Get one Videos_categories
     * const videos_categories = await prisma.videos_categories.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends videos_categoriesFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, videos_categoriesFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__videos_categoriesClient<runtime.Types.Result.GetResult<Prisma.$videos_categoriesPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Videos_categories 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 {videos_categoriesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Videos_categories
     * const videos_categories = await prisma.videos_categories.findMany()
     *
     * // Get first 10 Videos_categories
     * const videos_categories = await prisma.videos_categories.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const videos_categoriesWithIdOnly = await prisma.videos_categories.findMany({ select: { id: true } })
     *
     */
    findMany<T extends videos_categoriesFindManyArgs>(args?: Prisma.SelectSubset<T, videos_categoriesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$videos_categoriesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Videos_categories.
     * @param {videos_categoriesCreateArgs} args - Arguments to create a Videos_categories.
     * @example
     * // Create one Videos_categories
     * const Videos_categories = await prisma.videos_categories.create({
     *   data: {
     *     // ... data to create a Videos_categories
     *   }
     * })
     *
     */
    create<T extends videos_categoriesCreateArgs>(args: Prisma.SelectSubset<T, videos_categoriesCreateArgs<ExtArgs>>): Prisma.Prisma__videos_categoriesClient<runtime.Types.Result.GetResult<Prisma.$videos_categoriesPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Videos_categories.
     * @param {videos_categoriesCreateManyArgs} args - Arguments to create many Videos_categories.
     * @example
     * // Create many Videos_categories
     * const videos_categories = await prisma.videos_categories.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends videos_categoriesCreateManyArgs>(args?: Prisma.SelectSubset<T, videos_categoriesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Videos_categories and returns the data saved in the database.
     * @param {videos_categoriesCreateManyAndReturnArgs} args - Arguments to create many Videos_categories.
     * @example
     * // Create many Videos_categories
     * const videos_categories = await prisma.videos_categories.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Videos_categories and only return the `id`
     * const videos_categoriesWithIdOnly = await prisma.videos_categories.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 videos_categoriesCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, videos_categoriesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$videos_categoriesPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Videos_categories.
     * @param {videos_categoriesDeleteArgs} args - Arguments to delete one Videos_categories.
     * @example
     * // Delete one Videos_categories
     * const Videos_categories = await prisma.videos_categories.delete({
     *   where: {
     *     // ... filter to delete one Videos_categories
     *   }
     * })
     *
     */
    delete<T extends videos_categoriesDeleteArgs>(args: Prisma.SelectSubset<T, videos_categoriesDeleteArgs<ExtArgs>>): Prisma.Prisma__videos_categoriesClient<runtime.Types.Result.GetResult<Prisma.$videos_categoriesPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Videos_categories.
     * @param {videos_categoriesUpdateArgs} args - Arguments to update one Videos_categories.
     * @example
     * // Update one Videos_categories
     * const videos_categories = await prisma.videos_categories.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends videos_categoriesUpdateArgs>(args: Prisma.SelectSubset<T, videos_categoriesUpdateArgs<ExtArgs>>): Prisma.Prisma__videos_categoriesClient<runtime.Types.Result.GetResult<Prisma.$videos_categoriesPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Videos_categories.
     * @param {videos_categoriesDeleteManyArgs} args - Arguments to filter Videos_categories to delete.
     * @example
     * // Delete a few Videos_categories
     * const { count } = await prisma.videos_categories.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends videos_categoriesDeleteManyArgs>(args?: Prisma.SelectSubset<T, videos_categoriesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Videos_categories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {videos_categoriesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Videos_categories
     * const videos_categories = await prisma.videos_categories.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends videos_categoriesUpdateManyArgs>(args: Prisma.SelectSubset<T, videos_categoriesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Videos_categories and returns the data updated in the database.
     * @param {videos_categoriesUpdateManyAndReturnArgs} args - Arguments to update many Videos_categories.
     * @example
     * // Update many Videos_categories
     * const videos_categories = await prisma.videos_categories.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Videos_categories and only return the `id`
     * const videos_categoriesWithIdOnly = await prisma.videos_categories.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 videos_categoriesUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, videos_categoriesUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$videos_categoriesPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Videos_categories.
     * @param {videos_categoriesUpsertArgs} args - Arguments to update or create a Videos_categories.
     * @example
     * // Update or create a Videos_categories
     * const videos_categories = await prisma.videos_categories.upsert({
     *   create: {
     *     // ... data to create a Videos_categories
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Videos_categories we want to update
     *   }
     * })
     */
    upsert<T extends videos_categoriesUpsertArgs>(args: Prisma.SelectSubset<T, videos_categoriesUpsertArgs<ExtArgs>>): Prisma.Prisma__videos_categoriesClient<runtime.Types.Result.GetResult<Prisma.$videos_categoriesPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Videos_categories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {videos_categoriesCountArgs} args - Arguments to filter Videos_categories to count.
     * @example
     * // Count the number of Videos_categories
     * const count = await prisma.videos_categories.count({
     *   where: {
     *     // ... the filter for the Videos_categories we want to count
     *   }
     * })
    **/
    count<T extends videos_categoriesCountArgs>(args?: Prisma.Subset<T, videos_categoriesCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Videos_categoriesCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Videos_categories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Videos_categoriesAggregateArgs} 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 Videos_categoriesAggregateArgs>(args: Prisma.Subset<T, Videos_categoriesAggregateArgs>): Prisma.PrismaPromise<GetVideos_categoriesAggregateType<T>>;
    /**
     * Group by Videos_categories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {videos_categoriesGroupByArgs} 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 videos_categoriesGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: videos_categoriesGroupByArgs['orderBy'];
    } : {
        orderBy?: videos_categoriesGroupByArgs['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, videos_categoriesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetVideos_categoriesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the videos_categories model
     */
    readonly fields: videos_categoriesFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for videos_categories.
 * 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__videos_categoriesClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    categories<T extends Prisma.videos_categories$categoriesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.videos_categories$categoriesArgs<ExtArgs>>): Prisma.Prisma__categoriesClient<runtime.Types.Result.GetResult<Prisma.$categoriesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    videos<T extends Prisma.videos_categories$videosArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.videos_categories$videosArgs<ExtArgs>>): Prisma.Prisma__videosClient<runtime.Types.Result.GetResult<Prisma.$videosPayload<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 videos_categories model
 */
export interface videos_categoriesFieldRefs {
    readonly id: Prisma.FieldRef<"videos_categories", 'Int'>;
    readonly videos_id: Prisma.FieldRef<"videos_categories", 'Int'>;
    readonly categories_id: Prisma.FieldRef<"videos_categories", 'Int'>;
}
/**
 * videos_categories findUnique
 */
export type videos_categoriesFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the videos_categories
     */
    select?: Prisma.videos_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the videos_categories
     */
    omit?: Prisma.videos_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.videos_categoriesInclude<ExtArgs> | null;
    /**
     * Filter, which videos_categories to fetch.
     */
    where: Prisma.videos_categoriesWhereUniqueInput;
};
/**
 * videos_categories findUniqueOrThrow
 */
export type videos_categoriesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the videos_categories
     */
    select?: Prisma.videos_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the videos_categories
     */
    omit?: Prisma.videos_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.videos_categoriesInclude<ExtArgs> | null;
    /**
     * Filter, which videos_categories to fetch.
     */
    where: Prisma.videos_categoriesWhereUniqueInput;
};
/**
 * videos_categories findFirst
 */
export type videos_categoriesFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the videos_categories
     */
    select?: Prisma.videos_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the videos_categories
     */
    omit?: Prisma.videos_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.videos_categoriesInclude<ExtArgs> | null;
    /**
     * Filter, which videos_categories to fetch.
     */
    where?: Prisma.videos_categoriesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of videos_categories to fetch.
     */
    orderBy?: Prisma.videos_categoriesOrderByWithRelationInput | Prisma.videos_categoriesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for videos_categories.
     */
    cursor?: Prisma.videos_categoriesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` videos_categories 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` videos_categories.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of videos_categories.
     */
    distinct?: Prisma.Videos_categoriesScalarFieldEnum | Prisma.Videos_categoriesScalarFieldEnum[];
};
/**
 * videos_categories findFirstOrThrow
 */
export type videos_categoriesFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the videos_categories
     */
    select?: Prisma.videos_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the videos_categories
     */
    omit?: Prisma.videos_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.videos_categoriesInclude<ExtArgs> | null;
    /**
     * Filter, which videos_categories to fetch.
     */
    where?: Prisma.videos_categoriesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of videos_categories to fetch.
     */
    orderBy?: Prisma.videos_categoriesOrderByWithRelationInput | Prisma.videos_categoriesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for videos_categories.
     */
    cursor?: Prisma.videos_categoriesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` videos_categories 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` videos_categories.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of videos_categories.
     */
    distinct?: Prisma.Videos_categoriesScalarFieldEnum | Prisma.Videos_categoriesScalarFieldEnum[];
};
/**
 * videos_categories findMany
 */
export type videos_categoriesFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the videos_categories
     */
    select?: Prisma.videos_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the videos_categories
     */
    omit?: Prisma.videos_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.videos_categoriesInclude<ExtArgs> | null;
    /**
     * Filter, which videos_categories to fetch.
     */
    where?: Prisma.videos_categoriesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of videos_categories to fetch.
     */
    orderBy?: Prisma.videos_categoriesOrderByWithRelationInput | Prisma.videos_categoriesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing videos_categories.
     */
    cursor?: Prisma.videos_categoriesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` videos_categories 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` videos_categories.
     */
    skip?: number;
    distinct?: Prisma.Videos_categoriesScalarFieldEnum | Prisma.Videos_categoriesScalarFieldEnum[];
};
/**
 * videos_categories create
 */
export type videos_categoriesCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the videos_categories
     */
    select?: Prisma.videos_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the videos_categories
     */
    omit?: Prisma.videos_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.videos_categoriesInclude<ExtArgs> | null;
    /**
     * The data needed to create a videos_categories.
     */
    data?: Prisma.XOR<Prisma.videos_categoriesCreateInput, Prisma.videos_categoriesUncheckedCreateInput>;
};
/**
 * videos_categories createMany
 */
export type videos_categoriesCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many videos_categories.
     */
    data: Prisma.videos_categoriesCreateManyInput | Prisma.videos_categoriesCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * videos_categories createManyAndReturn
 */
export type videos_categoriesCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the videos_categories
     */
    select?: Prisma.videos_categoriesSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the videos_categories
     */
    omit?: Prisma.videos_categoriesOmit<ExtArgs> | null;
    /**
     * The data used to create many videos_categories.
     */
    data: Prisma.videos_categoriesCreateManyInput | Prisma.videos_categoriesCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.videos_categoriesIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * videos_categories update
 */
export type videos_categoriesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the videos_categories
     */
    select?: Prisma.videos_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the videos_categories
     */
    omit?: Prisma.videos_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.videos_categoriesInclude<ExtArgs> | null;
    /**
     * The data needed to update a videos_categories.
     */
    data: Prisma.XOR<Prisma.videos_categoriesUpdateInput, Prisma.videos_categoriesUncheckedUpdateInput>;
    /**
     * Choose, which videos_categories to update.
     */
    where: Prisma.videos_categoriesWhereUniqueInput;
};
/**
 * videos_categories updateMany
 */
export type videos_categoriesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update videos_categories.
     */
    data: Prisma.XOR<Prisma.videos_categoriesUpdateManyMutationInput, Prisma.videos_categoriesUncheckedUpdateManyInput>;
    /**
     * Filter which videos_categories to update
     */
    where?: Prisma.videos_categoriesWhereInput;
    /**
     * Limit how many videos_categories to update.
     */
    limit?: number;
};
/**
 * videos_categories updateManyAndReturn
 */
export type videos_categoriesUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the videos_categories
     */
    select?: Prisma.videos_categoriesSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the videos_categories
     */
    omit?: Prisma.videos_categoriesOmit<ExtArgs> | null;
    /**
     * The data used to update videos_categories.
     */
    data: Prisma.XOR<Prisma.videos_categoriesUpdateManyMutationInput, Prisma.videos_categoriesUncheckedUpdateManyInput>;
    /**
     * Filter which videos_categories to update
     */
    where?: Prisma.videos_categoriesWhereInput;
    /**
     * Limit how many videos_categories to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.videos_categoriesIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * videos_categories upsert
 */
export type videos_categoriesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the videos_categories
     */
    select?: Prisma.videos_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the videos_categories
     */
    omit?: Prisma.videos_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.videos_categoriesInclude<ExtArgs> | null;
    /**
     * The filter to search for the videos_categories to update in case it exists.
     */
    where: Prisma.videos_categoriesWhereUniqueInput;
    /**
     * In case the videos_categories found by the `where` argument doesn't exist, create a new videos_categories with this data.
     */
    create: Prisma.XOR<Prisma.videos_categoriesCreateInput, Prisma.videos_categoriesUncheckedCreateInput>;
    /**
     * In case the videos_categories was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.videos_categoriesUpdateInput, Prisma.videos_categoriesUncheckedUpdateInput>;
};
/**
 * videos_categories delete
 */
export type videos_categoriesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the videos_categories
     */
    select?: Prisma.videos_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the videos_categories
     */
    omit?: Prisma.videos_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.videos_categoriesInclude<ExtArgs> | null;
    /**
     * Filter which videos_categories to delete.
     */
    where: Prisma.videos_categoriesWhereUniqueInput;
};
/**
 * videos_categories deleteMany
 */
export type videos_categoriesDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which videos_categories to delete
     */
    where?: Prisma.videos_categoriesWhereInput;
    /**
     * Limit how many videos_categories to delete.
     */
    limit?: number;
};
/**
 * videos_categories.categories
 */
export type videos_categories$categoriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the categories
     */
    select?: Prisma.categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the categories
     */
    omit?: Prisma.categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.categoriesInclude<ExtArgs> | null;
    where?: Prisma.categoriesWhereInput;
};
/**
 * videos_categories.videos
 */
export type videos_categories$videosArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the videos
     */
    select?: Prisma.videosSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the videos
     */
    omit?: Prisma.videosOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.videosInclude<ExtArgs> | null;
    where?: Prisma.videosWhereInput;
};
/**
 * videos_categories without action
 */
export type videos_categoriesDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the videos_categories
     */
    select?: Prisma.videos_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the videos_categories
     */
    omit?: Prisma.videos_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.videos_categoriesInclude<ExtArgs> | null;
};
export {};
