import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model brands_manufacturer
 * 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 brands_manufacturerModel = runtime.Types.Result.DefaultSelection<Prisma.$brands_manufacturerPayload>;
export type AggregateBrands_manufacturer = {
    _count: Brands_manufacturerCountAggregateOutputType | null;
    _avg: Brands_manufacturerAvgAggregateOutputType | null;
    _sum: Brands_manufacturerSumAggregateOutputType | null;
    _min: Brands_manufacturerMinAggregateOutputType | null;
    _max: Brands_manufacturerMaxAggregateOutputType | null;
};
export type Brands_manufacturerAvgAggregateOutputType = {
    id: number | null;
    brands_id: number | null;
    manufacturer_id: number | null;
};
export type Brands_manufacturerSumAggregateOutputType = {
    id: number | null;
    brands_id: bigint | null;
    manufacturer_id: bigint | null;
};
export type Brands_manufacturerMinAggregateOutputType = {
    id: number | null;
    brands_id: bigint | null;
    manufacturer_id: bigint | null;
};
export type Brands_manufacturerMaxAggregateOutputType = {
    id: number | null;
    brands_id: bigint | null;
    manufacturer_id: bigint | null;
};
export type Brands_manufacturerCountAggregateOutputType = {
    id: number;
    brands_id: number;
    manufacturer_id: number;
    _all: number;
};
export type Brands_manufacturerAvgAggregateInputType = {
    id?: true;
    brands_id?: true;
    manufacturer_id?: true;
};
export type Brands_manufacturerSumAggregateInputType = {
    id?: true;
    brands_id?: true;
    manufacturer_id?: true;
};
export type Brands_manufacturerMinAggregateInputType = {
    id?: true;
    brands_id?: true;
    manufacturer_id?: true;
};
export type Brands_manufacturerMaxAggregateInputType = {
    id?: true;
    brands_id?: true;
    manufacturer_id?: true;
};
export type Brands_manufacturerCountAggregateInputType = {
    id?: true;
    brands_id?: true;
    manufacturer_id?: true;
    _all?: true;
};
export type Brands_manufacturerAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which brands_manufacturer to aggregate.
     */
    where?: Prisma.brands_manufacturerWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of brands_manufacturers to fetch.
     */
    orderBy?: Prisma.brands_manufacturerOrderByWithRelationInput | Prisma.brands_manufacturerOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.brands_manufacturerWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` brands_manufacturers 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` brands_manufacturers.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned brands_manufacturers
    **/
    _count?: true | Brands_manufacturerCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Brands_manufacturerAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Brands_manufacturerSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Brands_manufacturerMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Brands_manufacturerMaxAggregateInputType;
};
export type GetBrands_manufacturerAggregateType<T extends Brands_manufacturerAggregateArgs> = {
    [P in keyof T & keyof AggregateBrands_manufacturer]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateBrands_manufacturer[P]> : Prisma.GetScalarType<T[P], AggregateBrands_manufacturer[P]>;
};
export type brands_manufacturerGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.brands_manufacturerWhereInput;
    orderBy?: Prisma.brands_manufacturerOrderByWithAggregationInput | Prisma.brands_manufacturerOrderByWithAggregationInput[];
    by: Prisma.Brands_manufacturerScalarFieldEnum[] | Prisma.Brands_manufacturerScalarFieldEnum;
    having?: Prisma.brands_manufacturerScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Brands_manufacturerCountAggregateInputType | true;
    _avg?: Brands_manufacturerAvgAggregateInputType;
    _sum?: Brands_manufacturerSumAggregateInputType;
    _min?: Brands_manufacturerMinAggregateInputType;
    _max?: Brands_manufacturerMaxAggregateInputType;
};
export type Brands_manufacturerGroupByOutputType = {
    id: number;
    brands_id: bigint | null;
    manufacturer_id: bigint | null;
    _count: Brands_manufacturerCountAggregateOutputType | null;
    _avg: Brands_manufacturerAvgAggregateOutputType | null;
    _sum: Brands_manufacturerSumAggregateOutputType | null;
    _min: Brands_manufacturerMinAggregateOutputType | null;
    _max: Brands_manufacturerMaxAggregateOutputType | null;
};
type GetBrands_manufacturerGroupByPayload<T extends brands_manufacturerGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Brands_manufacturerGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Brands_manufacturerGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Brands_manufacturerGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Brands_manufacturerGroupByOutputType[P]>;
}>>;
export type brands_manufacturerWhereInput = {
    AND?: Prisma.brands_manufacturerWhereInput | Prisma.brands_manufacturerWhereInput[];
    OR?: Prisma.brands_manufacturerWhereInput[];
    NOT?: Prisma.brands_manufacturerWhereInput | Prisma.brands_manufacturerWhereInput[];
    id?: Prisma.IntFilter<"brands_manufacturer"> | number;
    brands_id?: Prisma.BigIntNullableFilter<"brands_manufacturer"> | bigint | number | null;
    manufacturer_id?: Prisma.BigIntNullableFilter<"brands_manufacturer"> | bigint | number | null;
    brands?: Prisma.XOR<Prisma.BrandsNullableScalarRelationFilter, Prisma.brandsWhereInput> | null;
    manufacturer?: Prisma.XOR<Prisma.ManufacturerNullableScalarRelationFilter, Prisma.manufacturerWhereInput> | null;
};
export type brands_manufacturerOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    brands_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    manufacturer_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    brands?: Prisma.brandsOrderByWithRelationInput;
    manufacturer?: Prisma.manufacturerOrderByWithRelationInput;
};
export type brands_manufacturerWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.brands_manufacturerWhereInput | Prisma.brands_manufacturerWhereInput[];
    OR?: Prisma.brands_manufacturerWhereInput[];
    NOT?: Prisma.brands_manufacturerWhereInput | Prisma.brands_manufacturerWhereInput[];
    brands_id?: Prisma.BigIntNullableFilter<"brands_manufacturer"> | bigint | number | null;
    manufacturer_id?: Prisma.BigIntNullableFilter<"brands_manufacturer"> | bigint | number | null;
    brands?: Prisma.XOR<Prisma.BrandsNullableScalarRelationFilter, Prisma.brandsWhereInput> | null;
    manufacturer?: Prisma.XOR<Prisma.ManufacturerNullableScalarRelationFilter, Prisma.manufacturerWhereInput> | null;
}, "id">;
export type brands_manufacturerOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    brands_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    manufacturer_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.brands_manufacturerCountOrderByAggregateInput;
    _avg?: Prisma.brands_manufacturerAvgOrderByAggregateInput;
    _max?: Prisma.brands_manufacturerMaxOrderByAggregateInput;
    _min?: Prisma.brands_manufacturerMinOrderByAggregateInput;
    _sum?: Prisma.brands_manufacturerSumOrderByAggregateInput;
};
export type brands_manufacturerScalarWhereWithAggregatesInput = {
    AND?: Prisma.brands_manufacturerScalarWhereWithAggregatesInput | Prisma.brands_manufacturerScalarWhereWithAggregatesInput[];
    OR?: Prisma.brands_manufacturerScalarWhereWithAggregatesInput[];
    NOT?: Prisma.brands_manufacturerScalarWhereWithAggregatesInput | Prisma.brands_manufacturerScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"brands_manufacturer"> | number;
    brands_id?: Prisma.BigIntNullableWithAggregatesFilter<"brands_manufacturer"> | bigint | number | null;
    manufacturer_id?: Prisma.BigIntNullableWithAggregatesFilter<"brands_manufacturer"> | bigint | number | null;
};
export type brands_manufacturerCreateInput = {
    brands?: Prisma.brandsCreateNestedOneWithoutBrands_manufacturerInput;
    manufacturer?: Prisma.manufacturerCreateNestedOneWithoutBrands_manufacturerInput;
};
export type brands_manufacturerUncheckedCreateInput = {
    id?: number;
    brands_id?: bigint | number | null;
    manufacturer_id?: bigint | number | null;
};
export type brands_manufacturerUpdateInput = {
    brands?: Prisma.brandsUpdateOneWithoutBrands_manufacturerNestedInput;
    manufacturer?: Prisma.manufacturerUpdateOneWithoutBrands_manufacturerNestedInput;
};
export type brands_manufacturerUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    brands_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
    manufacturer_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type brands_manufacturerCreateManyInput = {
    id?: number;
    brands_id?: bigint | number | null;
    manufacturer_id?: bigint | number | null;
};
export type brands_manufacturerUpdateManyMutationInput = {};
export type brands_manufacturerUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    brands_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
    manufacturer_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type Brands_manufacturerListRelationFilter = {
    every?: Prisma.brands_manufacturerWhereInput;
    some?: Prisma.brands_manufacturerWhereInput;
    none?: Prisma.brands_manufacturerWhereInput;
};
export type brands_manufacturerOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type brands_manufacturerCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    brands_id?: Prisma.SortOrder;
    manufacturer_id?: Prisma.SortOrder;
};
export type brands_manufacturerAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    brands_id?: Prisma.SortOrder;
    manufacturer_id?: Prisma.SortOrder;
};
export type brands_manufacturerMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    brands_id?: Prisma.SortOrder;
    manufacturer_id?: Prisma.SortOrder;
};
export type brands_manufacturerMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    brands_id?: Prisma.SortOrder;
    manufacturer_id?: Prisma.SortOrder;
};
export type brands_manufacturerSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    brands_id?: Prisma.SortOrder;
    manufacturer_id?: Prisma.SortOrder;
};
export type brands_manufacturerCreateNestedManyWithoutBrandsInput = {
    create?: Prisma.XOR<Prisma.brands_manufacturerCreateWithoutBrandsInput, Prisma.brands_manufacturerUncheckedCreateWithoutBrandsInput> | Prisma.brands_manufacturerCreateWithoutBrandsInput[] | Prisma.brands_manufacturerUncheckedCreateWithoutBrandsInput[];
    connectOrCreate?: Prisma.brands_manufacturerCreateOrConnectWithoutBrandsInput | Prisma.brands_manufacturerCreateOrConnectWithoutBrandsInput[];
    createMany?: Prisma.brands_manufacturerCreateManyBrandsInputEnvelope;
    connect?: Prisma.brands_manufacturerWhereUniqueInput | Prisma.brands_manufacturerWhereUniqueInput[];
};
export type brands_manufacturerUncheckedCreateNestedManyWithoutBrandsInput = {
    create?: Prisma.XOR<Prisma.brands_manufacturerCreateWithoutBrandsInput, Prisma.brands_manufacturerUncheckedCreateWithoutBrandsInput> | Prisma.brands_manufacturerCreateWithoutBrandsInput[] | Prisma.brands_manufacturerUncheckedCreateWithoutBrandsInput[];
    connectOrCreate?: Prisma.brands_manufacturerCreateOrConnectWithoutBrandsInput | Prisma.brands_manufacturerCreateOrConnectWithoutBrandsInput[];
    createMany?: Prisma.brands_manufacturerCreateManyBrandsInputEnvelope;
    connect?: Prisma.brands_manufacturerWhereUniqueInput | Prisma.brands_manufacturerWhereUniqueInput[];
};
export type brands_manufacturerUpdateManyWithoutBrandsNestedInput = {
    create?: Prisma.XOR<Prisma.brands_manufacturerCreateWithoutBrandsInput, Prisma.brands_manufacturerUncheckedCreateWithoutBrandsInput> | Prisma.brands_manufacturerCreateWithoutBrandsInput[] | Prisma.brands_manufacturerUncheckedCreateWithoutBrandsInput[];
    connectOrCreate?: Prisma.brands_manufacturerCreateOrConnectWithoutBrandsInput | Prisma.brands_manufacturerCreateOrConnectWithoutBrandsInput[];
    upsert?: Prisma.brands_manufacturerUpsertWithWhereUniqueWithoutBrandsInput | Prisma.brands_manufacturerUpsertWithWhereUniqueWithoutBrandsInput[];
    createMany?: Prisma.brands_manufacturerCreateManyBrandsInputEnvelope;
    set?: Prisma.brands_manufacturerWhereUniqueInput | Prisma.brands_manufacturerWhereUniqueInput[];
    disconnect?: Prisma.brands_manufacturerWhereUniqueInput | Prisma.brands_manufacturerWhereUniqueInput[];
    delete?: Prisma.brands_manufacturerWhereUniqueInput | Prisma.brands_manufacturerWhereUniqueInput[];
    connect?: Prisma.brands_manufacturerWhereUniqueInput | Prisma.brands_manufacturerWhereUniqueInput[];
    update?: Prisma.brands_manufacturerUpdateWithWhereUniqueWithoutBrandsInput | Prisma.brands_manufacturerUpdateWithWhereUniqueWithoutBrandsInput[];
    updateMany?: Prisma.brands_manufacturerUpdateManyWithWhereWithoutBrandsInput | Prisma.brands_manufacturerUpdateManyWithWhereWithoutBrandsInput[];
    deleteMany?: Prisma.brands_manufacturerScalarWhereInput | Prisma.brands_manufacturerScalarWhereInput[];
};
export type brands_manufacturerUncheckedUpdateManyWithoutBrandsNestedInput = {
    create?: Prisma.XOR<Prisma.brands_manufacturerCreateWithoutBrandsInput, Prisma.brands_manufacturerUncheckedCreateWithoutBrandsInput> | Prisma.brands_manufacturerCreateWithoutBrandsInput[] | Prisma.brands_manufacturerUncheckedCreateWithoutBrandsInput[];
    connectOrCreate?: Prisma.brands_manufacturerCreateOrConnectWithoutBrandsInput | Prisma.brands_manufacturerCreateOrConnectWithoutBrandsInput[];
    upsert?: Prisma.brands_manufacturerUpsertWithWhereUniqueWithoutBrandsInput | Prisma.brands_manufacturerUpsertWithWhereUniqueWithoutBrandsInput[];
    createMany?: Prisma.brands_manufacturerCreateManyBrandsInputEnvelope;
    set?: Prisma.brands_manufacturerWhereUniqueInput | Prisma.brands_manufacturerWhereUniqueInput[];
    disconnect?: Prisma.brands_manufacturerWhereUniqueInput | Prisma.brands_manufacturerWhereUniqueInput[];
    delete?: Prisma.brands_manufacturerWhereUniqueInput | Prisma.brands_manufacturerWhereUniqueInput[];
    connect?: Prisma.brands_manufacturerWhereUniqueInput | Prisma.brands_manufacturerWhereUniqueInput[];
    update?: Prisma.brands_manufacturerUpdateWithWhereUniqueWithoutBrandsInput | Prisma.brands_manufacturerUpdateWithWhereUniqueWithoutBrandsInput[];
    updateMany?: Prisma.brands_manufacturerUpdateManyWithWhereWithoutBrandsInput | Prisma.brands_manufacturerUpdateManyWithWhereWithoutBrandsInput[];
    deleteMany?: Prisma.brands_manufacturerScalarWhereInput | Prisma.brands_manufacturerScalarWhereInput[];
};
export type brands_manufacturerCreateNestedManyWithoutManufacturerInput = {
    create?: Prisma.XOR<Prisma.brands_manufacturerCreateWithoutManufacturerInput, Prisma.brands_manufacturerUncheckedCreateWithoutManufacturerInput> | Prisma.brands_manufacturerCreateWithoutManufacturerInput[] | Prisma.brands_manufacturerUncheckedCreateWithoutManufacturerInput[];
    connectOrCreate?: Prisma.brands_manufacturerCreateOrConnectWithoutManufacturerInput | Prisma.brands_manufacturerCreateOrConnectWithoutManufacturerInput[];
    createMany?: Prisma.brands_manufacturerCreateManyManufacturerInputEnvelope;
    connect?: Prisma.brands_manufacturerWhereUniqueInput | Prisma.brands_manufacturerWhereUniqueInput[];
};
export type brands_manufacturerUncheckedCreateNestedManyWithoutManufacturerInput = {
    create?: Prisma.XOR<Prisma.brands_manufacturerCreateWithoutManufacturerInput, Prisma.brands_manufacturerUncheckedCreateWithoutManufacturerInput> | Prisma.brands_manufacturerCreateWithoutManufacturerInput[] | Prisma.brands_manufacturerUncheckedCreateWithoutManufacturerInput[];
    connectOrCreate?: Prisma.brands_manufacturerCreateOrConnectWithoutManufacturerInput | Prisma.brands_manufacturerCreateOrConnectWithoutManufacturerInput[];
    createMany?: Prisma.brands_manufacturerCreateManyManufacturerInputEnvelope;
    connect?: Prisma.brands_manufacturerWhereUniqueInput | Prisma.brands_manufacturerWhereUniqueInput[];
};
export type brands_manufacturerUpdateManyWithoutManufacturerNestedInput = {
    create?: Prisma.XOR<Prisma.brands_manufacturerCreateWithoutManufacturerInput, Prisma.brands_manufacturerUncheckedCreateWithoutManufacturerInput> | Prisma.brands_manufacturerCreateWithoutManufacturerInput[] | Prisma.brands_manufacturerUncheckedCreateWithoutManufacturerInput[];
    connectOrCreate?: Prisma.brands_manufacturerCreateOrConnectWithoutManufacturerInput | Prisma.brands_manufacturerCreateOrConnectWithoutManufacturerInput[];
    upsert?: Prisma.brands_manufacturerUpsertWithWhereUniqueWithoutManufacturerInput | Prisma.brands_manufacturerUpsertWithWhereUniqueWithoutManufacturerInput[];
    createMany?: Prisma.brands_manufacturerCreateManyManufacturerInputEnvelope;
    set?: Prisma.brands_manufacturerWhereUniqueInput | Prisma.brands_manufacturerWhereUniqueInput[];
    disconnect?: Prisma.brands_manufacturerWhereUniqueInput | Prisma.brands_manufacturerWhereUniqueInput[];
    delete?: Prisma.brands_manufacturerWhereUniqueInput | Prisma.brands_manufacturerWhereUniqueInput[];
    connect?: Prisma.brands_manufacturerWhereUniqueInput | Prisma.brands_manufacturerWhereUniqueInput[];
    update?: Prisma.brands_manufacturerUpdateWithWhereUniqueWithoutManufacturerInput | Prisma.brands_manufacturerUpdateWithWhereUniqueWithoutManufacturerInput[];
    updateMany?: Prisma.brands_manufacturerUpdateManyWithWhereWithoutManufacturerInput | Prisma.brands_manufacturerUpdateManyWithWhereWithoutManufacturerInput[];
    deleteMany?: Prisma.brands_manufacturerScalarWhereInput | Prisma.brands_manufacturerScalarWhereInput[];
};
export type brands_manufacturerUncheckedUpdateManyWithoutManufacturerNestedInput = {
    create?: Prisma.XOR<Prisma.brands_manufacturerCreateWithoutManufacturerInput, Prisma.brands_manufacturerUncheckedCreateWithoutManufacturerInput> | Prisma.brands_manufacturerCreateWithoutManufacturerInput[] | Prisma.brands_manufacturerUncheckedCreateWithoutManufacturerInput[];
    connectOrCreate?: Prisma.brands_manufacturerCreateOrConnectWithoutManufacturerInput | Prisma.brands_manufacturerCreateOrConnectWithoutManufacturerInput[];
    upsert?: Prisma.brands_manufacturerUpsertWithWhereUniqueWithoutManufacturerInput | Prisma.brands_manufacturerUpsertWithWhereUniqueWithoutManufacturerInput[];
    createMany?: Prisma.brands_manufacturerCreateManyManufacturerInputEnvelope;
    set?: Prisma.brands_manufacturerWhereUniqueInput | Prisma.brands_manufacturerWhereUniqueInput[];
    disconnect?: Prisma.brands_manufacturerWhereUniqueInput | Prisma.brands_manufacturerWhereUniqueInput[];
    delete?: Prisma.brands_manufacturerWhereUniqueInput | Prisma.brands_manufacturerWhereUniqueInput[];
    connect?: Prisma.brands_manufacturerWhereUniqueInput | Prisma.brands_manufacturerWhereUniqueInput[];
    update?: Prisma.brands_manufacturerUpdateWithWhereUniqueWithoutManufacturerInput | Prisma.brands_manufacturerUpdateWithWhereUniqueWithoutManufacturerInput[];
    updateMany?: Prisma.brands_manufacturerUpdateManyWithWhereWithoutManufacturerInput | Prisma.brands_manufacturerUpdateManyWithWhereWithoutManufacturerInput[];
    deleteMany?: Prisma.brands_manufacturerScalarWhereInput | Prisma.brands_manufacturerScalarWhereInput[];
};
export type brands_manufacturerCreateWithoutBrandsInput = {
    manufacturer?: Prisma.manufacturerCreateNestedOneWithoutBrands_manufacturerInput;
};
export type brands_manufacturerUncheckedCreateWithoutBrandsInput = {
    id?: number;
    manufacturer_id?: bigint | number | null;
};
export type brands_manufacturerCreateOrConnectWithoutBrandsInput = {
    where: Prisma.brands_manufacturerWhereUniqueInput;
    create: Prisma.XOR<Prisma.brands_manufacturerCreateWithoutBrandsInput, Prisma.brands_manufacturerUncheckedCreateWithoutBrandsInput>;
};
export type brands_manufacturerCreateManyBrandsInputEnvelope = {
    data: Prisma.brands_manufacturerCreateManyBrandsInput | Prisma.brands_manufacturerCreateManyBrandsInput[];
    skipDuplicates?: boolean;
};
export type brands_manufacturerUpsertWithWhereUniqueWithoutBrandsInput = {
    where: Prisma.brands_manufacturerWhereUniqueInput;
    update: Prisma.XOR<Prisma.brands_manufacturerUpdateWithoutBrandsInput, Prisma.brands_manufacturerUncheckedUpdateWithoutBrandsInput>;
    create: Prisma.XOR<Prisma.brands_manufacturerCreateWithoutBrandsInput, Prisma.brands_manufacturerUncheckedCreateWithoutBrandsInput>;
};
export type brands_manufacturerUpdateWithWhereUniqueWithoutBrandsInput = {
    where: Prisma.brands_manufacturerWhereUniqueInput;
    data: Prisma.XOR<Prisma.brands_manufacturerUpdateWithoutBrandsInput, Prisma.brands_manufacturerUncheckedUpdateWithoutBrandsInput>;
};
export type brands_manufacturerUpdateManyWithWhereWithoutBrandsInput = {
    where: Prisma.brands_manufacturerScalarWhereInput;
    data: Prisma.XOR<Prisma.brands_manufacturerUpdateManyMutationInput, Prisma.brands_manufacturerUncheckedUpdateManyWithoutBrandsInput>;
};
export type brands_manufacturerScalarWhereInput = {
    AND?: Prisma.brands_manufacturerScalarWhereInput | Prisma.brands_manufacturerScalarWhereInput[];
    OR?: Prisma.brands_manufacturerScalarWhereInput[];
    NOT?: Prisma.brands_manufacturerScalarWhereInput | Prisma.brands_manufacturerScalarWhereInput[];
    id?: Prisma.IntFilter<"brands_manufacturer"> | number;
    brands_id?: Prisma.BigIntNullableFilter<"brands_manufacturer"> | bigint | number | null;
    manufacturer_id?: Prisma.BigIntNullableFilter<"brands_manufacturer"> | bigint | number | null;
};
export type brands_manufacturerCreateWithoutManufacturerInput = {
    brands?: Prisma.brandsCreateNestedOneWithoutBrands_manufacturerInput;
};
export type brands_manufacturerUncheckedCreateWithoutManufacturerInput = {
    id?: number;
    brands_id?: bigint | number | null;
};
export type brands_manufacturerCreateOrConnectWithoutManufacturerInput = {
    where: Prisma.brands_manufacturerWhereUniqueInput;
    create: Prisma.XOR<Prisma.brands_manufacturerCreateWithoutManufacturerInput, Prisma.brands_manufacturerUncheckedCreateWithoutManufacturerInput>;
};
export type brands_manufacturerCreateManyManufacturerInputEnvelope = {
    data: Prisma.brands_manufacturerCreateManyManufacturerInput | Prisma.brands_manufacturerCreateManyManufacturerInput[];
    skipDuplicates?: boolean;
};
export type brands_manufacturerUpsertWithWhereUniqueWithoutManufacturerInput = {
    where: Prisma.brands_manufacturerWhereUniqueInput;
    update: Prisma.XOR<Prisma.brands_manufacturerUpdateWithoutManufacturerInput, Prisma.brands_manufacturerUncheckedUpdateWithoutManufacturerInput>;
    create: Prisma.XOR<Prisma.brands_manufacturerCreateWithoutManufacturerInput, Prisma.brands_manufacturerUncheckedCreateWithoutManufacturerInput>;
};
export type brands_manufacturerUpdateWithWhereUniqueWithoutManufacturerInput = {
    where: Prisma.brands_manufacturerWhereUniqueInput;
    data: Prisma.XOR<Prisma.brands_manufacturerUpdateWithoutManufacturerInput, Prisma.brands_manufacturerUncheckedUpdateWithoutManufacturerInput>;
};
export type brands_manufacturerUpdateManyWithWhereWithoutManufacturerInput = {
    where: Prisma.brands_manufacturerScalarWhereInput;
    data: Prisma.XOR<Prisma.brands_manufacturerUpdateManyMutationInput, Prisma.brands_manufacturerUncheckedUpdateManyWithoutManufacturerInput>;
};
export type brands_manufacturerCreateManyBrandsInput = {
    id?: number;
    manufacturer_id?: bigint | number | null;
};
export type brands_manufacturerUpdateWithoutBrandsInput = {
    manufacturer?: Prisma.manufacturerUpdateOneWithoutBrands_manufacturerNestedInput;
};
export type brands_manufacturerUncheckedUpdateWithoutBrandsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    manufacturer_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type brands_manufacturerUncheckedUpdateManyWithoutBrandsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    manufacturer_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type brands_manufacturerCreateManyManufacturerInput = {
    id?: number;
    brands_id?: bigint | number | null;
};
export type brands_manufacturerUpdateWithoutManufacturerInput = {
    brands?: Prisma.brandsUpdateOneWithoutBrands_manufacturerNestedInput;
};
export type brands_manufacturerUncheckedUpdateWithoutManufacturerInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    brands_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type brands_manufacturerUncheckedUpdateManyWithoutManufacturerInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    brands_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type brands_manufacturerSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    brands_id?: boolean;
    manufacturer_id?: boolean;
    brands?: boolean | Prisma.brands_manufacturer$brandsArgs<ExtArgs>;
    manufacturer?: boolean | Prisma.brands_manufacturer$manufacturerArgs<ExtArgs>;
}, ExtArgs["result"]["brands_manufacturer"]>;
export type brands_manufacturerSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    brands_id?: boolean;
    manufacturer_id?: boolean;
    brands?: boolean | Prisma.brands_manufacturer$brandsArgs<ExtArgs>;
    manufacturer?: boolean | Prisma.brands_manufacturer$manufacturerArgs<ExtArgs>;
}, ExtArgs["result"]["brands_manufacturer"]>;
export type brands_manufacturerSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    brands_id?: boolean;
    manufacturer_id?: boolean;
    brands?: boolean | Prisma.brands_manufacturer$brandsArgs<ExtArgs>;
    manufacturer?: boolean | Prisma.brands_manufacturer$manufacturerArgs<ExtArgs>;
}, ExtArgs["result"]["brands_manufacturer"]>;
export type brands_manufacturerSelectScalar = {
    id?: boolean;
    brands_id?: boolean;
    manufacturer_id?: boolean;
};
export type brands_manufacturerOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "brands_id" | "manufacturer_id", ExtArgs["result"]["brands_manufacturer"]>;
export type brands_manufacturerInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    brands?: boolean | Prisma.brands_manufacturer$brandsArgs<ExtArgs>;
    manufacturer?: boolean | Prisma.brands_manufacturer$manufacturerArgs<ExtArgs>;
};
export type brands_manufacturerIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    brands?: boolean | Prisma.brands_manufacturer$brandsArgs<ExtArgs>;
    manufacturer?: boolean | Prisma.brands_manufacturer$manufacturerArgs<ExtArgs>;
};
export type brands_manufacturerIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    brands?: boolean | Prisma.brands_manufacturer$brandsArgs<ExtArgs>;
    manufacturer?: boolean | Prisma.brands_manufacturer$manufacturerArgs<ExtArgs>;
};
export type $brands_manufacturerPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "brands_manufacturer";
    objects: {
        brands: Prisma.$brandsPayload<ExtArgs> | null;
        manufacturer: Prisma.$manufacturerPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        brands_id: bigint | null;
        manufacturer_id: bigint | null;
    }, ExtArgs["result"]["brands_manufacturer"]>;
    composites: {};
};
export type brands_manufacturerGetPayload<S extends boolean | null | undefined | brands_manufacturerDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$brands_manufacturerPayload, S>;
export type brands_manufacturerCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<brands_manufacturerFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Brands_manufacturerCountAggregateInputType | true;
};
export interface brands_manufacturerDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['brands_manufacturer'];
        meta: {
            name: 'brands_manufacturer';
        };
    };
    /**
     * Find zero or one Brands_manufacturer that matches the filter.
     * @param {brands_manufacturerFindUniqueArgs} args - Arguments to find a Brands_manufacturer
     * @example
     * // Get one Brands_manufacturer
     * const brands_manufacturer = await prisma.brands_manufacturer.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends brands_manufacturerFindUniqueArgs>(args: Prisma.SelectSubset<T, brands_manufacturerFindUniqueArgs<ExtArgs>>): Prisma.Prisma__brands_manufacturerClient<runtime.Types.Result.GetResult<Prisma.$brands_manufacturerPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Brands_manufacturer that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {brands_manufacturerFindUniqueOrThrowArgs} args - Arguments to find a Brands_manufacturer
     * @example
     * // Get one Brands_manufacturer
     * const brands_manufacturer = await prisma.brands_manufacturer.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends brands_manufacturerFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, brands_manufacturerFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__brands_manufacturerClient<runtime.Types.Result.GetResult<Prisma.$brands_manufacturerPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Brands_manufacturer 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 {brands_manufacturerFindFirstArgs} args - Arguments to find a Brands_manufacturer
     * @example
     * // Get one Brands_manufacturer
     * const brands_manufacturer = await prisma.brands_manufacturer.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends brands_manufacturerFindFirstArgs>(args?: Prisma.SelectSubset<T, brands_manufacturerFindFirstArgs<ExtArgs>>): Prisma.Prisma__brands_manufacturerClient<runtime.Types.Result.GetResult<Prisma.$brands_manufacturerPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Brands_manufacturer 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 {brands_manufacturerFindFirstOrThrowArgs} args - Arguments to find a Brands_manufacturer
     * @example
     * // Get one Brands_manufacturer
     * const brands_manufacturer = await prisma.brands_manufacturer.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends brands_manufacturerFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, brands_manufacturerFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__brands_manufacturerClient<runtime.Types.Result.GetResult<Prisma.$brands_manufacturerPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Brands_manufacturers 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 {brands_manufacturerFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Brands_manufacturers
     * const brands_manufacturers = await prisma.brands_manufacturer.findMany()
     *
     * // Get first 10 Brands_manufacturers
     * const brands_manufacturers = await prisma.brands_manufacturer.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const brands_manufacturerWithIdOnly = await prisma.brands_manufacturer.findMany({ select: { id: true } })
     *
     */
    findMany<T extends brands_manufacturerFindManyArgs>(args?: Prisma.SelectSubset<T, brands_manufacturerFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$brands_manufacturerPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Brands_manufacturer.
     * @param {brands_manufacturerCreateArgs} args - Arguments to create a Brands_manufacturer.
     * @example
     * // Create one Brands_manufacturer
     * const Brands_manufacturer = await prisma.brands_manufacturer.create({
     *   data: {
     *     // ... data to create a Brands_manufacturer
     *   }
     * })
     *
     */
    create<T extends brands_manufacturerCreateArgs>(args: Prisma.SelectSubset<T, brands_manufacturerCreateArgs<ExtArgs>>): Prisma.Prisma__brands_manufacturerClient<runtime.Types.Result.GetResult<Prisma.$brands_manufacturerPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Brands_manufacturers.
     * @param {brands_manufacturerCreateManyArgs} args - Arguments to create many Brands_manufacturers.
     * @example
     * // Create many Brands_manufacturers
     * const brands_manufacturer = await prisma.brands_manufacturer.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends brands_manufacturerCreateManyArgs>(args?: Prisma.SelectSubset<T, brands_manufacturerCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Brands_manufacturers and returns the data saved in the database.
     * @param {brands_manufacturerCreateManyAndReturnArgs} args - Arguments to create many Brands_manufacturers.
     * @example
     * // Create many Brands_manufacturers
     * const brands_manufacturer = await prisma.brands_manufacturer.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Brands_manufacturers and only return the `id`
     * const brands_manufacturerWithIdOnly = await prisma.brands_manufacturer.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 brands_manufacturerCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, brands_manufacturerCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$brands_manufacturerPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Brands_manufacturer.
     * @param {brands_manufacturerDeleteArgs} args - Arguments to delete one Brands_manufacturer.
     * @example
     * // Delete one Brands_manufacturer
     * const Brands_manufacturer = await prisma.brands_manufacturer.delete({
     *   where: {
     *     // ... filter to delete one Brands_manufacturer
     *   }
     * })
     *
     */
    delete<T extends brands_manufacturerDeleteArgs>(args: Prisma.SelectSubset<T, brands_manufacturerDeleteArgs<ExtArgs>>): Prisma.Prisma__brands_manufacturerClient<runtime.Types.Result.GetResult<Prisma.$brands_manufacturerPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Brands_manufacturer.
     * @param {brands_manufacturerUpdateArgs} args - Arguments to update one Brands_manufacturer.
     * @example
     * // Update one Brands_manufacturer
     * const brands_manufacturer = await prisma.brands_manufacturer.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends brands_manufacturerUpdateArgs>(args: Prisma.SelectSubset<T, brands_manufacturerUpdateArgs<ExtArgs>>): Prisma.Prisma__brands_manufacturerClient<runtime.Types.Result.GetResult<Prisma.$brands_manufacturerPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Brands_manufacturers.
     * @param {brands_manufacturerDeleteManyArgs} args - Arguments to filter Brands_manufacturers to delete.
     * @example
     * // Delete a few Brands_manufacturers
     * const { count } = await prisma.brands_manufacturer.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends brands_manufacturerDeleteManyArgs>(args?: Prisma.SelectSubset<T, brands_manufacturerDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Brands_manufacturers.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {brands_manufacturerUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Brands_manufacturers
     * const brands_manufacturer = await prisma.brands_manufacturer.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends brands_manufacturerUpdateManyArgs>(args: Prisma.SelectSubset<T, brands_manufacturerUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Brands_manufacturers and returns the data updated in the database.
     * @param {brands_manufacturerUpdateManyAndReturnArgs} args - Arguments to update many Brands_manufacturers.
     * @example
     * // Update many Brands_manufacturers
     * const brands_manufacturer = await prisma.brands_manufacturer.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Brands_manufacturers and only return the `id`
     * const brands_manufacturerWithIdOnly = await prisma.brands_manufacturer.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 brands_manufacturerUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, brands_manufacturerUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$brands_manufacturerPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Brands_manufacturer.
     * @param {brands_manufacturerUpsertArgs} args - Arguments to update or create a Brands_manufacturer.
     * @example
     * // Update or create a Brands_manufacturer
     * const brands_manufacturer = await prisma.brands_manufacturer.upsert({
     *   create: {
     *     // ... data to create a Brands_manufacturer
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Brands_manufacturer we want to update
     *   }
     * })
     */
    upsert<T extends brands_manufacturerUpsertArgs>(args: Prisma.SelectSubset<T, brands_manufacturerUpsertArgs<ExtArgs>>): Prisma.Prisma__brands_manufacturerClient<runtime.Types.Result.GetResult<Prisma.$brands_manufacturerPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Brands_manufacturers.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {brands_manufacturerCountArgs} args - Arguments to filter Brands_manufacturers to count.
     * @example
     * // Count the number of Brands_manufacturers
     * const count = await prisma.brands_manufacturer.count({
     *   where: {
     *     // ... the filter for the Brands_manufacturers we want to count
     *   }
     * })
    **/
    count<T extends brands_manufacturerCountArgs>(args?: Prisma.Subset<T, brands_manufacturerCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Brands_manufacturerCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Brands_manufacturer.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Brands_manufacturerAggregateArgs} 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 Brands_manufacturerAggregateArgs>(args: Prisma.Subset<T, Brands_manufacturerAggregateArgs>): Prisma.PrismaPromise<GetBrands_manufacturerAggregateType<T>>;
    /**
     * Group by Brands_manufacturer.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {brands_manufacturerGroupByArgs} 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 brands_manufacturerGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: brands_manufacturerGroupByArgs['orderBy'];
    } : {
        orderBy?: brands_manufacturerGroupByArgs['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, brands_manufacturerGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetBrands_manufacturerGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the brands_manufacturer model
     */
    readonly fields: brands_manufacturerFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for brands_manufacturer.
 * 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__brands_manufacturerClient<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.brands_manufacturer$brandsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.brands_manufacturer$brandsArgs<ExtArgs>>): Prisma.Prisma__brandsClient<runtime.Types.Result.GetResult<Prisma.$brandsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    manufacturer<T extends Prisma.brands_manufacturer$manufacturerArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.brands_manufacturer$manufacturerArgs<ExtArgs>>): Prisma.Prisma__manufacturerClient<runtime.Types.Result.GetResult<Prisma.$manufacturerPayload<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 brands_manufacturer model
 */
export interface brands_manufacturerFieldRefs {
    readonly id: Prisma.FieldRef<"brands_manufacturer", 'Int'>;
    readonly brands_id: Prisma.FieldRef<"brands_manufacturer", 'BigInt'>;
    readonly manufacturer_id: Prisma.FieldRef<"brands_manufacturer", 'BigInt'>;
}
/**
 * brands_manufacturer findUnique
 */
export type brands_manufacturerFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the brands_manufacturer
     */
    select?: Prisma.brands_manufacturerSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the brands_manufacturer
     */
    omit?: Prisma.brands_manufacturerOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.brands_manufacturerInclude<ExtArgs> | null;
    /**
     * Filter, which brands_manufacturer to fetch.
     */
    where: Prisma.brands_manufacturerWhereUniqueInput;
};
/**
 * brands_manufacturer findUniqueOrThrow
 */
export type brands_manufacturerFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the brands_manufacturer
     */
    select?: Prisma.brands_manufacturerSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the brands_manufacturer
     */
    omit?: Prisma.brands_manufacturerOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.brands_manufacturerInclude<ExtArgs> | null;
    /**
     * Filter, which brands_manufacturer to fetch.
     */
    where: Prisma.brands_manufacturerWhereUniqueInput;
};
/**
 * brands_manufacturer findFirst
 */
export type brands_manufacturerFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the brands_manufacturer
     */
    select?: Prisma.brands_manufacturerSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the brands_manufacturer
     */
    omit?: Prisma.brands_manufacturerOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.brands_manufacturerInclude<ExtArgs> | null;
    /**
     * Filter, which brands_manufacturer to fetch.
     */
    where?: Prisma.brands_manufacturerWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of brands_manufacturers to fetch.
     */
    orderBy?: Prisma.brands_manufacturerOrderByWithRelationInput | Prisma.brands_manufacturerOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for brands_manufacturers.
     */
    cursor?: Prisma.brands_manufacturerWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` brands_manufacturers 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` brands_manufacturers.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of brands_manufacturers.
     */
    distinct?: Prisma.Brands_manufacturerScalarFieldEnum | Prisma.Brands_manufacturerScalarFieldEnum[];
};
/**
 * brands_manufacturer findFirstOrThrow
 */
