import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model media_files
 *
 */
export type media_filesModel = runtime.Types.Result.DefaultSelection<Prisma.$media_filesPayload>;
export type AggregateMedia_files = {
    _count: Media_filesCountAggregateOutputType | null;
    _avg: Media_filesAvgAggregateOutputType | null;
    _sum: Media_filesSumAggregateOutputType | null;
    _min: Media_filesMinAggregateOutputType | null;
    _max: Media_filesMaxAggregateOutputType | null;
};
export type Media_filesAvgAggregateOutputType = {
    id: number | null;
    media_id: number | null;
};
export type Media_filesSumAggregateOutputType = {
    id: number | null;
    media_id: number | null;
};
export type Media_filesMinAggregateOutputType = {
    id: number | null;
    media_id: number | null;
    directus_files_id: string | null;
};
export type Media_filesMaxAggregateOutputType = {
    id: number | null;
    media_id: number | null;
    directus_files_id: string | null;
};
export type Media_filesCountAggregateOutputType = {
    id: number;
    media_id: number;
    directus_files_id: number;
    _all: number;
};
export type Media_filesAvgAggregateInputType = {
    id?: true;
    media_id?: true;
};
export type Media_filesSumAggregateInputType = {
    id?: true;
    media_id?: true;
};
export type Media_filesMinAggregateInputType = {
    id?: true;
    media_id?: true;
    directus_files_id?: true;
};
export type Media_filesMaxAggregateInputType = {
    id?: true;
    media_id?: true;
    directus_files_id?: true;
};
export type Media_filesCountAggregateInputType = {
    id?: true;
    media_id?: true;
    directus_files_id?: true;
    _all?: true;
};
export type Media_filesAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which media_files to aggregate.
     */
    where?: Prisma.media_filesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of media_files to fetch.
     */
    orderBy?: Prisma.media_filesOrderByWithRelationInput | Prisma.media_filesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.media_filesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` media_files 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` media_files.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned media_files
    **/
    _count?: true | Media_filesCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Media_filesAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Media_filesSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Media_filesMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Media_filesMaxAggregateInputType;
};
export type GetMedia_filesAggregateType<T extends Media_filesAggregateArgs> = {
    [P in keyof T & keyof AggregateMedia_files]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateMedia_files[P]> : Prisma.GetScalarType<T[P], AggregateMedia_files[P]>;
};
export type media_filesGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.media_filesWhereInput;
    orderBy?: Prisma.media_filesOrderByWithAggregationInput | Prisma.media_filesOrderByWithAggregationInput[];
    by: Prisma.Media_filesScalarFieldEnum[] | Prisma.Media_filesScalarFieldEnum;
    having?: Prisma.media_filesScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Media_filesCountAggregateInputType | true;
    _avg?: Media_filesAvgAggregateInputType;
    _sum?: Media_filesSumAggregateInputType;
    _min?: Media_filesMinAggregateInputType;
    _max?: Media_filesMaxAggregateInputType;
};
export type Media_filesGroupByOutputType = {
    id: number;
    media_id: number | null;
    directus_files_id: string | null;
    _count: Media_filesCountAggregateOutputType | null;
    _avg: Media_filesAvgAggregateOutputType | null;
    _sum: Media_filesSumAggregateOutputType | null;
    _min: Media_filesMinAggregateOutputType | null;
    _max: Media_filesMaxAggregateOutputType | null;
};
type GetMedia_filesGroupByPayload<T extends media_filesGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Media_filesGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Media_filesGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Media_filesGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Media_filesGroupByOutputType[P]>;
}>>;
export type media_filesWhereInput = {
    AND?: Prisma.media_filesWhereInput | Prisma.media_filesWhereInput[];
    OR?: Prisma.media_filesWhereInput[];
    NOT?: Prisma.media_filesWhereInput | Prisma.media_filesWhereInput[];
    id?: Prisma.IntFilter<"media_files"> | number;
    media_id?: Prisma.IntNullableFilter<"media_files"> | number | null;
    directus_files_id?: Prisma.UuidNullableFilter<"media_files"> | string | null;
    directus_files?: Prisma.XOR<Prisma.Directus_filesNullableScalarRelationFilter, Prisma.directus_filesWhereInput> | null;
    media?: Prisma.XOR<Prisma.MediaNullableScalarRelationFilter, Prisma.mediaWhereInput> | null;
};
export type media_filesOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    media_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    directus_files_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    directus_files?: Prisma.directus_filesOrderByWithRelationInput;
    media?: Prisma.mediaOrderByWithRelationInput;
};
export type media_filesWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.media_filesWhereInput | Prisma.media_filesWhereInput[];
    OR?: Prisma.media_filesWhereInput[];
    NOT?: Prisma.media_filesWhereInput | Prisma.media_filesWhereInput[];
    media_id?: Prisma.IntNullableFilter<"media_files"> | number | null;
    directus_files_id?: Prisma.UuidNullableFilter<"media_files"> | string | null;
    directus_files?: Prisma.XOR<Prisma.Directus_filesNullableScalarRelationFilter, Prisma.directus_filesWhereInput> | null;
    media?: Prisma.XOR<Prisma.MediaNullableScalarRelationFilter, Prisma.mediaWhereInput> | null;
}, "id">;
export type media_filesOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    media_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    directus_files_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.media_filesCountOrderByAggregateInput;
    _avg?: Prisma.media_filesAvgOrderByAggregateInput;
    _max?: Prisma.media_filesMaxOrderByAggregateInput;
    _min?: Prisma.media_filesMinOrderByAggregateInput;
    _sum?: Prisma.media_filesSumOrderByAggregateInput;
};
export type media_filesScalarWhereWithAggregatesInput = {
    AND?: Prisma.media_filesScalarWhereWithAggregatesInput | Prisma.media_filesScalarWhereWithAggregatesInput[];
    OR?: Prisma.media_filesScalarWhereWithAggregatesInput[];
    NOT?: Prisma.media_filesScalarWhereWithAggregatesInput | Prisma.media_filesScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"media_files"> | number;
    media_id?: Prisma.IntNullableWithAggregatesFilter<"media_files"> | number | null;
    directus_files_id?: Prisma.UuidNullableWithAggregatesFilter<"media_files"> | string | null;
};
export type media_filesCreateInput = {
    directus_files?: Prisma.directus_filesCreateNestedOneWithoutMedia_filesInput;
    media?: Prisma.mediaCreateNestedOneWithoutMedia_filesInput;
};
export type media_filesUncheckedCreateInput = {
    id?: number;
    media_id?: number | null;
    directus_files_id?: string | null;
};
export type media_filesUpdateInput = {
    directus_files?: Prisma.directus_filesUpdateOneWithoutMedia_filesNestedInput;
    media?: Prisma.mediaUpdateOneWithoutMedia_filesNestedInput;
};
export type media_filesUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    media_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    directus_files_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type media_filesCreateManyInput = {
    id?: number;
    media_id?: number | null;
    directus_files_id?: string | null;
};
export type media_filesUpdateManyMutationInput = {};
export type media_filesUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    media_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    directus_files_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type Media_filesListRelationFilter = {
    every?: Prisma.media_filesWhereInput;
    some?: Prisma.media_filesWhereInput;
    none?: Prisma.media_filesWhereInput;
};
export type media_filesOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type media_filesCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    media_id?: Prisma.SortOrder;
    directus_files_id?: Prisma.SortOrder;
};
export type media_filesAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    media_id?: Prisma.SortOrder;
};
export type media_filesMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    media_id?: Prisma.SortOrder;
    directus_files_id?: Prisma.SortOrder;
};
export type media_filesMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    media_id?: Prisma.SortOrder;
    directus_files_id?: Prisma.SortOrder;
};
export type media_filesSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    media_id?: Prisma.SortOrder;
};
export type media_filesCreateNestedManyWithoutDirectus_filesInput = {
    create?: Prisma.XOR<Prisma.media_filesCreateWithoutDirectus_filesInput, Prisma.media_filesUncheckedCreateWithoutDirectus_filesInput> | Prisma.media_filesCreateWithoutDirectus_filesInput[] | Prisma.media_filesUncheckedCreateWithoutDirectus_filesInput[];
    connectOrCreate?: Prisma.media_filesCreateOrConnectWithoutDirectus_filesInput | Prisma.media_filesCreateOrConnectWithoutDirectus_filesInput[];
    createMany?: Prisma.media_filesCreateManyDirectus_filesInputEnvelope;
    connect?: Prisma.media_filesWhereUniqueInput | Prisma.media_filesWhereUniqueInput[];
};
export type media_filesUncheckedCreateNestedManyWithoutDirectus_filesInput = {
    create?: Prisma.XOR<Prisma.media_filesCreateWithoutDirectus_filesInput, Prisma.media_filesUncheckedCreateWithoutDirectus_filesInput> | Prisma.media_filesCreateWithoutDirectus_filesInput[] | Prisma.media_filesUncheckedCreateWithoutDirectus_filesInput[];
    connectOrCreate?: Prisma.media_filesCreateOrConnectWithoutDirectus_filesInput | Prisma.media_filesCreateOrConnectWithoutDirectus_filesInput[];
    createMany?: Prisma.media_filesCreateManyDirectus_filesInputEnvelope;
    connect?: Prisma.media_filesWhereUniqueInput | Prisma.media_filesWhereUniqueInput[];
};
export type media_filesUpdateManyWithoutDirectus_filesNestedInput = {
    create?: Prisma.XOR<Prisma.media_filesCreateWithoutDirectus_filesInput, Prisma.media_filesUncheckedCreateWithoutDirectus_filesInput> | Prisma.media_filesCreateWithoutDirectus_filesInput[] | Prisma.media_filesUncheckedCreateWithoutDirectus_filesInput[];
    connectOrCreate?: Prisma.media_filesCreateOrConnectWithoutDirectus_filesInput | Prisma.media_filesCreateOrConnectWithoutDirectus_filesInput[];
    upsert?: Prisma.media_filesUpsertWithWhereUniqueWithoutDirectus_filesInput | Prisma.media_filesUpsertWithWhereUniqueWithoutDirectus_filesInput[];
    createMany?: Prisma.media_filesCreateManyDirectus_filesInputEnvelope;
    set?: Prisma.media_filesWhereUniqueInput | Prisma.media_filesWhereUniqueInput[];
    disconnect?: Prisma.media_filesWhereUniqueInput | Prisma.media_filesWhereUniqueInput[];
    delete?: Prisma.media_filesWhereUniqueInput | Prisma.media_filesWhereUniqueInput[];
    connect?: Prisma.media_filesWhereUniqueInput | Prisma.media_filesWhereUniqueInput[];
    update?: Prisma.media_filesUpdateWithWhereUniqueWithoutDirectus_filesInput | Prisma.media_filesUpdateWithWhereUniqueWithoutDirectus_filesInput[];
    updateMany?: Prisma.media_filesUpdateManyWithWhereWithoutDirectus_filesInput | Prisma.media_filesUpdateManyWithWhereWithoutDirectus_filesInput[];
    deleteMany?: Prisma.media_filesScalarWhereInput | Prisma.media_filesScalarWhereInput[];
};
export type media_filesUncheckedUpdateManyWithoutDirectus_filesNestedInput = {
    create?: Prisma.XOR<Prisma.media_filesCreateWithoutDirectus_filesInput, Prisma.media_filesUncheckedCreateWithoutDirectus_filesInput> | Prisma.media_filesCreateWithoutDirectus_filesInput[] | Prisma.media_filesUncheckedCreateWithoutDirectus_filesInput[];
    connectOrCreate?: Prisma.media_filesCreateOrConnectWithoutDirectus_filesInput | Prisma.media_filesCreateOrConnectWithoutDirectus_filesInput[];
    upsert?: Prisma.media_filesUpsertWithWhereUniqueWithoutDirectus_filesInput | Prisma.media_filesUpsertWithWhereUniqueWithoutDirectus_filesInput[];
    createMany?: Prisma.media_filesCreateManyDirectus_filesInputEnvelope;
    set?: Prisma.media_filesWhereUniqueInput | Prisma.media_filesWhereUniqueInput[];
    disconnect?: Prisma.media_filesWhereUniqueInput | Prisma.media_filesWhereUniqueInput[];
    delete?: Prisma.media_filesWhereUniqueInput | Prisma.media_filesWhereUniqueInput[];
    connect?: Prisma.media_filesWhereUniqueInput | Prisma.media_filesWhereUniqueInput[];
    update?: Prisma.media_filesUpdateWithWhereUniqueWithoutDirectus_filesInput | Prisma.media_filesUpdateWithWhereUniqueWithoutDirectus_filesInput[];
    updateMany?: Prisma.media_filesUpdateManyWithWhereWithoutDirectus_filesInput | Prisma.media_filesUpdateManyWithWhereWithoutDirectus_filesInput[];
    deleteMany?: Prisma.media_filesScalarWhereInput | Prisma.media_filesScalarWhereInput[];
};
export type media_filesCreateNestedManyWithoutMediaInput = {
    create?: Prisma.XOR<Prisma.media_filesCreateWithoutMediaInput, Prisma.media_filesUncheckedCreateWithoutMediaInput> | Prisma.media_filesCreateWithoutMediaInput[] | Prisma.media_filesUncheckedCreateWithoutMediaInput[];
    connectOrCreate?: Prisma.media_filesCreateOrConnectWithoutMediaInput | Prisma.media_filesCreateOrConnectWithoutMediaInput[];
    createMany?: Prisma.media_filesCreateManyMediaInputEnvelope;
    connect?: Prisma.media_filesWhereUniqueInput | Prisma.media_filesWhereUniqueInput[];
};
export type media_filesUncheckedCreateNestedManyWithoutMediaInput = {
    create?: Prisma.XOR<Prisma.media_filesCreateWithoutMediaInput, Prisma.media_filesUncheckedCreateWithoutMediaInput> | Prisma.media_filesCreateWithoutMediaInput[] | Prisma.media_filesUncheckedCreateWithoutMediaInput[];
    connectOrCreate?: Prisma.media_filesCreateOrConnectWithoutMediaInput | Prisma.media_filesCreateOrConnectWithoutMediaInput[];
    createMany?: Prisma.media_filesCreateManyMediaInputEnvelope;
    connect?: Prisma.media_filesWhereUniqueInput | Prisma.media_filesWhereUniqueInput[];
};
export type media_filesUpdateManyWithoutMediaNestedInput = {
    create?: Prisma.XOR<Prisma.media_filesCreateWithoutMediaInput, Prisma.media_filesUncheckedCreateWithoutMediaInput> | Prisma.media_filesCreateWithoutMediaInput[] | Prisma.media_filesUncheckedCreateWithoutMediaInput[];
    connectOrCreate?: Prisma.media_filesCreateOrConnectWithoutMediaInput | Prisma.media_filesCreateOrConnectWithoutMediaInput[];
    upsert?: Prisma.media_filesUpsertWithWhereUniqueWithoutMediaInput | Prisma.media_filesUpsertWithWhereUniqueWithoutMediaInput[];
    createMany?: Prisma.media_filesCreateManyMediaInputEnvelope;
    set?: Prisma.media_filesWhereUniqueInput | Prisma.media_filesWhereUniqueInput[];
    disconnect?: Prisma.media_filesWhereUniqueInput | Prisma.media_filesWhereUniqueInput[];
    delete?: Prisma.media_filesWhereUniqueInput | Prisma.media_filesWhereUniqueInput[];
    connect?: Prisma.media_filesWhereUniqueInput | Prisma.media_filesWhereUniqueInput[];
    update?: Prisma.media_filesUpdateWithWhereUniqueWithoutMediaInput | Prisma.media_filesUpdateWithWhereUniqueWithoutMediaInput[];
    updateMany?: Prisma.media_filesUpdateManyWithWhereWithoutMediaInput | Prisma.media_filesUpdateManyWithWhereWithoutMediaInput[];
    deleteMany?: Prisma.media_filesScalarWhereInput | Prisma.media_filesScalarWhereInput[];
};
export type media_filesUncheckedUpdateManyWithoutMediaNestedInput = {
    create?: Prisma.XOR<Prisma.media_filesCreateWithoutMediaInput, Prisma.media_filesUncheckedCreateWithoutMediaInput> | Prisma.media_filesCreateWithoutMediaInput[] | Prisma.media_filesUncheckedCreateWithoutMediaInput[];
    connectOrCreate?: Prisma.media_filesCreateOrConnectWithoutMediaInput | Prisma.media_filesCreateOrConnectWithoutMediaInput[];
    upsert?: Prisma.media_filesUpsertWithWhereUniqueWithoutMediaInput | Prisma.media_filesUpsertWithWhereUniqueWithoutMediaInput[];
    createMany?: Prisma.media_filesCreateManyMediaInputEnvelope;
    set?: Prisma.media_filesWhereUniqueInput | Prisma.media_filesWhereUniqueInput[];
    disconnect?: Prisma.media_filesWhereUniqueInput | Prisma.media_filesWhereUniqueInput[];
    delete?: Prisma.media_filesWhereUniqueInput | Prisma.media_filesWhereUniqueInput[];
    connect?: Prisma.media_filesWhereUniqueInput | Prisma.media_filesWhereUniqueInput[];
    update?: Prisma.media_filesUpdateWithWhereUniqueWithoutMediaInput | Prisma.media_filesUpdateWithWhereUniqueWithoutMediaInput[];
    updateMany?: Prisma.media_filesUpdateManyWithWhereWithoutMediaInput | Prisma.media_filesUpdateManyWithWhereWithoutMediaInput[];
    deleteMany?: Prisma.media_filesScalarWhereInput | Prisma.media_filesScalarWhereInput[];
};
export type media_filesCreateWithoutDirectus_filesInput = {
    media?: Prisma.mediaCreateNestedOneWithoutMedia_filesInput;
};
export type media_filesUncheckedCreateWithoutDirectus_filesInput = {
    id?: number;
    media_id?: number | null;
};
export type media_filesCreateOrConnectWithoutDirectus_filesInput = {
    where: Prisma.media_filesWhereUniqueInput;
    create: Prisma.XOR<Prisma.media_filesCreateWithoutDirectus_filesInput, Prisma.media_filesUncheckedCreateWithoutDirectus_filesInput>;
};
export type media_filesCreateManyDirectus_filesInputEnvelope = {
    data: Prisma.media_filesCreateManyDirectus_filesInput | Prisma.media_filesCreateManyDirectus_filesInput[];
    skipDuplicates?: boolean;
};
export type media_filesUpsertWithWhereUniqueWithoutDirectus_filesInput = {
    where: Prisma.media_filesWhereUniqueInput;
    update: Prisma.XOR<Prisma.media_filesUpdateWithoutDirectus_filesInput, Prisma.media_filesUncheckedUpdateWithoutDirectus_filesInput>;
    create: Prisma.XOR<Prisma.media_filesCreateWithoutDirectus_filesInput, Prisma.media_filesUncheckedCreateWithoutDirectus_filesInput>;
};
export type media_filesUpdateWithWhereUniqueWithoutDirectus_filesInput = {
    where: Prisma.media_filesWhereUniqueInput;
    data: Prisma.XOR<Prisma.media_filesUpdateWithoutDirectus_filesInput, Prisma.media_filesUncheckedUpdateWithoutDirectus_filesInput>;
};
export type media_filesUpdateManyWithWhereWithoutDirectus_filesInput = {
    where: Prisma.media_filesScalarWhereInput;
    data: Prisma.XOR<Prisma.media_filesUpdateManyMutationInput, Prisma.media_filesUncheckedUpdateManyWithoutDirectus_filesInput>;
};
export type media_filesScalarWhereInput = {
    AND?: Prisma.media_filesScalarWhereInput | Prisma.media_filesScalarWhereInput[];
    OR?: Prisma.media_filesScalarWhereInput[];
    NOT?: Prisma.media_filesScalarWhereInput | Prisma.media_filesScalarWhereInput[];
    id?: Prisma.IntFilter<"media_files"> | number;
    media_id?: Prisma.IntNullableFilter<"media_files"> | number | null;
    directus_files_id?: Prisma.UuidNullableFilter<"media_files"> | string | null;
};
export type media_filesCreateWithoutMediaInput = {
    directus_files?: Prisma.directus_filesCreateNestedOneWithoutMedia_filesInput;
};
export type media_filesUncheckedCreateWithoutMediaInput = {
    id?: number;
    directus_files_id?: string | null;
};
export type media_filesCreateOrConnectWithoutMediaInput = {
    where: Prisma.media_filesWhereUniqueInput;
    create: Prisma.XOR<Prisma.media_filesCreateWithoutMediaInput, Prisma.media_filesUncheckedCreateWithoutMediaInput>;
};
export type media_filesCreateManyMediaInputEnvelope = {
    data: Prisma.media_filesCreateManyMediaInput | Prisma.media_filesCreateManyMediaInput[];
    skipDuplicates?: boolean;
};
export type media_filesUpsertWithWhereUniqueWithoutMediaInput = {
    where: Prisma.media_filesWhereUniqueInput;
    update: Prisma.XOR<Prisma.media_filesUpdateWithoutMediaInput, Prisma.media_filesUncheckedUpdateWithoutMediaInput>;
    create: Prisma.XOR<Prisma.media_filesCreateWithoutMediaInput, Prisma.media_filesUncheckedCreateWithoutMediaInput>;
};
export type media_filesUpdateWithWhereUniqueWithoutMediaInput = {
    where: Prisma.media_filesWhereUniqueInput;
    data: Prisma.XOR<Prisma.media_filesUpdateWithoutMediaInput, Prisma.media_filesUncheckedUpdateWithoutMediaInput>;
};
export type media_filesUpdateManyWithWhereWithoutMediaInput = {
    where: Prisma.media_filesScalarWhereInput;
    data: Prisma.XOR<Prisma.media_filesUpdateManyMutationInput, Prisma.media_filesUncheckedUpdateManyWithoutMediaInput>;
};
export type media_filesCreateManyDirectus_filesInput = {
    id?: number;
    media_id?: number | null;
};
export type media_filesUpdateWithoutDirectus_filesInput = {
    media?: Prisma.mediaUpdateOneWithoutMedia_filesNestedInput;
};
export type media_filesUncheckedUpdateWithoutDirectus_filesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    media_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type media_filesUncheckedUpdateManyWithoutDirectus_filesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    media_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type media_filesCreateManyMediaInput = {
    id?: number;
    directus_files_id?: string | null;
};
export type media_filesUpdateWithoutMediaInput = {
    directus_files?: Prisma.directus_filesUpdateOneWithoutMedia_filesNestedInput;
};
export type media_filesUncheckedUpdateWithoutMediaInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    directus_files_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type media_filesUncheckedUpdateManyWithoutMediaInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    directus_files_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type media_filesSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    media_id?: boolean;
    directus_files_id?: boolean;
    directus_files?: boolean | Prisma.media_files$directus_filesArgs<ExtArgs>;
    media?: boolean | Prisma.media_files$mediaArgs<ExtArgs>;
}, ExtArgs["result"]["media_files"]>;
export type media_filesSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    media_id?: boolean;
    directus_files_id?: boolean;
    directus_files?: boolean | Prisma.media_files$directus_filesArgs<ExtArgs>;
    media?: boolean | Prisma.media_files$mediaArgs<ExtArgs>;
}, ExtArgs["result"]["media_files"]>;
export type media_filesSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    media_id?: boolean;
    directus_files_id?: boolean;
    directus_files?: boolean | Prisma.media_files$directus_filesArgs<ExtArgs>;
    media?: boolean | Prisma.media_files$mediaArgs<ExtArgs>;
}, ExtArgs["result"]["media_files"]>;
export type media_filesSelectScalar = {
    id?: boolean;
    media_id?: boolean;
    directus_files_id?: boolean;
};
export type media_filesOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "media_id" | "directus_files_id", ExtArgs["result"]["media_files"]>;
export type media_filesInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    directus_files?: boolean | Prisma.media_files$directus_filesArgs<ExtArgs>;
    media?: boolean | Prisma.media_files$mediaArgs<ExtArgs>;
};
export type media_filesIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    directus_files?: boolean | Prisma.media_files$directus_filesArgs<ExtArgs>;
    media?: boolean | Prisma.media_files$mediaArgs<ExtArgs>;
};
export type media_filesIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    directus_files?: boolean | Prisma.media_files$directus_filesArgs<ExtArgs>;
    media?: boolean | Prisma.media_files$mediaArgs<ExtArgs>;
};
export type $media_filesPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "media_files";
    objects: {
        directus_files: Prisma.$directus_filesPayload<ExtArgs> | null;
        media: Prisma.$mediaPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        media_id: number | null;
        directus_files_id: string | null;
    }, ExtArgs["result"]["media_files"]>;
    composites: {};
};
export type media_filesGetPayload<S extends boolean | null | undefined | media_filesDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$media_filesPayload, S>;
export type media_filesCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<media_filesFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Media_filesCountAggregateInputType | true;
};
export interface media_filesDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['media_files'];
        meta: {
            name: 'media_files';
        };
    };
    /**
     * Find zero or one Media_files that matches the filter.
     * @param {media_filesFindUniqueArgs} args - Arguments to find a Media_files
     * @example
     * // Get one Media_files
     * const media_files = await prisma.media_files.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends media_filesFindUniqueArgs>(args: Prisma.SelectSubset<T, media_filesFindUniqueArgs<ExtArgs>>): Prisma.Prisma__media_filesClient<runtime.Types.Result.GetResult<Prisma.$media_filesPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Media_files that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {media_filesFindUniqueOrThrowArgs} args - Arguments to find a Media_files
     * @example
     * // Get one Media_files
     * const media_files = await prisma.media_files.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends media_filesFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, media_filesFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__media_filesClient<runtime.Types.Result.GetResult<Prisma.$media_filesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Media_files 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 {media_filesFindFirstArgs} args - Arguments to find a Media_files
     * @example
     * // Get one Media_files
     * const media_files = await prisma.media_files.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends media_filesFindFirstArgs>(args?: Prisma.SelectSubset<T, media_filesFindFirstArgs<ExtArgs>>): Prisma.Prisma__media_filesClient<runtime.Types.Result.GetResult<Prisma.$media_filesPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Media_files 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 {media_filesFindFirstOrThrowArgs} args - Arguments to find a Media_files
     * @example
     * // Get one Media_files
     * const media_files = await prisma.media_files.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends media_filesFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, media_filesFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__media_filesClient<runtime.Types.Result.GetResult<Prisma.$media_filesPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Media_files 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 {media_filesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Media_files
     * const media_files = await prisma.media_files.findMany()
     *
     * // Get first 10 Media_files
     * const media_files = await prisma.media_files.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const media_filesWithIdOnly = await prisma.media_files.findMany({ select: { id: true } })
     *
     */
    findMany<T extends media_filesFindManyArgs>(args?: Prisma.SelectSubset<T, media_filesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$media_filesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Media_files.
     * @param {media_filesCreateArgs} args - Arguments to create a Media_files.
     * @example
     * // Create one Media_files
     * const Media_files = await prisma.media_files.create({
     *   data: {
     *     // ... data to create a Media_files
     *   }
     * })
     *
     */
    create<T extends media_filesCreateArgs>(args: Prisma.SelectSubset<T, media_filesCreateArgs<ExtArgs>>): Prisma.Prisma__media_filesClient<runtime.Types.Result.GetResult<Prisma.$media_filesPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Media_files.
     * @param {media_filesCreateManyArgs} args - Arguments to create many Media_files.
     * @example
     * // Create many Media_files
     * const media_files = await prisma.media_files.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends media_filesCreateManyArgs>(args?: Prisma.SelectSubset<T, media_filesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Media_files and returns the data saved in the database.
     * @param {media_filesCreateManyAndReturnArgs} args - Arguments to create many Media_files.
     * @example
     * // Create many Media_files
     * const media_files = await prisma.media_files.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Media_files and only return the `id`
     * const media_filesWithIdOnly = await prisma.media_files.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 media_filesCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, media_filesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$media_filesPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Media_files.
     * @param {media_filesDeleteArgs} args - Arguments to delete one Media_files.
     * @example
     * // Delete one Media_files
     * const Media_files = await prisma.media_files.delete({
     *   where: {
     *     // ... filter to delete one Media_files
     *   }
     * })
     *
     */
    delete<T extends media_filesDeleteArgs>(args: Prisma.SelectSubset<T, media_filesDeleteArgs<ExtArgs>>): Prisma.Prisma__media_filesClient<runtime.Types.Result.GetResult<Prisma.$media_filesPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Media_files.
     * @param {media_filesUpdateArgs} args - Arguments to update one Media_files.
     * @example
     * // Update one Media_files
     * const media_files = await prisma.media_files.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends media_filesUpdateArgs>(args: Prisma.SelectSubset<T, media_filesUpdateArgs<ExtArgs>>): Prisma.Prisma__media_filesClient<runtime.Types.Result.GetResult<Prisma.$media_filesPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Media_files.
     * @param {media_filesDeleteManyArgs} args - Arguments to filter Media_files to delete.
     * @example
     * // Delete a few Media_files
     * const { count } = await prisma.media_files.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends media_filesDeleteManyArgs>(args?: Prisma.SelectSubset<T, media_filesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Media_files.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {media_filesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Media_files
     * const media_files = await prisma.media_files.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends media_filesUpdateManyArgs>(args: Prisma.SelectSubset<T, media_filesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Media_files and returns the data updated in the database.
     * @param {media_filesUpdateManyAndReturnArgs} args - Arguments to update many Media_files.
     * @example
     * // Update many Media_files
     * const media_files = await prisma.media_files.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Media_files and only return the `id`
     * const media_filesWithIdOnly = await prisma.media_files.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 media_filesUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, media_filesUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$media_filesPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Media_files.
     * @param {media_filesUpsertArgs} args - Arguments to update or create a Media_files.
     * @example
     * // Update or create a Media_files
     * const media_files = await prisma.media_files.upsert({
     *   create: {
     *     // ... data to create a Media_files
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Media_files we want to update
     *   }
     * })
     */
    upsert<T extends media_filesUpsertArgs>(args: Prisma.SelectSubset<T, media_filesUpsertArgs<ExtArgs>>): Prisma.Prisma__media_filesClient<runtime.Types.Result.GetResult<Prisma.$media_filesPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Media_files.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {media_filesCountArgs} args - Arguments to filter Media_files to count.
     * @example
     * // Count the number of Media_files
     * const count = await prisma.media_files.count({
     *   where: {
     *     // ... the filter for the Media_files we want to count
     *   }
     * })
    **/
    count<T extends media_filesCountArgs>(args?: Prisma.Subset<T, media_filesCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Media_filesCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Media_files.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Media_filesAggregateArgs} 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 Media_filesAggregateArgs>(args: Prisma.Subset<T, Media_filesAggregateArgs>): Prisma.PrismaPromise<GetMedia_filesAggregateType<T>>;
    /**
     * Group by Media_files.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {media_filesGroupByArgs} 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 media_filesGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: media_filesGroupByArgs['orderBy'];
    } : {
        orderBy?: media_filesGroupByArgs['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, media_filesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMedia_filesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the media_files model
     */
    readonly fields: media_filesFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for media_files.
 * 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__media_filesClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    directus_files<T extends Prisma.media_files$directus_filesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.media_files$directus_filesArgs<ExtArgs>>): Prisma.Prisma__directus_filesClient<runtime.Types.Result.GetResult<Prisma.$directus_filesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    media<T extends Prisma.media_files$mediaArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.media_files$mediaArgs<ExtArgs>>): Prisma.Prisma__mediaClient<runtime.Types.Result.GetResult<Prisma.$mediaPayload<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 media_files model
 */
export interface media_filesFieldRefs {
    readonly id: Prisma.FieldRef<"media_files", 'Int'>;
    readonly media_id: Prisma.FieldRef<"media_files", 'Int'>;
    readonly directus_files_id: Prisma.FieldRef<"media_files", 'String'>;
}
/**
 * media_files findUnique
 */
export type media_filesFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the media_files
     */
    select?: Prisma.media_filesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the media_files
     */
    omit?: Prisma.media_filesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.media_filesInclude<ExtArgs> | null;
    /**
     * Filter, which media_files to fetch.
     */
    where: Prisma.media_filesWhereUniqueInput;
};
/**
 * media_files findUniqueOrThrow
 */
export type media_filesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the media_files
     */
    select?: Prisma.media_filesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the media_files
     */
    omit?: Prisma.media_filesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.media_filesInclude<ExtArgs> | null;
    /**
     * Filter, which media_files to fetch.
     */
    where: Prisma.media_filesWhereUniqueInput;
};
/**
 * media_files findFirst
 */
export type media_filesFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the media_files
     */
    select?: Prisma.media_filesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the media_files
     */
    omit?: Prisma.media_filesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.media_filesInclude<ExtArgs> | null;
    /**
     * Filter, which media_files to fetch.
     */
    where?: Prisma.media_filesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of media_files to fetch.
     */
    orderBy?: Prisma.media_filesOrderByWithRelationInput | Prisma.media_filesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for media_files.
     */
    cursor?: Prisma.media_filesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` media_files 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` media_files.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of media_files.
     */
    distinct?: Prisma.Media_filesScalarFieldEnum | Prisma.Media_filesScalarFieldEnum[];
};
/**
 * media_files findFirstOrThrow
 */
