import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model collections_brands
 * 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 collections_brandsModel = runtime.Types.Result.DefaultSelection<Prisma.$collections_brandsPayload>;
export type AggregateCollections_brands = {
    _count: Collections_brandsCountAggregateOutputType | null;
    _avg: Collections_brandsAvgAggregateOutputType | null;
    _sum: Collections_brandsSumAggregateOutputType | null;
    _min: Collections_brandsMinAggregateOutputType | null;
    _max: Collections_brandsMaxAggregateOutputType | null;
};
export type Collections_brandsAvgAggregateOutputType = {
    id: number | null;
    collections_id: number | null;
    brands_id: number | null;
};
export type Collections_brandsSumAggregateOutputType = {
    id: number | null;
    collections_id: bigint | null;
    brands_id: bigint | null;
};
export type Collections_brandsMinAggregateOutputType = {
    id: number | null;
    collections_id: bigint | null;
    brands_id: bigint | null;
};
export type Collections_brandsMaxAggregateOutputType = {
    id: number | null;
    collections_id: bigint | null;
    brands_id: bigint | null;
};
export type Collections_brandsCountAggregateOutputType = {
    id: number;
    collections_id: number;
    brands_id: number;
    _all: number;
};
export type Collections_brandsAvgAggregateInputType = {
    id?: true;
    collections_id?: true;
    brands_id?: true;
};
export type Collections_brandsSumAggregateInputType = {
    id?: true;
    collections_id?: true;
    brands_id?: true;
};
export type Collections_brandsMinAggregateInputType = {
    id?: true;
    collections_id?: true;
    brands_id?: true;
};
export type Collections_brandsMaxAggregateInputType = {
    id?: true;
    collections_id?: true;
    brands_id?: true;
};
export type Collections_brandsCountAggregateInputType = {
    id?: true;
    collections_id?: true;
    brands_id?: true;
    _all?: true;
};
export type Collections_brandsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which collections_brands to aggregate.
     */
    where?: Prisma.collections_brandsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of collections_brands to fetch.
     */
    orderBy?: Prisma.collections_brandsOrderByWithRelationInput | Prisma.collections_brandsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.collections_brandsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` collections_brands 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` collections_brands.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned collections_brands
    **/
    _count?: true | Collections_brandsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Collections_brandsAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Collections_brandsSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Collections_brandsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Collections_brandsMaxAggregateInputType;
};
export type GetCollections_brandsAggregateType<T extends Collections_brandsAggregateArgs> = {
    [P in keyof T & keyof AggregateCollections_brands]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateCollections_brands[P]> : Prisma.GetScalarType<T[P], AggregateCollections_brands[P]>;
};
export type collections_brandsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.collections_brandsWhereInput;
    orderBy?: Prisma.collections_brandsOrderByWithAggregationInput | Prisma.collections_brandsOrderByWithAggregationInput[];
    by: Prisma.Collections_brandsScalarFieldEnum[] | Prisma.Collections_brandsScalarFieldEnum;
    having?: Prisma.collections_brandsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Collections_brandsCountAggregateInputType | true;
    _avg?: Collections_brandsAvgAggregateInputType;
    _sum?: Collections_brandsSumAggregateInputType;
    _min?: Collections_brandsMinAggregateInputType;
    _max?: Collections_brandsMaxAggregateInputType;
};
export type Collections_brandsGroupByOutputType = {
    id: number;
    collections_id: bigint | null;
    brands_id: bigint | null;
    _count: Collections_brandsCountAggregateOutputType | null;
    _avg: Collections_brandsAvgAggregateOutputType | null;
    _sum: Collections_brandsSumAggregateOutputType | null;
    _min: Collections_brandsMinAggregateOutputType | null;
    _max: Collections_brandsMaxAggregateOutputType | null;
};
type GetCollections_brandsGroupByPayload<T extends collections_brandsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Collections_brandsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Collections_brandsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Collections_brandsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Collections_brandsGroupByOutputType[P]>;
}>>;
export type collections_brandsWhereInput = {
    AND?: Prisma.collections_brandsWhereInput | Prisma.collections_brandsWhereInput[];
    OR?: Prisma.collections_brandsWhereInput[];
    NOT?: Prisma.collections_brandsWhereInput | Prisma.collections_brandsWhereInput[];
    id?: Prisma.IntFilter<"collections_brands"> | number;
    collections_id?: Prisma.BigIntNullableFilter<"collections_brands"> | bigint | number | null;
    brands_id?: Prisma.BigIntNullableFilter<"collections_brands"> | bigint | number | null;
    brands?: Prisma.XOR<Prisma.BrandsNullableScalarRelationFilter, Prisma.brandsWhereInput> | null;
    collections?: Prisma.XOR<Prisma.CollectionsNullableScalarRelationFilter, Prisma.collectionsWhereInput> | null;
};
export type collections_brandsOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    collections_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    brands_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    brands?: Prisma.brandsOrderByWithRelationInput;
    collections?: Prisma.collectionsOrderByWithRelationInput;
};
export type collections_brandsWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.collections_brandsWhereInput | Prisma.collections_brandsWhereInput[];
    OR?: Prisma.collections_brandsWhereInput[];
    NOT?: Prisma.collections_brandsWhereInput | Prisma.collections_brandsWhereInput[];
    collections_id?: Prisma.BigIntNullableFilter<"collections_brands"> | bigint | number | null;
    brands_id?: Prisma.BigIntNullableFilter<"collections_brands"> | bigint | number | null;
    brands?: Prisma.XOR<Prisma.BrandsNullableScalarRelationFilter, Prisma.brandsWhereInput> | null;
    collections?: Prisma.XOR<Prisma.CollectionsNullableScalarRelationFilter, Prisma.collectionsWhereInput> | null;
}, "id">;
export type collections_brandsOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    collections_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    brands_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.collections_brandsCountOrderByAggregateInput;
    _avg?: Prisma.collections_brandsAvgOrderByAggregateInput;
    _max?: Prisma.collections_brandsMaxOrderByAggregateInput;
    _min?: Prisma.collections_brandsMinOrderByAggregateInput;
    _sum?: Prisma.collections_brandsSumOrderByAggregateInput;
};
export type collections_brandsScalarWhereWithAggregatesInput = {
    AND?: Prisma.collections_brandsScalarWhereWithAggregatesInput | Prisma.collections_brandsScalarWhereWithAggregatesInput[];
    OR?: Prisma.collections_brandsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.collections_brandsScalarWhereWithAggregatesInput | Prisma.collections_brandsScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"collections_brands"> | number;
    collections_id?: Prisma.BigIntNullableWithAggregatesFilter<"collections_brands"> | bigint | number | null;
    brands_id?: Prisma.BigIntNullableWithAggregatesFilter<"collections_brands"> | bigint | number | null;
};
export type collections_brandsCreateInput = {
    brands?: Prisma.brandsCreateNestedOneWithoutCollections_brandsInput;
    collections?: Prisma.collectionsCreateNestedOneWithoutCollections_brandsInput;
};
export type collections_brandsUncheckedCreateInput = {
    id?: number;
    collections_id?: bigint | number | null;
    brands_id?: bigint | number | null;
};
export type collections_brandsUpdateInput = {
    brands?: Prisma.brandsUpdateOneWithoutCollections_brandsNestedInput;
    collections?: Prisma.collectionsUpdateOneWithoutCollections_brandsNestedInput;
};
export type collections_brandsUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    collections_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
    brands_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type collections_brandsCreateManyInput = {
    id?: number;
    collections_id?: bigint | number | null;
    brands_id?: bigint | number | null;
};
export type collections_brandsUpdateManyMutationInput = {};
export type collections_brandsUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    collections_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
    brands_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type Collections_brandsListRelationFilter = {
    every?: Prisma.collections_brandsWhereInput;
    some?: Prisma.collections_brandsWhereInput;
    none?: Prisma.collections_brandsWhereInput;
};
export type collections_brandsOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type collections_brandsCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    collections_id?: Prisma.SortOrder;
    brands_id?: Prisma.SortOrder;
};
export type collections_brandsAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    collections_id?: Prisma.SortOrder;
    brands_id?: Prisma.SortOrder;
};
export type collections_brandsMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    collections_id?: Prisma.SortOrder;
    brands_id?: Prisma.SortOrder;
};
export type collections_brandsMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    collections_id?: Prisma.SortOrder;
    brands_id?: Prisma.SortOrder;
};
export type collections_brandsSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    collections_id?: Prisma.SortOrder;
    brands_id?: Prisma.SortOrder;
};
export type collections_brandsCreateNestedManyWithoutBrandsInput = {
    create?: Prisma.XOR<Prisma.collections_brandsCreateWithoutBrandsInput, Prisma.collections_brandsUncheckedCreateWithoutBrandsInput> | Prisma.collections_brandsCreateWithoutBrandsInput[] | Prisma.collections_brandsUncheckedCreateWithoutBrandsInput[];
    connectOrCreate?: Prisma.collections_brandsCreateOrConnectWithoutBrandsInput | Prisma.collections_brandsCreateOrConnectWithoutBrandsInput[];
    createMany?: Prisma.collections_brandsCreateManyBrandsInputEnvelope;
    connect?: Prisma.collections_brandsWhereUniqueInput | Prisma.collections_brandsWhereUniqueInput[];
};
export type collections_brandsUncheckedCreateNestedManyWithoutBrandsInput = {
    create?: Prisma.XOR<Prisma.collections_brandsCreateWithoutBrandsInput, Prisma.collections_brandsUncheckedCreateWithoutBrandsInput> | Prisma.collections_brandsCreateWithoutBrandsInput[] | Prisma.collections_brandsUncheckedCreateWithoutBrandsInput[];
    connectOrCreate?: Prisma.collections_brandsCreateOrConnectWithoutBrandsInput | Prisma.collections_brandsCreateOrConnectWithoutBrandsInput[];
    createMany?: Prisma.collections_brandsCreateManyBrandsInputEnvelope;
    connect?: Prisma.collections_brandsWhereUniqueInput | Prisma.collections_brandsWhereUniqueInput[];
};
export type collections_brandsUpdateManyWithoutBrandsNestedInput = {
    create?: Prisma.XOR<Prisma.collections_brandsCreateWithoutBrandsInput, Prisma.collections_brandsUncheckedCreateWithoutBrandsInput> | Prisma.collections_brandsCreateWithoutBrandsInput[] | Prisma.collections_brandsUncheckedCreateWithoutBrandsInput[];
    connectOrCreate?: Prisma.collections_brandsCreateOrConnectWithoutBrandsInput | Prisma.collections_brandsCreateOrConnectWithoutBrandsInput[];
    upsert?: Prisma.collections_brandsUpsertWithWhereUniqueWithoutBrandsInput | Prisma.collections_brandsUpsertWithWhereUniqueWithoutBrandsInput[];
    createMany?: Prisma.collections_brandsCreateManyBrandsInputEnvelope;
    set?: Prisma.collections_brandsWhereUniqueInput | Prisma.collections_brandsWhereUniqueInput[];
    disconnect?: Prisma.collections_brandsWhereUniqueInput | Prisma.collections_brandsWhereUniqueInput[];
    delete?: Prisma.collections_brandsWhereUniqueInput | Prisma.collections_brandsWhereUniqueInput[];
    connect?: Prisma.collections_brandsWhereUniqueInput | Prisma.collections_brandsWhereUniqueInput[];
    update?: Prisma.collections_brandsUpdateWithWhereUniqueWithoutBrandsInput | Prisma.collections_brandsUpdateWithWhereUniqueWithoutBrandsInput[];
    updateMany?: Prisma.collections_brandsUpdateManyWithWhereWithoutBrandsInput | Prisma.collections_brandsUpdateManyWithWhereWithoutBrandsInput[];
    deleteMany?: Prisma.collections_brandsScalarWhereInput | Prisma.collections_brandsScalarWhereInput[];
};
export type collections_brandsUncheckedUpdateManyWithoutBrandsNestedInput = {
    create?: Prisma.XOR<Prisma.collections_brandsCreateWithoutBrandsInput, Prisma.collections_brandsUncheckedCreateWithoutBrandsInput> | Prisma.collections_brandsCreateWithoutBrandsInput[] | Prisma.collections_brandsUncheckedCreateWithoutBrandsInput[];
    connectOrCreate?: Prisma.collections_brandsCreateOrConnectWithoutBrandsInput | Prisma.collections_brandsCreateOrConnectWithoutBrandsInput[];
    upsert?: Prisma.collections_brandsUpsertWithWhereUniqueWithoutBrandsInput | Prisma.collections_brandsUpsertWithWhereUniqueWithoutBrandsInput[];
    createMany?: Prisma.collections_brandsCreateManyBrandsInputEnvelope;
    set?: Prisma.collections_brandsWhereUniqueInput | Prisma.collections_brandsWhereUniqueInput[];
    disconnect?: Prisma.collections_brandsWhereUniqueInput | Prisma.collections_brandsWhereUniqueInput[];
    delete?: Prisma.collections_brandsWhereUniqueInput | Prisma.collections_brandsWhereUniqueInput[];
    connect?: Prisma.collections_brandsWhereUniqueInput | Prisma.collections_brandsWhereUniqueInput[];
    update?: Prisma.collections_brandsUpdateWithWhereUniqueWithoutBrandsInput | Prisma.collections_brandsUpdateWithWhereUniqueWithoutBrandsInput[];
    updateMany?: Prisma.collections_brandsUpdateManyWithWhereWithoutBrandsInput | Prisma.collections_brandsUpdateManyWithWhereWithoutBrandsInput[];
    deleteMany?: Prisma.collections_brandsScalarWhereInput | Prisma.collections_brandsScalarWhereInput[];
};
export type collections_brandsCreateNestedManyWithoutCollectionsInput = {
    create?: Prisma.XOR<Prisma.collections_brandsCreateWithoutCollectionsInput, Prisma.collections_brandsUncheckedCreateWithoutCollectionsInput> | Prisma.collections_brandsCreateWithoutCollectionsInput[] | Prisma.collections_brandsUncheckedCreateWithoutCollectionsInput[];
    connectOrCreate?: Prisma.collections_brandsCreateOrConnectWithoutCollectionsInput | Prisma.collections_brandsCreateOrConnectWithoutCollectionsInput[];
    createMany?: Prisma.collections_brandsCreateManyCollectionsInputEnvelope;
    connect?: Prisma.collections_brandsWhereUniqueInput | Prisma.collections_brandsWhereUniqueInput[];
};
export type collections_brandsUncheckedCreateNestedManyWithoutCollectionsInput = {
    create?: Prisma.XOR<Prisma.collections_brandsCreateWithoutCollectionsInput, Prisma.collections_brandsUncheckedCreateWithoutCollectionsInput> | Prisma.collections_brandsCreateWithoutCollectionsInput[] | Prisma.collections_brandsUncheckedCreateWithoutCollectionsInput[];
    connectOrCreate?: Prisma.collections_brandsCreateOrConnectWithoutCollectionsInput | Prisma.collections_brandsCreateOrConnectWithoutCollectionsInput[];
    createMany?: Prisma.collections_brandsCreateManyCollectionsInputEnvelope;
    connect?: Prisma.collections_brandsWhereUniqueInput | Prisma.collections_brandsWhereUniqueInput[];
};
export type collections_brandsUpdateManyWithoutCollectionsNestedInput = {
    create?: Prisma.XOR<Prisma.collections_brandsCreateWithoutCollectionsInput, Prisma.collections_brandsUncheckedCreateWithoutCollectionsInput> | Prisma.collections_brandsCreateWithoutCollectionsInput[] | Prisma.collections_brandsUncheckedCreateWithoutCollectionsInput[];
    connectOrCreate?: Prisma.collections_brandsCreateOrConnectWithoutCollectionsInput | Prisma.collections_brandsCreateOrConnectWithoutCollectionsInput[];
    upsert?: Prisma.collections_brandsUpsertWithWhereUniqueWithoutCollectionsInput | Prisma.collections_brandsUpsertWithWhereUniqueWithoutCollectionsInput[];
    createMany?: Prisma.collections_brandsCreateManyCollectionsInputEnvelope;
    set?: Prisma.collections_brandsWhereUniqueInput | Prisma.collections_brandsWhereUniqueInput[];
    disconnect?: Prisma.collections_brandsWhereUniqueInput | Prisma.collections_brandsWhereUniqueInput[];
    delete?: Prisma.collections_brandsWhereUniqueInput | Prisma.collections_brandsWhereUniqueInput[];
    connect?: Prisma.collections_brandsWhereUniqueInput | Prisma.collections_brandsWhereUniqueInput[];
    update?: Prisma.collections_brandsUpdateWithWhereUniqueWithoutCollectionsInput | Prisma.collections_brandsUpdateWithWhereUniqueWithoutCollectionsInput[];
    updateMany?: Prisma.collections_brandsUpdateManyWithWhereWithoutCollectionsInput | Prisma.collections_brandsUpdateManyWithWhereWithoutCollectionsInput[];
    deleteMany?: Prisma.collections_brandsScalarWhereInput | Prisma.collections_brandsScalarWhereInput[];
};
export type collections_brandsUncheckedUpdateManyWithoutCollectionsNestedInput = {
    create?: Prisma.XOR<Prisma.collections_brandsCreateWithoutCollectionsInput, Prisma.collections_brandsUncheckedCreateWithoutCollectionsInput> | Prisma.collections_brandsCreateWithoutCollectionsInput[] | Prisma.collections_brandsUncheckedCreateWithoutCollectionsInput[];
    connectOrCreate?: Prisma.collections_brandsCreateOrConnectWithoutCollectionsInput | Prisma.collections_brandsCreateOrConnectWithoutCollectionsInput[];
    upsert?: Prisma.collections_brandsUpsertWithWhereUniqueWithoutCollectionsInput | Prisma.collections_brandsUpsertWithWhereUniqueWithoutCollectionsInput[];
    createMany?: Prisma.collections_brandsCreateManyCollectionsInputEnvelope;
    set?: Prisma.collections_brandsWhereUniqueInput | Prisma.collections_brandsWhereUniqueInput[];
    disconnect?: Prisma.collections_brandsWhereUniqueInput | Prisma.collections_brandsWhereUniqueInput[];
    delete?: Prisma.collections_brandsWhereUniqueInput | Prisma.collections_brandsWhereUniqueInput[];
    connect?: Prisma.collections_brandsWhereUniqueInput | Prisma.collections_brandsWhereUniqueInput[];
    update?: Prisma.collections_brandsUpdateWithWhereUniqueWithoutCollectionsInput | Prisma.collections_brandsUpdateWithWhereUniqueWithoutCollectionsInput[];
    updateMany?: Prisma.collections_brandsUpdateManyWithWhereWithoutCollectionsInput | Prisma.collections_brandsUpdateManyWithWhereWithoutCollectionsInput[];
    deleteMany?: Prisma.collections_brandsScalarWhereInput | Prisma.collections_brandsScalarWhereInput[];
};
export type collections_brandsCreateWithoutBrandsInput = {
    collections?: Prisma.collectionsCreateNestedOneWithoutCollections_brandsInput;
};
export type collections_brandsUncheckedCreateWithoutBrandsInput = {
    id?: number;
    collections_id?: bigint | number | null;
};
export type collections_brandsCreateOrConnectWithoutBrandsInput = {
    where: Prisma.collections_brandsWhereUniqueInput;
    create: Prisma.XOR<Prisma.collections_brandsCreateWithoutBrandsInput, Prisma.collections_brandsUncheckedCreateWithoutBrandsInput>;
};
export type collections_brandsCreateManyBrandsInputEnvelope = {
    data: Prisma.collections_brandsCreateManyBrandsInput | Prisma.collections_brandsCreateManyBrandsInput[];
    skipDuplicates?: boolean;
};
export type collections_brandsUpsertWithWhereUniqueWithoutBrandsInput = {
    where: Prisma.collections_brandsWhereUniqueInput;
    update: Prisma.XOR<Prisma.collections_brandsUpdateWithoutBrandsInput, Prisma.collections_brandsUncheckedUpdateWithoutBrandsInput>;
    create: Prisma.XOR<Prisma.collections_brandsCreateWithoutBrandsInput, Prisma.collections_brandsUncheckedCreateWithoutBrandsInput>;
};
export type collections_brandsUpdateWithWhereUniqueWithoutBrandsInput = {
    where: Prisma.collections_brandsWhereUniqueInput;
    data: Prisma.XOR<Prisma.collections_brandsUpdateWithoutBrandsInput, Prisma.collections_brandsUncheckedUpdateWithoutBrandsInput>;
};
export type collections_brandsUpdateManyWithWhereWithoutBrandsInput = {
    where: Prisma.collections_brandsScalarWhereInput;
    data: Prisma.XOR<Prisma.collections_brandsUpdateManyMutationInput, Prisma.collections_brandsUncheckedUpdateManyWithoutBrandsInput>;
};
export type collections_brandsScalarWhereInput = {
    AND?: Prisma.collections_brandsScalarWhereInput | Prisma.collections_brandsScalarWhereInput[];
    OR?: Prisma.collections_brandsScalarWhereInput[];
    NOT?: Prisma.collections_brandsScalarWhereInput | Prisma.collections_brandsScalarWhereInput[];
    id?: Prisma.IntFilter<"collections_brands"> | number;
    collections_id?: Prisma.BigIntNullableFilter<"collections_brands"> | bigint | number | null;
    brands_id?: Prisma.BigIntNullableFilter<"collections_brands"> | bigint | number | null;
};
export type collections_brandsCreateWithoutCollectionsInput = {
    brands?: Prisma.brandsCreateNestedOneWithoutCollections_brandsInput;
};
export type collections_brandsUncheckedCreateWithoutCollectionsInput = {
    id?: number;
    brands_id?: bigint | number | null;
};
export type collections_brandsCreateOrConnectWithoutCollectionsInput = {
    where: Prisma.collections_brandsWhereUniqueInput;
    create: Prisma.XOR<Prisma.collections_brandsCreateWithoutCollectionsInput, Prisma.collections_brandsUncheckedCreateWithoutCollectionsInput>;
};
export type collections_brandsCreateManyCollectionsInputEnvelope = {
    data: Prisma.collections_brandsCreateManyCollectionsInput | Prisma.collections_brandsCreateManyCollectionsInput[];
    skipDuplicates?: boolean;
};
export type collections_brandsUpsertWithWhereUniqueWithoutCollectionsInput = {
    where: Prisma.collections_brandsWhereUniqueInput;
    update: Prisma.XOR<Prisma.collections_brandsUpdateWithoutCollectionsInput, Prisma.collections_brandsUncheckedUpdateWithoutCollectionsInput>;
    create: Prisma.XOR<Prisma.collections_brandsCreateWithoutCollectionsInput, Prisma.collections_brandsUncheckedCreateWithoutCollectionsInput>;
};
export type collections_brandsUpdateWithWhereUniqueWithoutCollectionsInput = {
    where: Prisma.collections_brandsWhereUniqueInput;
    data: Prisma.XOR<Prisma.collections_brandsUpdateWithoutCollectionsInput, Prisma.collections_brandsUncheckedUpdateWithoutCollectionsInput>;
};
export type collections_brandsUpdateManyWithWhereWithoutCollectionsInput = {
    where: Prisma.collections_brandsScalarWhereInput;
    data: Prisma.XOR<Prisma.collections_brandsUpdateManyMutationInput, Prisma.collections_brandsUncheckedUpdateManyWithoutCollectionsInput>;
};
export type collections_brandsCreateManyBrandsInput = {
    id?: number;
    collections_id?: bigint | number | null;
};
export type collections_brandsUpdateWithoutBrandsInput = {
    collections?: Prisma.collectionsUpdateOneWithoutCollections_brandsNestedInput;
};
export type collections_brandsUncheckedUpdateWithoutBrandsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    collections_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type collections_brandsUncheckedUpdateManyWithoutBrandsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    collections_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type collections_brandsCreateManyCollectionsInput = {
    id?: number;
    brands_id?: bigint | number | null;
};
export type collections_brandsUpdateWithoutCollectionsInput = {
    brands?: Prisma.brandsUpdateOneWithoutCollections_brandsNestedInput;
};
export type collections_brandsUncheckedUpdateWithoutCollectionsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    brands_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type collections_brandsUncheckedUpdateManyWithoutCollectionsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    brands_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type collections_brandsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    collections_id?: boolean;
    brands_id?: boolean;
    brands?: boolean | Prisma.collections_brands$brandsArgs<ExtArgs>;
    collections?: boolean | Prisma.collections_brands$collectionsArgs<ExtArgs>;
}, ExtArgs["result"]["collections_brands"]>;
export type collections_brandsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    collections_id?: boolean;
    brands_id?: boolean;
    brands?: boolean | Prisma.collections_brands$brandsArgs<ExtArgs>;
    collections?: boolean | Prisma.collections_brands$collectionsArgs<ExtArgs>;
}, ExtArgs["result"]["collections_brands"]>;
export type collections_brandsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    collections_id?: boolean;
    brands_id?: boolean;
    brands?: boolean | Prisma.collections_brands$brandsArgs<ExtArgs>;
    collections?: boolean | Prisma.collections_brands$collectionsArgs<ExtArgs>;
}, ExtArgs["result"]["collections_brands"]>;
export type collections_brandsSelectScalar = {
    id?: boolean;
    collections_id?: boolean;
    brands_id?: boolean;
};
export type collections_brandsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "collections_id" | "brands_id", ExtArgs["result"]["collections_brands"]>;
export type collections_brandsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    brands?: boolean | Prisma.collections_brands$brandsArgs<ExtArgs>;
    collections?: boolean | Prisma.collections_brands$collectionsArgs<ExtArgs>;
};
export type collections_brandsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    brands?: boolean | Prisma.collections_brands$brandsArgs<ExtArgs>;
    collections?: boolean | Prisma.collections_brands$collectionsArgs<ExtArgs>;
};
export type collections_brandsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    brands?: boolean | Prisma.collections_brands$brandsArgs<ExtArgs>;
    collections?: boolean | Prisma.collections_brands$collectionsArgs<ExtArgs>;
};
export type $collections_brandsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "collections_brands";
    objects: {
        brands: Prisma.$brandsPayload<ExtArgs> | null;
        collections: Prisma.$collectionsPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        collections_id: bigint | null;
        brands_id: bigint | null;
    }, ExtArgs["result"]["collections_brands"]>;
    composites: {};
};
export type collections_brandsGetPayload<S extends boolean | null | undefined | collections_brandsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$collections_brandsPayload, S>;
export type collections_brandsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<collections_brandsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Collections_brandsCountAggregateInputType | true;
};
export interface collections_brandsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['collections_brands'];
        meta: {
            name: 'collections_brands';
        };
    };
    /**
     * Find zero or one Collections_brands that matches the filter.
     * @param {collections_brandsFindUniqueArgs} args - Arguments to find a Collections_brands
     * @example
     * // Get one Collections_brands
     * const collections_brands = await prisma.collections_brands.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends collections_brandsFindUniqueArgs>(args: Prisma.SelectSubset<T, collections_brandsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__collections_brandsClient<runtime.Types.Result.GetResult<Prisma.$collections_brandsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Collections_brands that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {collections_brandsFindUniqueOrThrowArgs} args - Arguments to find a Collections_brands
     * @example
     * // Get one Collections_brands
     * const collections_brands = await prisma.collections_brands.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends collections_brandsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, collections_brandsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__collections_brandsClient<runtime.Types.Result.GetResult<Prisma.$collections_brandsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Collections_brands 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 {collections_brandsFindFirstArgs} args - Arguments to find a Collections_brands
     * @example
     * // Get one Collections_brands
     * const collections_brands = await prisma.collections_brands.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends collections_brandsFindFirstArgs>(args?: Prisma.SelectSubset<T, collections_brandsFindFirstArgs<ExtArgs>>): Prisma.Prisma__collections_brandsClient<runtime.Types.Result.GetResult<Prisma.$collections_brandsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Collections_brands 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 {collections_brandsFindFirstOrThrowArgs} args - Arguments to find a Collections_brands
     * @example
     * // Get one Collections_brands
     * const collections_brands = await prisma.collections_brands.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends collections_brandsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, collections_brandsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__collections_brandsClient<runtime.Types.Result.GetResult<Prisma.$collections_brandsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Collections_brands 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 {collections_brandsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Collections_brands
     * const collections_brands = await prisma.collections_brands.findMany()
     *
     * // Get first 10 Collections_brands
     * const collections_brands = await prisma.collections_brands.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const collections_brandsWithIdOnly = await prisma.collections_brands.findMany({ select: { id: true } })
     *
     */
    findMany<T extends collections_brandsFindManyArgs>(args?: Prisma.SelectSubset<T, collections_brandsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$collections_brandsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Collections_brands.
     * @param {collections_brandsCreateArgs} args - Arguments to create a Collections_brands.
     * @example
     * // Create one Collections_brands
     * const Collections_brands = await prisma.collections_brands.create({
     *   data: {
     *     // ... data to create a Collections_brands
     *   }
     * })
     *
     */
    create<T extends collections_brandsCreateArgs>(args: Prisma.SelectSubset<T, collections_brandsCreateArgs<ExtArgs>>): Prisma.Prisma__collections_brandsClient<runtime.Types.Result.GetResult<Prisma.$collections_brandsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Collections_brands.
     * @param {collections_brandsCreateManyArgs} args - Arguments to create many Collections_brands.
     * @example
     * // Create many Collections_brands
     * const collections_brands = await prisma.collections_brands.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends collections_brandsCreateManyArgs>(args?: Prisma.SelectSubset<T, collections_brandsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Collections_brands and returns the data saved in the database.
     * @param {collections_brandsCreateManyAndReturnArgs} args - Arguments to create many Collections_brands.
     * @example
     * // Create many Collections_brands
     * const collections_brands = await prisma.collections_brands.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Collections_brands and only return the `id`
     * const collections_brandsWithIdOnly = await prisma.collections_brands.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 collections_brandsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, collections_brandsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$collections_brandsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Collections_brands.
     * @param {collections_brandsDeleteArgs} args - Arguments to delete one Collections_brands.
     * @example
     * // Delete one Collections_brands
     * const Collections_brands = await prisma.collections_brands.delete({
     *   where: {
     *     // ... filter to delete one Collections_brands
     *   }
     * })
     *
     */
    delete<T extends collections_brandsDeleteArgs>(args: Prisma.SelectSubset<T, collections_brandsDeleteArgs<ExtArgs>>): Prisma.Prisma__collections_brandsClient<runtime.Types.Result.GetResult<Prisma.$collections_brandsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Collections_brands.
     * @param {collections_brandsUpdateArgs} args - Arguments to update one Collections_brands.
     * @example
     * // Update one Collections_brands
     * const collections_brands = await prisma.collections_brands.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends collections_brandsUpdateArgs>(args: Prisma.SelectSubset<T, collections_brandsUpdateArgs<ExtArgs>>): Prisma.Prisma__collections_brandsClient<runtime.Types.Result.GetResult<Prisma.$collections_brandsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Collections_brands.
     * @param {collections_brandsDeleteManyArgs} args - Arguments to filter Collections_brands to delete.
     * @example
     * // Delete a few Collections_brands
     * const { count } = await prisma.collections_brands.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends collections_brandsDeleteManyArgs>(args?: Prisma.SelectSubset<T, collections_brandsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Collections_brands.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {collections_brandsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Collections_brands
     * const collections_brands = await prisma.collections_brands.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends collections_brandsUpdateManyArgs>(args: Prisma.SelectSubset<T, collections_brandsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Collections_brands and returns the data updated in the database.
     * @param {collections_brandsUpdateManyAndReturnArgs} args - Arguments to update many Collections_brands.
     * @example
     * // Update many Collections_brands
     * const collections_brands = await prisma.collections_brands.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Collections_brands and only return the `id`
     * const collections_brandsWithIdOnly = await prisma.collections_brands.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 collections_brandsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, collections_brandsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$collections_brandsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Collections_brands.
     * @param {collections_brandsUpsertArgs} args - Arguments to update or create a Collections_brands.
     * @example
     * // Update or create a Collections_brands
     * const collections_brands = await prisma.collections_brands.upsert({
     *   create: {
     *     // ... data to create a Collections_brands
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Collections_brands we want to update
     *   }
     * })
     */
    upsert<T extends collections_brandsUpsertArgs>(args: Prisma.SelectSubset<T, collections_brandsUpsertArgs<ExtArgs>>): Prisma.Prisma__collections_brandsClient<runtime.Types.Result.GetResult<Prisma.$collections_brandsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Collections_brands.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {collections_brandsCountArgs} args - Arguments to filter Collections_brands to count.
     * @example
     * // Count the number of Collections_brands
     * const count = await prisma.collections_brands.count({
     *   where: {
     *     // ... the filter for the Collections_brands we want to count
     *   }
     * })
    **/
    count<T extends collections_brandsCountArgs>(args?: Prisma.Subset<T, collections_brandsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Collections_brandsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Collections_brands.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Collections_brandsAggregateArgs} 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 Collections_brandsAggregateArgs>(args: Prisma.Subset<T, Collections_brandsAggregateArgs>): Prisma.PrismaPromise<GetCollections_brandsAggregateType<T>>;
    /**
     * Group by Collections_brands.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {collections_brandsGroupByArgs} 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 collections_brandsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: collections_brandsGroupByArgs['orderBy'];
    } : {
        orderBy?: collections_brandsGroupByArgs['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, collections_brandsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCollections_brandsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the collections_brands model
     */
    readonly fields: collections_brandsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for collections_brands.
 * 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__collections_brandsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    brands<T extends Prisma.collections_brands$brandsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.collections_brands$brandsArgs<ExtArgs>>): Prisma.Prisma__brandsClient<runtime.Types.Result.GetResult<Prisma.$brandsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    collections<T extends Prisma.collections_brands$collectionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.collections_brands$collectionsArgs<ExtArgs>>): Prisma.Prisma__collectionsClient<runtime.Types.Result.GetResult<Prisma.$collectionsPayload<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 collections_brands model
 */
export interface collections_brandsFieldRefs {
    readonly id: Prisma.FieldRef<"collections_brands", 'Int'>;
    readonly collections_id: Prisma.FieldRef<"collections_brands", 'BigInt'>;
    readonly brands_id: Prisma.FieldRef<"collections_brands", 'BigInt'>;
}
/**
 * collections_brands findUnique
 */
export type collections_brandsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the collections_brands
     */
    select?: Prisma.collections_brandsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the collections_brands
     */
    omit?: Prisma.collections_brandsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.collections_brandsInclude<ExtArgs> | null;
    /**
     * Filter, which collections_brands to fetch.
     */
    where: Prisma.collections_brandsWhereUniqueInput;
};
/**
 * collections_brands findUniqueOrThrow
 */
export type collections_brandsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the collections_brands
     */
    select?: Prisma.collections_brandsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the collections_brands
     */
    omit?: Prisma.collections_brandsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.collections_brandsInclude<ExtArgs> | null;
    /**
     * Filter, which collections_brands to fetch.
     */
    where: Prisma.collections_brandsWhereUniqueInput;
};
/**
 * collections_brands findFirst
 */
export type collections_brandsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the collections_brands
     */
    select?: Prisma.collections_brandsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the collections_brands
     */
    omit?: Prisma.collections_brandsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.collections_brandsInclude<ExtArgs> | null;
    /**
     * Filter, which collections_brands to fetch.
     */
    where?: Prisma.collections_brandsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of collections_brands to fetch.
     */
    orderBy?: Prisma.collections_brandsOrderByWithRelationInput | Prisma.collections_brandsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for collections_brands.
     */
    cursor?: Prisma.collections_brandsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` collections_brands 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` collections_brands.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of collections_brands.
     */
    distinct?: Prisma.Collections_brandsScalarFieldEnum | Prisma.Collections_brandsScalarFieldEnum[];
};
/**
 * collections_brands findFirstOrThrow
 */