export type brands_manufacturerFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the brands_manufacturer
     */
    select?: Prisma.brands_manufacturerSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the brands_manufacturer
     */
    omit?: Prisma.brands_manufacturerOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.brands_manufacturerInclude<ExtArgs> | null;
    /**
     * Filter, which brands_manufacturer to fetch.
     */
    where?: Prisma.brands_manufacturerWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of brands_manufacturers to fetch.
     */
    orderBy?: Prisma.brands_manufacturerOrderByWithRelationInput | Prisma.brands_manufacturerOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for brands_manufacturers.
     */
    cursor?: Prisma.brands_manufacturerWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` brands_manufacturers 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` brands_manufacturers.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of brands_manufacturers.
     */
    distinct?: Prisma.Brands_manufacturerScalarFieldEnum | Prisma.Brands_manufacturerScalarFieldEnum[];
};
/**
 * brands_manufacturer findMany
 */
export type brands_manufacturerFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the brands_manufacturer
     */
    select?: Prisma.brands_manufacturerSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the brands_manufacturer
     */
    omit?: Prisma.brands_manufacturerOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.brands_manufacturerInclude<ExtArgs> | null;
    /**
     * Filter, which brands_manufacturers to fetch.
     */
    where?: Prisma.brands_manufacturerWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of brands_manufacturers to fetch.
     */
    orderBy?: Prisma.brands_manufacturerOrderByWithRelationInput | Prisma.brands_manufacturerOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing brands_manufacturers.
     */
    cursor?: Prisma.brands_manufacturerWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` brands_manufacturers 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` brands_manufacturers.
     */
    skip?: number;
    distinct?: Prisma.Brands_manufacturerScalarFieldEnum | Prisma.Brands_manufacturerScalarFieldEnum[];
};
/**
 * brands_manufacturer create
 */