export type media_filesFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the media_files
     */
    select?: Prisma.media_filesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the media_files
     */
    omit?: Prisma.media_filesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.media_filesInclude<ExtArgs> | null;
    /**
     * Filter, which media_files to fetch.
     */
    where?: Prisma.media_filesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of media_files to fetch.
     */
    orderBy?: Prisma.media_filesOrderByWithRelationInput | Prisma.media_filesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for media_files.
     */
    cursor?: Prisma.media_filesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` media_files 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` media_files.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of media_files.
     */
    distinct?: Prisma.Media_filesScalarFieldEnum | Prisma.Media_filesScalarFieldEnum[];
};
/**
 * media_files findMany
 */
export type media_filesFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the media_files
     */
    select?: Prisma.media_filesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the media_files
     */
    omit?: Prisma.media_filesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.media_filesInclude<ExtArgs> | null;
    /**
     * Filter, which media_files to fetch.
     */
    where?: Prisma.media_filesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of media_files to fetch.
     */
    orderBy?: Prisma.media_filesOrderByWithRelationInput | Prisma.media_filesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing media_files.
     */
    cursor?: Prisma.media_filesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` media_files 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` media_files.
     */
    skip?: number;
    distinct?: Prisma.Media_filesScalarFieldEnum | Prisma.Media_filesScalarFieldEnum[];
};
/**
 * media_files create
 */
