import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model lists_files
 * 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 lists_filesModel = runtime.Types.Result.DefaultSelection<Prisma.$lists_filesPayload>;
export type AggregateLists_files = {
    _count: Lists_filesCountAggregateOutputType | null;
    _avg: Lists_filesAvgAggregateOutputType | null;
    _sum: Lists_filesSumAggregateOutputType | null;
    _min: Lists_filesMinAggregateOutputType | null;
    _max: Lists_filesMaxAggregateOutputType | null;
};
export type Lists_filesAvgAggregateOutputType = {
    id: number | null;
    lists_id: number | null;
};
export type Lists_filesSumAggregateOutputType = {
    id: number | null;
    lists_id: number | null;
};
export type Lists_filesMinAggregateOutputType = {
    id: number | null;
    lists_id: number | null;
    directus_files_id: string | null;
};
export type Lists_filesMaxAggregateOutputType = {
    id: number | null;
    lists_id: number | null;
    directus_files_id: string | null;
};
export type Lists_filesCountAggregateOutputType = {
    id: number;
    lists_id: number;
    directus_files_id: number;
    _all: number;
};
export type Lists_filesAvgAggregateInputType = {
    id?: true;
    lists_id?: true;
};
export type Lists_filesSumAggregateInputType = {
    id?: true;
    lists_id?: true;
};
export type Lists_filesMinAggregateInputType = {
    id?: true;
    lists_id?: true;
    directus_files_id?: true;
};
export type Lists_filesMaxAggregateInputType = {
    id?: true;
    lists_id?: true;
    directus_files_id?: true;
};
export type Lists_filesCountAggregateInputType = {
    id?: true;
    lists_id?: true;
    directus_files_id?: true;
    _all?: true;
};
export type Lists_filesAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which lists_files to aggregate.
     */
    where?: Prisma.lists_filesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of lists_files to fetch.
     */
    orderBy?: Prisma.lists_filesOrderByWithRelationInput | Prisma.lists_filesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.lists_filesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` lists_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` lists_files.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned lists_files
    **/
    _count?: true | Lists_filesCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Lists_filesAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Lists_filesSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Lists_filesMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Lists_filesMaxAggregateInputType;
};
export type GetLists_filesAggregateType<T extends Lists_filesAggregateArgs> = {
    [P in keyof T & keyof AggregateLists_files]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateLists_files[P]> : Prisma.GetScalarType<T[P], AggregateLists_files[P]>;
};
export type lists_filesGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.lists_filesWhereInput;
    orderBy?: Prisma.lists_filesOrderByWithAggregationInput | Prisma.lists_filesOrderByWithAggregationInput[];
    by: Prisma.Lists_filesScalarFieldEnum[] | Prisma.Lists_filesScalarFieldEnum;
    having?: Prisma.lists_filesScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Lists_filesCountAggregateInputType | true;
    _avg?: Lists_filesAvgAggregateInputType;
    _sum?: Lists_filesSumAggregateInputType;
    _min?: Lists_filesMinAggregateInputType;
    _max?: Lists_filesMaxAggregateInputType;
};
export type Lists_filesGroupByOutputType = {
    id: number;
    lists_id: number | null;
    directus_files_id: string | null;
    _count: Lists_filesCountAggregateOutputType | null;
    _avg: Lists_filesAvgAggregateOutputType | null;
    _sum: Lists_filesSumAggregateOutputType | null;
    _min: Lists_filesMinAggregateOutputType | null;
    _max: Lists_filesMaxAggregateOutputType | null;
};
type GetLists_filesGroupByPayload<T extends lists_filesGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Lists_filesGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Lists_filesGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Lists_filesGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Lists_filesGroupByOutputType[P]>;
}>>;
export type lists_filesWhereInput = {
    AND?: Prisma.lists_filesWhereInput | Prisma.lists_filesWhereInput[];
    OR?: Prisma.lists_filesWhereInput[];
    NOT?: Prisma.lists_filesWhereInput | Prisma.lists_filesWhereInput[];
    id?: Prisma.IntFilter<"lists_files"> | number;
    lists_id?: Prisma.IntNullableFilter<"lists_files"> | number | null;
    directus_files_id?: Prisma.UuidNullableFilter<"lists_files"> | string | null;
    directus_files?: Prisma.XOR<Prisma.Directus_filesNullableScalarRelationFilter, Prisma.directus_filesWhereInput> | null;
    lists?: Prisma.XOR<Prisma.ListsNullableScalarRelationFilter, Prisma.listsWhereInput> | null;
};
export type lists_filesOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    lists_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    directus_files_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    directus_files?: Prisma.directus_filesOrderByWithRelationInput;
    lists?: Prisma.listsOrderByWithRelationInput;
};
export type lists_filesWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.lists_filesWhereInput | Prisma.lists_filesWhereInput[];
    OR?: Prisma.lists_filesWhereInput[];
    NOT?: Prisma.lists_filesWhereInput | Prisma.lists_filesWhereInput[];
    lists_id?: Prisma.IntNullableFilter<"lists_files"> | number | null;
    directus_files_id?: Prisma.UuidNullableFilter<"lists_files"> | string | null;
    directus_files?: Prisma.XOR<Prisma.Directus_filesNullableScalarRelationFilter, Prisma.directus_filesWhereInput> | null;
    lists?: Prisma.XOR<Prisma.ListsNullableScalarRelationFilter, Prisma.listsWhereInput> | null;
}, "id">;
export type lists_filesOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    lists_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    directus_files_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.lists_filesCountOrderByAggregateInput;
    _avg?: Prisma.lists_filesAvgOrderByAggregateInput;
    _max?: Prisma.lists_filesMaxOrderByAggregateInput;
    _min?: Prisma.lists_filesMinOrderByAggregateInput;
    _sum?: Prisma.lists_filesSumOrderByAggregateInput;
};
export type lists_filesScalarWhereWithAggregatesInput = {
    AND?: Prisma.lists_filesScalarWhereWithAggregatesInput | Prisma.lists_filesScalarWhereWithAggregatesInput[];
    OR?: Prisma.lists_filesScalarWhereWithAggregatesInput[];
    NOT?: Prisma.lists_filesScalarWhereWithAggregatesInput | Prisma.lists_filesScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"lists_files"> | number;
    lists_id?: Prisma.IntNullableWithAggregatesFilter<"lists_files"> | number | null;
    directus_files_id?: Prisma.UuidNullableWithAggregatesFilter<"lists_files"> | string | null;
};
export type lists_filesCreateInput = {
    directus_files?: Prisma.directus_filesCreateNestedOneWithoutLists_filesInput;
    lists?: Prisma.listsCreateNestedOneWithoutLists_filesInput;
};
export type lists_filesUncheckedCreateInput = {
    id?: number;
    lists_id?: number | null;
    directus_files_id?: string | null;
};
export type lists_filesUpdateInput = {
    directus_files?: Prisma.directus_filesUpdateOneWithoutLists_filesNestedInput;
    lists?: Prisma.listsUpdateOneWithoutLists_filesNestedInput;
};
export type lists_filesUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    lists_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    directus_files_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type lists_filesCreateManyInput = {
    id?: number;
    lists_id?: number | null;
    directus_files_id?: string | null;
};
export type lists_filesUpdateManyMutationInput = {};
export type lists_filesUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    lists_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    directus_files_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type Lists_filesListRelationFilter = {
    every?: Prisma.lists_filesWhereInput;
    some?: Prisma.lists_filesWhereInput;
    none?: Prisma.lists_filesWhereInput;
};
export type lists_filesOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type lists_filesCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    lists_id?: Prisma.SortOrder;
    directus_files_id?: Prisma.SortOrder;
};
export type lists_filesAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    lists_id?: Prisma.SortOrder;
};
export type lists_filesMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    lists_id?: Prisma.SortOrder;
    directus_files_id?: Prisma.SortOrder;
};
export type lists_filesMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    lists_id?: Prisma.SortOrder;
    directus_files_id?: Prisma.SortOrder;
};
export type lists_filesSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    lists_id?: Prisma.SortOrder;
};
export type lists_filesCreateNestedManyWithoutDirectus_filesInput = {
    create?: Prisma.XOR<Prisma.lists_filesCreateWithoutDirectus_filesInput, Prisma.lists_filesUncheckedCreateWithoutDirectus_filesInput> | Prisma.lists_filesCreateWithoutDirectus_filesInput[] | Prisma.lists_filesUncheckedCreateWithoutDirectus_filesInput[];
    connectOrCreate?: Prisma.lists_filesCreateOrConnectWithoutDirectus_filesInput | Prisma.lists_filesCreateOrConnectWithoutDirectus_filesInput[];
    createMany?: Prisma.lists_filesCreateManyDirectus_filesInputEnvelope;
    connect?: Prisma.lists_filesWhereUniqueInput | Prisma.lists_filesWhereUniqueInput[];
};
export type lists_filesUncheckedCreateNestedManyWithoutDirectus_filesInput = {
    create?: Prisma.XOR<Prisma.lists_filesCreateWithoutDirectus_filesInput, Prisma.lists_filesUncheckedCreateWithoutDirectus_filesInput> | Prisma.lists_filesCreateWithoutDirectus_filesInput[] | Prisma.lists_filesUncheckedCreateWithoutDirectus_filesInput[];
    connectOrCreate?: Prisma.lists_filesCreateOrConnectWithoutDirectus_filesInput | Prisma.lists_filesCreateOrConnectWithoutDirectus_filesInput[];
    createMany?: Prisma.lists_filesCreateManyDirectus_filesInputEnvelope;
    connect?: Prisma.lists_filesWhereUniqueInput | Prisma.lists_filesWhereUniqueInput[];
};
export type lists_filesUpdateManyWithoutDirectus_filesNestedInput = {
    create?: Prisma.XOR<Prisma.lists_filesCreateWithoutDirectus_filesInput, Prisma.lists_filesUncheckedCreateWithoutDirectus_filesInput> | Prisma.lists_filesCreateWithoutDirectus_filesInput[] | Prisma.lists_filesUncheckedCreateWithoutDirectus_filesInput[];
    connectOrCreate?: Prisma.lists_filesCreateOrConnectWithoutDirectus_filesInput | Prisma.lists_filesCreateOrConnectWithoutDirectus_filesInput[];
    upsert?: Prisma.lists_filesUpsertWithWhereUniqueWithoutDirectus_filesInput | Prisma.lists_filesUpsertWithWhereUniqueWithoutDirectus_filesInput[];
    createMany?: Prisma.lists_filesCreateManyDirectus_filesInputEnvelope;
    set?: Prisma.lists_filesWhereUniqueInput | Prisma.lists_filesWhereUniqueInput[];
    disconnect?: Prisma.lists_filesWhereUniqueInput | Prisma.lists_filesWhereUniqueInput[];
    delete?: Prisma.lists_filesWhereUniqueInput | Prisma.lists_filesWhereUniqueInput[];
    connect?: Prisma.lists_filesWhereUniqueInput | Prisma.lists_filesWhereUniqueInput[];
    update?: Prisma.lists_filesUpdateWithWhereUniqueWithoutDirectus_filesInput | Prisma.lists_filesUpdateWithWhereUniqueWithoutDirectus_filesInput[];
    updateMany?: Prisma.lists_filesUpdateManyWithWhereWithoutDirectus_filesInput | Prisma.lists_filesUpdateManyWithWhereWithoutDirectus_filesInput[];
    deleteMany?: Prisma.lists_filesScalarWhereInput | Prisma.lists_filesScalarWhereInput[];
};
export type lists_filesUncheckedUpdateManyWithoutDirectus_filesNestedInput = {
    create?: Prisma.XOR<Prisma.lists_filesCreateWithoutDirectus_filesInput, Prisma.lists_filesUncheckedCreateWithoutDirectus_filesInput> | Prisma.lists_filesCreateWithoutDirectus_filesInput[] | Prisma.lists_filesUncheckedCreateWithoutDirectus_filesInput[];
    connectOrCreate?: Prisma.lists_filesCreateOrConnectWithoutDirectus_filesInput | Prisma.lists_filesCreateOrConnectWithoutDirectus_filesInput[];
    upsert?: Prisma.lists_filesUpsertWithWhereUniqueWithoutDirectus_filesInput | Prisma.lists_filesUpsertWithWhereUniqueWithoutDirectus_filesInput[];
    createMany?: Prisma.lists_filesCreateManyDirectus_filesInputEnvelope;
    set?: Prisma.lists_filesWhereUniqueInput | Prisma.lists_filesWhereUniqueInput[];
    disconnect?: Prisma.lists_filesWhereUniqueInput | Prisma.lists_filesWhereUniqueInput[];
    delete?: Prisma.lists_filesWhereUniqueInput | Prisma.lists_filesWhereUniqueInput[];
    connect?: Prisma.lists_filesWhereUniqueInput | Prisma.lists_filesWhereUniqueInput[];
    update?: Prisma.lists_filesUpdateWithWhereUniqueWithoutDirectus_filesInput | Prisma.lists_filesUpdateWithWhereUniqueWithoutDirectus_filesInput[];
    updateMany?: Prisma.lists_filesUpdateManyWithWhereWithoutDirectus_filesInput | Prisma.lists_filesUpdateManyWithWhereWithoutDirectus_filesInput[];
    deleteMany?: Prisma.lists_filesScalarWhereInput | Prisma.lists_filesScalarWhereInput[];
};
export type lists_filesCreateNestedManyWithoutListsInput = {
    create?: Prisma.XOR<Prisma.lists_filesCreateWithoutListsInput, Prisma.lists_filesUncheckedCreateWithoutListsInput> | Prisma.lists_filesCreateWithoutListsInput[] | Prisma.lists_filesUncheckedCreateWithoutListsInput[];
    connectOrCreate?: Prisma.lists_filesCreateOrConnectWithoutListsInput | Prisma.lists_filesCreateOrConnectWithoutListsInput[];
    createMany?: Prisma.lists_filesCreateManyListsInputEnvelope;
    connect?: Prisma.lists_filesWhereUniqueInput | Prisma.lists_filesWhereUniqueInput[];
};
export type lists_filesUncheckedCreateNestedManyWithoutListsInput = {
    create?: Prisma.XOR<Prisma.lists_filesCreateWithoutListsInput, Prisma.lists_filesUncheckedCreateWithoutListsInput> | Prisma.lists_filesCreateWithoutListsInput[] | Prisma.lists_filesUncheckedCreateWithoutListsInput[];
    connectOrCreate?: Prisma.lists_filesCreateOrConnectWithoutListsInput | Prisma.lists_filesCreateOrConnectWithoutListsInput[];
    createMany?: Prisma.lists_filesCreateManyListsInputEnvelope;
    connect?: Prisma.lists_filesWhereUniqueInput | Prisma.lists_filesWhereUniqueInput[];
};
export type lists_filesUpdateManyWithoutListsNestedInput = {
    create?: Prisma.XOR<Prisma.lists_filesCreateWithoutListsInput, Prisma.lists_filesUncheckedCreateWithoutListsInput> | Prisma.lists_filesCreateWithoutListsInput[] | Prisma.lists_filesUncheckedCreateWithoutListsInput[];
    connectOrCreate?: Prisma.lists_filesCreateOrConnectWithoutListsInput | Prisma.lists_filesCreateOrConnectWithoutListsInput[];
    upsert?: Prisma.lists_filesUpsertWithWhereUniqueWithoutListsInput | Prisma.lists_filesUpsertWithWhereUniqueWithoutListsInput[];
    createMany?: Prisma.lists_filesCreateManyListsInputEnvelope;
    set?: Prisma.lists_filesWhereUniqueInput | Prisma.lists_filesWhereUniqueInput[];
    disconnect?: Prisma.lists_filesWhereUniqueInput | Prisma.lists_filesWhereUniqueInput[];
    delete?: Prisma.lists_filesWhereUniqueInput | Prisma.lists_filesWhereUniqueInput[];
    connect?: Prisma.lists_filesWhereUniqueInput | Prisma.lists_filesWhereUniqueInput[];
    update?: Prisma.lists_filesUpdateWithWhereUniqueWithoutListsInput | Prisma.lists_filesUpdateWithWhereUniqueWithoutListsInput[];
    updateMany?: Prisma.lists_filesUpdateManyWithWhereWithoutListsInput | Prisma.lists_filesUpdateManyWithWhereWithoutListsInput[];
    deleteMany?: Prisma.lists_filesScalarWhereInput | Prisma.lists_filesScalarWhereInput[];
};
export type lists_filesUncheckedUpdateManyWithoutListsNestedInput = {
    create?: Prisma.XOR<Prisma.lists_filesCreateWithoutListsInput, Prisma.lists_filesUncheckedCreateWithoutListsInput> | Prisma.lists_filesCreateWithoutListsInput[] | Prisma.lists_filesUncheckedCreateWithoutListsInput[];
    connectOrCreate?: Prisma.lists_filesCreateOrConnectWithoutListsInput | Prisma.lists_filesCreateOrConnectWithoutListsInput[];
    upsert?: Prisma.lists_filesUpsertWithWhereUniqueWithoutListsInput | Prisma.lists_filesUpsertWithWhereUniqueWithoutListsInput[];
    createMany?: Prisma.lists_filesCreateManyListsInputEnvelope;
    set?: Prisma.lists_filesWhereUniqueInput | Prisma.lists_filesWhereUniqueInput[];
    disconnect?: Prisma.lists_filesWhereUniqueInput | Prisma.lists_filesWhereUniqueInput[];
    delete?: Prisma.lists_filesWhereUniqueInput | Prisma.lists_filesWhereUniqueInput[];
    connect?: Prisma.lists_filesWhereUniqueInput | Prisma.lists_filesWhereUniqueInput[];
    update?: Prisma.lists_filesUpdateWithWhereUniqueWithoutListsInput | Prisma.lists_filesUpdateWithWhereUniqueWithoutListsInput[];
    updateMany?: Prisma.lists_filesUpdateManyWithWhereWithoutListsInput | Prisma.lists_filesUpdateManyWithWhereWithoutListsInput[];
    deleteMany?: Prisma.lists_filesScalarWhereInput | Prisma.lists_filesScalarWhereInput[];
};
export type lists_filesCreateWithoutDirectus_filesInput = {
    lists?: Prisma.listsCreateNestedOneWithoutLists_filesInput;
};
export type lists_filesUncheckedCreateWithoutDirectus_filesInput = {
    id?: number;
    lists_id?: number | null;
};
export type lists_filesCreateOrConnectWithoutDirectus_filesInput = {
    where: Prisma.lists_filesWhereUniqueInput;
    create: Prisma.XOR<Prisma.lists_filesCreateWithoutDirectus_filesInput, Prisma.lists_filesUncheckedCreateWithoutDirectus_filesInput>;
};
export type lists_filesCreateManyDirectus_filesInputEnvelope = {
    data: Prisma.lists_filesCreateManyDirectus_filesInput | Prisma.lists_filesCreateManyDirectus_filesInput[];
    skipDuplicates?: boolean;
};
export type lists_filesUpsertWithWhereUniqueWithoutDirectus_filesInput = {
    where: Prisma.lists_filesWhereUniqueInput;
    update: Prisma.XOR<Prisma.lists_filesUpdateWithoutDirectus_filesInput, Prisma.lists_filesUncheckedUpdateWithoutDirectus_filesInput>;
    create: Prisma.XOR<Prisma.lists_filesCreateWithoutDirectus_filesInput, Prisma.lists_filesUncheckedCreateWithoutDirectus_filesInput>;
};
export type lists_filesUpdateWithWhereUniqueWithoutDirectus_filesInput = {
    where: Prisma.lists_filesWhereUniqueInput;
    data: Prisma.XOR<Prisma.lists_filesUpdateWithoutDirectus_filesInput, Prisma.lists_filesUncheckedUpdateWithoutDirectus_filesInput>;
};
export type lists_filesUpdateManyWithWhereWithoutDirectus_filesInput = {
    where: Prisma.lists_filesScalarWhereInput;
    data: Prisma.XOR<Prisma.lists_filesUpdateManyMutationInput, Prisma.lists_filesUncheckedUpdateManyWithoutDirectus_filesInput>;
};
export type lists_filesScalarWhereInput = {
    AND?: Prisma.lists_filesScalarWhereInput | Prisma.lists_filesScalarWhereInput[];
    OR?: Prisma.lists_filesScalarWhereInput[];
    NOT?: Prisma.lists_filesScalarWhereInput | Prisma.lists_filesScalarWhereInput[];
    id?: Prisma.IntFilter<"lists_files"> | number;
    lists_id?: Prisma.IntNullableFilter<"lists_files"> | number | null;
    directus_files_id?: Prisma.UuidNullableFilter<"lists_files"> | string | null;
};
export type lists_filesCreateWithoutListsInput = {
    directus_files?: Prisma.directus_filesCreateNestedOneWithoutLists_filesInput;
};
export type lists_filesUncheckedCreateWithoutListsInput = {
    id?: number;
    directus_files_id?: string | null;
};
export type lists_filesCreateOrConnectWithoutListsInput = {
    where: Prisma.lists_filesWhereUniqueInput;
    create: Prisma.XOR<Prisma.lists_filesCreateWithoutListsInput, Prisma.lists_filesUncheckedCreateWithoutListsInput>;
};
export type lists_filesCreateManyListsInputEnvelope = {
    data: Prisma.lists_filesCreateManyListsInput | Prisma.lists_filesCreateManyListsInput[];
    skipDuplicates?: boolean;
};
export type lists_filesUpsertWithWhereUniqueWithoutListsInput = {
    where: Prisma.lists_filesWhereUniqueInput;
    update: Prisma.XOR<Prisma.lists_filesUpdateWithoutListsInput, Prisma.lists_filesUncheckedUpdateWithoutListsInput>;
    create: Prisma.XOR<Prisma.lists_filesCreateWithoutListsInput, Prisma.lists_filesUncheckedCreateWithoutListsInput>;
};
export type lists_filesUpdateWithWhereUniqueWithoutListsInput = {
    where: Prisma.lists_filesWhereUniqueInput;
    data: Prisma.XOR<Prisma.lists_filesUpdateWithoutListsInput, Prisma.lists_filesUncheckedUpdateWithoutListsInput>;
};
export type lists_filesUpdateManyWithWhereWithoutListsInput = {
    where: Prisma.lists_filesScalarWhereInput;
    data: Prisma.XOR<Prisma.lists_filesUpdateManyMutationInput, Prisma.lists_filesUncheckedUpdateManyWithoutListsInput>;
};
export type lists_filesCreateManyDirectus_filesInput = {
    id?: number;
    lists_id?: number | null;
};
export type lists_filesUpdateWithoutDirectus_filesInput = {
    lists?: Prisma.listsUpdateOneWithoutLists_filesNestedInput;
};
export type lists_filesUncheckedUpdateWithoutDirectus_filesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    lists_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type lists_filesUncheckedUpdateManyWithoutDirectus_filesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    lists_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type lists_filesCreateManyListsInput = {
    id?: number;
    directus_files_id?: string | null;
};
export type lists_filesUpdateWithoutListsInput = {
    directus_files?: Prisma.directus_filesUpdateOneWithoutLists_filesNestedInput;
};
export type lists_filesUncheckedUpdateWithoutListsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    directus_files_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type lists_filesUncheckedUpdateManyWithoutListsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    directus_files_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type lists_filesSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    lists_id?: boolean;
    directus_files_id?: boolean;
    directus_files?: boolean | Prisma.lists_files$directus_filesArgs<ExtArgs>;
    lists?: boolean | Prisma.lists_files$listsArgs<ExtArgs>;
}, ExtArgs["result"]["lists_files"]>;
export type lists_filesSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    lists_id?: boolean;
    directus_files_id?: boolean;
    directus_files?: boolean | Prisma.lists_files$directus_filesArgs<ExtArgs>;
    lists?: boolean | Prisma.lists_files$listsArgs<ExtArgs>;
}, ExtArgs["result"]["lists_files"]>;
export type lists_filesSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    lists_id?: boolean;
    directus_files_id?: boolean;
    directus_files?: boolean | Prisma.lists_files$directus_filesArgs<ExtArgs>;
    lists?: boolean | Prisma.lists_files$listsArgs<ExtArgs>;
}, ExtArgs["result"]["lists_files"]>;
export type lists_filesSelectScalar = {
    id?: boolean;
    lists_id?: boolean;
    directus_files_id?: boolean;
};
export type lists_filesOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "lists_id" | "directus_files_id", ExtArgs["result"]["lists_files"]>;
export type lists_filesInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    directus_files?: boolean | Prisma.lists_files$directus_filesArgs<ExtArgs>;
    lists?: boolean | Prisma.lists_files$listsArgs<ExtArgs>;
};
export type lists_filesIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    directus_files?: boolean | Prisma.lists_files$directus_filesArgs<ExtArgs>;
    lists?: boolean | Prisma.lists_files$listsArgs<ExtArgs>;
};
export type lists_filesIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    directus_files?: boolean | Prisma.lists_files$directus_filesArgs<ExtArgs>;
    lists?: boolean | Prisma.lists_files$listsArgs<ExtArgs>;
};
export type $lists_filesPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "lists_files";
    objects: {
        directus_files: Prisma.$directus_filesPayload<ExtArgs> | null;
        lists: Prisma.$listsPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        lists_id: number | null;
        directus_files_id: string | null;
    }, ExtArgs["result"]["lists_files"]>;
    composites: {};
};
export type lists_filesGetPayload<S extends boolean | null | undefined | lists_filesDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$lists_filesPayload, S>;
export type lists_filesCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<lists_filesFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Lists_filesCountAggregateInputType | true;
};
export interface lists_filesDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['lists_files'];
        meta: {
            name: 'lists_files';
        };
    };
    /**
     * Find zero or one Lists_files that matches the filter.
     * @param {lists_filesFindUniqueArgs} args - Arguments to find a Lists_files
     * @example
     * // Get one Lists_files
     * const lists_files = await prisma.lists_files.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends lists_filesFindUniqueArgs>(args: Prisma.SelectSubset<T, lists_filesFindUniqueArgs<ExtArgs>>): Prisma.Prisma__lists_filesClient<runtime.Types.Result.GetResult<Prisma.$lists_filesPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Lists_files that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {lists_filesFindUniqueOrThrowArgs} args - Arguments to find a Lists_files
     * @example
     * // Get one Lists_files
     * const lists_files = await prisma.lists_files.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends lists_filesFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, lists_filesFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__lists_filesClient<runtime.Types.Result.GetResult<Prisma.$lists_filesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Lists_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 {lists_filesFindFirstArgs} args - Arguments to find a Lists_files
     * @example
     * // Get one Lists_files
     * const lists_files = await prisma.lists_files.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends lists_filesFindFirstArgs>(args?: Prisma.SelectSubset<T, lists_filesFindFirstArgs<ExtArgs>>): Prisma.Prisma__lists_filesClient<runtime.Types.Result.GetResult<Prisma.$lists_filesPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Lists_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 {lists_filesFindFirstOrThrowArgs} args - Arguments to find a Lists_files
     * @example
     * // Get one Lists_files
     * const lists_files = await prisma.lists_files.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends lists_filesFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, lists_filesFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__lists_filesClient<runtime.Types.Result.GetResult<Prisma.$lists_filesPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Lists_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 {lists_filesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Lists_files
     * const lists_files = await prisma.lists_files.findMany()
     *
     * // Get first 10 Lists_files
     * const lists_files = await prisma.lists_files.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const lists_filesWithIdOnly = await prisma.lists_files.findMany({ select: { id: true } })
     *
     */
    findMany<T extends lists_filesFindManyArgs>(args?: Prisma.SelectSubset<T, lists_filesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$lists_filesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Lists_files.
     * @param {lists_filesCreateArgs} args - Arguments to create a Lists_files.
     * @example
     * // Create one Lists_files
     * const Lists_files = await prisma.lists_files.create({
     *   data: {
     *     // ... data to create a Lists_files
     *   }
     * })
     *
     */
    create<T extends lists_filesCreateArgs>(args: Prisma.SelectSubset<T, lists_filesCreateArgs<ExtArgs>>): Prisma.Prisma__lists_filesClient<runtime.Types.Result.GetResult<Prisma.$lists_filesPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Lists_files.
     * @param {lists_filesCreateManyArgs} args - Arguments to create many Lists_files.
     * @example
     * // Create many Lists_files
     * const lists_files = await prisma.lists_files.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends lists_filesCreateManyArgs>(args?: Prisma.SelectSubset<T, lists_filesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Lists_files and returns the data saved in the database.
     * @param {lists_filesCreateManyAndReturnArgs} args - Arguments to create many Lists_files.
     * @example
     * // Create many Lists_files
     * const lists_files = await prisma.lists_files.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Lists_files and only return the `id`
     * const lists_filesWithIdOnly = await prisma.lists_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 lists_filesCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, lists_filesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$lists_filesPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Lists_files.
     * @param {lists_filesDeleteArgs} args - Arguments to delete one Lists_files.
     * @example
     * // Delete one Lists_files
     * const Lists_files = await prisma.lists_files.delete({
     *   where: {
     *     // ... filter to delete one Lists_files
     *   }
     * })
     *
     */
    delete<T extends lists_filesDeleteArgs>(args: Prisma.SelectSubset<T, lists_filesDeleteArgs<ExtArgs>>): Prisma.Prisma__lists_filesClient<runtime.Types.Result.GetResult<Prisma.$lists_filesPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Lists_files.
     * @param {lists_filesUpdateArgs} args - Arguments to update one Lists_files.
     * @example
     * // Update one Lists_files
     * const lists_files = await prisma.lists_files.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends lists_filesUpdateArgs>(args: Prisma.SelectSubset<T, lists_filesUpdateArgs<ExtArgs>>): Prisma.Prisma__lists_filesClient<runtime.Types.Result.GetResult<Prisma.$lists_filesPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Lists_files.
     * @param {lists_filesDeleteManyArgs} args - Arguments to filter Lists_files to delete.
     * @example
     * // Delete a few Lists_files
     * const { count } = await prisma.lists_files.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends lists_filesDeleteManyArgs>(args?: Prisma.SelectSubset<T, lists_filesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Lists_files.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {lists_filesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Lists_files
     * const lists_files = await prisma.lists_files.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends lists_filesUpdateManyArgs>(args: Prisma.SelectSubset<T, lists_filesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Lists_files and returns the data updated in the database.
     * @param {lists_filesUpdateManyAndReturnArgs} args - Arguments to update many Lists_files.
     * @example
     * // Update many Lists_files
     * const lists_files = await prisma.lists_files.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Lists_files and only return the `id`
     * const lists_filesWithIdOnly = await prisma.lists_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 lists_filesUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, lists_filesUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$lists_filesPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Lists_files.
     * @param {lists_filesUpsertArgs} args - Arguments to update or create a Lists_files.
     * @example
     * // Update or create a Lists_files
     * const lists_files = await prisma.lists_files.upsert({
     *   create: {
     *     // ... data to create a Lists_files
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Lists_files we want to update
     *   }
     * })
     */
    upsert<T extends lists_filesUpsertArgs>(args: Prisma.SelectSubset<T, lists_filesUpsertArgs<ExtArgs>>): Prisma.Prisma__lists_filesClient<runtime.Types.Result.GetResult<Prisma.$lists_filesPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Lists_files.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {lists_filesCountArgs} args - Arguments to filter Lists_files to count.
     * @example
     * // Count the number of Lists_files
     * const count = await prisma.lists_files.count({
     *   where: {
     *     // ... the filter for the Lists_files we want to count
     *   }
     * })
    **/
    count<T extends lists_filesCountArgs>(args?: Prisma.Subset<T, lists_filesCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Lists_filesCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Lists_files.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Lists_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 Lists_filesAggregateArgs>(args: Prisma.Subset<T, Lists_filesAggregateArgs>): Prisma.PrismaPromise<GetLists_filesAggregateType<T>>;
    /**
     * Group by Lists_files.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {lists_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 lists_filesGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: lists_filesGroupByArgs['orderBy'];
    } : {
        orderBy?: lists_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, lists_filesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetLists_filesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the lists_files model
     */
    readonly fields: lists_filesFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for lists_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__lists_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.lists_files$directus_filesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.lists_files$directus_filesArgs<ExtArgs>>): Prisma.Prisma__directus_filesClient<runtime.Types.Result.GetResult<Prisma.$directus_filesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    lists<T extends Prisma.lists_files$listsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.lists_files$listsArgs<ExtArgs>>): Prisma.Prisma__listsClient<runtime.Types.Result.GetResult<Prisma.$listsPayload<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 lists_files model
 */
export interface lists_filesFieldRefs {
    readonly id: Prisma.FieldRef<"lists_files", 'Int'>;
    readonly lists_id: Prisma.FieldRef<"lists_files", 'Int'>;
    readonly directus_files_id: Prisma.FieldRef<"lists_files", 'String'>;
}
/**
 * lists_files findUnique
 */
export type lists_filesFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_files
     */
    select?: Prisma.lists_filesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_files
     */
    omit?: Prisma.lists_filesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_filesInclude<ExtArgs> | null;
    /**
     * Filter, which lists_files to fetch.
     */
    where: Prisma.lists_filesWhereUniqueInput;
};
/**
 * lists_files findUniqueOrThrow
 */
export type lists_filesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_files
     */
    select?: Prisma.lists_filesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_files
     */
    omit?: Prisma.lists_filesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_filesInclude<ExtArgs> | null;
    /**
     * Filter, which lists_files to fetch.
     */
    where: Prisma.lists_filesWhereUniqueInput;
};
/**
 * lists_files findFirst
 */
export type lists_filesFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_files
     */
    select?: Prisma.lists_filesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_files
     */
    omit?: Prisma.lists_filesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_filesInclude<ExtArgs> | null;
    /**
     * Filter, which lists_files to fetch.
     */
    where?: Prisma.lists_filesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of lists_files to fetch.
     */
    orderBy?: Prisma.lists_filesOrderByWithRelationInput | Prisma.lists_filesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for lists_files.
     */
    cursor?: Prisma.lists_filesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` lists_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` lists_files.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of lists_files.
     */
    distinct?: Prisma.Lists_filesScalarFieldEnum | Prisma.Lists_filesScalarFieldEnum[];
};
/**
 * lists_files findFirstOrThrow
 */
export type lists_filesFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_files
     */
    select?: Prisma.lists_filesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_files
     */
    omit?: Prisma.lists_filesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_filesInclude<ExtArgs> | null;
    /**
     * Filter, which lists_files to fetch.
     */
    where?: Prisma.lists_filesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of lists_files to fetch.
     */
    orderBy?: Prisma.lists_filesOrderByWithRelationInput | Prisma.lists_filesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for lists_files.
     */
    cursor?: Prisma.lists_filesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` lists_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` lists_files.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of lists_files.
     */
    distinct?: Prisma.Lists_filesScalarFieldEnum | Prisma.Lists_filesScalarFieldEnum[];
};
/**
 * lists_files findMany
 */