export type collections_brandsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the collections_brands
     */
    select?: Prisma.collections_brandsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the collections_brands
     */
    omit?: Prisma.collections_brandsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.collections_brandsInclude<ExtArgs> | null;
    /**
     * Filter, which collections_brands to fetch.
     */
    where?: Prisma.collections_brandsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of collections_brands to fetch.
     */
    orderBy?: Prisma.collections_brandsOrderByWithRelationInput | Prisma.collections_brandsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for collections_brands.
     */
    cursor?: Prisma.collections_brandsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` collections_brands 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` collections_brands.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of collections_brands.
     */
    distinct?: Prisma.Collections_brandsScalarFieldEnum | Prisma.Collections_brandsScalarFieldEnum[];
};
/**
 * collections_brands findMany
 */
export type collections_brandsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the collections_brands
     */
    select?: Prisma.collections_brandsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the collections_brands
     */
    omit?: Prisma.collections_brandsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.collections_brandsInclude<ExtArgs> | null;
    /**
     * Filter, which collections_brands to fetch.
     */
    where?: Prisma.collections_brandsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of collections_brands to fetch.
     */
    orderBy?: Prisma.collections_brandsOrderByWithRelationInput | Prisma.collections_brandsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing collections_brands.
     */
    cursor?: Prisma.collections_brandsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` collections_brands 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` collections_brands.
     */
    skip?: number;
    distinct?: Prisma.Collections_brandsScalarFieldEnum | Prisma.Collections_brandsScalarFieldEnum[];
};
/**
 * collections_brands create
 */