export type media_filesCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the media_files
     */
    select?: Prisma.media_filesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the media_files
     */
    omit?: Prisma.media_filesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.media_filesInclude<ExtArgs> | null;
    /**
     * The data needed to create a media_files.
     */
    data?: Prisma.XOR<Prisma.media_filesCreateInput, Prisma.media_filesUncheckedCreateInput>;
};
/**
 * media_files createMany
 */
export type media_filesCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many media_files.
     */
    data: Prisma.media_filesCreateManyInput | Prisma.media_filesCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * media_files createManyAndReturn
 */
export type media_filesCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the media_files
     */
    select?: Prisma.media_filesSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the media_files
     */
    omit?: Prisma.media_filesOmit<ExtArgs> | null;
    /**
     * The data used to create many media_files.
     */
    data: Prisma.media_filesCreateManyInput | Prisma.media_filesCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.media_filesIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * media_files update
 */
export type media_filesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the media_files
     */
    select?: Prisma.media_filesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the media_files
     */
    omit?: Prisma.media_filesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.media_filesInclude<ExtArgs> | null;
    /**
     * The data needed to update a media_files.
     */
    data: Prisma.XOR<Prisma.media_filesUpdateInput, Prisma.media_filesUncheckedUpdateInput>;
    /**
     * Choose, which media_files to update.
     */
    where: Prisma.media_filesWhereUniqueInput;
};
/**
 * media_files updateMany
 */