export type lists_filesFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_files
     */
    select?: Prisma.lists_filesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_files
     */
    omit?: Prisma.lists_filesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_filesInclude<ExtArgs> | null;
    /**
     * Filter, which lists_files to fetch.
     */
    where?: Prisma.lists_filesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of lists_files to fetch.
     */
    orderBy?: Prisma.lists_filesOrderByWithRelationInput | Prisma.lists_filesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing lists_files.
     */
    cursor?: Prisma.lists_filesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` lists_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` lists_files.
     */
    skip?: number;
    distinct?: Prisma.Lists_filesScalarFieldEnum | Prisma.Lists_filesScalarFieldEnum[];
};
/**
 * lists_files create
 */
export type lists_filesCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_files
     */
    select?: Prisma.lists_filesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_files
     */
    omit?: Prisma.lists_filesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_filesInclude<ExtArgs> | null;
    /**
     * The data needed to create a lists_files.
     */
    data?: Prisma.XOR<Prisma.lists_filesCreateInput, Prisma.lists_filesUncheckedCreateInput>;
};
/**
 * lists_files createMany
 */
export type lists_filesCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many lists_files.
     */
    data: Prisma.lists_filesCreateManyInput | Prisma.lists_filesCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * lists_files createManyAndReturn
 */
export type lists_filesCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_files
     */
    select?: Prisma.lists_filesSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_files
     */
    omit?: Prisma.lists_filesOmit<ExtArgs> | null;
    /**
     * The data used to create many lists_files.
     */
    data: Prisma.lists_filesCreateManyInput | Prisma.lists_filesCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_filesIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * lists_files update
 */