export type collections_brandsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the collections_brands
     */
    select?: Prisma.collections_brandsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the collections_brands
     */
    omit?: Prisma.collections_brandsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.collections_brandsInclude<ExtArgs> | null;
    /**
     * The data needed to create a collections_brands.
     */
    data?: Prisma.XOR<Prisma.collections_brandsCreateInput, Prisma.collections_brandsUncheckedCreateInput>;
};
/**
 * collections_brands createMany
 */
export type collections_brandsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many collections_brands.
     */
    data: Prisma.collections_brandsCreateManyInput | Prisma.collections_brandsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * collections_brands createManyAndReturn
 */
export type collections_brandsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the collections_brands
     */
    select?: Prisma.collections_brandsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the collections_brands
     */
    omit?: Prisma.collections_brandsOmit<ExtArgs> | null;
    /**
     * The data used to create many collections_brands.
     */
    data: Prisma.collections_brandsCreateManyInput | Prisma.collections_brandsCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.collections_brandsIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * collections_brands update
 */
export type collections_brandsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the collections_brands
     */
    select?: Prisma.collections_brandsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the collections_brands
     */
    omit?: Prisma.collections_brandsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.collections_brandsInclude<ExtArgs> | null;
    /**
     * The data needed to update a collections_brands.
     */
    data: Prisma.XOR<Prisma.collections_brandsUpdateInput, Prisma.collections_brandsUncheckedUpdateInput>;
    /**
     * Choose, which collections_brands to update.
     */
    where: Prisma.collections_brandsWhereUniqueInput;
};
/**
 * collections_brands updateMany
 */