export type media_filesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update media_files.
     */
    data: Prisma.XOR<Prisma.media_filesUpdateManyMutationInput, Prisma.media_filesUncheckedUpdateManyInput>;
    /**
     * Filter which media_files to update
     */
    where?: Prisma.media_filesWhereInput;
    /**
     * Limit how many media_files to update.
     */
    limit?: number;
};
/**
 * media_files updateManyAndReturn
 */
export type media_filesUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the media_files
     */
    select?: Prisma.media_filesSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the media_files
     */
    omit?: Prisma.media_filesOmit<ExtArgs> | null;
    /**
     * The data used to update media_files.
     */
    data: Prisma.XOR<Prisma.media_filesUpdateManyMutationInput, Prisma.media_filesUncheckedUpdateManyInput>;
    /**
     * Filter which media_files to update
     */
    where?: Prisma.media_filesWhereInput;
    /**
     * Limit how many media_files to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.media_filesIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * media_files upsert
 */
export type media_filesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the media_files
     */
    select?: Prisma.media_filesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the media_files
     */
    omit?: Prisma.media_filesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.media_filesInclude<ExtArgs> | null;
    /**
     * The filter to search for the media_files to update in case it exists.
     */
    where: Prisma.media_filesWhereUniqueInput;
    /**
     * In case the media_files found by the `where` argument doesn't exist, create a new media_files with this data.
     */
    create: Prisma.XOR<Prisma.media_filesCreateInput, Prisma.media_filesUncheckedCreateInput>;
    /**
     * In case the media_files was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.media_filesUpdateInput, Prisma.media_filesUncheckedUpdateInput>;
};
/**
 * media_files delete
 */
export type media_filesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the media_files
     */
    select?: Prisma.media_filesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the media_files
     */
    omit?: Prisma.media_filesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.media_filesInclude<ExtArgs> | null;
    /**
     * Filter which media_files to delete.
     */
    where: Prisma.media_filesWhereUniqueInput;
};
/**
 * media_files deleteMany
 */
export type media_filesDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which media_files to delete
     */
    where?: Prisma.media_filesWhereInput;
    /**
     * Limit how many media_files to delete.
     */
    limit?: number;
};
/**
 * media_files.directus_files
 */
export type media_files$directus_filesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_files
     */
    select?: Prisma.directus_filesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_files
     */
    omit?: Prisma.directus_filesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_filesInclude<ExtArgs> | null;
    where?: Prisma.directus_filesWhereInput;
};
/**
 * media_files.media
 */
export type media_files$mediaArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the media
     */
    select?: Prisma.mediaSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the media
     */
    omit?: Prisma.mediaOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.mediaInclude<ExtArgs> | null;
    where?: Prisma.mediaWhereInput;
};
/**
 * media_files without action
 */
export type media_filesDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the media_files
     */
    select?: Prisma.media_filesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the media_files
     */
    omit?: Prisma.media_filesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.media_filesInclude<ExtArgs> | null;
};
export {};