export type lists_filesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_files
     */
    select?: Prisma.lists_filesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_files
     */
    omit?: Prisma.lists_filesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_filesInclude<ExtArgs> | null;
    /**
     * The data needed to update a lists_files.
     */
    data: Prisma.XOR<Prisma.lists_filesUpdateInput, Prisma.lists_filesUncheckedUpdateInput>;
    /**
     * Choose, which lists_files to update.
     */
    where: Prisma.lists_filesWhereUniqueInput;
};
/**
 * lists_files updateMany
 */
export type lists_filesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update lists_files.
     */
    data: Prisma.XOR<Prisma.lists_filesUpdateManyMutationInput, Prisma.lists_filesUncheckedUpdateManyInput>;
    /**
     * Filter which lists_files to update
     */
    where?: Prisma.lists_filesWhereInput;
    /**
     * Limit how many lists_files to update.
     */
    limit?: number;
};
/**
 * lists_files updateManyAndReturn
 */
export type lists_filesUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_files
     */
    select?: Prisma.lists_filesSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_files
     */
    omit?: Prisma.lists_filesOmit<ExtArgs> | null;
    /**
     * The data used to update lists_files.
     */
    data: Prisma.XOR<Prisma.lists_filesUpdateManyMutationInput, Prisma.lists_filesUncheckedUpdateManyInput>;
    /**
     * Filter which lists_files to update
     */
    where?: Prisma.lists_filesWhereInput;
    /**
     * Limit how many lists_files to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_filesIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * lists_files upsert
 */