export type collections_brandsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update collections_brands.
     */
    data: Prisma.XOR<Prisma.collections_brandsUpdateManyMutationInput, Prisma.collections_brandsUncheckedUpdateManyInput>;
    /**
     * Filter which collections_brands to update
     */
    where?: Prisma.collections_brandsWhereInput;
    /**
     * Limit how many collections_brands to update.
     */
    limit?: number;
};
/**
 * collections_brands updateManyAndReturn
 */
export type collections_brandsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the collections_brands
     */
    select?: Prisma.collections_brandsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the collections_brands
     */
    omit?: Prisma.collections_brandsOmit<ExtArgs> | null;
    /**
     * The data used to update collections_brands.
     */
    data: Prisma.XOR<Prisma.collections_brandsUpdateManyMutationInput, Prisma.collections_brandsUncheckedUpdateManyInput>;
    /**
     * Filter which collections_brands to update
     */
    where?: Prisma.collections_brandsWhereInput;
    /**
     * Limit how many collections_brands to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.collections_brandsIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * collections_brands upsert
 */
export type collections_brandsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the collections_brands
     */
    select?: Prisma.collections_brandsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the collections_brands
     */
    omit?: Prisma.collections_brandsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.collections_brandsInclude<ExtArgs> | null;
    /**
     * The filter to search for the collections_brands to update in case it exists.
     */
    where: Prisma.collections_brandsWhereUniqueInput;
    /**
     * In case the collections_brands found by the `where` argument doesn't exist, create a new collections_brands with this data.
     */
    create: Prisma.XOR<Prisma.collections_brandsCreateInput, Prisma.collections_brandsUncheckedCreateInput>;
    /**
     * In case the collections_brands was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.collections_brandsUpdateInput, Prisma.collections_brandsUncheckedUpdateInput>;
};
/**
 * collections_brands delete
 */