export type brands_manufacturerCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the brands_manufacturer
     */
    select?: Prisma.brands_manufacturerSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the brands_manufacturer
     */
    omit?: Prisma.brands_manufacturerOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.brands_manufacturerInclude<ExtArgs> | null;
    /**
     * The data needed to create a brands_manufacturer.
     */
    data?: Prisma.XOR<Prisma.brands_manufacturerCreateInput, Prisma.brands_manufacturerUncheckedCreateInput>;
};
/**
 * brands_manufacturer createMany
 */
export type brands_manufacturerCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many brands_manufacturers.
     */
    data: Prisma.brands_manufacturerCreateManyInput | Prisma.brands_manufacturerCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * brands_manufacturer createManyAndReturn
 */
export type brands_manufacturerCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the brands_manufacturer
     */
    select?: Prisma.brands_manufacturerSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the brands_manufacturer
     */
    omit?: Prisma.brands_manufacturerOmit<ExtArgs> | null;
    /**
     * The data used to create many brands_manufacturers.
     */
    data: Prisma.brands_manufacturerCreateManyInput | Prisma.brands_manufacturerCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.brands_manufacturerIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * brands_manufacturer update
 */
export type brands_manufacturerUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the brands_manufacturer
     */
    select?: Prisma.brands_manufacturerSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the brands_manufacturer
     */
    omit?: Prisma.brands_manufacturerOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.brands_manufacturerInclude<ExtArgs> | null;
    /**
     * The data needed to update a brands_manufacturer.
     */
    data: Prisma.XOR<Prisma.brands_manufacturerUpdateInput, Prisma.brands_manufacturerUncheckedUpdateInput>;
    /**
     * Choose, which brands_manufacturer to update.
     */
    where: Prisma.brands_manufacturerWhereUniqueInput;
};
/**
 * brands_manufacturer updateMany
 */