export type lists_filesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_files
     */
    select?: Prisma.lists_filesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_files
     */
    omit?: Prisma.lists_filesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_filesInclude<ExtArgs> | null;
    /**
     * The filter to search for the lists_files to update in case it exists.
     */
    where: Prisma.lists_filesWhereUniqueInput;
    /**
     * In case the lists_files found by the `where` argument doesn't exist, create a new lists_files with this data.
     */
    create: Prisma.XOR<Prisma.lists_filesCreateInput, Prisma.lists_filesUncheckedCreateInput>;
    /**
     * In case the lists_files was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.lists_filesUpdateInput, Prisma.lists_filesUncheckedUpdateInput>;
};
/**
 * lists_files delete
 */
export type lists_filesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_files
     */
    select?: Prisma.lists_filesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_files
     */
    omit?: Prisma.lists_filesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_filesInclude<ExtArgs> | null;
    /**
     * Filter which lists_files to delete.
     */
    where: Prisma.lists_filesWhereUniqueInput;
};
/**
 * lists_files deleteMany
 */
export type lists_filesDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which lists_files to delete
     */
    where?: Prisma.lists_filesWhereInput;
    /**
     * Limit how many lists_files to delete.
     */
    limit?: number;
};
/**
 * lists_files.directus_files
 */
export type lists_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;
};
/**
 * lists_files.lists
 */
export type lists_files$listsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists
     */
    select?: Prisma.listsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists
     */
    omit?: Prisma.listsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.listsInclude<ExtArgs> | null;
    where?: Prisma.listsWhereInput;
};
/**
 * lists_files without action
 */
export type lists_filesDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists_files
     */
    select?: Prisma.lists_filesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists_files
     */
    omit?: Prisma.lists_filesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.lists_filesInclude<ExtArgs> | null;
};
export {};