export type collections_brandsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the collections_brands
     */
    select?: Prisma.collections_brandsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the collections_brands
     */
    omit?: Prisma.collections_brandsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.collections_brandsInclude<ExtArgs> | null;
    /**
     * Filter which collections_brands to delete.
     */
    where: Prisma.collections_brandsWhereUniqueInput;
};
/**
 * collections_brands deleteMany
 */
export type collections_brandsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which collections_brands to delete
     */
    where?: Prisma.collections_brandsWhereInput;
    /**
     * Limit how many collections_brands to delete.
     */
    limit?: number;
};
/**
 * collections_brands.brands
 */
export type collections_brands$brandsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the brands
     */
    select?: Prisma.brandsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the brands
     */
    omit?: Prisma.brandsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.brandsInclude<ExtArgs> | null;
    where?: Prisma.brandsWhereInput;
};
/**
 * collections_brands.collections
 */
export type collections_brands$collectionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the collections
     */
    select?: Prisma.collectionsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the collections
     */
    omit?: Prisma.collectionsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.collectionsInclude<ExtArgs> | null;
    where?: Prisma.collectionsWhereInput;
};
/**
 * collections_brands without action
 */
export type collections_brandsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the collections_brands
     */
    select?: Prisma.collections_brandsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the collections_brands
     */
    omit?: Prisma.collections_brandsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.collections_brandsInclude<ExtArgs> | null;
};
export {};