export type brands_manufacturerUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update brands_manufacturers.
     */
    data: Prisma.XOR<Prisma.brands_manufacturerUpdateManyMutationInput, Prisma.brands_manufacturerUncheckedUpdateManyInput>;
    /**
     * Filter which brands_manufacturers to update
     */
    where?: Prisma.brands_manufacturerWhereInput;
    /**
     * Limit how many brands_manufacturers to update.
     */
    limit?: number;
};
/**
 * brands_manufacturer updateManyAndReturn
 */
export type brands_manufacturerUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the brands_manufacturer
     */
    select?: Prisma.brands_manufacturerSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the brands_manufacturer
     */
    omit?: Prisma.brands_manufacturerOmit<ExtArgs> | null;
    /**
     * The data used to update brands_manufacturers.
     */
    data: Prisma.XOR<Prisma.brands_manufacturerUpdateManyMutationInput, Prisma.brands_manufacturerUncheckedUpdateManyInput>;
    /**
     * Filter which brands_manufacturers to update
     */
    where?: Prisma.brands_manufacturerWhereInput;
    /**
     * Limit how many brands_manufacturers to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.brands_manufacturerIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * brands_manufacturer upsert
 */
export type brands_manufacturerUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the brands_manufacturer
     */
    select?: Prisma.brands_manufacturerSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the brands_manufacturer
     */
    omit?: Prisma.brands_manufacturerOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.brands_manufacturerInclude<ExtArgs> | null;
    /**
     * The filter to search for the brands_manufacturer to update in case it exists.
     */
    where: Prisma.brands_manufacturerWhereUniqueInput;
    /**
     * In case the brands_manufacturer found by the `where` argument doesn't exist, create a new brands_manufacturer with this data.
     */
    create: Prisma.XOR<Prisma.brands_manufacturerCreateInput, Prisma.brands_manufacturerUncheckedCreateInput>;
    /**
     * In case the brands_manufacturer was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.brands_manufacturerUpdateInput, Prisma.brands_manufacturerUncheckedUpdateInput>;
};
/**
 * brands_manufacturer delete
 */
export type brands_manufacturerDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the brands_manufacturer
     */
    select?: Prisma.brands_manufacturerSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the brands_manufacturer
     */
    omit?: Prisma.brands_manufacturerOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.brands_manufacturerInclude<ExtArgs> | null;
    /**
     * Filter which brands_manufacturer to delete.
     */
    where: Prisma.brands_manufacturerWhereUniqueInput;
};
/**
 * brands_manufacturer deleteMany
 */
export type brands_manufacturerDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which brands_manufacturers to delete
     */
    where?: Prisma.brands_manufacturerWhereInput;
    /**
     * Limit how many brands_manufacturers to delete.
     */
    limit?: number;
};
/**
 * brands_manufacturer.brands
 */
export type brands_manufacturer$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;
};
/**
 * brands_manufacturer.manufacturer
 */
export type brands_manufacturer$manufacturerArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the manufacturer
     */
    select?: Prisma.manufacturerSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the manufacturer
     */
    omit?: Prisma.manufacturerOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.manufacturerInclude<ExtArgs> | null;
    where?: Prisma.manufacturerWhereInput;
};
/**
 * brands_manufacturer without action
 */
export type brands_manufacturerDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the brands_manufacturer
     */
    select?: Prisma.brands_manufacturerSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the brands_manufacturer
     */
    omit?: Prisma.brands_manufacturerOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.brands_manufacturerInclude<ExtArgs> | null;
};
export {};
